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
26bfb69c0adfc8d5e94b03e09915e26d9ead7a9b
4,603
cc
C++
crc32.cc
bisqwit/viewnes
57a06b36b7a599e976a20459cb929786d506b84b
[ "Zlib" ]
12
2017-04-27T18:50:31.000Z
2022-02-18T04:13:13.000Z
crc32.cc
bisqwit/viewnes
57a06b36b7a599e976a20459cb929786d506b84b
[ "Zlib" ]
null
null
null
crc32.cc
bisqwit/viewnes
57a06b36b7a599e976a20459cb929786d506b84b
[ "Zlib" ]
3
2017-04-28T13:23:23.000Z
2020-05-15T10:56:11.000Z
/*** CRC32 calculation (CRC::update) ***/ #include "crc32.h" #ifdef __GNUC__ # define likely(x) __builtin_expect(!!(x), 1) # define unlikely(x) __builtin_expect(!!(x), 0) #else # define likely(x) (x) # define unlikely(x) (x) #endif namespace { /* This code constructs the CRC32 table at compile-time, ...
35.137405
91
0.499022
bisqwit
26c0ab11e8a0f7adf9ac4038fc44c7d6120e7d7f
232
hxx
C++
src/sdp_solve.hxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
45
2015-02-10T15:45:22.000Z
2022-02-24T07:45:01.000Z
src/sdp_solve.hxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
58
2015-02-27T10:03:18.000Z
2021-08-10T04:21:42.000Z
src/sdp_solve.hxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
38
2015-02-10T11:11:27.000Z
2022-02-11T20:59:42.000Z
#pragma once #include "sdp_solve/Block_Info.hxx" #include "sdp_solve/SDP_Solver.hxx" #include "sdp_solve/Write_Solution.hxx" #include "sdp_solve/read_text_block.hxx" El::BigFloat dot(const Block_Vector &A, const Block_Vector &B);
25.777778
63
0.793103
ChrisPattison
26c11d4769736abe92dd9be916a8e4c5fe2ca2b3
815
cpp
C++
week4_divide_and_conquer/2_majority_element/majority_element.cpp
balajimohan80/Algorithm_Toolbox
e10e5ed811e2d5179d760e25ca82c29df2a879db
[ "MIT" ]
null
null
null
week4_divide_and_conquer/2_majority_element/majority_element.cpp
balajimohan80/Algorithm_Toolbox
e10e5ed811e2d5179d760e25ca82c29df2a879db
[ "MIT" ]
null
null
null
week4_divide_and_conquer/2_majority_element/majority_element.cpp
balajimohan80/Algorithm_Toolbox
e10e5ed811e2d5179d760e25ca82c29df2a879db
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using std::vector; int get_majority_element(vector<int> &a, int left, int right) { if (left == right) return -1; if (left+1 == right) return -1; //if (left + 1 == right) return a[left]; //write your code here std::sort(a.begin(), a.end(), [](int a...
20.897436
68
0.507975
balajimohan80
26c78b77ce1bb48d251db287731d261b49d6d024
1,025
hpp
C++
include/core/initialization.hpp
ida-zrt/thermalvis
36a6ba0d12ab91097435630586e3eb760130582c
[ "BSD-3-Clause" ]
109
2015-02-03T23:30:59.000Z
2022-02-22T03:24:36.000Z
include/core/initialization.hpp
adaniy/thermalvis
782f71b5fbde033d226d11b8d0c994fc83d10d98
[ "BSD-3-Clause" ]
9
2015-02-19T05:46:36.000Z
2021-11-02T14:00:49.000Z
include/core/initialization.hpp
adaniy/thermalvis
782f71b5fbde033d226d11b8d0c994fc83d10d98
[ "BSD-3-Clause" ]
59
2015-11-05T11:51:55.000Z
2022-03-11T06:36:57.000Z
/*! \file initialization.hpp * \brief (probably an obsolete file) */ #ifndef _THERMALVIS_INITIALIZATION_H_ #define _THERMALVIS_INITIALIZATION_H_ #ifdef _BUILD_FOR_ROS_ #include "core/general_resources.hpp" #include "core/ros_resources.hpp" #include "core/features.hpp" #define MAXIMUM_FRAMES_TO_STORE 2000 // car...
24.404762
88
0.782439
ida-zrt
26c859b46a25a7d04be90b4f4c2639c50b239922
721
hpp
C++
header/friedrichdb/fake_file_storage.hpp
jinncrafters/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-01-26T09:15:01.000Z
2018-01-26T09:15:01.000Z
header/friedrichdb/fake_file_storage.hpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-06-21T07:41:38.000Z
2018-06-21T07:41:38.000Z
header/friedrichdb/fake_file_storage.hpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
null
null
null
#ifndef FILE_STORAGE_HPP #define FILE_STORAGE_HPP #include "abstract_database.hpp" #include <vector> #include <functional> namespace friedrichdb { class file_storage_fake final : public abstract_database { public: file_storage_fake():abstract_database(storge_t::disk){} ~file_storage_fake(){} ...
24.033333
63
0.619972
jinncrafters
26c9c3a27b15384bc70a19d1089b93514861ff79
21,272
cpp
C++
ShadowMapping/CascadedShadowMappingRenderer.cpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
3
2017-03-12T07:26:56.000Z
2017-11-20T13:01:46.000Z
ShadowMapping/CascadedShadowMappingRenderer.cpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
9
2019-04-27T08:36:01.000Z
2021-11-25T16:36:02.000Z
ShadowMapping/CascadedShadowMappingRenderer.cpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
2
2018-04-16T09:41:56.000Z
2021-11-01T06:17:58.000Z
#include "Pch.hpp" #if 1 #include "CascadedShadowMappingRenderer.hpp" #include <DirectXColors.h> using namespace DirectX; using namespace dx; CascadedShadowMappingRenderer::CascadedShadowMappingRenderer( ID3D11Device& device3D, const CascadedShadowMapConfig& shadowMapConfig) : m_config{shadowMapConfig}, m_par...
43.235772
95
0.639667
LYP951018
26ce3919b248d63aa4e81588360fa96dbb9b7b57
966
hpp
C++
include/bdlearn/BatchBlas.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
2
2019-12-04T08:24:17.000Z
2020-01-31T23:29:52.000Z
include/bdlearn/BatchBlas.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
null
null
null
include/bdlearn/BatchBlas.hpp
billythedummy/bdlearn
bdb7b22c326f8057ec3ec06a701d00885e801bfd
[ "MIT" ]
null
null
null
#ifndef _BDLEARN_BATCHBLAS_H_ #define _BDLEARN_BATCHBLAS_H_ #include "Halide.h" namespace bdlearn { void BatchMatMul(Halide::Buffer<float> out, Halide::Buffer<float> A, Halide::Buffer<float> B); void BatchMatMul_BT(Halide::Buffer<float> out, Halide::Buffer<float> A, Halide::Buffer<float> BT); // A broadca...
46
112
0.681159
billythedummy
26d9cce2051a4d4011dc367b9d511f6c5f400871
1,382
hpp
C++
MRedisConfig.hpp
MrMoose/mredis
5a60cc57c6193bd68eab9c0f6a9938c9530b8665
[ "BSL-1.0" ]
4
2018-10-31T14:31:30.000Z
2019-07-31T11:45:57.000Z
MRedisConfig.hpp
MrMoose/mredis
5a60cc57c6193bd68eab9c0f6a9938c9530b8665
[ "BSL-1.0" ]
null
null
null
MRedisConfig.hpp
MrMoose/mredis
5a60cc57c6193bd68eab9c0f6a9938c9530b8665
[ "BSL-1.0" ]
null
null
null
// Copyright 2018 Stephan Menzel. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once // see https://gcc.gnu.org/wiki/Visibility // Generic helper definitions for shared library support #if defined _W...
29.404255
85
0.769899
MrMoose
26dc23fd0a6e7be3d02ec8fcd83019ef4b74e5ea
1,870
cpp
C++
hw/1,2/1.cpp
rgeorgiev583/FMI-DSP
7fac5ad4373bbcb8494b7675c21ad0458176a3d3
[ "MIT" ]
1
2017-11-08T13:24:14.000Z
2017-11-08T13:24:14.000Z
hw/1,2/1.cpp
rgeorgiev583/FMI-DSP
7fac5ad4373bbcb8494b7675c21ad0458176a3d3
[ "MIT" ]
null
null
null
hw/1,2/1.cpp
rgeorgiev583/FMI-DSP
7fac5ad4373bbcb8494b7675c21ad0458176a3d3
[ "MIT" ]
null
null
null
#include <iostream> #include "stack.cpp" #include <stack> #include <queue> using namespace std; void print(queue<stack<size_t> > qs) { size_t i = 1; while (!qs.empty()) { cout << "Купчина " << i << ": "; stack<size_t> sn = qs.front(); while (!sn.empty()) { co...
16.548673
55
0.400535
rgeorgiev583
26ddb3d7d9833632e7517e021ef67c9f2a975b3f
15,200
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Framework/Sources/FocusItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/FocusItem.cc,v 1.6 1992/09/08 15:34:00 lewis Exp $ * * TODO: * * Should do FocusOwner::DTOR which asserts all items removed... * * * Changes: * $Log: FocusItem.cc,v $ * Revision 1.6 1992/09/08 15:34:00...
24.32
112
0.649013
SophistSolutions
26e643b953a6a51f89ecdfd216e622e75d0df6ae
1,858
cpp
C++
HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
HackerRank/Searching/A_-_Ice_Cream_Parlor.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
/** * Author: Sohel Rana * Date: 2022-06-12 11:50:13 * Task: A_-_Ice_Cream_Parlor **/ #include <bits/stdc++.h> #define endl '\n' #define sqr(x) (x) * (x) #define gcd(x,y) __gcd(x, y) #define lcm(x,y) ((x/gcd(x,y)) * y) #define pf push_front #define pb push_back #define fi first #...
24.773333
71
0.50592
Sohelr360
26ea7e087772d178fc9cd06a7e3be116ab733699
2,534
cc
C++
src/Circuit/models/ideal/IdealCapacitor.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/Circuit/models/ideal/IdealCapacitor.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/Circuit/models/ideal/IdealCapacitor.cc
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
#include "IdealCapacitor.hh" #include <cmath> IdealCapacitor::IdealCapacitor( NodeKeeper *nk, const char *name, const char *n1, const char *n2) : InstanceModel(nk, name) { node_ptr_vtop= this->AddCircuitNode(n1); node_ptr_vbot= this->AddCircuitNode(n2); //Parameter List ...
28.795455
160
0.676401
kwisniew
26f12b230f4963a779e950fe9c56e05c356300a5
1,538
cpp
C++
benchmarks/vote/novelsm/rocksdb_checkpoint.cpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
2
2019-04-16T01:33:36.000Z
2021-02-23T08:34:38.000Z
benchmarks/vote/novelsm/rocksdb_checkpoint.cpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
null
null
null
benchmarks/vote/novelsm/rocksdb_checkpoint.cpp
huangvincent170/cyclone
737af617ab1472dfb16e6c20a079e88dccf85850
[ "Apache-2.0" ]
4
2020-03-27T18:06:33.000Z
2021-03-24T09:56:17.000Z
#include<assert.h> #include<errno.h> #include<string.h> #include<stdlib.h> #include<stdio.h> #include <time.h> #include<unistd.h> #include <leveldb/db.h> #include <leveldb/options.h> #include <leveldb/write_batch.h> #include <leveldb/utilities/checkpoint.h> #include "rocksdb.hpp" #include "logging.hpp" #include "cloc...
22.955224
67
0.680104
huangvincent170
26f2fc8f200d1d61e94ded94853dfe123552d29b
1,372
hpp
C++
Runtime/MP1/CPauseScreenBlur.hpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/MP1/CPauseScreenBlur.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/MP1/CPauseScreenBlur.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#pragma once #include "Runtime/CToken.hpp" #include "Runtime/Camera/CCameraFilter.hpp" #include "Runtime/Graphics/CTexture.hpp" #include "Runtime/Graphics/Shaders/CTexturedQuadFilter.hpp" #include "Runtime/Graphics/Shaders/CScanLinesFilter.hpp" #include "Runtime/MP1/CInGameGuiManagerCommon.hpp" namespace metaforce { ...
31.181818
81
0.777697
Jcw87
26f786487133949e213c1d83b6bcdba02d155a91
1,583
cpp
C++
qt/app/applicationpath.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
1
2021-02-14T04:04:50.000Z
2021-02-14T04:04:50.000Z
qt/app/applicationpath.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
null
null
null
qt/app/applicationpath.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
1
2021-08-28T07:42:43.000Z
2021-08-28T07:42:43.000Z
#include <QDir> #include <QPluginLoader> #include <QQmlExtensionPlugin> #include <QDebug> #include <QException> #include <QStandardPaths> #include <QStringList> #include <QJsonDocument> #include "applicationpath.h" #include "error.h" using namespace buzzer; #ifdef Q_OS_ANDROID std::wstring gProfile(L"android"); #els...
21.106667
79
0.765635
qbit-t
26fad1aa447d610467e3eeacb8632ded76b35948
590
cpp
C++
Game/src/Keyboard.cpp
rasmusrosengren/OpenGL3DGame
db6101d8aae97b8798a99ae458e62d2a8b407acb
[ "MIT" ]
null
null
null
Game/src/Keyboard.cpp
rasmusrosengren/OpenGL3DGame
db6101d8aae97b8798a99ae458e62d2a8b407acb
[ "MIT" ]
null
null
null
Game/src/Keyboard.cpp
rasmusrosengren/OpenGL3DGame
db6101d8aae97b8798a99ae458e62d2a8b407acb
[ "MIT" ]
null
null
null
#include "Keyboard.h" std::array<bool, Keyboard::NUM_KEYS> Keyboard::m_lastKeys; GLFWwindow* Keyboard::m_window = nullptr; void Keyboard::init(GLFWwindow* window) { m_window = window; } void Keyboard::update() // Need to be called every frame { for (int i = 0; i < NUM_KEYS; i++) { m_lastKeys[i] = getKey(i); } ...
18.4375
58
0.705085
rasmusrosengren
26fc029492dd6f1cc022acd3eb315badcd4bef95
301
hpp
C++
header/conditions.hpp
jonathanmarp/dbmem
fa2d143758282fc28b00d36bcc5acfb859de1f74
[ "MIT" ]
2
2021-05-18T08:08:53.000Z
2021-05-18T09:41:09.000Z
header/conditions.hpp
thekotekjournal/dbmem
5fe1371167f5754e55dc84bd16278595dd5f9b38
[ "MIT" ]
1
2021-05-18T10:12:15.000Z
2021-05-18T10:12:15.000Z
header/conditions.hpp
thekotekjournal/dbmem
5fe1371167f5754e55dc84bd16278595dd5f9b38
[ "MIT" ]
1
2021-05-18T09:41:12.000Z
2021-05-18T09:41:12.000Z
#ifndef DBMEM_CONDITIONS_HPP #define DBMEM_CONDITIONS_HPP namespace conditions { enum CONDITIONS_STRUCT { FALSE = 0x001, TRUE = 0x002 }; typedef enum CONDITIONS_STRUCT Dconditions; Dconditions Fconditions(bool conditions_boolean); }; #endif // DBMEM_CONDITIONS_HPP
20.066667
53
0.727575
jonathanmarp
26fe51326b37d5c846251f5cb710e7208fa12b56
1,115
cpp
C++
src/engine/GLUtils.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
2
2018-10-09T14:42:39.000Z
2021-02-07T21:41:00.000Z
src/engine/GLUtils.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
null
null
null
src/engine/GLUtils.cpp
Arkshine/PrototypeEngine
6833b931ca02934dd5f68377fc8c486f01103841
[ "Unlicense" ]
1
2018-10-09T14:42:41.000Z
2018-10-09T14:42:41.000Z
#include <sstream> #include <string> #include <GL/glew.h> #include "Logging.h" #include "GLUtils.h" namespace gl { bool GetContextVersion( uint32_t& uiOutMajor, uint32_t& uiOutMinor ) { uiOutMajor = 1; uiOutMinor = 0; const char* pszVersion = reinterpret_cast<const char*>( glGetString( GL_VERSION ) ); if( !ps...
19.910714
85
0.679821
Arkshine
f805448050d7b1c8e358ba00f476f98c4eb4f3aa
1,610
hpp
C++
solver/modules/slide/include/slide/KurageHashFeature.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
2
2021-04-14T06:41:18.000Z
2021-04-29T01:56:08.000Z
solver/modules/slide/include/slide/KurageHashFeature.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
solver/modules/slide/include/slide/KurageHashFeature.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
#ifndef SLIDE_KURAGE_HASH_FEATURE_HPP_ #define SLIDE_KURAGE_HASH_FEATURE_HPP_ #include <memory> #include "PlayBoard.hpp" #include "ZobristTable.hpp" namespace slide { template<int H, int W> class KurageHashFeature { private: ull selHash; ull hash; public: static std::unique_ptr<const ZobristTable<H, W>...
21.756757
114
0.596273
taiheioki
f80dc8919f40eeff132b518031b932f72c2de488
279
hpp
C++
src/ast/array.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
1
2016-12-07T21:41:37.000Z
2016-12-07T21:41:37.000Z
src/ast/array.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
null
null
null
src/ast/array.hpp
shiroyasha/telegraph
1735dc392cfa6651ce69ca98b18f6b631c01f231
[ "MIT", "Unlicense" ]
null
null
null
#pragma once #include "ast/node.hpp" #include "ast/identifier.hpp" #include "ast/type.hpp" namespace ast { class Array : public Type { public: Array(Identifier* name) : Type(name) {} std::string toString() { return "[" + Type::toString() + "]"; } }; }
16.411765
43
0.598566
shiroyasha
f8125ad1502af2014a7b21a0def4ab8d6961d315
1,653
hpp
C++
backend/inc/sim/components/capacitor.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
1
2019-05-04T02:21:12.000Z
2019-05-04T02:21:12.000Z
backend/inc/sim/components/capacitor.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
2
2019-02-11T17:11:28.000Z
2019-02-11T17:12:26.000Z
backend/inc/sim/components/capacitor.hpp
capstone-2019/capstone
b9212ad803c962dc4b03fe8505fe56bfd820aa8a
[ "MIT" ]
null
null
null
/** * * @file capacitor.hpp * * @data April 1, 2019 * * @brief This file contains the interface to the capacitor, a type of * energy storage component supported by our simulator. * * @author Matthew Kasper (mkasper@andrew.cmu.edu) * */ #ifndef _CAPACITOR_H_ #define _CAPACITOR_H_ #include <vector> #include ...
25.430769
74
0.675136
capstone-2019
f818c9b7c0053c2db06f0a5882f94d5d234c6efb
402
cpp
C++
Simulation/src/SimulationCore/SimulationWindow.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
Simulation/src/SimulationCore/SimulationWindow.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
Simulation/src/SimulationCore/SimulationWindow.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
#include "SimulationWindow.h" #include "../SimUtils/Icon.h" SimulationWindow::SimulationWindow() : RenderEngine::WindowBase("Marbling Simulation") { GLFWimage* icon = LoadGLFWimage("res/icons/Icon.png"); glfwSetWindowIcon(_window, 1, icon); } void SimulationWindow::OnDraw() { } void SimulationWind...
19.142857
87
0.691542
RubenB-1643541
f81d40d89f25fd1348ed725f9dc902a70b1889b6
2,995
cpp
C++
KatamariSphereController.cpp
catinapoke/directx-engine
b967eff417d170fce947066486b01a1003fa20ce
[ "MIT" ]
null
null
null
KatamariSphereController.cpp
catinapoke/directx-engine
b967eff417d170fce947066486b01a1003fa20ce
[ "MIT" ]
null
null
null
KatamariSphereController.cpp
catinapoke/directx-engine
b967eff417d170fce947066486b01a1003fa20ce
[ "MIT" ]
null
null
null
#include "KatamariSphereController.h" #include <iostream> #include "TransformComponent.h" #include "Camera.h" typedef DirectX::SimpleMath::Matrix Matrix; KatamariSphereController::KatamariSphereController(std::shared_ptr<InputDevice> device, CameraComponent* camera) : transform(nullptr), camera_(camera->GetActo...
32.554348
116
0.70384
catinapoke
f81f207532f53e6de14d7ea4ae35ad527b6f1aa9
9,596
hpp
C++
lib/fiber/collection_of_basis_transformations.hpp
nicolas-chaulet/bempp
0f5cc72e0e542437e787db5704978456b0ad9e35
[ "BSL-1.0" ]
2
2021-07-22T13:34:28.000Z
2021-07-22T13:35:20.000Z
lib/fiber/collection_of_basis_transformations.hpp
UCL/bempp
f768ec7d319c02d6e0142512fb61db0607cadf10
[ "BSL-1.0" ]
null
null
null
lib/fiber/collection_of_basis_transformations.hpp
UCL/bempp
f768ec7d319c02d6e0142512fb61db0607cadf10
[ "BSL-1.0" ]
1
2021-05-17T09:46:44.000Z
2021-05-17T09:46:44.000Z
// Copyright (C) 2011-2012 by the BEM++ Authors // // 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, mer...
45.913876
83
0.698833
nicolas-chaulet
f824c6de8a75de55487bcacabf20b24e22ab5bef
880
hpp
C++
escapee/Classes/v1/GameAct/Contours/KitExpert.hpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
escapee/Classes/v1/GameAct/Contours/KitExpert.hpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
3
2020-12-11T10:01:27.000Z
2022-02-13T22:12:05.000Z
escapee/Classes/v1/GameAct/Contours/KitExpert.hpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
#ifndef __GAME_ACT_CONTOURS_KIT_EXPERT_HPP__ #define __GAME_ACT_CONTOURS_KIT_EXPERT_HPP__ #include "Interfaces/INoncopyable.hpp" #include <cocos2d.h> namespace GameAct { namespace Contours { class Kit; class Segment; class Line; class KitExpert : public Interfaces::INoncopyable { public: Ki...
18.723404
77
0.727273
1pkg
f826e199873397f748c33e7cde8521e04347f672
5,141
cpp
C++
applicationsBin/sbReconf/makeConfigY.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
4
2016-08-18T03:19:49.000Z
2020-09-20T03:29:26.000Z
applicationsBin/sbReconf/makeConfigY.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
2
2016-08-18T03:25:07.000Z
2016-08-29T17:51:50.000Z
applicationsBin/sbReconf/makeConfigY.cpp
claytronics/visiblesim
2762a88a23e50516d0f166dd9629f1ac7290fded
[ "Apache-2.0" ]
3
2015-05-14T07:29:55.000Z
2021-07-18T23:45:36.000Z
#include <iostream> #include <fstream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include "skeleton.h" using namespace std; int main(int argc,char **argv) { int initSquareLx=41,initSquareLy=41, conveyorBlocks=500,armLength=15; int maxTimeSimulation=3000,iAngle=45; double angle; ...
30.420118
157
0.51313
claytronics
f82b1039c9d734ac60363adfdb91874ca6e969c2
39,825
cpp
C++
main/dsp/DCO_Synth.cpp
shroomist/Glo_v1
19e09790fa9f26926f7565f026ebb98fec4243ee
[ "Apache-2.0" ]
16
2019-10-09T17:20:15.000Z
2021-09-05T03:26:00.000Z
main/dsp/DCO_Synth.cpp
shroomist/Glo_v1
19e09790fa9f26926f7565f026ebb98fec4243ee
[ "Apache-2.0" ]
1
2019-12-16T20:29:33.000Z
2019-12-16T20:29:33.000Z
main/dsp/DCO_Synth.cpp
shroomist/Glo_v1
19e09790fa9f26926f7565f026ebb98fec4243ee
[ "Apache-2.0" ]
3
2019-11-01T01:03:00.000Z
2022-02-16T13:35:34.000Z
/* * DCO_synth.cpp * * Created on: 11 May 2017 * Author: mario * * Based on "The Tiny-TS Touch Synthesizer" by Janost 2016, Sweden * https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/ * https://www.kickstarter.com/projects/732508269/the-tiny-ts-an-open-sourced-diy-touch-synthesizer/ * */...
26.097641
197
0.590358
shroomist
f82d36f3a41917690f648621c7fbd59844900288
3,301
cpp
C++
tc 160+/InstantRunoff.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/InstantRunoff.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/InstantRunoff.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <climits> using namespace std; class InstantRunoff { public: string outcome(string candidates, vector <string> ballots) { while (candidates.size() > 0) { ...
45.219178
315
0.566192
ibudiselic
f82d52b36f61ff0da4e1bb804899e48f572ec1c3
1,199
hpp
C++
win32.cpp/include/win32/high_resolution_clock.hpp
fallfromgrace/win32.cpp
cab9fbc2e595fb2c9114d0251b04d895185c5fcb
[ "MIT" ]
null
null
null
win32.cpp/include/win32/high_resolution_clock.hpp
fallfromgrace/win32.cpp
cab9fbc2e595fb2c9114d0251b04d895185c5fcb
[ "MIT" ]
null
null
null
win32.cpp/include/win32/high_resolution_clock.hpp
fallfromgrace/win32.cpp
cab9fbc2e595fb2c9114d0251b04d895185c5fcb
[ "MIT" ]
null
null
null
#pragma once #include <chrono> #include <Windows.h> #include "more\includes.hpp" #include "win32\error.hpp" namespace win32 { // class high_resolution_clock { public: typedef uint64_t rep; typedef std::nano period; typedef std::chrono::duration<rep, period> duration; typedef std::chrono::time_point<hig...
23.509804
90
0.723103
fallfromgrace
f833abf19ec3c0320b53c6030e926fc05814edaa
1,041
cpp
C++
problems19dec/snake/3.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-11T01:43:27.000Z
2021-12-11T01:43:27.000Z
problems19dec/snake/3.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
problems19dec/snake/3.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-15T07:04:29.000Z
2021-12-15T07:04:29.000Z
// No comment #include <iostream> #include <algorithm> using namespace std; char makeBeef(char x) { string snake = "SNAKE"; string cow = "ANGUS"; for(int i = 0; i < 5; i++) { if(snake[i] == x) { return cow[i]; } } return 'X'; } int N; string S; const int FAIL = -1234;...
17.065574
63
0.411143
Gomango999
f83ceabbb354e8ab2cd9ff9f4dbf28f93f9eadb4
3,071
cpp
C++
src/io.cpp
tguyard/sentry-native
e33c68d1d61a65a089a431185584fa304c81c58f
[ "MIT" ]
1
2019-11-25T22:33:56.000Z
2019-11-25T22:33:56.000Z
src/io.cpp
detwiler/sentry-native
d2035afffcad282a44195cacc0d300de7fe0e36d
[ "MIT" ]
null
null
null
src/io.cpp
detwiler/sentry-native
d2035afffcad282a44195cacc0d300de7fe0e36d
[ "MIT" ]
null
null
null
#include <cstdlib> #include "internal.hpp" #include "io.hpp" #include "path.hpp" #ifndef _WIN32 #include <fcntl.h> #include <unistd.h> #endif using namespace sentry; IoWriter::IoWriter() { } IoWriter::~IoWriter() { } FileIoWriter::FileIoWriter() : m_buflen(0) { // on non win32 platforms we only use open/write...
20.610738
67
0.565939
tguyard
f83eebc3951e3b7c9f6af443f0c97b8c68eafbb1
4,607
cpp
C++
2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
2022.04.04. Test 2.d.r/2022.04.04. Test 2.d.r/Fraction.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
#include "Fraction.h" Fraction::Fraction(long long numerator, long long denominator) { if (numerator < 0 && denominator > 0 || numerator >= 0 && denominator > 0) { this->numerator = numerator; this->denominator = denominator; } else if (numerator < 0 && denominator < 0 || numerator >= 0 && denominator < 0) { ...
24.247368
170
0.725418
whitehet-sex-lman
f8407239587e83ddf553d64c386171ffe45ab521
1,650
hpp
C++
src/cpa/cpa.hpp
DfX-NYUAD/CPA
4b1364e7b0eb7d0580b4e90e5a05a109551ed49d
[ "MIT" ]
null
null
null
src/cpa/cpa.hpp
DfX-NYUAD/CPA
4b1364e7b0eb7d0580b4e90e5a05a109551ed49d
[ "MIT" ]
null
null
null
src/cpa/cpa.hpp
DfX-NYUAD/CPA
4b1364e7b0eb7d0580b4e90e5a05a109551ed49d
[ "MIT" ]
null
null
null
/* Copyright (c) 2013 Tescase * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distr...
37.5
228
0.762424
DfX-NYUAD
f84549bb0abe8eca74e63b64cbcad69b6498552b
2,553
cpp
C++
assec-renderer/platform/directx12/directx12_command_list.cpp
TeamVistic/assec-renderer
5c6fc9a46fc3f6302471a22bfd2bdf2942b794db
[ "Apache-2.0" ]
null
null
null
assec-renderer/platform/directx12/directx12_command_list.cpp
TeamVistic/assec-renderer
5c6fc9a46fc3f6302471a22bfd2bdf2942b794db
[ "Apache-2.0" ]
null
null
null
assec-renderer/platform/directx12/directx12_command_list.cpp
TeamVistic/assec-renderer
5c6fc9a46fc3f6302471a22bfd2bdf2942b794db
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "directx12_command_list.h" namespace assec::renderer { ComPtr<ID3D12GraphicsCommandList2> create_command_list(ComPtr<ID3D12Device2> device, ComPtr<ID3D12CommandAllocator> command_allocator, D3D12_COMMAND_LIST_TYPE type) { ComPtr<ID3D12GraphicsCommandList2> result; throw_if_failed(devi...
48.169811
229
0.806894
TeamVistic
f845f3416589d1d48c63c61cae435a1759886430
1,983
cpp
C++
test/xsimd_hyperbolic_test.cpp
ukoethe/xsimd
c15e4da30d6777863d994750d4c3a61b32f2de95
[ "BSD-3-Clause" ]
null
null
null
test/xsimd_hyperbolic_test.cpp
ukoethe/xsimd
c15e4da30d6777863d994750d4c3a61b32f2de95
[ "BSD-3-Clause" ]
null
null
null
test/xsimd_hyperbolic_test.cpp
ukoethe/xsimd
c15e4da30d6777863d994750d4c3a61b32f2de95
[ "BSD-3-Clause" ]
1
2020-08-19T01:15:47.000Z
2020-08-19T01:15:47.000Z
/*************************************************************************** * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
33.610169
77
0.595058
ukoethe
f848bacda619b0fafbb669632a9720d64f2df744
1,677
cpp
C++
modelConvert/source/main.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
modelConvert/source/main.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
modelConvert/source/main.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
#include "ModelLoader.h" #include "ModelChecker.h" #include <iostream> #include <filesystem> #include <fstream> #include <string> bool SaveModel(const ModelData::ModelT * model, const std::string & path) { flatbuffers::FlatBufferBuilder builder(1024); auto offset = ModelData::CreateModel(builder, model); ...
26.619048
77
0.539058
sormo
f849d5baf154313e3e0f62b8751f8f8cb711d0b5
6,841
cpp
C++
caffe/src/caffe/test/test_clustering_loss_layer.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
408
2015-11-19T21:50:16.000Z
2022-03-22T08:17:26.000Z
caffe/src/caffe/test/test_clustering_loss_layer.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
29
2016-05-18T10:24:00.000Z
2021-09-26T21:43:46.000Z
caffe/src/caffe/test/test_clustering_loss_layer.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
152
2015-11-24T17:30:36.000Z
2021-11-11T07:17:03.000Z
#include <cmath> #include <cstdlib> #include <cstring> #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/vision_layers.hpp" #include "caffe/test/test_caffe_main.hpp" #include "caffe/test/test_gradient_check_util.hpp" namespac...
33.866337
101
0.679871
blitzingeagle
f850ebcad2e04127a5937d7d506d9584d0348aed
15,526
hpp
C++
core/src/cogs/collections/avltree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/src/cogs/collections/avltree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/src/cogs/collections/avltree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // // Status: Good #ifndef COGS_HEADER_COLLECTION_AVLTREE #define COGS_HEADER_COLLECTION_AVLTREE #include "cogs/collections/btree.hpp" #include "cogs/operators.hpp" #include "cogs/mem/ptr.hpp" namespace cogs { /// @de...
30.99002
143
0.682983
cogmine
f855776911f2d7b2b129b13e2bb71c99377ad8f0
2,251
cpp
C++
AI/Src/MessageDispatcher.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
1
2020-09-02T06:00:14.000Z
2020-09-02T06:00:14.000Z
AI/Src/MessageDispatcher.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
AI/Src/MessageDispatcher.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // MessageDispatcher.cpp // Created on: 20-07-2008 // Last modified: 22-06-2009 // Original author: Arvydas Slekaitis (C) /////////////////////////////////////////////////////////// #include <MessageDispatcher.h> using namespace Regina; //*******...
22.287129
80
0.564638
ArvydasSlekaitis
f859ac6a81e42cc97042b1bb9b81a3d8ba7bde8a
18,473
cpp
C++
plugins/core/qAnimation/src/qAnimationDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qAnimation/src/qAnimationDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qAnimation/src/qAnimationDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE PLUGIN: qAnimation # //# # //# This pr...
26.091808
176
0.678504
ohanlonl
f85c7496c6de6833a5a0ebdc236bbacc783264f7
12,451
cpp
C++
gen/blink/bindings/modules/v8/V8Database.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/bindings/modules/v8/V8Database.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/bindings/modules/v8/V8Database.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8Database.h" #include "bindings/core/v8/Exce...
47.342205
468
0.709823
gergul
f86338ac040f8d2195a6caae14f599f60cb40375
3,486
hpp
C++
src/Typing.hpp
aukdata/TorikaiType
8d4079c38510ee33bc2323231065b0d72f2ea3cc
[ "MIT" ]
null
null
null
src/Typing.hpp
aukdata/TorikaiType
8d4079c38510ee33bc2323231065b0d72f2ea3cc
[ "MIT" ]
null
null
null
src/Typing.hpp
aukdata/TorikaiType
8d4079c38510ee33bc2323231065b0d72f2ea3cc
[ "MIT" ]
null
null
null
// // Typing.hpp // TorikaiType // # ifndef Typing_hpp # define Typing_hpp # include <Siv3D.hpp> # include <functional> class Typing { static const Array<std::pair<String, String>> romanize_table; static const HashTable<char32, char32> hiraganaize_table; Array<String> m_parsed, m_hiraganized, m_r...
26.815385
147
0.454676
aukdata
d379d514f9db4919fea39d1107d9432c41b660e2
7,292
cpp
C++
src/cpu/x64/zendnn_inner_product.cpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
28
2021-08-12T10:38:06.000Z
2022-03-25T08:37:31.000Z
src/cpu/x64/zendnn_inner_product.cpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
2
2021-08-17T03:20:10.000Z
2021-09-23T04:15:32.000Z
src/cpu/x64/zendnn_inner_product.cpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
5
2021-08-20T05:05:59.000Z
2022-02-25T19:13:07.000Z
/******************************************************************************* * Modifications Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. * Notified per clause 4(b) of the license. *******************************************************************************/ /****************************...
37.782383
112
0.613961
amd
d37c8fc507a2f7e06c434ddc362d9e0c31db6323
3,366
hpp
C++
hydra/hydra.hpp
tim42/hydra
dfffd50a2863695742c0c6122a505824db8be7c3
[ "MIT" ]
2
2016-09-15T22:29:46.000Z
2017-11-30T11:16:12.000Z
hydra/hydra.hpp
tim42/hydra
dfffd50a2863695742c0c6122a505824db8be7c3
[ "MIT" ]
null
null
null
hydra/hydra.hpp
tim42/hydra
dfffd50a2863695742c0c6122a505824db8be7c3
[ "MIT" ]
null
null
null
// // file : hydra.hpp // in : file:///home/tim/projects/hydra/hydra/hydra.hpp // // created by : Timothée Feuillet // date: Sat Apr 23 2016 15:19:07 GMT+0200 (CEST) // // // Copyright (c) 2016 Timothée Feuillet // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and a...
39.139535
116
0.773321
tim42
d37fe7ba141af0de221e7f50b37bef2e12f003fd
1,268
cpp
C++
samples/v8test/v8test.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
24
2017-08-22T15:55:34.000Z
2022-03-06T11:41:31.000Z
samples/v8test/v8test.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
6
2018-07-21T12:17:55.000Z
2021-08-12T11:27:27.000Z
samples/v8test/v8test.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
9
2017-09-13T02:32:18.000Z
2022-03-06T11:41:32.000Z
#include <smooth.h> #include <smooth/main.h> using namespace smooth; using namespace smooth::GUI::Dialogs; #include <smooth-js/v8.h> using namespace v8; Int smooth::Main() { // Create a new isolate. Isolate *isolate = v8::Isolate::New(); // Enter the created isolate. { Isolate::Scope isolateScope(isolate...
24.862745
128
0.683754
Patriccollu
d38223417136f27d5ab11015755a5fb407ea3359
876
hpp
C++
sources/Common/UseUnused.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Common/UseUnused.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Common/UseUnused.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2011/05/02 17:48 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net ********...
29.2
76
0.531963
palchukovsky
d38275c6387cb1d5484bba50aa63d84525071056
5,412
cpp
C++
src/main.cpp
wx257osn2/symboli_carotene
710af9e913eae012cf02d2008b21127fb422b2b5
[ "MIT" ]
null
null
null
src/main.cpp
wx257osn2/symboli_carotene
710af9e913eae012cf02d2008b21127fb422b2b5
[ "MIT" ]
null
null
null
src/main.cpp
wx257osn2/symboli_carotene
710af9e913eae012cf02d2008b21127fb422b2b5
[ "MIT" ]
null
null
null
#include<symboli/prelude.hpp> #include<optional> #include<cstddef> #include<memory> #include<iostream> #include<mutex> #include<condition_variable> #include<thread> #include"symboli/carotene/core_version.hpp" static std::optional<symboli::prelude> prelude; extern "C"{ __declspec(dllexport) unsigned int major_version...
29.736264
136
0.72561
wx257osn2
d384787e3e9cc8b1f58c96a00e36e9680cb3d2df
150
cpp
C++
FastWindows.UI.Composition/CompositionShadow.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-06-13T16:29:07.000Z
2019-12-17T18:06:59.000Z
FastWindows.UI.Composition/CompositionShadow.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
null
null
null
FastWindows.UI.Composition/CompositionShadow.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-09-21T13:15:58.000Z
2020-08-30T06:48:59.000Z
#include "pch.h" #include "CompositionShadow.h" #include "CompositionShadow.g.cpp" namespace winrt::FastWindows::UI::Composition::implementation { }
18.75
61
0.773333
kennykerr
d3882f99f5ea555e5243b55d21491000e1af6b57
907
hpp
C++
android-31/android/widget/RemoteViews_RemoteResponse.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-30/android/widget/RemoteViews_RemoteResponse.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/widget/RemoteViews_RemoteResponse.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::app { class PendingIntent; } namespace android::content { class Intent; } class JString; namespace android::widget { class RemoteViews_RemoteResponse : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit...
25.194444
167
0.755237
YJBeetle
d389d852a82d441ad303edaa0ff6fd33cf7150fc
1,236
cpp
C++
cpp/sowcpp/src/ch14/prog14-8.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/ch14/prog14-8.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/ch14/prog14-8.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
// Practice program 14-8 // Found on page 830 // This program demonstrates the overloaded '-' and '+' operators #include <iostream> #include "feetInches.h" using namespace std; int main() { int feet, inch; // Hold the input for feet and inch // Create three feetInches objects. // Default args for const...
23.320755
65
0.607605
newnix
d38c08a43bd10e184ae306b6061d067837ea318c
1,766
cpp
C++
async/examples/sockio/server/main.cpp
Rahul18728/cerl
8d90c03b2ffe397021bcb8c7198c713acf840bb4
[ "MIT" ]
443
2015-03-14T06:04:45.000Z
2022-01-10T01:30:56.000Z
async/examples/sockio/server/main.cpp
Rahul18728/cerl
8d90c03b2ffe397021bcb8c7198c713acf840bb4
[ "MIT" ]
null
null
null
async/examples/sockio/server/main.cpp
Rahul18728/cerl
8d90c03b2ffe397021bcb8c7198c713acf840bb4
[ "MIT" ]
125
2015-03-14T13:08:04.000Z
2021-12-08T13:03:29.000Z
//test socket io through epoll // //#define CERL_VERBOSE //#include <async/Io.h> //#include <netinet/in.h> //#include <arpa/inet.h> //#include <async/Socket.h> #include <async/Application.h> #include <sys/times.h> void cerl_callback run(LPVOID param) { cerl::FiberParam p(param); int socket1 = cerl::listenSocket(5...
17.485149
99
0.593431
Rahul18728
d394cb153c37f5319d6618c9646ad971c0b739f1
12,604
cpp
C++
src/server/Xml/XslDoc.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
src/server/Xml/XslDoc.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
src/server/Xml/XslDoc.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
//platform agnostic file #include "Xml/XslDoc.h" #include "IXml/IXmlBaseNode.h" #include "IXml/IXmlLibrary.h" #include "IXml/IXslNode.h" #include "Xml/XmlAdminQueryEnvironment.h" #include "Debug.h" #include "Xml/XmlNodeList.h" #include "Utilities/container.c" using namespace std; namespace general_server { //----...
38.901235
220
0.625754
anewholm
d39753420daa127b7f465efa38881a75a004d213
25,873
cpp
C++
src/test/test_convlayer.cpp
lsh123/yann
4a12b7c1ee2d89d34772d647586b3018df6997db
[ "MIT" ]
2
2019-08-22T18:14:44.000Z
2020-01-01T10:25:07.000Z
src/test/test_convlayer.cpp
lsh123/yann
4a12b7c1ee2d89d34772d647586b3018df6997db
[ "MIT" ]
null
null
null
src/test/test_convlayer.cpp
lsh123/yann
4a12b7c1ee2d89d34772d647586b3018df6997db
[ "MIT" ]
null
null
null
// // Add --log_level=message to see the messages! // #include <boost/test/unit_test.hpp> #include <sstream> #include "core/functions.h" #include "core/utils.h" #include "core/random.h" #include "core/training.h" #include "layers/convlayer.h" #include "test_utils.h" #include "timer.h" #include "test_layers.h" using...
26.53641
138
0.576392
lsh123
d39781614f209bd37dac8fbe3673ed1fe9741deb
208
cpp
C++
4_loops/Code_Examples/output_tracing3.cpp
AhsanAyub/tntech_csc_1300_fall_2021
a96794e9800adccb71abaf83ecf5409ad4c25b3e
[ "MIT" ]
2
2022-02-02T05:25:46.000Z
2022-02-17T17:42:08.000Z
4_loops/Code_Examples/output_tracing3.cpp
AhsanAyub/tntech_csc_1300_fall_2021
a96794e9800adccb71abaf83ecf5409ad4c25b3e
[ "MIT" ]
null
null
null
4_loops/Code_Examples/output_tracing3.cpp
AhsanAyub/tntech_csc_1300_fall_2021
a96794e9800adccb71abaf83ecf5409ad4c25b3e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for(int i = 0; i <= 10; i++) { if(i % 2 == 0) { continue; } cout << i << endl; } return 0; }
13
32
0.384615
AhsanAyub
d39a7d147f697051ffcfba0a5a50f415399fbe1c
230
cpp
C++
Week-1/Day-05-firstUniqChar.cpp
utkarshavardhana/may-leetcoding-challenge
4f7600c943460029c595a3b2d85f86e68d7b7066
[ "MIT" ]
1
2020-05-02T04:21:54.000Z
2020-05-02T04:21:54.000Z
Week-1/Day-05-firstUniqChar.cpp
utkarshavardhana/may-leetcoding-challenge
4f7600c943460029c595a3b2d85f86e68d7b7066
[ "MIT" ]
null
null
null
Week-1/Day-05-firstUniqChar.cpp
utkarshavardhana/may-leetcoding-challenge
4f7600c943460029c595a3b2d85f86e68d7b7066
[ "MIT" ]
null
null
null
class Solution { public: int firstUniqChar(string s) { unordered_map<char, int> m; for(char c : s) m[c]++; for(int i=0; i<s.size(); i++) if(m[s[i]] == 1) return i; return -1; } };
23
66
0.473913
utkarshavardhana
d39c4c39557e3acd06192a317311199dee19ac85
2,464
cpp
C++
fbzmq/async/tests/ZmqTimeoutTest.cpp
eensy1207/fbzmq
9032d469ce9565756a0a160481a002c70e66f35c
[ "MIT" ]
null
null
null
fbzmq/async/tests/ZmqTimeoutTest.cpp
eensy1207/fbzmq
9032d469ce9565756a0a160481a002c70e66f35c
[ "MIT" ]
null
null
null
fbzmq/async/tests/ZmqTimeoutTest.cpp
eensy1207/fbzmq
9032d469ce9565756a0a160481a002c70e66f35c
[ "MIT" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <gflags/gflags.h> #include <fbzmq/async/ZmqEventLoop.h> #include <fbzmq/async/ZmqTimeout.h> namespac...
23.92233
72
0.663555
eensy1207
d3ab8adc2a1bb7fb4e3aee0521a5fd7e9a35a42d
2,295
cpp
C++
codeforces/F - Three Paths on a Tree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Three Paths on a Tree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Three Paths on a Tree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: * kzvd4729 created: Jan/22/2020 21:35 * solution_verdict: Accepted language: GNU C++14 * run...
27.321429
111
0.471895
kzvd4729
d3c1b0b416e6a83a84e81982e70acab8311b8e84
1,798
cc
C++
tests/benchmark/chunk_replacement_bench.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
tests/benchmark/chunk_replacement_bench.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
tests/benchmark/chunk_replacement_bench.cc
Chippiewill/Phosphor
ef090fa5b331dd94301cd8562b24c78c0c2030f1
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
28.539683
79
0.6396
Chippiewill
d3c21fbb302729b47502c2d84cb61f98404cb09f
2,022
cpp
C++
Days 021 - 030/Day 24/LockableBinaryTree.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 021 - 030/Day 24/LockableBinaryTree.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 021 - 030/Day 24/LockableBinaryTree.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <iostream> struct Node { public: int value; Node* left; Node* right; Node* parent; bool isLocked; unsigned int descendantLockCount; Node(int value, Node* left = nullptr, Node* right = nullptr, Node* parent = nullptr) noexcept : value(value), left(left), right(right), parent(parent), isLocked(false...
14.652174
99
0.608309
LucidSigma
d3c2a72b9d24717384680c5b875076a20c977fde
2,322
cpp
C++
T__Floor.cpp
SJ-magic-work-GolemForBackStage/Kinobi_oF_main
836ef64ecf92a81230c051d308ee7e7d3a7ca1d4
[ "MIT" ]
null
null
null
T__Floor.cpp
SJ-magic-work-GolemForBackStage/Kinobi_oF_main
836ef64ecf92a81230c051d308ee7e7d3a7ca1d4
[ "MIT" ]
null
null
null
T__Floor.cpp
SJ-magic-work-GolemForBackStage/Kinobi_oF_main
836ef64ecf92a81230c051d308ee7e7d3a7ca1d4
[ "MIT" ]
null
null
null
/************************************************************ ************************************************************/ #include "T__Floor.h" /************************************************************ ************************************************************/ /****************************** ****************...
22.990099
74
0.425065
SJ-magic-work-GolemForBackStage
d3cb37718b5d1232ca4a5ba6d54959243340e308
4,796
cpp
C++
src/PointwiseFunctions/MathFunctions/PowX.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
src/PointwiseFunctions/MathFunctions/PowX.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
1
2022-03-25T18:26:16.000Z
2022-03-25T19:30:39.000Z
src/PointwiseFunctions/MathFunctions/PowX.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "PointwiseFunctions/MathFunctions/PowX.hpp" #include "DataStructures/DataVector.hpp" #include "Utilities/GenerateInstantiations.hpp" #include "Utilities/MakeWithValue.hpp" namespace MathFunctions { template <typename Fr> PowX<1, Fr>::Pow...
36.892308
80
0.584028
tomwlodarczyk
d3cea590a7fc2df48824a7ed4cfda9c0d6d87666
582
hpp
C++
nodes/random_regex_node.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
nodes/random_regex_node.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
nodes/random_regex_node.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
#ifndef RANDOM_REGEX_NODE_HPP_INCLUDED #define RANDOM_REGEX_NODE_HPP_INCLUDED #include "regex_node.hpp" namespace rand_regex { class random_regex_node_ : public regex_node_ // . TODO check if this could be derived from range_random_regex_node_ { public: void generate(std::ostream& os, random_generator_base& random...
27.714286
130
0.785223
do-m-en
d3cfa2c85886b38d838c3caff1fb6629f0e765db
1,051
hpp
C++
Giga_v1/src/eeprom/KDEEPROMMap.hpp
azarashi2931/Giga-Project
2acbd937bec01e6042453fe777f4182b6d67d9b7
[ "MIT" ]
null
null
null
Giga_v1/src/eeprom/KDEEPROMMap.hpp
azarashi2931/Giga-Project
2acbd937bec01e6042453fe777f4182b6d67d9b7
[ "MIT" ]
null
null
null
Giga_v1/src/eeprom/KDEEPROMMap.hpp
azarashi2931/Giga-Project
2acbd937bec01e6042453fe777f4182b6d67d9b7
[ "MIT" ]
null
null
null
#ifndef KD_EEPROM_MAP_h #define KD_EEPROM_MAP_h typedef struct { int address; uint8_t size; } EEPROMData; class KDEEPROMMap { public: static constexpr int NumberOfAddresses = 1; static constexpr int LineThreshold = 0; static constexpr EEPROMData Addresses[NumberOfAddresses] = { ...
25.634146
133
0.665081
azarashi2931
d3cfc6ae5338817f400e495160623ced2e329216
718
hh
C++
Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh
SimoGira/Embedded-Systems-Design
87829fb65aa64a24e062358671580716a1151572
[ "BSD-3-Clause" ]
null
null
null
Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh
SimoGira/Embedded-Systems-Design
87829fb65aa64a24e062358671580716a1151572
[ "BSD-3-Clause" ]
null
null
null
Watertank-System/1.0_SystemC/Solutions/Continous_Subsystem/include/watertank_lsf.hh
SimoGira/Embedded-Systems-Design
87829fb65aa64a24e062358671580716a1151572
[ "BSD-3-Clause" ]
null
null
null
#ifndef WATERTANK_LSF_HH #define WATERTANK_LSF_HH #include <systemc-ams> #include "global.hh" SC_MODULE(watertank_lsf){ public: //sc_in_clk clock; //sca_lsf::sca_signal sig_derivative_of_valve_aperture; sca_lsf::sca_signal sig_valve_aperture; sca_lsf::sca_signal sig_water_level; sca_lsf::sca_t...
21.117647
80
0.720056
SimoGira
d3d0eaf1b87ea2e66037622edba63a48ba31c13e
1,880
cxx
C++
xp_comm_misc/merl/src/hist.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_misc/merl/src/hist.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_misc/merl/src/hist.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
#include "express.h" #include "hist.hxx" int Volume_Histogram::ComputeHistogram(OMevent_mask , int ) { // volume (Mesh_Unif+Node_Data read notify) // data_component (OMXint read notify) // threshold (OMXint read notify) // histogram (OMXint_array write) int comp = (int)data_component; int thresh =...
24.102564
76
0.50266
avs
d3db75b63344d817e83451ef1cac9f8d28c654d5
3,690
cc
C++
test/hash_table_test.cc
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
test/hash_table_test.cc
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
test/hash_table_test.cc
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2018 Yang Le // 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, ...
32.368421
81
0.673984
yang-le
d3de4ff25af4de6bba411ea2b3b41813e7ef6d77
2,364
hpp
C++
src/perfnp/cmd_line.hpp
locksley-cz/perfnp
b55dc3401285042e1409ba930543627725a471c0
[ "MIT" ]
null
null
null
src/perfnp/cmd_line.hpp
locksley-cz/perfnp
b55dc3401285042e1409ba930543627725a471c0
[ "MIT" ]
10
2019-03-13T09:14:41.000Z
2020-02-19T18:01:14.000Z
src/perfnp/cmd_line.hpp
locksley-cz/perfnp
b55dc3401285042e1409ba930543627725a471c0
[ "MIT" ]
1
2019-03-08T09:32:31.000Z
2019-03-08T09:32:31.000Z
// Copyright (c) 2019 Locksley.CZ s.r.o. // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #ifndef PERFNP_CMD_LINE_H_ #define PERFNP_CMD_LINE_H_ #include <perfnp/tools.hpp> #include <string> #include <vector> namespace perfnp { /*! * Command to be executed with argument...
24.884211
97
0.654399
locksley-cz
d3e4f7cbd40981044a27bdf1bec005ded1d81537
632
hpp
C++
kernel/include/x86_64/pic.hpp
larrabyte/thepuck
dc9971bc0682354e74a1869b3cc6a5c80b85e821
[ "MIT" ]
5
2020-02-21T09:35:24.000Z
2021-03-28T08:26:20.000Z
kernel/include/x86_64/pic.hpp
larrabyte/thepuck
dc9971bc0682354e74a1869b3cc6a5c80b85e821
[ "MIT" ]
null
null
null
kernel/include/x86_64/pic.hpp
larrabyte/thepuck
dc9971bc0682354e74a1869b3cc6a5c80b85e821
[ "MIT" ]
1
2021-06-25T17:26:03.000Z
2021-06-25T17:26:03.000Z
#ifndef FREELSD_KERNEL_PIC_HEADER #define FREELSD_KERNEL_PIC_HEADER #include <stdint.h> #define MASTER_PIC_COMMAND 0x20 #define MASTER_PIC_DATA 0x21 #define SLAVE_PIC_COMMAND 0xA0 #define SLAVE_PIC_DATA 0xA1 #define PIC_READ_IRR 0x0A #define PIC_READ_ISR 0x0B namespace pic { // Check if...
22.571429
56
0.726266
larrabyte
d3e79a4e75f229efde8a3aae554600313686d193
1,771
cpp
C++
data-structure/Agenda.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Agenda.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Agenda.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0224)http://65.54.187.250/cgi-bin/getmsg?curmbox=F000000001&a=2ec26e1f050efee654cc3bcc71597a74&msg=MSG1090110885.23&start=406335&len=45661&mimepart=3&disk=65.54.187.39_d298&login=nuverlomm&domain=hotmail%2ecom&_lang=ES&country=MX --> <H...
29.032787
254
0.627329
ejpcr
d3e83e27e776d08adf5f4e9c2c82d71898aaa415
1,949
cpp
C++
Queue/queue.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
1
2021-12-16T13:04:31.000Z
2021-12-16T13:04:31.000Z
Queue/queue.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
null
null
null
Queue/queue.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
null
null
null
#include <iostream> #define maxsize 20 #define max_size 50 typedef int elem; using namespace std; /*后来定义的一些函数需要stack*/ #include "Stack.h" #include "queue.h" void Init_queue(queue* &q) { q = new queue; q->front = 0; q->rear = 0; } void Destroy_queue(queue *&q) { free(q); } bool queue_empty(queue *q) { ...
20.302083
83
0.487429
hongwei7
d3e8f67b6a612ddf7e7589785f61cc3a51216bef
1,881
cpp
C++
tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
tst/OpcUaStackServer/ServiceSet/MonitoredItem_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
#include "unittest.h" #include "OpcUaStackServer/ServiceSet/MonitorItem.h" #include "OpcUaStackServer/AddressSpaceModel/VariableNodeClass.h" #include "OpcUaStackServer/AddressSpaceModel/ObjectNodeClass.h" using namespace OpcUaStackServer; BOOST_AUTO_TEST_SUITE(MonitoredItem_) BOOST_AUTO_TEST_CASE(MonitoredItem_) { ...
30.836066
110
0.812334
gianricardo
d3edad04732965f9dd3176e26bf8264facbe8743
420
cpp
C++
learncppdotcom/6.3_3/main.cpp
coal0/Challenges
528c2a32680b97ca36fed55caea5d545c18ba97a
[ "MIT" ]
null
null
null
learncppdotcom/6.3_3/main.cpp
coal0/Challenges
528c2a32680b97ca36fed55caea5d545c18ba97a
[ "MIT" ]
null
null
null
learncppdotcom/6.3_3/main.cpp
coal0/Challenges
528c2a32680b97ca36fed55caea5d545c18ba97a
[ "MIT" ]
null
null
null
#include <iostream> int main() { int scores[] = {84, 92, 76, 81, 56}; constexpr int numStudents = sizeof(scores) / sizeof(scores[0]); int maxScoreIndex = 0; for (int student = 1; student < numStudents; ++student) { if (scores[student] > scores[maxScoreIndex]) { maxScoreIndex = stu...
24.705882
74
0.57619
coal0
d3ef8b38e01470bea7ce78e2543629d5a36c8a58
81,386
cpp
C++
src/gpu/cgpu/d3d12/cgpu_d3d12.cpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
29
2021-11-19T11:28:22.000Z
2022-03-29T00:26:51.000Z
src/gpu/cgpu/d3d12/cgpu_d3d12.cpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
null
null
null
src/gpu/cgpu/d3d12/cgpu_d3d12.cpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
1
2022-03-05T08:14:40.000Z
2022-03-05T08:14:40.000Z
#include "cgpu/backend/d3d12/cgpu_d3d12.h" #include "d3d12_utils.h" #include "../common/common_utils.h" #include <dxcapi.h> #include <EASTL/string_hash_map.h> #if !defined(XBOX) #pragma comment(lib, "d3d12.lib") #pragma comment(lib, "dxgi.lib") #pragma comment(lib, "dxguid.lib") #pragma comment(lib, "d...
43.755914
203
0.691532
SakuraEngine
1093df5a6b141d24e5ad3ad314010410788a5e04
395
hpp
C++
tools/csv_command_line/command_line.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
1
2020-01-20T16:07:12.000Z
2020-01-20T16:07:12.000Z
tools/csv_command_line/command_line.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
null
null
null
tools/csv_command_line/command_line.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
null
null
null
// // command_line.hpp // csv_command_line // // Created by Darren Ford on 22/5/19. // Copyright © 2019 Darren Ford. All rights reserved. // #pragma once #include <string> struct Arguments { std::string type; char separator; bool verbose; std::string inputFile; std::string codepage; size_t limit; }; bool ...
17.173913
79
0.706329
dagronf
10956509edab8deef381ffa8a94e0a665183d631
1,452
hpp
C++
include/Entity.hpp
YuanSambo/Aircraft-Shooter
959114a34a25056fbffcfceb785b97a6834a9d97
[ "MIT" ]
null
null
null
include/Entity.hpp
YuanSambo/Aircraft-Shooter
959114a34a25056fbffcfceb785b97a6834a9d97
[ "MIT" ]
null
null
null
include/Entity.hpp
YuanSambo/Aircraft-Shooter
959114a34a25056fbffcfceb785b97a6834a9d97
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////// // Entity.hpp // Aircraft-Shooter // // Created by Yuan Sambo on 28/12/2020 // Based on SFML Game Development Book //////////////////////////////////////////////////////////////// #ifndef AIRCRAFT_SHOOTER_ENTITY_HPP #define AIRCRAFT_SHOOTER_ENTITY_H...
26.888889
68
0.415978
YuanSambo
10959e88987120a76ebf19fef8b6f93f24c8090b
2,839
cpp
C++
plugins/csp-lod-bodies/src/TileId.cpp
FellegaraR/cosmoscout-vr
e04e1ac9c531106693a965bb03d3064f3a6179c6
[ "BSL-1.0", "Apache-2.0", "MIT" ]
302
2019-03-05T08:05:03.000Z
2022-03-16T22:35:21.000Z
plugins/csp-lod-bodies/src/TileId.cpp
Tubbz-alt/cosmoscout-vr
d9fe671857b1ca906febddb59175422fc083441a
[ "BSL-1.0", "Apache-2.0", "MIT" ]
230
2019-07-30T13:26:09.000Z
2022-03-11T11:21:06.000Z
plugins/csp-lod-bodies/src/TileId.cpp
Tubbz-alt/cosmoscout-vr
d9fe671857b1ca906febddb59175422fc083441a
[ "BSL-1.0", "Apache-2.0", "MIT" ]
24
2019-07-22T08:00:49.000Z
2022-01-25T10:55:17.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of CosmoScout VR // // and may be used under the terms of the MIT license. See the LICENSE file for details. // // ...
33.011628
100
0.295879
FellegaraR
10975d2fcaf9023f74f363c7ff3699d11c080ef7
732
hpp
C++
pythran/pythonic/numpy/isposinf.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/isposinf.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/isposinf.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_ISPOSINF_HPP #define PYTHONIC_NUMPY_ISPOSINF_HPP #include "pythonic/include/numpy/isposinf.hpp" #include "pythonic/utils/proxy.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/numexpr_to_ndarray.hpp" #include "pythonic/utils/numpy_traits.hpp" #include <nt2/include/functions/...
21.529412
54
0.743169
artas360
109b4686956a0e4baf7e56c896321f3ac93c5e8e
3,403
cpp
C++
cflib/net/net_test/http_test.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
cflib/net/net_test/http_test.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
cflib/net/net_test/http_test.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
/* Copyright (C) 2013-2022 Christian Fischbach <cf@cflib.de> * * This file is part of cflib. * * Licensed under the MIT License. */ #include <cflib/net/httpclient.h> #include <cflib/net/httpserver.h> #include <cflib/net/request.h> #include <cflib/net/requesthandler.h> #include <cflib/net/tcpmanager.h> #include <c...
21.675159
78
0.646488
fishbach
109dba915e4b8c33ae40cebc952c33cd696ec37d
1,310
cpp
C++
src/tools/tools_func/coredump.cpp
JaysonSirius/learning_platform_server
30dc08c54af5e6b04f8392d4d5da54b5497358e9
[ "MIT" ]
null
null
null
src/tools/tools_func/coredump.cpp
JaysonSirius/learning_platform_server
30dc08c54af5e6b04f8392d4d5da54b5497358e9
[ "MIT" ]
null
null
null
src/tools/tools_func/coredump.cpp
JaysonSirius/learning_platform_server
30dc08c54af5e6b04f8392d4d5da54b5497358e9
[ "MIT" ]
null
null
null
/** * @file coredump.cpp * @author 余王亮 (wotsen@outlook.com) * @brief * @version 0.1 * @date 2019-11-04 * * @copyright Copyright (c) 2019 * */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <sys/time.h> #include <sys/resource.h> #include "coredump.h" static const cha...
20.46875
90
0.654962
JaysonSirius
10a3edcc9eac67bd11a34b3db407bee33d9c789c
2,776
cpp
C++
src/public/dt_shared.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/public/dt_shared.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/public/dt_shared.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "dt_shared.h" #if !defined (CLIENT_DLL) #include "sendproxy.h" #else #include "recvproxy.h" #endif // -----...
24.350877
97
0.65562
cstom4994
10a56f4118a157c8b6e4a2e692e1d9ca02ed8fa5
2,014
cpp
C++
vehicle/src/udp_trans/udp_client_main.cpp
Alvintang6/robot_formation
44017e939cede6bc3e964732511a53eba50544da
[ "MIT" ]
11
2018-10-28T17:51:58.000Z
2022-03-02T22:46:35.000Z
vehicle/src/udp_trans/udp_client_main.cpp
Alvintang6/robot_formation
44017e939cede6bc3e964732511a53eba50544da
[ "MIT" ]
null
null
null
vehicle/src/udp_trans/udp_client_main.cpp
Alvintang6/robot_formation
44017e939cede6bc3e964732511a53eba50544da
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////// // // This is a udp_client node for subscribe the loacl topics and than // send it to the internet. the ip address and the port num should be // configured. // Author: JieTang date: 29/08/2018 // /////////////////////////////////////////////...
19.940594
71
0.64002
Alvintang6
10b12d131d101ddc6f75f76f326892a784392a48
1,550
cpp
C++
Dimik OJ/Array Jot.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Dimik OJ/Array Jot.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Dimik OJ/Array Jot.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
/** * Author: Sohel Rana * Date: 2020-10-23 09:55:34 * Link: link **/ #include <bits/stdc++.h> #define endl '\n' #define db double #define ld long double #define ll long long #define ull unsigned long long #define sqr(x) (x) * (x) #define gcd(a, b) __gcd(a, b) #define lcm(a, b) ((a / gcd(a, b)) * b) #...
23.134328
84
0.461935
Sohelr360
10b22b40b4b806576d1ba29f4e6f47e5100d9f43
931
hpp
C++
engine/src/ui/DirectionalLayout.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-01T20:22:41.000Z
2021-11-01T20:22:41.000Z
engine/src/ui/DirectionalLayout.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:45:20.000Z
2021-11-02T12:45:20.000Z
engine/src/ui/DirectionalLayout.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:28:58.000Z
2021-11-02T12:28:58.000Z
#pragma once #include "ui/Layout.hpp" namespace Birdy3d::ui { class DirectionalLayout : public Layout { public: enum class Direction { RIGHT, LEFT, DOWN, UP }; Direction dir; float gap; bool preserve_child_size; ...
30.032258
124
0.632653
Birdy2014
10b49ca41a7e4de7d320afa83ee46808c8b3b6f0
284
cpp
C++
Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp
BraceYourselfGames/UE-BYGTextToSpeech
a34abfb53c05c8b59706a8507bd49b6aabbd0f7c
[ "BSD-3-Clause" ]
1
2022-03-21T15:37:29.000Z
2022-03-21T15:37:29.000Z
Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp
BraceYourselfGames/UE-BYGTextToSpeech
a34abfb53c05c8b59706a8507bd49b6aabbd0f7c
[ "BSD-3-Clause" ]
null
null
null
Source/BYGTextToSpeech/Private/BYGTextToSpeechSettings.cpp
BraceYourselfGames/UE-BYGTextToSpeech
a34abfb53c05c8b59706a8507bd49b6aabbd0f7c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017-2021 Brace Yourself Games. All Rights Reserved. #include "BYGTextToSpeechSettings.h" UBYGTextToSpeechSettings::UBYGTextToSpeechSettings( const FObjectInitializer& ObjectInitializer ) { TextSplitDelimiters = { TEXT( "." ), TEXT( "\r\n" ), TEXT( "\n" ) }; }
21.846154
97
0.721831
BraceYourselfGames
10c01195375074ef2a0404288f0413d48492d8b0
1,387
cpp
C++
day17.cpp
anshd258/100days-of-code
512d3c30f64aad0621bc64a337e4fcffce567265
[ "MIT" ]
4
2020-11-13T12:27:52.000Z
2021-12-25T18:36:14.000Z
day17.cpp
anshd258/100days-of-code
512d3c30f64aad0621bc64a337e4fcffce567265
[ "MIT" ]
3
2020-11-27T11:15:08.000Z
2020-12-14T03:38:58.000Z
day17.cpp
anshd258/100days-of-code
512d3c30f64aad0621bc64a337e4fcffce567265
[ "MIT" ]
null
null
null
// day 16 solution of 100 -days - of -codding cpp //jamal erabaki //control git end #include <iostream> using namespace std; int ap(int a,int b) { if(a==0) //main recrussion function return b; return ap(b%a,a); ...
21.671875
105
0.495314
anshd258
10ce5b4e4ea51817ffa4e14d9741233ecd67cd0d
8,681
cc
C++
cxx/hex.cc
ross-alexander/lizards
7329e754b3d8622fc202bc480fc5422dafd62a5d
[ "Apache-2.0" ]
null
null
null
cxx/hex.cc
ross-alexander/lizards
7329e754b3d8622fc202bc480fc5422dafd62a5d
[ "Apache-2.0" ]
null
null
null
cxx/hex.cc
ross-alexander/lizards
7329e754b3d8622fc202bc480fc5422dafd62a5d
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <libxml/tree.h> #include <libxml/xpath.h> #include <libxml++/libxml++.h> #include "lizards.h" hex_t::hex_t(void) { owner = 0; terrain = WATER; // adjlist = new adjacent_t[DIRECTIONS]; #ifndef STL flist...
21.648379
91
0.570326
ross-alexander
10d07a0dcbb5aec4ac727656f1c8fda1dfbf79c7
1,312
cpp
C++
Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp
GHarduino/ArduinoOnlineTrainingClass
b039de3c79da0b8e87272aa911f03128798b7bf8
[ "MIT" ]
11
2017-05-02T09:50:07.000Z
2022-01-10T16:06:38.000Z
Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp
GHarduino/ArduinoOnlineTrainingClass
b039de3c79da0b8e87272aa911f03128798b7bf8
[ "MIT" ]
null
null
null
Arduino-master_2/Arduino-master/libraries/CountDown/CountDown.cpp
GHarduino/ArduinoOnlineTrainingClass
b039de3c79da0b8e87272aa911f03128798b7bf8
[ "MIT" ]
2
2017-05-15T05:32:07.000Z
2017-05-23T16:30:20.000Z
// // FILE: CountDown.cpp // AUTHOR: Rob Tillaart // VERSION: 0.1.00 // PURPOSE: CountDown library for Arduino // // The library is based upon millis() and therefore // has the same restrictions as millis() has wrt overflow. // // HISTORY: // 0.1.00 - 2015-10-27 initial version // // Released to the public domain /...
17.972603
58
0.605945
GHarduino
10d3415f0bf6dfb9b91bc9f696525bab635f0bac
1,366
cpp
C++
tblock/source/GameLogic/Render.cpp
maximbilan/T-Block
b2eb3701a2567590090947a3c3dfb4afe282695a
[ "MIT" ]
1
2016-03-09T13:03:48.000Z
2016-03-09T13:03:48.000Z
tblock/source/GameLogic/Render.cpp
maximbilan/T-Block
b2eb3701a2567590090947a3c3dfb4afe282695a
[ "MIT" ]
null
null
null
tblock/source/GameLogic/Render.cpp
maximbilan/T-Block
b2eb3701a2567590090947a3c3dfb4afe282695a
[ "MIT" ]
null
null
null
#include "PlatformPrecomp.h" #include "Render.h" #include "Board.h" #include "GUI/GUI_MainMenu.h" #include "Defines/GameConstants.h" Render::Render() { if( !m_surface.IsLoaded() ) { char path[256]; sprintf( path, "%s%s", GetApp()->getResourceInstance()->getItem( GetApp()->getResolutionType(), RES_TYPE...
31.767442
157
0.674231
maximbilan
10d9b0b871e2fb9e55ea17a6f14df7e05784e5da
906
cpp
C++
Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codechef/Div2/Long_Challenge/APRIL21B/BOLT.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
1
2020-10-02T04:51:22.000Z
2020-10-02T04:51:22.000Z
/* written by Pankaj Kumar. country:-INDIA Institute: National Institute of Technology, Uttarakhand */ #include<bits/stdc++.h> using namespace std; long long solve() { double k1,k2,k3,v; cin>>k1>>k2>>k3>>v; cout<<setprecision(10)<<fixed; cout.precision(2); v=v*k1*k2*k3; double req_t...
20.590909
60
0.582781
Pankajcoder1
10de4211acb431f392544838bd777d84390f3f0b
878
cpp
C++
poo/POO21/matrix.cpp
pganaclara/ufmg
2325803427a7b4d5d150574bfd80243274cab527
[ "MIT" ]
null
null
null
poo/POO21/matrix.cpp
pganaclara/ufmg
2325803427a7b4d5d150574bfd80243274cab527
[ "MIT" ]
null
null
null
poo/POO21/matrix.cpp
pganaclara/ufmg
2325803427a7b4d5d150574bfd80243274cab527
[ "MIT" ]
null
null
null
#include "matrix.h" Matrix::Matrix(){ nCols = 0; nRows = 0; m = 0; } Matrix::Matrix(int rows, int cols, double elem){ nCols = cols; nRows = rows; m = new double *[rows]; for (int i = 0; i < nRows; i++){ m[i]= new double [nCols]; for (int j = 0; j < nCols; j++) m[i][j]=elem; ...
18.291667
52
0.48861
pganaclara
10e02f0f4d2b518187620dad4681f4ebae9c6bcb
2,409
cpp
C++
src/egl-client-wayland.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-06-26T13:37:04.000Z
2022-03-11T14:08:22.000Z
src/egl-client-wayland.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
118
2018-03-07T11:01:45.000Z
2022-02-01T19:44:14.000Z
src/egl-client-wayland.cpp
ceyusa/WPEBackend-fdo
e4c578f23359dba4d5abbd14b108f59e1b0701c1
[ "BSD-2-Clause" ]
16
2018-02-20T19:31:13.000Z
2021-02-23T21:10:57.000Z
/* * Copyright (C) 2020 Igalia S.L. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following dis...
27.375
79
0.75301
ceyusa
10e174a1891644c6e05acfb6904f4e33c0edbbb0
1,961
hpp
C++
include/rasm2/control/trajectory_structures.hpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
3
2019-10-31T15:04:35.000Z
2021-06-24T16:35:18.000Z
include/rasm2/control/trajectory_structures.hpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
null
null
null
include/rasm2/control/trajectory_structures.hpp
ASM-Advised-Projects/rasm-software
e28a17f96f70d89a4939e40a64e9e2e6a5ed7674
[ "MIT" ]
2
2019-02-26T20:41:15.000Z
2019-05-14T01:40:40.000Z
/** * */ #ifndef RASM2_CONTROL_TRAJECTORY_STRUCTURES_HPP #define RASM2_CONTROL_TRAJECTORY_STRUCTURES_HPP #include <vector> #include <map> #include <functional> /** * */ class TrajectorySegment { private: std::vector<double> times; std::vector<double> positions; std::function<double (int)> position_function...
13.431507
97
0.653238
ASM-Advised-Projects
10e5012f586e23ad32ff55566f1793980129389b
2,662
cpp
C++
tests/test_conv1d.cpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
3
2018-10-23T18:46:39.000Z
2019-06-24T00:46:10.000Z
tests/test_conv1d.cpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
27
2018-11-10T14:19:16.000Z
2020-03-08T23:33:01.000Z
tests/test_conv1d.cpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
1
2018-11-05T06:17:12.000Z
2018-11-05T06:17:12.000Z
#include <ttl/nn/bits/ops/impl/col2im1d.hpp> #include <ttl/nn/bits/ops/impl/conv1d.hpp> #include <ttl/nn/bits/ops/impl/im2col1d.hpp> #include <ttl/nn/testing> #include <ttl/experimental/show> template <typename R> void test_col2im1d(const int n, const int ksize = 1, const int stride = 1, const int ...
29.910112
74
0.579639
stdml
10e685ac1b1e881d975152a1b52cb827140e6c96
795
cpp
C++
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
1
2019-05-16T07:51:12.000Z
2019-05-16T07:51:12.000Z
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
C++ Primer/chapter-9/9.27.cpp
grasslog/github-blog
1e09025f068774659b4bc26b7f0ad4aa1a3fbd43
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string> #include <forward_list> using namespace std; int main(int argc, char **argv) { int ia[] = {0, 1, 1, 2, 3, 5, 8, 13, 21, 55, 89}; forward_list<int> forward_list1(ia, ia+9); forward_list<int>::iterator it1 = forwa...
20.921053
67
0.54717
grasslog
10e8650fe8ef68bfbb745245a81a0f49829b167c
3,001
cpp
C++
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
4
2015-12-16T06:43:14.000Z
2020-01-24T06:05:47.000Z
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
src/providers/CIM_DiskDrive/CIM_DiskDrive_Provider.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
#include "CIM_DiskDrive_Provider.h" CIMPLE_NAMESPACE_BEGIN CIM_DiskDrive_Provider::CIM_DiskDrive_Provider() { } CIM_DiskDrive_Provider::~CIM_DiskDrive_Provider() { } Load_Status CIM_DiskDrive_Provider::load() { return LOAD_OK; } Unload_Status CIM_DiskDrive_Provider::unload() { return UNLOAD_OK; } Get_Inst...
23.084615
64
0.784738
LegalizeAdulthood
10ebaf8f0371d9ab8cf9a5fc19805763e3b53d75
3,097
cpp
C++
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/tilemap/tile_layer.cpp
runvs/Alakajam14
28ad5839dae9d26782f22f7d18e2dff42f4c0d1f
[ "CC0-1.0" ]
null
null
null
#include "tile_layer.hpp" #include "conversions.hpp" #include "drawable_helpers.hpp" #include "shape.hpp" #include <memory> namespace jt { namespace tilemap { TileLayer::TileLayer( std::vector<TileInfo> const& tileInfo, std::vector<std::shared_ptr<jt::Sprite>> tileSetSprites) : m_tileSetSprites { tileSetSpri...
30.97
99
0.658379
runvs
10f62f1ab4e775ba10d4203cbd11d5697d89c72c
1,727
cpp
C++
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
ALGORITHM/WEEK 6 DYNAMIC PROGRAMMING 2/3/placing_parentheses.cpp
Mohit-007/DSA-UCDS-COURSERA
f5826a6f393e3b69ed8cf1c47df4d7a319b2d1fd
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <string> #include <vector> #include <bits/stdc++.h> #include <cstdlib> using std::vector; using std::string; using std::max; using std::min; using namespace std; long long eval(long long a, long long b, char op) { if (op == '*') { return a * b; } else if (op =...
20.317647
66
0.549508
Mohit-007
10f7760fece65fb3bc48e3fdf0099b45f678e670
628
cpp
C++
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
BIT Manipulation/CUPC/swaping.cpp
mushahadur/Home-Work
2e885bc4bfa1a14a86ec858d4e6316fac68c1da6
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { cout<<"Normal Swoaping "<<endl; int num1,num2; cin>>num1>>num2; cout<<"Number1 = :"<<num1<<endl<<"Number2 = :"<<num2<<endl; num1 = num1+num2; num2=num1-num2; num1=num1-num2; cout<<"After Swoap "<<endl; cout<<"Number1 = :"<<num...
22.428571
63
0.525478
mushahadur
10f911f83e849bde222afe4788744c1d27482882
899
cpp
C++
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
null
null
null
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
29
2020-10-21T07:34:55.000Z
2021-01-12T15:15:53.000Z
tests/core/gui/TextTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
1
2020-10-19T19:30:40.000Z
2020-10-19T19:30:40.000Z
#include <catch2/catch.hpp> #include "core/gui/Text.h" TEST_CASE("[Text]") { ire::core::gui::Text text; SECTION("HorizontalAlignment") { REQUIRE(text.getHorizontalAlign() == ire::core::gui::Text::HorizontalAlignment::Center); text.setHorizontalAlign(ire::core::gui::Text::HorizontalAlignment...
35.96
96
0.649611
Kubaaa96
10fbc59ffdda178d9bf3a7efefcc24f33d6eb079
1,360
cpp
C++
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/imageview.cpp
dcliche/studioengine
1a18d373b26575b040d014ae2650a1aaeb208a89
[ "Apache-2.0" ]
null
null
null
// // imageview.cpp // MDStudio // // Created by Daniel Cliche on 2014-07-15. // Copyright (c) 2014-2020 Daniel Cliche. All rights reserved. // #include "imageview.h" #include <math.h> #include "draw.h" using namespace MDStudio; // -------------------------------------------------------------------------------...
31.627907
120
0.408088
dcliche