hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
fd38913ee6929ff670690ff8689318fe63932139
1,315
cpp
C++
cpp/301-310/Minimum Height Trees.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/301-310/Minimum Height Trees.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/301-310/Minimum Height Trees.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: vector<int> findMinHeightTrees(int n, vector<pair<int, int>>& edges) { vector<int> res; if(n <= 2) { for(int i = 0;i < n;i++) res.push_back(i); return res; } int k = 0; vector<set<int>> myvec(n, se...
25.784314
74
0.349049
KaiyuWei
fd3ad24c832a34d09a560531df4cb453e20a6f4e
2,552
hpp
C++
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Chip/CM0+/Freescale/MKL36Z4/FTFA_FlashConfig.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/DMA.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/FTFA.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/DMAMUX0.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/I2S0.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/PIT.hpp> #incl...
47.259259
59
0.774295
cjsmeele
fd3de0284634f25e8345852b89225993adb5fd8c
21,395
cpp
C++
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
#include "c_view.h" c_view::c_view(c_instance *instance, c_device *device, int x, int y) : m_instance(instance), m_device(device), m_closing_callback(nullptr), m_resize_callback(nullptr), m_extent_2D({}) { VkResult result; //Set up the window this->m_extent_2D.height= y; this->m_extent_2D.width= x; this-...
43.222222
181
0.783454
zachmakesgames
fd40420eed3530e8d6555fb6d2d9a3aea4dc90af
4,550
cc
C++
content/browser/devtools/shared_worker_devtools_agent_host.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/devtools/shared_worker_devtools_agent_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/devtools/shared_worker_devtools_agent_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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. #include "content/browser/devtools/shared_worker_devtools_agent_host.h" #include "content/browser/devtools/devtools_session.h" #include "content/browser/...
33.455882
80
0.781099
zipated
fd4388dfd1ea017870625c4dc6aeff347a5b6371
4,640
cpp
C++
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
3
2015-01-17T11:57:10.000Z
2019-10-25T08:01:28.000Z
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
null
null
null
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
1
2018-10-19T04:57:29.000Z
2018-10-19T04:57:29.000Z
#include "Initialiser.h" using namespace ofxMachineVision; namespace ProjectTimeCone { namespace Initialisation { #pragma mark CameraController //-------------------------------------------------------------- CameraController::CameraController(int index, ofPtr<ofxMachineVision::Grabber::Simple> grabber) {...
32.907801
139
0.578664
HellicarAndLewis
fd4408ee86a9d054d4044866ece60bfb2d85b646
2,937
cc
C++
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
38.142857
80
0.677562
emersion
fd475727ae2c507e53318e34ee7a5ba5fe66d3e7
4,400
cpp
C++
dwarf/SB/Game/zCamMarker.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
dwarf/SB/Game/zCamMarker.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
dwarf/SB/Game/zCamMarker.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
typedef struct xCamAsset; typedef struct zCamMarker; typedef struct xSerial; typedef struct _tagxCamFollowAsset; typedef struct xBase; typedef struct xVec3; typedef struct _tagxCamShoulderAsset; typedef struct xLinkAsset; typedef struct xBaseAsset; typedef struct _tagp2CamStaticAsset; typedef struct _tagp2CamStaticFoll...
22
69
0.76
stravant
fd47afe859506578fb0db6362b231e20b435202e
2,634
cpp
C++
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * k8sfilter API * k8sfilter API generated from k8sfilter.yang * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/polycube-network/swagger-codegen.git * branch polycube */ /* Do not edit this file manually */ #include "K8sfilterJson...
18.680851
75
0.69552
francescomessina
fd4c453e0c95352b913e3bcaa07432714103ca73
606
cpp
C++
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
#include "Soldier.h" Soldier::Soldier(std::string&& name, int health) :m_health(health), m_name(name){ std::cout << "Soldier " << m_name << " was created" << std::endl; } Soldier::~Soldier() { std::cout << "Soldier " << m_name << " was deleted" << std::endl; } void Soldier::setWeapon(Weapon* weapon) { m_we...
30.3
125
0.618812
arni30
fd4f885e8e2a92839403ee05655e3fa61ab11c12
1,952
cpp
C++
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
14
2015-04-04T17:42:53.000Z
2021-03-09T11:09:51.000Z
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
3
2015-07-30T13:22:42.000Z
2017-06-06T15:13:28.000Z
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
13
2015-04-25T20:43:45.000Z
2021-12-29T07:55:47.000Z
// This file generated by staff_codegen // For more information please visit: http://code.google.com/p/staff/ // Service Implementation #include "TasksImpl.h" namespace samples { namespace optional { TasksImpl::TasksImpl() { } TasksImpl::~TasksImpl() { } void TasksImpl::OnCreate() { // this function is called wh...
19.717172
97
0.674693
gale320
fd5134bdb38c6445f558d74504981cf0649ff898
45,308
cc
C++
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
4
2020-07-02T12:11:41.000Z
2021-11-03T13:44:57.000Z
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
6
2021-06-14T11:34:39.000Z
2021-06-29T15:10:16.000Z
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
1
2021-05-20T14:16:24.000Z
2021-05-20T14:16:24.000Z
#include <util/StopWatch.hpp> #include "controller.h" #include "snapshot_patch_iterator_triple_id.h" #include "patch_builder_streaming.h" #include "../snapshot/combined_triple_iterator.h" #include "../simpleprogresslistener.h" #include <sys/stat.h> #include <boost/filesystem.hpp> Controller::Controller(string basePath...
55.119221
297
0.677916
rdfostrich
fd513c0e3af24e2511e6d4b399996a53d7b9bcd9
7,120
cc
C++
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
3
2019-09-23T19:01:23.000Z
2020-09-07T22:23:11.000Z
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
4
2020-10-09T14:13:13.000Z
2020-10-09T14:14:25.000Z
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
null
null
null
#include <cassert> // NOLINTNEXTLINE #include <chrono> #include <iostream> #include <string> #include <vector> #include "DPPIR/shuffle/local_shuffle.h" #include "DPPIR/shuffle/parallel_shuffle.h" #include "DPPIR/types/types.h" #define SERVER_COUNT 8 #define TOTAL_COUNT 10000006 // Whether to print intermediate batch...
28.253968
80
0.630478
multiparty
fd51bebb0df2e5fe0b10e900258aebabdf1d932f
384
cpp
C++
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
// // Created by moritz on 20.08.15. // #include "Scene.h" #include <Box2D/Box2D.h> Scene::Scene(){ b2Vec2 gravity(0.0f, -10.0f); // world = new b2World(gravity); // world->SetDebugDraw(&debugDraw); // debugDraw.SetFlags( b2Draw::e_shapeBit |b2Draw::e_jointBit); } Scene::~Scene() { // delete world; }...
17.454545
66
0.617188
jomoho
fd52725e24f6782dfda7cf00f21ae25e22aabc8f
3,345
hpp
C++
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
5
2019-04-24T13:37:05.000Z
2021-01-29T16:37:55.000Z
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
null
null
null
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
1
2021-02-03T03:11:03.000Z
2021-02-03T03:11:03.000Z
/* * 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, Version 2.0 * (the "License"); you may ...
39.352941
118
0.76562
ifplusor
fd541295ab267af73a7a4def844271f4430b93ad
6,306
cpp
C++
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
6
2020-10-29T10:20:48.000Z
2022-03-31T13:39:47.000Z
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
1
2021-11-25T13:15:11.000Z
2021-12-08T09:23:24.000Z
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 DTAI Research Group - KU Leuven. * License: Apache License 2.0 * Author: Laurens Devos */ #include "constraints.hpp" namespace veritas { UpdateResult Add::update(Domain& self, Domain& ldom, Domain& rdom) { std::cout << "ADD0 " << "self: " << self << ...
27.417391
88
0.479385
laudv
fd54eedc8a24099c00852574b67811e86b32aabf
54,516
cpp
C++
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
74
2015-04-10T02:57:26.000Z
2022-02-28T16:10:03.000Z
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
126
2015-04-26T02:55:26.000Z
2022-02-16T22:43:28.000Z
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
163
2015-01-22T14:05:24.000Z
2022-03-17T12:24:34.000Z
/** * 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, Version 2.0 * (the "License"); you may...
38.773826
184
0.686551
docquantum
fd5600d4de12c6ffe705171681fb34b5fab1cf0e
764
cpp
C++
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
ljyljy/LeetCode-Solution-in-Good-Style
0998211d21796868061eb22e2cbb9bcd112cedce
[ "Apache-2.0" ]
1
2020-03-09T00:45:32.000Z
2020-03-09T00:45:32.000Z
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
Eddiehugh/LeetCode-Solution-Well-Formed
bdc1e7153de737b84890153434bf8df5838d0be5
[ "Apache-2.0" ]
null
null
null
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
Eddiehugh/LeetCode-Solution-Well-Formed
bdc1e7153de737b84890153434bf8df5838d0be5
[ "Apache-2.0" ]
1
2021-06-17T09:21:54.000Z
2021-06-17T09:21:54.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int uniquePathsWithObstacles(vector<vector<int>> &obstacleGrid) { int m = obstacleGrid.size(); if (m == 0) { return 0; } int n = obstacleGrid[0].size(); vector<long> dp(n + 1, 0...
21.828571
69
0.39267
ljyljy
fd56b6f69cb56a982b035873e8b501012f623a25
29,721
cpp
C++
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
86
2016-04-13T16:39:02.000Z
2022-03-20T17:35:09.000Z
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
19
2016-04-14T07:38:19.000Z
2021-04-12T21:58:08.000Z
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
8
2018-06-04T22:02:06.000Z
2022-01-19T05:34:19.000Z
#include "song.h" #include <iostream> Song::Song(bool fill_defaults) { bytes_per_row = 0x1CB0; interrow_resolution = 0x18; for(int i = 9; i < SONGNAME_LENGTH+1; i++) songname[i] = 0; songname[0]='s'; songname[1]='o'; songname[2]='n'; songname[3]='g'; songname[4]=' '; songn...
28.359733
119
0.488611
danfrz
fd56c266e67f9a9621272d0355c7a7fc5be6d34b
1,588
cpp
C++
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
#include "config.h" #include "client.h" #include "zeromq/zhelpers.hpp" #include "crypto.h" LoginRequest::LoginRequest(const std::string & clientIdentity_, const std::string & clientID_, const std::string & ip_): clientIdentity(clientIdentity_), clientID(clientID_), ip(ip...
25.206349
69
0.65806
tklam
fd57609a87c44fed9c4340ddf05369168e5621cc
15,285
cpp
C++
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
5
2020-06-17T06:27:45.000Z
2021-01-17T19:59:41.000Z
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
null
null
null
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
1
2022-03-07T15:22:17.000Z
2022-03-07T15:22:17.000Z
/**************************************************************** * MIT License * * Copyright (c) 2020 Max Goren * * 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, ...
28.948864
149
0.53366
maxgoren
fd5b5642bd20ebde3431ec8c7689553cadf9ad85
4,483
cpp
C++
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
30.496599
155
0.7205
suluner
fd5c167fe2de69e059d08716f61869c19ccce090
2,360
cc
C++
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
4
2021-05-17T02:49:36.000Z
2021-05-18T13:31:33.000Z
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
1
2021-06-02T03:01:05.000Z
2021-06-02T03:01:05.000Z
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
4
2021-05-19T01:43:07.000Z
2021-12-09T07:29:34.000Z
/* * Copyright (c) 2021, Horance Liu and the respective contributors * All rights reserved. * * Use of this source code is governed by a Apache 2.0 license that can be found * in the LICENSE file. */ #include "mnn/kernel/cpu/fully_connected_op_cpu.h" namespace mnn { namespace kernels { void fully_connec...
35.223881
86
0.54322
horance-liu
fd5d55923e68b941e8e033abfac025a43107741c
1,881
cpp
C++
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
1
2021-07-03T22:53:53.000Z
2021-07-03T22:53:53.000Z
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
null
null
null
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
2
2021-07-03T22:57:22.000Z
2021-10-10T13:29:54.000Z
#include <vector> #include "Eigen/Dense" #include "scalar-typedef.hpp" #include "stable-sde.hpp" #include "data-vector.hpp" #include "vector-io.hpp" #include "computation.hpp" using namespace std; using namespace Eigen; #ifdef USE_DCO_TYPES template<> void Computation<gt2s_ga1s_scalar>::derivatives(Matrix<gt2s_ga1s...
32.431034
103
0.653907
p-maybank
5b746ac7d9bb646e6168d6c081e3f442cb2d1b9f
366
cpp
C++
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#include "WorldManager.hpp" #include "World.hpp" #include <core/memory/Memory.hpp> namespace ari { namespace en { //! Create a new World World* WorldManager::CreateWorld() { return core::Memory::New<World>(); } //! Destroy a world void WorldManager::DestroyWorld(World* _world) { core::Memory::De...
15.25
48
0.647541
kochol
5b74ba1b03cad0dd05bb7a7897ff8267b20e34cc
22,705
cc
C++
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
// // CGContext.cc // KKCanvas // // Created by zhanghailong on 2018/8/17. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #include "kk-config.h" #include "CGContext.h" namespace kk { namespace CG { Palette::Palette(kk::CString name, ...) { va_li...
30.192819
126
0.418586
hailongz
5b74f18990a179a8d50db65116d404a890d70e13
480
cpp
C++
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
null
null
null
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-23T09:36:29.000Z
2019-08-26T09:56:38.000Z
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-11T21:12:02.000Z
2019-08-11T21:12:02.000Z
#include "../include/Curve.h" int main(int argc, char** argv) { int N; float s, t0, t1; if (argc!=6) { cout << "Usage : " << argv[0] << " s t0 t1 N pkf\n"; exit(0); } s = atof(argv[1]); t0 = atof(argv[2]); t1 = atof(argv[3]); N = atoi(argv[4]); Curve<Vector3> c(argv[5]); c.make_default(); c.nor...
17.142857
56
0.508333
mcarlen
5b786104818f2dded7183adeed4c73af5a677cb4
2,561
cpp
C++
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: class Trie{ public: class Node{ public: Node* links[26] = {NULL}; string str = ""; bool containsKey(char ch){ return (links[ch-'a'] != NULL); } void put(char ch, Node* node){...
25.868687
70
0.385396
shreydevep
5b7a233f651cf3fd113d95f0df596b982066c3b6
4,813
hpp
C++
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2011 Thomas Heller // Copyright (c) 2013 Hartmut Kaiser // // 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) #if !BOOST_PP_IS_ITERATING #ifndef HPX_FUNCTION_DETAIL_EMPTY_VTABLE_HPP #define HPX_F...
31.051613
102
0.540204
andreasbuhr
5b7babe6958aa7327c1581dc0a7afa00fc9aab33
1,960
cpp
C++
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
#include "KHR2_Data.h" bool RCBMotion::SaveToFile(RCBMotion *m,char *filename) { FILE *f = fopen(filename,"wt"); if ( f == NULL ) return false; fprintf(f,"[GraphicalEdit]\n"); fprintf(f,"Type=%d\n",m->m_type); fprintf(f,"Width=500\n"); fprintf(f,"Height=%d\n",30*((m->m_item_count/8) +...
28.823529
66
0.497959
llessieux
5b829bdb1b036b5ea700ffa3692ecbcf1da3b1ca
674
hpp
C++
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace wv { class OperationLogger; /* * Интерфейс для логирования действий */ class ILogger { public: virtual ~ILogger() = default; /* * Записывает строку в лог */ virtual void Log(const std::string& message) const = 0; /* * Записывает...
18.216216
78
0.626113
kit-cpp-course
5b876d3da54dbd8e01a2d50acf5895694f48e76a
489
hpp
C++
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/*! @file Defines `boost::hana::Group::minus_mcd`. @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_GROUP_MINUS_MCD_HPP #define BOOST_HANA_GROUP_MINUS_MCD_HPP // minus_mcd is i...
27.166667
78
0.791411
rbock
5b88b9108869ce09833464ed746880ef99723f20
1,039
cpp
C++
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
#include <cstdlib> #include <vector> #include <string> #include <cassert> #include <algorithm> #include <sstream> #include <map> #include <typeinfo> #include <iostream> #include <stack> using namespace std; class Solution { public: bool isValid(string s) { stack<char> bracket; for (auto &c : s) { ...
23.613636
71
0.358999
bngit
5b8935a5a4c773a5f9f74342fae8a901c867b383
5,673
cpp
C++
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* Nearest2D.cpp Li-Yi Wei 2/7/2013 */ #include <iostream> #include <fstream> #include <string> using namespace std; #include <stdlib.h> #include "Utility.hpp" #include "Exception.hpp" #include "FrameBuffer.hpp" #include "LloydRelaxation.hpp" #include "DelaunayProximity2D.hpp" #include "Random.hpp" int Mai...
26.759434
180
0.575886
1iyiwei
5b89baef9f25a6bd3f1dc680290ea321cd6196dd
1,427
cpp
C++
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include "problemes.h" #include "utilitaires.h" typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; namespace { bool trinary(nombre n) { while (n % 10 < 3 && n > 10) { n /= 10; } return n % 10 < 3; } nombre f(size_t n) { nombre base = 1; ...
26.425926
116
0.451997
ZongoForSpeed
5b8accce8f4a6d09fa5094ea799582fe333cadd5
1,120
cpp
C++
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
#include<bits/stdc++.h> #define INF 0x3f3f3f3f #define i64 long long #define pii pair<i64, i64> using namespace std; struct Edge{ i64 next, weight; }; const int MAXN = 100005; vector<Edge> adj[MAXN]; int back[MAXN]; i64 weight[MAXN]; int N, M; int main(){ cin >> N >> M; for (int i = 1, a, b, w; i <= M; i++){ ...
17.777778
67
0.549107
Joon7891
5b8baff0ff81c8aab079816830a61a3f5713b118
159
cpp
C++
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
8,027
2015-01-02T05:31:44.000Z
2022-03-31T07:08:09.000Z
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
2,355
2015-01-01T15:30:53.000Z
2022-03-30T20:21:16.000Z
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
1,280
2015-01-09T03:29:04.000Z
2022-03-30T15:14:14.000Z
extern "C" { int __attribute__ ((noinline, visibility ("hidden"))) supply_value() { return 42; } int get_value() { return supply_value(); } }
15.9
72
0.610063
Unknoob
5b8e0ad8c2a72e7b0c96728367d7311d9dd0297c
325
cpp
C++
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
/* * StaircaseSimulator_main.cpp * * Created on: Dec 10, 2017 * Author: leizhang */ #include "StaircaseSimulator.h" int main(int argc, char **argv) { StaircaseSimulator & scs = StaircaseSimulator::GetInstance(); const char testOpts[] = "test"; scs.init(testOpts); scs.run(0); scs.report(1); return ...
15.47619
62
0.664615
leiz86
5b901cc7a7352094517dae80b4131606c50d23d6
674
hpp
C++
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
221
2018-06-11T07:47:54.000Z
2022-03-28T17:56:06.000Z
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
128
2017-12-19T18:18:58.000Z
2022-03-22T01:15:26.000Z
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
82
2018-04-29T01:14:47.000Z
2022-03-21T11:32:02.000Z
#ifndef SRC_RESOLVEDRESOURCE_HPP_ #define SRC_RESOLVEDRESOURCE_HPP_ #include "ResourceNode.hpp" #include "ResourceParameters.hpp" namespace httpsserver { /** * \brief This class represents a resolved resource, meaning the result of mapping a string URL to an HTTPNode */ class ResolvedResource { public: ResolvedR...
21.741935
110
0.759644
abelsensors
5b91ec74d866de7ea3bd980efbbfe012b81f128a
1,153
cpp
C++
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
//Leetcode Problem No 567 Permutation in String //Solution written by Xuqiang Fang on 24 Oct, 2018 #include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stack> #include <queue> using namespace std; class Solution{ public: bool chec...
22.607843
50
0.512576
danyfang
5b9206299cc2c3b46c4b7e669684fcc0a484121e
1,684
hpp
C++
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
#ifndef _OP_TVLP_CONTROLLER_STACK_HPP_ #define _OP_TVLP_CONTROLLER_STACK_HPP_ #include <string> #include <memory> #include <unordered_map> #include <vector> #include <variant> #include "tl/expected.hpp" namespace openperf::tvlp { namespace model { class tvlp_configuration_t; class tvlp_result_t; struct tvlp_start_t...
27.16129
77
0.738124
DerangedMonkeyNinja
5b9966bc6bc25a5787931306782e1eb5f09e8f9f
12,190
cc
C++
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
null
null
null
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.000Z
#include "source/extensions/transport_sockets/tls/ssl_handshaker.h" #include "envoy/stats/scope.h" #include "source/common/common/assert.h" #include "source/common/common/empty_string.h" #include "source/common/common/hex.h" #include "source/common/http/headers.h" #include "source/extensions/transport_sockets/tls/uti...
35.747801
100
0.750041
dcillera
5b9d03e9935b8a3135870fceae961f323becc7a0
20,861
hpp
C++
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
/* Inspired by * https://github.com/KhronosGroup/Vulkan-Hpp/tree/master/RAII_Samples * https://github.com/KhronosGroup/Vulkan-Tools/tree/master/cube * https://github.com/KhronosGroup/Vulkan-Samples/tree/master/samples/extensions/raytracing_basic * https://github.com/glfw/glfw/blob/master/tests/triangle-vulkan.c * ...
52.1525
143
0.602656
mehmetoguzderin
5b9f95a8c24e74fea5aa9c4adaa61c6ecec9b7d0
329
cpp
C++
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
#include "SelectionAlgorithm.h" void SelectionAlgorithm::sort() { // Selective sorts the vector // Sorts through every single element in the vector for (int i = 0; i < numbers.size() - 1; i++) { for (int j = i + 1; j < numbers.size(); j++) { if (numbers[i] > numbers[j]) { std::swap(numbers[i], numbers[j]); } ...
25.307692
70
0.610942
LegatAbyssWalker
5ba2f21372bc93827fa628f632175b0545dc71f5
2,892
cpp
C++
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/Platform/PlatformVideoUtilsCommon.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documenta...
25.59292
78
0.640041
mushware
5baa6188461759460a685d8ba329c33d962bcbe3
800
hpp
C++
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
// https://github.com/mrdoob/three.js/blob/r129/src/materials/ShadowMaterial.js #ifndef THREEPP_SHADOWMATERIAL_HPP #define THREEPP_SHADOWMATERIAL_HPP #include "interfaces.hpp" #include "threepp/materials/Material.hpp" namespace threepp { class ShadowMaterial : public virtual Material, ...
22.857143
79
0.655
maidamai0
5baae439c5d71695f8feea2e6d6b6e5df206df47
2,020
cc
C++
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
#include <fmpi/topo/Tree.hpp> #include <fmpi/util/Math.hpp> #include <fmpi/util/NumericRange.hpp> // TLX #include <tlx/math/ffs.hpp> #include <tlx/math/integer_log2.hpp> #include <tlx/math/round_to_power_of_two.hpp> namespace fmpi { static void knomial_tree_aux(Tree* tree, mpi::Rank me, uint32_t size) { /* Receive f...
25.56962
72
0.567327
rkowalewski
5bacbd5c8ea68a83f1c1dc754f283ab8e189ec98
2,429
hpp
C++
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
// mortar man /* class CUP_O_2b14_82mm_TK_INS : CUP_2b14_82mm_Base { class Turrets : Turrets { class MainTurret : MainTurret { magazines[] = { "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells...
36.80303
65
0.575957
SOCOMD
5bb3bbef1b8d4a974b85de8a136d083579370cf0
1,662
cpp
C++
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
1
2022-02-01T19:33:21.000Z
2022-02-01T19:33:21.000Z
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
/* * Rhythm Run for Nintendo 3DS * Lauren Kelly, 2020, 2021 */ #include <3ds.h> #include <citro2d.h> #include <stdint.h> // Most getters/setters are defined in the header file to enhance performance optimisations #include "Entity.hpp" Entity::Entity(float a_x, float a_y, C2D_SpriteSheet a_spriteSheet, size_t ...
27.7
91
0.673887
thejsa
5bb7858ca6daee4250c6e31ec816b851e9d6549e
8,804
hpp
C++
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
5
2018-01-19T06:18:00.000Z
2019-07-19T16:08:46.000Z
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
1
2018-02-09T21:33:08.000Z
2018-02-11T23:39:47.000Z
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
2
2019-06-30T00:46:54.000Z
2019-07-09T18:35:45.000Z
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
32.249084
90
0.57701
jrmadsen
5bb8c970b64a85013e95d0db4749b351bf6490b0
8,033
cc
C++
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
30.777778
126
0.448898
nicesj
5bbd11e7b929fb4ebc121c86d07aa92388bede86
1,954
cpp
C++
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
25
2020-05-16T16:08:30.000Z
2022-03-09T04:58:16.000Z
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
2
2020-08-15T17:28:46.000Z
2021-09-28T16:14:14.000Z
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
3
2021-07-29T08:05:03.000Z
2022-03-22T14:28:05.000Z
/// /// @file /// @copyright Copyright (c) 2020. MIT License /// #include "spleeter/inference_engine/inference_engine_strategy.h" #include "spleeter/inference_engine/null_inference_engine.h" #include "spleeter/inference_engine/tf_inference_engine.h" #include "spleeter/inference_engine/tflite_inference_engine.h" #inclu...
28.735294
113
0.716991
jinay1991
5bc0536983148928798ae84baf6880e890bcda6c
423
hpp
C++
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#pragma once #include "geometry/line.hpp" class Segment : public Line, public Ordered<Segment> { public: Segment() {} Segment(const Point &a, const Point &b) : Line(a, b) {} Segment(Input &in) : Line(in) {} bool operator<(const Segment &segment) const { return a == segment.a ? b < segment.b : a < segmen...
21.15
63
0.602837
not522
5bc0960b3dc3a2099c06255085cb44c962ad84b4
1,447
cpp
C++
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
1
2021-11-28T14:16:09.000Z
2021-11-28T14:16:09.000Z
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Base.cpp :+: :+: :+: ...
37.102564
80
0.12094
Igors78
5bc41a641535e7d8eed059d8775775b59ce17c70
3,943
cpp
C++
src/xray/render/engine/sources/effect_deffer_aref.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/render/engine/sources/effect_deffer_aref.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/render/engine/sources/effect_deffer_aref.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 20.02.2009 // Author : Mykhailo Parfeniuk // Copyright ( C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include <xray/render/engine/effect_deffer_a...
32.319672
120
0.660918
ixray-team
5bc45115070be632ff4387809bd1a9b96c905e7b
1,281
hpp
C++
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> namespace sirius { // Problem 3: // Implement Serialize and Deserialize methods of List class. Serialize into binary // file. Note: all relationships between elements of the list must be preserved. // Definitions of struct ListNode and class List are provided: //stru...
20.66129
83
0.662763
hobby-dev
5bc5e1a9b900718c300882d1eed2067f504bb910
4,287
cpp
C++
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
/* ; Project: Open Vehicle Monitor System ; Module: CAN dump framework ; Date: 18th January 2018 ; ; (C) 2018 Mark Webb-Johnson ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"),...
24.924419
79
0.605318
goev
5bcacfe1a4fe9b010dae211b326b9cca39bbf3d2
10,990
cpp
C++
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
1
2019-06-18T23:31:10.000Z
2019-06-18T23:31:10.000Z
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
null
null
null
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
1
2019-06-18T21:43:29.000Z
2019-06-18T21:43:29.000Z
#include <libraries/logger/Logger.h> #include <libraries/Winshim/Winshim.h> #include <libraries/ndutil/ndutil.h> #include <libraries/ndutil/ndtestutil.h> #include "params.h" #include "ndscope.h" #include "errors.h" #include "work.h" static void stage8( params_t* const params, work_t work, const struct sock...
25.322581
91
0.582803
pcdeadeasy
5bcb52b804b9b25039f580f93c65033a8f22c49c
4,933
cpp
C++
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
56
2015-04-21T05:35:38.000Z
2021-02-16T13:42:45.000Z
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
13
2015-05-09T17:36:27.000Z
2020-02-13T17:44:59.000Z
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
27
2015-06-15T14:54:58.000Z
2021-07-22T09:59:40.000Z
/* * Chromaprint -- Audio fingerprinting toolkit * Copyright (C) 2010-2011 Lukas Lalinsky <lalinsky@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
25.692708
118
0.711535
pvinis
5bcbcd2c5d0aea2ba6fe58313f617077b506f975
8,455
cpp
C++
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
3
2020-02-05T09:54:43.000Z
2020-03-21T06:49:37.000Z
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
null
null
null
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
1
2020-02-12T11:38:21.000Z
2020-02-12T11:38:21.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <consensus/merkle.h> #include <streams.h> #include ...
38.784404
387
0.720757
barrystyle
5bcc910a7b8c3a895285c00bf8c0fedf97aa5cc5
3,172
cpp
C++
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
64
2015-03-14T14:06:18.000Z
2022-02-04T23:19:08.000Z
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
4
2017-08-16T10:26:46.000Z
2020-01-08T12:05:54.000Z
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
28
2015-04-16T14:14:59.000Z
2022-03-28T12:04:14.000Z
// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2011 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and Th...
33.041667
132
0.634615
SzVarga
5bd03752bc7988a0f3f32e56f8b1a251641428e5
5,548
cpp
C++
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
/************************************************************************** Some short tests to test basic job functionality Author: Jake McLeman ***************************************************************************/ #include <gtest/gtest.h> #include "Job.h" #define UNUSED(thing) (void)thing using name...
29.354497
79
0.683129
jacobmcleman
5bd1c4c60b0a518115e14cce3ff262dcad624695
1,005
cpp
C++
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
6
2020-03-26T15:07:14.000Z
2022-02-04T06:27:32.000Z
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
1
2020-07-09T06:32:52.000Z
2020-07-09T07:26:47.000Z
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
1
2022-03-08T20:30:46.000Z
2022-03-08T20:30:46.000Z
#include <iostream> #include <vector> #include <cmath> #include <fstream> #include <gflags/gflags.h> #include "stereo_panorama_tools.h" using namespace sphericalsfm; using namespace stereopanotools; DEFINE_string(intrinsics, "", "Path to intrinsics (focal centerx centery)"); DEFINE_string(video, "", "Path to video...
30.454545
92
0.705473
jonathanventura
5bd4623cc9a5404f3652cce6bd2ce9c8e03da0f5
617
cpp
C++
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int ismedia(int nota1, int nota2, int nota3, int nota4){ int media=(nota1*2)+(nota2*2)+(nota3*3)+(nota4*3)/10; if(media>=60){ return 1; } } int main(){ cout<<"Digite sua nota no 1 bimestre: "; int nota1; cin>> nota1; cout<<"Digite sua nota no 2 bimestre: "; int no...
16.675676
56
0.628849
HemensonDavid
5bd6994380e19f199c9e9f98d6d356ea80f44954
3,721
hpp
C++
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
15
2020-07-20T12:32:38.000Z
2022-03-24T19:24:02.000Z
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
null
null
null
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
5
2020-07-20T12:42:58.000Z
2021-01-16T10:13:39.000Z
#pragma once #include <memory> #include <optional> #include <unordered_map> #include <unordered_set> #include "circle_buffer.hpp" #include "defination.hpp" #include "packets.hpp" #include "socket.hpp" #include "tcb.hpp" #include "tcp_transmit.hpp" namespace mstack { class tcb_manager { private: tcb_manager() :...
43.267442
99
0.504703
Qanora
5bdd86a3c1457620c62c505b2444d4cdcf64f68e
4,666
hpp
C++
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Exception #include "System/Exception.hpp" #include "extern/bea...
60.597403
165
0.747964
darknight1050
5be030ae46f3c7267b32ffaa56e54e1ce0567db1
9,157
cxx
C++
Dax/LowLevelDax/threshold.cxx
robertmaynard/Sandbox
724c67fd924c29630a49f8501fd9df7a2bbb1ed8
[ "BSD-2-Clause" ]
9
2015-01-10T04:31:50.000Z
2019-03-04T13:55:08.000Z
Dax/LowLevelDax/threshold.cxx
robertmaynard/Sandbox
724c67fd924c29630a49f8501fd9df7a2bbb1ed8
[ "BSD-2-Clause" ]
2
2016-10-19T12:56:47.000Z
2017-06-02T13:55:35.000Z
Dax/LowLevelDax/threshold.cxx
robertmaynard/Sandbox
724c67fd924c29630a49f8501fd9df7a2bbb1ed8
[ "BSD-2-Clause" ]
5
2015-01-05T15:52:50.000Z
2018-02-14T18:08:19.000Z
//Description: //Show how we can threshold any arbitrary dataset inside of dax. #include <dax/cont/DeviceAdapter.h> #include <dax/cont/ArrayHandle.h> #include <dax/cont/ArrayHandleCounting.h> #include <dax/cont/UniformGrid.h> #include <dax/cont/UnstructuredGrid.h> #include <dax/CellTag.h> #include <dax/CellTraits.h> ...
36.7751
90
0.719668
robertmaynard
5be09ff0afe0e481f52fc2c48e30d71f5aa1fbc0
1,185
cpp
C++
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
1
2022-03-28T13:57:20.000Z
2022-03-28T13:57:20.000Z
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
null
null
null
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
null
null
null
// testMain.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // g++ GPS.cpp testMain.cpp -o testMain /* NMEA examples $GNRMC,083712.40,A,3030.83159,N,11424.56558,E,0.150,,291221,,,A*65\r\n $GNRMC,083712.60,A,3030.83159,N,11424.56559,E,0.157,,291221,,,A*61\r\n $GNRMC,083712.80,A,3030.83158,N,11424.56558,E,0.033,,291221,,,A*...
29.625
78
0.61519
chuanstudyup
5be0ae2694bfc8d46a7a0329e74bc69410ee79cc
1,156
cpp
C++
android-31/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JArray.hpp" #include "../../../JString.hpp" #include "./ULocale_Category.hpp" namespace android::icu::util { // Fields android::icu::util::ULocale_Category ULocale_Category::DISPLAY() { return getStaticObjectField( "android.icu.util.ULocale$Category", "DISPLAY", "Landroid/icu/util/ULoc...
23.12
78
0.697232
YJBeetle
5be406b3951e569d1d65d9f0d519775ff52015e3
1,168
cpp
C++
code/components/conhost-v2/src/DrawFPS.cpp
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
null
null
null
code/components/conhost-v2/src/DrawFPS.cpp
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
null
null
null
code/components/conhost-v2/src/DrawFPS.cpp
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
null
null
null
#include "StdInc.h" #include <ConsoleHost.h> #include <imgui.h> #include <CoreConsole.h> #include "FpsTracker.h" static InitFunction initFunction([]() { static bool drawFpsEnabled; static bool streamingListEnabled; static bool streamingMemoryEnabled; static ConVar<bool> drawFps("cl_drawFPS", ConVar_Archive, fa...
22.901961
186
0.710616
thorium-cfx
5be4b1c6a414d33b6af76f4904a7e05f7c281c00
56
hpp
C++
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/bcc551/bitor.hpp>
28
55
0.803571
miathedev
5be9cdbd51e0b4addd5637585abfd4f1db2ec933
769
cpp
C++
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
1
2021-11-29T06:10:48.000Z
2021-11-29T06:10:48.000Z
// https://leetcode.com/problems/balanced-binary-tree/ class Solution { public: bool isBalanced(TreeNode *root) { vector<int> ans; int h = is(root, ans); if (check(ans)) return true; else return false; } bool check(vector<int> &ans) { ...
19.717949
67
0.443433
ahanavish
5beadd1842d02dfee23f1bd4393c91e0d0bee8e1
2,370
cpp
C++
qt-creator-opensource-src-4.6.1/src/tools/screenshotcropper/cropimageview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/tools/screenshotcropper/cropimageview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/tools/screenshotcropper/cropimageview.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
27.882353
77
0.659494
kevinlq
5bec9814ab09dd8bd09eb94fab72070f1ee18118
4,071
hpp
C++
src/libraries/thermophysicalModels/specie/reaction/reactionRate/thirdBodyEfficiencies/thirdBodyEfficiencies.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/thermophysicalModels/specie/reaction/reactionRate/thirdBodyEfficiencies/thirdBodyEfficiencies.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/thermophysicalModels/specie/reaction/reactionRate/thirdBodyEfficiencies/thirdBodyEfficiencies.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
25.12963
83
0.517809
MrAwesomeRocks
5beeb662e275ac7b93836be860aee060f93fdb61
233
cpp
C++
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <iostream> int main ( int argc, char **argv ) { { if ( argc > 1 ) { long i = strtol( argv[1], NULL, 0 ); std::cout << " i = " << i << std::endl; } } return 0; }
15.533333
52
0.377682
eric2003
5bf1be12a66207f9e5154926b9760b12e52a5f0c
3,920
cpp
C++
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
/* $Id: t_vb_points.c,v 1.10 2002/10/29 20:29:04 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 4.1 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (t...
31.36
78
0.688265
OS2World
5bf4a1b12bd0ba842830ce713cef0b21e2e0da15
799
cpp
C++
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
/** * Chapter 11 :: Question 3 * * Fighting with a monster * use almost everything learned by bar * * KoaLaYT 23:15 04/02/2020 * */ #include "Player.h" #include <iostream> #include <string> Player initPlayer() { std::cout << "Enter you name: "; std::string name{}; std::getline(std::cin, name); std:...
19.02381
72
0.544431
KoaLaYT
5bf54790d03dad868eb1e1f926a2969a61ad40ca
12,838
hpp
C++
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
5
2019-12-27T07:30:03.000Z
2020-10-13T01:08:55.000Z
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
null
null
null
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
1
2020-07-27T22:36:40.000Z
2020-07-27T22:36:40.000Z
/* -------------------------------------------------------------------------------- key/key.hpp copyright(C) kyuhyun park 1993.07.13 -----------------------------------------------------...
45.524823
123
0.426157
drypot
5bfdbaa805eb89ccfca66a4e290910af697b6e15
439
cpp
C++
modules/cadac/env/wind_constant.cpp
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
1
2020-03-26T07:09:54.000Z
2020-03-26T07:09:54.000Z
modules/cadac/env/wind_constant.cpp
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
null
null
null
modules/cadac/env/wind_constant.cpp
mlouielu/mazu-sim
fd2da3a9f7ca3ca30d3d3f4bbd6966cb68623225
[ "BSD-3-Clause" ]
null
null
null
#include "wind_constant.hh" #include <cstring> cad::Wind_Constant::Wind_Constant(double dvba, double dir, double twind_In, double vertical_wind) : Wind(twind_In, vertical_wind) { snprintf(name, sizeof(name), "Constant Wind"); altitude = 0; vwind = dvba; psiwdx = dir; } cad::Wind_Constant::~Wind...
18.291667
97
0.710706
mlouielu
7500881c595656b36cf3bf9aa8b7ebdf0d282e2f
8,635
cpp
C++
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
2
2021-11-27T18:35:20.000Z
2022-03-23T08:11:57.000Z
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
null
null
null
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
null
null
null
#include "http.hpp" #include <vector> /*static*/ TCPClientStream TCPClientStream::acceptFrom(short listener) { struct sockaddr_in client; const size_t clientLen = sizeof(client); short sock = accept( listener, reinterpret_cast<struct sockaddr*>(&client), const_cast<socklen_t*>(re...
30.298246
122
0.550434
kissbeni
7504ec031afcc508c6f5e58eb8b1c0be91f0d33a
9,092
cpp
C++
MOWER/src/MowerMoves/MowerMoves.cpp
Mrgove10/AutoMower
9f157f27da13b94d0138208efebbe4f26b5d9187
[ "MIT" ]
2
2022-03-29T05:34:31.000Z
2022-03-29T06:04:40.000Z
MOWER/src/MowerMoves/MowerMoves.cpp
Mrgove10/AutoMower
9f157f27da13b94d0138208efebbe4f26b5d9187
[ "MIT" ]
null
null
null
MOWER/src/MowerMoves/MowerMoves.cpp
Mrgove10/AutoMower
9f157f27da13b94d0138208efebbe4f26b5d9187
[ "MIT" ]
1
2022-03-29T03:32:22.000Z
2022-03-29T03:32:22.000Z
#include <Arduino.h> #include "pin_definitions.h" #include "Environment_definitions.h" #include "myGlobals_definition.h" #include "MowerMoves/MowerMoves.h" #include "MotionMotor/MotionMotor.h" #include "Utils/Utils.h" #include "Display/Display.h" /** * Mower mouvement stop function */ void MowerStop() { DebugPrint...
34.570342
241
0.723603
Mrgove10
7506f8c3b63aff5e8b7ddfd042bcdccd46e947ac
50,640
cpp
C++
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
/************************************************************************************ Copyright (C) 2005 Stephane BORDAS, Cyrille DUNANT, Vinh Phu NGUYEN, Quang Tri TRUONG, Ravindra DUDDU This file is part of the XFEM C++ Library (OpenXFEM++) written and maintained by above authors. This program is free software; yo...
28.337997
127
0.612638
orkzking
7507e24f930050d37452586d5f7b9f3c34743c26
3,581
cpp
C++
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
#include "TitleScene.h" void TitleScene::setup(){ title.load("ZoneRush2.png"); playButton.load("PlaySelected.png"); exitButton.load("Exit.png"); loadingImage.load("Loading.png"); resetPosition(); selectedIndex = 0; loadState = TITLE; imageDx = -20.0; rightEmitter.setPositi...
29.352459
117
0.63055
ccabrales
7508f423ff4f2dd47d6703130584e1bc6a1e2d1d
3,347
cpp
C++
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
null
null
null
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
2
2019-03-01T09:25:32.000Z
2019-03-01T09:26:08.000Z
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
null
null
null
#include "reports.h" Reports::Reports(QTreeWidget *month,QListWidget *standard,QListWidget *project,QLabel *current,StatusDisplay *statusWidget) { monthReport=month; standardReport=standard; projectReport=project; currentProject=current; statusDisplay = statusWidget; } void Reports::updateMonthRe...
27.211382
125
0.632805
VBota1
75097d8a49eeac251bc1667c6a93628f398378e3
274
hpp
C++
modules/spdlog/shiva/spdlog/spdlog.hpp
Milerius/rs_engine
d25b54147f2f9a4710e3015c4eed7d076e3de04b
[ "MIT" ]
176
2018-06-06T12:20:21.000Z
2022-01-27T02:54:34.000Z
modules/spdlog/shiva/spdlog/spdlog.hpp
Milerius/rs_engine
d25b54147f2f9a4710e3015c4eed7d076e3de04b
[ "MIT" ]
11
2018-06-09T21:30:02.000Z
2019-09-14T16:03:12.000Z
modules/spdlog/shiva/spdlog/spdlog.hpp
Milerius/rs_engine
d25b54147f2f9a4710e3015c4eed7d076e3de04b
[ "MIT" ]
19
2018-08-15T11:40:02.000Z
2020-08-31T11:00:44.000Z
// // Created by roman Sztergbaum on 19/06/2018. // #pragma once #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks.h> namespace shiva { namespace log = spdlog; } namespace shiva::logging { using logger = std::shared_ptr<shiva::log::logger>; }
14.421053
55
0.70073
Milerius
7509db9a401daf1896cb04c933a014f57817ff92
362
hpp
C++
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
#pragma once #include "dansandu/chocolate/common.hpp" namespace dansandu::chocolate::interpolation { Vector3 interpolate(const Vector3& a, const Vector3& b, const float x, const float y, const float epsilon); Vector3 interpolate(const Vector3& a, const Vector3& b, const Vector3& c, const float x, const float y, ...
25.857143
107
0.720994
dansandu
750c844815ad49209ee37371cb7a5b86dea0d376
4,486
hxx
C++
include/opengm/learning/gridsearch-learning.hxx
chaubold/opengm
acc42b98b713db33f2b35aad05a7a1cf9752e862
[ "MIT" ]
null
null
null
include/opengm/learning/gridsearch-learning.hxx
chaubold/opengm
acc42b98b713db33f2b35aad05a7a1cf9752e862
[ "MIT" ]
null
null
null
include/opengm/learning/gridsearch-learning.hxx
chaubold/opengm
acc42b98b713db33f2b35aad05a7a1cf9752e862
[ "MIT" ]
null
null
null
#pragma once #ifndef OPENGM_GRIDSEARCH_LEARNER_HXX #define OPENGM_GRIDSEARCH_LEARNER_HXX #include <vector> namespace opengm { namespace learning { template<class DATASET> class GridSearchLearner { public: typedef DATASET DatasetType; typedef typename DATASET::GMTy...
35.322835
183
0.56041
chaubold
750cfaefd4746b7cea1bfd20de616b38d29defa8
4,698
cpp
C++
google/code_jam/2020/r3/pen_testing.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
google/code_jam/2020/r3/pen_testing.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
google/code_jam/2020/r3/pen_testing.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
#include "common/hash.h" #include "common/stl/base.h" #include "common/stl/hash/vector.h" #include "common/vector/enumerate.h" #include "common/vector/mask.h" #include <unordered_map> namespace { static const unsigned N = 15; class CompactState { public: unsigned l; uint64_t mask; vector<unsigned> vc; Comp...
23.373134
74
0.504683
Loks-
750e33686e6c97f42691a16b2d3c80c696e33a99
2,984
cpp
C++
C++/hoffman_encoding.cpp
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
null
null
null
C++/hoffman_encoding.cpp
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
null
null
null
C++/hoffman_encoding.cpp
evidawei/HacktoberFest_2021
3c950c6a6451ac732c4090f374c7dc4b6ef36c50
[ "MIT" ]
1
2021-10-11T14:05:10.000Z
2021-10-11T14:05:10.000Z
#include <bits/stdc++.h> using namespace std; #define EMPTY_STRING "" struct Node { char ch; int freq; Node *left, *right; }; Node* getNode(char ch, int freq, Node* left, Node* right) { Node* node = new Node(); node->ch = ch; node->freq = freq; node->left = left; nod...
22.778626
78
0.510054
evidawei
7511d416a4978fcd2aa044fd577ad9edd11ae6b8
1,495
hpp
C++
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/detail/type_traits.hpp" #include "caf/fwd.hpp" #include <util...
25.775862
80
0.671572
seewpx
75138d319658400837893d58e2aee8f95eb1f383
1,081
hpp
C++
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file reverse.hpp * * @brief reverse の定義 * * @author myoukaku */ #ifndef BKSGE_FND_ALGORITHM_REVERSE_HPP #define BKSGE_FND_ALGORITHM_REVERSE_HPP #include <bksge/fnd/algorithm/config.hpp> #if defined(BKSGE_USE_STD_ALGORITHM) #include <algorithm> namespace bksge { using std::reverse...
16.630769
51
0.650324
myoukaku
7518a26a3f9a48b498a5a0f719682f3753612846
3,880
cc
C++
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
null
null
null
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
1
2021-12-03T14:37:41.000Z
2021-12-03T14:37:41.000Z
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
2
2019-10-31T18:17:00.000Z
2021-11-22T21:43:02.000Z
#include <iostream> #include <fstream> #include <sstream> #include <string> #include <stdlib.h> #include <vector> #include <TFile.h> #include <TTree.h> #include <TH1F.h> #include <TH2F.h> #include <TF1.h> #include <TCanvas.h> #include <TLegend.h> #include <TApplication.h> #include <TLatex.h> #include <TLine.h> #includ...
26.575342
85
0.584794
Mu2e
75190d8b3eaf38c7736806ffc0e6b19f972a5745
12,435
cpp
C++
viewer/sokol_imgui.cpp
JCash/dungeonmaker
c64a90bdf1cff79d69f32ea6a8f219bb9daba7d9
[ "MIT" ]
4
2018-08-27T05:31:58.000Z
2018-09-01T00:02:29.000Z
viewer/sokol_imgui.cpp
JCash/dungeonmaker
c64a90bdf1cff79d69f32ea6a8f219bb9daba7d9
[ "MIT" ]
null
null
null
viewer/sokol_imgui.cpp
JCash/dungeonmaker
c64a90bdf1cff79d69f32ea6a8f219bb9daba7d9
[ "MIT" ]
null
null
null
#include "imgui.h" #if defined(__APPLE__) #define SOKOL_METAL #elif defined(WIN32) #define SOKOL_D3D11 #elif defined(__EMSCRIPTEN__) #define SOKOL_GLES2 #else #error "No GFX Backend Specified" #endif #define SOKOL_IMPL #include "sokol_app.h" #include "sokol_gfx.h" #include "sokol_time.h" #include <st...
33.790761
119
0.604664
JCash
751f699db40b8db0c4cffb7c35b3f5337e15d5f6
1,868
cpp
C++
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** string make(int P, int R, int S) { assert(P >= 0 && R >= 0 && S >= 0); if (P + R + S == 1) { if (P == 1) return "P"; if (R == 1) return "R"; if (S == 1) return "S"; assert(false); } ...
21.72093
85
0.336188
brunodccarvalho
75222869cec69877f7cf1812e300de8d226b149e
3,234
cxx
C++
model_server/obj/src/string_to_int.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
model_server/obj/src/string_to_int.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
model_server/obj/src/string_to_int.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
40.936709
77
0.527829
kit-transue
752307c05d9b1adb8aa85249d908665b5ecf029f
2,565
hpp
C++
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <memory> #include <stdexcept> #include <thread> namespace common { namespace async { void sleep(int ms); /// This class implements a platform-independent /// wrapper around an operating system thread. class Thread { public: typedef std::shared_ptr...
26.173469
71
0.579337
longlonghands
970891b77c47801c8b11786a89e88ae016939709
10,383
cpp
C++
src/particle.cpp
ndevenish/nsl
03dd69ce39258cad0547b968c062074e4b90fdf0
[ "MIT" ]
null
null
null
src/particle.cpp
ndevenish/nsl
03dd69ce39258cad0547b968c062074e4b90fdf0
[ "MIT" ]
null
null
null
src/particle.cpp
ndevenish/nsl
03dd69ce39258cad0547b968c062074e4b90fdf0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2006-2012 Nicholas Devenish * * 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, m...
27.323684
131
0.690456
ndevenish
97090938d893075b49d16b6dd0c8497823d900d3
1,059
cc
C++
src/main/native/darwin/util.cc
kjlubick/bazel
6f0913e6e75477ec297430102a8213333a12967e
[ "Apache-2.0" ]
1
2022-02-04T05:06:03.000Z
2022-02-04T05:06:03.000Z
src/main/native/darwin/util.cc
kjlubick/bazel
6f0913e6e75477ec297430102a8213333a12967e
[ "Apache-2.0" ]
3
2017-07-10T13:18:04.000Z
2018-08-30T19:29:46.000Z
src/main/native/darwin/util.cc
kjlubick/bazel
6f0913e6e75477ec297430102a8213333a12967e
[ "Apache-2.0" ]
1
2022-01-12T18:08:14.000Z
2022-01-12T18:08:14.000Z
// Copyright 2021 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
31.147059
76
0.745042
kjlubick
97094f6541bda09c47adf1bc12acd753f4e0a99b
1,307
cpp
C++
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
4
2016-09-07T07:02:52.000Z
2019-06-22T08:55:53.000Z
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
null
null
null
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
3
2019-06-22T16:00:39.000Z
2022-03-09T13:46:27.000Z
#include <stdio.h> #include <windows.h> int mswindows_handle_hardware_exceptions (DWORD code) { printf("Handling exception\n"); if (code == STATUS_DATATYPE_MISALIGNMENT) { printf("misalignment fault!\n"); return EXCEPTION_EXECUTE_HANDLER; } else return EXCEPTION_CONTINUE_SEARCH; ...
20.107692
72
0.497322
fox000002
9709fcca401e1a7f071545e31f5dc431f22736ac
7,362
cpp
C++
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file rendererandroid.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2017-12-09 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/precompiled.h" #include "o3d/engine/renderer.h" // ONLY IF O3D_ANDROID IS SELE...
27.470149
123
0.619669
dream-overflow
970a0dc9bef87e899dc9a929f4a47aa138c8dc3b
3,481
cpp
C++
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
1
2021-01-31T22:59:59.000Z
2021-01-31T22:59:59.000Z
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
#include <iostream> #include <assert.h> #include <math.h> #include <vector> #include <algorithm> #include <numeric> #include <map> #include <deque> #include <stdlib.h> #include <string> #include <set> #include <vector> #include <new> #include <memory> using namespace std; /*Crea un arreglo en la que los indices muest...
23.362416
228
0.607871
CharlieGearsTech