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
2d5344593bbee092a6b00cbcc53469a16e0f8ffd
66,555
cpp
C++
src/script/syntax.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
6
2017-09-01T11:27:47.000Z
2020-01-16T18:53:10.000Z
src/script/syntax.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
src/script/syntax.cpp
LePtitDev/lite-script
2bd3233586737b6e53d5748b03cc21d53702a6c2
[ "BSD-3-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /* Copyright (C) 2017 LePtitDev All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for de...
33.579717
134
0.494538
[ "vector" ]
2d5404c7eb36d077387b52c783169e29a4bd897e
3,858
hpp
C++
ThirdParty-mod/java2cpp/java/security/AccessControlException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/security/AccessControlException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/security/AccessControlException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.security.AccessControlException ================================================================================*/ #ifndef J2CPP_INC...
31.884298
157
0.736392
[ "object" ]
2d555d0a987049309debb89a9358221f8f0009b0
13,993
cpp
C++
compiler/nnc/backends/soft_backend/ModelAnalyzer.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/nnc/backends/soft_backend/ModelAnalyzer.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/nnc/backends/soft_backend/ModelAnalyzer.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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...
30.889625
100
0.688773
[ "shape", "vector", "transform" ]
0623633e0f856d765d84c23940ef72904add400f
376
cpp
C++
0053-maximum-subarray.cpp
lwcM/leetcode_solution
a5e714a9785fd94e530396d93c81f71fd8b9c1b6
[ "MIT" ]
2
2018-09-12T05:37:47.000Z
2018-10-19T12:02:09.000Z
0053-maximum-subarray.cpp
lwcM/leetcode_solution
a5e714a9785fd94e530396d93c81f71fd8b9c1b6
[ "MIT" ]
null
null
null
0053-maximum-subarray.cpp
lwcM/leetcode_solution
a5e714a9785fd94e530396d93c81f71fd8b9c1b6
[ "MIT" ]
null
null
null
class Solution { public: int maxSubArray(vector<int>& nums) { if(nums.size()==0) return 0; int ans=nums[0], sum=0; for(int x:nums) { ans = max(ans, sum+=x); if(sum < 0) sum = 0; } return ans; } }; static const auto __=[]{ ios::sync_with_stdio...
18.8
40
0.5
[ "vector" ]
06240f40d17afbbe34934e162d34c8bca74473b8
1,257
cpp
C++
dynamic_programming/lcs_iterative.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
1
2020-08-11T17:50:01.000Z
2020-08-11T17:50:01.000Z
dynamic_programming/lcs_iterative.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
dynamic_programming/lcs_iterative.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
//Keep calm and admire #include<bits/stdc++.h> using namespace std; #define ll long long int #define fastio() ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); #define F first #define S second #define endl "\n" #define pb push_back #define all(v) v.begin(),v.end() ll MAX = 1e18; ll MOD = 1000000007; ll MIN = ...
23.716981
74
0.485282
[ "vector" ]
062b57e5be3e7c54bcfbaa671b13197b1b8ec7c9
2,809
cpp
C++
core-lib/include/oh-core/InstanceInfo.cpp
sgrottel/open-here
4834e7064d92c49592585e83c930015a7b407615
[ "Apache-2.0" ]
null
null
null
core-lib/include/oh-core/InstanceInfo.cpp
sgrottel/open-here
4834e7064d92c49592585e83c930015a7b407615
[ "Apache-2.0" ]
null
null
null
core-lib/include/oh-core/InstanceInfo.cpp
sgrottel/open-here
4834e7064d92c49592585e83c930015a7b407615
[ "Apache-2.0" ]
null
null
null
// // Open Here // core-lib - InstanceInfo.cpp // Info about a found instance of a File Explorer // // Copyright 2022 SGrottel (https://www.sgrottel.de) // // 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 ...
28.663265
81
0.728373
[ "vector" ]
062f78f2359c448a02f88bb78f16a265d651a965
10,441
cpp
C++
src/libraries/core/meshTools/searchableSurface/searchablePlate.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshTools/searchableSurface/searchablePlate.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshTools/searchableSurface/searchablePlate.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
23.410314
79
0.518916
[ "vector" ]
06340427af34e54a6c85472396f7fdec5c1d3046
50,125
cpp
C++
aspects/electrical/SolarArray/test/UtGunnsElectPvRegShunt.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
aspects/electrical/SolarArray/test/UtGunnsElectPvRegShunt.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
aspects/electrical/SolarArray/test/UtGunnsElectPvRegShunt.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/** @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. LIBRARY DEPENDENCY: ((aspects/electrical/SolarArray/GunnsElectPvRegShunt.o) (software/exceptions/TsInitializationException.o)) */ #inclu...
51.56893
127
0.626294
[ "object", "vector", "model" ]
063bf65a72bf2655e117cc45d2e0669307ae5aa1
21,490
cc
C++
src/tmdgrid/createstructgrid.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
3
2020-01-16T17:15:54.000Z
2020-01-17T10:59:39.000Z
src/tmdgrid/createstructgrid.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
null
null
null
src/tmdgrid/createstructgrid.cc
vbertone/NangaParbat
49529d0a2e810dfe0ec676c8e96081be39a8800d
[ "MIT" ]
3
2020-01-18T22:10:02.000Z
2020-08-01T18:42:36.000Z
// // Author: Valerio Bertone: valerio.bertone@cern.ch // Chiara Bissolotti: chiara.bissolotti01@universitadipavia.it // #include "NangaParbat/createstructgrid.h" #include "NangaParbat/bstar.h" #include "NangaParbat/nonpertfunctions.h" #include "NangaParbat/tmdgrid.h" #include "NangaParbat/factories.h" #inclu...
47.649667
167
0.540717
[ "object", "vector", "transform" ]
063fb9fb671613335943ef761dd68f63a1fd32e2
6,804
cpp
C++
implementations/ugene/src/corelibs/U2Algorithm/src/misc/FindAlgorithmTask.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Algorithm/src/misc/FindAlgorithmTask.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Algorithm/src/misc/FindAlgorithmTask.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
36.385027
168
0.623751
[ "object" ]
0644a1e1446086ba5e869083f13406a4de926601
4,302
cxx
C++
examples/Applications/ComputeTubeProbability/ComputeTubeProbability.cxx
kian-weimer/ITKTubeTK
88da3195bfeca017745e7cddfe04f82571bd00ee
[ "Apache-2.0" ]
27
2020-04-06T17:23:22.000Z
2022-03-02T13:25:52.000Z
examples/Applications/ComputeTubeProbability/ComputeTubeProbability.cxx
kian-weimer/ITKTubeTK
88da3195bfeca017745e7cddfe04f82571bd00ee
[ "Apache-2.0" ]
14
2020-04-09T00:23:15.000Z
2022-02-26T13:02:35.000Z
examples/Applications/ComputeTubeProbability/ComputeTubeProbability.cxx
kian-weimer/ITKTubeTK
88da3195bfeca017745e7cddfe04f82571bd00ee
[ "Apache-2.0" ]
14
2020-04-03T03:56:14.000Z
2022-01-14T07:51:32.000Z
/*========================================================================= Library: TubeTK Copyright Kitware Inc. 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 ht...
28.872483
75
0.669921
[ "object" ]
0648eb69a209a47c5eeb450d5c5c30fffa64e227
15,154
cpp
C++
qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.cpp
largeriver/twrp
767b63ed5e0763538466569984cf7930d9c59921
[ "MIT" ]
null
null
null
qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.cpp
largeriver/twrp
767b63ed5e0763538466569984cf7930d9c59921
[ "MIT" ]
null
null
null
qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.cpp
largeriver/twrp
767b63ed5e0763538466569984cf7930d9c59921
[ "MIT" ]
null
null
null
/* Copyright 2012 bigbiff/Dees_Troy TeamWin This file is part of TWRP/TeamWin Recovery Project. TWRP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any ...
27.602914
135
0.643328
[ "vector" ]
064e2e33e2e43f31afce5fc3df93c797c40108c2
2,528
cpp
C++
src/Auxiliary/Aux_GetCPUInfo.cpp
CliffLinTw/gamer
6974d0b19133f253f2b867542f97b2acf1e9d756
[ "BSD-3-Clause" ]
3
2019-01-26T10:38:01.000Z
2019-10-17T01:57:25.000Z
src/Auxiliary/Aux_GetCPUInfo.cpp
wt-liao/gamer_cyl
8f3a15216391c6bcb22b5a7769aac3d1ff9bf3c3
[ "BSD-3-Clause" ]
null
null
null
src/Auxiliary/Aux_GetCPUInfo.cpp
wt-liao/gamer_cyl
8f3a15216391c6bcb22b5a7769aac3d1ff9bf3c3
[ "BSD-3-Clause" ]
null
null
null
#include "GAMER.h" //------------------------------------------------------------------------------------------------------- // Function : Aux_GetCPUInfo // Description : Record the CPU information // // Parameter : FileName : Name of the output file //-----------------------------------------------------...
24.543689
106
0.457278
[ "model" ]
065682e85a3c60be55b4eb1ee67c7942e835acf2
9,261
cpp
C++
src/primekeys.cpp
coinkeeper/2015-06-22_18-53_paycoin
e6b00068766c49b9908d691ee47de46302221bb2
[ "MIT" ]
null
null
null
src/primekeys.cpp
coinkeeper/2015-06-22_18-53_paycoin
e6b00068766c49b9908d691ee47de46302221bb2
[ "MIT" ]
null
null
null
src/primekeys.cpp
coinkeeper/2015-06-22_18-53_paycoin
e6b00068766c49b9908d691ee47de46302221bb2
[ "MIT" ]
null
null
null
// Copyright (c) 2015 The Paycoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primekeys.h" #include "script.h" std::vector<std::string> pubKeyList350; std::vector<std::string> pubKeyList100; std::vector<...
97.484211
162
0.903142
[ "vector" ]
066a89133241b7e5b0333f09e99d53938c573283
3,140
cpp
C++
gen/passes/StripExternals.cpp
sdrees/ldc
3354cca137c090c28e3db1ee9ecc98eabe594691
[ "Apache-2.0" ]
null
null
null
gen/passes/StripExternals.cpp
sdrees/ldc
3354cca137c090c28e3db1ee9ecc98eabe594691
[ "Apache-2.0" ]
null
null
null
gen/passes/StripExternals.cpp
sdrees/ldc
3354cca137c090c28e3db1ee9ecc98eabe594691
[ "Apache-2.0" ]
null
null
null
//===-- StripExternals.cpp - Strip available_externally symbols -----------===// // // LDC – the LLVM D compiler // // This file is distributed under the BSD-style LDC license. See the LICENSE // file for details. // //===----------------------------------------------------------------------===/...
30.485437
81
0.620064
[ "transform" ]
066d2f138037405cf871711e7c82fa3c3404be30
6,314
cpp
C++
Acorn/tools/IDLParser/src/V8IDLGenerators.cpp
IcyTv/Acorn
3068d9fd54401b310d42ef81277aab3d0ade0a0a
[ "Apache-2.0" ]
null
null
null
Acorn/tools/IDLParser/src/V8IDLGenerators.cpp
IcyTv/Acorn
3068d9fd54401b310d42ef81277aab3d0ade0a0a
[ "Apache-2.0" ]
null
null
null
Acorn/tools/IDLParser/src/V8IDLGenerators.cpp
IcyTv/Acorn
3068d9fd54401b310d42ef81277aab3d0ade0a0a
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2022 Michael Finger * * SPDX-License-Identifier: Apache-2.0 with Commons Clause * * For more Information on the license, see the LICENSE.md file */ // FIXME move to inja::Environment to precompile templates // FIXME move this project to a subproject or similar to reduce reconfigure complexi...
27.938053
159
0.689895
[ "vector" ]
066f27f655e2549e764480329df6a2b98323ab23
23,531
cpp
C++
src/pipelinedefinition.cpp
ayoubBouziane/model_server
03d6d325304e01fc197e6e033c84eb9af150301d
[ "Apache-2.0" ]
null
null
null
src/pipelinedefinition.cpp
ayoubBouziane/model_server
03d6d325304e01fc197e6e033c84eb9af150301d
[ "Apache-2.0" ]
null
null
null
src/pipelinedefinition.cpp
ayoubBouziane/model_server
03d6d325304e01fc197e6e033c84eb9af150301d
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 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.a...
44.566288
201
0.606774
[ "shape", "vector", "model" ]
0670a02e34ac5ac235e1ba67398bc04d950129fa
2,420
cc
C++
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/src/codegen/verilog/verilog_module.cc
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
42
2019-07-11T18:23:52.000Z
2021-09-14T08:21:09.000Z
src/codegen/verilog/verilog_module.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
src/codegen/verilog/verilog_module.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
/*! * Copyright (c) 2017 by Contributors * \file verilog_module.cc * \brief Build verilog source code. */ #include <tvm/runtime/packed_func.h> #include <tvm/codegen.h> #include <mutex> #include "codegen_verilog.h" #include "../../runtime/file_util.h" #include "../../runtime/meta_data.h" namespace tvm { namespace ...
27.5
88
0.645868
[ "vector" ]
0680b89544b96bce58679512ac36b0b186cd82c9
4,661
cc
C++
cpp/src/keyczar/ecdsa_key_unittest.cc
nawien-sharma/keyczar
c55563bbd70f4b6fefc7444e296aab9894475f9a
[ "Apache-2.0" ]
null
null
null
cpp/src/keyczar/ecdsa_key_unittest.cc
nawien-sharma/keyczar
c55563bbd70f4b6fefc7444e296aab9894475f9a
[ "Apache-2.0" ]
null
null
null
cpp/src/keyczar/ecdsa_key_unittest.cc
nawien-sharma/keyczar
c55563bbd70f4b6fefc7444e296aab9894475f9a
[ "Apache-2.0" ]
1
2019-06-05T01:23:02.000Z
2019-06-05T01:23:02.000Z
// Copyright 2009 Sebastien Martini (seb@dbzteam.org) // // 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 applica...
36.131783
79
0.709504
[ "vector" ]
0684d5f23168310ceafb4659205dbc3813b86158
5,165
hpp
C++
spcppl/dataStructures/NDArray.hpp
s0rav/spcppl
a17886c9082055490dab09c47a250accfadd8513
[ "WTFPL" ]
30
2015-04-19T17:04:33.000Z
2022-03-22T13:26:53.000Z
spcppl/dataStructures/NDArray.hpp
s0rav/spcppl
a17886c9082055490dab09c47a250accfadd8513
[ "WTFPL" ]
4
2018-05-27T18:20:10.000Z
2021-11-28T15:22:12.000Z
spcppl/dataStructures/NDArray.hpp
s0rav/spcppl
a17886c9082055490dab09c47a250accfadd8513
[ "WTFPL" ]
8
2016-10-28T16:46:05.000Z
2021-02-24T16:49:20.000Z
#pragma once #include <cstddef> #include <array> #include <vector> #include <type_traits> #include <spcppl/typeTraits/enable_if_t.hpp> #include <spcppl/assert.hpp> #include <spcppl/ranges/fors.hpp> template <typename T, std::size_t depth> class NDArrayView { public: using Ref = std::conditional_t<depth == 1, T&, NDA...
27.918919
100
0.68635
[ "vector" ]
0686cfcfb079d310cba93f4e6c2441fb5f722277
2,780
cc
C++
src/CanvasGradient.cc
AF83/node-canvas
557a5aed11a9755280fe9c37c2f1bf5efd2e7fb4
[ "MIT", "Unlicense" ]
null
null
null
src/CanvasGradient.cc
AF83/node-canvas
557a5aed11a9755280fe9c37c2f1bf5efd2e7fb4
[ "MIT", "Unlicense" ]
null
null
null
src/CanvasGradient.cc
AF83/node-canvas
557a5aed11a9755280fe9c37c2f1bf5efd2e7fb4
[ "MIT", "Unlicense" ]
null
null
null
// // Gradient.cc // // Copyright (c) 2010 LearnBoost <tj@learnboost.com> // #include "color.h" #include "Canvas.h" #include "CanvasGradient.h" Persistent<FunctionTemplate> Gradient::constructor; /* * Initialize CanvasGradient. */ void Gradient::Initialize(Handle<Object> target) { HandleScope scope; // Cons...
22.601626
88
0.660072
[ "object" ]
069046f6477e91a6e406c92f4f2054790ee3d5e1
1,766
hpp
C++
inc/prerequisites.hpp
TankleL/liblight
77e14df6c0b0345b0f1e8d69d7bb21d190833a56
[ "MIT" ]
3
2018-08-28T12:30:56.000Z
2021-02-22T10:17:56.000Z
inc/prerequisites.hpp
TankleL/liblight
77e14df6c0b0345b0f1e8d69d7bb21d190833a56
[ "MIT" ]
null
null
null
inc/prerequisites.hpp
TankleL/liblight
77e14df6c0b0345b0f1e8d69d7bb21d190833a56
[ "MIT" ]
null
null
null
#pragma once #include <assert.h> #include <memory> #include <cstring> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <unordered_map> #include <string> #include <sstream> #include <exception> #include <thread> #include <mutex> #include <condition_variable> #ifdef WIN32 # ifdef API...
17.145631
62
0.692525
[ "vector" ]
06918a270cf3a4c223516eaf41697e8e5f0eafc3
663
hpp
C++
src/exported/WindowOpenGl.hpp
Akaito/csaru-xapp-cpp
e44dd1e8c7de76958eeea8d7964e8242fe35f334
[ "Zlib" ]
null
null
null
src/exported/WindowOpenGl.hpp
Akaito/csaru-xapp-cpp
e44dd1e8c7de76958eeea8d7964e8242fe35f334
[ "Zlib" ]
null
null
null
src/exported/WindowOpenGl.hpp
Akaito/csaru-xapp-cpp
e44dd1e8c7de76958eeea8d7964e8242fe35f334
[ "Zlib" ]
null
null
null
#pragma once #include "Window.hpp" typedef void * SDL_GLContext; namespace csaru { namespace xapp { class WindowOpenGl : public Window { protected: SDL_GLContext m_glContext = nullptr; float m_clearColor[4]; void SetClearColor (float r, float g, float b, float a); public: virtual ~WindowOp...
20.71875
85
0.692308
[ "render" ]
06985197ddae5ed329cfdf105b89c5a39a76f9cc
16,608
cpp
C++
test/test_cube.cpp
chuckwolber/Cube
56aae900c3c0c866940cade9d814c3fc7281ec33
[ "MIT" ]
2
2021-04-09T18:11:35.000Z
2022-02-12T18:12:10.000Z
test/test_cube.cpp
chuckwolber/Cube
56aae900c3c0c866940cade9d814c3fc7281ec33
[ "MIT" ]
5
2019-08-29T07:54:56.000Z
2021-08-19T07:01:34.000Z
test/test_cube.cpp
chuckwolber/Cube
56aae900c3c0c866940cade9d814c3fc7281ec33
[ "MIT" ]
1
2021-04-08T20:04:27.000Z
2021-04-08T20:04:27.000Z
/** * SPDX-License-Identifier: MIT * * Copyright (c) 2019 Chuck Wolber * * 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...
36.501099
101
0.634694
[ "vector" ]
069d85f2548e70c38fd8b0b8ec89ac408a47bcad
2,770
cpp
C++
plugins/core/client/tools/Madgine_Tools/im3d/im3drenderpass.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/core/client/tools/Madgine_Tools/im3d/im3drenderpass.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/core/client/tools/Madgine_Tools/im3d/im3drenderpass.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../clienttoolslib.h" #include "im3drenderpass.h" #include "Madgine/render/rendertarget.h" #include "im3d/im3d.h" #include "im3d/im3d_internal.h" #include "Madgine/render/camera.h" #include "Madgine/render/shadinglanguage/sl.h" #include "render/texturedescriptor.h" #define SL_SHADER im3d #include INCLUD...
29.157895
128
0.60361
[ "render", "vector" ]
06a1de4a79b2a109f2d43c14dae8f3f14a63f91f
4,155
cc
C++
cpp/Codeforces/301-350/327A_Flipping_Game.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
cpp/Codeforces/301-350/327A_Flipping_Game.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
cpp/Codeforces/301-350/327A_Flipping_Game.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <vector> #include <map> std::string indexesToString(int first, int last) { std::stringstream ss; ss << first << last; return ss.str(); } int countFlippedOnes(int *intArr, int first, int last, int length) { int flippedOnesCount = 0; ...
24.732143
125
0.558604
[ "vector" ]
a62c45adafc3f5256a3a35aceb5b1c2af8d94db7
14,098
cpp
C++
src/SpeechStuff.cpp
jfmherokiller/playerTextToSpeechSSE
3e546882f15a545ab14f400748746ed8956ca788
[ "MIT" ]
3
2021-08-08T15:40:11.000Z
2022-01-14T04:06:16.000Z
src/SpeechStuff.cpp
jfmherokiller/playerTextToSpeechSSE
3e546882f15a545ab14f400748746ed8956ca788
[ "MIT" ]
null
null
null
src/SpeechStuff.cpp
jfmherokiller/playerTextToSpeechSSE
3e546882f15a545ab14f400748746ed8956ca788
[ "MIT" ]
1
2022-01-14T04:06:19.000Z
2022-01-14T04:06:19.000Z
// // Created by peter on 7/27/21. // std::vector<ISpObjectToken*> gVoices; ISpVoice* gVoice = nullptr; // Default settings - should match those in Papyrus bool gModEnabled = true; uint32_t gPlayerVoiceID = 0; uint32_t gPlayerVoiceVolume = 50; int32_t gPlayerVoiceRateAdjust = 0; /************************* ** Play...
30.581345
157
0.661299
[ "object", "vector" ]
a62d329f4e2f7c444adbbdbd2037fe0f7f5fec62
4,624
hpp
C++
NetKet/Hamiltonian/graph_hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Hamiltonian/graph_hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
null
null
null
NetKet/Hamiltonian/graph_hamiltonian.hpp
stavros11/netket
1cec25a4884bdbd2fddb5d24daae627cd89316d8
[ "Apache-2.0" ]
1
2020-10-26T21:05:38.000Z
2020-10-26T21:05:38.000Z
// Copyright 2018 The Simons Foundation, Inc. - All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
33.751825
77
0.644247
[ "object", "vector" ]
a62dc939b77814bc835a8a52d8965e5d3850e790
7,330
cpp
C++
MTable.cpp
sakurakitten/Bungo-chat
02c60f1c4b40ebe216cbc6f7c1fd534f9df7a981
[ "BSD-3-Clause" ]
null
null
null
MTable.cpp
sakurakitten/Bungo-chat
02c60f1c4b40ebe216cbc6f7c1fd534f9df7a981
[ "BSD-3-Clause" ]
null
null
null
MTable.cpp
sakurakitten/Bungo-chat
02c60f1c4b40ebe216cbc6f7c1fd534f9df7a981
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <map> #include <vector> #include <string> #include <random> #include <sstream> #include <fstream> #include <set> #include <cstdlib> #include "MTable.h" #include "Main.h" MTable::MTable(){} MTable::~MTable(){} MTable::MTable(const std::string& input){ std::string line; #if 1 std::if...
30.414938
107
0.64693
[ "vector" ]
a62e710501640dffd58a366dc1d4a16e3c37a512
13,508
cc
C++
LiteCore/RevTrees/VersionVector.cc
udkyo/couchbase-lite-core
18f3368186875461c49a559705f9a791e31c6fb9
[ "Apache-2.0" ]
null
null
null
LiteCore/RevTrees/VersionVector.cc
udkyo/couchbase-lite-core
18f3368186875461c49a559705f9a791e31c6fb9
[ "Apache-2.0" ]
null
null
null
LiteCore/RevTrees/VersionVector.cc
udkyo/couchbase-lite-core
18f3368186875461c49a559705f9a791e31c6fb9
[ "Apache-2.0" ]
null
null
null
// // VersionVector.cc // Couchbase Lite Core // // Created by Jens Alfke on 5/23/16. // Copyright (c) 2016 Couchbase. 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...
33.60199
100
0.54042
[ "vector" ]
a632175dfb30a7accf9f491690cf667e3a644d62
1,183
cc
C++
leetcode/Recursion/permutations_ii.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Recursion/permutations_ii.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Recursion/permutations_ii.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
// Author: zhichaoli // Time: 2020年02月12日 #include <algorithm> #include <string> #include <vector> #include <gperftools/profiler.h> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" using std::vector; using std::string; class Solution { public: void recursion(vector<int...
22.75
75
0.60186
[ "vector" ]
a6324b969e19fa23f3d8041248102b405130a06b
4,715
cpp
C++
src/blend2d/pipegen/blfetchsolidpart.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
src/blend2d/pipegen/blfetchsolidpart.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
src/blend2d/pipegen/blfetchsolidpart.cpp
dan-eicher/blend2d
097f89cbaae699cb3ba67712c4d1c8ebad78b99c
[ "Zlib" ]
null
null
null
// [Blend2D] // 2D Vector Graphics Powered by a JIT Compiler. // // [License] // ZLIB - See LICENSE.md file in the package. #include "../blapi-build_p.h" #include "../pipegen/blcompoppart_p.h" #include "../pipegen/blfetchsolidpart_p.h" #include "../pipegen/blpipecompiler_p.h" namespace BLPipeGen { #define REL_SOLID(...
30.031847
117
0.516437
[ "vector", "solid" ]
a632f30372068701ea09d7db80ac351dd0b90777
2,950
cpp
C++
dali/internal/accessibility/tizen-wayland/atspi/bridge-action.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/accessibility/tizen-wayland/atspi/bridge-action.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/accessibility/tizen-wayland/atspi/bridge-action.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * 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...
31.052632
109
0.722373
[ "object" ]
a6330db6b4d8d46fd93a0d7f0212e9bb3797e5e3
3,028
cpp
C++
src/misc/game_mode_selector.cpp
adct-the-experimenter/Thief-Fighters
1f34df8505612ccc4fe3934242ac942f0c1686a8
[ "MIT" ]
1
2021-07-25T21:22:11.000Z
2021-07-25T21:22:11.000Z
src/misc/game_mode_selector.cpp
adct-the-experimenter/Thief-Fighters
1f34df8505612ccc4fe3934242ac942f0c1686a8
[ "MIT" ]
1
2021-07-01T04:11:55.000Z
2021-07-01T04:39:49.000Z
src/misc/game_mode_selector.cpp
adct-the-experimenter/Thief-Fighters
1f34df8505612ccc4fe3934242ac942f0c1686a8
[ "MIT" ]
null
null
null
#include "game_mode_selector.h" static std::string game_mode_choices [2] = {"Versus","Story - Alpha"}; GameModeSelector::GameModeSelector() { m_current_mode_select = 0; move_next_state = false; move_prev_state = false; m_confirm_selection = false; } GameModeSelector::~GameModeSelector() { } void GameModeSele...
22.939394
97
0.732827
[ "render" ]
a633859f11cd5579f4a88f54135486755e54a1e4
6,157
cpp
C++
src/rfx/scene/MaterialShader.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
src/rfx/scene/MaterialShader.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
src/rfx/scene/MaterialShader.cpp
rfruesmer/rfx
96c15a11ee8e2192c9d2ff233924eee884835f17
[ "MIT" ]
null
null
null
#include "rfx/pch.h" #include "rfx/scene/MaterialShader.h" using namespace rfx; using namespace std; using namespace filesystem; // --------------------------------------------------------------------------------------------------------------------- MaterialShader::MaterialShader( GraphicsDevicePtr graphicsDevi...
32.57672
120
0.442098
[ "vector" ]
a63802b2d765197591f97695535de0a2edaa960e
40,913
cpp
C++
app/src/main/cpp/zwcontrol-jni.cpp
huimumua/Project_sig_ma
1181776845d67e8f185a57f3e145f0080f7a5a78
[ "Apache-2.0" ]
2
2018-11-17T14:02:34.000Z
2020-06-13T08:43:06.000Z
app/src/main/cpp/zwcontrol-jni.cpp
huimumua/ZwaveControlServer_ZipGateway281
1181776845d67e8f185a57f3e145f0080f7a5a78
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/zwcontrol-jni.cpp
huimumua/ZwaveControlServer_ZipGateway281
1181776845d67e8f185a57f3e145f0080f7a5a78
[ "Apache-2.0" ]
null
null
null
#include <string.h> #include <stdint.h> #include <jni.h> #include <android/log.h> extern "C" { #include "zwcontrol/zwcontrol_api.h" } #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) static hl_appl_ctx_t appl_ctx = {0}; static jclass ZwControlServiceClass; static JavaVM *ZwControlServiceVM = NULL; stati...
37.707834
173
0.707672
[ "object" ]
a647ab5b9d60ce0090f2ede5fe05be6dfbb503f9
2,788
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiScannerParcelableScanResults.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiScannerParcelableScanResults.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/wifi/CWifiScannerParcelableScanResults.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
26.552381
111
0.651004
[ "object" ]
a6547fe8ef8e5d0d6f33f9638fabd2c29cd9c870
12,979
cpp
C++
sqlite/src/ossimGpkgTileEntry.cpp
ossimlabs/ossim-plugins
88abcbce9e2d0f5ebb06e63d701e6bacf77e93c0
[ "MIT" ]
12
2016-09-09T01:24:12.000Z
2022-01-09T21:45:58.000Z
sqlite/src/ossimGpkgTileEntry.cpp
ossimlabs/ossim-plugins
88abcbce9e2d0f5ebb06e63d701e6bacf77e93c0
[ "MIT" ]
5
2016-02-04T16:10:40.000Z
2021-06-29T05:00:29.000Z
sqlite/src/ossimGpkgTileEntry.cpp
ossimlabs/ossim-plugins
88abcbce9e2d0f5ebb06e63d701e6bacf77e93c0
[ "MIT" ]
20
2015-11-17T11:46:22.000Z
2021-11-12T19:23:54.000Z
//---------------------------------------------------------------------------- // // File: ossimGpkgTileEntry.cpp // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Description: Container class for GeoPackage tile entry. // // Holds a gpkg_tile_matrix_set and a vector of...
29.836782
98
0.60151
[ "vector" ]
a6554faf92f8772e8b60393a9ff36bd79aa794b3
18,620
cpp
C++
webaccountmanager/cpp/scenario6_customprovider.xaml.cpp
kaid7pro/old-Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
6
2015-12-23T22:28:56.000Z
2021-11-06T17:05:51.000Z
webaccountmanager/cpp/scenario6_customprovider.xaml.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
null
null
null
webaccountmanager/cpp/scenario6_customprovider.xaml.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
8
2015-10-26T01:44:51.000Z
2022-03-12T09:47:56.000Z
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "Scenario6_CustomProvider.xaml.h" using namespace SDKTemplate; using namespace Platform; using namespace Platform::Collections; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace ...
45.975309
220
0.735822
[ "object" ]
a65bd8d81e16ae4b31d0a1c5b0a112c850428338
10,220
cpp
C++
plugins/robots/common/twoDModel/src/engine/model/physics/realisticPhysicsEngine.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
6
2017-07-03T13:55:35.000Z
2018-11-28T03:39:51.000Z
plugins/robots/common/twoDModel/src/engine/model/physics/realisticPhysicsEngine.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
27
2017-06-29T09:36:37.000Z
2017-11-25T14:50:04.000Z
plugins/robots/common/twoDModel/src/engine/model/physics/realisticPhysicsEngine.cpp
RexTremendaeMajestatis/QREAL
94786d40e84c18a4407069570588f7d2c4c63aea
[ "Apache-2.0" ]
null
null
null
/* Copyright 2007-2015 QReal Research Group * * 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...
40.88
109
0.78229
[ "geometry", "vector", "model" ]
a65f18e467596764749a3d1c75e06f3bef9f31d4
5,379
hpp
C++
include/aula/core/io/binary.hpp
amenoyoya/aula
337ad7e552a24449446c0fe567967ea372661bd7
[ "MIT" ]
null
null
null
include/aula/core/io/binary.hpp
amenoyoya/aula
337ad7e552a24449446c0fe567967ea372661bd7
[ "MIT" ]
null
null
null
include/aula/core/io/binary.hpp
amenoyoya/aula
337ad7e552a24449446c0fe567967ea372661bd7
[ "MIT" ]
null
null
null
#pragma once #include "seekfrom.hpp" namespace Aula { namespace IO { /// バイナリ管理クラス class Binary: public Object { public: /// バイナリ管理モード enum Mode { CONTROL = 1, ALLOCATE = 5, }; Binary(): Object(), ptr(nullptr...
32.017857
96
0.443949
[ "object" ]
a65fd6751887486889122fb42f2f058a91a84c17
16,295
cpp
C++
pxr/imaging/rprUsd/contextHelpers.cpp
GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD
c5a355a0a0c56b824657987ec38176e865ec0381
[ "Apache-2.0" ]
155
2018-08-12T17:48:09.000Z
2022-03-17T08:00:30.000Z
pxr/imaging/rprUsd/contextHelpers.cpp
GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD
c5a355a0a0c56b824657987ec38176e865ec0381
[ "Apache-2.0" ]
228
2018-08-21T15:18:50.000Z
2022-03-31T10:23:50.000Z
pxr/imaging/rprUsd/contextHelpers.cpp
GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD
c5a355a0a0c56b824657987ec38176e865ec0381
[ "Apache-2.0" ]
34
2018-08-22T18:41:42.000Z
2022-03-12T14:32:26.000Z
/************************************************************************ Copyright 2020 Advanced Micro Devices, 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...
34.892934
160
0.661859
[ "vector" ]
a660192edec64007a901d707e3a478c28e639608
2,807
cpp
C++
src/mir/passes/dependency_objects.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
src/mir/passes/dependency_objects.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
src/mir/passes/dependency_objects.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
// SPDX-license-identifier: Apache-2.0 // Copyright © 2022 Dylan Baker #include "exceptions.hpp" #include "passes.hpp" #include "private.hpp" namespace MIR::Passes { namespace { std::optional<Object> lower_found_method(const FunctionCall & f) { if (!f.pos_args.empty()) { throw Util::Exceptions::InvalidA...
31.539326
99
0.631991
[ "object" ]
a664234375dce571300e0be06540a67e096ebece
3,586
cc
C++
src/libmv/detector/fast_detector.cc
paulinus/libmv
6656bde5aea4c715695fa98fca6e2b3417e82d76
[ "MIT" ]
1
2016-04-17T12:53:00.000Z
2016-04-17T12:53:00.000Z
src/libmv/detector/fast_detector.cc
rgkoo/libmv-blender
cdf65edbb80d8904e2df9a20116d02546df93a81
[ "MIT" ]
null
null
null
src/libmv/detector/fast_detector.cc
rgkoo/libmv-blender
cdf65edbb80d8904e2df9a20116d02546df93a81
[ "MIT" ]
null
null
null
// Copyright (c) 2009 libmv authors. // // 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, publish...
36.591837
79
0.688511
[ "vector" ]
a66531fc6603f4746fb336085cad29a56967af3f
17,169
cpp
C++
lib/replica.cpp
tenjou/replica-next
3f1255398e2f20e76fb52ead1c3595f1043e822b
[ "MIT" ]
1
2018-08-22T16:30:26.000Z
2018-08-22T16:30:26.000Z
lib/replica.cpp
tenjou/replica-next
3f1255398e2f20e76fb52ead1c3595f1043e822b
[ "MIT" ]
null
null
null
lib/replica.cpp
tenjou/replica-next
3f1255398e2f20e76fb52ead1c3595f1043e822b
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #define NOMINMAX #include <iostream> #include <string> #include <cmath> #include <algorithm> #include <vector> #include <windows.h> #include <gl/gl.h> #include <gl/glu.h> #include <stdio.h> #pragma comment (lib, "opengl32.lib") #pragma warning(push) #pragma warning(disable:4244) typedef pt...
32.702857
153
0.749607
[ "vector" ]
a666e540e3ffcce6418bff9d7b028ac1e3d1540a
2,681
cpp
C++
src/catfetch.cpp
Beastwick18/catsay
1dc4f8a8c12c9a027452486db9fa703880c6f541
[ "MIT" ]
null
null
null
src/catfetch.cpp
Beastwick18/catsay
1dc4f8a8c12c9a027452486db9fa703880c6f541
[ "MIT" ]
null
null
null
src/catfetch.cpp
Beastwick18/catsay
1dc4f8a8c12c9a027452486db9fa703880c6f541
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> #include <vector> #include <string.h> #include <sstream> #include <string> using namespace std; bool dev = true; const string eyes("^O$@X-."); const string keys("hwgpdsy"); string shorten(string s, int max) { return (s.length() <= max) ? s : s.substr(0,max-3) + "..."; } char ...
27.927083
86
0.440134
[ "vector" ]
a66929bcaaf61dcfc381efda4ad2930ef53f88b5
188,335
cpp
C++
client_tools/lms/src/OPE_LMS/external/ex_canvas.cpp
operepo/ope
f1fb4e482fe7a8aae8557a3f07008ae3f6fffccd
[ "MIT" ]
9
2018-04-19T05:08:30.000Z
2021-11-23T07:36:58.000Z
client_tools/lms/src/OPE_LMS/external/ex_canvas.cpp
operepo/ope
f1fb4e482fe7a8aae8557a3f07008ae3f6fffccd
[ "MIT" ]
98
2017-11-02T19:00:44.000Z
2022-03-22T16:15:39.000Z
client_tools/lms/src/OPE_LMS/external/ex_canvas.cpp
operepo/ope
f1fb4e482fe7a8aae8557a3f07008ae3f6fffccd
[ "MIT" ]
9
2017-10-24T21:53:36.000Z
2021-11-23T07:36:59.000Z
#include "ex_canvas.h" #include "../appmodule.h" EX_Canvas::EX_Canvas(QObject *parent, APP_DB *db, QSettings *app_settings, QString localhost_url) : QObject(parent) { canvas_client_id = "1"; canvas_client_secret = "hVGyxhHAKulUTZwAExbKALBpZaHTGDBkoSS7DpsvRpY1H7yzoMfnI5NLnC6t5A0Q"; canvas_access_token =...
43.375173
269
0.563708
[ "object", "model" ]
a6751778bf221e82e360cffa07c5d4c713a4fd41
7,613
cpp
C++
OpenGL/text_ttf/FT&glsl/text.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2022-03-14T08:20:58.000Z
2022-03-14T08:20:58.000Z
OpenGL/text_ttf/FT&glsl/text.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
null
null
null
OpenGL/text_ttf/FT&glsl/text.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2020-12-22T08:36:48.000Z
2020-12-22T08:36:48.000Z
/** * From the OpenGL Programming wikibook: http://en.wikibooks.org/wiki/Opengl::Programming * This file is in the public domain. * Contributors: Guus Sliepen, Sylvain Beucler */ #include <cstdlib> #include <iostream> using namespace std; /* Use glew.h instead of gl.h to get all the GL prototypes declared */ //#in...
29.393822
131
0.678839
[ "render", "object", "solid" ]
a680bf08a433c5ded67e3821cb1c89233219b028
5,194
cpp
C++
program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp
hanwenzhu/ck-mlops
d9219e968222abebaf2c9634e779a1029c2da8b5
[ "Apache-2.0" ]
8
2020-11-10T12:18:06.000Z
2021-02-02T10:13:32.000Z
program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp
hanwenzhu/ck-mlops
d9219e968222abebaf2c9634e779a1029c2da8b5
[ "Apache-2.0" ]
7
2021-09-17T05:19:19.000Z
2022-03-30T11:38:50.000Z
program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp
hanwenzhu/ck-mlops
d9219e968222abebaf2c9634e779a1029c2da8b5
[ "Apache-2.0" ]
4
2021-09-17T03:51:26.000Z
2022-01-06T12:17:20.000Z
/* * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * * See CK LICENSE for licensing details. * See CK COPYRIGHT for copyright details. */ #include <arm_compute/runtime/CL/functions/CLFullyConnectedLayer.h> #include "ck_nntest_armcl.h" using namespace CK; using namespace C...
35.82069
120
0.719869
[ "shape" ]
a681346aa628686073e92b14535fdd1aa68bf034
1,587
cpp
C++
Game/Source/DeathScreen.cpp
KuronoaScarlet/PlatformerGame
94577751f1d029454c9b6c0ec5e1b30f17520188
[ "MIT" ]
null
null
null
Game/Source/DeathScreen.cpp
KuronoaScarlet/PlatformerGame
94577751f1d029454c9b6c0ec5e1b30f17520188
[ "MIT" ]
null
null
null
Game/Source/DeathScreen.cpp
KuronoaScarlet/PlatformerGame
94577751f1d029454c9b6c0ec5e1b30f17520188
[ "MIT" ]
null
null
null
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Window.h" #include "Collisions.h" #include "Map.h" #include "Animation.h" #include "DeathScreen.h" #include "Scene1.h" #include "Scene2.h" #include "FadeToBlack.h" #include "EntityManager.h" #include "Defs.h" #i...
17.633333
70
0.621928
[ "render" ]
a681ffe062c49af82314816b9be5fd3a764f5fe7
904
cpp
C++
game/src/Cub.cpp
speedy0/SoldierNo1296
bd379e9e21d6bab585c2b68c43016a1e5b6ffc59
[ "MIT" ]
null
null
null
game/src/Cub.cpp
speedy0/SoldierNo1296
bd379e9e21d6bab585c2b68c43016a1e5b6ffc59
[ "MIT" ]
null
null
null
game/src/Cub.cpp
speedy0/SoldierNo1296
bd379e9e21d6bab585c2b68c43016a1e5b6ffc59
[ "MIT" ]
null
null
null
#pragma once #include "pch.h" #include "Cub.h" Cub::Cub(glm::vec2 half_ex) : m_half_ext(half_ex){ std::vector<engine::mesh::vertex> Cub_vertices { //Creation of the Cub's vertices also known as Quad in the lab. //Position normals Texture Coordinates { {-1.f * m_half_ext.x, -1.f * m_half_ext.y, ...
32.285714
97
0.565265
[ "mesh", "vector" ]
a6875d19ef4bbfb7a5168f864fced99e901bbf91
4,431
cpp
C++
src/state_manager.cpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
78
2015-10-08T07:14:37.000Z
2022-02-10T04:51:21.000Z
src/state_manager.cpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
117
2015-12-14T16:51:42.000Z
2020-02-16T07:00:36.000Z
src/state_manager.cpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
10
2015-12-10T16:54:24.000Z
2022-02-10T04:51:29.000Z
#include "state_manager.hpp" #include "logging.hpp" #include "utf-cpp/utf8.h" #include <cstring> #include <string> /** * @brief Removed the Current State from the session */ void StateManager::clean() { if(!m_the_state.empty()) { m_the_state.back()->onExit(); while(m_the_state.size() > 0) ...
28.044304
114
0.501693
[ "vector" ]
a68766cdec77ffb3deee91fa20f63afedb6a5114
7,683
cpp
C++
init/init_ghost.cpp
ZephyrOS-Devices/device_motorola_ghost
c9c9f5e26c04d590f412fb113db01b4f6eed2279
[ "FTL", "Xnet", "X11" ]
22
2015-01-17T08:53:32.000Z
2020-11-14T20:44:59.000Z
init/init_ghost.cpp
AICP/device_motorola_ghost
1f18283418347c04c3d5963a483107fc0578ede7
[ "FTL", "Xnet", "X11" ]
1
2016-05-31T18:07:12.000Z
2016-05-31T18:20:13.000Z
init/init_ghost.cpp
AICP/device_motorola_ghost
1f18283418347c04c3d5963a483107fc0578ede7
[ "FTL", "Xnet", "X11" ]
82
2015-01-02T03:21:41.000Z
2022-01-03T04:28:34.000Z
/* Copyright (c) 2013, The Linux Foundation. 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 co...
44.668605
142
0.677079
[ "model" ]
a68bfeae6e0590f160638433e440b02af01bc381
1,603
cpp
C++
cppcheck/data/c_files/431.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/431.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/431.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
static zval *xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) { int i; TSRMLS_FETCH(); if (parser && handler && !EG(exception)) { zval ***args; zval *retval; int result; zend_fcall_info fci; args = safe_emalloc(sizeof(zval **), argc, 0); for (i = 0; i < ...
26.278689
123
0.672489
[ "object" ]
a68f09cfe2504236e5e30c70a9c1bd0668858e17
4,282
hpp
C++
lib/ROVI/src/Common/LED/Effects/RunningOnOff.hpp
DanielRother/ROVI
f036148f1ae379bfb319a146eb620ce72a7fec70
[ "MIT" ]
null
null
null
lib/ROVI/src/Common/LED/Effects/RunningOnOff.hpp
DanielRother/ROVI
f036148f1ae379bfb319a146eb620ce72a7fec70
[ "MIT" ]
null
null
null
lib/ROVI/src/Common/LED/Effects/RunningOnOff.hpp
DanielRother/ROVI
f036148f1ae379bfb319a146eb620ce72a7fec70
[ "MIT" ]
null
null
null
#ifndef __LEDEFFECT_RUNNING_ONOFF__ #define __LEDEFFECT_RUNNING_ONOFF__ #include "../LEDEffect.hpp" #include <iostream> #include <algorithm> #include <vector> namespace Rovi { class RunningOnOff : public LEDEffect { public: enum class ColorModes { SINGLE, MULTI, RA...
33.984127
200
0.492527
[ "vector" ]
a69848ad33e66d049ba9a8f7a2f1fc14fdaf869a
6,045
hpp
C++
include/eggs/tupleware/detail/invoke.hpp
eggs-cpp/tupleware
ae54a7a82b1a3160680c069036ab3c3e1fc7cf8a
[ "BSL-1.0" ]
8
2015-04-01T12:58:31.000Z
2021-03-05T07:00:36.000Z
include/eggs/tupleware/detail/invoke.hpp
eggs-cpp/tupleware
ae54a7a82b1a3160680c069036ab3c3e1fc7cf8a
[ "BSL-1.0" ]
null
null
null
include/eggs/tupleware/detail/invoke.hpp
eggs-cpp/tupleware
ae54a7a82b1a3160680c069036ab3c3e1fc7cf8a
[ "BSL-1.0" ]
null
null
null
//! \file eggs/tupleware/detail/invoke.hpp // Eggs.Tupleware // // Copyright Agustin K-ballo Berge, Fusion Fenix 2014 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef EGGS_TUPLEWARE_DETAIL_INVOKE_HPP #def...
33.39779
79
0.547064
[ "object" ]
a69a7c9c3b755c2c3dacd041ee28a3f2a7bfab55
5,269
hh
C++
k.hh
Kervius/ktr
c4f5b28bca6f153318369d4b1d8b3539a1171ba9
[ "MIT" ]
null
null
null
k.hh
Kervius/ktr
c4f5b28bca6f153318369d4b1d8b3539a1171ba9
[ "MIT" ]
null
null
null
k.hh
Kervius/ktr
c4f5b28bca6f153318369d4b1d8b3539a1171ba9
[ "MIT" ]
null
null
null
#ifndef K__________ #define K__________ #include <string> #include <vector> #include <set> #include <map> #define KTR_VERSION "v0.0.1" namespace K { struct KOpt { enum Cmd { CMD_NONE, CMD_CHECK, CMD_TEST, CMD_BUILD, CMD_CLEAN, CMD_PRINT, CMD_QUERY, CMD_DUMP, CMD_VERSION, CMD_USAGE, ...
19.371324
90
0.626495
[ "vector" ]
a69bd671c4d181d37c6fc70cb0b466652a8118bb
13,836
cpp
C++
plugins/probe/src/TessellateBoundingBox.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/probe/src/TessellateBoundingBox.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/probe/src/TessellateBoundingBox.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* * TessellateBoundingBox.h * Copyright (C) 2020 by MegaMol Team * Alle Rechte vorbehalten. */ #include "glm/glm.hpp" #include "TessellateBoundingBox.h" #include "mesh/Utility.h" #include "mmadios/CallADIOSData.h" #include "mmcore/param/FloatParam.h" #include "mmcore/param/IntParam.h" megamol::probe::Tessellate...
45.215686
131
0.5829
[ "mesh", "vector" ]
a69fb0c4255396e81aed20f7e1bdb3c1d3d62a4d
21,358
hpp
C++
Source/AllProjects/CommUtils/CIDNet/CIDNet_SMTPClient.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/CommUtils/CIDNet/CIDNet_SMTPClient.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/CommUtils/CIDNet/CIDNet_SMTPClient.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDNet_SMTPClient.hpp // // AUTHOR: Dean Roddey // // CREATED: 01/29/2000 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensou...
33.794304
89
0.437822
[ "object" ]
a6a29b24730dd8aff3711ec762f5a5f322f9b588
141
cpp
C++
Bit Manipulation/Single Number.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
Bit Manipulation/Single Number.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
Bit Manipulation/Single Number.cpp
torquecoder/InterviewBit-Solutions
7c5e2e5c904c9354f3eb213739a8dd4aaf13b7b2
[ "MIT" ]
null
null
null
int Solution::singleNumber(const vector<int> &A) { int x = 0; for (int i = 0; i < A.size(); i++) x ^= A[i]; return x; }
17.625
50
0.48227
[ "vector" ]
a6a54115161dd2db274aa8f673603e04042e730f
12,114
ipp
C++
src/core/multidim_image_platform/MultiDimImage.ipp
balintfodor/Build3D
b735129e380a414d62a1d91556f5f52674f1f6f9
[ "MIT" ]
null
null
null
src/core/multidim_image_platform/MultiDimImage.ipp
balintfodor/Build3D
b735129e380a414d62a1d91556f5f52674f1f6f9
[ "MIT" ]
5
2021-03-19T09:28:07.000Z
2022-03-12T00:09:14.000Z
src/core/multidim_image_platform/MultiDimImage.ipp
balintfodor/Build3D
b735129e380a414d62a1d91556f5f52674f1f6f9
[ "MIT" ]
1
2019-12-23T16:44:49.000Z
2019-12-23T16:44:49.000Z
template <typename T> MultiDimImage<T>::MultiDimImage(std::vector<std::size_t> dims) : m_dims(dims) { initUtilsFromDim(); std::vector<std::vector<T>> data(m_restSize, std::vector<T>(m_planeSize, T())); m_planes = std::move(data); m_type = GetType<T>(); } template <typename T> void MultiDimImage<T...
29.618582
147
0.596995
[ "vector", "transform" ]
a6a5ff25b5740d71faaaf34cc208086e85c0df15
1,527
cpp
C++
C-Plus-Plus/heap/MergeKSortedList.cpp
yashsahay2014/NeoAlgo
4f1e5bdd6d9d899fa354de94740e0aecf5ecd2be
[ "MIT" ]
897
2020-06-25T00:12:52.000Z
2022-03-24T00:49:31.000Z
C-Plus-Plus/heap/MergeKSortedList.cpp
yashsahay2014/NeoAlgo
4f1e5bdd6d9d899fa354de94740e0aecf5ecd2be
[ "MIT" ]
5,707
2020-06-24T17:53:28.000Z
2022-01-22T05:03:15.000Z
C-Plus-Plus/heap/MergeKSortedList.cpp
yashsahay2014/NeoAlgo
4f1e5bdd6d9d899fa354de94740e0aecf5ecd2be
[ "MIT" ]
1,817
2020-06-25T03:51:05.000Z
2022-03-29T05:14:07.000Z
/* You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it. */ #include <bits/stdc++.h> #define pil pair<int,ListNode *> using namespace std; // Defining a struct of ListNode struct ListNode { int val; ...
24.238095
94
0.591356
[ "vector" ]
a6a7118f48348e30448e6945d3b4cecf73589589
1,355
cc
C++
certain/default/route_impl_test.cc
mehrdad-shokri/paxosstore
120ce539ef4fef18b3bef512cec28e3e0e3b241c
[ "BSD-3-Clause" ]
1,567
2017-08-30T07:58:14.000Z
2022-03-28T07:46:54.000Z
certain/default/route_impl_test.cc
tomjobs/paxosstore
120ce539ef4fef18b3bef512cec28e3e0e3b241c
[ "BSD-3-Clause" ]
21
2017-08-31T01:21:30.000Z
2021-08-31T12:55:39.000Z
certain/default/route_impl_test.cc
tomjobs/paxosstore
120ce539ef4fef18b3bef512cec28e3e0e3b241c
[ "BSD-3-Clause" ]
352
2017-08-30T15:25:40.000Z
2022-03-18T10:02:57.000Z
#include "default/route_impl.h" #include "gtest/gtest.h" #include "network/inet_addr.h" #include "utils/log.h" TEST(RouteImpl, Normal) { std::string local_addr = "127.0.0.1:13068"; std::vector<std::string> addrs; addrs.push_back("127.0.0.1:13066"); addrs.push_back("127.0.0.1:13067"); addrs.push_back("127.0...
28.229167
65
0.684133
[ "vector" ]
a6a79304ae06094d387f5faea92312795c42e039
2,139
hpp
C++
event.hpp
giulianopa/EventDrivenPipeline
8f871e00c36215bf6338c417fdf515efa3ef7c5f
[ "Apache-2.0" ]
null
null
null
event.hpp
giulianopa/EventDrivenPipeline
8f871e00c36215bf6338c417fdf515efa3ef7c5f
[ "Apache-2.0" ]
null
null
null
event.hpp
giulianopa/EventDrivenPipeline
8f871e00c36215bf6338c417fdf515efa3ef7c5f
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <memory> #include <typeinfo> #include <functional> #include <tuple> #include "observer.hpp" //! Abstract event. /*! Emit a message without holding any value. \date 11/21/2013 \author Giuliano Pasqualotto */ template <typename MsgType1, typename... OtherMsgType...
22.755319
124
0.672277
[ "vector" ]
16faa917c4684051eca53550eb4c6570de5a6b1c
5,430
hpp
C++
src/ivorium_graphics/Elements/Elem.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
3
2021-02-26T02:59:09.000Z
2022-02-08T16:44:21.000Z
src/ivorium_graphics/Elements/Elem.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
src/ivorium_graphics/Elements/Elem.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ElementRenderer.hpp" #include "../Rendering/CameraState.hpp" #include "../Rendering/FlatShader.hpp" #include <ivorium_systems/ivorium_systems.hpp> namespace iv { class Camera; /** */ class Elem : public InputNode { public: ClientMarker cm; Elem( Instance * inst );...
37.191781
220
0.596133
[ "vector" ]
16fbc1a46d838b9c3c7dda94198ca671a741395b
2,141
cpp
C++
cpp/joi2012yo_d/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/joi2012yo_d/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/joi2012yo_d/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int N, K; cin >> N >> K; vector<int> A(K); vector<int> B(K); for(int i = 0; i < K; i++) { cin >> A[i] >> B[i]; B[i] -= 1; } vector<vector<int> > dp(N+1, vector<int>(9, 0)); dp[0][0] = 1; for(i...
22.776596
52
0.245213
[ "vector" ]
16fece3a4be45adce02b9f15acbfcfcee93d5c7f
167,824
hpp
C++
Autogenerated/Bindings/CppDynamic/lib3mf_abi.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
171
2015-04-30T21:54:02.000Z
2022-03-13T13:33:59.000Z
Autogenerated/Bindings/CppDynamic/lib3mf_abi.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
190
2015-07-21T22:15:54.000Z
2022-03-30T15:48:37.000Z
Autogenerated/Bindings/CppDynamic/lib3mf_abi.hpp
alexanderoster/lib3mf
30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05
[ "BSD-2-Clause" ]
80
2015-04-30T22:15:54.000Z
2022-03-09T12:38:49.000Z
/*++ Copyright (C) 2019 3MF Consortium (Original Author) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditio...
45.211207
505
0.740675
[ "mesh", "object", "model", "transform" ]
e503e600b62cfb4378c454291de2b54d51e40c07
54,259
cpp
C++
sparta/test/Pipeline/Pipeline_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/test/Pipeline/Pipeline_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/test/Pipeline/Pipeline_test.cpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
/** * \file Pipeline_test.cpp * \brief This is the testbench for sparta::Pipeline. * * It is intended to show all the use cases of sparta::Pipeline */ #include <iostream> #include <cstring> #include "sparta/resources/Pipeline.hpp" #include "sparta/simulation/Clock.hpp" #include "sparta/simulation/ClockManager...
39.063355
196
0.655891
[ "object" ]
e50592f14af44fa344e901d749a8e30e1713d61d
2,611
hpp
C++
Graph.hpp
ajeseritz/projects2.0
59b4e6e9c113643d9e33156797dd183b9d726e79
[ "MIT" ]
null
null
null
Graph.hpp
ajeseritz/projects2.0
59b4e6e9c113643d9e33156797dd183b9d726e79
[ "MIT" ]
null
null
null
Graph.hpp
ajeseritz/projects2.0
59b4e6e9c113643d9e33156797dd183b9d726e79
[ "MIT" ]
null
null
null
#ifndef GRAPH_HPP #define GRAPH_HPP #include <vector> #include <iostream> struct vertex; /*This is the struct for the adjacent vertices for each vertex in the graph. */ struct Edge { vertex *v; int distance; }; /*this is the struct for each vertex in the graph. */ struct vertex { std::string name; ...
21.401639
68
0.725776
[ "object", "vector" ]
e5075f4b0c1f40c448b5a08d90a5bf3a9d57e13a
3,707
cpp
C++
control/rightclickmenudialog.cpp
realm520/ctcwallet
9c74feab5472c91869f993711a4f9ba9624d1091
[ "MIT" ]
null
null
null
control/rightclickmenudialog.cpp
realm520/ctcwallet
9c74feab5472c91869f993711a4f9ba9624d1091
[ "MIT" ]
null
null
null
control/rightclickmenudialog.cpp
realm520/ctcwallet
9c74feab5472c91869f993711a4f9ba9624d1091
[ "MIT" ]
null
null
null
#include "rightclickmenudialog.h" #include "ui_rightclickmenudialog.h" #include "../blockchain.h" #include "commondialog.h" #ifdef WIN32 #include "Windows.h" #endif #include <QDebug> #include <QClipboard> RightClickMenuDialog::RightClickMenuDialog( QString name, QWidget *parent) : QDialog(parent), ...
34.324074
149
0.625034
[ "solid" ]
e50c804b0cca3b6b46769a1809915c53bc25d8cf
2,323
cpp
C++
example/json/req.cpp
wangxiaoshuai123456/aic_communication
070fb6c8c7a1a9f7c3b63fcc1b739411d38ea1c7
[ "MIT" ]
7
2019-01-16T14:46:12.000Z
2021-11-07T20:21:49.000Z
example/json/req.cpp
wangxiaoshuai123456/aic_communication
070fb6c8c7a1a9f7c3b63fcc1b739411d38ea1c7
[ "MIT" ]
null
null
null
example/json/req.cpp
wangxiaoshuai123456/aic_communication
070fb6c8c7a1a9f7c3b63fcc1b739411d38ea1c7
[ "MIT" ]
3
2019-11-28T13:31:30.000Z
2020-10-13T08:20:15.000Z
#include "callback.h" void requestSimulation(std::shared_ptr<AicCommuInterface> obj){ unsigned int order = 1; while(1){ //build data packet json req; req["header"]["type"] = 1; req["body"]["msg"] = "test req msg"; req["body"]["order"] = order++; std::string...
40.051724
150
0.637107
[ "object" ]
e51410a2fb9bfa4265e5defddbcb9b9c8b4cc704
3,915
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoGlyphCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoGlyphCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoGlyphCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
27.1875
76
0.672797
[ "3d" ]
e5167492c00d4c7d759ce6c97e78080ef0733c42
8,405
cpp
C++
Kits/ATGTK/TextConsole.cpp
JSungMin/RenderEngine
e4a7475c6940a007a2318d13a523361441ff1dae
[ "MIT" ]
null
null
null
Kits/ATGTK/TextConsole.cpp
JSungMin/RenderEngine
e4a7475c6940a007a2318d13a523361441ff1dae
[ "MIT" ]
null
null
null
Kits/ATGTK/TextConsole.cpp
JSungMin/RenderEngine
e4a7475c6940a007a2318d13a523361441ff1dae
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: TextConsole.cpp // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR...
22.654987
159
0.614277
[ "render" ]
e5191d4ca2d7410499911bdcc60d9701655054f3
9,265
inl
C++
applications/plugins/DEPRECATED/SofaVRPNClient/VRPNImager.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/DEPRECATED/SofaVRPNClient/VRPNImager.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/DEPRECATED/SofaVRPNClient/VRPNImager.inl
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
31.729452
128
0.556827
[ "vector" ]
e52846a208a4a0c2f36eaef5c482f148772cfbd9
7,716
hpp
C++
ocs2_thirdparty/include/cppad/cg/dae_index_reduction/soares_secchi.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
126
2021-07-13T13:59:12.000Z
2022-03-31T02:52:18.000Z
ocs2_thirdparty/include/cppad/cg/dae_index_reduction/soares_secchi.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
27
2021-07-14T12:14:04.000Z
2022-03-30T16:27:52.000Z
ocs2_thirdparty/include/cppad/cg/dae_index_reduction/soares_secchi.hpp
grizzi/ocs2
4b78c4825deb8b2efc992fdbeef6fdb1fcca2345
[ "BSD-3-Clause" ]
55
2021-07-14T07:08:47.000Z
2022-03-31T15:54:30.000Z
#ifndef CPPAD_CG_SOARES_SECCHI_HPP #define CPPAD_CG_SOARES_SECCHI_HPP /* -------------------------------------------------------------------------- * CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation: * Copyright (C) 2016 Ciengis * Copyright (C) 2018 Joao Leal * * CppADCodeGen is di...
31.622951
110
0.565837
[ "vector", "model" ]
e529ce046b54f83888bef14a77499e52f5f1001b
703
cpp
C++
ODE/src/rk.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
27
2018-06-19T14:45:43.000Z
2022-02-18T22:04:51.000Z
ODE/src/rk.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
1
2019-11-06T22:17:32.000Z
2019-11-07T20:23:44.000Z
ODE/src/rk.cpp
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
10
2018-06-19T22:01:09.000Z
2021-10-03T07:02:07.000Z
// // Created by milinda on 5/25/17. /** *@author Milinda Fernando *School of Computing, University of Utah *@brief */ // #include "rk.h" namespace ode { namespace solver { RK::RK(ot::Mesh *pMesh, double pTBegin, double pTEnd,double pTh) { m_uiMesh=pMesh; m_uiComm=m_uiM...
14.645833
72
0.539118
[ "mesh" ]
e52a118319042a18746c554029848e3a7e6ecdff
23,051
hpp
C++
include/UnityEngine/UI/RectMask2D.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/RectMask2D.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/RectMask2D.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Ev...
56.636364
1,105
0.732463
[ "object", "vector" ]
e5399aefc866188fbdff47821e30ab6369a0124d
3,865
cpp
C++
Project/Dev_class11_handout/Motor2D/Particle_Firework.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Particle_Firework.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Particle_Firework.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
#include "Particle_Firework.h" #include "Particle.h" /* P_Firework::P_Firework(SceneElement* element, iPoint* object, iPoint position_static, SDL_Rect initial_rect, iPoint timelife_, fPoint speed_particle, Part_Direction p_direction, int num_particles, int num_textures, iPoint next_textture_, iPoint last_textures_) { ...
21.236264
260
0.638292
[ "render", "object" ]
e53fa83699c8700950267759041e2cb21e683cde
7,376
cpp
C++
camera/SensorListener.cpp
TaichiN/android_device_amazon_omap4-common
686cfa27699b5eedccccbd8c3b76decc21287bea
[ "FTL" ]
2
2015-02-16T19:40:17.000Z
2015-02-17T15:42:35.000Z
ti/omap4-aah/camera/SensorListener.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
null
null
null
ti/omap4-aah/camera/SensorListener.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
1
2018-02-24T19:09:04.000Z
2018-02-24T19:09:04.000Z
/* * Copyright (C) Texas Instruments - http://www.ti.com/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
31.122363
101
0.627305
[ "vector" ]
e540ecc3aae57012bd62a145e5c9d00595b12763
2,070
cpp
C++
src/Prostopadloscian.cpp
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
src/Prostopadloscian.cpp
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
src/Prostopadloscian.cpp
lukasz-pawlos/Dron
27d0a0d5c30e7dd0bb3d74dd8bdf940bca96d430
[ "MIT" ]
null
null
null
#include "Prostopadloscian.hh" Prostopadloscian::Prostopadloscian() {} Prostopadloscian::Prostopadloscian(double bok_A, double bok_B, double bok_C){ if (bok_A < 0){ cout << "Bok nie moze byc liczba ujemna" << endl; exit(1); } if (bok_B < 0){ cout << "Bok nie moze byc liczba ujemna" << endl; exit(1);...
19.528302
191
0.641063
[ "vector" ]
e54343b9adb181df7e96b2fd60a2a5e757980eb9
11,314
hxx
C++
Modules/Applications/AppClassification/include/otbTrainSVM.hxx
kikislater/OTB
8271c62b5891d3da9cb2e9ba3a2706a26de8c323
[ "Apache-2.0" ]
1
2019-09-12T00:53:05.000Z
2019-09-12T00:53:05.000Z
Modules/Applications/AppClassification/include/otbTrainSVM.hxx
ThomasWangWeiHong/OTB
569686e40f0ae146e726bd3cfd253e67ec2b4533
[ "Apache-2.0" ]
null
null
null
Modules/Applications/AppClassification/include/otbTrainSVM.hxx
ThomasWangWeiHong/OTB
569686e40f0ae146e726bd3cfd253e67ec2b4533
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
45.256
121
0.676772
[ "vector", "model" ]
e546a5a860efac24791d127d038d1a674a487576
8,563
cpp
C++
sdl2/starfighter/src/player.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/starfighter/src/player.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/starfighter/src/player.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 2003 Parallel Realities Copyright (C) 2011, 2012, 2013 Guus Sliepen Copyright (C) 2012, 2015-2017 Julie Marchant <onpon4@riseup.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; e...
24.121127
90
0.672895
[ "object" ]
e553efbf1f18e4c66332538c0b33ad6e9125a6aa
21,850
cpp
C++
src/gfx/mg_bitmap_font.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/gfx/mg_bitmap_font.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/gfx/mg_bitmap_font.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************************************** // This file is part of Mg Engine. Copyright (c) 2020, Magnus Bergsten. // Mg Engine is made available under the terms of the 3-Clause BSD License. // See LICENSE.txt in the project's root directory. //*****************...
38.066202
100
0.573547
[ "object", "vector" ]
e556d78d55355fd20245b95b4ad0184a27c9c4c2
62,396
cpp
C++
packages/utility/distribution/test/tstUnitBaseTwoDGridPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/distribution/test/tstUnitBaseTwoDGridPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/distribution/test/tstUnitBaseTwoDGridPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstUnitBaseTwoDGridPolicy.cpp //! \author Luke Kersting //! \brief The UnitBase two-dimensional sampling policy unit tests //! //---------------------------------------------------------------------------// // Std Lib Incl...
43.421016
228
0.687047
[ "vector" ]
e55905a019ca7fc7c190ba5a402340f3407e76ff
3,700
hpp
C++
include/veriblock/entities/vbktx.hpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
include/veriblock/entities/vbktx.hpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
include/veriblock/entities/vbktx.hpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. #ifndef ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES_VBKTX_HPP_ #define ALT_INTEGRATION_INCLUDE_VERIBLOCK_ENTITIES...
31.092437
77
0.697297
[ "vector" ]
e561f3f845f45a55129527606deecd96e6f3fc4d
1,308
cpp
C++
src/methods/kcm.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
7
2020-05-19T15:14:15.000Z
2022-03-03T06:38:09.000Z
src/methods/kcm.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
10
2021-03-04T21:38:49.000Z
2022-02-11T07:11:19.000Z
src/methods/kcm.cpp
danny305/ChargeFW2
c68fd06b9af244e5d8ed9172de17748e587bf46e
[ "MIT" ]
5
2021-03-05T00:42:41.000Z
2021-07-01T05:47:39.000Z
// // Created by krab1k on 31/10/18. // #include <vector> #include <cmath> #include <Eigen/LU> #include "kcm.h" #include "../structures/molecule.h" #include "../parameters.h" CHARGEFW2_METHOD(KCM) std::vector<double> KCM::calculate_charges(const Molecule &molecule) const { size_t n = molecule.atoms().size(); ...
27.25
116
0.568807
[ "vector" ]
e562f4b15469403396290dac50d3fb5b7c27437a
6,427
cc
C++
third_party/blink/renderer/modules/bluetooth/bluetooth_remote_gatt_descriptor.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
third_party/blink/renderer/modules/bluetooth/bluetooth_remote_gatt_descriptor.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
third_party/blink/renderer/modules/bluetooth/bluetooth_remote_gatt_descriptor.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 2016 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 "third_party/blink/renderer/modules/bluetooth/bluetooth_remote_gatt_descriptor.h" #include <utility> #include "third_party/blink/renderer/bindi...
37.805882
97
0.740314
[ "vector" ]
e567fc2a12ab157415276fe3f0759da06b6c77d1
21,274
cpp
C++
UI/Dialogs/MFCUtilityFunctions.cpp
stephenegriffin/mfcmapi
bffbff6da9a8c292891568159c8088aac9b2052c
[ "MIT" ]
655
2016-10-13T20:18:52.000Z
2022-03-28T21:25:14.000Z
UI/Dialogs/MFCUtilityFunctions.cpp
stephenegriffin/mfcmapi
bffbff6da9a8c292891568159c8088aac9b2052c
[ "MIT" ]
285
2016-10-18T19:03:31.000Z
2022-03-10T11:02:33.000Z
UI/Dialogs/MFCUtilityFunctions.cpp
stephenegriffin/mfcmapi
bffbff6da9a8c292891568159c8088aac9b2052c
[ "MIT" ]
129
2016-10-14T14:27:24.000Z
2022-03-30T12:34:01.000Z
// Common functions for MFCMAPI #include <StdAfx.h> #include <UI/Dialogs/MFCUtilityFunctions.h> #include <core/mapi/mapiStoreFunctions.h> #include <core/mapi/columnTags.h> #include <UI/Dialogs/BaseDialog.h> #include <core/mapi/cache/mapiObjects.h> #include <UI/Dialogs/Editors/Editor.h> #include <core/smartview/SmartVi...
30.261735
113
0.690091
[ "object" ]
e5702f15f4ce374a90edaa54e473f79e6a9fa253
3,047
cpp
C++
sta-src/Astro-Core/sphericalTOcartesian.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Astro-Core/sphericalTOcartesian.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Astro-Core/sphericalTOcartesian.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of...
38.56962
142
0.626518
[ "transform" ]
ec78c29e40223f56087493ed1b2220128f643161
1,162
cpp
C++
src/modules/multiblade/caen/DigitizerMappingTest.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
null
null
null
src/modules/multiblade/caen/DigitizerMappingTest.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
null
null
null
src/modules/multiblade/caen/DigitizerMappingTest.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
null
null
null
/** Copyright (C) 2016, 2017 European Spallation Source ERIC */ #include <multiblade/caen/DigitizerMapping.h> #include <test/TestBase.h> class DigitizerMappingTest : public TestBase {}; std::vector<struct Multiblade::DigitizerMapping::Digitiser> digits { {0, 137} , {1, 143}, {2, 142}, {3, 31}, {4, 33}, {5, 34} }; ...
27.666667
68
0.69191
[ "vector" ]
ec79ca076caeddf231dd6b502d986ba78a2b871f
14,651
cpp
C++
src/prod/src/Common/FabricSerializer.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/Common/FabricSerializer.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Common/FabricSerializer.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
39.173797
214
0.647464
[ "object", "vector" ]
ec7c777a5fd747710a84cba8a945ffc3dbb5d9c1
56,715
cxx
C++
com/ole32/com/catalog/class.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/com/catalog/class.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/com/catalog/class.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* class.cxx */ #include <ole2int.h> #include <appmgmt.h> #include <msi.h> #include <comdef.h> #include <string.h> #include <wow64reg.h> #include "globals.hxx" #include "services.hxx" #include "catalog.h" #include "partitions.h" #include "class.hxx" #include "catalog.hxx" #define SAFEALLOCA_ASSERT ...
31.09375
144
0.486203
[ "object" ]
ec7f5a740629b46c379a5588cf49e7889ac3576a
2,909
cpp
C++
SurfaceReconstruction/SurfaceReconstruction/Refinement/FSSFParameters.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
102
2017-10-17T10:10:59.000Z
2022-01-19T02:10:29.000Z
SurfaceReconstruction/SurfaceReconstruction/Refinement/FSSFParameters.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
2
2019-12-21T11:59:15.000Z
2020-09-08T11:38:36.000Z
SurfaceReconstruction/SurfaceReconstruction/Refinement/FSSFParameters.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
27
2017-10-18T09:37:34.000Z
2022-03-22T01:30:51.000Z
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include <iostream> #include <stri...
38.786667
108
0.785837
[ "geometry" ]
ec8497f1a34e95ef8389c4c12712af402bd3d3d4
2,275
cpp
C++
external/vulkancts/modules/vulkan/dynamic_state/vktDynamicStateBufferObjectUtil.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
null
null
null
external/vulkancts/modules/vulkan/dynamic_state/vktDynamicStateBufferObjectUtil.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
null
null
null
external/vulkancts/modules/vulkan/dynamic_state/vktDynamicStateBufferObjectUtil.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
3
2017-01-21T00:56:25.000Z
2020-10-31T12:00:02.000Z
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2015 The Khronos Group Inc. * Copyright (c) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
31.164384
106
0.662418
[ "object" ]
ec8a3ce832140412fe5b49e3642868c49a8c1637
33,779
cc
C++
extensions/gst_video_element/gadget_videosink.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
extensions/gst_video_element/gadget_videosink.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
extensions/gst_video_element/gadget_videosink.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 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 to in writing,...
33.181729
93
0.645135
[ "geometry", "render", "object", "transform" ]
ec8b4e4121f747a72fc0f6ea88c8c69724fa58c7
1,213
cpp
C++
CodeForces/5B/12021308_AC_124ms_2648kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/5B/12021308_AC_124ms_2648kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
CodeForces/5B/12021308_AC_124ms_2648kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @authors Moe_Sakiya sakiya@tun.moe * @date 2017-12-19 19:40:23 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace s...
16.847222
42
0.518549
[ "vector" ]
ec8bfb0e7a7aa9e43c508c1c077e16bba5e6465d
1,958
cpp
C++
Hackerrank/balanced-forest.cpp
aleya0/Hacktoberfest
11738b7f6ad03dc8714e550513eb684d917cb47e
[ "MIT" ]
null
null
null
Hackerrank/balanced-forest.cpp
aleya0/Hacktoberfest
11738b7f6ad03dc8714e550513eb684d917cb47e
[ "MIT" ]
null
null
null
Hackerrank/balanced-forest.cpp
aleya0/Hacktoberfest
11738b7f6ad03dc8714e550513eb684d917cb47e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; map <long long, int> Map1, Map2; long long ctot; vector <int> ve[110000]; long long sum[1100000],ans; int n,q,c[110000]; void test(long long x) { long long y = ctot - 2 * x; if (y > 0 && y <= x) ans = min(ans, x - y); } void dfs1(int x, int f) { sum[...
22.505747
123
0.38713
[ "vector" ]
ec9179d9649e303302ab91212e5355721dbf555b
1,029
cpp
C++
contest/1512/b/b.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1512/b/b.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1512/b/b.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl using LL = long long; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int cas = 1; std::cin >> cas; while (cas--) { int n; std::cin >> n; std::vector<std::string> s(n); for (a...
26.384615
65
0.45967
[ "vector" ]
ec9478e411ef36a1b16fe7129c3a19c5bd4939ce
6,924
cpp
C++
Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/Graphics/Shaders/CSpaceWarpFilter.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#include "Runtime/Graphics/Shaders/CSpaceWarpFilter.hpp" #include "Runtime/Graphics/CBooRenderer.hpp" #include "Runtime/Graphics/CGraphics.hpp" #include <hecl/Pipeline.hpp> #define WARP_RAMP_RES 32 namespace metaforce { static boo::ObjToken<boo::IShaderPipeline> s_Pipeline; void CSpaceWarpFilter::Initialize() { s...
40.729412
119
0.666233
[ "transform" ]
ec9bb81cabcbf33601296eedaf08bfb4ccb5ffc3
2,191
hpp
C++
Code/include/OE/UI/Element.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/include/OE/UI/Element.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/include/OE/UI/Element.hpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#ifndef UI_ELEMENT_HPP #define UI_ELEMENT_HPP #include <vector> #include "OE/UI/Style/StyleEnums.hpp" #include "OE/Math/Rect.hpp" // forward def to avoid include class YGNode; namespace OrbitEngine { namespace UI { class Painter; class StyleSheet; class StyleComputed; class EventBase; class Surface; class E...
23.55914
111
0.752624
[ "vector" ]