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
6ad2635b6498c470fb43ffa26e4c8f91d838c749
88,075
cpp
C++
FEBioStudio/MainWindow.cpp
EMinsight/FEBioStudio
d3e6485610d19217550fb94cb22180bc4bda45f9
[ "MIT" ]
null
null
null
FEBioStudio/MainWindow.cpp
EMinsight/FEBioStudio
d3e6485610d19217550fb94cb22180bc4bda45f9
[ "MIT" ]
null
null
null
FEBioStudio/MainWindow.cpp
EMinsight/FEBioStudio
d3e6485610d19217550fb94cb22180bc4bda45f9
[ "MIT" ]
null
null
null
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any pers...
27.77515
173
0.625626
[ "mesh", "geometry", "object", "vector", "model" ]
6ad2e05944a082c19000823da315e948a4f04168
18,350
cpp
C++
ExternalSource/myOptimizer/ConicSolver/src/solver/interface/Model.cpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
1
2020-05-04T22:36:54.000Z
2020-05-04T22:36:54.000Z
ExternalSource/myOptimizer/ConicSolver/src/solver/interface/Model.cpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
null
null
null
ExternalSource/myOptimizer/ConicSolver/src/solver/interface/Model.cpp
stevenjj/PnC
e1e417dbd507f174bb2661247cb4360b6ee0ada7
[ "MIT" ]
null
null
null
/* * Copyright [2017] Max Planck Society. All rights reserved. * * 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 3 of the License, or * (at your option) any later version. ...
52.130682
276
0.638747
[ "model" ]
6ada3574564814571d4c728b2f5a009b50f09bab
3,263
hpp
C++
OpenGL/simple-3d-app/geom_shader_using/include/space.hpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2022-03-14T08:20:58.000Z
2022-03-14T08:20:58.000Z
OpenGL/simple-3d-app/geom_shader_using/include/space.hpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
null
null
null
OpenGL/simple-3d-app/geom_shader_using/include/space.hpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2020-12-22T08:36:48.000Z
2020-12-22T08:36:48.000Z
//============================================================================ // // file: space.hpp // // Заголовок класса управления пространством 3D сцены // // pY // | // |_____ pX // / // /pZ // // 7(-+-)~~~~~~~~2(++-) // /| /| // / | / | // 6(-++)~~~~~~~~3(+++) // | ...
26.966942
78
0.578609
[ "vector", "3d" ]
6ae2f31bebed9526df6bb5600cb09e6a5d1221a7
656
cc
C++
slice/print_rotate_matrix.cc
liuluheng/CTCI
d8b72737fb450641759f52ade8bff3f694e9eec0
[ "MIT" ]
null
null
null
slice/print_rotate_matrix.cc
liuluheng/CTCI
d8b72737fb450641759f52ade8bff3f694e9eec0
[ "MIT" ]
null
null
null
slice/print_rotate_matrix.cc
liuluheng/CTCI
d8b72737fb450641759f52ade8bff3f694e9eec0
[ "MIT" ]
null
null
null
// 逆时针旋转45°打印 // 3 // 2 6 // 1 5 9 // 4 8 // 7 // // still not implemented.. #include <iostream> #include <vector> using namespace std; void print_rotate_matrix(vector<vector<int>> vv) { const auto rownum = vv.size(); const auto colnum = vv[0].size(); for (size_t row = 0; row < rownum; row++) { size_t offset...
17.72973
52
0.492378
[ "vector" ]
6ae49bb52073d6479d83fcf350f4b98fbf59a589
7,056
cpp
C++
Viewer/ecflowUI/src/NodeQueryViewDelegate.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/NodeQueryViewDelegate.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/NodeQueryViewDelegate.cpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privileges...
26.727273
108
0.628827
[ "render", "vector" ]
6ae848d6743954c6b0ef300292ad50740c8be732
3,313
cpp
C++
rd-cpp/src/rd_core_cpp/src/test/cases/AdviseVsViewTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
309
2018-04-12T11:10:10.000Z
2022-03-27T18:16:56.000Z
rd-cpp/src/rd_core_cpp/src/test/cases/AdviseVsViewTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
80
2018-06-14T16:47:13.000Z
2022-03-25T16:34:56.000Z
rd-cpp/src/rd_core_cpp/src/test/cases/AdviseVsViewTest.cpp
denis417/rd
480f10035ba17caea63fe31475ac484dff09176c
[ "Apache-2.0" ]
41
2018-04-16T17:59:32.000Z
2021-12-25T13:12:36.000Z
#include <gtest/gtest.h> #include "lifetime/LifetimeDefinition.h" #include "reactive/Property.h" using namespace rd; TEST(advise_vs_view, advise_behaviour1) { // int* p = new int(1); LifetimeDefinition lifetimeDef(Lifetime::Eternal()); Property<bool> property(false); Lifetime lifetime = lifetimeDef.lifetime; s...
25.484615
95
0.727437
[ "vector" ]
6aea63cb95d80176365633feeccf11e4d6c5bc8c
7,889
cpp
C++
examples/26.OcclusionQuery/main.cpp
slater1/irrlicht
2860e828879b6acf9e39604cb4bcce0873c8b2d9
[ "IJG" ]
440
2015-01-04T16:01:46.000Z
2022-03-25T08:31:38.000Z
examples/26.OcclusionQuery/main.cpp
slater1/irrlicht
2860e828879b6acf9e39604cb4bcce0873c8b2d9
[ "IJG" ]
5
2021-01-03T20:30:10.000Z
2021-01-03T21:46:53.000Z
examples/26.OcclusionQuery/main.cpp
slater1/irrlicht
2860e828879b6acf9e39604cb4bcce0873c8b2d9
[ "IJG" ]
189
2015-01-06T10:39:46.000Z
2022-02-21T07:20:59.000Z
/** Example 026 OcclusionQuery This tutorial shows how to speed up rendering by use of the OcclusionQuery feature. The usual rendering tries to avoid rendering of scene nodes by culling those nodes which are outside the visible area, the view frustum. However, this technique does not cope with occluded objects w...
36.354839
105
0.725187
[ "mesh", "geometry", "render", "object", "solid" ]
6aeab58e3d12d969be7d9112f83cfab470ca3e1a
2,331
cpp
C++
gtsam/discrete/DiscreteSequentialSolver.cpp
malcolmreynolds/GTSAM
e911b4d39f8a8c8604663bd46f10e7f53c860ae8
[ "BSD-3-Clause" ]
1
2017-07-23T19:34:50.000Z
2017-07-23T19:34:50.000Z
gtsam/discrete/DiscreteSequentialSolver.cpp
malcolmreynolds/GTSAM
e911b4d39f8a8c8604663bd46f10e7f53c860ae8
[ "BSD-3-Clause" ]
null
null
null
gtsam/discrete/DiscreteSequentialSolver.cpp
malcolmreynolds/GTSAM
e911b4d39f8a8c8604663bd46f10e7f53c860ae8
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
30.671053
81
0.59245
[ "vector" ]
6aec6a012ab3a6bccfd955b69f394d6e734b81e1
6,072
cpp
C++
d3d12/Model.cpp
mattamert/mvw
021d8ca7dd90413945429c56e708f66fce6ee161
[ "BSD-3-Clause" ]
1
2021-04-05T03:44:33.000Z
2021-04-05T03:44:33.000Z
d3d12/Model.cpp
mattamert/mvw
021d8ca7dd90413945429c56e708f66fce6ee161
[ "BSD-3-Clause" ]
null
null
null
d3d12/Model.cpp
mattamert/mvw
021d8ca7dd90413945429c56e708f66fce6ee161
[ "BSD-3-Clause" ]
null
null
null
#include "d3d12/Model.h" #include "d3d12/comhelper.h" #include "d3d12/D3D12Renderer.h" #include "d3d12/d3dx12.h" #include "d3d12/ImageLoader.h" #include "d3d12/ObjFileLoader.h" #include <wrl/client.h> // For ComPtr #include <assert.h> #include <filesystem> #include <iostream> #include <vector> using namespace Micr...
38.43038
119
0.609848
[ "vector", "model" ]
6aeffbe90fa2d1d4012dc8764e6ae9049e880823
24,756
cc
C++
src/mem/ruby/profiler/Profiler.cc
rtitos/gem5
a9668f91d9f96aafc4a36453e3ba1242c60776a6
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/profiler/Profiler.cc
rtitos/gem5
a9668f91d9f96aafc4a36453e3ba1242c60776a6
[ "BSD-3-Clause" ]
1
2022-01-31T13:15:08.000Z
2022-01-31T13:15:08.000Z
src/mem/ruby/profiler/Profiler.cc
rtitos/gem5
a9668f91d9f96aafc4a36453e3ba1242c60776a6
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 1999-2013 Mark D. Hill and David A. Wood * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this l...
38.863422
79
0.584262
[ "vector" ]
6af0627d54e082becb71c1cb21792d4198196806
437
cpp
C++
codeforces/615/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/615/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/615/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(int argc, char const *argv[]) { int n,m; cin>>n>>m; bool isbulbs[m+1]; for(int i=1;i<=m;i++) isbulbs[i]=0; for(int i=0;i<n;i++){ int a,b; cin>>a; for(int j=0;j<a;j++){cin>>b;isbulbs[b]=1;} } bool flg=...
18.208333
44
0.585812
[ "vector" ]
6af3c701906499dbf186780b86a7aa538834efaf
2,300
cpp
C++
hackerrank/algorithm/kruskalmstrsub.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
hackerrank/algorithm/kruskalmstrsub.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
hackerrank/algorithm/kruskalmstrsub.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; //typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define DUMP( x ) cerr << #x...
19.827586
75
0.534783
[ "vector" ]
6afa5af9d2f9163544828b28e11096a3e5babe61
2,885
cxx
C++
smtk/bridge/discrete/legacycmb/CMBModel/Plugin/vtkGeoTransformOperatorClient.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/discrete/legacycmb/CMBModel/Plugin/vtkGeoTransformOperatorClient.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/discrete/legacycmb/CMBModel/Plugin/vtkGeoTransformOperatorClient.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
26.712963
76
0.697054
[ "model" ]
139162c6505e183a31702e2c54daca753b1dc2bd
16,190
cpp
C++
src/Factory/Module/Decoder/Turbo_product/Decoder_turbo_product.cpp
OlivierHartmann/aff3ct
58c66228b24e09463bd43ea6453ef18bcacd4d8f
[ "MIT" ]
null
null
null
src/Factory/Module/Decoder/Turbo_product/Decoder_turbo_product.cpp
OlivierHartmann/aff3ct
58c66228b24e09463bd43ea6453ef18bcacd4d8f
[ "MIT" ]
4
2018-09-27T16:46:31.000Z
2018-11-22T11:10:41.000Z
src/Factory/Module/Decoder/Turbo_product/Decoder_turbo_product.cpp
OlivierHartmann/aff3ct
58c66228b24e09463bd43ea6453ef18bcacd4d8f
[ "MIT" ]
null
null
null
#include "Tools/Exception/exception.hpp" #include "Tools/general_utils.h" #include "Tools/Arguments/Splitter/Splitter.hpp" #include "Module/Decoder/Turbo_product/Chase_pyndiah/Decoder_chase_pyndiah.hpp" #include "Module/Decoder/Turbo_product/Decoder_turbo_product.hpp" #include "Decoder_turbo_product.hpp" const std::...
44.847645
359
0.700062
[ "vector" ]
13941485f361ccb75163d180f815b8989c955710
2,402
cpp
C++
src/synthesis/synStrategy.cpp
saffiepig/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
4
2018-10-30T18:40:21.000Z
2020-03-24T15:19:27.000Z
src/synthesis/synStrategy.cpp
Shufang-Zhu/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
1
2020-08-04T03:45:30.000Z
2020-08-04T03:45:30.000Z
src/synthesis/synStrategy.cpp
Shufang-Zhu/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
4
2018-09-17T15:59:05.000Z
2020-05-03T13:57:12.000Z
#include <iostream> #include <string> #include <algorithm> #include "syn.h" using namespace std; void printVector(std::vector<int>& state){ for(auto & s : state) std::cout<<s; std::cout<<std::endl; } void playGame(DFA& game, std::unordered_map<unsigned, BDD>& strategy){ std::vector<int> cur(game.nbits); ...
22.448598
106
0.555371
[ "vector" ]
1394d5d23e4658b5c5bd65be6e8a9a01a920c8a0
2,954
hh
C++
gazebo/gui/model/ExtrudeDialog.hh
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/gui/model/ExtrudeDialog.hh
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/gui/model/ExtrudeDialog.hh
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.770833
80
0.661137
[ "object" ]
139672fb78dbd1663c02ebf246fa9a5554f98d8c
17,449
inl
C++
Src/PointStream.inl
pierotofy/PoissonRecon
3107d150fbb9162d1226f659cfbe094eed7fceb2
[ "MIT" ]
1
2020-09-07T13:47:26.000Z
2020-09-07T13:47:26.000Z
adaptive solver/Src/PointStream.inl
korfriend/LocalIsosurfaceModeler
6ca0080c24e1f7a6bdf27d915d653104c82f142c
[ "MIT" ]
null
null
null
adaptive solver/Src/PointStream.inl
korfriend/LocalIsosurfaceModeler
6ca0080c24e1f7a6bdf27d915d653104c82f142c
[ "MIT" ]
null
null
null
/* Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions ...
38.603982
297
0.649894
[ "vector" ]
139bc6b656af5626e50bf05a34fa2647616f73b7
6,729
cpp
C++
kernel/source/arch/x86_64/drivers/hpet.cpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
46
2019-09-30T18:40:06.000Z
2022-02-20T12:54:59.000Z
kernel/source/arch/x86_64/drivers/hpet.cpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
11
2019-08-18T18:31:11.000Z
2021-09-14T22:34:16.000Z
kernel/source/arch/x86_64/drivers/hpet.cpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
1
2020-01-20T16:55:13.000Z
2020-01-20T16:55:13.000Z
#include <Sigma/arch/x86_64/drivers/hpet.h> #include <lai/core.h> #include <lai/helpers/resource.h> static x86_64::hpet::table* acpi_table = nullptr; static uint64_t base = 0; static uint64_t main_counter_clk = 0; static uint64_t n_counters = 0; static bool supports_64bit_counter = false; static uint64_t hpet_read(u...
38.016949
281
0.650617
[ "object", "vector" ]
139dc673383deb6038d5ef75ebd4e7aa6e57ad07
2,530
cc
C++
apps/pipes/vector_mul/cpu-vector_mul/cpu-vector_mul.cc
Mingcong/hadoop-1.2.1-arm-gpu
7ad15811ddff0678a61eb71e57243ac858b53b2f
[ "Apache-2.0" ]
1
2021-03-02T04:24:30.000Z
2021-03-02T04:24:30.000Z
apps/pipes/vector_mul/cpu-vector_mul/cpu-vector_mul.cc
Mingcong/hadoop-1.2.1-arm-gpu
7ad15811ddff0678a61eb71e57243ac858b53b2f
[ "Apache-2.0" ]
null
null
null
apps/pipes/vector_mul/cpu-vector_mul/cpu-vector_mul.cc
Mingcong/hadoop-1.2.1-arm-gpu
7ad15811ddff0678a61eb71e57243ac858b53b2f
[ "Apache-2.0" ]
null
null
null
/*********************************************************************** hadoop-gpu Authors: Koichi Shirahata, Hitoshi Sato, Satoshi Matsuoka This software is licensed under 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 Li...
31.625
77
0.603162
[ "vector" ]
139e5627983b6e2eff5238e14a74c9103d2a86a0
943
hpp
C++
cpp/src/readrecalibration/intermediateOutputWriter.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
cpp/src/readrecalibration/intermediateOutputWriter.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
cpp/src/readrecalibration/intermediateOutputWriter.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
// All content Copyright (C) 2018 Genomics plc #ifndef INTERMEDIATE_OUTPUT_WRITER_HPP #define INTERMEDIATE_OUTPUT_WRITER_HPP #include <vector> #include <string> #include "io/readRange.hpp" namespace wecall { namespace corrector { class IntermediateOutputWriter { public: IntermediateOutputWriter(...
26.194444
109
0.720042
[ "vector" ]
13ab867a13125907c8a93852930463218b2b1ed7
5,138
cpp
C++
WebRtc_PeerConnectionTutorial/WebRtcPeerConnectionTutorial/WebRtcPeerConnectionTutorial.cpp
c86j224s/snippet
47072085e91fd3a7e584f159ba9989550871a9e5
[ "Apache-2.0" ]
null
null
null
WebRtc_PeerConnectionTutorial/WebRtcPeerConnectionTutorial/WebRtcPeerConnectionTutorial.cpp
c86j224s/snippet
47072085e91fd3a7e584f159ba9989550871a9e5
[ "Apache-2.0" ]
null
null
null
WebRtc_PeerConnectionTutorial/WebRtcPeerConnectionTutorial/WebRtcPeerConnectionTutorial.cpp
c86j224s/snippet
47072085e91fd3a7e584f159ba9989550871a9e5
[ "Apache-2.0" ]
null
null
null
// WebRtcPeerConnectionTutorial.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다. // #include <array> #include <iostream> #include <vector> //#include <windows.h> #define WEBRTC_WIN 1 #include "rtc_base/win32_socket_init.h" #include "rtc_base/win32_socket_server.h" #include "rtc_base/net_helpers.h" ...
24.583732
93
0.61016
[ "vector" ]
13abd48127015f459eff58876ec2d25ca7cdd8ce
7,138
cpp
C++
src/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2015-2017 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Rech...
24.19661
118
0.655506
[ "object" ]
13afe7beb08d6839a446565639f420a4b68111f0
979
cpp
C++
lintcode_187_gas.cpp
leeamen/algrigthm
7aef197f2dfe4cbb75c76bfd827832da9a597fd0
[ "MIT" ]
null
null
null
lintcode_187_gas.cpp
leeamen/algrigthm
7aef197f2dfe4cbb75c76bfd827832da9a597fd0
[ "MIT" ]
null
null
null
lintcode_187_gas.cpp
leeamen/algrigthm
7aef197f2dfe4cbb75c76bfd827832da9a597fd0
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; class Solution { public: int canCompleteCircuit(vector<int> &gas, vector<int> &cost) { if(gas.empty()||cost.empty()) return 0; int n=cost.size(); int begin=0; //假设从第零个加油站开始走 int cur=0; //当前储油量 ...
23.309524
66
0.491318
[ "vector" ]
13b161a5d50d6974f93d6a163bf75538543654c5
2,850
cpp
C++
src/rendering/engine-Vk/engine-impl/resources/shader.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
src/rendering/engine-Vk/engine-impl/resources/shader.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
1
2019-12-02T20:17:52.000Z
2019-12-02T20:17:52.000Z
src/rendering/engine-Vk/engine-impl/resources/shader.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
// This file is part of Tempest-engine project // Author: Karol Kontny #include "shader.h" #include "../vulkan_exception.h" #include <application/data_loader.h> #include <fmt/printf.h> namespace tst { namespace engine { namespace vulkan { vk::ShaderStageFlagBits shader::get_native_shader_type(shader_ty...
37.012987
112
0.603509
[ "geometry", "vector" ]
13b4d540de2967cf9e690b08a4ea65a3199d0bf1
16,147
cpp
C++
src/mongo/db/s/collection_metadata_test.cpp
krareT/mongo
8776cef330c6de839d80ceec5bd2a63f3c411c6e
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/collection_metadata_test.cpp
krareT/mongo
8776cef330c6de839d80ceec5bd2a63f3c411c6e
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/collection_metadata_test.cpp
krareT/mongo
8776cef330c6de839d80ceec5bd2a63f3c411c6e
[ "Apache-2.0" ]
5
2020-12-16T13:31:55.000Z
2021-01-17T07:39:30.000Z
/** * Copyright (C) 2012 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
42.049479
100
0.681922
[ "vector" ]
13b790eed0bcc5146ce099e5192e19d162e6389e
3,377
cc
C++
UVa Online Judge/v12/1247.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
1
2021-12-08T08:58:43.000Z
2021-12-08T08:58:43.000Z
UVa Online Judge/v12/1247.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v12/1247.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 1247.cc # Description: UVa Online Judge - 1247 =============================================================================*/ #include <bits...
30.7
79
0.431448
[ "vector" ]
13ba9d681c36a59c09c2b7e07b0c135b855b4a57
1,012
cpp
C++
src/shared/time.cpp
waveseekers/crank
2abf2f08315c47fffc90ec943957c6eea171fe38
[ "MIT" ]
null
null
null
src/shared/time.cpp
waveseekers/crank
2abf2f08315c47fffc90ec943957c6eea171fe38
[ "MIT" ]
null
null
null
src/shared/time.cpp
waveseekers/crank
2abf2f08315c47fffc90ec943957c6eea171fe38
[ "MIT" ]
null
null
null
// // Created by Albert on 18/2/2016. // #include "time.hpp" using namespace ws; /** * Time constructor * */ Time::Time( const std::string &datetime ) { SetTimestamp(datetime); }; Time::~Time() { // destructor } /** * Prints out the current time. * */ void Time::SetTimestamp( const std::string &datet...
17.152542
103
0.663043
[ "object" ]
13bb6589a3c108785b8e17ade36ba99dbbe5b306
4,246
cpp
C++
test/model_test_files/test_load_urdf_model.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
5
2020-01-06T11:43:18.000Z
2021-12-14T22:59:09.000Z
test/model_test_files/test_load_urdf_model.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
null
null
null
test/model_test_files/test_load_urdf_model.cpp
stevenjj/icra2020locomanipulation
414085b68cc1b3b24f7b920b543bba9d95350c16
[ "MIT" ]
2
2020-09-03T16:08:34.000Z
2022-02-17T11:13:49.000Z
#include <Configuration.h> // Package Path #include <avatar_locomanipulation/enable_pinocchio_with_hpp_fcl.h> // Enable HPP FCL // Multibody #include "pinocchio/multibody/model.hpp" #include "pinocchio/multibody/data.hpp" #include "pinocchio/multibody/geometry.hpp" // Algorithms #include "pinocchio/algorithm/kinematics...
37.910714
125
0.654263
[ "geometry", "vector", "model" ]
13bc82c47bc53716dc7d6e195e2fbdad853f093b
185
cpp
C++
UL/CppApp/System/Reflection/MemberInfo.cpp
xiongfang/UL
a2c7af50da0e30a34e4656b395557896781b66b1
[ "MIT" ]
23
2018-07-17T16:30:15.000Z
2022-01-03T14:02:45.000Z
UL/CppApp/System/Reflection/MemberInfo.cpp
Halfholl/UL
76bc687a1b12ee9b69977d7e20ad007d772b2869
[ "MIT" ]
null
null
null
UL/CppApp/System/Reflection/MemberInfo.cpp
Halfholl/UL
76bc687a1b12ee9b69977d7e20ad007d772b2869
[ "MIT" ]
9
2019-02-06T13:24:35.000Z
2022-01-03T14:02:45.000Z
#include "stdafx.h" #include "System\Reflection\MemberInfo.h" #include "System\Object.h" #include "System\Reflection\MemberTypes.h" #include "System\String.h" #include "System\Type.h"
26.428571
42
0.762162
[ "object" ]
13c483c0f3c60c892c7a89e48a2ed75355a6d121
333,594
cpp
C++
test/tailoring_rule_test_zh_big5han_008.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
test/tailoring_rule_test_zh_big5han_008.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/tailoring_rule_test_zh_big5han_008.cpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/collation_table.hpp> #include <boost/text/collate.hpp> #include <boost/text/data/all.hpp> #ifndef LIMIT_TESTING_FOR_CI #include <boost/text/save_load_table.hpp> #include <boost/filesystem.hpp> #endif #include <gtest/gtest.h> using namespace boost::text; ...
32.312476
76
0.564093
[ "vector" ]
13e3ac760fadb1b866a82f7a63a0d98cd60cbd01
1,467
cpp
C++
solved-uva/11064.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-uva/11064.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-uva/11064.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
/** * @author : Maruf Tuhin * @School : CUET CSE 11 * @Topcoder : the_redback * @Codeforces : the_redback * @UVA : Redback * @link : http://www.fb.com/maruf.2hin */ #include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<iostream> #i...
16.670455
48
0.466939
[ "vector" ]
13e7fabde643e33d3a35edc839bc88c3ea71910f
3,215
hpp
C++
libraries/chain/include/sophiatx/chain/economics.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/chain/include/sophiatx/chain/economics.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/chain/include/sophiatx/chain/economics.hpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#pragma once #include <sophiatx/protocol/config.hpp> #include <sophiatx/protocol/types.hpp> #include <sophiatx/chain/sophiatx_object_types.hpp> #include <sophiatx/chain/database/database_interface.hpp> #include <boost/interprocess/managed_mapped_file.hpp> namespace sophiatx { namespace chain { namespace bip = boost...
36.123596
148
0.764541
[ "object" ]
13ec484ab4c3e8018d491c4495a56cac35caa304
5,095
hpp
C++
src/libraries/core/blockCoupled/finiteVolume/blockGradSchemes/limitedBlockGradSchemes/cellLimitedBlockGrad/cellLimitedBlockGrad.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/blockCoupled/finiteVolume/blockGradSchemes/limitedBlockGradSchemes/cellLimitedBlockGrad/cellLimitedBlockGrad.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/blockCoupled/finiteVolume/blockGradSchemes/limitedBlockGradSchemes/cellLimitedBlockGrad/cellLimitedBlockGrad.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation Copyright (C) 2014-2016 H. Jasak Copyright (C) 2014 V. Vukcevic Copyright (C) 2017-2018 Applied CCM Pty Ltd ------------------------------------------------------------------------------- License T...
27.690217
80
0.624926
[ "mesh", "vector" ]
13ec52bcedd4d3a256948134495ba148faf1ce28
1,212
cc
C++
mandelbrot.cc
likr/20150915electron
69b3342c4a35dd109e79765d85524f7427a02e8b
[ "MIT" ]
1
2015-09-19T04:33:26.000Z
2015-09-19T04:33:26.000Z
mandelbrot.cc
likr/20150915electron
69b3342c4a35dd109e79765d85524f7427a02e8b
[ "MIT" ]
null
null
null
mandelbrot.cc
likr/20150915electron
69b3342c4a35dd109e79765d85524f7427a02e8b
[ "MIT" ]
null
null
null
#include <node.h> using namespace v8; void runMandelbrot(unsigned char* array, int width, int height, double pixel_size, double x0, double y0) { for (int j = 0; j < height; ++j) { for (int i = 0; i < width; ++i) { double cr = x0 + pixel_size * i; double ci = y0 + pixel_size * j; double zr = 0....
25.787234
106
0.523927
[ "object" ]
13f1d5bbe7b07ad28c4be7990e5dc7434ebd56a8
5,493
cxx
C++
src/lsm6ds3h/lsm6ds3h.cxx
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
619
2015-01-14T23:50:18.000Z
2019-11-08T14:04:33.000Z
src/lsm6ds3h/lsm6ds3h.cxx
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
576
2015-01-02T09:55:14.000Z
2019-11-12T15:31:10.000Z
src/lsm6ds3h/lsm6ds3h.cxx
moredu/upm
d6f76ff8c231417666594214679c49399513112e
[ "MIT" ]
494
2015-01-14T18:33:56.000Z
2019-11-07T10:08:15.000Z
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2016-2017 Intel Corporation. * * The MIT License * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT...
26.795122
84
0.640816
[ "vector" ]
13f3bda8e5bc800c329e768878ed773690314556
649
cpp
C++
size.cpp
rohithpothula/coding_Blocks
33ead424f250866cbd8f8e14cd42531304d59ca9
[ "MIT" ]
null
null
null
size.cpp
rohithpothula/coding_Blocks
33ead424f250866cbd8f8e14cd42531304d59ca9
[ "MIT" ]
null
null
null
size.cpp
rohithpothula/coding_Blocks
33ead424f250866cbd8f8e14cd42531304d59ca9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; # define ll long long # define endl "\n" # define str string # define vll vector<ll> # define pb push_back # define mll map<ll,ll> # define mp make_pair # define ff first # define ss second # define pll pair<ll,ll> # define f(x,y) for(int x=0;x<y;x++) int main() { #ifndef O...
19.088235
67
0.61171
[ "vector" ]
13f55226990045c9f65fa0827047e4cda473790a
5,101
cpp
C++
src/core/csr/measures/read_tail_bias.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/core/csr/measures/read_tail_bias.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/core/csr/measures/read_tail_bias.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2020 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "read_tail_bias.hpp" #include <algorithm> #include <iterator> #include <random> #include <functional> #include <cmath> #include <cassert> #include <boost/variant.hpp> #in...
30.183432
150
0.699863
[ "vector" ]
13f5d88bd5e7127a8749b69d086c6c1e00be5823
4,511
cpp
C++
libraries/protocol/betting/invariants_validation.cpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
libraries/protocol/betting/invariants_validation.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
libraries/protocol/betting/invariants_validation.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
#include <boost/fusion/include/map.hpp> #include <boost/fusion/include/at_key.hpp> #include <boost/range/algorithm/set_algorithm.hpp> #include <boost/range/algorithm/transform.hpp> #include <scorum/protocol/betting/invariants_validation.hpp> #include <scorum/protocol/betting/game.hpp> #include <scorum/protocol/betting/...
41.385321
131
0.606296
[ "vector", "transform" ]
13f68ce0e6e0d7cb3fbb10004f35bad8696d4bdf
1,352
cpp
C++
Tutorial - Pathfinding/node.cpp
Big-Kev/AI-Tutorials
6b7341a4e4fa6c33b311abcf71c65d9cdbaf8bea
[ "MIT" ]
null
null
null
Tutorial - Pathfinding/node.cpp
Big-Kev/AI-Tutorials
6b7341a4e4fa6c33b311abcf71c65d9cdbaf8bea
[ "MIT" ]
null
null
null
Tutorial - Pathfinding/node.cpp
Big-Kev/AI-Tutorials
6b7341a4e4fa6c33b311abcf71c65d9cdbaf8bea
[ "MIT" ]
null
null
null
#include "node.h" #include "graph.h" node::node(Vector2 v, float size) { n_pos = v; n_size = size; setRight(nullptr); parent = nullptr; gScore = FLT_MAX; } node::node(float x, float y, float size) { n_pos.x = x; n_pos.y = y; n_size = size; parent = nullptr; setRight(nullptr); setLeft(nullptr); gScore = FLT...
18.27027
105
0.627219
[ "vector" ]
13fab61e6f1b3ac0a7ed74d1ed2500a09a3159d1
3,071
cpp
C++
test/Matuna.OCLDeviceHandlerTest/OCLDeviceHandlerTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
test/Matuna.OCLDeviceHandlerTest/OCLDeviceHandlerTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
3
2015-06-08T19:51:53.000Z
2015-07-01T10:15:06.000Z
test/Matuna.OCLDeviceHandlerTest/OCLDeviceHandlerTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* * OCLHelperTest.cpp * * Created on: Apr 28, 2015 * Author: Mikael */ #define CATCH_CONFIG_MAIN #include "catch/catch.hpp" #include "Matuna.OCLHelper/OCLHelper.h" #include <stdio.h> using namespace Matuna::Helper; SCENARIO("Fetching device and platform information", "[PlatformInfo]") { WHEN("Getting pla...
29.528846
93
0.691306
[ "vector" ]
cd02b6eb14da8e1c3cd6b799e8a01d80512e653a
3,913
cpp
C++
core/quantities/Utility.cpp
grische/OpenSPH
74a8fff865157ae94e8d7ed249b116fbadf6ad20
[ "MIT" ]
null
null
null
core/quantities/Utility.cpp
grische/OpenSPH
74a8fff865157ae94e8d7ed249b116fbadf6ad20
[ "MIT" ]
1
2022-01-27T21:25:34.000Z
2022-01-27T21:25:34.000Z
core/quantities/Utility.cpp
grische/OpenSPH
74a8fff865157ae94e8d7ed249b116fbadf6ad20
[ "MIT" ]
null
null
null
#include "quantities/Utility.h" #include "objects/finders/NeighborFinder.h" #include "objects/geometry/Box.h" #include "objects/utility/Algorithm.h" #include "system/Factory.h" #include "thread/Scheduler.h" NAMESPACE_SPH_BEGIN Box getBoundingBox(const Storage& storage, const Float radius) { Box box; ArrayView...
30.811024
102
0.574495
[ "geometry", "vector", "transform" ]
cd071c0ea3dc8722b98a990d10393ab2ce1c7dc0
10,438
cpp
C++
r_utils/source/r_udp_receiver.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
3
2022-02-15T19:30:32.000Z
2022-03-11T20:00:47.000Z
r_utils/source/r_udp_receiver.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
6
2022-02-15T19:35:29.000Z
2022-02-16T00:36:46.000Z
r_utils/source/r_udp_receiver.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
2
2020-11-17T06:46:32.000Z
2022-02-10T21:43:36.000Z
#include "r_utils/r_udp_receiver.h" #ifdef IS_LINUX #include <unistd.h> #endif #ifdef IS_WINDOWS #include <WinSock2.h> #include <ws2tcpip.h> #include <Iphlpapi.h> #endif #include <chrono> using namespace r_utils; using namespace std; r_udp_receiver::r_udp_receiver( int destinationPort, ...
32.116923
121
0.584212
[ "vector" ]
cd0c2a2476382f7e96c8153f202a468610c458ef
5,256
cpp
C++
Tree/863. All Nodes Distance K in Binary Tree.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Tree/863. All Nodes Distance K in Binary Tree.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Tree/863. All Nodes Distance K in Binary Tree.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 863. All Nodes Distance K in Binary Tree We are given a binary tree (with root node root), a target node, and an integer value K. Return a list of the values of all nodes that have a distance K from the target node. The answer can be returned in any order. Example 1: Input: root = [3,5,1,6,2,0,8,null,null,7...
28.410811
127
0.549277
[ "vector" ]
cd1066a2f5ba20485d53c628a843c3add7e3cf3e
17,461
hpp
C++
boost/boost/spirit/home/karma/numeric/real.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
71
2015-01-17T00:29:44.000Z
2021-02-09T02:59:16.000Z
boost/boost/spirit/home/karma/numeric/real.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
6
2016-01-11T05:20:05.000Z
2021-02-06T11:37:24.000Z
boost/boost/spirit/home/karma/numeric/real.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
44
2015-03-18T09:20:37.000Z
2021-12-21T08:09:17.000Z
// Copyright (c) 2001-2011 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(BOOST_SPIRIT_KARMA_REAL_FEB_26_2007_0512PM) #define BOOST_SPIRIT_KARMA_REAL_FEB_26_2007_0512PM #if defin...
38.460352
107
0.577516
[ "vector" ]
cd112a81c0af1b750f9239e5109bcb2c52f09680
482
cpp
C++
leetcode/120.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
2
2016-11-26T02:56:35.000Z
2019-06-17T04:09:02.000Z
leetcode/120.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
null
null
null
leetcode/120.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
3
2016-07-18T14:13:20.000Z
2019-06-17T04:08:32.000Z
class Solution { public: int minimumTotal(vector<vector<int> > &triangle) { vector<int> sums(triangle.size(), 0); int res = 0; for (auto &nums: triangle) { res = INT_MAX; for (int n = nums.size(), j = n - 1; j >= 0; --j) { sums[j] = (j == 0 ? sums[j] :...
30.125
112
0.421162
[ "vector" ]
9982fd2550d7f1ce435db7c169b8bf8e56c621f2
16,979
cpp
C++
procgen/src/games/road_network.cpp
rgilman33/carlita
74e7415aa04e11bd9cf91b11e8397d55aa9b3813
[ "MIT" ]
null
null
null
procgen/src/games/road_network.cpp
rgilman33/carlita
74e7415aa04e11bd9cf91b11e8397d55aa9b3813
[ "MIT" ]
null
null
null
procgen/src/games/road_network.cpp
rgilman33/carlita
74e7415aa04e11bd9cf91b11e8397d55aa9b3813
[ "MIT" ]
null
null
null
#include "../randgen.h" #include "../basic-abstract-game.h" #include "../assetgen.h" #include <cmath> #include <algorithm> #include <vector> using namespace std; float LANE_WIDTH = 12; // for waypoint types const int WP_NORMAL = 0; const int WP_STOP_SIGN = 1; const int WP_AVOIDING_OBSTACLE = 2; const float OBST...
27.123003
142
0.632016
[ "vector" ]
998a8db8e513d2c36b212df379aa288e8625eea5
4,369
cpp
C++
vtsd/src/vtsd/delivery/vts/tdt2vts/convertors.cpp
Melown/vts-vtsd
b3fd26d91791ceb68e51a97b456f97ae1cade550
[ "BSD-2-Clause" ]
4
2017-07-04T09:14:57.000Z
2018-12-05T21:40:02.000Z
vtsd/src/vtsd/delivery/vts/tdt2vts/convertors.cpp
melowntech/vts-vtsd
126f10f453dd2f235c43d3c1e4464a3acf911742
[ "BSD-2-Clause" ]
5
2020-03-03T00:27:43.000Z
2021-08-18T09:30:34.000Z
vtsd/src/vtsd/delivery/vts/tdt2vts/convertors.cpp
Melown/vts-vtsd
b3fd26d91791ceb68e51a97b456f97ae1cade550
[ "BSD-2-Clause" ]
1
2019-09-26T06:25:57.000Z
2019-09-26T06:25:57.000Z
/** * Copyright (c) 2021 Melown Technologies SE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
34.401575
79
0.657359
[ "model" ]
9990caaa61b6f38c0495f82a1cdac2afb36fbd7b
162,956
cpp
C++
renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
yangzhengxing/renderdoc
214450227ea96df0b2b079632b1f20e23a3fd8fe
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2017 Baldur Karlsson * Copyright (c) 2014 Crytek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (t...
34.328207
103
0.650372
[ "object", "transform", "3d" ]
9994263176cb45434616246616d39f44811ccbef
1,861
cc
C++
tests/test_filters.cc
buffyanamin/clang-uml
7ca70d97eecc0f3ab1267b024771edc6131950fb
[ "Apache-2.0" ]
null
null
null
tests/test_filters.cc
buffyanamin/clang-uml
7ca70d97eecc0f3ab1267b024771edc6131950fb
[ "Apache-2.0" ]
null
null
null
tests/test_filters.cc
buffyanamin/clang-uml
7ca70d97eecc0f3ab1267b024771edc6131950fb
[ "Apache-2.0" ]
null
null
null
/** * tests/test_filters.cc * * Copyright (c) 2021-2022 Bartek Kryza <bkryza@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://www.apache.org/licenses/LICENSE...
33.836364
75
0.716819
[ "model" ]
999678ee22c49d6c262fe407207aac5fceeacd3a
1,436
hpp
C++
game/code/ios/audio/format/iosformat.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/ios/audio/format/iosformat.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/ios/audio/format/iosformat.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
2
2019-03-08T03:02:45.000Z
2019-05-14T08:41:26.000Z
#ifndef IOS_FORMAT_HPP #define IOS_FORMAT_HPP #ifdef PLAT_IOS ////////////////////////////////////////////////////// // INCLUDES ////////////////////////////////////////////////////// #include "common/engine/audio/format/iaudiostaticformat.hpp" #include "ios/audio/format/iosformatinterface.hpp" #include <vector> //...
18.894737
60
0.439415
[ "vector" ]
9996e2701ae3fb6551bc8566d1d9b9448df47f47
142,481
cpp
C++
gencpu/cputest.cpp
emoon/m68k_cpu_tester_api
025b999239800357e95065fe5b9a15ea5b300fa7
[ "MIT" ]
4
2019-10-28T21:23:37.000Z
2020-06-05T21:26:58.000Z
gencpu/cputest.cpp
emoon/m68k_cpu_tester_api
025b999239800357e95065fe5b9a15ea5b300fa7
[ "MIT" ]
null
null
null
gencpu/cputest.cpp
emoon/m68k_cpu_tester_api
025b999239800357e95065fe5b9a15ea5b300fa7
[ "MIT" ]
null
null
null
#include "cputest.h" #include "cputbl_test.h" #include "readcpu.h" #include "disasm.h" #include "ini.h" #include "fpp.h" #include "string_wrappers.h" //#include "zlib.h" #include "options.h" #define MAX_REGISTERS 16 static uae_u32 registers[] = { 0x00000010, 0x00000000, 0xffffffff, 0xffffff00, 0xffff0000, 0x...
25.788416
198
0.6211
[ "vector", "model" ]
999844e252c5575bf29003b31b7a1a1660868ffb
1,149
cpp
C++
src/armnn/test/LayerValidateOutputTest.cpp
jnorwood/armnn
774f6f1d7c862fc2b8e1783abef9a0bccdaf9d0c
[ "MIT" ]
1
2019-06-26T23:00:46.000Z
2019-06-26T23:00:46.000Z
src/armnn/test/LayerValidateOutputTest.cpp
jnorwood/armnn
774f6f1d7c862fc2b8e1783abef9a0bccdaf9d0c
[ "MIT" ]
null
null
null
src/armnn/test/LayerValidateOutputTest.cpp
jnorwood/armnn
774f6f1d7c862fc2b8e1783abef9a0bccdaf9d0c
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include <armnn/ArmNN.hpp> #include <boost/algorithm/string.hpp> #include <boost/test/unit_test.hpp> #include <layers/BatchToSpaceNdLayer.hpp> #include <Graph.hpp> BOOST_AUTO_TEST_SUITE(LayerValidateOutput) BOOST_AUTO_TEST_CASE(...
29.461538
85
0.73107
[ "shape", "vector" ]
99a7fb94445c92f5bdf67ce80b7c1df8b0696b05
2,639
cpp
C++
src/MySQLDatabase.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
src/MySQLDatabase.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
src/MySQLDatabase.cpp
mark-grimes/CppSQL
6e34c1bdf46beff92f1c5eb6a97ae52d1f0a19ac
[ "MIT" ]
null
null
null
#include "cppsql/MySQLDatabase.h" cppsql::MySQLDatabase::MySQLDatabase( const char* host, const char* user, const char* password, const char* database ) : pDatabase_(nullptr) { pDatabase_=mysql_init(nullptr); if( pDatabase_==nullptr ) { throw std::runtime_error( std::string("Error initiating MySQL: ")+mysql_err...
30.333333
141
0.740811
[ "vector" ]
99a8819bed7cfadc824e84c1f9f49ac5b189866b
2,579
hpp
C++
src/elona/lua_env/i18n_manager.hpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
1
2020-09-11T05:09:53.000Z
2020-09-11T05:09:53.000Z
src/elona/lua_env/i18n_manager.hpp
AFB111/elonafoobar
da7a3c86dd45e68e6e490fb260ead1d67c9fff5e
[ "MIT" ]
4
2021-10-30T16:45:25.000Z
2021-11-23T06:25:43.000Z
src/elona/lua_env/i18n_manager.hpp
nanbansenji/ElonaFoobar
ddbd6639db8698e89f09b2512526e855d8016e46
[ "MIT" ]
null
null
null
#pragma once #include "../eobject/forward.hpp" #include "../optional.hpp" #include "lua_submodule.hpp" namespace elona { struct Item; struct Character; namespace lua { struct ModEnv; class I18NManager : public LuaSubmodule { public: explicit I18NManager(LuaEnv&); void register_function( con...
22.232759
77
0.587049
[ "object", "vector" ]
99a9eaf8ae8c094de9d08850ea57f707529b8905
3,622
cpp
C++
fluid/render/particlesrenderer.cpp
paivett/fluids
a319a7759526bd19fa6a8e29e139bc0e1aa3d08c
[ "MIT" ]
5
2019-06-20T15:37:40.000Z
2021-08-25T09:01:05.000Z
fluid/render/particlesrenderer.cpp
paivett/fluids
a319a7759526bd19fa6a8e29e139bc0e1aa3d08c
[ "MIT" ]
null
null
null
fluid/render/particlesrenderer.cpp
paivett/fluids
a319a7759526bd19fa6a8e29e139bc0e1aa3d08c
[ "MIT" ]
2
2019-11-06T02:17:55.000Z
2022-02-13T10:11:33.000Z
#include "particlesrenderer.h" #include "runtimeexception.h" #include <opencl/clenvironment.h> #include <opengl/openglfunctions.h> #include <CL/cl_gl.h> #include <sstream> using namespace std; ParticlesRenderer::ParticlesRenderer(int viewport_width, int viewport_height, ...
36.585859
119
0.630867
[ "render", "vector" ]
99afba4aed92dc3b5ffd48340a7b6fd9be2c0642
15,338
cpp
C++
eval/src/tests/eval/value_codec/value_codec_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
eval/src/tests/eval/value_codec/value_codec_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
eval/src/tests/eval/value_codec/value_codec_test.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <iostream> #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/eval/test/gen_spec.h> #include <vespa/eval/eval/value_codec.h> #include <vespa/vespalib/data/memory.h> #include <vespa/vesp...
38.059553
112
0.565198
[ "vector" ]
99b64985f9289f29b3196a5d97b0164938a97397
3,421
cpp
C++
VulkanRenderer/VKShader.cpp
guimeixen/VulkanRenderer
45cfd55320ee9a9b9b9a1a275e3805e79426f7bd
[ "MIT" ]
null
null
null
VulkanRenderer/VKShader.cpp
guimeixen/VulkanRenderer
45cfd55320ee9a9b9b9a1a275e3805e79426f7bd
[ "MIT" ]
null
null
null
VulkanRenderer/VKShader.cpp
guimeixen/VulkanRenderer
45cfd55320ee9a9b9b9a1a275e3805e79426f7bd
[ "MIT" ]
null
null
null
#include "VKShader.h" #include "Log.h" #include <fstream> #include <iostream> #include <vector> #include <filesystem> VKShader::VKShader() { shaderModule = VK_NULL_HANDLE; stageInfo = {}; compiled = false; compiledShaderFileExists = false; shaderNeedsCompile = false; } bool VKShader::LoadShader(...
28.508333
125
0.654487
[ "vector" ]
99bafb836e9edadae3292bf48b9179fe0125cca1
23,707
cpp
C++
winml/lib/Api.Ort/OnnxruntimeDescriptorConverter.cpp
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
winml/lib/Api.Ort/OnnxruntimeDescriptorConverter.cpp
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
winml/lib/Api.Ort/OnnxruntimeDescriptorConverter.cpp
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "lib/Api.Ort/pch.h" #include <evntrace.h> #include "OnnxruntimeDescriptorConverter.h" #include "ImageFeatureDescriptor.h" #include "MapFeatureDescriptor.h" #include "SequenceFeatureDescriptor.h" #include "Tensor...
37.689984
139
0.725862
[ "shape", "vector", "model" ]
99c0abfff758a915e799f15ff6e63f8ad087e799
2,714
cpp
C++
Love-Babbar-450-In-CPPTest/06_binary_trees/34_find_all_duplicate_subtree_in_BT.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/06_binary_trees/34_find_all_duplicate_subtree_in_BT.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
Love-Babbar-450-In-CPPTest/06_binary_trees/34_find_all_duplicate_subtree_in_BT.cpp
harshanu11/Love-Babbar-450-In-CSharp
0dc3bef3e66e30abbc04f7bbf21c7319b41803e1
[ "MIT" ]
null
null
null
/* link: https://practice.geeksforgeeks.org/problems/duplicate-subtrees/1 sol: https://www.geeksforgeeks.org/find-duplicate-subtrees/ */ #include "01_level_order_traversal.cpp" #include "CppUnitTest.h" #include <iostream> #include <algorithm> #include <vector> #include <map> #include <unordered_set> #include <...
23.196581
129
0.529845
[ "vector" ]
99cdf17c8287ecc868645412bb9d44f2332c1c9f
13,285
cpp
C++
algorithms/visappfeats.cpp
JohnStranzl/GRIME2
087a67055890b884ed701cc3d57c78978ad20ff2
[ "Apache-2.0" ]
3
2021-02-16T05:46:20.000Z
2021-03-08T08:38:21.000Z
algorithms/visappfeats.cpp
JohnStranzl/GRIME2
087a67055890b884ed701cc3d57c78978ad20ff2
[ "Apache-2.0" ]
6
2021-04-10T14:55:24.000Z
2021-08-28T17:54:24.000Z
algorithms/visappfeats.cpp
JohnStranzl/GRIME2
087a67055890b884ed701cc3d57c78978ad20ff2
[ "Apache-2.0" ]
1
2021-04-15T02:20:19.000Z
2021-04-15T02:20:19.000Z
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright 2021 Kenneth W. Chapman 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://w...
40.626911
139
0.503425
[ "vector" ]
99d769938b65ddd3b5bd29e9e0ad27916549916a
3,475
cpp
C++
archives/codelibraries/CompetitiveProgramming-master/code/graph/blossom.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
archives/codelibraries/CompetitiveProgramming-master/code/graph/blossom.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
archives/codelibraries/CompetitiveProgramming-master/code/graph/blossom.cpp
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
1
2021-05-29T14:21:33.000Z
2021-05-29T14:21:33.000Z
#define MAXV 300 bool marked[MAXV], emarked[MAXV][MAXV]; int S[MAXV]; vi find_augmenting_path(const vector<vi> &adj,const vi &m){ int n = size(adj), s = 0; vi par(n,-1), height(n), root(n,-1), q, a, b; memset(marked,0,sizeof(marked)); memset(emarked,0,sizeof(emarked)); rep(i,0,n) if (m[i] >= 0) emarked[i][m[i...
40.882353
60
0.446043
[ "vector" ]
99d7d3ec7537ab99e2942ef78ae1c3d577445ee4
2,439
cpp
C++
Engine/Graphics/GameObject3D.cpp
GCourtney27/Retina-Engine
5358b9c499f4163a209024dc303c3efe6c520c01
[ "MIT" ]
null
null
null
Engine/Graphics/GameObject3D.cpp
GCourtney27/Retina-Engine
5358b9c499f4163a209024dc303c3efe6c520c01
[ "MIT" ]
null
null
null
Engine/Graphics/GameObject3D.cpp
GCourtney27/Retina-Engine
5358b9c499f4163a209024dc303c3efe6c520c01
[ "MIT" ]
null
null
null
#include "GameObject3D.h" void GameObject3D::SetLookAtPos(DirectX::XMFLOAT3 lookAtPos) { // Verify that look at pos is not the same as Model pos. They cannot be the same as that wouldn't make sense and would result in undefined behavior if (lookAtPos.x == pos.x && lookAtPos.y == pos.y && lookAtPos.z == pos.z) { ...
25.14433
148
0.760968
[ "model" ]
99dbec73fab7913f51275864b20edfbf856811d5
5,297
cpp
C++
EBUCoreProcessor/src/EBUCore_1_4/metadata/base/ebucoreSubjectBase.cpp
Limecraft/ebu-mxfsdk
d2461c778f7980c4e116a53123c2ba744b1362a0
[ "Apache-2.0" ]
20
2015-02-24T23:54:23.000Z
2022-03-29T12:42:32.000Z
EBUCoreProcessor/src/EBUCore_1_4/metadata/base/ebucoreSubjectBase.cpp
ebu/ebu-mxfsdk
d66e4b05354ec2b80365f1956f14678c6f7f6514
[ "Apache-2.0" ]
1
2018-10-26T00:44:05.000Z
2018-10-26T00:44:05.000Z
EBUCoreProcessor/src/EBUCore_1_4/metadata/base/ebucoreSubjectBase.cpp
ebu/ebu-mxfsdk
d66e4b05354ec2b80365f1956f14678c6f7f6514
[ "Apache-2.0" ]
6
2015-02-05T09:54:14.000Z
2022-02-26T20:56:32.000Z
/* * Copyright 2012-2013 European Broadcasting Union and Limecraft, NV. * * 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/LIC...
31.158824
105
0.772135
[ "vector" ]
99e0739f9d00ef41812b06a07e15b50a400e957d
4,673
hh
C++
src/summertest/AnalyticElasticityBase.hh
sebnaran/3DVEMforMHD
83578463d3c9a31a77c209adb583eafe46f08b81
[ "MIT" ]
null
null
null
src/summertest/AnalyticElasticityBase.hh
sebnaran/3DVEMforMHD
83578463d3c9a31a77c209adb583eafe46f08b81
[ "MIT" ]
null
null
null
src/summertest/AnalyticElasticityBase.hh
sebnaran/3DVEMforMHD
83578463d3c9a31a77c209adb583eafe46f08b81
[ "MIT" ]
null
null
null
/* Operators Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) Base class for tes...
33.862319
111
0.658678
[ "mesh" ]
99e923a2308ffa9a089c02bdb49b43363ceb21b8
11,024
cpp
C++
rinex3.cpp
mauriciodev/gnssLearn
5b3fe2e0146651f16ac37f734f37e135f06b5dc8
[ "MIT" ]
null
null
null
rinex3.cpp
mauriciodev/gnssLearn
5b3fe2e0146651f16ac37f734f37e135f06b5dc8
[ "MIT" ]
null
null
null
rinex3.cpp
mauriciodev/gnssLearn
5b3fe2e0146651f16ac37f734f37e135f06b5dc8
[ "MIT" ]
null
null
null
#include "rinex3.h" rinex3::rinex3() { this->fillSystemDelay(); } QVector<double> rinex3::readNavDoubles(QString in) { //returns QVector<double> res; while (in.length() > 0) { res.append(in.left(19).toDouble()); in=in.mid(19); } return res; } QVector<double> rinex3::readObsDou...
28.708333
165
0.588353
[ "vector" ]
99ec664b4e91f3e92debc46a093ed08e92cca477
38,796
cpp
C++
source/Lib/CommonLib/TrQuant_EMT.cpp
kaixinzuochuxi/VTM-2.2-initial-QP
0d12b27db20ab6ee77c3704b63b1ddf1abe43d34
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/TrQuant_EMT.cpp
kaixinzuochuxi/VTM-2.2-initial-QP
0d12b27db20ab6ee77c3704b63b1ddf1abe43d34
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/TrQuant_EMT.cpp
kaixinzuochuxi/VTM-2.2-initial-QP
0d12b27db20ab6ee77c3704b63b1ddf1abe43d34
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2018, ITU/ISO/IEC * All rights reserve...
35.955514
192
0.525853
[ "vector", "transform" ]
99f45ce3b67c73f2e42088ef8a5c358f775781e3
26,941
cpp
C++
Engine/Source/Editor/PropertyEditor/Private/Presentation/PropertyEditor/PropertyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/PropertyEditor/Private/Presentation/PropertyEditor/PropertyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/PropertyEditor/Private/Presentation/PropertyEditor/PropertyEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Presentation/PropertyEditor/PropertyEditor.h" #include "Modules/ModuleManager.h" #include "UnrealEdGlobals.h" #include "CategoryPropertyNode.h" #include "ItemPropertyNode.h" #include "ObjectPropertyNode.h" #include "Toolkits/AssetEditorManager.h" #...
31.363213
195
0.756653
[ "object" ]
99f57f69fd0519e5e3dd3b3acc422fa38f17a0ba
4,157
cpp
C++
EzAcc/DemoProject/Input Combos/Motor2D/ctAudio.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
EzAcc/DemoProject/Input Combos/Motor2D/ctAudio.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
EzAcc/DemoProject/Input Combos/Motor2D/ctAudio.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
#include "ctDefs.h" #include "ctLog.h" #include "ctAudio.h" #include "ctInput.h" #include "ctApp.h" #include "SDL/include/SDL.h" #include "SDL_mixer\include\SDL_mixer.h" #pragma comment( lib, "SDL_mixer/libx86/SDL2_mixer.lib" ) ctAudio::ctAudio() : ctModule() { music = NULL; name = "audio"; } // Destructor ctAudi...
17.106996
79
0.647823
[ "render" ]
99f8ec7d37f1d904ecff478fed3a3431f927a94d
8,206
cpp
C++
CarDetection/src/ImageAnalysis/ImageAnalysis.cpp
carlosmccosta/Car-Detection
2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2
[ "MIT" ]
41
2015-03-22T08:57:08.000Z
2020-09-12T21:07:39.000Z
CarDetection/src/ImageAnalysis/ImageAnalysis.cpp
Ewenwan/Car-Detection
2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2
[ "MIT" ]
1
2016-07-21T07:07:25.000Z
2016-07-21T08:49:40.000Z
CarDetection/src/ImageAnalysis/ImageAnalysis.cpp
carlosmccosta/Car-Detection
2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2
[ "MIT" ]
32
2015-03-23T06:14:37.000Z
2021-01-23T00:00:12.000Z
#include "ImageAnalysis.h" // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <Image analysis> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ImageAnalysis::ImageAnalysis(Ptr<ImagePreprocessor> imagePreprocessor, Ptr<ImageDetector> i...
41.444444
241
0.685108
[ "vector" ]
820dbbaecb3734f8accdc5ea32119f2f9428a4b8
2,220
cpp
C++
implementations/ugene/src/corelibs/U2View/src/ov_msa/General/MSAGeneralTabFactory.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2View/src/ov_msa/General/MSAGeneralTabFactory.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2View/src/ov_msa/General/MSAGeneralTabFactory.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
33.636364
117
0.731982
[ "object" ]
8210a21f8c0289fb692fd8e8576b96245b4b5f35
9,453
hpp
C++
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/numeric/ublas/operation_sparse.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/numeric/ublas/operation_sparse.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/numeric/ublas/operation_sparse.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
// // Copyright (c) 2000-2002 // Joerg Walter, Mathias Koch // // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and t...
42.773756
127
0.583201
[ "vector" ]
821150226242df053df7823665c322876d060f52
17,571
cpp
C++
src/qwt-6/examples/splineeditor/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
src/qwt-6/examples/splineeditor/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
8
2017-05-30T16:58:39.000Z
2022-02-22T16:51:34.000Z
src/qwt-6/examples/splineeditor/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
/***************************************************************************** * Qwt Examples - Copyright (C) 2002 Uwe Rathmann * This file may be used under the terms of the 3-clause BSD License *****************************************************************************/ #include "Plot.h" #include "ScalePicker.h...
28.99505
87
0.543737
[ "object" ]
82184e751034b4631081db34a55db0eb7d0401c3
3,640
cpp
C++
lidar_data_processing/lidar_surface_detector/src/LidarSurfaceDetector.cpp
raiinboow/Lidar_Data_Processing_ROS
cef1f7b75fdc923e18e8b4f9ac194b1dfee68469
[ "MIT" ]
1
2022-02-28T12:04:31.000Z
2022-02-28T12:04:31.000Z
lidar_data_processing/lidar_surface_detector/src/LidarSurfaceDetector.cpp
raiinboow/Lidar_Data_Processing_ROS
cef1f7b75fdc923e18e8b4f9ac194b1dfee68469
[ "MIT" ]
null
null
null
lidar_data_processing/lidar_surface_detector/src/LidarSurfaceDetector.cpp
raiinboow/Lidar_Data_Processing_ROS
cef1f7b75fdc923e18e8b4f9ac194b1dfee68469
[ "MIT" ]
1
2021-03-30T00:41:58.000Z
2021-03-30T00:41:58.000Z
/***************************************************************** Author: J. Gong Date: 2021-02-05 Description: LidarSurfaceDetector *****************************************************************/ // Custom #include "lidar_surface_detector/LidarSurfaceDetector.h" #include...
26.376812
102
0.557418
[ "vector" ]
8219fa5d4437215e9e16231d36d2bde994af8748
2,869
cpp
C++
source/Common/ModelViewMapper.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
null
null
null
source/Common/ModelViewMapper.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
null
null
null
source/Common/ModelViewMapper.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
1
2018-10-02T08:47:03.000Z
2018-10-02T08:47:03.000Z
//============================================================================= /// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file /// \brief ModelViewMapper class implementation. //====================================================================...
38.77027
97
0.516208
[ "model" ]
821a69d0ee6090c9e9012fabc78de83c5e1b25cd
33,651
cpp
C++
src/UIManager.cpp
pierotofy/glassomium
27bbfc172501c9553e2ba769526399c166d2e992
[ "Apache-2.0" ]
8
2015-06-02T20:57:55.000Z
2020-02-09T21:50:34.000Z
src/UIManager.cpp
pierotofy/glassomium
27bbfc172501c9553e2ba769526399c166d2e992
[ "Apache-2.0" ]
2
2016-02-11T15:23:41.000Z
2017-03-16T13:35:11.000Z
src/UIManager.cpp
pierotofy/glassomium
27bbfc172501c9553e2ba769526399c166d2e992
[ "Apache-2.0" ]
5
2015-06-03T09:00:49.000Z
2019-11-17T12:02:22.000Z
/* Glassomium - web-based TUIO-enabled window manager http://www.glassomium.org Copyright 2012 The Glassomium Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:...
33.651
198
0.722267
[ "object", "vector", "transform" ]
821ad9e117f55eb49e3fc28eb8f69fcc6f1dc401
42,349
cpp
C++
mechanics/src/Application.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/Application.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/Application.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
#include "Application.h" std::vector<BulletTracerEntry> CApplication::m_pBulletTracer; std::vector<HitmarkerEntry> CApplication::m_pHitmarker; CApplication::CApplication() : m_pNetVarMgr(nullptr) , m_pClientModeHook(nullptr) , m_pModelRenderHook(nullptr) , m_pClientHook(nullptr) , m_pPanelHook(nul...
53.135508
257
0.755083
[ "vector" ]
821bfcd3e407ce92776d0f95b117bc4d2f3903c6
1,864
cpp
C++
src/core/nodes/node_collider_box.cpp
Ratstail91/zelda-framework
54e94fe7d69271a514142406355199e8dbcccd38
[ "Zlib" ]
5
2021-04-26T19:55:40.000Z
2021-07-20T08:34:57.000Z
src/core/nodes/node_collider_box.cpp
Ratstail91/zelda-framework
54e94fe7d69271a514142406355199e8dbcccd38
[ "Zlib" ]
null
null
null
src/core/nodes/node_collider_box.cpp
Ratstail91/zelda-framework
54e94fe7d69271a514142406355199e8dbcccd38
[ "Zlib" ]
null
null
null
#include "node_collider_box.hpp" #include "node_transform.hpp" #include "node_image.hpp" void NodeColliderBox::SetBoundsToImageSibling() { //check if there is an image on this node already NodeImage* image = parent->GetFirstChildByType<NodeImage>(); if (image != nullptr) { //automatically set up the bounds ha...
27.820896
122
0.712446
[ "transform" ]
82222eda2d8c9c59cac44cacb0681e7b264da53e
1,148
cxx
C++
examples/mergesort.cxx
lugt/algorithms-tester
6fb0ae34584695486f98604790a5fc5b26e12eb7
[ "Apache-2.0" ]
null
null
null
examples/mergesort.cxx
lugt/algorithms-tester
6fb0ae34584695486f98604790a5fc5b26e12eb7
[ "Apache-2.0" ]
null
null
null
examples/mergesort.cxx
lugt/algorithms-tester
6fb0ae34584695486f98604790a5fc5b26e12eb7
[ "Apache-2.0" ]
null
null
null
// // Created by xc5 on 2019-03-16. // #include <vector> #include <iostream> #include "common_def.h" ELETVEC merge(ELETVEC a, ELETVEC b) { ELETVEC res; ELET ba = 0; ELET bb = 0; while (ba < a.size() && bb < b.size()) { if (a[ba] <= b[bb]) { res.push_back(a[ba++]); } else { res.push_back(b...
22.96
69
0.622822
[ "vector" ]
8222692940b4ec20456773d73166986945ce44e5
951
hpp
C++
tests/LineFitting/LineFitting.hpp
argon24/robest
e91fe1f0ec94ae6fcf81a246ad4433b3371ddaa0
[ "MIT" ]
6
2018-01-14T23:51:02.000Z
2021-12-02T08:42:20.000Z
tests/LineFitting/LineFitting.hpp
argon24/robest
e91fe1f0ec94ae6fcf81a246ad4433b3371ddaa0
[ "MIT" ]
1
2018-11-10T09:56:57.000Z
2018-11-17T23:17:39.000Z
tests/LineFitting/LineFitting.hpp
argon24/robest
e91fe1f0ec94ae6fcf81a246ad4433b3371ddaa0
[ "MIT" ]
5
2018-11-09T20:12:35.000Z
2021-09-24T09:41:47.000Z
/** * @brief Line fitting to a set of 2D points * * @author Andrey Kudryavtsev (avkudr.github.io) * @author Rahima Djahel (github:rahma24000) * @date 13/03/2018 * @version 1.0 */ #include <cmath> #include <list> #include <vector> #include <iostream> #include "robust_estim.hpp" struct Point2d{ do...
19.02
68
0.648791
[ "vector" ]
822b23f5e6d8f6082610763603590b8334e8ef06
332,934
cpp
C++
third_party/pdfium/xfa/fxfa/parser/xfa_basic_data.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
third_party/pdfium/xfa/fxfa/parser/xfa_basic_data.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/pdfium/xfa/fxfa/parser/xfa_basic_data.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/xfa_basic_data.h" #include "xfa/fxfa/fm2js/xfa_fm2j...
45.402155
80
0.735398
[ "shape", "model", "transform", "solid" ]
4363c33d135caa2ece47d0f99894ef015151e253
9,619
cpp
C++
Board.cpp
VashTheStampede96/2048
249023235df3039a71b6fa195b585debf32ecdf7
[ "MIT" ]
null
null
null
Board.cpp
VashTheStampede96/2048
249023235df3039a71b6fa195b585debf32ecdf7
[ "MIT" ]
null
null
null
Board.cpp
VashTheStampede96/2048
249023235df3039a71b6fa195b585debf32ecdf7
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <algorithm> #include <cmath> #include "Random.cpp" #include "Board.hpp" static const double probOf2 = 0.875; template<int Row, int Col> void Board<Row, Col>:: updateMaxTile() { for(auto & row : board) { for(auto & val : row) maxTile = max(maxTile,...
26.868715
139
0.459403
[ "vector" ]
436eeba68d7436b9fd595ce75b30154176288a91
2,643
hpp
C++
src/ai/composite/ai.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/ai/composite/ai.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/ai/composite/ai.hpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: ai.hpp 48153 2011-01-01 15:57:50Z mordante $ */ /* Copyright (C) 2009 - 2011 by Yurii Chernyi <terraninfo@terraninfo.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
19.152174
118
0.6451
[ "vector" ]
436f0eb96c3f37a4ca6016f5b6064ed388ea7318
4,048
cc
C++
src/persistents_with_classid.cc
nodesource/persistents-with-classid
68ee25e829161cc29f576f50cc200a1e1c6ceb4d
[ "MIT" ]
2
2016-09-17T10:35:41.000Z
2021-11-13T01:46:02.000Z
src/persistents_with_classid.cc
nodesource/persistents-with-classid
68ee25e829161cc29f576f50cc200a1e1c6ceb4d
[ "MIT" ]
4
2016-06-15T02:14:19.000Z
2019-05-10T21:28:57.000Z
src/persistents_with_classid.cc
nodesource/persistents-with-classid
68ee25e829161cc29f576f50cc200a1e1c6ceb4d
[ "MIT" ]
1
2021-11-13T01:45:56.000Z
2021-11-13T01:45:56.000Z
#include <v8.h> #include <node.h> #include <vector> using v8::Function; using v8::FunctionCallbackInfo; using v8::HandleScope; using v8::Integer; using v8::Isolate; using v8::Local; using v8::Object; using v8::Persistent; using v8::PersistentHandleVisitor; using v8::Uint32; using v8::Value; using v8::V8; #ifndef asse...
28.307692
96
0.638834
[ "object", "vector" ]
437012a635f0607a5607ea274f40ee8c432ce6ad
321
cpp
C++
src/MRigidBody.cpp
viktorcpp/endless2.0save
9824aebd56346f1b9526b730063b84918bd6ac08
[ "MIT" ]
null
null
null
src/MRigidBody.cpp
viktorcpp/endless2.0save
9824aebd56346f1b9526b730063b84918bd6ac08
[ "MIT" ]
null
null
null
src/MRigidBody.cpp
viktorcpp/endless2.0save
9824aebd56346f1b9526b730063b84918bd6ac08
[ "MIT" ]
null
null
null
namespace endless { std::vector<PxActor*>& MRigidBody::Rigid( PxActor* newrigid ) { if( newrigid != nullptr ) rigid.push_back(newrigid); return rigid; } // Rigid MRigidBody::MRigidBody(): rigid() {} MRigidBody::~MRigidBody() {} } // namespace endless...
15.285714
65
0.554517
[ "vector" ]
43702087eb423bac311d78b9901294f6e69bed26
5,191
cpp
C++
tests/apinames.cpp
ibiscum/rtaudio
59457b909aaadd25cfdb3bd967f3b289543f2353
[ "MIT" ]
null
null
null
tests/apinames.cpp
ibiscum/rtaudio
59457b909aaadd25cfdb3bd967f3b289543f2353
[ "MIT" ]
null
null
null
tests/apinames.cpp
ibiscum/rtaudio
59457b909aaadd25cfdb3bd967f3b289543f2353
[ "MIT" ]
null
null
null
/******************************************/ /* apinames.cpp by Jean Pierre Cimalando, 2018. This program tests parts of RtAudio related to API names, the conversion from name to API and vice-versa. */ /******************************************/ #include "RtAudio.h" #include <cctype> #include <cstdlib> #in...
32.85443
92
0.503371
[ "vector" ]
4372617002afc130860d353dcc607418e9b6c160
8,336
cpp
C++
source/b1ig/exprg.cpp
basic-1/basic-1
ddb253e0c98970042ba5502f745c8289bfc07398
[ "MIT" ]
null
null
null
source/b1ig/exprg.cpp
basic-1/basic-1
ddb253e0c98970042ba5502f745c8289bfc07398
[ "MIT" ]
null
null
null
source/b1ig/exprg.cpp
basic-1/basic-1
ddb253e0c98970042ba5502f745c8289bfc07398
[ "MIT" ]
1
2020-08-29T17:50:09.000Z
2020-08-29T17:50:09.000Z
/* BASIC1 interpreter Copyright (c) 2020-2021 Nikolay Pletnev MIT license exprg.cpp: external interpreter function samples for loading program from file, navigating through program lines, caching line numbers and expressions in form of RPN */ #include <vector> #include <stack> #include <map> #inc...
26.977346
149
0.75072
[ "vector" ]
4374b3894d7d75fa269479379fe237393df8b32d
1,626
cpp
C++
aws-cpp-sdk-mediaconvert/source/model/OutputGroupDetail.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-mediaconvert/source/model/OutputGroupDetail.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-mediaconvert/source/model/OutputGroupDetail.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/mediaconvert/model/OutputGroupDetail.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws ...
23.911765
118
0.757073
[ "model" ]
4376bbb5de6c34e4da00d6ac6734b56066f7723f
2,107
cpp
C++
232-implement-queue-using-stacks/implement-queue-using-stacks.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
232-implement-queue-using-stacks/implement-queue-using-stacks.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
232-implement-queue-using-stacks/implement-queue-using-stacks.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// Implement the following operations of a queue using stacks. // // // push(x) -- Push element x to the back of queue. // pop() -- Removes the element from in front of queue. // peek() -- Get the front element. // empty() -- Return whether the queue is empty. // // // Example: // // // MyQueue queue = new My...
25.385542
197
0.566208
[ "object" ]
4379f111666845ae6c23b9d7d0f91a3aa2011598
11,023
hpp
C++
modules/mmdb/EntryDataList.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
modules/mmdb/EntryDataList.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
modules/mmdb/EntryDataList.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
#ifndef _SQMMDB_ENTRYDATALIST_HPP_ #define _SQMMDB_ENTRYDATALIST_HPP_ // ------------------------------------------------------------------------------------------------ #include "Handle/Database.hpp" // ------------------------------------------------------------------------------------------------ namespace SqMod {...
34.446875
100
0.388279
[ "object" ]
437a6ddc56c21e4c0880e5e70641e7e8f634e410
17,817
hpp
C++
source/Base/Quaternion.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
source/Base/Quaternion.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
source/Base/Quaternion.hpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
#ifndef _BASE_QUATERNION_HPP_ #define _BASE_QUATERNION_HPP_ // ------------------------------------------------------------------------------------------------ #include "SqBase.hpp" // ------------------------------------------------------------------------------------------------ namespace SqMod { /* --------------...
38.986871
114
0.324858
[ "vector" ]
438091835246017ad0505f438e1dc563f8d57c0d
2,495
cpp
C++
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IntensitiesCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
45
2019-06-12T20:04:00.000Z
2022-02-28T21:43:54.000Z
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IntensitiesCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
12
2019-06-12T23:53:57.000Z
2022-03-28T18:35:57.000Z
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IntensitiesCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
11
2019-06-22T22:52:51.000Z
2022-03-11T16:59:59.000Z
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #define _USE_MATH_DEFINES #include "IntensitiesCalculator.h" #include "../Utils/LineWidthGenerator.h" #...
42.288136
121
0.728657
[ "vector" ]
438157a9cb92cf153d585e65eb64666f62bf81d0
4,111
cpp
C++
examples/opencl/plot3.cpp
FloopCZ/forge
98d568eb009eb521bb3d4a8804df81f86c6e9119
[ "BSD-3-Clause" ]
null
null
null
examples/opencl/plot3.cpp
FloopCZ/forge
98d568eb009eb521bb3d4a8804df81f86c6e9119
[ "BSD-3-Clause" ]
null
null
null
examples/opencl/plot3.cpp
FloopCZ/forge
98d568eb009eb521bb3d4a8804df81f86c6e9119
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2015-2019, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *****************************************...
30.227941
118
0.596692
[ "object", "vector" ]
438345f344d0360829e8fac148306089b70b1df2
17,806
cpp
C++
third_party/niflib/src/obj/NiSequence.cpp
tcoppex/dojima
e9e2da8097c6ca5359ea5a26714a044a3ee83fe8
[ "Unlicense" ]
null
null
null
third_party/niflib/src/obj/NiSequence.cpp
tcoppex/dojima
e9e2da8097c6ca5359ea5a26714a044a3ee83fe8
[ "Unlicense" ]
null
null
null
third_party/niflib/src/obj/NiSequence.cpp
tcoppex/dojima
e9e2da8097c6ca5359ea5a26714a044a3ee83fe8
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2006, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated areas o...
38.708696
171
0.649051
[ "vector" ]
4388ec0f2760940aa38b4c88415794bfb24e8e15
17,142
cpp
C++
pxr/imaging/hdx/testenv/testHdxPickResolveMode.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2022-03-16T01:40:10.000Z
2022-03-16T01:40:10.000Z
pxr/imaging/hdx/testenv/testHdxPickResolveMode.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
null
null
null
pxr/imaging/hdx/testenv/testHdxPickResolveMode.cpp
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2018-10-03T19:08:33.000Z
2018-10-03T19:08:33.000Z
// // Copyright 2020 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
31.054348
78
0.644674
[ "mesh", "geometry", "render", "vector" ]
438a17fc3c39364fc39b176425e8ca4dd6ed6553
420
hpp
C++
PSE/include/set_b.hpp
srharris91/OrrSommerfeld_Squire
92a1dcdc8e982238c7ed8f287622293f9cc60e73
[ "MIT" ]
null
null
null
PSE/include/set_b.hpp
srharris91/OrrSommerfeld_Squire
92a1dcdc8e982238c7ed8f287622293f9cc60e73
[ "MIT" ]
null
null
null
PSE/include/set_b.hpp
srharris91/OrrSommerfeld_Squire
92a1dcdc8e982238c7ed8f287622293f9cc60e73
[ "MIT" ]
1
2020-09-25T15:09:43.000Z
2020-09-25T15:09:43.000Z
#ifndef SET_b_H #define SET_b_H #include <petscksp.h> namespace PSE { /** * * \brief set b vector from B and q as b=B*q * \return 0 if successful */ PetscInt set_b( const Mat &B, ///< [in] B matrix const Vec &qn, ///< [in] qn vector to multiply ...
21
76
0.47381
[ "vector" ]
438cd276ca608e5a685464d75d75a8742f3c2ce3
2,833
cpp
C++
sources/CameraCalibration/Calibration.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
1
2022-01-08T03:25:13.000Z
2022-01-08T03:25:13.000Z
sources/CameraCalibration/Calibration.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
null
null
null
sources/CameraCalibration/Calibration.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
null
null
null
#include "Calibration.h" bool io::SaveIntrinsics(const std::string& filename, const cv::Size& imageSize, cv::InputArray cameraMatrix, cv::InputArray distCoeffs) { auto dir = fs::path(filename).parent_path(); if (fs::create_directories(dir)) { std::cout << "[SaveIntrinsics] Created a directory " << dir << std::end...
28.33
142
0.682669
[ "vector", "3d" ]
438dc6930e3da15aab5af5c91d6f29ae3411872f
3,052
hpp
C++
Code/Cpp/detect_marks.hpp
sgino209/Bracelet_decoder
d1b557254355601b277924313b760b6b30b48326
[ "Apache-2.0" ]
null
null
null
Code/Cpp/detect_marks.hpp
sgino209/Bracelet_decoder
d1b557254355601b277924313b760b6b30b48326
[ "Apache-2.0" ]
null
null
null
Code/Cpp/detect_marks.hpp
sgino209/Bracelet_decoder
d1b557254355601b277924313b760b6b30b48326
[ "Apache-2.0" ]
null
null
null
// Bracelet-Decoder algo app // (c) Shahar Gino, September-2017, sgino209@gmail.com #ifndef DETECT_MARKS_HPP #define DETECT_MARKS_HPP #define _USE_MATH_DEFINES #include <cmath> #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "...
46.242424
148
0.773919
[ "vector" ]
43924a3addd442a0acd9743159274a6fb8b44e33
38,361
cc
C++
c-deps/rocksdb/db/version_set_test.cc
Yangjxxxxx/ZNBase
dcf993b73250dd5cb63041f4d9cf098941f67b2b
[ "MIT", "BSD-3-Clause" ]
2,189
2016-04-02T21:49:13.000Z
2022-03-31T23:31:07.000Z
c-deps/rocksdb/db/version_set_test.cc
Yangjxxxxx/ZNBase
dcf993b73250dd5cb63041f4d9cf098941f67b2b
[ "MIT", "BSD-3-Clause" ]
2,798
2016-04-11T18:01:05.000Z
2022-01-15T23:05:39.000Z
c-deps/rocksdb/db/version_set_test.cc
Yangjxxxxx/ZNBase
dcf993b73250dd5cb63041f4d9cf098941f67b2b
[ "MIT", "BSD-3-Clause" ]
908
2016-03-23T18:26:20.000Z
2022-03-07T21:43:27.000Z
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). // // Copyright (c) 2011 The LevelDB Authors. All rights r...
34.937158
85
0.675634
[ "vector" ]
43969079b3d5b2e038bbcffa1a556fd36ba3662a
629
cpp
C++
src/point_distribution.cpp
GrimshawA/libseed
f869327ae6c3e0be247a90d9c4e24e4592600198
[ "MIT" ]
1
2020-03-04T15:01:44.000Z
2020-03-04T15:01:44.000Z
src/point_distribution.cpp
GrimshawA/libconjuring
f869327ae6c3e0be247a90d9c4e24e4592600198
[ "MIT" ]
null
null
null
src/point_distribution.cpp
GrimshawA/libconjuring
f869327ae6c3e0be247a90d9c4e24e4592600198
[ "MIT" ]
1
2019-03-11T20:58:46.000Z
2019-03-11T20:58:46.000Z
#include "conjuring/point_distribution.hpp" #include <random> #include <cstdint> namespace pcg { point_distribution::point_distribution() { } std::vector<glm::vec2> point_distribution::even(int num, int width, int height) { std::default_random_engine generator; std::uniform_int_d...
20.966667
83
0.624801
[ "vector" ]
4397c45c65e00f7a918751a49340eda4615b4387
7,202
hh
C++
silicon/api.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
2,025
2015-01-05T16:41:36.000Z
2022-03-19T21:02:50.000Z
silicon/api.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
68
2015-01-19T14:10:20.000Z
2022-02-01T18:25:15.000Z
silicon/api.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
196
2015-01-19T12:00:16.000Z
2022-02-21T14:40:34.000Z
#pragma once #include <type_traits> #include <iod/sio.hh> #include <iod/symbol.hh> #include <iod/sio_utils.hh> #include <iod/tuple_utils.hh> #include <iod/callable_traits.hh> #include <iod/di.hh> #include <iod/bind_method.hh> #include <silicon/di_factories.hh> #include <silicon/http_route.hh> #include <silicon/rmq_rou...
28.243137
110
0.6208
[ "object", "transform" ]