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
401b73d392cc708b4878d0407e68de3dc56a8089
3,683
cpp
C++
src/airsim_img_publisher/QuatRotEuler.cpp
Mayankm96/airsim_img_publisher
924b519872bf46215ae4443691f44f791ef1e957
[ "MIT" ]
10
2018-06-22T19:29:46.000Z
2022-01-21T06:14:44.000Z
src/airsim_img_publisher/QuatRotEuler.cpp
Mayankm96/airsim_img_publisher
924b519872bf46215ae4443691f44f791ef1e957
[ "MIT" ]
1
2018-12-08T06:15:57.000Z
2018-12-10T04:39:53.000Z
src/airsim_img_publisher/QuatRotEuler.cpp
Mayankm96/airsim_img_publisher
924b519872bf46215ae4443691f44f791ef1e957
[ "MIT" ]
4
2018-08-20T07:09:04.000Z
2019-03-15T06:33:15.000Z
#include "airsim_img_publisher/QuatRotEuler.h" geometry_msgs::Vector3 setVector3(float x, float y, float z){ geometry_msgs::Vector3 Vec; Vec.x = x; Vec.y = y; Vec.z = z; return Vec; } geometry_msgs::Quaternion setQuat(float qx, float qy, float qz, float qw){ geometry_msgs::Quaternion q; q.x = qx; q.y = qy; q...
23.01875
109
0.572903
[ "geometry", "vector" ]
401ce6047e4fe60b142e1e02dd932b3018d83eb2
4,107
cpp
C++
experimental/Pomdog.Experimental/Spine/AnimationLoader.cpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Spine/AnimationLoader.cpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Spine/AnimationLoader.cpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #include "AnimationLoader.hpp" #include "Pomdog.Experimental/Spine/SkeletonDesc.hpp" #include "Pomdog.Experimental/Skeletal2D/AnimationClip.hpp" #include "Pomdog.Experimental/Skeletal2D/AnimationTrack.hpp" #incl...
34.805085
103
0.6131
[ "vector" ]
401d21f5a9f1229de22316a4e811380d26202347
7,002
cpp
C++
nntrainer/layers/activation_layer.cpp
leemgs/nntrainer
3ac764f0e42f45c8117588a4168c0d49ff4c165b
[ "Apache-2.0" ]
null
null
null
nntrainer/layers/activation_layer.cpp
leemgs/nntrainer
3ac764f0e42f45c8117588a4168c0d49ff4c165b
[ "Apache-2.0" ]
null
null
null
nntrainer/layers/activation_layer.cpp
leemgs/nntrainer
3ac764f0e42f45c8117588a4168c0d49ff4c165b
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2020 Jihoon Lee <jhoon.it.lee@samsung.com> * * @file activation_layer.cpp * @date 17 June 2020 * @see https://github.com/nnstreamer/nntrainer * @author Jihoon Lee <jhoon.it.lee@samsung.com> * @bug No known bugs except for NYI items * @brief T...
27.351563
80
0.638246
[ "vector", "transform" ]
401fcf35dc76868a5a573a1899e17b3cad14d124
3,322
hpp
C++
inc/concept/iterator.hpp
matrixjoeq/concepts
d9bac8343e44c62f22913ec41ac0856b767bedc4
[ "MIT" ]
null
null
null
inc/concept/iterator.hpp
matrixjoeq/concepts
d9bac8343e44c62f22913ec41ac0856b767bedc4
[ "MIT" ]
null
null
null
inc/concept/iterator.hpp
matrixjoeq/concepts
d9bac8343e44c62f22913ec41ac0856b767bedc4
[ "MIT" ]
null
null
null
/** @file */ #ifndef __STL_CONCEPT_ITERATOR_HPP__ #define __STL_CONCEPT_ITERATOR_HPP__ #include "concept/copy_constructible.hpp" #include "concept/copy_assignable.hpp" #include "concept/destructible.hpp" #include "concept/swappable.hpp" #include "concept/dereferenceable.hpp" #include "concept/weakly_incrementable.hpp"...
34.604167
114
0.716436
[ "object" ]
4029ba37b9713930e7b078e5afa57074be249fee
3,706
hpp
C++
base/clustering_map.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
3,062
2021-04-09T16:51:55.000Z
2022-03-31T21:02:51.000Z
base/clustering_map.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
1,396
2021-04-08T07:26:49.000Z
2022-03-31T20:27:46.000Z
base/clustering_map.hpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
242
2021-04-10T17:10:46.000Z
2022-03-31T13:41:07.000Z
#pragma once #include "base/assert.hpp" #include <cstddef> #include <iterator> #include <unordered_map> #include <utility> #include <vector> namespace base { // Maps keys to lists of values, but allows to combine keys into // clusters and to get all values from a cluster. // // NOTE: this class is NOT thread-safe. t...
22.876543
88
0.594981
[ "vector" ]
4029c2e69cadbf322eb6ffb449adf0b85a1350fb
3,371
hpp
C++
include/modprop/optim/StochasticSumCost.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
1
2017-11-10T00:54:53.000Z
2017-11-10T00:54:53.000Z
include/modprop/optim/StochasticSumCost.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
include/modprop/optim/StochasticSumCost.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
#pragma once #include <boost/foreach.hpp> #include <boost/random/random_device.hpp> #include <boost/random/mersenne_twister.hpp> #include <boost/random/uniform_int_distribution.hpp> #include <iostream> #include "modprop/optim/SumCost.hpp" #include "modprop/utils/SubsetSamplers.hpp" namespace percepto { /*! \brief ...
23.089041
74
0.67873
[ "vector" ]
402b634716146e8c35925687ed42ae29bd8fbe53
2,803
cc
C++
Geometry/CaloGeometry/src/PreshowerStrip.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/CaloGeometry/src/PreshowerStrip.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/CaloGeometry/src/PreshowerStrip.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/CaloGeometry/interface/PreshowerStrip.h" #include <iostream> typedef PreshowerStrip::CCGFloat CCGFloat ; typedef PreshowerStrip::Pt3D Pt3D ; typedef PreshowerStrip::Pt3DVec Pt3DVec ; typedef PreshowerStrip::Tr3D Tr3D ; PreshowerStrip::PreshowerStrip() : CaloCellGeometry() {} P...
23.754237
96
0.520157
[ "geometry" ]
402c725ac1507602221c41374b05b381621cddf5
2,847
cpp
C++
libs/plugin/src/plugin/manager.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/plugin/src/plugin/manager.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/plugin/src/plugin/manager.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 <sge/log/default_parameters.hpp> #include <sge/log/location.hpp> #include <sge/plugin/capa...
38.472973
108
0.676502
[ "object" ]
402d792639d550c88d788e1229aa2ad081c3eb15
22,349
cc
C++
ash/quick_pair/fast_pair_handshake/fast_pair_gatt_service_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ash/quick_pair/fast_pair_handshake/fast_pair_gatt_service_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ash/quick_pair/fast_pair_handshake/fast_pair_gatt_service_client_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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/quick_pair/fast_pair_handshake/fast_pair_gatt_service_client_impl.h" #include "ash/quick_pair/common/constants.h" #include "ash/quick_pair/...
41.310536
82
0.746476
[ "vector" ]
402ec6973cc350a4c8a86f204464b1c1f30d5d90
12,889
cpp
C++
src/Dset.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
src/Dset.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
src/Dset.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <unistd.h> #include <chrono> #include "hdf5_hl.h" #include "DsetPropAccess.h" #include "Dset.h" #include "check_macros.h" void print_h5_hyperslab(std::ostream &ostr, const char *header, hid_t space) { int ndims = H5Sget_simple_extent_ndims(space); ostr << header << ": "; std::ve...
33.652742
148
0.647917
[ "vector" ]
402ef8c07ca73f6146f53d9bfc167072796a7872
13,266
cpp
C++
3rdParty/iresearch/core/analysis/text_token_normalizing_stream.cpp
usalko/arapy
204038e9a8301b16a6ec31e10a3289ca0c7ada91
[ "BSL-1.0", "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/iresearch/core/analysis/text_token_normalizing_stream.cpp
solisoft/arangodb
ebb11f901fdcac72ca298f7f329427c7ec51b157
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/iresearch/core/analysis/text_token_normalizing_stream.cpp
solisoft/arangodb
ebb11f901fdcac72ca298f7f329427c7ec51b157
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2019 ArangoDB GmbH, Cologne, Germany /// /// 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...
30.708333
100
0.654229
[ "object" ]
4036309452507791aff0f7e126bd128a9ae31d40
2,677
cpp
C++
SudokuRecognizerExe/DigitRecognizer.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
SudokuRecognizerExe/DigitRecognizer.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
SudokuRecognizerExe/DigitRecognizer.cpp
holgus103/VisualSudokuSolver
4403b5fea4af580128638ccc0e17eee08dcb85e9
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: DigitResognizer.cpp * Author: holgus103 * * Created on 13 avril 2018, 21:19 */ #include <stdio.h> #include <openc...
27.040404
98
0.589466
[ "vector" ]
403c6971770f07561704aa22088db59c60e301f0
3,062
cxx
C++
panda/src/pgraphnodes/selectiveChildNode.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/pgraphnodes/selectiveChildNode.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/pgraphnodes/selectiveChildNode.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: selectiveChildNode.cxx // Created by: drose (06Mar02) // //////////////////////////////////////////////////////////////////// // // 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. Yo...
42.527778
70
0.541476
[ "3d" ]
403dd9ad6a3149736752ae532a70d374040f2063
3,392
hh
C++
dune/ax1/acme2/common/acme2_solutionvectors.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/acme2/common/acme2_solutionvectors.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/acme2/common/acme2_solutionvectors.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
/* * acme2_solutionvectors.hh * * Created on: Feb 28, 2012 * Author: jpods */ #ifndef DUNE_AX1_ACME2_SOLUTIONVECTORS_HH #define DUNE_AX1_ACME2_SOLUTIONVECTORS_HH //! \brief Simple structure to store references to all used solution vectors //! in one place template<typename Acme2Traits> struct Acme2Solution...
26.5
87
0.675413
[ "vector" ]
404700ac3ab0a2fd91ccd4663651055c21bc9cf1
323,166
cpp
C++
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/blizzard.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/blizzard.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
SOMTRANSIT/MAXTRANSIT/samples/objects/particles/blizzard.cpp
SOM-Firmwide/SOMTRANSIT
a83879c3b60bd24c45bcf4c01fcd11632e799973
[ "MIT" ]
null
null
null
/********************************************************************** *< FILE: Blizzard.CPP DESCRIPTION: SuperSpray and Blizzard main code CREATED BY: Audrey Peterson HISTORY: created November 1996 Instancing Geometry 1/97 IPC 8/98 *> Copyright (c) 1996, All ...
35.260884
185
0.625044
[ "mesh", "geometry", "render", "object" ]
4047e0c46ea7ea70230ae094a1ddb1eab77daf9b
16,016
hpp
C++
Source/Core/Meta/MetaBindingExtensions.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
70
2020-10-19T15:17:36.000Z
2022-03-29T06:23:20.000Z
Source/Core/Meta/MetaBindingExtensions.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
90
2020-10-21T09:56:03.000Z
2022-02-19T18:36:37.000Z
Source/Core/Meta/MetaBindingExtensions.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
13
2020-12-28T20:18:57.000Z
2022-01-20T08:43:29.000Z
// MIT Licensed (see LICENSE.md). #pragma once namespace Plasma { // Object Attributes namespace ObjectAttributes { /// Object is not visible to default inspection extern const String cHidden; /// Object has documentation extern const String cDocumented; /// Object should explicitly not be documented extern const St...
38.042755
128
0.72771
[ "object", "transform" ]
404b4c84cfeb0a1c19480e772348f858ac4606c4
1,318
cc
C++
src/jw/leetcode/unsorted_as/main.cc
wanyaworld/algo-study
d540e9a72bb251a6bf2b04bc3aa7edbf17bee974
[ "MIT" ]
1
2020-10-31T15:28:43.000Z
2020-10-31T15:28:43.000Z
src/jw/leetcode/unsorted_as/main.cc
wanyaworld/algo-study
d540e9a72bb251a6bf2b04bc3aa7edbf17bee974
[ "MIT" ]
null
null
null
src/jw/leetcode/unsorted_as/main.cc
wanyaworld/algo-study
d540e9a72bb251a6bf2b04bc3aa7edbf17bee974
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> using namespace std; class Solution { public: int findLoc(vector<int>& nums, int target, int s, int e) { for (int i = s ; i <= e ; i++) { if (target <= nums[i]) return i; } return e + 1; } void dfs(vector<int>& nums, int idx, int& s, int &e, int &min, bool& fl...
19.671642
78
0.487102
[ "vector" ]
404e3010466d07dea33cd2a02ab4512402527409
7,751
cpp
C++
src/lib/math/numbertheory/make_prm.cpp
lieser/botan
03f7fe39da25fa8efba6eb3fbc1dbb1bb0512393
[ "BSD-2-Clause" ]
56
2019-04-25T19:06:11.000Z
2022-03-25T20:26:25.000Z
src/lib/math/numbertheory/make_prm.cpp
lieser/botan
03f7fe39da25fa8efba6eb3fbc1dbb1bb0512393
[ "BSD-2-Clause" ]
184
2019-04-24T18:20:08.000Z
2022-03-22T18:56:45.000Z
src/lib/math/numbertheory/make_prm.cpp
lieser/botan
03f7fe39da25fa8efba6eb3fbc1dbb1bb0512393
[ "BSD-2-Clause" ]
34
2019-04-03T15:21:16.000Z
2022-03-20T04:26:53.000Z
/* * Prime Generation * (C) 1999-2007,2018,2019 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/numthry.h> #include <botan/rng.h> #include <botan/internal/bit_ops.h> #include <botan/loadstor.h> #include <botan/reducer.h> #include <botan/internal/primality.h> #incl...
26.363946
104
0.532834
[ "vector" ]
405693c2ba8e8bb92dab9204192d532e5018ab83
1,102
cpp
C++
homework/homework_L2/hw3.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
3
2018-02-13T05:39:05.000Z
2019-06-15T17:35:25.000Z
homework/homework_L2/hw3.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
null
null
null
homework/homework_L2/hw3.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
1
2018-12-21T13:59:20.000Z
2018-12-21T13:59:20.000Z
// // Created by liyubo on 12/15/17. // #include <iostream> #include <Eigen/Core> #include <Eigen/Geometry> using namespace std; int main() { //q1 = [0:35; 0:2; 0:3; 0:1] 第一项为实部 Eigen::Quaterniond q1(0.35, 0.2, 0.3, 0.1); Eigen::Vector3d t1(0.3, 0.1, 0.1); cout<< "q1.coeffs \n"<<q1.coeffs()<<endl; //利用coffs输出,实部...
25.045455
62
0.541742
[ "geometry" ]
4060497d93eaa313c703f9cca2a520b382ee6c9a
6,943
cc
C++
src/upsampling_algorithm_long_sequence_real_fft.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
src/upsampling_algorithm_long_sequence_real_fft.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
src/upsampling_algorithm_long_sequence_real_fft.cc
mpoullet/audio-tools
b7cb54ec16f2845830ab6168d8e6992124c98a75
[ "MIT" ]
null
null
null
#include <algorithm> #include <complex> #include <fstream> #include <functional> #include <iostream> #include <iterator> #include <memory> #include <vector> #include <sndfile.hh> #define kiss_fft_scalar float #include "kiss_fftr.h" namespace { const auto precision = []() -> std::streamsize { // https://www.worki...
39.902299
127
0.609679
[ "vector", "transform" ]
40649e2c28ffc7519808ee54b934cf282aba65f6
3,980
cpp
C++
src/glui_bitmaps.cpp
mick-p1982/glui
1fa44ceadd135bdb022a0117e8437979d5cd7c9c
[ "Zlib" ]
null
null
null
src/glui_bitmaps.cpp
mick-p1982/glui
1fa44ceadd135bdb022a0117e8437979d5cd7c9c
[ "Zlib" ]
1
2020-07-22T03:14:59.000Z
2020-07-22T03:14:59.000Z
src/glui_bitmaps.cpp
mick-p1982/glui
1fa44ceadd135bdb022a0117e8437979d5cd7c9c
[ "Zlib" ]
1
2021-03-31T18:13:11.000Z
2021-03-31T18:13:11.000Z
/**************************************************************************** GLUI User Interface Toolkit --------------------------- glui_bitmaps.cpp Draws the hardcoded images listed in glui_bitmap_img_data with OpenGL. FIXME: upload the images to a texture. This will allow them to be: - Drawn with alp...
33.728814
78
0.728141
[ "transform" ]
406731c51d6ac0050497a0906d8983263e7eb38d
696
hpp
C++
src/headers/draw.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
1
2021-08-03T17:34:21.000Z
2021-08-03T17:34:21.000Z
src/headers/draw.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
null
null
null
src/headers/draw.hpp
JoelLefkowitz/snake
b5f1faaff772962af5ad89229297f5b1b9745b4a
[ "MIT" ]
null
null
null
#ifndef DRAW_H #define DRAW_H #include <SDL2/SDL.h> #include "colours.hpp" #include "state.hpp" const int side = 30; const int n_vertical = 20; const int n_horizontal = 20; bool init_draw(SDL_Surface** surface); void close_draw(SDL_Surface* surface); void init_rect(SDL_Rect* rect, int x, int y, int w, int h); void ...
30.26087
87
0.774425
[ "vector" ]
4068045cd41a3c0b64320d151391670f10f1dbc8
904
cpp
C++
01 maxEven-nMin-sumFibonacci/lib.cpp
ored95/cpp-student
9f7839096cd9d0f1c46d6699e53145fbea02c8b3
[ "MIT" ]
null
null
null
01 maxEven-nMin-sumFibonacci/lib.cpp
ored95/cpp-student
9f7839096cd9d0f1c46d6699e53145fbea02c8b3
[ "MIT" ]
null
null
null
01 maxEven-nMin-sumFibonacci/lib.cpp
ored95/cpp-student
9f7839096cd9d0f1c46d6699e53145fbea02c8b3
[ "MIT" ]
null
null
null
#include "lib.h" #include <math.h> // sqrt int maxEven(vector<int> v) { int ans = -1; for (int x: v) if (x % 2 == 0 && x > ans) ans = x; return ans; } int nMin(vector<int> v) { if (v.size() == 0) return 0; int vmin = v[0], count = 1; for (int i = 1; i < v.siz...
16.740741
68
0.455752
[ "vector" ]
406ca065c0c991a2aa37a1e9d0dde18c5165acd1
3,101
hpp
C++
c4/classification_metrics.hpp
akasitskyi/c4
56925e25430bc73cd407a8976656797b04d52348
[ "MIT" ]
2
2020-11-11T12:28:27.000Z
2022-01-31T20:31:28.000Z
c4/classification_metrics.hpp
akasitskyi/c4
56925e25430bc73cd407a8976656797b04d52348
[ "MIT" ]
15
2018-09-30T12:48:50.000Z
2020-07-14T18:36:50.000Z
c4/classification_metrics.hpp
akasitskyi/c4
56925e25430bc73cd407a8976656797b04d52348
[ "MIT" ]
3
2019-01-04T07:04:44.000Z
2020-09-06T16:53:21.000Z
//MIT License // //Copyright(c) 2019 Alex Kasitskyi // //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, copy, modify, merg...
31.642857
177
0.608191
[ "vector" ]
406d1c90fa337419e7d10a2773030fd09fc812bb
97,392
cpp
C++
src/circuit.cpp
eric830303/HT
b8fbc7b58526dedabf2616893e5f8d299cbbce97
[ "MIT" ]
1
2021-07-29T02:07:49.000Z
2021-07-29T02:07:49.000Z
src/circuit.cpp
eric830303/HT
b8fbc7b58526dedabf2616893e5f8d299cbbce97
[ "MIT" ]
null
null
null
src/circuit.cpp
eric830303/HT
b8fbc7b58526dedabf2616893e5f8d299cbbce97
[ "MIT" ]
1
2021-06-25T15:24:55.000Z
2021-06-25T15:24:55.000Z
#include "circuit.h" #define RED "\x1b[31m" #define GREEN "\x1b[32m" #define GRN "\x1b[32m" #define YELLOW "\x1b[33m" #define BLUE "\x1b[34m" #define MAGENTA "\x1b[35m" #define CYAN "\x1b[36m" #define RESET "\x1b[0m" #define thdnum 1 ///////////////////////////////////////////////////////////////...
41.461047
201
0.409551
[ "vector", "model" ]
407060a0ec7694a46e63e9fdacae508248d40860
8,205
cc
C++
google/cloud/bigtable/tests/admin_backup_integration_test.cc
whitemike889/google-cloud-cpp
128ffa910f61b7106a09877f6c9fa8ff9e83dc56
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable/tests/admin_backup_integration_test.cc
whitemike889/google-cloud-cpp
128ffa910f61b7106a09877f6c9fa8ff9e83dc56
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable/tests/admin_backup_integration_test.cc
whitemike889/google-cloud-cpp
128ffa910f61b7106a09877f6c9fa8ff9e83dc56
[ "Apache-2.0" ]
1
2021-12-09T16:26:23.000Z
2021-12-09T16:26:23.000Z
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
40.418719
80
0.705545
[ "vector" ]
407c8445fe0b97eef02147169ada53f97a3dce3c
3,294
hpp
C++
src/treedepth_tree.hpp
mjdv/tdULL
c35565a6d2ab2c806c0a4786f65f3fa764060809
[ "MIT" ]
null
null
null
src/treedepth_tree.hpp
mjdv/tdULL
c35565a6d2ab2c806c0a4786f65f3fa764060809
[ "MIT" ]
null
null
null
src/treedepth_tree.hpp
mjdv/tdULL
c35565a6d2ab2c806c0a4786f65f3fa764060809
[ "MIT" ]
1
2020-11-21T14:22:37.000Z
2020-11-21T14:22:37.000Z
#pragma once #include <numeric> #include "graph.hpp" /* * Implementation of the algorithm described in: * Optimal node ranking of trees * Ananth V. Iyer, H. Donald Ratliff, G. Vijayan * https://doi.org/10.1016/0020-0190(88)90194-9 * * Runtime should be O(n log(n)) * * Possible changes/improvements: * ...
27.45
96
0.566181
[ "vector" ]
40820b104e7d1216116a9585122450d5f46c7ef2
11,887
cpp
C++
tools/nodejs/src/statement.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
3
2021-05-13T04:15:45.000Z
2022-03-03T16:57:16.000Z
tools/nodejs/src/statement.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
2
2021-10-02T02:52:39.000Z
2022-01-04T20:08:06.000Z
tools/nodejs/src/statement.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
1
2021-09-02T00:22:42.000Z
2021-09-02T00:22:42.000Z
#include "duckdb_node.hpp" namespace node_duckdb { Napi::FunctionReference Statement::constructor; Napi::Object Statement::Init(Napi::Env env, Napi::Object exports) { Napi::HandleScope scope(env); Napi::Function t = DefineClass(env, "Statement", {InstanceMethod("run", &Statement::Run), Insta...
32.656593
117
0.674603
[ "object", "vector" ]
408af8d378c1541ee35b606c02f8b554cab88e02
4,209
cpp
C++
utils/outdatedTests/unitTest/ertps/test_HistoryCache.cpp
grcanosa/Fast-RTPS
a81a5b177cc25cd82efaf710bf7fe2b05d91ffa8
[ "Apache-2.0" ]
11
2020-05-22T05:34:36.000Z
2022-03-11T17:46:29.000Z
utils/outdatedTests/unitTest/ertps/test_HistoryCache.cpp
grcanosa/Fast-RTPS
a81a5b177cc25cd82efaf710bf7fe2b05d91ffa8
[ "Apache-2.0" ]
1
2020-12-29T10:44:29.000Z
2022-02-23T08:50:48.000Z
utils/outdatedTests/unitTest/ertps/test_HistoryCache.cpp
grcanosa/Fast-RTPS
a81a5b177cc25cd82efaf710bf7fe2b05d91ffa8
[ "Apache-2.0" ]
8
2020-05-13T11:50:11.000Z
2022-03-31T17:01:54.000Z
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
25.509091
75
0.742457
[ "vector" ]
40907e272246e18991e78bb3989cba3ef7714aa2
12,191
cpp
C++
flang/runtime/ISO_Fortran_binding.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
305
2019-09-14T17:16:05.000Z
2022-03-31T15:05:20.000Z
flang/runtime/ISO_Fortran_binding.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
11
2019-10-17T21:11:52.000Z
2022-02-17T20:10:00.000Z
flang/runtime/ISO_Fortran_binding.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
24
2019-10-03T11:22:11.000Z
2022-01-25T09:59:30.000Z
//===-- runtime/ISO_Fortran_binding.cpp -----------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
28.820331
80
0.666803
[ "object" ]
4091da3d2a1172efe74f0df59d3a738c0ec5af78
7,172
cpp
C++
core/test/integration/wallet_tests.cpp
marpme/lib-ledger-core
df688cf1923049ae5450b9e1e90c3223b1bc96bf
[ "MIT" ]
null
null
null
core/test/integration/wallet_tests.cpp
marpme/lib-ledger-core
df688cf1923049ae5450b9e1e90c3223b1bc96bf
[ "MIT" ]
null
null
null
core/test/integration/wallet_tests.cpp
marpme/lib-ledger-core
df688cf1923049ae5450b9e1e90c3223b1bc96bf
[ "MIT" ]
null
null
null
/* * * wallet_tests * ledger-core * * Created by Pierre Pollastri on 19/05/2017. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * 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 ...
45.974359
218
0.69367
[ "vector" ]
409654a353fd7d08d9e7b57972bcef8fc0a28c35
1,026
hpp
C++
flint/Checks.hpp
surgical-vision/FlintPlusPlus
f3abbe8cf71782a7f6eb055d9a0de778dcce988c
[ "BSL-1.0" ]
null
null
null
flint/Checks.hpp
surgical-vision/FlintPlusPlus
f3abbe8cf71782a7f6eb055d9a0de778dcce988c
[ "BSL-1.0" ]
null
null
null
flint/Checks.hpp
surgical-vision/FlintPlusPlus
f3abbe8cf71782a7f6eb055d9a0de778dcce988c
[ "BSL-1.0" ]
null
null
null
#pragma once #include <string> #include <vector> #include "ErrorReport.hpp" #include "Polyfill.hpp" #include "Tokenizer.hpp" using namespace std; namespace flint { #define X(func) \ void check##func(ErrorFile &errors, const string &path, const vector<Token> &tokens) // Deprecated due to too many f...
20.938776
85
0.748538
[ "vector" ]
4096cdaba1c66213bf6d85548b1469a6d4c3f8c8
12,163
cc
C++
chrome/browser/ui/views/frame/browser_header_painter_ash.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
chrome/browser/ui/views/frame/browser_header_painter_ash.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/frame/browser_header_painter_ash.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/ui/views/frame/browser_header_painter_ash.h" #include "ash/common/ash_layout_constants.h" #include "ash/common/frame/caption_but...
37.656347
81
0.69103
[ "geometry" ]
40a2669f1953797e37009e84fceab2f468f3d478
1,592
cpp
C++
edit distance/edit_dist_v2.cpp
thazhemadam/advanced-algorithms
8839abcf88b0a2e2824b2224a030057b3adc478c
[ "MIT" ]
null
null
null
edit distance/edit_dist_v2.cpp
thazhemadam/advanced-algorithms
8839abcf88b0a2e2824b2224a030057b3adc478c
[ "MIT" ]
null
null
null
edit distance/edit_dist_v2.cpp
thazhemadam/advanced-algorithms
8839abcf88b0a2e2824b2224a030057b3adc478c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define PRIME 1000000007 /* Helper function that calculates the minimum of 3 integers: @x, @y, @z */ static inline int min(int x, int y, int z) { return std::min(std::min(x, y), z); } /* edit_distance_v2: * Compute the case-insensitive minimum edit distance using the L...
21.513514
78
0.586683
[ "transform" ]
40abd5d5d00d57a6c127490b434f3e28a8a2eb1e
8,772
cpp
C++
Source/VoiceController.cpp
nikreiman/Atmosfear
bd235482a4e6dfe642fad532a214a74481c5a081
[ "MIT" ]
null
null
null
Source/VoiceController.cpp
nikreiman/Atmosfear
bd235482a4e6dfe642fad532a214a74481c5a081
[ "MIT" ]
null
null
null
Source/VoiceController.cpp
nikreiman/Atmosfear
bd235482a4e6dfe642fad532a214a74481c5a081
[ "MIT" ]
null
null
null
/* ============================================================================== VoiceController.cpp Created: 9 May 2015 12:55:47pm Author: nik ============================================================================== */ #include "VoiceController.h" using namespace teragon; Voi...
44.30303
127
0.570793
[ "vector" ]
40ada46c31eda8754b50a82e6ebf5af5b3d0d4b7
3,031
cpp
C++
Test.cpp
tpavel0/CPP-EX5A
3c462a5ef4b4c0fb4b9d7bb387a1c1266cd78d08
[ "MIT" ]
null
null
null
Test.cpp
tpavel0/CPP-EX5A
3c462a5ef4b4c0fb4b9d7bb387a1c1266cd78d08
[ "MIT" ]
null
null
null
Test.cpp
tpavel0/CPP-EX5A
3c462a5ef4b4c0fb4b9d7bb387a1c1266cd78d08
[ "MIT" ]
null
null
null
#include "doctest.h" #include <string> #include <iostream> #include <vector> #include "range.hpp" #include "accumulate.hpp" #include "filterfalse.hpp" #include "compress.hpp" using namespace itertools; TEST_CASE("1"){ vector<int> answer={5,7}; int count=0; CHECK(5==5); CHECK(5==5); CHECK(5==5);...
16.745856
29
0.43649
[ "vector" ]
40b02ce95a94c05cde18c54ace2f619ebe101806
6,378
cpp
C++
xo/system/profiler.cpp
SammyEnigma/xo
c6514072193df196b60fa40b490c4ec2d7fecea3
[ "MIT" ]
10
2019-11-08T06:09:59.000Z
2022-01-04T08:51:23.000Z
xo/system/profiler.cpp
SammyEnigma/xo
c6514072193df196b60fa40b490c4ec2d7fecea3
[ "MIT" ]
16
2019-04-19T07:52:30.000Z
2021-06-08T11:04:07.000Z
xo/system/profiler.cpp
SammyEnigma/xo
c6514072193df196b60fa40b490c4ec2d7fecea3
[ "MIT" ]
7
2018-01-23T19:41:08.000Z
2020-06-25T12:36:50.000Z
#include "profiler.h" #include <algorithm> #include <thread> #include "xo/system/log_sink.h" #include "profiler_config.h" #include "xo/numerical/math.h" #include "xo/container/prop_node.h" #include "xo/string/string_tools.h" #include "xo/container/prop_node_tools.h" namespace xo { profiler::profiler( bool auto_start...
28.990909
167
0.678583
[ "vector" ]
40b030ac0b82c3a9df2e9204de9ac812df46e0b0
910
cpp
C++
ParallelScheduler/InputData.cpp
MishaVernik/OS
f352ca6ce6ef5fa8dc15017362380ee396551a03
[ "MIT" ]
1
2020-09-18T09:47:31.000Z
2020-09-18T09:47:31.000Z
ParallelScheduler/InputData.cpp
MishaVernik/OS
f352ca6ce6ef5fa8dc15017362380ee396551a03
[ "MIT" ]
3
2020-11-02T14:35:25.000Z
2020-11-15T10:30:37.000Z
ParallelScheduler/InputData.cpp
MishaVernik/OS
f352ca6ce6ef5fa8dc15017362380ee396551a03
[ "MIT" ]
null
null
null
#include "InputData.h" #include <iostream> #include <sstream> std::vector<Process> InputData::ReadFromFile(std::ifstream& file) { std::vector<Process> inputData; std::string line; if (file.is_open()) { while (getline(file, line)) { Process process; std::istringstream ss(line); int count = 0; do { ...
18.571429
65
0.595604
[ "vector" ]
40b1db973647adf2d10b78fe6b44ffccb3ae202a
7,376
cpp
C++
Src/CarNavi/optimize/optimizepath.cpp
jjuiddong/Car-Navigation
4b9a33f9a386d5e9355b174962d6b5b756dfc477
[ "MIT" ]
4
2019-12-08T23:10:15.000Z
2019-12-18T11:38:27.000Z
Src/CarNavi/optimize/optimizepath.cpp
jjuiddong/Car-Navigation
4b9a33f9a386d5e9355b174962d6b5b756dfc477
[ "MIT" ]
1
2020-01-17T19:00:29.000Z
2020-01-17T19:00:29.000Z
Src/CarNavi/optimize/optimizepath.cpp
jjuiddong/Car-Navigation
4b9a33f9a386d5e9355b174962d6b5b756dfc477
[ "MIT" ]
2
2019-12-11T21:12:14.000Z
2021-12-31T09:48:41.000Z
#include "stdafx.h" #include "optimizepath.h" #include "historyfile.h" using namespace optimize; cOptimizePath::cOptimizePath() : m_state(State::Wait) , m_curCalcCount(0) , m_totalCalcCount(0) , m_calcRowCount(0) , m_tableCount(0) , m_progress(0) , m_renderer(nullptr) { m_stack = new sStackData[512]; } cOp...
23.194969
86
0.694414
[ "render" ]
40bc77da6e57b4d44c5b9e38821453e667701d81
2,692
cpp
C++
binary-search/medium/436.FindRightInterval.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
binary-search/medium/436.FindRightInterval.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
binary-search/medium/436.FindRightInterval.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=436 lang=cpp * * [436] Find Right Interval * * https://leetcode.com/problems/find-right-interval/description/ * * algorithms * Medium (45.29%) * Likes: 524 * Dislikes: 169 * Total Accepted: 50.2K * Total Submissions: 105.9K * Testcase Example: '[[1,2]]' * * Given a set of ...
25.396226
82
0.597325
[ "vector" ]
8ad8b02e7eae22790b46c075f957627d7e377039
4,459
hpp
C++
include/nwgraph/vofos.hpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
include/nwgraph/vofos.hpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
include/nwgraph/vofos.hpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
/** * @file vofos.hpp * * @copyright SPDX-FileCopyrightText: 2022 Battelle Memorial Institute * @copyright SPDX-FileCopyrightText: 2022 University of Washington * * SPDX-License-Identifier: BSD-3-Clause * * @authors * Andrew Lumsdaine * Krzysztof Drewniak * */ #ifndef NW_GRAPH_VOFOS_HPP #define NW_GRAP...
34.038168
143
0.730881
[ "vector" ]
8ad9aaaa2038b6aba56f9e2a28bbaa0faf04888f
452
cpp
C++
0001-0100/0088.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0088.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0088.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int ptr1 = m - 1, ptr2 = n - 1; for (int i = n + m - 1; i >= 0; --i) { if (ptr1 >= 0 && (ptr2 < 0 || nums1[ptr1] > nums2[ptr2])) { nums1[i] = nums1[ptr1...
26.588235
71
0.345133
[ "vector" ]
8add0a97c74e521d9a9cbbe73d7458a45aa562c0
994
cpp
C++
src/listView/libraryListedData.cpp
smartDIYs/ImagePresetCreator_opensource
518d36ac231411d604bc848565f275896752fb46
[ "MIT" ]
null
null
null
src/listView/libraryListedData.cpp
smartDIYs/ImagePresetCreator_opensource
518d36ac231411d604bc848565f275896752fb46
[ "MIT" ]
null
null
null
src/listView/libraryListedData.cpp
smartDIYs/ImagePresetCreator_opensource
518d36ac231411d604bc848565f275896752fb46
[ "MIT" ]
2
2018-11-17T05:42:22.000Z
2020-07-04T13:51:56.000Z
#include "libraryListedData.h" #include <QIcon> #include <QSvgRenderer> #include <QPainter> LibraryListedData::LibraryListedData(const QMap<QString, QString>& nameList, const QMap<QString, QString>& tagList): ListedDataCore(nameList, tagList) { mParser = new SvgParser(); } LibraryListedData::LibraryListedDat...
22.088889
116
0.717304
[ "render" ]
8ae29c5bd4c94bfe2be449f924b1fc5cc1caedac
6,533
hpp
C++
utils/interpolation.hpp
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
25
2019-01-31T13:51:34.000Z
2022-02-08T13:19:01.000Z
utils/interpolation.hpp
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
5
2020-06-01T20:48:46.000Z
2022-02-08T11:42:02.000Z
utils/interpolation.hpp
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
9
2018-11-20T22:37:50.000Z
2021-09-14T17:17:27.000Z
#pragma once #include <algorithm> #include <fstream> #include <iostream> #include <list> #include <stdio.h> #include <Eigen/Dense> #include "configuration.hpp" #include "utils/util.hpp" namespace util { double SmoothPos(double ini, double end, double moving_duration, double curr_time); double Smoot...
31.258373
80
0.677177
[ "vector" ]
8aeb4a21907531e7453d8b2f537a75aab49060a4
16,263
cpp
C++
SSTest/Android/sstest/src/main/jni/com_southernstars_sscore_JSSCoordinates.cpp
ultrapre/SSCore
c7d6ff221750bab051df32c7efc5798e93924100
[ "IJG", "FSFAP" ]
2
2020-11-23T09:08:23.000Z
2021-01-09T13:15:52.000Z
SSTest/Android/sstest/src/main/jni/com_southernstars_sscore_JSSCoordinates.cpp
ultrapre/SSCore
c7d6ff221750bab051df32c7efc5798e93924100
[ "IJG", "FSFAP" ]
null
null
null
SSTest/Android/sstest/src/main/jni/com_southernstars_sscore_JSSCoordinates.cpp
ultrapre/SSCore
c7d6ff221750bab051df32c7efc5798e93924100
[ "IJG", "FSFAP" ]
null
null
null
#include "com_southernstars_sscore_JSSCoordinates.h" #include "JNIUtilities.h" #include "SSCoordinates.hpp" /* * Class: com_southernstars_sscore_JSSCoordinates * Method: create * Signature: (Lcom/southernstars/sscore/JSSTime;Lcom/southernstars/sscore/JSSSpherical;)V */ JNIEXPORT void JNICALL Java_com_south...
34.899142
194
0.750231
[ "transform" ]
8aecba290004a2686573c131fb84db1d9d793214
1,927
cpp
C++
Conductor/src/ecs/ECSGroupVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/ECSGroupVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/ECSGroupVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include <ecs/ECSGroupVector.h> #include <dev/Dev.h> #include <array> void ECS::ECSGroupVector::Add(const Collection::Vector<void*>& pointers) { AMP_FATAL_ASSERT(pointers.Size() == m_groupSize, "Can only add ECS groups with the correct group size."); for (const auto& ptr : pointers) { m_data.Add(ptr); } } ...
23.5
95
0.683446
[ "vector" ]
8aed470b0ae5ea635899fb681c06663966566a97
7,646
cpp
C++
OpenGL/OpenGL/src/WinMain.cpp
Eversmile12/OpenGLNative
8dbe9ebb8da2dccdb84454bb8d899a3146bf159e
[ "MIT" ]
null
null
null
OpenGL/OpenGL/src/WinMain.cpp
Eversmile12/OpenGLNative
8dbe9ebb8da2dccdb84454bb8d899a3146bf159e
[ "MIT" ]
null
null
null
OpenGL/OpenGL/src/WinMain.cpp
Eversmile12/OpenGLNative
8dbe9ebb8da2dccdb84454bb8d899a3146bf159e
[ "MIT" ]
1
2022-03-31T13:40:33.000Z
2022-03-31T13:40:33.000Z
#define _CRT_SECURE_NO_WARNINGS #define WIN32_LEAN_AND_MEAN #define WIN_32_EXTRA_LEAN #include "glad/glad.h" #include <Windows.h> #include <iostream> #include "Application.h" int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); // https://docs.microsoft.com/en-...
29.867188
144
0.746011
[ "render" ]
8af1c8c376b7b9ecc85f8763c00077664f151de9
12,438
cc
C++
DQMOffline/Trigger/plugins/EgHLTOfflineSource.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
DQMOffline/Trigger/plugins/EgHLTOfflineSource.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
DQMOffline/Trigger/plugins/EgHLTOfflineSource.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
#include "DQMOffline/Trigger/interface/EgHLTOfflineSource.h" #include "DQMOffline/Trigger/interface/EgHLTEleHLTFilterMon.h" #include "DQMOffline/Trigger/interface/EgHLTPhoHLTFilterMon.h" #include "DQMOffline/Trigger/interface/EgHLTDebugFuncs.h" #include "DQMOffline/Trigger/interface/EgHLTDQMCut.h" #include "DQMOfflin...
48.776471
200
0.776652
[ "object", "vector" ]
8af2442c268ff3c9732da08fe2645833020d4c50
3,282
cpp
C++
src/NasNas/core/Transition.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
148
2020-04-08T13:45:34.000Z
2022-01-29T13:52:10.000Z
src/NasNas/core/Transition.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
5
2020-09-15T12:34:31.000Z
2022-02-14T20:59:12.000Z
src/NasNas/core/Transition.cpp
Madour/NasNas
c6072d3d34116eca4ebff41899e14141d3009c03
[ "Zlib" ]
3
2020-10-03T22:35:20.000Z
2020-10-05T04:55:45.000Z
/** * Created by Modar Nasser on 26/08/2020. **/ #include "NasNas/core/Transition.hpp" #include "NasNas/core/App.hpp" using namespace ns; std::vector<Transition*> Transition::list; Transition::Transition() : m_end_callback([](){}) { auto texture_size = sf::Vector2u(ns::Settings::getConfig().getViewSize()); ...
26.467742
130
0.679464
[ "shape", "vector" ]
8af8a8f3399baa313d2d55f2ab02721a86e41c33
10,382
cc
C++
src/generic/periodic_orbit_handler.cc
pkeuchel/oomph-lib
37c1c61425d6b9ea1c2ddceef63a68a228af6fa4
[ "RSA-MD" ]
4
2020-11-16T12:25:09.000Z
2021-06-29T08:53:25.000Z
src/generic/periodic_orbit_handler.cc
pkeuchel/oomph-lib
37c1c61425d6b9ea1c2ddceef63a68a228af6fa4
[ "RSA-MD" ]
2
2020-05-05T22:41:37.000Z
2020-05-10T14:14:17.000Z
src/generic/periodic_orbit_handler.cc
pkeuchel/oomph-lib
37c1c61425d6b9ea1c2ddceef63a68a228af6fa4
[ "RSA-MD" ]
3
2021-01-31T14:09:20.000Z
2021-06-07T07:20:51.000Z
// LIC// ==================================================================== // LIC// This file forms part of oomph-lib, the object-oriented, // LIC// multi-physics finite-element library, available // LIC// at http://www.oomph-lib.org. // LIC// // LIC// Copyright (C) 2006-2021 Matthias Heil and Andrew Hazel // LIC// ...
34.606667
80
0.590349
[ "object", "shape", "vector" ]
8af8ec1a2783026e268af2c857acb54e20d0f099
9,475
cpp
C++
thrift/compiler/test/fixtures/params/gen-cpp2/module_metadata.cpp
donsbot/fbthrift
11e343118082583eb4326d51ff19c343c61ed3cb
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/params/gen-cpp2/module_metadata.cpp
donsbot/fbthrift
11e343118082583eb4326d51ff19c343c61ed3cb
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/params/gen-cpp2/module_metadata.cpp
donsbot/fbthrift
11e343118082583eb4326d51ff19c343c61ed3cb
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #include <thrift/lib/cpp2/gen/module_metadata_cpp.h> #include "thrift/compiler/test/fixtures/params/gen-cpp2/module_metadata.h" // some of these functions can be so l...
63.166667
369
0.792929
[ "vector" ]
8afa778da006d13fdc4880b9e0de54b28ac6a6b4
58,706
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_ode_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_ode_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/pmx_ode_test.cpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat/fun/Eigen.hpp> #include <test/unit/math/torsten/pmx_ode_test_fixture.hpp> #include <test/unit/math/torsten/pmx_onecpt_test_fixture.hpp> #include <test/unit/math/torsten/pmx_twocpt_test_fixture.hpp> #include <test/unit/math/torsten/pmx_friberg_karlsson_test_fixture.hpp> #include <test/unit/m...
34.052204
154
0.5232
[ "vector" ]
c108ec10ecf4ce6cfb98c364b911a0022a310139
2,700
cpp
C++
src/hssh/local_topological/area_detection/labeling/factor_edge.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
6
2020-03-29T09:37:01.000Z
2022-01-20T08:56:31.000Z
src/hssh/local_topological/area_detection/labeling/factor_edge.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
1
2021-03-05T08:00:50.000Z
2021-03-05T08:00:50.000Z
src/hssh/local_topological/area_detection/labeling/factor_edge.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
11
2019-05-13T00:04:38.000Z
2022-01-20T08:56:38.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
19.852941
95
0.655556
[ "vector" ]
c10e973355a1a35ab14dafde7c1f8f6b89c55b7b
446
cpp
C++
mine/300-longest_increasing_subsequence.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/300-longest_increasing_subsequence.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/300-longest_increasing_subsequence.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
class Solution { public: int lengthOfLIS(vector<int>& nums) { int n = nums.size(), len = 0; vector<int> dp(n); for(int i = 0; i < n; ++i){ int max_prev = 0; for(int j = 0; j < i; ++j){ if(nums[j] < nums[i]) max_prev = max(max_prev, dp[j]); ...
27.875
73
0.392377
[ "vector" ]
c111944e2860537d8a054e57ce2345cbe5dd948a
950
cc
C++
components/content_settings/core/browser/content_settings_info.cc
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
components/content_settings/core/browser/content_settings_info.cc
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
components/content_settings/core/browser/content_settings_info.cc
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 2015 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 "components/content_settings/core/browser/content_settings_info.h" #include "base/stl_util.h" namespace content_settings { ContentSettingsInfo...
33.928571
75
0.791579
[ "vector" ]
c12976198e9c8416a479382d81c567a7ee619607
19,949
cpp
C++
opencv_contrib-3.3.0/modules/freetype/src/freetype.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
17
2020-03-13T00:10:28.000Z
2021-09-06T17:13:17.000Z
opencv_contrib-3.3.0/modules/freetype/src/freetype.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
1
2020-03-12T08:10:07.000Z
2020-03-12T08:10:07.000Z
opencv_contrib-3.3.0/modules/freetype/src/freetype.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
3
2018-02-26T06:43:33.000Z
2021-03-18T09:13:30.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
30.785494
107
0.538222
[ "vector" ]
c133c57c8196deec2e570ea7053db26dc03aa699
7,803
cc
C++
zeo++/material.cc
lsmo-epfl/zeoplusplus
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
2
2019-11-14T02:27:33.000Z
2020-05-05T23:17:47.000Z
zeo++/material.cc
lsmo-epfl/zeoplusplus
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
4
2018-10-17T08:20:58.000Z
2020-12-19T03:28:01.000Z
zeo++/material.cc
lsmo-epfl/zeopp-lsmo
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
3
2019-03-04T11:25:44.000Z
2019-05-29T16:37:12.000Z
/* Functions of the MATERIAL class * (some fragments taken from main() * Added by M. Haranczyk, Feb 2014 * */ #include "material.h" #include <vector> #include <voro++.hh> #include "area_and_volume.h" #include "channel.h" #include "feature.h" #include "grid.h" #include "holograms.h" #include "instructions.h" #inc...
35.307692
80
0.680251
[ "vector" ]
c13a5a39fd31670750ce25a0f6d9c852583e96d7
1,820
cpp
C++
AtCoder/abc020/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc020/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc020/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> #include <tuple> #include <iomanip> using namespace std; int H = 0, W = 0, T = 0; vector<string> S(100, ""); int sx = 0, sy = 0, gx = 0, gy = 0; int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1}; bool dijkstra(int f) { vector<vector<long long>> M(100, vector<l...
29.354839
124
0.393956
[ "vector" ]
c13b77a67cf591adc91abe2c78da631feaa8da3d
10,411
cpp
C++
src/arduino/Proxy-Controller/ProxyControlServer.cpp
AndreZenner/shifty
fedb7e2c1c2d24f151f2cfc18df750ce27abf5c2
[ "RSA-MD" ]
10
2017-12-23T15:15:44.000Z
2021-07-22T04:07:53.000Z
src/arduino/Proxy-Controller/ProxyControlServer.cpp
AndreZenner/shifty
fedb7e2c1c2d24f151f2cfc18df750ce27abf5c2
[ "RSA-MD" ]
null
null
null
src/arduino/Proxy-Controller/ProxyControlServer.cpp
AndreZenner/shifty
fedb7e2c1c2d24f151f2cfc18df750ce27abf5c2
[ "RSA-MD" ]
2
2018-07-13T03:06:47.000Z
2020-11-06T18:52:30.000Z
/* ProxyControlServer.cpp - A TCP server that allows to control the proxy object remotely via a simple WiFi protocol. Created by André Zenner, April 30, 2016. */ #include "Arduino.h" #include "ProxyControlServer.h" #define PROTOCOL_PACKET_SIZE 5 ProxyControlServer::ProxyControlServer() : _wifi(_serial1) { _ser...
30.710914
170
0.610412
[ "object" ]
c1405d3b737de50493db233c58665848d634dd94
31,718
cc
C++
alljoyn/common/src/IODispatch.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
37
2015-01-18T21:27:23.000Z
2018-01-12T00:33:43.000Z
alljoyn/common/src/IODispatch.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
14
2015-02-24T11:44:01.000Z
2020-07-20T18:48:44.000Z
alljoyn/common/src/IODispatch.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
29
2015-01-23T16:40:52.000Z
2019-10-21T12:22:30.000Z
/** * @file * * IODispatch listens on a set of file descriptors and provides callbacks for read/write */ /****************************************************************************** * Copyright (c) 2012-2014, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute thi...
36.499425
174
0.554449
[ "vector" ]
c1407ad0e29df90e49320705b8f9fba16b1bafd9
2,976
cpp
C++
src/ui/certificatelistwidget.cpp
Counter178/web-eid-app
9c108d4cd5f0393d0ebcf6dc920e70d2a228a5b4
[ "MIT" ]
null
null
null
src/ui/certificatelistwidget.cpp
Counter178/web-eid-app
9c108d4cd5f0393d0ebcf6dc920e70d2a228a5b4
[ "MIT" ]
null
null
null
src/ui/certificatelistwidget.cpp
Counter178/web-eid-app
9c108d4cd5f0393d0ebcf6dc920e70d2a228a5b4
[ "MIT" ]
null
null
null
#include "certificatelistwidget.hpp" #include "certandpininfo.hpp" #include "pcsc-cpp/pcsc-cpp-utils.hpp" #include <QHBoxLayout> #include <QLabel> #include <QPainter> CertificateWidget::CertificateWidget(QWidget* parent) : QWidget(parent), icon(new QLabel(this)), info(new QLabel(this)) { QHBoxLayout* layout...
33.066667
100
0.705309
[ "vector" ]
c145b5b374caf991401521740aec988448153f7a
2,859
cpp
C++
raytracer/canvas.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
raytracer/canvas.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
raytracer/canvas.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
#include <raytracer/canvas.h> #include <sstream> namespace { //------------------------------------------------------------------------------ int scale_fraction(double a_val, int a_upper_value) { int result = static_cast<int>(a_val * (a_upper_value + 1)); if (result > a_upper_value) result = a_upper_value; ...
24.435897
80
0.467296
[ "vector" ]
c15064a0941a9407e287d4481ce592d272e1838e
9,466
hpp
C++
SOLVER/src/core/element/material/elastic/anisotropy/Anisotropic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
8
2020-06-05T01:13:20.000Z
2022-02-24T05:11:50.000Z
SOLVER/src/core/element/material/elastic/anisotropy/Anisotropic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
24
2020-10-21T19:03:38.000Z
2021-11-17T21:32:02.000Z
SOLVER/src/core/element/material/elastic/anisotropy/Anisotropic.hpp
nicklinyi/AxiSEM-3D
cd11299605cd6b92eb867d4109d2e6a8f15e6b4d
[ "MIT" ]
5
2020-06-21T11:54:22.000Z
2021-06-23T01:02:39.000Z
// // Anisotropic.hpp // AxiSEM3D // // Created by Kuangdai Leng on 4/28/19. // Copyright © 2019 Kuangdai Leng. All rights reserved. // // anisotropic #ifndef Anisotropic_hpp #define Anisotropic_hpp #include "Elastic.hpp" class Anisotropic: public Elastic { public: // 1D constructor Anisotropic(std::un...
34.05036
79
0.416966
[ "3d" ]
c15336911c0c3786b89e02a30880f9c3816c8673
1,678
hpp
C++
libs/core/render/include/bksge/core/render/gl/detail/inl/stencil_operation_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/gl/detail/inl/stencil_operation_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/gl/detail/inl/stencil_operation_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file stencil_operation_inl.hpp * * @brief StencilOperation クラスの実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_GL_DETAIL_INL_STENCIL_OPERATION_INL_HPP #define BKSGE_CORE_RENDER_GL_DETAIL_INL_STENCIL_OPERATION_INL_HPP #include <bksge/core/render/config.hpp> #if BKSGE_CORE_RENDER_HAS_GL_R...
24.318841
78
0.753874
[ "render" ]
c15a98a7f920494346d18e0ebc0edc3e5914dca7
7,653
cpp
C++
src/demi/gfx/NewBone.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
10
2015-03-04T04:27:15.000Z
2020-06-04T14:06:47.000Z
src/demi/gfx/NewBone.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
null
null
null
src/demi/gfx/NewBone.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
5
2015-10-17T19:09:58.000Z
2021-11-15T23:42:18.000Z
/********************************************************************** This source file is a part of Demi3D __ ___ __ __ __ | \|_ |\/|| _)| \ |__/|__| || __)|__/ Copyright (c) 2013-2014 Demi team https://github.com/wangyanxing/Demi3D Released under the MIT License https://github.com/wangyanxing/De...
33.419214
105
0.600549
[ "mesh", "transform" ]
c16995b334f33ce56876b630fe2fea14abeb6d53
30,552
cpp
C++
cie_sign_sdk/src/ASN1/Certificate.cpp
bitpdg/cie-middleware-linux
d3a794802240a2cda55ecd1d02ff79195689e5ac
[ "BSD-3-Clause" ]
24
2018-05-15T08:52:34.000Z
2022-02-23T21:23:55.000Z
cie_sign_sdk/src/ASN1/Certificate.cpp
bitpdg/cie-middleware-linux
d3a794802240a2cda55ecd1d02ff79195689e5ac
[ "BSD-3-Clause" ]
42
2017-10-07T08:19:54.000Z
2022-03-24T20:45:41.000Z
cie_sign_sdk/src/ASN1/Certificate.cpp
bitpdg/cie-middleware-linux
d3a794802240a2cda55ecd1d02ff79195689e5ac
[ "BSD-3-Clause" ]
22
2019-03-20T14:26:49.000Z
2022-03-25T16:41:29.000Z
// Certificate.cpp: implementation of the CCertificate class. // ////////////////////////////////////////////////////////////////////// #include "Certificate.h" #include "ASN1Octetstring.h" #include "../RSA/sha1.h" #include "OCSPRequest.h" #include "ASN1OptionalField.h" #include "Crl.h" #include "ASN1Excep...
26.659686
160
0.636489
[ "object" ]
c16bbef5690a8204bfe592cc7c889da741873eb2
2,314
cpp
C++
uva/11235.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/11235.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/11235.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (UVa) 11235 #include <bits/stdc++.h> #define GET(x) scanf("%d", &x) #define GED(x) scanf("%lf", &x) typedef long long ll; using namespace std; typedef pair<int, int> ii; // see http://niceproblems.blogspot.com/2012/05/uva-11235-frequent-values.html // for explanation - t...
22.038095
78
0.451599
[ "vector" ]
c1814901c59ff438ba3027bd9a9503885bf25a67
2,886
cpp
C++
Engine/Engine/quadModel.cpp
Elephly/Snatch
09a19de4932af80ca4c5def1683cf1bc1b271a47
[ "MIT" ]
null
null
null
Engine/Engine/quadModel.cpp
Elephly/Snatch
09a19de4932af80ca4c5def1683cf1bc1b271a47
[ "MIT" ]
null
null
null
Engine/Engine/quadModel.cpp
Elephly/Snatch
09a19de4932af80ca4c5def1683cf1bc1b271a47
[ "MIT" ]
null
null
null
#include "gamemodel.h" #include "modelclass.h" #include "quadmodel.h" QuadModel::QuadModel(float lengthX, float lengthY, XMFLOAT4 * pColor) : GameModel() { InitializeModel(lengthX, lengthY, pColor); } QuadModel::~QuadModel(void) { } void QuadModel::InitializeModel(float lengthX, float lengthY, XMFLOAT4 * pColor) {...
25.095652
178
0.7079
[ "render", "object", "model" ]
c18166aca3c8672982b6546c1f82e3d419ff8091
4,073
cpp
C++
EevorgOgl/EevorgView.cpp
dg1an3/eevorg
3db74303d52dc9af9fa2240b305082cdd46874da
[ "BSD-2-Clause" ]
1
2019-02-26T00:18:34.000Z
2019-02-26T00:18:34.000Z
EevorgOgl/EevorgView.cpp
dg1an3/eevorg
3db74303d52dc9af9fa2240b305082cdd46874da
[ "BSD-2-Clause" ]
2
2015-08-30T16:04:51.000Z
2020-02-29T02:02:49.000Z
EevorgOgl/EevorgView.cpp
dg1an3/eevorg
3db74303d52dc9af9fa2240b305082cdd46874da
[ "BSD-2-Clause" ]
null
null
null
// EevorgView.cpp : implementation of the CEevorgView class // #include "stdafx.h" #include "EevorgOglApp.h" #include "Eevorg.h" #include "EevorgDoc.h" #include "EevorgRenderer.h" #include "EevorgView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CEevorgView IMPLEMENT_DYNCREATE(CEevorgView, CView) BEGIN_MESS...
22.627778
104
0.739013
[ "render" ]
c184d7c6ba22e69f53ef7c1cb769fa571abae73e
12,525
cpp
C++
third_party/skia_m79/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/InputLayoutCache.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
third_party/skia_m79/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/InputLayoutCache.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
third_party/skia_m79/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/InputLayoutCache.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
1
2021-12-03T18:11:36.000Z
2021-12-03T18:11:36.000Z
// // Copyright 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // InputLayoutCache.cpp: Defines InputLayoutCache, a class that builds and caches // D3D11 input layouts. #include "libANGLE/renderer/d3d/d3d1...
39.888535
100
0.685908
[ "vector" ]
c1926ce1a31120328b75b35186223fd445e4b0df
4,039
cpp
C++
src/modules/packetio/stack_handler.cpp
saurabh-dua/openperf
43fb850725a0afc563a5d75c3395d3de46c3129a
[ "Apache-2.0" ]
null
null
null
src/modules/packetio/stack_handler.cpp
saurabh-dua/openperf
43fb850725a0afc563a5d75c3395d3de46c3129a
[ "Apache-2.0" ]
null
null
null
src/modules/packetio/stack_handler.cpp
saurabh-dua/openperf
43fb850725a0afc563a5d75c3395d3de46c3129a
[ "Apache-2.0" ]
null
null
null
#include <zmq.h> #include "json.hpp" #include "api/api_route_handler.hpp" #include "core/op_core.h" #include "packetio/stack_api.hpp" #include "config/op_config_utils.hpp" namespace openperf { namespace packetio { namespace stack { namespace api { using namespace Pistache; using json = nlohmann::json; json submit_...
31.80315
80
0.635058
[ "vector" ]
c194975782f5b721150a4e4f7d4ab1defd986251
510
cpp
C++
Procedural/Math/Vector/Vector.cpp
JDcongote/Procedural
621e8202d7fddd1e8a02cd927eaf0f9567bebd83
[ "MIT" ]
null
null
null
Procedural/Math/Vector/Vector.cpp
JDcongote/Procedural
621e8202d7fddd1e8a02cd927eaf0f9567bebd83
[ "MIT" ]
null
null
null
Procedural/Math/Vector/Vector.cpp
JDcongote/Procedural
621e8202d7fddd1e8a02cd927eaf0f9567bebd83
[ "MIT" ]
null
null
null
#include "Vector.h" Vector::Vector() { } const Vector Vector::normalize() const { return Vector(); } const float Vector::magnitude() { return 0.0f; } const float Vector::dot(Vector v) const { return 0.0f; } const Vector Vector::cross(Vector v) const { return Vector(); } Vector Vector::operator[](Vector &) { ...
9.807692
42
0.64902
[ "vector" ]
c19d2e73d46d85e90efb9e646caef4bcd0283c9e
34,356
cpp
C++
src_del_regional_s3_find_genotypes/del_marker_genotyper.cpp
schneebergerlab/GameteBinning_prac
c321186afa9fc68834ae6a6553eb7cd07ac66fd5
[ "MIT" ]
null
null
null
src_del_regional_s3_find_genotypes/del_marker_genotyper.cpp
schneebergerlab/GameteBinning_prac
c321186afa9fc68834ae6a6553eb7cd07ac66fd5
[ "MIT" ]
null
null
null
src_del_regional_s3_find_genotypes/del_marker_genotyper.cpp
schneebergerlab/GameteBinning_prac
c321186afa9fc68834ae6a6553eb7cd07ac66fd5
[ "MIT" ]
null
null
null
/* Given a list of read counts (by "bedtools coverage -counts") at del_marker_finder-defined del-like markers 1. normalize read counts according to total aligned reads 2. define/classify hap-chr and hom-chr regions. 2019-12-09 started: Hequan Sun 2020-01-08 update...
40.754448
185
0.502096
[ "vector" ]
c19f6964660896d2fdd784893be2af3e3a63674f
968
cpp
C++
BOJ/06000~06999/6500~6599/6504.cpp
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/06000~06999/6500~6599/6504.cpp
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/06000~06999/6500~6599/6504.cpp
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define for1(s,n) for(int i = s; i < n; i++) #define for1j(s,n) for(int j = s; j < n; j++) #define foreach(k) for(auto i : k) #define foreachj(k) for(auto j : k) #define pb(a) push_back(a) #define sz(a) a.size() using namespace std; typedef unsigned long long ull; typedef long long ll; typede...
19.36
49
0.510331
[ "vector" ]
c1a420c60d63f552941a105999a1024e69fdb8af
10,464
cpp
C++
Examples/ExampleSDLOpenGL2/Main.cpp
Guillemsc/FastUI
cd624cd02b7add6e74964de175fa6e9e565e04ad
[ "MIT" ]
null
null
null
Examples/ExampleSDLOpenGL2/Main.cpp
Guillemsc/FastUI
cd624cd02b7add6e74964de175fa6e9e565e04ad
[ "MIT" ]
null
null
null
Examples/ExampleSDLOpenGL2/Main.cpp
Guillemsc/FastUI
cd624cd02b7add6e74964de175fa6e9e565e04ad
[ "MIT" ]
null
null
null
#include <stdlib.h> #include "Libs/SDL2/include/SDL.h" #include "Libs/SDL2/include/SDL_opengl.h" #pragma comment( lib, "Libs/SDL2/libx86/SDL2.lib" ) #pragma comment( lib, "Libs/SDL2/libx86/SDL2main.lib" ) #pragma comment (lib, "opengl32.lib") #include "FastSDLOpenGL2Renderer.h" #include "..\..\FastGUI.h" int main(i...
41.52381
161
0.786984
[ "render" ]
c1a5cdb3e4b7676db636d0dd0502b03ed612f385
4,378
cpp
C++
src/Transfers/SynchronizationState.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
src/Transfers/SynchronizationState.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
src/Transfers/SynchronizationState.cpp
JacopoDT/numerare-core
a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f
[ "MIT-0" ]
null
null
null
/*** MIT License Copyright (c) 2018 NUMERARE 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, copy, modify, merge, publis...
31.271429
113
0.746688
[ "vector" ]
c1a666c9ff3a9789a65140805b13e386546b7ed4
6,250
cpp
C++
Engine/Source/Editor/Panels/ContentBrowserPanel.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
Engine/Source/Editor/Panels/ContentBrowserPanel.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
Engine/Source/Editor/Panels/ContentBrowserPanel.cpp
hebohang/HEngine
82f40797a7cfabaa11aeeb7797fba70551d18017
[ "MIT" ]
null
null
null
#include "Editor/Panels/ContentBrowserPanel.h" #include "Editor/IconManager/IconManager.h" #include "Runtime/Resource/ConfigManager/ConfigManager.h" #include "Runtime/Resource/AssetManager/AssetManager.h" #include <imgui/imgui.h> namespace HEngine { namespace Utils { static bool HaveDirectoryMember(std::filesyste...
26.371308
146
0.68432
[ "vector" ]
c1a6a371c984b609fc092ef2b6bed1c24899035a
27,069
cpp
C++
CP3/1.4/00379_HiQ.cpp
phongvcao/Competitive_Programming_Books
90734b0ffb21a43932a179d6d698281a6aefd9cb
[ "MIT" ]
null
null
null
CP3/1.4/00379_HiQ.cpp
phongvcao/Competitive_Programming_Books
90734b0ffb21a43932a179d6d698281a6aefd9cb
[ "MIT" ]
null
null
null
CP3/1.4/00379_HiQ.cpp
phongvcao/Competitive_Programming_Books
90734b0ffb21a43932a179d6d698281a6aefd9cb
[ "MIT" ]
null
null
null
// // Created by Phong Cao. // // uncomment to disable assert() // #define NDEBUG #include <cassert> #include <iostream> #include <cstdio> #include <iomanip> #include <ios> #include <sstream> #include <fstream> #include <string> #include <cmath> #include <cstdlib> #include <ctime> #include <functional> #include <array...
37.964937
123
0.37977
[ "vector" ]
c1a8e0c013b02b83a19d51c544c10bc10175c433
3,520
cc
C++
EventFilter/ESRawToDigi/src/ESRawToDigi.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
EventFilter/ESRawToDigi/src/ESRawToDigi.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
EventFilter/ESRawToDigi/src/ESRawToDigi.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "EventFilter/ESRawToDigi/interface/ESRawToDigi.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" #include "DataFormats/FEDRawData/interface/FEDRawData.h" #include "DataFormats/FEDRawData/interface/FEDNumbering.h" #includ...
39.111111
120
0.724148
[ "vector" ]
c1b097b6cdd9a0e378297c6b6e87545ebf79ed5f
2,506
cpp
C++
solved-topcoder/Solved/ErasingCharacters.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-topcoder/Solved/ErasingCharacters.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-topcoder/Solved/ErasingCharacters.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<iostream> #include<fstream> #include<string> #include<vector> #include<queue> #include<map> #include<algorithm> #include<set> #include<sstream> #include<stack> using namespace std; class ErasingCharacters { public: s...
34.328767
314
0.573424
[ "vector" ]
c1b1694e1f7f8a609ce2f1f85d3da57a00fbd066
3,431
cpp
C++
tests/kd-tree-dense-points.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
43
2016-10-23T14:52:59.000Z
2022-03-18T20:47:06.000Z
tests/kd-tree-dense-points.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
39
2016-11-25T22:14:09.000Z
2022-01-13T21:44:51.000Z
tests/kd-tree-dense-points.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
21
2016-11-28T22:08:36.000Z
2022-03-16T10:31:32.000Z
#include <iostream> #include <fstream> #include <cstring> #include <cstdlib> #include <diy/master.hpp> #include <diy/link.hpp> #include <diy/reduce.hpp> #include <diy/reduce-operations.hpp> #include <diy/partners/swap.hpp> #include <diy/assigner.hpp> #include <diy/algorithms.hpp> #include "opts.h" static const int k...
23.026846
94
0.6007
[ "vector" ]
c1b85d24dd5ca8f971e2eb27b5e8f1c817eb1fd5
2,887
cpp
C++
test/unittest/buffers/sycl_buffer_test.cpp
aarongreig/sycl-blas
6d2f04bd018521be8f2662556543926774a1281d
[ "Apache-2.0" ]
124
2017-05-01T18:16:15.000Z
2022-03-19T22:23:20.000Z
test/unittest/buffers/sycl_buffer_test.cpp
aarongreig/sycl-blas
6d2f04bd018521be8f2662556543926774a1281d
[ "Apache-2.0" ]
112
2017-05-22T15:34:28.000Z
2022-03-01T16:22:14.000Z
test/unittest/buffers/sycl_buffer_test.cpp
ProGTX/sycl-blas
a2291118297a6cd67ab32281a695a4503467afb1
[ "Apache-2.0" ]
37
2017-05-22T15:24:57.000Z
2021-11-16T22:19:41.000Z
/*************************************************************************** * * @license * Copyright (C) Codeplay Software Limited * 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 *...
31.725275
80
0.666436
[ "vector" ]
c1b95084ae7c590ae8920ce97028dc56003382ff
1,410
cpp
C++
src/caffe/layers/absval_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
17
2018-06-13T06:33:52.000Z
2022-02-05T18:43:14.000Z
src/caffe/layers/absval_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
1
2019-04-17T02:19:39.000Z
2019-04-17T02:19:39.000Z
src/caffe/layers/absval_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
9
2018-06-14T07:56:56.000Z
2021-04-29T08:32:31.000Z
#include <vector> #include "caffe/layers/absval_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Ftype, typename Btype> void AbsValLayer<Ftype, Btype>::LayerSetUp(const vector<Blob*>& bottom, const vector<Blob*>& top) { NeuronLayer<Ftype, Btype>::LayerSetUp(bottom, top...
31.333333
71
0.712766
[ "vector" ]
c1c64f88d9b1ef0bdf32d502cdf0ea076765244a
977
cpp
C++
codes/12-troco-1d.cpp
leomaurodesenv/contest-codes
f7ae7e9d8c67e43dea7ac7dd71afce20d804f518
[ "MIT" ]
null
null
null
codes/12-troco-1d.cpp
leomaurodesenv/contest-codes
f7ae7e9d8c67e43dea7ac7dd71afce20d804f518
[ "MIT" ]
null
null
null
codes/12-troco-1d.cpp
leomaurodesenv/contest-codes
f7ae7e9d8c67e43dea7ac7dd71afce20d804f518
[ "MIT" ]
null
null
null
/** -------------------------------------------------------------------------- **/ /** Troco **/ // Dado um conjunto de moedas, retorne a menor quantidade de moedas necessarias // para revolver um troco X /** -------------------------------------------------------------------------- **/ int troco_1d(vector<int> &moeda...
28.735294
82
0.404299
[ "vector" ]
c1cbc927e6823598f0b810f999d3156e49adb231
11,797
cpp
C++
dependencies/PyMesh/src/IO/PLYWriter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
5
2018-06-04T19:52:02.000Z
2022-01-22T09:04:00.000Z
dependencies/PyMesh/src/IO/PLYWriter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
dependencies/PyMesh/src/IO/PLYWriter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #include "PLYWriter.h" #include <cassert> #include <iostream> #include <sstream> #include <Core/EigenTypedef.h> #include <Core/Exception.h> #include <Mesh.h> #include <MeshFactory.h> #include "rply.h" using namespace PyMesh; namespace PLYWriterH...
37.332278
98
0.603967
[ "mesh", "vector" ]
c1ea59831a9c7413306b833faf1fdc7a2a824317
7,005
hpp
C++
src/xpcc/architecture/platform/cortex_m3/stm32/exti.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
5
2016-02-06T14:57:35.000Z
2018-01-02T23:34:18.000Z
src/xpcc/architecture/platform/cortex_m3/stm32/exti.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/architecture/platform/cortex_m3/stm32/exti.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
1
2020-04-19T13:16:31.000Z
2020-04-19T13:16:31.000Z
#ifndef XPCC_STM32__EXTI_HPP #define XPCC_STM32__EXTI_HPP #include <stdint.h> #include "device.h" namespace xpcc { namespace stm32 { /** * \brief External Interrupts from GPIO pins * * This class simplifies the usage of external interrupts from * GPIO pins. Keep the restrictions of the STM32 External ...
26.13806
112
0.621128
[ "vector" ]
c1f04ebc2746d80531b7efdd66bc1c1295b7f436
43,694
cc
C++
chrome/browser/predictors/resource_prefetch_predictor.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:51:34.000Z
2018-02-15T03:11:54.000Z
chrome/browser/predictors/resource_prefetch_predictor.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
chrome/browser/predictors/resource_prefetch_predictor.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.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 "chrome/browser/predictors/resource_prefetch_predictor.h" #include <map> #include <set> #include <utility> #include "base/command_line.h" #...
36.230514
80
0.708083
[ "vector" ]
c1feda3bfb3561a7e289c749d46914febe4f6324
4,213
cpp
C++
ogles_gpgpu/common/proc/multipass/adapt_thresh_pass.cpp
internaut/ogles_gpgpu
0e093f0f6923ab1288ac0a272a9d7244a5f26cc1
[ "Apache-2.0" ]
92
2015-01-21T23:02:23.000Z
2021-11-14T13:00:23.000Z
ogles_gpgpu/common/proc/multipass/adapt_thresh_pass.cpp
internaut/ogles_gpgpu
0e093f0f6923ab1288ac0a272a9d7244a5f26cc1
[ "Apache-2.0" ]
5
2015-10-01T11:23:59.000Z
2016-05-26T12:45:59.000Z
ogles_gpgpu/common/proc/multipass/adapt_thresh_pass.cpp
internaut/ogles_gpgpu
0e093f0f6923ab1288ac0a272a9d7244a5f26cc1
[ "Apache-2.0" ]
36
2015-03-31T03:12:12.000Z
2021-08-09T07:15:32.000Z
// // ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0 // // Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015 // http://www.mkonrad.net // // See LICENSE file in project repository root for the license. // #include "adapt_thresh_pass.h" using namespace ogles_gpgpu; ...
35.108333
151
0.685735
[ "render" ]
de02ba315e8adc35e33e26c8b4aac82663829f47
2,778
cpp
C++
backend/gfx-base/GFXRenderPass.cpp
Xrysnow/cocos2d-x-gfx
54bc8264b15d9fc0e86c731a029d1b9b8b99b5b8
[ "MIT" ]
null
null
null
backend/gfx-base/GFXRenderPass.cpp
Xrysnow/cocos2d-x-gfx
54bc8264b15d9fc0e86c731a029d1b9b8b99b5b8
[ "MIT" ]
null
null
null
backend/gfx-base/GFXRenderPass.cpp
Xrysnow/cocos2d-x-gfx
54bc8264b15d9fc0e86c731a029d1b9b8b99b5b8
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2019-2022 Xiamen Yaji Software Co., Ltd. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, wo...
33.46988
81
0.689345
[ "render" ]
90052aa7fb94cfea29dff61e3587720feabef9dc
489
hpp
C++
include/sciod/Node.hpp
MatthewScholefield/sciod
643a0a8e8cf791791b9ab2593e819a4a5ccd24bf
[ "Zlib" ]
1
2017-12-03T08:15:07.000Z
2017-12-03T08:15:07.000Z
include/sciod/Node.hpp
MatthewScholefield/sciod
643a0a8e8cf791791b9ab2593e819a4a5ccd24bf
[ "Zlib" ]
null
null
null
include/sciod/Node.hpp
MatthewScholefield/sciod
643a0a8e8cf791791b9ab2593e819a4a5ccd24bf
[ "Zlib" ]
null
null
null
#pragma once #include <vector> #include <cstdlib> #include "sciod/FloatVec.hpp" namespace sciod { /* * Represents a single point * Contains connection weights to the previous nodes */ class Node { public: Node(int numConnections); size_t numLinks() const; void randomize(); float getBias() const; ...
15.774194
53
0.705521
[ "vector" ]
9007e404a17a4193c71c19b97834fc4f72a6d0b0
7,036
hpp
C++
src/PointwiseFunctions/AnalyticSolutions/Hydro/SmoothFlow.hpp
kidder/spectre
97ae95f72320f9f67895d3303824e64de6fd9077
[ "MIT" ]
1
2021-04-02T16:49:35.000Z
2021-04-02T16:49:35.000Z
src/PointwiseFunctions/AnalyticSolutions/Hydro/SmoothFlow.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
19
2019-02-27T22:13:47.000Z
2020-09-03T16:21:08.000Z
src/PointwiseFunctions/AnalyticSolutions/Hydro/SmoothFlow.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <limits> #include <pup.h> #include "DataStructures/Tensor/TypeAliases.hpp" #include "Options/Options.hpp" #include "PointwiseFunctions/AnalyticSolutions/AnalyticSolution.hpp" #include "PointwiseFunctions/Hydr...
38.659341
80
0.691444
[ "vector" ]
90084590f7d199e50822071384c2ec2a418a2d02
6,489
cc
C++
elements/ethernet/arpprint.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/ethernet/arpprint.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/ethernet/arpprint.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
/* * arpprint.{cc,hh} -- element prints packet contents to system log * Jose Maria Gonzalez * * Computational batching support * by Georgios Katsikas * * Shameless graft of ipprint.hh/cc and tcpdump-3.8.3/print-arp.c * * Copyright (c) 2005-2006 Regents of the University of California * Copyright (c) 2017 KTH ...
27.150628
85
0.582216
[ "vector" ]
901531b71359cc0fd9ec0745904bab0950ac2087
5,854
cpp
C++
dllmain/KeyboardMouseTweaks.cpp
laymonage/re4_tweaks
804c052670dd866d05f7f98dc7b6ed0b99f5ba34
[ "Zlib" ]
null
null
null
dllmain/KeyboardMouseTweaks.cpp
laymonage/re4_tweaks
804c052670dd866d05f7f98dc7b6ed0b99f5ba34
[ "Zlib" ]
null
null
null
dllmain/KeyboardMouseTweaks.cpp
laymonage/re4_tweaks
804c052670dd866d05f7f98dc7b6ed0b99f5ba34
[ "Zlib" ]
null
null
null
#include <iostream> #include "..\includes\stdafx.h" #include "dllmain.h" #include "Settings.h" #include "ConsoleWnd.h" #include "MouseTurning.h" #include "KeyboardMouseTweaks.h" uintptr_t* ptrRifleMovAddr; uintptr_t* ptrInvMovAddr; uintptr_t* ptrFocusAnimFldAddr; uintptr_t ptrRetryLoadDLGstate; static uint32_t* ptrLa...
29.417085
152
0.662795
[ "3d" ]
901a289ecd68d9a0c012029d5d6a3e575dd751bf
5,181
cpp
C++
tengine/renderer/roperenderer.cpp
dfk789/CodenameInfinite
aeb88b954b65f6beca3fb221fe49459b75e7c15f
[ "BSD-4-Clause" ]
2
2015-01-02T13:11:04.000Z
2015-01-20T02:46:15.000Z
tengine/renderer/roperenderer.cpp
dfk789/CodenameInfinite
aeb88b954b65f6beca3fb221fe49459b75e7c15f
[ "BSD-4-Clause" ]
null
null
null
tengine/renderer/roperenderer.cpp
dfk789/CodenameInfinite
aeb88b954b65f6beca3fb221fe49459b75e7c15f
[ "BSD-4-Clause" ]
null
null
null
#include "roperenderer.h" #include <GL/glew.h> #include <IL/il.h> #include <IL/ilu.h> #include <maths.h> #include <simplex.h> #include <modelconverter/convmesh.h> #include <models/models.h> #include <renderer/shaders.h> #include <tinker/application.h> #include <tinker/cvar.h> #include <tinker/profiler.h> #include <g...
26.035176
103
0.773596
[ "vector" ]
901acfcfd2d636e524bee28696366c3f59ee73b0
871
cpp
C++
61-rotate-list/61-rotate-list.cpp
sahib-pratap-singh/Leetcode
0df2053dcf51c61c1d32ae2d20f58c11b2c25b24
[ "MIT" ]
null
null
null
61-rotate-list/61-rotate-list.cpp
sahib-pratap-singh/Leetcode
0df2053dcf51c61c1d32ae2d20f58c11b2c25b24
[ "MIT" ]
null
null
null
61-rotate-list/61-rotate-list.cpp
sahib-pratap-singh/Leetcode
0df2053dcf51c61c1d32ae2d20f58c11b2c25b24
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* rotateRight...
24.885714
62
0.490241
[ "vector" ]
901e610416a09089adfbc8c93bf02aa68c9d096b
760
cpp
C++
HydraulicNetLib/src/inci_test.cpp
leannejdong/HydraulicNetwork
9c10f54db456301a4d52f3a56e70cf10a15ba9f0
[ "MIT" ]
2
2021-06-16T07:45:58.000Z
2021-06-16T09:37:29.000Z
HydraulicNetLib/src/inci_test.cpp
leannejdong/HydraulicNetwork
9c10f54db456301a4d52f3a56e70cf10a15ba9f0
[ "MIT" ]
null
null
null
HydraulicNetLib/src/inci_test.cpp
leannejdong/HydraulicNetwork
9c10f54db456301a4d52f3a56e70cf10a15ba9f0
[ "MIT" ]
null
null
null
// // Created by leanne on 5/10/21. // #include "../include/inci.h" #include "doctest.h" TEST_CASE("testing incidence matrix generator"){ std::vector<std::vector<int>> expect{{1, -1, 0, 0, 0, 0, 0}, {0, 1, -1, 0, 0, 0, 0}, {0, 1, 0, -1, 0, 0, 0}, {0, 0, 0, 1, 0, -1, 0...
33.043478
84
0.469737
[ "vector" ]
9020835fed894329e889037c4a149ca64f73552e
111,004
cpp
C++
src/cpp/SPL/FrontEnd/SymbolTableEntries.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
10
2021-02-19T20:19:24.000Z
2021-09-16T05:11:50.000Z
src/cpp/SPL/FrontEnd/SymbolTableEntries.cpp
xguerin/openstreams
7000370b81a7f8778db283b2ba9f9ead984b7439
[ "Apache-2.0" ]
7
2021-02-20T01:17:12.000Z
2021-06-08T14:56:34.000Z
src/cpp/SPL/FrontEnd/SymbolTableEntries.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
4
2021-02-19T18:43:10.000Z
2022-02-23T14:18:16.000Z
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
34.863065
112
0.575159
[ "vector", "model" ]
9020b629ab3b5c983071281f2a5b2ffc5ce511c6
958
hh
C++
dev/g++/projects/embedded/security/include/rnd.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/security/include/rnd.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/security/include/rnd.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
/*! * \file rnd.hh * \brief Header file for the lightweight security library. * \author garciay.yann@gmail.com * \copyright Copyright (c) 2020 ygarcia. All rights reserved * \license This project is released under the MIT License * \version 0.1 */ #pragma once #include <memory> #include <cstdint...
20.382979
78
0.632568
[ "vector" ]
9026d98a0c9ae42e68cf9565ffd7561e7539030e
514
cpp
C++
Basic/Convert Decimal To Binary/solutionByPooja.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
8
2020-11-07T10:29:21.000Z
2020-12-26T16:54:13.000Z
Basic/Convert Decimal To Binary/solutionByPooja.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
null
null
null
Basic/Convert Decimal To Binary/solutionByPooja.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
2
2019-12-18T13:06:19.000Z
2021-01-05T18:47:18.000Z
/* Write a program to convert a decimal number into a binary number. */ #include<iostream> #include<vector> using namespace std; void decimal_to_binary(int num) { vector <int>v1; if(num==0) cout<<num; while(num>0) { v1.push_back(num%2); num/=2; } for(int i=v1....
16.0625
69
0.548638
[ "vector" ]
9028f4a3e38f8f11063cb679421e721f97d5fd51
2,836
cxx
C++
Testing/Code/BasicFilters/itkSimplexMeshAdaptTopologyFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/BasicFilters/itkSimplexMeshAdaptTopologyFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/BasicFilters/itkSimplexMeshAdaptTopologyFilterTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkSimplexMeshAdaptTopologyFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. S...
35.45
100
0.721086
[ "mesh" ]