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
263492dab116c7b753b51dea88433e187ac454eb
4,837
cpp
C++
word-hero.cpp
Ad1tyaV/WordHero-solver
034951510fc7f860499a3cce714ead0f5b6a7317
[ "MIT" ]
null
null
null
word-hero.cpp
Ad1tyaV/WordHero-solver
034951510fc7f860499a3cce714ead0f5b6a7317
[ "MIT" ]
null
null
null
word-hero.cpp
Ad1tyaV/WordHero-solver
034951510fc7f860499a3cce714ead0f5b6a7317
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<iostream> #include<vector> #include "trie.h" #include <fstream> #include<unordered_set> #define ROWS 4 #define COLS 4 using namespace std; using namespace Trie; unordered_set<string> elements; vector<vector<bool>> visited; vector<pair<int, int>> directions = { {1,0}, ...
24.064677
112
0.464751
[ "vector", "transform" ]
263a352a57d6aee079de1b057734d1d1b2e92a45
2,292
cc
C++
2203/lab1/window8.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
2203/lab1/window8.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
2203/lab1/window8.cc
rmwhitaker23/schoolwork
e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12
[ "MIT" ]
null
null
null
/* window7.cc -- Repeatedly read a win # and erase its char with windows in a 3 x 3 grid Author: Larry Morell Modification History Date Action 09/10/18 -- Original version ID code: 5AYVK3r3f.ARA */ using namespace std; #include <iostream> #include <iomanip> #include <string> #include <ncu...
25.752809
89
0.534904
[ "model" ]
2642855606c0e0815a791b45fbcbffd3f04a19fb
4,151
hh
C++
hackt_docker/hackt/src/sim/chpsim/nonmeta_context.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/sim/chpsim/nonmeta_context.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/sim/chpsim/nonmeta_context.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "sim/chpsim/nonmeta_context.hh" This is used to lookup run-time values and references. $Id: nonmeta_context.hh,v 1.8 2010/04/07 00:13:08 fang Exp $ */ #ifndef __HAC_SIM_CHPSIM_NONMETA_CONTEXT_H__ #define __HAC_SIM_CHPSIM_NONMETA_CONTEXT_H__ #include <vector> // only need fwd decl #include "Object/non...
27.309211
79
0.725849
[ "object", "vector" ]
26510f0717f2ddaedd285e712da48dd0d8a0a5bf
9,432
cpp
C++
source/network/network.cpp
keldu/terraria-devoured
105d65fe6319bd655a394a52c64c4af51d3c0243
[ "MIT" ]
2
2020-03-14T22:11:07.000Z
2020-03-26T22:36:02.000Z
source/network/network.cpp
keldu/terraria-devoured
105d65fe6319bd655a394a52c64c4af51d3c0243
[ "MIT" ]
17
2019-11-26T19:42:29.000Z
2020-03-25T19:32:46.000Z
source/network/network.cpp
keldu/terraria-devoured
105d65fe6319bd655a394a52c64c4af51d3c0243
[ "MIT" ]
null
null
null
#include "network.h" #include <sys/socket.h> #include <sys/types.h> #include <sys/un.h> #include <sys/stat.h> #include <sys/epoll.h> #include <endian.h> #include <unistd.h> #include <errno.h> #include <cstring> #include <cassert> #include <iostream> const size_t read_buffer_size = 4096; const size_t write_buffer_si...
21.986014
127
0.661472
[ "vector" ]
265d0e1eba115d8bf4fa1ac60f04ff8647676588
2,471
cc
C++
out/euler21.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
22
2017-04-24T10:00:45.000Z
2021-04-01T10:11:05.000Z
out/euler21.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
12
2017-03-26T18:34:21.000Z
2019-03-21T19:13:03.000Z
out/euler21.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
7
2017-10-14T13:33:33.000Z
2021-03-18T15:18:50.000Z
#include <iostream> #include <vector> int eratostene(std::vector<int> * t, int max0) { int n = 0; for (int i = 2; i < max0; i++) if (t->at(i) == i) { n++; int j = i * i; while (j < max0 && j > 0) { t->at(j) = 0; j +...
23.759615
92
0.418859
[ "vector" ]
2662f178437b6788b7205e0e053cf135d12a3af4
8,426
cpp
C++
src/cudafeatures2d.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
239
2015-10-13T17:19:40.000Z
2021-11-30T11:30:26.000Z
src/cudafeatures2d.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
202
2015-10-24T09:01:57.000Z
2020-07-28T17:20:12.000Z
src/cudafeatures2d.cpp
manuelvolk/torch-opencv
edcaa452c9698fc0b113d0e0ffbeaa55c18db5c3
[ "MIT" ]
69
2015-11-15T15:02:27.000Z
2022-02-12T16:14:52.000Z
#include <cudafeatures2d.hpp> extern "C" struct DescriptorMatcherPtr createBFMatcherCuda(int normType) { return rescueObjectFromPtr(cuda::DescriptorMatcher::createBFMatcher(normType)); } extern "C" bool DescriptorMatcher_isMaskSupportedCuda(struct DescriptorMatcherPtr ptr) { return ptr->isMaskSupported(); } ...
34.962656
96
0.748042
[ "vector" ]
2666e0ab109f98c01e5bdcace976c869cd76553f
1,685
cpp
C++
sources/Leetcodes/src/6_zigzag_conversion.cpp
mcoder2014/myNotes
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
4
2020-06-22T13:20:26.000Z
2020-06-24T08:43:11.000Z
sources/Leetcodes/src/6_zigzag_conversion.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
sources/Leetcodes/src/6_zigzag_conversion.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; /*** * The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by...
20.301205
172
0.525816
[ "vector" ]
2670ea5bd7ea00803b8ad38714dea8662de3004e
3,662
cc
C++
r-kvstore/src/model/DescribeDBInstanceNetInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
r-kvstore/src/model/DescribeDBInstanceNetInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
r-kvstore/src/model/DescribeDBInstanceNetInfoResult.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...
43.082353
117
0.801202
[ "vector", "model" ]
2677527ed4f1e8ebfe7d5260c01e6fdf2d7c3adc
3,159
hpp
C++
includes/CryptoUtils.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/CryptoUtils.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/CryptoUtils.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
#ifndef CRYPTO_UTILS_HPP #define CRYPTO_UTILS_HPP #include <algorithm> #include <cassert> #include <cstdint> #include <cstring> #include <exception> #include <iomanip> #include <sstream> #include <string> #include <type_traits> #include <utility> #include <vector> #include <openssl/bn.h> #include <openssl/ec.h> #incl...
27.955752
79
0.736942
[ "vector" ]
26824f976ff2cd84549d02a223e0d70ec82485e4
529
hh
C++
ParticleID/inc/PIDUtilities.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
ParticleID/inc/PIDUtilities.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
ParticleID/inc/PIDUtilities.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#ifndef ParticleID_Utilities_hh #define ParticleID_Utilities_hh // // Original author Vadim Rusu // // C++ includes #include <vector> #include <map> //ROOT includes #include "TH1D.h" namespace mu2e { class PIDUtilities{ public: PIDUtilities() {} TH1D *th1dmorph( TH1D *,TH1D *, ...
15.114286
61
0.599244
[ "vector" ]
2686ad6213ea0a8c867fa6ae63b742bee574837e
10,464
cxx
C++
PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGLF/SPECTRA/PiKaPr/TestAOD/AliAnalysisTaskSpectraAOD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
41.689243
180
0.65367
[ "object" ]
2689d94a18db93544aa41a3ecb04fd0ce1215016
1,495
hh
C++
include/HCal.hh
freddyox/hcal-dev
cb0cf2830e6f6c1cddad905c1c2fa4a526b061a9
[ "MIT" ]
null
null
null
include/HCal.hh
freddyox/hcal-dev
cb0cf2830e6f6c1cddad905c1c2fa4a526b061a9
[ "MIT" ]
null
null
null
include/HCal.hh
freddyox/hcal-dev
cb0cf2830e6f6c1cddad905c1c2fa4a526b061a9
[ "MIT" ]
null
null
null
#ifndef HCAL_HH #define HCAL_HH #include <SFML/Graphics.hpp> #include <vector> #include <map> #include <set> class HCal : public sf::Drawable, public sf::Transformable { private: float displayx, displayy; sf::Vector2f center_display; // Module Properties float mylar; sf::Vector2f size; float minx, maxx,...
24.112903
80
0.710368
[ "vector" ]
26a5552c8f46ee781faf2708f982a3877b8151e9
2,854
cpp
C++
src/widget/tagselector.cpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
src/widget/tagselector.cpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
src/widget/tagselector.cpp
degarashi/sprinkler
afc6301ae2c7185f514148100da63dcef94d7f00
[ "MIT" ]
null
null
null
#include "tagselector.hpp" #include "../tagselect_model.hpp" #include "../tagvalidator.hpp" #include "../dbtag_if.hpp" #include "../database_sig.hpp" #include "ui_tagselector.h" #include <QSqlTableModel> namespace dg::widget { TagSelector::TagSelector(QWidget* parent): QWidget(parent), _ui(new Ui::TagSelector), ...
28.828283
82
0.672039
[ "vector" ]
564c04e25d1d224ad4a183f353bd2fe49fc6a61e
12,863
cpp
C++
osm2csv.cpp
TimSC/pgmap-query
02a274172ec651e41db89bffd7b11d1f91eb5488
[ "MIT" ]
2
2018-09-01T00:32:35.000Z
2019-03-24T15:10:41.000Z
osm2csv.cpp
TimSC/pgmap-query
02a274172ec651e41db89bffd7b11d1f91eb5488
[ "MIT" ]
5
2018-02-05T01:53:48.000Z
2019-05-12T20:22:14.000Z
osm2csv.cpp
TimSC/pgmap-query
02a274172ec651e41db89bffd7b11d1f91eb5488
[ "MIT" ]
1
2021-03-18T10:15:41.000Z
2021-03-18T10:15:41.000Z
#include "cppGzip/DecodeGzip.h" #include "cppGzip/EncodeGzip.h" #include "cppo5m/OsmData.h" #include <iostream> #include <fstream> #include <sstream> #include "dbjson.h" #include "util.h" using namespace std; /* select * from pg_stat_activity; SELECT *, ST_X(geom) as lon, ST_Y(geom) AS lat FROM andorra_nodes WHERE ge...
36.030812
146
0.676359
[ "vector" ]
565049f64dbe754723d4119823c0c85090d0a10e
656
hpp
C++
ietf/ydk/models/ietf/ietf_inet_types.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
ietf/ydk/models/ietf/ietf_inet_types.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
ietf/ydk/models/ietf/ietf_inet_types.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _IETF_INET_TYPES_ #define _IETF_INET_TYPES_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace ietf { namespace ietf_inet_types { class IpVersion : public ydk::Enum { public: static const ydk::Enum::YLeaf unknown; static cons...
19.294118
61
0.609756
[ "vector" ]
5658ebc1d60f53632ec73fdfca9833c524c1eef9
4,422
cpp
C++
test/asmjit_test_unit.cpp
clayne/asmjit
a4cb51b532af0f8137c4182914244c3b05d7745f
[ "Zlib" ]
2,354
2016-07-13T16:08:25.000Z
2022-03-31T13:28:02.000Z
test/asmjit_test_unit.cpp
clayne/asmjit
a4cb51b532af0f8137c4182914244c3b05d7745f
[ "Zlib" ]
223
2016-07-14T17:32:11.000Z
2022-03-31T23:02:01.000Z
test/asmjit_test_unit.cpp
clayne/asmjit
a4cb51b532af0f8137c4182914244c3b05d7745f
[ "Zlib" ]
386
2016-07-23T09:02:14.000Z
2022-03-09T14:04:43.000Z
// This file is part of AsmJit project <https://asmjit.com> // // See asmjit.h or LICENSE.md for license and copyright information // SPDX-License-Identifier: Zlib #include <asmjit/core.h> #if !defined(ASMJIT_NO_X86) #include <asmjit/x86.h> #endif #include "asmjitutils.h" #include "broken.h" using namespace asmjit;...
25.560694
69
0.64066
[ "model" ]
56619bc1b1f40b8f419d8fab1284d6495f9b6bdf
5,124
cpp
C++
examples/ini.cpp
r35382/bnflite
aac103f99d418c29d37140e19ba46070dd75c89a
[ "MIT" ]
70
2017-02-26T10:47:32.000Z
2022-03-28T17:38:02.000Z
examples/ini.cpp
r35382/bnflite
aac103f99d418c29d37140e19ba46070dd75c89a
[ "MIT" ]
3
2018-03-18T17:26:52.000Z
2021-12-06T10:41:44.000Z
examples/ini.cpp
r35382/bnflite
aac103f99d418c29d37140e19ba46070dd75c89a
[ "MIT" ]
5
2017-02-27T10:40:48.000Z
2021-11-22T14:17:15.000Z
/*************************************************************************\ * Parser of configuration ini-files (based on BNFlite) * * Copyright (c) 2017 by Alexander A. Semjonov. ALL RIGHTS RESERVED. * * * * This code is...
32.636943
102
0.559719
[ "object", "vector" ]
566a6ee73716b3b24018cc73f0dba166baba1352
771
cpp
C++
problems/programmers/42842/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
null
null
null
problems/programmers/42842/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
19
2020-06-15T12:53:58.000Z
2020-08-10T04:26:45.000Z
problems/programmers/42842/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define endl "\n" using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; typedef vector<pair<int, int>> vpii; const int dy[4] = {-1, 0, 1, 0}; const int dx[4] = {0, 1, 0, -1}; vector<int> solution(int brown, int yellow) { vector<int> answer; for ...
19.769231
50
0.573281
[ "vector" ]
566b067cb81314b5a4d8e51f67deff5830c4f14d
1,644
hpp
C++
include/solvers/gauss_jordan.hpp
shikharvashistha/hpr-blas
73f109d45701fc3816af0a1ecd42f11d494a6f97
[ "MIT" ]
10
2019-02-13T10:53:51.000Z
2021-11-21T20:30:58.000Z
include/solvers/gauss_jordan.hpp
jamesquinlan/hpr-blas
2975b4378b36a0bdc55d0dbd4f979163f7009678
[ "MIT" ]
3
2020-07-20T16:45:52.000Z
2020-10-17T11:19:32.000Z
include/solvers/gauss_jordan.hpp
jamesquinlan/hpr-blas
2975b4378b36a0bdc55d0dbd4f979163f7009678
[ "MIT" ]
6
2020-03-12T21:20:54.000Z
2021-06-01T05:35:35.000Z
#pragma once // gauss_jordan.hpp: Gauss-Jordan matrix inversion // // Copyright (C) 2017-2019 Stillwater Supercomputing, Inc. // // This file is part of the HPR-BLAS project, which is released under an MIT Open Source license. #include <boost/numeric/mtl/mtl.hpp> namespace sw { namespace hprblas { template<typename ...
26.516129
97
0.563869
[ "transform" ]
5672541a372c25073b3b34f348ff0841e9ba47a4
319
cpp
C++
1036A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
1036A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
1036A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef vector<int> vi; typedef set<char> setchar; typedef set<int> sett; typedef long long ll; #define vec(a) a.begin(),a.end() #define pb push_back int main() { ll n,k,a; cin>>n>>k; a=k/n; if(k%n) {a++;} cout<<a<<endl; return 0; }
12.76
33
0.576803
[ "vector" ]
56742f999bbc95d915770e2a892133245cc38ce6
9,895
hxx
C++
Validator/GenICam/library/CPP/include/xsde/cxx/parser/expat/document.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
null
null
null
Validator/GenICam/library/CPP/include/xsde/cxx/parser/expat/document.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
2
2020-10-30T16:10:09.000Z
2020-11-09T01:55:49.000Z
Validator/GenICam/library/CPP/include/xsde/cxx/parser/expat/document.hxx
genicam/GenICamXmlValidator
f3d0873dc2f39e09e98933aee927274a087a2a90
[ "Apache-2.0" ]
null
null
null
// file : xsde/cxx/parser/expat/document.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #ifndef XSDE_CXX_PARSER_EXPAT_DOCUMENT_HXX #define XSDE_CXX_PARSER_EXPAT_DOCUME...
27.562674
77
0.562304
[ "object" ]
56745f0bc184bbf759faa2f0fa90a964871bad27
1,819
cpp
C++
strategies/gallery.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
strategies/gallery.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
strategies/gallery.cpp
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
/* GALLERY : 감시 카메라 설치 Difficulty : 중 Input : 3 6 5 0 1 1 2 1 3 2 5 0 4 4 2 0 1 2 3 1000 1 0 1 Output : 3 2 999 */ #include <iostream> #include <vector> #define MAX_G 1001 #define U...
15.033058
52
0.4442
[ "vector" ]
56746c35a6f458192f38149536731541937755fd
498
cpp
C++
android-31/java/nio/charset/CoderMalfunctionError.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/nio/charset/CoderMalfunctionError.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/nio/charset/CoderMalfunctionError.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../lang/Exception.hpp" #include "./CoderMalfunctionError.hpp" namespace java::nio::charset { // Fields // QJniObject forward CoderMalfunctionError::CoderMalfunctionError(QJniObject obj) : java::lang::Error(obj) {} // Constructors CoderMalfunctionError::CoderMalfunctionError(java::lang::Exception ...
22.636364
89
0.708835
[ "object" ]
567d87092183806ef35ad20944546c2325dbf57e
7,057
cpp
C++
src/utils/warp_options.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
1
2015-07-04T20:09:20.000Z
2015-07-04T20:09:20.000Z
src/utils/warp_options.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
null
null
null
src/utils/warp_options.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
null
null
null
#include "warp_options.hpp" #include "../gdal_dataset.hpp" #include "../gdal_geometry.hpp" #include "../gdal_common.hpp" #include <stdio.h> namespace node_gdal { WarpOptions::WarpOptions() : options(NULL), additional_options(), src_bands("src band ids"), dst_bands("dst band ids"), src_nodata(NULL), ...
31.932127
101
0.665013
[ "geometry", "object" ]
5685d9ae4c874170051509089fec49e127053d01
3,799
cpp
C++
apps/tests/bezier_merging/_potrace_params.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
27
2020-08-17T17:25:59.000Z
2022-03-01T05:49:12.000Z
apps/tests/bezier_merging/_potrace_params.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
4
2020-08-26T13:54:59.000Z
2020-09-21T07:19:22.000Z
apps/tests/bezier_merging/_potrace_params.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
5
2020-08-26T23:26:48.000Z
2021-01-04T09:06:07.000Z
#include <iostream> // #include <polyvec/api.hpp> #include <polyvec/curve-tracer/bezier_merging.hpp> #include <polyvec/core/log.hpp> #include <polyvec/misc.hpp> #include <polyvec/utils/num.hpp> #include <polyvec/io/vtk_curve_writer.hpp> #include <polyvec/geometry/winding_number.hpp> // #include <Eigen/Core> #include <E...
28.140741
80
0.669387
[ "geometry" ]
5685e795efe94b322001b492fe52cc06a463f6cb
12,701
hpp
C++
sample-servers/sample-server/src/main/headers/nativefx_server.hpp
suyashjoshi/NativeFX
f1736d60830503d61a5d30587defb9cd805dc0d1
[ "Apache-2.0" ]
135
2019-06-16T10:23:49.000Z
2022-03-19T13:20:24.000Z
sample-servers/sample-server/src/main/headers/nativefx_server.hpp
suyashjoshi/NativeFX
f1736d60830503d61a5d30587defb9cd805dc0d1
[ "Apache-2.0" ]
23
2019-06-27T07:21:11.000Z
2021-06-09T08:41:09.000Z
sample-servers/sample-server/src/main/headers/nativefx_server.hpp
suyashjoshi/NativeFX
f1736d60830503d61a5d30587defb9cd805dc0d1
[ "Apache-2.0" ]
14
2019-06-25T12:35:06.000Z
2021-10-19T19:00:49.000Z
// #pragma once // /* // * Copyright 2019-2019 Michael Hoffer <info@michaelhoffer.de>. 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 // * // * h...
35.37883
154
0.584206
[ "object" ]
5688727889cbdb3ce520ec8055262f2d156a109e
1,156
cpp
C++
distributed-implementation/legacy-first-attempt/NimGameState.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
2
2016-12-29T22:58:49.000Z
2018-09-17T17:15:06.000Z
distributed-implementation/legacy-first-attempt/NimGameState.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
null
null
null
distributed-implementation/legacy-first-attempt/NimGameState.cpp
AleksanderGondek/GUT_Manycore_Architectures_MCTS
43607dff9cee76f9a686c56e481ce1a70ad831b7
[ "Apache-2.0" ]
null
null
null
// // Created by agondek on 12/6/15. // #include <sstream> #include <vector> #include "NimGameState.h" NimGameState::NimGameState(int lastActivePlayer, int chips) { this->lastActivePlayer = lastActivePlayer; this->chips = chips; } NimGameState NimGameState::clone(void) { NimGameState deepClone(this->last...
19.931034
106
0.631488
[ "vector" ]
5688aff062fe8ca5066a29838f941219e90ea916
1,120
hpp
C++
code/include/texturing/TexturedPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
4
2016-06-24T09:22:18.000Z
2019-06-13T13:50:53.000Z
code/include/texturing/TexturedPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
null
null
null
code/include/texturing/TexturedPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
2
2016-06-10T12:46:17.000Z
2018-10-14T06:37:21.000Z
#ifndef TEXTURED_PLANE_RENDERABLE_HPP #define TEXTURED_PLANE_RENDERABLE_HPP #include "./../HierarchicalRenderable.hpp" #include "./../lighting/Material.hpp" #include <vector> #include <glm/glm.hpp> class TexturedPlaneRenderable : public HierarchicalRenderable { public : ~TexturedPlaneRenderable(); TexturedPla...
26.046512
89
0.735714
[ "vector" ]
56897012ed61c278253775e33e9b84821f3ececd
1,865
cpp
C++
cpp/src/solutions/median_of_two_sorted_arrays.cpp
LazyWolfLin/leetcode
731516713755c839b0507f00198862375754a8c8
[ "Apache-2.0" ]
null
null
null
cpp/src/solutions/median_of_two_sorted_arrays.cpp
LazyWolfLin/leetcode
731516713755c839b0507f00198862375754a8c8
[ "Apache-2.0" ]
null
null
null
cpp/src/solutions/median_of_two_sorted_arrays.cpp
LazyWolfLin/leetcode
731516713755c839b0507f00198862375754a8c8
[ "Apache-2.0" ]
null
null
null
// LeetCode 4. Median of Two Sorted Arrays in C++ #include "common.h" class Solution { public: double findMedianSortedArrays(vector<int> &nums1, vector<int> &nums2) { if (nums1.size() > nums2.size()) { swap(nums1, nums2); } int m = nums1.size(), n = nums2.size(); int l = 0, r = m + 1, half = ...
25.202703
73
0.542091
[ "vector" ]
568aec472f2c5e23eba588c0438cde10d3a06b2f
5,081
cpp
C++
rw_rh_engine_lib/render_client/im3d_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rw_rh_engine_lib/render_client/im3d_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rw_rh_engine_lib/render_client/im3d_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
// // Created by peter on 17.02.2021. // #include "im3d_state_recorder.h" #include "data_desc/immediate_mode/im_state.h" #include <ipc/MemoryReader.h> #include <ipc/MemoryWriter.h> namespace rh::rw::engine { constexpr auto Im3DVertexCountLimit = 100000; constexpr auto Im3DIndexCountLimit = 100000; Im3DStateRecorde...
31.559006
77
0.637867
[ "transform" ]
568b7445091cffe0f771f31421e00d036c57d1cd
20,206
cpp
C++
util/processImage.cpp
csgcmai/lqp_face
db4ec672b352044692f8d1bcbfa181b35567b95c
[ "BSD-3-Clause" ]
1
2020-04-06T16:31:56.000Z
2020-04-06T16:31:56.000Z
util/processImage.cpp
csgcmai/lqp_face
db4ec672b352044692f8d1bcbfa181b35567b95c
[ "BSD-3-Clause" ]
null
null
null
util/processImage.cpp
csgcmai/lqp_face
db4ec672b352044692f8d1bcbfa181b35567b95c
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2013, Sibt ul Hussain <sibt.ul.hussain at gmail dot com> All rights reserved. Released under BSD License ------------------------- For license terms please see license.lic */ #include "processImage.h" void ProcessImage::ProcessSaveRes(Image &image, vector<REAL>&r, vector<REAL>& g, vector<REAL>& b, c...
30.339339
116
0.595962
[ "vector" ]
568e54d01b5cafc82d81e94f5f442ff8ce27e499
7,209
cpp
C++
C++Server/GS_Manager/src/GsDatabase.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
C++Server/GS_Manager/src/GsDatabase.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
C++Server/GS_Manager/src/GsDatabase.cpp
IncompleteWorlds/01_gs4cubesat
4386a3a8b984e96cab364bab83fc2fb49aa5cc3d
[ "RSA-MD" ]
null
null
null
/** * CubeGS * An online Ground Segment for Cubesats and Small Sats * (c) 2016 Incomplete Worlds * */ #include <iostream> #include <string> #include "Constants.h" #include "GSException.h" #include "ConfigurationManager.h" #include "SQLiteCpp/Statement.h" #include "GsDatabase.h" using namespace std; GsD...
26.601476
110
0.604522
[ "vector" ]
569b075023c58766ad166f67bad23116d15079f4
3,733
cpp
C++
src/regalloc.cpp
MathCarnelutt/t1-compilers
8c80894d9de396195a0508de5982bc9b3d839ca0
[ "MIT" ]
null
null
null
src/regalloc.cpp
MathCarnelutt/t1-compilers
8c80894d9de396195a0508de5982bc9b3d839ca0
[ "MIT" ]
null
null
null
src/regalloc.cpp
MathCarnelutt/t1-compilers
8c80894d9de396195a0508de5982bc9b3d839ca0
[ "MIT" ]
null
null
null
#include "regalloc.hpp" #include <iostream> #include <fstream> #include <list> #include <string> Regalloc::Regalloc() {} Regalloc::~Regalloc() { delete graph; } void Regalloc::build() { // Getting graph name std::string line; std::getline(std::cin, line); std::size_t startPos = 6; std::siz...
25.222973
93
0.524243
[ "vector" ]
569e06c7f737c1beb1214eb62da0405886fe4d13
2,394
cpp
C++
tests/utests/proposal/proposal_operations_tests.cpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
tests/utests/proposal/proposal_operations_tests.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
tests/utests/proposal/proposal_operations_tests.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
#include <boost/test/unit_test.hpp> #include <fc/io/json.hpp> #include <scorum/protocol/operations.hpp> #include <detail.hpp> using detail::to_hex; namespace proposal_operations_tests { using namespace scorum::protocol; BOOST_AUTO_TEST_SUITE(proposal_create_operation_tests) BOOST_AUTO_TEST_CASE(serialize_propos...
28.843373
121
0.76817
[ "vector" ]
56a25f3d29e1172bcd0fd26f110a650c7b8cfa64
4,369
hpp
C++
src/LowLevel/LowLevelDefinitions.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
41
2018-01-23T09:27:32.000Z
2021-02-15T15:49:07.000Z
src/LowLevel/LowLevelDefinitions.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
20
2018-01-25T04:25:48.000Z
2019-03-09T02:49:41.000Z
src/LowLevel/LowLevelDefinitions.hpp
cpv-project/cpv-cql-driver
66eebfd4e9ec75dc49cd4a7073a51a830236807a
[ "MIT" ]
5
2018-04-10T12:19:13.000Z
2020-02-17T03:30:50.000Z
#pragma once #include <CQLDriver/Common/Utility/EnumUtils.hpp> #include <ostream> namespace cql { // For more information, check the cql protocol definition on: // https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec /** * Message direction, either request or response * The value of this ...
24.683616
87
0.695125
[ "vector" ]
56a27e63b5b89fc99969095ed48513a21741bdc8
11,901
cpp
C++
Engine2D/GameEngine.cpp
MarkusPfundstein/OpenGL-2D-RPG-Engine-iPhone
b9643e6a6243952f8e17f216a860e58b197e2247
[ "Unlicense" ]
2
2015-11-05T21:25:18.000Z
2016-02-15T08:55:44.000Z
Engine2D/GameEngine.cpp
MarkusPfundstein/OpenGL-2D-RPG-Engine-iPhone
b9643e6a6243952f8e17f216a860e58b197e2247
[ "Unlicense" ]
null
null
null
Engine2D/GameEngine.cpp
MarkusPfundstein/OpenGL-2D-RPG-Engine-iPhone
b9643e6a6243952f8e17f216a860e58b197e2247
[ "Unlicense" ]
null
null
null
// // GameEngine.cpp // OpenGL // // Created by Markus Pfundstein on 9/10/11. // Copyright 2011 The Saints. All rights reserved. // #include <iostream> using namespace std; #include "GameEngine.h" #include "Constants.h" #include "Script.h" #include "NPC.h" #include "Object.h" #include "Characters.h" GameEngine::...
29.026829
213
0.574658
[ "object" ]
56b1817e1df52f35d5822470edaead5e5bc27691
725
hpp
C++
graph/dijkstra.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
7
2022-01-23T07:58:19.000Z
2022-02-25T04:11:12.000Z
graph/dijkstra.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
null
null
null
graph/dijkstra.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
null
null
null
#include "utility/chmin.hpp" #pragma region dijkstra #ifndef DIJKSTRA_HPP #define DIJKSTRA_HPP namespace graph { template<typename T> pair<vector<long long>, vector<int>> dijkstra(const vector<vector<pair<int, T>>> &G, int s) { int n = G.size(); priority_queue<pair<T, int>, vector<pair<T, int>>, greater<pair<T...
20.714286
94
0.587586
[ "vector" ]
56b419aa3c216cf4e276c695b4b301f15d1d7a97
32,156
cc
C++
arcane/src/arcane/tests/ModuleSimpleHydroSimd.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/tests/ModuleSimpleHydroSimd.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/tests/ModuleSimpleHydroSimd.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
38.51018
137
0.59712
[ "mesh" ]
56b51619ec9621096fa94370ac8c595451f75b6e
1,754
cpp
C++
CombBLAS/ReleaseTests/FindSparse.cpp
shoaibkamil/OLD-kdt-specializer
85074ec1990df980d25096ea8c55dd81350e531e
[ "BSD-3-Clause" ]
1
2021-11-15T02:11:33.000Z
2021-11-15T02:11:33.000Z
CombBLAS/ReleaseTests/FindSparse.cpp
shoaibkamil/OLD-kdt-specializer
85074ec1990df980d25096ea8c55dd81350e531e
[ "BSD-3-Clause" ]
null
null
null
CombBLAS/ReleaseTests/FindSparse.cpp
shoaibkamil/OLD-kdt-specializer
85074ec1990df980d25096ea8c55dd81350e531e
[ "BSD-3-Clause" ]
null
null
null
#include <mpi.h> #include <sys/time.h> #include <iostream> #include <functional> #include <algorithm> #include <vector> #include <sstream> #include "../SpTuples.h" #include "../SpDCCols.h" #include "../SpParMat.h" #include "../FullyDistVec.h" using namespace std; int main(int argc, char* argv[]) { MPI::Init(argc,...
20.635294
85
0.63683
[ "vector" ]
56b55549fefbc563b6f49ed10f61ef2dac2c9937
226
cpp
C++
Header.cpp
tingli-shen/Jumping-Array-Puzzle
f04c67d7ecd656d5ecee8cc344ea073dcec2318e
[ "MIT" ]
null
null
null
Header.cpp
tingli-shen/Jumping-Array-Puzzle
f04c67d7ecd656d5ecee8cc344ea073dcec2318e
[ "MIT" ]
null
null
null
Header.cpp
tingli-shen/Jumping-Array-Puzzle
f04c67d7ecd656d5ecee8cc344ea073dcec2318e
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include <vector> #include <string> #include "Header.h" using namespace std; int tree::zeroSite() { for (int i = 0; i < num.length(); i++) if (num[i] == '0') return i; }
17.384615
40
0.584071
[ "vector" ]
56b574571471c6b95087b94bee674ed8d3be4026
4,394
cpp
C++
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayerCellmap.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
3
2018-04-16T23:58:23.000Z
2020-10-24T04:42:43.000Z
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayerCellmap.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
null
null
null
Project/Riaju1/Plugins/SpriteStudio5/Source/SpriteStudio5/Private/Player/SsPlayerCellmap.cpp
SpriteStudio/RiaJuSniper_UnrealEngine4Project
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
[ "MIT" ]
6
2018-04-12T20:27:12.000Z
2021-03-07T19:54:49.000Z
#include "SpriteStudio5PrivatePCH.h" #include "SsPlayerCellmap.h" #include "SsProject.h" #include "SsAnimePack.h" #include "SsCellMap.h" #include "SsPlayerAnimedecode.h" #include "SsPlayerMatrix.h" FSsCelMapLinker::FSsCelMapLinker() : CellMap(0) , Tex(0) { } FSsCelMapLinker::FSsCelMapLinker(FSsCellMap* cellmap,...
22.191919
124
0.653391
[ "model" ]
56b702e480acb6fd8a5a254a4943758276bd8638
646
cpp
C++
Bridges.cpp
dineshkwal/DS-and-algo-codes
c1466279d57af4476fcc082d787d0efbf0ef4a1a
[ "MIT" ]
null
null
null
Bridges.cpp
dineshkwal/DS-and-algo-codes
c1466279d57af4476fcc082d787d0efbf0ef4a1a
[ "MIT" ]
null
null
null
Bridges.cpp
dineshkwal/DS-and-algo-codes
c1466279d57af4476fcc082d787d0efbf0ef4a1a
[ "MIT" ]
null
null
null
const int kLimit = 100001; unordered_set<int> bridges; vector<int> id(kLimit); vector<int> lowlink(kLimit); vector<bool> visited(kLimit, false); int counter = 0; void dfs(const vector<vector<pair<int, int>>>& graph, int u, int parent = -1) { visited[u] = true; id[u] = counter++; lowlink[u] = id[u]; for (const aut...
18.457143
77
0.585139
[ "vector" ]
56beb1cc18c767ab18a7d96fb094536111199f35
24,288
cpp
C++
src/ui/common/ui_params.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
6
2020-03-29T09:37:01.000Z
2022-01-20T08:56:31.000Z
src/ui/common/ui_params.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
1
2021-03-05T08:00:50.000Z
2021-03-05T08:00:50.000Z
src/ui/common/ui_params.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
11
2019-05-13T00:04:38.000Z
2022-01-20T08:56:38.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
61.178841
153
0.805048
[ "vector" ]
56c3148afdd91ee3358177ee1dc86ffe3bca4570
3,945
cpp
C++
src/PlaneCut.cpp
chenming-wu/robust-plane-cut
9577b2d547764501dd9a071e79aa0b2afe2ff958
[ "FSFAP" ]
null
null
null
src/PlaneCut.cpp
chenming-wu/robust-plane-cut
9577b2d547764501dd9a071e79aa0b2afe2ff958
[ "FSFAP" ]
null
null
null
src/PlaneCut.cpp
chenming-wu/robust-plane-cut
9577b2d547764501dd9a071e79aa0b2afe2ff958
[ "FSFAP" ]
null
null
null
#include "PlaneCut.h" #include <CGAL/Polygon_mesh_processing/repair.h> constexpr double eps = 1e-8; constexpr double eps10 = 10 * eps; inline bool negative(Vector3& p, double C, Point3& a) { Vector3 probe(a.x(), a.y(), a.z()); return probe * p + C > eps; } inline bool positive(Vector3& p, double C, Point3& a) { V...
22.803468
115
0.591888
[ "vector" ]
56c34808cd967345d515af52322c96f6d66e7f4a
3,372
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/audiofx/CAudioEffectDescriptor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/audiofx/CAudioEffectDescriptor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/audiofx/CAudioEffectDescriptor.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
24.434783
75
0.662218
[ "object" ]
56c42b5bc24c01d931f5dccd1d4c900ab9b85a21
3,264
cpp
C++
modules/wechat_qrcode/src/zxing/qrcode/decoder/datamask.cpp
donglinb/opencv_contrib
eaa4f33ddd68a04c8f01035baeac8b2b906bc45b
[ "Apache-2.0" ]
7
2021-02-08T15:49:28.000Z
2022-03-26T01:34:14.000Z
modules/wechat_qrcode/src/zxing/qrcode/decoder/datamask.cpp
donglinb/opencv_contrib
eaa4f33ddd68a04c8f01035baeac8b2b906bc45b
[ "Apache-2.0" ]
1
2019-08-02T10:28:05.000Z
2019-08-02T10:28:05.000Z
modules/wechat_qrcode/src/zxing/qrcode/decoder/datamask.cpp
donglinb/opencv_contrib
eaa4f33ddd68a04c8f01035baeac8b2b906bc45b
[ "Apache-2.0" ]
4
2021-03-24T00:03:12.000Z
2022-02-21T06:23:03.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
26.975207
94
0.61489
[ "vector" ]
56c7c7f5fdbb7e3e3b23090c1cde8b50497f7696
3,317
cpp
C++
fuego-0.4/go/test/GoBookTest.cpp
MisterTea/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
fuego-0.4/go/test/GoBookTest.cpp
afcarl/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
fuego-0.4/go/test/GoBookTest.cpp
afcarl/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
//---------------------------------------------------------------------------- /** @file GoBookTest.cpp Unit tests for GoBook. */ //---------------------------------------------------------------------------- #include "SgSystem.h" #include <sstream> #include <boost/test/auto_unit_test.hpp> #include "GoBoard.h" #i...
24.036232
78
0.565873
[ "vector" ]
08d0d9736e1f1fc55c194c0addd03b7d7f2ec917
323
cpp
C++
CodeForces/Complete/1000-1099/1003A-PolycarpsPockets.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/1000-1099/1003A-PolycarpsPockets.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/1000-1099/1003A-PolycarpsPockets.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> int main(){ const long N = 107; long n; scanf("%ld", &n); std::vector<long> cv(N, 0); long cnt(0); for(long p = 0; p < n; p++){ long a; scanf("%ld", &a); ++cv[a]; cnt = (cnt > cv[a]) ? cnt : cv[a]; } printf("%ld\n", cnt); return 0;...
16.15
42
0.452012
[ "vector" ]
08d1ab9b6af1d205f6b6a6a5bb1a37d593ca4325
2,555
cpp
C++
test/test_mutex.cpp
mind-owner/fibio
a269f2e0d842bf441ac7d27f70d8bcc1801d7c92
[ "BSD-2-Clause" ]
243
2015-01-19T07:38:03.000Z
2022-03-01T07:39:16.000Z
test/test_mutex.cpp
learnerzhang/fibio
a269f2e0d842bf441ac7d27f70d8bcc1801d7c92
[ "BSD-2-Clause" ]
3
2015-02-11T10:11:58.000Z
2015-11-08T19:27:04.000Z
test/test_mutex.cpp
learnerzhang/fibio
a269f2e0d842bf441ac7d27f70d8bcc1801d7c92
[ "BSD-2-Clause" ]
53
2015-01-08T06:35:54.000Z
2022-02-14T02:38:58.000Z
// // test_mutex.cpp // fibio // // Created by Chen Xu on 14-3-12. // Copyright (c) 2014 0d0a.com. All rights reserved. // #include <iostream> #include <vector> #include <chrono> #include <boost/random.hpp> #include <fibio/fiber.hpp> #include <fibio/fiberize.hpp> using namespace fibio; mutex m; recursive_mutex m1...
22.610619
89
0.586301
[ "vector" ]
08d3680f9f171aacc1c9eb0b61ce32b3597ba2f1
8,628
cpp
C++
src/CSocket.cpp
earmbrust/libAeon
ddf8a2a007fa3dbc6fe8652cdb16fd5b855a6fd9
[ "BSD-3-Clause" ]
null
null
null
src/CSocket.cpp
earmbrust/libAeon
ddf8a2a007fa3dbc6fe8652cdb16fd5b855a6fd9
[ "BSD-3-Clause" ]
null
null
null
src/CSocket.cpp
earmbrust/libAeon
ddf8a2a007fa3dbc6fe8652cdb16fd5b855a6fd9
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * libaeon - A simple, lightweight, cross platform networking library * Copyright 2006-2018 (c) Elden Armbrust * This software is licensed under the BSD software license. *********************************************************************/ #ifn...
28.569536
104
0.567571
[ "object" ]
08d570bbbf510b2e6509936d5e01be8e4b9d73c4
7,166
hxx
C++
admin/snapin/eventlog/src/find.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/eventlog/src/find.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/eventlog/src/find.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+-------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 1997. // // File: find.hxx // // Contents: Definitions of classes for the find event record feature. // // Classes: CFindInfo // C...
19.850416
78
0.385292
[ "object" ]
08e1636c9c189fc0089379b37252cc438ba18997
2,417
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/lists/SbStringList.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/lists/SbStringList.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/lists/SbStringList.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
29.839506
79
0.690112
[ "3d" ]
08f1b037d0d585b8738f490d50ca9d46b09246aa
336
cpp
C++
Cpp/Algorithm/src/Chapter3/PlusOne_66.cpp
TzashiNorpu/algorithm
9df935922811e0f5ab402476a0ced106f51b2b5b
[ "MIT" ]
null
null
null
Cpp/Algorithm/src/Chapter3/PlusOne_66.cpp
TzashiNorpu/algorithm
9df935922811e0f5ab402476a0ced106f51b2b5b
[ "MIT" ]
null
null
null
Cpp/Algorithm/src/Chapter3/PlusOne_66.cpp
TzashiNorpu/algorithm
9df935922811e0f5ab402476a0ced106f51b2b5b
[ "MIT" ]
null
null
null
#include "../Chapter3/chapter3.h" vector<int> myAlgo::PlusOne_66::plusOne(vector<int>& digits) { vector<int> res; int carry = 1; for (int i = digits.size()-1; i >=0; i--) { res.insert(res.begin(), (digits[i] + carry) % 10); carry = (digits[i] + carry) / 10; } if (carry==1) { res.insert(res.begin(), 1); ...
19.764706
60
0.589286
[ "vector" ]
08f9e5b91e199bcdda4acbf169bde5ff9ac731be
630
cpp
C++
algorithmic_toolbox/dynamic_programming2/knapsack.cpp
brc-dd/dsa-coursera-assignments
a163a62b07a4c1c14449210f8ec5ce1fc27dd5e3
[ "MIT" ]
2
2020-04-01T13:22:01.000Z
2020-10-01T09:36:46.000Z
algorithmic_toolbox/dynamic_programming2/knapsack.cpp
brc-dd/dsa-coursera-assignments
a163a62b07a4c1c14449210f8ec5ce1fc27dd5e3
[ "MIT" ]
null
null
null
algorithmic_toolbox/dynamic_programming2/knapsack.cpp
brc-dd/dsa-coursera-assignments
a163a62b07a4c1c14449210f8ec5ce1fc27dd5e3
[ "MIT" ]
1
2020-10-01T06:28:23.000Z
2020-10-01T06:28:23.000Z
#include <algorithm> #include <iostream> #include <iterator> #include <vector> using namespace std; #define int long long #define all(v) v.begin(), v.end() #define iit istream_iterator<int>(cin) int solve(int W, int n, const vector<int> &w) { vector<vector<int>> dp(n + 1, vector<int>(W + 1)); for (int i = 0; i <=...
26.25
75
0.512698
[ "vector" ]
1c0037eb89f1765c39d193358da8e980b59b2bb1
2,642
hpp
C++
include/cslibs_gridmaps/dynamic_maps/chunk.hpp
doge-of-the-day/cslibs_gridmaps
cc058686d5d8e3c2084ec2e21e0651dd8901b008
[ "BSD-3-Clause" ]
null
null
null
include/cslibs_gridmaps/dynamic_maps/chunk.hpp
doge-of-the-day/cslibs_gridmaps
cc058686d5d8e3c2084ec2e21e0651dd8901b008
[ "BSD-3-Clause" ]
null
null
null
include/cslibs_gridmaps/dynamic_maps/chunk.hpp
doge-of-the-day/cslibs_gridmaps
cc058686d5d8e3c2084ec2e21e0651dd8901b008
[ "BSD-3-Clause" ]
1
2021-02-22T16:39:03.000Z
2021-02-22T16:39:03.000Z
#ifndef CSLIBS_GRIDMAPS_DYNAMIC_CHUNK_HPP #define CSLIBS_GRIDMAPS_DYNAMIC_CHUNK_HPP #include <vector> #include <array> #include <mutex> #include <atomic> #include <cslibs_utility/synchronized/wrap_around.hpp> namespace cslibs_gridmaps { namespace dynamic_maps { template<typename T, typename AllocatorT> class Chunk {...
22.016667
83
0.57835
[ "vector" ]
1c003baafbc4dcc1bc16d99a6d77ec2887ba430d
17,573
cpp
C++
src/qt/overviewpage.cpp
smcneilly4/Halocoin
953e67f007b81d4a7ebef4f257e3cf80fb745342
[ "MIT" ]
4
2020-11-13T20:17:53.000Z
2022-01-19T10:40:13.000Z
src/qt/overviewpage.cpp
smcneilly4/Halocoin
953e67f007b81d4a7ebef4f257e3cf80fb745342
[ "MIT" ]
2
2021-03-19T13:49:30.000Z
2021-08-04T13:01:06.000Z
src/qt/overviewpage.cpp
smcneilly4/Halocoin
953e67f007b81d4a7ebef4f257e3cf80fb745342
[ "MIT" ]
5
2021-01-10T13:00:17.000Z
2021-07-22T23:17:08.000Z
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2018 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "overviewpage.h" #include "ui_overviewpage.h" #include "activem...
33.600382
259
0.649121
[ "model" ]
1c0049c152a439f37353b8353d1db78d9a392253
65,902
cxx
C++
MUON/MUONrec/AliMUONCDB.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONrec/AliMUONCDB.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONrec/AliMUONCDB.cxx
zwound40/AliRoot
2eeb196e31e59937df6705c3b7fca0e6da4a8cb2
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
30.694923
141
0.678143
[ "object", "vector", "3d" ]
1c0168ba6e8a672927a5e356b01d0e6026279251
716
hpp
C++
src/serial/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
7
2015-01-04T13:50:24.000Z
2022-01-22T01:03:57.000Z
src/serial/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
1
2018-08-16T00:46:58.000Z
2018-08-16T00:46:58.000Z
src/serial/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
9
2016-08-31T05:42:00.000Z
2022-01-21T21:37:47.000Z
//! //! Contact Point Forward Model serialisation. //! //! \file serial/contactpoint.hpp //! \author Nahid Akbar //! \date May, 2014 //! \license Affero General Public License version 3 or later //! \copyright (c) 2014, NICTA //! #pragma once #include "datatype/datatypes.hpp" #include <string> namespace obsidian { ...
23.866667
67
0.709497
[ "model" ]
1c0c965bd00ffba2b4bbdf635c957873f2e8b449
6,422
cpp
C++
src/ringmesh/geomodel/tools/geomodel_tools.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
src/ringmesh/geomodel/tools/geomodel_tools.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
src/ringmesh/geomodel/tools/geomodel_tools.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). 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 mus...
39.158537
79
0.646528
[ "mesh", "geometry", "vector" ]
1c171bc435b3832c991d701d665474cab72ef2ac
9,657
cc
C++
app/GA/GAActionWalk.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
app/GA/GAActionWalk.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
app/GA/GAActionWalk.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
// // GAActionWalk.cpp // KKGame // // Created by zhanghailong on 2018/2/9. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #include "kk-config.h" #include "GAActionWalk.h" #include "GABody.h" #include "GAShape.h" #include <chipmunk/chipmunk.h> namespace kk { namespace GA { IMP...
33.185567
120
0.364192
[ "object", "shape" ]
1c2b4378c53e2c1a7fb506edd72cce845486c068
2,018
cpp
C++
src/test.trap.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.trap.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.trap.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file test.trap.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the TrapTest class */ #include <exception> #include <iostream> #include <string> #include <vector> #include "include/armor.h" #include "include/level.h" #include "include/playerchar.h" #include "include...
24.313253
70
0.644202
[ "vector" ]
1c2d555d30849e81ceb1bc370c38a92a13d86d76
905
cpp
C++
uri-online-judge/1244/main.cpp
olegon/online-judges
4ec27c8940ae492ce71aec0cc9ed944b094bce55
[ "MIT" ]
12
2017-11-30T11:10:45.000Z
2022-01-26T23:49:19.000Z
uri-online-judge/1244/main.cpp
olegon/online-judges
4ec27c8940ae492ce71aec0cc9ed944b094bce55
[ "MIT" ]
null
null
null
uri-online-judge/1244/main.cpp
olegon/online-judges
4ec27c8940ae492ce71aec0cc9ed944b094bce55
[ "MIT" ]
4
2017-11-25T03:13:32.000Z
2019-08-16T08:08:10.000Z
/* Ordenação por Tamanho https://www.urionlinejudge.com.br/judge/pt/problems/view/1244 */ #include <iostream> #include <sstream> #include <vector> #include <algorithm> using namespace std; bool compare_by_size(string a, string b); int main (void) { int N; string LINE; cin >> N; cin.ignore(1); ...
16.759259
65
0.520442
[ "vector" ]
1c2fab9ad2f96039d5cc67e2c55945130359974d
4,855
cpp
C++
mex/convn_cuda/tests/gtest_cudautils.cpp
dgoodwin208/ExSeqProcessing
cd7f8ff461af16aad22ac033d2cbd5f0aa935628
[ "MIT" ]
7
2020-06-03T21:12:35.000Z
2022-02-03T02:36:20.000Z
mex/convn_cuda/tests/gtest_cudautils.cpp
RuihanZhang2015/ExSeqProcessing
c9c3719b9e583def8a6401d16698363c6fe45574
[ "MIT" ]
2
2020-05-15T20:00:30.000Z
2020-05-15T20:01:00.000Z
mex/convn_cuda/tests/gtest_cudautils.cpp
RuihanZhang2015/ExSeqProcessing
c9c3719b9e583def8a6401d16698363c6fe45574
[ "MIT" ]
5
2020-06-01T18:50:18.000Z
2021-09-15T18:39:28.000Z
#include "gtest/gtest.h" #include "convn.h" #include "cudnnutils.h" #include <vector> #include <cstdint> #include <random> namespace { class ConvnTest : public ::testing::Test { protected: ConvnTest() { } virtual ~ConvnTest() { } }; //Generate uniform numbers [0,1) static void initImage(float* imag...
31.322581
138
0.552832
[ "vector" ]
1c359baffd7d7b2ace07d6992f17d385d5934ad8
406
cpp
C++
src/characters/shape.cpp
feliwir/libapt
43b05b3de632896cb7d1351191a07c0f0cdf801a
[ "MIT" ]
7
2016-12-19T21:13:41.000Z
2021-03-19T11:14:29.000Z
src/characters/shape.cpp
feliwir/libapt
43b05b3de632896cb7d1351191a07c0f0cdf801a
[ "MIT" ]
1
2017-06-17T12:14:08.000Z
2017-06-17T14:47:20.000Z
src/characters/shape.cpp
feliwir/libapt
43b05b3de632896cb7d1351191a07c0f0cdf801a
[ "MIT" ]
3
2017-11-07T12:22:10.000Z
2020-04-30T20:48:59.000Z
#include "shape.hpp" #include "../displayobject.hpp" #include "../util.hpp" #include <iostream> using namespace libapt; void Shape::Parse(uint8_t *& iter) { m_bounds = read<glm::vec4>(iter); m_geometryId = read<uint32_t>(iter); } void Shape::Update(const Transformation& t, std::shared_ptr<DisplayObject> dObj) { as...
16.24
80
0.689655
[ "shape" ]
1c404c09f908e9fbabdba741029ff0c9bdada39a
820
hpp
C++
ROBOT-GRASP/include/MyDraw.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
ROBOT-GRASP/include/MyDraw.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
ROBOT-GRASP/include/MyDraw.hpp
IDLER1229/ROBOT-GRASP
f83590c0552da3058d98b18e6174235b5eb10939
[ "MIT" ]
null
null
null
/************************************************************************/ /* namespace cv */ /************************************************************************/ #include "Opencv.hpp" class Draw { public: virtual void drawRotateRect(Mat& src, RotatedRect& ...
41
123
0.543902
[ "vector" ]
1c4d676cfc1140765859d7ac71bc4e379bff91cb
12,719
cpp
C++
src/ecckd/solve_adept.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
src/ecckd/solve_adept.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
src/ecckd/solve_adept.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
// solve_adept.cpp - Optimize look-up table using Adept library // // Copyright (C) 2020- ECMWF. // // This software is licensed under the terms of the Apache Licence Version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // // In applying this licence, ECMWF does not waive the privileges a...
34.008021
141
0.680085
[ "vector", "model", "3d" ]
1c50d098fe2b97acbbf6d6248b5c0637901bfd90
1,412
cpp
C++
codechef/starters18/c.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codechef/starters18/c.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codechef/starters18/c.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> #define endl "\n" typedef long long ll; typedef unsigned long long ull; const int mod = 1e9 + 7; using namespace std; vector<int> pol; bool isPol(string s){ int n = s.size(); for(int i = 0; i < n/2; i++){ if(s[i] != s[n-i-1]) return false; } return t...
20.463768
51
0.365439
[ "vector" ]
1c53c314d479081d567fc3e309fb5e18e16fe139
8,791
cpp
C++
code/AzureDeviceManagementCommon/BaseHandler.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
code/AzureDeviceManagementCommon/BaseHandler.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
code/AzureDeviceManagementCommon/BaseHandler.cpp
imingc/azure-client-tools
1a5d4846956c2c7aae5ed4ebf4020b6e2d5142c4
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "stdafx.h" #include "BaseHandler.h" #include "..\AzureDeviceManagementCommon\DMConstants.h" #include "..\AzureDeviceManagementCommon\Plugins\PluginConstants.h" using namespace Microsoft::Azure::DeviceManagement::U...
28.635179
127
0.621431
[ "model" ]
1c55f0adad2d4c87dc158a5c0f31e0de66e6289a
665
cpp
C++
src/RESTAPI/RESTAPI_iptocountry_handler.cpp
fbourqueMeta/wlan-cloud-ucentralgw
adacc8b3fefa82f2bf6df6f1c8d70e5520a0d8a0
[ "BSD-3-Clause" ]
null
null
null
src/RESTAPI/RESTAPI_iptocountry_handler.cpp
fbourqueMeta/wlan-cloud-ucentralgw
adacc8b3fefa82f2bf6df6f1c8d70e5520a0d8a0
[ "BSD-3-Clause" ]
null
null
null
src/RESTAPI/RESTAPI_iptocountry_handler.cpp
fbourqueMeta/wlan-cloud-ucentralgw
adacc8b3fefa82f2bf6df6f1c8d70e5520a0d8a0
[ "BSD-3-Clause" ]
null
null
null
// // Created by stephane bourque on 2022-02-05. // #include "RESTAPI_iptocountry_handler.h" #include "FindCountry.h" namespace OpenWifi { void RESTAPI_iptocountry_handler::DoGet() { auto IPList = GetParameter("iplist",""); if(IPList.empty()) { return BadRequest(RESTAPI::Errors::MissingOrInvalidParameters);...
21.451613
66
0.706767
[ "object" ]
1c5c63fafba5f5cb6b10580096bc94dc11700e5a
1,847
hpp
C++
libcaf_core/caf/detail/message_builder_element.hpp
Hamdor/actor-framework
ce63edffa2b7acb698cfaea571142029d38e9ef0
[ "BSD-3-Clause" ]
2,517
2015-01-04T22:19:43.000Z
2022-03-31T12:20:48.000Z
libcaf_core/caf/detail/message_builder_element.hpp
Hamdor/actor-framework
ce63edffa2b7acb698cfaea571142029d38e9ef0
[ "BSD-3-Clause" ]
894
2015-01-07T14:21:21.000Z
2022-03-30T06:37:18.000Z
libcaf_core/caf/detail/message_builder_element.hpp
Hamdor/actor-framework
ce63edffa2b7acb698cfaea571142029d38e9ef0
[ "BSD-3-Clause" ]
570
2015-01-21T18:59:33.000Z
2022-03-31T19:00:02.000Z
// 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 <memory> #include <new> #include "caf/byte.hpp" #include "caf/deta...
28.859375
79
0.71738
[ "object" ]
1c5fe3b65f3ec73311272b91be810d1c5fabc71c
11,494
cpp
C++
sample_projects/LEQuad/main_chibios_sparky.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
12
2016-07-12T10:26:47.000Z
2021-12-14T10:03:11.000Z
sample_projects/LEQuad/main_chibios_sparky.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
183
2015-01-22T12:35:18.000Z
2017-06-09T10:11:26.000Z
sample_projects/LEQuad/main_chibios_sparky.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
25
2015-02-03T15:15:48.000Z
2021-12-14T08:55:04.000Z
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 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 requi...
33.028736
112
0.471376
[ "model" ]
1c608a5e8d9f82da3f7573db20c3ac9aaa7e938f
19,124
cpp
C++
main.cpp
avrcolak/hey-
efbcb92a1d76339024cb1567cd272dd6a6b45874
[ "Unlicense" ]
1
2020-09-07T04:39:39.000Z
2020-09-07T04:39:39.000Z
main.cpp
avrcolak/hey-
efbcb92a1d76339024cb1567cd272dd6a6b45874
[ "Unlicense" ]
null
null
null
main.cpp
avrcolak/hey-
efbcb92a1d76339024cb1567cd272dd6a6b45874
[ "Unlicense" ]
null
null
null
#include <ggponet.h> #include <imgui.h> #include <imgui_impl_opengl2.h> #include <imgui_impl_sdl.h> #include <SDL.h> #include <stdio.h> #include <string.h> #include <windows.h> #include <gl/GL.h> #include "connection_report.h" #include "game.h" #include "utils.h" #define MAX_GRAPH_SIZE 4096 #define MAX_FAIRNESS 20 en...
20.69697
88
0.714965
[ "render" ]
1c69901c635b6fe928c7855f6a071201c872c028
4,444
cpp
C++
sam-project/bakker-et-al-2012/SAM/SAM/tests/src/hacking_strategy_test.cpp
amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam
518ab1cebaa80c19a12e92db8ae87386512ae053
[ "MIT" ]
1
2022-03-25T20:21:41.000Z
2022-03-25T20:21:41.000Z
sam-project/bakker-et-al-2012/SAM/SAM/tests/src/hacking_strategy_test.cpp
amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam
518ab1cebaa80c19a12e92db8ae87386512ae053
[ "MIT" ]
null
null
null
sam-project/bakker-et-al-2012/SAM/SAM/tests/src/hacking_strategy_test.cpp
amirmasoudabdol/bakker-et-al-2012-reproduction-using-sam
518ab1cebaa80c19a12e92db8ae87386512ae053
[ "MIT" ]
null
null
null
// // Created by Amir Masoud Abdol on 2019-05-03. // #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE HackingStrategy Tests #include <boost/test/unit_test.hpp> namespace tt = boost::test_tools; #include <armadillo> #include <iostream> #include <vector> #include <algorithm> #include "sam.h" #include "Experime...
26.771084
98
0.631638
[ "vector" ]
1c7116965d6d3112e28078ccbc7358eb0e6f58ce
12,622
cpp
C++
clang/test/Refactor/Extract/extract-reference-of-captured-variable.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
793
2015-12-03T16:45:26.000Z
2022-02-12T20:14:20.000Z
clang/test/Refactor/Extract/extract-reference-of-captured-variable.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
clang/test/Refactor/Extract/extract-reference-of-captured-variable.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
void takesPtr(int *x) { } typedef struct { int width, height; } Rectangle; void takesStructPtr(Rectangle *sp) { } void variableTakesRef(int x, Rectangle r) { int &y = x; takesPtr(&y); // CHECK1: (int &x) {\nint &y = x;\n takesPtr(&y);\n} Rectangle p = r; Rectangle &rp = p; takesStructPtr(&rp); // CHECK...
43.826389
366
0.671367
[ "object" ]
1c721d88f0252483f298c0e6f04b304517f18b23
7,793
cc
C++
ShuntingYard/shunting-yard.cc
stephenfire/Book-DISO-WebAssembly
35054b59caa4284680d7dd73bf2637de5631caa7
[ "MIT" ]
57
2018-02-14T02:12:00.000Z
2022-03-04T09:12:26.000Z
ShuntingYard/shunting-yard.cc
stephenfire/Book-DISO-WebAssembly
35054b59caa4284680d7dd73bf2637de5631caa7
[ "MIT" ]
15
2018-08-23T12:37:53.000Z
2021-05-09T10:22:27.000Z
ShuntingYard/shunting-yard.cc
stephenfire/Book-DISO-WebAssembly
35054b59caa4284680d7dd73bf2637de5631caa7
[ "MIT" ]
15
2019-01-27T09:35:19.000Z
2022-02-03T13:56:03.000Z
#include <functional> #include <iostream> #include <sstream> #include <string> #include <vector> #include <deque> #include <cstdio> #include <cmath> class Token { public: enum Type { Unknown = 0, Number, Operator, LeftParen, RightParen, }; Token(Type t, const std::s...
29.187266
141
0.445528
[ "vector" ]
1c74e0fe304c47a3759625e1ce6a7866618d3a5e
7,520
cpp
C++
Sources/SolarTears/Rendering/Common/Scene/ModernRenderableScene.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/Common/Scene/ModernRenderableScene.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/Common/Scene/ModernRenderableScene.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#include "ModernRenderableScene.hpp" #include "../RenderingUtils.hpp" #include "../../../Core/FrameCounter.hpp" ModernRenderableScene::ModernRenderableScene(uint64_t constantDataAlignment) { mSceneUploadDataBufferPointer = nullptr; mMaterialDataSize = 0; mStaticObjectDataSize = 0; mObjectChunkDataSize = (u...
40
139
0.806782
[ "object" ]
1c78a370e2c3fc0036a752c51a22f255e53e017b
810
hpp
C++
source/include/SevenMonkeys.hpp
jane8384/seven-monkeys
119cb7312f25d54e88f212a8710a512b893b046d
[ "MIT" ]
3
2017-11-16T01:54:09.000Z
2018-05-20T15:33:21.000Z
include/SevenMonkeys.hpp
aitorfernandez/seven-monkeys
8f2440fd5ae7a9e86bb71dba800efe9424f3792e
[ "MIT" ]
null
null
null
include/SevenMonkeys.hpp
aitorfernandez/seven-monkeys
8f2440fd5ae7a9e86bb71dba800efe9424f3792e
[ "MIT" ]
3
2017-09-18T11:44:41.000Z
2019-12-25T11:30:26.000Z
// // SevenMonkeys.hpp // SevenMonkeys // #ifndef SevenMonkeys_hpp #define SevenMonkeys_hpp // Cocos2dx #include "cocos2d.h" #include "ui/CocosGUI.h" #include "SimpleAudioEngine.h" #include "external/json/document.h" #include "external/json/rapidjson.h" // C++ Standard Library #include <array> #include <iomanip> ...
18.837209
36
0.714815
[ "vector" ]
cc5d5f30bdc5d2898a858cef88c70e890029f488
443
hpp
C++
src/Nazara/Utility/Formats/MD5MeshLoader.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
376
2015-01-09T03:14:48.000Z
2022-03-26T17:59:18.000Z
src/Nazara/Utility/Formats/MD5MeshLoader.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
252
2015-01-21T17:34:39.000Z
2022-03-20T16:15:50.000Z
src/Nazara/Utility/Formats/MD5MeshLoader.hpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
104
2015-01-18T11:03:41.000Z
2022-03-11T05:40:47.000Z
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_LOADERS_MD5MESH_HPP #define NAZARA_LOADERS_MD5MESH_HPP #include <Nazara/Prerequisites.hpp> #include <Nazara/Util...
23.315789
77
0.78781
[ "mesh" ]
cc60d76c8dbeaa7443d7e9b28a300bb84ad32b8f
5,053
cpp
C++
src/solved/problem408/problem408.cpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/solved/problem408/problem408.cpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
src/solved/problem408/problem408.cpp
bgwines/project-euler
06c0dd8e4b2de2909bb8f48e9b02d181de7a19b0
[ "BSD-3-Clause" ]
null
null
null
/* Let's call a lattice point (x, y) inadmissible if x, y and x + y are all positive perfect squares. For example, (9, 16) is inadmissible, while (0, 4), (3, 1) and (9, 4) are not. Consider a path from point (x1, y1) to point (x2, y2) using only unit steps north or east. Let's call such a path admissible if none of it...
21.874459
77
0.65664
[ "vector" ]
cc6a7eee28fe33ea1b2939b6fb1053565af735c6
250,056
hpp
C++
cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_8.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_8.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_8.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_NX_OS_DEVICE_8_ #define _CISCO_NX_OS_DEVICE_8_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> #include "Cisco_NX_OS_device_0.hpp" #include "Cisco_NX_OS_device_7.hpp" namespace cisco_nx_os { namespace Cisco_NX_OS_device { class System::BgpItem...
63.353433
252
0.715952
[ "vector" ]
cc8efa8f983c2d2bbe5ce04b18f892a47ece440d
634
cpp
C++
universal-problems/6.cpp
Galaxies99/leetcode
8099cf93fa1c61032449e67032eac1ea66bcc8fc
[ "MIT" ]
1
2020-07-19T15:37:01.000Z
2020-07-19T15:37:01.000Z
universal-problems/6.cpp
Galaxies99/leetcode
8099cf93fa1c61032449e67032eac1ea66bcc8fc
[ "MIT" ]
null
null
null
universal-problems/6.cpp
Galaxies99/leetcode
8099cf93fa1c61032449e67032eac1ea66bcc8fc
[ "MIT" ]
null
null
null
class Solution { public: string convert(string s, int numRows) { if (numRows == 1) return s; vector <vector <char> > res; res.resize(numRows); int p = numRows + numRows - 2; for (int i = 0; i < s.size(); i += p) { for (int j = 0; i + j < s.size() && j < numRows; +...
33.368421
89
0.422713
[ "vector" ]
cc915c81c05b641be2fdaacfbf2e22dbaeeef40b
1,789
cc
C++
tensorflow/noscope/test/noscope_others.cc
jingjunLi/tensorflow-multi-stream
d3b75ab179e1a62300739084b48816d2467b0cee
[ "Apache-2.0" ]
null
null
null
tensorflow/noscope/test/noscope_others.cc
jingjunLi/tensorflow-multi-stream
d3b75ab179e1a62300739084b48816d2467b0cee
[ "Apache-2.0" ]
null
null
null
tensorflow/noscope/test/noscope_others.cc
jingjunLi/tensorflow-multi-stream
d3b75ab179e1a62300739084b48816d2467b0cee
[ "Apache-2.0" ]
1
2020-02-11T10:29:06.000Z
2020-02-11T10:29:06.000Z
std::string video_name("/home/li/opensource/stanford-futuredata/data/videos/jackson-town-square.mp4"); const size_t kSkip = 300; const size_t kNbFrames = 10000; const size_t kStartFrom = 5; std::string graph("/home/li/opensource/stanford-futuredata/data/cnn-models/jackson-town-square_convnet_128_32_0.pb"); ...
51.114286
122
0.730017
[ "vector" ]
cc9310c50a3f19f866d619dd4c900fd2fe63829b
18,846
cpp
C++
display/source/CursesDisplay.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
display/source/CursesDisplay.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
display/source/CursesDisplay.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#include <cctype> #include <iostream> #include <sstream> #include <vector> #include <boost/tokenizer.hpp> #include "Animation.hpp" #include "Colours.hpp" #include "Conversion.hpp" #include "DisplaySettings.hpp" #include "EquipmentTextKeys.hpp" #include "Game.hpp" #include "Log.hpp" #include "MapUtils.hpp" #include "Scr...
25.745902
142
0.711132
[ "object", "vector" ]
cc9441442a0588acb95cf572eae570b8f9d07a8d
2,376
hpp
C++
engine/math/include/matrix.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
18
2020-08-11T18:13:49.000Z
2022-03-08T21:42:54.000Z
engine/math/include/matrix.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
11
2020-08-27T12:37:48.000Z
2022-02-21T05:17:03.000Z
engine/math/include/matrix.hpp
redstrate/prism
acb6c5306c6f60088744191f3d3d8713fc6950bd
[ "MIT" ]
1
2020-12-08T14:01:48.000Z
2020-12-08T14:01:48.000Z
#pragma once #include "vector.hpp" // m = rows // n = columns // row major storage mode? template<class T, std::size_t M, std::size_t N> class Matrix { public: constexpr Matrix(const T diagonal = T(1)) { for(std::size_t i = 0; i < (M * N); i++) unordered_data[i] = ((i / M) == (i % N) ? diagona...
27
122
0.536616
[ "vector" ]
ccb24234088879e1ddb72d8b8350acabfcf13834
2,204
cpp
C++
codeforce/490/E.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
codeforce/490/E.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
codeforce/490/E.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** Those who cannot acknowledge themselves will eventually fail. */ #include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_back #define nd second #define st first #define debug(x) cout<<#x<<" -> "<<x<< endl #define kakimasu(x) cout << x << '\n' #d...
25.045455
150
0.633848
[ "vector" ]
ccb7183e39a05ac0c13d6c02d0da29e29c8ed4a5
1,609
cpp
C++
HackerRankEulerProblems/40/P039_IntegerRightTriangles.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/40/P039_IntegerRightTriangles.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
HackerRankEulerProblems/40/P039_IntegerRightTriangles.cpp
wingkinl/HackerRankEulerProblems
3b5cf8945dc1d4f0a2214103f2e0414caf07a18a
[ "Apache-2.0" ]
null
null
null
#include "P039_IntegerRightTriangles.h" #include <iostream> #include <vector> #include <libs/numeric.h> P039_IntegerRightTriangles::P039_IntegerRightTriangles(unsigned int max_perimeter) { std::vector<uint32_t> perimeter_count(max_perimeter + 1); // https://en.wikipedia.org/wiki/Pythagorean_triple#Generating_a_trip...
21.743243
82
0.602859
[ "vector" ]
ccc0f80703c0bc24b57e318469c4662c1e52ca2d
7,444
hpp
C++
example_apps/matrix_factorization/als.hpp
hcj666/grachi-initial
8ed22668d963ec3c3b0e9607b094eea32271d745
[ "MIT" ]
null
null
null
example_apps/matrix_factorization/als.hpp
hcj666/grachi-initial
8ed22668d963ec3c3b0e9607b094eea32271d745
[ "MIT" ]
null
null
null
example_apps/matrix_factorization/als.hpp
hcj666/grachi-initial
8ed22668d963ec3c3b0e9607b094eea32271d745
[ "MIT" ]
null
null
null
/** * @file * @author Aapo Kyrola <akyrola@cs.cmu.edu> * @version 1.0 * * @section LICENSE * * Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
28.630769
133
0.624933
[ "object" ]
ccc4556044f31a1fbbb58433fe9874a53d042fb5
5,058
cpp
C++
apps/ctpn/main.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
7
2018-02-06T13:48:17.000Z
2019-04-08T13:56:22.000Z
apps/ctpn/main.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
apps/ctpn/main.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
#define SIMPLE_EXPORT #include <caffe/caffe.hpp> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "graph.hpp" #include "ployfit.hpp" using namespace cv; using namespace caffe; using namespace std; void clipBoxes(vector<float>& box, int height, int...
30.287425
73
0.609529
[ "shape", "vector" ]
ccd8161f87c69bb0635b24e20d2e9b9bf39615ac
3,576
cpp
C++
src/c++/lib/alignment/templateBuilder/UngappedAligner.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/lib/alignment/templateBuilder/UngappedAligner.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/lib/alignment/templateBuilder/UngappedAligner.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
34.384615
150
0.740492
[ "vector" ]
ccda927da98e83edb564dc25e250e2861ea0a999
1,212
cpp
C++
source/addmenuentry.cpp
Robz8/GridLauncher
d28e93b8358b7e2ba34652f8c2df0c97e7fab6df
[ "MIT" ]
3
2019-01-19T00:11:11.000Z
2019-04-11T09:37:28.000Z
source/addmenuentry.cpp
Robz8/GridLauncher
d28e93b8358b7e2ba34652f8c2df0c97e7fab6df
[ "MIT" ]
null
null
null
source/addmenuentry.cpp
Robz8/GridLauncher
d28e93b8358b7e2ba34652f8c2df0c97e7fab6df
[ "MIT" ]
1
2021-09-23T05:03:10.000Z
2021-09-23T05:03:10.000Z
#include "addmenuentry.h" #include <cstdio> #include <cstring> #include <string> #include <vector> #include <algorithm> extern "C" { #include "shortcut.h" #include "filesystem.h" } bool comparisonFunc(const char *c1, const char *c2) { char * d1 = new char[strlen(c1)+1]; char * d2 = new char[strlen(c2)+1]; str...
17.070423
106
0.594059
[ "vector" ]
ef9aae25cb92b89b3bc974e83721d12477e3911d
1,397
cpp
C++
BOJ_solve/10131.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/10131.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/10131.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 1e18; const long long ...
19.957143
54
0.57194
[ "vector" ]
efbf24b9ecb1a0c82b7b8653e3d4f15dfa041d90
6,196
cpp
C++
src/CCore/Path.cpp
Sidesplitter/Informatica-Olympiade-2016-2017
83704415c6c2febdcbb71116f86619950c8c1e6c
[ "MIT" ]
null
null
null
src/CCore/Path.cpp
Sidesplitter/Informatica-Olympiade-2016-2017
83704415c6c2febdcbb71116f86619950c8c1e6c
[ "MIT" ]
null
null
null
src/CCore/Path.cpp
Sidesplitter/Informatica-Olympiade-2016-2017
83704415c6c2febdcbb71116f86619950c8c1e6c
[ "MIT" ]
null
null
null
#include <vector> #include "Path.h" void Path::calculatePath(std::tuple<Point, Point> searchArea, bool squareOptimization, int minimalLength, int maximumPoints) { // The starting point is not a gaussian prime, we can stop already if (!this->primalityTester->isGaussianPrime(this->start...
32.783069
118
0.547127
[ "vector" ]
efcd646d2159dea9b2b7509df2859ca18caec1b5
29,762
cc
C++
src/cxx/mr/libmr2d/MR_VisRecIter.cc
sfarrens/cosmostat
a475315cda06dca346095a1e83cb6ad23979acae
[ "MIT" ]
null
null
null
src/cxx/mr/libmr2d/MR_VisRecIter.cc
sfarrens/cosmostat
a475315cda06dca346095a1e83cb6ad23979acae
[ "MIT" ]
null
null
null
src/cxx/mr/libmr2d/MR_VisRecIter.cc
sfarrens/cosmostat
a475315cda06dca346095a1e83cb6ad23979acae
[ "MIT" ]
null
null
null
//---------------------------------------------------------- // Copyright (C) 1996 OCA-CEA //---------------------------------------------------------- // UNIT // // Version: // // Author: Frederic Rue & Benoit VANDAME & Jean-Luc Starck // // Date: 05/04/96 // // File: MR_VisRecIter.C // //------...
31.229801
139
0.465695
[ "object", "model", "transform" ]
efd2a252ca2fb3e541e78a657a7e68bdc9101469
10,168
cpp
C++
Btraj/src/a_star.cpp
JCrime/Park_Inspection
524d8286424e363a4bd3d77cf10df8f7eb3c3c6f
[ "Apache-2.0" ]
11
2019-08-24T08:28:17.000Z
2021-04-28T05:23:42.000Z
fm_Btraj/src/Btraj/src/a_star.cpp
lvhualong/motion_Planning
ea127de8cd8f32e9994538416d0c74b99054214f
[ "MIT" ]
null
null
null
fm_Btraj/src/Btraj/src/a_star.cpp
lvhualong/motion_Planning
ea127de8cd8f32e9994538416d0c74b99054214f
[ "MIT" ]
6
2019-08-24T08:28:19.000Z
2020-10-19T12:47:20.000Z
#include "a_star.h" using namespace std; using namespace Eigen; using namespace sdf_tools; void gridPathFinder::initGridNodeMap(double _resolution, Vector3d global_xyz_l) { gl_xl = global_xyz_l(0); gl_yl = global_xyz_l(1); gl_zl = global_xyz_l(2); resolution = _resolution; inv_resolution = 1.0...
32.8
155
0.531176
[ "vector" ]
efd9bb3da3dcd4b2f9f7a6c2250f0b2d6c85f5f4
1,526
cpp
C++
AtCoder/ABC131/E.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/ABC131/E.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/ABC131/E.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
#include<iostream> #include<string> #include<cstdio> #include<vector> #include<cmath> #include<algorithm> #include<functional> #include<iomanip> #include<queue> #include<ciso646> #include<random> #include<map> #include<set> #include<complex> #include<bitset> #include<stack> #include<unordered_map> #include<utility> #in...
22.441176
61
0.465269
[ "vector" ]
efd9e06f0912370ca1f402390a14a2a2af9eacbd
2,025
cc
C++
old/rangeop2.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
26
2015-06-18T17:42:09.000Z
2021-09-25T20:46:17.000Z
old/rangeop2.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
null
null
null
old/rangeop2.cc
SnapDragon64/ContestLibrary
d590db2470447b9ee519985cbd662c35c32c7f76
[ "MIT" ]
8
2018-06-02T14:52:01.000Z
2021-09-25T20:46:19.000Z
// Structure that takes O(N) setup time, O(N) memory, then allows for O(logN) // calculation of a given associative operation on arbitrary ranges. Also // has constant amortized time when successively incrementing the front // and/or back of ranges. template<class T = int> class RangeOp { public: vector<...
34.322034
78
0.559506
[ "vector" ]
efdaa441d7df57a235a12019564b42de78ff3bb6
8,258
hpp
C++
include/Lintel/HashMap.hpp
sbu-fsl/Lintel
b9e603aaec630c8d3fae2f21fc156582d11d84c9
[ "BSD-3-Clause" ]
null
null
null
include/Lintel/HashMap.hpp
sbu-fsl/Lintel
b9e603aaec630c8d3fae2f21fc156582d11d84c9
[ "BSD-3-Clause" ]
1
2020-10-05T21:20:36.000Z
2020-10-05T21:56:51.000Z
include/Lintel/HashMap.hpp
sbu-fsl/Lintel
b9e603aaec630c8d3fae2f21fc156582d11d84c9
[ "BSD-3-Clause" ]
null
null
null
/* -*-C++-*- */ /* (c) Copyright 2003-2005, Hewlett-Packard Development Company, LP See the file named COPYING for license details */ /** @file \brief Header for the HashMap class. A "map" using the HashTable class. You may want to read the warning in HashTable.H about the types of values that you...
27.526667
93
0.661056
[ "object", "vector" ]
efebf517f76e126febdbd1ded359283e10c5c86c
4,425
cpp
C++
Source/Grid/Grid.cpp
KwenaMashamaite/Centipede
745b9792da15482db7697e3b86f93c75754ebd64
[ "MIT" ]
2
2021-09-08T11:03:39.000Z
2022-02-17T10:09:14.000Z
Source/Grid/Grid.cpp
KwenaMashamaite/Centipede
745b9792da15482db7697e3b86f93c75754ebd64
[ "MIT" ]
null
null
null
Source/Grid/Grid.cpp
KwenaMashamaite/Centipede
745b9792da15482db7697e3b86f93c75754ebd64
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Centipede clone // // Copyright (c) 2021 Kwena Mashamaite (kwena.mashamaite1@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Soft...
40.227273
102
0.545085
[ "render", "object" ]
efed06d0346095141a67d4d567602bd81697bb16
3,531
cpp
C++
src/projects/corridor/ChCollisionLidar.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2020-03-05T13:00:41.000Z
2020-03-05T13:00:41.000Z
src/projects/corridor/ChCollisionLidar.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
null
null
null
src/projects/corridor/ChCollisionLidar.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2022-03-27T15:12:24.000Z
2022-03-27T15:12:24.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
28.248
114
0.649958
[ "vector" ]
effb12badb8effcbdd806c8f4ed6537a2bfb57a9
4,095
cpp
C++
src/python/light_pcapng.cpp
stricaud/LightPcapNg
a76c83e09338d51a661596522b85c4fe80100fc9
[ "MIT" ]
null
null
null
src/python/light_pcapng.cpp
stricaud/LightPcapNg
a76c83e09338d51a661596522b85c4fe80100fc9
[ "MIT" ]
null
null
null
src/python/light_pcapng.cpp
stricaud/LightPcapNg
a76c83e09338d51a661596522b85c4fe80100fc9
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> #include <pybind11/pybind11.h> #include <pybind11/functional.h> #include <pybind11/stl.h> #include <light_pcapng.h> #include <light_pcapng_ext.h> #include <light_blocks.h> #include "light_pcapng.hpp" #include "light_pcapng_fileinfo.hpp" namespace py = pybind11; PcapNg::PcapNg...
30.110294
169
0.699878
[ "vector" ]