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
1382002fadb392f38f20e18e990026111bdd3b1a
11,198
cpp
C++
third_party/maya/lib/usdMaya/shadingModeDisplayColor.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
9
2021-03-31T21:23:48.000Z
2022-03-05T09:29:27.000Z
third_party/maya/lib/usdMaya/shadingModeDisplayColor.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
null
null
null
third_party/maya/lib/usdMaya/shadingModeDisplayColor.cpp
unity3d-jp/USD
0f146383613e1efe872ea7c85aa3536f170fcda2
[ "BSD-3-Clause" ]
2
2016-12-13T00:53:40.000Z
2020-05-04T07:32:53.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
41.783582
108
0.633149
[ "object" ]
138a1906414e5e3a0bcecd0eb81986e1465c8939
19,497
cpp
C++
ext/ttcrypt/rsa_key.cpp
porzione/ttcrypt
1b01f248fd8889f26f4942d386274cae7c002d26
[ "BSD-3-Clause" ]
null
null
null
ext/ttcrypt/rsa_key.cpp
porzione/ttcrypt
1b01f248fd8889f26f4942d386274cae7c002d26
[ "BSD-3-Clause" ]
null
null
null
ext/ttcrypt/rsa_key.cpp
porzione/ttcrypt
1b01f248fd8889f26f4942d386274cae7c002d26
[ "BSD-3-Clause" ]
null
null
null
// // RsaKey.cpp // zcoin // // Created by Sergey Chernov on 02.06.14. // Copyright (c) 2014 thrift. All rights reserved. // /* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3...
32.934122
116
0.543263
[ "3d" ]
138c607086fe5be08f9e4f2bad9fa8f1428221a0
4,629
cpp
C++
src/implicit_shape_model/features/features_rift.cpp
Pandinosaurus/PointCloudDonkey
13bc486cf422dbd75cac395cb79503896c583bed
[ "BSD-3-Clause" ]
10
2018-12-21T13:42:45.000Z
2020-11-09T02:13:29.000Z
src/implicit_shape_model/features/features_rift.cpp
Pandinosaurus/PointCloudDonkey
13bc486cf422dbd75cac395cb79503896c583bed
[ "BSD-3-Clause" ]
null
null
null
src/implicit_shape_model/features/features_rift.cpp
Pandinosaurus/PointCloudDonkey
13bc486cf422dbd75cac395cb79503896c583bed
[ "BSD-3-Clause" ]
6
2019-02-03T12:17:19.000Z
2019-11-22T01:36:03.000Z
/* * BSD 3-Clause License * * Full text: https://opensource.org/licenses/BSD-3-Clause * * Copyright (c) 2018, Viktor Seib * All rights reserved. * */ #include "features_rift.h" #define PCL_NO_PRECOMPILE #include <pcl/point_types_conversion.h> #include <pcl/features/intensity_gradient.h> #include <pcl/features...
42.861111
135
0.615252
[ "object" ]
ca5d73fc64ed4a454f1ecb6fde7e6d369aaf6482
841
cpp
C++
leetcode/october-challenge/week-3/Asteroid-Collision.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/october-challenge/week-3/Asteroid-Collision.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
null
null
null
leetcode/october-challenge/week-3/Asteroid-Collision.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: vector<int> asteroidCollision(vector<int>& asteroids) { stack<int> s; vector<int> ans; for (int i = 0; i < asteroids.size(); ++i) { int a = asteroids[i]; if (a > 0) s.push(a); while (!s.empty() && ...
25.484848
59
0.332937
[ "vector" ]
ca618fe7c7ec0560e299c1703df1d8f35a3372fc
800
cpp
C++
leetcode.com/0129 Sum Root to Leaf Numbers/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0129 Sum Root to Leaf Numbers/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0129 Sum Root to Leaf Numbers/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: int ans{0}; void number(TreeNode* root, int currentSum) { currentSum += root...
20.512821
64
0.5
[ "vector" ]
ca657c5904b6c5128fb1ebb6966dec6bf9935c3e
3,641
cpp
C++
test/core/network/sync_protocol_observer_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/network/sync_protocol_observer_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
test/core/network/sync_protocol_observer_test.cpp
Harrm/kagome
22932bbbbf2f09712ca81b9e6256492f84cf2a46
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "network/impl/sync_protocol_observer_impl.hpp" #include <gtest/gtest.h> #include <boost/optional.hpp> #include <functional> #include "mock/core/blockchain/block_header_repository_mock.hpp" #include "mock/co...
32.508929
76
0.713815
[ "vector" ]
ca658f420a0785324c62864aabaca3c4fb0ef388
3,437
cc
C++
src/callow/solver/Eispack.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/callow/solver/Eispack.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/callow/solver/Eispack.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file Eispack.cc * @brief Eispack member definitions * @note Copyright (C) 2013 Jeremy Roberts */ //----------------------------------------------------------------------------// #include "Eispack.hh" #include "callow/matri...
26.037879
80
0.4405
[ "vector" ]
ca69026fda81f712a01efe11064dcdb5f1ab810a
7,826
cc
C++
test/unittests/interpreter/bytecode-register-optimizer-unittest.cc
ibmruntimes/v8ppc
538162502416b1b1e7253e5cd6e87821e19df04f
[ "BSD-3-Clause" ]
31
2016-04-09T20:25:03.000Z
2022-02-11T08:52:06.000Z
test/unittests/interpreter/bytecode-register-optimizer-unittest.cc
andrewlow/v8ppc
538162502416b1b1e7253e5cd6e87821e19df04f
[ "BSD-3-Clause" ]
12
2015-01-02T18:51:45.000Z
2016-04-02T19:18:10.000Z
test/unittests/interpreter/bytecode-register-optimizer-unittest.cc
ibmruntimes/v8ppc
538162502416b1b1e7253e5cd6e87821e19df04f
[ "BSD-3-Clause" ]
10
2016-04-16T22:27:33.000Z
2022-01-31T09:43:40.000Z
// Copyright 2016 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/v8.h" #include "src/factory.h" #include "src/interpreter/bytecode-label.h" #include "src/interpreter/bytecode-register-optimizer.h" #incl...
35.572727
79
0.719141
[ "vector" ]
ca6a776d19a70056e396977c3cf369b44f8320cc
38,258
hpp
C++
include/VROSC/ModularDrumsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/ModularDrumsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/ModularDrumsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.InstrumentDataController #inc...
61.115016
229
0.764494
[ "object", "vector" ]
ca6d2a08fcf974d5a4393b6db029be4cf38f206a
2,933
hpp
C++
mod/meta/type/type.hpp
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
1
2019-02-02T07:07:32.000Z
2019-02-02T07:07:32.000Z
mod/meta/type/type.hpp
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
25
2016-09-23T16:36:19.000Z
2019-02-12T14:14:32.000Z
mod/meta/type/type.hpp
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
null
null
null
#pragma once #include "../common.hpp" namespace wrd { /// @remark type returning Ttype<type> as result of getType() /// because this func always returns metaclass no matter of what me type is, /// users need to care about getting meta of metaclass on calling getType(). /// for ...
38.592105
102
0.582339
[ "object" ]
ca6fbc9edd95449b901a44432ea9b132ae8cb363
15,547
cpp
C++
lib/core/src/rodsLog.cpp
macdaliot/irods
568c4fde540e8f83ccb7478af10178b09f9d2697
[ "BSD-3-Clause" ]
null
null
null
lib/core/src/rodsLog.cpp
macdaliot/irods
568c4fde540e8f83ccb7478af10178b09f9d2697
[ "BSD-3-Clause" ]
null
null
null
lib/core/src/rodsLog.cpp
macdaliot/irods
568c4fde540e8f83ccb7478af10178b09f9d2697
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ //Creates irods_error_map #define MAKE_IRODS_ERROR_MAP #include "rodsErrorTable.h" const static std::map<const int, const std::string> irods_error_map = irods_e...
26.440476
116
0.571043
[ "vector" ]
ca72c0e0f2cae3e221e9a7f751342f2de14a1928
6,031
cpp
C++
src/TightCommunityDistances.cpp
mgeorgoulopoulos/ScerSeg
3dbded187d55b64b676cae6a6607cd44533237d7
[ "MIT" ]
1
2021-06-30T10:14:54.000Z
2021-06-30T10:14:54.000Z
src/TightCommunityDistances.cpp
mgeorgoulopoulos/ScerSeg
3dbded187d55b64b676cae6a6607cd44533237d7
[ "MIT" ]
null
null
null
src/TightCommunityDistances.cpp
mgeorgoulopoulos/ScerSeg
3dbded187d55b64b676cae6a6607cd44533237d7
[ "MIT" ]
1
2022-03-01T12:16:18.000Z
2022-03-01T12:16:18.000Z
/* Copyright 2021 Michael Georgoulopoulos 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, distrib...
31.411458
85
0.719284
[ "3d" ]
ca774be0d11420a05275c784681415043fdc2316
12,167
cpp
C++
inference-engine/src/vpu/graph_transformer/src/parsed_config.cpp
Dimitri1/openvino
05d97220d21a2ed91377524883485fdadf660761
[ "Apache-2.0" ]
3
2020-02-09T23:25:37.000Z
2021-01-19T09:44:12.000Z
inference-engine/src/vpu/graph_transformer/src/parsed_config.cpp
Dimitri1/openvino
05d97220d21a2ed91377524883485fdadf660761
[ "Apache-2.0" ]
null
null
null
inference-engine/src/vpu/graph_transformer/src/parsed_config.cpp
Dimitri1/openvino
05d97220d21a2ed91377524883485fdadf660761
[ "Apache-2.0" ]
2
2020-04-18T16:24:39.000Z
2021-01-19T09:42:19.000Z
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/parsed_config.hpp> #include <vector> #include <unordered_map> #include <unordered_set> #include <sstream> #include <string> #include <memory> #include <map> #include <debug.h> #include <cpp_interfaces/exception2statu...
40.96633
140
0.674119
[ "vector" ]
ca7899fb398da9728132c22a3eb7d9b3303d302c
1,075
hpp
C++
scsdk/c++/scsdk/standard_cyborg/algorithms/PrincipalAxes.hpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
7
2020-11-26T01:07:26.000Z
2021-12-14T07:45:19.000Z
scsdk/c++/scsdk/standard_cyborg/algorithms/PrincipalAxes.hpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
null
null
null
scsdk/c++/scsdk/standard_cyborg/algorithms/PrincipalAxes.hpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 Standard Cyborg 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, software...
25
119
0.792558
[ "geometry", "vector" ]
ca7a0cc4bbf6f4e4d2dc732b2d7e186e476fba8e
3,556
cpp
C++
src/armnn/layers/FullyConnectedLayer.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
2
2021-12-09T15:14:04.000Z
2021-12-10T01:37:53.000Z
src/armnn/layers/FullyConnectedLayer.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
null
null
null
src/armnn/layers/FullyConnectedLayer.cpp
Project-Xtended/external_armnn
c5e1bbf9fc8ecbb8c9eb073a1550d4c8c15fce94
[ "MIT" ]
3
2022-01-23T11:34:40.000Z
2022-02-12T15:51:37.000Z
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "FullyConnectedLayer.hpp" #include "LayerCloneBase.hpp" #include <armnn/TypesUtils.hpp> #include <backendsCommon/CpuTensorHandle.hpp> #include <backendsCommon/WorkloadData.hpp> #include <backendsCommon/Wo...
33.866667
114
0.736783
[ "vector" ]
ca7a3f9b7b56f634fbaec000dc8519d221a9c9b7
624
cpp
C++
models/ops/src/cpu/ms_deform_attn_cpu.cpp
weijiawu/TransVTSpotter
7c55aacd074d06529e79d5959a8555f571f7d3e2
[ "MIT" ]
51
2021-08-05T13:27:38.000Z
2022-03-28T01:19:15.000Z
models/ops/src/cpu/ms_deform_attn_cpu.cpp
weijiawu/TransVTSpotter
7c55aacd074d06529e79d5959a8555f571f7d3e2
[ "MIT" ]
8
2021-09-17T15:06:39.000Z
2022-03-30T12:09:11.000Z
models/ops/src/cpu/ms_deform_attn_cpu.cpp
weijiawu/TransVTSpotter
7c55aacd074d06529e79d5959a8555f571f7d3e2
[ "MIT" ]
6
2021-11-29T05:17:20.000Z
2022-01-22T14:02:23.000Z
#include <vector> #include <ATen/ATen.h> #include <ATen/cuda/CUDAContext.h> at::Tensor ms_deform_attn_cpu_forward( const at::Tensor &value, const at::Tensor &spatial_shapes, const at::Tensor &sampling_loc, const at::Tensor &attn_weight, const int im2col_step) { AT_ERROR("Not implement on cpu...
20.8
37
0.695513
[ "vector" ]
ca7d879fc466607f78bf0549a7139ba3e0e0eac1
4,300
cpp
C++
test_problems/diamondSurf/runDiamond.cpp
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
test_problems/diamondSurf/runDiamond.cpp
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
test_problems/diamondSurf/runDiamond.cpp
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
/** * @file runDiamond.cpp * */ // Example // // Note that this example needs updating. It works fine, but is // written in a way that is less than transparent or // user-friendly. This could be rewritten using class Interface to // make things simpler. #include <iostream> #include <string> #inc...
26.060606
73
0.511628
[ "vector" ]
ca8f8d55ad75d633d3a19944e8ebf34a608ed52a
2,086
cpp
C++
codeforces/1010D - Mars rover.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
1
2018-12-25T23:55:19.000Z
2018-12-25T23:55:19.000Z
codeforces/1010D - Mars rover.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
null
null
null
codeforces/1010D - Mars rover.cpp
Dijkstraido-2/online-judge
31844cd8fbd5038cc5ebc6337d68229cef133a30
[ "MIT" ]
null
null
null
//============================================================================ // Problem : 1010D - Mars rover // Category : DFS //============================================================================ #include <bits/stdc++.h> using namespace std; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<s...
22.430108
78
0.291467
[ "vector" ]
ca99ac966ade1a7ca1d577f9cf11c3b7bdadfe25
2,586
hh
C++
src/sim/TrackInitializerStore.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/TrackInitializerStore.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
src/sim/TrackInitializerStore.hh
sethrj/celeritas
44395a039e223604365256a13f96c7742cdf5e09
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
35.424658
79
0.601315
[ "vector" ]
ca9c0ce750071b31dfddbc0295c12ab10eabcb6c
6,407
cpp
C++
wingchun/tool/DataConsumer.cpp
dfhljf/kungfu
ebbc9e21f3b2efad743c402f453d7487d8d3f961
[ "Apache-2.0" ]
3
2020-01-15T10:37:51.000Z
2021-12-14T15:35:48.000Z
wingchun/tool/DataConsumer.cpp
dfhljf/kungfu
ebbc9e21f3b2efad743c402f453d7487d8d3f961
[ "Apache-2.0" ]
null
null
null
wingchun/tool/DataConsumer.cpp
dfhljf/kungfu
ebbc9e21f3b2efad743c402f453d7487d8d3f961
[ "Apache-2.0" ]
3
2020-01-24T02:09:00.000Z
2022-02-18T06:29:17.000Z
/***************************************************************************** * Copyright [2017] [taurus.ai] * * 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/li...
36.821839
100
0.474949
[ "vector" ]
ca9f2e9025f2fd71f386d6bb861b5b4f8db58e2c
3,863
cpp
C++
test/test_environment.cpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
37
2019-10-13T12:23:32.000Z
2022-03-19T10:40:29.000Z
test/test_environment.cpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
3
2020-03-20T04:44:06.000Z
2021-01-12T06:18:33.000Z
test/test_environment.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
10
2019-11-06T15:59:06.000Z
2021-08-09T17:28:24.000Z
/// \file test_environment.cpp /// /// \brief /// /// \authors Maarten P. Scholl /// \date 2019-09-22 /// \copyright Copyright 2017-2019 The Institute for New Economic Thinking, /// Oxford Martin School, University of Oxford /// /// Licensed under the Apache License, Version 2.0 (the...
25.926174
80
0.610924
[ "model" ]
caa115390bfaafaad9757743a143ec9e85e0a5a0
2,548
cpp
C++
cannon/ml/piecewise_recursive_lstd.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/ml/piecewise_recursive_lstd.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/ml/piecewise_recursive_lstd.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <cannon/ml/piecewise_recursive_lstd.hpp> #include <cassert> #include <cannon/log/registry.hpp> using namespace cannon::ml; using namespace cannon::log; // Public void PiecewiseRecursiveLSTDFilter::process_datum(const VectorXd& in_vec, const VectorXd& next_in_vec, unsigned int idx, unsigned int next_idx...
29.976471
101
0.699372
[ "vector" ]
caa3dd189e1e996f712ae2c1f8620f77858f808f
6,803
cpp
C++
example/main.cpp
JimmyDdotEXE/jui
08277e58a71d1102210228bbb8a4e481966b4980
[ "MIT" ]
null
null
null
example/main.cpp
JimmyDdotEXE/jui
08277e58a71d1102210228bbb8a4e481966b4980
[ "MIT" ]
null
null
null
example/main.cpp
JimmyDdotEXE/jui
08277e58a71d1102210228bbb8a4e481966b4980
[ "MIT" ]
1
2022-02-25T11:34:58.000Z
2022-02-25T11:34:58.000Z
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cstdlib> #include <iomanip> #include "General.h" #include "Window.h" #include "Controls.h" /*tell JUI where to find the font and icon files*/ std::string fontLocation = "SourceCodePro-Regular.ttf"; std::string iconLocation = "Untitl...
28.11157
123
0.637219
[ "vector" ]
caa403336dfc57c311bbdc87535db0821c6e7369
20,768
cpp
C++
Vocodec/Source/PluginEditor.cpp
spiricom/Vocodec_JUCE
4368c9bd7cfdead0ad898cebd6a8a7c8119d48a7
[ "MIT" ]
null
null
null
Vocodec/Source/PluginEditor.cpp
spiricom/Vocodec_JUCE
4368c9bd7cfdead0ad898cebd6a8a7c8119d48a7
[ "MIT" ]
9
2020-08-17T16:38:10.000Z
2020-09-03T17:23:32.000Z
Vocodec/Source/PluginEditor.cpp
spiricom/Vocodec_JUCE
4368c9bd7cfdead0ad898cebd6a8a7c8119d48a7
[ "MIT" ]
null
null
null
/* ============================================================================== This file was auto-generated! It contains the basic framework code for a JUCE plugin editor. ============================================================================== */ #include "PluginProcessor.h" #include "P...
43.630252
147
0.607088
[ "solid" ]
caa4fb65798e42e2c6e07088605e2d230a73d7a5
503
cpp
C++
Dataset/Leetcode/train/75/488.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/488.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/488.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<int>& nums) { for(int i = 0, n = 0; n < nums.size(); n++, i++) { if(nums[i] == 0) { nums.insert(nums.begin(), nums[i]); nums.erase(nums.begin() + i + 1); } if(nums[i] == 2) ...
22.863636
56
0.337972
[ "vector" ]
caa5e50f497876235a0ca027ec4021e6a5567663
22,090
cpp
C++
WarningList old versions/WarningList 0.4.9/WarningList 0.4.9.cpp
AMProgramms/Test2
82a0fc370c13c4b941214a7db747c7e2624e0837
[ "Apache-2.0" ]
2
2021-05-29T18:47:00.000Z
2021-05-29T18:47:07.000Z
WarningList old versions/WarningList 0.4.9/WarningList 0.4.9.cpp
AMProgramsc/WarningList
82a0fc370c13c4b941214a7db747c7e2624e0837
[ "Apache-2.0" ]
null
null
null
WarningList old versions/WarningList 0.4.9/WarningList 0.4.9.cpp
AMProgramsc/WarningList
82a0fc370c13c4b941214a7db747c7e2624e0837
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <Windows.h> #include <time.h> #include <conio.h> #include <vector> #include <fstream> #include "Translite.h" #pragma warning(disable : 4996); using namespace std; enum ConsoleColor { Black = 0, Blue = 1, Green = 2, Cyan = 3, Red = 4, Magne...
23.13089
202
0.471752
[ "vector" ]
caa61c55e5650224de51e0fb004e9483168ec621
1,908
cpp
C++
example/convolve2d.cpp
Paul92/gil
da0655fb66dd161a643e1ca0ed51937548465d18
[ "BSL-1.0" ]
null
null
null
example/convolve2d.cpp
Paul92/gil
da0655fb66dd161a643e1ca0ed51937548465d18
[ "BSL-1.0" ]
null
null
null
example/convolve2d.cpp
Paul92/gil
da0655fb66dd161a643e1ca0ed51937548465d18
[ "BSL-1.0" ]
null
null
null
// // Copyright 2019 Miral Shah <miralshah2211@gmail.com> // Copyright 2019 Mateusz Loskot <mateusz at loskot dot net> // Copyright 2021 Pranam Lashkari <plashkari628@gmail.com> // // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or ...
34.690909
124
0.72327
[ "vector" ]
caa79782b6d0c16e908ee2d2e878566c53f83680
9,269
cpp
C++
review/Advanced_lighting/Parallax_Mapping/main.cpp
yuyuyu223/opengl-learning
c69679c1a42971d814eb3d4115caef63899ac463
[ "MulanPSL-1.0" ]
null
null
null
review/Advanced_lighting/Parallax_Mapping/main.cpp
yuyuyu223/opengl-learning
c69679c1a42971d814eb3d4115caef63899ac463
[ "MulanPSL-1.0" ]
null
null
null
review/Advanced_lighting/Parallax_Mapping/main.cpp
yuyuyu223/opengl-learning
c69679c1a42971d814eb3d4115caef63899ac463
[ "MulanPSL-1.0" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <cmath> #include <Texture.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <Camera.h> #include <Shader.h> float screenWidth = 800; float screenHeight = 600; //初始化相机 Camera *camera = new Camera(glm::vec3(0...
38.945378
176
0.571475
[ "render", "vector", "model" ]
caabddd268462ec158a70bdc5d52dd8119dc4b3b
2,217
cpp
C++
nclgl/SceneNode.cpp
BertTDev/Graphics-Island
ce7c15cba8ad86df658c35b3bb37d63ef12bc985
[ "MIT" ]
null
null
null
nclgl/SceneNode.cpp
BertTDev/Graphics-Island
ce7c15cba8ad86df658c35b3bb37d63ef12bc985
[ "MIT" ]
null
null
null
nclgl/SceneNode.cpp
BertTDev/Graphics-Island
ce7c15cba8ad86df658c35b3bb37d63ef12bc985
[ "MIT" ]
null
null
null
#include "SceneNode.h" Shader* SceneNode::defaultShader = NULL; SceneNode::SceneNode(Mesh* mesh, Vector4 colour, Shader* s, Vector4 p) { this->mesh = mesh; this->colour = colour; if (s == NULL) { if (SceneNode::defaultShader == NULL) SceneNode::defaultShader = new Shader("SceneVertex.glsl", "SceneFragment.glsl");...
33.590909
121
0.717636
[ "mesh", "vector", "model", "transform" ]
caac680ae4f07e681c4e28127a0797a102562744
3,526
hpp
C++
PSME/common/agent-framework/include/agent-framework/command-ref/pnc_commands.hpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/common/agent-framework/include/agent-framework/command-ref/pnc_commands.hpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
null
null
null
PSME/common/agent-framework/include/agent-framework/command-ref/pnc_commands.hpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
1
2022-03-01T07:21:51.000Z
2022-03-01T07:21:51.000Z
/*! * @section LICENSE * * @copyright * Copyright (c) 2016-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apach...
47.013333
135
0.786444
[ "model" ]
caaff2b0c301b0b83eca8ace12bbb7411f13c742
3,910
cpp
C++
MP-APS/Camera.cpp
htmlboss/OpenGL-Shader-Viewer
9a6c5fbeb10a45303198cb1918a549ab90de0a6c
[ "MIT" ]
235
2017-06-27T18:38:41.000Z
2022-03-31T09:42:38.000Z
MP-APS/Camera.cpp
MaximumProgrammer/OpenGL-Renderer
018211ff3bd559d6912784d3dfdec97f03838e35
[ "MIT" ]
10
2017-01-17T14:57:25.000Z
2021-12-04T04:01:26.000Z
MP-APS/Camera.cpp
htmlboss/OpenGL-Shader-Viewer
9a6c5fbeb10a45303198cb1918a549ab90de0a6c
[ "MIT" ]
17
2017-04-30T11:37:26.000Z
2022-03-15T03:23:21.000Z
#include "Camera.h" #include "Input.h" #include <GLFW/glfw3.h> /***********************************************************************************/ Camera::Camera() noexcept { updateVectors(); } /***********************************************************************************/ void Camera::SetNear(const float n...
32.583333
185
0.574936
[ "vector" ]
cab18f9598c5058cd3eef49aac154af0c3a317f7
716
cpp
C++
code/477.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/477.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/477.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } class Solution { public: i...
19.351351
64
0.459497
[ "vector" ]
cab1c6145428e32ffa25bbec07ef69ee9779c1d6
817
hpp
C++
deps/bc-ur-arduino/src/random-sampler.hpp
ksedgwic/bc-lethe-kit
c40f3c0220d91f0ad95054937f99165245372c91
[ "BSD-2-Clause-Patent" ]
34
2020-04-02T06:58:45.000Z
2021-04-09T08:07:46.000Z
deps/bc-ur-arduino/src/random-sampler.hpp
ksedgwic/bc-lethe-kit
c40f3c0220d91f0ad95054937f99165245372c91
[ "BSD-2-Clause-Patent" ]
28
2020-04-02T04:33:17.000Z
2021-04-23T22:00:48.000Z
deps/bc-ur-arduino/src/random-sampler.hpp
ksedgwic/bc-lethe-kit
c40f3c0220d91f0ad95054937f99165245372c91
[ "BSD-2-Clause-Patent" ]
8
2020-04-02T04:29:08.000Z
2020-09-30T22:12:58.000Z
// // random-sampler.hpp // // Copyright © 2020 by Blockchain Commons, LLC // Licensed under the "BSD-2-Clause Plus Patent License" // #ifndef BC_UR_RANDOM_SAMPLER22_HPP #define BC_UR_RANDOM_SAMPLER22_HPP #include <ArduinoSTL.h> #include <vector> #include <functional> #include <Arduino.h> // Random-number samplin...
20.425
61
0.729498
[ "vector" ]
cababe42f08992dfe8f96e1b9f8305b91d0ba8ff
10,572
cc
C++
chrome/browser/extensions/api/browsing_data/browsing_data_api.cc
leiferikb/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-15T15:17:43.000Z
2021-11-15T15:17:43.000Z
chrome/browser/extensions/api/browsing_data/browsing_data_api.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/browsing_data/browsing_data_api.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:02.000Z
2020-11-04T07:24:02.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. // Defines the Chrome Extensions BrowsingData API functions, which entail // clearing browsing data, and clearing the browser's cache (which, let's be...
37.35689
80
0.761351
[ "object" ]
cabb08676e5b86f8cb7c8aeadb10347ef7343d5e
31,669
cpp
C++
fallen/DDEngine/Source/fastprim.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
fallen/DDEngine/Source/fastprim.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
fallen/DDEngine/Source/fastprim.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
// // Draws prims super-fast! // #include "game.h" #include "ddlib.h" #include "poly.h" #include "polypoint.h" #include "polypage.h" #include "fastprim.h" #include "memory.h" #include "texture.h" #include "matrix.h" //#define FASTPRIM_PERFORMANCE #ifdef FASTPRIM_PERFORMANCE FILE *FASTPRIM_handle; SLONG FASTPRIM_nu...
22.34933
147
0.640848
[ "object", "3d" ]
cabd10379f9b4b6ed76e464f5810ed6e095bcf28
2,743
cpp
C++
initial_project/src/main.cpp
HeroesOfSecurity/SecureSender
33e44d474c2bc6f4e80c3bb1860a6d08afda4dd6
[ "MIT" ]
1
2018-01-07T03:57:27.000Z
2018-01-07T03:57:27.000Z
initial_project/src/main.cpp
HeroesOfSecurity/SecureSender
33e44d474c2bc6f4e80c3bb1860a6d08afda4dd6
[ "MIT" ]
10
2016-03-22T16:02:45.000Z
2016-05-12T21:06:34.000Z
initial_project/src/main.cpp
HeroesOfSecurity/SecureSender
33e44d474c2bc6f4e80c3bb1860a6d08afda4dd6
[ "MIT" ]
null
null
null
/* * File: main.cpp * Author: pedro1 * * Created on February 26, 2016, 12:50 PM */ #include "crypto.h" #include "string.h" #include "stdio.h" using namespace std; int main(int argc, char** argv) { //AES key - 16 bytes unsigned char key[16] = { 0xa5, 0x84, 0x99, 0x8d, 0x0d, 0xbd, 0xb1, 0x54, ...
29.180851
106
0.614655
[ "vector" ]
cabff92b5a51687025b2bfd2b14ff563375b4b29
951
cc
C++
cc/trees/target_property.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
cc/trees/target_property.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
cc/trees/target_property.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright (c) 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 "cc/trees/target_property.h" #include "base/macros.h" namespace cc { namespace { static_assert(TargetProperty::FIRST_TARGET_PROPERTY == 0...
29.71875
78
0.713985
[ "transform" ]
cac6627ea9b656a1e7a996e1bddbd9ee5a2d1589
2,437
cc
C++
bankocr/line_test.cc
horance-liu/bankocr
ce1c0575eb4bd0b91991bc01b497f01af2e926a7
[ "Apache-2.0" ]
1
2018-10-30T11:11:59.000Z
2018-10-30T11:11:59.000Z
bankocr/line_test.cc
horance-liu/bankocr
ce1c0575eb4bd0b91991bc01b497f01af2e926a7
[ "Apache-2.0" ]
null
null
null
bankocr/line_test.cc
horance-liu/bankocr
ce1c0575eb4bd0b91991bc01b497f01af2e926a7
[ "Apache-2.0" ]
null
null
null
#include "bankocr/line.h" #include "cut/cut.hpp" USING_CUT_NS USING_CUM_NS FIXTURE(LineTest) { using Lines = std::vector<std::string>; static Line line(const Lines& lines) { Line merged; for (auto& line : lines) { merged.merge(line); } return merged; } static void expect(const Lines& l...
15.722581
68
0.367665
[ "vector" ]
cad2eeaf11da6a9d9cd593adcd38a1fa82d6c69f
811
cc
C++
src/filters/oidc/state_cookie_codec.cc
blockspacer/authservice
b40e1763a20e0a0aab73f4ec0f2cf6e477e855af
[ "Apache-2.0" ]
null
null
null
src/filters/oidc/state_cookie_codec.cc
blockspacer/authservice
b40e1763a20e0a0aab73f4ec0f2cf6e477e855af
[ "Apache-2.0" ]
null
null
null
src/filters/oidc/state_cookie_codec.cc
blockspacer/authservice
b40e1763a20e0a0aab73f4ec0f2cf6e477e855af
[ "Apache-2.0" ]
null
null
null
#include "state_cookie_codec.h" #include <sstream> #include "absl/strings/str_join.h" #include "absl/strings/str_split.h" namespace authservice { namespace filters { namespace oidc { namespace { const char *separator = ";"; } std::string StateCookieCodec::Encode(absl::string_view state, ...
30.037037
79
0.691739
[ "vector" ]
cad4622dd5769a96cf0592d43a0769d4aa095fee
5,981
cxx
C++
Modules/Filtering/DisplacementField/test/itkDisplacementFieldToBSplineImageFilterTest.cxx
hendradarwin/ITK
12f11d1f408680d24b6380856dd28dbe43582285
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/DisplacementField/test/itkDisplacementFieldToBSplineImageFilterTest.cxx
hendradarwin/ITK
12f11d1f408680d24b6380856dd28dbe43582285
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/DisplacementField/test/itkDisplacementFieldToBSplineImageFilterTest.cxx
hendradarwin/ITK
12f11d1f408680d24b6380856dd28dbe43582285
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
33.79096
104
0.693028
[ "vector" ]
cae535919f8e094ee6e9b281d2fdb099a7f85ac8
2,492
cpp
C++
police.cpp
Redoblue/find-the-bombs
9f87abdd895c81acfb24bb697bcfd226004d95dd
[ "MIT" ]
null
null
null
police.cpp
Redoblue/find-the-bombs
9f87abdd895c81acfb24bb697bcfd226004d95dd
[ "MIT" ]
null
null
null
police.cpp
Redoblue/find-the-bombs
9f87abdd895c81acfb24bb697bcfd226004d95dd
[ "MIT" ]
null
null
null
#include "police.h" /* from stl */ #include <iostream> Police::Police(const cv::Mat &frame, const cv::Rect &rect, const int num_dogs) { ColorHistogram ch; cv::Mat imgROI = frame(rect); cv::Mat *hist = ch.getHueHistogram(imgROI, 40); for (int i = 0; i < num_dogs; i++) { Dog *pd = new Dog(frame...
25.428571
80
0.50321
[ "vector" ]
caf17b218ed1c226aaa3f19ddcdb9f99829c3e13
2,628
cpp
C++
leetcode/problems/medium/1409-queries-on-a-permutation-with-key.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/1409-queries-on-a-permutation-with-key.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/1409-queries-on-a-permutation-with-key.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Queries on a Permutation With Key https://leetcode.com/problems/queries-on-a-permutation-with-key/ Given the array queries of positive integers between 1 and m, you have to process all queries[i] (from i=0 to i=queries.length-1) according to the following rules: In the beginning, you have the permutation P=[1,2,3,...
32.04878
221
0.552131
[ "vector" ]
caf966caca187724b5d30a89871879396a5e6322
686
hpp
C++
teas/teaport_utils/environ.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
teas/teaport_utils/environ.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
teas/teaport_utils/environ.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #ifdef _WIN32 #define PATH_DELIMITER ';' #else #define PATH_DELIMITER ':' #endif namespace tea { class EnvironSetter { public: EnvironSetter(const std::string& name); operator std::string() { return to_string(); } std::string to_string(...
22.129032
57
0.629738
[ "vector" ]
1b03d09f95623d3094be710d801e47afeed9e32a
5,234
cpp
C++
Code/Tools/AssetProcessor/native/AssetManager/ControlRequestHandler.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Tools/AssetProcessor/native/AssetManager/ControlRequestHandler.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Tools/AssetProcessor/native/AssetManager/ControlRequestHandler.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <native/AssetManager/ControlRequestHandler.h> #if !defined(Q_MOC_RUN) #include <QHostAddre...
32.918239
158
0.691632
[ "3d" ]
db61d963bd57cbf127999b7193a28a51c76d71f3
3,079
cpp
C++
src/mattree/NFANode.cpp
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
4
2018-08-23T08:05:33.000Z
2019-06-13T09:23:27.000Z
src/mattree/NFANode.cpp
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
src/mattree/NFANode.cpp
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
// // $Id: NFANode.cpp 5027 2010-02-18 19:41:48Z rares $ // // Copyright (C) 2004 - 2007 by The Regents of the University of // California // // Redistribution of this file is permitted under the terms of the // BSD license // // Date: October, 2004 // // Author: // Liang Jin <liangj (at) ics...
24.054688
73
0.538162
[ "vector" ]
db6270b07b4f0b2b3c6647edae95cbe0f8136789
8,105
hpp
C++
src/LogisticRegressionModel.hpp
bw-young/MachineLearning
fd309002d80b20579f595d07263a0ac59d5c3b80
[ "MIT" ]
null
null
null
src/LogisticRegressionModel.hpp
bw-young/MachineLearning
fd309002d80b20579f595d07263a0ac59d5c3b80
[ "MIT" ]
null
null
null
src/LogisticRegressionModel.hpp
bw-young/MachineLearning
fd309002d80b20579f595d07263a0ac59d5c3b80
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////// // Class and methods for developing and evaluating a logistic // // regression model. // // // // Source: Saishruthi Swaminathan (L...
36.674208
101
0.530907
[ "vector", "model", "transform" ]
db67f85ffa31ad72dcf948052cd325096c03429c
1,125
tpp
C++
include/mgcpp/operations/hdmd.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
48
2018-01-02T03:47:18.000Z
2021-09-09T05:55:45.000Z
include/mgcpp/operations/hdmd.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
24
2017-12-27T18:03:13.000Z
2018-07-02T09:00:30.000Z
include/mgcpp/operations/hdmd.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
6
2018-01-14T14:06:10.000Z
2018-10-16T08:43:01.000Z
// Copyright RedPortal, mujjingun 2017 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <mgcpp/kernels/mgblas_lv1.hpp> #include <mgcpp/operations/hdmd.hpp> #include <mgcpp/system/as...
31.25
78
0.692444
[ "shape" ]
db689262683d122838e75a13cc517db78c374698
16,048
cpp
C++
samples/gl/MultipleLights.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
6
2019-01-25T08:41:14.000Z
2021-08-22T07:06:11.000Z
samples/gl/MultipleLights.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
null
null
null
samples/gl/MultipleLights.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
3
2019-01-25T08:41:16.000Z
2020-09-04T06:04:29.000Z
// // Created by huangkun on 04/04/2018. // #include "MultipleLights.h" TEST_NODE_IMP_BEGIN MultipleLights::MultipleLights() { const char *vert = R"( #version 330 core layout (location = 0) in vec3 a_position; layout (location = 1) in vec3 a_normal; layout (location = 2) in vec2 a_texCoords; out vec3 Nor...
37.062356
119
0.581505
[ "object", "model", "transform" ]
db6a22ab40a779cf47c9f95b30a7869eb82b1d1d
19,112
cpp
C++
src/game/shared/swarm/asw_alien_goo_shared.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
3
2015-05-17T02:33:00.000Z
2016-10-08T07:02:40.000Z
src/game/shared/swarm/asw_alien_goo_shared.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
null
null
null
src/game/shared/swarm/asw_alien_goo_shared.cpp
BenLubar/SwarmDirector2
78685d03eaa0d35e87c638ffa78f46f3aa8379a6
[ "Apache-2.0" ]
1
2019-10-16T15:21:56.000Z
2019-10-16T15:21:56.000Z
#include "cbase.h" #ifdef CLIENT_DLL #define CBaseFlex C_BaseFlex #define CASW_Alien_Goo C_ASW_Alien_Goo #define CASW_Grub_Sac C_ASW_Grub_Sac #include "c_asw_generic_emitter_entity.h" #include "c_asw_fx.h" #include "baseparticleentity.h" #include "asw_util_shared.h" #else #include "EntityFlame.h" #include "asw...
27.45977
139
0.71081
[ "mesh", "vector" ]
db6bed2044ed827ce79ab22887f9f000cb44b235
21,438
cpp
C++
lib/cpp-test/hawkes/model/hawkes_models_gtest.cpp
sumau/tick
1b56924a35463e12f7775bc0aec182364f26f2c6
[ "BSD-3-Clause" ]
411
2017-03-30T15:22:05.000Z
2022-03-27T01:58:34.000Z
lib/cpp-test/hawkes/model/hawkes_models_gtest.cpp
saurabhdash/tick
bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48
[ "BSD-3-Clause" ]
345
2017-04-13T14:53:20.000Z
2022-03-26T00:46:22.000Z
lib/cpp-test/hawkes/model/hawkes_models_gtest.cpp
saurabhdash/tick
bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48
[ "BSD-3-Clause" ]
102
2017-04-25T11:47:53.000Z
2022-02-15T11:45:49.000Z
// License: BSD 3 clause #include <algorithm> #include <complex> #include <numeric> #define DEBUG_COSTLY_THROW 1 #include <gtest/gtest.h> #include "tick/hawkes/model/model_hawkes_sumexpkern_loglik_single.h" #include <cereal/archives/portable_binary.hpp> #include <cereal/types/unordered_map.hpp> #include <fstream> ...
29.24693
83
0.729639
[ "vector", "model" ]
db6ec8c4b1ee0c70d305ef0871bda69bac6452ce
5,446
cpp
C++
app/gnp_torus.cpp
vaidehi8913/VieCut
f4bd2b468689cb8e5e11f18f1bb21468a119083d
[ "MIT" ]
22
2020-06-12T07:26:45.000Z
2022-03-03T17:03:08.000Z
app/gnp_torus.cpp
vaidehi8913/VieCut
f4bd2b468689cb8e5e11f18f1bb21468a119083d
[ "MIT" ]
4
2019-09-04T10:39:39.000Z
2020-05-26T05:25:35.000Z
app/gnp_torus.cpp
vaidehi8913/VieCut
f4bd2b468689cb8e5e11f18f1bb21468a119083d
[ "MIT" ]
3
2020-12-11T13:43:45.000Z
2021-11-09T15:08:58.000Z
/****************************************************************************** * gnp_torus.cpp * * Source of VieCut. * ****************************************************************************** * Copyright (C) 2019 Alexander Noe <alexander.noe@univie.ac.at> * * Published under the MIT license in the LICENS...
33.006061
80
0.527176
[ "vector" ]
db7430414e6b6b74c449040b272475199daba0a0
4,496
cpp
C++
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy_at.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy_at.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy_at.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
27.925466
104
0.642571
[ "object" ]
db7487eadbdfdfadd5bcd6bb943875b7fd87b534
1,707
cpp
C++
GEngine/Collision/Geometry/GESphereGeometry.cpp
jsyishan/GomiEngine
7fd4c1ba19a2711373e3c4120427c0b19c869e8b
[ "MIT" ]
null
null
null
GEngine/Collision/Geometry/GESphereGeometry.cpp
jsyishan/GomiEngine
7fd4c1ba19a2711373e3c4120427c0b19c869e8b
[ "MIT" ]
2
2018-03-17T15:46:33.000Z
2018-03-17T15:55:13.000Z
GEngine/Collision/Geometry/GESphereGeometry.cpp
jsyishan/GomiEngine
7fd4c1ba19a2711373e3c4120427c0b19c869e8b
[ "MIT" ]
null
null
null
#include <cmath> #include <new> #include "GESphereGeometry.h" #include "../../Math/GEConstant.h" #include "../../Math/GEMatrix33.h" #include "../../Math/GEVector.h" namespace ge { Geometry* SphereGeometry::clone(SmallObjectAllocator* allocator) const { void* mem = allocator->allocate(sizeof(SphereGeometry...
31.611111
118
0.59754
[ "geometry", "transform" ]
db798ac3a58d310abbbb98810ca7922579e07d43
15,338
cpp
C++
Source/FileSystem.cpp
MarcArizaAlborni/VeryRealEngine
bc666f29e336c461d1a9a348623e7d5d1a2be9e3
[ "MIT" ]
null
null
null
Source/FileSystem.cpp
MarcArizaAlborni/VeryRealEngine
bc666f29e336c461d1a9a348623e7d5d1a2be9e3
[ "MIT" ]
null
null
null
Source/FileSystem.cpp
MarcArizaAlborni/VeryRealEngine
bc666f29e336c461d1a9a348623e7d5d1a2be9e3
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "Definitions.h" #include "FileSystem.h" #include "Component.h" #include "ComponentTexture.h" #include "ComponentMesh.h" #include "ComponentTransform.h" #include "ModuleMeshImporter.h" #include "ModuleTextureImporter.h" #include "GameObject.h" #include "libraries/P...
20.505348
155
0.677468
[ "mesh", "vector" ]
db86c57fb47b4475cff17dd3498f0d21cb0f9e81
3,666
cpp
C++
src/cast_ray.cpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
src/cast_ray.cpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
src/cast_ray.cpp
AnttiVainio/Ray-tracer
0843aeb490b14417d47b844ebaa4174617833568
[ "Unlicense" ]
null
null
null
/** cast_ray.cpp **/ #include "global.hpp" #include "polygon.hpp" #include "math.hpp" //Makes the ray collision calculation //Returns false for cast_ray function to try to calculate with different values if something is about to be divided by zero bool cast_ray2(float &a, float &b, float &c, float &rx, float &ry, flo...
35.941176
123
0.626568
[ "vector", "3d" ]
db8c6139bfa484ddbf1b10ba3e485c8ced05adb7
14,831
cpp
C++
third_party/skia_m79/third_party/externals/angle2/src/tests/gl_tests/WebGLReadOutsideFramebufferTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
6
2018-10-20T10:53:55.000Z
2021-12-25T07:58:57.000Z
third_party/skia_m79/third_party/externals/angle2/src/tests/gl_tests/WebGLReadOutsideFramebufferTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m79/third_party/externals/angle2/src/tests/gl_tests/WebGLReadOutsideFramebufferTest.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
9
2018-10-31T03:07:11.000Z
2021-08-06T08:53:21.000Z
// // Copyright 2017 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // WebGLReadOutsideFramebufferTest.cpp : Test functions which read the framebuffer (readPixels, // copyTexSubImage2D, copyTexImage2D) on areas ...
37.0775
100
0.628616
[ "vector" ]
db91510649651c7236f0a3efa4822bf0bb7ef699
10,021
hpp
C++
luapp/VarBridgeExtra.hpp
ToyAuthor/luapp
080ebe9b1f547db118934f01b423f5ccb21907e4
[ "MIT" ]
9
2016-05-13T10:58:07.000Z
2022-03-02T20:35:24.000Z
extlibs/lua/luapp/VarBridgeExtra.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
2
2018-09-19T03:32:28.000Z
2020-03-30T05:39:46.000Z
luapp/VarBridgeExtra.hpp
ToyAuthor/luapp
080ebe9b1f547db118934f01b423f5ccb21907e4
[ "MIT" ]
7
2016-05-13T10:58:32.000Z
2021-05-10T02:11:23.000Z
#pragma once #include <cstring> #include "luapp/LuaAPI.hpp" #include "luapp/TypeString.hpp" namespace lua{ //------------------------------------------------------------------------------ template<typename T> class _ClassZone { public: _ClassZone(){} ~_ClassZone(){} static int destructor(lua::NativeState...
26.938172
104
0.470512
[ "object" ]
db9584580307e3eecf12ce48dd31f43c343244fc
14,441
hpp
C++
Includes/Rosetta/PlayMode/Tasks/ComplexTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Tasks/ComplexTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Tasks/ComplexTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_PLAYMODE_COMPLEX_TASK_HPP #define ROSETTA...
42.225146
80
0.596011
[ "vector" ]
db973455e3cc472bc77b1b8982c28d541ffca835
18,585
cc
C++
src/profile-handler.cc
ncopa/gperftools
c69721b2b2ceae426c36de191dd0a6fa443c5c7a
[ "BSD-3-Clause" ]
null
null
null
src/profile-handler.cc
ncopa/gperftools
c69721b2b2ceae426c36de191dd0a6fa443c5c7a
[ "BSD-3-Clause" ]
null
null
null
src/profile-handler.cc
ncopa/gperftools
c69721b2b2ceae426c36de191dd0a6fa443c5c7a
[ "BSD-3-Clause" ]
1
2021-11-24T05:40:35.000Z
2021-11-24T05:40:35.000Z
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2009, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source cod...
31.878216
84
0.726016
[ "object" ]
db9d92d8b0984f65c97e293acc7c80d28bdd90ea
362
hpp
C++
Model.hpp
aprithul/CPP-Software-Renderer
9ee00b28c140287ed3773fe9f941e55797879bd5
[ "MIT" ]
null
null
null
Model.hpp
aprithul/CPP-Software-Renderer
9ee00b28c140287ed3773fe9f941e55797879bd5
[ "MIT" ]
null
null
null
Model.hpp
aprithul/CPP-Software-Renderer
9ee00b28c140287ed3773fe9f941e55797879bd5
[ "MIT" ]
null
null
null
#ifndef MODEL_HPP #define MODEL_HPP #include "Utils.hpp" #include "Transform.hpp" #include "Mesh.hpp" namespace rendering { class Model { public: Model(rendering::Mesh* mesh, double scaling_factor); rendering::Mesh* mesh; rendering::Transform transform; ...
15.73913
64
0.616022
[ "mesh", "model", "transform" ]
dba426ea42123117106729a2963c439c5f9f0160
4,626
cpp
C++
src/server/cpp/server.cpp
YuriySavchenko/Messenger
ee515765f3654e7d8db4556bdd393077558c70df
[ "Apache-2.0" ]
3
2018-12-02T14:15:37.000Z
2019-12-09T10:08:00.000Z
src/server/cpp/server.cpp
YuriySavchenko/Messenger
ee515765f3654e7d8db4556bdd393077558c70df
[ "Apache-2.0" ]
null
null
null
src/server/cpp/server.cpp
YuriySavchenko/Messenger
ee515765f3654e7d8db4556bdd393077558c70df
[ "Apache-2.0" ]
null
null
null
#include "../headers/server.h" /* implementation explicit constructor */ Server::Server() { this->server_sock = -1; this->client_sock = -1; this->port = 1234; this->ip = "127.0.0.1"; this->count = 0; } /* implementation particular constructor */ Server::Server(std::string ip, int port) { thi...
26.135593
125
0.57955
[ "vector" ]
dba56c8c0912ccc0c47b43594c865eaabb0f9feb
9,104
cpp
C++
Extensions/TiledSpriteObject/Extension.cpp
nailuj29gaming/GDevelop
e4dff72e74a5050759fc97a67e4c81f47a61b69b
[ "MIT" ]
2
2020-05-23T14:15:30.000Z
2020-06-20T13:23:59.000Z
Extensions/TiledSpriteObject/Extension.cpp
Saurav1905/GDevelop
2811eef4e072ab35cf35ca22562ccd9f854cae9f
[ "MIT" ]
null
null
null
Extensions/TiledSpriteObject/Extension.cpp
Saurav1905/GDevelop
2811eef4e072ab35cf35ca22562ccd9f854cae9f
[ "MIT" ]
null
null
null
/** GDevelop - Tiled Sprite Extension Copyright (c) 2012-2016 Victor Levasseur (victorlevasseur01@orange.fr) Copyright (c) 2014-2016 Florian Rival (Florian.Rival@gmail.com) This project is released under the MIT License. */ #include <iostream> #include "GDCpp/Extensions/ExtensionBase.h" #include "TiledSpriteObject.h...
35.701961
79
0.607645
[ "object" ]
dba5ea9e064a07c9ef13df93c6ac749e40ab5311
242
cpp
C++
main.cpp
achimett/Qontainer
ad59dbfa32ef3e0e48b6a9564373504b7a9d6fd8
[ "MIT" ]
null
null
null
main.cpp
achimett/Qontainer
ad59dbfa32ef3e0e48b6a9564373504b7a9d6fd8
[ "MIT" ]
null
null
null
main.cpp
achimett/Qontainer
ad59dbfa32ef3e0e48b6a9564373504b7a9d6fd8
[ "MIT" ]
3
2019-10-18T16:33:43.000Z
2021-01-21T12:02:06.000Z
#include <QApplication> #include "MainView.hpp" #include "Model.hpp" int main(int argc, char *argv[]) { QApplication a(argc, argv); Model m(&a); m.newBox(); MainView w; View::initialize(&w, &m); w.show(); return a.exec(); }
13.444444
32
0.619835
[ "model" ]
dba64d03fd73b5c2da8652807e6ac9b4094d736e
10,024
cpp
C++
examples/Mechanics/JointsTests/NE_BouncingBeam.cpp
stpua/siconos
01cd4a134746b2b22e6473e7a1d8e5bc892cc2a9
[ "Apache-2.0" ]
null
null
null
examples/Mechanics/JointsTests/NE_BouncingBeam.cpp
stpua/siconos
01cd4a134746b2b22e6473e7a1d8e5bc892cc2a9
[ "Apache-2.0" ]
null
null
null
examples/Mechanics/JointsTests/NE_BouncingBeam.cpp
stpua/siconos
01cd4a134746b2b22e6473e7a1d8e5bc892cc2a9
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
31.721519
132
0.612231
[ "vector", "model", "solid" ]
dbaf51fbaeb0cdd577d724351f7da9a6cef51caf
384
cpp
C++
util/vector_reader.cpp
intns/utillib
0cc0fcedb31ec388d44c021f79d80c45cc3e29fb
[ "Unlicense" ]
6
2021-09-18T13:42:28.000Z
2021-09-29T06:25:49.000Z
util/vector_reader.cpp
intns/MODConv
a557e73ffcb18cd1dc6b4e14a8d7e1ef0b4f9e87
[ "Unlicense" ]
null
null
null
util/vector_reader.cpp
intns/MODConv
a557e73ffcb18cd1dc6b4e14a8d7e1ef0b4f9e87
[ "Unlicense" ]
null
null
null
#include <util/vector_reader.hpp> namespace util { vector_reader::vector_reader(Endianness endianness) : m_buffer({ 0 }) , m_position(0) , m_endianness(endianness) { } vector_reader::vector_reader(std::vector<u8> bytes, std::size_t position, Endianness endianness) : m_buffer(bytes) , m_position(p...
20.210526
96
0.710938
[ "vector" ]
dbaf6dfa21e9f05f9037c6a06a28ec978273a083
3,534
cpp
C++
source/sqlcopy.cpp
Santili/cppsqlx
32ba861d737cb16c2e337209c1c54e10fa575d3c
[ "MIT" ]
null
null
null
source/sqlcopy.cpp
Santili/cppsqlx
32ba861d737cb16c2e337209c1c54e10fa575d3c
[ "MIT" ]
null
null
null
source/sqlcopy.cpp
Santili/cppsqlx
32ba861d737cb16c2e337209c1c54e10fa575d3c
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2016, Santili Y-HRAH KRONG * 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 * lis...
21.950311
83
0.651952
[ "vector" ]
dbb73cb683622b2aac4831b6855bda15307f2fae
812
cpp
C++
14.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
1
2016-06-21T16:29:37.000Z
2016-06-21T16:29:37.000Z
14.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
14.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
class Solution { public: /** * @param nums: The integer array. * @param target: Target number to find. * @return: The first position of target. Position starts from 0. */ int binarySearch(vector<int> &array, int target) { // write your code here int ar_n=array.size(); ...
26.193548
70
0.511084
[ "vector" ]
dbb828597ec3e7a72502225b7c5294861c310181
2,042
cc
C++
elements/ip6/setip6dscp.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/ip6/setip6dscp.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/ip6/setip6dscp.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
/* * setip6dscp.{cc,hh} -- element sets IP6 header DSCP field * Frederik Scholaert * * Copyright (c) 2002 Massachusetts Institute of Technology * * 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 th...
24.309524
77
0.708129
[ "vector" ]
dbb90d8d0398ef46a8b7c8dd0c0d6c166d724735
4,684
cpp
C++
PDS II/VPL 04 - Polígonos/polygon.cpp
nataliaellem/aeds
59b0b5af000baad10f868ed714c43be77f94643b
[ "MIT" ]
4
2020-04-19T15:36:00.000Z
2021-10-21T00:06:21.000Z
PDS II/VPL 04 - Polígonos/polygon.cpp
nataliaellem/aeds
59b0b5af000baad10f868ed714c43be77f94643b
[ "MIT" ]
null
null
null
PDS II/VPL 04 - Polígonos/polygon.cpp
nataliaellem/aeds
59b0b5af000baad10f868ed714c43be77f94643b
[ "MIT" ]
1
2020-04-26T04:13:22.000Z
2020-04-26T04:13:22.000Z
/** * Todas as tarefas deste exercicio devem ser feitas sobre esse arquivo. * Os metodos e operacoes marcados com a tag "TODO" devem ser editados. */ #include <iostream> #include <typeinfo> #include "polygon.h" std::ostream& operator << (std::ostream &out, const Polygon &poly) { for (const Point& p: poly.limits)...
27.552941
107
0.588813
[ "vector" ]
dbbb3bb602b0bd70190c7a37572f78c4d7733303
179
cpp
C++
plugins/core/client/src/Madgine/render/rendercontextcollector.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/core/client/src/Madgine/render/rendercontextcollector.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/core/client/src/Madgine/render/rendercontextcollector.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../clientlib.h" #include "rendercontextcollector.h" #include "Modules/uniquecomponent/uniquecomponentregistry.h" DEFINE_UNIQUE_COMPONENT(Engine::Render, RenderContext)
29.833333
60
0.826816
[ "render" ]
dbbf92b61acf3e200e118142498faa4e1424ade1
611
cpp
C++
Dec2020/5Dec/LastStoneWeight.cpp
shivanisbp/2monthsOfCoding
26dc53e3160c7b313dff974b957c81350bf9f1a1
[ "MIT" ]
null
null
null
Dec2020/5Dec/LastStoneWeight.cpp
shivanisbp/2monthsOfCoding
26dc53e3160c7b313dff974b957c81350bf9f1a1
[ "MIT" ]
null
null
null
Dec2020/5Dec/LastStoneWeight.cpp
shivanisbp/2monthsOfCoding
26dc53e3160c7b313dff974b957c81350bf9f1a1
[ "MIT" ]
null
null
null
/* Problem name: 1046. Last Stone Weight Problem link: https://leetcode.com/problems/last-stone-weight/ */ class Solution { public: int lastStoneWeight(vector<int>& stones) { priority_queue <int> pq; for(int i=0;i<stones.size();++i) pq.push(stones[i]); while(pq.size() >...
22.62963
62
0.456628
[ "vector" ]
3a79caef624fd12f1bf3e2397f5fc97cbbb47a9c
1,550
cpp
C++
src/tests/core/Test_Constraint.cpp
sjunges/carl
5013c31c035990d9912a6265944e7d4add4c378b
[ "MIT" ]
29
2015-05-19T12:17:16.000Z
2021-03-05T17:53:00.000Z
src/tests/core/Test_Constraint.cpp
sjunges/carl
5013c31c035990d9912a6265944e7d4add4c378b
[ "MIT" ]
36
2016-10-26T12:47:11.000Z
2021-03-03T15:19:38.000Z
src/tests/core/Test_Constraint.cpp
sjunges/carl
5013c31c035990d9912a6265944e7d4add4c378b
[ "MIT" ]
16
2015-05-27T07:35:19.000Z
2021-03-05T17:53:08.000Z
#include "gtest/gtest.h" #include <carl-extpolys/ConstraintOperations.h> #include "carl/util/stringparser.h" #include "../Common.h" #include <unordered_set> typedef mpq_class Rational; #if false typedef carl::MultivariatePolynomial<Rational> Pol; typedef carl::Constraint<Pol> PolCon; typedef carl::RationalFunction...
26.724138
105
0.674194
[ "vector" ]
3a79d9ea18dafae3e98044dcd97695ff53b045cb
331
cpp
C++
Ch03/Exercises/primer3.17.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
Ch03/Exercises/primer3.17.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
Ch03/Exercises/primer3.17.cpp
Sunrisepeak/gitskills
5f7eba38f114c011e2d1b73bb2be97ba2834c3a4
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<vector> #include<string> using std::cin; using std::cout; int main() { std::vector<std::string> v; std::string word; while(cin >> word) v.push_back(word); for(auto &c : v) { for(decltype(c.size()) i = 0; i < c.size(); i++) c[i] = toupper(c[i]); cout << c; putchar('\n'); } ...
17.421053
50
0.586103
[ "vector" ]
3a79ee42a14d84dc6684be4d65a283f8883b20f6
126,439
cpp
C++
src/newspump.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/newspump.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/newspump.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
24.618185
118
0.596311
[ "object" ]
3a7a42f5bfbb5b2a8523ecfa8c87847a6323ec9f
13,025
cc
C++
src/bgp/bgp_condition_listener.cc
codilime/contrail-controller-arch
e87a974950fc1bbdc2b834212dbdfee5e94008de
[ "Apache-2.0" ]
null
null
null
src/bgp/bgp_condition_listener.cc
codilime/contrail-controller-arch
e87a974950fc1bbdc2b834212dbdfee5e94008de
[ "Apache-2.0" ]
null
null
null
src/bgp/bgp_condition_listener.cc
codilime/contrail-controller-arch
e87a974950fc1bbdc2b834212dbdfee5e94008de
[ "Apache-2.0" ]
1
2020-07-04T12:08:02.000Z
2020-07-04T12:08:02.000Z
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "bgp/bgp_condition_listener.h" #include <boost/bind.hpp> #include <boost/foreach.hpp> #include <utility> #include "base/task_annotations.h" #include "base/task_trigger.h" #include "bgp/bgp_route.h" #include "bgp/bgp_server.h" #include...
32.974684
80
0.64499
[ "object" ]
3a7d0c7f5555ce141d6a25cf08a641c61e2689c6
8,011
hxx
C++
include/sched/job.hxx
jcbaillie/libport
b8192b177ae0ae63979c17ea7685a8617b03e11f
[ "BSD-3-Clause" ]
3
2015-05-29T09:35:32.000Z
2021-02-23T07:45:01.000Z
include/sched/job.hxx
jcbaillie/libport
b8192b177ae0ae63979c17ea7685a8617b03e11f
[ "BSD-3-Clause" ]
2
2019-01-31T10:23:47.000Z
2019-01-31T10:35:06.000Z
include/sched/job.hxx
jcbaillie/libport
b8192b177ae0ae63979c17ea7685a8617b03e11f
[ "BSD-3-Clause" ]
7
2015-01-29T20:49:06.000Z
2019-04-24T04:06:22.000Z
/* * Copyright (C) 2009-2012, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /** ** \file sched/job.hxx...
18.206818
79
0.630009
[ "model" ]
3a7fadb9dc9d71d9ab0c984c8d7eb51aa740118b
4,970
cpp
C++
01_Develop/libXMCocos2D/Source/extensions/CCArtPig/media/APSSpriteSheetHolder.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMCocos2D/Source/extensions/CCArtPig/media/APSSpriteSheetHolder.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMCocos2D/Source/extensions/CCArtPig/media/APSSpriteSheetHolder.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File APSSpriteSheetHolder.cpp * Author Y.H Mun * * -------------------------------------------------------------------------- * * Created by Kim Kiyoung on 5/7/12. * Copyright (c) 2012 A...
30.679012
116
0.614085
[ "vector" ]
3a83c053899feee788fb28f8590eda521e196cdf
75,007
cpp
C++
src/mods/FirstPerson.cpp
MeatSafeMurderer/REFramework
e275d7eccccfcb70311863b3f822428bdd74ce95
[ "MIT" ]
583
2021-06-05T06:56:54.000Z
2022-03-31T19:16:09.000Z
src/mods/FirstPerson.cpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
198
2021-07-13T02:54:19.000Z
2022-03-29T20:28:53.000Z
src/mods/FirstPerson.cpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
73
2021-07-12T18:52:12.000Z
2022-03-31T17:12:56.000Z
#include <unordered_set> #include <spdlog/spdlog.h> #include <imgui.h> #include "utility/Scan.hpp" #include "REFramework.hpp" #include "sdk/REMath.hpp" #include "sdk/MurmurHash.hpp" #include "VR.hpp" #include "FirstPerson.hpp" #if defined(RE2) || defined(RE3) FirstPerson* g_first_person = nullptr; std::shared_ptr...
42.257465
188
0.6451
[ "mesh", "render", "vector", "model", "transform" ]
3a86c14aeee48b9c3c964d8318bd4fb37dc7a1e9
9,265
hpp
C++
Source/AllProjects/DataUtils/CIDRegX/CIDRegX_RegExNFA.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/DataUtils/CIDRegX/CIDRegX_RegExNFA.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/DataUtils/CIDRegX/CIDRegX_RegExNFA.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDRegX_RegExNFA.hpp // // AUTHOR: Dean Roddey // // CREATED: 07/28/1998 // // 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://opensour...
30.986622
85
0.418025
[ "object" ]
3a8f3a5f866bd448cfefa7a35e13bc4f88275ad2
115,971
cpp
C++
Engine/Source/Developer/Profiler/Private/Widgets/SEventGraph.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Developer/Profiler/Private/Widgets/SEventGraph.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Developer/Profiler/Private/Widgets/SEventGraph.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Widgets/SEventGraph.h" #include "Widgets/Layout/SSplitter.h" #include "Containers/MapBuilder.h" #include "Widgets/SOverlay.h" #include "SlateOptMacros.h" #include "Framework/Application/SlateApplication.h" #include "Widgets/Layout/SSeparator.h" #in...
32.825078
256
0.736977
[ "geometry", "object" ]
3a97d26d256b7093a9aa5a27f01db2baa930d534
1,450
cpp
C++
lxt/file/unit_tests/test_path.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
null
null
null
lxt/file/unit_tests/test_path.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
2
2017-06-08T21:51:34.000Z
2017-06-08T21:51:56.000Z
lxt/file/unit_tests/test_path.cpp
justinsaunders/luxatron
d474c21fb93b8ee9230ad25e6113d43873d75393
[ "MIT" ]
null
null
null
/* * test_path.cpp * mac_test_runner * * Created by Justin on 5/04/09. * Copyright 2009 Monkey Style Games. All rights reserved. * */ #include <UnitTest++.h> #include "file/path.h" namespace Lxt { TEST( Test_Path_GetExtension ) { Path no_extension = "file"; Path empty_extension = "file."; Path sin...
31.521739
110
0.708966
[ "model" ]
3a982bd0f822929cc50e103b927a40b4789f005b
1,005
hpp
C++
include/Client/IGraphicLibrary.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/IGraphicLibrary.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/IGraphicLibrary.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
/* ** IGraphicLibrary.hpp for OOP_arcade_2019 in /home/arthurbertaud/Second_year/OOP/OOP_arcade_2019/core/include ** ** Made by arthurbertaud ** Login <EPITECH> ** ** Started on Mon Mar 9 11:16:44 AM 2020 arthurbertaud ** Last update Sun Apr 4 6:44:49 PM 2020 arthurbertaud */ #ifndef IGRAPHICLIBRARY_HPP_ #define IG...
19.705882
110
0.694527
[ "vector" ]
3a9b7249b6a0600f29d6912d74dc8fdadf420f38
5,114
cpp
C++
tests/draw.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
null
null
null
tests/draw.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
null
null
null
tests/draw.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
2
2022-02-15T15:19:55.000Z
2022-02-21T22:54:13.000Z
#include <array> #include <libchess/position.hpp> #include <string> #include <vector> #include "catch.hpp" TEST_CASE("Position::threefold() static") { using pair_type = std::pair<std::string, bool>; const std::array<pair_type, 4> tests = {{ {"startpos", false}, {"rnbqkbnr/pppppppp/8/8/8/8/PPPP...
33.207792
110
0.530309
[ "vector" ]
3a9e26901245b54016d47d92c7871eb11b697ba9
40,341
cpp
C++
src/llvmir2hlltool/llvmir2hll.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/llvmir2hlltool/llvmir2hll.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/llvmir2hlltool/llvmir2hll.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
null
null
null
/** * @file src/llvmir2hlltool/llvmir2hll.cpp * @brief Convertor of LLVM IR into the specified target high-level language. * @copyright (c) 2017 Avast Software, licensed under the MIT license * * The implementation of this tool is based on llvm/tools/llc/llc.cpp. */ #include <algorithm> #include <fstream> #include <me...
34.538527
118
0.741553
[ "object" ]
3a9f10c30dddb6f182d55180fab56acbb41e8b23
4,603
cpp
C++
src/smt/theory_utvpi.cpp
rashchedrin/z3
5de699f9cb301a34f71cd5734e0fd619590b0a90
[ "MIT" ]
2
2021-04-21T21:22:00.000Z
2021-06-18T14:57:42.000Z
src/smt/theory_utvpi.cpp
ekpyron/z3
28cb13fb96c15714eb244bf05d1d7f56e84cda5e
[ "MIT" ]
16
2016-04-13T23:48:33.000Z
2020-02-02T12:38:52.000Z
src/smt/theory_utvpi.cpp
ekpyron/z3
28cb13fb96c15714eb244bf05d1d7f56e84cda5e
[ "MIT" ]
null
null
null
/*++ Copyright (c) 2013 Microsoft Corporation Module Name: theory_utvpi.h Author: Nikolaj Bjorner (nbjorner) 2013-04-26 Revision History: The implementaton is derived from theory_diff_logic. --*/ #include "smt/theory_utvpi.h" #include "smt/theory_utvpi_def.h" namespace smt { template class ...
28.949686
92
0.451879
[ "vector" ]
3aa4d3ac919c96f4f7a0589606e5f1d9776bdbad
4,687
cc
C++
examples/simulated_annealing_rosenbrock.cc
eglrp/pallas-solver
c38f1f1d04d93cf8f553bc7395e8ecd96202671a
[ "BSD-2-Clause" ]
39
2016-05-16T11:54:34.000Z
2022-03-27T00:10:19.000Z
examples/simulated_annealing_rosenbrock.cc
eglrp/pallas-solver
c38f1f1d04d93cf8f553bc7395e8ecd96202671a
[ "BSD-2-Clause" ]
7
2017-12-15T15:11:04.000Z
2021-10-18T10:35:47.000Z
examples/simulated_annealing_rosenbrock.cc
latture/pallas-solver
c38f1f1d04d93cf8f553bc7395e8ecd96202671a
[ "BSD-2-Clause" ]
9
2018-04-17T22:36:40.000Z
2021-07-26T07:18:56.000Z
// Pallas Solver // Copyright 2015. 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 conditions and...
40.059829
109
0.650736
[ "object" ]
3aaedba3d423769b084589dbb545c3867438896c
11,414
cpp
C++
testing/adios2/bindings/C/TestBPWriteAggregateReadLocal.cpp
Carreau/ADIOS2
731e93f62bd1e25e88adcc8c44c055c41dcf4ee5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
testing/adios2/bindings/C/TestBPWriteAggregateReadLocal.cpp
Carreau/ADIOS2
731e93f62bd1e25e88adcc8c44c055c41dcf4ee5
[ "ECL-2.0", "Apache-2.0" ]
1
2020-01-15T15:07:21.000Z
2020-01-15T15:07:21.000Z
testing/adios2/bindings/C/TestBPWriteAggregateReadLocal.cpp
Carreau/ADIOS2
731e93f62bd1e25e88adcc8c44c055c41dcf4ee5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * TestBPWriteAggregateReadLocal.cpp * * Created on: Jan 11, 2019 * Author: William F Godoy godoywf@ornl.gov */ #include <adios2_c.h> #ifdef ADIOS2_HAVE_MPI #include <mpi.h> #endif ...
29.958005
80
0.550114
[ "vector" ]
3ab0339ee9696309e69764184f3344c7a80f13b7
32,206
cxx
C++
IO/VeraOut/vtkVeraOutReader.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
1
2021-10-03T16:47:04.000Z
2021-10-03T16:47:04.000Z
IO/VeraOut/vtkVeraOutReader.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
null
null
null
IO/VeraOut/vtkVeraOutReader.cxx
forestGzh/VTK
bc98327275bd5cfa95c5825f80a2755a458b6da8
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkVeraOutReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
33.099692
100
0.54732
[ "vector" ]
3ab0f992ee6eb173fd0457109ee6c7feede62fbc
2,901
cpp
C++
dev/Gems/GraphModel/Code/Source/Model/Connection.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
6
2018-01-21T14:07:01.000Z
2020-03-13T17:57:26.000Z
dev/Gems/GraphModel/Code/Source/Model/Connection.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
null
null
null
dev/Gems/GraphModel/Code/Source/Model/Connection.cpp
BenjaminHCheung/lumberyard
f875f9634ebb128d1bbb5334720596e19cb6db54
[ "AML" ]
6
2020-06-04T04:21:02.000Z
2021-06-22T17:09:27.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...
31.879121
116
0.68011
[ "model" ]
3ab30b4c527ec3acd8124373fe9e9832578c6d54
4,674
cpp
C++
Engine/src/Razix/Core/OS/VFS.cpp
Divya899/Razix
64bea79190f0873f33844a94e32347a352783949
[ "Apache-2.0" ]
null
null
null
Engine/src/Razix/Core/OS/VFS.cpp
Divya899/Razix
64bea79190f0873f33844a94e32347a352783949
[ "Apache-2.0" ]
null
null
null
Engine/src/Razix/Core/OS/VFS.cpp
Divya899/Razix
64bea79190f0873f33844a94e32347a352783949
[ "Apache-2.0" ]
null
null
null
#include "rzxpch.h" #include "VFS.h" #include "Razix/Core/Log.h" #include "Razix/Core/SplashScreen.h" #include "Razix/Core/OS/FileSystem.h" #include "Razix/Utilities/StringUtilities.h" namespace Razix { VFS* VFS::s_Instance = nullptr; void VFS::StartUp() { RAZIX_CORE_INFO("Starting Up Virtual Fil...
37.392
120
0.629012
[ "vector" ]
3ab6091a75a387f44810bd5d95386b252e34c8e1
4,766
cpp
C++
Tutorials/Tools/shader_manager.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
344
2017-05-05T11:16:01.000Z
2021-11-22T10:57:53.000Z
Tutorials/Tools/shader_manager.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
65
2017-05-15T12:20:23.000Z
2020-03-08T10:05:31.000Z
Tutorials/Tools/shader_manager.cpp
pribault/RadeonRays_SDK
b9bda1fcdb806c5f0f157b17d473daa5f45e3ce1
[ "MIT" ]
107
2017-05-06T23:18:44.000Z
2022-01-31T07:23:34.000Z
/********************************************************************** Copyright (c) 2016 Advanced Micro Devices, Inc. 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...
28.710843
103
0.642677
[ "object", "vector" ]
3ab9b118743fe8dc1db16e4359a5388eeaac51b8
5,478
hpp
C++
src/cpp/subprocess/basic_types.hpp
merly-ai/subprocess
bddef925a19a8b1035799bfd5a2163311750f4f4
[ "MIT" ]
null
null
null
src/cpp/subprocess/basic_types.hpp
merly-ai/subprocess
bddef925a19a8b1035799bfd5a2163311750f4f4
[ "MIT" ]
null
null
null
src/cpp/subprocess/basic_types.hpp
merly-ai/subprocess
bddef925a19a8b1035799bfd5a2163311750f4f4
[ "MIT" ]
null
null
null
#pragma once #ifdef _WIN32 #define NOMINMAX #include <windows.h> #else #include <unistd.h> #endif #include <map> #include <stdexcept> #include <string> #include <vector> #include <csignal> // Fucking stdout, stderr, stdin are macros. So instead of stdout,... // we will use cin, cout, cerr as variable names namespa...
30.265193
79
0.59602
[ "vector" ]
3ac4bf9534c6d9eb33f2c6885cdb6eeb17f361fb
1,969
cpp
C++
ZOJ/1610/16718396_AC_40ms_524kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
ZOJ/1610/16718396_AC_40ms_524kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
ZOJ/1610/16718396_AC_40ms_524kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2018-10-29 14:53:32 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #define leftSon left,m...
20.946809
97
0.611478
[ "vector" ]
3ac7855e402d58b5fb71eb121acb064e3fc0fe29
4,475
cc
C++
base/android/jni_array_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2018-11-24T07:58:44.000Z
2019-02-22T21:02:46.000Z
base/android/jni_array_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
base/android/jni_array_unittest.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.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 "base/android/jni_array.h" #include "base/android/jni_android.h" #include "base/android/scoped_java_ref.h" #include "testing/gtest/include/g...
30.033557
79
0.682905
[ "object", "vector" ]
3ac97d92515f8c465019cd412d80294fea50ca11
18,062
cxx
C++
VirtualReality/qSlicerVirtualRealityModuleWidget.cxx
KitwareMedical/SlicerOpenVR
e40e0b118f38ccd88b9e8a2bd619f06fbf544b84
[ "Apache-2.0" ]
5
2017-10-17T13:29:01.000Z
2018-01-21T06:36:15.000Z
VirtualReality/qSlicerVirtualRealityModuleWidget.cxx
KitwareMedical/SlicerOpenVR
e40e0b118f38ccd88b9e8a2bd619f06fbf544b84
[ "Apache-2.0" ]
19
2017-10-17T13:18:35.000Z
2018-02-06T23:34:20.000Z
VirtualReality/qSlicerVirtualRealityModuleWidget.cxx
KitwareMedical/SlicerOpenVR
e40e0b118f38ccd88b9e8a2bd619f06fbf544b84
[ "Apache-2.0" ]
9
2017-09-27T19:40:19.000Z
2018-01-17T00:12:07.000Z
/*============================================================================== Program: 3D Slicer Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to ...
42.599057
130
0.69051
[ "3d" ]
3acbda1df623aeb360dc93ae9cd71ab833191115
9,201
cpp
C++
esp32/components/rpg/rpg.cpp
nsec/nsec16
7c012abac54a4f7627da27dce38b0370918b1717
[ "MIT" ]
25
2017-12-22T18:49:30.000Z
2021-11-09T11:59:42.000Z
esp32/components/rpg/rpg.cpp
nsec/nsec16
7c012abac54a4f7627da27dce38b0370918b1717
[ "MIT" ]
6
2018-10-01T19:27:51.000Z
2021-05-30T21:28:02.000Z
esp32/components/rpg/rpg.cpp
nsec/nsec16
7c012abac54a4f7627da27dce38b0370918b1717
[ "MIT" ]
2
2019-03-22T03:15:30.000Z
2020-11-05T19:39:57.000Z
#include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "rpg.h" #include "rpg_const.h" #include "rpg_control.h" #include "rpg/ChestObject.h" #include "rpg/Coordinates.h" #include "rpg/KonamiHandler.h" #include "rpg/Scene.h" #include "rpg/characters/CharacterAngela.h" #include "rpg/characters/CharacterArist...
38.822785
80
0.734159
[ "render" ]
3acd1b2b9a7d377fee4f28d25ec214f64b521bb4
136,734
cpp
C++
v3d_main/terafly/src/control/CViewer.cpp
hanchuan/vaa3d_external
d6381572dec4079705ac5d3e39c9556b50472403
[ "MIT" ]
null
null
null
v3d_main/terafly/src/control/CViewer.cpp
hanchuan/vaa3d_external
d6381572dec4079705ac5d3e39c9556b50472403
[ "MIT" ]
null
null
null
v3d_main/terafly/src/control/CViewer.cpp
hanchuan/vaa3d_external
d6381572dec4079705ac5d3e39c9556b50472403
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------------------ // Copyright (c) 2012 Alessandro Bria and Giulio Iannello (University Campus Bio-Medico of Rome). // All rights reserved. //------------------------------------------------------------------------------------------------...
52.529389
312
0.594666
[ "object", "vector", "model", "3d" ]
3ada196f92a5071111eb87f677953ddb10dc09a6
3,039
cpp
C++
src/build/boc-shell/expression_visitor.cpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/build/boc-shell/expression_visitor.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/build/boc-shell/expression_visitor.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#include "expression_visitor.hpp" #include "argument_visitor.hpp" #include "program_visitor.hpp" #include "symbols.hpp" #include "stack.hpp" #include "log/log.hpp" #include "utility/zip.hpp" gorc::shvalue gorc::expression_visitor::visit(argument_expression &e) const { return ast_visit(argument_visitor(), e.value);...
27.378378
86
0.634748
[ "vector" ]
3adb9b00d6215108baa62a74347a50f7ea99bd77
7,090
hpp
C++
source/grid_utils.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
source/grid_utils.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
source/grid_utils.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #include <algorithm> #include <cstdlib> #include <random> #include <string> #include <thread> #include <vector> #ifdef PP_USE_OMP #include <omp.h> #endif #include "../third-party/Empirical/include/emp/data/DataFile.hpp" #include "../third-party/Empirical/include/emp/tools/keyname_utils.hpp" #include "u...
24.703833
77
0.667983
[ "mesh", "vector", "transform" ]
3adcd70d4b8a08064a4f275d58dd4e8d9cacb205
5,811
cpp
C++
Engine/Bindings/GLShaderBindings.cpp
Kepler-Br/AdvancedRaymarching
108e515edad39df52e81bee9b3f2e777c99c9de2
[ "MIT" ]
null
null
null
Engine/Bindings/GLShaderBindings.cpp
Kepler-Br/AdvancedRaymarching
108e515edad39df52e81bee9b3f2e777c99c9de2
[ "MIT" ]
null
null
null
Engine/Bindings/GLShaderBindings.cpp
Kepler-Br/AdvancedRaymarching
108e515edad39df52e81bee9b3f2e777c99c9de2
[ "MIT" ]
null
null
null
#include "GLShaderBindings.h" #include <iostream> #include <glm/gtc/type_ptr.hpp> #include "../Incapsulated/GLError.h" #include "../Exceptions/ShaderErrorException.h" void GLShaderBindings::printGLShaderLogIfAny(GLuint shaderId) { GLint logLength = 0; GLchar *log; glGetShaderiv(shaderId, GL_INFO_LOG_LENGT...
36.093168
125
0.759938
[ "object" ]