hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
5c5cb63f8c38f0913721f1412e817fd696369a99
1,634
cpp
C++
C++/problems/0036_level_order.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/problems/0036_level_order.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/problems/0036_level_order.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
// Problem Statement // Given a binary tree, return the level order traversal of its nodes' values. // (ie, from left to right, level by level). // // For example: // Given binary tree [3,9,20,null,null,15,7], // 3 // / \ // 9 20 // / \ // 15 7 // return its level order traversal as: // [ // [3], ...
24.38806
81
0.5153
[ "vector" ]
5c5eae721484d04c38328d33edf6a8fdfebab197
3,715
cc
C++
src/pks/transport/test/transport_implicit.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/transport/test/transport_implicit.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/transport/test/transport_implicit.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* The transport component of the Amanzi code, serial unit tests. License: BSD Author: Konstantin Lipnikov (lipnikov@lanl.gov) */ #include <iostream> #include <cstdlib> #include <cmath> #include <vector> // TPLs #include "Teuchos_RCP.hpp" #include "Teuchos_ParameterList.hpp" #include "Teuchos_ParameterXMLFileRe...
28.358779
94
0.68533
[ "mesh", "vector" ]
5c65f2ed471f8722426f31b09dba0fb5625004a5
6,983
cpp
C++
grt_knn_classification/src/ofApp.cpp
npisanti/np-stubs
65d7de9080e403542335e76b2491c2787bd7c4d2
[ "MIT" ]
1
2019-04-26T02:35:10.000Z
2019-04-26T02:35:10.000Z
grt_knn_classification/src/ofApp.cpp
npisanti/np-stubs
65d7de9080e403542335e76b2491c2787bd7c4d2
[ "MIT" ]
null
null
null
grt_knn_classification/src/ofApp.cpp
npisanti/np-stubs
65d7de9080e403542335e76b2491c2787bd7c4d2
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ K = 3; GRT::KNN knn; knn.setK( K ); pipeline << knn; examples.setNumDimensions( 2 ); ofBackground( 0 ); guess.x = -100; guess.y = -100; guess.z = 0; ...
27.710317
86
0.39052
[ "model" ]
5c6eba77a0620b5a486046412c0ca6cae20e456d
28,459
cpp
C++
test-suite/catbonds.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
test-suite/catbonds.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
test-suite/catbonds.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2012, 2013 Grzegorz Andruszkiewicz This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redis...
41.606725
119
0.619347
[ "vector" ]
f079edb206c1d2fd7623d584262ae463c53bbc86
45,085
cpp
C++
BulletSim.cpp
Misterblue/BulletSim
e59f070fc853f79513a67685356a42137e40a2f7
[ "BSD-3-Clause" ]
null
null
null
BulletSim.cpp
Misterblue/BulletSim
e59f070fc853f79513a67685356a42137e40a2f7
[ "BSD-3-Clause" ]
null
null
null
BulletSim.cpp
Misterblue/BulletSim
e59f070fc853f79513a67685356a42137e40a2f7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
37.446013
149
0.738516
[ "mesh", "object", "shape", "vector", "transform" ]
f07a61f37b42c6f288deb59cb2be8b310a50bf17
18,160
cpp
C++
applis/CompColorees/cCC_OneChannel.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
applis/CompColorees/cCC_OneChannel.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
applis/CompColorees/cCC_OneChannel.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
28.419405
130
0.549449
[ "vector" ]
f07fff4135b3793370090166c10f6d683c926072
518
cpp
C++
GY/1156.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
GY/1156.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
GY/1156.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<cmath> #include<cstdlib> #include<cctype> #include<ctime> #include<iostream> #include<string> #include<map> #include<queue> #include<stack> #include<set> #include<vector> #include<iomanip> #include<bitset> #include<algorithm> #define ll long long using namespace std; int main...
17.862069
61
0.675676
[ "vector" ]
f080ce2e4cbc95eb9571ebb9853647bcfee86701
5,413
cxx
C++
dune/stuff/test/common.cxx
ftalbrecht/dune-stuff-simplified
fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d
[ "BSD-2-Clause" ]
null
null
null
dune/stuff/test/common.cxx
ftalbrecht/dune-stuff-simplified
fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d
[ "BSD-2-Clause" ]
null
null
null
dune/stuff/test/common.cxx
ftalbrecht/dune-stuff-simplified
fc1f80dedaa78fae6e6d67e8f5424a6b3ec86b5d
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "config.h" #include <cmath> #include <sys/time.h> #include <vector> #include <map> #in...
40.395522
116
0.628117
[ "vector" ]
f080ec97ed8f697e992b4fa67ebd4328e8f737c6
4,735
cpp
C++
libNCUI/module/dll/DllManager.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
24
2018-11-20T14:45:57.000Z
2021-12-30T13:38:42.000Z
libNCUI/module/dll/DllManager.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
null
null
null
libNCUI/module/dll/DllManager.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
11
2018-11-29T00:09:14.000Z
2021-11-23T08:13:17.000Z
#include "stdafx.h" #include "module/dll/DllManager.h" #include <amo/path.hpp> #include <amo/loader.hpp> #pragma comment(lib, "Dbghelp.lib") namespace amo { DllManagerBase::DllManagerBase() { setRunOnRenderThread(false); setExtensionDir(amo::u8string("renderer_modules", true)); } Dl...
26.903409
84
0.523126
[ "vector" ]
f093fb1fc220e957d05df5964c557e356f4e13e9
11,325
cpp
C++
Official Windows Platform Sample/Windows 8.1 desktop samples/[C++]-Windows 8.1 desktop samples/How to Use InteractionContext/C++/InteractionContextSample.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/InteractionContextProduceTouchInput/cpp/InteractionContextSample.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Samples/InteractionContextProduceTouchInput/cpp/InteractionContextSample.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #includ...
26.215278
121
0.704283
[ "object", "transform" ]
f09aa974e531359839c2c7daeda3bf7963137c04
13,531
cpp
C++
test/ssw-test.cpp
mgawan/mhm2_staging
0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32
[ "BSD-3-Clause-LBNL" ]
null
null
null
test/ssw-test.cpp
mgawan/mhm2_staging
0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32
[ "BSD-3-Clause-LBNL" ]
null
null
null
test/ssw-test.cpp
mgawan/mhm2_staging
0b59be2c2b4d7745d2f89b9b1b342cfe5ef6bd32
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "ssw.hpp" #include "gtest/gtest.h" #include "klign.hpp" #include <sstream> #include <string> #include <vector> #ifdef ENABLE_GPUS #include "adept-sw/driver.hpp" #endif using std::vector; using std::string; using std::min; using std::max; using namespace StripedSmithWaterman; #ifdef ENABLE_GPUS void trans...
31.249423
149
0.654867
[ "vector" ]
f09c5adbb3c87dc4fcb54102f8491322ac1a57c6
3,177
cxx
C++
base/fs/utils/xcopy/support.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/utils/xcopy/support.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/utils/xcopy/support.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1990 Microsoft Corporation Module Name: Support Abstract: Miscelaneous support functions for the XCopy directory copy utility. All functions that are not involved directly in the copy process go here. Author: Ramon Juan San Andres (ramonsa) 02-May-1991 Revision Histor...
17.266304
90
0.677054
[ "object" ]
f09df13afde9477f6c4e12d6987cf44306e44cc6
12,607
cpp
C++
Engine/Source/Runtime/UtilityShaders/Private/ClearQuad.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/UtilityShaders/Private/ClearQuad.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/UtilityShaders/Private/ClearQuad.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "ClearQuad.h" #include "Shader.h" #include "RHIStaticStates.h" #include "OneColorShader.h" #include "PipelineStateCache.h" #include "ClearReplacementShaders.h" #include "RendererInterface.h" #include "Logging/LogMacros.h" DEFINE_LOG_CATEGORY_STATIC...
38.910494
236
0.76402
[ "render" ]
f0afc2f6519a3cb57d83943680d5b3cfbe2c5181
1,066
hpp
C++
flexcore/core/connection_util.hpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
47
2016-09-23T10:27:17.000Z
2021-12-14T07:31:40.000Z
flexcore/core/connection_util.hpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
10
2016-12-04T16:40:29.000Z
2020-04-28T08:46:50.000Z
flexcore/core/connection_util.hpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
20
2016-09-23T17:14:41.000Z
2021-10-09T18:24:47.000Z
#ifndef SRC_PORTS_CONNECTION_UTIL_HPP_ #define SRC_PORTS_CONNECTION_UTIL_HPP_ #include <flexcore/core/traits.hpp> #include <utility> namespace fc { /** * \brief generalization of get_source * Stopping criterion for recursion */ template <class T> constexpr auto get_source(T& s) -> std::enable_if_t<!has_source<T...
19.035714
71
0.714822
[ "object" ]
f0c976c54be14597f3269b6bd39f1109f7abc298
318
cpp
C++
Sunny-Core/07_SERVER/BossLocker.cpp
adunStudio/Sunny
9f71c1816aa62bbc0d02d2f8d6414f4bf9aee7e7
[ "Apache-2.0" ]
20
2018-01-19T06:28:36.000Z
2021-08-06T14:06:13.000Z
Sunny-Core/07_SERVER/BossLocker.cpp
adunStudio/Sunny
9f71c1816aa62bbc0d02d2f8d6414f4bf9aee7e7
[ "Apache-2.0" ]
null
null
null
Sunny-Core/07_SERVER/BossLocker.cpp
adunStudio/Sunny
9f71c1816aa62bbc0d02d2f8d6414f4bf9aee7e7
[ "Apache-2.0" ]
3
2019-01-29T08:58:04.000Z
2021-01-02T06:33:20.000Z
#include "BossLocker.h" unordered_map<int, Player*> BossLocker::players; Player* BossLocker::player = nullptr; int BossLocker::id = 0; vector<Entity*> BossLocker::player_bullets; PoolList* BossLocker::bulletList = nullptr; unordered_map<int, SCBullet*> BossLocker::sc_bulletList; int BossLocker::shooterIndex = 0;
24.461538
56
0.773585
[ "vector" ]
f0d096153fe44a1fe8f364d1ff5f62beb0f8ede7
7,544
cc
C++
tests/unit/model_tests.cc
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
tests/unit/model_tests.cc
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
tests/unit/model_tests.cc
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE unit_test_model #include <boost/test/unit_test.hpp> #include "stb_model.hh" #include "stb_types.hh" #include "stb_util.hh" using namespace stb; BOOST_AUTO_TEST_CASE(test_single_buffer_single_attribute) { const float attrData[] = { //Vertice x 3, rest are not used ...
36.269231
104
0.623542
[ "model" ]
f0d20ffbf778f51339e23b08ca9dc8a430762bdf
3,196
hpp
C++
include/psn_defs.hpp
Wason-Fok/PosiStageNet
5f22fdbedd0f9233b36d719ec99d921684f911c4
[ "MIT" ]
3
2019-04-18T05:26:42.000Z
2021-12-18T11:30:41.000Z
include/psn_defs.hpp
Wason-Fok/PosiStageNet
5f22fdbedd0f9233b36d719ec99d921684f911c4
[ "MIT" ]
null
null
null
include/psn_defs.hpp
Wason-Fok/PosiStageNet
5f22fdbedd0f9233b36d719ec99d921684f911c4
[ "MIT" ]
null
null
null
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /* The MIT License (MIT) Copyright (c) 2014 VYV Corporation 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 withou...
28.792793
91
0.635795
[ "vector" ]
f0d32e5f4d54eb5f9865b30eb7cc9fd9cb5e084a
33,410
cpp
C++
src/modules/osg/generated_code/BufferData.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/BufferData.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/BufferData.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osg.h" #include "wrap_referenced.h" #include "bufferdata.pypp.hpp" namespace bp = boost::python; struct BufferData_wrapper : osg::BufferData, bp::wrapper< osg::BufferData > { struct ModifiedCallback_wrapper : osg::BufferData::Mo...
43.333333
243
0.557827
[ "object" ]
f0d96016a067b6b86eb8fce2d899854231310515
4,182
cxx
C++
Parts/actors/common/src/ausampla.cxx
magic-lantern-studio/mle-parts
551cdb0757fcd6623cd5c7572dca681165b43a29
[ "MIT" ]
1
2021-02-04T22:44:16.000Z
2021-02-04T22:44:16.000Z
Parts/actors/common/src/ausampla.cxx
magic-lantern-studio/mle-parts
551cdb0757fcd6623cd5c7572dca681165b43a29
[ "MIT" ]
null
null
null
Parts/actors/common/src/ausampla.cxx
magic-lantern-studio/mle-parts
551cdb0757fcd6623cd5c7572dca681165b43a29
[ "MIT" ]
null
null
null
/** @defgroup MleParts Magic Lantern Parts */ /** * @file ausampla.cxx * @ingroup MleParts * * This file implements the class for a Magic Lantern Sound Actor. * * @author Mark S. Millard * @date May 1, 2003 */ // COPYRIGHT_BEGIN // // Copyright (C) 2000-2007 Wizzer Works // // Wizzer Works makes available ...
22.126984
76
0.663797
[ "object" ]
f0ddf723628c45bc051440809c68683afa43b78f
57,599
hpp
C++
include/libtorrent/miniz.hpp
gqw/libtorrent
2407f8348cbc3af883c38ce53c18c68d99306182
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
include/libtorrent/miniz.hpp
gqw/libtorrent
2407f8348cbc3af883c38ce53c18c68d99306182
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
include/libtorrent/miniz.hpp
gqw/libtorrent
2407f8348cbc3af883c38ce53c18c68d99306182
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* miniz.c v1.15 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing See "unlicense" statement at the end of this file. Rich Geldreich <richgel99@gmail.com>, last updated Oct. 13, 2013 Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.i...
44.035933
86
0.727027
[ "object" ]
f0e02135b1856fc2f1948e09e03899cb4d12406d
116,743
cpp
C++
PyCommon/modules/Simulator/csVpModel.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/modules/Simulator/csVpModel.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/modules/Simulator/csVpModel.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include <algorithm> #include "boostPythonUtil.h" #include "VPUtil.h" #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/io.hpp> //#define make_tuple boost::python::make_tuple //using boost::python::make_tuple; namespace bp = boost::python; namespace np = boost:...
31.827426
163
0.636586
[ "object", "shape", "vector" ]
f0e2f5d3c8dbf8e504e24968fd3b38525cf13ab4
607
cpp
C++
Borcane/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
Borcane/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
Borcane/main.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include<fstream> #include<math.h> #include<stdlib.h> using namespace std; ifstream fin("borcane.in"); ofstream fout("borcane.out"); struct vector { long val,l; }; long n,i,j,l,ok,s; vector v[101],x[101]; int comp(const void *a,const void *b) { if(*(long *)a> *(long *)b) return 1; else return -1; } int main() { ...
14.116279
40
0.517298
[ "vector" ]
f0f29cef28106d8a806785e1e0df7d47da1534a2
9,159
cpp
C++
src/game/world.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
src/game/world.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
src/game/world.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
#include "world.hpp" #include <BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h> #include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h> #include <bgfx/bgfx.h> #include <btBulletCollisionCommon.h> #include "camera.hpp" #include "engine.hpp" #include "entity.hpp" #include "graphics.hpp" #incl...
24.620968
80
0.648652
[ "object", "vector", "transform" ]
e7ca7fde05ed5f34aa76a4de5e0b8dc5487d8c89
30,655
cpp
C++
calculator.cpp
ghostofcoolidge/probability_compound_events_calculator
304bdf3e1690c3613c89108dcb54d7abcb781ae2
[ "MIT" ]
1
2021-07-09T14:55:55.000Z
2021-07-09T14:55:55.000Z
calculator.cpp
ghostofcoolidge/probability_compound_events_calculator
304bdf3e1690c3613c89108dcb54d7abcb781ae2
[ "MIT" ]
null
null
null
calculator.cpp
ghostofcoolidge/probability_compound_events_calculator
304bdf3e1690c3613c89108dcb54d7abcb781ae2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <conio.h> #include <cmath> #include <vector> #include <sstream> using namespace std; double p1; double t1; double r1; double n1; string uinput; bool isnum; bool ischar; string event; string response = "y"; double independent_event(double &p, double &t, do...
29.618357
183
0.391258
[ "vector" ]
e7ce1c19fa14f8483965707f66cd7a296812ecd8
4,556
hpp
C++
OptFrame/Heuristics/ILS/BasicILSPerturbation.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/Heuristics/ILS/BasicILSPerturbation.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/Heuristics/ILS/BasicILSPerturbation.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
25.171271
107
0.682177
[ "vector" ]
e7cfc37d252bd9e178b1e677b89ee8f65626bae7
39,230
cpp
C++
tinygizmo/tiny-gizmo.cpp
ousttrue/tinygizmo
0eb067c4a942af0105097c653b697fe234e94b07
[ "Unlicense" ]
null
null
null
tinygizmo/tiny-gizmo.cpp
ousttrue/tinygizmo
0eb067c4a942af0105097c653b697fe234e94b07
[ "Unlicense" ]
null
null
null
tinygizmo/tiny-gizmo.cpp
ousttrue/tinygizmo
0eb067c4a942af0105097c653b697fe234e94b07
[ "Unlicense" ]
null
null
null
// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org> #include "tiny-gizmo.hpp" #include <assert.h> #include <chrono> #include <functional> #include <iostream> #include <map> #include <memory> #include <minalg.h> #include <string> #i...
34.99554
80
0.599771
[ "mesh", "geometry", "object", "vector", "transform" ]
e7d1724e907073a80c4b1ec00462bc1cca2cfbdc
16,865
hpp
C++
include/dpp/dpp_new/lstm.hpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
null
null
null
include/dpp/dpp_new/lstm.hpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
null
null
null
include/dpp/dpp_new/lstm.hpp
Lemon-cmd/DeepPP-Learning
1211c1400eb04d1c689a4d876b3cb3e727184809
[ "MIT" ]
null
null
null
#ifndef LSTM_HPP #define LSTM_HPP #include "layer.hpp" namespace dpp { class LSTM : public Layer { /* Long Short Term Memory Layer */ public: LSTM(const int neurons = 1, const std::string activation = "tanh", const std::string recurrent_activation = "sigmoid", const float lrate = 0.001, const float erate = ...
43.919271
178
0.575274
[ "shape", "vector" ]
e7d6f4ec82b8ade05a37bf536a6f5300bf0490c1
481
hpp
C++
source/discord/guild.hpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
null
null
null
source/discord/guild.hpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
2
2019-01-15T07:38:54.000Z
2019-01-15T07:44:35.000Z
source/discord/guild.hpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
1
2018-10-25T12:12:34.000Z
2018-10-25T12:12:34.000Z
#ifndef DISCORD_GUILD_HPP #define DISCORD_GUILD_HPP #include "nlohmann/json.hpp" #include "types.hpp" namespace discord { struct Guild { String name; Snowflake id; uint64 permissions; bool owner; static Guild from_json(nlohmann::json const&); }; using Guilds = std...
20.041667
54
0.665281
[ "vector" ]
e7dd216e0eea35497d308e891956ab1f32f4a769
5,258
cpp
C++
src/lab_m1/lab1/lab1.cpp
bogpie/ComputerGraphics
750a1d16d1e37d492438a93f05159b4e9a9ea226
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/lab1/lab1.cpp
bogpie/ComputerGraphics
750a1d16d1e37d492438a93f05159b4e9a9ea226
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/lab1/lab1.cpp
bogpie/ComputerGraphics
750a1d16d1e37d492438a93f05159b4e9a9ea226
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "lab_m1/lab1/lab1.h" #include <vector> #include <iostream> #include <string> using namespace std; using namespace m1; float redValue, greenValue, blueValue, xPos, yPos, zPos, yLimit; bool falling; vector<string> primitives{ "teapot", "box", "sphere" }; int currentPrimitive; /* * To find out more about `F...
21.727273
102
0.679726
[ "mesh", "render", "object", "vector" ]
e7fbc5e12733f694377b39e4f7598b5196aec3d2
10,277
cpp
C++
higan/target-bsnes/program/platform.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/target-bsnes/program/platform.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/target-bsnes/program/platform.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
#include <nall/encode/bmp.hpp> #include <icarus/heuristics/heuristics.hpp> #include <icarus/heuristics/heuristics.cpp> #include <icarus/heuristics/super-famicom.cpp> #include <icarus/heuristics/game-boy.cpp> #include <icarus/heuristics/bs-memory.cpp> #include <icarus/heuristics/sufami-turbo.cpp> //ROM data is held in ...
36.835125
108
0.633356
[ "vector" ]
f011ea67a9ef12574349843f86973f75d8fa4f40
53,229
cxx
C++
com/rpc/runtime/trans/common/protocol.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/rpc/runtime/trans/common/protocol.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/rpc/runtime/trans/common/protocol.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (C) Microsoft Corporation, 1996 - 1999 Module Name: Protocol.cxx Abstract: Transport Protocol abstraction used mainly by PnP. The following is a brief description of the current RPC PnP mechanism: Whenever a non-local transport level object (a socket, or an address) is op...
34.055662
152
0.586654
[ "object", "vector" ]
f0121838c7705d2f4338b23eebb4ea0219319fca
5,734
cpp
C++
Examples/Cpp/source/IMAP/ReadMessagesRecursively.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
4
2019-12-01T16:19:12.000Z
2022-03-28T18:51:42.000Z
Examples/Cpp/source/IMAP/ReadMessagesRecursively.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
1
2022-02-15T01:02:15.000Z
2022-02-15T01:02:15.000Z
Examples/Cpp/source/IMAP/ReadMessagesRecursively.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
5
2017-09-27T14:43:20.000Z
2021-11-16T06:47:11.000Z
#include <system/string.h> #include <system/shared_ptr.h> #include <system/object_ext.h> #include <system/object.h> #include <system/io/directory.h> #include <system/exceptions.h> #include <system/environment.h> #include <system/console.h> #include <system/collections/ienumerator.h> #include <SaveOptions.h> #include <...
44.796875
213
0.663586
[ "object" ]
f013a4f89160952f4f38419c350c2b879582a971
3,928
cpp
C++
codes/misc/accelerator.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/misc/accelerator.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/misc/accelerator.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
//misaka will carry me to master #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <functional> #include <numeric> #include <set> #include <map> #define ll long long #define lb long double #define sz(vec) ((i...
20.565445
76
0.505855
[ "vector" ]
f015e4690a0a82b372fb0136d21dbea5f20fbdaf
28,912
cc
C++
market/src/MarketClient.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
market/src/MarketClient.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
market/src/MarketClient.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
34.174941
204
0.778397
[ "model" ]
f02698674b5be67de4bfbffb33fef77945a56b0b
1,769
cc
C++
projects/ipdg_stokes/post_processing/solution_to_mesh_data_set.cc
Fytch/lehrfempp
c804b3e350aa893180f1a02ce57a93b3d7686e91
[ "MIT" ]
16
2018-08-30T19:55:43.000Z
2022-02-16T16:38:06.000Z
projects/ipdg_stokes/post_processing/solution_to_mesh_data_set.cc
Fytch/lehrfempp
c804b3e350aa893180f1a02ce57a93b3d7686e91
[ "MIT" ]
151
2018-05-27T13:01:50.000Z
2021-08-04T14:50:50.000Z
projects/ipdg_stokes/post_processing/solution_to_mesh_data_set.cc
Fytch/lehrfempp
c804b3e350aa893180f1a02ce57a93b3d7686e91
[ "MIT" ]
20
2018-11-13T13:46:38.000Z
2022-02-18T17:33:52.000Z
#include "solution_to_mesh_data_set.h" #include <lf/uscalfe/lagr_fe.h> namespace projects::ipdg_stokes::post_processing { lf::mesh::utils::CodimMeshDataSet<double> extractBasisFunctionCoefficients( const std::shared_ptr<const lf::mesh::Mesh> &mesh, const lf::assemble::DofHandler &dofh, const Eigen::VectorXd...
41.139535
80
0.693612
[ "mesh", "geometry" ]
f027ef155b265991863097b98f2fc786e4053afe
1,030
hh
C++
xhp/pane-contents.hh
appertly/axe
4a15b4bed0a249bb3a7ce34661c98a14ab7b66b9
[ "MIT" ]
1
2016-06-07T17:12:27.000Z
2016-06-07T17:12:27.000Z
xhp/pane-contents.hh
appertly/axe
4a15b4bed0a249bb3a7ce34661c98a14ab7b66b9
[ "MIT" ]
null
null
null
xhp/pane-contents.hh
appertly/axe
4a15b4bed0a249bb3a7ce34661c98a14ab7b66b9
[ "MIT" ]
null
null
null
<?hh // strict /** * Axe * * @copyright 2015-2016 Appertly contributors * @license http://opensource.org/licenses/MIT MIT License */ /** * Pane Contents */ class :axe:pane-contents extends :x:element implements HasXHPHelpers { use XHPHelpers; category %flow; children (:axe:toolbar?, %flow+); ...
24.52381
98
0.513592
[ "render" ]
f02dd5d45c951193d40e26aa9075c73428174b57
206
cc
C++
20181102/plugins/push/api/parts/apn/apns.cc
zengxingqi/countly-node-server
b91a823914286c2d624c467eebf3e6934a3dd2c5
[ "MIT" ]
1
2019-09-18T12:39:42.000Z
2019-09-18T12:39:42.000Z
20181102/plugins/push/api/parts/apn/apns.cc
zengxingqi/countly-node-server
b91a823914286c2d624c467eebf3e6934a3dd2c5
[ "MIT" ]
1
2019-09-18T12:35:10.000Z
2019-09-18T12:38:22.000Z
20181102/plugins/push/api/parts/apn/apns.cc
zengxingqi/countly-node-server
b91a823914286c2d624c467eebf3e6934a3dd2c5
[ "MIT" ]
null
null
null
#include <nan.h> #include "h2.h" namespace apns { using v8::Local; using v8::Object; void InitAll(Local<Object> exports) { H2::Init(exports); } NODE_MODULE(addon, InitAll) } // namespace demo
12.117647
38
0.665049
[ "object" ]
f035197be9c9ccceb9a69f0be8fe9b8729fe17a2
4,810
hpp
C++
include/lightsky/utils/generic/AlignedAllocatorImpl.hpp
hamsham/LightUtils
ae909ee0e6d8915b1447cbb41aceceb98df1a2e6
[ "BSD-3-Clause" ]
1
2021-09-04T19:23:37.000Z
2021-09-04T19:23:37.000Z
include/lightsky/utils/generic/AlignedAllocatorImpl.hpp
hamsham/LightUtils
ae909ee0e6d8915b1447cbb41aceceb98df1a2e6
[ "BSD-3-Clause" ]
null
null
null
include/lightsky/utils/generic/AlignedAllocatorImpl.hpp
hamsham/LightUtils
ae909ee0e6d8915b1447cbb41aceceb98df1a2e6
[ "BSD-3-Clause" ]
1
2015-10-16T06:07:58.000Z
2015-10-16T06:07:58.000Z
#include <limits> // std::numeric_limits<> #include <utility> // std::forward() #include <memory> #include "lightsky/utils/Pointer.h" namespace ls { namespace utils { /*----------------------------------------------------------------------------- * AlignedAllocator Member Functions ------------------------------...
22.796209
107
0.468399
[ "object" ]
f039a6dbe53fef06a4f83dd2a89192fed290298f
36,717
cpp
C++
src/core/SkShaderCodeDictionary.cpp
TheRakeshPurohit/skia
817dd601f85f986a99d102de8dc42ee8638a56f9
[ "BSD-3-Clause" ]
null
null
null
src/core/SkShaderCodeDictionary.cpp
TheRakeshPurohit/skia
817dd601f85f986a99d102de8dc42ee8638a56f9
[ "BSD-3-Clause" ]
null
null
null
src/core/SkShaderCodeDictionary.cpp
TheRakeshPurohit/skia
817dd601f85f986a99d102de8dc42ee8638a56f9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2022 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/core/SkShaderCodeDictionary.h" #include "include/core/SkCombinationBuilder.h" #include "include/effects/SkRuntimeEffect.h" #include "include/private/SkSLString.h...
42.694186
100
0.595174
[ "vector", "model" ]
f0518a42543b9e37bd84bb996011e4d9705ecfe6
8,609
hpp
C++
src/app/obstacle-shape.hpp
mimo31/fluid-sim
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
1
2020-11-26T17:20:28.000Z
2020-11-26T17:20:28.000Z
src/app/obstacle-shape.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
src/app/obstacle-shape.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
/** * obstacle-shape.hpp * * Author: Viktor Fukala * Created on 2021/01/14 */ #ifndef OBSTACLE_SHAPE_HPP #define OBSTACLE_SHAPE_HPP #define _USE_MATH_DEFINES #include <cairomm/context.h> #include <array> #include "grid.hpp" #include "ptr.hpp" #include "str.hpp" #include "tests.hpp" #include "vec.hpp" #include...
30.31338
157
0.729121
[ "object", "shape", "transform", "solid" ]
f051b44ec0831ab98290ba323c6f1fcb4f63a942
4,598
cxx
C++
ThirdParty/QtTesting/vtkqttesting/pqLineEditEventTranslator.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
ThirdParty/QtTesting/vtkqttesting/pqLineEditEventTranslator.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
ThirdParty/QtTesting/vtkqttesting/pqLineEditEventTranslator.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
/*========================================================================= Program: ParaView Module: pqLineEditEventTranslator.cxx Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms ...
32.380282
99
0.632449
[ "object" ]
f05b286ecc75ef4a0a646e674686c85e85c15e52
742
cpp
C++
Count Distinct Subsequences/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-01-31T10:22:29.000Z
2021-08-29T08:25:12.000Z
Count Distinct Subsequences/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
6
2020-09-30T19:01:49.000Z
2020-12-17T15:10:54.000Z
Count Distinct Subsequences/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-09-21T14:19:32.000Z
2021-09-15T03:06:41.000Z
// // code_1.cpp // Algorithm // // Created by Mohd Shoaib Rayeen on 23/11/18. // Copyright © 2018 Shoaib Rayeen. All rights reserved. // #include <iostream> #include <vector> #include <string> using namespace std; const int MAX_CHAR = 256; int countSub(string str) { vector<int> last(MAX_CHAR, -1); long n...
20.054054
67
0.525606
[ "vector" ]
f0693c269745662381c9d69e6f44514ef89a3d5e
16,875
cc
C++
test/logging.cc
centreon-lab/centreon-clib
1703b5eccea527bf5237a698a6866a152168825d
[ "Apache-2.0" ]
6
2015-08-04T13:12:12.000Z
2021-07-20T17:44:10.000Z
test/logging.cc
centreon-lab/centreon-clib
1703b5eccea527bf5237a698a6866a152168825d
[ "Apache-2.0" ]
16
2015-05-06T06:42:31.000Z
2022-03-09T08:22:27.000Z
test/logging.cc
centreon-lab/centreon-clib
1703b5eccea527bf5237a698a6866a152168825d
[ "Apache-2.0" ]
6
2016-02-04T16:24:19.000Z
2021-07-20T17:44:09.000Z
/* ** Copyright 2011-2020 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or...
26.700949
81
0.617956
[ "vector" ]
f06a0327ff450c381910ea75dd126d59e644e2c5
1,490
hpp
C++
practices/20211007/members.hpp
liff-engineer/articles
ad3386ef9cda5083793f485e309a9f85ab36f664
[ "MIT" ]
2
2020-12-01T06:44:41.000Z
2021-11-22T06:07:52.000Z
practices/20211007/members.hpp
liff-engineer/articles
ad3386ef9cda5083793f485e309a9f85ab36f664
[ "MIT" ]
null
null
null
practices/20211007/members.hpp
liff-engineer/articles
ad3386ef9cda5083793f485e309a9f85ab36f664
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> namespace abc { namespace detail { template<typename T> struct member_helper : std::false_type {}; template<typename T, typename R> struct member_helper<R T::*> : std::is_member_object_pointer<R T::*> { using type = T; usi...
31.041667
88
0.64698
[ "object" ]
f06d7590d75c6f3a0d8586a053435707626234be
22,972
cpp
C++
src/Engine/text/TextWindow.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
13
2021-06-30T15:47:33.000Z
2021-09-18T15:44:34.000Z
src/Engine/text/TextWindow.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
null
null
null
src/Engine/text/TextWindow.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
7
2021-06-30T17:14:41.000Z
2021-10-14T01:41:18.000Z
#include "stdafx.h" //------------------------------------------------------------------------------ //Copyright Robert Pelloni. //All Rights Reserved. //------------------------------------------------------------------------------ //#pragma once Logger TextWindow::log = Logger("TextWindow"); //============...
28.823087
254
0.555024
[ "render" ]
f06f27821287435a82dbaeb55d70045c40ab50bf
7,723
cpp
C++
kits/appkit/native/test/mock/include/mock_resourceManager_interface1.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
1
2021-11-23T08:13:14.000Z
2021-11-23T08:13:14.000Z
kits/appkit/native/test/mock/include/mock_resourceManager_interface1.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
null
null
null
kits/appkit/native/test/mock/include/mock_resourceManager_interface1.cpp
openharmony-sig-ci/appexecfwk_standard
609acd8632803202bd8af4c2a6bfc99ecf61ea2e
[ "Apache-2.0" ]
1
2021-09-13T11:17:54.000Z
2021-09-13T11:17:54.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
27.098246
106
0.625664
[ "vector" ]
7eba72f88833d4039bb3c7d1ad1554bb0177b7db
668
hpp
C++
include/game/skirmish/meta/deploymentzonemetaclass.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
include/game/skirmish/meta/deploymentzonemetaclass.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
include/game/skirmish/meta/deploymentzonemetaclass.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#ifndef QRW_DEPLOYMENTZONEMETACLASS_HPP #define QRW_DEPLOYMENTZONEMETACLASS_HPP #include "meta/reflectable.hpp" #include "meta/metaclass.hpp" namespace qrw { class DeploymentZoneMetaClass final : public MetaClass { public: explicit DeploymentZoneMetaClass(const MetaManager& metaManager); void serialize(const Refl...
24.740741
81
0.80988
[ "object" ]
7eba8276cefe2ba6ea09ed2510d1b9ebe5ca2223
6,501
cc
C++
tools/springio/springio.cc
originalsouth/libmd
bf5423713328cbe5757603f8ee3700fb075dd7c1
[ "BSD-4-Clause-UC" ]
2
2019-05-27T14:19:03.000Z
2019-09-03T12:59:22.000Z
tools/springio/springio.cc
originalsouth/libmd
bf5423713328cbe5757603f8ee3700fb075dd7c1
[ "BSD-4-Clause-UC" ]
null
null
null
tools/springio/springio.cc
originalsouth/libmd
bf5423713328cbe5757603f8ee3700fb075dd7c1
[ "BSD-4-Clause-UC" ]
null
null
null
//////////////////////////////////// // I/O for 2D spring networks // // Convenience functions for // // interfacing with files such as // // Stephan's MD input/output // //////////////////////////////////// #include <iostream> #include <fstream> using namespace std; #define INDEXSHIFT 0 // set to 1 for...
32.183168
117
0.588679
[ "vector" ]
7ec656678e3c882ccbbd760749d018abef30f1de
2,662
cpp
C++
Greedy Algorithms/Kruskal's Algorithm/SolutionbyKarna.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
261
2019-09-30T19:47:29.000Z
2022-03-29T18:20:07.000Z
Greedy Algorithms/Kruskal's Algorithm/SolutionbyKarna.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
647
2019-10-01T16:51:29.000Z
2021-12-16T20:39:44.000Z
Greedy Algorithms/Kruskal's Algorithm/SolutionbyKarna.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
383
2019-09-30T19:32:07.000Z
2022-03-24T16:18:26.000Z
#include <iostream> #include <vector> #include <utility> #include <algorithm> /* Define an edge struct to handle edges more easily.*/ struct edge { int first, second, weight; }; /* Needed to typedef to reduce keystrokes or copy/paste */ typedef std::vector< std::vector< std::pair<int,int> > > adj_list; std::vector<...
24.422018
93
0.643125
[ "vector" ]
7ed849e76bd99bff87dc728c1957b4ecfcc7782a
9,335
cpp
C++
RcsPySim/src/cpp/core/action/AMTaskActivation.cpp
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
RcsPySim/src/cpp/core/action/AMTaskActivation.cpp
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
RcsPySim/src/cpp/core/action/AMTaskActivation.cpp
jacarvalho/SimuRLacra
a6c982862e2ab39a9f65d1c09aa59d9a8b7ac6c5
[ "BSD-3-Clause" ]
null
null
null
#include "AMTaskActivation.h" #include "ActionModelIK.h" #include "../util/eigen_matnd.h" #include <Rcs_macros.h> #include <utility> /*! Compute the column-wise softmax \f$ \sigma(x)_{i,j} = \frac{e^{x_{i,j}}}{\sum_{k=1}^{K} e^{x_{k,j}}} \f$. * The entries of the resulting matrix sum to one * @param[in] src inpu...
27.865672
122
0.576111
[ "vector", "model" ]
7edb1ced301624d7a8d1c0555a7f1ad28dc2e834
17,021
cpp
C++
PrototypeEngine/src/core/PrototypeShaderBuffer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
2
2021-08-19T17:15:49.000Z
2021-12-28T22:48:47.000Z
PrototypeEngine/src/core/PrototypeShaderBuffer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
null
null
null
PrototypeEngine/src/core/PrototypeShaderBuffer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
null
null
null
/// Copyright 2021 Omar Sherif Fathy /// /// 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 applicab...
47.677871
131
0.485283
[ "vector" ]
7edc649b3b2baaf8d362c4ad4ae6d5f8ea8efc89
9,789
cpp
C++
Tools/EntityInterface/PlacementEntities.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
1
2016-06-01T10:41:12.000Z
2016-06-01T10:41:12.000Z
Tools/EntityInterface/PlacementEntities.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
null
null
null
Tools/EntityInterface/PlacementEntities.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
null
null
null
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "PlacementEntities.h" #include "../../SceneEngine/PlacementsManager.h" #include "../../Utility/StringFormat.h" #include "../../Utilit...
38.845238
111
0.607212
[ "object", "model", "transform" ]
7edcfc3dab91d32cd7f716abbda563986de09ca1
10,236
cpp
C++
src/gpgmm/vk/ResourceAllocatorVk.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
1
2022-02-13T15:48:36.000Z
2022-02-13T15:48:36.000Z
src/gpgmm/vk/ResourceAllocatorVk.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
16
2021-10-05T21:32:14.000Z
2022-03-30T11:39:21.000Z
src/gpgmm/vk/ResourceAllocatorVk.cpp
intel/GPGMM
75b953cb0fc6ffd265eb0a77fab36bdb6a401e4f
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The GPGMM Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
38.337079
100
0.628273
[ "vector" ]
7ede1792dbbfbce2d102074f798ad631cb0a7ed8
23,488
cpp
C++
Max3D/hoa.3d.map_tilde.cpp
CICM/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
71
2015-02-23T12:24:05.000Z
2022-02-15T00:18:30.000Z
Max3D/hoa.3d.map_tilde.cpp
pb5/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
13
2015-04-22T17:13:53.000Z
2020-11-12T10:54:29.000Z
Max3D/hoa.3d.map_tilde.cpp
pb5/HoaLibrary-Max
cfe110ff040cfda0dd3547ee7e9ec7c11d6dd3b6
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2015-04-11T21:34:51.000Z
2020-02-29T14:37:53.000Z
/* // Copyright (c) 2012-2013 Eliott Paris & Pierre Guillot, CICM, Universite Paris 8. // For information on usage and redistribution, and for a DISCLAIMER OF ALL // WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ /** @file hoa.3d.map~.cpp @name hoa.3d.map~ @realname hoa.3d.map~ @t...
40.991274
386
0.606437
[ "object", "3d" ]
7ee1bde2e3c63a04b0bab553efaac68e77804313
1,280
cpp
C++
online_judges/cf/1253/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/cf/1253/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/cf/1253/b/b.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int N = 1e5 + 100, M = 1e6 + 100; int arr[N], in[M], out[M]; int flag = 0; int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); int n; cin >> n; for (int i = 0; i < n; ++i) cin >> arr[i]; bool ok = true; if (n % 2 == 1) ok = false; int i =...
18.285714
50
0.375
[ "vector" ]
7ee24e663daedb0c7fb40d564682070642f24557
3,370
cpp
C++
tests/window_test/window_secondary_menubar_test.cpp
GuangfuWang/threedbody
31c544c25e524cecf107a505c3b4438fc04cd766
[ "BSD-2-Clause" ]
null
null
null
tests/window_test/window_secondary_menubar_test.cpp
GuangfuWang/threedbody
31c544c25e524cecf107a505c3b4438fc04cd766
[ "BSD-2-Clause" ]
null
null
null
tests/window_test/window_secondary_menubar_test.cpp
GuangfuWang/threedbody
31c544c25e524cecf107a505c3b4438fc04cd766
[ "BSD-2-Clause" ]
null
null
null
#include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <stdio.h> #include <filesystem> #include <GLFW/glfw3.h> // Will drag system OpenGL headers #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #include <iostream> #include <imgui_internal.h> int main() { if (!glfwInit...
28.803419
109
0.648071
[ "render" ]
7eed5e9294a6766035f39542bb8300e021f8d73f
3,930
cpp
C++
NavigationDG/jni/ScaleEstimation/ScaleEstimation_export.cpp
LRMPUT/DiamentowyGrant
e824c5c6442c28f960a42e2507c0eec22f7e9754
[ "Apache-2.0" ]
10
2015-11-20T18:49:41.000Z
2021-09-03T04:01:26.000Z
NavigationDGWithSubmodules/OpenAIL/openAILdemo/src/main/jni/ScaleEstimation/ScaleEstimation_export.cpp
LRMPUT/DiamentowyGrant
e824c5c6442c28f960a42e2507c0eec22f7e9754
[ "Apache-2.0" ]
null
null
null
NavigationDGWithSubmodules/OpenAIL/openAILdemo/src/main/jni/ScaleEstimation/ScaleEstimation_export.cpp
LRMPUT/DiamentowyGrant
e824c5c6442c28f960a42e2507c0eec22f7e9754
[ "Apache-2.0" ]
3
2015-07-01T09:47:15.000Z
2018-01-05T04:37:02.000Z
// OpenAIL - Open Android Indoor Localization // Copyright (C) 2015 Michal Nowicki (michal.nowicki@put.poznan.pl) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of ...
31.693548
105
0.773028
[ "object", "vector" ]
7eed78fd6122ee2e33a87d7ca82d19ec9458f15a
13,390
cpp
C++
mac/SimpleLlc.cpp
willcode/PothosComms
6c6ae8ccb6a9c996a67e2ca646aff79c74bb83fa
[ "BSL-1.0" ]
14
2017-10-28T08:40:08.000Z
2022-03-19T06:08:55.000Z
mac/SimpleLlc.cpp
BelmY/PothosComms
9aa48b827b3813b3ba2b98773f3359b30ebce346
[ "BSL-1.0" ]
22
2015-08-25T21:18:13.000Z
2016-12-31T02:23:47.000Z
mac/SimpleLlc.cpp
pothosware/pothos-comms
cff998cca2c9610d3e7e5480fd4fc692c13d3066
[ "BSL-1.0" ]
13
2018-01-03T15:29:44.000Z
2022-03-19T06:09:00.000Z
// Copyright (c) 2015-2017 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include <Pothos/Framework.hpp> #include <Pothos/Util/RingDeque.hpp> #include <Pothos/Util/SpinLock.hpp> #include <thread> #include <mutex> //lock_guard #include <chrono> #include <iostream> #include <cstdint> #include <cstring> //memcpy /******...
34.599483
143
0.617252
[ "object" ]
7ef0cd770604d57d0c8d9b9b0b947d9845bdc903
1,700
hpp
C++
courses/value_semantics/salesman/salesman.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
4
2022-01-28T15:55:49.000Z
2022-02-15T12:14:32.000Z
courses/value_semantics/salesman/salesman.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
null
null
null
courses/value_semantics/salesman/salesman.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
3
2021-12-27T08:57:07.000Z
2022-01-17T22:22:02.000Z
#ifndef SALESMAN_HPP #define SALESMAP_HPP #include <string> #include <vector> namespace hpc { /******** * CITY * ********/ class city { public: city(const std::string& name, double longitude, double latitude); const std::string& get_name() const;...
18.085106
64
0.542941
[ "vector" ]
7ef1cd9134fc9fd852ad75cb327292c22e1c4714
1,013
hpp
C++
include/cloud_bridge/cloud_bridge_client.hpp
swgu931/cloud_bridge
9201a7664cabb91265a822d7c269b36d48e45388
[ "MIT" ]
3
2020-10-06T23:27:08.000Z
2021-07-10T08:50:04.000Z
include/cloud_bridge/cloud_bridge_client.hpp
swgu931/cloud_bridge
9201a7664cabb91265a822d7c269b36d48e45388
[ "MIT" ]
3
2021-01-27T07:43:41.000Z
2021-02-03T08:35:24.000Z
include/cloud_bridge/cloud_bridge_client.hpp
lge-ros2/cloud_bridge
8e1c3a3a3f2c661c60acad2ff32467d462d0edf7
[ "MIT" ]
2
2021-01-21T08:31:27.000Z
2021-04-12T07:38:41.000Z
/** * @file cloud_bridge_client.hpp * @date 2021-01-28 * @author Sungkyu Kang * @brief * Cloud Bridge class Transfer ROS2 message to cloud using ZeroMQ * @remark * @copyright * LGE Advanced Robotics Laboratory * Copyright(C) 2020 LG Electronics Co., LTD., Seoul, Korea * ...
25.325
135
0.722606
[ "vector" ]
7ef7c29409ad42f11ea081b5d14370ed8b7fff19
13,861
cpp
C++
risc_visual/src/pong.cpp
riscmaster/risc_maap
48b0ab79c1938bc3ed36442894dd4bf3091a2942
[ "BSD-2-Clause" ]
1
2017-04-30T19:33:37.000Z
2017-04-30T19:33:37.000Z
risc_visual/src/pong.cpp
riscmaster/risc_maap
48b0ab79c1938bc3ed36442894dd4bf3091a2942
[ "BSD-2-Clause" ]
1
2019-09-12T02:29:39.000Z
2019-09-12T02:29:39.000Z
risc_visual/src/pong.cpp
riscmaster/risc_maap
48b0ab79c1938bc3ed36442894dd4bf3091a2942
[ "BSD-2-Clause" ]
2
2016-03-07T00:47:59.000Z
2018-10-06T17:43:10.000Z
/* * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
27.666667
118
0.645408
[ "vector" ]
7efa6e4c2cc45c8cc2041a3d33b44d20d2001d2a
22,053
cpp
C++
frame/aio/src/aioselector_epoll.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/aio/src/aioselector_epoll.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/aio/src/aioselector_epoll.cpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
// frame/aio/src/aioselector_epoll.cpp // // Copyright (c) 2007, 2008, 2013 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // 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...
26.47419
140
0.63497
[ "object", "vector", "solid" ]
7d068937de0c50253fa4f28894b78f0d7033cc21
35,723
cpp
C++
PestRidDlg-back.cpp
GregoryMorse/PestRid
e9670a020f13c0fab8de18a8d54a8caf13e673c5
[ "Unlicense" ]
3
2016-08-30T09:19:12.000Z
2019-04-09T06:46:59.000Z
PestRidDlg-back.cpp
GregoryMorse/PestRid
e9670a020f13c0fab8de18a8d54a8caf13e673c5
[ "Unlicense" ]
null
null
null
PestRidDlg-back.cpp
GregoryMorse/PestRid
e9670a020f13c0fab8de18a8d54a8caf13e673c5
[ "Unlicense" ]
null
null
null
// Gregory Morse // PestRidDlg.cpp : implementation file // #include "stdafx.h" #include "PestRid.h" #include "PestRidDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif BEGIN_MESSAGE_MAP(CCustomListCtrl, CListCtrl) ON_WM_VSCROLL() ON_WM_MOUSEWHEEL() ON_WM_KEYDOWN() ON_WM_KEYUP() ON_WM_SIZE() END_MESSAGE_MAP() ...
38.043663
521
0.726339
[ "object", "model" ]
7d1270b0fc04658e5ad0fd31f15ac0a6dafc980c
3,784
cpp
C++
SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLFontBuffer.cpp
phoenixzz/VoronoiMapGen
5afd852f8bb0212baba9d849178eb135f62df903
[ "MIT" ]
11
2017-03-03T03:31:15.000Z
2019-03-01T17:09:12.000Z
SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLFontBuffer.cpp
phoenixzz/VoronoiMapGen
5afd852f8bb0212baba9d849178eb135f62df903
[ "MIT" ]
null
null
null
SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLFontBuffer.cpp
phoenixzz/VoronoiMapGen
5afd852f8bb0212baba9d849178eb135f62df903
[ "MIT" ]
2
2017-03-03T03:31:17.000Z
2021-05-27T21:50:43.000Z
static uint16 FONT_index[6] = { 0, 1, 2, 2, 1, 3 }; COpenGLFontBuffer::COpenGLFontBuffer(uint32 OpenGLTexture, COpenGLRenderDevice* pDevice) : m_TextureID(OpenGLTexture), m_pRenderDevice(pDevice), m_nNumTris(0) { m_pVBO = new COpenGLVertexBufferObject( m_pRenderDevice ); m_pVBO->createVAO(); m_pVBO->bindVAO(...
33.486726
115
0.739165
[ "render" ]
7d14f960f85afaa91b87650c4ccf1e6cd22e5b70
763
cpp
C++
server/src/Client.cpp
qqwertyui/chatty
5816f487d5faeb0f55a1cba928c9bb89b1edfe24
[ "MIT" ]
null
null
null
server/src/Client.cpp
qqwertyui/chatty
5816f487d5faeb0f55a1cba928c9bb89b1edfe24
[ "MIT" ]
null
null
null
server/src/Client.cpp
qqwertyui/chatty
5816f487d5faeb0f55a1cba928c9bb89b1edfe24
[ "MIT" ]
null
null
null
#include "Client.hpp" #include <stdexcept> Client::Client(TCPSocketWrapper *conn, const std::string &username) : conn(conn), username(username) {} Client::~Client() { this->conn->disconnect(); } unsigned int Client::send(std::vector<unsigned char> &buffer) { return this->conn->send(buffer); } unsigned int Cli...
28.259259
72
0.70249
[ "vector" ]
7d210fea619e476d424c979c36d343b2b48e137d
3,214
cpp
C++
src/sensesp/sensors/digital_input.cpp
gregsyoung/SensESP
4be5286f9b156b94ce6f7918cdfadbe40580b08c
[ "Apache-2.0" ]
null
null
null
src/sensesp/sensors/digital_input.cpp
gregsyoung/SensESP
4be5286f9b156b94ce6f7918cdfadbe40580b08c
[ "Apache-2.0" ]
null
null
null
src/sensesp/sensors/digital_input.cpp
gregsyoung/SensESP
4be5286f9b156b94ce6f7918cdfadbe40580b08c
[ "Apache-2.0" ]
null
null
null
#include "digital_input.h" #include <elapsedMillis.h> #include <FunctionalInterrupt.h> #include "sensesp.h" namespace sensesp { void DigitalInputState::get_configuration(JsonObject& root) { root["read_delay"] = read_delay_; } static const char SCHEMA2[] PROGMEM = R"###({ "type": "object", "properties": {...
27.470085
160
0.662103
[ "object" ]
7d25a1880444540997eed6d2919cee1aa3e34146
2,256
cpp
C++
graph-source-code/61-D/2108300.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/61-D/2108300.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/61-D/2108300.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <cstring> #include <cstdio> #include <queue> #include <vector> using namespace std; #define M 100100 #define inf 0x7fffffff struct node{ int x,wei; }a; vector<node>v[M]; queue<int>q; int n,parent[M]; long long dis[M],sum; bool visit[M]; void inser...
20.324324
45
0.379876
[ "vector" ]
7d260cd7716e415e7311641339a25ec416915906
2,634
cpp
C++
third_party/CppAD/example/utility/index_sort.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/example/utility/index_sort.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/example/utility/index_sort.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-20 Bradley M. Bell CppAD is distributed under the terms of the Eclipse Public License Version 2.0. This Source Code may also be made available under the following Secon...
27.4375
79
0.514047
[ "vector" ]
7d26e27da9e0dad18cced4e795015f563406838d
635
hh
C++
src/Dust/Helper/DefaultHelper.hh
nathandavies91/dust-hh
8d9fd1920dea99e05b8cb93bc25599314a9633e8
[ "MIT" ]
1
2015-03-12T21:00:20.000Z
2015-03-12T21:00:20.000Z
src/Dust/Helper/DefaultHelper.hh
nathandavies91/dust-hh
8d9fd1920dea99e05b8cb93bc25599314a9633e8
[ "MIT" ]
null
null
null
src/Dust/Helper/DefaultHelper.hh
nathandavies91/dust-hh
8d9fd1920dea99e05b8cb93bc25599314a9633e8
[ "MIT" ]
null
null
null
<?hh // strict namespace Dust\Helper; use Dust\Evaluate; class DefaultHelper { /** * @param \Dust\Evaluate\Chunk $chunk * @param \Dust\Evaluate\Context $context * @param \Dust\Evaluate\Bodies $bodies * @return \Dust\Evaluate\Chunk */ public function __invoke(Evaluate\Chunk $chunk, Evaluate\Context $conte...
23.518519
118
0.697638
[ "render" ]
7d34f45a8552c6a8a55b10eeba24a9e51096b6e1
1,458
hpp
C++
CustomEngine/CustomEngine/Core/Utilities/Helpers.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
null
null
null
CustomEngine/CustomEngine/Core/Utilities/Helpers.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
null
null
null
CustomEngine/CustomEngine/Core/Utilities/Helpers.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
1
2020-06-29T07:13:57.000Z
2020-06-29T07:13:57.000Z
#pragma once #include <SFML/Graphics/Text.hpp> #include <fstream> namespace Utils { inline float GetSFMLTextMaxHeight(const sf::Text& l_text) { auto charSize = l_text.getCharacterSize(); auto font = l_text.getFont(); auto string = l_text.getString().toAnsiString(); bool bold = (l_text.getStyle() & sf::Text::B...
30.375
133
0.653635
[ "vector" ]
7d3d928e528e14b35e7ceb5812c8e29587d484cf
6,124
hpp
C++
source/lix/code/instr.hpp
vector-of-bool/lix
b4f590abbdc9aedc92347d3b7a33854c05f7066e
[ "MIT" ]
2
2018-09-15T10:17:32.000Z
2022-01-29T04:01:02.000Z
source/lix/code/instr.hpp
vector-of-bool/lix
b4f590abbdc9aedc92347d3b7a33854c05f7066e
[ "MIT" ]
null
null
null
source/lix/code/instr.hpp
vector-of-bool/lix
b4f590abbdc9aedc92347d3b7a33854c05f7066e
[ "MIT" ]
null
null
null
#ifndef LIX_CODE_INSTR_HPP_INCLUDED #define LIX_CODE_INSTR_HPP_INCLUDED #include <lix/code/types.hpp> #include <lix/symbol.hpp> #include <cassert> #include <string> #include <variant> #include <vector> #include <ostream> namespace lix::code { namespace is_types { struct ret { slot_ref_t slot; }; struct call { ...
22.028777
97
0.506042
[ "object", "vector" ]
7d46f8c188cc149e51af24682c9460b696c547ad
517,140
cpp
C++
src/main_6000.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_6000.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_6000.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: System.Linq.Expressions.Interpreter.NullableMethodCallInstruction/System.Linq.Expressions.Interpreter.GetValueOrDefault #include "System/Linq/Expre...
86.175637
488
0.77905
[ "object", "vector" ]
7d4de20e14a938a9998319b82a42fade628b6289
11,689
cpp
C++
training/src/compiler/training/base/layers/activations/impl/SoftMaxActivationCPU.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/compiler/training/base/layers/activations/impl/SoftMaxActivationCPU.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/compiler/training/base/layers/activations/impl/SoftMaxActivationCPU.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
// Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. // 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,...
41.896057
190
0.548464
[ "shape", "vector" ]
7d58c0fb5f1aa12445081023c69c5877d6a71e1e
1,423
cpp
C++
HeatingControl/src/main.cpp
nagda91/HeatingControl
f0fbb3ec257761caadf2024651ae886b231680f0
[ "Apache-2.0" ]
2
2020-04-28T18:17:39.000Z
2020-09-06T17:57:03.000Z
HeatingControl/src/main.cpp
nagda91/HeatingControl
f0fbb3ec257761caadf2024651ae886b231680f0
[ "Apache-2.0" ]
2
2021-01-24T16:32:14.000Z
2021-02-12T14:52:40.000Z
HeatingControl/src/main.cpp
nagda91/HeatingControl
f0fbb3ec257761caadf2024651ae886b231680f0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <ctime> #include <time.h> #include <sstream> #include <vector> #include <wiringPi.h> #include <thread> #include <mosquittopp.h> #include <mosquitto.h> #include "Core.h" #define CLIENT_ID "HeatingControl" #define MQTT_PORT 1883; #define MQTT_TOPIC "topic...
20.042254
59
0.672523
[ "vector" ]
7d64e3de27160d8dcebe6bc1b45bfa83fab5f10b
13,409
cpp
C++
drivers/storage/volsnap/vss/server/tests/writer/writerconfig.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
drivers/storage/volsnap/vss/server/tests/writer/writerconfig.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
drivers/storage/volsnap/vss/server/tests/writer/writerconfig.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* **++ ** ** Copyright (c) 2002 Microsoft Corporation ** ** ** Module Name: ** ** writerconfig.cpp ** ** ** Abstract: ** ** defines classes that encapsulate the Test writer's configuration ** ** Author: ** ** Reuven Lax [reuvenl] 04-June-2002 ** ** ** ** Revision History: ** **--...
30.20045
110
0.657394
[ "transform" ]
de11b7207b4a59803a2b6f27b7112d434f3f968f
19,636
cpp
C++
easy-ip.cpp
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
12
2015-12-04T05:59:12.000Z
2020-08-01T00:33:30.000Z
easy-ip.cpp
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
1
2020-10-04T19:41:26.000Z
2020-10-04T19:41:26.000Z
easy-ip.cpp
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
6
2016-04-10T20:31:03.000Z
2020-10-04T06:13:27.000Z
// Petter Strandmark 2013 // petter.strandmark@gmail.com #include <memory> #include <iostream> #include <sstream> #include <stdexcept> #include <vector> #ifdef HAS_OPENMP #include <omp.h> #endif #include <easy-ip.h> #include <easy-ip-internal.h> void check(bool expr, const char* message) { if (!expr) { throw st...
21.343478
119
0.672031
[ "vector", "model" ]
de13bdafcf80cbf419568228c3a7a7a210ee8b12
1,356
cpp
C++
08_06_heap/heap/heap.cpp
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
83
2019-12-03T08:42:15.000Z
2022-03-30T13:22:37.000Z
08_06_heap/heap/heap.cpp
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
1
2021-08-06T10:40:57.000Z
2021-08-09T06:33:43.000Z
08_06_heap/heap/heap.cpp
Thanalan/GameBookServer-master
506b4fe1eece1a3c0bd1100fe14764b63885b2bf
[ "MIT" ]
45
2020-05-29T03:22:48.000Z
2022-03-21T16:19:01.000Z
// heap.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <cstdio> #include <vector> #include <algorithm> #include <functional> #include <iostream> #define HeapMin 1 void Show(std::vector<int>& data) { std::cout << "数据列表:"; for (int x : data) std::cout << x << " "; std::cout << "顶端:" << data.fro...
18.08
61
0.581858
[ "vector" ]
de14866162a11b243824f3ca85914da7cba6e26e
18,609
cpp
C++
wpn-config.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
2
2020-11-22T23:45:19.000Z
2020-12-14T06:54:31.000Z
wpn-config.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
null
null
null
wpn-config.cpp
commandus/wpn
7064b4effd1d1e502daf6bddcdf126165706ca32
[ "MIT" ]
1
2021-05-13T12:23:19.000Z
2021-05-13T12:23:19.000Z
#include "wpn-config.h" #include <iostream> #include <argtable3/argtable3.h> #include <sys/types.h> #include <sys/stat.h> #include <fstream> #include "google/protobuf/stubs/common.h" #include "config-filename.h" #ifdef _MSC_VER #else #include <dlfcn.h> #endif #include "platform.h" #include "utilstring.h" #define DE...
26.470839
172
0.666989
[ "vector" ]
de18fa42e63b3f6e3d5ce32987943fafbec67a1c
4,301
hpp
C++
src/gpu-sparse-matrix.hpp
inducer/iterative-cuda
e6413cff0466457957d99402f624cae0be06c3cc
[ "MIT" ]
null
null
null
src/gpu-sparse-matrix.hpp
inducer/iterative-cuda
e6413cff0466457957d99402f624cae0be06c3cc
[ "MIT" ]
null
null
null
src/gpu-sparse-matrix.hpp
inducer/iterative-cuda
e6413cff0466457957d99402f624cae0be06c3cc
[ "MIT" ]
1
2020-11-23T09:55:57.000Z
2020-11-23T09:55:57.000Z
/* Iterative CUDA is licensed to you under the MIT/X Consortium license: Copyright (c) 2009 Andreas Kloeckner. 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...
25.005814
91
0.715648
[ "vector" ]
de19327473670e4507ada382a2bcbcea8e0045ce
29,135
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/ESRIShape.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/ESRIShape.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/shp/ESRIShape.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
#if defined(_MSC_VER) || defined(__MINGW32__) #include <stdio.h> #include <io.h> namespace esri { int read(int fd, void * buf, size_t nbytes) { return _read(fd, buf, nbytes); } } #else #include <unistd.h> namespace esri { int read(int fd, void * buf, size_t nb...
22.274465
93
0.554865
[ "shape" ]
de1e402d6ee9a3f6e3efd648154dfba191a8834a
1,772
cpp
C++
sender/ReviewSendermain.cpp
amutamil/review-case-s1b4
f40a87465cbaacf67adf3bcfb12473ee7553210b
[ "MIT" ]
null
null
null
sender/ReviewSendermain.cpp
amutamil/review-case-s1b4
f40a87465cbaacf67adf3bcfb12473ee7553210b
[ "MIT" ]
null
null
null
sender/ReviewSendermain.cpp
amutamil/review-case-s1b4
f40a87465cbaacf67adf3bcfb12473ee7553210b
[ "MIT" ]
1
2020-10-16T05:43:12.000Z
2020-10-16T05:43:12.000Z
#include<iostream> #include<vector> #include<fstream> #include"fileToArrayConverter.h" #include"ColumnFilter.h" using namespace std; void MessageWhenFileNameNotEntered(int argc) { if (FileToArrayConverter::IsArgumentCountEqaulToOne(argc)) { cerr << "File name not passsed" << endl; exit(1); } }...
23.945946
99
0.721219
[ "vector" ]
de2256976a464783d0595e2cb455ac9865b3511e
11,308
cpp
C++
Common/MdfParser/IOVectorLayerDefinition.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Common/MdfParser/IOVectorLayerDefinition.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Common/MdfParser/IOVectorLayerDefinition.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
30.728261
259
0.60833
[ "geometry" ]
de2d1847ddd0e0fb6cb0769eed543f61ecc1dd8d
1,062
hpp
C++
src/org/apache/poi/poifs/storage/BlockList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/storage/BlockList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/storage/BlockList.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/storage/BlockList.java #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <org/apache/poi/poifs/storage/fwd-POI.hpp> #include <java/lang/Object.hpp> template<typename ComponentType, typename... Bases> struct SubArray; namespace poi { nam...
31.235294
133
0.699623
[ "object" ]
de34a6c52f9718dffd20e7a6161bc866158af83e
6,807
hpp
C++
include/quickcpplib/erasure_cast.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
72
2017-06-27T07:14:18.000Z
2022-03-29T08:03:18.000Z
include/quickcpplib/erasure_cast.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
25
2017-08-17T13:42:10.000Z
2022-02-07T14:03:23.000Z
include/quickcpplib/erasure_cast.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
16
2017-10-08T15:31:16.000Z
2022-03-29T08:03:21.000Z
/* Erasure cast extending bit cast. (C) 2018 - 2019 Niall Douglas <http://www.nedproductions.biz/> (3 commits) File Created: May 2019 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 in the accompanyin...
47.93662
312
0.707948
[ "object" ]
de3bf90fada37c55f966d75866369acbd887ef71
8,248
cpp
C++
iwiwi/trace_binarize.cpp
cmk/icfpc2018
2868cdd290879efa263a305171a36c9fac54c733
[ "MIT" ]
12
2018-07-23T16:34:49.000Z
2019-05-31T04:31:00.000Z
iwiwi/trace_binarize.cpp
cmk/icfpc2018
2868cdd290879efa263a305171a36c9fac54c733
[ "MIT" ]
6
2018-08-02T17:25:08.000Z
2019-07-01T06:28:20.000Z
iwiwi/trace_binarize.cpp
cmk/icfpc2018
2868cdd290879efa263a305171a36c9fac54c733
[ "MIT" ]
1
2018-10-02T04:51:09.000Z
2018-10-02T04:51:09.000Z
#include <iostream> #include <sstream> #include <vector> #include <memory> #include <fstream> #include <cassert> using namespace std; // TODO: user-friendly error messages #define CHECK(expr) \ if (expr) { ...
23.83815
87
0.569956
[ "vector" ]
de3de4fa3f6923c03c7effb2da0ee65ff259b8a8
3,554
hpp
C++
cbits/detail/copy.hpp
twesterhout/tcm-swarm
e632d493a9dc0b78c2634c2ac6311abc5f99168a
[ "BSD-3-Clause" ]
null
null
null
cbits/detail/copy.hpp
twesterhout/tcm-swarm
e632d493a9dc0b78c2634c2ac6311abc5f99168a
[ "BSD-3-Clause" ]
null
null
null
cbits/detail/copy.hpp
twesterhout/tcm-swarm
e632d493a9dc0b78c2634c2ac6311abc5f99168a
[ "BSD-3-Clause" ]
null
null
null
// Copyright Tom Westerhout (c) 2018 // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of...
34.173077
78
0.684862
[ "vector" ]
de4e6ca80b5749b058329ea25ea2f0864c0d2680
3,139
cpp
C++
tree/hld.cpp
firiexp/library
5b792b1387ed825739d4a83e6dba52ca22f114d2
[ "CC0-1.0" ]
1
2020-11-06T03:36:03.000Z
2020-11-06T03:36:03.000Z
tree/hld.cpp
firiexp/library
5b792b1387ed825739d4a83e6dba52ca22f114d2
[ "CC0-1.0" ]
null
null
null
tree/hld.cpp
firiexp/library
5b792b1387ed825739d4a83e6dba52ca22f114d2
[ "CC0-1.0" ]
2
2020-11-06T03:39:10.000Z
2021-04-04T04:38:30.000Z
class HeavyLightDecomposition { void dfs_sz(int v){ for (auto &&u : G[v]) { if(u == par[v]) continue; par[u] = v; dep[u] = dep[v] + 1; dfs_sz(u); sub_size[v] += sub_size[u]; if(sub_size[u] > sub_size[G[v][0]]) swap(u, G[v][0]); } } ...
31.079208
153
0.427843
[ "vector" ]
de5462ceb698786d8ddf67e8b0847bb54712aed6
1,472
cpp
C++
Cplus/InvalidTransactions.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/InvalidTransactions.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/InvalidTransactions.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <algorithm> #include <sstream> #include <string> #include <unordered_set> #include <vector> using namespace std; class Solution { private: struct trans { string name; int time; int amount; string city; int index; }; public: vector<string> invalidTransactions(vector<string> &transactions) { v...
18.4
65
0.581522
[ "vector" ]
de576d2f611efffb1c3576dfe91672d67be9aeb7
5,223
cpp
C++
Source/src/components/MeshComponent.cpp
armandojaga/boxer-engine
47d57989e6bf431eea6732ccee6b64083f03472b
[ "MIT" ]
4
2021-11-19T03:31:02.000Z
2021-12-09T19:33:32.000Z
Source/src/components/MeshComponent.cpp
armandojaga/boxer-engine
47d57989e6bf431eea6732ccee6b64083f03472b
[ "MIT" ]
3
2021-12-17T22:48:00.000Z
2022-01-11T11:47:57.000Z
Source/src/components/MeshComponent.cpp
armandojaga/boxer-engine
47d57989e6bf431eea6732ccee6b64083f03472b
[ "MIT" ]
null
null
null
#include "core/bepch.h" #include "MeshComponent.h" #include "modules/ModuleTexture.h" #include "ImGuiFileDialog.h" #include "TransformComponent.h" #include "modules/ModuleProgram.h" static const char* texture_types[]{"Diffuse", "Specular"}; BoxerEngine::MeshComponent::MeshComponent(Entity* entity) : Component(Ty...
28.38587
121
0.623205
[ "mesh", "model" ]
de68aae48288fadc755d29b823e0486d221f3847
104
hpp
C++
NeuralNetwork/LayerAlias.hpp
FerMod/NeuralNetwork
639eaf1a2e0566f5ff7f04dff8ad0156b1691a13
[ "MIT" ]
1
2019-01-27T21:37:46.000Z
2019-01-27T21:37:46.000Z
NeuralNetwork/LayerAlias.hpp
FerMod/NeuralNetwork
639eaf1a2e0566f5ff7f04dff8ad0156b1691a13
[ "MIT" ]
null
null
null
NeuralNetwork/LayerAlias.hpp
FerMod/NeuralNetwork
639eaf1a2e0566f5ff7f04dff8ad0156b1691a13
[ "MIT" ]
null
null
null
#pragma once #include <vector> namespace NeuralNetwork { typedef std::vector<class Neuron> Layer; }
11.555556
41
0.740385
[ "vector" ]
de7066efeaf39bf59334612490a46a915e33b72b
2,912
cpp
C++
demos/demo03.cpp
quantombone/esvmTestCPP
8a698ae12ec3a081a23b94f605c0f044b5e35dd5
[ "MIT" ]
8
2017-03-27T09:05:28.000Z
2021-07-09T15:46:49.000Z
demos/demo03.cpp
bygreencn/esvmTestCPP
8a698ae12ec3a081a23b94f605c0f044b5e35dd5
[ "MIT" ]
null
null
null
demos/demo03.cpp
bygreencn/esvmTestCPP
8a698ae12ec3a081a23b94f605c0f044b5e35dd5
[ "MIT" ]
9
2015-06-10T12:40:24.000Z
2017-08-16T07:02:42.000Z
/* * Author: Ishan Misra * Copyright (C) 2012-13 by Ishan Misra * This file is part of the esvmTestCPP library. * It is released under the MIT License. * Project Homepage: https://github.com/imisra/esvmTestCPP * * demo03.cpp : Using the testing pipeline for Exemplar-SVMs */ #include "esvm.h" #include "esvm_uti...
28.54902
89
0.691277
[ "model" ]
de725fc4c9694b1c222a9e1501ad2a7fe33b617c
19,715
cpp
C++
extensions/scripting/lua-bindings/auto/CCRegisterLuaCoreAuto_03.cpp
wzhengsen/engine-x
f398b94a9a5bb9645c16d12d82d6366589db4e21
[ "MIT" ]
null
null
null
extensions/scripting/lua-bindings/auto/CCRegisterLuaCoreAuto_03.cpp
wzhengsen/engine-x
f398b94a9a5bb9645c16d12d82d6366589db4e21
[ "MIT" ]
null
null
null
extensions/scripting/lua-bindings/auto/CCRegisterLuaCoreAuto_03.cpp
wzhengsen/engine-x
f398b94a9a5bb9645c16d12d82d6366589db4e21
[ "MIT" ]
null
null
null
#include "scripting/lua-bindings/auto/CCRegisterLuaCoreAuto.hpp" #include "cocos2d.h" #include "2d/CCProtectedNode.h" #include "base/CCAsyncTaskPool.h" #include "renderer/CCRenderer.h" #include "renderer/CCPipelineDescriptor.h" #include "renderer/backend/RenderTarget.h" #include "navmesh/CCNavMesh.h" #include "ui/UIWid...
99.070352
512
0.759726
[ "vector" ]
de7c5edad3d3a27057773ff849e871d2887477e7
1,485
cc
C++
src/accepted/11150.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/accepted/11150.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/accepted/11150.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Problem # : 11150 // Created on : 2018-05-28 20:52:39 // Title : Cola // Accepted : Yes #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <algorithm> #include <bitset> #include <deque> #include <functional> #include <iomanip> ...
14.70297
37
0.515152
[ "vector" ]
de885db2c047458b1a2ea20d9b8613fb0c65ba5f
12,539
cpp
C++
ExternalCode/copasi/UI/CQReactionDM.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
1
2021-01-07T13:12:51.000Z
2021-01-07T13:12:51.000Z
ExternalCode/copasi/UI/CQReactionDM.cpp
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
7
2020-04-12T22:25:46.000Z
2020-04-13T07:50:40.000Z
ExternalCode/copasi/UI/CQReactionDM.cpp
daniel-anavaino/tinkercell
7896a7f809a0373ab3c848d25e3691d10a648437
[ "BSD-3-Clause" ]
2
2020-04-12T21:57:01.000Z
2020-04-12T21:59:29.000Z
// Begin CVS Header // $Source: /fs/turing/cvs/copasi_dev/copasi/UI/CQReactionDM.cpp,v $ // $Revision: 1.15.4.3 $ // $Name: Build-33 $ // $Author: shoops $ // $Date: 2010/09/30 17:02:30 $ // End CVS Header // Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of He...
31.987245
161
0.631071
[ "object", "model" ]
de8b6c0c1408e0c0d5778e5c351a5a451ad9daf7
802
cpp
C++
android-31/java/util/IllegalFormatFlagsException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/IllegalFormatFlagsException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/IllegalFormatFlagsException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JString.hpp" #include "./IllegalFormatFlagsException.hpp" namespace java::util { // Fields // QJniObject forward IllegalFormatFlagsException::IllegalFormatFlagsException(QJniObject obj) : java::util::IllegalFormatException(obj) {} // Constructors IllegalFormatFlagsException::IllegalFormatFlags...
22.277778
118
0.724439
[ "object" ]
de966b61f054eab17d4ca3029a16ce81fd38a5f2
18,979
cpp
C++
SDK/Examples/Cpp/Source/SecureCube.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
SDK/Examples/Cpp/Source/SecureCube.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
SDK/Examples/Cpp/Source/SecureCube.cpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2020 3MF Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following...
38.891393
155
0.734918
[ "mesh", "vector", "model", "3d" ]
de9aeeff303bee2aace539b92f07a39f4a3bdac5
5,682
cpp
C++
src/atomdata.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
null
null
null
src/atomdata.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
null
null
null
src/atomdata.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
null
null
null
#include <spdlog/spdlog.h> #include "atomdata.h" #include "units.h" #include "aux/eigensupport.h" namespace Faunus { AtomData::Tid &AtomData::id() { return _id; } const AtomData::Tid &AtomData::id() const { return _id; } void AtomData::setProperty(const TPropertyName name, const double value) { property[name] =...
38.917808
111
0.548574
[ "vector" ]
de9d0faed6547f4b149ebabdfd0b0ef993b71306
5,682
cc
C++
src/foreign_if/server/expose_wrapper.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
63
2018-06-21T14:11:59.000Z
2022-03-30T11:24:36.000Z
src/foreign_if/server/expose_wrapper.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
5
2018-09-22T14:01:53.000Z
2021-12-27T16:11:05.000Z
src/foreign_if/server/expose_wrapper.cc
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
12
2018-08-23T15:59:44.000Z
2022-02-20T06:47:22.000Z
#include "exrpc_svd.hpp" #include "exrpc_eigen.hpp" #include "exrpc_pca.hpp" #include "exrpc_tsne.hpp" #include "exrpc_pblas.hpp" #include "exrpc_scalapack.hpp" #include "short_hand_dense_type.hpp" #include "short_hand_sparse_type.hpp" using namespace frovedis; void expose_frovedis_wrapper_functions() { // --- frov...
50.283186
95
0.696234
[ "vector", "transform" ]
deab8d4bc1751383f63d2ee93ef15137c72d8203
5,160
hpp
C++
include/codegen/include/UnityEngine/EventSystems/PhysicsRaycaster.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/EventSystems/PhysicsRaycaster.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/EventSystems/PhysicsRaycaster.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: UnityEngine.EventSystems.BaseRaycaster #include "UnityEngine...
46.071429
199
0.749225
[ "object" ]
deadfb4c6bcce04b0e368150a3eaf73f6df4c00f
19,834
hpp
C++
deps/UMFLP/src/Functions.hpp
vOptSolver/vOptSpecific
9705cf4fde20dfb14c7f7f6e32b7df1d597b383d
[ "MIT" ]
5
2017-10-06T06:25:28.000Z
2021-10-15T13:23:44.000Z
deps/UMFLP/src/Functions.hpp
vOptSolver/vOptSpecific
9705cf4fde20dfb14c7f7f6e32b7df1d597b383d
[ "MIT" ]
6
2018-02-09T17:14:20.000Z
2021-07-24T14:10:09.000Z
deps/UMFLP/src/Functions.hpp
vOptSolver/vOptSpecific
9705cf4fde20dfb14c7f7f6e32b7df1d597b383d
[ "MIT" ]
4
2017-08-28T22:28:05.000Z
2020-02-08T11:13:33.000Z
/* #License and Copyright #Version : 1.3 #This file is part of BiUFLv2017. #BiUFLv2017 is Copyright © 2017, University of Nantes #BiUFLv2017 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either vers...
49.959698
446
0.752647
[ "object", "vector" ]