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
52a835b6b70b5485876c5481d0f550e79d142463
1,701
hpp
C++
src/shader_program_manager.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
3
2019-09-16T01:42:10.000Z
2021-11-28T02:58:42.000Z
src/shader_program_manager.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/shader_program_manager.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
2
2020-01-28T23:33:00.000Z
2021-11-08T06:14:41.000Z
#pragma once #include "shader.hpp" #include <vector> using shader_handle = std::vector<shader>::size_type; //Object pool for shader programs class shader_program_manager { std::vector<shader> shaders; std::vector<size_t> unallocated_shaders; static shader_program_manager* manager; public: static constexpr...
29.327586
94
0.731335
[ "object", "vector" ]
52aa3b366dfa067da28bb4ffcdab7e198eba547a
12,844
cpp
C++
polytracker/src/dfsan_sources/taint_sources.cpp
RiS3-Lab/polytracker
2ea047738717ff0c22e3b157934667c9ed84fa6f
[ "Apache-2.0" ]
null
null
null
polytracker/src/dfsan_sources/taint_sources.cpp
RiS3-Lab/polytracker
2ea047738717ff0c22e3b157934667c9ed84fa6f
[ "Apache-2.0" ]
1
2020-09-01T15:58:13.000Z
2021-01-18T16:24:56.000Z
polytracker/src/dfsan_sources/taint_sources.cpp
RiS3-Lab/polytracker
2ea047738717ff0c22e3b157934667c9ed84fa6f
[ "Apache-2.0" ]
null
null
null
#include "dfsan/dfsan_log_mgmt.h" #include <algorithm> #include <assert.h> #include <fcntl.h> #include <iostream> #include <mutex> #include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <sys/mman.h> #include <sys/stat.h> #includ...
32.352645
80
0.600747
[ "vector" ]
52ad9a6b549fa712399959c07229760734e8a0e2
2,197
hpp
C++
src/rayquery.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
253
2019-12-03T13:56:46.000Z
2022-03-30T23:05:07.000Z
src/rayquery.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
15
2020-12-15T01:58:58.000Z
2022-02-02T19:49:44.000Z
src/rayquery.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
15
2019-12-07T11:03:09.000Z
2022-02-28T02:03:56.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. 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...
32.791045
162
0.72508
[ "vector" ]
52b37d509c1712c3d7dee4cdf9e29aba4bf667cc
6,061
hpp
C++
include/modprop/neural/FullyConnectedNet.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
1
2017-11-10T00:54:53.000Z
2017-11-10T00:54:53.000Z
include/modprop/neural/FullyConnectedNet.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
include/modprop/neural/FullyConnectedNet.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
#pragma once #include "modprop/neural/NullActivation.hpp" #include "modprop/compo/Interfaces.h" #include "modprop/compo/Parametric.hpp" #include <sstream> namespace percepto { // TODO Have a nicer interface for pulling the entire network configuration, // not just the parameter vector template <template<typename> c...
24.738776
88
0.680746
[ "vector" ]
52b7dbb3b92dab746f23ac47f6746d0fcca2759d
4,131
cpp
C++
dataProvider/dmProvider.cpp
lgirdk/rtmessage
c0fe7a41990220a962c3bae6ed04f650e88ec6d1
[ "Apache-2.0" ]
null
null
null
dataProvider/dmProvider.cpp
lgirdk/rtmessage
c0fe7a41990220a962c3bae6ed04f650e88ec6d1
[ "Apache-2.0" ]
null
null
null
dataProvider/dmProvider.cpp
lgirdk/rtmessage
c0fe7a41990220a962c3bae6ed04f650e88ec6d1
[ "Apache-2.0" ]
3
2021-04-23T04:31:50.000Z
2022-02-15T05:28:20.000Z
/* ########################################################################## # If not stated otherwise in this file or this component's LICENSE # file the following copyright and licenses apply: # # Copyright 2019 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this...
26.312102
102
0.637618
[ "vector" ]
52bd0b5e38bb496cc53b54d1bfbcf7e52da9fb2c
18,918
hh
C++
third-party/gecode/gecode/search.hh
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
12
2015-12-04T05:59:12.000Z
2020-08-01T00:33:30.000Z
third-party/gecode/gecode/search.hh
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
1
2020-10-04T19:41:26.000Z
2020-10-04T19:41:26.000Z
third-party/gecode/gecode/search.hh
PetterS/easy-IP
d57607333b9844a32723db5e1d748b9eeb4fb2a2
[ "BSD-2-Clause" ]
6
2016-04-10T20:31:03.000Z
2020-10-04T06:13:27.000Z
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * Guido Tack <tack@gecode.org> * * Copyright: * Christian Schulte, 2002 * Guido Tack, 2004 * * Last modified: * $Date: 2013-10-30 15:42:34 +0100 (on, 30 okt 2013...
30.562197
104
0.673908
[ "object" ]
1ec4a1cebf250ff4f4895cf56473bcd68eb830db
409,694
cc
C++
src/parser/seclang-scanner.cc
mlosapio/ModSecurity
e9dce44f6a51d4631f0f8c8587738abf55db48b1
[ "Apache-2.0" ]
1
2020-08-25T10:39:54.000Z
2020-08-25T10:39:54.000Z
src/parser/seclang-scanner.cc
mlosapio/ModSecurity
e9dce44f6a51d4631f0f8c8587738abf55db48b1
[ "Apache-2.0" ]
null
null
null
src/parser/seclang-scanner.cc
mlosapio/ModSecurity
e9dce44f6a51d4631f0f8c8587738abf55db48b1
[ "Apache-2.0" ]
1
2022-01-07T01:36:47.000Z
2022-01-07T01:36:47.000Z
#line 2 "seclang-scanner.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ /* %not-for-header */ /* %if-c-only */ /* %if-not-reentrant */ /* %endif */ /* %endif */ /* %ok-for-header */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 #define YY_FLE...
42.245205
226
0.597941
[ "object", "vector" ]
1ec4ee74ec694b39bc42a1acaa54c5dc26be4636
7,416
hpp
C++
include/operon/core/pset.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2019-10-29T09:36:18.000Z
2020-08-17T08:31:37.000Z
include/operon/core/pset.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2020-04-24T20:02:56.000Z
2020-10-14T10:07:18.000Z
include/operon/core/pset.hpp
ivor-dd/operon
57775816304b5df7a2f64e1505693a1fdf17a2fe
[ "MIT" ]
3
2020-01-29T05:36:03.000Z
2020-05-31T06:48:52.000Z
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: Copyright 2019-2022 Heal Research #ifndef OPERON_PSET_HPP #define OPERON_PSET_HPP #include <robin_hood.h> #include "contracts.hpp" #include "node.hpp" namespace Operon { class PrimitiveSet { using Primitive = std::tuple< Node, size_t, /...
33.863014
165
0.618528
[ "vector" ]
1ec5f02a3b5f20c2db34564571475f82029916c2
3,226
cpp
C++
src/Engine/PieceTypes/TenjikuShogi/FreeEagle.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
4
2015-12-24T04:52:48.000Z
2021-11-09T11:31:36.000Z
src/Engine/PieceTypes/TenjikuShogi/FreeEagle.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
src/Engine/PieceTypes/TenjikuShogi/FreeEagle.cpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // Name: FreeEagle.cpp // Description: Implementation for a class that represents a free eagle // Created: 08/31/2004 09:47:55 Eastern Daylight Time // Last Updated: $Date: 2004/09/18 22:23:06 $ // Revision: $Revision: 1.1 $ ...
33.957895
92
0.571296
[ "vector" ]
1ec8a8e84cd5ee1ec3c9681e43409fdb7dd7695e
1,308
hh
C++
source/blender/blenkernel/BKE_volume_to_mesh.hh
raksa/blender
9929eab67430ca4d291651f0f8bdd47fbce8c5d0
[ "Naumen", "Condor-1.1", "MS-PL" ]
365
2015-02-10T15:10:55.000Z
2022-03-03T15:50:51.000Z
source/blender/blenkernel/BKE_volume_to_mesh.hh
raksa/blender
9929eab67430ca4d291651f0f8bdd47fbce8c5d0
[ "Naumen", "Condor-1.1", "MS-PL" ]
45
2015-01-09T15:34:20.000Z
2021-10-05T14:44:23.000Z
source/blender/blenkernel/BKE_volume_to_mesh.hh
raksa/blender
9929eab67430ca4d291651f0f8bdd47fbce8c5d0
[ "Naumen", "Condor-1.1", "MS-PL" ]
172
2015-01-25T15:16:53.000Z
2022-01-31T08:25:36.000Z
/* * 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 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
29.727273
74
0.707951
[ "mesh" ]
1ed988ee348b57c1d16e9f19fab4e96777de7652
4,014
cpp
C++
fdbcli/LockCommand.actor.cpp
akashhansda/foundationdb
ad98d6479992d2fcf1f89ff59d20945479a54cf1
[ "Apache-2.0" ]
1
2022-02-23T07:17:32.000Z
2022-02-23T07:17:32.000Z
fdbcli/LockCommand.actor.cpp
akashhansda/foundationdb
ad98d6479992d2fcf1f89ff59d20945479a54cf1
[ "Apache-2.0" ]
null
null
null
fdbcli/LockCommand.actor.cpp
akashhansda/foundationdb
ad98d6479992d2fcf1f89ff59d20945479a54cf1
[ "Apache-2.0" ]
1
2022-03-01T12:28:03.000Z
2022-03-01T12:28:03.000Z
/* * LockCommand.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2022 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
33.173554
119
0.70578
[ "vector" ]
1edb7d3f0a41c908319a9e1bcb68c97dc1c4f445
788,571
cpp
C++
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs115.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs115.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs115.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.Dictionary`2<System.UInt32,Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource> struct ...
44.866352
558
0.824115
[ "object" ]
1ee4e3f9b406fc40c52ba9d6fd1d10efc1b8b5f1
9,984
cpp
C++
src/cckGlobe.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
1
2015-10-02T17:00:18.000Z
2015-10-02T17:00:18.000Z
src/cckGlobe.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
null
null
null
src/cckGlobe.cpp
frmr/cck
0528157c6439057077547418c22e7977927c29f7
[ "MIT" ]
null
null
null
#include "cckGlobe.h" #include "cckMath.h" #include <cmath> #include <limits> #include <map> double cck::Globe::CalculateMountainHeight( const double segmentHeight, const double mountainHeight, const double radius, const double plateau, const double distance ) { //return segmentHeight + ( ( mountainHei...
33.169435
200
0.561899
[ "vector" ]
1ee92f49328373fdc9c0fa9e9d642e1678aa122b
14,255
cpp
C++
tests/AST.cpp
drivehappy/marklar
1fb973316cd7415f1373320d90e08af7ee53adac
[ "MIT" ]
null
null
null
tests/AST.cpp
drivehappy/marklar
1fb973316cd7415f1373320d90e08af7ee53adac
[ "MIT" ]
null
null
null
tests/AST.cpp
drivehappy/marklar
1fb973316cd7415f1373320d90e08af7ee53adac
[ "MIT" ]
null
null
null
#include "catch.hpp" #include <parser.h> #include <map> #include <string> #include <tuple> #include <boost/variant/get.hpp> using namespace marklar; using namespace parser; using namespace std; TEST_CASE("ASTTest_BasicFunction") { const auto testProgram = "i32 main() {" "}"; base_expr_node root; REQUIRE(pa...
24.367521
83
0.660821
[ "vector" ]
1ef0a52b99d6d86e51e6fe8aa9a346e05a934274
5,008
cc
C++
chromium/chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/strings/stringprintf.h" #include "chrome/common/safe_browsing/safebrowsing_messages.h" #include "chrome/renderer/safe_browsing/threat_d...
38.229008
78
0.645168
[ "vector" ]
1ef2373592f5dc0623b6abccfaeeb15405992743
5,999
cc
C++
lib/second_hit_admission.cc
VerizonDigital/edgecast_caching_emulator
34b11671abf231a369bf55a79a97723b2143fb35
[ "Apache-2.0" ]
10
2018-08-22T15:30:53.000Z
2021-05-09T18:08:47.000Z
lib/second_hit_admission.cc
VerizonDigital/edgecast_caching_emulator
34b11671abf231a369bf55a79a97723b2143fb35
[ "Apache-2.0" ]
1
2019-02-04T19:42:32.000Z
2019-02-04T19:42:32.000Z
lib/second_hit_admission.cc
VerizonDigital/edgecast_caching_emulator
34b11671abf231a369bf55a79a97723b2143fb35
[ "Apache-2.0" ]
5
2018-08-16T23:27:23.000Z
2021-06-21T18:00:43.000Z
// Copyright 2021 Edgecast Inc // Licensed under the terms of the Apache 2.0 open source license // See LICENSE file for terms. /* * Second Hit Caching Cache Admission Policy * */ #include <algorithm> #include <string> #include <sstream> #include <vector> #include "bloomfilter.h" #include "cache_policy.h" #include...
28.164319
94
0.590598
[ "vector" ]
1ef36dd70292f633cad06ae8b40345897419e845
490
cpp
C++
test/unit/library/WrongContainers.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
3
2020-10-18T15:37:38.000Z
2020-10-26T16:07:51.000Z
test/unit/library/WrongContainers.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
51
2020-11-11T10:12:16.000Z
2021-07-05T14:25:20.000Z
test/unit/library/WrongContainers.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
1
2021-04-15T16:06:59.000Z
2021-04-15T16:06:59.000Z
// RUN: rm %t1.ast.json || true // RUN: %clangxx %s -emit-ast -o %t1.ast // RUN: %cxx-langstat --analyses=cla -emit-features -in %t1.ast -out %t1.ast.json -- // RUN: diff %t1.ast.json %s.json // Test to check that only standard library vector is matched // // #include <vector> namespace n { template<typename T> ...
19.6
84
0.626531
[ "vector" ]
1ef7609db65b50231c2a6ece9dc12a5240adac5d
1,077
cpp
C++
src/EntityList.cpp
EXLER/EXray
872b70d7ed410567687cc4cf19c1af14830d9dba
[ "MIT" ]
null
null
null
src/EntityList.cpp
EXLER/EXray
872b70d7ed410567687cc4cf19c1af14830d9dba
[ "MIT" ]
null
null
null
src/EntityList.cpp
EXLER/EXray
872b70d7ed410567687cc4cf19c1af14830d9dba
[ "MIT" ]
null
null
null
#include "EntityList.hpp" EntityList::EntityList() {} EntityList::EntityList(Entity::ptr object) { add(object); } void EntityList::clear() { _objects.clear(); } void EntityList::add(Entity::ptr object) { _objects.push_back(object); } bool EntityList::hit(const Ray &r, float t_min, float t_max, HitRecord ...
19.944444
88
0.604457
[ "object" ]
1efd4d39bd9ae36ba49f968f2e2fbd5a985a22d4
489
cpp
C++
simulation_core/simulation-core_test/vectorhelpertest.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
2
2021-12-06T08:05:12.000Z
2022-03-22T13:56:38.000Z
simulation_core/simulation-core_test/vectorhelpertest.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
null
null
null
simulation_core/simulation-core_test/vectorhelpertest.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
1
2022-03-29T12:46:37.000Z
2022-03-29T12:46:37.000Z
#include "vectorhelpertest.h" /** * @brief VectorHelperTest::VectorHelperTest */ VectorHelperTest::VectorHelperTest() { } void VectorHelperTest::initTestCase() { // } /** * @brief VectorHelperTest::testShiftVector */ void VectorHelperTest::testShiftVector() { std::vector<double> testVec = {1.0, 2.0, 3.0, ...
21.26087
73
0.676892
[ "vector" ]
1effb31b3c8eb7b2bf0d07297b8f8dea8bd46264
3,940
cpp
C++
ArtGalleryProblem_solution/source/Triangulate.cpp
shivu926/NTU-Research
9731b672bb7866989017dd4c51e27ef7724f18cc
[ "Apache-2.0" ]
1
2021-11-13T19:09:01.000Z
2021-11-13T19:09:01.000Z
ArtGalleryProblem_solution/source/Triangulate.cpp
shivu926/NTU-Research
9731b672bb7866989017dd4c51e27ef7724f18cc
[ "Apache-2.0" ]
null
null
null
ArtGalleryProblem_solution/source/Triangulate.cpp
shivu926/NTU-Research
9731b672bb7866989017dd4c51e27ef7724f18cc
[ "Apache-2.0" ]
null
null
null
#include "Triangulate.h" /* Puts vertices of triangulation of polygon into result */ bool Triangulate::Process(vector<AGVector> &polygon, vector<AGVector *> &result) { result.clear(); int n = polygon.size(); if (n < 3) return false; vector<AGVector *> workingPoly; // need to ensure that we trav...
27.746479
105
0.601523
[ "vector" ]
4800f941160d58b38c767ee49019062a94a2e00f
21,321
cpp
C++
test/avx256/simd_sort_test.cpp
PatwinchIR/ultra-sort
09fa26c3c77cb31b98031bdf1f76c54361d75b8e
[ "MIT" ]
30
2018-05-08T23:05:34.000Z
2022-02-15T13:45:44.000Z
test/avx256/simd_sort_test.cpp
PatwinchIR/ultra-sort
09fa26c3c77cb31b98031bdf1f76c54361d75b8e
[ "MIT" ]
2
2018-08-03T15:01:40.000Z
2019-01-11T23:09:17.000Z
test/avx256/simd_sort_test.cpp
PatwinchIR/ultra-sort
09fa26c3c77cb31b98031bdf1f76c54361d75b8e
[ "MIT" ]
1
2020-02-10T16:05:14.000Z
2020-02-10T16:05:14.000Z
#include "metrics/cycletimer.h" #include "gtest/gtest.h" #include "test_util.h" #include "avx256/simd_sort.h" #include <algorithm> #include <iterator> #include "ips4o.hpp" #include "pdqsort.h" namespace avx2 { TEST(SIMDSortTests, AVX256SIMDSort32BitIntegerTest) { size_t N = NNUM; int lo = LO; int hi = HI; int ...
32.013514
106
0.642887
[ "vector" ]
48010edaf2aaca19f2f3268496e3b9795d729875
3,828
cpp
C++
aws-cpp-sdk-voice-id/source/model/ConflictType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-voice-id/source/model/ConflictType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-voice-id/source/model/ConflictType.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/voice-id/model/ConflictType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; ...
36.113208
138
0.652299
[ "model" ]
4801b1ff59b8cef0c8a6fd772dfcccffaed9607a
5,871
cpp
C++
src/SharedDVFSManager.cpp
wilseypa/warped
8842cf88b11213b6b69e53de5e969c4e3c2c8bd5
[ "MIT" ]
12
2015-03-13T09:58:25.000Z
2021-09-23T11:48:42.000Z
src/SharedDVFSManager.cpp
wilseypa/warped
8842cf88b11213b6b69e53de5e969c4e3c2c8bd5
[ "MIT" ]
1
2015-12-09T05:21:44.000Z
2015-12-17T19:37:12.000Z
src/SharedDVFSManager.cpp
wilseypa/warped
8842cf88b11213b6b69e53de5e969c4e3c2c8bd5
[ "MIT" ]
null
null
null
#include <iostream> // for basic_ostream::operator<<, etc #include "CommunicationManager.h" // for CommunicationManager #include "KernelMessage.h" // for KernelMessage #include "SharedDVFSManager.h" #include "UsefulWorkMessage.h" // for UsefulWorkMessage, etc #include "w...
38.880795
95
0.535343
[ "vector" ]
480446bb8b7fc140ed6e54568cd4dc3d8a9c520a
1,397
cpp
C++
src/onyx/audio/AudioSource.cpp
thebigcx/Onyx
e063fc7d1c463907ddd60e48cc82d3e533f1e887
[ "Apache-2.0" ]
null
null
null
src/onyx/audio/AudioSource.cpp
thebigcx/Onyx
e063fc7d1c463907ddd60e48cc82d3e533f1e887
[ "Apache-2.0" ]
null
null
null
src/onyx/audio/AudioSource.cpp
thebigcx/Onyx
e063fc7d1c463907ddd60e48cc82d3e533f1e887
[ "Apache-2.0" ]
null
null
null
#include <onyx/audio/AudioSource.h> #include <onyx/audio/Audio.h> #include <onyx/scene/GameObject.h> #include <onyx/scene/Transform.h> #include <onyx/core/Game.h> #include <onyx/scene/Camera.h> #include <onyx/scene/Scene.h> #include <onyx/audio/AudioBuffer.h> #include <onyx/core/AssetManager.h> #include <AL/al.h> nam...
19.136986
71
0.705082
[ "object", "transform" ]
48056872e6a73b6711520d68c41df5e695c7397a
16,974
cpp
C++
src/qtxml/Uicreator/qt_uicommand_executor.cpp
linson7017/qtframework
ad99883bd7e98f7b2cb97078def7252afa11ff6d
[ "Apache-2.0" ]
6
2017-04-10T14:50:57.000Z
2019-03-31T07:15:56.000Z
src/qtxml/Uicreator/qt_uicommand_executor.cpp
linson7017/qtframework
ad99883bd7e98f7b2cb97078def7252afa11ff6d
[ "Apache-2.0" ]
null
null
null
src/qtxml/Uicreator/qt_uicommand_executor.cpp
linson7017/qtframework
ad99883bd7e98f7b2cb97078def7252afa11ff6d
[ "Apache-2.0" ]
2
2018-03-09T07:05:47.000Z
2021-07-04T08:48:34.000Z
#include "qt_uicommand_executor.h" #include "UIs/Activity.h" #include "Uicreator/ui_node.h" #include "Uicreator/xml_node.h" #include "Uicreator/xml_ui_paser.h" #include "UIs/CustomActivity.h" #include "Common/app_env.h" #include "Common/qt_context.h" #include "Res/R.h" #include "Utils/util.h" #include "Utils/xml_util.h...
28.242928
181
0.578826
[ "object", "vector" ]
480cf8d298e18ac9dccc98c094c500fa39382c22
31,377
hpp
C++
include/rift/io.hpp
reverbrain/rift
1dc80321168bf9d2a34bb368f1b1caffcfd06793
[ "Apache-2.0" ]
9
2015-01-22T09:07:37.000Z
2021-03-22T21:16:49.000Z
include/rift/io.hpp
reverbrain/rift
1dc80321168bf9d2a34bb368f1b1caffcfd06793
[ "Apache-2.0" ]
3
2015-01-22T08:53:46.000Z
2017-08-03T22:12:39.000Z
include/rift/io.hpp
reverbrain/rift
1dc80321168bf9d2a34bb368f1b1caffcfd06793
[ "Apache-2.0" ]
2
2017-02-17T10:06:19.000Z
2017-12-28T13:20:42.000Z
#ifndef __IOREMAP_RIFT_IO_HPP #define __IOREMAP_RIFT_IO_HPP // must be the first, since thevoid internally uses X->boost::buffer conversion, // which must be present at compile time #include "rift/asio.hpp" #include "rift/jsonvalue.hpp" #include "rift/bucket.hpp" #include <swarm/url.hpp> #include <swarm/url_query.hp...
32.924449
124
0.701374
[ "object", "vector" ]
480da2f0e6823c09f7ef61a015adc67a7b64c7a3
6,503
cpp
C++
christy.cpp
Potayto/Lab1
e5373b268827db454aa582885e22095b705eff29
[ "MIT" ]
null
null
null
christy.cpp
Potayto/Lab1
e5373b268827db454aa582885e22095b705eff29
[ "MIT" ]
null
null
null
christy.cpp
Potayto/Lab1
e5373b268827db454aa582885e22095b705eff29
[ "MIT" ]
null
null
null
//my cpp file #include <iostream> #include <string> #include <cstdlib> #include <cstring> #include <unistd.h> #include <ctime> #include <cmath> #include <X11/Xlib.h> #include <GL/glu.h> #include <X11/keysym.h> #include <GL/glx.h> #include "log.h" extern "C" { #include "struct.h" #include "fonts.h" #include "ppm.h" } #i...
33.348718
99
0.446563
[ "vector" ]
480e319b204864a9be12cdb3f4c84732d89e2dc9
1,946
cpp
C++
src/dropbox/sharing/SharingUpdateFolderPolicyArg.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/sharing/SharingUpdateFolderPolicyArg.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/sharing/SharingUpdateFolderPolicyArg.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "sharing" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/sharing/SharingUpdateFol...
28.202899
102
0.705036
[ "object" ]
4810b0dacb7ca940c4f3ef5491194e4bb51d3b73
4,563
cpp
C++
gmsh-4.2.2/demos/api/custom_gui.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
4
2019-05-06T09:35:08.000Z
2021-05-14T16:26:45.000Z
onelab/share/doc/gmsh/demos/api/custom_gui.cpp
Christophe-Foyer/pyFEA
344996d6b075ee4b2214283f0af8159d86d154fd
[ "MIT" ]
null
null
null
onelab/share/doc/gmsh/demos/api/custom_gui.cpp
Christophe-Foyer/pyFEA
344996d6b075ee4b2214283f0af8159d86d154fd
[ "MIT" ]
1
2020-12-15T13:47:23.000Z
2020-12-15T13:47:23.000Z
#include <cmath> #include <thread> #include "gmsh.h" // This example shows how to implement a custom user interface running // computationally expensive calculations in separate threads. The threads can // update the user interface in real-time. // flag that will be set to interrupt a calculation bool stop_computatio...
35.929134
85
0.616261
[ "cad", "vector", "model" ]
48143251171f8d58b99d12ac3774e4caa0fa0e76
3,264
cpp
C++
src/util/executable_path/src/detail/executable_path_internals_bsd.cpp
KiPa-SuJi/PaydayCoin-Core
d807d95550d955bfa9ffda2b39cad745422224e5
[ "MIT" ]
2
2020-06-12T10:12:49.000Z
2020-07-31T19:43:09.000Z
src/util/executable_path/src/detail/executable_path_internals_bsd.cpp
KiPa-SuJi/PaydayCoin-Core
d807d95550d955bfa9ffda2b39cad745422224e5
[ "MIT" ]
null
null
null
src/util/executable_path/src/detail/executable_path_internals_bsd.cpp
KiPa-SuJi/PaydayCoin-Core
d807d95550d955bfa9ffda2b39cad745422224e5
[ "MIT" ]
1
2020-12-04T13:34:46.000Z
2020-12-04T13:34:46.000Z
// // Copyright (C) 2011-2019 Ben Key // 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 (BOOST_OS_BSD) #include <string> #include <vector> #include <boost/filesystem/operations.hpp> #include <boost/files...
23.824818
88
0.603554
[ "vector" ]
4814424c656f356b89c1f94a0c2bbc9d3809be30
6,340
cpp
C++
svntrunk/src/untabbed/BlueMatter/science/src/bmt2diffchol.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/untabbed/BlueMatter/science/src/bmt2diffchol.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/untabbed/BlueMatter/science/src/bmt2diffchol.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the * following d...
31.542289
125
0.66735
[ "vector" ]
481a2fec180e44d46b64c15ad4d60e86a096cf68
4,872
cpp
C++
Dragon Head/Eyes/WROVER_CAM_Gaze_Controller_NoWeb/DragonOTA.cpp
Lupo-Grigio/DragonCostume
fedc225014e9e65dfa58123cc869aad1a68052c6
[ "CC0-1.0" ]
null
null
null
Dragon Head/Eyes/WROVER_CAM_Gaze_Controller_NoWeb/DragonOTA.cpp
Lupo-Grigio/DragonCostume
fedc225014e9e65dfa58123cc869aad1a68052c6
[ "CC0-1.0" ]
null
null
null
Dragon Head/Eyes/WROVER_CAM_Gaze_Controller_NoWeb/DragonOTA.cpp
Lupo-Grigio/DragonCostume
fedc225014e9e65dfa58123cc869aad1a68052c6
[ "CC0-1.0" ]
null
null
null
#include <WiFi.h> #include <WiFiClient.h> #include <WebServer.h> #include <ESPmDNS.h> #include <Update.h> /* custom OTA for Dragon Eye Controller */ #include "DragonOTA.h" #include "DragonSecrets.h" /* OTA Support Leave this off github */ // this is from https://lastminuteengineers.com/esp32-ota-web-updater-arduino-...
30.641509
124
0.654762
[ "solid" ]
481d6b0b24dfd5c793ff71991cba9bf5b7daaaec
2,623
cpp
C++
_includes/leet126/leet126_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet126/leet126_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet126/leet126_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: unordered_map<string,unordered_set<string>>parent; vector<vector<string>> findLadders(string beginWord, string endWord, vector<string>& wordList) { vector<vector<string>>res; unordered_set<string>wordlist(wordList.begin(), wordList.end()); if(wordlist.find(e...
36.943662
110
0.438048
[ "vector" ]
482b56d1f97388d86aab4814e18db3b0c817b7ac
33,906
cpp
C++
main.cpp
tkduman/project-x
93f061c70ff7a491af33f82d09aa0b69329cd4e9
[ "Apache-2.0" ]
null
null
null
main.cpp
tkduman/project-x
93f061c70ff7a491af33f82d09aa0b69329cd4e9
[ "Apache-2.0" ]
1
2018-03-14T16:17:03.000Z
2018-03-14T16:17:03.000Z
main.cpp
tkduman/project-x
93f061c70ff7a491af33f82d09aa0b69329cd4e9
[ "Apache-2.0" ]
1
2018-03-14T16:16:38.000Z
2018-03-14T16:16:38.000Z
#include <string> #include <iostream> #include <conio.h> #undef MOUSE_MOVED #include <curses.h> #include <ctime> #include <cstdlib> #include <string> #include "player.h" #include "monster.h" #include "system.h" #include <cppconn/driver.h> #include <cppconn/exception.h> #include <cppconn/prepared_statement.h> #include ...
34.008024
853
0.656403
[ "vector" ]
482da8e879a9c82a8e86256bdd6adf9c1cb999c9
2,004
cpp
C++
LightOJ/AllPosibleIncreasingSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
LightOJ/AllPosibleIncreasingSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
LightOJ/AllPosibleIncreasingSubsequences.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#ifndef THE_KNIGHTS_OF_THE_HASH_TABLE //~ #include <ext/pb_ds/assoc_container.hpp> //~ #include <ext/pb_ds/tree_policy.hpp> #include <bits/stdc++.h> #ifdef ONLINE_JUDGE #define DB(x) #define DBL(x) #define EL #define endl "\n" #else #define DB(x) cerr << "#" << (#x) << ": " << (x) << " "; #defin...
23.857143
97
0.549401
[ "vector" ]
48390434cab1d7850ab172370cae2e02f91caa32
8,232
cc
C++
test/heap_test.cc
ucr-ufluidics/lemon
a8eb83f0cec960d1abb2696f5c635ce4a18c5cdc
[ "BSL-1.0" ]
null
null
null
test/heap_test.cc
ucr-ufluidics/lemon
a8eb83f0cec960d1abb2696f5c635ce4a18c5cdc
[ "BSL-1.0" ]
null
null
null
test/heap_test.cc
ucr-ufluidics/lemon
a8eb83f0cec960d1abb2696f5c635ce4a18c5cdc
[ "BSL-1.0" ]
null
null
null
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2011 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
26.469453
74
0.624514
[ "vector" ]
483a276f95626286ec26b3f180f11287f745a502
584
cpp
C++
Reflection/src/Quad.cpp
perezite/sandbox-2
cfe3be85170f8d305bd0766ee6b3ef6420a23915
[ "MIT" ]
null
null
null
Reflection/src/Quad.cpp
perezite/sandbox-2
cfe3be85170f8d305bd0766ee6b3ef6420a23915
[ "MIT" ]
null
null
null
Reflection/src/Quad.cpp
perezite/sandbox-2
cfe3be85170f8d305bd0766ee6b3ef6420a23915
[ "MIT" ]
null
null
null
#include "Quad.h" #include "Window.h" namespace sb { Mesh Quad::QuadMesh({ Vertex(Vector2f(-0.5f, -0.5f), Color(1, 0, 0, 1), Vector2f(0, 0)), Vertex(Vector2f( 0.5f, -0.5f), Color(0, 1, 0, 1), Vector2f(1, 0)), Vertex(Vector2f(-0.5f, 0.5f), Color(0, 0, 1, 1), Vector2f(0, 1)), Vertex(Vector2f( 0.5f, 0...
30.736842
76
0.625
[ "mesh", "transform" ]
483b5776e08d0b1ff4589195e61f8844a247518b
1,944
cpp
C++
pgf+/src/reader/ApplProduction.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
1
2019-05-03T18:00:39.000Z
2019-05-03T18:00:39.000Z
pgf+/src/reader/ApplProduction.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
pgf+/src/reader/ApplProduction.cpp
egladil/mscthesis
d6f0c9b1b1e73b749894405372f2edf01e746920
[ "BSD-2-Clause" ]
null
null
null
// // ApplProduction.cpp // pgf+ // // Created by Emil Djupfeldt on 2012-06-26. // Copyright (c) 2012 Chalmers University of Technology. All rights reserved. // #include <gf/stringutil.h> #include <gf/reader/ApplProduction.h> namespace gf { namespace reader { ApplProduction::ApplProduction(ui...
28.588235
107
0.48714
[ "vector" ]
483ef14baf46db400c26343148379dfad3439c3c
6,183
cpp
C++
mplugins/math_mplugin/src/math/flow/FunctionBlocks.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
3
2020-02-08T19:47:14.000Z
2022-03-14T14:13:29.000Z
mplugins/math_mplugin/src/math/flow/FunctionBlocks.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
10
2020-01-29T21:27:12.000Z
2022-03-22T17:03:02.000Z
mplugins/math_mplugin/src/math/flow/FunctionBlocks.cpp
mico-corp/mico
45febf13da8c919eea77af9fa3b91afeb324f81b
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------------------------------------------------- // Cameras wrapper MICO plugin //--------------------------------------------------------------------------------------------------------------------- // Copyright 2020 Pablo Ramon Soria (a.k.a. Bar...
45.131387
119
0.503316
[ "vector" ]
c61d6886be3bea07bb9c7c72bb7d790c54fda75d
808
cpp
C++
leetcode/0034_Find_First_and_Last_Position_of_Element_in_Sorted_Array/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0034_Find_First_and_Last_Position_of_Element_in_Sorted_Array/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0034_Find_First_and_Last_Position_of_Element_in_Sorted_Array/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
/** * Copyright (C) 2021 All rights reserved. * * FileName :result.cpp * Author :C.K * Email :theck17@163.com * DateTime :2021-03-22 19:54:53 * Description : */ #include <string> //字符串类 #include <vector> //STL 动态数组容器 #include <valarray> //对包含值的数组的操...
26.064516
83
0.542079
[ "vector" ]
c6218e70c5671800825ad1e494b2922db69774fe
2,991
cpp
C++
3rdparty/openal/alc/filters/splitter.cpp
timgates42/crown
1a0b09901932238f81a6107a8e56ca0883e91d0c
[ "MIT" ]
1,279
2017-06-21T23:52:43.000Z
2021-08-05T17:16:52.000Z
3rdparty/openal/alc/filters/splitter.cpp
timgates42/crown
1a0b09901932238f81a6107a8e56ca0883e91d0c
[ "MIT" ]
17
2017-06-22T19:55:17.000Z
2021-08-02T14:40:49.000Z
3rdparty/openal/alc/filters/splitter.cpp
timgates42/crown
1a0b09901932238f81a6107a8e56ca0883e91d0c
[ "MIT" ]
107
2017-06-22T10:02:23.000Z
2021-08-02T14:14:42.000Z
#include "config.h" #include "splitter.h" #include <algorithm> #include <cmath> #include <limits> #include "math_defs.h" #include "opthelpers.h" template<typename Real> void BandSplitterR<Real>::init(Real f0norm) { const Real w{f0norm * al::MathDefs<Real>::Tau()}; const Real cw{std::cos(w)}; if(cw > s...
25.347458
103
0.604814
[ "transform" ]
c622fc4160a4491a860dc062e58d987666e5bc4c
2,940
cxx
C++
panda/src/physx/physxRay.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/physx/physxRay.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/physx/physxRay.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: physxRay.cxx // Created by: enn0x (21Oct09) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should h...
31.276596
70
0.462245
[ "vector", "3d" ]
c626d67a7d23f59133f102bb52898bd0b9d4c417
91,867
cpp
C++
com/netfx/src/clr/debug/di/module.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/debug/di/module.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/debug/di/module.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //***************************************************************************** // File: module.cpp // //***************************************************************************** #include "stdafx.h" // We have an...
29.953375
168
0.566264
[ "object" ]
c627a08e74631b3662ba7a32d8a09a4bdc1c7101
1,334
cpp
C++
src/third_party/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
59
2019-10-22T16:21:33.000Z
2022-02-01T20:32:32.000Z
src/third_party/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
src/third_party/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
15
2019-10-22T19:56:12.000Z
2022-01-12T14:45:15.000Z
//===-------- AMDGPUELFStreamer.cpp - ELF Object Output -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.35
80
0.608696
[ "object" ]
c62a37f28d7450ffe50a1ee8d1d69728cd55da54
5,815
cc
C++
bam/src/configuration/ba.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
bam/src/configuration/ba.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
bam/src/configuration/ba.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2014 Centreon ** ** 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 ...
22.365385
75
0.667756
[ "object" ]
c63e81bfb5358aa2492df363ac23a57e1ce5a1ae
10,849
cpp
C++
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/samples/resnet50_zero_copy/resnet50_b.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/samples/resnet50_zero_copy/resnet50_b.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/samples/resnet50_zero_copy/resnet50_b.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
38.885305
80
0.595631
[ "vector", "model", "transform" ]
c6523c7b80922242527c6c9d33c94c3c4c976c4a
457
cpp
C++
luogu/p1334.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1334.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1334.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<long long> a(n); for(auto &it:a) cin >> it; priority_queue<long long, vector<long long>, greater<long long>> q; for(auto &it:a) q.push(it); long long ans = 0; while(q.size() > 1) { int q1 = q.top...
20.772727
71
0.50547
[ "vector" ]
c65d9dd4f7f1a2e8fe7a92bdc72dde14c5f4f7e3
6,990
hpp
C++
contracts/platform/include/platform/platform.hpp
DaoCasino/platform-contracts
b2cea67ea3c628997667f11ad645d7a4fe8d6b31
[ "MIT" ]
1
2020-10-20T05:10:47.000Z
2020-10-20T05:10:47.000Z
contracts/platform/include/platform/platform.hpp
DaoCasino/platform-contracts
b2cea67ea3c628997667f11ad645d7a4fe8d6b31
[ "MIT" ]
6
2020-10-19T06:43:18.000Z
2020-12-24T11:41:27.000Z
contracts/platform/include/platform/platform.hpp
DaoCasino/platform-contracts
b2cea67ea3c628997667f11ad645d7a4fe8d6b31
[ "MIT" ]
2
2020-10-07T10:43:43.000Z
2020-10-30T06:47:47.000Z
#pragma once #include <eosio/eosio.hpp> #include <eosio/singleton.hpp> namespace platform { using bytes = std::vector<char>; using eosio::name; struct [[eosio::table("version"), eosio::contract("platform")]] version_row { std::string version; }; using version_singleton = eosio::singleton<"version"_n, version_...
30.792952
128
0.688269
[ "vector" ]
c6785ab68776a847691502c08352660be1ff886a
850
cpp
C++
src/controller/connectivity.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
src/controller/connectivity.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
src/controller/connectivity.cpp
bdmendes/feup-cal-parking
57e793d32a176c43c93bbf03a1b863bbe5b7a3e3
[ "MIT" ]
null
null
null
#include "connectivity.h" bool isStronglyConnected(const StreetMap &map) { return kosaraju(map); } static bool pointsAreAccessible(const std::vector<Node<MapPoint>*> &stopPoints, const StreetMap &map){ for(unsigned int i = 0; i < stopPoints.size(); ++i){ auto res = dfsFromNode(stopPoints.at(i), stopPo...
36.956522
112
0.698824
[ "vector" ]
c67af17b8e47bfd212d837fd68deebb05f44040c
61,914
cpp
C++
src/Core/Managers/CImageManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
1
2018-01-06T04:44:36.000Z
2018-01-06T04:44:36.000Z
src/Core/Managers/CImageManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
src/Core/Managers/CImageManager.cpp
przemyslaw-szymanski/vke
1d8fb139e0e995e330db6b8873dfc49463ec312c
[ "MIT" ]
null
null
null
#include "Core/Managers/CImageManager.h" #include "Core/Managers/CFileManager.h" #include "Core/Resources/CImage.h" #include "RenderSystem/CRenderSystem.h" #if VKE_USE_DEVIL #include "IL/il.h" #include "IL/ilu.h" #include "IL/ilut.h" #endif #if VKE_USE_DIRECTXTEX # include "ThirdParty/DirectXTex/DirectXTex/DirectX...
43.115599
186
0.47931
[ "object", "3d" ]
c67c0a99a1f9471fcd3bcd8dbfc2326e8e7730a4
9,163
cpp
C++
src/synthesis/DFA.cpp
saffiepig/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
4
2018-10-30T18:40:21.000Z
2020-03-24T15:19:27.000Z
src/synthesis/DFA.cpp
Shufang-Zhu/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
1
2020-08-04T03:45:30.000Z
2020-08-04T03:45:30.000Z
src/synthesis/DFA.cpp
Shufang-Zhu/Syft
121a9a1f6ac818138963d92889f44e0f98b59796
[ "MIT" ]
4
2018-09-17T15:59:05.000Z
2020-05-03T13:57:12.000Z
#include "DFA.h" #include <string> using namespace std; using namespace boost; //update test DFA::DFA(Cudd* m){ mgr = m; //ctor } DFA::~DFA() { //dtor delete mgr;// = NULL; } void DFA::initialize(string filename, string partfile){ //ctor read_from_file(filename); if(DFAflag == true) { c...
27.189911
94
0.455855
[ "vector" ]
c68e629aa71a195615b25efc66344f0c1aaeb6f4
3,142
cpp
C++
core/src/main.cpp
ccarels/mapp
3ab5ee4cd4c5eae5f13edc942e87ff2cee43e8b2
[ "BSD-3-Clause" ]
null
null
null
core/src/main.cpp
ccarels/mapp
3ab5ee4cd4c5eae5f13edc942e87ff2cee43e8b2
[ "BSD-3-Clause" ]
null
null
null
core/src/main.cpp
ccarels/mapp
3ab5ee4cd4c5eae5f13edc942e87ff2cee43e8b2
[ "BSD-3-Clause" ]
null
null
null
#include <Python.h> #include <google/protobuf/api.pb.h> #include <future> #include <iostream> #include "mapp/algorithm/managed.hpp" #include "mapp/algorithm/processor.hpp" #include "mapp/filesystem/fs.hpp" #include "mapp/library/locator.hpp" #include "mapp/library/provider.hpp" #include "mapp/model/data_model_interfa...
36.534884
117
0.729472
[ "model" ]
578eaa610b241e03d8db94a7c169ef5188eda367
1,400
tcc
C++
include/material_points.tcc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
null
null
null
include/material_points.tcc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
71
2017-05-24T18:53:39.000Z
2020-03-19T04:06:04.000Z
include/material_points.tcc
cb-geo/mpm-point-generator
5ee7fc1655a405c20960ce2fc28551ee7d66e5a0
[ "MIT" ]
4
2017-05-24T18:37:55.000Z
2020-02-26T18:08:10.000Z
//! Compute stresses of the material points //! \tparam Tdim Dimension template <unsigned Tdim> void MaterialPoints<Tdim>::compute_stress() { //! Gravity const double gravity = 9.81; //! Compute maximum height of the points //! [2D], y is the vertical direction //! [3D], z is the vertical direction //! In...
31.111111
69
0.650714
[ "3d" ]
579323f94e6ff381bac47f0b4157dfc43a4a4eff
10,628
cpp
C++
src/feedhq_api.cpp
bojoer/newsbeuter
1427bdb0705806368db39576a9b803df82fa0415
[ "MIT" ]
1
2017-04-12T16:28:07.000Z
2017-04-12T16:28:07.000Z
src/feedhq_api.cpp
bojoer/newsbeuter
1427bdb0705806368db39576a9b803df82fa0415
[ "MIT" ]
null
null
null
src/feedhq_api.cpp
bojoer/newsbeuter
1427bdb0705806368db39576a9b803df82fa0415
[ "MIT" ]
null
null
null
#include <vector> #include <cstring> #include <iostream> #include <wordexp.h> #include <feedhq_api.h> #include <config.h> #include <utils.h> #include <unistd.h> #include <curl/curl.h> #include <json.h> #define FEEDHQ_LOGIN "https://feedhq.org/accounts/ClientLogin" #define FEEDHQ_API_PREFIX "https://feedhq.or...
33.526814
199
0.702578
[ "vector" ]
57957898709bdd6e452cb341bb124967f6c5d7dc
55,574
cpp
C++
Cbc/Cbc/src/CbcHeuristicDive.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/src/CbcHeuristicDive.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/src/CbcHeuristicDive.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
/* $Id: CbcHeuristicDive.cpp 2467 2019-01-03 21:26:29Z unxusr $ */ // Copyright (C) 2008, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #if defined(_MSC_VER) // Turn off compiler warning about long names #p...
35.555982
177
0.621946
[ "object", "vector", "model" ]
57a8bdb024c37837df92a249d74ee5026f817988
25,257
cpp
C++
src/ros_live_vio.cpp
chengguizi/basalt-mirror
d46d5d777cea5194c53af48c9ec547371329c8ab
[ "BSD-3-Clause" ]
null
null
null
src/ros_live_vio.cpp
chengguizi/basalt-mirror
d46d5d777cea5194c53af48c9ec547371329c8ab
[ "BSD-3-Clause" ]
null
null
null
src/ros_live_vio.cpp
chengguizi/basalt-mirror
d46d5d777cea5194c53af48c9ec547371329c8ab
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <chrono> #include <condition_variable> #include <iostream> #include <memory> #include <thread> #include <stdlib.h> #include <sophus/se3.hpp> #include <tbb/concurrent_unordered_map.h> #include <tbb/tbb.h> #include <pangolin/display/image_view.h> #include <pangolin/gl/gldraw.h> #include <...
33.902013
143
0.611632
[ "vector" ]
57b62f8db430197bab1b7369297f5888f1c6e9d3
673
cpp
C++
Problems/0073. Set Matrix Zeroes.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0073. Set Matrix Zeroes.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0073. Set Matrix Zeroes.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
class Solution { public: void setZeroes(vector<vector<int>>& matrix) { set<int> rows{}, cols{}; int n = matrix.size(), m = matrix[0].size(); //getting indices of 0's for(int i=0; i<n; i++) for(int j=0; j<m; j++) if(matrix[i][j] == 0){ ...
25.884615
52
0.389302
[ "vector" ]
57b912d24c6049c1f0a5bff7807231f2ecb10a1c
1,413
cpp
C++
Current/986_Interval_List_Intersections/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
3
2019-09-21T16:25:44.000Z
2021-08-29T20:43:57.000Z
Current/986_Interval_List_Intersections/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
Current/986_Interval_List_Intersections/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<vector<int>> intervalIntersection(vector<vector<int>>& A, vector<vector<int>>& B) { vector<vector<int>> ans; int i = 0, j = 0; while (i < A.size() && j < B.size()) { if (A[i][0] <= B[j][0...
32.860465
94
0.411182
[ "vector" ]
57bbd5a40c61593d73d7b29c541d6bf20e37fa52
2,838
cpp
C++
Chapter04/qtbuild/gallery/desktop/moc_PictureDelegate.cpp
Syneltec/Mastering-Qt-5-Second-Editon
003dbe33c1f8686ef1c5a9da318056af30c6c1e0
[ "MIT" ]
null
null
null
Chapter04/qtbuild/gallery/desktop/moc_PictureDelegate.cpp
Syneltec/Mastering-Qt-5-Second-Editon
003dbe33c1f8686ef1c5a9da318056af30c6c1e0
[ "MIT" ]
null
null
null
Chapter04/qtbuild/gallery/desktop/moc_PictureDelegate.cpp
Syneltec/Mastering-Qt-5-Second-Editon
003dbe33c1f8686ef1c5a9da318056af30c6c1e0
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'PictureDelegate.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! ****************************************************...
29.5625
96
0.664553
[ "object" ]
57c2afe126c47a2b41a1924d5da87b10e0786d7e
3,070
cpp
C++
ActiveCampaignCpp/test/Test.cpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
ActiveCampaignCpp/test/Test.cpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
ActiveCampaignCpp/test/Test.cpp
icarus3/ActiveCampaignCpp
c2389b4c9469251e6f3adb6b574402eca2e353ac
[ "MIT" ]
null
null
null
#include <functional> #include "gtest/gtest.h" #include "Config.hpp" #include "UrlHandler.hpp" #include "ActiveCampaign.hpp" #include "ActiveCampaignFactory.hpp" #include "json.hpp" using json = nlohmann::json; TEST(JsonConstructionTest, NonNestedJsonConstruction) { json postData = { { "name", "Dr Who" },...
32.315789
174
0.691205
[ "vector" ]
57c367b1b11468125d3c1d198f6a162cd521df10
1,028
cc
C++
examples/hello/hello.cc
darrenjs/jalson
096ef631f859c645e2ac4ddb8357d33c79643a7b
[ "MIT" ]
2
2018-02-07T02:40:38.000Z
2019-03-15T08:17:41.000Z
examples/hello/hello.cc
darrenjs/jalson
096ef631f859c645e2ac4ddb8357d33c79643a7b
[ "MIT" ]
null
null
null
examples/hello/hello.cc
darrenjs/jalson
096ef631f859c645e2ac4ddb8357d33c79643a7b
[ "MIT" ]
null
null
null
/* Basic example of use jalson */ #include <jalson/jalson.h> #include <iostream> int main(int, char**) { // obtain details about the JSON implementation wrapped inside jalson jalson::vendor_details details; jalson::get_vendor_details(&details); std::cout << "JSON implementation: " << details.ve...
25.073171
71
0.618677
[ "object" ]
57c7af948d60d64d29378ebf4aa68fa2b1aaa5b4
3,429
hxx
C++
main/framework/inc/uiconfiguration/globalsettings.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/framework/inc/uiconfiguration/globalsettings.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/framework/inc/uiconfiguration/globalsettings.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
36.478723
122
0.7352
[ "vector" ]
57d11f5606918e28dd3c20452d4958ab62c4d35f
4,327
cpp
C++
mqtt.cpp
kpfleming/garaduino
82a882f81613c69c22af21514ef1d0dbf5d79d17
[ "Apache-2.0" ]
null
null
null
mqtt.cpp
kpfleming/garaduino
82a882f81613c69c22af21514ef1d0dbf5d79d17
[ "Apache-2.0" ]
3
2020-10-23T12:49:19.000Z
2020-10-25T11:56:37.000Z
mqtt.cpp
kpfleming/garaduino
82a882f81613c69c22af21514ef1d0dbf5d79d17
[ "Apache-2.0" ]
null
null
null
// SPDX-FileCopyrightText: 2020 Kevin P. Fleming <kevin@km6g.us> // SPDX-License-Identifier: Apache-2.0 // Copyright 2020 Kevin P. Fleming // // 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...
26.546012
144
0.679223
[ "vector" ]
57d39918c1d48667bf79aa10fdcb018eac224a55
4,904
cpp
C++
Daemon.cpp
Aschen/DomainSocket
2393590dfc055263d25e0fbb02fd971dab969406
[ "Unlicense" ]
5
2015-07-31T01:04:10.000Z
2019-08-17T08:24:46.000Z
Daemon.cpp
Aschen/DomainSocket
2393590dfc055263d25e0fbb02fd971dab969406
[ "Unlicense" ]
null
null
null
Daemon.cpp
Aschen/DomainSocket
2393590dfc055263d25e0fbb02fd971dab969406
[ "Unlicense" ]
1
2021-09-12T00:52:51.000Z
2021-09-12T00:52:51.000Z
/* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize cop...
24.893401
95
0.556892
[ "vector" ]
57dd32fbc665b1a5bebb65db8a67533d73a72f3e
4,932
cpp
C++
limbo/thirdparty/dlx/example/sudoku/SudokuType.cpp
RedFantom/limbo
8d3e0d484a809fb4b3ff8aa72fd972d16cdab405
[ "MIT" ]
74
2017-10-19T03:10:52.000Z
2022-03-28T17:51:54.000Z
limbo/thirdparty/dlx/example/sudoku/SudokuType.cpp
RedFantom/limbo
8d3e0d484a809fb4b3ff8aa72fd972d16cdab405
[ "MIT" ]
3
2017-12-06T01:49:21.000Z
2020-06-22T00:08:12.000Z
limbo/thirdparty/dlx/example/sudoku/SudokuType.cpp
RedFantom/limbo
8d3e0d484a809fb4b3ff8aa72fd972d16cdab405
[ "MIT" ]
26
2017-11-07T10:32:54.000Z
2021-10-02T02:22:37.000Z
#include "SudokuType.hpp" #include "SudokuFormat.hpp" #include <assert.h> #include <functional> #include <unordered_map> #include <unordered_set> SudokuType::SudokuType() : SudokuType(9) { } SudokuType::SudokuType(unsigned size) : SudokuType(isqrt(size), isqrt(size)) { } SudokuType::SudokuType(unsigned region_w...
24.415842
84
0.601784
[ "vector" ]
57f05481bc250303e10f905c5f55d9f4d7502d48
15,668
hpp
C++
include/kabamaru/registration_utilities.hpp
kzampog/kabamaru
e464d0046337fa336c000b9376f79cfc786f46b6
[ "MIT" ]
40
2017-11-06T22:11:55.000Z
2022-02-25T07:50:14.000Z
include/kabamaru/registration_utilities.hpp
kzampog/kabamaru
e464d0046337fa336c000b9376f79cfc786f46b6
[ "MIT" ]
2
2019-05-09T15:13:19.000Z
2019-11-02T20:31:09.000Z
include/kabamaru/registration_utilities.hpp
kzampog/kabamaru
e464d0046337fa336c000b9376f79cfc786f46b6
[ "MIT" ]
16
2017-07-19T07:27:19.000Z
2021-03-31T07:18:55.000Z
#ifndef REGISTRATION_UTILITIES_HPP #define REGISTRATION_UTILITIES_HPP #include <pcl/filters/extract_indices.h> #include <pcl/common/transforms.h> #include <opencv2/core/eigen.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <kabamaru/sift_engine.hpp> Eigen::Matrix4f homogeneousTransformationMatrixFromRt(const Ei...
37.393795
368
0.664922
[ "vector" ]
57f2f5bb818170e2d9a8179b4ddee88082fc69fa
9,058
cpp
C++
src/linux_parser.cpp
danishuzair/CppND-System-Monitor
a2ee41b4f0fb03d10f4402b96c186d06c99273ba
[ "MIT" ]
null
null
null
src/linux_parser.cpp
danishuzair/CppND-System-Monitor
a2ee41b4f0fb03d10f4402b96c186d06c99273ba
[ "MIT" ]
null
null
null
src/linux_parser.cpp
danishuzair/CppND-System-Monitor
a2ee41b4f0fb03d10f4402b96c186d06c99273ba
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // DONE: An example of how to read data from the filesystem string LinuxParser::OperatingSystem() { string line; string key; string ...
32.120567
149
0.615809
[ "vector" ]
57f7ab08c8a5ab9980d507459689c178f9aa28f6
10,833
cpp
C++
text/text-expression-cmds.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
text/text-expression-cmds.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
text/text-expression-cmds.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2014 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...
28.433071
78
0.66279
[ "object", "vector" ]
57fafaf7883b5f2be2a0eb3afe1cbe32fe42923d
1,354
hpp
C++
unicode/transform.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
unicode/transform.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
unicode/transform.hpp
isadchenko/brig
3e65a44fa4b8690cdfa8bdaca08d560591afcc38
[ "MIT" ]
null
null
null
// Andrew Naplavkov #ifndef BRIG_UNICODE_TRANSFORM_HPP #define BRIG_UNICODE_TRANSFORM_HPP #include <brig/unicode/detail/transform_impl.hpp> #include <brig/unicode/detail/transformer.hpp> namespace brig { namespace unicode { template <typename OutputCodeUnit, typename InputCodeUnit, typename Mapping> std:...
35.631579
130
0.783604
[ "transform" ]
57ff01ee07d330defb4e57a28d636f6b51d83268
276,647
cpp
C++
source/games/blood/src/nnexts.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2022-03-30T15:53:09.000Z
2022-03-30T15:53:09.000Z
source/games/blood/src/nnexts.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
source/games/blood/src/nnexts.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 2010-2019 EDuke32 developers and contributors Copyright (C) 2019 Nuke.YKT Copyright (C) NoOne This file is part of NBlood. NBlood is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
30.820744
217
0.609282
[ "object", "vector" ]
52024838087178ec7ba822487f21a5ce8ba6af59
9,076
cc
C++
pipeline.cc
ahojnnes/pycolmap
bd890fea6e488cff506c0073d9c8d44215f707b0
[ "BSD-3-Clause" ]
null
null
null
pipeline.cc
ahojnnes/pycolmap
bd890fea6e488cff506c0073d9c8d44215f707b0
[ "BSD-3-Clause" ]
null
null
null
pipeline.cc
ahojnnes/pycolmap
bd890fea6e488cff506c0073d9c8d44215f707b0
[ "BSD-3-Clause" ]
null
null
null
// Author: Paul-Edouard Sarlin (skydes) #include "colmap/base/reconstruction.h" #include "colmap/base/image_reader.h" #include "colmap/base/camera_models.h" #include "colmap/util/misc.h" #include "colmap/feature/sift.h" #include "colmap/feature/matching.h" #include "colmap/controllers/incremental_mapper.h" #include "c...
36.015873
82
0.674306
[ "object", "vector", "model", "3d" ]
5202ca16b5c22a6f75da152a27b870143bc4a8ad
21,296
hpp
C++
Include/SA/Maths/Matrix/Matrix4.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Include/SA/Maths/Matrix/Matrix4.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Include/SA/Maths/Matrix/Matrix4.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire Development Team. All Rights Reserved. #pragma once #ifndef SAPPHIRE_MATHS_MATRIX4_GUARD #define SAPPHIRE_MATHS_MATRIX4_GUARD #include <SA/Core/Support/Pragma.hpp> #include <SA/Core/Support/Intrinsics.hpp> #include <SA/Maths/Algorithms/Lerp.hpp> #include <SA/Maths/Matrix/Matrix4Base.h...
21.126984
114
0.667027
[ "vector", "transform" ]
5204b71a75b7c1b71afbb740b17d4d7be67c71a5
4,710
hpp
C++
breeze/cryptography/digest.hpp
gennaroprota/breeze
7afe88a30dc8ac8b97a76a192dc9b189d9752e8b
[ "BSD-3-Clause" ]
1
2021-04-03T22:35:52.000Z
2021-04-03T22:35:52.000Z
breeze/cryptography/digest.hpp
gennaroprota/breeze
7afe88a30dc8ac8b97a76a192dc9b189d9752e8b
[ "BSD-3-Clause" ]
null
null
null
breeze/cryptography/digest.hpp
gennaroprota/breeze
7afe88a30dc8ac8b97a76a192dc9b189d9752e8b
[ "BSD-3-Clause" ]
1
2021-10-01T04:26:48.000Z
2021-10-01T04:26:48.000Z
// =========================================================================== // Copyright 2006-2019 Gennaro Prota // // Licensed under the 3-Clause BSD License. // (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or // <https://opensource.org/licenses/BSD-3...
35.149254
78
0.470064
[ "object" ]
6498be26b88f6d26c5a495b532f3542f9f2d9078
1,598
hpp
C++
src/include/Geometry/Ray.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
src/include/Geometry/Ray.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
src/include/Geometry/Ray.hpp
timow-gh/Geometry
6b46b107355cd76fbb9c3a86db23dc891e868a3b
[ "Apache-2.0" ]
null
null
null
#ifndef GLFWTESTAPP_RAY_HPP #define GLFWTESTAPP_RAY_HPP #include <Core/Math/Eps.hpp> #include <Core/Utils/Compiler.hpp> #include <Geometry/Distance/DistanceRay.hpp> #include <LinAl/LinearAlgebra.hpp> namespace Geometry { template <typename T, std::size_t D> class Ray { LinAl::Vec<T, D> m_origin; LinAl::Vec<T...
23.850746
89
0.644556
[ "geometry" ]
649bb2a22f7548326095d44f1ace32b45bccd9e5
771
cc
C++
CSG/tests/CSGScanTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
CSG/tests/CSGScanTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
CSG/tests/CSGScanTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
// ./CSGScanTest.sh #include <vector> #include <cassert> #include <iostream> #include "scuda.h" #include "CSGFoundry.h" #include "CSGSolid.h" #include "CSGScan.h" int main(int argc, char** argv) { const char* dir = "/tmp/CSGScanTest_scans" ; CSGFoundry fd ; //fd.makeDemoSolids(); fd.makeEllips...
20.289474
60
0.56939
[ "vector", "solid" ]
64cef9c8680b2ada3432dae48ce92890924b4bfa
11,810
cpp
C++
src/chainparams.cpp
jubileeman/stepbystep
c57cfa2b2db35cb2d6f9af7164fb9563426bffaa
[ "MIT" ]
null
null
null
src/chainparams.cpp
jubileeman/stepbystep
c57cfa2b2db35cb2d6f9af7164fb9563426bffaa
[ "MIT" ]
null
null
null
src/chainparams.cpp
jubileeman/stepbystep
c57cfa2b2db35cb2d6f9af7164fb9563426bffaa
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "assert.h" #include "chainparams.h" #include "main.h" #include "util.h" #inc...
38.721311
177
0.630483
[ "vector" ]
64d2db776f49e279924c226640d5dc70179a2714
10,616
hpp
C++
libraries/belle/Source/Core/Prim/Polygon.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
47
2017-09-05T02:49:22.000Z
2022-01-20T08:11:47.000Z
libraries/belle/Source/Core/Prim/Polygon.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
106
2018-05-16T14:58:52.000Z
2022-01-12T13:57:24.000Z
libraries/belle/Source/Core/Prim/Polygon.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
11
2018-05-16T06:44:51.000Z
2021-11-10T07:04:46.000Z
/* Copyright (c) 2007-2013 William Andrew Burnson. Copyright (c) 2013-2020 Nicolas Danet. */ /* < http://opensource.org/licenses/BSD-2-Clause > */ // ----------------------------------------------------------------------------------------------------------- // ------------------------------------------...
31.223529
110
0.296345
[ "vector" ]
64d3bd526d170d87b290ac3784d457821d35b436
5,058
cxx
C++
main/vcl/unx/gtk/a11y/atkfactory.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/vcl/unx/gtk/a11y/atkfactory.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/vcl/unx/gtk/a11y/atkfactory.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
28.1
113
0.650257
[ "object" ]
64d7ddb3c9af7c9f534ea98abb4f35006238af1e
624
cpp
C++
codes/CSES/CSES_1756.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CSES/CSES_1756.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CSES/CSES_1756.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
#include <iostream> #include <vector> using namespace std; const int MX = 2e5 +10; vector<int> adj[MX]; int dep[MX], n, m; void dfs(int u, int d){ dep[u] = d; for(int v: adj[u]){ if(!dep[v]) dfs(v, d + 1); } } int main(){ cin.tie(0) -> sync_with_stdio(0); cin >> n >> m; for(int i = 0; i<m; i++){ int a, b; c...
17.333333
54
0.471154
[ "vector" ]
64e07ca9c52c36d0a4265eb3f243e56747dd215f
5,713
c++
C++
src/extern/inventor/apps/samples/spaceball/spballViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/samples/spaceball/spballViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/samples/spaceball/spballViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
29.755208
92
0.676002
[ "render" ]
64e4d063b0ef32f447027fb42cf71f2b6cf6b49f
2,672
cpp
C++
comon/messages.cpp
grammers/ros-arrowhead-f-adapter
c7119b8af0dbeaf88784bfc93d1620413078aeb6
[ "Apache-2.0" ]
null
null
null
comon/messages.cpp
grammers/ros-arrowhead-f-adapter
c7119b8af0dbeaf88784bfc93d1620413078aeb6
[ "Apache-2.0" ]
null
null
null
comon/messages.cpp
grammers/ros-arrowhead-f-adapter
c7119b8af0dbeaf88784bfc93d1620413078aeb6
[ "Apache-2.0" ]
null
null
null
#include "messages.hpp" #include "arrowhead/ErrorPrevention.h" Converter::Converter(){ } Converter::~Converter(){ } // these initial set up can't be don in the constructor dud to where it is declared and where the params that are used to set it up is declared. void Converter::init(std::string sensor_id, std::string u...
29.362637
144
0.740269
[ "object" ]
64e93f324220234b257e7fe7b24c03851c5a4e72
10,206
cpp
C++
windows/cpp/samples/AudioConverter/AudioConverterDlg.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T04:12:09.000Z
2022-02-28T04:12:09.000Z
windows/cpp/samples/AudioConverter/AudioConverterDlg.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
null
null
null
windows/cpp/samples/AudioConverter/AudioConverterDlg.cpp
avblocks/avblocks-samples
7388111a27c8110a9f7222e86e912fe38f444543
[ "MIT" ]
1
2022-02-28T02:43:24.000Z
2022-02-28T02:43:24.000Z
/* * Copyright (c) 2013 Primo Software. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ #include "stdafx.h" #include "AudioConverter.h" #include "AudioConverterDlg.h" #include "AvbTransc...
23.142857
176
0.697531
[ "model" ]
64ec1ee1ad6b93fe5c7f30ac97f736938f4993bc
6,477
cpp
C++
experimental/yarpl/test/Observable_test.cpp
somasun/rsocket-cpp
1803d8812f747ba7aec5d984118a31db10048c0b
[ "BSD-3-Clause" ]
null
null
null
experimental/yarpl/test/Observable_test.cpp
somasun/rsocket-cpp
1803d8812f747ba7aec5d984118a31db10048c0b
[ "BSD-3-Clause" ]
null
null
null
experimental/yarpl/test/Observable_test.cpp
somasun/rsocket-cpp
1803d8812f747ba7aec5d984118a31db10048c0b
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <yarpl/Observable.h> using namespace yarpl::observable; TEST(Observable, SingleOnNext) { auto a = Observable<int>::create([](std::unique_ptr<Observer<int>> obs) { obs->onSubscribe(Subscription::create()); obs->onNext(1); obs->onComplete(); }); std::vector<int> v; ...
29.711009
80
0.576038
[ "vector" ]
64ed8d0564e00e4af11d60f3c8ff8ac58df4ea69
15,163
hpp
C++
include/codegen/include/System/Reflection/Assembly.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Reflection/Assembly.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Reflection/Assembly.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:43 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
51.750853
235
0.750181
[ "object" ]
64f3bf876df2992d4f857bd6040fd55b048a863d
1,402
cpp
C++
LeetCode/Problems/Algorithms/#210_CourseScheduleII_sol8_topological_sort_with_dfs_O(V+E)_time_O(V+E)_extra_space_20ms_14.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#210_CourseScheduleII_sol8_topological_sort_with_dfs_O(V+E)_time_O(V+E)_extra_space_20ms_14.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#210_CourseScheduleII_sol8_topological_sort_with_dfs_O(V+E)_time_O(V+E)_extra_space_20ms_14.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { private: void dfs(int node, vector<bool>& vis, vector<bool>& isInStack, vector<vector<int>>& g, vector<int>& topSortNodes, bool& cycleFound){ vis[node] = true; isInStack[node] = true; for(int nextNode: g[node]){ if(isInStack[nextNode]){ ...
31.863636
91
0.506419
[ "vector" ]
64fafafc80a8e8d3d6a2363b0fe4ba4d36e3bb03
1,437
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLineIndex.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLineIndex.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcLineIndex.cpp
shelltdf/ifcplusplus
120ef686c4002c1cc77e3808fe00b8653cfcabd7
[ "MIT" ]
1
2021-04-26T14:56:09.000Z
2021-04-26T14:56:09.000Z
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include <map> #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/IFC4/include/IfcSegm...
35.925
141
0.723034
[ "model" ]
64fb533d74e57ab3850ff15bbf343ddb87d3a990
2,513
cpp
C++
euler081.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler081.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler081.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
/** * Problem 81 「経路の和:2方向」 * 下記の5次の正方行列で, 左上のセルから開始し右下のセルで終わるパスを探索する. ただし下方向と右方向にのみ移動できるものとする. * 通過したセルの和が最小となるパスは赤の太字で示されたもので, その値は2427である. * * 131 673 234 103 18 * 201 96 342 965 150 * 630 803 746 422 111 * 537 699 497 121 956 * 805 732 524 37 331 * 今, 31Kのテキストファイルmatrix.txt (右クリックして, 『名前をつけてリンク先を保存』)には8...
26.177083
83
0.629526
[ "vector" ]
8f03dea78acd476efddc4632544ea7d45a689f42
42,049
cc
C++
tests/texturetests/texturetests.cc
suikki/KTX-Software
9114ca24005d019bcfe72ee22e938eeea163b350
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
tests/texturetests/texturetests.cc
suikki/KTX-Software
9114ca24005d019bcfe72ee22e938eeea163b350
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
tests/texturetests/texturetests.cc
suikki/KTX-Software
9114ca24005d019bcfe72ee22e938eeea163b350
[ "Zlib", "Apache-2.0", "MIT" ]
null
null
null
/* -*- tab-width: 4; -*- */ /* vi: set sw=2 ts=4: */ /** * @internal * @file texturetests.cc * @~English * * @brief Test ktxTexture API functions. * * @author Mark Callow, Edgewise Consulting */ /* * ©2010-2018 Mark Callow, <khronos at callow dot im>. * * Licensed under the Apache License, Version 2.0 (the...
38.541705
124
0.611858
[ "object", "vector", "3d" ]
8f0a564b6234ec488d4b4cefcd4295e7187ff5a1
1,380
cpp
C++
src/Cpp/09_Listy_wprowadzenie/Zad12.cpp
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
3
2020-09-19T21:38:30.000Z
2022-03-30T11:02:26.000Z
src/Cpp/09_Listy_wprowadzenie/Zad12.cpp
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
null
null
null
src/Cpp/09_Listy_wprowadzenie/Zad12.cpp
djeada/Nauka-programowania
b1eb6840c15b830acf552f0a0fc5cc692759152f
[ "MIT" ]
1
2022-02-04T09:13:20.000Z
2022-02-04T09:13:20.000Z
#include <cassert> #include <string> #include <vector> // Otrzymujesz liste liczb, kierunek przesuniec (1 odpowiada przesunieciu // w prawo, a 0 w lewo) oraz liczbe miejsc o jaka maja zostac przesuniete // elementy. Przykladowo dla przesuwania w prawo pierwszy element trafia // na miejsce drugiego, drugi trzeciego, a ...
23
73
0.622464
[ "vector" ]
557ed8a978834b57fbd22569e785e2298b5348a6
9,997
cc
C++
src/crawler_robot/src/crawler_flipper.cc
m-shimizu/Samples_Gazebo_ROS
54ecfc2d77dc8aacce010151593d1d08d04f7bce
[ "MIT" ]
5
2019-01-08T12:54:10.000Z
2022-02-18T10:08:22.000Z
src/crawler_robot/src/crawler_flipper.cc
m-shimizu/Samples_Gazebo_ROS
54ecfc2d77dc8aacce010151593d1d08d04f7bce
[ "MIT" ]
2
2019-01-11T14:32:07.000Z
2020-01-17T10:20:08.000Z
src/crawler_robot/src/crawler_flipper.cc
m-shimizu/Samples_Gazebo_ROS
54ecfc2d77dc8aacce010151593d1d08d04f7bce
[ "MIT" ]
2
2019-03-20T04:51:08.000Z
2020-06-22T06:32:16.000Z
#include <boost/bind.hpp> #include <gazebo/gazebo.hh> #include <gazebo/physics/physics.hh> #include <gazebo/common/common.hh> #include <gazebo/transport/TransportTypes.hh> #include <gazebo/msgs/MessageTypes.hh> #include <gazebo/common/Time.hh> #include <stdio.h> #if(GAZEBO_MAJOR_VERSION <= 8) #include <gazebo/math/gzma...
34.954545
139
0.670301
[ "model" ]
55841b78686307e73adc6880b50435b3d7604188
2,900
hpp
C++
ql/math/solvers1d/newton.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/math/solvers1d/newton.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/math/solvers1d/newton.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redis...
33.333333
79
0.583793
[ "object" ]
558b7e1767dbb986f39d78d0e7d04a863f73ff4b
52,366
cpp
C++
Learn/C语言进阶算法/05.计算几何/geometry.cpp
qaiu/c4droid-code
5aaddbd5c72794d9dbdf9da27fb364f1e8074351
[ "MIT" ]
54
2020-11-27T17:57:59.000Z
2022-03-28T01:48:09.000Z
Learn/C语言进阶算法/05.计算几何/geometry.cpp
qaiu/c4droid-code
5aaddbd5c72794d9dbdf9da27fb364f1e8074351
[ "MIT" ]
null
null
null
Learn/C语言进阶算法/05.计算几何/geometry.cpp
qaiu/c4droid-code
5aaddbd5c72794d9dbdf9da27fb364f1e8074351
[ "MIT" ]
17
2020-11-28T06:36:19.000Z
2022-01-28T03:05:27.000Z
/************************************************************* ******************************************************** **计算几何基础库 ********************************************************* ©版本信息 完全开源 copy者不要去掉此部分 整理By:千百度QAIU debug调试记录 1.修改个别的语法错误 2.增加原code缺失的以下函数 a:取最小值 double min(double a,double b); b:取最大值 do...
23.545863
214
0.544437
[ "geometry" ]
5596aa720e3b409636b037a9b55ef68a91dd7419
6,916
cpp
C++
src/constitutive/mechanics/solid/nonaffine_microsphere.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/constitutive/mechanics/solid/nonaffine_microsphere.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/constitutive/mechanics/solid/nonaffine_microsphere.cpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#include "nonaffine_microsphere.hpp" #include "constitutive/internal_variables.hpp" #include "constitutive/mechanics/detail/microsphere.hpp" #include "constitutive/mechanics/volumetric_free_energy.hpp" #include "io/json.hpp" #include <tbb/parallel_for.h> #include <stdexcept> namespace neon::mechanics::solid { nona...
39.295455
102
0.636061
[ "solid" ]
55995511dad1aabaa1a5774128a5663f8b4925a6
14,881
hpp
C++
include/GlobalNamespace/ResultsViewController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ResultsViewController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ResultsViewController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: HMUI.ViewController #include "HMUI/ViewController.hpp" #include "exte...
51.670139
2,141
0.737652
[ "object" ]
559d3736f965eb0c01814e0de0b5670af6bf6e63
829
cpp
C++
Arrays/miscellaneous/next_permutation.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Arrays/miscellaneous/next_permutation.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Arrays/miscellaneous/next_permutation.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
//leetcode.com/problems/next-permutation/ #include <bits/stdc++.h> using namespace std; class Solution { public: void nextPermutation(vector<int>& nums) { int less_than_next = -1; int idx = -1; for (int i = nums.size() - 2; i >= 0; --i) { if (nums[i] < nums[i + 1]) { ...
27.633333
67
0.433052
[ "vector" ]
55aa6082c3bbf8078fe76f9730996748d12970df
10,101
cpp
C++
VarFlow/example.cpp
liuzc188/Convolutional-LSTM-in-Tensorflow-master
541eebf6a40d4e8f53d9789360a9ef794da2e35a
[ "Apache-2.0" ]
1
2019-04-04T09:25:03.000Z
2019-04-04T09:25:03.000Z
VarFlow/example.cpp
liuzc188/Convolutional-LSTM-in-Tensorflow-master
541eebf6a40d4e8f53d9789360a9ef794da2e35a
[ "Apache-2.0" ]
null
null
null
VarFlow/example.cpp
liuzc188/Convolutional-LSTM-in-Tensorflow-master
541eebf6a40d4e8f53d9789360a9ef794da2e35a
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------ // Released under the BDS License // // Located at http://sourceforge.net/projects/varflow // //------------------------------------------------------------------ //-------------------------------------------------------------------------------------...
28.696023
143
0.508366
[ "vector" ]
55ac9b836c1078161b6d709ce3e14deef53c50b1
1,640
cc
C++
ash/system/status_area_widget_test_api.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/system/status_area_widget_test_api.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/system/status_area_widget_test_api.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/system/status_area_widget_test_api.h" #include "ash/root_window_controller.h" #include "ash/shell.h" #include "ash/system/accessibility/sel...
34.893617
77
0.753049
[ "geometry" ]
55b796e0eb57c3b3eab05395284bcf12f8522c77
8,740
cpp
C++
raidutil/intlist.cpp
barak/raidutils
8eed7a577ac4565da324cd742e8f1afe7ae101e0
[ "BSD-3-Clause" ]
null
null
null
raidutil/intlist.cpp
barak/raidutils
8eed7a577ac4565da324cd742e8f1afe7ae101e0
[ "BSD-3-Clause" ]
null
null
null
raidutil/intlist.cpp
barak/raidutils
8eed7a577ac4565da324cd742e8f1afe7ae101e0
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1996-2004, Adaptec Corporation * 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...
25.18732
83
0.569451
[ "object" ]
55cc55a2d9766d151c8efce8b56c59769ddf2054
7,482
cpp
C++
TengineStudy/app/src/main/cpp/src/openpose.cpp
LightSun/tengine_demo
ad9e2cc92865cd8b5092346137e5e8528309425f
[ "Apache-2.0" ]
null
null
null
TengineStudy/app/src/main/cpp/src/openpose.cpp
LightSun/tengine_demo
ad9e2cc92865cd8b5092346137e5e8528309425f
[ "Apache-2.0" ]
null
null
null
TengineStudy/app/src/main/cpp/src/openpose.cpp
LightSun/tengine_demo
ad9e2cc92865cd8b5092346137e5e8528309425f
[ "Apache-2.0" ]
null
null
null
// // Created by Administrator on 2020/10/14 0014. // #include <opencv2/imgcodecs.hpp> #include "openpose.h" #include "opencv2/imgproc.hpp" #include "GraphParam.h" #include "log.h" #include "ext.h" #define getPosePairs(type, op)\ switch (type){ \ case OPENPOSE_TYPE_MPI: { \ const static int PO...
39.172775
131
0.40123
[ "vector" ]
55d5e20a8b5f51690414d49a5bee5b14ac5a390a
2,648
cc
C++
waf-openapi/src/model/DescribeProtectionModuleRulesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
waf-openapi/src/model/DescribeProtectionModuleRulesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
waf-openapi/src/model/DescribeProtectionModuleRulesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
33.948718
124
0.780967
[ "vector", "model" ]