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
1e2afacd56ad2e54e608bda40a6fcb4d88c99167
14,051
hpp
C++
src/kre/AttributeSet.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/kre/AttributeSet.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
src/kre/AttributeSet.hpp
gamobink/anura
410721a174aae98f32a55d71a4e666ad785022fd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2013-2014 by Kristina Simpson <sweet.kristas@gmail.com> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any pur...
34.021792
161
0.719379
[ "vector" ]
1e2ceff974f284b4c2df43132ff53881720cd704
2,074
cpp
C++
hw/2_matr_mult/src/main.cpp
GimmeDanger/made-hpc-2021
374f3add1bc80a70c35d6dac5f9ad2610a8ea77e
[ "MIT" ]
null
null
null
hw/2_matr_mult/src/main.cpp
GimmeDanger/made-hpc-2021
374f3add1bc80a70c35d6dac5f9ad2610a8ea77e
[ "MIT" ]
null
null
null
hw/2_matr_mult/src/main.cpp
GimmeDanger/made-hpc-2021
374f3add1bc80a70c35d6dac5f9ad2610a8ea77e
[ "MIT" ]
null
null
null
#include "tests.h" #include "helpers.h" #include "mat_mult.h" #define DBG_ASSERT 0 template<int Nruns, typename Func> void mat_mult_mat_tests(Func tested_func, const std::string& label, const std::vector<size_t>& test_N) { for (const size_t N : test_N) { std::vector<double> A(N * N), B(N * N), C(N * N), D(N * N...
31.907692
104
0.511572
[ "vector" ]
1e350a9387f3cf8fc2cc61737a9f79bfeb9fd436
9,659
hpp
C++
include/ripple/storage/storage_element_traits.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
4
2021-04-25T16:38:12.000Z
2021-12-23T08:32:15.000Z
include/ripple/storage/storage_element_traits.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
include/ripple/storage/storage_element_traits.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
/**=--- ripple/storage/storage_element_traits.hpp ---------- -*- C++ -*- ---==** * * Ripple * * Copyright (c) 2019 - 2021 Rob Clucas. * * This file is distributed under the MIT License. See LICENSE for details. * *==-----------------------------------------...
33.306897
80
0.654312
[ "vector" ]
1e394603a988ce97656c9f087759bf93586be546
3,841
cpp
C++
Practica 1/examen/1819_problema2/main.cpp
Abrantedr/Practicas-Informatica-Industrial-4-GIEIA
53d73c7c58b43e27370e2c5627220df2989e43d4
[ "MIT" ]
null
null
null
Practica 1/examen/1819_problema2/main.cpp
Abrantedr/Practicas-Informatica-Industrial-4-GIEIA
53d73c7c58b43e27370e2c5627220df2989e43d4
[ "MIT" ]
null
null
null
Practica 1/examen/1819_problema2/main.cpp
Abrantedr/Practicas-Informatica-Industrial-4-GIEIA
53d73c7c58b43e27370e2c5627220df2989e43d4
[ "MIT" ]
null
null
null
// Autor: Rubén Abrante Delgado. Fecha: 04/11/2020 #include <iostream> #include <vector> #include <string> #include <fstream> bool tieneSufijo(const std::string& archivo, const std::string& extension) { return archivo.size() >= extension.size() && archivo.compare(archivo.size() - extensio...
26.489655
72
0.569904
[ "vector" ]
1e4a9c1090be4f5244a13069047023df8d4d1526
1,021
hpp
C++
Graph/shortest_path/spfa.hpp
nikutto/ProconLibrary
fe206b0fe12e9c89b33f31334e18e7a9e151fd4d
[ "MIT" ]
null
null
null
Graph/shortest_path/spfa.hpp
nikutto/ProconLibrary
fe206b0fe12e9c89b33f31334e18e7a9e151fd4d
[ "MIT" ]
null
null
null
Graph/shortest_path/spfa.hpp
nikutto/ProconLibrary
fe206b0fe12e9c89b33f31334e18e7a9e151fd4d
[ "MIT" ]
null
null
null
#include "../../bits/stdc++.h" #include "../graph.hpp" // 単一始点最短経路 最悪O(EV) だが bellmann-ford より速い // O(E) になったりならなかったりする. 負閉路もok // verified: http://judge.u-aizu.ac.jp/onlinejudge/review.jsp?rid=3380678 std::vector<int> spfa(const Graph &g, int s) { int n = g.size(); std::vector<int> d(n, INF); std::vector<...
24.902439
73
0.394711
[ "vector" ]
1e5dcc721d5d8ea2094afe5a9cc8df0eefc4f79b
41,835
cc
C++
src/flatzinc/sat_fz_solver.cc
leandromundim/or-tools
592e4878caf1f989bb65f21c2270f82d19957370
[ "Apache-2.0" ]
null
null
null
src/flatzinc/sat_fz_solver.cc
leandromundim/or-tools
592e4878caf1f989bb65f21c2270f82d19957370
[ "Apache-2.0" ]
null
null
null
src/flatzinc/sat_fz_solver.cc
leandromundim/or-tools
592e4878caf1f989bb65f21c2270f82d19957370
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2014 Google // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
38.345555
85
0.644676
[ "vector", "model" ]
1e67644f6714094ef559c83141e8dcc381643f09
18,234
cpp
C++
pomegranate/graphics/gfx/vulkan/commandBufferVk.cpp
alexa-griffin/pomegranate
04ba7335e965f6e9059f3260d0ba010ae79a5450
[ "Apache-2.0" ]
null
null
null
pomegranate/graphics/gfx/vulkan/commandBufferVk.cpp
alexa-griffin/pomegranate
04ba7335e965f6e9059f3260d0ba010ae79a5450
[ "Apache-2.0" ]
null
null
null
pomegranate/graphics/gfx/vulkan/commandBufferVk.cpp
alexa-griffin/pomegranate
04ba7335e965f6e9059f3260d0ba010ae79a5450
[ "Apache-2.0" ]
null
null
null
#include "pch.hpp" #include "commandBufferVk.hpp" #include "bufferVk.hpp" #include "contextVk.hpp" #include "descriptorSetVk.hpp" #include "gfxVk.hpp" #include "instanceVk.hpp" #include "pipelineLayoutVk.hpp" #include "pipelineVk.hpp" #include "textureVk.hpp" namespace pom::gfx { CommandBufferVk::CommandBufferVk...
43.5179
119
0.626522
[ "render" ]
1e6d23cdfeab4871eacd8b57d2309528ab86ae21
32,156
cpp
C++
module/mpc-be/SRC/src/filters/transform/VSFilter/plugins.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/filters/transform/VSFilter/plugins.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/filters/transform/VSFilter/plugins.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* * (C) 2003-2006 Gabest * (C) 2006-2020 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your opt...
29.636866
158
0.667278
[ "render", "vector" ]
1e74cbaa0fe09fecf42614ef282a8a8366106d07
1,838
cpp
C++
Lib/QtQuickOakModelPlugin/oakmodelplugin.cpp
MNL82/oakmodelview
916f271dbca26f774828ad0fc512d260f14bfb04
[ "MIT" ]
2
2018-09-26T08:28:48.000Z
2019-04-28T06:35:35.000Z
Lib/QtQuickOakModelPlugin/oakmodelplugin.cpp
MNL82/oakmodelview
916f271dbca26f774828ad0fc512d260f14bfb04
[ "MIT" ]
1
2019-04-28T06:49:17.000Z
2019-05-01T06:59:25.000Z
Lib/QtQuickOakModelPlugin/oakmodelplugin.cpp
MNL82/oakmodelview
916f271dbca26f774828ad0fc512d260f14bfb04
[ "MIT" ]
null
null
null
/** * oakmodelview - version 0.1.0 * -------------------------------------------------------- * Copyright (C) 2017, by Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com) * Report bugs and download new versions at http://oakmodelview.com/ * * This library is distributed under the MIT License. * See accompanying file ...
39.106383
88
0.718716
[ "model" ]
1e81fc3415fb49a9fc4312147c61cfd4f6f07f8f
1,998
hpp
C++
sal/logger/logger.hpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
3
2017-03-21T20:39:25.000Z
2018-03-27T10:45:45.000Z
sal/logger/logger.hpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
49
2016-04-17T10:48:35.000Z
2018-12-29T10:00:55.000Z
sal/logger/logger.hpp
svens/sal.lib
8dee6a0ace5a5e4e8616f9cff98ea86ee8c4761c
[ "MIT" ]
1
2017-03-21T20:48:24.000Z
2017-03-21T20:48:24.000Z
#pragma once /** * \file sal/logger/logger.hpp * Macros for more convenient logging * * \addtogroup logger * \{ */ #include <sal/config.hpp> #include <sal/logger/channel.hpp> #include <sal/logger/worker.hpp> __sal_begin namespace logger { /** * \def sal_log(channel) * Function-like macro to ease loggin...
21.483871
78
0.68018
[ "object" ]
1e82b37ae3288b98c7d06c216ed3644ca4945337
2,807
hpp
C++
openbmc_modules/phosphor-fan-presence/control/handlers.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc_modules/phosphor-fan-presence/control/handlers.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
null
null
null
openbmc_modules/phosphor-fan-presence/control/handlers.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
#pragma once namespace phosphor { namespace fan { namespace control { namespace handler { /** * @brief A handler function to set/update a property on a zone * @details Sets or updates a zone property to the given value using the * provided zone dbus object's set property function * * @param[in] intf - Interface ...
28.938144
78
0.680798
[ "object" ]
1e840529fae9228416265e9f728565311bbc919b
1,882
hpp
C++
Include/Httplib/SSL/Client.hpp
Andres6936/Http.Lib
37aaa0555ff8481e26c3855376d1fa2dc087bdfd
[ "MIT" ]
1
2021-06-20T08:38:16.000Z
2021-06-20T08:38:16.000Z
Include/Httplib/SSL/Client.hpp
Andres6936/Http.Lib
37aaa0555ff8481e26c3855376d1fa2dc087bdfd
[ "MIT" ]
null
null
null
Include/Httplib/SSL/Client.hpp
Andres6936/Http.Lib
37aaa0555ff8481e26c3855376d1fa2dc087bdfd
[ "MIT" ]
null
null
null
// Joan Andrés (@Andres6936) Github. #ifndef HTTPLIB_CLIENT_HPP #define HTTPLIB_CLIENT_HPP namespace httplib { namespace detail { #ifdef CPPHTTPLIB_OPENSSL_SUPPORT class SSLClient : public ClientImpl { public: explicit SSLClient(const std::string &host); explicit SSLClient(const std::string &host, int port); ...
24.441558
74
0.752922
[ "vector" ]
1e89080af1687b79616bd40c309c33151abfce09
387
hpp
C++
kitser/utility.hpp
iamtanay/kitchen-management-server
e08293e1269a5819e598647d377826927da3b79d
[ "MIT" ]
null
null
null
kitser/utility.hpp
iamtanay/kitchen-management-server
e08293e1269a5819e598647d377826927da3b79d
[ "MIT" ]
null
null
null
kitser/utility.hpp
iamtanay/kitchen-management-server
e08293e1269a5819e598647d377826927da3b79d
[ "MIT" ]
null
null
null
#ifndef UTILITY_HPP #define UTILITY_HPP #include <string> #include <vector> #include <iostream> #include <sstream> #include <ctime> inline std::string dateTime() { time_t rawtime; struct tm * timeinfo; char buffer[80]; time (&rawtime); timeinfo = localtime(&rawtime); strftime(buffer,80,"%d-%...
16.826087
53
0.664083
[ "vector" ]
1e8bad67d3a8ae390a9047afb8098e859877269b
27,016
cc
C++
o3d/core/win/d3d9/texture_d3d9.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
o3d/core/win/d3d9/texture_d3d9.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
o3d/core/win/d3d9/texture_d3d9.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2009, Google Inc. * 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 conditio...
36.117647
80
0.607159
[ "render", "object" ]
1e92ca105390df0205af8484bdbb0b726d752a63
2,295
hh
C++
Contract/DB/Driver.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
Contract/DB/Driver.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
Contract/DB/Driver.hh
decouple/common
b1798868ab03ff349dccfd3fef09331ec0a1f4d3
[ "MIT" ]
null
null
null
<?hh // strict namespace Decouple\Common\Contract\DB; /** * This software is maintained voluntarily under the MIT license. * For more information, see <http://www.decouple.io/> */ use Exception; /** * A database driver interface * * @author Andrew Ewing <drew@phenocode.com> */ interface Driver { /** * Conne...
30.6
132
0.656209
[ "object", "vector" ]
1e9da41f81cace5e706faf0b40bddaa70188d474
42,393
cc
C++
sync/engine/sync_scheduler.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
sync/engine/sync_scheduler.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
sync/engine/sync_scheduler.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "sync/engine/sync_scheduler.h" #include <algorithm> #include <cstring> #include "base/bind.h" #include "base/compiler_specific.h" #include ...
35.180913
80
0.695186
[ "vector", "model" ]
1ea942118d241dd278556e06c72698c704a56607
8,770
hpp
C++
src/libraries/lagrangian/coalCombustion/submodels/surfaceReactionModel/COxidationKineticDiffusionLimitedRate/COxidationKineticDiffusionLimitedRate.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/coalCombustion/submodels/surfaceReactionModel/COxidationKineticDiffusionLimitedRate/COxidationKineticDiffusionLimitedRate.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/coalCombustion/submodels/surfaceReactionModel/COxidationKineticDiffusionLimitedRate/COxidationKineticDiffusionLimitedRate.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
27.84127
79
0.588255
[ "model" ]
1ea9aa9360c929ee94418d23b976726136bf302c
774
cpp
C++
B-OOP-400-LYN-4-1-tekspice/src/chipsets/False.cpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
2
2022-02-07T12:44:51.000Z
2022-02-08T12:04:08.000Z
B-OOP-400-LYN-4-1-tekspice/src/chipsets/False.cpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
null
null
null
B-OOP-400-LYN-4-1-tekspice/src/chipsets/False.cpp
Neotoxic-off/Epitech2024
8b3dd04fa9ac2b7019c0b5b1651975a7252d929b
[ "Apache-2.0" ]
1
2022-01-23T21:26:06.000Z
2022-01-23T21:26:06.000Z
/* ** EPITECH PROJECT, 2020 ** B-OOP-400-LYN-4-1-tekspice- ** File description: ** False.cpp */ #include "False.hpp" #include "Interface.hpp" #include "Transform.hpp" #include "Factory.hpp" False::False(Factory *factory) { this->factory = factory; return; } False::~False() { return; } void False::simula...
15.48
83
0.633075
[ "transform" ]
1eb056d3084d8943ee22e64a8b8f817237a3a5a4
6,511
cpp
C++
src/mySolvers/SolverMA41Eigen.cpp
chennachaos/stabfem
b3d1f44c45e354dc930203bda22efc800c377c6f
[ "MIT" ]
2
2020-12-30T16:45:41.000Z
2021-11-29T23:27:29.000Z
src/mySolvers/SolverMA41Eigen.cpp
chennachaos/stabfem
b3d1f44c45e354dc930203bda22efc800c377c6f
[ "MIT" ]
3
2019-11-22T12:57:55.000Z
2020-11-04T22:01:42.000Z
src/mySolvers/SolverMA41Eigen.cpp
chennachaos/mpap
99d02bc9075b72b899a167d1bbc2bf73584b85bc
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/algorithmfwd.h> #include "SolverMA41Eigen.h" #include "FunctionsSolver.h" #include "FunctionsProgram.h" #include "SolverWorkSpace.h" #include "SolverTime.h" #include "ComputerTime.h" extern SolverWorkSpace solverWorkSpace; extern SolverTime solverTime; extern Co...
21.003226
113
0.560129
[ "vector" ]
1eb166ce2586acc66711a10b59e1ddd126ca92bd
615
cpp
C++
tests/objloader.cpp
PearCoding/NumericSim
66cf98f574a2f615817c9b5456975be69662acf6
[ "MIT" ]
null
null
null
tests/objloader.cpp
PearCoding/NumericSim
66cf98f574a2f615817c9b5456975be69662acf6
[ "MIT" ]
null
null
null
tests/objloader.cpp
PearCoding/NumericSim
66cf98f574a2f615817c9b5456975be69662acf6
[ "MIT" ]
null
null
null
#define NS_ALLOW_CHECKS #include "Test.h" #include "mesh/Mesh.h" #include "OutputStream.h" #include "loader/MeshObjLoader.h" NS_USE_NAMESPACE; static const char* OBJ = #include "sphere.obj.inl" ; template<typename T> NS_BEGIN_TESTCASE_T1(ObjLoader) NS_TEST("load") { try { auto mesh = MeshObjLoader<T>::loadSt...
17.083333
49
0.75122
[ "mesh" ]
1eb782414243fbb2d35a7882bf3cc495d151cb99
5,758
cpp
C++
src/main.cpp
juliencombattelli/LedScreen
7d8b3073f82a360b6e7ef6c488d63eef9d4ef175
[ "MIT" ]
1
2017-08-16T05:54:15.000Z
2017-08-16T05:54:15.000Z
src/main.cpp
juliencombattelli/LedScreen
7d8b3073f82a360b6e7ef6c488d63eef9d4ef175
[ "MIT" ]
null
null
null
src/main.cpp
juliencombattelli/LedScreen
7d8b3073f82a360b6e7ef6c488d63eef9d4ef175
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file main.cpp * @author Ac6 * @version V1.0 * @date 01-December-2013 * @brief Default main function. ****************************************************************************** */ #include <mbed.h>...
29.680412
83
0.350816
[ "vector" ]
1eb9097017d147da59d66e70e873809558442ac5
8,945
cpp
C++
Interaction/mafGizmoPathRuler.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
Interaction/mafGizmoPathRuler.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
Interaction/mafGizmoPathRuler.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafGizmoPathRuler Authors: Stefano Perticoni Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; with...
26.308824
117
0.613415
[ "vector" ]
36389517ab90827d8675d53e3e1b076e22551c21
5,111
cpp
C++
worldeditor/src/controllers/objectctrlpipeline.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
worldeditor/src/controllers/objectctrlpipeline.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
worldeditor/src/controllers/objectctrlpipeline.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
#include "objectctrlpipeline.h" #include "rendertexture.h" #include "commandbuffer.h" #include "components/camera.h" #include "components/actor.h" #include "components/transform.h" #include "components/scene.h" #include "components/renderable.h" #include "resources/material.h" #include "resources/mesh.h" #include ...
30.242604
142
0.673841
[ "mesh", "object", "transform" ]
363f597baf810c99b05ec56f8f6741c918c4a8b0
1,125
cc
C++
hasherx16rv2.cc
MintPond/hasher-x16rv2
569513e35e1d820cf1542c968fe0b56fa0c6b0c4
[ "MIT" ]
null
null
null
hasherx16rv2.cc
MintPond/hasher-x16rv2
569513e35e1d820cf1542c968fe0b56fa0c6b0c4
[ "MIT" ]
null
null
null
hasherx16rv2.cc
MintPond/hasher-x16rv2
569513e35e1d820cf1542c968fe0b56fa0c6b0c4
[ "MIT" ]
null
null
null
#include <node.h> #include <node_buffer.h> #include <v8.h> #include <stdint.h> #include "nan.h" extern "C" { #include "x16rv2.h" } #define THROW_ERROR_EXCEPTION(x) Nan::ThrowError(x) #define THROW_ERROR_EXCEPTION_WITH_STATUS_CODE(x, y) NanThrowError(x, y) using namespace node; using namespace v8; NAN_METHOD(x1...
26.162791
129
0.696
[ "object" ]
36467301f13fd7126ba6f2f94a8c71415d8192c1
1,545
cpp
C++
b326.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
b326.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
b326.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define N 32768 vector<int> v[N]; int sz[N],nxt[N],inn[N],pos[N]; bool vis[N]; int Ntop; struct Node{ int p; vector<int> a; set<int> s; void init(){ s.clear(); a.resize(0); p = 0; } } node[N]; void dfs(int x,int p){ int mxn,mxsz = 0; s...
18.176471
59
0.493204
[ "vector" ]
36483f3f3be3b233adc044cd41acf8274e685b10
8,509
cpp
C++
media/nand/ddi/common/DeferredTask.cpp
flit/stmp_media_archive
69374674f714f25185fea413610ea46d8d352dd8
[ "BSD-3-Clause" ]
2
2018-01-18T21:24:33.000Z
2021-06-13T23:30:05.000Z
media/nand/ddi/common/DeferredTask.cpp
flit/stmp_media_archive
69374674f714f25185fea413610ea46d8d352dd8
[ "BSD-3-Clause" ]
null
null
null
media/nand/ddi/common/DeferredTask.cpp
flit/stmp_media_archive
69374674f714f25185fea413610ea46d8d352dd8
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Freescale Semiconductor, Inc. All rights reserved. // // Freescale Semiconductor, Inc. // Proprietary & Confidential // // This source code and the algorithms implemented therein constitute // confidential informat...
30.173759
139
0.584558
[ "object" ]
364e5490cfaf7f8db1e01d31ee0a8b94d90d823e
645
cpp
C++
day_14/ExtendedPolymerization.cpp
eriklemy/AdventOfCode-2021
2bf550bf03a7ca49e5dd6cb377d8acf6da6afae7
[ "MIT" ]
null
null
null
day_14/ExtendedPolymerization.cpp
eriklemy/AdventOfCode-2021
2bf550bf03a7ca49e5dd6cb377d8acf6da6afae7
[ "MIT" ]
null
null
null
day_14/ExtendedPolymerization.cpp
eriklemy/AdventOfCode-2021
2bf550bf03a7ca49e5dd6cb377d8acf6da6afae7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <vector> #include <queue> #include <fstream> #include <sstream> std::vector<std::string> parseArrowSeparedFile() { std::string line; std::vector<std::string> file; std::ifstream myfile("input.txt"); while(getline(myfile, line)) { std::stringstream...
23.035714
57
0.590698
[ "vector" ]
3667d2d5d7344e6dd73d4471743f4967c4ed6563
2,025
cxx
C++
src/asp/Camera/tests/TestCsmCameraModel.cxx
AndrewAnnex/StereoPipeline
084c3293c3a5382b052177c74388d9beeb79cf0b
[ "Apache-2.0" ]
323
2015-01-10T12:34:24.000Z
2022-03-24T03:52:22.000Z
src/asp/Camera/tests/TestCsmCameraModel.cxx
AndrewAnnex/StereoPipeline
084c3293c3a5382b052177c74388d9beeb79cf0b
[ "Apache-2.0" ]
252
2015-07-27T16:36:31.000Z
2022-03-31T02:34:28.000Z
src/asp/Camera/tests/TestCsmCameraModel.cxx
AndrewAnnex/StereoPipeline
084c3293c3a5382b052177c74388d9beeb79cf0b
[ "Apache-2.0" ]
105
2015-02-28T02:37:27.000Z
2022-03-14T09:17:30.000Z
// __BEGIN_LICENSE__ // Copyright (c) 2009-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NGT platform is licensed under the Apache License, Version 2.0 (the // "License"); you may not use this file excep...
31.153846
94
0.659259
[ "model" ]
3676baed5fe82202aacb6fd5a53b3477af4ce842
1,593
hpp
C++
ServicesDialog.hpp
chrisoldwood/FarmMonitor
5b9802ff2b9a3a64d74f8705769212822563c4cd
[ "MIT" ]
4
2018-01-31T13:12:02.000Z
2020-09-11T13:13:58.000Z
ServicesDialog.hpp
chrisoldwood/FarmMonitor
5b9802ff2b9a3a64d74f8705769212822563c4cd
[ "MIT" ]
null
null
null
ServicesDialog.hpp
chrisoldwood/FarmMonitor
5b9802ff2b9a3a64d74f8705769212822563c4cd
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// //! \file ServicesDialog.hpp //! \brief The ServicesDialog class declaration. //! \author Chris Oldwood // Check for previous inclusion #ifndef SERVICESDIALOG_HPP #define SERVICESDIALOG_HPP #if _MSC_VER > 1000 #pragma once #endif #in...
19.192771
80
0.624608
[ "vector" ]
367dfe06cfeed60e9c621a146e28c05b2b1fb48e
1,911
hpp
C++
DataProxy/include/detail/RestRequestBuilder.hpp
aol/DataProxyLibrary
b1a16e6abadcf3e1cd07448086e2375511a337e6
[ "BSD-3-Clause" ]
null
null
null
DataProxy/include/detail/RestRequestBuilder.hpp
aol/DataProxyLibrary
b1a16e6abadcf3e1cd07448086e2375511a337e6
[ "BSD-3-Clause" ]
null
null
null
DataProxy/include/detail/RestRequestBuilder.hpp
aol/DataProxyLibrary
b1a16e6abadcf3e1cd07448086e2375511a337e6
[ "BSD-3-Clause" ]
null
null
null
// // FILE NAME: $HeadURL: svn+ssh://svn.cm.aol.com/advertising/adlearn/gen1/trunk/lib/cpp/DataProxy/RestRequestBuilder.hpp $ // // REVISION: $Revision: 220478 $ // // COPYRIGHT: (c) 2006 Advertising.com All Rights Reserved. // // LAST UPDATED: $Date: 2011-08-23 14:38:03 -0400 (Tue, 23 Aug 2011) $...
34.125
142
0.733124
[ "vector" ]
3688f9bc8261ea0456a0c258c56f2537ef4574d6
22,783
cpp
C++
dev/src/recompiler_tools/timeMachineView.cpp
FateForWindows/recompiler
a3f4ef5b0482c879826f97132eed9cd9273f8a59
[ "MIT" ]
1,473
2017-06-27T19:25:41.000Z
2022-03-30T03:18:35.000Z
dev/src/recompiler_tools/timeMachineView.cpp
Grima04/recompiler
29c71bc26092c45508866bd7e7a0bd8a6160a898
[ "MIT" ]
20
2017-07-27T22:21:24.000Z
2021-05-13T15:23:00.000Z
dev/src/recompiler_tools/timeMachineView.cpp
Grima04/recompiler
29c71bc26092c45508866bd7e7a0bd8a6160a898
[ "MIT" ]
113
2017-08-09T20:41:53.000Z
2022-03-08T03:58:12.000Z
#include "build.h" #include "timeMachineView.h" #include "progressDialog.h" namespace tools { //--------------------------------------------------------------------------- static wxPoint RectCenter(const wxRect& rect) { return wxPoint(rect.GetLeft() + rect.GetWidth() / 2, rect.GetTop() + rect.GetHeight() / 2); ...
24.314835
161
0.63723
[ "shape", "vector" ]
368aa2551753753c32f7471770420689641a9405
13,971
cpp
C++
master/core/third/tntnet/framework/common/httpreply.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/tntnet/framework/common/httpreply.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/tntnet/framework/common/httpreply.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* * Copyright (C) 2003-2005 Tommi Maekitalo * * 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 option) any later version. * * As...
27.501969
140
0.608833
[ "vector" ]
36a06930bf59c348f15bd6eb36cd36722bcc861b
1,521
hpp
C++
source/toy/canvas/detail/Brush.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
source/toy/canvas/detail/Brush.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
source/toy/canvas/detail/Brush.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include "toy/Standard.hpp" #include "toy/ImageBuffer.hpp" #include "toy/canvas/Texture.hpp" namespace toy{ namespace canvas{ class Geometry; class Image; class Program; class Brush; namespace _detail{ class Brush { public: Brush(){} virtual ~Brush(){} virtual void viewport(int x, int y, int ...
28.698113
83
0.671926
[ "geometry", "render" ]
36a5f2c32b4a5f268d50463531376f588b4d911c
6,288
cc
C++
homeworks/IncidenceMatrices/mysolution/incidencematrices.cc
yiluchen1066/NPDECODES
f7b1d96555bace59aba2b65f3ef1e95fa7a9017c
[ "MIT" ]
null
null
null
homeworks/IncidenceMatrices/mysolution/incidencematrices.cc
yiluchen1066/NPDECODES
f7b1d96555bace59aba2b65f3ef1e95fa7a9017c
[ "MIT" ]
null
null
null
homeworks/IncidenceMatrices/mysolution/incidencematrices.cc
yiluchen1066/NPDECODES
f7b1d96555bace59aba2b65f3ef1e95fa7a9017c
[ "MIT" ]
null
null
null
#include "incidencematrices.h" #include <lf/base/base.h> #include <lf/geometry/geometry.h> #include <lf/mesh/hybrid2d/hybrid2d.h> #include <lf/mesh/mesh.h> #include <Eigen/Core> #include <Eigen/SparseCore> #include <array> #include <memory> namespace IncidenceMatrices { /** @brief Create the mesh consisting of a tr...
37.879518
110
0.675413
[ "mesh", "geometry" ]
a5fd3378402b37c8d5fda359c210c34f581d0de1
80,656
cpp
C++
src/game.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/game.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/game.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: game.cpp 49248 2011-04-17 07:49:10Z mordante $ */ /* Copyright (C) 2003 - 2011 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
32.614638
180
0.614412
[ "object", "vector" ]
a5fd998b5927a117bb5e088c4d7016790e3dc215
1,628
cpp
C++
Week 4 Hw/MajorityElements.cpp
codyvi/Data-Structures-and-Algorithms-Course
efbe50eadbec7819efaf9d2c68b10ca352d6e0a6
[ "MIT" ]
null
null
null
Week 4 Hw/MajorityElements.cpp
codyvi/Data-Structures-and-Algorithms-Course
efbe50eadbec7819efaf9d2c68b10ca352d6e0a6
[ "MIT" ]
null
null
null
Week 4 Hw/MajorityElements.cpp
codyvi/Data-Structures-and-Algorithms-Course
efbe50eadbec7819efaf9d2c68b10ca352d6e0a6
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using std::vector; unsigned int count(const vector<int> &a, int left, int right, int element) { unsigned int count = 0; for (unsigned int i = left; i <= right; i++) { if (a[i] == element) { count++; } } return count; } int get_majority_element(...
18.712644
74
0.580467
[ "vector" ]
5708e16acdb2d8438e32d8fb5edca1766ce25cc0
2,063
cpp
C++
10.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
10.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
10.cpp
malkiewiczm/adventofcode2020
8491a5a0be11fa8cfa61d67c97401797c0e7cf6b
[ "Apache-2.0" ]
null
null
null
//#define PARTONE #include "template.hpp" #define SET_HAS(set, key) ((set).find(key) != (set).end()) #ifdef PARTONE static bool dfs(const std::set<int> &nums, std::map<int, int> &prev, int n, int target) { if (n == target) return true; for (int i = 1; i <= 3; ++i) { const int m = n + i; if (SET_HAS(nums, m)) ...
20.029126
87
0.59428
[ "vector" ]
571037f93bf449af3be1cda7c830056bf470c094
892
cpp
C++
src/1584/1584-Min-Cost-to-Connect-All-Points.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
2
2022-03-10T17:06:18.000Z
2022-03-11T08:52:00.000Z
src/1584/1584-Min-Cost-to-Connect-All-Points.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
src/1584/1584-Min-Cost-to-Connect-All-Points.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <climits> #include <vector> #include "leetcode_utils.h" using namespace std; class Solution1 { public: int minCostConnectPoints(vector<vector<int>>& points) { std::vector<int> ds(points.size(), INT_MAX); for (auto i = 1; i < points.size(); i++) ds[i] = calDistance(point...
24.777778
75
0.554933
[ "vector" ]
571336f80e22dd5e542fb07fb8008993ad9464ce
15,343
cpp
C++
rv7fl_path_planner_moveit/src/motion_planning_api.cpp
iman-keangkasa/melfa_robot
4305892f693b57420b1fa9146334f47bfb170d30
[ "Apache-2.0" ]
null
null
null
rv7fl_path_planner_moveit/src/motion_planning_api.cpp
iman-keangkasa/melfa_robot
4305892f693b57420b1fa9146334f47bfb170d30
[ "Apache-2.0" ]
null
null
null
rv7fl_path_planner_moveit/src/motion_planning_api.cpp
iman-keangkasa/melfa_robot
4305892f693b57420b1fa9146334f47bfb170d30
[ "Apache-2.0" ]
null
null
null
/*These codes are based on the moveit tutorial written by Sachin Chitta and Michael Lautman*/ #include <pluginlib/class_loader.h> #include <ros/ros.h> #include <moveit/robot_model_loader/robot_model_loader.h> #include <moveit/planning_interface/planning_interface.h> #include <moveit/planning_scene/planning_scene.h> #i...
39.748705
128
0.754025
[ "object", "vector" ]
5714c3ccf9e6453872ed1ae6df752f9b972f19ee
9,588
cpp
C++
src/cfdcore_wally_util.cpp
fujita-cg/cfd-core
9f3bbf0dfdfbc33dd4fd00cb6d81665dc98bffe2
[ "MIT" ]
null
null
null
src/cfdcore_wally_util.cpp
fujita-cg/cfd-core
9f3bbf0dfdfbc33dd4fd00cb6d81665dc98bffe2
[ "MIT" ]
2
2019-11-11T06:29:38.000Z
2020-07-18T08:02:16.000Z
src/cfdcore_wally_util.cpp
fujita-cg/cfd-core
9f3bbf0dfdfbc33dd4fd00cb6d81665dc98bffe2
[ "MIT" ]
1
2019-11-08T13:13:42.000Z
2019-11-08T13:13:42.000Z
// Copyright 2019 CryptoGarage /** * @file cfdcore_wally_util.cpp * * @brief libwally internal utility. * */ #include <algorithm> #include <exception> #include <string> #include <vector> #include "cfdcore/cfdcore_bytedata.h" #include "cfdcore/cfdcore_exception.h" #include "cfdcore/cfdcore_logger.h" #include "cfdc...
32.723549
79
0.713809
[ "object", "vector" ]
571c4c6acfa436560e11a7ee3212f091eeaa788a
15,536
cpp
C++
libintrinsic3d/src/refinement/intrinsic3d.cpp
dazinovic/intrinsic3d
4e5ea3b3d81b4174f33765e1d3dd0b24c2716c06
[ "BSD-3-Clause" ]
370
2019-01-03T23:22:40.000Z
2022-03-09T12:40:03.000Z
libintrinsic3d/src/refinement/intrinsic3d.cpp
wangxihao/intrinsic3d
a0ae31df213b37828a8c48ce6567b7a211e3df3e
[ "BSD-3-Clause" ]
16
2019-02-13T10:15:19.000Z
2021-11-10T10:22:47.000Z
libintrinsic3d/src/refinement/intrinsic3d.cpp
wangxihao/intrinsic3d
a0ae31df213b37828a8c48ce6567b7a211e3df3e
[ "BSD-3-Clause" ]
66
2019-02-28T06:19:55.000Z
2022-03-10T10:06:35.000Z
/** * This file is part of Intrinsic3D. * * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2019, Technical University of Munich. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
37.708738
117
0.606849
[ "vector", "model" ]
571d3ac40316872fabaffeac13d04400e7017d8d
7,343
cpp
C++
interface/src/ui/BaseLogDialog.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
2
2018-05-07T16:12:38.000Z
2019-04-28T17:32:01.000Z
interface/src/ui/BaseLogDialog.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
interface/src/ui/BaseLogDialog.cpp
trentpolack/hifi
3b8636b75c3df242c0aeecbca6e01f386e238f45
[ "Apache-2.0" ]
null
null
null
// // BaseLogDialog.cpp // interface/src/ui // // Created by Clement Brisset on 1/31/17. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "BaseLogDialog.h" #include <...
31.787879
105
0.713605
[ "object" ]
5720651e9e4a9dbc4670f8e23061310db4223359
3,318
cpp
C++
assignment1/src/Objects/geometry/Binder.cpp
seanheinrichs/comp371
8c633e8e4ebf16c796b5969c3755d734ca172664
[ "MIT" ]
null
null
null
assignment1/src/Objects/geometry/Binder.cpp
seanheinrichs/comp371
8c633e8e4ebf16c796b5969c3755d734ca172664
[ "MIT" ]
null
null
null
assignment1/src/Objects/geometry/Binder.cpp
seanheinrichs/comp371
8c633e8e4ebf16c796b5969c3755d734ca172664
[ "MIT" ]
2
2020-09-17T14:51:16.000Z
2020-09-23T16:33:29.000Z
#include "binder.h" #include <iostream> #include "../../Opengl_a/vertexComponent.h" #include "../../Opengl_a/vertex.h" #include "model.h" /* USED FOR DEBUGGING - Every OpenGL function call we use should be wrapped in a GLCall() * *The following 20 lines of code are not our own! * *Source: https://www.youtube.com/watc...
25.136364
148
0.71308
[ "vector", "model" ]
572749df0e40167aef5100f6d0a87648fc2ce5b9
437
cpp
C++
HackerEarth/TheConfusedMonk.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
HackerEarth/TheConfusedMonk.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
HackerEarth/TheConfusedMonk.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { const long long MonkQuotient = 1000000007 ; int n ; cin >> n ; vector<long long> v (n); for(auto&x : v) cin >> x ; long long mul = 1 * v[0] , ans , gcd = __gcd(v[0], v[1]) ; for(int i = 1 ; i < n ; i++) { mul *= v[i]; gcd = ...
20.809524
61
0.494279
[ "vector" ]
572828fea76c55d7c6a927282d4a3fbf98fcc4a9
710
cpp
C++
Algorithm/0264 (Medium)Ugly Number II/Brute-Force-Selecte.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
1
2020-12-03T10:10:15.000Z
2020-12-03T10:10:15.000Z
Algorithm/0264 (Medium)Ugly Number II/Brute-Force-Selecte.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
Algorithm/0264 (Medium)Ugly Number II/Brute-Force-Selecte.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
class Solution { public: void generate(vector<long long> &ans) { long long max = INT_MAX; long long minbound = *(ans.end() - 1); for(int i = 0; i < ans.size(); i++){ if(ans[i] * 2 < max && ans[i] * 2 > minbound) max = ans[i] * 2; if(ans[i] * 3 < max &&...
29.583333
57
0.421127
[ "vector" ]
572fe50680d807d60129b3e89ca85f9b197beef8
59,394
cpp
C++
section-7-bug-detection/section-7.2-detecting-concurrency-bugs/double-lock-detector/DoubleLockDetector/lib/RustDoubleLockDetector/RustDoubleLockDetector.cpp
system-pclub/rust-study
403b06f30809d10d2bb066d2fbcd33caf3446d17
[ "Apache-2.0", "MIT" ]
70
2020-04-13T07:28:14.000Z
2022-03-25T05:52:32.000Z
section-7-bug-detection/section-7.2-detecting-concurrency-bugs/double-lock-detector/DoubleLockDetector/lib/RustDoubleLockDetector/RustDoubleLockDetector.cpp
system-pclub/rust-study
403b06f30809d10d2bb066d2fbcd33caf3446d17
[ "Apache-2.0", "MIT" ]
2
2020-04-03T08:07:17.000Z
2021-03-17T10:47:11.000Z
section-7-bug-detection/section-7.2-detecting-concurrency-bugs/double-lock-detector/DoubleLockDetector/lib/RustDoubleLockDetector/RustDoubleLockDetector.cpp
system-pclub/rust-study
403b06f30809d10d2bb066d2fbcd33caf3446d17
[ "Apache-2.0", "MIT" ]
7
2020-04-23T02:22:52.000Z
2021-11-20T08:51:47.000Z
#include "RustDoubleLockDetector/RustDoubleLockDetector.h" #include "llvm/Pass.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/ValueTracking.h" #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/IR/DebugLoc.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/I...
40.54198
150
0.45183
[ "vector" ]
5735c8a8c8d4af91e13e0ec4e6bafaefe92fc1cd
4,674
cpp
C++
test/test_positional_arguments.cpp
CrustyAuklet/argparse
45664c4e9f05ff287731a9ff8b724d0c89fb6e77
[ "MIT" ]
null
null
null
test/test_positional_arguments.cpp
CrustyAuklet/argparse
45664c4e9f05ff287731a9ff8b724d0c89fb6e77
[ "MIT" ]
null
null
null
test/test_positional_arguments.cpp
CrustyAuklet/argparse
45664c4e9f05ff287731a9ff8b724d0c89fb6e77
[ "MIT" ]
null
null
null
#include <doctest.hpp> #include <argparse.hpp> #include <cmath> using doctest::test_suite; TEST_CASE("Parse positional arguments" * test_suite("positional_arguments")) { argparse::ArgumentParser program("test"); program.add_argument("input"); program.add_argument("output"); program.parse_args({ "test", "rocke...
38
127
0.650834
[ "mesh", "vector" ]
5741194647bf325af89f27c0f0b7be160c59ea16
519
cpp
C++
Codeforces/588B - Duff in Love.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/588B - Duff in Love.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/588B - Duff in Love.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using ll = long long; using namespace std; int main() { ll n; scanf("%lld", &n); vector<pair<ll, ll>> res; for (ll i = 2; i * i <= n; ++i) { int p = 0; if ( n % i == 0 ) { while( n % i == 0 ) { n /= i; p++; ...
18.535714
39
0.377649
[ "vector" ]
574993190741e38cb5e21fbae2fab99d42e11fe8
11,346
cpp
C++
test/tbb/test_tagged_msg.cpp
andrewseidl/oneTBB
2d9df245c7084ea187ceeafdd31ea9767e3a4bea
[ "Apache-2.0" ]
1
2021-01-22T06:36:30.000Z
2021-01-22T06:36:30.000Z
test/tbb/test_tagged_msg.cpp
andrewseidl/oneTBB
2d9df245c7084ea187ceeafdd31ea9767e3a4bea
[ "Apache-2.0" ]
null
null
null
test/tbb/test_tagged_msg.cpp
andrewseidl/oneTBB
2d9df245c7084ea187ceeafdd31ea9767e3a4bea
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2005-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
41.713235
164
0.664111
[ "object", "vector" ]
575439c45228331c5533be3407b3016b220f7907
94,053
cpp
C++
src/qt/src/gui/kernel/qkeysequence.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/src/gui/kernel/qkeysequence.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/src/gui/kernel/qkeysequence.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
54.460336
193
0.567201
[ "object" ]
575a3455ce1c2a76592cc970c46c8ff8368b7585
18,865
cc
C++
media/audio/audio_output_device.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
media/audio/audio_output_device.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
media/audio/audio_output_device.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2012 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 "media/audio/audio_output_device.h" #include <stddef.h> #include <stdint.h> #include <cmath> #include <utility> #include "base/callback_he...
36.139847
80
0.716194
[ "render", "object" ]
5761d71b4a123ab0dac87e50574bec2d230ee068
776
hpp
C++
inc/CollisionTester.hpp
Tastyep/SFML-PolygonIntersectionCalculator
0ad4cf36ee3b4b7700ea953f7cac798de512cba7
[ "MIT" ]
null
null
null
inc/CollisionTester.hpp
Tastyep/SFML-PolygonIntersectionCalculator
0ad4cf36ee3b4b7700ea953f7cac798de512cba7
[ "MIT" ]
null
null
null
inc/CollisionTester.hpp
Tastyep/SFML-PolygonIntersectionCalculator
0ad4cf36ee3b4b7700ea953f7cac798de512cba7
[ "MIT" ]
null
null
null
#ifndef COLLISION_DETECTION_COLLISION_TESTER_HPP #define COLLISION_DETECTION_COLLISION_TESTER_HPP #include <limits> #include <utility> #include <vector> #include <SFML/System/Vector2.hpp> #include "Polygon.hpp" namespace CollisionDetection { struct IntersectionData { sf::Vector2f normal; float distance{ std::n...
25.032258
117
0.760309
[ "vector" ]
5763927cf91dcca3046bdaccc2b2c0026431ffeb
886
cpp
C++
1001-1100/1074-Number of Submatrices That Sum to Target/1074-Number of Submatrices That Sum to Target.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1001-1100/1074-Number of Submatrices That Sum to Target/1074-Number of Submatrices That Sum to Target.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1001-1100/1074-Number of Submatrices That Sum to Target/1074-Number of Submatrices That Sum to Target.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int numSubmatrixSumTarget(vector<vector<int>>& matrix, int target) { vector<vector<int>> presum(matrix.size(), vector<int>(1 + matrix[0].size())); for (int i = 0; i < matrix.size(); ++i) { for (int j = 0; j < matrix[0].size(); ++j) { presum[i][j +...
31.642857
85
0.397291
[ "vector" ]
576b9f122828c13fc48774ef739adaf95817c94d
7,332
cpp
C++
Source/DeviceRGB/Private/DeviceRGBSubsystem.cpp
pramberg/DeviceRGB
a2020b2b5accb1fc864c16905c35c352d3e4f39b
[ "MIT" ]
3
2021-08-12T16:13:22.000Z
2022-02-26T05:54:06.000Z
Source/DeviceRGB/Private/DeviceRGBSubsystem.cpp
pramberg/DeviceRGB
a2020b2b5accb1fc864c16905c35c352d3e4f39b
[ "MIT" ]
12
2021-08-11T09:00:36.000Z
2021-11-06T16:04:55.000Z
Source/DeviceRGB/Private/DeviceRGBSubsystem.cpp
pramberg/DeviceRGB
a2020b2b5accb1fc864c16905c35c352d3e4f39b
[ "MIT" ]
null
null
null
// Copyright(c) 2021 Viktor Pramberg #include "DeviceRGBSubsystem.h" #include "DeviceRGBViewExtension.h" #include "DeviceRGBSettings.h" #include "IDeviceRGB.h" #include "DeviceRGB.h" #include "DeviceRGBStats.h" #include <Engine/Texture2D.h> #include <Materials/MaterialInterface.h> #include <Materials/MaterialInstanceD...
24.358804
194
0.748636
[ "transform" ]
576d50a6f0d28e820d7d627b805ad60f102ed4bb
1,971
hpp
C++
plugins/account_plugin/include/eosio/account_plugin/main.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/main.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/main.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <regex> #include <boost/asio.hpp> #include <boost/format.hpp> #include <iostream> #include <fc/variant.hpp> #include <fc/io/json.hpp> #include <fc/io/console.hpp> #include <fc/exception/exception.hpp> #include <eosio/utilities/key_conversion.hpp> #include <eos...
28.565217
168
0.775748
[ "vector", "model" ]
576dc12c7709f13e84dbcc481c7f8016aa10fb13
9,728
cpp
C++
src/subscriber/subscriber.cpp
fossabot/ClashSubGenerator
bdf062811b5a401f2a7cc10af725dbfaeb36c080
[ "MIT" ]
null
null
null
src/subscriber/subscriber.cpp
fossabot/ClashSubGenerator
bdf062811b5a401f2a7cc10af725dbfaeb36c080
[ "MIT" ]
null
null
null
src/subscriber/subscriber.cpp
fossabot/ClashSubGenerator
bdf062811b5a401f2a7cc10af725dbfaeb36c080
[ "MIT" ]
null
null
null
// // Created by Kotarou on 2020/3/19. // #include <spdlog/spdlog.h> #include <yaml-cpp/yaml.h> #include "subscriber.h" #include "../yaml_helper.h" #include "../utils.h" Subscriber::Subscriber() { this->regex_collapse = false; this->enable_grouping = false; this->exclude_amplified_node = false; this-...
36.298507
122
0.584601
[ "vector", "transform" ]
57705428ec722c9af56fc8420f1463bd60cc7473
4,188
cpp
C++
ie/src/v20200304/model/DownInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ie/src/v20200304/model/DownInfo.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
ie/src/v20200304/model/DownInfo.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 ...
25.693252
124
0.662607
[ "object", "model" ]
5771b4880b512eee9fd42889eea568c04f1d0f18
4,496
cpp
C++
benchmark/cuda/stencil/StencilHPX.cpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
30
2015-10-01T16:15:02.000Z
2022-03-17T12:21:47.000Z
benchmark/cuda/stencil/StencilHPX.cpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
50
2015-06-21T01:05:34.000Z
2021-08-06T18:20:54.000Z
benchmark/cuda/stencil/StencilHPX.cpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
23
2015-03-18T11:18:36.000Z
2021-12-27T16:36:32.000Z
// Copyright (c) 2015 Patrick Diehl // // 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) #include <hpx/hpx_main.hpp> #include <hpx/iostream.hpp> #include <hpx/future.hpp> #include "examples/opencl/benchmark_ve...
27.925466
80
0.658363
[ "vector" ]
578582d2f2c8dc51e47ac5b7bc90bed7cb29a22b
25,373
cpp
C++
third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 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 "core/frame/csp/SourceListDirective.h" #include "core/frame/csp/CSPSource.h" #include "core/frame/csp/ContentSecurityPolicy.h" #include "platfor...
30.980464
80
0.648524
[ "vector" ]
c231e6e8009dda25339c0c850b133bea9aa55355
10,246
cpp
C++
tests/simpleKVBC/TesterCRE/main.cpp
LYRA-Block-Lattice/concord-bft
149807ab53c60080ed7a8fa4f7bf9355fe667ede
[ "Apache-2.0" ]
null
null
null
tests/simpleKVBC/TesterCRE/main.cpp
LYRA-Block-Lattice/concord-bft
149807ab53c60080ed7a8fa4f7bf9355fe667ede
[ "Apache-2.0" ]
null
null
null
tests/simpleKVBC/TesterCRE/main.cpp
LYRA-Block-Lattice/concord-bft
149807ab53c60080ed7a8fa4f7bf9355fe667ede
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2018-2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 // License. // // This product may include a number of subcomponents with separate copyr...
39.713178
120
0.690709
[ "vector" ]
c23a06cef8eea45f72d0adda2be1eed5ba6ab0f8
1,755
cpp
C++
usaco/train/1_getting_started/transform/transform.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
usaco/train/1_getting_started/transform/transform.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
null
null
null
usaco/train/1_getting_started/transform/transform.cpp
pi-guy-in-the-sky/competitive-programming
e079f6caf07b5de061ea4f56218f9b577e49a965
[ "MIT" ]
1
2020-10-25T05:46:57.000Z
2020-10-25T05:46:57.000Z
// solved 2020-07-19 #include <iostream> #include <fstream> #define GRID_SIZE 12 using namespace std; typedef bool grid[GRID_SIZE][GRID_SIZE]; void read_grid(ifstream* fin, int N, grid g) { char ch; for (int r = 0; r < N; r++) { for (int c = 0; c < N; c++) { *fin >> ch; ...
23.092105
61
0.401709
[ "transform" ]
c23aa4b5bba9cfb325c7665842e0eabb90293cd7
1,098
cpp
C++
Medium/787_Cheapest_Flights_Within_K_Stops.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/787_Cheapest_Flights_Within_K_Stops.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/787_Cheapest_Flights_Within_K_Stops.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: void DFS(unordered_map<int, vector<pair<int,int>>>& g, int src, int dst, int K, int curr_price, int& final_price, vector<bool>& visited) { if(src == dst) { final_price = curr_price; return; } if(K == 0) return; visited[src...
36.6
142
0.52459
[ "vector" ]
c23c9350e553bee8d33b002d8b3fec242a3a3c2e
1,361
hpp
C++
src/string_additions.hpp
filipecosta90/im2model
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
7
2017-05-30T12:30:07.000Z
2017-09-07T08:35:26.000Z
src/string_additions.hpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
src/string_additions.hpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
/* * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. * * Partialy financiated as part of the protocol between UTAustin I Portugal - UTA-P. * [2017] - [2018] University of Minho, Filipe Costa Oliveira * All Rights Reserved. */ #ifndef __ST...
32.404762
84
0.719324
[ "vector" ]
c23d7fd9d43dd90b6b95d156d6661a28ec8bbc7e
4,699
cpp
C++
practica_6/practica_6/practica6_texturizado.cpp
ValdrST/lab_computacion_grafica
5971e7a57acafd9df93463da533e756608cde066
[ "MIT" ]
null
null
null
practica_6/practica_6/practica6_texturizado.cpp
ValdrST/lab_computacion_grafica
5971e7a57acafd9df93463da533e756608cde066
[ "MIT" ]
null
null
null
practica_6/practica_6/practica6_texturizado.cpp
ValdrST/lab_computacion_grafica
5971e7a57acafd9df93463da533e756608cde066
[ "MIT" ]
null
null
null
/* Semestre 2020-2 Pr�ctica 6 Texturizado Usando librer�a stb_image.h */ //para cargar imagen #define STB_IMAGE_IMPLEMENTATION #include <stdio.h> #include <string.h> #include<cmath> #include<vector> #include <glew.h> #include <glfw3.h> //glm #include<glm.hpp> #include<gtc/matrix_transform.hpp> #inc...
26.548023
132
0.630773
[ "mesh", "vector", "model" ]
c23f4ee7dc9f3ee0120fe1b8e6711cc5f672b444
17,440
cpp
C++
examples/complex_fluids/ex2/InterpolationUtilities.cpp
akashdhruv/IBAMR
a2b47946d795fb5a40c181b43e44a6ec387585a9
[ "BSD-3-Clause" ]
264
2015-01-04T12:11:02.000Z
2022-03-31T13:10:37.000Z
examples/complex_fluids/ex2/InterpolationUtilities.cpp
akashdhruv/IBAMR
a2b47946d795fb5a40c181b43e44a6ec387585a9
[ "BSD-3-Clause" ]
1,057
2015-04-27T04:27:57.000Z
2022-03-31T13:14:59.000Z
examples/complex_fluids/ex2/InterpolationUtilities.cpp
drwells/IBAMR
0ceda3873405a35da4888c99e7d2b24d132f9071
[ "BSD-3-Clause" ]
126
2015-02-13T15:36:02.000Z
2022-03-27T21:59:50.000Z
// --------------------------------------------------------------------- // // Copyright (c) 2019 - 2021 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
45.298701
120
0.491112
[ "vector" ]
c242542cf8054b1116d7add25a1b3a80316f67dc
5,907
cpp
C++
src/ast/VariableDeclaration.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
src/ast/VariableDeclaration.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
src/ast/VariableDeclaration.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
#include <utility> #include "ast_opt/ast/VariableDeclaration.h" #include "ast_opt/utilities/IVisitor.h" VariableDeclaration::~VariableDeclaration() = default; VariableDeclaration::VariableDeclaration(Datatype datatype, std::unique_ptr<Variable> target, ...
33.372881
126
0.66582
[ "object" ]
c2550cdb7eece96ed6d522a747ed62ff12a511fd
1,589
cc
C++
scsp/src/model/GetAuthInfoRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
scsp/src/model/GetAuthInfoRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
scsp/src/model/GetAuthInfoRequest.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...
25.222222
75
0.740717
[ "model" ]
c25c7d5f15b8a7cc6bb435195e75301fddd41ca3
30,385
cpp
C++
bot/src/cpp/navigation/WaypointManager.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
null
null
null
bot/src/cpp/navigation/WaypointManager.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
null
null
null
bot/src/cpp/navigation/WaypointManager.cpp
Bots-United/whichbot
c5db2a6cc3f90930139503b344074376a9cdaabb
[ "BSD-2-Clause" ]
1
2020-04-06T02:02:28.000Z
2020-04-06T02:02:28.000Z
// // $Id: WaypointManager.cpp,v 1.9 2005/02/19 07:40:13 clamatius Exp $ // Copyright (c) 2003, WhichBot Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions...
33.537528
150
0.616686
[ "vector", "model" ]
c25ee319f620a8c70782832159b9919c6601a204
5,637
hpp
C++
src/framework/html.hpp
martinskou/wolf
7fa0b6a99ce2fa5086f665cac9e78806648c0517
[ "Apache-2.0" ]
null
null
null
src/framework/html.hpp
martinskou/wolf
7fa0b6a99ce2fa5086f665cac9e78806648c0517
[ "Apache-2.0" ]
null
null
null
src/framework/html.hpp
martinskou/wolf
7fa0b6a99ce2fa5086f665cac9e78806648c0517
[ "Apache-2.0" ]
null
null
null
#ifndef HTML_H #define HTML_H #include <any> #include <cstdarg> #include <fstream> #include <iostream> #include <sstream> #include <vector> #include "utils.hpp" #include <boost/algorithm/string.hpp> namespace html { class node { public: std::string _cls; std::vector<node *> children; ...
23.78481
94
0.507007
[ "render", "vector" ]
c2623a445e409026d4d194d0fff0876dcf046b42
10,119
cpp
C++
Programs/UIViewer/Sources/UIViewerApp.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/UIViewer/Sources/UIViewerApp.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/UIViewer/Sources/UIViewerApp.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "UIViewerApp.h" #include "UIScreens/UIViewScreen.h" #include <Debug/DVAssert.h> #include <Debug/DVAssertDefaultHandlers.h> #include <DeviceManager/DeviceManager.h> #include <Engine/Engine.h> #include <Engine/Window.h> #include <FileSystem/KeyedArchive.h> #include <Input/ActionSystem.h> #include <Input/Keyboar...
36.268817
131
0.707185
[ "render", "vector" ]
c2638fccb01d260c779860e0bfba42fd429641c7
1,287
cpp
C++
sources/UsedMemory.cpp
VokhovVladislav/lab-12-refactoring
0e01769ab6faaa7550e9a3557279fa92a9b4c489
[ "MIT" ]
null
null
null
sources/UsedMemory.cpp
VokhovVladislav/lab-12-refactoring
0e01769ab6faaa7550e9a3557279fa92a9b4c489
[ "MIT" ]
null
null
null
sources/UsedMemory.cpp
VokhovVladislav/lab-12-refactoring
0e01769ab6faaa7550e9a3557279fa92a9b4c489
[ "MIT" ]
null
null
null
// // Created by vladislav on 07.06.2021. // #include <UsedMemory.hpp> void UsedMemory::OnDataLoad(const std::vector<Item>& old_items, const std::vector<Item>& new_items) { log_->WriteDebug("UsedMemory::OnDataLoad"); for (const auto& item : new_items) { used_ += item.id.capacity()...
34.783784
95
0.637918
[ "vector" ]
c2668a858ff020b8cdd07365938c7fad543ba9c0
16,957
cpp
C++
mainwindow.cpp
prnake/snake_qt_demo
b9d220073d7a4f4b71880a7fde08669bf78d0eb9
[ "MIT" ]
1
2020-08-27T15:57:59.000Z
2020-08-27T15:57:59.000Z
mainwindow.cpp
prnake/snake_qt_demo
b9d220073d7a4f4b71880a7fde08669bf78d0eb9
[ "MIT" ]
null
null
null
mainwindow.cpp
prnake/snake_qt_demo
b9d220073d7a4f4b71880a7fde08669bf78d0eb9
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); init(); } MainWindow::~MainWindow() { delete ui; } void MainWindow::init(){ setMouseTracking(true); ui->centralwidget->setMouseTra...
29.388215
108
0.572625
[ "object", "solid" ]
c26945e1e882a33ce61d88872d1d9a4511de22a0
1,762
cpp
C++
Contests/USACO Training/Ch 6/6.2 packrec.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Training/Ch 6/6.2 packrec.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Training/Ch 6/6.2 packrec.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
/* ID: bqi3431 PROG: packrec LANG: C++11 */ // #include <iostream> #include <fstream> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; typedef tree<int,null_type,le...
25.171429
96
0.565834
[ "vector" ]
c27667ecdf989c7dc77684e43fd13b6579a3e75f
5,677
hpp
C++
WinCape/src/WinCape/include/WinCape.hpp
iMaximuz/PIAD
7a63ad01593a9053c9a38843e5162703415e4283
[ "MIT" ]
null
null
null
WinCape/src/WinCape/include/WinCape.hpp
iMaximuz/PIAD
7a63ad01593a9053c9a38843e5162703415e4283
[ "MIT" ]
null
null
null
WinCape/src/WinCape/include/WinCape.hpp
iMaximuz/PIAD
7a63ad01593a9053c9a38843e5162703415e4283
[ "MIT" ]
null
null
null
#ifndef INTERFACE_HPP #define INTERFACE_HPP #include "defines.hpp" #include "defaults.hpp" #include "Core.h" //TODO... //Use lower case on static methods struct Application; namespace WinCape { // Utility function... //forward declarations class Button; class RadioButton; class Menu; class Icon; class DeviceCont...
30.358289
186
0.730844
[ "vector" ]
c27ee756230cf2d52c357196492975f8705f255e
11,275
cc
C++
mysql-dst/mysql-cluster/ndb/memcache/src/QueryPlan.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
9
2020-12-17T01:59:13.000Z
2022-03-30T16:25:08.000Z
mysql-dst/mysql-cluster/ndb/memcache/src/QueryPlan.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-07-30T12:06:33.000Z
2021-07-31T10:16:09.000Z
mysql-dst/mysql-cluster/storage/ndb/memcache/src/QueryPlan.cc
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-08-01T13:47:07.000Z
2021-08-01T13:47:07.000Z
/* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the ...
32.492795
84
0.62643
[ "object" ]
c27f367a889e4309e6db5f8c6fbffe3eb352dba0
922
cpp
C++
Tests/MaterialLib/TestMPL.cpp
joboog/ogs
81ad41e210dba87d2a5547d980001075063add9e
[ "BSD-4-Clause" ]
null
null
null
Tests/MaterialLib/TestMPL.cpp
joboog/ogs
81ad41e210dba87d2a5547d980001075063add9e
[ "BSD-4-Clause" ]
null
null
null
Tests/MaterialLib/TestMPL.cpp
joboog/ogs
81ad41e210dba87d2a5547d980001075063add9e
[ "BSD-4-Clause" ]
null
null
null
/** * \file * \author Norbert Grunwald * \date Oct 22, 2018 * \brief * * \copyright * Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/...
29.741935
76
0.668113
[ "vector" ]
c2803be439c28a3f645dc4fb011411413ab7195a
15,250
cpp
C++
src/sysc/kernel/sc_time.cpp
veeYceeY/systemc
1bd5598ed1a8cf677ebb750accd5af485bc1085a
[ "Apache-2.0" ]
194
2019-07-25T21:27:23.000Z
2022-03-22T00:08:06.000Z
src/sysc/kernel/sc_time.cpp
veeYceeY/systemc
1bd5598ed1a8cf677ebb750accd5af485bc1085a
[ "Apache-2.0" ]
24
2019-12-03T18:26:07.000Z
2022-02-17T09:38:25.000Z
src/sysc/kernel/sc_time.cpp
veeYceeY/systemc
1bd5598ed1a8cf677ebb750accd5af485bc1085a
[ "Apache-2.0" ]
64
2019-08-02T19:28:25.000Z
2022-03-30T10:21:22.000Z
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
27.777778
87
0.622754
[ "object" ]
c28389fdde96885546dba544c4861a2f2d44ac9d
4,425
cpp
C++
qt-ts-csv/read/CsvParser.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
2
2019-08-07T10:02:20.000Z
2021-11-03T17:09:42.000Z
qt-ts-csv/read/CsvParser.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
null
null
null
qt-ts-csv/read/CsvParser.cpp
Stivvo/qt-ts-csv
5b262dbc1250fffd465c2114ffbb0a8e63c3c1ac
[ "MIT" ]
null
null
null
#include "CsvParser.hpp" #include <algorithm> #include <iterator> #include <sstream> enum Row { Context, Source, Translation, Path }; template<class Container> void split1(const std::string &str, Container &cont) { std::istringstream iss(str); std::copy(std::istream_iterator<std::string>(iss), ...
34.570313
81
0.497627
[ "vector" ]
c28b865ef29752fce57b348c323721a836923dd7
1,708
cpp
C++
tc 160+/FoxAndHandle.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/FoxAndHandle.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/FoxAndHandle.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cctype> #include <cmath> #include <cstdio> #include <cstring> #include <ctime> #include <fstream> #include <functional> #include <iostream> #include <iterator> #include <map> #include <numeric> #include <queue> #include <set> #include <string> #include <utility> #includ...
24.753623
73
0.391101
[ "vector" ]
c290aed49f4df00efdb2f260c055977b2f437934
2,702
cpp
C++
src/components/container-component.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
7
2019-03-05T05:32:13.000Z
2022-01-10T10:06:47.000Z
src/components/container-component.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
2
2020-01-19T16:43:51.000Z
2021-12-16T14:54:56.000Z
src/components/container-component.cpp
xterminal86/nrogue
1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f
[ "MIT" ]
null
null
null
#include "container-component.h" #include "container-interact-state.h" #include "application.h" #include "item-component.h" #include "logger.h" #include "printer.h" #include "util.h" ContainerComponent::ContainerComponent() { _componentHash = typeid(*this).hash_code(); } void ContainerComponent::Update() { } bool ...
26.752475
116
0.657291
[ "object" ]
c29294dc9d9e49ffbde338dc559ec776edc5024a
1,792
cpp
C++
src/main.cpp
jnumm/pong--11
d08eab0130ac3fe783033667f966ccf02eaea8b5
[ "Apache-2.0" ]
null
null
null
src/main.cpp
jnumm/pong--11
d08eab0130ac3fe783033667f966ccf02eaea8b5
[ "Apache-2.0" ]
null
null
null
src/main.cpp
jnumm/pong--11
d08eab0130ac3fe783033667f966ccf02eaea8b5
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014-2017 Juhani Numminen * * 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 agree...
23.578947
75
0.660156
[ "vector" ]
c293ce9edc95d228df42c0383592704ca8597fba
21,716
cpp
C++
src/engine_core/wme_base/BSprite.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
3
2021-03-28T00:11:48.000Z
2022-01-12T13:10:52.000Z
src/engine_core/wme_base/BSprite.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
src/engine_core/wme_base/BSprite.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt // http://dead-code.org/redir.php?target=wme #include "dcgf.h" #include "BSprite.h" IMPLEMENT_PERSISTENT(CBSprite, false); ////////////////////////////////////////////////////////////...
26.743842
162
0.525833
[ "3d" ]
c294ca273807afaa7e1dd17c10056d22015f3028
3,288
cc
C++
src/media/audio/lib/test/test_fixture.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
3
2021-09-02T07:21:06.000Z
2022-03-12T03:20:10.000Z
src/media/audio/lib/test/test_fixture.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
null
null
null
src/media/audio/lib/test/test_fixture.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
2
2022-02-25T12:22:49.000Z
2022-03-12T03:20:10.000Z
// 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 "src/media/audio/lib/test/test_fixture.h" #include <zircon/status.h> #include "src/lib/fxl/strings/string_printf.h" namespace media::audio::tes...
28.591304
100
0.650547
[ "vector" ]
c29ec17afc6a33d37df8dbe8cc8b83bb219f9179
11,294
cpp
C++
jni/scanner.cpp
Alex025/AppGuardian
5cd2997c87fef73585bc5c49861507e47968844c
[ "MIT" ]
null
null
null
jni/scanner.cpp
Alex025/AppGuardian
5cd2997c87fef73585bc5c49861507e47968844c
[ "MIT" ]
null
null
null
jni/scanner.cpp
Alex025/AppGuardian
5cd2997c87fef73585bc5c49861507e47968844c
[ "MIT" ]
null
null
null
/* The MIT License (MIT) * * Copyright (c) 2014-2017 Nan Zhang * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
24.605664
99
0.628918
[ "vector" ]
c2a0671607ace9bd38fd3eaa47c634334ca5e792
841
cpp
C++
ForbiddenZone.cpp
mdeff/atcsim
34f14732eb078d083ff0953f3282efeb220d3af0
[ "MIT" ]
6
2017-03-03T11:30:11.000Z
2021-01-15T05:19:45.000Z
ForbiddenZone.cpp
mdeff/atcsim
34f14732eb078d083ff0953f3282efeb220d3af0
[ "MIT" ]
null
null
null
ForbiddenZone.cpp
mdeff/atcsim
34f14732eb078d083ff0953f3282efeb220d3af0
[ "MIT" ]
5
2018-06-13T21:10:40.000Z
2022-03-30T10:47:24.000Z
/* * File: ForbiddenZone.cpp * Author: michael * * Created on 26. mars 2013, 15:21 */ #include "ForbiddenZone.h" namespace ATCsim { // Project ATCsim namespace. ForbiddenZone::ForbiddenZone(const std::vector<int16_t>& xCorners, const std::vector<int16_t>& yCorners) : Polygo...
20.512195
88
0.6956
[ "vector" ]
c2a4f49823c483f431c9e8c2f1d76e0da59de649
1,522
cpp
C++
gfg_problem/5factoflargenos.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
gfg_problem/5factoflargenos.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
gfg_problem/5factoflargenos.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
// Factorials of large numbers // Given an integer N, find its factorial. // Example 1: // Input: N = 5 // Output: 120 // Explanation : 5! = 1*2*3*4*5 = 120 // Example 2: // Input: N = 10 // Output: 3628800 // Explanation : // 10! = 1*2*3*4*5*6*7*8*9*10 = 3628800 // Your Task: // You don't need to read input or ...
19.766234
87
0.5
[ "vector" ]
c2aceb94fd95d18e31e20e5f730feaf95b93829f
5,165
cpp
C++
OpenMEEG/src/interface.cpp
b2ag/openmeeg
fc4d810179c548c3cd1928e761c812673d9ff263
[ "Intel", "CECILL-B" ]
56
2015-04-20T10:08:44.000Z
2022-02-23T10:00:42.000Z
OpenMEEG/src/interface.cpp
b2ag/openmeeg
fc4d810179c548c3cd1928e761c812673d9ff263
[ "Intel", "CECILL-B" ]
346
2015-01-20T13:35:44.000Z
2022-03-07T14:24:15.000Z
OpenMEEG/src/interface.cpp
b2ag/openmeeg
fc4d810179c548c3cd1928e761c812673d9ff263
[ "Intel", "CECILL-B" ]
40
2015-02-13T16:12:19.000Z
2022-03-15T06:48:19.000Z
/* Project Name : OpenMEEG © INRIA and ENPC (contributors: Geoffray ADDE, Maureen CLERC, Alexandre GRAMFORT, Renaud KERIVEN, Jan KYBIC, Perrine LANDREAU, Théodore PAPADOPOULO, Emmanuel OLIVI Maureen.Clerc.AT.inria.fr, keriven.AT.certis.enpc.fr, kybic.AT.fel.cvut.cz, papadop.AT.inria.fr) The OpenMEEG software is a C+...
39.427481
189
0.673766
[ "mesh", "solid" ]
c2b0725c06b58ce1ead942197aadda55b8b0846b
1,588
cpp
C++
fboss/agent/platforms/wedge/wedge100/Wedge100Port.cpp
TomMD/fboss
30654277076e1f1f50c9b756e9690737dc1476e0
[ "BSD-3-Clause" ]
1
2021-05-14T03:03:35.000Z
2021-05-14T03:03:35.000Z
fboss/agent/platforms/wedge/wedge100/Wedge100Port.cpp
TomMD/fboss
30654277076e1f1f50c9b756e9690737dc1476e0
[ "BSD-3-Clause" ]
1
2021-04-16T12:11:48.000Z
2021-04-16T12:11:48.000Z
fboss/agent/platforms/wedge/wedge100/Wedge100Port.cpp
TomMD/fboss
30654277076e1f1f50c9b756e9690737dc1476e0
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
32.408163
79
0.707809
[ "vector" ]
c2b1e8c268b27fe6e58025eaa15026dcb1839ecc
4,417
cpp
C++
tree/heap.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
1
2020-07-15T19:39:49.000Z
2020-07-15T19:39:49.000Z
tree/heap.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
null
null
null
tree/heap.cpp
ancientlore/hermit
0b6b5b3e364fe9a7080517a7f3ddb8cdb03f5b14
[ "MIT" ]
null
null
null
/* --------------------------------------------------------------------------- Function: Heap class Include: heap.h Description: The heap class implements a fixed-size heap allocation scheme. It consists of two objects, the HeapPage and the Heap. Normally, you will use the Heap object and allow ...
18.252066
79
0.5223
[ "object" ]
c2b234f2969cd80b9ce6bdb09fac4d7a8c471776
415
cpp
C++
graph-source-code/41-E/189034.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/41-E/189034.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/41-E/189034.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include <iostream> #include <vector> using namespace std; vector<pair<int, int> > ans; int n; int main() { cin >> n; for (int i = 1; i < n; i++) for (int j = i + 1; j <= n; j += 2) ans.push_back(pair<int, int>(i, j)); cout << ans.size() << endl; for (int i = 0; i <...
14.821429
56
0.491566
[ "vector" ]
c2c35957f042978d6029aedc912aa18eee7fba64
22,757
cpp
C++
src/SecPolicy.cpp
capnspacehook/basp
f8fdfd2c9b7e634f1d0701762d49d9fec6cbf5ca
[ "MIT" ]
2
2020-05-21T02:35:28.000Z
2020-09-29T15:59:51.000Z
src/SecPolicy.cpp
capnspacehook/basp
f8fdfd2c9b7e634f1d0701762d49d9fec6cbf5ca
[ "MIT" ]
null
null
null
src/SecPolicy.cpp
capnspacehook/basp
f8fdfd2c9b7e634f1d0701762d49d9fec6cbf5ca
[ "MIT" ]
null
null
null
#include "RuleProducer.hpp" #include "RuleConsumer.hpp" #include "SecPolicy.hpp" #include "HashRule.hpp" #include "Windows.h" #include "include\WinReg.hpp" #include <exception> #include <algorithm> #include <iostream> #include <sstream> using namespace std; using namespace moodycamel; using namespace AppSecPolicy; n...
24.158174
105
0.674342
[ "vector" ]
c2c657acbed69d98d830ea34a1786b1de1f140eb
9,395
cpp
C++
Project/ModuleScene.cpp
JaimeBea/RealBugEngine
cbbfb25365d7ead50ef00380a3d35e893e78e002
[ "MIT" ]
4
2020-12-01T16:41:58.000Z
2021-12-01T10:42:24.000Z
Project/ModuleScene.cpp
JaimeBea/RealBugEngine
cbbfb25365d7ead50ef00380a3d35e893e78e002
[ "MIT" ]
32
2020-12-01T17:14:26.000Z
2021-01-17T19:48:46.000Z
Project/ModuleScene.cpp
JaimeBea/RealBugEngine
cbbfb25365d7ead50ef00380a3d35e893e78e002
[ "MIT" ]
2
2021-01-24T16:14:50.000Z
2021-08-18T06:13:39.000Z
#include "ModuleScene.h" #include "Globals.h" #include "Logging.h" #include "Application.h" #include "SceneImporter.h" #include "TextureImporter.h" #include "JsonValue.h" #include "Texture.h" #include "CubeMap.h" #include "Component.h" #include "ComponentTransform.h" #include "ComponentDirectionalLight.h" #include "Co...
27.231884
116
0.722406
[ "geometry", "vector" ]
c2cdceea659cd56242940eaec8c3ff2b94e6af9a
4,974
hxx
C++
opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1999-05-14 // Created by: Pavel DURANDIN // Copyright (c) 1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Less...
31.0875
121
0.778247
[ "shape", "3d" ]
c2cf768299d35fc95ea31a69b00b7bbe026645ee
982
cpp
C++
bit-manipulation/260-single-number-iii.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
bit-manipulation/260-single-number-iii.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
bit-manipulation/260-single-number-iii.cpp
gromitsun/algorithm
5aea12139c1b98221650063b91c0d38b965047e5
[ "MIT" ]
null
null
null
/* * Runtime: 12 ms, faster than 96.42% of C++ online submissions for Single Number III. * Memory Usage: 9.7 MB, less than 82.89% of C++ online submissions for Single Number III. */ class Solution { public: vector<int> singleNumber(vector<int>& nums) { // take XOR of all nums int xor_all = 0; ...
22.837209
90
0.423625
[ "vector" ]
c2cf817f97e898096e12d5194d0bedd87b127a46
1,023
cpp
C++
Gaea/src/Gaea/Renderer/Renderer.cpp
widellt/Gaea
c4717d68c6edeb6f5f873560cf47284516df5256
[ "Apache-2.0" ]
null
null
null
Gaea/src/Gaea/Renderer/Renderer.cpp
widellt/Gaea
c4717d68c6edeb6f5f873560cf47284516df5256
[ "Apache-2.0" ]
null
null
null
Gaea/src/Gaea/Renderer/Renderer.cpp
widellt/Gaea
c4717d68c6edeb6f5f873560cf47284516df5256
[ "Apache-2.0" ]
null
null
null
#include "gapch.h" #include "Renderer.h" #include "Renderer2D.h" #include "Platform/OpenGL/OpenGLShader.h" namespace Gaea{ Renderer::SceneData* Renderer::_SceneData = new Renderer::SceneData; void Renderer::Init(){ RenderCommand::Init(); Renderer2D::Init(); } void Renderer::OnWindowResize(uint32_t width, u...
29.228571
123
0.756598
[ "transform" ]
c2d2f5f27b318c68d3415494cab70294d83ea851
4,963
cpp
C++
Library/Extensions.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
2
2021-01-25T16:59:56.000Z
2021-02-14T21:11:05.000Z
Library/Extensions.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
null
null
null
Library/Extensions.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
1
2021-04-23T10:20:53.000Z
2021-04-23T10:20:53.000Z
#include "stdafx.h" #include "Extensions.h" #include "Common.h" #include "WinUtil.h" void Extensions::Setup(const std::vector<const char *>& glfwExtensions) { reqExtensions.insert(reqExtensions.begin(), glfwExtensions.begin(), glfwExtensions.end()); reqDeviceExtensions.push_back(VK_KHR_SWAPCHAIN_EXTENSION_NAME); i...
32.437908
178
0.742494
[ "vector" ]
c2d34c20db1956295222a5001284203de5419d4a
3,853
cc
C++
Engine/foundation/util/stringconvert.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
26
2015-01-15T12:57:40.000Z
2022-02-16T10:07:12.000Z
Engine/foundation/util/stringconvert.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
null
null
null
Engine/foundation/util/stringconvert.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
17
2015-02-18T07:51:31.000Z
2020-06-01T01:10:12.000Z
/**************************************************************************** Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal i...
30.101563
105
0.669868
[ "3d" ]
123c0cc01783d5ec4eeee1dfe5259a79175f6269
2,827
cpp
C++
android-31/android/print/PrintAttributes.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/print/PrintAttributes.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/print/PrintAttributes.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../os/Parcel.hpp" #include "./PrintAttributes_Margins.hpp" #include "./PrintAttributes_MediaSize.hpp" #include "./PrintAttributes_Resolution.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./PrintAttributes.hpp" namespace android::print { // Fields jint PrintAttributes::COLOR_MODE_...
20.635036
82
0.702865
[ "object" ]
125328d66997af745bfa9778a0c51b68e1eac20c
39,229
cpp
C++
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/vectors/zerovector/ClassTest.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
3
2021-02-16T02:33:06.000Z
2021-03-13T14:34:19.000Z
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/vectors/zerovector/ClassTest.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
null
null
null
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/vectors/zerovector/ClassTest.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
null
null
null
//================================================================================================= /*! // \file src/mathtest/vectors/zerovector/ClassTest.cpp // \brief Source file for the ZeroVector class test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze ...
32.181296
99
0.454307
[ "vector" ]
125b5586429c1aa84025922ef27533fcc55cf324
14,847
cc
C++
omaha/common/crash_utils.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
omaha/common/crash_utils.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
omaha/common/crash_utils.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Copyright 2007-2010 Google 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 ...
34.209677
81
0.67549
[ "vector" ]