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
9cae76998620ee738818d0bf761d50b1ffa06290
30,890
cpp
C++
aws-cpp-sdk-license-manager/source/LicenseManagerClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-license-manager/source/LicenseManagerClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-license-manager/source/LicenseManagerClient.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
47.891473
296
0.797443
[ "model" ]
9cb066b5082ef93acf60712f4fdfc82b32277632
8,153
cpp
C++
externals/IFCConvert/src/IFCC_Surface.cpp
ghorwin/IFC2BESplusplus
0c8e6d735faf56c84ff9c741773da92bc82b23dd
[ "MIT" ]
null
null
null
externals/IFCConvert/src/IFCC_Surface.cpp
ghorwin/IFC2BESplusplus
0c8e6d735faf56c84ff9c741773da92bc82b23dd
[ "MIT" ]
null
null
null
externals/IFCConvert/src/IFCC_Surface.cpp
ghorwin/IFC2BESplusplus
0c8e6d735faf56c84ff9c741773da92bc82b23dd
[ "MIT" ]
null
null
null
#include "IFCC_Surface.h" #include <limits> #include <fstream> #include <sstream> #include <IBK_math.h> #include <IBK_assert.h> #include "IFCC_Clippertools.h" #include "IFCC_Helper.h" //#define SURFACE_DUMP namespace IFCC { Surface::Surface() : m_id(-1), m_elementEntityId(-1), m_positionType(PT_Unknown), m_vi...
26.643791
118
0.703054
[ "mesh", "vector" ]
9cb527946a74efbb10166b70c99720c3feadeee0
6,741
hpp
C++
ext/restbed/source/corvusoft/restbed/request.hpp
SCP-1310-JP/openscp1310jp1
79465672a0e8c7867ac063f86bdc75e9e932b20b
[ "BSD-3-Clause" ]
1
2021-05-21T13:46:23.000Z
2021-05-21T13:46:23.000Z
ext/restbed/source/corvusoft/restbed/request.hpp
SCP-1310-JP/openscp1310jp1
79465672a0e8c7867ac063f86bdc75e9e932b20b
[ "BSD-3-Clause" ]
7
2018-04-06T07:30:18.000Z
2018-05-06T14:29:03.000Z
ext/restbed/source/corvusoft/restbed/request.hpp
SCP-1310-JP/openscp1310jp1
79465672a0e8c7867ac063f86bdc75e9e932b20b
[ "BSD-3-Clause" ]
6
2018-02-14T00:29:47.000Z
2018-11-10T12:32:58.000Z
/* * Copyright 2013-2016, Corvusoft Ltd, All Rights Reserved. */ #ifndef _RESTBED_REQUEST_H #define _RESTBED_REQUEST_H 1 //System Includes #include <map> #include <limits> #include <string> #include <memory> #include <cstdint> #include <stdexcept> #include <functional> //Project Includes #include <corvusoft/restbe...
33.874372
157
0.534342
[ "transform" ]
9cb721cc2d7e3669c864cd174dcc9e158310169f
5,492
cxx
C++
src/Cxx/Interaction/MoveAVertexUnstructuredGrid.cxx
cvandijck/VTKExamples
b6bb89414522afc1467be8a1f0089a37d0c16883
[ "Apache-2.0" ]
309
2017-05-21T09:07:19.000Z
2022-03-15T09:18:55.000Z
src/Cxx/Interaction/MoveAVertexUnstructuredGrid.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
379
2017-05-21T09:06:43.000Z
2021-03-29T20:30:50.000Z
src/Cxx/Interaction/MoveAVertexUnstructuredGrid.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
170
2017-05-17T14:47:41.000Z
2022-03-31T13:16:26.000Z
#include <vtkSmartPointer.h> #include <vtkPointPicker.h> #include <vtkSphereSource.h> #include <vtkGlyph3D.h> #include <vtkPointData.h> #include <vtkIdTypeArray.h> #include <vtkDataSetSurfaceFilter.h> #include <vtkRendererCollection.h> #include <vtkProperty.h> #include <vtkPlanes.h> #include <vtkObjectFactory.h> #inclu...
30.853933
101
0.715768
[ "render" ]
9cb783fb0d45ac3c4032763f875ac24c9ad58cfd
8,939
hxx
C++
Modules/Registration/Common/include/itkMeanSquaresImageToImageMetric.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/include/itkMeanSquaresImageToImageMetric.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
Modules/Registration/Common/include/itkMeanSquaresImageToImageMetric.hxx
khangthk/ITK
f3c12edaf9cef07dbc34107e1a8aec9859204116
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * 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 * * https://www.apache.o...
32.624088
120
0.68464
[ "transform" ]
9cbdc798b341ec82d060ea52f67453a0766febfe
5,254
cpp
C++
libnd4j/include/ops/declarable/impl/LegacyStatsOp.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
2,206
2019-06-12T18:57:14.000Z
2022-03-29T08:14:27.000Z
libnd4j/include/ops/declarable/impl/LegacyStatsOp.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
1,685
2019-06-12T17:41:33.000Z
2022-03-29T21:45:15.000Z
libnd4j/include/ops/declarable/impl/LegacyStatsOp.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
572
2019-06-12T22:13:57.000Z
2022-03-31T16:46:46.000Z
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
40.728682
120
0.613247
[ "shape", "vector" ]
9cbf5edc3a693fd7db18adac6c79fa2147a5b6d5
16,400
cpp
C++
tools/rpkg/src/statement.cpp
Mu-L/duckdb
9a1c3f674b9ecec4aee52c599dbeb30fa79fc751
[ "MIT" ]
null
null
null
tools/rpkg/src/statement.cpp
Mu-L/duckdb
9a1c3f674b9ecec4aee52c599dbeb30fa79fc751
[ "MIT" ]
null
null
null
tools/rpkg/src/statement.cpp
Mu-L/duckdb
9a1c3f674b9ecec4aee52c599dbeb30fa79fc751
[ "MIT" ]
null
null
null
#include "rapi.hpp" #include "typesr.hpp" #include "altrepstring.hpp" #include "duckdb/common/types/timestamp.hpp" using namespace duckdb; // converter for primitive types template <class SRC, class DEST> static void VectorToR(Vector &src_vec, size_t count, void *dest, uint64_t dest_offset, DEST na_val) { auto src_...
32.283465
105
0.684634
[ "vector" ]
9cc0974f8fcb456adab17d5bafc135f5c1548408
9,732
cpp
C++
service/method-dedup/ConstantValue.cpp
srivastavaayu/redex
0440e2badcc6c503b14ca734f1c09b7f41cb97ec
[ "MIT" ]
null
null
null
service/method-dedup/ConstantValue.cpp
srivastavaayu/redex
0440e2badcc6c503b14ca734f1c09b7f41cb97ec
[ "MIT" ]
null
null
null
service/method-dedup/ConstantValue.cpp
srivastavaayu/redex
0440e2badcc6c503b14ca734f1c09b7f41cb97ec
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConstantValue.h" #include <boost/algorithm/string.hpp> #include "Creators.h" #include "TypeReference.h" namespace { c...
33.558621
79
0.628339
[ "vector" ]
9cc31218dbd6992c6066914d8c453c609a8ec9df
15,893
cxx
C++
src-plugins/libs/vtkInria/vtkVisuManagement/vtkLookupTableManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/libs/vtkInria/vtkVisuManagement/vtkLookupTableManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/libs/vtkInria/vtkVisuManagement/vtkLookupTableManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
26.269421
202
0.629774
[ "vector" ]
9cc3d29eaaca27c1c6ed5dbfcf68096fb7db3ded
444
cpp
C++
137. Single Number II.cpp
kushagra-18/Leetcode-solutions
cf276e6cc5491429144a79c59dd1097f1d625a6b
[ "MIT" ]
null
null
null
137. Single Number II.cpp
kushagra-18/Leetcode-solutions
cf276e6cc5491429144a79c59dd1097f1d625a6b
[ "MIT" ]
null
null
null
137. Single Number II.cpp
kushagra-18/Leetcode-solutions
cf276e6cc5491429144a79c59dd1097f1d625a6b
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { map<int,int> mp; int res; for(auto i:nums){ mp[i]++; } for(auto i:mp){ if(i.second==1){ ...
15.857143
41
0.274775
[ "vector" ]
9cc8fd09f60858c5fba1553bd8b789ea6c52604d
3,634
cpp
C++
src/io/pedigree/pedigree_reader.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/io/pedigree/pedigree_reader.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
src/io/pedigree/pedigree_reader.cpp
gunjanbaid/octopus
b19e825d10c16bc14565338aadf4aee63c8fe816
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2019 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "pedigree_reader.hpp" #include <deque> #include <string> #include <sstream> #include <iterator> #include <algorithm> #include <fstream> #include <stdexcept> #include <boos...
29.072
120
0.656026
[ "vector", "transform" ]
9ccd1cb39952507e164de5ab9c4b030b442d0491
208,036
cpp
C++
dynadjust/dynadjust/dnaimport/dnainterop.cpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
null
null
null
dynadjust/dynadjust/dnaimport/dnainterop.cpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
null
null
null
dynadjust/dynadjust/dnaimport/dnainterop.cpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Name : dnainterop.cpp // Author : Roger Fraser // Contributors : // Version : 1.00 // Copyright : Copyright 2017 Geoscience Australia // // Licensed under the Apache License, Version 2.0 (the "License"...
31.406401
197
0.70832
[ "vector", "model" ]
9cd39f21383245a7b573a3542be33409ded28575
7,746
cc
C++
test/unit_test/options_test.cc
lalo/vowpal_wabbit
c01d22cb2296e737b735d4d570d87bfbbcc513bc
[ "BSD-3-Clause" ]
null
null
null
test/unit_test/options_test.cc
lalo/vowpal_wabbit
c01d22cb2296e737b735d4d570d87bfbbcc513bc
[ "BSD-3-Clause" ]
null
null
null
test/unit_test/options_test.cc
lalo/vowpal_wabbit
c01d22cb2296e737b735d4d570d87bfbbcc513bc
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include <boost/test/unit_test.hpp> #include <boost/test/test_tools.hpp> #include "options.h" #include <vector> #include ...
37.062201
116
0.750839
[ "vector" ]
9cd3d696989c90c66301acf703886e534dd3d9ee
4,545
cpp
C++
src/demos/mpi/demo_mpibasic.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
1
2015-03-19T16:48:13.000Z
2015-03-19T16:48:13.000Z
src/demos/mpi/demo_mpibasic.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
null
null
null
src/demos/mpi/demo_mpibasic.cpp
felixvd/chrono
4c437fc1fc8964310d53206dda45e8ba9c734fa2
[ "BSD-3-Clause" ]
1
2018-10-25T07:05:40.000Z
2018-10-25T07:05:40.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
32.234043
105
0.531133
[ "object", "vector" ]
9cd4df07d72524f35606281aadbd3cc48a1eed47
210,921
cc
C++
chrome/browser/password_manager/password_manager_browsertest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/password_manager/password_manager_browsertest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-03-13T10:32:53.000Z
2019-03-13T11:05:30.000Z
chrome/browser/password_manager/password_manager_browsertest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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 <string> #include <utility> #include "base/bind.h" #include "base/command_line.h" #include "base/containers/contains.h" #include "base/files/fil...
44.413771
96
0.7406
[ "geometry", "render", "vector" ]
9cd5bba75fdc38ea5c332ba338fc19cf095d9ee6
1,958
hpp
C++
examples/images/ImageTFLiteInfModel.hpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
examples/images/ImageTFLiteInfModel.hpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
examples/images/ImageTFLiteInfModel.hpp
teyenliu/nodeeditor
a1bf22f924f4911b8dd3f84ff88678f91cdd2c7e
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <iostream> #include <QtCore/QObject> #include <QtWidgets/QLabel> #include <QThread> #include <nodes/DataModelRegistry> #include <nodes/NodeDataModel> #include <opencv2/imgproc/imgproc.hpp> #include "ImageShowModel.hpp" #include "PixmapData.hpp" #include "TFLiteTools.hpp" using QtNodes::PortTyp...
19.58
100
0.717569
[ "object", "model" ]
9cd6205c08a15d702edc1acf4914dd6e6bc24dc1
29,577
cpp
C++
src/polycubed/src/rest_server.cpp
ali919191/polycube
178fe6e9101b27366d607948ec04f78be6d4fa68
[ "ECL-2.0", "Apache-2.0" ]
1
2019-10-02T23:09:42.000Z
2019-10-02T23:09:42.000Z
src/polycubed/src/rest_server.cpp
ricjames11/polycube
2e4f4e2081eca0322e4729434aff897a6cac84fa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/polycubed/src/rest_server.cpp
ricjames11/polycube
2e4f4e2081eca0322e4729434aff897a6cac84fa
[ "ECL-2.0", "Apache-2.0" ]
1
2019-09-02T10:05:14.000Z
2019-09-02T10:05:14.000Z
/* * Copyright 2017 The Polycube Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
31.599359
96
0.626264
[ "object", "vector" ]
9cd6821907722002079a00df757768016cac0c01
11,630
cc
C++
src/builtins/builtins.cc
earlymeme/v8
3f9bd13d6131ea64711002ef2e59e53c086cb286
[ "BSD-3-Clause" ]
null
null
null
src/builtins/builtins.cc
earlymeme/v8
3f9bd13d6131ea64711002ef2e59e53c086cb286
[ "BSD-3-Clause" ]
4
2017-04-12T05:55:21.000Z
2017-05-09T12:46:15.000Z
src/builtins/builtins.cc
earlymeme/v8
3f9bd13d6131ea64711002ef2e59e53c086cb286
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/builtins/builtins.h" #include "src/api.h" #include "src/assembler-inl.h" #include "src/builtins/builtins-descriptors.h" #include "src/call...
35.457317
80
0.690112
[ "object" ]
9cd98628e788d95fc0f017ccc928aa610df0e9a3
5,269
cpp
C++
test/algorithms/within/within.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
1
2020-04-28T15:15:28.000Z
2020-04-28T15:15:28.000Z
test/algorithms/within/within.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
2
2017-05-23T08:01:11.000Z
2019-09-06T20:49:05.000Z
test/algorithms/within/within.cpp
jkerkela/geometry
4034ac88b214da0eab8943172eff0f1200b0a6cc
[ "BSL-1.0" ]
8
2015-11-03T14:12:19.000Z
2020-09-22T19:20:54.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2013-2015 Adam Wulkiewicz, Lodz, Poland. // This file was modified by Oracle on 2014, 2015, 2016, 2018. // Modifications copyright (c) 2014-2018 Oracle and/or its affiliates. ...
35.601351
96
0.653065
[ "geometry", "model" ]
9cda7020ad0f76b337a75b3ead2f92209063e2da
4,708
cpp
C++
test-suite/generated-src/wasm/NativeEnumUsageInterface.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/wasm/NativeEnumUsageInterface.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/wasm/NativeEnumUsageInterface.cpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from enum.djinni #include "NativeEnumUsageInterface.hpp" // my header #include "NativeColor.hpp" namespace djinni_generated { em::val NativeEnumUsageInterface::cppProxyMethods() { static const em::val methods = em::val::array(std::vecto...
41.298246
167
0.679057
[ "vector" ]
9ce3a29ce69c0b45600d2b294dc251608c9edd0b
8,628
cpp
C++
dali-toolkit/internal/visuals/color/color-visual.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/visuals/color/color-visual.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/visuals/color/color-visual.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2021 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.604396
219
0.738642
[ "geometry", "transform" ]
9ce82ca436d97684e501c9e2be94ba48304a6c67
2,985
cpp
C++
test/generated/PrefixedTypesTest.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
test/generated/PrefixedTypesTest.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
test/generated/PrefixedTypesTest.cpp
Roboauto/fast_ber
089d3a2dfb3c8b14da066791f578fbec86dcf6c6
[ "BSL-1.0" ]
null
null
null
#include "autogen/prefixed_types.hpp" #include "fast_ber/util/BerView.hpp" #include "catch2/catch.hpp" #include <vector> template <typename T, size_t n> bool operator==(std::span<T> l, std::array<uint8_t, n> r) { return std::equal(l.begin(), l.end(), r.begin(), r.end()); } TEST_CASE("Prefixed Types: Encoding,...
39.276316
109
0.624791
[ "vector" ]
9ce8a23a2acbc3b1321591f4da7067ea7aa855ea
28,304
cpp
C++
SystemCommon/MiscIntrins.cpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
null
null
null
SystemCommon/MiscIntrins.cpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
null
null
null
SystemCommon/MiscIntrins.cpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
null
null
null
#include "SystemCommonPch.h" #include "MiscIntrins.h" #include "RuntimeFastPath.h" #include "common/simd/SIMD.hpp" #include "common/simd/SIMD128.hpp" #include "common/simd/SIMD256.hpp" #include "3rdParty/digestpp/algorithm/sha2.hpp" using namespace std::string_view_literals; using common::CheckCPUFeature; using common...
33.456265
145
0.639097
[ "vector" ]
9cea3ad4b9003178d9d64885e3e970a4bba1b996
5,113
cpp
C++
third_party/antlr4-runtime/tree/xpath/XPath.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
5
2021-03-25T09:20:21.000Z
2021-12-14T09:44:50.000Z
third_party/antlr4-runtime/tree/xpath/XPath.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
third_party/antlr4-runtime/tree/xpath/XPath.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
1
2022-03-19T17:02:21.000Z
2022-03-19T17:02:21.000Z
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #include "XPathLexer.h" #include "XPathLexerErrorListener.h" #include "XPathElement.h" #include "XPathWildcardAnyw...
32.987097
136
0.642676
[ "vector" ]
9cea8b70e86002621a29fb6102f888b78071cbcb
13,646
hpp
C++
OREData/ored/utilities/log.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
OREData/ored/utilities/log.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
OREData/ored/utilities/log.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
34.200501
120
0.652132
[ "model" ]
9ceaf08d64f76d4e9ca19ee9c56162779a1164e5
1,949
cpp
C++
src/rendering/lighting/SpotLight.cpp
WorldWideWebster/GameEngine
d0ff4ff08d327ef8408c88c9c9fe25aed4801f3a
[ "MIT" ]
null
null
null
src/rendering/lighting/SpotLight.cpp
WorldWideWebster/GameEngine
d0ff4ff08d327ef8408c88c9c9fe25aed4801f3a
[ "MIT" ]
1
2019-03-10T03:08:03.000Z
2019-03-10T03:08:03.000Z
src/rendering/lighting/SpotLight.cpp
WorldWideWebster/OpenGL-Stuff
d0ff4ff08d327ef8408c88c9c9fe25aed4801f3a
[ "MIT" ]
null
null
null
// // Created by Sean on 8/16/2019. // #include "SpotLight.h" SpotLight::SpotLight(std::string ID) : Light(ID), DirectionalLight(ID), PointLight(ID) { this->m_cutOff = glm::cos(glm::radians(32.5f)); this->m_outerCutOff = glm::cos(glm::radians(45.0f)); } SpotLight::SpotLight(float cutOff, float outerCutOff, std::st...
27.069444
119
0.735249
[ "render" ]
9cefb95743a598b5f0b03855de30396ace0c6f5e
1,285
cpp
C++
Engine/src/Components/boxcollider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
1
2019-01-02T15:35:05.000Z
2019-01-02T15:35:05.000Z
Engine/src/Components/boxcollider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
2
2018-11-11T21:29:05.000Z
2019-01-02T15:34:10.000Z
Engine/src/Components/boxcollider.cpp
SpectralCascade/ossium
f9d00de8313c0f91942eb311c20de8d74aa41735
[ "MIT" ]
null
null
null
#include "boxcollider.h" namespace Ossium { REGISTER_COMPONENT(BoxCollider); void BoxCollider::SetupShape() { shape.SetAsBox(PTM(width / 2.0f), PTM(height / 2.0f)); shape.m_centroid = offset; } const b2Shape& BoxCollider::GetShape() { return shape; } const b2...
21.779661
82
0.564202
[ "render", "shape" ]
9cf034863e85c2d1434eda45e0b1e606999b3bac
14,393
cpp
C++
libraries/avatars-renderer/src/avatars-renderer/Head.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
3
2019-01-27T14:49:35.000Z
2020-01-15T18:49:11.000Z
libraries/avatars-renderer/src/avatars-renderer/Head.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
null
null
null
libraries/avatars-renderer/src/avatars-renderer/Head.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
2
2019-06-13T22:25:13.000Z
2022-01-31T15:17:55.000Z
// // Head.cpp // interface/src/avatar // // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Head.h" #include <glm/gtx/quaternion.hpp> #include <gpu/Batch.h> #include ...
41.962099
148
0.691795
[ "vector", "model" ]
9cf3752e07ed560f1024a1cce0e0e7da6bbbb5ab
564
hpp
C++
libs/boost_1_72_0/boost/python/detail/scope.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/python/detail/scope.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/python/detail/scope.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Copyright David Abrahams 2002. // 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 SCOPE_DWA2002927_HPP #define SCOPE_DWA2002927_HPP #include <boost/python/detail/config.hpp> namespace boost { namespace ...
25.636364
77
0.716312
[ "object" ]
9cf5c3717370b0eaf1d6ea7e4f12aea6b7f6d120
20,924
cc
C++
include/protobuf/core/framework/versions.pb.cc
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
null
null
null
include/protobuf/core/framework/versions.pb.cc
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
null
null
null
include/protobuf/core/framework/versions.pb.cc
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
1
2022-03-25T06:48:25.000Z
2022-03-25T06:48:25.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/framework/versions.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "versions.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobu...
36.452962
168
0.725435
[ "object" ]
9cf640abdedd4f8a407b408b58ed5812234f091f
91,714
cpp
C++
platform/common/gbcpu.cpp
PMArkive/GameYob
d3518656c1abeb138d265f2b23de376d435ae335
[ "MIT" ]
1
2021-09-10T17:20:34.000Z
2021-09-10T17:20:34.000Z
platform/common/gbcpu.cpp
PMArkive/GameYob
d3518656c1abeb138d265f2b23de376d435ae335
[ "MIT" ]
null
null
null
platform/common/gbcpu.cpp
PMArkive/GameYob
d3518656c1abeb138d265f2b23de376d435ae335
[ "MIT" ]
null
null
null
#include <stddef.h> #include <stdio.h> #ifdef DS #include <nds.h> #endif #ifndef DS #include <string.h> #endif #include "mmu.h" #include "gbgfx.h" #include "soundengine.h" #include "gameboy.h" #include "main.h" #ifdef CPU_DEBUG #include "debugger.h" #endif #define FLAG_Z 0x80 #define FLAG_N 0x40 #define FLAG_H 0x2...
36.351169
127
0.296203
[ "vector" ]
9cf7c25a9792c590cec686dfeea0d14467fdb626
36,875
cpp
C++
SimTKcommon/Mechanics/src/Rotation.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
SimTKcommon/Mechanics/src/Rotation.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
SimTKcommon/Mechanics/src/Rotation.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
42.385057
104
0.558346
[ "vector" ]
9cf82ed5f9e994cc36f5a2e371a7e837c2c0f24f
34,909
cc
C++
tensorflow/compiler/plugin/poplar/tests/deferred_visitor_test.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
2
2021-03-08T23:32:06.000Z
2022-01-13T03:43:49.000Z
tensorflow/compiler/plugin/poplar/tests/deferred_visitor_test.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/plugin/poplar/tests/deferred_visitor_test.cc
DebeshJha/tensorflow-1
2b5a225c49d25273532d11c424d37ce394d7579a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
49.941345
204
0.687559
[ "shape" ]
9cf9bdceb86bd3d5727026dafbf4a8c422974b3a
993
hpp
C++
src/assembly/nodes/InstrGroupNode.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
src/assembly/nodes/InstrGroupNode.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
src/assembly/nodes/InstrGroupNode.hpp
shockazoid/HydroLanguage
25071995477406245911989584cb3e6f036229c0
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
23.642857
54
0.540785
[ "vector" ]
9cfa2b99a0982d36e81324a1fc8cc3fb8821264c
1,380
hpp
C++
Dynamic Programming/KnapsackProblem.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
null
null
null
Dynamic Programming/KnapsackProblem.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
1
2018-09-12T13:12:27.000Z
2018-09-12T13:12:27.000Z
Dynamic Programming/KnapsackProblem.hpp
Acamol/Algorithms-in-CPP
3c890a53078971653b13bf2bfd0aeb9efc05fe44
[ "MIT" ]
null
null
null
/* The definition of the Knapsack Problem can be found here: https://en.wikipedia.org/wiki/Knapsack_problem This algorithm solves the 1-dimensional problem using Dynamic Programming. The actual algorithm is the method Knapsack::chooseBoxes. Time and space complexity: O(nW), when n is the number of boxes and...
30.666667
79
0.723188
[ "vector" ]
9cfa4f2791ddb72bd59bf592b0884db49652be8a
3,357
cpp
C++
test/database/main_odbc_oracle1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
39
2015-12-09T09:28:46.000Z
2021-11-16T12:57:25.000Z
test/database/main_odbc_oracle1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
1
2020-10-17T02:23:42.000Z
2020-10-17T02:23:42.000Z
test/database/main_odbc_oracle1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
8
2018-05-29T12:48:13.000Z
2022-02-27T01:45:57.000Z
#include <ccxx/ccxx.h> #include <iostream> using namespace std; #include <stdio.h> #include <string.h> #include <stdlib.h> #define OTL_ODBC // Compile OTL 4.0/ODBC #define ODBCVER 0x0250 // ODBC Version # needs to be downgraded // to 2.5 because the SQLite ODBC driver seems // to run slower when ODBC 3.x functions /...
25.823077
79
0.540959
[ "object" ]
9cfdba6e7a88b074e510b21ad241e466d6456d40
8,773
cpp
C++
src/game/server/swarm/asw_simple_grub.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/server/swarm/asw_simple_grub.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/server/swarm/asw_simple_grub.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
#include "cbase.h" #include "asw_simple_grub.h" #include "asw_trace_filter_melee.h" #include "te_effect_dispatch.h" #include "asw_util_shared.h" #include "asw_marine.h" #include "asw_marine_resource.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" #define SWARM_GRU...
25.955621
136
0.651886
[ "geometry", "vector" ]
9cfe08e90a6c23c470d7f2165055be563ce6621c
25,226
cc
C++
src/ui/app_list/views/apps_grid_view.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/ui/app_list/views/apps_grid_view.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/ui/app_list/views/apps_grid_view.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.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 "ui/app_list/views/apps_grid_view.h" #include <algorithm> #include "ui/app_list/apps_grid_view_delegate.h" #include "ui/app_list/pagination...
31.181706
80
0.670974
[ "model", "transform" ]
9cfe1916a4a442f65bac0c9060880f30f432e4eb
24,945
inl
C++
dev/Code/CryEngine/RenderDll/XRenderD3D9/DeviceManager/DeviceManager_D3D11.inl
raghnarx/lumberyard
1c52b941dcb7d94341fcf21275fe71ff67173ada
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Code/CryEngine/RenderDll/XRenderD3D9/DeviceManager/DeviceManager_D3D11.inl
29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard
1c52b941dcb7d94341fcf21275fe71ff67173ada
[ "AML" ]
null
null
null
dev/Code/CryEngine/RenderDll/XRenderD3D9/DeviceManager/DeviceManager_D3D11.inl
29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard
1c52b941dcb7d94341fcf21275fe71ff67173ada
[ "AML" ]
4
2019-08-05T07:25:46.000Z
2020-12-07T05:12:55.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution(the "License").All use of this software is governed by the License, * or, if provided, by the license below or the...
33.438338
262
0.679936
[ "render" ]
14065e009e938c5f2eab935911c3d9868f938118
1,049
cpp
C++
leetcode-problems/medium/253-meeting-room-ii.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/253-meeting-room-ii.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/253-meeting-room-ii.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
// // Created by Siddhant on 2019-11-13. // #include "iostream" #include "vector" #include "string" #include "algorithm" #include <queue> using namespace std; int minMeetingRooms(vector<vector<int>> &intervals) { //sort sort(intervals.begin(), intervals.end(), [](const std::vector<int> &a, const st...
19.792453
67
0.528122
[ "vector" ]
140e8202c9aaf459a7df334d0db6139513329ee9
37,745
cpp
C++
src/zoinode.cpp
flo071/zoin-1
88b479f42c9ecc368dc3dab19b3acf3154e5816b
[ "MIT" ]
2
2020-01-06T16:53:41.000Z
2020-02-13T17:52:19.000Z
src/zoinode.cpp
flo071/zoin-1
88b479f42c9ecc368dc3dab19b3acf3154e5816b
[ "MIT" ]
null
null
null
src/zoinode.cpp
flo071/zoin-1
88b479f42c9ecc368dc3dab19b3acf3154e5816b
[ "MIT" ]
1
2018-11-04T17:53:47.000Z
2018-11-04T17:53:47.000Z
// Copyright (c) 2014-2017 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activezoinode.h" #include "consensus/validation.h" #include "darksend.h" #include "init.h" //#include "governance....
39.773446
241
0.658074
[ "vector" ]
1411f19b75d6163389f90e8cef4801a5191119e8
8,650
cpp
C++
FrameworkLib/NewtonJoints.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
FrameworkLib/NewtonJoints.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
FrameworkLib/NewtonJoints.cpp
DashW/Ingenuity
f7944a9e8063beaa3dda31e8372d18b4147782e2
[ "Zlib" ]
null
null
null
#include "NewtonJoints.h" #include <Newton.h> #define MIN_JOINT_PIN_LENGTH 50.0f #define DG_MAX_BOUND ( 1.0e15f ) #define DG_MIN_BOUND ( -DG_MAX_BOUND ) void CustomBallAndSocketWithFriction::SubmitConstraints(dFloat timestep, int threadIndex) { CustomBallAndSocket::SubmitConstraints(timestep, threadIndex); d...
32.889734
202
0.750751
[ "vector" ]
1415021d369dcae78c07c1b2975ddf6780350dce
7,950
cpp
C++
test/testShape.cpp
Ji2z/thorvg
cc9b5669e5d1bfb9cfe2e39058a16d093443bcf7
[ "MIT" ]
187
2020-08-24T04:45:30.000Z
2022-03-30T20:14:21.000Z
test/testShape.cpp
Ji2z/thorvg
cc9b5669e5d1bfb9cfe2e39058a16d093443bcf7
[ "MIT" ]
666
2020-09-10T06:45:14.000Z
2022-03-30T07:11:16.000Z
test/testShape.cpp
JSUYA/thorvg
46bdc8f1dc86f7ede5b066e30f96a97b0f9ff30f
[ "MIT" ]
57
2020-08-24T05:15:41.000Z
2022-03-22T11:15:25.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. All rights reserved. * 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 *...
38.038278
131
0.650818
[ "shape" ]
1416ff7f6411d14a56dac998b49686818137c31e
5,202
cpp
C++
src/plugins/opengl/src/shader_opengl.cpp
tcoxon/halley
490d2699090bfd677c5a00f53f2f12c19c198f7c
[ "Apache-2.0" ]
null
null
null
src/plugins/opengl/src/shader_opengl.cpp
tcoxon/halley
490d2699090bfd677c5a00f53f2f12c19c198f7c
[ "Apache-2.0" ]
null
null
null
src/plugins/opengl/src/shader_opengl.cpp
tcoxon/halley
490d2699090bfd677c5a00f53f2f12c19c198f7c
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include "halley/support/exception.h" #include "halley/support/console.h" #include "shader_opengl.h" #include "halley/core/graphics/material/material_definition.h" #include "gl_utils.h" #include "halley_gl.h" using namespace Halley; static ShaderOpenGL* currentShader = nullptr; #ifdef _MSC_VER #pr...
21.495868
155
0.68762
[ "geometry", "vector" ]
1417805f823d1e7e75cdca34c40edb163dc6b313
12,769
cpp
C++
src/lib/crypto/rsa_ossl.cpp
andrey-utkin/rnp
4a2d42d9591ecf7428a738247181c988f6fc0ff2
[ "Apache-2.0" ]
null
null
null
src/lib/crypto/rsa_ossl.cpp
andrey-utkin/rnp
4a2d42d9591ecf7428a738247181c988f6fc0ff2
[ "Apache-2.0" ]
null
null
null
src/lib/crypto/rsa_ossl.cpp
andrey-utkin/rnp
4a2d42d9591ecf7428a738247181c988f6fc0ff2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, [Ribose Inc](https://www.ribose.com). * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
28.954649
95
0.58039
[ "object" ]
141990326b5c5d19136630f29a8cfd0262da7ba8
1,194
cpp
C++
835/B[ The number on the board ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
835/B[ The number on the board ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
835/B[ The number on the board ].cpp
mejanvijay/codeforces-jvj_iit-submissions
2a2aac7e93ca92e75887eff92361174aa36207c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define sd(x) scanf("%d",&x) #define su(x) scanf("%u",&x) #define slld(x) scanf("%lld",&x) #define sc(x) scanf("%c",&x) #define ss(x) scanf("%s",x) #define sf(x) scanf("%f",&x) #define slf(x) scanf("%lf",&x) #define ll long long int #define mod(x,n) (x+n)%n...
17.304348
47
0.51005
[ "vector" ]
141ba8b4d7a7cbde734395d5d7fc91bba639ab05
11,068
cxx
C++
Imaging/Morphological/vtkImageNonMaximumSuppression.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
3
2015-07-28T18:07:50.000Z
2018-02-28T20:59:58.000Z
Imaging/Morphological/vtkImageNonMaximumSuppression.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
4
2018-10-25T09:46:11.000Z
2019-01-17T16:49:17.000Z
Imaging/Morphological/vtkImageNonMaximumSuppression.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
4
2016-09-08T02:11:00.000Z
2019-08-15T02:38:39.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkImageNonMaximumSuppression.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
31.804598
86
0.565685
[ "vector" ]
141dc7b8a191ed108a159e59989b492e5f3d2fb4
16,402
cpp
C++
libs/polygon/test/polygon_segment_test.cpp
jmuskaan72/Boost
047e36c01841a8cd6a5c74d4e3034da46e327bc1
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/polygon/test/polygon_segment_test.cpp
xiaoliang2121/Boost
fc90c3fde129c62565c023f091eddc4a7ed9902b
[ "BSL-1.0" ]
4
2015-03-19T08:23:23.000Z
2019-06-24T07:48:47.000Z
libs/polygon/test/polygon_segment_test.cpp
xiaoliang2121/Boost
fc90c3fde129c62565c023f091eddc4a7ed9902b
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Boost.Polygon library polygon_segment_test.cpp file // Copyright Andrii Sydorchuk 2012. // 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) // See http://www.boost.org for updates, do...
37.967593
93
0.715157
[ "transform" ]
141f059ba31ef9381787d1b6ada62025308b3a1b
10,492
cpp
C++
2006/samples/graphics/DrawOrder/layerDialog.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2006/samples/graphics/DrawOrder/layerDialog.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2006/samples/graphics/DrawOrder/layerDialog.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// // // (C) Copyright 2002-2003 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limi...
27.978667
127
0.67623
[ "object" ]
141fb0a3e358cf5b5c6f67985b4b01463485a28a
46,365
cpp
C++
src/rpc/aggregate_signature_test.cpp
blockchaingate/fabcoin
ae69201eb9f73e3bb82d7332f84a99f242d171b2
[ "MIT" ]
26
2018-04-24T00:33:11.000Z
2022-03-26T15:46:04.000Z
src/rpc/aggregate_signature_test.cpp
blockchaingate/fabcoin
ae69201eb9f73e3bb82d7332f84a99f242d171b2
[ "MIT" ]
4
2018-07-17T13:33:26.000Z
2018-08-27T07:10:49.000Z
src/rpc/aggregate_signature_test.cpp
blockchaingate/fabcoin
ae69201eb9f73e3bb82d7332f84a99f242d171b2
[ "MIT" ]
22
2018-04-24T00:33:31.000Z
2022-02-03T09:40:26.000Z
// Copyright (c) 2018 FA Enterprise system // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpc/server.h" #include "crypto/sha3.h" #include "../aggregate_schnorr_signature.h" #include "utilstrencodings.h" #include "enc...
44.753861
202
0.647881
[ "vector" ]
1420ddcc2ed4bebc9836b2f5b469edaa7a111ac3
1,766
cpp
C++
demos/testNd_uniform_mfsa.cpp
poluyan/mveqf
f1bc6f5fc2d6b3c52bbe8d4a2e3cd23686dc8df8
[ "Apache-2.0" ]
null
null
null
demos/testNd_uniform_mfsa.cpp
poluyan/mveqf
f1bc6f5fc2d6b3c52bbe8d4a2e3cd23686dc8df8
[ "Apache-2.0" ]
null
null
null
demos/testNd_uniform_mfsa.cpp
poluyan/mveqf
f1bc6f5fc2d6b3c52bbe8d4a2e3cd23686dc8df8
[ "Apache-2.0" ]
1
2019-02-06T15:25:26.000Z
2019-02-06T15:25:26.000Z
#include <iostream> #include <vector> #include <random> #include <mveqf/implicit_mfsa.h> int main() { std::mt19937_64 generator; generator.seed(1); std::uniform_int_distribution<int> dim_distr(10, 20); std::uniform_int_distribution<int> grid_distr(1, 20); std::uniform_real_distribution<float> bounds(-100.0f, 100....
24.873239
73
0.673273
[ "vector", "transform" ]
1421411756fb51d5baab609e218f92e3392d66e6
7,134
cc
C++
libcef/renderer/content_renderer_client.cc
appjs/cef3
18c0c9a7cb2990e656de950be53d2e5079a1f490
[ "BSD-3-Clause" ]
2
2015-04-05T11:14:57.000Z
2015-04-19T15:42:23.000Z
libcef/renderer/content_renderer_client.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
libcef/renderer/content_renderer_client.cc
phuy/cef3
33449af3cfa7b43e8b0f9a7190a20def32cb8f7b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "libcef/renderer/content_renderer_client.h" #include "libcef/common/cef_messages.h" #include "libcef/common/content_client.h" #include "libc...
31.566372
86
0.745444
[ "render" ]
14232de561fb30b2b19b371b3b2cfe606eafde22
56,861
cpp
C++
src/audio/AppleAudioDevice.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
null
null
null
src/audio/AppleAudioDevice.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
null
null
null
src/audio/AppleAudioDevice.cpp
jwmatthys/RTcmix
c9ba0c5bee2cd5e091c81333cf819d267008635b
[ "Apache-2.0" ]
null
null
null
// // AppleAudioDevice.cpp // Created by Douglas Scott on 11/12/13. // // #include "AppleAudioDevice.h" #include <AudioUnit/AudioUnit.h> #include <MacTypes.h> #include <pthread.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <ugens.h> #include <sndlibsupport.h> // RTcmix header #include <RTSem...
34.862661
146
0.67964
[ "render" ]
142a5d3b1f7483bd548eb0a377e70ced5e9f2a19
2,831
hpp
C++
modcc/lexer.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
modcc/lexer.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
modcc/lexer.hpp
kabicm/arbor
cfab5fd6a2e6a211c097659c96dcc098ee806e68
[ "BSD-3-Clause" ]
null
null
null
#pragma once // inspiration was taken from the Digital Mars D compiler // github.com/D-Programming-Language/dmd #include <map> #include <string> #include <unordered_map> #include <vector> #include "location.hpp" #include "error.hpp" #include "token.hpp" // status of the lexer enum class lexerStatus { error...
24.196581
82
0.643236
[ "vector" ]
142b219da02899729fa8a1619040bdec71fb43a2
7,926
cpp
C++
Boss2D/addon/tesseract-3.05.02_for_boss/cube/word_unigrams.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/tesseract-3.05.02_for_boss/cube/word_unigrams.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/tesseract-3.05.02_for_boss/cube/word_unigrams.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/********************************************************************** * File: word_unigrams.cpp * Description: Implementation of the Word Unigrams Class * Author: Ahmad Abdulkader * Created: 2008 * * (C) Copyright 2008, Google Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ...
31.328063
76
0.635125
[ "object", "vector" ]
142c821f7725f11b4c973d93bc077e027f701085
4,008
cc
C++
Code/Components/Synthesis/synthesis/current/parallel/ParallelAccessor.cc
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Synthesis/synthesis/current/parallel/ParallelAccessor.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Synthesis/synthesis/current/parallel/ParallelAccessor.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file /// @brief accessor returned by parallel write iterator /// @details We could've moved this class to accessors as it bears no /// parallelism. However, at this stage it is used only here and therefore some methods /// we don't need here are left without implementation. The main functionality of this class /...
45.033708
108
0.742016
[ "object", "vector" ]
28a46876909152bfe3205e946ec91a23ca035226
11,111
hpp
C++
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Renderer3D/GLES3/GLES3Renderer3DCommand.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
709
2016-03-19T07:55:58.000Z
2022-03-31T08:02:22.000Z
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Renderer3D/GLES3/GLES3Renderer3DCommand.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
415
2017-05-21T05:05:02.000Z
2022-03-29T16:08:27.000Z
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Renderer3D/GLES3/GLES3Renderer3DCommand.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
123
2016-03-19T12:47:08.000Z
2022-03-25T03:47:51.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 Ryo Suzuki // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/Common.hpp> # i...
29.708556
156
0.758888
[ "mesh" ]
28aa9397b98bbbf3f88eb7724cce4819cd3ef017
907
cpp
C++
TImKiem/h.cpp
daothaison/algorithm-vi
59ee4046eae2aea97c7f85d7bd64f85f12d84598
[ "Apache-2.0" ]
null
null
null
TImKiem/h.cpp
daothaison/algorithm-vi
59ee4046eae2aea97c7f85d7bd64f85f12d84598
[ "Apache-2.0" ]
null
null
null
TImKiem/h.cpp
daothaison/algorithm-vi
59ee4046eae2aea97c7f85d7bd64f85f12d84598
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> using namespace std; long hashCode(string s){ long code=0; for(int i=0;i <s.size(); i++){ code+= s[i]*pow(2,i); } return code; } class HashTable{ public: vector<string> table[101]; int SIZE=101; void put(string s){ table[hashCode(s)%...
17.784314
46
0.556781
[ "vector" ]
28ab7c2b1d06e05641769dabfb2be461bdc8af42
897
cpp
C++
CodeChef/Easy/E0056.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
CodeChef/Easy/E0056.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
CodeChef/Easy/E0056.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
// Problem Code: PCYCLE #include <iostream> #include <vector> #include <algorithm> using namespace std; vector<vector<int>> permutationCycles(vector<int> A){ int i, j; vector<bool> visited(A.size()); vector<vector<int>> cycles(1); i = j = 0; while(true){ cycles[j].push_back(i+1); if(visited[i]){ i = dist...
19.085106
78
0.586399
[ "vector" ]
28ab9a28bd3a2905924eb2fc2bc03ea291190dc1
47,793
cpp
C++
gdal/frmts/pcidsk/sdk/core/cpcidskfile.cpp
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
6
2017-05-12T08:18:27.000Z
2022-01-17T17:16:11.000Z
gdal/frmts/pcidsk/sdk/core/cpcidskfile.cpp
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
1
2019-03-07T15:25:14.000Z
2019-03-07T15:25:14.000Z
gdal/frmts/pcidsk/sdk/core/cpcidskfile.cpp
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
2
2017-01-18T16:28:58.000Z
2021-09-03T21:40:43.000Z
/****************************************************************************** * * Purpose: Implementation of the CPCIDSKFile class. * ****************************************************************************** * Copyright (c) 2009 * PCI Geomatics, 50 West Wilmot Street, Richmond Hill, Ont, Canada * * Per...
36.399848
101
0.422217
[ "object", "vector", "model" ]
28b07e12b6fb8a8fadf72d5f43c94f89577cf311
2,311
cpp
C++
Engine/src/ModuleWindow.cpp
JoanMarcBardes/Master-Engine
2e36395d3a6c147389372a261f60fa76d12ce55c
[ "MIT" ]
null
null
null
Engine/src/ModuleWindow.cpp
JoanMarcBardes/Master-Engine
2e36395d3a6c147389372a261f60fa76d12ce55c
[ "MIT" ]
null
null
null
Engine/src/ModuleWindow.cpp
JoanMarcBardes/Master-Engine
2e36395d3a6c147389372a261f60fa76d12ce55c
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleWindow.h" #include "ModuleEditorCamera.h" #include "DebugLeaks.h" ModuleWindow::ModuleWindow() { } // Destructor ModuleWindow::~ModuleWindow() { } // Called before render is available bool ModuleWindow::Init() { LOG("Init SDL window & surface"); bool re...
22.436893
107
0.728256
[ "render" ]
28b64ac7f8f2b37d93444d63087a4dae2b10516d
17,279
cpp
C++
src/dailyworkparser.cpp
EnderXenocide/DailyWork
7a6384ec7d692b2ebdbb466b2e83b5f6ac164e28
[ "Apache-2.0" ]
null
null
null
src/dailyworkparser.cpp
EnderXenocide/DailyWork
7a6384ec7d692b2ebdbb466b2e83b5f6ac164e28
[ "Apache-2.0" ]
null
null
null
src/dailyworkparser.cpp
EnderXenocide/DailyWork
7a6384ec7d692b2ebdbb466b2e83b5f6ac164e28
[ "Apache-2.0" ]
null
null
null
#include "dailyworkparser.h" #include "rapidjson/document.h" #include "rapidjson/error/en.h" #include <fstream> #include <sstream> #include <iostream> #include "easylogging++.h" DailyWorkParser::DailyWorkParser() { modified = false; jsonFile = JSON_FILE; } DailyWorkParser::~DailyWorkParser() { } void DailyWo...
33.748047
109
0.597315
[ "object" ]
28b943406491049bd246b9dfd3fbc276ce649331
68,403
cpp
C++
src/ide.cpp
jkelroy/SAM
3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db
[ "BSD-3-Clause" ]
219
2017-07-28T17:25:14.000Z
2022-03-17T23:03:17.000Z
src/ide.cpp
jkelroy/SAM
3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db
[ "BSD-3-Clause" ]
729
2017-08-10T14:42:30.000Z
2022-03-31T23:14:09.000Z
src/ide.cpp
jkelroy/SAM
3c05e55ec7d9e31f33e06f17fa6fb41bb19f04db
[ "BSD-3-Clause" ]
109
2017-09-16T00:52:54.000Z
2022-03-31T18:05:05.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
33.253768
168
0.692557
[ "object", "vector", "model" ]
28b9ecd7dcc383ef181ec700eb49c1afd4186fb7
1,080
cpp
C++
ProjectEuler/C++/PalindromicSums.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
ProjectEuler/C++/PalindromicSums.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
ProjectEuler/C++/PalindromicSums.cpp
dfm066/Programming
53d28460cd40b966cca1d4695d9dc6792ced4c6f
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <numeric> #include <unordered_set> #include <vector> // #include "utils.h" using namespace std; template <typename I> bool isPalindrome(I num) { string x = to_string(num); for (int i = 0, j = x.size() - 1; i < j; ++i, --j) { if (x[i] != x[j])...
23.478261
72
0.586111
[ "vector", "transform" ]
28bea213628db7f79bb46caf5d8ca68b0db5e74f
3,515
cpp
C++
source/json/h2_node.cpp
lingjf/jp
e7fa2c97c3e1906bfb77afc1b07f0d51b53693d8
[ "Apache-2.0" ]
null
null
null
source/json/h2_node.cpp
lingjf/jp
e7fa2c97c3e1906bfb77afc1b07f0d51b53693d8
[ "Apache-2.0" ]
null
null
null
source/json/h2_node.cpp
lingjf/jp
e7fa2c97c3e1906bfb77afc1b07f0d51b53693d8
[ "Apache-2.0" ]
null
null
null
struct h2_json_node { static constexpr int t_absent = 0; static constexpr int t_null = 1; static constexpr int t_boolean = 2; static constexpr int t_number = 3; static constexpr int t_string = 4; static constexpr int t_array = 6; static constexpr int t_object = 7; int type = t_absent; int in...
30.833333
164
0.587482
[ "object" ]
28bf165f08e856474d6fee71edd07fcbae904db2
41,295
cpp
C++
lib/Basics/VelocyPackHelper.cpp
dolfly/arangodb
b3ee17672e19e48db97c5dafce5978ba0a272fb5
[ "Apache-2.0" ]
null
null
null
lib/Basics/VelocyPackHelper.cpp
dolfly/arangodb
b3ee17672e19e48db97c5dafce5978ba0a272fb5
[ "Apache-2.0" ]
null
null
null
lib/Basics/VelocyPackHelper.cpp
dolfly/arangodb
b3ee17672e19e48db97c5dafce5978ba0a272fb5
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
36.674067
136
0.564693
[ "object", "vector" ]
28c221dcff3469d46e851f63b0965eaf9c92329c
10,343
cpp
C++
BOSS/source/BuildOrderPlot.cpp
jccari/UABIntegral
5ea69309fd75ad6b6a9ed42d55aa1b27fa79bf30
[ "MIT" ]
523
2015-01-06T16:02:16.000Z
2022-03-30T22:54:13.000Z
source/BuildOrderPlot.cpp
lionax/BOSS
07d61299ba20d97f50a4b78195363ad20c32dd9b
[ "MIT" ]
40
2015-02-03T18:54:02.000Z
2021-11-02T15:18:07.000Z
source/BuildOrderPlot.cpp
lionax/BOSS
07d61299ba20d97f50a4b78195363ad20c32dd9b
[ "MIT" ]
233
2015-01-17T05:50:52.000Z
2022-03-30T22:52:08.000Z
#include "BuildOrderPlot.h" #include "Eval.h" using namespace BOSS; BuildOrderPlot::BuildOrderPlot(const GameState & initialState, const BuildOrder & buildOrder) : _initialState(initialState) , _buildOrder(buildOrder) , _boxHeight(20) , _boxHeightBuffer(3) , _maxLayer(0) , _maxFinishTime(0) { ...
31.629969
139
0.538142
[ "object", "vector", "solid" ]
28c2ed298413015719208f70b9d8bac27b113c88
8,987
cpp
C++
disc-fe/test/evaluator_tests/normals.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/test/evaluator_tests/normals.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/test/evaluator_tests/normals.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04...
37.60251
128
0.683988
[ "vector" ]
28c3037a42826069beb44fbbc0bc15ad96874d72
10,014
cc
C++
chrome/browser/win/ui_automation_util.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/win/ui_automation_util.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/win/ui_automation_util.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/win/ui_automation_util.h" #include <algorithm> #include <iterator> #include "base/logging.h" #include "base/strings/string_numb...
35.013986
80
0.725185
[ "vector", "transform" ]
28c3bba3b5a5c566afafb8f0c32049cd34761f8b
24,333
cpp
C++
MNE/disp/helpers/chinfomodel.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
MNE/disp/helpers/chinfomodel.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
MNE/disp/helpers/chinfomodel.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file chinfomodel.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu>; * ...
35.995562
195
0.440225
[ "model" ]
28c42595421386fadd4b5c3cfb91738fe9ef6479
1,078
cpp
C++
src/Source/Chunks/Shex/Tokens/ImmediateConstantBufferDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
20
2015-03-29T02:14:03.000Z
2021-11-14T12:27:02.000Z
src/Source/Chunks/Shex/Tokens/ImmediateConstantBufferDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
null
null
null
src/Source/Chunks/Shex/Tokens/ImmediateConstantBufferDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
12
2015-05-04T06:39:10.000Z
2022-02-23T06:48:04.000Z
#include "PCH.h" #include "ImmediateConstantBufferDeclarationToken.h" #include "Decoder.h" using namespace std; using namespace SlimShader; shared_ptr<ImmediateConstantBufferDeclarationToken> ImmediateConstantBufferDeclarationToken::Parse(BytecodeReader& reader) { auto token0 = reader.ReadUInt32(); auto length = r...
28.368421
122
0.691095
[ "vector" ]
28c578b2de963180af2a5b792264d6e0abf63a71
25,191
cpp
C++
ReactQt/runtime/src/reactflexlayout.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
15
2018-03-11T23:50:11.000Z
2021-12-24T08:41:05.000Z
ReactQt/runtime/src/reactflexlayout.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactQt/runtime/src/reactflexlayout.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
2
2018-04-14T19:47:35.000Z
2020-07-30T21:48:29.000Z
/** * Copyright (C) 2016, Canonical Ltd. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * Author: Justin Mc...
33.059055
120
0.642928
[ "object", "transform" ]
28c8bc1cea35e1a3ba1e578cb21ffcb5d37cd5cc
668
cpp
C++
ACM/Youzu2020/F_sort.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
11
2020-05-02T20:06:07.000Z
2021-06-24T10:01:29.000Z
ACM/Youzu2020/F_sort.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
null
null
null
ACM/Youzu2020/F_sort.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
6
2020-06-04T04:29:28.000Z
2020-11-15T08:15:01.000Z
#include <algorithm> #include <iostream> #include <queue> #include <sstream> #include <string.h> #include <string> #include <vector> using namespace std; int main() { ios::sync_with_stdio(false); vector<string> s; int num = 0; string t; int len; cin >> len; while (len--) { cin >> t; s.push_back(t); } sort...
17.578947
49
0.519461
[ "vector" ]
28c8d17e150f240ed246f39619c6d4c83a19e2fd
12,779
hpp
C++
lib/alice/include/alice/cli.hpp
hriener/esop_synthesis
811d7fa36e1ae7b8bc2418ef751d14ac15809bf9
[ "MIT" ]
3
2018-01-06T14:10:10.000Z
2018-01-20T10:29:47.000Z
lib/alice/include/alice/cli.hpp
hriener/esop_synthesis
811d7fa36e1ae7b8bc2418ef751d14ac15809bf9
[ "MIT" ]
null
null
null
lib/alice/include/alice/cli.hpp
hriener/esop_synthesis
811d7fa36e1ae7b8bc2418ef751d14ac15809bf9
[ "MIT" ]
null
null
null
/* alice: C++ command shell library * Copyright (C) 2017-2018 EPFL * * 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 u...
27.780435
124
0.609281
[ "vector" ]
28c90a3da8f6d38757cda5b4bf0da3dc45bc04fc
5,104
cpp
C++
src/lib/statistics/attribute_statistics.cpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
src/lib/statistics/attribute_statistics.cpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
src/lib/statistics/attribute_statistics.cpp
Dencrash/hyrise
3169a81961f32f30b2ee12a0b73d992e99a9bdd4
[ "MIT" ]
null
null
null
#include "attribute_statistics.hpp" #include <memory> #include "resolve_type.hpp" #include "statistics/statistics_objects/abstract_histogram.hpp" #include "statistics/statistics_objects/generic_histogram.hpp" #include "statistics/statistics_objects/min_max_filter.hpp" #include "statistics/statistics_objects/range_fil...
34.958904
120
0.749216
[ "object" ]
28d119382ec101063d76923441485a5c204aba43
1,795
cpp
C++
app/src/source/EnemyManager.cpp
Jonathan-source/DV1570
59be89d554094481922db494b01a3ed5d9e1983b
[ "MIT" ]
null
null
null
app/src/source/EnemyManager.cpp
Jonathan-source/DV1570
59be89d554094481922db494b01a3ed5d9e1983b
[ "MIT" ]
null
null
null
app/src/source/EnemyManager.cpp
Jonathan-source/DV1570
59be89d554094481922db494b01a3ed5d9e1983b
[ "MIT" ]
null
null
null
#include "pch.h" #include "EnemyManager.h" EnemyManager::EnemyManager(Player* playerTarget, const std::vector<std::vector<Node*>>& grid) :currentSpawnIndex(0) , m_playerTarget(playerTarget) , m_grid(grid) , m_waveCount(0) { } EnemyManager::~EnemyManager() { for (auto enemy : m_enemies) { delete enemy; } } ...
18.894737
104
0.694708
[ "vector" ]
28d62ce40c265fb8f963d4e6430521c4a67d203f
16,743
cc
C++
stig/indy/disk/util/disk_util.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
stig/indy/disk/util/disk_util.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
stig/indy/disk/util/disk_util.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
1
2020-01-03T20:13:50.000Z
2020-01-03T20:13:50.000Z
/* <stig/indy/disk/util/disk_util.cc> TODO Copyright 2010-2014 Stig 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 r...
49.389381
161
0.637162
[ "vector" ]
28d7ad87b3ddca35c5d5c5d211eb62bed3373f85
2,166
hh
C++
oglrap/RendererBase.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
oglrap/RendererBase.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
oglrap/RendererBase.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
28.88
102
0.6759
[ "geometry", "transform" ]
28da1c77a561d15f1588fa9f6c0716775ca093a5
2,319
cpp
C++
source/shape/ShapeGatherV2.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2019-08-09T03:16:49.000Z
2019-08-09T03:16:49.000Z
source/shape/ShapeGatherV2.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
source/shape/ShapeGatherV2.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-01-15T06:28:11.000Z
2021-01-15T06:28:11.000Z
// // ShapeGatherV2.cpp // MNN // // Created by MNN on 2019/01/10. // Copyright © 2018, Alibaba Group Holding Limited // #include "Macro.h" #include "SizeComputer.hpp" namespace MNN { class GatherV2Computer : public SizeComputer { virtual bool onComputeSize(const MNN::Op* op, const std::vector<Tensor*>& inpu...
34.102941
99
0.570073
[ "vector" ]
28dac25010f22463913be5b31a568957bff5b074
39,115
hpp
C++
include/librealsense2/hpp/rs_frame.hpp
alipek/librealsense
8c35ed0c8464a9a484c9c08eab323092e57e9821
[ "Apache-2.0" ]
1
2021-05-05T17:46:11.000Z
2021-05-05T17:46:11.000Z
include/librealsense2/hpp/rs_frame.hpp
alipek/librealsense
8c35ed0c8464a9a484c9c08eab323092e57e9821
[ "Apache-2.0" ]
null
null
null
include/librealsense2/hpp/rs_frame.hpp
alipek/librealsense
8c35ed0c8464a9a484c9c08eab323092e57e9821
[ "Apache-2.0" ]
1
2021-05-13T06:08:38.000Z
2021-05-13T06:08:38.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #ifndef LIBREALSENSE_RS2_FRAME_HPP #define LIBREALSENSE_RS2_FRAME_HPP #include "rs_types.hpp" namespace rs2 { class frame_source; class frame_queue; class syncer; class processing_...
33.403074
265
0.546414
[ "vector", "3d" ]
28df3c86d49e84203f231f8fad366fb6bcdacff9
2,736
cpp
C++
net.ssa/xr_3da/xrGame/UIZoneMap.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xr_3da/xrGame/UIZoneMap.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xr_3da/xrGame/UIZoneMap.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "uizonemap.h" #include "hudmanager.h" #include "InfoPortion.h" #include "Pda.h" #include "Grenade.h" #include "level.h" #include "game_cl_base.h" #include "actor.h" #include "ai_space.h" #include "game_graph.h" #include "ui/UIMap.h" #include "ui/UIXmlInit.h" ///////...
23.791304
92
0.669591
[ "render" ]
28e17ee52a5d0928f7fc79057e4f39a96cfc983d
7,134
cpp
C++
dev/Code/Sandbox/Editor/PropertiesPanel.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Code/Sandbox/Editor/PropertiesPanel.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/PropertiesPanel.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
25.3879
114
0.591814
[ "object" ]
28e1e1525f783e7f2e2fd068019efe658d816e21
2,094
cpp
C++
src/async/smtp/MCSMTPOperation.cpp
woolie/mailcore2
3e6d6cdefe5cb56d30b1c28d8cc290ca2f37737d
[ "BSD-3-Clause" ]
2
2015-01-24T20:00:48.000Z
2016-10-06T05:20:51.000Z
src/async/smtp/MCSMTPOperation.cpp
woolie/mailcore2
3e6d6cdefe5cb56d30b1c28d8cc290ca2f37737d
[ "BSD-3-Clause" ]
1
2022-03-01T13:01:39.000Z
2022-03-01T13:01:39.000Z
src/async/smtp/MCSMTPOperation.cpp
isabella232/mailcore2
9db22f9c4627086d1d91e09327f195683e9f6451
[ "BSD-3-Clause" ]
1
2022-03-01T11:52:17.000Z
2022-03-01T11:52:17.000Z
// // MCSMTPOperation.cpp // mailcore2 // // Created by DINH Viêt Hoà on 1/11/13. // Copyright (c) 2013 MailCore. All rights reserved. // #include "MCSMTPOperation.h" #include <stdlib.h> #include "MCSMTPAsyncSession.h" #include "MCSMTPOperationCallback.h" using namespace mailcore; SMTPOperation::SMTPOperation(...
20.134615
102
0.697708
[ "object" ]
28e202b50b2076b6d8247c61ff47f840638a2883
6,815
cpp
C++
src/OramDeterministic.cpp
young-du/PathORAM
23d18b23153adf2e4a689e26d4bd05dc7db2497e
[ "MIT" ]
9
2020-08-01T22:00:47.000Z
2021-11-08T09:44:18.000Z
src/OramDeterministic.cpp
young-du/PathORAM
23d18b23153adf2e4a689e26d4bd05dc7db2497e
[ "MIT" ]
null
null
null
src/OramDeterministic.cpp
young-du/PathORAM
23d18b23153adf2e4a689e26d4bd05dc7db2497e
[ "MIT" ]
5
2020-06-24T19:23:57.000Z
2022-01-24T14:52:48.000Z
// // // #include "OramDeterministic.h" #include <iostream> #include <string> #include <sstream> #include <cmath> #include <bitset> using namespace std; OramDeterministic::OramDeterministic(UntrustedStorageInterface* storage, RandForOramInterface* rand_gen, int bucket_size,...
27.369478
104
0.537931
[ "vector" ]
28e26ba6c2e43837f4fa777fb265e7da490fb040
524
cpp
C++
Rare Topics/Rare Algorithms/Formulas or Theorems/How Many Pieces of Land?.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
Rare Topics/Rare Algorithms/Formulas or Theorems/How Many Pieces of Land?.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
Rare Topics/Rare Algorithms/Formulas or Theorems/How Many Pieces of Land?.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; using namespace std; typedef long long ll; typedef vector <int> vi; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout);...
23.818182
55
0.551527
[ "vector" ]
28e49026707fd3f1c5270c829a66cdf3375a2cb1
13,619
cpp
C++
Plugins/WebSocket/Source/WebSocket/Private/WebSocketBase.cpp
dr-munns/UEWebsocket
9429ebfde6ded90e380c92b6fac54bb04bbee5a2
[ "MIT" ]
null
null
null
Plugins/WebSocket/Source/WebSocket/Private/WebSocketBase.cpp
dr-munns/UEWebsocket
9429ebfde6ded90e380c92b6fac54bb04bbee5a2
[ "MIT" ]
null
null
null
Plugins/WebSocket/Source/WebSocket/Private/WebSocketBase.cpp
dr-munns/UEWebsocket
9429ebfde6ded90e380c92b6fac54bb04bbee5a2
[ "MIT" ]
null
null
null
/* * uewebsocket - unreal engine 4 websocket plugin * * Copyright (C) 2017 feiwu <feixuwu@outlook.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation: * version 2.1 of the License. ...
21.895498
193
0.720464
[ "vector" ]
28ead8a9737d89f1900f2cd6c149d6fe846fa743
10,113
cc
C++
ash/login/ui/auth_icon_view.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/login/ui/auth_icon_view.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/login/ui/auth_icon_view.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/login/ui/auth_icon_view.h" #include "ash/login/ui/horizontal_image_sequence_animation_decoder.h" #include "ash/style/ash_color_provider.h" ...
37.455556
148
0.734105
[ "geometry", "transform" ]
28ef48a1334bee235a084ba350b538deb2d6eefb
2,735
cpp
C++
Online Judges/UVA/231---Testing-the-CATCHER.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/231---Testing-the-CATCHER.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/UVA/231---Testing-the-CATCHER.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; #define rep(i,p,n) for( i = p; i<n;i++) #define lld long long int #define pb push_back #define VI vector<int> #define VL vector<long long int> #define VD vector<double> #define pi pair<int,int> #define mp make_pair #define Clear(a,b) memset(a,b,sizeof...
15.451977
78
0.412066
[ "vector" ]
28f06b590a542d56fdbcae81fb14e73e19b748ea
519
cpp
C++
atcoder/yahoo_procon2017_qual_b.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
atcoder/yahoo_procon2017_qual_b.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
atcoder/yahoo_procon2017_qual_b.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { long long n, k; vector<long long> v; long long x; long long sum, num; //入力 cin >> n >> k; for (int i = 0; i < n; i++) { cin >> x; v.push_back(x); } //昇順ソート sort(v.begin()...
16.741935
40
0.452794
[ "vector" ]
28f919103b9df8cc8a2659d0a493b996e07065d9
8,990
cpp
C++
Sources/Internal/UI/Scene3D/Private/UIEntityMarkerTest.unittest.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Sources/Internal/UI/Scene3D/Private/UIEntityMarkerTest.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/UI/Scene3D/Private/UIEntityMarkerTest.unittest.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "UnitTests/UnitTests.h" #include "Base/BaseTypes.h" #include "Base/RefPtr.h" #include "Base/ScopedPtr.h" #include "Engine/Engine.h" #include "Render/Highlevel/Camera.h" #include "Scene3D/Components/CameraComponent.h" #include "Scene3D/Components/TransformComponent.h" #include "Scene3D/Scene.h" #include "UI/Sc...
32.690909
129
0.584316
[ "render", "transform" ]
28f9d4c9aca0003f1d781dc62ebbd77c794f9212
50,743
cpp
C++
src/pxUtil.cpp
madanwork/pxCore
4009500ad3cee46c492ada8230d6c6d6a6d4825b
[ "Apache-2.0" ]
null
null
null
src/pxUtil.cpp
madanwork/pxCore
4009500ad3cee46c492ada8230d6c6d6a6d4825b
[ "Apache-2.0" ]
2
2017-12-08T14:22:28.000Z
2018-02-15T03:28:31.000Z
src/pxUtil.cpp
madanwork/pxCore
4009500ad3cee46c492ada8230d6c6d6a6d4825b
[ "Apache-2.0" ]
2
2017-02-24T10:47:32.000Z
2017-04-12T02:30:26.000Z
/* pxCore Copyright 2005-2018 John Robinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
28.36389
188
0.638748
[ "object" ]
28fabac302fc87ec8e933921db72442918e2dae9
25,659
cpp
C++
core/globals.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
core/globals.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
null
null
null
core/globals.cpp
literaldumb/godot
a2903fc51d1d20eba4dc451bdacbe477d6670163
[ "CC-BY-3.0", "MIT" ]
1
2019-01-13T00:44:17.000Z
2019-01-13T00:44:17.000Z
/*************************************************************************/ /* globals.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
24.863372
226
0.674071
[ "object", "shape", "vector" ]
28fca9383118f9652c708c3998eab4fa8681d3ab
16,012
cpp
C++
src/LSSS/Open_Protocol2.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
196
2018-05-25T11:41:56.000Z
2022-03-12T05:49:50.000Z
src/LSSS/Open_Protocol2.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
49
2018-07-17T15:49:41.000Z
2021-01-19T11:35:31.000Z
src/LSSS/Open_Protocol2.cpp
karannewatia/SCALE-MAMBA
467b33a6c80050789204ea3ee3b5cf0113354f85
[ "BSD-2-Clause" ]
90
2018-05-25T11:41:42.000Z
2022-03-23T19:15:10.000Z
/* Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. Copyright (c) 2021, COSIC-KU Leuven, Kasteelpark Arenberg 10, bus 2452, B-3001 Leuven-Heverlee, Belgium. All rights reserved */ #include <iomanip> #include <iostream> using namespace std; #include "Math/...
27.993007
110
0.451661
[ "object", "vector" ]
28ff1dba68d93ae887e8dbbeb58b613299fd6bf9
9,288
cpp
C++
src/bgwidgets.cpp
BastiaanOlij/omnis.xcomp.bgwidgets
4d512b45195b82c9ee3d31835684daa70073279b
[ "MIT" ]
1
2022-03-14T10:51:14.000Z
2022-03-14T10:51:14.000Z
src/bgwidgets.cpp
BastiaanOlij/omnis.xcomp.bgwidgets
4d512b45195b82c9ee3d31835684daa70073279b
[ "MIT" ]
null
null
null
src/bgwidgets.cpp
BastiaanOlij/omnis.xcomp.bgwidgets
4d512b45195b82c9ee3d31835684daa70073279b
[ "MIT" ]
1
2018-09-13T05:06:48.000Z
2018-09-13T05:06:48.000Z
#include "bgwidgets.h" #include "RadiusRect.h" #include "donut.h" #include "polygon.h" // Your generic object constructor bgwidget::bgwidget(HWND pHwnd, bool pUseHwnd) { mHwnd = pHwnd; mUseHwnd = pUseHwnd; }; // Generic destruction bgwidget::~bgwidget() { // just a placeholder }; void bgwidget::invalidate() { if...
34.527881
149
0.629199
[ "object" ]
e9004afc9c15eb446b6be3c4b9b81c23a3897df9
8,040
hpp
C++
src/chunk.hpp
anima-libera/qwy2
4875caf8035c5fb60e12eaba787d29017ffa0ed8
[ "Apache-2.0" ]
null
null
null
src/chunk.hpp
anima-libera/qwy2
4875caf8035c5fb60e12eaba787d29017ffa0ed8
[ "Apache-2.0" ]
null
null
null
src/chunk.hpp
anima-libera/qwy2
4875caf8035c5fb60e12eaba787d29017ffa0ed8
[ "Apache-2.0" ]
null
null
null
#ifndef QWY2_HEADER_CHUNK_ #define QWY2_HEADER_CHUNK_ #include "coords.hpp" #include "mesh.hpp" #include "shaders/classic/classic.hpp" #include <glm/vec3.hpp> #include <vector> #include <array> #include <unordered_map> #include <optional> #include <variant> #include <future> #include <tuple> namespace qwy2 { /* The...
32.816327
97
0.786194
[ "mesh", "vector" ]
e90487065992552220a0bb61b854864f2adf471c
11,547
cpp
C++
externals/wasm-compiler/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
squirrel-explorer/eagleeye-ios
9569e1d3cf2759490557337dd940e88907517052
[ "Apache-2.0" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
squirrel-explorer/eagleeye-ios
9569e1d3cf2759490557337dd940e88907517052
[ "Apache-2.0" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===-- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
33.86217
80
0.685113
[ "vector" ]
e904ac1bf26c773a8ad9ba7660d6970af7225881
25,144
cpp
C++
SierraChart/Client.cpp
tedmarcin/SierraChartZorroPlugin
964d7c70b9846635013203c3cea36a1671f851d3
[ "MIT" ]
1
2021-03-26T17:40:55.000Z
2021-03-26T17:40:55.000Z
SierraChart/Client.cpp
tedmarcin/SierraChartZorroPlugin
964d7c70b9846635013203c3cea36a1671f851d3
[ "MIT" ]
null
null
null
SierraChart/Client.cpp
tedmarcin/SierraChartZorroPlugin
964d7c70b9846635013203c3cea36a1671f851d3
[ "MIT" ]
null
null
null
#include "Engine.h" #include <algorithm> namespace asio = boost::asio; namespace cro = std::chrono; using boost::system::error_code; using asio::ip::tcp; #undef max using namespace DTC; using namespace DTCTools; client::client(socket_config config) : b( [&](const std::string& error_msg) {err(error_msg); }, [&](...
26.80597
206
0.664691
[ "vector" ]
e905e34c96539f975f345540bce5445b3574f47f
57,978
cpp
C++
frameworks/src/core/components/test/unittest/common/event_bubble_tdd_test.cpp
openharmony/ace_engine_lite
9b26a0aa86d31ede7717fa51deb5e0be8b963a6f
[ "Apache-2.0" ]
null
null
null
frameworks/src/core/components/test/unittest/common/event_bubble_tdd_test.cpp
openharmony/ace_engine_lite
9b26a0aa86d31ede7717fa51deb5e0be8b963a6f
[ "Apache-2.0" ]
null
null
null
frameworks/src/core/components/test/unittest/common/event_bubble_tdd_test.cpp
openharmony/ace_engine_lite
9b26a0aa86d31ede7717fa51deb5e0be8b963a6f
[ "Apache-2.0" ]
1
2021-09-13T11:12:42.000Z
2021-09-13T11:12:42.000Z
/* * Copyright (c) 2021 Huawei Device 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 law ...
35.482252
116
0.503415
[ "render" ]
e90a48bb4420fc631b3d6bca104772ae5a6e6cf2
3,689
cpp
C++
drivers/serveravailability/watchdog/power.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
drivers/serveravailability/watchdog/power.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
drivers/serveravailability/watchdog/power.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1991 - 2001 Microsoft Corporation Module Name: ##### ##### ## # ## ##### ##### #### ##### ##### ## ## ## ## ## ### ## ## ## ## ## # ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## # # ## ##### ##### ...
28.160305
91
0.443752
[ "object" ]
e90b83127f1ed8c8b62d6a398179250fbbfb76fa
10,940
cpp
C++
inference-engine/thirdparty/fluid/modules/gapi/src/compiler/gmodelbuilder.cpp
shinh/dldt
693ab4e79a428e0801f17f4511b129a3fa8f4a62
[ "Apache-2.0" ]
1
2021-02-20T21:48:36.000Z
2021-02-20T21:48:36.000Z
inference-engine/thirdparty/fluid/modules/gapi/src/compiler/gmodelbuilder.cpp
erinpark33/dldt
edd86d090592f7779f4dbb2681546e1f4e81284f
[ "Apache-2.0" ]
null
null
null
inference-engine/thirdparty/fluid/modules/gapi/src/compiler/gmodelbuilder.cpp
erinpark33/dldt
edd86d090592f7779f4dbb2681546e1f4e81284f
[ "Apache-2.0" ]
1
2018-12-14T07:52:51.000Z
2018-12-14T07:52:51.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018-2019 Intel Corporation ////////////////////////////////////////////////////////////////////////////...
35.751634
103
0.587934
[ "object", "shape", "vector" ]