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
4a785038a5940dbaa9e1f47ffb23398eee8308a9
9,277
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/navigation/SoScXMLNavigationInvoke.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/navigation/SoScXMLNavigationInvoke.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/navigation/SoScXMLNavigationInvoke.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
38.334711
98
0.664547
[ "vector", "model", "3d" ]
4a89450d2ff3103b66cbe3cba1bb5391c302d31c
1,557
cpp
C++
sem1/hw11/hw11.2/hw11.2/KMP_algorithm.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
1
2018-11-29T11:12:51.000Z
2018-11-29T11:12:51.000Z
sem1/hw11/hw11.2/hw11.2/KMP_algorithm.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
null
null
null
sem1/hw11/hw11.2/hw11.2/KMP_algorithm.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
null
null
null
#include "KMP_algorithm.h" #include <string> #include <fstream> #include <vector> #include <iostream> using namespace std; vector<int> prefixFunction(const string &str) { vector<int> prefix(str.length()); prefix[0] = 0; for (int i = 1; i < str.length(); ++i) { int index = i - 1; while (index != -1) { if ...
17.896552
115
0.619782
[ "vector" ]
4a8f1db655dac069155e787f23bd590c1c1be40b
4,193
cc
C++
tensorstore/driver/zarr/zlib_compressor_test.cc
google/tensorstore
8df16a67553debaec098698ceaa5404eaf79634a
[ "BSD-2-Clause" ]
106
2020-04-02T20:00:18.000Z
2022-03-23T20:27:31.000Z
tensorstore/driver/zarr/zlib_compressor_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
28
2020-04-12T02:04:47.000Z
2022-03-23T20:27:03.000Z
tensorstore/driver/zarr/zlib_compressor_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
18
2020-04-08T06:41:30.000Z
2022-02-18T03:05:49.000Z
// Copyright 2020 The TensorStore 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 ...
43.677083
80
0.696876
[ "object" ]
4a918758160eaa94e3bfbc906e0b2bec677f3395
11,416
cpp
C++
test_package/tests/unit/geom/PointTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
test_package/tests/unit/geom/PointTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
test_package/tests/unit/geom/PointTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
// // Test Suite for geos::geom::Point class. #include <tut/tut.hpp> // geos #include <geos/geom/Point.h> #include <geos/geom/Coordinate.h> #include <geos/geom/CoordinateArraySequence.h> #include <geos/geom/Dimension.h> #include <geos/geom/Geometry.h> #include <geos/geom/GeometryFactory.h> #include <geos/geom/Precisio...
20.606498
86
0.666083
[ "geometry", "object", "3d" ]
4a932fbdccac52a779bceec24f1599be959c8181
5,218
cpp
C++
src/NBoard.cpp
louism33/Mudpuppy
27ec402aaaed0020078a331e4be645a44d728de5
[ "MIT" ]
null
null
null
src/NBoard.cpp
louism33/Mudpuppy
27ec402aaaed0020078a331e4be645a44d728de5
[ "MIT" ]
null
null
null
src/NBoard.cpp
louism33/Mudpuppy
27ec402aaaed0020078a331e4be645a44d728de5
[ "MIT" ]
null
null
null
// // Created by louis on 6/26/19. // #include <iostream> #include <cstring> #include <string> #include <boost/tokenizer.hpp> #include <ncurses.h> #include <regex> #include <bitset> #include <sstream> #include <iostream> #include <assert.h> #include <math.h> #include <jmorecfg.h> #include "Art.h" #include "BitBoardUt...
32.01227
929
0.543887
[ "vector" ]
4aa1082aa218fd89ebdd1b871d827c7f201f388e
11,119
cpp
C++
src/entry_node.cpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
src/entry_node.cpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
src/entry_node.cpp
ryanloney/model_server
23889884dcdbd214c80b7fed096b4f70e935c62e
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
49.860987
251
0.673082
[ "shape", "model" ]
4aa8bdcb68eb70deb087fce86a3e8fbe3d6645d8
807
cpp
C++
ds-algo/sort/src/sort/BoubleSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/sort/src/sort/BoubleSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/sort/src/sort/BoubleSort.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
#include "Sort.hpp" #include "../common/common.hpp" int boublesort(vector<int> &nums) { cout<<"***********[Begin]Bouble sort**********"<<endl; printVec(nums); int size = nums.size(); if (size < 2) return 0; for (int i = size - 1; i >= 0; --i) { bool flag = false; for (int j = 0...
22.416667
74
0.48575
[ "vector" ]
4ab42822196b0bf9ea14bedc2fd4fcb47e2e4d8b
324
hpp
C++
src/Intersect.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
2
2019-05-14T08:14:15.000Z
2021-01-19T13:28:38.000Z
src/Intersect.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
src/Intersect.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
#ifndef __M3G_INTERSECT_HPP__ #define __M3G_INTERSECT_HPP__ namespace m3g { class Vector; bool triangle_intersect (const Vector& org, const Vector& dir, const Vector& v0, const Vector& v1, const Vector& v2, float* u, float* v, float* d); } #end...
16.2
82
0.583333
[ "vector" ]
3862a772622b3250cc952e4d24af2f05effeb5e2
57,221
cxx
C++
ds/adsi/msext/cuar.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/msext/cuar.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/msext/cuar.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995 // // File: cuar.cxx // // Contents: Account Restrictions Propset for the User object // // History: 11-1-95 krishnag Created. // // ...
27.967253
124
0.502351
[ "object" ]
38652129160f155d8d8e3b4740487108d1cd81c3
3,526
cpp
C++
subset/SSet.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
null
null
null
subset/SSet.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
6
2020-11-29T18:27:05.000Z
2021-12-24T13:14:47.000Z
subset/SSet.cpp
DandyForever/np-complete
9a8912706a85425f9da284173ce09c7eedbf7db0
[ "MIT" ]
8
2020-11-03T17:09:11.000Z
2021-12-04T14:24:49.000Z
#include "SSet.h" #include <algorithm> #include <iterator> bool SSet::checkSumOptimized(DataType expected) { positive_sum = 0; negative_sum = 0; for (auto n : set_) { if (n > 0) positive_sum += n; if (n < 0) negative_sum += n; } return set_.empty() ? false : checkSumOptimizedRec...
32.953271
90
0.640953
[ "vector" ]
386574a91a051fcd7b73ce1412dd737989ba98cc
937
cpp
C++
src/gt01/gt01.cpp
TeaInside/AI_gt01
6086adfe8f04ee25b01075402e037b3b835214d6
[ "MIT" ]
3
2019-03-09T13:25:46.000Z
2019-03-10T03:14:50.000Z
src/gt01/gt01.cpp
TeaInside/AI_gt01
6086adfe8f04ee25b01075402e037b3b835214d6
[ "MIT" ]
null
null
null
src/gt01/gt01.cpp
TeaInside/AI_gt01
6086adfe8f04ee25b01075402e037b3b835214d6
[ "MIT" ]
null
null
null
#include <gt01/gt01.hpp> Php::Value tea_gt01(Php::Parameters &p) { gt01 *t = new gt01; t->set_name(p[1], p[2]); t->set_text(p[0]); std::string response; bool got_response = t->exec(); if (got_response) { response = t->get_response(); } delete t; t = nullptr; return got_response ? response : ""; } vo...
18.372549
61
0.65635
[ "vector" ]
3871a4cb9d180fb006bf164e6bf728079a8ba4a2
1,322
cpp
C++
wrapcppdll/mycpp/my_cpp_api.cpp
rdotnet/rdotnet-support
dfa991211f251ef853470f14b26682cc50a52818
[ "MIT" ]
null
null
null
wrapcppdll/mycpp/my_cpp_api.cpp
rdotnet/rdotnet-support
dfa991211f251ef853470f14b26682cc50a52818
[ "MIT" ]
null
null
null
wrapcppdll/mycpp/my_cpp_api.cpp
rdotnet/rdotnet-support
dfa991211f251ef853470f14b26682cc50a52818
[ "MIT" ]
1
2015-06-08T13:00:19.000Z
2015-06-08T13:00:19.000Z
#include "my_cpp_api.h" #define SAMPLE_LENGTH 10 int c_api_call_getlength() { return SAMPLE_LENGTH; } SEXP some_R_calculations() { int size = SAMPLE_LENGTH; int tmp[SAMPLE_LENGTH] = { 1, 2, 3, 2, 3, 4, 5, 4, 5, 6 }; return make_int_sexp(size, tmp); } void c_api_call(int * result) { SEXP p = some_R_calculations(...
22.033333
74
0.667171
[ "object" ]
387df4cd7041bfe886927b849d1715012ee2a944
456
cpp
C++
math/sum_of_totient_function/gen/boundaryA.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
math/sum_of_totient_function/gen/boundaryA.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
math/sum_of_totient_function/gen/boundaryA.cpp
tko919/library-checker-problems
007a3ef79d1a1824e68545ab326d1523d9c05262
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include "random.h" #include <iostream> #include <vector> #include <cassert> #include "../params.h" using namespace std; using ll = long long; ll f(ll n) { ll ret = 1; while((ret+1)*(ret+1)<=n)++ret; return ret*ret; } int main(int, char* argv[]) { long long seed = atoll(argv[1]); auto gen = Random(see...
17.538462
46
0.589912
[ "vector" ]
38837ed6688351d32d4f33e5896f13c11fbba932
3,543
hpp
C++
include/Nazara/Widgets/Canvas.hpp
DigitalPulseSoftware/NazaraEngine
bf1eff7bb5b17648667ed972517315b11bc1a539
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
376
2015-01-09T03:14:48.000Z
2022-03-26T17:59:18.000Z
include/Nazara/Widgets/Canvas.hpp
DigitalPulseSoftware/NazaraEngine
bf1eff7bb5b17648667ed972517315b11bc1a539
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
252
2015-01-21T17:34:39.000Z
2022-03-20T16:15:50.000Z
include/Nazara/Widgets/Canvas.hpp
DigitalPulseSoftware/NazaraEngine
bf1eff7bb5b17648667ed972517315b11bc1a539
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
104
2015-01-18T11:03:41.000Z
2022-03-11T05:40:47.000Z
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Widgets module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CANVAS_HPP #define NAZARA_CANVAS_HPP #include <Nazara/Platform/CursorController.hpp> #include <Nazara/Platform/E...
39.808989
126
0.772791
[ "vector" ]
388c4f1205a523311fe68919bf676384f616543d
8,403
cpp
C++
src/TinyTrainable.cpp
maxzwang/TinyTrainable
ce7a9ca85d13d6009298052345ddd4fb364406f2
[ "MIT" ]
null
null
null
src/TinyTrainable.cpp
maxzwang/TinyTrainable
ce7a9ca85d13d6009298052345ddd4fb364406f2
[ "MIT" ]
2
2021-01-15T18:23:39.000Z
2021-03-05T20:00:05.000Z
src/TinyTrainable.cpp
maxzwang/TinyTrainable
ce7a9ca85d13d6009298052345ddd4fb364406f2
[ "MIT" ]
null
null
null
/// @file TinyTrainable.cpp /// @brief Arduino library for Tiny Trainable Instruments /// @author montoyamoraga, peter-parque, maxzwang /// @date November 2020 // include local library #include "TinyTrainable.h" // TinyTrainable::TinyTrainable() {} // initialize static variables bool TinyTrainable::_serialDebugging ...
24.787611
91
0.657979
[ "object" ]
3895acf1bea8f822a2467d3d086ab2cb1e2a6ebd
18,430
cpp
C++
src/main.cpp
JamesDiDonato/CarND-Path-Planning
cdc541f6bc07420e17272bc33003f69ca9c8bd95
[ "MIT" ]
null
null
null
src/main.cpp
JamesDiDonato/CarND-Path-Planning
cdc541f6bc07420e17272bc33003f69ca9c8bd95
[ "MIT" ]
null
null
null
src/main.cpp
JamesDiDonato/CarND-Path-Planning
cdc541f6bc07420e17272bc33003f69ca9c8bd95
[ "MIT" ]
null
null
null
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <algorithm> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" #include "vehicle.h" using namespace std; // for convenience using ...
31.775862
167
0.525827
[ "object", "vector", "transform" ]
389919dc402f018046b2f84f08a6cf449e375084
3,621
cpp
C++
tests/BidiagonalFactorization.cpp
dassencio/freeaml
26e9f3e3b0d86f098f33408e39ea8b46c68fd82d
[ "BSD-2-Clause" ]
1
2017-05-25T19:49:49.000Z
2017-05-25T19:49:49.000Z
tests/BidiagonalFactorization.cpp
dassencio/freeaml
26e9f3e3b0d86f098f33408e39ea8b46c68fd82d
[ "BSD-2-Clause" ]
null
null
null
tests/BidiagonalFactorization.cpp
dassencio/freeaml
26e9f3e3b0d86f098f33408e39ea8b46c68fd82d
[ "BSD-2-Clause" ]
null
null
null
#include <BidiagonalFactorization.h> #include <Matrix.h> #include <SparseMatrix.h> #include <Vector.h> #include <gtest/gtest.h> TEST(BidiagonalFactorizationTest, Factorize4x4Matrix) { /* matrix to be factorized */ freeaml::SparseMatrix<double> A = {{3.11, 4.20, 4.25, 1.73}, ...
35.15534
74
0.555095
[ "vector" ]
389ae2d88a9d606bf84d1ac4a059dc6d4598db1d
6,192
cpp
C++
lighthouse/src/v20200324/model/DataDiskPrice.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
lighthouse/src/v20200324/model/DataDiskPrice.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
lighthouse/src/v20200324/model/DataDiskPrice.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
28.534562
157
0.701712
[ "model" ]
38a6a82be2dbe17f8b68ec5a84d63488d0730b4e
17,594
hpp
C++
packages/core/include/soss/utilities.hpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
packages/core/include/soss/utilities.hpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
packages/core/include/soss/utilities.hpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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 appl...
32.105839
83
0.660225
[ "object", "vector" ]
38a80c46e773cf7e6941d17f449c9078ffe3c927
1,530
cpp
C++
solutions/uncrossed_lines.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/uncrossed_lines.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/uncrossed_lines.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
// We write the integers of A and B (in the order they are given) on two separate horizontal lines. // Now, we may draw connecting lines: a straight line connecting two numbers A[i] and B[j] such that: // A[i] == B[j]; // The line we draw does not intersect any other connecting (non-horizontal) line. // Note that a c...
27.818182
123
0.545098
[ "vector" ]
38a969a168aaf37d7e939d1eb33364029183c8b2
12,668
hh
C++
parser/ast.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
null
null
null
parser/ast.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
6
2019-06-15T12:38:26.000Z
2019-06-15T13:03:05.000Z
parser/ast.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include <string> #include <map> #include <sstream> #include <lex.hh> //Denotes the types of our nodes so we can upcast enum AstType { Scope, //Function stuff FuncDec, ExternFunc, FuncCall, End, Return, //Structure stuff Struct, StructD...
22.146853
97
0.603805
[ "shape", "vector" ]
38b74a0c48116ecde1c93f29402d104841c1ce44
1,670
cpp
C++
iOS/G3MiOSSDK/Commons/Cameras/CameraRenderer.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MiOSSDK/Commons/Cameras/CameraRenderer.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MiOSSDK/Commons/Cameras/CameraRenderer.cpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
// // CameraRenderer.cpp // G3MiOSSDK // // Created by Agustin Trujillo Pino on 30/07/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #include "CameraRenderer.hpp" #include "Camera.hpp" #include "CameraEventHandler.hpp" #include "TouchEvent.hpp" CameraRenderer::~CameraRenderer() { delete _c...
27.833333
80
0.672455
[ "render", "object" ]
38bac1200c28faa23ea5bdc3ca79d7ab01f9a712
211,279
cpp
C++
B2G/gecko/content/base/src/nsContentUtils.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/content/base/src/nsContentUtils.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/content/base/src/nsContentUtils.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=2 sw=2 et tw=78: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
29.607483
150
0.662953
[ "object", "model" ]
38c5eb9a5a5cd9975f411533449974998f8b6fa5
1,810
cpp
C++
src/ConvexHullGraphix.cpp
dub-basu/convex-hull
6e5ba71d540315c4aea4f419d058c6f9ca3a5987
[ "MIT" ]
null
null
null
src/ConvexHullGraphix.cpp
dub-basu/convex-hull
6e5ba71d540315c4aea4f419d058c6f9ca3a5987
[ "MIT" ]
null
null
null
src/ConvexHullGraphix.cpp
dub-basu/convex-hull
6e5ba71d540315c4aea4f419d058c6f9ca3a5987
[ "MIT" ]
null
null
null
#include<algorithm> #include "ConvexHullGraphix.h" ConvexHullGraphix::ConvexHullGraphix(std::mutex& mtx):Graphix(mtx){ Point start(-WIN_BREADTH / 2, WIN_HEIGHT); Point end(WIN_BREADTH / 2, WIN_HEIGHT); pivot_point = NAN_POINT; } void ConvexHullGraphix::init_points(std::vector<Point> points){ this -> i...
24.133333
87
0.674586
[ "vector" ]
38c9ee224f4c8c278aad23c062168085a59189cd
1,060
cpp
C++
leetcode/maximal-square/MaximalSquare.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
leetcode/maximal-square/MaximalSquare.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
leetcode/maximal-square/MaximalSquare.cpp
giwankim/algo
8dd1cf8aed6e89db54e753c7ce5821019628c47f
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; typedef vector<int> vi; typedef vector<vector<int>> vvi; int maximalSquare(vector<vector<char>>& matrix) { if (matrix.empty()) return 0; int n = (int)matrix.size(), m = (int)matrix[0].size(); vvi T(n, vi(m)); for (int i = 0; i < n; ++i) T[i][0] = ma...
25.853659
71
0.40566
[ "vector" ]
38dc35182be7f9651d6ecc0d46d5ab24fb430cad
737
hpp
C++
jni/Game.hpp
kaitokidi/androidSpaceTongue
0c839dd92fe6393fa095735b08cb8966c771c36a
[ "MIT" ]
null
null
null
jni/Game.hpp
kaitokidi/androidSpaceTongue
0c839dd92fe6393fa095735b08cb8966c771c36a
[ "MIT" ]
null
null
null
jni/Game.hpp
kaitokidi/androidSpaceTongue
0c839dd92fe6393fa095735b08cb8966c771c36a
[ "MIT" ]
null
null
null
#ifndef GAME_H #define GAME_H #include "utils.hpp" class Game { public: virtual bool update(float deltaTime) = 0; virtual void draw() = 0; virtual void processEvents() = 0; Game(sf::RenderWindow *w) { window = w; goToMenu = false; } virtual ~Game() {} bool run() { sf::Clock c; ...
15.680851
50
0.576662
[ "render" ]
38dcc3b79836aa3f2f9b2517158f9f6eb75b8820
13,782
cpp
C++
src/sim/graphics/base/pipeline/descriptors.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
src/sim/graphics/base/pipeline/descriptors.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
src/sim/graphics/base/pipeline/descriptors.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
#include "descriptors.h" #include "sim/util/syntactic_sugar.h" #include <algorithm> namespace sim::graphics { using descriptor = vk::DescriptorType; auto DescriptorSetLayoutMaker::vertexShader() -> DescriptorSetLayoutMaker & { currentStage = vk::ShaderStageFlagBits::eVertex; return *this; } auto DescriptorSetLay...
37.655738
90
0.764403
[ "vector" ]
38e1132ac7a30b836b19bbb0a5864bd652e94aaa
12,803
cpp
C++
src/csaltTester/src/TestOptCtrl/src/Shell/ShellDriver.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestOptCtrl/src/Shell/ShellDriver.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestOptCtrl/src/Shell/ShellDriver.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // ShellDriver //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2020 United States Government as represented by the...
37.110145
89
0.633211
[ "mesh", "vector" ]
38e155f11195ca1df2130307e64cd67034bb2ad1
26,389
cpp
C++
src/wasmer.cpp
bxq2011hust/hera
2b033dafbb8553bcf83d382f81c54e756a316ab2
[ "Apache-2.0" ]
null
null
null
src/wasmer.cpp
bxq2011hust/hera
2b033dafbb8553bcf83d382f81c54e756a316ab2
[ "Apache-2.0" ]
null
null
null
src/wasmer.cpp
bxq2011hust/hera
2b033dafbb8553bcf83d382f81c54e756a316ab2
[ "Apache-2.0" ]
null
null
null
/* 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 * distributed ...
57.24295
232
0.643564
[ "vector" ]
38ee0a0d07d5fa5cad9843c3a7b2972714b9daa1
7,240
hxx
C++
src/krn/mws-mod.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/krn/mws-mod.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/krn/mws-mod.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#pragma once #include "pfm.hxx" #include "krn.hxx" #include <functional> #include <memory> #include <string> #include <vector> class mws_app_storage_impl; class mws_mod_ctrl; class mws_mod_list; class mws_page_tab; class mws_key_ctrl; class mws_touch_ctrl; class updatectrl; class gfx_scene; class mws_camera; class m...
29.193548
150
0.736878
[ "vector" ]
38f0a6de8025443014453776b5de85822c00f8d8
16,042
hxx
C++
include/opengm/inference/auxiliary/lp_reparametrization.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
include/opengm/inference/auxiliary/lp_reparametrization.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
include/opengm/inference/auxiliary/lp_reparametrization.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
/* * lp_reparametrization_storage.hxx * * Created on: Sep 16, 2013 * Author: bsavchyn */ #ifndef LP_REPARAMETRIZATION_STORAGE_HXX_ #define LP_REPARAMETRIZATION_STORAGE_HXX_ #include <opengm/inference/trws/utilities2.hxx> #include <opengm/graphicalmodel/graphicalmodel_factor_accumulator.hxx> #ifdef WITH_HDF...
36.459091
185
0.746977
[ "shape", "vector", "model" ]
f19b889732a256a354d9eeb36552aeabe0484d9e
20,647
cpp
C++
DirectXHermano/DirectXHermano/ResourceManager.cpp
HeladodePistacho/DirectXEngine
9ace14a8b4c3734324d9871acdf8f3da77e2482c
[ "MIT" ]
null
null
null
DirectXHermano/DirectXHermano/ResourceManager.cpp
HeladodePistacho/DirectXEngine
9ace14a8b4c3734324d9871acdf8f3da77e2482c
[ "MIT" ]
null
null
null
DirectXHermano/DirectXHermano/ResourceManager.cpp
HeladodePistacho/DirectXEngine
9ace14a8b4c3734324d9871acdf8f3da77e2482c
[ "MIT" ]
null
null
null
#include <iostream> #include "ResourceManager.h" #include "Mesh.h" #include "VertexBuffer.h" #include "IndexBuffer.h" #include "Topology.h" #include "InputLayout.h" #include "ShaderProgram.h" #include "ImGui/imgui.h" #include "FileDrop.h" #include "Texture.h" #include "Sampler.h" #include "Material.h" #include "Texture...
31.188822
202
0.698794
[ "mesh", "render", "vector", "model" ]
f19fb0fc570310b60a61f19d0ea92d9f9a89cb07
1,780
cpp
C++
search_and_graph/topo_sort/demo/leetcode1857.cpp
Fanjunmin/algorithm-template
db0d37a7c9c37ee9a167918fb74b03d1d09b6fad
[ "MIT" ]
1
2021-04-26T11:03:04.000Z
2021-04-26T11:03:04.000Z
search_and_graph/topo_sort/demo/leetcode1857.cpp
Fanjunmin/algrithm-template
db0d37a7c9c37ee9a167918fb74b03d1d09b6fad
[ "MIT" ]
null
null
null
search_and_graph/topo_sort/demo/leetcode1857.cpp
Fanjunmin/algrithm-template
db0d37a7c9c37ee9a167918fb74b03d1d09b6fad
[ "MIT" ]
null
null
null
class Solution { private: const static int N = 1e5 + 10, M = 1e5 + 10; int h[N], d[N]; int e[M], ne[M], idx; int topo[N]; int n; int q[N], head, tail; int f[N][26]; //f[i][k]表示以节点i尾节点的路径中颜色为k的节点的个数 int max_color; void init() { memset(h, -1, sizeof(h)); memset(d, 0, ...
28.709677
86
0.363483
[ "vector" ]
f1a225029501c4c5a924065877859538e5cca163
1,477
cpp
C++
src/cpp-leetcode/third/Code_144_PreorderOfBT.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
null
null
null
src/cpp-leetcode/third/Code_144_PreorderOfBT.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
1
2019-03-25T15:17:54.000Z
2019-03-25T15:20:30.000Z
src/cpp-leetcode/third/Code_144_PreorderOfBT.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stack> #include <vector> #include "../Tree.h" /** * preorder traversal of binary tree * * @since 2020-12-17 Thursday 22:50 */ class Solution { void recursiveHelper(TreeNode* root, std::vector<int>& res) { if (root == nullptr) { return; } res.pus...
23.078125
67
0.578199
[ "vector" ]
f1aacc87614a3a7aceb2831303a2d863d67746b3
14,419
cpp
C++
Rules/PossibleForwardDeclarationRule.cpp
colobot/colobot-lint
30921edb55b49dbda27d645357e24d6d22f5c48f
[ "BSD-3-Clause" ]
7
2015-08-28T14:26:51.000Z
2020-05-18T01:37:27.000Z
Rules/PossibleForwardDeclarationRule.cpp
piotrdz/colobot-lint
30921edb55b49dbda27d645357e24d6d22f5c48f
[ "BSD-3-Clause" ]
7
2015-07-31T20:54:10.000Z
2015-08-24T22:26:55.000Z
Rules/PossibleForwardDeclarationRule.cpp
piotrdz/colobot-lint
30921edb55b49dbda27d645357e24d6d22f5c48f
[ "BSD-3-Clause" ]
2
2015-09-09T15:11:28.000Z
2018-11-14T20:34:35.000Z
#include "Rules/PossibleForwardDeclarationRule.h" #include "Common/Context.h" #include "Common/OutputPrinter.h" #include "Common/SourceLocationHelper.h" #include "Common/TagTypeMatchers.h" #include "Common/TagTypeNameHelper.h" #include <clang/AST/Decl.h> #include <boost/format.hpp> #include <algorithm> #include <ve...
34.577938
129
0.686733
[ "vector" ]
f1aae9634d84ce22c4c646f64280567e33653b02
2,652
hpp
C++
include/universal/blas/generators/uniform_random.hpp
AI-App/universal
a2e8eff7a1354faa8c9584e347414ee62b12e1be
[ "MIT" ]
254
2017-05-24T16:51:57.000Z
2022-03-22T13:07:29.000Z
include/universal/blas/generators/uniform_random.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
101
2017-11-09T22:57:24.000Z
2022-03-17T12:44:59.000Z
include/universal/blas/generators/uniform_random.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
55
2017-06-09T10:04:38.000Z
2022-02-01T16:54:56.000Z
#pragma once // uniform_random.hpp: uniform random matrix generator // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <cstdint> #include <random> namespace sw::universal::blas { // genera...
37.352113
106
0.725113
[ "vector" ]
f1ad489cb0ae85132a20c6cc67a69b0264e455b6
25,845
cpp
C++
storage/driver.azure/src/cloud_blob_container.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
1
2022-03-06T09:23:56.000Z
2022-03-06T09:23:56.000Z
storage/driver.azure/src/cloud_blob_container.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
3
2021-04-23T18:12:20.000Z
2021-04-23T18:12:47.000Z
storage/driver.azure/src/cloud_blob_container.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------------------- // <copyright file="cloud_blob_container.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
51.89759
302
0.764442
[ "vector" ]
f1b4d838b7b49afe9bd0be7996536c093214d060
6,447
cpp
C++
source/smeardeformer/Extensions.cpp
youdiaozi/c4d-nr-toolbox
ca6c5f737c901e2f74aeb0bc7aa477387d1a5cd6
[ "BSD-3-Clause" ]
16
2018-09-12T10:38:26.000Z
2021-06-28T22:57:30.000Z
source/smeardeformer/Extensions.cpp
youdiaozi/c4d-nr-toolbox
ca6c5f737c901e2f74aeb0bc7aa477387d1a5cd6
[ "BSD-3-Clause" ]
10
2018-09-11T17:20:09.000Z
2020-06-02T04:11:01.000Z
source/smeardeformer/Extensions.cpp
NiklasRosenstein/c4d-nr-toolbox
28197ea7fcf396b5941277b049168d7faf00bfbf
[ "BSD-3-Clause" ]
6
2018-11-30T23:34:49.000Z
2021-04-02T15:03:23.000Z
/** * Copyright (C) 2013, Niklas Rosenstein * All rights reserved. * * Extensions.cpp */ #define _USE_MATH_DEFINES #include <cmath> #include <c4d_apibridge.h> #include "Engines.h" #include "res/c4d_symbols.h" #include "res/description/Osmeardeformer.h" #include "res/description/Spositional.h" #include "res/des...
29.847222
118
0.639522
[ "vector" ]
f1bc57391727c2cb1af42f97a7d5525939b6ba5f
11,876
cpp
C++
test/TestApp/AutoGenTests/AutoGenContentTests.cpp
PlayFab/XPlatCSdk
101896fff5c5ce822dd188e4670a9ba8c1705619
[ "MIT" ]
null
null
null
test/TestApp/AutoGenTests/AutoGenContentTests.cpp
PlayFab/XPlatCSdk
101896fff5c5ce822dd188e4670a9ba8c1705619
[ "MIT" ]
1
2022-03-04T20:50:28.000Z
2022-03-04T21:02:12.000Z
test/TestApp/AutoGenTests/AutoGenContentTests.cpp
PlayFab/XPlatCSdk
101896fff5c5ce822dd188e4670a9ba8c1705619
[ "MIT" ]
3
2021-12-04T20:43:04.000Z
2022-01-03T21:16:32.000Z
#include "TestAppPch.h" #include "TestContext.h" #include "TestApp.h" #include "AutoGenContentTests.h" #include "XAsyncHelper.h" #include "playfab/PFAuthentication.h" namespace PlayFabUnit { using namespace PlayFab::Wrappers; AutoGenContentTests::ContentTestData AutoGenContentTests::testData; void AutoGenContentTes...
34.028653
168
0.70933
[ "model" ]
f1c17ce66bac14a1a609d684cacfa3fde37310d3
3,189
cpp
C++
src/gnss_parser/src/gnss_parser.cpp
mfkiwl/lidar-mapping
c05a50d267d9b24239766be56714b55a7d189f33
[ "MIT" ]
1
2021-11-19T09:32:01.000Z
2021-11-19T09:32:01.000Z
src/gnss_parser/src/gnss_parser.cpp
mfkiwl/lidar-mapping
c05a50d267d9b24239766be56714b55a7d189f33
[ "MIT" ]
null
null
null
src/gnss_parser/src/gnss_parser.cpp
mfkiwl/lidar-mapping
c05a50d267d9b24239766be56714b55a7d189f33
[ "MIT" ]
null
null
null
#include <string> #include <ros/ros.h> #include <serial/serial.h> #include <sensor_msgs/NavSatFix.h> serial::Serial gnss_serial; ros::Publisher gnss_pub; template <class Type> Type stringToNum(const std::string &str) { std::istringstream iss(str); Type num; iss >> num; return num; } std::vector<std::...
28.221239
133
0.541863
[ "vector" ]
f1c2591cb1d285eb4711411a4ab83a0ff395243a
4,869
cpp
C++
src/main.cpp
RandalJBarnes/Gimiwan
7b7be3037a77b50ebcb78b22450d736dd8069682
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
RandalJBarnes/Gimiwan
7b7be3037a77b50ebcb78b22450d736dd8069682
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
RandalJBarnes/Gimiwan
7b7be3037a77b50ebcb78b22450d736dd8069682
[ "BSD-3-Clause" ]
null
null
null
//============================================================================= // main.cpp // // The driver for the command line version of the user interface. // // author: // Dr. Randal J. Barnes // Department of Civil, Environmental, and Geo- Engineering // University of Minnesota // // version: // 3...
27.664773
128
0.499281
[ "vector" ]
f1c746edb6e0262343dadf280a039d966c49969d
2,204
cc
C++
cassandra/src/model/DescribeBackupResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
cassandra/src/model/DescribeBackupResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
cassandra/src/model/DescribeBackupResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
31.942029
75
0.740018
[ "model" ]
f1d2a4a230b7b58f6372c4c9da042ef7d403e2d8
3,109
cpp
C++
thrift/compiler/detail/mustache/test/comments_test.cpp
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
null
null
null
thrift/compiler/detail/mustache/test/comments_test.cpp
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
1
2022-03-03T09:40:25.000Z
2022-03-03T09:40:25.000Z
thrift/compiler/detail/mustache/test/comments_test.cpp
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
34.164835
79
0.661306
[ "render" ]
f1d6ed4966208bbc2682864516486f674ce6d565
9,009
cpp
C++
src/graphics/camera.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
null
null
null
src/graphics/camera.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
null
null
null
src/graphics/camera.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
1
2021-03-02T16:54:40.000Z
2021-03-02T16:54:40.000Z
#include "camera.hpp" // Standard Headers #include <utility> #include <math.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/rotate_vector.hpp> #include <glm/gtx/string_cast.hpp> // Local Headers #include "common/planet.hpp" #include "graphics/window_size.hpp" #include "graphics/input/key_input.hpp" #inc...
32.76
160
0.604951
[ "object", "model" ]
f1da1b2a012ee01c3dce0bd7c50cd216b53d0989
309
cc
C++
lambda/main.cc
zhuhaijun753/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
59
2016-05-22T08:09:03.000Z
2022-02-20T13:37:36.000Z
lambda/main.cc
zhuhaijun753/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
1
2017-10-26T11:40:43.000Z
2017-10-26T15:14:04.000Z
lambda/main.cc
lostjared/cplusplus11.Examples
30076615a88039084a4478e4ce091c00c3bfc9d6
[ "Unlicense" ]
15
2017-03-09T16:15:43.000Z
2021-09-22T16:36:17.000Z
#include<iostream> #include<vector> int main(int argc, char **argv) { std::vector<int> vec = { 2, 6, 0, 5, 7 }; int findLargest = [](std::vector<int> &v) { int large=0; for(auto &i : v) { if(i > large) large = i; } return large; } (vec); std::cout << findLargest << "\n"; return 0; }
14.714286
44
0.546926
[ "vector" ]
f1e10d08497c12fc8ed0ac264b58079eedd88d9e
10,165
cc
C++
algorithms_cpp/test/scan_test.cc
bufferoverflow/embb
1ff7f601d8e903355e83d766029a3e6164f31750
[ "BSD-2-Clause" ]
1
2020-08-17T11:06:50.000Z
2020-08-17T11:06:50.000Z
algorithms_cpp/test/scan_test.cc
bufferoverflow/embb
1ff7f601d8e903355e83d766029a3e6164f31750
[ "BSD-2-Clause" ]
null
null
null
algorithms_cpp/test/scan_test.cc
bufferoverflow/embb
1ff7f601d8e903355e83d766029a3e6164f31750
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2014, Siemens AG. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions an...
31.180982
80
0.651058
[ "vector", "transform" ]
f1e5488661735a06b8fe227042eef4fa7ddc483c
5,783
cpp
C++
native/cmds/flatland/Renderers.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
native/cmds/flatland/Renderers.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
native/cmds/flatland/Renderers.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
29.207071
81
0.598997
[ "render" ]
f1e5e731ada9e8d409da9f4a960a7b304f755262
2,625
cc
C++
scsp/src/model/GetCMSIdByForeignIdResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
scsp/src/model/GetCMSIdByForeignIdResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
scsp/src/model/GetCMSIdByForeignIdResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
29.166667
82
0.727238
[ "model" ]
f1f1477b8012ea9161e707dd3482b32434731e6f
2,025
cpp
C++
intel_extension_for_pytorch/csrc/jit/cpu/kernels/AddLayerNorm.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/jit/cpu/kernels/AddLayerNorm.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/jit/cpu/kernels/AddLayerNorm.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
// this file is main from // https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cpu/layer_norm_kernel.cpp // and // https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/layer_norm.cpp #include "AddLayerNorm.h" #include "csrc/utils/ipex_op_profile.h" #include <torch/csrc/autograd/func...
30.223881
96
0.682963
[ "vector" ]
f1f27ec833e3a17f215938c379b69bb08f67df43
7,079
hpp
C++
Include/FishEditor/Serialization/YAMLArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-12-20T02:38:44.000Z
2018-12-20T02:38:44.000Z
Include/FishEditor/Serialization/YAMLArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
null
null
null
Include/FishEditor/Serialization/YAMLArchive.hpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-10-25T19:40:22.000Z
2018-10-25T19:40:22.000Z
#pragma once #include <FishEngine/Serialization/Archive.hpp> #include <FishEngine/FishEngine2.hpp> #include <set> #include <vector> #include <list> #include <iostream> #include <fstream> #include <sstream> #include <stack> #include <regex> #include <yaml-cpp/yaml.h> using namespace FishEngine; namespace FishEditor...
22.544586
106
0.613787
[ "object", "vector" ]
f1f6b9dc0d02a3266d3dc02b63f8d1c2d86517a0
23,704
cpp
C++
vm/compiler/RegisterizationME.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
vm/compiler/RegisterizationME.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
vm/compiler/RegisterizationME.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2013 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
29.084663
137
0.609011
[ "vector" ]
f1f7cdf861fcb67250881c1d5f0a5955161ac478
321
hpp
C++
src/starling.hpp
Wasted-Audio/Via-for-Rack
5bf284121a788f364e16acd10c6ac7bbe79097ae
[ "MIT" ]
null
null
null
src/starling.hpp
Wasted-Audio/Via-for-Rack
5bf284121a788f364e16acd10c6ac7bbe79097ae
[ "MIT" ]
null
null
null
src/starling.hpp
Wasted-Audio/Via-for-Rack
5bf284121a788f364e16acd10c6ac7bbe79097ae
[ "MIT" ]
1
2022-03-29T22:07:54.000Z
2022-03-29T22:07:54.000Z
#include <rack.hpp> using namespace rack; extern Plugin *pluginInstance; extern Model *modelMeta; extern Model *modelGateseq; extern Model *modelScanner; extern Model *modelSync; extern Model *modelAtsr; extern Model *modelOsc3; extern Model *modelSync3; extern Model *modelSync3XL; extern Model *modelSync3XLLevels; ...
18.882353
33
0.800623
[ "model" ]
f1f8132a1e9425e2180f272d84964b454c0e4437
9,705
cxx
C++
StRoot/StBeamBackMaker/StBeamBackMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StBeamBackMaker/StBeamBackMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StBeamBackMaker/StBeamBackMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// // Pibero Djawotho <pibero@indiana.edu> // Indiana University // November 17, 2005 // // C++ STL #include <vector> #include <set> // STAR #include "StEventTypes.h" // Local #include "Line.hh" #include "Track.hh" #include "TopologyMap.hh" #include "StBeamBackMaker.h" #define MAX_R_DISTANCE 5. // cm #define MAX_Z_...
28.544118
105
0.618547
[ "geometry", "vector" ]
f1fc13d2c4884905a7f46861d91acb63d99d986f
1,392
cpp
C++
src/Parsers/Kusto/ParserKQLTable.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
src/Parsers/Kusto/ParserKQLTable.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
1
2021-12-22T12:08:09.000Z
2021-12-22T12:08:09.000Z
src/Parsers/Kusto/ParserKQLTable.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
#include <Parsers/ASTLiteral.h> #include <Parsers/IParserBase.h> #include <Parsers/ParserTablesInSelectQuery.h> #include <Parsers/Kusto/ParserKQLQuery.h> #include <Parsers/Kusto/ParserKQLTable.h> namespace DB { bool ParserKQLTable :: parsePrepare(Pos & pos) { if (!op_pos.empty()) return false; op_pos...
20.173913
106
0.578305
[ "transform" ]
7b0a804103aa2f6e2c5eb219f279bde8239f294e
443
cpp
C++
src/Game.cpp
guiteixeirapimentel/eulerEquationsOnline
a331d73d1b334779520ceebec4af2acc0d019c83
[ "MIT" ]
null
null
null
src/Game.cpp
guiteixeirapimentel/eulerEquationsOnline
a331d73d1b334779520ceebec4af2acc0d019c83
[ "MIT" ]
null
null
null
src/Game.cpp
guiteixeirapimentel/eulerEquationsOnline
a331d73d1b334779520ceebec4af2acc0d019c83
[ "MIT" ]
null
null
null
#include "Game.h" #include <iostream> Game::Game(Keyboard &kbd) : cKeyboard(kbd), cGraphics(800, 600) { } Game::~Game() { } void Game::Tick() { Input(); Update(); cGraphics.Init(); Render(); cGraphics.Present(); } void Game::Update() { } void Game::Render() { } void Ga...
10.302326
46
0.534989
[ "render" ]
7b1ee669b1e4775d23c2ac2debf397e16dec6a7c
5,242
cpp
C++
src/lfpRatiometer.cpp
stanley-rozell/lfp-cpp-library
a00a2ea67a373c869c99d6f37108c83397a4bd78
[ "Apache-2.0" ]
null
null
null
src/lfpRatiometer.cpp
stanley-rozell/lfp-cpp-library
a00a2ea67a373c869c99d6f37108c83397a4bd78
[ "Apache-2.0" ]
null
null
null
src/lfpRatiometer.cpp
stanley-rozell/lfp-cpp-library
a00a2ea67a373c869c99d6f37108c83397a4bd78
[ "Apache-2.0" ]
1
2021-03-17T18:33:09.000Z
2021-03-17T18:33:09.000Z
#include <lfpRatiometer> using namespace std; // defining what's in the object's constructor // user defines time window length (in samples) and sampling rate lfpRatiometer::lfpRatiometer(int N_input, double sampling_input) { // setting user defined variables N=N_input; f_size=N/2 + 1; sampling=sampl...
27.302083
122
0.622091
[ "object", "vector" ]
7b24c074ff692ae86caea445470c53bc8cdf0a19
543
cpp
C++
test/graph/topological_sort.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
test/graph/topological_sort.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
test/graph/topological_sort.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
/* * @brief グラフ/トポロジカルソート */ #define IGNORE #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_4_B" #include <iostream> #include <vector> #include "../../graph/edge.hpp" #include "../../graph/topological_sort.hpp" int main() { int v, e; std::cin >> v >> e; std::vector<...
22.625
83
0.581952
[ "vector" ]
7b2622ae6c4ed8c2f361a555d1c4b5b9ee6a2db7
654
cpp
C++
pytorch/lib/pointops/src/sampling/sampling_cuda.cpp
beihaifusang/contrastBoundary
d784854b3a074bf4aa502fad676f6f1022f0edbf
[ "MIT" ]
20
2022-03-11T02:35:05.000Z
2022-03-25T12:13:08.000Z
examples/PointTransformer/pointops/src/sampling/sampling_cuda.cpp
zarzarj/MinkowskiEngine
1c1c09d23bd2147fa41cae25fa8837290c2bd07b
[ "MIT" ]
4
2022-03-28T11:37:11.000Z
2022-03-31T16:02:57.000Z
examples/PointTransformer/pointops/src/sampling/sampling_cuda.cpp
zarzarj/MinkowskiEngine
1c1c09d23bd2147fa41cae25fa8837290c2bd07b
[ "MIT" ]
5
2022-03-11T07:56:22.000Z
2022-03-31T11:33:11.000Z
#include <vector> #include <THC/THC.h> #include <torch/serialize/tensor.h> #include <ATen/cuda/CUDAContext.h> #include "sampling_cuda_kernel.h" void furthestsampling_cuda(int b, int n, at::Tensor xyz_tensor, at::Tensor offset_tensor, at::Tensor new_offset_tensor, at::Tensor tmp_tensor, at::Tensor idx_tensor) { co...
38.470588
165
0.730887
[ "vector" ]
7b29653bba3fd8f8afcf650434cf356a3fa6d86e
5,049
cpp
C++
include/GraphCut3D/Examples/KrcahGraphcut.cpp
ypauchard/ITK-KrcahSheetnessImageFilter
4b118a1b12dab22a0ff623003100eafc0f8e5382
[ "BSD-3-Clause" ]
3
2017-03-08T20:38:43.000Z
2019-04-10T09:30:46.000Z
include/GraphCut3D/Examples/KrcahGraphcut.cpp
thewtex/ITKKrcahSheetness
4b118a1b12dab22a0ff623003100eafc0f8e5382
[ "BSD-3-Clause" ]
5
2016-10-14T17:46:16.000Z
2017-10-04T03:10:05.000Z
include/GraphCut3D/Examples/KrcahGraphcut.cpp
thewtex/ITKKrcahSheetness
4b118a1b12dab22a0ff623003100eafc0f8e5382
[ "BSD-3-Clause" ]
1
2017-08-02T19:26:17.000Z
2017-08-02T19:26:17.000Z
/** * Image GraphCut 3D Segmentation * * Copyright (c) 2016, Zurich University of Applied Sciences, School of Engineering, T. Fitze, Y. Pauchard * * Licensed under GNU General Public License 3.0 or later. * Some rights reserved. */ #include "ImageGraphCut3DFilter.h" #include "itkImage.h" #include "itkIma...
45.9
135
0.673401
[ "3d" ]
7b2baee3830217dd2f03df930417428ee89b457e
9,124
cpp
C++
ray-tracer/shape.cpp
mikeswhitney33/ray-nbow
c916a757401c14749818b463158e185eed63f914
[ "MIT" ]
null
null
null
ray-tracer/shape.cpp
mikeswhitney33/ray-nbow
c916a757401c14749818b463158e185eed63f914
[ "MIT" ]
3
2021-09-08T01:53:36.000Z
2022-03-12T00:24:36.000Z
ray-tracer/shape.cpp
mikeswhitney33/ray-nbow
c916a757401c14749818b463158e185eed63f914
[ "MIT" ]
null
null
null
#include "shape.hpp" namespace rt { Triangle::Triangle(const vec3 &a, const vec3 &b, const vec3 &c):a(a),b(b),c(c) {} bool Triangle::intersect(const Ray &ray, float &t) const { vec3 ab = b - a; vec3 ac = c - a; vec3 pvec = cross(ray.dir, ac); float det = dot(ab, pvec); ...
28.873418
104
0.491451
[ "shape" ]
7b31fcc76d0e9930dd1e6a8547ff2acb686c9df7
19,667
cpp
C++
source/Irrlicht/CD3D9Texture.cpp
Ciapas-Linux/irrlicht-ogles
07bce7448a0714c62475489bc01ce719cb87ace0
[ "IJG" ]
2
2020-11-04T03:17:13.000Z
2020-11-28T23:19:26.000Z
source/Irrlicht/CD3D9Texture.cpp
Ciapas-Linux/irrlicht-ogles
07bce7448a0714c62475489bc01ce719cb87ace0
[ "IJG" ]
2
2020-01-28T08:36:22.000Z
2020-02-01T10:52:04.000Z
source/Irrlicht/CD3D9Texture.cpp
Ciapas-Linux/irrlicht-ogles
07bce7448a0714c62475489bc01ce719cb87ace0
[ "IJG" ]
1
2019-09-05T05:39:18.000Z
2019-09-05T05:39:18.000Z
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "IrrCompileConfig.h" #ifdef _IRR_COMPILE_WITH_DIRECT3D_9_ #include "CD3D9Texture.h" #include "CD3D9Driver.h" #include "os.h" ...
25.843627
189
0.663345
[ "render" ]
0da98b25ca03dcb96f9eb81b1f9bc7d5906544d0
8,733
cpp
C++
Eudora71/Eudora/PgEmbeddedObject.cpp
dusong7/eudora-win
850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2
[ "BSD-3-Clause-Clear" ]
10
2018-05-23T10:43:48.000Z
2021-12-02T17:59:48.000Z
Windows/Eudora71/Eudora/PgEmbeddedObject.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
1
2019-03-19T03:56:36.000Z
2021-05-26T18:36:03.000Z
Windows/Eudora71/Eudora/PgEmbeddedObject.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
11
2018-05-23T10:43:53.000Z
2021-12-27T15:42:58.000Z
// PgEmbeddedObject.cpp -- support for ole-based embed refs in Paige. // // Note that this does not support ole objects in *any* paige ref, but only // those with associated mfc view/doc. The doc must be derived from // COleDocument. The embed ref points to a "PgCntrItem" [PgCntrItem.cpp], // which provides a common in...
26.625
79
0.662888
[ "object" ]
0db0936f7762cddeb7eb597a5159680417de1724
472
cpp
C++
C++/0003.cpp
AndroAvi/DSA
5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582
[ "MIT" ]
4
2021-08-28T19:16:50.000Z
2022-03-04T19:46:31.000Z
C++/0003.cpp
AndroAvi/DSA
5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582
[ "MIT" ]
8
2021-10-29T19:10:51.000Z
2021-11-03T12:38:00.000Z
C++/0003.cpp
AndroAvi/DSA
5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582
[ "MIT" ]
4
2021-09-06T05:53:07.000Z
2021-12-24T10:31:40.000Z
class Solution { public: int lengthOfLongestSubstring(string s) { vector<int>map1(256, -1); int left = 0, right = 0, n = s.size(), len = 0; while(right < n){ if(map1[s[right]] != -1) left = max(map1[s[right]] + 1, left); ...
22.47619
55
0.398305
[ "vector" ]
0db9be14424c42ede39cca840116e8b8831bbff8
3,488
cpp
C++
BarcodeArrayScanner.cpp
fxnolimit/FrancoisMukabaCS300_5
6853fa72e656b9d706d4d75987ee98606ac44723
[ "MIT" ]
1
2019-07-24T02:34:52.000Z
2019-07-24T02:34:52.000Z
BarcodeArrayScanner.cpp
fxnolimit/BarcodeScanner
6853fa72e656b9d706d4d75987ee98606ac44723
[ "MIT" ]
null
null
null
BarcodeArrayScanner.cpp
fxnolimit/BarcodeScanner
6853fa72e656b9d706d4d75987ee98606ac44723
[ "MIT" ]
null
null
null
/* * BarcodeArrayScanner.cpp * * Created on: Nov 21, 2018 * Author: fxkik */ #include <iostream> #include "Item.h" #include <sstream> #include <fstream> #include <chrono> using namespace std; using namespace std::chrono; int arrayIndex = 0; const int arraySize = 2000000; void initializeArray(string fileNam...
27.904
113
0.640195
[ "object" ]
0db9d1b19070e6cb7a20881180c3352385eb25a5
1,043
hpp
C++
src/accel/bvh/builder.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
2
2019-12-12T04:59:41.000Z
2020-09-15T12:57:35.000Z
src/accel/bvh/builder.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
1
2020-09-15T12:58:42.000Z
2020-09-15T12:58:42.000Z
src/accel/bvh/builder.hpp
jkrueger/phosphorus_mk2
f26330fc2d013ca875d68de78ea9f92f344ddf4e
[ "MIT" ]
null
null
null
#pragma once #include <ImathBox.h> #include <ImathVec.h> #include <memory> #include <vector> namespace bvh { struct primitive_t { uint32_t index; // an index into the real scene geometry Imath::Box3f bounds; // the bounding box of the primitive Imath::V3f centroid; // the center of the boun...
23.177778
68
0.662512
[ "geometry", "vector" ]
0dc9696bb87897cfe075b5e9f8d61718c6d9e1d9
4,004
cpp
C++
src/post/main/Assignment.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
3
2020-05-22T04:17:23.000Z
2020-07-17T04:14:25.000Z
src/post/main/Assignment.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
src/post/main/Assignment.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
#include "Assignment.hpp" #include "FindPathVisitor.hpp" #include "Path.hpp" #include "Message.hpp" MsgRef Assignment::getErrorMsg(int target, string msgcode, bool tentative) { string var = variables->getRealName(target); MsgRef msg = Message::factory(); msg->file_name = file; msg->line_number = line; str...
25.666667
105
0.608392
[ "vector" ]
0dd5702335bb106701c1317774b9aeb438b7725b
2,237
cc
C++
routerNodeWaterfilling.cc
aakritanshuman/mtp
d24c09e99e01904ffc0d779c5e031bb7c03cff8e
[ "MIT" ]
11
2020-03-03T11:58:23.000Z
2021-04-20T02:01:30.000Z
routerNodeWaterfilling.cc
aakritanshuman/mtp
d24c09e99e01904ffc0d779c5e031bb7c03cff8e
[ "MIT" ]
null
null
null
routerNodeWaterfilling.cc
aakritanshuman/mtp
d24c09e99e01904ffc0d779c5e031bb7c03cff8e
[ "MIT" ]
9
2020-03-17T02:17:07.000Z
2022-02-17T16:12:31.000Z
#include "routerNodeWaterfilling.h" Define_Module(routerNodeWaterfilling); /* overall controller for handling messages that dispatches the right function * based on message type in waterfilling */ void routerNodeWaterfilling::handleMessage(cMessage *msg) { routerMsg *ttmsg = check_and_cast<routerMsg *>(msg); ...
36.672131
80
0.66473
[ "vector" ]
0de6a05385982fa26b6c8c0286fe2da2c576256a
6,383
cpp
C++
hecl/lib/Pipeline.cpp
RetroView/RetroCommon
a413a010b50a53ebc6b0c726203181fc179d3370
[ "MIT" ]
106
2021-04-09T19:42:56.000Z
2022-03-30T09:13:28.000Z
hecl/lib/Pipeline.cpp
Austint30/metaforce
a491e2e9f229c8db92544b275cd1baa80bacfd17
[ "MIT" ]
58
2021-04-09T12:48:58.000Z
2022-03-22T00:11:42.000Z
hecl/lib/Pipeline.cpp
Austint30/metaforce
a491e2e9f229c8db92544b275cd1baa80bacfd17
[ "MIT" ]
13
2021-04-06T23:23:20.000Z
2022-03-16T02:09:48.000Z
#include "hecl/Pipeline.hpp" #include <athena/FileReader.hpp> #include <zlib.h> namespace hecl { #if HECL_RUNTIME PipelineConverterBase* conv = nullptr; class ShaderCacheZipStream : public athena::io::IStreamReader { std::unique_ptr<uint8_t[]> m_compBuf; athena::io::FileReader m_reader; z_stream m_zstrm = {}...
37.994048
120
0.682124
[ "geometry", "vector" ]
0dee3a35f63badba772bdbbfef03f41154d5dda1
375
cc
C++
src/h5tb.cc
volodymyrmigdal/hdf5.node
2786cedc94efc921986da8f387b9c5cc5118c1c0
[ "MIT" ]
83
2016-03-29T07:54:07.000Z
2022-03-02T16:54:30.000Z
src/h5tb.cc
volodymyrmigdal/hdf5.node
2786cedc94efc921986da8f387b9c5cc5118c1c0
[ "MIT" ]
92
2016-03-07T14:09:21.000Z
2021-11-30T10:40:16.000Z
src/h5tb.cc
volodymyrmigdal/hdf5.node
2786cedc94efc921986da8f387b9c5cc5118c1c0
[ "MIT" ]
31
2016-03-23T14:18:47.000Z
2021-09-03T01:19:20.000Z
#include <node.h> #include "file.h" #include "group.h" #include "h5_tb.hpp" using namespace v8; using namespace NodeHDF5; extern "C" { static void init_tb(v8::Local<v8::Object> target) { // create local scope HandleScope scope(v8::Isolate::GetCurrent()); // initialize wrapped objects H5tb::...
17.857143
52
0.672
[ "object" ]
df039bbfbfb8475073b52ca9c706c3ae8ed5f3da
537
hpp
C++
libs/media/include/sge/media/optional_extension_set_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/media/include/sge/media/optional_extension_set_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/media/include/sge/media/optional_extension_set_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_MEDIA_OPTIONAL_EXTENSION_SET_FWD_HPP_INCLUDED #define SGE_MEDIA_OPTIONAL_EXTENSION_SET_...
26.85
82
0.767225
[ "object" ]
df07c657929474fc977a85485fe3ea741a7ebac4
1,259
cpp
C++
src/processor.cpp
jo1990/CppND-System-Monitor-Project-Updated
1bcde664f8c5938b8283ddd745432952e350333e
[ "MIT" ]
null
null
null
src/processor.cpp
jo1990/CppND-System-Monitor-Project-Updated
1bcde664f8c5938b8283ddd745432952e350333e
[ "MIT" ]
null
null
null
src/processor.cpp
jo1990/CppND-System-Monitor-Project-Updated
1bcde664f8c5938b8283ddd745432952e350333e
[ "MIT" ]
null
null
null
#include "processor.h" #include "linux_parser.h" #include <numeric> // Return the aggregate CPU utilization float Processor::Utilization() { long cpu_user; long cpu_nice; long cpu_system; long cpu_idle; long cpu_iowait; long cpu_irq; long cpu_softirq; long cpu_steal; float CPU_Per...
20.639344
94
0.658459
[ "vector" ]
df0aaea7f9f3f5c3eeb54602d8331a3753acd775
1,651
cpp
C++
Graphics/CubeMap/CubeMap.cpp
JaminGamer/CodeBank
efd70bd2f1d7a2073582093f5a86f3facba8d231
[ "BSD-3-Clause" ]
null
null
null
Graphics/CubeMap/CubeMap.cpp
JaminGamer/CodeBank
efd70bd2f1d7a2073582093f5a86f3facba8d231
[ "BSD-3-Clause" ]
null
null
null
Graphics/CubeMap/CubeMap.cpp
JaminGamer/CodeBank
efd70bd2f1d7a2073582093f5a86f3facba8d231
[ "BSD-3-Clause" ]
null
null
null
#include "stdafx.h" CubeMap::CubeMap() { glGenTextures(1, &m_TextureHandle); glBindTexture(GL_TEXTURE_CUBE_MAP, m_TextureHandle); } CubeMap::~CubeMap() { glDeleteTextures(1, &m_TextureHandle); } void CubeMap::Init() { std::vector<std::string> t_Faces; // m_TextureHandle = loadCubemap(t_Faces); /*int width, he...
26.629032
85
0.724409
[ "vector" ]
df124038d6bdbe9456bf4f037e1a2f6d95f720b1
12,251
cc
C++
v8_5_7/src/ic/x64/ic-x64.cc
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
v8_5_7/src/ic/x64/ic-x64.cc
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
v8_5_7/src/ic/x64/ic-x64.cc
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// 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. #if V8_TARGET_ARCH_X64 #include "src/codegen.h" #include "src/ic/ic.h" #include "src/ic/ic-compiler.h" #include "src/ic/stub-cache.h" namespace v8 { n...
34.22067
79
0.700514
[ "object", "vector" ]
df1a0f721ce9bda447c040385633838e8fb41273
2,755
cpp
C++
LeetCode/C++/1524. Number of Sub-arrays With Odd Sum.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1524. Number of Sub-arrays With Odd Sum.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1524. Number of Sub-arrays With Odd Sum.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//TLE //131 / 151 test cases passed. class Solution { public: int numOfSubarrays(vector<int>& arr) { int MOD = 1e9+7; int n = arr.size(); if(all_of(arr.begin(), arr.end(), [](int& e){return !(e&1);})){ return 0; } if(all_of(arr.begin(), arr.end()...
29.623656
134
0.421416
[ "vector" ]
b30903ac89c804a405297760cf089ecbfb862f99
10,456
cc
C++
ray_tracing.cc
adamantine-sim/ray_tracing
9a135e778dfcd3825e8d4809297ce3149a16a5db
[ "BSD-3-Clause" ]
1
2021-06-22T13:18:53.000Z
2021-06-22T13:18:53.000Z
ray_tracing.cc
adamantine-sim/ray_tracing
9a135e778dfcd3825e8d4809297ce3149a16a5db
[ "BSD-3-Clause" ]
null
null
null
ray_tracing.cc
adamantine-sim/ray_tracing
9a135e778dfcd3825e8d4809297ce3149a16a5db
[ "BSD-3-Clause" ]
1
2021-06-16T19:59:21.000Z
2021-06-16T19:59:21.000Z
/* Copyright (c) 2021, the adamantine authors. * * This file is subject to the Modified BSD License and may not be distributed * without copyright and license information. Please refer to the file LICENSE * for the text and further information on this license. */ #include <ArborX.hpp> #include <ArborX_Ray.hpp> #...
29.370787
92
0.633321
[ "vector" ]
b312c9da460f4580078e04671f377ef157f8c8e7
880
hpp
C++
tensor/util.hpp
leanil/LambdaGen
aff49962759c1ce1fcfb2a1cc4a9a11d78e713a9
[ "BSD-3-Clause" ]
9
2017-04-25T11:28:01.000Z
2019-07-11T13:53:27.000Z
tensor/util.hpp
leanil/LambdaGen
aff49962759c1ce1fcfb2a1cc4a9a11d78e713a9
[ "BSD-3-Clause" ]
16
2018-03-21T20:41:14.000Z
2019-06-25T16:25:35.000Z
tensor/util.hpp
leanil/LambdaGen
aff49962759c1ce1fcfb2a1cc4a9a11d78e713a9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <algorithm> #include <cmath> #include <map> #include <numeric> #include <sstream> #include <string> #include <vector> double* init_data(int a, int n) { double* seq = new double[n]; std::iota(seq, seq + n, a); return seq; } void free_data(const std::map<std::string, double*>& userDat...
21.463415
64
0.640909
[ "vector" ]
b31ac9005e26e6fc572d29a19c8e8a79cb9202c3
1,622
cpp
C++
GY/P1198.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
GY/P1198.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
GY/P1198.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<cmath> #include<cstdlib> #include<cctype> #include<ctime> #include<iostream> #include<string> #include<map> #include<queue> #include<stack> #include<set> #include<vector> #include<iomanip> #include<list> #include<bitset> #include<sstream> #include<fstream> #include<complex> #...
20.794872
53
0.612207
[ "vector" ]
b32361748cca9dce6503c263a4539e35d30e6916
642
cpp
C++
catkin_ws/src/srrg2_core/srrg2_core/src/srrg_property/property_identifiable.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
5
2020-03-11T14:36:13.000Z
2021-09-09T09:01:15.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/srrg_property/property_identifiable.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
1
2020-06-07T17:25:04.000Z
2020-07-15T07:36:10.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/srrg_property/property_identifiable.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
2
2020-11-30T08:17:53.000Z
2021-06-19T05:07:07.000Z
#include "property_identifiable.h" namespace srrg2_core { bool PropertyIdentifiablePtrVectorInterface::pushBack(Identifiable* id) { if (!canAssign(id)) return false; resize(size() + 1); return assign(size() - 1, id); } bool PropertyIdentifiablePtrVectorInterface::pushBack(std::shared_ptr<Iden...
26.75
100
0.627726
[ "object" ]
b336333ba891fdf2e9c71d4cef83cd3320057f5d
14,395
hpp
C++
sparse2d/python/deconvolve.hpp
starcksophie/pysap
c50b128039a54b6b26dcc3c7bd13fda304b8388c
[ "CECILL-B" ]
46
2018-03-16T14:36:53.000Z
2022-03-15T21:46:16.000Z
sparse2d/python/deconvolve.hpp
starcksophie/pysap
c50b128039a54b6b26dcc3c7bd13fda304b8388c
[ "CECILL-B" ]
139
2018-03-02T10:06:50.000Z
2022-03-08T08:57:37.000Z
sparse2d/python/deconvolve.hpp
starcksophie/pysap
c50b128039a54b6b26dcc3c7bd13fda304b8388c
[ "CECILL-B" ]
17
2018-04-03T11:25:59.000Z
2021-06-15T14:32:09.000Z
#ifndef DECONVOLVE_H_ #define DECONVOLVE_H_ #include <iostream> #include "sparse2d/IM_Obj.h" #include "sparse2d/IM_IO.h" #include "sparse2d/MR_Obj.h" #include "sparse2d/IM_Deconv.h" #include "sparse2d/MR_Deconv.h" #include "sparse2d/MR_Sigma.h" #include "sparse2d/MR_Sigma.h" #include "filter.hpp" #define NBR_OK_METH...
43.358434
174
0.567002
[ "model", "transform" ]
b33e8ffe04d5a3dbcf369d019aedad0ea9fa2aed
3,362
hpp
C++
sdm/defaults.hpp
dougalsutherland/sdm
2f6a57c5b337649a64f899dd5acba6e4eb35dff9
[ "BSD-3-Clause" ]
5
2015-04-03T11:49:19.000Z
2017-12-22T12:08:02.000Z
sdm/defaults.hpp
dougalsutherland/sdm
2f6a57c5b337649a64f899dd5acba6e4eb35dff9
[ "BSD-3-Clause" ]
1
2020-07-05T00:02:54.000Z
2020-07-05T00:02:54.000Z
sdm/defaults.hpp
dougalsutherland/sdm
2f6a57c5b337649a64f899dd5acba6e4eb35dff9
[ "BSD-3-Clause" ]
4
2016-05-20T10:40:40.000Z
2018-05-21T15:50:32.000Z
/******************************************************************************* * Copyright (c) 2012, Dougal J. Sutherland (dsutherl@cs.cmu.edu). * * All rights reserved. * * ...
50.179104
80
0.532719
[ "vector" ]
b351543791ed1af3bf32bb74586437ad242e88d5
1,522
cpp
C++
src/chrono_vehicle/wheeled_vehicle/tire/ChForceElementTire.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/chrono_vehicle/wheeled_vehicle/tire/ChForceElementTire.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/chrono_vehicle/wheeled_vehicle/tire/ChForceElementTire.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2022 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...
31.708333
112
0.572273
[ "model" ]
b35d0c185b7ac9ffc3bac93db36437b4262b2880
15,902
cpp
C++
src/core/cpu/gte.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
2
2022-03-14T11:04:40.000Z
2022-03-19T23:02:32.000Z
src/core/cpu/gte.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
src/core/cpu/gte.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstddef> #include <common/bitrange.hpp> #include <common/signextend.hpp> #include <common/types.hpp> #include <spdlog/spdlog.h> #include "../error.hpp" #include "gte.hpp" namespace Cpu { void Gte::Execute(u32 i) { Command command; command.raw = i; m_lm = command.lm ? 0 :...
27.898246
78
0.542951
[ "vector" ]
b362e56fd84ea8f6c42a01883173fbc3f6b7d97f
26,364
cpp
C++
test/test_hri.cpp
ros4hri/libhri
4e58ac56485319ad7daa46b0a8386961d2f3be90
[ "BSD-3-Clause" ]
null
null
null
test/test_hri.cpp
ros4hri/libhri
4e58ac56485319ad7daa46b0a8386961d2f3be90
[ "BSD-3-Clause" ]
null
null
null
test/test_hri.cpp
ros4hri/libhri
4e58ac56485319ad7daa46b0a8386961d2f3be90
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 PAL Robotics S.L. // // 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 the following ...
26.738337
126
0.66276
[ "transform" ]
b367e740c81d388a3c044d223332ac6d2ab3bfce
2,218
hxx
C++
include/GenericTSPSolver.hxx
Redchards/CVRP
f372f2fa06cb374ebdac2f6eee7e6fe297d94103
[ "MIT" ]
2
2019-09-01T14:40:11.000Z
2020-08-15T05:01:23.000Z
include/GenericTSPSolver.hxx
Redchards/CVRP
f372f2fa06cb374ebdac2f6eee7e6fe297d94103
[ "MIT" ]
null
null
null
include/GenericTSPSolver.hxx
Redchards/CVRP
f372f2fa06cb374ebdac2f6eee7e6fe297d94103
[ "MIT" ]
2
2019-08-02T17:50:23.000Z
2019-12-26T08:25:35.000Z
#ifndef GENERIC_TSP_SOLVER_HXX #define GENERIC_TSP_SOLVER_HXX #include <vector> #include <CVRPInstance.hxx> #include <Meta.hxx> #include <lemon/christofides_tsp.h> #include <lemon/greedy_tsp.h> #include <lemon/insertion_tsp.h> #include <lemon/nearest_neighbor_tsp.h> #include <lemon/opt2_tsp.h> namespace Solver { ...
31.239437
187
0.733544
[ "vector" ]
b3689bda948be9f227d99b406e863263cfb563d3
4,645
cpp
C++
MathTL/tests/test_infinite_vector.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
MathTL/tests/test_infinite_vector.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
MathTL/tests/test_infinite_vector.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
#include <cstdlib> #include <cmath> #include <set> #include <iostream> #include <algebra/infinite_vector.h> using std::cout; using std::endl; using namespace MathTL; class Squares : public InfiniteDiagonalMatrix<float> { public: double diag(const int& i) const { return i*i; } }; class SquaresPlusOne : ...
25.662983
88
0.514316
[ "vector" ]
b377ee0c3b965f2e0d6c195e969742573d6dd227
4,207
cc
C++
local-update-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
local-update-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
local-update-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
#include "Application.hh" #include "BleuScore.hh" #include "ChartFactory.hh" #include "InputData.hh" #include "LOPChart.hh" #include "PV.hh" #include "PrintTimer.hh" APPLICATION using namespace Permute; class SmoothedBleu : public std::unary_function <const ConstPathRef &, double> { private: const BleuScoreAgain...
27.860927
111
0.623247
[ "vector", "transform" ]
b3784b120ff0b988823cc40f06caab48d760f79f
13,122
cc
C++
src/tests/palm_system_blink_test.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
12
2018-03-22T18:51:21.000Z
2020-07-18T03:57:53.000Z
src/tests/palm_system_blink_test.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
24
2018-10-30T10:33:03.000Z
2020-06-02T19:59:29.000Z
src/tests/palm_system_blink_test.cc
webosose/wam
5d3eb5d50a176fb82c1fa5564655277181c9235a
[ "Apache-2.0" ]
17
2018-03-22T18:51:24.000Z
2021-11-19T13:03:43.000Z
// (c) 2021 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33.052897
80
0.681756
[ "vector" ]
b37f0ec66ff19e7470a86f285eca5a1371a066a3
905
cpp
C++
C++Tut/HelloWorld_1.cpp
dedhun/Ded_CP
593abfbf703199f748633600041c251c39d76cfe
[ "MIT" ]
1
2020-06-25T00:32:20.000Z
2020-06-25T00:32:20.000Z
C++Tut/HelloWorld_1.cpp
dedhun/Ded_CP
593abfbf703199f748633600041c251c39d76cfe
[ "MIT" ]
null
null
null
C++Tut/HelloWorld_1.cpp
dedhun/Ded_CP
593abfbf703199f748633600041c251c39d76cfe
[ "MIT" ]
null
null
null
// This is a preprocessor directive. // We are going to be including a file i/o stream in this program // that we are going to be using later. // Therefore, we are including a file i/o stream that we didn't make // but it is needed to run this program later. // This is called a header file. #include <iostream> ...
34.807692
117
0.671823
[ "object" ]
b3891b32496d563489351f3ef0bfdbeb82913675
3,560
hpp
C++
platforms/linux/src/Application/Packets/AbstractPacket.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
13
2018-07-04T16:35:37.000Z
2021-03-03T10:41:07.000Z
platforms/linux/src/Application/Packets/AbstractPacket.hpp
iotile/baBLE
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
11
2018-06-01T20:32:32.000Z
2019-01-21T17:03:47.000Z
platforms/linux/src/Application/Packets/AbstractPacket.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
null
null
null
#ifndef BABLE_ABSTRACTPACKET_HPP #define BABLE_ABSTRACTPACKET_HPP #include "PacketUuid.hpp" #include "Log/Loggable.hpp" #include "Format/HCI/HCIFormat.hpp" #include "Format/MGMT/MGMTFormat.hpp" #include "Format/Flatbuffers/FlatbuffersFormat.hpp" #include "Transport/AbstractSocket.hpp" // FIXME: Need it to avoid cycli...
29.915966
109
0.721348
[ "vector" ]
b38a61f885708807714737a26fc79ae246e09732
12,501
cpp
C++
src/frameworks/av/media/libeffects/factory/EffectsXmlConfigLoader.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libeffects/factory/EffectsXmlConfigLoader.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/av/media/libeffects/factory/EffectsXmlConfigLoader.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
35.922414
100
0.642109
[ "object" ]
b39062a6efec905b9e748c97788c582562449373
10,350
cpp
C++
consai_vision_tracker/src/robot_tracker.cpp
SSL-Roots/consai_ros2
7191c1805679387b4b2cf6d6fe838a064b538736
[ "Apache-2.0" ]
6
2021-11-27T09:21:34.000Z
2022-03-05T03:25:12.000Z
consai_vision_tracker/src/robot_tracker.cpp
SSL-Roots/consai_ros2
7191c1805679387b4b2cf6d6fe838a064b538736
[ "Apache-2.0" ]
null
null
null
consai_vision_tracker/src/robot_tracker.cpp
SSL-Roots/consai_ros2
7191c1805679387b4b2cf6d6fe838a064b538736
[ "Apache-2.0" ]
1
2022-03-08T04:59:46.000Z
2022-03-08T04:59:46.000Z
// Copyright 2021 Roots // // 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 writin...
31.944444
98
0.667923
[ "vector" ]
b3963ab0eb968e7f821a3946e21c028b3dc015ed
4,234
cpp
C++
src/IntrospectionView/ProgramManagerWindow.cpp
kyle-piddington/ShaderTool
c753a53bde6eab942da617adab9483c945f27f51
[ "MIT" ]
2
2016-03-11T00:07:33.000Z
2016-04-14T22:35:44.000Z
src/IntrospectionView/ProgramManagerWindow.cpp
kyle-piddington/ShaderTool
c753a53bde6eab942da617adab9483c945f27f51
[ "MIT" ]
null
null
null
src/IntrospectionView/ProgramManagerWindow.cpp
kyle-piddington/ShaderTool
c753a53bde6eab942da617adab9483c945f27f51
[ "MIT" ]
1
2021-02-18T14:42:03.000Z
2021-02-18T14:42:03.000Z
#include "ProgramManagerWindow.h" #include "imgui.h" #include "ProgramManagerElementFactory.h" ProgramManagerWindow::ProgramManagerWindow(): manager(nullptr), modelMgr(nullptr) { } ProgramManagerWindow::~ProgramManagerWindow() { } void ProgramManagerWindow::setProgramManager(ToolSceneProgramManager * mgr) { ...
24.473988
110
0.6077
[ "render", "vector", "model" ]
b399640506229c43cbe97b7313d7c41c3248f6bd
3,132
cpp
C++
deps/CustomOps/SparseFactorizationSolve/Factorization/SparseFactorization.cpp
ziyiyin97/ADCME.jl
1c9b2c1ae63059d79a5a6a7b86eee64796868755
[ "MIT" ]
202
2019-06-12T18:42:20.000Z
2022-03-24T16:56:46.000Z
deps/CustomOps/SparseFactorizationSolve/Factorization/SparseFactorization.cpp
banren456/ADCME.jl
2ed7a0801b6ed90f2236c3cde7a1dca825cbe897
[ "MIT" ]
46
2019-08-19T19:37:52.000Z
2022-03-27T11:17:50.000Z
deps/CustomOps/SparseFactorizationSolve/Factorization/SparseFactorization.cpp
banren456/ADCME.jl
2ed7a0801b6ed90f2236c3cde7a1dca825cbe897
[ "MIT" ]
56
2019-07-30T05:50:55.000Z
2022-03-28T02:41:07.000Z
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/default/logging.h" #include "tensorflow/core/framework/shape_inference.h" #include<cmath> #ifdef USE_GPU #include "tensorflow/core/util/gpu_kernel_helper.h" namespace tensorflow{ t...
29
95
0.664751
[ "shape" ]
b39a57bbf12194f04356dba13d6c23d96b40d94b
2,646
cpp
C++
week5/code/set_binary_search_vector.cpp
hj02/Vor2015
675641f12773229e242c6e0bde290bdd537bf830
[ "MIT" ]
null
null
null
week5/code/set_binary_search_vector.cpp
hj02/Vor2015
675641f12773229e242c6e0bde290bdd537bf830
[ "MIT" ]
null
null
null
week5/code/set_binary_search_vector.cpp
hj02/Vor2015
675641f12773229e242c6e0bde290bdd537bf830
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdlib> using namespace std; class IntSet { public: // Contstructs a new set IntSet(); // Returns the number of (distinct) elements in the set. int size(); bool empty(); // Returns true if and only if the set conta...
20.045455
78
0.519274
[ "vector" ]
a2b09852fab5ce38059326ff2c15de89a8a68958
6,457
hpp
C++
rj_topic_utils/include/rj_topic_utils/async_message_queue.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
rj_topic_utils/include/rj_topic_utils/async_message_queue.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
rj_topic_utils/include/rj_topic_utils/async_message_queue.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#pragma once #include <rclcpp/rclcpp.hpp> #include <thread> #include <vector> #include "message_queue.hpp" namespace rj_topic_utils { /** * @brief Declared but not defined template class, so that Policy must be one * of MessagePolicy::kQueue or MessagePolicy::kLatest. * @tparam T The message type to use. * @tpar...
35.284153
79
0.612668
[ "vector" ]
a2b1724a31fa61c864ec8a317492c0db928dfed1
11,996
hpp
C++
redist/deps/mcm/Huffman.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
443
2018-01-30T13:36:46.000Z
2022-03-30T18:26:26.000Z
redist/deps/mcm/Huffman.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
3
2019-04-18T08:15:34.000Z
2022-02-13T00:33:07.000Z
redist/deps/mcm/Huffman.hpp
VIGGEEN/bundle
9a7a392ea31780660d5b5c34fbe143693c8f0d7b
[ "Zlib" ]
58
2018-01-20T12:57:10.000Z
2022-03-22T22:10:02.000Z
/* MCM file compressor Copyright (C) 2013, Google Inc. Authors: Mathieu Chartier LICENSE This file is part of the MCM file compressor. MCM 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, eit...
26.307018
120
0.64138
[ "vector" ]
a2b818aad03abddaa667a93bf365a7c3777c8be1
5,212
cpp
C++
rest_capabilities.cpp
MoshiBin/deconz-rest-plugin
116b0df8c8aaa4e0cd3976e9fb0de933d7bcf69d
[ "BSD-3-Clause" ]
1,765
2015-06-09T08:10:44.000Z
2022-03-29T16:20:41.000Z
rest_capabilities.cpp
MoshiBin/deconz-rest-plugin
116b0df8c8aaa4e0cd3976e9fb0de933d7bcf69d
[ "BSD-3-Clause" ]
5,354
2015-01-09T21:18:14.000Z
2022-03-31T21:41:56.000Z
rest_capabilities.cpp
MoshiBin/deconz-rest-plugin
116b0df8c8aaa4e0cd3976e9fb0de933d7bcf69d
[ "BSD-3-Clause" ]
506
2015-04-15T14:08:41.000Z
2022-03-28T09:23:35.000Z
/* * Copyright (c) 2018-2019 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * */ #include "de_web_plugin.h" #include "de...
37.768116
113
0.678818
[ "vector" ]
a2b961d4e4c01539def90f1b1f0ed1c2540abfd7
16,496
cpp
C++
tectosaur2/hmatrix/aca_ext_impl.cpp
tbenthompson/BIE_tutorials
02cd56ab7e63e36afc4a10db17072076541aab77
[ "MIT" ]
1
2021-06-18T18:02:55.000Z
2021-06-18T18:02:55.000Z
tectosaur2/hmatrix/aca_ext_impl.cpp
tbenthompson/BIE_tutorials
02cd56ab7e63e36afc4a10db17072076541aab77
[ "MIT" ]
null
null
null
tectosaur2/hmatrix/aca_ext_impl.cpp
tbenthompson/BIE_tutorials
02cd56ab7e63e36afc4a10db17072076541aab77
[ "MIT" ]
1
2021-07-14T19:47:00.000Z
2021-07-14T19:47:00.000Z
#include <algorithm> #include <cstdio> #include <math.h> #include "../direct_kernels.hpp" #define Real double struct ACAArgs { // out parameters here Real* buffer; int* uv_ptrs; int* n_terms; // mutable workspace parameters int* next_buffer_ptr; Real* fworkspace; int* iworkspace; ...
35.705628
88
0.515883
[ "mesh", "3d" ]
a2d5d7045642622eec6b9e00f2773d2507debe54
3,258
cpp
C++
src/generated/CPACSFuselages.cpp
MarAlder/tigl
76e1f1442a045e1b8b7954119ca6f9c883ea41e2
[ "Apache-2.0" ]
null
null
null
src/generated/CPACSFuselages.cpp
MarAlder/tigl
76e1f1442a045e1b8b7954119ca6f9c883ea41e2
[ "Apache-2.0" ]
null
null
null
src/generated/CPACSFuselages.cpp
MarAlder/tigl
76e1f1442a045e1b8b7954119ca6f9c883ea41e2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 RISC Software GmbH // // This file was generated by CPACSGen from CPACS XML Schema (c) German Aerospace Center (DLR/SC). // Do not edit, all changes are lost when files are re-generated. // // Licensed under the Apache License, Version 2.0 (the "License") // you may not use this file except in com...
30.448598
156
0.672192
[ "vector" ]
a2da03a2a602d1bd9022e67f37a73c48c3d15089
2,770
hpp
C++
tabu_search.hpp
AnkilP/ieeextreme_prep
449cbc198bb5a7466fd72964747ce5c11ec1ef18
[ "MIT" ]
null
null
null
tabu_search.hpp
AnkilP/ieeextreme_prep
449cbc198bb5a7466fd72964747ce5c11ec1ef18
[ "MIT" ]
null
null
null
tabu_search.hpp
AnkilP/ieeextreme_prep
449cbc198bb5a7466fd72964747ce5c11ec1ef18
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <fstream> #include <string> #include <sstream> #include <memory> #include <type_traits> #include <map> #include <queue> #include <ctime> #include <stdlib.h> class CSVReader { std::string fileName; public: CSVReader(std::string filename...
22.704918
110
0.601805
[ "vector" ]