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
761ba923dd918978d91b341aeb08f26cf68b7724
665
cpp
C++
linear_ds/no_problem.cpp
alpha721/Competitive-Programming-3-
548fe84e69beca6fd1ddfedac3aa306d9870cd29
[ "MIT" ]
null
null
null
linear_ds/no_problem.cpp
alpha721/Competitive-Programming-3-
548fe84e69beca6fd1ddfedac3aa306d9870cd29
[ "MIT" ]
null
null
null
linear_ds/no_problem.cpp
alpha721/Competitive-Programming-3-
548fe84e69beca6fd1ddfedac3aa306d9870cd29
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int main() { int t = 1; while(1) { int n; cin >> n; if( n < 0) break; cout << "Case " << t << ":" << endl; int available = n; vector<int> created; vector<int> required; int x; for(int i = 0; i < 12; i++) { cin >> x; created.push_...
13.571429
38
0.488722
[ "vector" ]
761bff1bed662120b7098edba20a4b91f0e6ae50
7,013
cpp
C++
unit_tests/imaging/view_transforms.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
unit_tests/imaging/view_transforms.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
3
2020-10-26T18:45:47.000Z
2020-10-26T18:46:06.000Z
unit_tests/imaging/view_transforms.cpp
mghro/astroid-core
72736f64bed19ec3bb0e92ebee4d7cf09fc0399f
[ "MIT" ]
null
null
null
#include <cradle/common.hpp> #include <cradle/imaging/geometry.hpp> #include <cradle/imaging/sample.hpp> #include <cradle/imaging/view_transforms.hpp> #include <cradle/imaging/test.hpp> using namespace cradle; TEST_CASE("r90ccw_test") { cradle::uint8_t original[] = { 1, 2, 3, 4, ...
22.993443
79
0.494653
[ "geometry" ]
761fcc1a0bd73a3a1e951ed74a703430046ccf83
1,953
cpp
C++
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Inspector/ContentHeaderWidget.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Inspector/ContentHeaderWidget.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Inspector/ContentHeaderWidget.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Inspector/ContentHeaderWidg...
34.875
147
0.687148
[ "3d" ]
7631ae34ce2d234ca82df974150b4e6de645452f
454
cpp
C++
src/iterator.cpp
Toxe/test-cpp
75485d683c4cf172818a5b62a903d415fcafe024
[ "MIT" ]
null
null
null
src/iterator.cpp
Toxe/test-cpp
75485d683c4cf172818a5b62a903d415fcafe024
[ "MIT" ]
null
null
null
src/iterator.cpp
Toxe/test-cpp
75485d683c4cf172818a5b62a903d415fcafe024
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> int main() { std::vector<int> v1{1, 2, 3, 4, 5}; auto it1 = v1.begin(); // std::vector<int>::iterator auto it2 = v1.cbegin(); // std::vector<int>::const_iterator for (auto it = v1.begin(); it != v1.end(); ++it) std::cout << *it << std::endl; int a[...
22.7
64
0.511013
[ "vector" ]
764a77ddd0ae682f54066bf38774bcb48b18d4f9
2,169
cpp
C++
visualization/src/VisualizationApp/AudioManager.cpp
HellicarAndLewis/RedLeaf
41ed7a293dbc3c905e3ce7559fff19b685003198
[ "MIT" ]
1
2015-11-05T13:33:04.000Z
2015-11-05T13:33:04.000Z
visualization/src/VisualizationApp/AudioManager.cpp
HellicarAndLewis/RedLeaf
41ed7a293dbc3c905e3ce7559fff19b685003198
[ "MIT" ]
null
null
null
visualization/src/VisualizationApp/AudioManager.cpp
HellicarAndLewis/RedLeaf
41ed7a293dbc3c905e3ce7559fff19b685003198
[ "MIT" ]
null
null
null
/* * AudioManager.cpp * * Created on: Sep 20, 2012 * Author: arturo */ #include "AudioManager.h" AudioManager::AudioManager() { tweet = NULL; leds = NULL; } AudioManager::~AudioManager() { // TODO Auto-generated destructor stub } void AudioManager::setup(){ audioTest.addListener(this,&AudioManager::...
26.45122
145
0.73029
[ "vector" ]
7652b18757719fd91e79636f2aa4a3cfbaf96371
347
hpp
C++
lib/errors.hpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
2
2019-11-17T22:54:16.000Z
2020-08-07T20:53:25.000Z
lib/errors.hpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
lib/errors.hpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
#pragma once #include <string> #include <vector> #include "parser/token.hpp" class Errors { private: std::vector<std::string> errors; std::string label; public: Errors(std::string label="Error"); void append(Errors&); void add(const std::string&); void add(const std::string&, Token); std::vector<std::string>...
16.52381
37
0.682997
[ "vector" ]
76596fa04c5f416760f887a4eccd28befa410ae1
2,472
hpp
C++
gedl/include/FunctionWrapper.hpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2021-04-20T18:43:44.000Z
2021-04-20T18:43:44.000Z
gedl/include/FunctionWrapper.hpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2021-09-23T14:55:43.000Z
2021-09-23T18:09:35.000Z
gedl/include/FunctionWrapper.hpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2020-05-21T03:12:16.000Z
2020-05-21T03:12:16.000Z
#ifndef FUNCTIONWRAPPER_H_ #define FUNCTIONWRAPPER_H_ #include "llvm/IR/Function.h" #include "llvm/IR/Argument.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/IntrinsicInst.h" #include "InstructionWrapper.hpp" #include "tree.hh" #include <vector> #include "ArgumentWrapper.hpp" namespace pdg { class FunctionWrap...
38.625
90
0.737864
[ "vector" ]
7659cc3eb4e9aa14c75e37318f5e54d6328f5723
75,964
cpp
C++
platform/android/ndk/jni/NativeToJavaBridge.cpp
pouwelsjochem/corona
86ffe9002e42721b4bb2c386024111d995e7b27c
[ "MIT" ]
null
null
null
platform/android/ndk/jni/NativeToJavaBridge.cpp
pouwelsjochem/corona
86ffe9002e42721b4bb2c386024111d995e7b27c
[ "MIT" ]
null
null
null
platform/android/ndk/jni/NativeToJavaBridge.cpp
pouwelsjochem/corona
86ffe9002e42721b4bb2c386024111d995e7b27c
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
30.3856
151
0.714904
[ "object", "vector" ]
765c7557186d3ff96271cd8dfc676483f5ed274d
11,313
cpp
C++
tools/mapgen.cpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
4
2015-09-03T04:49:35.000Z
2017-11-21T22:25:30.000Z
tools/mapgen.cpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
null
null
null
tools/mapgen.cpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
null
null
null
#include <assert.h> #include "mapgen.h" //Default map settings #define DEFAULT_MAP_HEIGHT 28 #define DEFAULT_MAP_WIDTH 150 #define DEFAULT_MIN_PLATFORM_WIDTH 2 #define DEFAULT_MAX_PLATFORM_WIDTH 5 #define DEFAULT_MIN_GAP_WIDTH 2 #define DEFAULT_MAX_GAP_WIDTH 4 #define DEFAULT_MIN_PLATFORM_POSITION_CHANGE -2 #defin...
29.771053
138
0.673031
[ "solid" ]
765cc97208de23b6f77a7f8f4e8ea01047c72c03
1,110
cpp
C++
hdu-winter-2020/contests/PTA天梯/1/12.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
hdu-winter-2020/contests/PTA天梯/1/12.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
hdu-winter-2020/contests/PTA天梯/1/12.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> using namespace std; template<class ...
17.903226
67
0.543243
[ "vector" ]
7666d752231cea044f66b9b66f4fe318c4c08e55
34,784
cpp
C++
lib/Codegen.cpp
egunnarsson/llfp
cbaa70c53dc018cbf2923c2d847ba36cc38c1ca0
[ "MIT" ]
1
2020-06-07T14:56:55.000Z
2020-06-07T14:56:55.000Z
lib/Codegen.cpp
egunnarsson/llfp
cbaa70c53dc018cbf2923c2d847ba36cc38c1ca0
[ "MIT" ]
null
null
null
lib/Codegen.cpp
egunnarsson/llfp
cbaa70c53dc018cbf2923c2d847ba36cc38c1ca0
[ "MIT" ]
null
null
null
#include <stack> #pragma warning(push, 0) // C4996 use of function, class member, variable, or typedef that's marked deprecated #pragma warning(disable : 4996) #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Verifier.h" #include "llvm/ADT/APFloat.h" #include "llvm/Support/FormatVariadic.h" #pragma warning(pop) #i...
30.246957
160
0.57285
[ "vector" ]
76672d78d54b628c940c8a6b3d465d89a6fa2e10
4,723
cpp
C++
blades/xbmc/xbmc/guilib/GUISettingsSliderControl.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/guilib/GUISettingsSliderControl.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/guilib/GUISettingsSliderControl.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program 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 2, or (at your option) * any later version. * * ...
33.027972
389
0.775778
[ "render" ]
7672049fe6e28023e7d01cbcfc2527d7ae8fc74d
7,887
cc
C++
CondFormats/HcalObjects/src/HcalElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CondFormats/HcalObjects/src/HcalElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CondFormats/HcalObjects/src/HcalElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** \class HcalElectronicsMap \author Fedor Ratnikov (UMd) POOL object to store mapping for Hcal channels $Author: ratnikov $Date: 2007/09/18 06:48:38 $ $Revision: 1.22 $ */ #include <iostream> #include <set> #include "CondFormats/HcalObjects/interface/HcalElectronicsMap.h" #include "CondFormats/HcalObjects/interfac...
37.557143
119
0.725244
[ "object", "vector" ]
7683172193bb93e49b046af8ca25ebff34d01f59
278
cc
C++
atcoder/abc/164/c_gacha.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
atcoder/abc/164/c_gacha.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
32
2019-08-15T09:16:48.000Z
2020-02-09T16:23:30.000Z
atcoder/abc/164/c_gacha.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <vector> int main() { int n; std::cin >> n; std::set<std::string> prizes; for (int i = 0; i < n; ++i) { std::string prize; std::cin >> prize; prizes.insert(prize); } std::cout << prizes.size() << std::endl; }
17.375
42
0.553957
[ "vector" ]
7688e402ea5c50bd075a6a7844e55492b4c55354
4,281
hpp
C++
src/benchmarks/SignalBenchmarks.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
103
2016-02-26T14:39:03.000Z
2021-02-13T10:15:52.000Z
src/benchmarks/SignalBenchmarks.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
1
2018-05-07T06:00:19.000Z
2018-05-07T19:57:20.000Z
src/benchmarks/SignalBenchmarks.hpp
koplyarov/wigwag
d5646c610b324c9252ec7ac807f883f88e7442eb
[ "0BSD" ]
9
2016-03-17T11:56:33.000Z
2020-08-06T10:11:50.000Z
#ifndef SRC_BENCHMARKS_SIGNALSBENCHMARKS_HPP #define SRC_BENCHMARKS_SIGNALSBENCHMARKS_HPP // Copyright (c) 2016, Dmitry Koplyarov <koplyarov.da@gmail.com> // // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright n...
37.226087
172
0.613174
[ "vector" ]
7689494d6fce83797e2ffccd862925985d9d7824
470
cpp
C++
contests/Codeforces Round #552 Div 3/Restoring_three_numbers.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
2
2020-08-27T18:21:04.000Z
2020-08-30T13:24:39.000Z
contests/Codeforces Round #552 Div 3/Restoring_three_numbers.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
contests/Codeforces Round #552 Div 3/Restoring_three_numbers.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
// https://codeforces.com/contest/1154/problem/A #include <bits/stdc++.h> #define all(v) v.begin(), v.end() using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); vector<int> arr(4); for (int i = 0; i < 4; i++) cin >> arr[i]; sort(a...
22.380952
48
0.529787
[ "vector" ]
768ac5e8741febfb07e0b312756744e9dcadc3b4
9,173
cpp
C++
MetaheuristicsCPP.Evaluations/BinaryBiObjectiveEvaluations.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
MetaheuristicsCPP.Evaluations/BinaryBiObjectiveEvaluations.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
MetaheuristicsCPP.Evaluations/BinaryBiObjectiveEvaluations.cpp
kommar/metaheuristics-lab
6fce305b1f347eae44ac615a474d96b497264141
[ "MIT" ]
null
null
null
#include "BinaryBiObjectiveEvaluations.h" using namespace Evaluations; CBinaryBiObjectiveEvaluation::CBinaryBiObjectiveEvaluation(IEvaluation<bool, double> *pcEvaluation0, IEvaluation<bool, double> *pcEvaluation1) : CBiObjectiveEvaluation<bool>(pcEvaluation0, pcEvaluation1) { }//CBinaryBiObjectiveEvaluation::CBina...
43.065728
202
0.817726
[ "vector" ]
768e3dea992593bb35e60307e000b1d6fdbccfaf
394
hpp
C++
src/indep_res.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
null
null
null
src/indep_res.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
null
null
null
src/indep_res.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
2
2021-07-06T01:45:19.000Z
2021-07-30T18:35:09.000Z
#ifndef _INDEP_RES_HPP_ #define _INDEP_RES_HPP_ #include <vector> /*===========================================================================*/ void compute_indep_res_q( const int exc_i, const int nx, const double dx, const double cl, const std::vector<double> &r_v, const std::vector<double> &phi_f, c...
24.625
79
0.571066
[ "vector" ]
7691f370649ab09fddb70a45a29d95292ce0a22b
4,112
hpp
C++
include/http/Url.hpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
19
2017-03-28T02:17:42.000Z
2021-02-12T03:26:58.000Z
include/http/Url.hpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
3
2016-07-14T10:15:06.000Z
2016-11-22T21:04:01.000Z
include/http/Url.hpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
9
2017-10-19T07:15:42.000Z
2019-09-17T07:08:25.000Z
#pragma once #include <cstdint> #include <string> #include <unordered_map> #include <stdexcept> #include <ostream> #include <vector> namespace http { /**Errors for invalid URL's being parsed or built.*/ class UrlError : public std::runtime_error { public: /**Report a descriptive error about a s...
38.792453
99
0.620136
[ "vector" ]
7698bb13cea19cf4d180f818ceeff9e89a808d6b
100,991
cpp
C++
ABY/src/abycore/circuit/booleancircuits.cpp
encryptogroup/VASA
828a6a7e07e5089b9185b677d6c5ae7fb97c7ec2
[ "MIT" ]
1
2021-12-19T08:54:53.000Z
2021-12-19T08:54:53.000Z
ABY/src/abycore/circuit/booleancircuits.cpp
encryptogroup/VASA
828a6a7e07e5089b9185b677d6c5ae7fb97c7ec2
[ "MIT" ]
null
null
null
ABY/src/abycore/circuit/booleancircuits.cpp
encryptogroup/VASA
828a6a7e07e5089b9185b677d6c5ae7fb97c7ec2
[ "MIT" ]
null
null
null
/** \file booleancircuits.cpp \author michael.zohner@ec-spride.de \copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation Copyright (C) 2019 Engineering Cryptographic Protocols Group, TU Darmstadt This program is free software: you can redistribute it and/or modify ...
30.969335
257
0.65291
[ "vector", "transform" ]
76992ab210e2a3c233b11ab8d6e7c7fafd760212
5,585
cpp
C++
src/Scene/CubeSphere.cpp
mtheory101/hybrid-rendering-thesis
314a200726450e27982e1a95eec3702ad5c9d320
[ "MIT" ]
1
2019-06-14T20:22:21.000Z
2019-06-14T20:22:21.000Z
src/Scene/CubeSphere.cpp
ptrefall/hybrid-rendering-thesis
72be3b3f6b457741737cd83cefb90f2bdbaa46dc
[ "MIT" ]
null
null
null
src/Scene/CubeSphere.cpp
ptrefall/hybrid-rendering-thesis
72be3b3f6b457741737cd83cefb90f2bdbaa46dc
[ "MIT" ]
null
null
null
#include "CubeSphere.h" #include "proto_camera.h" #include "../Render/ATTRIB.h" #include "../Render/ShaderConstants.h" #include <glm/ext.hpp> #include <vector> using namespace Scene; using namespace glm; CubeSphere::CubeSphere(unsigned int cell_count, float spacing) { std::vector<unsigned int> indi...
31.914286
148
0.692032
[ "render", "vector" ]
371d1c0048a65351d2cfbcffe48b084f27ac4f53
34,253
inl
C++
Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.inl
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.inl
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.inl
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*================================================================================ DelegateInstancesImpl.inl: Inline implementation of delegate bindings. This file in re-included in DelegateCombinations.h for EVERY supported delegate signature. Every com...
31.657116
184
0.778355
[ "object" ]
37236bde76dc73440f62b780e23bc13c2957fee9
6,119
cpp
C++
king/ancestry.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
14
2018-09-06T18:04:33.000Z
2021-09-17T16:27:27.000Z
king/ancestry.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
6
2018-10-03T21:37:46.000Z
2022-01-17T08:43:53.000Z
king/ancestry.cpp
statgen/topmed_variant_calling
cfd0242eada5a0c6ddd73695af22fa47af20f010
[ "Apache-2.0" ]
5
2019-05-14T18:30:22.000Z
2021-12-13T22:06:09.000Z
////////////////////////////////////////////////////////////////////// // ancestry.cpp // (c) 2010-2019 Wei-Min Chen // // This file is distributed as part of the KING source code package // and may not be redistributed in any form, without prior written // permission from the author. Permission is granted for you to ...
28.593458
125
0.518059
[ "vector" ]
3723a399401de69c1c7bfaa5de9aaf4ee71ca3c6
392
hpp
C++
OpenGLlession_2/OpenGLlession_2/shape.hpp
lianyuzhe/OpenGL
7145474bab5ed12f901932bfb5a0234e75ccfbab
[ "MIT" ]
null
null
null
OpenGLlession_2/OpenGLlession_2/shape.hpp
lianyuzhe/OpenGL
7145474bab5ed12f901932bfb5a0234e75ccfbab
[ "MIT" ]
null
null
null
OpenGLlession_2/OpenGLlession_2/shape.hpp
lianyuzhe/OpenGL
7145474bab5ed12f901932bfb5a0234e75ccfbab
[ "MIT" ]
null
null
null
// // shape.hpp // OpenGLlession_2 // // Created by lianyuzhe on 2017/1/26. // Copyright © 2017年 lianyuzhe. All rights reserved. // #ifndef shape_hpp #define shape_hpp #include "define.h" #include <cmath> #include <iostream> void generateTours(float * verts, float * norms, float * tex,unsigned int * el,float outer...
24.5
138
0.716837
[ "shape" ]
37255d2b0c34a4da37f790c203a56940642c1de5
9,230
cpp
C++
old/src/Engine/glrendering.cpp
ttfractal44/MechSandbox
75ac111b094ba1a93e77908048704a98afb72deb
[ "MIT" ]
null
null
null
old/src/Engine/glrendering.cpp
ttfractal44/MechSandbox
75ac111b094ba1a93e77908048704a98afb72deb
[ "MIT" ]
null
null
null
old/src/Engine/glrendering.cpp
ttfractal44/MechSandbox
75ac111b094ba1a93e77908048704a98afb72deb
[ "MIT" ]
null
null
null
/* * glrendering.cpp * * Created on: Dec 8, 2014 * Author: theron */ #include "datastructures.h" #include "world.h" #include "../misc/utils.h" #include "glrendering.h" #include "userinput.h" #include <GL/glew.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <GL/glu.h> #include <glm/glm.hpp> ...
31.609589
148
0.763272
[ "render", "model" ]
37291115364776db2b35dea7148a0170d2582cbc
4,036
cpp
C++
src/Engine/PluginManager.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
2
2015-01-14T20:20:51.000Z
2015-09-08T15:49:18.000Z
src/Engine/PluginManager.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
null
null
null
src/Engine/PluginManager.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
1
2015-11-03T13:58:58.000Z
2015-11-03T13:58:58.000Z
/* Phobos 3d September 2010 Copyright (c) 2005-2011 Bruno Sanches http://code.google.com/p/phobos3d 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...
25.544304
243
0.748018
[ "3d" ]
372aad7d105b07fbe4f13f01db2794befde0b088
598
cpp
C++
aoc2018/aoc180302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2018/aoc180302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2018/aoc180302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
#include <fstream> #include <iostream> #include <fmt/format.h> #include <numeric> #include <algorithm> #include <set> using gint = std::int64_t; int main(int argc, char **argv) { if (argc > 1) { std::ifstream ifs(argv[1]); std::istream_iterator<int> b(ifs); std::istream_iterator<int> e; std::set<int> ...
20.62069
38
0.503344
[ "vector" ]
372b4b1e3dc4b49d9cc23046c8cb977b22d493b2
715
hpp
C++
Questless/Questless/src/entities/perception.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
2
2020-07-14T12:50:06.000Z
2020-11-04T02:25:09.000Z
Questless/Questless/src/entities/perception.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
Questless/Questless/src/entities/perception.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
//! @file //! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>. #pragma once #include "bounded/static.hpp" #include "entities/beings/stats/vision.hpp" #include "quantities/misc.hpp" #include "reg.hpp" #include "world/coordinates.hpp" #include "cancel/quantity.hpp" #include <vector> namespace ql { static const...
28.6
91
0.74965
[ "vector" ]
372d5b9b85b56ebc67c12a421f94443feb7f67e5
742
cpp
C++
cpp/main.cpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
1
2021-11-22T23:17:55.000Z
2021-11-22T23:17:55.000Z
cpp/main.cpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
null
null
null
cpp/main.cpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
null
null
null
#include "walker.hpp" // Walker #include <iostream> // cout #include <numeric> // accumulate using namespace std; double average(const vector<uint64_t>& v) { uint64_t sum = accumulate(v.begin(), v.end(), 0); return static_cast<double>(sum) / v.size(); } int main() { unsigned n = 4; unsigned k = 1000; unsig...
24.733333
63
0.652291
[ "vector" ]
373835c507121b59f03799ec6bb1578ada8e04da
1,913
hpp
C++
include/types.hpp
Portwell-BMC/pw-ipmi-oem
1fbd25c9a0c96e03a9cbbb907d2b65e4d6d4e94c
[ "Apache-2.0" ]
9
2018-11-05T23:39:18.000Z
2021-12-01T12:10:34.000Z
include/types.hpp
Portwell-BMC/pw-ipmi-oem
1fbd25c9a0c96e03a9cbbb907d2b65e4d6d4e94c
[ "Apache-2.0" ]
6
2019-03-25T15:16:56.000Z
2022-03-30T23:27:47.000Z
include/types.hpp
Portwell-BMC/pw-ipmi-oem
1fbd25c9a0c96e03a9cbbb907d2b65e4d6d4e94c
[ "Apache-2.0" ]
9
2018-11-27T08:02:32.000Z
2021-05-21T16:36:50.000Z
/* // Copyright (c) 2017 2018 Intel Corporation // // 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 l...
27.328571
79
0.687925
[ "vector" ]
3738388c5447b094d84b658a76f367f69018f2c8
2,782
cpp
C++
tc 160+/RequiredSubstrings.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/RequiredSubstrings.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/RequiredSubstrings.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 <cstdlib> #include <cstring> #include <ctime> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; const int mod = 1000000009; int C, L; vector<string> W; int len[6][51][6]; int next[6][51][6][26]; int dp[50]...
27.82
92
0.354062
[ "vector" ]
3745dd89cc83b49926fb1a71f36d49d8babe3ce8
2,800
hh
C++
include/WCSimLikelihoodDigitArray.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimLikelihoodDigitArray.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimLikelihoodDigitArray.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
/** * \class WCSimLikelihoodDigitArray * A class to hold one WCSimLikelihoodDigit for every * PMT in the detector, hit or unhit. * It contains all the detector information used to fit * a single event */ #pragma once #include <vector> #include "WCSimLikelihoodDigit.hh" #include "WCSimRootEvent.hh" #include "TCl...
27.45098
99
0.702143
[ "geometry", "object", "vector" ]
37580de3708a11d96081a3fe105b38b70c51188c
5,799
hpp
C++
include/shadertoy/buffers/program_buffer.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2020-02-23T09:33:07.000Z
2021-11-15T18:23:13.000Z
include/shadertoy/buffers/program_buffer.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
2
2019-08-09T15:48:07.000Z
2020-11-16T13:51:56.000Z
include/shadertoy/buffers/program_buffer.hpp
vtavernier/libshadertoy
a0b2a133199383cc7e9bcb3c0300f39eb95177c0
[ "MIT" ]
3
2019-12-12T09:42:34.000Z
2020-12-14T03:56:30.000Z
#ifndef _SHADERTOY_BUFFERS_PROGRAM_BUFFER_HPP_ #define _SHADERTOY_BUFFERS_PROGRAM_BUFFER_HPP_ #include "shadertoy/pre.hpp" #include "shadertoy/buffers/gl_buffer.hpp" #include "shadertoy/program_input.hpp" #include "shadertoy/program_interface.hpp" #include "shadertoy/compiler/program_template.hpp" #include <deque> ...
29.140704
109
0.70357
[ "geometry", "render", "object", "vector" ]
375add4099a5b817d74f40a9467d8c6d9ae583ca
3,073
cxx
C++
src/box_occupation_matrix.cxx
atollena/packrect
173c65a83261f577cd507263e2bdd43179ea7915
[ "MIT" ]
2
2018-08-23T10:55:30.000Z
2018-08-23T11:01:20.000Z
src/box_occupation_matrix.cxx
atollena/packrect
173c65a83261f577cd507263e2bdd43179ea7915
[ "MIT" ]
null
null
null
src/box_occupation_matrix.cxx
atollena/packrect
173c65a83261f577cd507263e2bdd43179ea7915
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include "box_occupation_matrix.hxx" #include "rectangle.hxx" #include "rectangle_position.hxx" #include "bounding_box.hxx" namespace packing { BoxOccupationMatrix::BoxOccupationMatrix(const RectangleSize & boxSize) :width(boxSize.width), height(boxSize.height), ...
26.721739
77
0.566222
[ "vector" ]
375fae2eb3e498d0060e77f42d49755f8fe7ebb8
3,401
cc
C++
src/apps_root/stripes2root.cc
JohannesEbke/drillbit
770888380224ce8b513250beb3027d5e6d8a985c
[ "BSD-2-Clause" ]
6
2015-11-19T10:04:28.000Z
2017-04-22T23:52:06.000Z
src/apps_root/stripes2root.cc
JohannesEbke/drillbit
770888380224ce8b513250beb3027d5e6d8a985c
[ "BSD-2-Clause" ]
1
2015-11-23T23:45:02.000Z
2015-11-23T23:45:02.000Z
src/apps_root/stripes2root.cc
JohannesEbke/drillbit
770888380224ce8b513250beb3027d5e6d8a985c
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <TTree.h> #include <TBranch.h> #include <TFile.h> #include "open_stripes.h" #include "root_dictionaries.h" #include "stdvector_reader.h" #include "stdvector_reader_impl.h" using namespace std; using google::protobuf::io::CodedInputStream; // Create a branch of this ty...
35.8
111
0.583652
[ "vector" ]
37615b0ad1c59bd3688691f9f50498e2cf2214f4
6,773
cpp
C++
src/zoneserver/model/gameobject/Anchor.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/model/gameobject/Anchor.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/model/gameobject/Anchor.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerPCH.h" #include "Anchor.h" #include "Entity.h" #include "ability/Inventoryable.h" #include "ability/impl/KnowableAbility.h" #include "ability/impl/SkillCastableAbility.h" #include "ability/impl/CastNotificationableImpl.h" #include "status/StaticObjectStatus.h" #include "skilleffect/StaticObjectEffec...
24.275986
87
0.718441
[ "3d" ]
3764681244294ca61731aa49179f61bd5db9e9b1
47,994
cpp
C++
Engine/Source/ThirdParty/IntelEmbree/Embree270/src/kernels/xeon/bvh4/bvh4.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/ThirdParty/IntelEmbree/Embree270/src/kernels/xeon/bvh4/bvh4.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/ThirdParty/IntelEmbree/Embree270/src/kernels/xeon/bvh4/bvh4.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// ======================================================================== // // Copyright 2009-2015 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
50.255497
181
0.77691
[ "mesh", "geometry", "object", "vector" ]
376a7d6db136dc83f0ca2bf599cca693bddbfbba
485
cc
C++
ztm-algos-n-ds/section9/my-stack-implementation/using-dynamic-array/stack.cc
MatteoDelliRocioli/back-to-the-roots
6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758
[ "MIT" ]
null
null
null
ztm-algos-n-ds/section9/my-stack-implementation/using-dynamic-array/stack.cc
MatteoDelliRocioli/back-to-the-roots
6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758
[ "MIT" ]
null
null
null
ztm-algos-n-ds/section9/my-stack-implementation/using-dynamic-array/stack.cc
MatteoDelliRocioli/back-to-the-roots
6c0fc1f0ab17937d6cdcc1a7f5f875d767b2b758
[ "MIT" ]
null
null
null
#include "stack.h" #include <vector> #include <iostream> using namespace std; Stack::Stack () : data (vector<int> {}) { cout << "Stack created" << endl; } int Stack::Pick() { if (data.empty()) return 0; return data.at(data.size() - 1); } void Stack::Push(int value) { data.push_back(va...
16.166667
47
0.57732
[ "vector" ]
376a7f1ee51b3f47776d91cc2b4a02a862053094
5,359
cpp
C++
src/prod/test/FabricTest/ReadWriteStatusValidator.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/test/FabricTest/ReadWriteStatusValidator.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/test/FabricTest/ReadWriteStatusValidator.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
30.976879
346
0.704422
[ "vector" ]
376b94b6951345c5d5bfa907e445a39efee825fa
4,879
hh
C++
track/detail/SurfaceFunctors.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/SurfaceFunctors.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/SurfaceFunctors.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file track/detail/SurfaceFunctors.hh * \brief Functor definitions used by SurfaceContainer via SurfaceAction * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-------------------------------------...
29.391566
79
0.530642
[ "vector" ]
37753eaff681fad604c36bd9db98c97f317f2091
1,591
cpp
C++
contracts/xy/src/uid.cpp
eosnationftw/geojsonpoint
e5b38051753d760cbe2759d542e5c9b92a70c002
[ "MIT" ]
null
null
null
contracts/xy/src/uid.cpp
eosnationftw/geojsonpoint
e5b38051753d760cbe2759d542e5c9b92a70c002
[ "MIT" ]
null
null
null
contracts/xy/src/uid.cpp
eosnationftw/geojsonpoint
e5b38051753d760cbe2759d542e5c9b92a70c002
[ "MIT" ]
2
2019-08-12T10:55:42.000Z
2021-04-13T14:09:39.000Z
name xy::set_uid( const name owner, const uint64_t id, name uid, const name type ) { // user can provide custom UID (unique identifier) // user can define a UID for any node/way/relation using a custom name (ex: myuid.xy) // using UID's lead to easier XY object tracking compared to using auto-incrementing i...
35.355556
116
0.529227
[ "object" ]
37793a2059de92d276a5538b0cef1c671a6b44aa
3,640
cpp
C++
Player.cpp
Firely-Pasha/SpaceInvaders
1a7427178574527c51e0f39e6ba562395a4bd280
[ "Apache-2.0" ]
null
null
null
Player.cpp
Firely-Pasha/SpaceInvaders
1a7427178574527c51e0f39e6ba562395a4bd280
[ "Apache-2.0" ]
null
null
null
Player.cpp
Firely-Pasha/SpaceInvaders
1a7427178574527c51e0f39e6ba562395a4bd280
[ "Apache-2.0" ]
null
null
null
// // Created by firely-pasha on 6/20/17. // #include "Texture2D.h" #include "Player.h" #include "GameLevel.h" #include "Bullet.h" #include "GameWindow.h" Player::Player(QString *name, QVector2D *position) : GameObject(name, position, id = -1) { speed = 2; canShoot = true; hp = 10; int spriteX = 36...
25.815603
125
0.568407
[ "render" ]
377c56e3626cfdc8dadfe7e3da2dfb57dbc86737
4,932
cpp
C++
test/PAGTimeStretchTest.cpp
DSPerson/libpag
83d243e4914d688eaf6926128563cbfced6302b8
[ "BSL-1.0", "CC0-1.0", "MIT" ]
1
2022-01-14T06:12:40.000Z
2022-01-14T06:12:40.000Z
test/PAGTimeStretchTest.cpp
skymhzhang/libpag
e3d23ee1e84d98c410a48e25a01c52417c74d0f1
[ "BSL-1.0", "CC0-1.0", "MIT" ]
null
null
null
test/PAGTimeStretchTest.cpp
skymhzhang/libpag
e3d23ee1e84d98c410a48e25a01c52417c74d0f1
[ "BSL-1.0", "CC0-1.0", "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////// // // Tencent is pleased to support the open source community by making libpag available. // // Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the Apache License, Versio...
29.532934
97
0.672749
[ "vector" ]
377fda916781d37d63082aab367a241facbaf8a7
31,985
cpp
C++
OpenSees/SRC/element/elasticBeamColumn/ElasticBeam3d.cpp
kuanshi/ductile-fracture
ccb350564df54f5c5ec3a079100effe261b46650
[ "MIT" ]
null
null
null
OpenSees/SRC/element/elasticBeamColumn/ElasticBeam3d.cpp
kuanshi/ductile-fracture
ccb350564df54f5c5ec3a079100effe261b46650
[ "MIT" ]
null
null
null
OpenSees/SRC/element/elasticBeamColumn/ElasticBeam3d.cpp
kuanshi/ductile-fracture
ccb350564df54f5c5ec3a079100effe261b46650
[ "MIT" ]
1
2020-08-06T21:12:16.000Z
2020-08-06T21:12:16.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
26.281841
138
0.548945
[ "vector", "model", "transform", "3d" ]
3797a75dbbdf6abef6de71580d96a17c6ff1823b
12,211
cc
C++
phone2image_ex/phone_img.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
null
null
null
phone2image_ex/phone_img.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
null
null
null
phone2image_ex/phone_img.cc
WinterW/crawler_cpp
e0c8dba77233005b1ab13731d1cbcce274b70778
[ "Apache-2.0" ]
2
2020-09-12T13:50:38.000Z
2020-09-16T15:55:14.000Z
/** * @Copyright 2010 GanJi Inc. * @file ganji/crawler/phone2image_ex/phone_level.cc * @namespace ganji::crawler::phone2image * @version 1.0 * @author miaoxijun * @author lisizhong * @author luomeiqing * @date 2012-11-18 * * 改动程序后, 请使用tools/cpplint/cpplint.py 检查代码是否符合编码规范! * 遵循的编码规范请参考: http://googl...
30.5275
133
0.562526
[ "vector" ]
379c3e29affe04dfeaa189e1d1614d156686a52c
1,314
cpp
C++
online_judges/cf/102465/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/cf/102465/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/cf/102465/d/d.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // By Miguel Ortiz https://github.com/miaortizma typedef long long ll; typedef pair<ll, ll> pll; vector<pll> v, lines; int X, Y, N; ll d(ll y, pll line) { ll y0 = line.first, y1 = line.second; if (y < y0) { return y0 - y; } else if (y > y1) { return y - y1; ...
19.043478
64
0.464231
[ "vector" ]
379ecc08d029071d77b9b86d77aad7c3ea10325e
146,559
hpp
C++
third_party/boost/sandbox/boost/property_tree/detail/pugxml.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/property_tree/detail/pugxml.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/property_tree/detail/pugxml.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Pug XML Parser - Version 1.0002 // -------------------------------------------------------- // Copyright (C) 2003, by Kristen Wegner (kristen@tima.net) // Released into the Public Domain. Use at your own risk. // See pugxml.xml ...
37.292366
247
0.638507
[ "object" ]
379f822a40c0826398e00bf8979bb22e736fd912
1,577
cpp
C++
Medium/letter-combinations-of-a-phone-number.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
1
2020-05-10T07:21:24.000Z
2020-05-10T07:21:24.000Z
Medium/letter-combinations-of-a-phone-number.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
null
null
null
Medium/letter-combinations-of-a-phone-number.cpp
utkarshavardhana/LeetCode-Problems
1b574945c59d8050a55a9d1c922dde65e6bb7c75
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/letter-combinations-of-a-phone-number/ // // Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. // // A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 do...
33.553191
129
0.513633
[ "vector" ]
37a2605e2b10fc811171fae5b96f10cf60bd7531
6,047
hpp
C++
UNPEX/hws/hw1/calculate.hpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
2
2019-01-27T14:16:09.000Z
2019-05-25T10:05:24.000Z
UNPEX/hws/hw1/calculate.hpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
null
null
null
UNPEX/hws/hw1/calculate.hpp
MU001999/codeex
23e300f9121a8d6bf4f4c9ec103510193808e9ba
[ "MIT" ]
1
2020-11-05T05:17:28.000Z
2020-11-05T05:17:28.000Z
#include <string> #include <memory> #include <vector> #include <cctype> #include <iterator> namespace detail { struct Token { enum class TOKEN { INTEGER, // [0-9]+ ADD, SUB, MUL, DIV, MOD, // + - & / % LPAREN, RPAREN, // ( )...
26.995536
96
0.412601
[ "vector" ]
37a2712592772fe166b18c5145d655cf696cff73
1,036
cpp
C++
Source/Urho3D/EffekseerUrho3D/LoaderUrho3D/EffekseerUrho3D.ModelLoader.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/LoaderUrho3D/EffekseerUrho3D.ModelLoader.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
Source/Urho3D/EffekseerUrho3D/LoaderUrho3D/EffekseerUrho3D.ModelLoader.cpp
aimoonchen/rbfx
de4f1fd795f4f42009693a71b6f887a221aa19db
[ "MIT" ]
null
null
null
//#include <ResourceLoader.hpp> #include "EffekseerUrho3D.ModelLoader.h" #include <EASTL/string.h> #include "../RendererUrho3D/EffekseerUrho3D.RenderResources.h" #include "../Utils/EffekseerUrho3D.Utils.h" #include "../EffekseerResource.h" #include "../../Core/Context.h" #include "../../Resource/ResourceCache.h" #inclu...
27.263158
79
0.72973
[ "model" ]
37afd12897f62b9a0c9d7ad186ed935da9392802
4,389
cc
C++
euler/core/kernels/id_unique_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
2,829
2019-01-12T09:16:03.000Z
2022-03-29T14:00:58.000Z
euler/core/kernels/id_unique_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
331
2019-01-17T21:07:49.000Z
2022-03-30T06:38:17.000Z
euler/core/kernels/id_unique_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
578
2019-01-16T10:48:53.000Z
2022-03-21T13:41:34.000Z
/* Copyright 2020 Alibaba Group Holding Limited. 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 o...
40.638889
80
0.656414
[ "shape", "vector" ]
37b0e268a972f37995eb91febe1184c8cfd78d42
16,132
cpp
C++
inventory/inventorychanger.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
3
2021-08-18T10:19:25.000Z
2021-08-31T04:45:26.000Z
inventory/inventorychanger.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
null
null
null
inventory/inventorychanger.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
4
2021-08-18T06:57:26.000Z
2021-09-02T15:22:36.000Z
#include "../includes.hpp" #include "inventorychanger.h" #include "../protobuffs/Protobuffs.h" #include "../protobuffs/ProtoWriter.h" #include "../protobuffs/Messages.h" #include "../skinchanger/enrage parser, thanks!/parserz.hpp" static void apply_medals(ProtoWriter& object) { uint32_t steamid =...
31.81854
190
0.698178
[ "object", "vector" ]
37b3d7ec6cd2a6f67840524b4106aa0a31da66a4
41,792
cpp
C++
admin/snapin/dsadmin/newobjcr.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/dsadmin/newobjcr.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/dsadmin/newobjcr.cpp
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, 1997 - 1999 // // File: newobjcr.cpp // //-------------------------------------------------------------------------- ///////////////////////////////////////...
31.975516
152
0.657231
[ "object" ]
37b4be5e497af8808d5eae82423a560bc9f50e37
6,561
cpp
C++
segment_util/segmentation_boundary.cpp
ayghor/video_segment
c930c4555ff171e5013d525e218a4d8201ed0d51
[ "BSD-3-Clause" ]
159
2015-01-14T21:24:12.000Z
2021-08-29T19:38:27.000Z
segment_util/segmentation_boundary.cpp
Robotertechnik/video_segment
c930c4555ff171e5013d525e218a4d8201ed0d51
[ "BSD-3-Clause" ]
21
2015-01-06T15:51:10.000Z
2020-06-21T18:58:01.000Z
segment_util/segmentation_boundary.cpp
Robotertechnik/video_segment
c930c4555ff171e5013d525e218a4d8201ed0d51
[ "BSD-3-Clause" ]
86
2015-01-14T21:25:29.000Z
2020-06-21T18:52:19.000Z
// Copyright (c) 2010-2014, The Video Segmentation Project // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice...
36.049451
90
0.641823
[ "render", "vector" ]
37b511d31504a6f70637ab6469a772ad6f4c543b
3,219
cpp
C++
mainapp/Classes/Games/LetterTrace/Models/LetterTraceLevelData.cpp
JaagaLabs/GLEXP-Team-KitkitSchool
f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0
[ "Apache-2.0" ]
45
2019-05-16T20:49:31.000Z
2021-11-05T21:40:54.000Z
mainapp/Classes/Games/LetterTrace/Models/LetterTraceLevelData.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
123
2019-05-28T14:03:04.000Z
2019-07-12T04:23:26.000Z
pehlaschool/Classes/Games/LetterTrace/Models/LetterTraceLevelData.cpp
maqsoftware/Pehla-School-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
29
2019-05-16T17:49:26.000Z
2021-12-30T16:36:24.000Z
// // LevelData.cpp -- A collection of Worksheets // TodoSchool on Oct 14, 2016 // // Copyright (c) 2016 Enuma, Inc. All rights reserved. // See LICENSE.md for more details. // #include "LetterTraceLevelData.h" #include "../Utils/LetterTraceMainDepot.h" #include <Common/Basic/CommentStream.h> // for data checkin...
26.385246
153
0.561354
[ "vector" ]
37b5a6cda0000b79ed272edc76ea0d8d6d6bccef
2,788
hpp
C++
include/System/GC.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/GC.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/GC.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Runtime.CompilerServices.Ephemeron #include "System/Runtime/Com...
43.5625
104
0.696915
[ "object" ]
37b83ae6a768201602a3b64dafca7c0108982456
4,310
cc
C++
src/easytest_main.cc
akiyamalab/restretto
bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b
[ "MIT" ]
null
null
null
src/easytest_main.cc
akiyamalab/restretto
bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b
[ "MIT" ]
2
2020-06-11T21:48:29.000Z
2020-06-11T22:02:04.000Z
src/easytest_main.cc
akiyamalab/restretto
bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b
[ "MIT" ]
null
null
null
#include "common.hpp" #include "utils.hpp" #include "OBMol.hpp" #include "infile_reader.hpp" #include "EnergyCalculator.hpp" #include <iostream> #include <iomanip> #include <string> #include <boost/program_options.hpp> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include <cstdlib> #include ...
34.206349
105
0.650812
[ "vector" ]
37b9184c8c493c6019c7dc38141b417e34c50787
1,283
cpp
C++
BGE/Lab3.cpp
Confkins/Games-Engines
1690fa44c227ebab857e04c66fe4bb17cbb1358b
[ "MIT" ]
null
null
null
BGE/Lab3.cpp
Confkins/Games-Engines
1690fa44c227ebab857e04c66fe4bb17cbb1358b
[ "MIT" ]
null
null
null
BGE/Lab3.cpp
Confkins/Games-Engines
1690fa44c227ebab857e04c66fe4bb17cbb1358b
[ "MIT" ]
null
null
null
#include "Lab3.h" #include "Content.h" #include "VectorDrawer.h" #include "LazerBeam.h" using namespace BGE; Lab3::Lab3(void) { elapsed = 10000; } bool Lab3::Initialise() { std::shared_ptr<GameComponent> ground = make_shared<Ground>(); Attach(ground); ship1 = make_shared<GameComponent>(true); ship1->Attach(C...
23.759259
100
0.688231
[ "transform" ]
37c258badd986cfa4aa0fd805168170013e13b8d
2,156
cpp
C++
cpp/problems/33_Search_in_Rotated_Sorted_Array/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
cpp/problems/33_Search_in_Rotated_Sorted_Array/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
cpp/problems/33_Search_in_Rotated_Sorted_Array/solution.cpp
zerdzhong/LeetCode
a293a4ae3ac32f416c5361f386d027f558a67954
[ "MIT" ]
null
null
null
// // Created by zhongzhendong on 2018-12-28. // #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <vector> using namespace std; /* Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]). You are given a targ...
25.666667
100
0.54731
[ "vector" ]
37cae059d9b62956f57abe7c2ec35fceeb5a2a8a
23,229
hpp
C++
networking-ts-impl-master/include/experimental/__net_ts/impl/read_until.hpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
5
2017-05-19T23:03:26.000Z
2021-05-03T13:40:19.000Z
networking-ts-impl-master/include/experimental/__net_ts/impl/read_until.hpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
1
2018-05-15T18:40:33.000Z
2018-05-15T18:40:33.000Z
networking-ts-impl-master/include/experimental/__net_ts/impl/read_until.hpp
mjcaisse/cppnow-2017-network-ts-material
128bcf2a718e8f13c2991520a56ddc41b3ccb28b
[ "BSL-1.0" ]
2
2017-10-03T13:23:34.000Z
2018-04-23T16:19:11.000Z
// // impl/read_until.hpp // ~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef NET_TS_IMPL_READ_UNTI...
32.579243
79
0.66813
[ "vector" ]
56cceaec95d5483119282b689650e18521cb036c
8,517
cpp
C++
custom_glv/src/glv_layout.cpp
mntmn/produce
5c7d9c4045992996c1333b1ec608044f4fbd3498
[ "MIT" ]
52
2015-02-22T22:12:17.000Z
2021-02-23T15:13:22.000Z
custom_glv/src/glv_layout.cpp
mntmn/produce
5c7d9c4045992996c1333b1ec608044f4fbd3498
[ "MIT" ]
1
2016-04-24T21:47:20.000Z
2016-04-24T21:47:20.000Z
custom_glv/src/glv_layout.cpp
mntmn/produce
5c7d9c4045992996c1333b1ec608044f4fbd3498
[ "MIT" ]
null
null
null
/* Graphics Library of Views (GLV) - GUI Building Toolkit See COPYRIGHT file for authors and license information */ #include "glv_layout.h" namespace glv{ Placer::Placer(space_t absX, space_t absY) : x(absX), y(absY), rx(0), ry(0), ax(0), ay(0), fw(0), fh(0), mAnchor((Place::t)0), parent(0) {} Placer::Placer(View...
23.724234
93
0.579312
[ "geometry" ]
56cde4eeeb1682550b0bb773d81d13944e7cfe9b
2,920
hpp
C++
lib/sfml/include/sfml/SceneGame.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/include/sfml/SceneGame.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/include/sfml/SceneGame.hpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** Arcade ** File description: ** SceneGame */ #ifndef SCENEGAME_HPP #define SCENEGAME_HPP #include "sfml/IScene.hpp" #include <vector> #include "sfml/Button.hpp" #include "sfml/Text.hpp" #include "ErrorMessage.hpp" #include <memory> #include "sfml/ScenePause.hpp" namespace arc { clas...
31.06383
128
0.606849
[ "vector" ]
56d709bdc9bff46cb4610f235cde29bd12d9a4c3
671
cpp
C++
VirCA_RoboTester/GeneratedFiles/qrc_qtRoboTester.cpp
fletli/VirCA_RoboTester
4aa6b35a1fc62ba8c715820a25d3ae2236d71da8
[ "MIT" ]
null
null
null
VirCA_RoboTester/GeneratedFiles/qrc_qtRoboTester.cpp
fletli/VirCA_RoboTester
4aa6b35a1fc62ba8c715820a25d3ae2236d71da8
[ "MIT" ]
null
null
null
VirCA_RoboTester/GeneratedFiles/qrc_qtRoboTester.cpp
fletli/VirCA_RoboTester
4aa6b35a1fc62ba8c715820a25d3ae2236d71da8
[ "MIT" ]
null
null
null
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.3.1 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include <QtCore/q...
22.366667
78
0.611028
[ "object" ]
56df419b465dd164759a76e40d1a8010bd7428f6
1,936
cpp
C++
code/wxWidgets/src/mgl/dcclient.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mgl/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mgl/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: dcclient.cpp // Purpose: // Author: Vaclav Slavik // RCS-ID: $Id: dcclient.cpp,v 1.13 2004/05/23 20:52:45 JS Exp $ // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows ...
25.813333
77
0.607438
[ "object" ]
56e47cff7857017ae4f414090ac2bb7c83a7eecb
8,370
cpp
C++
smarttraffic-demo2.0/main.cpp
ThunderSoft-XA/C610-smarttraffic-demo2.0
b2c50e812e4070ce7bbb067240ea0cd6bed098de
[ "Unlicense" ]
5
2021-07-07T08:08:57.000Z
2022-02-15T05:50:56.000Z
smarttraffic-demo2.0/main.cpp
ThunderSoft-XA/C610-smarttraffic-demo2.0
b2c50e812e4070ce7bbb067240ea0cd6bed098de
[ "Unlicense" ]
null
null
null
smarttraffic-demo2.0/main.cpp
ThunderSoft-XA/C610-smarttraffic-demo2.0
b2c50e812e4070ce7bbb067240ea0cd6bed098de
[ "Unlicense" ]
1
2021-07-07T08:09:32.000Z
2021-07-07T08:09:32.000Z
#include "refreshdata.hpp" #include "easypr/core/plate_locate.h" #include "easypr/core/plate_judge.h" #include "easypr/core/plate.hpp" #include "easypr/core/plate_recognize.h" #include "easypr/core/plate_detect.h" #include "easypr/core/SNPEPlate.hpp" #include <mcheck.h> #include <omp.h> using namespace camera; usi...
35.617021
147
0.63405
[ "vector" ]
56eb7124de44eb3284cef2ab4a5d6d438781231e
4,568
cpp
C++
events/add_hf_entity_honor.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
16
2018-02-05T17:44:12.000Z
2022-03-03T13:37:06.000Z
events/add_hf_entity_honor.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
12
2017-10-25T13:25:22.000Z
2022-03-12T19:27:54.000Z
events/add_hf_entity_honor.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
5
2017-10-25T13:30:45.000Z
2018-08-03T12:51:40.000Z
#include "../helpers_event.h" #include "df/history_event_add_hf_entity_honorst.h" #include "df/honors_type.h" void do_event(std::ostream & s, const event_context & context, df::history_event_add_hf_entity_honorst *event) { auto figure = df::historical_figure::find(event->hfid); auto entity = df::historical_en...
30.453333
111
0.510289
[ "vector" ]
56ec691528e2c835693215a8d0bb9addecb7f85f
12,859
cpp
C++
fcd.cpp
FS-make-simple/fastcd
1c98fcfb50e5df8fb2729af0e19debcf5e207806
[ "MIT" ]
7
2016-08-30T16:01:51.000Z
2019-01-27T07:41:43.000Z
fastcd.cpp
ran130683/fastcd
d25ffba75146a9790f7bda7a41214f36864039ce
[ "MIT" ]
1
2016-08-31T07:52:01.000Z
2016-08-31T11:20:28.000Z
fastcd.cpp
ran130683/fastcd
d25ffba75146a9790f7bda7a41214f36864039ce
[ "MIT" ]
3
2017-02-14T12:55:13.000Z
2019-01-27T07:42:07.000Z
/* code by phoneli. email : phone.wc.li@foxmail.com license : MIT */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <dirent.h> #include <string.h> #include <sys/stat.h> #include <ncurses.h> #include <errno.h> #include <vector> #include <map> #include <set> #include <string> #include <algorithm> ...
25.564612
110
0.564896
[ "vector", "transform" ]
56f31918d0cbd1e00b9bcf1884704139822aef62
1,310
hpp
C++
include/Factory/Module/Encoder/Polar/Encoder_polar.hpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
include/Factory/Module/Encoder/Polar/Encoder_polar.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
include/Factory/Module/Encoder/Polar/Encoder_polar.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
/*! * \file * \brief Class factory::Encoder_polar. */ #ifndef FACTORY_ENCODER_POLAR_HPP #define FACTORY_ENCODER_POLAR_HPP #include <vector> #include <string> #include <map> #include <cli.hpp> #include "Tools/Factory/Header.hpp" #include "Module/Encoder/Polar/Encoder_polar.hpp" #include "Factory/Module/Encoder/Enco...
27.87234
116
0.629771
[ "vector" ]
56f3f3b7e07869fb562b35dca38ecadd11e82b65
1,163
cpp
C++
lab/lab03/visita.cpp
mfranzil-unitn/unitn-asd
2288b0358d832fe3777c2af7cbb82d12d6365035
[ "MIT" ]
null
null
null
lab/lab03/visita.cpp
mfranzil-unitn/unitn-asd
2288b0358d832fe3777c2af7cbb82d12d6365035
[ "MIT" ]
null
null
null
lab/lab03/visita.cpp
mfranzil-unitn/unitn-asd
2288b0358d832fe3777c2af7cbb82d12d6365035
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <queue> #include <vector> using namespace std; struct Nodo { vector<int> vic; int index; bool visitato; }; int count(vector<Nodo*> &G, Nodo* R); int main() { int N, M, S; vector<Nodo*> G; ifstream in("input.txt"); in >> N >> M >> S; f...
17.892308
49
0.450559
[ "vector" ]
56f412198144906788e198f574371416b64f3601
8,552
cpp
C++
src/caffe/layers/fcn_image_data_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
2
2017-09-11T11:59:05.000Z
2021-05-08T13:12:57.000Z
src/caffe/layers/fcn_image_data_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/fcn_image_data_layer.cpp
GuohongWu/caffe-windows-happynear
88602198ff6507909b8d2992efa79d8ec74d7dfe
[ "BSD-2-Clause" ]
null
null
null
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #include <fstream> // NOLINT(readability/streams) #include <iostream> // NOLINT(readability/streams) #include "caffe/layers/fcn_image_data_layer.hpp" #include "caffe/util/benchmark.hpp" #include "caffe/util/io.hpp" #include "caffe/util/math_functions.hpp" #include ...
35.338843
141
0.67224
[ "vector", "transform" ]
56f55e86f8bdc99d824412ed38fa805fb3ef3d19
25,303
cxx
C++
StRoot/StSecondaryVertexMaker/StKinkMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StSecondaryVertexMaker/StKinkMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StSecondaryVertexMaker/StKinkMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*! * \class StKinkMaker * \brief Class to find kink secondary vertices * \author Camelia Mironov, KSU * \date Jan,2004 * * */ #include <iostream> #include <cstdlib> #include <cstring> #include "StMemStat.h" #include "StKinkMaker.h" #include "StKinkLocalTrack.hh" #include "StTrackGeometry.h" #include "StV0F...
39.04784
134
0.624353
[ "geometry", "3d" ]
56f6827065b9aee2f376bab4a0a027c1d5dfc12f
499
cpp
C++
OpenTESArena/src/World/SkyMoonDefinition.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
OpenTESArena/src/World/SkyMoonDefinition.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
OpenTESArena/src/World/SkyMoonDefinition.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
#include "SkyMoonDefinition.h" #include "components/debug/Debug.h" void SkyMoonDefinition::init(std::vector<TextureAssetReference> &&textureAssetRefs) { this->textureAssetRefs = std::move(textureAssetRefs); } int SkyMoonDefinition::getTextureCount() const { return static_cast<int>(this->textureAssetRefs.size()); }...
24.95
83
0.795591
[ "vector" ]
56f7e5e52e21edebde86e1ffe71ef16fdb020c64
2,915
hh
C++
include/Run.hh
Kri-Ol/ProtonBub
476949da8fd9545d22098bc92c4839750d0cbf3d
[ "MIT" ]
1
2017-10-15T18:09:55.000Z
2017-10-15T18:09:55.000Z
include/Run.hh
Kri-Ol/ProtonBub
476949da8fd9545d22098bc92c4839750d0cbf3d
[ "MIT" ]
null
null
null
include/Run.hh
Kri-Ol/ProtonBub
476949da8fd9545d22098bc92c4839750d0cbf3d
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <iostream> #include "G4Run.hh" #include "G4Event.hh" #include "G4THitsMap.hh" //--------------------------------------------------------------------- /// Run class /// /// Example implementation for multi-functional-detector and primitive scorer. /// This Ru...
27.5
78
0.568439
[ "vector" ]
56f94389126004853afad3bc819be479984bc474
17,535
cpp
C++
SliceModel.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
SliceModel.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
SliceModel.cpp
cbutakoff/DSI-Studio
d77dffa4526d66da421fa84f7187e85bca6bce7c
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------------- #include <string> #include <QFileInfo> #include <QInputDialog> #include <QMessageBox> #include <QDir> #include "SliceModel.h" #include "prog_interface_static_link.h" #include "fib_data.hpp" #include "fa_template.hpp" // --------------------...
40.125858
136
0.473852
[ "geometry", "vector", "transform" ]
71009bec2c64011cb4b366be45365e1bc207d7da
1,300
cpp
C++
tests/unit_tests/Repo/image/DeleteImage.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
tests/unit_tests/Repo/image/DeleteImage.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
tests/unit_tests/Repo/image/DeleteImage.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
2
2021-05-07T20:35:55.000Z
2021-07-08T15:14:43.000Z
// // Created by alro on 29‏/11‏/2020. // #include <Shared/DependencyInjector.h> #include <Shared/Tools.h> #include <Entity/Contract/Image.h> #include "gtest/gtest.h" #include "../tools/Database.h" #include "../stubs/Images.h" using namespace std; TEST(image_deleting, delete_saved_image){ string fileName = "testd...
36.111111
126
0.716154
[ "vector" ]
71024ecc5c0367cb46aa582019af4da8c757290b
1,640
cpp
C++
C or C++/ConsDestructor.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-11-01T05:48:04.000Z
2021-04-25T05:33:47.000Z
C or C++/ConsDestructor.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
null
null
null
C or C++/ConsDestructor.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-10-31T05:29:55.000Z
2021-06-19T09:33:53.000Z
// Using a constructor and destructor #include <iostream> #include <map> #include <new> #include <cstdlib> using namespace std; const int SIZE=100; // This creates the class stack. class stack { int stck[SIZE]; int tos; public: stack(); // constructor ~stack(); // destructor void pu...
17.446809
81
0.518293
[ "object" ]
710b38dcc9ecaf909efa4216d580c37795a7b5b8
13,545
cpp
C++
src/myoCollector.cpp
JinkiJung/GetGes
cfc27cf55a8785cd2feab90d92ddf7cafa37e19d
[ "MIT" ]
null
null
null
src/myoCollector.cpp
JinkiJung/GetGes
cfc27cf55a8785cd2feab90d92ddf7cafa37e19d
[ "MIT" ]
null
null
null
src/myoCollector.cpp
JinkiJung/GetGes
cfc27cf55a8785cd2feab90d92ddf7cafa37e19d
[ "MIT" ]
null
null
null
#include "MyoCollector.h" #define EMG_ELEMENT_NUM 8 #define NOT_CALIBRATED -1 using namespace cv; using namespace std; MyoCollector::MyoCollector() { } void MyoCollector::collect(myo::Hub*& hub){ // set sensor frequency for collecting data hub->run(MYO_FREQUENCY); //hub->run(50); } in...
42.59434
242
0.674492
[ "object", "vector" ]
71164154eba3bf50f9c7a951f69a6befedfd31f8
1,695
cpp
C++
examples/quadratic.cpp
marcorushdy/realGen
2441cbb81d034137926c0f50c7dcdc6777329b76
[ "MIT" ]
16
2017-04-23T23:24:08.000Z
2021-03-12T21:38:28.000Z
examples/quadratic.cpp
marcorushdy/realGen
2441cbb81d034137926c0f50c7dcdc6777329b76
[ "MIT" ]
null
null
null
examples/quadratic.cpp
marcorushdy/realGen
2441cbb81d034137926c0f50c7dcdc6777329b76
[ "MIT" ]
6
2017-06-14T11:50:37.000Z
2019-05-16T20:09:07.000Z
#include <iostream> #include <time.h> #include "realgen.h" #include "fitnessfunction.h" #define N_SAMPLE 1000 using namespace std; class QuadraticFitness : public FitnessFunction { public: double eval(const RealGenotype &g) { double f = 0.0; double dx1 = g.gene[0]-2.5, ...
30.267857
80
0.625369
[ "vector" ]
712c0fe49f738076d1730570dcf014ce85710104
2,268
cpp
C++
src/geomodel.cpp
yramachers/SNDrift
fcadc0a8f812db071f0911a7c811b34ff4bfecba
[ "MIT" ]
null
null
null
src/geomodel.cpp
yramachers/SNDrift
fcadc0a8f812db071f0911a7c811b34ff4bfecba
[ "MIT" ]
null
null
null
src/geomodel.cpp
yramachers/SNDrift
fcadc0a8f812db071f0911a7c811b34ff4bfecba
[ "MIT" ]
null
null
null
// us #include "geomodel.hh" // standard includes #include <iostream> // ROOT includes #include "TGeoVolume.h" #include "TString.h" #include "TObjArray.h" //**************** // Geometry Model //**************** // Constructors GeometryModel::GeometryModel(const char* filename) { // import geometry from file //...
26.372093
91
0.608466
[ "geometry", "model" ]
712d1a46b1f72b8da8d38a5226f4707d758879e4
34,709
cc
C++
Translator_file/examples/step-30/step-30.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-30/step-30.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-30/step-30.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
/* --------------------------------------------------------------------- * * Copyright (C) 2007 - 2021 by the deal.II authors * * This file is part of the deal.II library. * * The deal.II library is free software; you can use it, redistribute * it, and/or modify it under the terms of the GNU Lesser Gene...
36.005187
311
0.503299
[ "vector" ]
7135447bee2ecfb30ed86660de318b5b53582b9a
2,986
cpp
C++
gecode/clock_triplets.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
279
2015-01-10T09:55:35.000Z
2022-03-28T02:34:03.000Z
gecode/clock_triplets.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
10
2017-10-05T15:48:50.000Z
2021-09-20T12:06:52.000Z
gecode/clock_triplets.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
83
2015-01-20T03:44:00.000Z
2022-03-13T23:53:06.000Z
/* Clock triplet puzzle in Gecode. Problem formulation http://www.f1compiler.com/samples/Dean%20Clark%27s%20Problem.f1.html """ Dean Clark's Problem (Clock Triplets Problem) The problem was originally posed by Dean Clark and then presented to a larger audience by Martin Gardner. The problem was di...
24.276423
81
0.608506
[ "model" ]
7148f1968f1fe9d3144fd5338e09942e0a68615c
8,767
cpp
C++
tests/unit/test_ecdsa.cpp
yiyang-tian/openthread
885e2043c430b55d3501502e57323dfb7fadae03
[ "BSD-3-Clause" ]
2
2016-09-10T04:10:24.000Z
2017-01-04T21:34:14.000Z
tests/unit/test_ecdsa.cpp
yiyang-tian/openthread
885e2043c430b55d3501502e57323dfb7fadae03
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_ecdsa.cpp
yiyang-tian/openthread
885e2043c430b55d3501502e57323dfb7fadae03
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, The OpenThread Authors. * All rights reserved. * * 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 ...
44.958974
118
0.638531
[ "vector" ]
714948159ce867ec6cbd18bd95cd4fe8dc6e8ffb
15,918
cpp
C++
SarvLibrary/Kmerize/dsk/thirdparty/gatb-core/gatb-core/test/unit/src/tools/misc/TestMisc.cpp
cwright7101/llvm_sarvavid
7567d617a7be78fecfde71ab04ebd8e9506a64e4
[ "MIT" ]
null
null
null
SarvLibrary/Kmerize/dsk/thirdparty/gatb-core/gatb-core/test/unit/src/tools/misc/TestMisc.cpp
cwright7101/llvm_sarvavid
7567d617a7be78fecfde71ab04ebd8e9506a64e4
[ "MIT" ]
null
null
null
SarvLibrary/Kmerize/dsk/thirdparty/gatb-core/gatb-core/test/unit/src/tools/misc/TestMisc.cpp
cwright7101/llvm_sarvavid
7567d617a7be78fecfde71ab04ebd8e9506a64e4
[ "MIT" ]
null
null
null
/***************************************************************************** * GATB : Genome Assembly Tool Box * Copyright (C) 2014 R.Chikhi, G.Rizk, E.Drezen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * publi...
37.990453
123
0.497361
[ "vector" ]
7153158981a19dcc1477775b1d054703c40e529d
3,243
cpp
C++
owClient/Objects/GameObjects/WoWGameObject.cpp
Chaos192/OpenWow
1d91a51fafeedadc67122a3e9372ec4637a48434
[ "Apache-2.0" ]
30
2017-09-02T20:25:47.000Z
2021-12-31T10:12:07.000Z
owClient/Objects/GameObjects/WoWGameObject.cpp
Chaos192/OpenWow
1d91a51fafeedadc67122a3e9372ec4637a48434
[ "Apache-2.0" ]
null
null
null
owClient/Objects/GameObjects/WoWGameObject.cpp
Chaos192/OpenWow
1d91a51fafeedadc67122a3e9372ec4637a48434
[ "Apache-2.0" ]
23
2018-02-04T17:18:33.000Z
2022-03-22T09:45:36.000Z
#include "stdafx.h" #ifdef ENABLE_WOW_CLIENT // General #include "WoWGameObject.h" // Additional #include "../../World/WorldServer.h" CowServerGameObject::CowServerGameObject(IScene& Scene, CWorldServer& WoWWorld, CowGuid Guid) : CowServerWorldObject(Scene, WoWWorld, Guid) { //m_ObjectType |= TYPEMASK_GAMEOBJECT;...
25.535433
185
0.763799
[ "model" ]
715896391ff4a4c648b457d853727ac72da0d53c
23,342
cpp
C++
src/mc/ProofAttachment.cpp
ryanberryhill/iimc
2746410d283c53c494cc2389638bfd8c0a0b3404
[ "BSD-3-Clause" ]
null
null
null
src/mc/ProofAttachment.cpp
ryanberryhill/iimc
2746410d283c53c494cc2389638bfd8c0a0b3404
[ "BSD-3-Clause" ]
null
null
null
src/mc/ProofAttachment.cpp
ryanberryhill/iimc
2746410d283c53c494cc2389638bfd8c0a0b3404
[ "BSD-3-Clause" ]
2
2019-02-06T04:20:23.000Z
2019-02-10T18:25:46.000Z
/******************************************************************** Copyright (c) 2010-2015, Regents of the University of Colorado 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 s...
35.048048
101
0.622954
[ "vector", "model" ]
716d5b722ff12d26d6d924bc11e0a790e7625003
18,552
cpp
C++
src/welding_demo_node.cpp
Veix123/welding_demo
af0428e442accd5956ada9d3feb2a1bf833a4592
[ "Apache-2.0" ]
null
null
null
src/welding_demo_node.cpp
Veix123/welding_demo
af0428e442accd5956ada9d3feb2a1bf833a4592
[ "Apache-2.0" ]
null
null
null
src/welding_demo_node.cpp
Veix123/welding_demo
af0428e442accd5956ada9d3feb2a1bf833a4592
[ "Apache-2.0" ]
null
null
null
#include <moveit/move_group_interface/move_group_interface.h> #include <moveit/planning_scene_interface/planning_scene_interface.h> #include <moveit_msgs/msg/display_robot_state.hpp> #include <moveit_msgs/msg/display_trajectory.hpp> #include <moveit_msgs/msg/attached_collision_object.hpp> #include <moveit_msgs/msg/co...
46.149254
168
0.712969
[ "geometry", "object", "vector", "model" ]
717412868e351441173fdd67b4a34049ed450e46
2,081
hpp
C++
include/Particle.hpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
include/Particle.hpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
include/Particle.hpp
ThomScottW/GravSimCpp
893e09f061276f69d400abf5c253c94b7fb2a717
[ "MIT" ]
null
null
null
#ifndef PARTICLE_HPP #define PARTICLE_HPP #include "MotionVector.hpp" class Particle { public: Particle( double radius, double x, double y, MotionVector<double> vec, double density=0.15 ); // Return the x coordinate of this particle. double x(); // Retur...
25.072289
86
0.679481
[ "vector" ]
717a6fa012d009ae6a6a0a711bffc0b348b26e49
1,740
cpp
C++
sample/server.cpp
tynia/tynia
9dd2a09faafa9d38c2679fa32e25a4db1317095e
[ "MIT" ]
null
null
null
sample/server.cpp
tynia/tynia
9dd2a09faafa9d38c2679fa32e25a4db1317095e
[ "MIT" ]
null
null
null
sample/server.cpp
tynia/tynia
9dd2a09faafa9d38c2679fa32e25a4db1317095e
[ "MIT" ]
null
null
null
#include "util/inspire.h" #include "util/assert.h" #include "net.h" #include "thread/threads.h" #include "util/system/condition.h" struct msgClient { int64 id; char data[100]; }; class Server { public: Server() : _fd(-1), _stop(false) {} ~Server() { if (!_sessions.empty()) { f...
20.963855
95
0.543678
[ "vector" ]
717f7aac737a847d9a14d55cda4bcfbc53c27a27
886
cpp
C++
Dungeon Engine/Gui.cpp
62bit/Dungeon
e83526c2d4f63a816e231942b87b1d4c8988897a
[ "MIT" ]
2
2020-08-02T01:41:03.000Z
2020-08-11T16:37:10.000Z
Dungeon Engine/Gui.cpp
62bit/Dungeon
e83526c2d4f63a816e231942b87b1d4c8988897a
[ "MIT" ]
null
null
null
Dungeon Engine/Gui.cpp
62bit/Dungeon
e83526c2d4f63a816e231942b87b1d4c8988897a
[ "MIT" ]
1
2020-08-11T18:29:39.000Z
2020-08-11T18:29:39.000Z
#include "Gui.h" Gui::Gui(GLFWwindow* window, bool install_callbacks) :_window(window), _renderer(Renderer::GetInstance()) { IMGUI_CHECKVERSION(); ImGui::CreateContext(); _io = ImGui::GetIO(); (void)_io; ImGui::StyleColorsDark(); ImGui_ImplGlfw_InitForOpenGL(window, install_callbacks); ImGui_ImplOpenGL3_In...
18.458333
100
0.72912
[ "render", "vector" ]
71808c09c283a4b827f571a9715d5077a3e8c7ff
588
cpp
C++
docs/snippets/protecting_model_guide.cpp
ldebski/openvino
ecbe0166af8badb2a6f7e9839ad284608ff83061
[ "Apache-2.0" ]
2
2021-02-26T15:46:19.000Z
2021-05-16T20:48:13.000Z
docs/snippets/protecting_model_guide.cpp
ldebski/openvino
ecbe0166af8badb2a6f7e9839ad284608ff83061
[ "Apache-2.0" ]
null
null
null
docs/snippets/protecting_model_guide.cpp
ldebski/openvino
ecbe0166af8badb2a6f7e9839ad284608ff83061
[ "Apache-2.0" ]
null
null
null
#include <inference_engine.hpp> int main() { using namespace InferenceEngine; //! [part0] std::vector<uint8_t> model; std::vector<uint8_t> weights; // Read model files and decrypt them into temporary memory block decrypt_file(model_file, password, model); decrypt_file(weights_file, password, weights); //! [part0] //...
25.565217
129
0.734694
[ "vector", "model" ]
7180d696d85853ba27c8c751c6c83ef1f7b819bb
3,565
hpp
C++
Portal-stein/Portal-stein/Wall.hpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
Portal-stein/Portal-stein/Wall.hpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
Portal-stein/Portal-stein/Wall.hpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
#pragma once #ifndef PS_WALL_INCLUDED #define PS_WALL_INCLUDED #include <memory> #include <SFML\Graphics.hpp> #include "Portal.hpp" #include "ObjectInScene.hpp" #include "Geometry.hpp" namespace ps { struct WallDrawParameters { sf::Vector2f scrWallTop; ///< Screen coordinate of wall top. sf::Vector2f scrWallBot...
35.65
151
0.662553
[ "geometry", "render", "object" ]
718510293570bd50c486c1477faee2f1bd8d2433
1,939
cpp
C++
test/range/python/tuple_example.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/python/tuple_example.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
test/range/python/tuple_example.cpp
rogiervd/range
2ed4ee2063a02cadc575fe4e7a3b7dd61bbd2b5d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 Rogier van Dalen. 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 writing, softwa...
28.940299
78
0.722537
[ "transform" ]
7191c207547dc12118ea58560435411fae42e447
4,684
cpp
C++
src/geometry/BoxGeometry.cpp
fwlab/fwlab
55c09e83c5da158102b36e8b6b36a3544114bb9e
[ "MIT" ]
1
2022-02-28T13:08:03.000Z
2022-02-28T13:08:03.000Z
src/geometry/BoxGeometry.cpp
fwlab/fwlab
55c09e83c5da158102b36e8b6b36a3544114bb9e
[ "MIT" ]
null
null
null
src/geometry/BoxGeometry.cpp
fwlab/fwlab
55c09e83c5da158102b36e8b6b36a3544114bb9e
[ "MIT" ]
null
null
null
#include <cmath> #include <iterator> #include <iostream> #include <unordered_map> #include <geometry/SurfaceOrientation.h> #include "../utils/Logger.h" #include "BoxGeometry.h" namespace fwlab::geometry { BoxGeometry::BoxGeometry() { } BoxGeometry::~BoxGeometry() { //if (tangents) //{ // delete tangents; ...
30.415584
179
0.655209
[ "geometry", "vector" ]
71961214d9e25ea598a317ecf627bd2bc69dc283
692
cpp
C++
main.cpp
viniciusfer01/SculptorTheReturn
9c80c9fc4c8a74759d1663e9b57a4d9199e2b2e2
[ "MIT" ]
null
null
null
main.cpp
viniciusfer01/SculptorTheReturn
9c80c9fc4c8a74759d1663e9b57a4d9199e2b2e2
[ "MIT" ]
null
null
null
main.cpp
viniciusfer01/SculptorTheReturn
9c80c9fc4c8a74759d1663e9b57a4d9199e2b2e2
[ "MIT" ]
null
null
null
#include "putsphere.h" #include "putvoxel.h" #include "cutbox.h" #include "cutellipsoid.h" #include "cutsphere.h" #include "cutvoxel.h" #include "interpretador.h" using namespace std; int main(){ Sculptor *s1; Interpretador parser; std:: vector<FiguraGeometrica*> figs; figs = parser.parse("input.tx...
19.222222
76
0.58815
[ "vector" ]
71985c8ab454c20db1b136256e6a45321217f4a9
2,203
cc
C++
src/parser.cc
jdavidberger/stencet
092dfabe395c46efdd74504050f83aa38d1b2c87
[ "MIT" ]
null
null
null
src/parser.cc
jdavidberger/stencet
092dfabe395c46efdd74504050f83aa38d1b2c87
[ "MIT" ]
null
null
null
src/parser.cc
jdavidberger/stencet
092dfabe395c46efdd74504050f83aa38d1b2c87
[ "MIT" ]
null
null
null
/* Copyright (C) 2012-2013 Justin Berger The full license is available in the LICENSE file at the root of this project and is also available at http://opensource.org/licenses/MIT. */ #include <stencet/parser.h> #include <stencet/tag.h> namespace stencet { inline Token nextToken(std::istream& stream, char& buffe...
22.479592
144
0.551975
[ "vector" ]
719b50dbfa97dbbe1e72acfcb547ebaa8c6d125b
828
cpp
C++
igl/copyleft/cgal/lexicographic_triangulation.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
igl/copyleft/cgal/lexicographic_triangulation.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
igl/copyleft/cgal/lexicographic_triangulation.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com> // Qingan Zhou <qnzhou@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not dist...
33.12
79
0.719807
[ "geometry" ]
71a27c647ebcfa090030a3e0297e83a835a92c66
714
hpp
C++
Server/Sources/GameLogic/GameData.hpp
Eitu33/indie
0183cfb07f76ec74aad24c7806965e0a6f9fe77b
[ "MIT" ]
1
2022-01-28T19:48:31.000Z
2022-01-28T19:48:31.000Z
Server/Sources/GameLogic/GameData.hpp
Eitu33/indie
0183cfb07f76ec74aad24c7806965e0a6f9fe77b
[ "MIT" ]
null
null
null
Server/Sources/GameLogic/GameData.hpp
Eitu33/indie
0183cfb07f76ec74aad24c7806965e0a6f9fe77b
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** oop_indie_studio_2018 ** File description: ** GameData */ #ifndef GAMEDATA_HPP_ #define GAMEDATA_HPP_ #include "Direction.hpp" #include "Bonus.hpp" #include <vector> namespace game_logic { struct PlayerData { unsigned int id; float x; float y; Direction direction; ...
13.471698
43
0.666667
[ "vector" ]
71a321b567fc087b4f0b63ac83ff93635175221f
16,131
cpp
C++
samples/Common/Source/es_util.cpp
cpuimage/TinyText
efb62630180c6e0558b696fcb5bbb5f13f545623
[ "Apache-2.0" ]
5
2020-10-15T08:35:40.000Z
2022-03-26T14:02:10.000Z
samples/Common/Source/es_util.cpp
cpuimage/TinyText
efb62630180c6e0558b696fcb5bbb5f13f545623
[ "Apache-2.0" ]
null
null
null
samples/Common/Source/es_util.cpp
cpuimage/TinyText
efb62630180c6e0558b696fcb5bbb5f13f545623
[ "Apache-2.0" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2013 Dan Ginsburg, Budirijanto Purnomo // // 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...
28.3
119
0.649371
[ "object", "3d" ]
71a6c44eda78dde95e296a1e665b97223ba98a35
3,966
cpp
C++
iriclib_riversurvey.cpp
kskinoue0612/iriclib_v4
8d6212247f43bb0b34dc99678a3cc028d6f9fc3a
[ "MIT" ]
null
null
null
iriclib_riversurvey.cpp
kskinoue0612/iriclib_v4
8d6212247f43bb0b34dc99678a3cc028d6f9fc3a
[ "MIT" ]
15
2021-07-10T20:47:34.000Z
2022-01-27T21:30:36.000Z
iriclib_riversurvey.cpp
kskinoue0612/iriclib_v4
8d6212247f43bb0b34dc99678a3cc028d6f9fc3a
[ "MIT" ]
2
2021-07-06T04:33:56.000Z
2021-08-30T03:50:02.000Z
#include <fstream> #include <stdlib.h> #include "iriclib_riversurvey.h" #include "iriclib_bstream.h" using namespace std; using namespace iRICLib; RiverPathPoint::RiverPathPoint() { nextPoint = 0; gridSkip = 0; } RiverPathPoint::~RiverPathPoint() { if (nextPoint != 0){ delete nextPoint; } } ...
21.911602
83
0.632879
[ "vector" ]
71a6e705f16df597d5f92cce4f1308476f2c40c1
718
hpp
C++
polygon.hpp
xialiangzhen/3d-image-synthesis
ccbd8be4be0114479228dfd7c19ef47087d4ad01
[ "BSD-3-Clause" ]
null
null
null
polygon.hpp
xialiangzhen/3d-image-synthesis
ccbd8be4be0114479228dfd7c19ef47087d4ad01
[ "BSD-3-Clause" ]
null
null
null
polygon.hpp
xialiangzhen/3d-image-synthesis
ccbd8be4be0114479228dfd7c19ef47087d4ad01
[ "BSD-3-Clause" ]
null
null
null
// // polygon.hpp // demo // // Created by 夏 夏 on 16/3/30. // Copyright © 2016年 Liangzhen Xia. All rights reserved. // #ifndef polygon_hpp #define polygon_hpp #include <stdio.h> #include "object.hpp" class polygon: public object { public: vector<triangle> triangles; vector<triangle> triangles0; int i...
22.4375
102
0.711699
[ "object", "vector" ]