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
b1607af7253b77f7e7dfefcb0ccd0edf5ea10108
31,003
cpp
C++
src/softbody2/Physics_ParticleSystem_clean.cpp
jackthgu/K-AR_HYU_Deform_Simulation
e7c275c8948e1fe3e800ab37b17aa8406b147277
[ "MIT" ]
null
null
null
src/softbody2/Physics_ParticleSystem_clean.cpp
jackthgu/K-AR_HYU_Deform_Simulation
e7c275c8948e1fe3e800ab37b17aa8406b147277
[ "MIT" ]
null
null
null
src/softbody2/Physics_ParticleSystem_clean.cpp
jackthgu/K-AR_HYU_Deform_Simulation
e7c275c8948e1fe3e800ab37b17aa8406b147277
[ "MIT" ]
null
null
null
// Physics_Physics_ParticleSystem.cpp: implementation of the Physics_Physics_ParticleSystem class. // ////////////////////////////////////////////////////////////////////// #include "DRGShell.h" #include "Physics_Impulses.h" #include "../../gmm.h" #include "../../../../BaseLib/math/Operator.h" #include "../../../../Ba...
25.287928
129
0.61036
[ "mesh", "vector" ]
b162bf3f91afcce19a8be0d25778613ba9eb88ad
804
hh
C++
src/ast/symbols-type.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
16
2016-05-10T05:50:58.000Z
2021-10-05T22:16:13.000Z
src/ast/symbols-type.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
7
2016-09-05T10:08:33.000Z
2019-02-13T10:51:07.000Z
src/ast/symbols-type.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
15
2015-01-28T20:27:02.000Z
2021-09-28T19:26:08.000Z
/* * Copyright (C) 2008-2010, 2012, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #ifndef AST_SYMBOLS_T...
22.971429
66
0.716418
[ "vector" ]
b166d0c49b711debeafb176002f87d77572812e5
294
cpp
C++
RAPter/src/optimization/visualizer.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
27
2017-09-21T19:52:28.000Z
2022-03-09T13:47:02.000Z
RAPter/src/optimization/visualizer.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
12
2017-07-26T15:00:32.000Z
2021-12-03T03:08:15.000Z
RAPter/src/optimization/visualizer.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
11
2017-03-24T16:56:08.000Z
2020-11-21T13:18:33.000Z
#include "globfit2/visualization/visualizer.h" #include "globfit2/primitives/linePrimitive2.h" #include "globfit2/primitives/pointPrimitive.h" // Cache template compilation. //GF2::Visualizer<std::vector<std::vector<GF2::LinePrimitive2> >, std::vector<GF2::PointPrimitive> > dummyVisualizer;
36.75
117
0.789116
[ "vector" ]
b16e6910d01c34271765ef117fdc71f8c7d6709c
3,461
hpp
C++
Source/AllProjects/OrbUtils/CIDOrb/CIDOrb_.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/OrbUtils/CIDOrb/CIDOrb_.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/OrbUtils/CIDOrb/CIDOrb_.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDOrb_.hpp // // AUTHOR: Dean Roddey // // CREATED: 07/03/2000 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensource.org/li...
36.052083
81
0.406241
[ "object" ]
b16f39eddda3456cc603884fc66c9b22275ff0b0
10,944
cpp
C++
common/amathutils_lib/src/amathutils_lib_ros2/butterworth_filter.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
common/amathutils_lib/src/amathutils_lib_ros2/butterworth_filter.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
common/amathutils_lib/src/amathutils_lib_ros2/butterworth_filter.cpp
VT-ASIM-LAB/autoware.ai
211dff3bee2d2782cb10444272c5d98d1f30d33a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018-2019 Autoware Foundation. 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 requi...
24.266075
86
0.604441
[ "object", "vector" ]
b171e3e7e00afd48531ef55ea1402606b8d4e931
1,278
cpp
C++
codeforces/501_3/d.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
codeforces/501_3/d.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
codeforces/501_3/d.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ long long int n,k,s; scanf("%lld%lld%lld", &n, &k, &s); long long int check = (n-1)*k; if( check < s || k > s) { printf("NO\n"); return 0; } vector<long long int> ans; ans.push_back(1); while(k>0){ ...
21.3
70
0.374804
[ "vector" ]
b1746db7da8e6e744b77eefcb3417ee2bd2f377b
5,285
cpp
C++
TopicWiseQuestions/Arrays.cpp
sathvikask0/Coding-Interview-Prep
8151412f92aeb2890d9bbd55c771eac07c28e689
[ "MIT" ]
6
2020-09-19T09:05:03.000Z
2021-11-01T09:12:57.000Z
TopicWiseQuestions/Arrays.cpp
sathvikask0/Coding-Interview-Prep
8151412f92aeb2890d9bbd55c771eac07c28e689
[ "MIT" ]
null
null
null
TopicWiseQuestions/Arrays.cpp
sathvikask0/Coding-Interview-Prep
8151412f92aeb2890d9bbd55c771eac07c28e689
[ "MIT" ]
4
2020-09-20T14:46:20.000Z
2021-08-25T11:59:54.000Z
//some tips: 1. be carful with the variable names u give! some might be overlapping! with what are needed. Eg : you could be using i,j,k as iterators in for loop, but unknowingly you might also use them for something else! // search for Topic : Topic Name // for easy access Topic : Arrays //o(n) rotating array...
23.281938
129
0.50842
[ "vector" ]
b176f030f7d2f95b9f75ce736eb65d03d8908f92
1,032
cc
C++
mem/vdtor.cc
anqurvanillapy/cppl
a15231dd0bd68b8857f6596fbf2604b86e5ffd89
[ "MIT" ]
1
2019-08-24T22:46:16.000Z
2019-08-24T22:46:16.000Z
mem/vdtor.cc
anqurvanillapy/cppl
a15231dd0bd68b8857f6596fbf2604b86e5ffd89
[ "MIT" ]
2
2018-11-12T12:20:52.000Z
2019-06-05T06:58:34.000Z
mem/vdtor.cc
anqurvanillapy/cppl
a15231dd0bd68b8857f6596fbf2604b86e5ffd89
[ "MIT" ]
2
2019-04-03T10:01:05.000Z
2021-05-31T07:39:44.000Z
/** * Virtual destructor * ================== * * Always make bad_base classes' destructors virtual: If the static type (e.g. a * bad_base class) of the object to be deleted is different from its dynamic type, * the static type shall be a bad_base class of the dynamic type of the object to * be deleted and...
27.157895
83
0.610465
[ "object" ]
b17ae33634d01a5fa0b987efb06db458a88b4fb4
24,462
cpp
C++
main.cpp
jvt9999/oglshaderdemo
c5b9ba721a90b06bfdfebae1aeb3305db213d654
[ "MIT" ]
null
null
null
main.cpp
jvt9999/oglshaderdemo
c5b9ba721a90b06bfdfebae1aeb3305db213d654
[ "MIT" ]
null
null
null
main.cpp
jvt9999/oglshaderdemo
c5b9ba721a90b06bfdfebae1aeb3305db213d654
[ "MIT" ]
1
2022-02-14T08:21:58.000Z
2022-02-14T08:21:58.000Z
#define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN #include <chrono> #include "GL/glew.h" #include "GLFW/glfw3.h" #include "glm/gtc/matrix_transform.hpp" #include "objloader.h" #include "util.h" #include "imgui.h" #include "imgui_internal.h" #include "imgui_impl_glfw.h" #include "imgui_impl_op...
37.984472
203
0.65473
[ "mesh", "render", "vector", "model", "3d" ]
b180cbc3e8cdea55659becb775b4ae855916ab25
42,343
cpp
C++
src/viewer/GLRender.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/viewer/GLRender.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/viewer/GLRender.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* -*- c++ -*- */ ///////////////////////////////////////////////////////////////////////////// // // Main.cpp -- Copyright (c) 2006-2007 David Henry // last modification: jan. 28, 2007 // // This code is licenced under the MIT license. // // This software is provided "as is" without express or implied // warranties. Y...
28.361018
161
0.531682
[ "mesh", "render", "object", "vector", "model", "3d" ]
b1835bfda5e9d14b166dc8b0ee6fd7dea92885d9
2,247
hpp
C++
src/a2d/physics/polygon_collider.hpp
ayles/A2D
278b8e40be74c0f0257b1062f009995462f983fa
[ "MIT" ]
17
2018-11-12T11:13:23.000Z
2021-11-13T12:38:21.000Z
src/a2d/physics/polygon_collider.hpp
ayles/A2D
278b8e40be74c0f0257b1062f009995462f983fa
[ "MIT" ]
1
2018-11-12T11:16:01.000Z
2018-11-12T11:17:50.000Z
src/a2d/physics/polygon_collider.hpp
ayles/A2D
278b8e40be74c0f0257b1062f009995462f983fa
[ "MIT" ]
3
2019-05-28T12:44:09.000Z
2021-11-13T12:38:23.000Z
// // Created by selya on 26.01.2019. // #ifndef A2D_POLYGON_COLLIDER_HPP #define A2D_POLYGON_COLLIDER_HPP #include <a2d/physics/physics_collider.hpp> #include <vector> namespace a2d { class PolygonCollider : public PhysicsCollider { #if PHYSICS_DEBUG_DRAW intrusive_ptr<Line> line; #endif std::vector<Vect...
27.402439
93
0.58834
[ "shape", "vector", "transform" ]
b18bea145bc3480214f0577955b760157ec1327a
8,606
cpp
C++
Demo/src/game/states/GameState.cpp
aaron-foster-wallace/MasterThesisIntersectionVisualizer
08b802a3b3fe3761c9ba7ac5a650cbca89887df8
[ "MIT" ]
1
2021-01-31T05:29:47.000Z
2021-01-31T05:29:47.000Z
Demo/src/game/states/GameState.cpp
aaron-foster-wallace/MasterThesisIntersectionVisualizer
08b802a3b3fe3761c9ba7ac5a650cbca89887df8
[ "MIT" ]
null
null
null
Demo/src/game/states/GameState.cpp
aaron-foster-wallace/MasterThesisIntersectionVisualizer
08b802a3b3fe3761c9ba7ac5a650cbca89887df8
[ "MIT" ]
1
2021-01-31T05:27:36.000Z
2021-01-31T05:27:36.000Z
#include "GameState.h" #include "imgui.h" #include "Sail/debug/Instrumentor.h" #include "Sail/graphics/material/PBRMaterial.h" GameState::GameState(StateStack& stack) : State(stack) , m_cam(90.f, 1280.f / 720.f, 0.1f, 5000.f) , m_camController(&m_cam) { SAIL_PROFILE_FUNCTION(); // Get the Application instance m_ap...
36.159664
148
0.717987
[ "render" ]
b18e5b731807436172943fe179e0893366d126cd
14,382
cc
C++
Analyses/src/StoppingTarget00_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
Analyses/src/StoppingTarget00_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Analyses/src/StoppingTarget00_module.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // A first look at muons stopping in stopping targets. // // $Id: StoppingTarget00_module.cc,v 1.14 2013/10/21 21:15:46 kutschke Exp $ // $Author: kutschke $ // $Date: 2013/10/21 21:15:46 $ // // Original author Rob Kutschke. // // C++ includes. #include <iostream> #include <iomanip> #include <fstream> #include <st...
30.341772
142
0.558963
[ "transform" ]
b18f2efbdd6f167f745423744fb83bec6bffe331
6,201
hpp
C++
include/eagine/msgbus/service/ping_pong.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-07-18T10:17:10.000Z
2021-07-18T10:17:10.000Z
include/eagine/msgbus/service/ping_pong.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
null
null
null
include/eagine/msgbus/service/ping_pong.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-06-25T07:15:10.000Z
2021-06-25T07:15:10.000Z
/// @file /// /// Copyright Matus Chochlik. /// 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 EAGINE_MSGBUS_SERVICE_PING_PONG_HPP #define EAGINE_MSGBUS_SERVICE_PING_PONG_HPP #include "../serialize.h...
31.318182
82
0.603774
[ "vector" ]
b1926c4616845f515e43d69404998835aacf1106
2,884
cpp
C++
common/ffsreport.cpp
ISpillMyDrink/UEFITool
a4430e24e05154c1e9c9023f4ab487acd7310ca4
[ "BSD-2-Clause" ]
null
null
null
common/ffsreport.cpp
ISpillMyDrink/UEFITool
a4430e24e05154c1e9c9023f4ab487acd7310ca4
[ "BSD-2-Clause" ]
null
null
null
common/ffsreport.cpp
ISpillMyDrink/UEFITool
a4430e24e05154c1e9c9023f4ab487acd7310ca4
[ "BSD-2-Clause" ]
null
null
null
/* fssreport.cpp Copyright (c) 2016, Nikolaj Schlej. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-l...
35.170732
122
0.643551
[ "vector", "model" ]
b19d0361a90f4c2f4bce40398f96fcc3e32b5fb3
4,067
cpp
C++
src/coherence/util/Binary.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/util/Binary.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/util/Binary.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "coherence/util/Binary.hpp" #include <algorithm> COH_OPEN_NAMESPACE2(coherence,util) using coherence::lang::TypedBarrenClass; COH_...
25.578616
90
0.519793
[ "object" ]
b19d212ea49b9483dc0d12098796e229dfe85613
302
hpp
C++
Algorithms&DataStructures_Utils/Linux/gpp/IGenerator.hpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
Algorithms&DataStructures_Utils/Linux/gpp/IGenerator.hpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
Algorithms&DataStructures_Utils/Linux/gpp/IGenerator.hpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
#ifndef __IGenerator__H #define __IGenerator__H #include <vector> template <template <typename... > class Container, typename ContainerDataType> struct IGenerator { virtual const std::vector<std::pair<Container<ContainerDataType>,int>>& generateData() = 0; virtual ~IGenerator(){} }; #endif
23.230769
96
0.748344
[ "vector" ]
b1a2adafa989cb4df52a199c9399e8907525d6d3
32,681
cpp
C++
test/unit/linalg/matrixop_real_cpu_test.cpp
yingwaili/DCA
31c298a1831f90daf62ea8bb6b683229513d7c08
[ "BSD-3-Clause" ]
null
null
null
test/unit/linalg/matrixop_real_cpu_test.cpp
yingwaili/DCA
31c298a1831f90daf62ea8bb6b683229513d7c08
[ "BSD-3-Clause" ]
null
null
null
test/unit/linalg/matrixop_real_cpu_test.cpp
yingwaili/DCA
31c298a1831f90daf62ea8bb6b683229513d7c08
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Raffaele Solca' (rasolca@itp.phys.ethz.ch) // // This file tests the matrix operat...
32.071639
104
0.563722
[ "vector" ]
b1abfb29fe2db07d991e9a6f655345720faef863
2,720
hpp
C++
3rdparty/libprocess/include/process/firewall.hpp
CodeTickler/mesos
3ecd54320397c3a813d555f291b51778372e273b
[ "Apache-2.0" ]
null
null
null
3rdparty/libprocess/include/process/firewall.hpp
CodeTickler/mesos
3ecd54320397c3a813d555f291b51778372e273b
[ "Apache-2.0" ]
null
null
null
3rdparty/libprocess/include/process/firewall.hpp
CodeTickler/mesos
3ecd54320397c3a813d555f291b51778372e273b
[ "Apache-2.0" ]
null
null
null
/** * 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, software * distribu...
27.755102
77
0.715809
[ "object" ]
b1b6845d9935bca7a6c1836bb222f9961641f2c1
2,175
cpp
C++
src/catalog/index_schema.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
3
2020-11-06T01:09:42.000Z
2021-10-08T14:34:44.000Z
src/catalog/index_schema.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
13
2020-05-16T19:42:06.000Z
2020-08-25T18:40:36.000Z
src/catalog/index_schema.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
4
2020-05-16T14:48:14.000Z
2020-07-12T01:18:44.000Z
#include "catalog/index_schema.h" #include "common/json.h" namespace noisepage::catalog { nlohmann::json IndexSchema::Column::ToJson() const { nlohmann::json j; j["name"] = name_; j["type"] = type_; j["attr_length"] = attr_length_; j["type_modifier"] = type_modifier_; j["nullable"] = nullable_; j["oid"...
33.461538
113
0.702069
[ "vector" ]
b1b92d19b1d0fa6f5dda52f020dda09ab5760249
16,396
cpp
C++
android/library/maply/jni/src/vectors/AttrDictionary_jni.cpp
zflamig/WhirlyGlobe
b6a6536507d33c6b25248fa67877a9d87d11ed43
[ "Apache-2.0" ]
null
null
null
android/library/maply/jni/src/vectors/AttrDictionary_jni.cpp
zflamig/WhirlyGlobe
b6a6536507d33c6b25248fa67877a9d87d11ed43
[ "Apache-2.0" ]
null
null
null
android/library/maply/jni/src/vectors/AttrDictionary_jni.cpp
zflamig/WhirlyGlobe
b6a6536507d33c6b25248fa67877a9d87d11ed43
[ "Apache-2.0" ]
null
null
null
/* AttrDictionary_jni.cpp * WhirlyGlobeLib * * Created by Steve Gifford on 6/2/14. * Copyright 2011-2021 mousebird consulting * * 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 *...
29.070922
209
0.712186
[ "vector" ]
b1ba78d4441510ba162300c35b210dc1f980e5e4
48,624
cpp
C++
src/miner.cpp
fx-ha/mainchain
c6c353e0d7e7af2d6a5fdde2838c0c5e4d572bcd
[ "MIT" ]
null
null
null
src/miner.cpp
fx-ha/mainchain
c6c353e0d7e7af2d6a5fdde2838c0c5e4d572bcd
[ "MIT" ]
null
null
null
src/miner.cpp
fx-ha/mainchain
c6c353e0d7e7af2d6a5fdde2838c0c5e4d572bcd
[ "MIT" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "miner.h" #include "amount.h" #include "base58.h" #include "chain.h" #i...
39.986842
266
0.617761
[ "vector" ]
b1bc089d216e166adaf818d0ea6d65ed1861a963
2,557
cpp
C++
BGL/examples/BGL_triangulation_2/dijkstra_with_internal_properties.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
BGL/examples/BGL_triangulation_2/dijkstra_with_internal_properties.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
BGL/examples/BGL_triangulation_2/dijkstra_with_internal_properties.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_2.h> #include <CGAL/Triangulation_vertex_base_with_id_2.h> #include <CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h> #include <CGAL/boost/graph/dijkstra_shortest_paths.h> #include <fstream> typedef CGAL::...
38.164179
93
0.682831
[ "vector" ]
04d8b5bcd71bec3ab1cd707ff09364b8e7a7de5c
10,615
cc
C++
mediapipe/calculators/util/detections_to_render_data_calculator_test.cc
justin-f-perez/mediapipe
f4e7f6cc48e89a4702860a370c431e56568800d1
[ "Apache-2.0" ]
55
2020-08-06T05:57:42.000Z
2022-03-16T08:37:22.000Z
mediapipe/calculators/util/detections_to_render_data_calculator_test.cc
justin-f-perez/mediapipe
f4e7f6cc48e89a4702860a370c431e56568800d1
[ "Apache-2.0" ]
3
2021-02-18T07:07:47.000Z
2021-09-19T18:33:32.000Z
mediapipe/calculators/util/detections_to_render_data_calculator_test.cc
justin-f-perez/mediapipe
f4e7f6cc48e89a4702860a370c431e56568800d1
[ "Apache-2.0" ]
14
2020-08-28T01:26:37.000Z
2022-02-13T04:10:44.000Z
// Copyright 2019 The MediaPipe Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
40.056604
80
0.722751
[ "vector" ]
04dcaafa92a78c98ec6706340ecced94039fb705
1,312
cpp
C++
source/backend/hiai/execution/NPUConcat.cpp
WillTao-RD/MNN
48575121859093bab8468d6992596962063b7aff
[ "Apache-2.0" ]
2
2020-12-15T13:56:31.000Z
2022-01-26T03:20:28.000Z
source/backend/hiai/execution/NPUConcat.cpp
qaz734913414/MNN
a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d
[ "Apache-2.0" ]
null
null
null
source/backend/hiai/execution/NPUConcat.cpp
qaz734913414/MNN
a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d
[ "Apache-2.0" ]
1
2021-11-24T06:26:27.000Z
2021-11-24T06:26:27.000Z
// // NPUConcat.cpp // MNN // // Created by MNN on 2019/09/11. // Copyright ยฉ 2018, Alibaba Group Holding Limited // #include "NPUConcat.hpp" #include "NPUBackend.hpp" using namespace std; namespace MNN { NPUConcat::NPUConcat(Backend *b, const Op *op, const std::vector<Tensor *> &inputs, const std::vector<Tenso...
27.914894
155
0.652439
[ "vector" ]
04dd0ce9ef9724f90c3e577a7a63f550b5ceff0d
3,200
hpp
C++
source/backend/cpu/CPUDeconvolution.hpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
3
2020-09-26T03:40:17.000Z
2021-12-26T06:58:11.000Z
source/backend/cpu/CPUDeconvolution.hpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/CPUDeconvolution.hpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
null
null
null
// // CPUDeconvolution.hpp // MNN // // Created by MNN on 2018/07/20. // Copyright ยฉ 2018, Alibaba Group Holding Limited // #ifndef CPUDeconvolution_hpp #define CPUDeconvolution_hpp #include "CPUConvolution.hpp" #include "compute/StrassenMatmulComputor.hpp" namespace MNN { class CPUDeconvolutionBasic : public CP...
36.363636
117
0.723125
[ "vector" ]
04e7e0586c7eb42c0823c339a208cdc462fe7ad9
5,647
cpp
C++
geo/arc.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
geo/arc.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
geo/arc.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
29.878307
82
0.67682
[ "vector" ]
04e8d35e9cbb16ef8911f632c1df4f8beb929e07
3,513
cpp
C++
doc/howto/write_a_view/solution_iterator.cpp
dendisuhubdy/seqan3
6903e67267fe50907f377cca7ef3d51f1447c504
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
doc/howto/write_a_view/solution_iterator.cpp
dendisuhubdy/seqan3
6903e67267fe50907f377cca7ef3d51f1447c504
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
doc/howto/write_a_view/solution_iterator.cpp
dendisuhubdy/seqan3
6903e67267fe50907f377cca7ef3d51f1447c504
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
//![start] #include <iostream> #include <vector> #include <seqan3/alphabet/nucleotide/all.hpp> #include <seqan3/std/ranges> using namespace seqan3; template <std::ranges::forward_range urng_t> // the underlying range type struct my_iterator : std::ranges::iterator_t<urng_t> { //![start] //![static_assert] sta...
36.59375
94
0.681469
[ "vector" ]
04ee7def1c32d67ecb1a3068c81f7e61cc280f56
3,508
cpp
C++
tests/write_traits/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
20
2019-11-13T12:31:20.000Z
2022-02-27T12:30:39.000Z
tests/write_traits/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
46
2019-11-15T20:40:18.000Z
2022-03-31T19:04:36.000Z
tests/write_traits/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
5
2019-11-12T15:00:50.000Z
2022-01-17T17:33:05.000Z
/** * @file client.cpp * @author Unknown * @brief Client main * * Generated by 'brix11 generate client' @ 2014-03-02 15:41:45 +0100 * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "write_traitsC.h" #include "ace/Get_Opt.h" #include "testlib/taox11_testlog.h" std::string ior = "file://ser...
27.622047
117
0.558723
[ "object" ]
04f2122ef958bd7373cdcb46d8346d07c1eb1805
11,460
cpp
C++
recipes-clp/clp/clp/src/ClpLsqr.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-clp/clp/clp/src/ClpLsqr.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-clp/clp/clp/src/ClpLsqr.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
// Copyright (C) 2003, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #include "ClpLsqr.hpp" #include "ClpPdco.hpp" void ClpLsqr::do_lsqr(CoinDenseVector< double > &b, double damp, double atol, double bto...
28.721805
94
0.538918
[ "object", "model" ]
04f3b1bf1313ff416ab7cca3170e70330948ab55
37,772
cpp
C++
Source Code/Environment/Terrain/TerrainLoader.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Environment/Terrain/TerrainLoader.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Environment/Terrain/TerrainLoader.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Headers/Terrain.h" #include "Headers/TerrainLoader.h" #include "Headers/TerrainDescriptor.h" #include "Core/Headers/ByteBuffer.h" #include "Core/Headers/Configuration.h" #include "Core/Headers/PlatformContext.h" #include "Platform/Video/Headers/GFXDevice.h" #include "Platform/F...
48.612613
205
0.642963
[ "geometry", "vector" ]
04f517463c6f86f0ec7dd18dd65fed1d88eecb95
7,357
cc
C++
src/qx-simulator/simulator.cc
QuTech-Delft/qx-simulator
e3a888f4a79fde2313060cb92756488d20b08b66
[ "Apache-2.0" ]
3
2020-05-06T03:33:20.000Z
2021-03-22T11:21:07.000Z
src/qx-simulator/simulator.cc
QuTech-Delft/qx-simulator
e3a888f4a79fde2313060cb92756488d20b08b66
[ "Apache-2.0" ]
5
2021-03-16T12:20:34.000Z
2021-11-23T10:31:16.000Z
src/qx-simulator/simulator.cc
QuTech-Delft/qx-simulator
e3a888f4a79fde2313060cb92756488d20b08b66
[ "Apache-2.0" ]
9
2020-01-10T12:15:50.000Z
2021-07-02T12:14:07.000Z
/** * @file simulator.cc * @author Nader KHAMMASSI - nader.khammassi@gmail.com * @date 01-01-16 * @brief */ #include "qx/representation.h" #include "qx/libqasm_interface.h" #include <qasm_semantic.hpp> #ifdef USE_GPERFTOOLS #include <gperftools/profiler.h> #endif #include <iostream> #include "qx/version.h" ...
33.593607
145
0.504689
[ "vector", "model" ]
04f5eb86911d1bd540f73eb48414152d5208f1e0
7,784
cc
C++
plugins/ContainPlugin.cc
tommy91/Gazebo-Ardupilot
03ff6d3e6787eddaf650a681adb56dc06cf82294
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
plugins/ContainPlugin.cc
tommy91/Gazebo-Ardupilot
03ff6d3e6787eddaf650a681adb56dc06cf82294
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
plugins/ContainPlugin.cc
tommy91/Gazebo-Ardupilot
03ff6d3e6787eddaf650a681adb56dc06cf82294
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 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...
27.602837
78
0.631552
[ "geometry" ]
04f8a3523fb73baa155b57ac335f8db8d0c590c6
4,082
cpp
C++
unit_tests/contractor/contracted_edge_container.cpp
antoinegiret/osrm-backend-1
c4eff6cd656b49e3cb5fc841e868031e12a97465
[ "BSD-2-Clause" ]
1
2019-06-20T05:00:38.000Z
2019-06-20T05:00:38.000Z
unit_tests/contractor/contracted_edge_container.cpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
2
2022-01-28T03:33:36.000Z
2022-01-28T03:33:45.000Z
unit_tests/contractor/contracted_edge_container.cpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
2
2018-08-07T09:15:55.000Z
2019-10-11T06:09:04.000Z
#include "contractor/contracted_edge_container.hpp" #include "../common/range_tools.hpp" #include <boost/test/unit_test.hpp> using namespace osrm; using namespace osrm::contractor; namespace osrm { namespace contractor { bool operator!=(const QueryEdge &lhs, const QueryEdge &rhs) { return !(lhs == rhs); } std::os...
37.109091
88
0.66438
[ "vector" ]
04fab9a0c3053c196d63741ea1569f5d84152512
2,640
cxx
C++
src/ptlib/Nucleus++/NucleusProcess.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
null
null
null
src/ptlib/Nucleus++/NucleusProcess.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
null
null
null
src/ptlib/Nucleus++/NucleusProcess.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
1
2020-07-21T11:47:44.000Z
2020-07-21T11:47:44.000Z
/* * NucleusThread.cxx * * pwlib's PProcess as implemented for Nucleus++ * * Copyright (c) 1999 ISDN Communications Ltd * * Author: Chris Wayman Purvis * */ #ifdef __GNUC__ #pragma implementation "svcproc.h" #pragma implementation "config.h" #pragma implementation "args.h" #pragma implementation "syncpoint.h"...
22
75
0.715152
[ "object" ]
04fb748ae5c61d3ce1c5692662d7efef28f60aa3
7,389
cpp
C++
build/backend/moc_devicemodel.cpp
JanConGitHub/wakeit
a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0
[ "MIT" ]
null
null
null
build/backend/moc_devicemodel.cpp
JanConGitHub/wakeit
a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0
[ "MIT" ]
null
null
null
build/backend/moc_devicemodel.cpp
JanConGitHub/wakeit
a22cc8eed3eecdc1c576e94c5a0c29ef2dfdb0c0
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'devicemodel.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
37.130653
121
0.585736
[ "object" ]
04fcfd1eaa5b919725cdfa7d69f237141580b58f
3,168
cpp
C++
christopher_wyczisk/ex10/source/dijkstra.cpp
appfs/appfs
8cbbfa0e40e4d4a75a498ce8dd894bb2fbc3a9e3
[ "MIT" ]
11
2017-04-21T11:39:55.000Z
2022-02-11T20:25:18.000Z
christopher_wyczisk/ex10/source/dijkstra.cpp
appfs/appfs
8cbbfa0e40e4d4a75a498ce8dd894bb2fbc3a9e3
[ "MIT" ]
69
2017-04-26T09:30:38.000Z
2017-08-01T11:31:21.000Z
christopher_wyczisk/ex10/source/dijkstra.cpp
appfs/appfs
8cbbfa0e40e4d4a75a498ce8dd894bb2fbc3a9e3
[ "MIT" ]
53
2017-04-20T16:16:11.000Z
2017-07-19T12:53:01.000Z
/* * dijkstra.h * * \brief 10. Aufgabe * \details Eigene Dijkstra Implementierung. * \author Christopher Wyczisk * \date 20.07.2017 */ #include "../header/dijkstra.h" /** * \brief Comparator fuer den Heap. */ struct comparator{ bool operator()(const pair<int, int> ecke1, const pair<int, in...
27.547826
194
0.697285
[ "vector" ]
ca0086e7448bae27451535e4e5b81450e293f3c1
7,375
cpp
C++
functional_mapping_helper/src/GeometricalConstructs/Plane.cpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
null
null
null
functional_mapping_helper/src/GeometricalConstructs/Plane.cpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
null
null
null
functional_mapping_helper/src/GeometricalConstructs/Plane.cpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
1
2019-05-09T11:40:00.000Z
2019-05-09T11:40:00.000Z
/* * Plane.cpp * * Created on: May 15, 2012 * Author: shanker */ #ifndef FUNCTIONALMAPPING_PLANE_CPP #define FUNCTIONALMAPPING_PLANE_CPP #include <functional_mapping_helper/GeometricalConstructs/Plane.hpp> Plane::Plane (geometry_msgs::Point point1, geometry_msgs::Point point2, geometry_msgs::Point point3)...
36.875
252
0.740475
[ "vector" ]
ca02aa490bfbb28b5c53247db4f9fcb44d4f1fc9
10,924
cc
C++
src/ui/a11y/lib/tts/tests/tts_manager_unittest.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/ui/a11y/lib/tts/tests/tts_manager_unittest.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/ui/a11y/lib/tts/tests/tts_manager_unittest.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include <vector> #include <lib/gtest/test_loop_fixture.h> #include <lib/sys/cpp/component_context.h> #include "src/ui/a11y/lib/tts/log...
37.156463
97
0.695258
[ "object", "vector" ]
ca045d4690587d6c76d28b0c419df2df95048796
8,958
cc
C++
cartographer/mapping_2d/pose_graph/optimization_problem.cc
Forrest-Z/cartographer_2d
bcc1b67350fa68e7b7008e870d16139c3ab23fd2
[ "Apache-2.0" ]
13
2018-02-11T04:23:15.000Z
2021-11-15T11:12:31.000Z
cartographer/mapping_2d/pose_graph/optimization_problem.cc
Forrest-Z/cartographer_2d
bcc1b67350fa68e7b7008e870d16139c3ab23fd2
[ "Apache-2.0" ]
1
2020-02-10T08:31:07.000Z
2020-02-11T04:33:16.000Z
cartographer/mapping_2d/pose_graph/optimization_problem.cc
EdwardLiuyc/cartographer_2d
bcc1b67350fa68e7b7008e870d16139c3ab23fd2
[ "Apache-2.0" ]
12
2018-04-24T05:58:41.000Z
2021-12-20T02:49:40.000Z
/* * Copyright 2016 The Cartographer Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
35.407115
125
0.745925
[ "vector", "transform" ]
ca076872a57fc1ff6869abd16952b7d00cf43472
1,099
cpp
C++
Two_Pointer/total_segments.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
Two_Pointer/total_segments.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
Two_Pointer/total_segments.cpp
MYK12397/Algorithmic-Techniques
36b42aec550fba9ff49a74a383f6e9729e63dbc8
[ "MIT" ]
null
null
null
#pragma GCC optimize("O3") #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #pragma GCC optimize("no-stack-protector") #pragma GCC optimize("fast-math") #pragma GCC optimize("trapv") #pragma GCC target("sse4") #include<bits/stdc++.h> #define inf (int)1e18 #define MOD 998244353 #define all...
16.651515
44
0.570519
[ "vector" ]
ca0cf9b6f9c38051c47974c4cd9ab326ef6c3f94
9,752
hpp
C++
REDSI_1160929_1161573/boost_1_67_0/boost/geometry/srs/projections/proj/ocea.hpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
REDSI_1160929_1161573/boost_1_67_0/boost/geometry/srs/projections/proj/ocea.hpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
REDSI_1160929_1161573/boost_1_67_0/boost/geometry/srs/projections/proj/ocea.hpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
#ifndef BOOST_GEOMETRY_PROJECTIONS_OCEA_HPP #define BOOST_GEOMETRY_PROJECTIONS_OCEA_HPP // Boost.Geometry - extensions-gis-projections (based on PROJ4) // This file is automatically generated. DO NOT EDIT. // Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Ora...
42.034483
141
0.587264
[ "geometry" ]
ca14608ff8b28a41f580e8664e20956ef0f95c8f
3,704
cpp
C++
sumo/src/netimport/vissim/typeloader/NIVissimSingleTypeParser_Signalgeberdefinition.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
null
null
null
sumo/src/netimport/vissim/typeloader/NIVissimSingleTypeParser_Signalgeberdefinition.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
null
null
null
sumo/src/netimport/vissim/typeloader/NIVissimSingleTypeParser_Signalgeberdefinition.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
2
2017-12-14T16:41:59.000Z
2020-10-16T17:51:27.000Z
/****************************************************************************/ /// @file NIVissimSingleTypeParser_Signalgeberdefinition.cpp /// @author Daniel Krajzewicz /// @author Michael Behrisch /// @date Wed, 18 Dec 2002 /// @version $Id$ /// // /************************************************************...
30.360656
121
0.511609
[ "vector" ]
ca14acbfde2150c249c587d47dddd5f1ba063433
3,234
hpp
C++
FCMApp.hpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
1
2017-08-17T15:33:33.000Z
2017-08-17T15:33:33.000Z
FCMApp.hpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
null
null
null
FCMApp.hpp
chrisoldwood/FCManager
f26aad68e572d21d3cb27d1fc285143b6c3ee848
[ "MIT" ]
null
null
null
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: FCMAPP.HPP ** COMPONENT: The Application. ** DESCRIPTION: The CFCMApp class declaration. ** ******************************************************************************* */ // Check for previous inclus...
21.137255
90
0.544218
[ "object" ]
ca25180d836ff79dd8583ea2f55d5eb8a473735f
65,397
cpp
C++
shore/shore-mt/src/sm/bf_core.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
shore/shore-mt/src/sm/bf_core.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2021-11-25T18:08:22.000Z
2021-11-25T18:08:22.000Z
shore/shore-mt/src/sm/bf_core.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
/* -*- mode:C++; c-basic-offset:4 -*- Shore-MT -- Multi-threaded port of the SHORE storage manager Copyright (c) 2007-2009 Data Intensive Applications and Systems Labaratory (DIAS) Ecole Polytechnique Federale de Lausanne All Rights Reser...
33.263988
94
0.53793
[ "object", "vector" ]
ca25dea3ca9dc0df55d684f85d9e9d5366a07b10
7,465
cpp
C++
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/unicode.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/unicode.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/unicode.cpp
tom-2273/Tronxy_SKR_mini_E3_V20
bc4a8dc2c6c627e4bd7aa423794246f5b051448d
[ "CC0-1.0" ]
null
null
null
/*************** * unicode.cpp * ***************/ /**************************************************************************** * Written By Marcio Teixeira 2019 - Aleph Objects, Inc. * * * * This program is free softwar...
30.594262
132
0.583255
[ "render", "object" ]
ca2ce20cf686a83c5b4620b857c69d758d9deabc
5,468
cpp
C++
path_planning/src/path_planning.cpp
KevinBollore/fanuc_grinding
74cb5708ece179a3161858fe00ca957ddc75823e
[ "BSD-3-Clause" ]
4
2020-01-03T06:36:45.000Z
2022-02-18T07:35:51.000Z
path_planning/src/path_planning.cpp
KevinBollore/fanuc_grinding
74cb5708ece179a3161858fe00ca957ddc75823e
[ "BSD-3-Clause" ]
null
null
null
path_planning/src/path_planning.cpp
KevinBollore/fanuc_grinding
74cb5708ece179a3161858fe00ca957ddc75823e
[ "BSD-3-Clause" ]
2
2021-09-10T03:18:28.000Z
2022-03-22T06:53:27.000Z
/************************************************ Path planner using bezier library. This file which operate path planning represents one node of the entire demonstrator ************************************************/ // ROS headers #include <ros/ros.h> #include <ros/package.h> #include <ros/service.h> #include ...
32.164706
120
0.710315
[ "vector" ]
ca2fc3760a97f6114d8ee1ed008066161f1aa8cb
16,007
cpp
C++
jerome/npc/detail/Trainer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/npc/detail/Trainer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/npc/detail/Trainer.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // Trainer.cpp // // Created by Anton Leuski on 8/1/15. // Copyright (c) 2015 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obt...
29.975655
89
0.580434
[ "object", "vector", "model" ]
ca301da32bbc8cb9659fa9e291948e873e193e45
537
cpp
C++
src/Analysers/METBinnedElectronAnalyser.cpp
jjacob/AnalysisSoftware
670513bcde9c3df46077f906246e912627ee251a
[ "Apache-2.0" ]
null
null
null
src/Analysers/METBinnedElectronAnalyser.cpp
jjacob/AnalysisSoftware
670513bcde9c3df46077f906246e912627ee251a
[ "Apache-2.0" ]
null
null
null
src/Analysers/METBinnedElectronAnalyser.cpp
jjacob/AnalysisSoftware
670513bcde9c3df46077f906246e912627ee251a
[ "Apache-2.0" ]
null
null
null
/* * METBinnedElectronAnalyser.cpp * * Created on: 3 Jul 2012 * Author: kreczko */ #include "../../interface/Analysers/METBinnedElectronAnalyser.h" namespace BAT { METBinnedElectronAnalyser::METBinnedElectronAnalyser(HistogramManagerPtr histMan, std::string histogramFolder) : BasicAnalyser(histMan, hist...
19.888889
112
0.748603
[ "vector" ]
ca322d5ada9872069480160b36459a4bd594c251
76,006
cpp
C++
.vim/sourceCode/ogre_src_v1-8-1/OgreMain/src/OgreProgressiveMesh.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
.vim/sourceCode/ogre_src_v1-8-1/OgreMain/src/OgreProgressiveMesh.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
.vim/sourceCode/ogre_src_v1-8-1/OgreMain/src/OgreProgressiveMesh.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
2
2019-05-16T08:19:45.000Z
2021-01-24T21:02:43.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2012 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
35.187963
181
0.631845
[ "mesh", "object", "shape", "vector", "model" ]
ca3b4b57491fc9dbbe28624408efb497d300b54f
16,524
cpp
C++
test/reg-test/fam-api-reg/fam_fetch_arithmetic_atomics_mt_reg_test.cpp
ssinghal53/OpenFAM
dcb276bff72b6df3087ad216a66c16d0e6d0993d
[ "BSD-3-Clause" ]
17
2019-10-21T22:46:18.000Z
2022-01-20T09:22:49.000Z
test/reg-test/fam-api-reg/fam_fetch_arithmetic_atomics_mt_reg_test.cpp
ssinghal53/OpenFAM
dcb276bff72b6df3087ad216a66c16d0e6d0993d
[ "BSD-3-Clause" ]
103
2020-02-24T22:07:56.000Z
2022-03-30T17:13:57.000Z
test/reg-test/fam-api-reg/fam_fetch_arithmetic_atomics_mt_reg_test.cpp
ssinghal53/OpenFAM
dcb276bff72b6df3087ad216a66c16d0e6d0993d
[ "BSD-3-Clause" ]
26
2019-10-12T20:33:18.000Z
2022-03-31T15:38:23.000Z
/* * fam_fetch_arithmatic_atomics_mt_reg_test.cpp * Copyright (c) 2019 Hewlett Packard Enterprise Development, LP. 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 c...
30.043636
80
0.658981
[ "model" ]
ca3dfadc9381fb6317f4072d77e473237c105ba2
17,467
cpp
C++
sensing/ahrs_ekf.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
12
2016-07-12T10:26:47.000Z
2021-12-14T10:03:11.000Z
sensing/ahrs_ekf.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
183
2015-01-22T12:35:18.000Z
2017-06-09T10:11:26.000Z
sensing/ahrs_ekf.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
25
2015-02-03T15:15:48.000Z
2021-12-14T08:55:04.000Z
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * 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. R...
34.316306
260
0.558768
[ "vector" ]
ca471954a989bb0d9dd9370c428684ff0ec40ecc
594
cpp
C++
Wrapper/Entity.cpp
AdamJHowell/CLIExample
ba4cebbb670b51f111a8fb7c0053d4fe508231c1
[ "MIT" ]
1
2022-01-21T10:16:12.000Z
2022-01-21T10:16:12.000Z
Wrapper/Entity.cpp
AdamJHowell/CLIExample
ba4cebbb670b51f111a8fb7c0053d4fe508231c1
[ "MIT" ]
null
null
null
Wrapper/Entity.cpp
AdamJHowell/CLIExample
ba4cebbb670b51f111a8fb7c0053d4fe508231c1
[ "MIT" ]
null
null
null
//Entity.cpp #include "Entity.h" namespace CLI { Entity::Entity( String^ name, int xPos, int yPos ) : ManagedObject( new Core::Entity( string_to_char_array( name ), xPos, yPos ) ) { Console::WriteLine( "Creating a new Entity-wrapper object!" ); } void Entity::Move( int deltaX, int deltaY ) { Console::Write...
23.76
81
0.681818
[ "object" ]
ca50fa960c39381c962d63da2750510f19ef02a4
3,514
cpp
C++
src/common/transformations/src/transformations/op_conversions/convert_pad_to_group_conv.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
2
2021-12-14T15:27:46.000Z
2021-12-14T15:34:16.000Z
src/common/transformations/src/transformations/op_conversions/convert_pad_to_group_conv.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
33
2021-09-23T04:14:30.000Z
2022-01-24T13:21:32.000Z
src/common/transformations/src/transformations/op_conversions/convert_pad_to_group_conv.cpp
kurylo/openvino
4da0941cd2e8f9829875e60df73d3cd01f820b9c
[ "Apache-2.0" ]
11
2021-11-09T00:51:40.000Z
2021-11-10T12:04:16.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/op_conversions/convert_pad_to_group_conv.hpp" #include <memory> #include <ngraph/opsets/opset4.hpp> #include <ngraph/pattern/op/pattern.hpp> #include <ngraph/pattern/op/wrap_type.hpp> #include <ngraph/rt_i...
37.382979
115
0.598463
[ "shape", "vector" ]
ca5176217fdbffb5533d8c5c8162fc72a299a2ca
4,085
cc
C++
epid/member/unittests/presig-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
1
2019-04-15T16:27:54.000Z
2019-04-15T16:27:54.000Z
epid/member/unittests/presig-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
null
null
null
epid/member/unittests/presig-test.cc
TinkerBoard-Android/external-epid-sdk
7d6a6b63582f241b4ae4248bab416277ed659968
[ "Apache-2.0" ]
null
null
null
/*############################################################################ # Copyright 2016-2017 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 # # ht...
34.91453
80
0.685924
[ "vector" ]
ca5401dd2553f8c00e8418abb50b1a9e5aae7521
2,439
cpp
C++
bak/N2_network.cpp
Atomtomate/sys_risk
b47cd40a7fec1305dbe70fde9b94815b41939b5c
[ "MIT" ]
null
null
null
bak/N2_network.cpp
Atomtomate/sys_risk
b47cd40a7fec1305dbe70fde9b94815b41939b5c
[ "MIT" ]
null
null
null
bak/N2_network.cpp
Atomtomate/sys_risk
b47cd40a7fec1305dbe70fde9b94815b41939b5c
[ "MIT" ]
null
null
null
/* Copyright (C) 5/23/18 Julian Stobbe - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * * You should have received a copy of the MIT license with * this file. */ #include "N2_network.hpp" void N2_network::test_N2_valuation() { //@TODO: acc std::v...
39.983607
156
0.637146
[ "vector" ]
ca5452e26c1370d956fd093fcc0b770e026e4766
5,019
cpp
C++
CustomUi/UShadowBorder.cpp
qunarcorp/startalk_pc_v2
59d873ddcd41052d9a1379a9c35cb69075fcef3c
[ "MIT" ]
30
2019-08-22T08:33:23.000Z
2022-03-15T02:04:20.000Z
CustomUi/UShadowBorder.cpp
lirui1111/startalk_pc
7d625f812e784bca68b3d6f6ffe21d383b400491
[ "MIT" ]
4
2019-12-11T08:18:55.000Z
2021-03-19T07:23:50.000Z
CustomUi/UShadowBorder.cpp
lirui1111/startalk_pc
7d625f812e784bca68b3d6f6ffe21d383b400491
[ "MIT" ]
19
2019-08-22T17:09:24.000Z
2021-08-10T08:24:39.000Z
๏ปฟ// // Created by QITMAC000260 on 2019-01-27. // #include <QtCore/QEvent> #include "UShadowBorder.h" #include <QMouseEvent> #include <QDebug> #include <QPainter> #include "UShadowWnd.h" #include "../QtUtil/Utils/Log.h" #define DEM_STYLESHEET_1 "background: qlineargradient(x1:%1, y1:%2, x2:%3, y2:%4,stop:0 rgba(181,18...
27.576923
193
0.513449
[ "geometry" ]
ca5615ca90dea9aa13b68e4a6427fbe760813b69
342
cpp
C++
LeetCodeSolutions/LeetCode_0266.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
24
2020-03-28T06:10:25.000Z
2021-11-23T05:01:29.000Z
LeetCodeSolutions/LeetCode_0266.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
null
null
null
LeetCodeSolutions/LeetCode_0266.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
8
2020-05-18T02:43:16.000Z
2021-05-24T18:11:38.000Z
/* * @lc app=leetcode.cn id=266 lang=cpp * * [266] ๅ›žๆ–‡ๆŽ’ๅˆ— */ // @lc code=start class Solution { public: bool canPermutePalindrome(string s) { vector<int> cnt(256, 0); for (auto c: s) ++cnt[c]; int odd = 0; for(auto i: cnt) if(i & 1) ++odd; return odd <= 1; ...
16.285714
41
0.491228
[ "vector" ]
3ed66f7b15cd86ae804b54305d4e56d1ab0a3e61
1,154
cpp
C++
src/Universe/World.cpp
nosmanbegovic/LogicToolboxLib
5ec347b3ea4a22759c14b1d483fd65b8d553d423
[ "MIT" ]
null
null
null
src/Universe/World.cpp
nosmanbegovic/LogicToolboxLib
5ec347b3ea4a22759c14b1d483fd65b8d553d423
[ "MIT" ]
null
null
null
src/Universe/World.cpp
nosmanbegovic/LogicToolboxLib
5ec347b3ea4a22759c14b1d483fd65b8d553d423
[ "MIT" ]
2
2020-08-11T17:17:02.000Z
2020-09-25T13:29:34.000Z
// // Created by root on 7/14/17. // #include "../../include/World.h" //Constructors and destructor World::World(string _name) : name(_name) {} World::World(const World &w) : name(w.getName()), variables(w.getVariables()), adjacentList(w.getAdjacentList()) {} //Getters and setters string World::getName() const { ret...
30.368421
115
0.70104
[ "vector" ]
3ed8db03bf4d0516dd7fe681e73c57db4c5783bd
4,874
cc
C++
inet/tests/module/lib/RoutingTableLogger.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/tests/module/lib/RoutingTableLogger.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/tests/module/lib/RoutingTableLogger.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
1
2021-07-02T13:32:40.000Z
2021-07-02T13:32:40.000Z
// // Copyright (C) 2013 Opensim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
29.719512
105
0.599713
[ "vector" ]
3ed9eab9ed0af8ae6e5c821b81eaa3fd34067105
3,816
cpp
C++
src/benchmark/pipeline_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
7
2017-02-13T11:21:21.000Z
2020-07-20T16:07:39.000Z
src/benchmark/pipeline_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
15
2016-09-11T11:14:35.000Z
2017-08-29T14:21:46.000Z
src/benchmark/pipeline_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
4
2016-10-28T16:17:08.000Z
2021-12-22T12:11:12.000Z
/** @file pipeline_benchmark.cpp * @brief Test pipeline performance */ #include <armadillo> #include <benchmark/benchmark.h> #include <load_data.h> #include <load_json_config.h> #include <stp.h> // Cmake variable #ifndef _PIPELINE_TESTPATH #define _PIPELINE_TESTPATH 0 #endif std::string data_path(_PIPELINE_DATAPA...
40.595745
151
0.759172
[ "model" ]
3edc19a093c92e5f07e67e230592aa970e948431
641
cpp
C++
progress/main.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
progress/main.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
progress/main.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
1
2021-10-01T04:27:44.000Z
2021-10-01T04:27:44.000Z
#include <iostream> #include <vector> #include <boost/progress.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/thread.hpp> using namespace std; int main() { vector<int> v(100); boost::progress_display pd(v.size()); vector<int>::iterator pos; for (pos = v.begin(); pos != v.en...
23.740741
82
0.595944
[ "vector" ]
3edcee45fb56378ed72fd1536b41191ce568ca35
827
cpp
C++
Sprite.cpp
AlparslanErol/War_Game
e18d62a30924e2831a006d5e981f407d3ce26ef8
[ "MIT" ]
1
2021-11-09T17:45:21.000Z
2021-11-09T17:45:21.000Z
Sprite.cpp
AlparslanErol/War_Game
e18d62a30924e2831a006d5e981f407d3ce26ef8
[ "MIT" ]
null
null
null
Sprite.cpp
AlparslanErol/War_Game
e18d62a30924e2831a006d5e981f407d3ce26ef8
[ "MIT" ]
null
null
null
#include"Sprite.h" Sprite::Sprite() { levelSprites = vector<shared_ptr<olc::Sprite>>(); for (int i = 0; i < 7; ++i) levelSprites.push_back(make_shared<olc::Sprite>("Sprites/Level" + to_string(i + 1) + ".png")); manSprite = shared_ptr<olc::Sprite>(); deadSprite = shared_ptr<olc::Sprite>(); zombieSprite = shared...
39.380952
96
0.70133
[ "vector" ]
3edec81de210b3a3147ab63f23d198d9ff101399
39,654
cpp
C++
RainbowNoise/src/Library/Tree.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
RainbowNoise/src/Library/Tree.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
RainbowNoise/src/Library/Tree.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* Tree.cpp Li-Yi Wei 07/09/2008 */ #include <math.h> #include "Tree.hpp" #include "SequentialCounter.hpp" #include "Exception.hpp" Tree::Tree(const DistanceField & distance_field, const ConflictChecker & conflict_checker) : _distance_field(distance_field), _conflict_checker(conflict_checker), _cell_offset(C...
24.164534
329
0.547637
[ "vector" ]
3ee5331ac2659a22e46411089a7c934c6ff01bc4
2,650
cpp
C++
fbpcs/data_processing/sharding/Sharding.cpp
joe1234wu/fbpcs
c9f57bf1b65adcbe39c6676ade5fc89e81dc5979
[ "MIT" ]
63
2021-08-18T01:50:22.000Z
2022-03-25T06:44:36.000Z
fbpcs/data_processing/sharding/Sharding.cpp
joe1234wu/fbpcs
c9f57bf1b65adcbe39c6676ade5fc89e81dc5979
[ "MIT" ]
672
2021-08-18T05:20:32.000Z
2022-03-31T23:30:13.000Z
fbpcs/data_processing/sharding/Sharding.cpp
joe1234wu/fbpcs
c9f57bf1b65adcbe39c6676ade5fc89e81dc5979
[ "MIT" ]
61
2021-08-18T20:02:30.000Z
2022-03-31T22:44:17.000Z
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "fbpcs/data_processing/sharding/Sharding.h" #include <folly/String.h> #include <folly/logging/xlog.h> #include "fbpcs/...
34.868421
78
0.710189
[ "vector" ]
3eee122381d92a9b76aed3b6b862cdb38a89fdcd
3,012
cpp
C++
src/read_obj.cpp
fniyaz/cg-template
ba4ccbf042628b60de73a90e93ec3059013a5873
[ "MIT" ]
null
null
null
src/read_obj.cpp
fniyaz/cg-template
ba4ccbf042628b60de73a90e93ec3059013a5873
[ "MIT" ]
null
null
null
src/read_obj.cpp
fniyaz/cg-template
ba4ccbf042628b60de73a90e93ec3059013a5873
[ "MIT" ]
null
null
null
#include "read_obj.h" #include <fstream> #include <sstream> #include <algorithm> ObjParser::ObjParser(std::string filename): filename(filename) { } ObjParser::~ObjParser() { } int ObjParser::Parse() { std::ifstream file(filename, std::ifstream::in); if (file.fail()) return -1; std::strin...
23.169231
114
0.499668
[ "vector" ]
3eef4bed8df65d744109eded2fa75747658dbcde
12,936
cpp
C++
src/scratch/scratch.examples.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
src/scratch/scratch.examples.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
src/scratch/scratch.examples.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
#include "global.h" #include "../pd/accessory.h" #include "tools/statclock.h" #include "tools/quote.h" #include "workspace/workspace.h" #include "workspace/segdef.h" #include "sequence/sequence.h" #include "sequence/alignment.h" #include "forcefields/ffbonded.h" #include "forcefields/breakablebonded.h" #include "f...
22.734622
114
0.681045
[ "vector", "model" ]
3ef367fca605fa4293eb4970c894f8375a4f23b1
1,041
cpp
C++
week2/day13_Contiguous_Array.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
2
2020-05-01T10:04:26.000Z
2020-05-01T11:54:40.000Z
week2/day13_Contiguous_Array.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
null
null
null
week2/day13_Contiguous_Array.cpp
stefpant/30-Day-LeetCoding-Challenge
92ff3a47152559f27203001c0aeb96515154b6e1
[ "MIT" ]
null
null
null
class Solution { public: int findMaxLength(vector<int>& nums) { unordered_map<int, int> hm; int maxLen = 0; int sum = 0; int size = nums.size(); for(int i=0; i<size; i++){ if(nums[i])//having a sum to know where subarrays have equal 0's and 1's ...
35.896552
98
0.497598
[ "vector" ]
3ef55775d1a4a27227298e6833e37a2dee59adcf
2,389
cpp
C++
MathNumberTheory/pollard_rho.cpp
drken1215/algorithm
e68bcd2056453694130f6d2e7214b16589aa417d
[ "CC0-1.0" ]
197
2018-08-19T06:49:14.000Z
2022-03-26T04:11:48.000Z
MathNumberTheory/pollard_rho.cpp
drken1215/algorithm
e68bcd2056453694130f6d2e7214b16589aa417d
[ "CC0-1.0" ]
null
null
null
MathNumberTheory/pollard_rho.cpp
drken1215/algorithm
e68bcd2056453694130f6d2e7214b16589aa417d
[ "CC0-1.0" ]
15
2018-09-14T09:15:12.000Z
2021-11-16T12:43:43.000Z
// // Pollard ใฎใƒญใƒผ็ด ๅ› ๆ•ฐๅˆ†่งฃๆณ• // // verifed // ใ‚ขใƒซใ‚ดๅผ ็•ชๅค–็ทจ๏ผšใƒใƒฉใƒผใƒ‰ใฎใƒญใƒผ็ด ๅ› ๆ•ฐๅˆ†่งฃๆณ• // https://algo-method.com/tasks/553 // #include <iostream> #include <vector> #include <cmath> #include <algorithm> using namespace std; // Miller-Rabin ็ด ๆ•ฐๅˆคๅฎšๆณ• template<class T> T pow_mod(T A, T N, T M) { T res = 1 % M; A %= M; wh...
22.12037
56
0.452072
[ "vector" ]
3ef6d404a954716664a146e03399f483c9914c2a
2,021
cc
C++
wav_util.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
3,056
2021-04-06T03:03:44.000Z
2022-03-30T11:47:37.000Z
wav_util.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
76
2021-04-06T20:26:11.000Z
2022-03-12T16:00:24.000Z
wav_util.cc
Siddhant-K-code/lyra
9721651ababfc95e7ebd4547a5cc30460d56d491
[ "Apache-2.0" ]
283
2021-04-06T09:28:16.000Z
2022-03-30T01:54:01.000Z
// Copyright 2021 Google LLC // // 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 ...
35.45614
79
0.683325
[ "vector" ]
3ef86dd4024d4f838e256f9d5e1589bbce293247
15,303
cpp
C++
reactions/src/FlowingWithTime.cpp
PedroCarrilho/ReACT
507866e9462ecf10c298fcd3e2c81249f32e7d50
[ "MIT" ]
3
2020-07-07T11:34:02.000Z
2021-07-15T12:48:05.000Z
reactions/src/FlowingWithTime.cpp
PedroCarrilho/ReACT
507866e9462ecf10c298fcd3e2c81249f32e7d50
[ "MIT" ]
11
2020-05-29T16:26:06.000Z
2022-02-07T08:59:52.000Z
reactions/src/FlowingWithTime.cpp
PedroCarrilho/ReACT
507866e9462ecf10c298fcd3e2c81249f32e7d50
[ "MIT" ]
1
2021-08-31T15:35:28.000Z
2021-08-31T15:35:28.000Z
#if HAVE_CONFIG_H # include <config.h> #endif #include <algorithm> #include <cassert> #include "FlowingWithTime.h" #include "GrowthFunction.h" #include "InterpolatedPS.h" #include "Quadrature.h" #include "ODE.h" #include <functional> using std::cref; using std::bind; /* My translation of code <-> theory: * X(0,...
35.838407
158
0.449324
[ "vector" ]
3efe051abf48e3361e1234a9eea280a0b7b1eee5
2,529
hpp
C++
geometry/packer.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
geometry/packer.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
geometry/packer.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#pragma once #include "geometry/rect2d.hpp" #include "std/list.hpp" #include "std/map.hpp" #include "std/function.hpp" #include "std/queue.hpp" #include "std/utility.hpp" #include "std/vector.hpp" namespace m2 { template <typename pair_t> struct first_less { bool operator()(pair_t const & first, pair_t co...
25.039604
140
0.689996
[ "geometry", "vector" ]
410690b10dca2f00772605be9dbaea002758390c
14,146
cpp
C++
tests/Agency/SupervisionTest.cpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
tests/Agency/SupervisionTest.cpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
tests/Agency/SupervisionTest.cpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
1
2016-03-30T14:43:34.000Z
2016-03-30T14:43:34.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
29.970339
86
0.60427
[ "object", "vector" ]
410e24f61c82dd5c0a721198f9e4db5f13b2691b
29,178
cc
C++
test/AlienBench/AlienBenchModule.cc
arcaneframework/alien_legacy_plugins
be42667ece5ad58f9ee32b7700793646bfb8551b
[ "Apache-2.0" ]
4
2021-12-02T09:06:38.000Z
2022-01-10T14:22:35.000Z
test/AlienBench/AlienBenchModule.cc
arcaneframework/alien_legacy_plugins
be42667ece5ad58f9ee32b7700793646bfb8551b
[ "Apache-2.0" ]
null
null
null
test/AlienBench/AlienBenchModule.cc
arcaneframework/alien_legacy_plugins
be42667ece5ad58f9ee32b7700793646bfb8551b
[ "Apache-2.0" ]
7
2021-11-23T14:50:58.000Z
2022-03-17T13:23:07.000Z
#include <mpi.h> #include <string> #include <map> #include <time.h> #include <vector> #include <fstream> #include <boost/timer.hpp> #include <boost/lexical_cast.hpp> #include <boost/program_options/options_description.hpp> #include <boost/program_options/parsers.hpp> #include <boost/program_options/cmdline.hpp> #inclu...
35.539586
128
0.543252
[ "mesh", "vector" ]
41145b235fdfd8f9805550aafa52adba33c5739f
8,071
cpp
C++
tests/report/host/tcbinfo.cpp
vlaza/openenclave
02ae4e48c9d3b9678cb860e2af7c2319bb043679
[ "MIT" ]
null
null
null
tests/report/host/tcbinfo.cpp
vlaza/openenclave
02ae4e48c9d3b9678cb860e2af7c2319bb043679
[ "MIT" ]
null
null
null
tests/report/host/tcbinfo.cpp
vlaza/openenclave
02ae4e48c9d3b9678cb860e2af7c2319bb043679
[ "MIT" ]
1
2021-08-17T15:37:36.000Z
2021-08-17T15:37:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifdef OE_USE_LIBSGX #include <openenclave/host.h> #include <openenclave/internal/aesm.h> #include <openenclave/internal/datetime.h> #include <openenclave/internal/error.h> #include <openenclave/internal/hexdump.h> #include...
37.193548
79
0.677859
[ "vector" ]
41177bffcfbe3d15a3ea977890f2e630ef209957
26,100
cpp
C++
src/jbmc/jbmc_parse_options.cpp
jeannielynnmoulton/cbmc
1d4af6d88ec960677170049a8a89a9166b952996
[ "BSD-4-Clause" ]
null
null
null
src/jbmc/jbmc_parse_options.cpp
jeannielynnmoulton/cbmc
1d4af6d88ec960677170049a8a89a9166b952996
[ "BSD-4-Clause" ]
1
2019-02-05T16:18:25.000Z
2019-02-05T16:18:25.000Z
src/jbmc/jbmc_parse_options.cpp
jeannielynnmoulton/cbmc
1d4af6d88ec960677170049a8a89a9166b952996
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: JBMC Command Line Option Processing Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ /// \file /// JBMC Command Line Option Processing #include "jbmc_parse_options.h" #...
27.914439
107
0.646245
[ "object", "model" ]
411bfa0858535134b5cf051e91d85311c5da8ba6
38,793
cc
C++
test/cctest/test-js-weak-refs.cc
ibraheemdev/able-script
5a5eaf12b9c410f0cd83ca05e42c9a608c9814f1
[ "BSD-3-Clause" ]
1
2021-05-05T11:52:49.000Z
2021-05-05T11:52:49.000Z
test/cctest/test-js-weak-refs.cc
libaoheng/v8
ed73693de815988a27ead2216acd7ab9955d9e92
[ "BSD-3-Clause" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
test/cctest/test-js-weak-refs.cc
libaoheng/v8
ed73693de815988a27ead2216acd7ab9955d9e92
[ "BSD-3-Clause" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.000Z
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/execution/isolate.h" #include "src/execution/microtask-queue.h" #include "src/handles/handles-inl.h" #include "src/heap/factory-inl.h" #in...
38.144543
80
0.735519
[ "object" ]
411c0e58ca07f22ddca2052aa7981dcf35d78e77
1,273
cpp
C++
PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/qmSphericalHS.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
4
2018-05-14T07:27:59.000Z
2021-12-21T04:39:21.000Z
PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/qmSphericalHS.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/externalLibs/BaseLib/motion/Retarget_JH/PmQm/qmSphericalHS.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
3
2018-01-03T06:09:21.000Z
2021-07-26T15:13:14.000Z
#include "MATHCLASS/mathclass.h" #include "qmSphericalHS.h" using namespace jhm; int QmSphericalHS::inclusion( quater const& q ) { m_real d = 2.0*ln(q * orientation.inverse()).length(); return d << angle_bound; } int QmSphericalHS::intersection( QmGeodesic const&, quater* ) { return -1; } v...
17.438356
78
0.595444
[ "vector" ]
411c9e086e3a879273055bf98de9702c1f908b8f
2,780
cpp
C++
lintcode/629.minimum-spanning-tree.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
177
2017-08-21T08:57:43.000Z
2020-06-22T03:44:22.000Z
lintcode/629.minimum-spanning-tree.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
2
2018-09-06T13:39:12.000Z
2019-06-03T02:54:45.000Z
lintcode/629.minimum-spanning-tree.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
23
2017-08-23T06:01:28.000Z
2020-04-20T03:17:36.000Z
/** * Definition for a Connection. * class Connection { * public: * string city1, city2; * int cost; * Connection(string& city1, string& city2, int cost) { * this->city1 = city1; * this->city2 = city2; * this->cost = cost; * } */ class UnionFind { vector<int> graph; int size;...
22.419355
81
0.441007
[ "vector" ]
4121742fc5a0ecf12913852e14a74313b09e6aa0
9,865
cpp
C++
lib/src/sai_redis_route.cpp
AmitKaushik7/sonic-sairedis
59e530a485bbe419f30779fe5f7058ff5bbaade8
[ "Apache-2.0" ]
null
null
null
lib/src/sai_redis_route.cpp
AmitKaushik7/sonic-sairedis
59e530a485bbe419f30779fe5f7058ff5bbaade8
[ "Apache-2.0" ]
1
2020-12-05T11:28:49.000Z
2020-12-05T11:28:49.000Z
lib/src/sai_redis_route.cpp
AmitKaushik7/sonic-sairedis
59e530a485bbe419f30779fe5f7058ff5bbaade8
[ "Apache-2.0" ]
null
null
null
#include "sai_redis.h" #include "sairedis.h" #include "meta/sai_serialize.h" #include "meta/saiattributelist.h" sai_status_t redis_dummy_create_route_entry( _In_ const sai_route_entry_t *route_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) { SWSS_LOG_ENTER(); /...
25.690104
115
0.621997
[ "object", "vector" ]
41236e2469a47f17ca29ed12479fb0ea3ecb435d
6,936
cpp
C++
src/GuiBase/Viewer/Gizmo/RotateGizmo.cpp
hoshiryu/Radium-Engine
2bc3c475a8fb1948dad84d1278bf4d61258f3cda
[ "Apache-2.0" ]
1
2021-02-03T17:47:04.000Z
2021-02-03T17:47:04.000Z
src/GuiBase/Viewer/Gizmo/RotateGizmo.cpp
hoshiryu/Radium-Engine
2bc3c475a8fb1948dad84d1278bf4d61258f3cda
[ "Apache-2.0" ]
null
null
null
src/GuiBase/Viewer/Gizmo/RotateGizmo.cpp
hoshiryu/Radium-Engine
2bc3c475a8fb1948dad84d1278bf4d61258f3cda
[ "Apache-2.0" ]
null
null
null
#include <GuiBase/Viewer/Gizmo/RotateGizmo.hpp> #include <Core/Containers/VectorArray.hpp> #include <Core/Geometry/MeshPrimitives.hpp> #include <Core/Utils/Color.hpp> #include <Engine/Renderer/Camera/Camera.hpp> #include <Engine/Renderer/Mesh/Mesh.hpp> #include <Engine/Renderer/RenderObject/RenderObject.hpp> #include...
36.505263
100
0.589821
[ "mesh", "geometry", "vector", "transform" ]
41240560a2573d4b82af13710c7b341f721a013a
5,785
cxx
C++
src/libxml/xpath.cxx
CyrilOleynik/xmlwrapp
ae8072ca5f1619535b56bea8f36464f5629f7871
[ "BSD-3-Clause" ]
27
2015-07-06T06:42:57.000Z
2022-02-04T01:21:55.000Z
src/libxml/xpath.cxx
CyrilOleynik/xmlwrapp
ae8072ca5f1619535b56bea8f36464f5629f7871
[ "BSD-3-Clause" ]
44
2015-04-02T15:04:08.000Z
2021-07-25T16:15:20.000Z
src/libxml/xpath.cxx
CyrilOleynik/xmlwrapp
ae8072ca5f1619535b56bea8f36464f5629f7871
[ "BSD-3-Clause" ]
8
2015-01-21T04:25:52.000Z
2022-03-26T03:50:41.000Z
/* * Copyright (C) 2011 Jonas Weber (mail@jonasw.de) * 2013 Vaclav Slavik <vslavik@gmail.com> * All Rights Reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of so...
29.666667
105
0.705618
[ "object" ]
4124dc8b59e6df3cf213689aa105e22eec1e10f0
4,269
cpp
C++
cpp/until20/thread/main.cpp
lonelyhentai/workspace
2a996af58d6b9be5d608ed040267398bcf72403b
[ "MIT" ]
2
2021-04-26T16:37:38.000Z
2022-03-15T01:26:19.000Z
cpp/until20/thread/main.cpp
lonelyhentai/workspace
2a996af58d6b9be5d608ed040267398bcf72403b
[ "MIT" ]
null
null
null
cpp/until20/thread/main.cpp
lonelyhentai/workspace
2a996af58d6b9be5d608ed040267398bcf72403b
[ "MIT" ]
1
2022-03-15T01:26:23.000Z
2022-03-15T01:26:23.000Z
#include <iostream> #include <thread> #include <mutex> #include <future> #include <chrono> #include <queue> #include <condition_variable> #include <atomic> #define let const auto int main() { { std::thread t([]() { std::cout << "hello world." << std::endl; }); t.join(); } { int32_t v = 1; let cri...
19.763889
87
0.54884
[ "vector" ]
4130a7ff6301ece7c99d0ea4ec5d11f9168261b0
28,613
cpp
C++
tools/animator/src/animator.cpp
anteins/Blunted2
284a1fb59805914af1ee0dc763ff022fb088a922
[ "Unlicense" ]
null
null
null
tools/animator/src/animator.cpp
anteins/Blunted2
284a1fb59805914af1ee0dc763ff022fb088a922
[ "Unlicense" ]
null
null
null
tools/animator/src/animator.cpp
anteins/Blunted2
284a1fb59805914af1ee0dc763ff022fb088a922
[ "Unlicense" ]
null
null
null
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #include "animator.hpp" #include "managers/usereventmanager.h...
41.408104
219
0.645056
[ "geometry", "object", "vector" ]
4132615e8abdd63c3006b38f02d66a86fd601723
6,332
cpp
C++
cdb/src/v20170320/model/DescribeDBInstanceConfigResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdb/src/v20170320/model/DescribeDBInstanceConfigResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdb/src/v20170320/model/DescribeDBInstanceConfigResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
30.152381
122
0.67909
[ "object", "model" ]
413449dc87b490672a9d046a3da2b7f1d92924d9
18,968
cpp
C++
src/surfrecon.cpp
gnayuy/surfrecon
9fee6d905ed80fc991a924332da09adf7a32c672
[ "BSD-3-Clause" ]
2
2017-04-20T04:40:33.000Z
2021-02-03T07:30:01.000Z
src/surfrecon.cpp
gnayuy/surfrecon
9fee6d905ed80fc991a924332da09adf7a32c672
[ "BSD-3-Clause" ]
1
2016-08-02T21:10:52.000Z
2022-03-28T08:28:54.000Z
src/surfrecon.cpp
gnayuy/surfrecon
9fee6d905ed80fc991a924332da09adf7a32c672
[ "BSD-3-Clause" ]
1
2017-05-22T01:16:34.000Z
2017-05-22T01:16:34.000Z
// surfrecon: to reconstruct a surface from a point cloud and voxelization // Yang Yu (gnayuy@gmail.com) // #include "surfrecon.h" // Surf::Surf() { } Surf::~Surf() { } void Surf::setPoints(VoxelSet pointcloud) { points.clear(); for(int i=0; i<pointcloud.size(); i++) { points.push_back(Poin...
32.873484
160
0.549557
[ "mesh", "object", "vector", "3d" ]
413b4ae3d16098984095e8ca9257e0db2f3e3339
4,668
cpp
C++
src/client/client_engine.cpp
BinaryDrag0n/open-builder
9222a476661123d044fd6df4ad2f63a6e33c72e5
[ "MIT" ]
null
null
null
src/client/client_engine.cpp
BinaryDrag0n/open-builder
9222a476661123d044fd6df4ad2f63a6e33c72e5
[ "MIT" ]
null
null
null
src/client/client_engine.cpp
BinaryDrag0n/open-builder
9222a476661123d044fd6df4ad2f63a6e33c72e5
[ "MIT" ]
null
null
null
#include "client_engine.h" #include "client_config.h" #include "client_state_controller.h" #include "game.h" #include "gl/framebuffer.h" #include "gl/gl_errors.h" #include "gl/primitive.h" #include "gl/vertex_array.h" #include "gui/gui_system.h" #include "gui/widget/label_widget.h" #include "input/input_state.h" #incl...
27.298246
81
0.569623
[ "render" ]
413ba7532406e32a43a90d5bf501c73122b5447b
10,715
hpp
C++
HugeCTR/include/tensor2.hpp
Chunshuizhao/HugeCTR
085b2e8ad2abaee5578e7bf43b8394d0b8473b58
[ "Apache-2.0" ]
null
null
null
HugeCTR/include/tensor2.hpp
Chunshuizhao/HugeCTR
085b2e8ad2abaee5578e7bf43b8394d0b8473b58
[ "Apache-2.0" ]
null
null
null
HugeCTR/include/tensor2.hpp
Chunshuizhao/HugeCTR
085b2e8ad2abaee5578e7bf43b8394d0b8473b58
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA 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 law ...
32.371601
100
0.706486
[ "vector" ]
4140670e8030cbd2479d44269630aff45de7572a
5,879
cpp
C++
Simple_Matrix/Source.cpp
RemusRomulus/Simple-Matrix
7cf94470551fd3c0ef10b11211e388b46b725977
[ "CC0-1.0" ]
null
null
null
Simple_Matrix/Source.cpp
RemusRomulus/Simple-Matrix
7cf94470551fd3c0ef10b11211e388b46b725977
[ "CC0-1.0" ]
null
null
null
Simple_Matrix/Source.cpp
RemusRomulus/Simple-Matrix
7cf94470551fd3c0ef10b11211e388b46b725977
[ "CC0-1.0" ]
null
null
null
#include <iomanip> #include <vector> #include <cmath> #include <iostream> // 0 1 2 3 // 4 5 6 7 // 8 9 10 11 // 12 13 14 15 // This Deals with strictly square matrices template <typename T> class Matrix { public: Matrix() { data = { 0 }; } Matrix(std::vector<T> &rhs) : data(rhs) { data = rhs; if (!t...
22.611538
114
0.565232
[ "vector" ]
4140d9a044f339b5a18862e2be2336334aa230d3
5,474
cpp
C++
03_Tutorial/T02_XMCocos2D-CookBook/Source/Recipes/Ch2_DPad.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T02_XMCocos2D-CookBook/Source/Recipes/Ch2_DPad.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T02_XMCocos2D-CookBook/Source/Recipes/Ch2_DPad.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File Ch2_DPad.cpp * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * Created By Nate Burba * Contact Cocos2dCookbook@gmail.com * * ------------------------...
32.390533
111
0.643223
[ "vector" ]
414206afca9790b88c4e1499c12d1f33604d4029
5,154
cpp
C++
source/backend/vulkan/execution/VulkanDeconvolutionDepthwise.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
3
2019-12-27T01:10:32.000Z
2021-05-14T08:10:40.000Z
source/backend/vulkan/execution/VulkanDeconvolutionDepthwise.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
10
2019-07-04T01:40:13.000Z
2019-10-30T02:38:42.000Z
source/backend/vulkan/execution/VulkanDeconvolutionDepthwise.cpp
stephehuang/MNN
e8d9ee89aca3e8247745fb89b338eca2ad9b583d
[ "Apache-2.0" ]
1
2019-12-06T06:53:51.000Z
2019-12-06T06:53:51.000Z
// // VulkanDeconvolutionDepthwise.cpp // MNN // // Created by MNN on 2019/01/31. // Copyright ยฉ 2018, Alibaba Group Holding Limited // #include "backend/vulkan/execution/VulkanDeconvolutionDepthwise.hpp" #include "core/Macro.h" namespace MNN { VulkanDeconvolutionDepthwise::VulkanDeconvolutionDepthwise(Backend* bn...
45.210526
134
0.635041
[ "vector" ]
414a6af6f32ec8de26422ff19cd08e6ab5fb5b72
7,328
cpp
C++
Cpp/SDK/BP_EnemyScalingSpawn_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/BP_EnemyScalingSpawn_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/BP_EnemyScalingSpawn_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
47.277419
326
0.768968
[ "object" ]
414e82c6aff19a4081cc10ecc02963ad394de84e
2,122
cpp
C++
src/Kmer_Bias.cpp
waltno/ArchR
e4d72c1b79abf7541ea10d4711c81626bf36f09e
[ "MIT" ]
214
2020-04-22T19:09:20.000Z
2022-03-31T09:50:49.000Z
src/Kmer_Bias.cpp
waltno/ArchR
e4d72c1b79abf7541ea10d4711c81626bf36f09e
[ "MIT" ]
741
2020-04-22T23:57:03.000Z
2022-03-31T15:36:07.000Z
src/Kmer_Bias.cpp
waltno/ArchR
e4d72c1b79abf7541ea10d4711c81626bf36f09e
[ "MIT" ]
83
2020-04-23T19:29:01.000Z
2022-03-25T18:00:14.000Z
#include <Rcpp.h> using namespace Rcpp; using namespace std; // [[Rcpp::export]] IntegerVector kmerIdxCpp(const std::string& str, const int window, const int n, CharacterVector &kmer){ CharacterVector result( window ); for ( int j = 0; j < window; j++ ){ result[j] = str.substr( j, n ); } IntegerVector out...
21.434343
158
0.604147
[ "vector" ]
a991bcb36ce19fc45245b6f812f57a207b8796be
454
cpp
C++
kattis_done/datum.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/datum.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/datum.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { time_t rawtime; int d, m; cin >> d >> m; vector<string> dd { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; struct tm * t; time ( &rawtime ); t = localtime ( &ra...
23.894737
63
0.506608
[ "vector" ]
a99668dcf48694cd5e7622df61c631c5501c9509
10,529
cpp
C++
android/library/WhirlyGlobeLib/src/BillboardManager.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
2
2019-05-16T18:52:21.000Z
2020-10-10T14:08:53.000Z
android/library/WhirlyGlobeLib/src/BillboardManager.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
null
null
null
android/library/WhirlyGlobeLib/src/BillboardManager.cpp
freebird-airlines/WhirlyGlobe
3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4
[ "Apache-2.0" ]
1
2020-10-22T12:09:24.000Z
2020-10-22T12:09:24.000Z
/* * BillboardManager.cpp * WhirlyGlobeLib * * Created by jmnavarro * Copyright 2011-2016 mousebird consulting * * 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.a...
33.110063
216
0.645265
[ "vector" ]
a9968ea848851e05d21d07f4a396d25da9c5cd93
916
cpp
C++
Data_structures/Priority Queue/Argus.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
Data_structures/Priority Queue/Argus.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
Data_structures/Priority Queue/Argus.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef vector <int> vi; typedef pair<int, int> ii; class satvik { public: bool operator() (ii a, ii b) { if(a.second > b.second) return true; if(a.second == b.second && a.first > b.first) return true; return false; } }; int main(){ ios...
21.302326
66
0.498908
[ "vector" ]
a99b970afafe04312cd7c28098c5e68a2fc4aab5
3,011
cpp
C++
training/Codeforces/123D.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
training/Codeforces/123D.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
null
null
null
training/Codeforces/123D.cpp
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// written at 19:27 on 18 Mar 2017 #include <bits/stdc++.h> #define IOS std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cout.tie(nullptr); // #define __DEBUG__ #ifdef __DEBUG__ #define DEBUG(...) printf(__VA_ARGS__) #else #define DEBUG(...) #endif #define filename "" #define setfile() freopen(fil...
28.40566
118
0.473265
[ "vector" ]
a9ab9562edddf4fa4ff5d1f5bc9e2b454ee17df4
21,864
cpp
C++
TowerDefense/Intermediate/Plugins/NativizedAssets/Windows/Game/Intermediate/Build/Win64/UE4/Inc/NativizedAssets/EnemyDamagePopup__pf3166771619.gen.cpp
Samuel-Rubin621/CS498
ab045b5bd888e0a0a61faccc11ed8f8a56e8219e
[ "CC0-1.0" ]
null
null
null
TowerDefense/Intermediate/Plugins/NativizedAssets/Windows/Game/Intermediate/Build/Win64/UE4/Inc/NativizedAssets/EnemyDamagePopup__pf3166771619.gen.cpp
Samuel-Rubin621/CS498
ab045b5bd888e0a0a61faccc11ed8f8a56e8219e
[ "CC0-1.0" ]
null
null
null
TowerDefense/Intermediate/Plugins/NativizedAssets/Windows/Game/Intermediate/Build/Win64/UE4/Inc/NativizedAssets/EnemyDamagePopup__pf3166771619.gen.cpp
Samuel-Rubin621/CS498
ab045b5bd888e0a0a61faccc11ed8f8a56e8219e
[ "CC0-1.0" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ========================================================================...
76.985915
844
0.853
[ "object" ]
a9ae070245d9572921ffeda3c6fc1e4f985e7817
3,096
cpp
C++
visr_bear/pythonwrappers/dynamic_renderer.cpp
ebu/bear
0e4c4f33dfaea9b7c64991515177eb2099887a5a
[ "Apache-2.0" ]
14
2022-02-01T16:28:53.000Z
2022-02-11T11:24:59.000Z
visr_bear/pythonwrappers/dynamic_renderer.cpp
ebu/bear
0e4c4f33dfaea9b7c64991515177eb2099887a5a
[ "Apache-2.0" ]
1
2022-03-03T06:49:47.000Z
2022-03-15T13:10:43.000Z
visr_bear/pythonwrappers/dynamic_renderer.cpp
ebu/bear
0e4c4f33dfaea9b7c64991515177eb2099887a5a
[ "Apache-2.0" ]
null
null
null
#include "dynamic_renderer.hpp" #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include "array_conversion.hpp" #include "boost_variant.hpp" #include "config_impl.hpp" namespace bear { namespace python { namespace py = pybind11; void export_dynamic_renderer(pybind11::module &m) { using namespa...
40.207792
105
0.617571
[ "vector" ]
a9b7687d40fb3b5bf5e36eeccbc530ac404ef842
6,574
cc
C++
examples/kuka_iiwa_arm/kuka_torque_controller.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
32
2019-04-15T03:10:26.000Z
2022-03-28T17:27:03.000Z
examples/kuka_iiwa_arm/kuka_torque_controller.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
157
2019-02-21T03:13:57.000Z
2022-03-09T19:13:59.000Z
examples/kuka_iiwa_arm/kuka_torque_controller.cc
Brian-Acosta/dairlib
88da55d6e4378b93a787f3587d08b8a60f2f03f0
[ "BSD-3-Clause" ]
22
2019-03-02T22:31:42.000Z
2022-03-10T21:28:50.000Z
// A rewrite of Drake's kuka_torque_controller updated with a MultiBodyPlant. #include <utility> #include <vector> #include "drake/systems/controllers/inverse_dynamics.h" #include "drake/systems/controllers/pid_controller.h" #include "drake/systems/framework/diagram_builder.h" #include "drake/systems/framework/leaf_sy...
37.352273
97
0.69927
[ "vector" ]