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
9563b9045c3926e2dd7d48ac4eee550ebd73be3c
5,566
cpp
C++
llvm-3.5/lib/Target/PowerPC/PPCTargetMachine.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
3
2015-03-08T22:21:34.000Z
2018-06-25T00:18:51.000Z
llvm-3.5/lib/Target/PowerPC/PPCTargetMachine.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1
2016-09-22T06:35:24.000Z
2016-09-23T08:33:57.000Z
llvm-3.5/lib/Target/PowerPC/PPCTargetMachine.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1
2021-03-24T06:40:32.000Z
2021-03-24T06:40:32.000Z
//===-- PPCTargetMachine.cpp - Define TargetMachine for PowerPC -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.549708
80
0.636184
[ "model" ]
957f67f9a101b7188b0b432829e84d460f786914
10,213
cpp
C++
Oem/DWFTK/develop/global/src/dwf/whiptk/plotinfo.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/DWFTK/develop/global/src/dwf/whiptk/plotinfo.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/DWFTK/develop/global/src/dwf/whiptk/plotinfo.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// Copyright (c) 1996-2006 by Autodesk, Inc. // // By using this code, you are agreeing to the terms and conditions of // the License Agreement included in the documentation for this code. // // AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS // OF THIS CODE OR ANY DERIVATIVE WORKS WH...
36.216312
121
0.589053
[ "transform" ]
95830dfb3df0c003e87aa39a41089d6ae0a5bc51
1,827
cpp
C++
lib/source/core/transform/transformable.cpp
reclue/seductive-dream
6832c4789e58272de92096d2229c464b68881033
[ "MIT" ]
1
2021-12-22T11:26:48.000Z
2021-12-22T11:26:48.000Z
lib/source/core/transform/transformable.cpp
reclue/seductive-dream
6832c4789e58272de92096d2229c464b68881033
[ "MIT" ]
null
null
null
lib/source/core/transform/transformable.cpp
reclue/seductive-dream
6832c4789e58272de92096d2229c464b68881033
[ "MIT" ]
null
null
null
#include "transform/transformable.h" #include <utility> void swap(Transformable& lhs, Transformable& rhs) { if (&lhs == &rhs) return; using std::swap; swap(static_cast<ParentTransformation>(lhs), static_cast<ParentTransformation>(rhs)); swap(static_cast<LocalTransformation>(lhs), static_cast<LocalT...
29.95082
100
0.730159
[ "transform" ]
958e924bc74fa0640d27dc38edd7b5adb5d3dc0d
23,045
cpp
C++
src/CUtil.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
12
2015-06-08T16:19:33.000Z
2020-02-11T13:40:58.000Z
src/CUtil.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
null
null
null
src/CUtil.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
6
2016-09-09T11:55:19.000Z
2020-07-08T16:04:04.000Z
//! Utility class static methods. /*! * \file CUtil.cpp * * This file contains the utility class static methods. * * Changed from UCC 2013_04 release by Randy Maxwell * Changes started on 2015_04_22 * Changes ended on 2015_06_06 * Refactored ToUpper to use table lookup (char array) for much faster performance * ...
23.021978
202
0.637362
[ "vector" ]
958f8ac54bd6bc6be32f201fb593c9cecb6e101f
3,731
cpp
C++
03/binary_diagnostic.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
03/binary_diagnostic.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
03/binary_diagnostic.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
#include <binary_diagnostic.hpp> #include <range/v3/range/conversion.hpp> #include <range/v3/view/split.hpp> #include <range/v3/view/transform.hpp> #include <algorithm> #include <cassert> #include <optional> #include <string> std::tuple<std::vector<ReportEntry>, int64_t> parseInput(std::string_view input) { std:...
32.443478
103
0.640847
[ "vector", "transform" ]
95926dbbe388e397473a7f2815329566258bfbb6
701
cpp
C++
Baekjoon Online Judge/1 ~ 9999/2303/boj-2303.cpp
kesakiyo/Competitive-Programming
e42331b28c3d8c10bd4853c8fa0ebbfc58dfa033
[ "MIT" ]
1
2019-05-17T16:16:43.000Z
2019-05-17T16:16:43.000Z
Baekjoon Online Judge/1 ~ 9999/2303/boj-2303.cpp
kesakiyo/Competitive-Programming
e42331b28c3d8c10bd4853c8fa0ebbfc58dfa033
[ "MIT" ]
null
null
null
Baekjoon Online Judge/1 ~ 9999/2303/boj-2303.cpp
kesakiyo/Competitive-Programming
e42331b28c3d8c10bd4853c8fa0ebbfc58dfa033
[ "MIT" ]
null
null
null
/* Copyright(c) 2019. Minho Cheon. All rights reserved. */ #include <iostream> #include <vector> #include <algorithm> using namespace std; int getScore(const vector<int>& vi) { int mmax = -1; for (int i = 0 ; i < 5 ; ++i) { for (int j = i + 1 ; j < 5 ; ++j) { for (int k = j + 1 ; k < 5 ; ++k) { int su...
16.302326
56
0.492154
[ "vector" ]
95933ab8f18e2d120b8f4bb71badb036733843b6
1,204
cpp
C++
final-project/src/preferences.cpp
babichjacob/ECE-370-Final-Project
c1346b54bae09eee1c54da00ff86cdb5ba3c89a1
[ "MIT" ]
null
null
null
final-project/src/preferences.cpp
babichjacob/ECE-370-Final-Project
c1346b54bae09eee1c54da00ff86cdb5ba3c89a1
[ "MIT" ]
null
null
null
final-project/src/preferences.cpp
babichjacob/ECE-370-Final-Project
c1346b54bae09eee1c54da00ff86cdb5ba3c89a1
[ "MIT" ]
null
null
null
#include "preferences.h" #include <fstream> #include <iostream> #include <string> #include <utility> #include <vector> using std::cout; using std::endl; using std::getline; using std::ifstream; using std::ofstream; using std::pair; using std::vector; Preferences preferences_init() { Preferences preferences; ifs...
19.419355
83
0.725083
[ "vector" ]
d2e89a550ff6afbddea21bcad51c9fc3a4b10120
2,152
cpp
C++
src/interpreter/InterpreterBrieIndex.cpp
rdowavic/souffle
c1874dd4c75f17c53dda9cf3ad23981329fcd510
[ "UPL-1.0" ]
null
null
null
src/interpreter/InterpreterBrieIndex.cpp
rdowavic/souffle
c1874dd4c75f17c53dda9cf3ad23981329fcd510
[ "UPL-1.0" ]
null
null
null
src/interpreter/InterpreterBrieIndex.cpp
rdowavic/souffle
c1874dd4c75f17c53dda9cf3ad23981329fcd510
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2019, The Souffle Developers. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /*******************************************************...
33.107692
73
0.609665
[ "vector" ]
d2f0101f0b61a14dd3a270b98264719007c483e7
8,434
hpp
C++
src/aspell-60/common/config.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
31
2016-11-08T05:13:02.000Z
2022-02-23T19:13:01.000Z
src/aspell-60/common/config.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
6
2017-01-17T20:21:55.000Z
2021-09-02T07:36:18.000Z
src/aspell-60/common/config.hpp
reydajp/build-spell
a88ffbb9ffedae3f20933b187c95851e47e0e4c3
[ "MIT" ]
5
2017-07-11T11:10:55.000Z
2022-02-14T01:55:16.000Z
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #ifndef ASPELL_CONFIG___HPP #define ASPELL_CONFIG___...
29.907801
88
0.66801
[ "object", "vector" ]
9600fef165d22e53013b907dbc4a4a9edacec699
108,570
cpp
C++
src/surfaceDirect3D11.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
1
2022-01-15T00:00:27.000Z
2022-01-15T00:00:27.000Z
src/surfaceDirect3D11.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
null
null
null
src/surfaceDirect3D11.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
3
2021-10-14T02:36:56.000Z
2022-03-22T21:03:31.000Z
/* The Forgotten Client Copyright (C) 2020 Saiyans King This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
38.927931
372
0.759731
[ "vector", "solid" ]
9611bc10721926a1b7c81dec96d2de12f0f128e9
3,452
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/test_real_polynomial.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/test_real_polynomial.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/tests/test_real_polynomial.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
#include <iostream> #include <sstream> #include "testlib/testlib_test.h" #include "vnl/vnl_real_polynomial.h" void test_real_polynomial() { vnl_real_polynomial f1(3u); vnl_real_polynomial f2(4); // Test initialization with signed value. for (int i = 0; i <= f1.degree(); ++i) f1[i] = i + 1; // f1 = X^3 +2 X...
31.099099
85
0.581692
[ "vector" ]
96144261acec4de761c68ea72af24bcd30c9ca6e
2,900
cpp
C++
geomtry/main_3D_fibo.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
19
2018-07-02T17:06:54.000Z
2021-03-04T18:29:21.000Z
geomtry/main_3D_fibo.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
1
2019-04-06T13:46:41.000Z
2020-06-15T14:59:26.000Z
geomtry/main_3D_fibo.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
3
2020-04-14T09:19:43.000Z
2021-03-27T06:40:52.000Z
#include "../defines/tc_defines.h" #include "../platform_info/platform_info.h" #include "../sdl/sdl.h" #include <stdio.h> #include <stdlib.h> #include <iostream> #include <vector> struct Vec3 { double x, y, z; Vec3() : x(0.0), y(0.0), z(0.0) {} Vec3(const double _x, const double _y, const double _z)...
24.369748
85
0.538966
[ "vector" ]
961b6198b16852b5268b9dec2022af63d04ca11f
12,217
cpp
C++
apps/sfllabel/R3SurfelClassifier.cpp
trisct/gaps
5706cbf215fec836c340339459f882792ae1fa6c
[ "MIT" ]
79
2016-10-19T16:56:32.000Z
2022-03-26T09:25:25.000Z
apps/sfllabel/R3SurfelClassifier.cpp
trisct/gaps
5706cbf215fec836c340339459f882792ae1fa6c
[ "MIT" ]
7
2017-03-24T00:44:45.000Z
2020-03-22T14:51:51.000Z
apps/sfllabel/R3SurfelClassifier.cpp
trisct/gaps
5706cbf215fec836c340339459f882792ae1fa6c
[ "MIT" ]
25
2016-10-12T01:46:19.000Z
2021-03-11T06:55:59.000Z
/* Source file for the surfel scene classifier class */ //////////////////////////////////////////////////////////////////////// // Include files //////////////////////////////////////////////////////////////////////// namespace gaps {} using namespace gaps; #include "R3Surfels/R3Surfels.h" #include "R3SurfelClassi...
29.943627
176
0.617009
[ "object", "vector" ]
9630461d1161950879282bd7259da50b61e3d114
8,429
cpp
C++
QuickOpen/main.cpp
picode98/QuickOpen
7a0d1da334cdfc9b605dcb06425b63c122d11e59
[ "MIT" ]
null
null
null
QuickOpen/main.cpp
picode98/QuickOpen
7a0d1da334cdfc9b605dcb06425b63c122d11e59
[ "MIT" ]
null
null
null
QuickOpen/main.cpp
picode98/QuickOpen
7a0d1da334cdfc9b605dcb06425b63c122d11e59
[ "MIT" ]
null
null
null
// // Created by sdk on 1/4/22. // #include "AppGUI.h" class QuickOpenApplication : public IQuickOpenApplication { std::shared_ptr<WriterReadersLock<AppConfig>> configRef; QuickOpenTaskbarIcon* icon = nullptr; std::unique_ptr<QuickOpenWebServer> server; std::unique_ptr<ManagementServer> mgmtServer; ...
30.875458
175
0.663424
[ "vector" ]
9634693692c21d3bb8853fc7c382519903f1069c
5,830
cpp
C++
sources/drivers.cpp
DominikLindorfer/mathematicapp
ce9de342501d803ccd115533d19c7e3ace51e475
[ "BSD-2-Clause-FreeBSD" ]
8
2019-10-04T16:27:33.000Z
2022-01-30T22:28:51.000Z
sources/drivers.cpp
DominikLindorfer/mathematicapp
ce9de342501d803ccd115533d19c7e3ace51e475
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
sources/drivers.cpp
DominikLindorfer/mathematicapp
ce9de342501d803ccd115533d19c7e3ace51e475
[ "BSD-2-Clause-FreeBSD" ]
2
2020-02-22T03:33:50.000Z
2020-09-17T07:10:21.000Z
/* * Copyright (c) 2018, Sunanda Bose (Neel Basu) (neel.basu.z@gmail.com) * 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 c...
45.905512
148
0.721612
[ "vector" ]
963e973d7a79e620690f162e0e9eeedd9a8c7cf5
1,330
cpp
C++
src/examples/bigpaths.cpp
modeco80/bigfile
d1cacbbec1efa259adb7ebd44b707ea764e9131f
[ "MIT" ]
null
null
null
src/examples/bigpaths.cpp
modeco80/bigfile
d1cacbbec1efa259adb7ebd44b707ea764e9131f
[ "MIT" ]
null
null
null
src/examples/bigpaths.cpp
modeco80/bigfile
d1cacbbec1efa259adb7ebd44b707ea764e9131f
[ "MIT" ]
null
null
null
// example ls-like program using bigfile #include <iostream> #include <vector> #include <fstream> #include <bigfile.h> int main(int argc, char** argv) { if(argc < 2) { std::cout << "Usage: " << argv[0] << " [.big file]\n"; return 1; } bool enable_cofb = false; std::string file = argv[1]; std::ifstream stre...
23.75
143
0.607519
[ "vector" ]
964716180b414214d9be8f3fafdbe4ae96013d70
3,356
cpp
C++
tests/test1.cpp
boralt/EmbeddedAI
1cac5bf4405b31828f52e36fb542ec8229ac9647
[ "BSD-2-Clause", "BSD-3-Clause" ]
10
2019-07-26T07:48:28.000Z
2021-05-05T08:32:22.000Z
tests/test1.cpp
boralt/EmbeddedAI
1cac5bf4405b31828f52e36fb542ec8229ac9647
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
tests/test1.cpp
boralt/EmbeddedAI
1cac5bf4405b31828f52e36fb542ec8229ac9647
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2020-10-07T06:33:06.000Z
2020-10-07T06:33:06.000Z
/* * Copyright (C) 2017 Boris Altshul. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. */ // #include "stdafx.h" #include <factor.h> #include <Factories.h> #include <json...
13.867769
77
0.671633
[ "model" ]
964a77bc1d6df6ee170bbcda67362c91f8d8dbad
16,110
cpp
C++
endhost/ssp/SCIONSocket.cpp
sasjafor/scion
cdcbd186d1350ad78f365556b771ada522bd33ed
[ "Apache-2.0" ]
1
2018-03-18T14:46:34.000Z
2018-03-18T14:46:34.000Z
endhost/ssp/SCIONSocket.cpp
sasjafor/scion
cdcbd186d1350ad78f365556b771ada522bd33ed
[ "Apache-2.0" ]
null
null
null
endhost/ssp/SCIONSocket.cpp
sasjafor/scion
cdcbd186d1350ad78f365556b771ada522bd33ed
[ "Apache-2.0" ]
1
2018-03-14T14:59:57.000Z
2018-03-14T14:59:57.000Z
/* Copyright 2015 ETH Zurich * * 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 to in wri...
27.397959
99
0.617877
[ "vector" ]
964c48a616fb4d03f8b3b318155e80ce0ef0678c
4,914
cpp
C++
flume/runtime/common/sub_executor_manager.cpp
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
1
2021-02-18T20:13:34.000Z
2021-02-18T20:13:34.000Z
flume/runtime/common/sub_executor_manager.cpp
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
null
null
null
flume/runtime/common/sub_executor_manager.cpp
advancedxy/bigflow_python
8a244b483404fde7afc42eee98bc964da8ae03e2
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * * Copyright (c) 2013 Baidu, Inc. 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 * ...
30.90566
93
0.611111
[ "vector" ]
9653ee1b76fc3daee21f6e766597d1740549515f
4,383
cc
C++
gnuradio-3.7.13.4/gr-trellis/lib/interleaver.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-trellis/lib/interleaver.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-trellis/lib/interleaver.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2002,2012 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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 version 3, or (at your o...
29.22
95
0.568104
[ "vector" ]
965ad05e0d84d1ed6f2c01615055ce0cca1948c5
3,953
hpp
C++
src/bigint.hpp
echiesse/Bigint
2c9abf306e0ad576b2e8c0d1ae007f57f56b89c4
[ "MIT" ]
null
null
null
src/bigint.hpp
echiesse/Bigint
2c9abf306e0ad576b2e8c0d1ae007f57f56b89c4
[ "MIT" ]
null
null
null
src/bigint.hpp
echiesse/Bigint
2c9abf306e0ad576b2e8c0d1ae007f57f56b89c4
[ "MIT" ]
null
null
null
#ifndef __BIGINT_HPP__ #define __BIGINT_HPP__ #include <iostream> #include <vector> #include <string> #include <algorithm> namespace ecs { using namespace std; // Máximo inteiro com 32 bits (unsigned): 4294967295 const int BASE = 1000000000; // Base decimal para facilitar na exibição. const int PART_LEN = 9; stri...
25.503226
118
0.471288
[ "vector" ]
965ad0e63987f5886fa6775fb6c7e07092ca21b0
2,953
hh
C++
hackt_docker/hackt/src/Object/inst/state_instance.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/inst/state_instance.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/inst/state_instance.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/inst/state_instance.hh" Class template for instance state. $Id: state_instance.hh,v 1.13 2010/04/07 00:12:45 fang Exp $ */ #ifndef __HAC_OBJECT_INST_STATE_INSTANCE_H__ #define __HAC_OBJECT_INST_STATE_INSTANCE_H__ #include <iosfwd> #include "Object/traits/class_traits.hh" #include "util/memory/co...
26.603604
79
0.74636
[ "object" ]
96626bf85c3038240531ed7248b709c20e45272a
2,198
cpp
C++
aws-cpp-sdk-iot/source/model/Behavior.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-iot/source/model/Behavior.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-iot/source/model/Behavior.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iot/model/Behavior.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace IoT { ...
18.016393
70
0.707916
[ "model" ]
96633692e25ffaed5d108ed8e498a153568a2930
6,168
cpp
C++
FEM/src/basis.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
27
2018-06-19T14:45:43.000Z
2022-02-18T22:04:51.000Z
FEM/src/basis.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
null
null
null
FEM/src/basis.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
10
2018-06-19T22:01:09.000Z
2021-10-03T07:02:07.000Z
// // Created by milinda on 1/12/17. // /** * @author Milinda Fernando * School of Computing, University of Utah. * @breif Contains implementation of Jacobi polynomials, and Jacobi Gauss-Lobatto quadrature. * reference: Mangll implementation. * */ #include <limits> #include <vector> #include "basis.h" namespace ...
27.909502
134
0.43596
[ "vector" ]
966b9966be947bb3e80e2a1aecb81a977e852a4b
2,534
cc
C++
companyreg/src/model/CheckCompanyRegResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
companyreg/src/model/CheckCompanyRegResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
companyreg/src/model/CheckCompanyRegResult.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...
28.795455
95
0.766772
[ "vector", "model" ]
96817090146068711e98a2613587fc619d4e085a
1,170
cpp
C++
backtracking/leetcode_backtracking/39_combination_sum.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:19.000Z
2020-10-12T19:18:19.000Z
backtracking/leetcode_backtracking/39_combination_sum.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
null
null
null
backtracking/leetcode_backtracking/39_combination_sum.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:04.000Z
2020-10-12T19:18:04.000Z
// // 39_combination_sum.cpp // leetcode_backtracking // // Created by Hadley on 24.08.20. // Copyright © 2020 Hadley. All rights reserved. // #include <stdio.h> #include <algorithm> #include <iostream> #include <vector> #include <string> #include <unordered_map> #include <stack> #include <cstring> #include <queue...
23.4
98
0.605128
[ "vector" ]
96846e7e446440b5110f0abcbb0361b9be3545ad
12,329
cpp
C++
test/test_matrix4.cpp
Worgaros/GPR5204_919
5e4f85d3cb57cd29cbfdc67dd70a7cb2720a91a1
[ "MIT" ]
null
null
null
test/test_matrix4.cpp
Worgaros/GPR5204_919
5e4f85d3cb57cd29cbfdc67dd70a7cb2720a91a1
[ "MIT" ]
6
2021-02-15T14:37:05.000Z
2021-03-23T15:24:22.000Z
test/test_matrix4.cpp
Worgaros/GPR5204_919
5e4f85d3cb57cd29cbfdc67dd70a7cb2720a91a1
[ "MIT" ]
9
2021-02-12T07:16:41.000Z
2021-04-26T14:36:44.000Z
/* MIT License Copyright (c) 2021 SAE Institute Geneva Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
25.792887
78
0.610512
[ "vector" ]
96852666b8ee93e39632334bb72129fa975d4a6f
327
hpp
C++
include/Inspector.hpp
maxc0der/lab04
856c6fc71691846c35194b9f0b3495d41ab07bad
[ "MIT" ]
null
null
null
include/Inspector.hpp
maxc0der/lab04
856c6fc71691846c35194b9f0b3495d41ab07bad
[ "MIT" ]
null
null
null
include/Inspector.hpp
maxc0der/lab04
856c6fc71691846c35194b9f0b3495d41ab07bad
[ "MIT" ]
null
null
null
// // Created by ubuntu on 18.01.2021. // #ifndef LAB4_INSPECTOR_HPP #define LAB4_INSPECTOR_HPP class Inspector { public: Inspector(const std::string &PathToInspect); void InspectBrokers(); void PrintResult(); private: std::vector<broker> brokers; std::string brokersDirectory; }; #endif // LAB4_INSPECT...
16.35
46
0.730887
[ "vector" ]
968a87391b965ad4fdb0917eccb926c1e2f4fdcf
2,824
cpp
C++
tc 160+/Nisoku.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/Nisoku.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/Nisoku.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; class Nisoku { public: double theMax(vector <double> cards) { sort(cards.begin(), cards.end()); double sol = 0.0; ...
44.125
315
0.547805
[ "vector" ]
968d69684dd0e1a4d936ed8a4312d3729ace4915
1,566
cpp
C++
algorithms/strings/TwoCharacters.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
algorithms/strings/TwoCharacters.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
algorithms/strings/TwoCharacters.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); int alternate(string s) { int letters [26] = {0}; for(auto c : s) letters[c-'a']++; vector<char> toCheck; for(int i=0; i<26; i++) if(letters[i]>0) toCheck.push_back(i+'a'); string ...
20.076923
81
0.494253
[ "vector" ]
96921fd8059bda5c79bcdc9c92023854ab882b6a
490
cc
C++
04_Vector/Auto3.cc
SEEM87/UdemyCpp
b1fe398c7134c74760341c9620eabca6c64043a9
[ "MIT" ]
1
2022-02-26T19:52:30.000Z
2022-02-26T19:52:30.000Z
04_Vector/Auto3.cc
SEEM87/UdemyCpp
b1fe398c7134c74760341c9620eabca6c64043a9
[ "MIT" ]
null
null
null
04_Vector/Auto3.cc
SEEM87/UdemyCpp
b1fe398c7134c74760341c9620eabca6c64043a9
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <numeric> #include <vector> int main() { int matrix[2][3]{}; for (const auto &row : matrix) { for (const auto &value : row) { std::cout << value << std::endl; } } struct Data { int x; int y; ...
14.848485
50
0.44898
[ "vector" ]
f7b547b2627ea60b7179bced67f589235609d2cc
8,093
cc
C++
trunks/session_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
trunks/session_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
trunks/session_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2015 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "trunks/session_manager_impl.h" #include <cstring> #include <vector> #include <base/logging.h> #include <base/strings/string_number_conversi...
37.123853
80
0.720499
[ "vector" ]
f7bb48f10e911e67247074aca6c9f16cd4ab571e
5,965
cpp
C++
test/test_elements_contracthashutil.cpp
cryptogarageinc/cg-cfd-core
f7dcd8b8d4c004b2a4f88715c0a3d718e5f035b2
[ "MIT" ]
null
null
null
test/test_elements_contracthashutil.cpp
cryptogarageinc/cg-cfd-core
f7dcd8b8d4c004b2a4f88715c0a3d718e5f035b2
[ "MIT" ]
2
2019-11-11T06:29:38.000Z
2020-07-18T08:02:16.000Z
test/test_elements_contracthashutil.cpp
cryptogarageinc/cg-cfd-core
f7dcd8b8d4c004b2a4f88715c0a3d718e5f035b2
[ "MIT" ]
1
2019-11-08T13:13:42.000Z
2019-11-08T13:13:42.000Z
#ifndef CFD_DISABLE_ELEMENTS #include "gtest/gtest.h" #include <vector> #include "cfdcore/cfdcore_common.h" #include "cfdcore/cfdcore_script.h" #include "cfdcore/cfdcore_elements_script.h" #include "cfdcore/cfdcore_exception.h" #include "cfdcore/cfdcore_logger.h" using cfd::core::Script; using cfd::core::ContractHash...
69.360465
1,283
0.894216
[ "vector" ]
f7c32a831464d0afc668a0991bef3050961c891b
410
cc
C++
project-euler/0001-0050/pe-0002.cc
RingZEROtlf/OJ
8159b8dc2b1c7433631edef2f2f65fc9624f5a86
[ "MIT" ]
null
null
null
project-euler/0001-0050/pe-0002.cc
RingZEROtlf/OJ
8159b8dc2b1c7433631edef2f2f65fc9624f5a86
[ "MIT" ]
null
null
null
project-euler/0001-0050/pe-0002.cc
RingZEROtlf/OJ
8159b8dc2b1c7433631edef2f2f65fc9624f5a86
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> class sum_of_even_fibonacci_numbers { public: uint64_t operator()(uint64_t n) const { uint64_t sum = 0, a = 0, b = 1; while (a + b < n) { uint64_t c = a + b; if (c % 2 == 0) { sum += c; } a = b; b = c; } return sum; } }; ...
17.083333
41
0.521951
[ "vector" ]
f7c7292e48db084454156d0ef86957ac4f43e4d4
7,293
cc
C++
chrome/browser/automation/automation_provider_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/automation/automation_provider_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/automation/automation_provider_gtk.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/automation/automation_provider.h" #include <gtk/gtk.h> #include "base/gfx/point.h" #include "base/gfx/rect.h" #include "chr...
31.571429
78
0.629096
[ "vector" ]
f7c7434f73523d277805f70f78127c6597199dbc
500
cpp
C++
libs/graphics/logic.cpp
pduuubs/render3D
57d8023af74d175104b2937cb6561ba8660fe5b6
[ "MIT" ]
null
null
null
libs/graphics/logic.cpp
pduuubs/render3D
57d8023af74d175104b2937cb6561ba8660fe5b6
[ "MIT" ]
null
null
null
libs/graphics/logic.cpp
pduuubs/render3D
57d8023af74d175104b2937cb6561ba8660fe5b6
[ "MIT" ]
null
null
null
#include <SDL/SDL.h> #include <cstdlib> #include <cmath> #include <vector> #include <map> #include <iostream> #include <fstream> Uint8* inkeys; SDL_Event event = {0}; std::map<int, bool> keypressed; unsigned long getTicks() { return SDL_GetTicks(); } void readKeys() { SDL_PollEvent(&event); i...
17.857143
106
0.662
[ "vector" ]
f7c808e2fc9644d75a72d07a81e94d624b9cc596
907
cpp
C++
tests/typename.cpp
DoumanAsh/typemap.cpp
99c73edeb14c191a4dd8870aeaa20fe7a6cf2060
[ "BSL-1.0" ]
null
null
null
tests/typename.cpp
DoumanAsh/typemap.cpp
99c73edeb14c191a4dd8870aeaa20fe7a6cf2060
[ "BSL-1.0" ]
null
null
null
tests/typename.cpp
DoumanAsh/typemap.cpp
99c73edeb14c191a4dd8870aeaa20fe7a6cf2060
[ "BSL-1.0" ]
1
2020-01-13T09:47:50.000Z
2020-01-13T09:47:50.000Z
#include <catch.hpp> #include <typemap.hpp> #include <string> #include <array> TEST_CASE("it works") { type::Map map; REQUIRE(map.empty()); REQUIRE(map.get<int>() == nullptr); REQUIRE(!map.has<int>()); REQUIRE(map.get_or_default<std::vector<int>>().size() == 0); REQUIRE(map.emplace<int>(1)...
23.868421
64
0.586549
[ "vector" ]
f7cb06bf5b7015b135c5f1781b9fd4dfe25a8d8b
3,822
cpp
C++
aireas/state_tree.cpp
paulsnar/gampixi-DSP332-AIreas
cce00992d5efe0d6e8e8234abdaa13f654d50d7d
[ "MIT" ]
null
null
null
aireas/state_tree.cpp
paulsnar/gampixi-DSP332-AIreas
cce00992d5efe0d6e8e8234abdaa13f654d50d7d
[ "MIT" ]
null
null
null
aireas/state_tree.cpp
paulsnar/gampixi-DSP332-AIreas
cce00992d5efe0d6e8e8234abdaa13f654d50d7d
[ "MIT" ]
1
2021-03-04T12:22:47.000Z
2021-03-04T12:22:47.000Z
#include "pch.h" #include "state_tree.h" #include "aireas_defs.h" #include <cmath> #include <iostream> using std::max; using std::min; StateTreeNode::StateTreeNode(size_t field_size) { value = GameState(field_size); node_value = value.get_current_player() == GamePlayer::Player1 ? INT_MIN : INT_MAX; parsed = vector...
29.859375
112
0.688121
[ "vector" ]
f7cf6441ff6b11dea9852a7e0f4cc2483b61aa05
2,238
cpp
C++
src/main.cpp
stepansojka/arduino-weather-station
52890c37cf0dcd8be7ce154f08d5a6fa00a688bc
[ "MIT" ]
null
null
null
src/main.cpp
stepansojka/arduino-weather-station
52890c37cf0dcd8be7ce154f08d5a6fa00a688bc
[ "MIT" ]
null
null
null
src/main.cpp
stepansojka/arduino-weather-station
52890c37cf0dcd8be7ce154f08d5a6fa00a688bc
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <LiquidCrystal.h> #include <DHT.h> #include <math.h> #include "Sds.h" const uint8_t DHT_PIN = 2; #define DHT_TYPE DHT22 // DHT 22 (AM2302), AM2321 DHT dht(DHT_PIN, DHT_TYPE); const uint8_t LCD_RS_PIN = 12; const uint8_t LCD_EN_PIN = 10; const uint8_t LCD_D4_PIN = 9; const uint8_t...
19.982143
63
0.675603
[ "3d" ]
f7d91468f192e88aefc771af575f03864ebb4057
5,751
cpp
C++
src/fft_2n.cpp
tipabu/quadiron
f01f55b306d1bc6a28fbd7d7f78fb53299888e7b
[ "BSD-3-Clause" ]
21
2018-09-20T05:42:44.000Z
2021-06-22T14:53:04.000Z
src/fft_2n.cpp
tipabu/quadiron
f01f55b306d1bc6a28fbd7d7f78fb53299888e7b
[ "BSD-3-Clause" ]
67
2018-07-26T14:44:11.000Z
2020-04-16T16:58:23.000Z
src/fft_2n.cpp
tipabu/quadiron
f01f55b306d1bc6a28fbd7d7f78fb53299888e7b
[ "BSD-3-Clause" ]
3
2018-10-07T00:41:23.000Z
2022-01-05T19:25:50.000Z
/* -*- mode: c++ -*- */ /* * Copyright 2017-2018 Scality * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions ...
29.797927
80
0.695879
[ "vector" ]
f7dbcf651e8360032f477386c8265dac31a5086a
4,465
cpp
C++
src/CGnuPlotStyleXErrorBars.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CGnuPlotStyleXErrorBars.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CGnuPlotStyleXErrorBars.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
1
2019-04-01T13:08:45.000Z
2019-04-01T13:08:45.000Z
#include <CGnuPlotStyleXErrorBars.h> #include <CGnuPlotPlot.h> #include <CGnuPlotGroup.h> #include <CGnuPlotErrorBarObject.h> #include <CGnuPlotErrorBarData.h> #include <CGnuPlotRenderer.h> CGnuPlotStyleXErrorBars:: CGnuPlotStyleXErrorBars() : CGnuPlotStyleBase(CGnuPlot::PlotStyle::XERRORBARS) { } void CGnuPlotStyle...
22.780612
99
0.608959
[ "vector" ]
f7e78639e73b43b265eb77b4d42e6c3a6a7e8515
21,532
cpp
C++
cmonkey/cmonkey/SystemInfo.cpp
aliagamon/cmonkey
3523320a0854a4635b0e6dd78d575794a7ca8e8d
[ "MIT" ]
2
2019-11-02T12:10:14.000Z
2019-11-03T18:40:23.000Z
cmonkey/cmonkey/SystemInfo.cpp
aliagamon/cmonkey
3523320a0854a4635b0e6dd78d575794a7ca8e8d
[ "MIT" ]
null
null
null
cmonkey/cmonkey/SystemInfo.cpp
aliagamon/cmonkey
3523320a0854a4635b0e6dd78d575794a7ca8e8d
[ "MIT" ]
1
2020-10-04T19:45:25.000Z
2020-10-04T19:45:25.000Z
#include "SystemInfo.h" #include "include\curl\curl.h" #include "curl_helper.h" #include "include\picosha2.h" #include "Utility.h" #include <Windows.h> #include <tchar.h> #include <intrin.h> #include <lmcons.h> #include <ShlObj.h> #include <comdef.h> #include <WbemIdl.h> #include <atlconv.h> #include <iphlpapi.h> #prag...
18.340716
100
0.684284
[ "vector" ]
f7e7fce56a64e15395eb8a3e74cc6dfede189e6e
446
cpp
C++
dsa_ninjas_cpp/keypad_seqs_print.cpp
xufor/dsa-hustle
00ca691ddc4794a5a7b4439a59c463c4f0444a7a
[ "MIT" ]
null
null
null
dsa_ninjas_cpp/keypad_seqs_print.cpp
xufor/dsa-hustle
00ca691ddc4794a5a7b4439a59c463c4f0444a7a
[ "MIT" ]
null
null
null
dsa_ninjas_cpp/keypad_seqs_print.cpp
xufor/dsa-hustle
00ca691ddc4794a5a7b4439a59c463c4f0444a7a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define nl '\n' #define sp " " using namespace std; vector<string> key_data = { "", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz" }; void keypad(int input, string output) { if(input == 0) { cout << output << nl; return; } for(char c: key_data[in...
19.391304
57
0.5
[ "vector" ]
f7ee64464999369a6abac21025392fd3aa6857b7
12,367
cpp
C++
QuantumGateLib/Core/Peer/PeerMessageProcessorReadyState.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
null
null
null
QuantumGateLib/Core/Peer/PeerMessageProcessorReadyState.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
null
null
null
QuantumGateLib/Core/Peer/PeerMessageProcessorReadyState.cpp
Colorfingers/QuantumGate
e183e02464859f4ca486999182c4c41221f3261a
[ "MIT" ]
null
null
null
// This file is part of the QuantumGate project. For copyright and // licensing information refer to the license file(s) in the project root. #include "pch.h" #include "PeerMessageProcessor.h" #include "PeerManager.h" #include "Peer.h" #include "..\..\Memory\BufferReader.h" #include "..\..\Memory\BufferWriter.h" usin...
31.956072
126
0.638635
[ "vector" ]
f7f4660504b872877cf3b1643114c2931b53349f
2,430
hpp
C++
core/include/Cerium/vec4.hpp
bjornus/Cerium
b908be6199da2ad003d59251cb9ebf749e7e4d73
[ "MIT" ]
9
2017-06-12T08:12:44.000Z
2019-01-15T08:22:53.000Z
core/include/Cerium/vec4.hpp
szewczukk/Cerium
b908be6199da2ad003d59251cb9ebf749e7e4d73
[ "MIT" ]
null
null
null
core/include/Cerium/vec4.hpp
szewczukk/Cerium
b908be6199da2ad003d59251cb9ebf749e7e4d73
[ "MIT" ]
1
2018-10-27T02:47:56.000Z
2018-10-27T02:47:56.000Z
#ifndef CERIUM_VEC4_HPP #define CERIUM_VEC4_HPP #include <ostream> namespace cerium { struct vec4 { float x, y, z, w; /* ^[name][constructor_zero] ^[class][vec4] ^[description][Setting 0 as value of attributes of vector] */ vec4(void); //^hea...
31.153846
111
0.557202
[ "vector" ]
f7f63e01eb097a588752976a6951cdb7ce2b5b49
5,489
hpp
C++
string/suffix-array.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
string/suffix-array.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
string/suffix-array.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "../data-structure/sparse-table.hpp" // remind: SA including empty string // verify https://judge.yosupo.jp/submission/240 struct SuffixArray { int _size; vector<int> sa; string &s; SuffixArray(string &str) : _size(str.size()), s(str) { s.push_back(0); sa.resize(s.size()); ...
29.042328
104
0.49335
[ "vector" ]
f7ff4e663b7b1217f1f9387e3cdb820df4d94e91
4,065
cc
C++
cdrs/src/model/ListVehicleDetailsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
cdrs/src/model/ListVehicleDetailsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
cdrs/src/model/ListVehicleDetailsResult.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...
33.595041
91
0.749815
[ "vector", "model" ]
7905aadc4a309017ada5f2eb93dac59f6cf8266b
5,347
hpp
C++
src/include/graph/tree.hpp
rxdu/libgraph
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
6
2018-03-14T19:37:56.000Z
2021-04-20T12:56:21.000Z
src/include/graph/tree.hpp
rxdu/astar_search
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
3
2018-08-03T12:44:32.000Z
2021-01-24T14:38:43.000Z
src/include/graph/tree.hpp
rxdu/astar_search
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
1
2018-03-14T19:37:59.000Z
2018-03-14T19:37:59.000Z
/* * tree.hpp * * Created on: Dec 30, 2018 07:28 * Description: tree - a specialized graph * main difference to Graph: * 1. Tree always maintains a root vertex, can be obtaind by * GetRootVertex() * 2. AddVertex() should only be used for adding root vertex * 3. RemoveVertex(...
33.006173
100
0.674584
[ "vector" ]
790780c67e6ac640b71c035e0bbccfc86b883d9b
5,655
hpp
C++
source/Graph/Graph.hpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
source/Graph/Graph.hpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
source/Graph/Graph.hpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <queue> #include <set> #include <iomanip> /// @file /// @brief Contains the classes \ref mackey::Neighborhood, \ref mackey::Graph, \ref mackey::ShortestPaths namespace mackey { /// @brief The adjecency list of a node in a graph /// @tparam _node The node type should be...
37.450331
145
0.728559
[ "vector" ]
790a2d24812ede43907bd62f130aba7bb7566367
329
cpp
C++
20210710_ABC209/d.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20210710_ABC209/d.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20210710_ABC209/d.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // 入出力の高速化 ios::sync_with_stdio(false); cin.tie(nullptr); // 表示精度変更 cout << fixed << setprecision(16); int n, q; cin >> n >> q; vector<int> a(n),b(n); for(int i=1;i<n;i++){ cin >> a[i] >> b[i]; } int c,d; for(int i=0;i<q;i++){ cin >> c >...
13.16
35
0.528875
[ "vector" ]
790d744599a0e5264b68f35e070dfff3b22ed06e
16,213
cpp
C++
src/ConfiguredApplication/ConfiguredApplication.cpp
mapron/Wuild
5701ed6ecf60fd4959c69cde0d87b7121d6479c2
[ "Apache-2.0" ]
44
2017-01-06T16:48:24.000Z
2022-03-02T17:06:34.000Z
src/ConfiguredApplication/ConfiguredApplication.cpp
mapron/Wuild
5701ed6ecf60fd4959c69cde0d87b7121d6479c2
[ "Apache-2.0" ]
14
2017-01-13T11:38:26.000Z
2021-05-30T14:09:11.000Z
src/ConfiguredApplication/ConfiguredApplication.cpp
mapron/Wuild
5701ed6ecf60fd4959c69cde0d87b7121d6479c2
[ "Apache-2.0" ]
9
2017-11-08T14:30:37.000Z
2021-10-06T06:32:18.000Z
/* * Copyright (C) 2017-2021 Smirnov Vladimir mapron1@gmail.com * Source code 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 or in file COPYING-APA...
45.287709
287
0.683402
[ "vector" ]
7910a2612a3a10bce91e2006904c9024c7725cbe
2,286
cpp
C++
part2/Demo/LocalAssetManager.cpp
wt-student-projects/advanced-games-programming
b28952317de527fabf6594314d086676b43ea6ca
[ "Apache-2.0" ]
null
null
null
part2/Demo/LocalAssetManager.cpp
wt-student-projects/advanced-games-programming
b28952317de527fabf6594314d086676b43ea6ca
[ "Apache-2.0" ]
null
null
null
part2/Demo/LocalAssetManager.cpp
wt-student-projects/advanced-games-programming
b28952317de527fabf6594314d086676b43ea6ca
[ "Apache-2.0" ]
null
null
null
#include "LocalAssetManager.h" LocalAssetManager::LocalAssetManager() { modelFiles.reserve(45); textures.reserve(45); fonts.reserve(10); } LocalAssetManager::~LocalAssetManager() { for (auto& tex : textures) delete tex; for (auto& model : modelFiles) delete model; for (auto& f...
26.581395
105
0.555556
[ "model" ]
79127dba28b66ca94d3b73aed3f280702570325f
1,080
hpp
C++
test/unit/module/real/combinatorial/fibonacci/regular/fibonacci.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/combinatorial/fibonacci/regular/fibonacci.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/combinatorial/fibonacci/regular/fibonacci.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
34.83871
100
0.530556
[ "vector" ]
79171d44d3ba45b6a26b3d4b28555f2651590904
40,337
cpp
C++
ace/tao/orbsvcs/orbsvcs/etcl/ETCL_y.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/orbsvcs/orbsvcs/etcl/ETCL_y.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/orbsvcs/etcl/ETCL_y.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// ETCL_y.cpp,v 1.2 2000/04/02 19:22:41 coryan Exp /* A Bison parser, made from ETCL/ETCL.yy by GNU Bison version 1.28 */ #define YYBISON 1 /* Identify Bison output. */ #define yyparse TAO_ETCL_yyparse #define yylex TAO_ETCL_yylex #define yyerror TAO_ETCL_yyerror #define yylval TAO_ETCL_yylval #de...
31.562598
149
0.554826
[ "object" ]
7923a0da845adadbde7f2da3d39aea8fa5624ec7
1,314
cpp
C++
backup/2/interviewbit/c++/merge-overlapping-intervals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/merge-overlapping-intervals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/merge-overlapping-intervals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
35.513514
345
0.621766
[ "vector" ]
792d9b69d4591427d62b8d30a81b74ae3588573e
7,064
hpp
C++
boost/numeric/mtl/matrix/ell_matrix.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
boost/numeric/mtl/matrix/ell_matrix.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
boost/numeric/mtl/matrix/ell_matrix.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG, www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and Andrew Lumsdaine // /...
33.638095
107
0.664354
[ "vector" ]
a6afa5733fe2606890b0801a9cd43f554cdc9f9e
601
hpp
C++
src/Engine/Physics/PhysicsShape.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
2
2021-04-18T09:49:36.000Z
2021-06-08T03:19:18.000Z
src/Engine/Physics/PhysicsShape.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
null
null
null
src/Engine/Physics/PhysicsShape.hpp
MajorArkwolf/ICT398-Project-Red
953f047507356aafdea856ff28f49de5b97b66cc
[ "MIT" ]
1
2022-03-14T06:06:07.000Z
2022-03-14T06:06:07.000Z
#pragma once #include <reactphysics3d/reactphysics3d.h> /** * @class Physics Shape * @brief Class used to represent a particular react shape */ namespace physics { enum class ShapeType { Unknown, Box, Sphere, Capsule }; class PhysicsShape { friend class CollisionD...
18.212121
68
0.620632
[ "shape" ]
a6b63f4a5ee44d1748a4a54f3082be4643db86ad
4,455
cpp
C++
TAO/examples/AMH/Sink_Server/Client_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/examples/AMH/Sink_Server/Client_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/examples/AMH/Sink_Server/Client_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: Client_Task.cpp 95749 2012-05-13 17:24:52Z johnnyw $ #include "Client_Task.h" #include "tao/Strategies/advanced_resource.h" #include "ace/Get_Opt.h" #include "ace/Sched_Params.h" #include "ace/Stats.h" #include "ace/Throughput_Stats.h" Client_Task::Client_Task (int &argc, ACE_TCHAR **argv) : argc_ (argc) ...
24.478022
83
0.515825
[ "object" ]
a6b94ee849c3ac5da8647b43936eb1c7d7c62bf1
11,054
cpp
C++
OneCodeTeam/C++ app uses ADO.NET to access database (CppUseADONET)/[C++]-C++ app uses ADO.NET to access database (CppUseADONET)/C++/CppUseADONET/CppUseADONET.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
OneCodeTeam/C++ app uses ADO.NET to access database (CppUseADONET)/[C++]-C++ app uses ADO.NET to access database (CppUseADONET)/C++/CppUseADONET/CppUseADONET.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
OneCodeTeam/C++ app uses ADO.NET to access database (CppUseADONET)/[C++]-C++ app uses ADO.NET to access database (CppUseADONET)/C++/CppUseADONET/CppUseADONET.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
/****************************** Module Header ******************************\ * Module Name: CppUseADONET.cpp * Project: CppUseADONET * Copyright (c) Microsoft Corporation. * * The CppUseADONET example demonstrates the Microsoft ADO.NET technology to * access databases using Visual C++ in both managed code and ...
28.19898
82
0.667451
[ "object" ]
a6be538e9ea93eca6cb1a63e42be607fd201a780
3,620
cc
C++
store/weakstore/client.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
437
2016-01-13T23:06:06.000Z
2022-03-07T07:41:55.000Z
store/weakstore/client.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
13
2016-01-14T06:12:21.000Z
2021-09-15T07:45:17.000Z
store/weakstore/client.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
58
2016-01-14T05:54:13.000Z
2022-03-08T02:56:33.000Z
// -*- mode: c++; c-file-style: "k&r"; c-basic-offset: 4 -*- /*********************************************************************** * * store/qwstore/client.cc: * Single QWstore client. Implements the API functionalities. * * Copyright 2015 Irene Zhang <iyzhang@cs.washington.edu> * * Permission is hereby gra...
28.730159
72
0.65
[ "vector" ]
a6c204614fd95420d690e84ac93b1a34e34cf454
15,903
cpp
C++
src/RayTracerFacility/MLVQ/BTFBase.cpp
edisonlee0212/RayTracerFacility
76c1ff6ffd08d84e99eeba32ca2a1783103e2393
[ "BSD-3-Clause" ]
1
2021-12-16T02:27:00.000Z
2021-12-16T02:27:00.000Z
src/RayTracerFacility/MLVQ/BTFBase.cpp
edisonlee0212/RayTracerFacility
76c1ff6ffd08d84e99eeba32ca2a1783103e2393
[ "BSD-3-Clause" ]
null
null
null
src/RayTracerFacility/MLVQ/BTFBase.cpp
edisonlee0212/RayTracerFacility
76c1ff6ffd08d84e99eeba32ca2a1783103e2393
[ "BSD-3-Clause" ]
null
null
null
#include <BTFBase.cuh> #include <functional> #include <exception> #include <fstream> #include <filesystem> #include <mutex> #include <Console.hpp> using namespace RayTracerFacility; using namespace UniEngine; bool ParseFloatData(const std::string &fileName, int &numOfRows, int &numOfCols, float &m...
36.391304
80
0.669433
[ "vector" ]
a6c23d0724f919fc938ed5ebe685833475039d5f
2,434
hpp
C++
plugins/bridge_plugin/include/eosio/bridge_plugin/bridge_plugin.hpp
bifrost-codes/bifrost-eos-relay
91625a34de0db792cb195179e4c84236f393d70a
[ "MIT" ]
2
2020-01-08T07:18:38.000Z
2020-03-20T15:34:13.000Z
plugins/bridge_plugin/include/eosio/bridge_plugin/bridge_plugin.hpp
bifrost-codes/bifrost-eos-relay
91625a34de0db792cb195179e4c84236f393d70a
[ "MIT" ]
1
2021-01-20T10:17:27.000Z
2021-01-20T10:17:27.000Z
plugins/bridge_plugin/include/eosio/bridge_plugin/bridge_plugin.hpp
bifrost-codes/bifrost-eos-relay
91625a34de0db792cb195179e4c84236f393d70a
[ "MIT" ]
2
2021-02-12T21:46:09.000Z
2021-05-14T21:29:23.000Z
#pragma once #include <appbase/application.hpp> #include <eosio/chain_plugin/chain_plugin.hpp> #include <eosio/chain/producer_schedule.hpp> #include <eosio/chain/types.hpp> namespace eosio { using namespace appbase; using namespace chain; class bridge_plugin : public appbase::plugin<bridge_plugin> { public: bridg...
32.891892
127
0.588743
[ "vector" ]
a6c4303ed2f909a2bfbe9469edff2ab7821f9d12
1,017
cpp
C++
216-combination-sum-iii/combination-sum-iii.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
216-combination-sum-iii/combination-sum-iii.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
216-combination-sum-iii/combination-sum-iii.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// // Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. // // Note: // // // All numbers will be positive integers. // The solution set must not contain duplicate combinations. // // // Exa...
20.755102
178
0.505408
[ "vector" ]
a6cbd930136fe9f61254b03ff2e3dd689c8fe262
3,396
cpp
C++
Source/Engine/Gameplay/Game/Systems/SPlayer.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
3
2019-03-01T19:34:26.000Z
2021-03-31T09:25:16.000Z
Source/Engine/Gameplay/Game/Systems/SPlayer.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
null
null
null
Source/Engine/Gameplay/Game/Systems/SPlayer.cpp
muit/FecoEngine
b2f8729c0bf0893b770434645c2a0fa8e7717cb7
[ "Apache-2.0" ]
1
2019-01-21T21:45:13.000Z
2019-01-21T21:45:13.000Z
// Copyright 2015-2019 Piperift - All rights reserved #include "SPlayer.h" #include "Core/Log.h" #include "Gameplay/Components/CTransform.h" #include "Gameplay/Components/CCamera.h" #include "Core/Engine.h" #include "../Components/CPlayer.h" #include "Physics/2D/Components/CBody2D.h" #include "Physics/3D/Components/...
24.085106
105
0.69258
[ "transform", "3d" ]
a6d24d65c7f7e40bf037c3bbe0d52485b548b681
7,842
cpp
C++
calendar/src/HinduLunar.cpp
RakeshShrestha/C-Calendar-Library
c2525f3cdcfdccbc57baf908ad80fd3bd976016d
[ "Apache-2.0" ]
1
2021-12-30T11:10:30.000Z
2021-12-30T11:10:30.000Z
calendar/src/HinduLunar.cpp
RakeshShrestha/C-Calendar-Library
c2525f3cdcfdccbc57baf908ad80fd3bd976016d
[ "Apache-2.0" ]
null
null
null
calendar/src/HinduLunar.cpp
RakeshShrestha/C-Calendar-Library
c2525f3cdcfdccbc57baf908ad80fd3bd976016d
[ "Apache-2.0" ]
null
null
null
/** # Copyright Rakesh Shrestha (rakesh.shrestha@gmail.com) # 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 must retain the above copyright notice. */ #include "HinduLunar.h...
31.243028
347
0.657358
[ "vector" ]
a6d3303ad84439a6631fa51a42b47391b418aa4f
6,215
cpp
C++
tesseract_urdf/src/geometry.cpp
jf---/tesseract
d04e9ddf2f940e780d1c8262eca7a6c8f5db2260
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
tesseract_urdf/src/geometry.cpp
jf---/tesseract
d04e9ddf2f940e780d1c8262eca7a6c8f5db2260
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-03-25T17:43:35.000Z
2020-03-25T17:43:35.000Z
tesseract_urdf/src/geometry.cpp
jf---/tesseract
d04e9ddf2f940e780d1c8262eca7a6c8f5db2260
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/** * @file geometry.cpp * @brief Parse geometry from xml string * * @author Levi Armstrong * @date September 1, 2019 * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2019, Southwest Research Institute * * @par License * Software License Agreement (Apache License) * @par * Licensed under ...
29.316038
117
0.667418
[ "mesh", "geometry", "vector" ]
a6e04e46fbad762edabb47c43cc2fb310a6a4b53
288
cpp
C++
C to C++/C to C++ 005/005.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
44
2017-11-08T14:20:55.000Z
2021-03-18T14:22:52.000Z
C to C++/C to C++ 005/005.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
null
null
null
C to C++/C to C++ 005/005.cpp
Jasonchan35/SimpleTalkCpp_Tutorial
b193074c25e33e77ce15004a053bcc037054282e
[ "MIT" ]
19
2017-08-01T12:59:29.000Z
2021-04-11T08:09:59.000Z
#include <stdio.h> #include <conio.h> #include "Rectangle.h" #include "Circle.h" int main() { Shape s(1); Circle c(2, 50); c.setColor(2); c.Shape::setColor(2); printf("=== Program Ended ===\n"); printf("Press any to key to Exit !"); _getch(); return 0; }
14.4
39
0.565972
[ "shape" ]
a6e3df467935412249900198a4b8856a7839bf87
5,322
cpp
C++
src/pybag/rtree.cpp
bluecheetah/pybag
00ef50ecefc5e337c8fe9877c1813129d2163dcc
[ "Apache-2.0", "BSD-3-Clause" ]
3
2019-03-07T20:04:04.000Z
2019-03-08T07:38:59.000Z
src/pybag/rtree.cpp
bluecheetah/pybag
00ef50ecefc5e337c8fe9877c1813129d2163dcc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/pybag/rtree.cpp
bluecheetah/pybag
00ef50ecefc5e337c8fe9877c1813129d2163dcc
[ "Apache-2.0", "BSD-3-Clause" ]
4
2019-06-27T17:34:37.000Z
2020-09-01T23:07:51.000Z
// SPDX-License-Identifier: Apache-2.0 /* Copyright 2019 Blue Cheetah Analog Design Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requi...
36.452055
98
0.637542
[ "geometry", "object", "model" ]
a6e8a7821445726e434cd4e53a9f30186bf3ec40
3,030
cpp
C++
src/edge_visibility/acd2d_ev_function.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
src/edge_visibility/acd2d_ev_function.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
src/edge_visibility/acd2d_ev_function.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // Copyright 2007-2012 by Jyh-Ming Lien and George Mason University // See the file "LICENSE" for more information //------------------------------------------------------------------------------ #include "acd2d_ev_function.h" #include ...
26.347826
81
0.563696
[ "vector" ]
a6ecc09effbc4084671436a7ca9c9303a8f5f0c6
42,614
cpp
C++
services/mediaresourcemanager/test/ResourceManagerService_test.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
services/mediaresourcemanager/test/ResourceManagerService_test.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
services/mediaresourcemanager/test/ResourceManagerService_test.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
43.395112
120
0.664641
[ "vector" ]
a6f3094127695426796e8822eb6d8c39eace66dc
2,091
cpp
C++
Codility/Peaks.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
Codility/Peaks.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
Codility/Peaks.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int is_prime(int N) { if (N % 2 == 0) return 0; for (int i = 3; i <= sqrt(N); i+=2) { if (N % i == 0) return 0; } return 1; } void get_factors(int N, vector<int> &factors) { factors.push_back(1); factors.push_back(N); if (N % 2 ...
24.313953
64
0.469632
[ "vector" ]
a6f31321928ffdbb56d3ff6b4186dea5e10dc8f5
1,384
cpp
C++
leetcode.com/0964 Least Operators to Express Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0964 Least Operators to Express Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0964 Least Operators to Express Number/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; // ref: c++, recursive, easy to understand // https://leetcode.com/problems/least-operators-to-express-number/discuss/208445/c%2B%2B-recursive-easy-to-understand class Solution { public: int leastOpsExpressTarget(int x, int target) { // At this time, y...
32.952381
118
0.596821
[ "vector" ]
a6f4d64539b3c3727eecca6c6f00fedb2400b0b7
4,519
cpp
C++
collection/cp/Algorithm_Collection-master/find_closest_k_stars.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/Algorithm_Collection-master/find_closest_k_stars.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/Algorithm_Collection-master/find_closest_k_stars.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2013 Elements of Programming Interviews. All rights reserved. #include <algorithm> #include <array> #include <cassert> #include <cmath> #include <iostream> #include <queue> #include <random> #include <string> #include <sstream> #include <vector> using std::array; using std::cout; using std::default_r...
27.05988
78
0.605444
[ "vector" ]
a6f54a847e7b2ef3fd472e6a03c57a7b5f83df24
7,443
cc
C++
RecoEgamma/EgammaTools/plugins/EGRegressionModifierDRN.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
RecoEgamma/EgammaTools/plugins/EGRegressionModifierDRN.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
RecoEgamma/EgammaTools/plugins/EGRegressionModifierDRN.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
null
null
null
#include "CommonTools/CandAlgos/interface/ModifyObjectValueBase.h" #include "FWCore/Utilities/interface/InputTag.h" #include "FWCore/Utilities/interface/EDGetToken.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #in...
33.986301
108
0.728738
[ "geometry", "object" ]
a6fd0aeb021dce40339c32251af130d5984dccd2
8,621
cc
C++
paddle/fluid/operators/fused_elemwise_activation_op.cc
Meiyim/Paddle
515a756a3cbe20a55d9a80941c221daa48ca6446
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/fused_elemwise_activation_op.cc
Meiyim/Paddle
515a756a3cbe20a55d9a80941c221daa48ca6446
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/fused_elemwise_activation_op.cc
Meiyim/Paddle
515a756a3cbe20a55d9a80941c221daa48ca6446
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
38.833333
80
0.660248
[ "vector" ]
a6fd743f09f8417b832f65232b694a70cef4c309
751
cpp
C++
algorithms/154.find-minimum-in-rotated-sorted-array-ii.cpp
huklee/leetcode
6337dfde618e2bef97c8622494d180973c5014a9
[ "MIT" ]
2
2017-02-16T04:37:58.000Z
2017-03-27T14:20:04.000Z
algorithms/154.find-minimum-in-rotated-sorted-array-ii.cpp
huklee/leetcode
6337dfde618e2bef97c8622494d180973c5014a9
[ "MIT" ]
null
null
null
algorithms/154.find-minimum-in-rotated-sorted-array-ii.cpp
huklee/leetcode
6337dfde618e2bef97c8622494d180973c5014a9
[ "MIT" ]
null
null
null
class Solution { public: // binary search solution // - average : O(logn) // - worst : O(n) -> every elem is same int findMin(vector<int>& v) { if (v.size() == 0) return 0; return findMin_(v, 0, v.size() -1); } int findMin_(vector<int>& v, int s, int e...
24.225806
58
0.326232
[ "vector" ]
470115fad29c4c0f467590c2db73eefdd6b2db95
804
hpp
C++
common/md5.hpp
Bram-Wel/routeros
21d721384c25edbca66a3d52c853edc9faa83cad
[ "BSD-3-Clause" ]
732
2018-10-07T14:51:37.000Z
2022-03-31T09:25:20.000Z
common/md5.hpp
Bram-Wel/routeros
21d721384c25edbca66a3d52c853edc9faa83cad
[ "BSD-3-Clause" ]
22
2018-10-09T06:49:35.000Z
2020-05-17T07:43:20.000Z
common/md5.hpp
Bram-Wel/routeros
21d721384c25edbca66a3d52c853edc9faa83cad
[ "BSD-3-Clause" ]
401
2018-10-07T16:28:58.000Z
2022-03-30T09:17:47.000Z
/* * This is a modified version of: * * https://github.com/joyeecheung/md5 */ #ifndef MD5_HPP #define MD5_HPP #include <string> #include <boost/cstdint.hpp> class MD5 { public: MD5(); ~MD5(); MD5& update(const unsigned char* in, std::size_t inputLen); MD5& update(const char* in, std::size_t inp...
20.1
73
0.649254
[ "transform" ]
47018f15bd5dfb8a768a7c8de054e9a6e05a8b9e
744
cpp
C++
codeforces/1560A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1560A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1560A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Dislike of Threes #include <iostream> #include <vector> std::vector<int> dp = {1, 2, 4, 5, 7, 8, 10, 11, 14, 16}; int main() { int t; std::cin >> t; while (t--) { int k; std::cin >> k; int ans; if (k <= dp.size()) { ans = dp[k-1]; } ...
15.829787
57
0.313172
[ "vector" ]
47043b06147c2055645a2695461cc58f7877dcb6
3,577
cpp
C++
day-16/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
16
2017-12-02T11:56:25.000Z
2018-02-10T15:09:23.000Z
day-16/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
19
2017-12-01T07:54:22.000Z
2017-12-19T17:41:02.000Z
day-16/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
4
2017-12-04T23:58:12.000Z
2018-02-01T08:53:16.000Z
#include <iostream> #include <algorithm> #include <string> #include <sstream> #include <vector> #include <fstream> #include <streambuf> #include <unordered_map> #define N 16 #define ROUNDS 1000000000 using namespace std; typedef struct { char type; size_t arg1; size_t arg2; } instruction_t; uint64_t sp...
27.305344
84
0.51272
[ "vector" ]
47084f725493ab1487c51aa0a61602cfdaafa259
919
cpp
C++
components/media/collada/tests/convert/convert_geometry.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/media/collada/tests/convert/convert_geometry.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/media/collada/tests/convert/convert_geometry.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace media::geometry; const char* COLLADA_FILE_NAME = "data/ape.dae"; const char* DST_FILE_NAME = "/io/stdout/test.xmesh"; void print (const char* message) { printf ("%s\n", message); } int main () { printf ("Results of collada_import_test:\n"); #if defined (_...
20.886364
69
0.615887
[ "geometry", "model" ]
47099676c24a3f9471d16aebc2473a5849620709
938
hpp
C++
irohad/model/commands/detach_role.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
irohad/model/commands/detach_role.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
irohad/model/commands/detach_role.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_DETACH_ROLE_HPP #define IROHA_DETACH_ROLE_HPP #include "model/command.hpp" namespace iroha { namespace model { /** * Create new role in the system */ struct DetachRole : public Comm...
22.878049
78
0.619403
[ "model" ]
47111e40304ad96bec4980b595a40b15a7139325
2,285
cpp
C++
src/gputracker/utils/camera/Vector.cpp
kamarain/rgbd_dense_slam-code
0ace518f9e9640ac2d61df868e4a6a73cdd89cf8
[ "MIT" ]
1
2020-12-19T01:36:23.000Z
2020-12-19T01:36:23.000Z
src/gputracker/utils/camera/Vector.cpp
kamarain/rgbd_dense_slam-code
0ace518f9e9640ac2d61df868e4a6a73cdd89cf8
[ "MIT" ]
null
null
null
src/gputracker/utils/camera/Vector.cpp
kamarain/rgbd_dense_slam-code
0ace518f9e9640ac2d61df868e4a6a73cdd89cf8
[ "MIT" ]
null
null
null
/* rgbd-tracker Copyright (c) 2014, Tommi Tykkälä, All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later ...
18.577236
67
0.563676
[ "vector" ]
47123ba28c1b509a1fd1704df77606ae345060b4
51,833
cc
C++
art/compiler/dex/mir_optimization_test.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
8
2016-08-11T09:46:36.000Z
2018-03-02T17:28:35.000Z
art-extension/compiler/dex/mir_optimization_test.cc
android-art-intel/marshmallow
87e8c22f248164780b92aaa0cdea14bf6cda3859
[ "Apache-2.0" ]
1
2022-03-08T08:20:47.000Z
2022-03-08T08:20:47.000Z
art-extension/compiler/dex/mir_optimization_test.cc
android-art-intel/marshmallow
87e8c22f248164780b92aaa0cdea14bf6cda3859
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
43.667228
100
0.663188
[ "vector" ]
4715bae249cf4a5a31f68f734cfc143d4444727c
3,937
cpp
C++
apps/unit_tests/test_rot_ylm.cpp
mtaillefumier/SIRIUS
50ec1c202c019113c5660f1966b170dec9dfd4d4
[ "BSD-2-Clause" ]
77
2016-03-18T08:38:30.000Z
2022-03-11T14:06:25.000Z
apps/unit_tests/test_rot_ylm.cpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
240
2016-04-12T16:39:11.000Z
2022-03-31T08:46:12.000Z
apps/unit_tests/test_rot_ylm.cpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
43
2016-03-18T17:45:07.000Z
2022-02-28T05:27:59.000Z
#include <sirius.hpp> #include "symmetry/crystal_symmetry.hpp" /* test rotation of spherical harmonics */ using namespace sirius; template <typename T> int run_test_impl(cmd_args& args) { matrix3d<double> lattice; lattice(0, 0) = 7; lattice(1, 1) = 7; lattice(2, 2) = 7; int num_atoms = 1; md...
32.00813
134
0.535433
[ "vector" ]
4715e00ffe0a7f1d3a94ec55c1a2c873f93255ba
8,304
cpp
C++
src/interval_calc_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
4
2021-09-08T02:07:22.000Z
2022-03-30T02:48:56.000Z
src/interval_calc_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
null
null
null
src/interval_calc_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
1
2021-10-11T02:53:53.000Z
2021-10-11T02:53:53.000Z
#include "internals.h" // ******************************************* /// Constructor. // ******************************************* interval_calc_class::interval_calc_class() { idwell_newest_prev = 0; idwell_oldest_prev = 0; index_cur = 0; } // ********************************************************...
28.933798
137
0.504697
[ "vector" ]
471b758120f9103452aec1f6361082b9df41a2b1
1,024
hpp
C++
gearoenix/core/sync/gx-cr-sync-influence-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/core/sync/gx-cr-sync-influence-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/core/sync/gx-cr-sync-influence-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_CORE_SYNC_INFLUENCE_MANAGER_HPP #define GEAROENIX_CORE_SYNC_INFLUENCE_MANAGER_HPP #include "../gx-cr-static.hpp" #include "../gx-cr-types.hpp" #include <functional> #include <map> #include <optional> #include <set> #include <variant> #include <vector> namespace gearoenix::core::sync { struct Influe...
34.133333
115
0.728516
[ "vector" ]
471de515767a8833933f8499b4fdf41de6dad5ff
8,262
cpp
C++
src/diff/file_comparer.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
3
2017-07-02T08:33:22.000Z
2019-03-16T00:48:11.000Z
src/diff/file_comparer.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
src/diff/file_comparer.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
#include "file_comparer.hpp" #include "delta_store.hpp" #include "preview_comparer.hpp" #include "type_comparer.hpp" #include "identified_type.hpp" #include "../guid.hpp" #include "../unity_asset.hpp" #include "../unity_file.hpp" #include "../unity_file_reference.hpp" #include "../unity_preview.hpp" #include "../unity...
50.072727
152
0.59114
[ "vector" ]
471f781bd264ffa40b2af6c7d77e4f1c02dd3caa
1,185
cpp
C++
source/problem-2/naive.cpp
NachiaVivias/tree-coulomb-variety
aa2444219ef51a8f03e627dd67ebd0f8f58d7b65
[ "CC0-1.0" ]
null
null
null
source/problem-2/naive.cpp
NachiaVivias/tree-coulomb-variety
aa2444219ef51a8f03e627dd67ebd0f8f58d7b65
[ "CC0-1.0" ]
null
null
null
source/problem-2/naive.cpp
NachiaVivias/tree-coulomb-variety
aa2444219ef51a8f03e627dd67ebd0f8f58d7b65
[ "CC0-1.0" ]
null
null
null
/* O ( N^2 ) */ #include <iostream> #include <vector> #include <algorithm> using namespace std; using i32 = int; using u32 = unsigned int; using i64 = long long; using u64 = unsigned long long; #define rep(i,n) for(int i=0; i<(n); i++) u64 MOD = 998244353; int N; vector<vector<int>> E; ...
19.112903
68
0.45654
[ "vector" ]
472ea1117711caa7968fe6d980a7a64063421fb6
5,475
hh
C++
src/comm/KernelDiagnostics.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/comm/KernelDiagnostics.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/comm/KernelDiagnostics.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2021 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
33.181818
79
0.557626
[ "vector" ]
4730e965237287097db43bceaf05eeb411451b16
407
cpp
C++
All Contests/ Codesmash'17 Replay/Lord of Light.cpp
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
All Contests/ Codesmash'17 Replay/Lord of Light.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
All Contests/ Codesmash'17 Replay/Lord of Light.cpp
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int T; cin >> T; string v[] = {"abcdef", "bc", "abdeg", "abcdg", "bcfg", "acdfg", "acdefg", "abc", "abcdefg", "abcdfg"}; for(int i = 1, n; i <= T; i++){ cin >> n;...
18.5
107
0.479115
[ "vector" ]
47313f9b7da561159ae8d39123e3855863fdb6bc
2,901
cpp
C++
third_party/CppAD/speed/example/time_test.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/speed/example/time_test.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/speed/example/time_test.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...
24.584746
79
0.546708
[ "vector" ]
473817996c85fe9a406c2cb845964a811df7c32d
30,776
cpp
C++
src/BabylonCpp/src/rendering/edges_renderer.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/BabylonCpp/src/rendering/edges_renderer.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/BabylonCpp/src/rendering/edges_renderer.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/rendering/edges_renderer.h> #include <babylon/babylon_stl_util.h> #include <babylon/buffers/buffer.h> #include <babylon/buffers/vertex_buffer.h> #include <babylon/cameras/camera.h> #include <babylon/engines/engine.h> #include <babylon/engines/scene.h> #include <babylon/materials/ishader_mater...
35.41542
101
0.590558
[ "mesh", "render", "vector" ]
473b6358c187282cf2302a0cbe82a9469fc2326a
5,286
cpp
C++
Vaos.cpp
cleak/VoxelPerf
02dad67747b113a3cd38cae6a2c307f877cab068
[ "MIT" ]
42
2017-07-30T17:50:16.000Z
2022-03-27T09:27:04.000Z
Vaos.cpp
cleak/VoxelPerf
02dad67747b113a3cd38cae6a2c307f877cab068
[ "MIT" ]
1
2019-03-13T07:09:44.000Z
2019-03-15T07:02:23.000Z
Vaos.cpp
cleak/VoxelPerf
02dad67747b113a3cd38cae6a2c307f877cab068
[ "MIT" ]
3
2018-05-10T20:38:29.000Z
2020-06-21T21:12:39.000Z
#include "Vaos.h" #include <vector> using namespace glm; using namespace std; #pragma pack(push, 1) struct Vertex { vec3 position; PackedColor color; }; #pragma pack(pop) // Buffers a single face of a voxel in the given vector static void BufferFace(vec3 center, vec3 normal, vec3 color, vector<Vertex>& vert...
29.530726
110
0.534809
[ "vector", "model" ]
4751d0afc6518ac94fe3ab86a130ec36d4494274
4,562
cpp
C++
gpiocontrol/source/artik5/src/KaaDemo.cpp
kaaproject/sample-apps
d5fb243ff718bb6272054213a6edf4005f188704
[ "ECL-2.0", "Apache-2.0" ]
52
2015-08-23T22:12:00.000Z
2020-04-21T20:55:56.000Z
gpiocontrol/source/artik5/src/KaaDemo.cpp
kaaproject/sample-apps
d5fb243ff718bb6272054213a6edf4005f188704
[ "ECL-2.0", "Apache-2.0" ]
373
2015-08-21T10:30:30.000Z
2017-06-06T15:25:55.000Z
gpiocontrol/source/artik5/src/KaaDemo.cpp
kaaproject/sample-apps
d5fb243ff718bb6272054213a6edf4005f188704
[ "ECL-2.0", "Apache-2.0" ]
111
2015-08-14T05:45:30.000Z
2021-01-20T18:56:24.000Z
/** * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
23.15736
97
0.613547
[ "vector", "model" ]
4756e5cdb2d52ae413fa790d6fd692a5fe9e609c
3,288
hpp
C++
include/Application/Application.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
include/Application/Application.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
include/Application/Application.hpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////// // Copyright 2014 Cristian Glez <Cristian.glez.m@gmail.com> // // 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...
33.896907
79
0.583029
[ "render" ]
e6dfbc8451753e322d49a1b3835b9dcffa58c33c
4,793
cpp
C++
src/modules/adc_readout/DelayLinePositionCalc.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2017-12-02T09:20:26.000Z
2022-03-28T08:17:40.000Z
src/modules/adc_readout/DelayLinePositionCalc.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
296
2017-10-24T09:06:10.000Z
2022-03-31T07:31:06.000Z
src/modules/adc_readout/DelayLinePositionCalc.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2018-04-08T15:35:50.000Z
2021-04-12T05:06:15.000Z
/** Copyright (C) 2018 European Spallation Source ERIC */ /** @file * * \brief */ #include "DelayLinePositionCalc.h" #include <algorithm> #include <cstdint> #include <cstdlib> #include <vector> int ConstDelayLinePosition::getPosition() { return std::lround(DelayLinePositionInterface::Calib.Origin); } DelayLin...
34.731884
80
0.69977
[ "vector", "transform" ]
e6e4963009947f8fc4de9529aa14f840898b5fe4
1,322
cpp
C++
test/zisa/unit_test/boundary/frozen_boundary_condition.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/boundary/frozen_boundary_condition.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/boundary/frozen_boundary_condition.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #include <zisa/testing/testing_framework.hpp> #include <zisa/boundary/frozen_boundary_condition.hpp> #include <zisa/unit_test/grid/test_grid_factory.hpp> TEST_CASE("FrozenBC; example", "[bc]") { auto grid_ = zisa::load_grid(zisa...
26.44
70
0.58472
[ "vector" ]
e6e9589a0abec4be020eb082a34ade25d8e99b87
1,418
hh
C++
includes/assets.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
includes/assets.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
includes/assets.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /* */ /* HIEMALIA SOURCE CODE (C) 2021 SAMPO HIPPELAINEN (HISAHI). */ /* SEE THE LICENSE FILE IN THE SOURCE ROOT DIRECTORY FOR LICENSE INFO. */ /* ...
29.541667
78
0.556417
[ "shape", "vector", "model" ]
e6e9ffe079305b763cdc78bd447f7de35ef096e5
6,484
cpp
C++
code/merge_divide_trees.cpp
SNWK/mountains
cc2e0b58f1bdcccbb218d3494ff42abc941847e2
[ "MIT" ]
1
2021-03-20T03:51:52.000Z
2021-03-20T03:51:52.000Z
code/merge_divide_trees.cpp
SNWK/mountains
cc2e0b58f1bdcccbb218d3494ff42abc941847e2
[ "MIT" ]
null
null
null
code/merge_divide_trees.cpp
SNWK/mountains
cc2e0b58f1bdcccbb218d3494ff42abc941847e2
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2017 Andrew Kirmse * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
29.743119
97
0.665793
[ "vector" ]
e6ffdd762b4008f5432351740c81e924e0de8755
5,702
cpp
C++
src/software/backend/output/radio/mrf/usb/transfer.cpp
matthewberends/Software
4681c7cffc9c1ca8f739ea692daffc490a8c1910
[ "MIT" ]
null
null
null
src/software/backend/output/radio/mrf/usb/transfer.cpp
matthewberends/Software
4681c7cffc9c1ca8f739ea692daffc490a8c1910
[ "MIT" ]
null
null
null
src/software/backend/output/radio/mrf/usb/transfer.cpp
matthewberends/Software
4681c7cffc9c1ca8f739ea692daffc490a8c1910
[ "MIT" ]
null
null
null
#include "software/backend/output/radio/mrf/usb/transfer.h" #include <g3log/g3log.hpp> #include <iostream> #include "software/backend/output/radio/mrf/usb/errors.h" #include "software/backend/output/radio/mrf/usb/misc.h" USB::Transfer::~Transfer() { try { if (submitted_) { // The ...
31.502762
87
0.56524
[ "object" ]