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
20b2e2750169e84330b84729a781491480dded6e
10,041
hpp
C++
include/triton_helpers.hpp
miguelusque/hugectr_backend
277fb1acd78a8268f642437dd3cc49e485a8d20b
[ "BSD-3-Clause" ]
null
null
null
include/triton_helpers.hpp
miguelusque/hugectr_backend
277fb1acd78a8268f642437dd3cc49e485a8d20b
[ "BSD-3-Clause" ]
null
null
null
include/triton_helpers.hpp
miguelusque/hugectr_backend
277fb1acd78a8268f642437dd3cc49e485a8d20b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021, NVIDIA CORPORATION. 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 condi...
41.320988
80
0.704711
[ "object", "vector" ]
20b6fe9e5f3d962dd6c14558d0c134854b9c91f5
5,048
cpp
C++
src/cli/transfer/fts3-transfer-status.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
9
2018-06-27T09:53:51.000Z
2021-01-19T09:54:37.000Z
src/cli/transfer/fts3-transfer-status.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
null
null
null
src/cli/transfer/fts3-transfer-status.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
3
2018-07-13T06:17:44.000Z
2021-07-08T04:57:04.000Z
/* * Copyright (c) CERN 2013-2015 * * Copyright (c) Members of the EMI Collaboration. 2010-2013 * See http://www.eu-emi.eu/partners for details on the copyright * holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
33.879195
127
0.461767
[ "vector" ]
20b884fb8b5f1b688d77b2b2a8e2c03bfa1cbd8e
262
cpp
C++
library/Methods/Maths/number-theory/common-divisors-two-nums.cpp
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
4
2021-01-05T09:25:59.000Z
2021-09-27T03:57:28.000Z
library/Methods/Maths/number-theory/common-divisors-two-nums.cpp
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
null
null
null
library/Methods/Maths/number-theory/common-divisors-two-nums.cpp
sarafanshul/KACTL
fa14ed34e93cd32d8625ed3729ba2eee55838340
[ "MIT" ]
null
null
null
// calculate the gcd of given two numbers, and then count divisors of that gcd vector<long long> v; template<typename T> void common_div(T a ,T b){ T g = __gcd(a,b); for (T i = 1; i*i <= g; i++) { if (g%i==0) { v.push_back(i); v.push_back(g/i); } } }
23.818182
78
0.603053
[ "vector" ]
20b885961396a1b6f36a040f1fc3fbc464d6e3e3
4,288
cpp
C++
MEX/src/cpp/vision/features/multi_bow_extractor.cpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
47
2016-07-25T00:48:59.000Z
2021-02-17T09:19:03.000Z
MEX/src/cpp/vision/features/multi_bow_extractor.cpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
5
2016-09-17T19:40:46.000Z
2018-11-07T06:49:02.000Z
MEX/src/cpp/vision/features/multi_bow_extractor.cpp
iqbalu/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
35
2016-07-21T09:13:15.000Z
2019-05-13T14:11:37.000Z
/* * multi_bow_extractor.cpp * * Created on: Nov 10, 2011 * Author: lbossard */ #include "multi_bow_extractor.hpp" #include <vector> #include <tr1/unordered_map> #include <algorithm> #include <boost/foreach.hpp> #include <boost/filesystem/path.hpp> namespace fs = boost::filesystem; #include <glog/logging...
27.844156
131
0.639226
[ "vector" ]
20b9e9e83cc484a3b02f94dce661f548d10fce12
14,631
cpp
C++
src/QMCWaveFunctions/SPOSet.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/SPOSet.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/SPOSet.cpp
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: Ken Esler...
30.354772
119
0.594765
[ "vector" ]
20ce133d82170dddb024b514fbec2124bb220d6e
4,556
cpp
C++
cpp/main.cpp
serghov/OpencvFaceDetectWasm
6e2a0b24b6b633a34353add6f6eee49ba75e25d1
[ "MIT" ]
8
2018-07-16T18:59:24.000Z
2020-12-04T01:42:17.000Z
cpp/main.cpp
serghov/OpencvFaceDetectWasm
6e2a0b24b6b633a34353add6f6eee49ba75e25d1
[ "MIT" ]
1
2019-04-09T11:41:15.000Z
2019-04-09T11:41:15.000Z
cpp/main.cpp
serghov/OpencvFaceDetectWasm
6e2a0b24b6b633a34353add6f6eee49ba75e25d1
[ "MIT" ]
1
2018-07-16T20:13:44.000Z
2018-07-16T20:13:44.000Z
#include "opencv2/imgcodecs.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/objdetect/objdetect.hpp" #include <iostream> #include <fstream> #include <chrono> #include <emscripten.h> #include <stdio.h> #include <SDL/SDL.h> #include <SDL/SDL_image.h> using namespace std; us...
30.993197
545
0.652985
[ "vector" ]
20dd2ece3d718df8572323d9ac99d7702b25741f
2,600
hh
C++
include/LHEParticle.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
include/LHEParticle.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
include/LHEParticle.hh
omar-moreno/simulation-formerly-known-as-slic
331d0452d05762e2f4554f0ace6fe46922a7333c
[ "BSD-3-Clause-LBNL" ]
null
null
null
/** * @file LHEParticle.h * @brief Class defining a single particle record in an LHE event * @author Jeremy McCormick, SLAC National Accelerator Laboratory */ #ifndef SLIC_LHEPARTICLE_HH_ #define SLIC_LHEPARTICLE_HH_ // STL #include <string> #include <vector> namespace slic { /** * @class LHEParticle * @brief...
18.181818
65
0.612308
[ "vector" ]
22161a96e690645120bfc52acc410c3a468b6b26
6,565
cc
C++
ui/display/manager/json_converter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ui/display/manager/json_converter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ui/display/manager/json_converter.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/display/manager/json_converter.h" #include <memory> #include <string> #include "base/logging.h" #include "base/strings/string_number_conver...
31.261905
80
0.678294
[ "vector" ]
221fb4bf15cfdcc2ccbe1538fa9ce88fd3d23a94
59,296
cpp
C++
src/guimanager.cpp
PleXone2019/cmftStudio
46f006f22a8c6683da23cee015c6898eb5ab6d3f
[ "BSD-2-Clause" ]
1,087
2015-01-02T10:34:26.000Z
2022-03-30T07:41:43.000Z
src/guimanager.cpp
PleXone2019/cmftStudio
46f006f22a8c6683da23cee015c6898eb5ab6d3f
[ "BSD-2-Clause" ]
25
2015-03-06T11:14:02.000Z
2020-04-19T09:00:11.000Z
src/guimanager.cpp
PleXone2019/cmftStudio
46f006f22a8c6683da23cee015c6898eb5ab6d3f
[ "BSD-2-Clause" ]
127
2015-02-26T11:57:06.000Z
2022-03-23T02:22:44.000Z
/* * Copyright 2014-2015 Dario Manesku. All rights reserved. * License: http://www.opensource.org/licenses/BSD-2-Clause */ #include "common/common.h" #include "guimanager.h" #include "common/utils.h" // WidgetAnimator #include <bx/string.h> // bx::snprintf #include <cmft/callbacks.h> // cmft::setCallback ...
39.061924
137
0.559329
[ "mesh", "transform" ]
2223a48def266652499173ced5fd701077289b2c
612
cpp
C++
src/Evaluater/compare.cpp
atom9393/CUBE
b398a1c7b317047b89a7eeddf67aed1a78d20f36
[ "MIT" ]
7
2021-12-27T05:43:40.000Z
2022-01-12T09:35:52.000Z
src/Evaluater/compare.cpp
atom9393/CUBE
b398a1c7b317047b89a7eeddf67aed1a78d20f36
[ "MIT" ]
6
2021-12-24T11:29:05.000Z
2022-01-11T12:23:19.000Z
src/Evaluater/compare.cpp
atom9393/CUBE
b398a1c7b317047b89a7eeddf67aed1a78d20f36
[ "MIT" ]
1
2021-12-22T02:41:33.000Z
2021-12-22T02:41:33.000Z
#include <algorithm> #include "error.h" #include "debug.h" #include "Token.h" #include "Object.h" #include "Node.h" #include "Evaluater.h" ObjectType Evaluater::compare(Node* node) { auto& ret = node->objtype; ret = evaluate(node->expr_list[0].item); if( !ret.equals(OBJ_INT) && !ret.equals(OBJ_FLOAT) ) { e...
22.666667
83
0.622549
[ "object" ]
223a30b74f74e4caa9eead9cc0ab5b5c3b90db30
174,996
cpp
C++
bench/ml2cpp-demo/SVR_rbf/RandomReg_100/ml2cpp-demo_SVR_rbf_RandomReg_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
null
null
null
bench/ml2cpp-demo/SVR_rbf/RandomReg_100/ml2cpp-demo_SVR_rbf_RandomReg_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
33
2020-09-13T09:55:01.000Z
2022-01-06T11:53:55.000Z
bench/ml2cpp-demo/SVR_rbf/RandomReg_100/ml2cpp-demo_SVR_rbf_RandomReg_100.cpp
antoinecarme/ml2cpp
2b241d44de00eafda620c2b605690276faf5f8fb
[ "BSD-3-Clause" ]
1
2021-01-26T14:41:58.000Z
2021-01-26T14:41:58.000Z
// ******************************************************** // This C++ code was automatically generated by ml2cpp (development version). // Copyright 2020 // https://github.com/antoinecarme/ml2cpp // Model : SVR_rbf // Dataset : RandomReg_100 // This CPP code can be compiled using any C++-17 compiler. // g++ -Wall...
1,182.405405
2,827
0.820579
[ "vector", "model" ]
2240ee96a4d5ce98448488690c3e7824791ccfc6
16,285
cpp
C++
gazeboSimulation/gazebo_rsv_balance_original.cpp
corno93/self-balancing-robot-using-RL
24a52e141f20aee0279a4c0a47a4ca738612cc08
[ "MIT" ]
1
2020-11-07T09:14:08.000Z
2020-11-07T09:14:08.000Z
gazeboSimulation/gazebo_rsv_balance_original.cpp
Avinashshah099/self-balancing-robot-using-RL
24a52e141f20aee0279a4c0a47a4ca738612cc08
[ "MIT" ]
null
null
null
gazeboSimulation/gazebo_rsv_balance_original.cpp
Avinashshah099/self-balancing-robot-using-RL
24a52e141f20aee0279a4c0a47a4ca738612cc08
[ "MIT" ]
1
2021-03-06T04:49:52.000Z
2021-03-06T04:49:52.000Z
/********************************************************************* * Copyright (c) 2015 Robosavvy Ltd. * Author: Vitor Matos * * Based on diff_drive_plugin *********************************************************************/ #include "gazebo_rsv_balance/gazebo_rsv_balance.h" #include <string> #include <...
35.634573
119
0.686583
[ "model", "transform" ]
224e2dd4bfefc2d03d1d35205b1ca404b0b67878
7,558
cpp
C++
BackInTime/Motor2D/j1FlyingEnemy.cpp
Bernat-Pablo/Platformer-game
6d1c597a06798b0fa657ea73b1aa03e2baa86a14
[ "MIT" ]
null
null
null
BackInTime/Motor2D/j1FlyingEnemy.cpp
Bernat-Pablo/Platformer-game
6d1c597a06798b0fa657ea73b1aa03e2baa86a14
[ "MIT" ]
null
null
null
BackInTime/Motor2D/j1FlyingEnemy.cpp
Bernat-Pablo/Platformer-game
6d1c597a06798b0fa657ea73b1aa03e2baa86a14
[ "MIT" ]
null
null
null
#include "j1App.h" #include "j1Player.h" #include "j1Render.h" #include "j1RectSprites.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Input.h" #include "j1Animation.h" #include "p2Log.h" #include "j1Collision.h" #include "j1Map.h" #include "j1Scene.h" #include "j1Fade.h" #include "Brofiler/Brofiler.h" #inc...
23.545171
155
0.677825
[ "render" ]
224eac7f604fc771b007d217c0604dffc8d79efd
2,168
cpp
C++
Source/Framework/Core/Components/TeCCamera.cpp
fabsgc/TweedeFrameworkRedux
2c61e6f31c43db36a20d3288e45047586a503725
[ "Zlib" ]
57
2019-09-02T01:10:37.000Z
2022-01-11T06:28:10.000Z
Source/Framework/Core/Components/TeCCamera.cpp
fabsgc/TweedeFrameworkRedux
2c61e6f31c43db36a20d3288e45047586a503725
[ "Zlib" ]
null
null
null
Source/Framework/Core/Components/TeCCamera.cpp
fabsgc/TweedeFrameworkRedux
2c61e6f31c43db36a20d3288e45047586a503725
[ "Zlib" ]
6
2020-02-29T17:19:30.000Z
2021-10-30T04:29:22.000Z
#include "Components/TeCCamera.h" #include "Scene/TeSceneManager.h" namespace te { CCamera::CCamera() : Component(HSceneObject(), (UINT32)TID_CCamera) { SetName("Camera"); SetFlag(Component::AlwaysRun, true); } CCamera::CCamera(const HSceneObject& parent) : Component(pa...
22.583333
70
0.59179
[ "vector" ]
2255bb2e5c669c28159db1e8de1e9bca65adda72
2,768
hh
C++
src/physics/Gripper.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2016-01-17T20:41:39.000Z
2018-05-01T12:02:58.000Z
src/physics/Gripper.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/physics/Gripper.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2015-09-29T02:30:16.000Z
2022-03-30T12:11:22.000Z
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
29.136842
75
0.669075
[ "object", "vector", "model" ]
225b6bb4a5c000121dedbe9fa90df6d1c45d8ade
1,208
cpp
C++
camera-cmd/fnames.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
20
2016-09-07T10:32:05.000Z
2021-06-04T17:12:17.000Z
camera-cmd/fnames.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
1
2020-01-16T02:51:21.000Z
2020-02-19T02:34:29.000Z
camera-cmd/fnames.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
5
2019-04-03T14:27:55.000Z
2021-01-18T13:24:52.000Z
/* * Copyright(c) 2016 Chew Esmero * All rights reserved. */ #include "stdafx.h" #include "fnames.h" #include "..\include\libcamera.h" #include "common.h" #include "appcontext.h" int DispatchFriendlyNames(wchar_t *pszParam, wchar_t *pszSubParam, PVOID pContext) { CContext *pCt = (CContext*)pContext; ICamer...
21.571429
82
0.522351
[ "vector" ]
225e14a1be08abd550ad63c45eb51a1c462e1c20
3,379
cpp
C++
Source/JavaScriptCore/jit/JITArithmetic32_64.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/JavaScriptCore/jit/JITArithmetic32_64.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/JavaScriptCore/jit/JITArithmetic32_64.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2008-2019 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and...
32.490385
82
0.717668
[ "vector" ]
2260caa2159a0570b15d8bce6240f0c8450426be
7,164
cpp
C++
day15/day15.cpp
CheezeCake/AoC-2018
add9b20f0708069e58317b31c7447534792a6d40
[ "MIT" ]
null
null
null
day15/day15.cpp
CheezeCake/AoC-2018
add9b20f0708069e58317b31c7447534792a6d40
[ "MIT" ]
null
null
null
day15/day15.cpp
CheezeCake/AoC-2018
add9b20f0708069e58317b31c7447534792a6d40
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <functional> #include <iostream> #include <limits> #include <numeric> #include <optional> #include <queue> #include <stdexcept> #include <tuple> #include <vector> struct Point { int x; int y; }; std::ostream& operator<<(std::ostream& os, const Point& p) { os << '(' <<...
19.681319
96
0.5677
[ "vector" ]
22612d5f6f60115ffb799ac613b360072cb7e63d
1,812
cpp
C++
tourist-spots/cpp/test.cpp
XUranus/shit
695a1c33c65357fb5bb170483e84fecb4368d224
[ "Unlicense" ]
1
2020-11-12T17:20:29.000Z
2020-11-12T17:20:29.000Z
tourist-spots/cpp/test.cpp
XUranus/shit
695a1c33c65357fb5bb170483e84fecb4368d224
[ "Unlicense" ]
null
null
null
tourist-spots/cpp/test.cpp
XUranus/shit
695a1c33c65357fb5bb170483e84fecb4368d224
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; #include <iostream> #include <string> #include <map> #include <vector> #include <set> #include <algorithm> #include <fstream> #include <list> #include <cstdio> #include <set> #include "Graph.h" #include "util.h" /* HamiltonPath Graph::Hamilton() { } set<int> erase_verice...
17.09434
57
0.570088
[ "vector" ]
22619b913956ca5ac3d8ef9914b41c8a5f9e05c1
37,059
cc
C++
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/theme_customization.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/theme_customization.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/theme_customization.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/actions/sdk/v2/theme_customization.proto #include "google/actions/sdk/v2/theme_customization.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extens...
46.850822
266
0.730565
[ "object" ]
2262c76e64f979ffcd57865a7577a1f81b5e138a
141,236
cpp
C++
cmds/statsd/tests/metrics/ValueMetricProducer_test.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
cmds/statsd/tests/metrics/ValueMetricProducer_test.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
cmds/statsd/tests/metrics/ValueMetricProducer_test.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
// 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 applic...
45.080115
103
0.69066
[ "vector" ]
2263ad0b6076abd6b9cbac4d322eadb6bc0893ab
1,824
cpp
C++
webrtc-jni/src/main/cpp/src/media/video/desktop/DesktopFrame.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
1
2020-10-18T04:59:44.000Z
2020-10-18T04:59:44.000Z
webrtc-jni/src/main/cpp/src/media/video/desktop/DesktopFrame.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
null
null
null
webrtc-jni/src/main/cpp/src/media/video/desktop/DesktopFrame.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
1
2021-04-22T12:30:45.000Z
2021-04-22T12:30:45.000Z
/* * Copyright 2019 Alex Andres * * 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 ...
32
108
0.70614
[ "object" ]
226ccf933435c8c2b180b290c26d629ce0c15668
2,160
cpp
C++
15. 3sum.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
15. 3sum.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
15. 3sum.cpp
dipta007/leetcode-solutions-dipta007
0454ad24ce686a37fab8025c75efb7d857985f29
[ "MIT" ]
null
null
null
#define ff first #define ss second #define pii pair < int, int > class Solution { public: pii find(vector < pii > &vp, int strt, int end, int val) { int low = strt, high = end; while(low <= high) { int mid = (low + high) / 2; if(vp[mid].ff < val) ...
24.827586
64
0.327315
[ "vector" ]
226ce176e969f1b55e73263fd485ef9e1aaebaa8
4,525
cpp
C++
Src/Complan/GenerateTrajectory.cpp
Dronacharya-Org/ComplanV2
6ba7516342ae9a826e2752389fb6f268c1d1f582
[ "MIT" ]
1
2015-07-17T20:21:49.000Z
2015-07-17T20:21:49.000Z
Src/Complan/GenerateTrajectory.cpp
Dronacharya-Org/ComplanV2
6ba7516342ae9a826e2752389fb6f268c1d1f582
[ "MIT" ]
4
2015-07-17T19:50:13.000Z
2015-08-04T05:33:19.000Z
Src/Complan/GenerateTrajectory.cpp
Dronacharya-Org/ComplanV2
6ba7516342ae9a826e2752389fb6f268c1d1f582
[ "MIT" ]
null
null
null
/* File: GenerateTrajectory.cpp Authors: Indranil Saha (isaha@cse.iitk.ac.in) Ankush Desai(ankush@eecs.berkeley.edu) This file is used for generating the trajectory, as a sequence of the motion primitives. */ #include <iostream> #include <fstream> #include <string> #include <stdlib.h> #include "MotionPrimitives.h" #in...
26.461988
222
0.691934
[ "model" ]
2270178bc489454b0ef84a5fbd35779a0aa36a27
2,273
cc
C++
tests/stree-test.cc
dendi239/algorithms-data-structures
43db1aa8340f8ef9669bcb26894884f4bc420def
[ "MIT" ]
10
2020-02-02T23:53:04.000Z
2022-02-14T02:55:14.000Z
tests/stree-test.cc
dendi239/algorithms-data-structures
43db1aa8340f8ef9669bcb26894884f4bc420def
[ "MIT" ]
2
2020-09-02T12:27:48.000Z
2021-05-04T00:10:44.000Z
tests/stree-test.cc
dendi239/algorithms-data-structures
43db1aa8340f8ef9669bcb26894884f4bc420def
[ "MIT" ]
1
2020-04-30T23:16:08.000Z
2020-04-30T23:16:08.000Z
#include <catch2/catch_all.hpp> #include "../data-structures/segment-tree/segment-tree.hpp" struct SumData { static auto Pure(int64_t value) { return value; } static auto Merge(int64_t lhs, int64_t rhs) -> int64_t { return lhs + rhs; } }; TEST_CASE("Pure sumtree test") { std::vector<int64_t> xs(10...
19.938596
78
0.545095
[ "vector" ]
2273a489e3093b7a81d63c6639a6eeeab80be263
8,190
cpp
C++
iris-cpp/src/iris/gen/GraphGenerator.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/src/iris/gen/GraphGenerator.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/src/iris/gen/GraphGenerator.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
#include "iris/gen/GraphGenerator.hpp" #include <algorithm> #include <iostream> #include <random> #include <stdexcept> #include <utility> #include "iris/Utils.hpp" namespace iris { namespace gen { types::uint32 chooseFamilySize(const types::fnumeric& p, ...
32.629482
92
0.450183
[ "vector" ]
22753951abd3bbad6259215fd0749d28ed754c05
1,708
cpp
C++
test/main.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
3
2020-09-08T05:01:56.000Z
2020-11-23T13:11:25.000Z
test/main.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
null
null
null
test/main.cpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
2
2019-08-16T08:32:30.000Z
2020-02-10T08:44:04.000Z
#include <iostream> #include <cstdio> #include <string> #include <mpi.h> #include "test.hpp" #include "../MPI.hpp" using namespace std; int main(int argc, char** argv) { // MPI_Init(NULL, NULL); oa::MPI::global()->c_init(MPI_COMM_WORLD, 0, NULL); int m = stol(argv[1]); int n = stol(argv[2]); int p = sto...
18.365591
57
0.590749
[ "3d" ]
227aa38e575f89c502e3aab88b8637dc5515bca9
808
cpp
C++
src/generate.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
src/generate.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
src/generate.cpp
ebayboy/cpp_demos
b01df202c0285bf232900662d336505520d5d24d
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** @file:generate.cpp @author:ebayboy@163.com @date:2019-10-18 08:54 @version: 1.0 @description: cpp file @Copyright (c) all right reserved **************************************************************************/ #include <iostream> #includ...
17.191489
77
0.490099
[ "vector" ]
228157ad48f2d7db0a6470c44a6d781b783fcaec
233
hpp
C++
src/cpptinytools/Parser.hpp
kamsykula/CppTinyTools
e18b67f127654249ab4f66627d1d98a3b5a21656
[ "MIT" ]
null
null
null
src/cpptinytools/Parser.hpp
kamsykula/CppTinyTools
e18b67f127654249ab4f66627d1d98a3b5a21656
[ "MIT" ]
null
null
null
src/cpptinytools/Parser.hpp
kamsykula/CppTinyTools
e18b67f127654249ab4f66627d1d98a3b5a21656
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> namespace sk { class Parser { public: Parser() = delete; static std::vector<std::string> split(const std::string& source, const std::string& delimiter); }; }
15.533333
101
0.635193
[ "vector" ]
2288e533811029d8b7205b5f24bfbeb6846cafff
21,198
cpp
C++
mcfi/src/Repl.cpp
pkusensei/MinskFork
e9b93ea5af4d2c88a9e61724dd57d2a4a8dd8271
[ "MIT" ]
2
2020-07-12T17:58:09.000Z
2022-03-11T13:16:27.000Z
mcfi/src/Repl.cpp
pkusensei/MinskFork
e9b93ea5af4d2c88a9e61724dd57d2a4a8dd8271
[ "MIT" ]
null
null
null
mcfi/src/Repl.cpp
pkusensei/MinskFork
e9b93ea5af4d2c88a9e61724dd57d2a4a8dd8271
[ "MIT" ]
1
2022-03-11T13:23:54.000Z
2022-03-11T13:23:54.000Z
#include "Repl.h" #include <fstream> #include <iostream> #include "IO.h" #include "Parsing.h" #include "StringHelper.h" #include "Authoring.h" namespace fs = std::filesystem; namespace { constexpr auto NEW_LINE = '\n'; fs::path GetSubmissionDir() { /// %USERPROFILE%/AppData/Local/Temp auto temp = fs::temp_dire...
25.478365
101
0.684357
[ "render", "vector" ]
228a46e7c383249f60eab107c2a5bb892c408898
7,209
cpp
C++
main/src/vtr_vision/src/features/augment/descriptor_augment.cpp
utiasASRL/vtr3
b4edca56a19484666d3cdb25a032c424bdc6f19d
[ "Apache-2.0" ]
32
2021-09-15T03:42:42.000Z
2022-03-26T10:40:01.000Z
main/src/vtr_vision/src/features/augment/descriptor_augment.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T19:18:15.000Z
2022-02-02T11:15:40.000Z
main/src/vtr_vision/src/features/augment/descriptor_augment.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T01:31:28.000Z
2022-03-14T05:09:37.000Z
// Copyright 2021, Autonomous Space Robotics Lab (ASRL) // // 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 appli...
38.345745
80
0.591205
[ "vector" ]
228d9356cfc25b9e5fdc334ac1ab9463a127b582
5,852
cpp
C++
src/core/ArEntity.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
36
2019-09-26T13:01:32.000Z
2021-04-13T03:17:50.000Z
src/core/ArEntity.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
null
null
null
src/core/ArEntity.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
3
2020-06-29T14:26:48.000Z
2021-04-03T06:53:50.000Z
#include "ArEntity.h" #include "ArShape.h" namespace Aurora { //-------------------------------------------AEntity------------------------------------- AURORA_REGISTER_CLASS(AEntity, "Entity") AEntity::AEntity(const APropertyTreeNode &node) { const APropertyList& props = node.getPropertyList(); // Shape ...
32.511111
126
0.655502
[ "mesh", "shape", "vector", "transform" ]
2292164e615363930664f55e4ab63631062235ff
3,002
cpp
C++
1/Code/Source/Engine/Source/Object.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
1/Code/Source/Engine/Source/Object.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
1/Code/Source/Engine/Source/Object.cpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
#include "Object.hpp" namespace ge { //----------------------------------------------------------------------------// // Object //----------------------------------------------------------------------------// Mutex Object::s_namesMutex; HashMap<uint32, String> Object::s_names; //------------------...
30.323232
82
0.358095
[ "object" ]
2292fdbbf79958c2cf929fb2be1bcbf805f4a4c0
21,523
cpp
C++
src_main/engine/r_areaportal.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
25
2018-02-28T15:04:42.000Z
2021-08-16T03:49:00.000Z
src_main/engine/r_areaportal.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
1
2019-09-20T11:06:03.000Z
2019-09-20T11:06:03.000Z
src_main/engine/r_areaportal.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
9
2019-07-31T11:58:20.000Z
2021-08-31T11:18:15.000Z
// Copyright © 1996-2018, Valve Corporation, All rights reserved. #include "render_pch.h" #include "r_areaportal.h" #include "client.h" #include "cmodel_engine.h" #include "con_nprint.h" #include "debug_leafvis.h" #include "tier0/include/fasttimer.h" #include "tier0/include/memdbgon.h" ConVar r_ClipAreaPortals("r_...
36.29511
87
0.643405
[ "vector", "3d", "solid" ]
229fc9900ea15a9e901e006764df78585cc224a6
1,897
cpp
C++
native/tests/unit-test/src/math_utils_test.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/tests/unit-test/src/math_utils_test.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/tests/unit-test/src/math_utils_test.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org 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 Sof...
43.113636
77
0.684238
[ "vector" ]
22a22e576315547c541db1259565441c2a71f9b9
2,184
hh
C++
core/inc/com/centreon/broker/ceof/ceof_iterator.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
core/inc/com/centreon/broker/ceof/ceof_iterator.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
core/inc/com/centreon/broker/ceof/ceof_iterator.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2009-2013 Centreon ** ** 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 t...
31.2
87
0.654304
[ "object", "vector" ]
22b3a916e7066cfab7f7bdc59ed231e7042b8b8f
19,954
cpp
C++
src/lexer.cpp
alextsao1999/hypermind
f4b33724ae02fa57e4df33daffedc90417ca52c8
[ "MIT" ]
12
2019-03-24T09:10:19.000Z
2021-12-14T10:54:50.000Z
src/lexer.cpp
alextsao1999/hypermind
f4b33724ae02fa57e4df33daffedc90417ca52c8
[ "MIT" ]
null
null
null
src/lexer.cpp
alextsao1999/hypermind
f4b33724ae02fa57e4df33daffedc90417ca52c8
[ "MIT" ]
2
2019-04-10T02:35:30.000Z
2019-04-11T14:38:38.000Z
// // Created by 曹顺 on 2019/2/11. // #include <iostream> #include <cstring> #include "lexer.h" #include "obj/string.h" namespace hypermind { bool IsSpace(HMChar ch){ return ch == _HM_C(' ') || ch == _HM_C('\r'); } bool IsNumber(HMChar ch) { return ch >= _HM_C('0') && ch <= _HM_C('9'); ...
31.374214
108
0.38689
[ "object" ]
42f12576af26df12d13e64a1c5068cbee45cd8cf
2,942
cpp
C++
windows/pw6e.official/CPlusPlus/Chapter18/BubbleLevel/BubbleLevel/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
windows/pw6e.official/CPlusPlus/Chapter18/BubbleLevel/BubbleLevel/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
windows/pw6e.official/CPlusPlus/Chapter18/BubbleLevel/BubbleLevel/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" using namespace BubbleLevel; using namespace Concurrency; using namespace Platform; using namespace Windows::Devices::Sensors; using namespace Windows::Foundation; using namespace Windows::Fo...
33.816092
126
0.693406
[ "object" ]
42ff32946b5a11ab17779e0204535e30efba709f
14,045
cpp
C++
src/mir/passes_test.cpp
annacrombie/meson-plus-plus
9b922c1bc76917b8fd197d2dbb1409fd7707affb
[ "Apache-2.0" ]
null
null
null
src/mir/passes_test.cpp
annacrombie/meson-plus-plus
9b922c1bc76917b8fd197d2dbb1409fd7707affb
[ "Apache-2.0" ]
null
null
null
src/mir/passes_test.cpp
annacrombie/meson-plus-plus
9b922c1bc76917b8fd197d2dbb1409fd7707affb
[ "Apache-2.0" ]
null
null
null
// SPDX-license-identifier: Apache-2.0 // Copyright © 2021 Intel Corporation #include <gtest/gtest.h> #include <sstream> #include <variant> #include "arguments.hpp" #include "ast_to_mir.hpp" #include "driver.hpp" #include "exceptions.hpp" #include "lower.hpp" #include "mir.hpp" #include "passes.hpp" #include "state/s...
36.863517
100
0.655892
[ "vector" ]
6e08530c98c48c7737e2c1bc5d8d599f9901bb1e
16,528
cc
C++
sample_test.cc
flipk/sqlite3gen
952a5655abfd23a916ea548362337b0c2bd3551c
[ "Unlicense" ]
null
null
null
sample_test.cc
flipk/sqlite3gen
952a5655abfd23a916ea548362337b0c2bd3551c
[ "Unlicense" ]
null
null
null
sample_test.cc
flipk/sqlite3gen
952a5655abfd23a916ea548362337b0c2bd3551c
[ "Unlicense" ]
null
null
null
#define __STDC_FORMAT_MACROS #ifndef DEPENDING #include SAMPLE_H_HDR #endif #include <stdio.h> #include <inttypes.h> #include <unistd.h> #include <stdlib.h> #include <gtest/gtest.h> #include "sample_test.h" int main(int argc, char ** argv) { ::testing::InitGoogleTest(&argc, argv); int ret = RUN_ALL_TESTS()...
24.485926
88
0.582043
[ "vector" ]
6e10fed15dce94a6e90b5fd69bcdfdc6f1c63ee7
7,941
cc
C++
src/keytree.cc
un-ch/bbkeys
6a28d4614d46df3d68f1f45ccde71eb14e6db6e6
[ "MIT" ]
7
2017-09-08T09:19:07.000Z
2021-11-09T13:02:26.000Z
src/keytree.cc
un-ch/bbkeys
6a28d4614d46df3d68f1f45ccde71eb14e6db6e6
[ "MIT" ]
4
2017-11-12T13:09:59.000Z
2022-02-03T06:31:24.000Z
src/keytree.cc
un-ch/bbkeys
6a28d4614d46df3d68f1f45ccde71eb14e6db6e6
[ "MIT" ]
1
2022-01-28T11:07:24.000Z
2022-01-28T11:07:24.000Z
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- // keytree.cc for Epistrophy - a key handler for NETWM/EWMH window managers. // Copyright (c) 2002 - 2002 Ben Jansens <ben at orodu.net> // // Modified for use and inclusion in bbkeys by Jason 'vanRijn' Kasper // // Permission is hereby granted, free of ch...
30.425287
103
0.632414
[ "render", "object" ]
6e12543bc00520858dea7ad148050310a1c8169d
1,646
cc
C++
peridot/public/lib/modular_test_harness/cpp/fake_agent.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
peridot/public/lib/modular_test_harness/cpp/fake_agent.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
peridot/public/lib/modular_test_harness/cpp/fake_agent.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 <lib/modular_test_harness/cpp/fake_agent.h> namespace modular { namespace testing { FakeAgent::FakeAgent() = default; FakeAgent::FakeAgent( ...
29.392857
78
0.735723
[ "vector" ]
6e14ed73f6b16323a03a7bfdfd06a876995da945
402
cpp
C++
generator/affiliation.cpp
LaGrunge/geocore
b599eda29a32a14e5c02f51c66848959b50732f2
[ "Apache-2.0" ]
1
2019-10-02T16:17:31.000Z
2019-10-02T16:17:31.000Z
generator/affiliation.cpp
LaGrunge/omim
8ce6d970f8f0eb613531b16edd22ea8ab923e72a
[ "Apache-2.0" ]
6
2019-09-09T10:11:41.000Z
2019-10-02T15:04:21.000Z
generator/affiliation.cpp
LaGrunge/geocore
b599eda29a32a14e5c02f51c66848959b50732f2
[ "Apache-2.0" ]
null
null
null
#include "generator/affiliation.hpp" namespace feature { SingleAffiliation::SingleAffiliation(std::string const & filename) : m_filename(filename) { } std::vector<std::string> SingleAffiliation::GetAffiliations(FeatureBuilder const &) const { return {m_filename}; } bool SingleAffiliation::HasRegionByName(std::st...
20.1
89
0.758706
[ "vector" ]
6e19718dc3b5e5d7cfc67f4a5c0b679a30793424
11,156
cpp
C++
Desarrollo(VS2017)/Motor2D/j1Scene.cpp
Sanmopre/DESARROLLO
4b601ca0862c6cf5831ec7fbe226fd97d52cf11b
[ "MIT" ]
null
null
null
Desarrollo(VS2017)/Motor2D/j1Scene.cpp
Sanmopre/DESARROLLO
4b601ca0862c6cf5831ec7fbe226fd97d52cf11b
[ "MIT" ]
null
null
null
Desarrollo(VS2017)/Motor2D/j1Scene.cpp
Sanmopre/DESARROLLO
4b601ca0862c6cf5831ec7fbe226fd97d52cf11b
[ "MIT" ]
1
2019-12-27T20:26:49.000Z
2019-12-27T20:26:49.000Z
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Scene.h" #include "j1Player.h" #include "j1Collision.h" #include "j1FadeToBlack.h" #include "j1Entity.h" #include "j1Enti...
28.976623
179
0.654087
[ "render" ]
6e1a3ba2fd9f698891794124b50011c1f59bf660
472
cpp
C++
LeetCode/C++/744. Find Smallest Letter Greater Than Target.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/744. Find Smallest Letter Greater Than Target.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/744. Find Smallest Letter Greater Than Target.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 12 ms, faster than 93.52% of C++ online submissions for Find Smallest Letter Greater Than Target. //Memory Usage: 9 MB, less than 72.73% of C++ online submissions for Find Smallest Letter Greater Than Target. class Solution { public: char nextGreatestLetter(vector<char>& letters, char target) { ...
31.466667
110
0.625
[ "vector" ]
6e1a7ee0765b61b4ddcdc7f32acb1eb967757bcb
14,201
cc
C++
tensorflow_lite_support/java/src/native/task/audio/classifier/audio_classifier_jni.cc
milindthakur177/support
c669f0b5330daec3713600debe49fb27bda2cf81
[ "Apache-2.0" ]
1
2022-03-02T05:39:58.000Z
2022-03-02T05:39:58.000Z
tensorflow_lite_support/java/src/native/task/audio/classifier/audio_classifier_jni.cc
milindthakur177/support
c669f0b5330daec3713600debe49fb27bda2cf81
[ "Apache-2.0" ]
null
null
null
tensorflow_lite_support/java/src/native/task/audio/classifier/audio_classifier_jni.cc
milindthakur177/support
c669f0b5330daec3713600debe49fb27bda2cf81
[ "Apache-2.0" ]
2
2021-06-23T01:14:12.000Z
2021-06-28T15:12:49.000Z
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
43.164134
96
0.729808
[ "object", "model" ]
6e279f95aded6a50dd393ef30ec8fbf1e6de9c15
4,238
cpp
C++
samples/sum/main.cpp
denverdino/eEVM
233d0583dcefb4b4c90e6b351f813a4e9d697ba5
[ "MIT" ]
null
null
null
samples/sum/main.cpp
denverdino/eEVM
233d0583dcefb4b4c90e6b351f813a4e9d697ba5
[ "MIT" ]
null
null
null
samples/sum/main.cpp
denverdino/eEVM
233d0583dcefb4b4c90e6b351f813a4e9d697ba5
[ "MIT" ]
1
2018-11-03T08:31:12.000Z
2018-11-03T08:31:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "evm/simpleglobalstate.h" #include "include/opcode.h" #include "include/processor.h" #include <iostream> int usage(const char* bin_name) { std::cout << "Usage: " << bin_name << " [-v] hex_a hex_b" << std::endl;...
24.639535
80
0.635677
[ "object", "vector" ]
6e3336bfcfd44488d6473156b8b3bb285922fbee
2,467
cpp
C++
src/vm/BitcoinVM.cpp
vimrull/vimrull
31e44c7aa3f195b3ef3639cc451bd1ecb4bbff71
[ "MIT" ]
null
null
null
src/vm/BitcoinVM.cpp
vimrull/vimrull
31e44c7aa3f195b3ef3639cc451bd1ecb4bbff71
[ "MIT" ]
1
2021-06-14T22:35:17.000Z
2021-06-14T22:35:17.000Z
src/vm/BitcoinVM.cpp
vimrull/vimrull
31e44c7aa3f195b3ef3639cc451bd1ecb4bbff71
[ "MIT" ]
null
null
null
#include <load.h> #include <crypto/util.h> #include "BitcoinVM.h" #include "opcodes.h" bool BitcoinVM::execute(std::vector<unsigned char> op_codes) { uint64_t pc=0; while(pc<op_codes.size()) { //TODO: do actual things - just not pretend to do it switch(op_codes[pc]) { c...
26.815217
99
0.393595
[ "vector" ]
6e3973ab639518fb0168a8ab66b0d937f441f274
2,872
cpp
C++
Modules/ACCoRD/src/DensityGridMovingPolysEst.cpp
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
Modules/ACCoRD/src/DensityGridMovingPolysEst.cpp
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
Modules/ACCoRD/src/DensityGridMovingPolysEst.cpp
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2016-2017 United States Government as represented by * the National Aeronautics and Space Administration. No copyright * is claimed in the United States under Title 17, U.S.Code. All Other * Rights Reserved. */ #include "DensityGridMovingPolysEst.h" #include <string> #include <map> #include <s...
27.615385
187
0.672354
[ "vector" ]
6e3be6a347a1a6af9e1c9e1d36aecd32ec91843d
1,274
hpp
C++
engine/Material.hpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
engine/Material.hpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
engine/Material.hpp
shenchi/gllab
5d8fe33cd763d5fe5033da106b715751ae2e87ef
[ "MIT" ]
null
null
null
#ifndef MATERIAL_HPP #define MATERIAL_HPP #include "core/common.hpp" #include "core/Program.hpp" #include "core/Texture.hpp" #include "core/UniformBuffer.hpp" #include <unordered_map> #include <string> #include <vector> #include <glm/glm.hpp> class Material { Material(const Material& ) {} Material(Program *progr...
24.980392
78
0.728414
[ "vector" ]
6e3dd6b9f4de8f9433b5e58227a1c30621c0c986
3,636
cpp
C++
src/Core/src/GameObject.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2021-02-26T05:25:48.000Z
2021-09-16T22:30:41.000Z
src/Core/src/GameObject.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
1
2019-10-19T10:36:43.000Z
2019-10-19T10:36:43.000Z
src/Core/src/GameObject.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2019-10-22T18:56:59.000Z
2020-03-12T04:38:31.000Z
// HG::Core #include <HG/Core/Behaviour.hpp> #include <HG/Core/BuildProperties.hpp> #include <HG/Core/GameObject.hpp> #include <HG/Core/Scene.hpp> #include <HG/Core/Transform.hpp> // HG::Rendering::Base #include <HG/Rendering/Base/RenderBehaviour.hpp> // HG::Utils #include <HG/Utils/Logging.hpp> #include <HG/Utils/Sy...
19.978022
102
0.635864
[ "render", "transform" ]
6e4b3e51bba4e7f5d603f17ee95ef6d19a327815
2,279
cpp
C++
src/OrbitGl/CaptureViewElementTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
1,847
2020-03-24T19:01:42.000Z
2022-03-31T13:18:57.000Z
src/OrbitGl/CaptureViewElementTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
1,100
2020-03-24T19:41:13.000Z
2022-03-31T14:27:09.000Z
src/OrbitGl/CaptureViewElementTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
228
2020-03-25T05:32:08.000Z
2022-03-31T11:27:39.000Z
// Copyright (c) 2021 The Orbit 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 <gtest/gtest.h> #include "CaptureViewElementTester.h" namespace orbit_gl { class UnitTestCaptureViewLeafElement : public CaptureViewElement {...
33.028986
99
0.694603
[ "vector" ]
6e4c1b564bd95ac80b42af546fcab6d791b01270
73,920
cpp
C++
Implicit-Lagrange/FEA_Physics_Modules/FEA_Module_Inertial.cpp
Adrian-Diaz/Fierro
0f33803e3232d39e0db51ac656feffe809126988
[ "BSD-3-Clause" ]
null
null
null
Implicit-Lagrange/FEA_Physics_Modules/FEA_Module_Inertial.cpp
Adrian-Diaz/Fierro
0f33803e3232d39e0db51ac656feffe809126988
[ "BSD-3-Clause" ]
null
null
null
Implicit-Lagrange/FEA_Physics_Modules/FEA_Module_Inertial.cpp
Adrian-Diaz/Fierro
0f33803e3232d39e0db51ac656feffe809126988
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <stdio.h> #include <stdlib.h> #include <math.h> // fmin, fmax, abs note: fminl is long #include <sys/stat.h> #include <mpi.h> #include <Teuchos_ScalarTraits.hpp> #include <Teuchos_RCP.hpp> #include <Teuchos_oblackholestream.hpp> #include <Teuchos_Tupl...
49.912221
205
0.708401
[ "object", "shape", "vector" ]
6e5644be5489eabfe5d6f3e9e1c8369c0ef09cfb
1,471
hpp
C++
animeloop-cli/utils.hpp
moeoverflow/animeloop-cli
5211fdc7a4b7ee84f696f53eceb28eb2bd861831
[ "MIT" ]
100
2017-02-08T06:42:52.000Z
2022-03-22T05:45:45.000Z
animeloop-cli/utils.hpp
moeoverflow/animeloop-cli
5211fdc7a4b7ee84f696f53eceb28eb2bd861831
[ "MIT" ]
2
2018-04-15T06:13:52.000Z
2020-08-27T16:02:06.000Z
animeloop-cli/utils.hpp
moeoverflow/animeloop-cli
5211fdc7a4b7ee84f696f53eceb28eb2bd861831
[ "MIT" ]
7
2017-08-29T09:14:29.000Z
2020-08-02T05:27:39.000Z
// // utils.hpp // animeloop-cli // // Created by ShinCurry on 2017/4/3. // Copyright © 2017年 ShinCurry. All rights reserved. // #ifndef utils_hpp #define utils_hpp #include "models.hpp" #include <iostream> #include <string> #include <opencv2/opencv.hpp> #include <boost/filesystem/path.hpp> namespace al { ...
23.349206
135
0.690687
[ "vector" ]
6e5c5b9b0532fac81c641dbefd907dd85aa0721c
7,380
cpp
C++
data/cws/src/quad/src/behind_leader.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
1
2015-03-06T06:01:17.000Z
2015-03-06T06:01:17.000Z
data/cws/src/quad/src/behind_leader.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/cws/src/quad/src/behind_leader.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
#include <iostream> #include "ros/ros.h" #include "gazebo_msgs/ModelState.h" #include "gazebo_msgs/GetModelState.h" #include "gazebo_msgs/SetModelState.h" #include "geometry_msgs/Twist.h" #include "tf/tf.h" #include <math.h> #include <sys/time.h> #include <stdio.h> using namespace std; //gain variables int InitialCon...
27.232472
124
0.678862
[ "model" ]
6e5fdd7077b86b7b049903b4f1da7804d2ee74ea
9,477
cpp
C++
SurgSim/Devices/Oculus/OculusScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
24
2015-01-19T16:18:59.000Z
2022-03-13T03:29:11.000Z
SurgSim/Devices/Oculus/OculusScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
3
2018-12-21T14:54:08.000Z
2022-03-14T12:38:07.000Z
SurgSim/Devices/Oculus/OculusScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
8
2015-04-10T19:45:36.000Z
2022-02-02T17:00:59.000Z
// This file is a part of the OpenSurgSim project. // Copyright 2015-2016, SimQuest Solutions 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...
29.340557
112
0.734621
[ "object" ]
6e60983af90ea6ca9add22d83a4e2e82be2ab2ec
1,081
hpp
C++
src/Engine/Managers/CameraManager/DefaultCameraManager.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
1
2021-02-03T17:47:04.000Z
2021-02-03T17:47:04.000Z
src/Engine/Managers/CameraManager/DefaultCameraManager.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
null
null
null
src/Engine/Managers/CameraManager/DefaultCameraManager.hpp
david49az/Radium-Engine
2600039e5c0658057b8b35f79222a332feceb026
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Engine/Managers/CameraManager/CameraManager.hpp> #include <Engine/Renderer/Camera/Camera.hpp> #include <memory> #include <vector> namespace Ra { namespace Engine { /** * Associated class. */ class RA_ENGINE_API DefaultCameraStorage : public CameraStorage { public: DefaultCameraStorage...
23
79
0.699352
[ "vector" ]
6e672489cac47ab738e588da3c8a3425940c64d9
6,178
cc
C++
DomainSymbolicPlanner/smartsoft/src/DomainSymbolicPlanner/CommSymbolicPlannerPlan.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
DomainSymbolicPlanner/smartsoft/src/DomainSymbolicPlanner/CommSymbolicPlannerPlan.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
DomainSymbolicPlanner/smartsoft/src/DomainSymbolicPlanner/CommSymbolicPlannerPlan.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
29.419048
120
0.68145
[ "model" ]
6e69c5130c03abe854f2df65082c303bf8daf091
5,704
cc
C++
c/src/day03.cc
grgrzybek/adventofcode2021
1f697e9912071bc2f52bba7db0c343926c091f50
[ "ECL-2.0", "Apache-2.0" ]
3
2021-12-01T14:12:48.000Z
2021-12-03T07:43:17.000Z
c/src/day03.cc
grgrzybek/adventofcode2021
1f697e9912071bc2f52bba7db0c343926c091f50
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
c/src/day03.cc
grgrzybek/adventofcode2021
1f697e9912071bc2f52bba7db0c343926c091f50
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Grzegorz Grzybek * * 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 ag...
25.578475
75
0.435484
[ "vector" ]
6e6be2446fcb041be165783ac553b1e4354e484a
5,488
cpp
C++
src/rendering/Engine.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
1
2021-11-12T08:42:43.000Z
2021-11-12T08:42:43.000Z
src/rendering/Engine.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
src/rendering/Engine.cpp
bferan/lucent
b19163df12739ffc513110d927e92f98c0b54321
[ "MIT" ]
null
null
null
#include "Engine.hpp" #include "GLFW/glfw3.h" #include "device/vulkan/VulkanDevice.hpp" #include "features/GeometryPass.hpp" #include "features/LightingPass.hpp" #include "features/ScreenSpaceReflectionsPass.hpp" #include "features/AmbientOcclusionPass.hpp" #include "features/MomentShadowPass.hpp" #include "features...
28.28866
111
0.676749
[ "render", "transform" ]
6e702748f739094675a6143da3dfffcc0eb6d881
32,188
cpp
C++
src/osapi/outwnd.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/osapi/outwnd.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/osapi/outwnd.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/OsApi/OutWnd.cpp $ * $Revision: 110 $ * $D...
23.494891
152
0.662048
[ "model" ]
6e798fce23282dbd3b4df50d95394f98c44c8585
43,280
cpp
C++
VirtualBox-5.0.0/src/VBox/Devices/PC/DevRTC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Devices/PC/DevRTC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Devices/PC/DevRTC.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: DevRTC.cpp $ */ /** @file * Motorola MC146818 RTC/CMOS Device with PIIX4 extensions. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/...
33.190184
174
0.60707
[ "vector" ]
6e7b748952e459b122cdad4e8f46507326ff71a8
26,506
cpp
C++
src/subgame_utils.cpp
tbdevo/slumbot2019
1e419e85259562d3123ed04a970e0674c5a2a0be
[ "MIT" ]
null
null
null
src/subgame_utils.cpp
tbdevo/slumbot2019
1e419e85259562d3123ed04a970e0674c5a2a0be
[ "MIT" ]
null
null
null
src/subgame_utils.cpp
tbdevo/slumbot2019
1e419e85259562d3123ed04a970e0674c5a2a0be
[ "MIT" ]
null
null
null
// There are up to four subgame strategies written per solve, which can be // confusing. If we are solving an asymmetric game, then there will be // a choice of which player's game we are solving, which affects the betting // tree. In addition, regardless of whether we are solving a symmetric or // asymmetric game, w...
41.094574
99
0.690297
[ "object", "vector" ]
6e80086c54011d4f1b5012518880a3dd8615c746
10,349
cpp
C++
EED/EEDTest/DataEnv.cpp
WebFreak001/mago
50ba766aabf5d395c3d15aaf080665906b76008b
[ "Apache-2.0" ]
39
2015-02-26T10:22:42.000Z
2021-11-13T23:07:57.000Z
EED/EEDTest/DataEnv.cpp
WebFreak001/mago
50ba766aabf5d395c3d15aaf080665906b76008b
[ "Apache-2.0" ]
29
2015-12-02T12:38:57.000Z
2021-03-31T16:43:34.000Z
EED/EEDTest/DataEnv.cpp
WebFreak001/mago
50ba766aabf5d395c3d15aaf080665906b76008b
[ "Apache-2.0" ]
15
2015-03-03T07:28:43.000Z
2021-03-30T14:22:00.000Z
/* Copyright (c) 2010 Aldo J. Nunez Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #include "Common.h" #include "DataEnv.h" #include "DataValue.h" #include "DataElement.h" using MagoEE::Type; using MagoEE::Declaration; DataEnv::DataEnv( size_t siz...
25.303178
150
0.574452
[ "vector" ]
6e82149885c6832046a8bb28933affa1a01df329
4,315
cpp
C++
03.Inheritance/School/Source.cpp
M-Yankov/CPlusPlus
76b8bc418e220f294bc5b0187b67d5210e8ec19e
[ "MIT" ]
null
null
null
03.Inheritance/School/Source.cpp
M-Yankov/CPlusPlus
76b8bc418e220f294bc5b0187b67d5210e8ec19e
[ "MIT" ]
null
null
null
03.Inheritance/School/Source.cpp
M-Yankov/CPlusPlus
76b8bc418e220f294bc5b0187b67d5210e8ec19e
[ "MIT" ]
null
null
null
#include "StudentStorage.h" #include "TeacherStorage.h" #include "GuestTeacherStorage.h" #include "Student.h" #include "Teacher.h" #include "GuestTeacher.h" #include <iostream> #include <array> #include <vector> #include <string> using namespace std; const int MIN_OPTION = 1; const int MAX_OPTION = 6; void WorkWith...
21.683417
90
0.635921
[ "vector" ]
6e84cf532979725203a41aa3ed7a0d6138a14636
1,590
cpp
C++
problems/create_maximum_number/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
problems/create_maximum_number/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
problems/create_maximum_number/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
class Solution { public: bool compare(vector<int>& nums1, vector<int>& nums2, int start_i, int start_j) { int loop_size = min(nums1.size() - start_i, nums2.size() - start_j); for (int i = 0; i < loop_size; i++) { if (nums1[i + start_i] < nums2[i + start_j]) return true; else if (nums1[i + start_i] > num...
21.2
78
0.579245
[ "vector" ]
6e8685d15b1b2701c093e5d8b71647ecf3321cc2
3,375
cpp
C++
src/crop_box/CropBoxFilter.cpp
Tobi2001/asr_next_best_view
7dace46b903d15e218a39f994802288103818f48
[ "BSD-3-Clause" ]
9
2019-12-10T07:39:07.000Z
2022-03-25T11:40:02.000Z
src/crop_box/CropBoxFilter.cpp
Tobi2001/asr_next_best_view
7dace46b903d15e218a39f994802288103818f48
[ "BSD-3-Clause" ]
null
null
null
src/crop_box/CropBoxFilter.cpp
Tobi2001/asr_next_best_view
7dace46b903d15e218a39f994802288103818f48
[ "BSD-3-Clause" ]
2
2020-01-13T17:41:33.000Z
2022-03-25T11:40:04.000Z
/** Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided th...
55.327869
755
0.752593
[ "vector" ]
6e8d4dc9da7582aa6b5c64de93b7f7d9f6c6ee37
42,331
cpp
C++
src/OpenRTMPlugin/RTSystemItem.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
null
null
null
src/OpenRTMPlugin/RTSystemItem.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
null
null
null
src/OpenRTMPlugin/RTSystemItem.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
null
null
null
#include "RTSystemItem.h" #include "RTSCommonUtil.h" #include <cnoid/MessageView> #include <cnoid/ItemManager> #include <cnoid/Archive> #include <cnoid/EigenArchive> #include <cnoid/AppConfig> #include <boost/format.hpp> #include "LoggerUtil.h" #include "gettext.h" using namespace cnoid; using namespace std; using na...
31.057227
157
0.624507
[ "vector" ]
6e8e0f9c703a9b5b795df7c860effbab6946f45a
1,551
cpp
C++
openvr/src/config_openvr.cpp
bluekyu/rpcpp_plugins
6ebc343160a408ac311f96fdb718d8954983c5d4
[ "MIT" ]
2
2017-11-14T12:31:23.000Z
2018-09-15T20:30:11.000Z
openvr/src/config_openvr.cpp
chic-yukim/rpcpp_plugins
c16749af43ac6aa9daa81bf3ca648807f9249222
[ "MIT" ]
20
2017-08-17T09:45:15.000Z
2019-04-20T14:11:43.000Z
openvr/src/config_openvr.cpp
chic-yukim/rpcpp_plugins
c16749af43ac6aa9daa81bf3ca648807f9249222
[ "MIT" ]
2
2018-07-27T05:35:35.000Z
2018-08-30T15:09:41.000Z
/** * Render Pipeline C++ * * Copyright (c) 2016-2017 Center of Human-centered Interaction for Coexistence. * * 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, * inclu...
38.775
106
0.758221
[ "render" ]
6e8fde93ace2fad17a885baa32f5ff4e0902a971
1,714
cpp
C++
benchmark/verify_GradCalculator.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
4
2022-01-26T06:56:00.000Z
2022-03-18T02:07:24.000Z
benchmark/verify_GradCalculator.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
104
2021-11-12T04:15:02.000Z
2022-03-30T05:12:20.000Z
benchmark/verify_GradCalculator.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
3
2021-12-19T11:52:38.000Z
2022-03-09T04:20:17.000Z
#include <chrono> #include <cppsim/observable.hpp> #include <cppsim/state.hpp> #include <iomanip> #include <iostream> #include <string> #include <vqcsim/GradCalculator.hpp> #include <vqcsim/parametric_circuit.hpp> int main() { omp_set_num_threads(10); printf("使用可能な最大スレッド数:%d\n", omp_get_max_threads()); st...
27.645161
74
0.570595
[ "vector" ]
6e93aca2dd96f2b6574dd198b5eaabeef433670f
1,486
cpp
C++
Dataset/Leetcode/test/67/602.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/67/602.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/67/602.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: string XXX(string a, string b) { vector<int> A, B; for (char &c : a) A.push_back(int(c - '0')); for (char &c : b) B.push_back(int(c - '0')); vector<int> C; if (greater(A, B)) add(A, B, C); else add(B, A, C); ...
24.766667
62
0.415209
[ "vector" ]
6e974d296dcbba2981e8447a068dfe57b6e2865d
384
hpp
C++
FeatureExtractionCpp/FindHaemorages.hpp
fierval/retina
2bc50b3354e5e37f1cfd34f11fbe4b0a4178b7ac
[ "MIT" ]
3
2018-01-11T08:30:24.000Z
2022-01-09T16:07:37.000Z
FeatureExtractionCpp/FindHaemorages.hpp
fierval/retina
2bc50b3354e5e37f1cfd34f11fbe4b0a4178b7ac
[ "MIT" ]
null
null
null
FeatureExtractionCpp/FindHaemorages.hpp
fierval/retina
2bc50b3354e5e37f1cfd34f11fbe4b0a4178b7ac
[ "MIT" ]
5
2017-07-20T05:32:23.000Z
2022-01-11T16:42:32.000Z
#pragma once typedef struct { int cannyThresh; } ParamBag; void FindBlobContours(gpu::GpuMat& g_image, vector<vector<Point>>& contours, int thresh); void EnhanceImage(gpu::GpuMat& grayImage, gpu::GpuMat& equalizedImage); void FindHaemorages(Mat& grayImage, vector<vector<Point>>& contours, ParamBag params); void G...
34.909091
89
0.765625
[ "vector" ]
6e98427132d4747032db46632e65dcaf924a3589
9,153
cpp
C++
src/ofxDraco.cpp
satcy/ofxDraco
ea0654958df6bb82aca624a3aed5b47c56582946
[ "Apache-2.0" ]
2
2018-06-05T13:32:46.000Z
2018-06-21T21:21:17.000Z
src/ofxDraco.cpp
satcy/ofxDraco
ea0654958df6bb82aca624a3aed5b47c56582946
[ "Apache-2.0" ]
1
2018-06-09T07:31:01.000Z
2018-06-09T07:31:01.000Z
src/ofxDraco.cpp
satcy/ofxDraco
ea0654958df6bb82aca624a3aed5b47c56582946
[ "Apache-2.0" ]
null
null
null
// // ofxDraco.cpp // test_draco // // Created by satcy on 2017/01/20. // // #include "ofxDraco.h" namespace ofxDraco { //ofMesh toOf(const draco::Mesh & m) {} //draco::Mesh toDraco(const ofMesh & m) {} ofMesh load(const string & path) { ofMesh m; decode(path, m); ret...
38.948936
139
0.489676
[ "mesh", "geometry", "vector" ]
6e984df3c07fb7a94d445d5d83db080306c7669e
3,220
cpp
C++
test/testMatrixMultiplication.cpp
agrawalabhishek/NAOS
25ae383d2c3f9a52ecd2e06f34661e52e239478b
[ "MIT" ]
null
null
null
test/testMatrixMultiplication.cpp
agrawalabhishek/NAOS
25ae383d2c3f9a52ecd2e06f34661e52e239478b
[ "MIT" ]
null
null
null
test/testMatrixMultiplication.cpp
agrawalabhishek/NAOS
25ae383d2c3f9a52ecd2e06f34661e52e239478b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Abhishek Agrawal (abhishek.agrawal@protonmail.com) * Distributed under the MIT License. * See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT */ #include <catch.hpp> #include <vector> #include "NAOS/basicMath.hpp" namespace naos { namespace tests { TEST_CASE( ...
39.753086
91
0.432298
[ "vector" ]
6e9cc5e1962e300265a85b8ad61130164de1ee10
2,471
hpp
C++
src/objs/OctaNest.hpp
nama-gatsuo/GenerativeNature
e7fb1b52ef71d92a856e7171964acb3ff9c4f42e
[ "MIT" ]
20
2017-09-24T06:38:38.000Z
2021-12-03T11:36:41.000Z
src/objs/OctaNest.hpp
nama-gatsuo/GenerativeNature
e7fb1b52ef71d92a856e7171964acb3ff9c4f42e
[ "MIT" ]
1
2019-06-05T07:11:57.000Z
2019-06-05T09:14:02.000Z
src/objs/OctaNest.hpp
nama-gatsuo/GenerativeNature
e7fb1b52ef71d92a856e7171964acb3ff9c4f42e
[ "MIT" ]
null
null
null
#include "ofMain.h" #include "ObjBase.hpp" #include "CommonUtil.hpp" class OctaNest : public ObjBase { public: void setup(){ shader.setGeometryInputType(GL_TRIANGLES); shader.setGeometryOutputType(GL_TRIANGLE_STRIP); shader.setGeometryOutputCount(3); shader.load("shader/scene/OctaNe...
30.8875
63
0.544314
[ "mesh" ]
6eb6ce5defb4fbad291c58373a07c0afdea3b40f
907
cpp
C++
0201-0300/213-house-robber-ii/main.cpp
janreggie/leetcode
c59718e127b598c4de7d07c9c93064eb12b2e5c9
[ "MIT", "Unlicense" ]
null
null
null
0201-0300/213-house-robber-ii/main.cpp
janreggie/leetcode
c59718e127b598c4de7d07c9c93064eb12b2e5c9
[ "MIT", "Unlicense" ]
null
null
null
0201-0300/213-house-robber-ii/main.cpp
janreggie/leetcode
c59718e127b598c4de7d07c9c93064eb12b2e5c9
[ "MIT", "Unlicense" ]
null
null
null
#include <iostream> #include <vector> class Solution { public: int rob(const std::vector<int>& nums) { const size_t n = nums.size(); if (n == 0) { return 0; } if (n == 1) { return nums[0]; } return std::max( robLinear(std::vector(nums.begin(), nums.end() - 1)), robLinear(std::vector(nums.be...
17.784314
63
0.536935
[ "vector" ]
6eb88b184e9640679e47d7a30122af72e76ec798
2,880
cpp
C++
src/quickSort.cpp
Christine0312/Sorting-Algorithm
2e41d3b204c9493e139bc507779091a53fb2cbda
[ "MIT" ]
null
null
null
src/quickSort.cpp
Christine0312/Sorting-Algorithm
2e41d3b204c9493e139bc507779091a53fb2cbda
[ "MIT" ]
null
null
null
src/quickSort.cpp
Christine0312/Sorting-Algorithm
2e41d3b204c9493e139bc507779091a53fb2cbda
[ "MIT" ]
null
null
null
/**************************************************************************** FileName [ quickSort ] PackageName [ Sorting ] Author [ Wan Cyuan Fan , NTUEE ] ****************************************************************************/ #include <cstdio> #include <iostream> #include <vector> #include "p...
28.514851
77
0.561458
[ "vector" ]
6ec63b1b461ce7b40a8f462f10d1b4277e022d85
4,013
hpp
C++
VKTS/include/vkts/image/data/IImageData.hpp
jjzhang166/Vulkan
655c1ac3131cdba81d3e84def2a1c35fa492bd52
[ "MIT" ]
2
2017-08-14T23:12:43.000Z
2019-12-03T15:56:17.000Z
VKTS/include/vkts/image/data/IImageData.hpp
jjzhang166/Vulkan
655c1ac3131cdba81d3e84def2a1c35fa492bd52
[ "MIT" ]
null
null
null
VKTS/include/vkts/image/data/IImageData.hpp
jjzhang166/Vulkan
655c1ac3131cdba81d3e84def2a1c35fa492bd52
[ "MIT" ]
1
2019-12-03T15:56:20.000Z
2019-12-03T15:56:20.000Z
/** * VKTS - VulKan ToolS. * * The MIT License (MIT) * * Copyright (c) since 2014 Norbert Nopper * * 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 with...
33.165289
334
0.731124
[ "vector" ]
6ec8d5a7f4c0b7ec70c81d1035d2728aac46d46d
11,774
hh
C++
print/print/TAnaDump.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
print/print/TAnaDump.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
null
null
null
print/print/TAnaDump.hh
macndev/Stntuple
b5bb000edf015883eec32d87959cb7bd3ab88577
[ "Apache-2.0" ]
6
2019-11-21T15:27:27.000Z
2022-02-28T20:57:13.000Z
// #ifndef __murat_inc_TAnaDump_hh__ #define __murat_inc_TAnaDump_hh__ #include "TObject.h" #include "TObjArray.h" #include "TString.h" #include "TGraph.h" #include "TMarker.h" #include "TCanvas.h" #include "TEllipse.h" #include "TH1F.h" #include "TH2F.h" #include "TF1.h" #ifndef __CINT__ #include "art/Framework/Pri...
36.565217
115
0.537965
[ "object" ]
6ed6a0fc83415c3b641d336d9c2e5c95ad25f023
2,305
cpp
C++
compat/BSDecomposeVectorModifier_0.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
38
2015-03-24T00:41:59.000Z
2022-03-23T09:18:29.000Z
compat/BSDecomposeVectorModifier_0.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
2
2015-10-14T07:41:48.000Z
2015-12-14T02:19:05.000Z
compat/BSDecomposeVectorModifier_0.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
24
2015-08-03T20:41:07.000Z
2022-03-27T03:58:37.000Z
#include "StdAfx.h" #include "BSDecomposeVectorModifier_0.h" #include <Common/Serialize/hkSerialize.h> #include <Common/Serialize/Util/hkSerializeUtil.h> #include <Common/Serialize/Version/hkVersionPatchManager.h> #include <Common/Serialize/Data/Dict/hkDataObjectDict.h> #include <Common/Serialize/Data/Native/hkDataObj...
52.386364
176
0.809544
[ "vector" ]
6eefe27f92297879aa99bd919464f942fe455098
13,398
cpp
C++
tests/_matrix/algebra_Matrix_SanityTests.cpp
sarkarchandan/Francois
0abfa5cd4d3943f8dd109f2759d13e385bd1f53c
[ "MIT" ]
null
null
null
tests/_matrix/algebra_Matrix_SanityTests.cpp
sarkarchandan/Francois
0abfa5cd4d3943f8dd109f2759d13e385bd1f53c
[ "MIT" ]
null
null
null
tests/_matrix/algebra_Matrix_SanityTests.cpp
sarkarchandan/Francois
0abfa5cd4d3943f8dd109f2759d13e385bd1f53c
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "Matrix.hpp" #include <memory> TEST(MatrixSanityTests, canInstantiateMatrixWithInitializerListAndVector) { const std::initializer_list<std::vector<int>> givenList1 = { {1,2,3}, {4,6,7}, {9,10,11} }; const std::vector<std::vector<int>> givenVectors1 = { {1,2,3}, ...
31.377049
121
0.676519
[ "vector" ]
6ef2a051384ce0610c63d361acafbccd9e748508
653
cpp
C++
others/mos.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
null
null
null
others/mos.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
null
null
null
others/mos.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
null
null
null
int len = sqrt(n); struct query{ int l,r,id;//詢問的左界右界 以及 第幾筆詢問 friend bool operator<(const query& lhs,const query& rhs){ return ((lhs.l / len) == (rhs.l / len)) ? lhs.r<rhs.r : lhs.l<rhs.l; }//先判斷是不是在同一塊 不同塊的話就比較塊的順序,否則比較右界r }; int ans[200005] = {}, t = 0; vector<query> q; void add(int idx)...
29.681818
77
0.491577
[ "vector" ]
6ef706b6ddc20698cd3f3dfee6ffcb94488b9992
21,257
cc
C++
Studio/src/Application/Analysis/AnalysisTool.cc
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
null
null
null
Studio/src/Application/Analysis/AnalysisTool.cc
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
null
null
null
Studio/src/Application/Analysis/AnalysisTool.cc
amylenz/ShapeWorks
78c2ee067a23e31f5b83d0121e60addb1b0bf462
[ "MIT" ]
null
null
null
// std #include <iostream> // qt #include <QXmlStreamWriter> #include <QThread> #include <QTemporaryFile> #include <QFileDialog> #include <QProcess> #include <QMessageBox> // shapeworks #include <Visualization/ShapeWorksStudioApp.h> #include <Visualization/ShapeworksWorker.h> #include <Data/Project.h> #include <Data/...
33.74127
101
0.569883
[ "mesh", "shape", "vector" ]
6efe1121aff93972eacb8f0b562ddb1fe3cd8e09
5,432
cc
C++
DPGAnalysis/SiStripTools/src/TSOSHistogramMaker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DPGAnalysis/SiStripTools/src/TSOSHistogramMaker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DPGAnalysis/SiStripTools/src/TSOSHistogramMaker.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "DPGAnalysis/SiStripTools/interface/TSOSHistogramMaker.h" #include <iostream> #include "TH1F.h" #include "TH2F.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "CommonTools/UtilAlgos/interface/TFileService.h" #include "TrackingTools/Traje...
41.784615
148
0.661267
[ "vector" ]
3e04f02be546123891d6aa7357437bb78a9f701c
37,798
cpp
C++
game/g_nav.cpp
kugelrund/Elite-Reinforce
a2fe0c0480ff2d9cdc241b9e5416ee7f298f00ca
[ "DOC" ]
10
2017-07-04T14:38:48.000Z
2022-03-08T22:46:39.000Z
game/g_nav.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
null
null
null
game/g_nav.cpp
UberGames/SP-Mod-Source-Code
04e0e618d1ee57a2919f1a852a688c03b1aa155d
[ "DOC" ]
2
2017-04-23T18:24:44.000Z
2021-11-19T23:27:03.000Z
#include "b_local.h" #include "g_nav.h" #include "g_navigator.h" //Global navigator CNavigator navigator; qboolean NAV_CheckAhead( gentity_t *self, vec3_t end, trace_t &trace, int clipmask ); qboolean G_FindClosestPointOnLineSegment( const vec3_t start, const vec3_t end, const vec3_t from, vec3_t result ); //For de...
25.942347
146
0.665273
[ "solid" ]
3e1bb1684fa82f49f54bc207c063a0aea5bc18d0
24,937
cpp
C++
src/shared/matrix.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
src/shared/matrix.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
src/shared/matrix.cpp
Duskhorn/libprimis
3b1189d0f8c8ea31c4752ed1ce34e9289a26b6fc
[ "Zlib" ]
null
null
null
#include "../libprimis-headers/cube.h" #include "geomexts.h" /* This file defines matrix3, matrix4, and matrix4x3's member functions. * The definitions of the classes themselves are in geom.h (one of the shared * header files) * */ //needed for det3 /* det2x2() * * returns the determinant of a 2x2 matrix, provi...
22.98341
104
0.54361
[ "object", "transform" ]
3e1bf53a814ae83287d3a47e7f05300cf56f2981
9,156
cc
C++
Cassie_Example/opt_two_step/gen/opt/d1y_time_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/opt/d1y_time_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/gen/opt/d1y_time_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Thu 14 Oct 2021 09:53:49 GMT-04:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doub...
39.636364
323
0.643512
[ "vector" ]
3e200174874d6d3484aef2638222cdc82241c972
3,979
hpp
C++
ThirdParty-mod/java2cpp/android/bluetooth/BluetoothServerSocket.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/bluetooth/BluetoothServerSocket.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/bluetooth/BluetoothServerSocket.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.bluetooth.BluetoothServerSocket ================================================================================*/ #ifndef J2CPP_...
32.08871
115
0.739633
[ "object" ]
4a3bafbb31e3e8656326fe45484a08eebf839dc1
1,989
hpp
C++
include/expressions/data/number.hpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
2
2021-01-14T11:19:02.000Z
2021-03-07T03:08:08.000Z
include/expressions/data/number.hpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
include/expressions/data/number.hpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
#ifndef __MODULUS_EXPRESSIONS_DATA_NUMBER_HPP #define __MODULUS_EXPRESSIONS_DATA_NUMBER_HPP #include <string> #include <istream> #include <list> #include <vector> #include <gmp.h> #include "expressions/object.hpp" #include "expressions/parent.hpp" namespace expr { enum NumberType {hinteger, hfloat, hcomplex}; st...
22.348315
74
0.712921
[ "object", "vector" ]
4a3da455b8f8b382b0d879d0c1e53f53af09af97
8,295
cpp
C++
hal/src/driver/qt/ui/renderview_qt.cpp
Euclideon/udshell
795e2d832429c8e5e47196742afc4b452aa23ec3
[ "MIT" ]
null
null
null
hal/src/driver/qt/ui/renderview_qt.cpp
Euclideon/udshell
795e2d832429c8e5e47196742afc4b452aa23ec3
[ "MIT" ]
null
null
null
hal/src/driver/qt/ui/renderview_qt.cpp
Euclideon/udshell
795e2d832429c8e5e47196742afc4b452aa23ec3
[ "MIT" ]
null
null
null
#include "driver.h" #if EPUI_DRIVER == EPDRIVER_QT #include "driver/qt/epqt.h" #include <QtGui/QOpenGLFramebufferObject> #include <QSGSimpleTextureNode> #include <QOpenGLDebugLogger> #include "synchronisedptr.h" #include "renderscene.h" #include "components/viewimpl.h" #include "driver/qt/epkernel_qt.h" #include "...
25.841121
159
0.681013
[ "render" ]
4a400e3a517ee6a1dd0fb5d1beee2c43d36ce070
9,179
cpp
C++
aten/src/ATen/test/scalar_tensor_test.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
aten/src/ATen/test/scalar_tensor_test.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
aten/src/ATen/test/scalar_tensor_test.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "ATen/ATen.h" #include "test_seed.h" #include <algorithm> #include <iostream> #include <numeric> using namespace at; #define TRY_CATCH_ELSE(fn, catc, els) \ { \ /* avoid...
32.899642
107
0.493845
[ "shape", "vector" ]
4a48ac848f87f7c8e2b04ff04a1500f18187738e
2,475
cpp
C++
rf24com_tunnel.cpp
agambier/RF24Com
d02a90b3892a7deeb971856b76364afca21b3cec
[ "MIT" ]
null
null
null
rf24com_tunnel.cpp
agambier/RF24Com
d02a90b3892a7deeb971856b76364afca21b3cec
[ "MIT" ]
null
null
null
rf24com_tunnel.cpp
agambier/RF24Com
d02a90b3892a7deeb971856b76364afca21b3cec
[ "MIT" ]
null
null
null
#include "rf24com_tunnel.h" #include "rf24com_pingpong.h" namespace RF24Com { // // Tunnel::Tunnel( RF24 &rf24, const uint8_t *txPipe, const uint8_t *rxPipe, uint8_t channel ) : m_rf24( &rf24 ), m_txPipe( txPipe ), m_rxPipe( rxPipe ), m_channel( channel ), m_timeOut( 100 ), m_isReady( false ) { } // // bool T...
20.974576
105
0.648889
[ "object" ]
4a4dc9c98c38197f9a5200ea7977925914d5e17b
8,821
cpp
C++
src/main.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
1
2022-03-29T04:28:00.000Z
2022-03-29T04:28:00.000Z
src/main.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
null
null
null
src/main.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
null
null
null
#include "parser.tab.h" #include "lexer.yy.h" #include "cst.h" #include "syntactic_analysis.h" #include "ast.h" #include "semantic_analysis.h" #include "ir.h" #include <cerrno> #include <cstdarg> #include <cstdio> #include <cstdlib> struct Line { size_t begin; size_t end; Line(size_t begin, size_t end) : beg...
23.213158
85
0.656388
[ "object", "vector" ]
4a5c5d85503547a9496a55d3794912dadd109b62
5,833
cpp
C++
faceid/src/v20180301/model/WeChatBillDetail.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
faceid/src/v20180301/model/WeChatBillDetail.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
faceid/src/v20180301/model/WeChatBillDetail.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 ...
29.311558
146
0.678382
[ "vector", "model" ]
4a5f5b41338770563c93d0113006a18cd99d3be2
2,685
cc
C++
ash/common/shelf/overflow_bubble.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
ash/common/shelf/overflow_bubble.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
ash/common/shelf/overflow_bubble.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 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/common/shelf/overflow_bubble.h" #include "ash/common/shelf/overflow_bubble_view.h" #include "ash/common/shelf/overflow_button.h" #include "...
28.56383
76
0.724022
[ "geometry" ]
4a6026aae8c08580f835d47905c6caaabb6eb56d
5,899
hpp
C++
include/VisionCore/WrapGL/impl/WrapGLFramebuffer_impl.hpp
lukier/vision_core
45cb1bf7b74e1e1d5aa1078494a328b317d5a368
[ "BSD-3-Clause" ]
29
2016-10-30T23:59:11.000Z
2021-11-30T12:27:40.000Z
include/VisionCore/WrapGL/impl/WrapGLFramebuffer_impl.hpp
jczarnowski/vision_core
924c53339b1d99ebb3b1e358edfaa1a4e8d3703b
[ "BSD-3-Clause" ]
2
2020-05-19T04:45:41.000Z
2021-12-07T01:32:22.000Z
include/VisionCore/WrapGL/impl/WrapGLFramebuffer_impl.hpp
lukier/vision_core
45cb1bf7b74e1e1d5aa1078494a328b317d5a368
[ "BSD-3-Clause" ]
4
2016-11-14T00:46:26.000Z
2021-06-01T08:55:11.000Z
/** * **************************************************************************** * Copyright (c) 2017, Robert Lukierski. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributi...
27.957346
117
0.698593
[ "render" ]
4a6419d7a4f6fe48ecbdda64c8c54178740e4342
15,460
cpp
C++
src/nbl/video/CPropertyPoolHandler.cpp
guard252/Nabla
a775fc91c31e57a1c347fb8df01803869e3260a2
[ "Apache-2.0" ]
216
2020-08-27T20:04:48.000Z
2022-03-28T19:31:41.000Z
src/nbl/video/CPropertyPoolHandler.cpp
guard252/Nabla
a775fc91c31e57a1c347fb8df01803869e3260a2
[ "Apache-2.0" ]
165
2020-09-17T20:12:30.000Z
2022-03-30T21:32:18.000Z
src/nbl/video/CPropertyPoolHandler.cpp
guard252/Nabla
a775fc91c31e57a1c347fb8df01803869e3260a2
[ "Apache-2.0" ]
27
2020-09-09T16:15:07.000Z
2022-03-07T22:10:16.000Z
#include "nbl/video/CPropertyPoolHandler.h" #include "nbl/video/CPropertyPool.h" using namespace nbl; using namespace video; // constexpr char* copyCsSource = R"( layout(local_size_x=_NBL_BUILTIN_PROPERTY_COPY_GROUP_SIZE_) in; layout(set=0,binding=0) readonly restrict buffer Indices { uint elementCount[_NBL_BUIL...
35.377574
213
0.737646
[ "vector" ]
4a6e0e47dc1fa4b4b6bbe51d07f5eeceec697080
2,707
cpp
C++
python/pyngraph/function.cpp
tzerrell/ngraph
b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd
[ "Apache-2.0" ]
null
null
null
python/pyngraph/function.cpp
tzerrell/ngraph
b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd
[ "Apache-2.0" ]
null
null
null
python/pyngraph/function.cpp
tzerrell/ngraph
b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 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://w...
51.075472
96
0.640562
[ "shape", "vector" ]
4a6e41f587a9b2b2a29f72ca7f12ceed1bf5f539
952
hpp
C++
include/xaod_helpers.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
null
null
null
include/xaod_helpers.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
1
2022-02-23T17:56:48.000Z
2022-02-23T17:56:48.000Z
include/xaod_helpers.hpp
gordonwatts/func-adl-types-atlas
9d135371d4e21d69373a8e1611ea8118cf2fff7f
[ "MIT" ]
null
null
null
#ifndef __xaod_helpers__ #define __xaod_helpers__ #include "type_helpers.hpp" #include "class_info.hpp" #include <vector> #include <string> struct collection_info { // The C++ type name of the collection. std::string name; // The libraries that we need to load for this guy std::vector<std::string> l...
27.2
103
0.745798
[ "vector" ]
4a72f6feff5da916a86414498dacc0acf377e118
13,989
cpp
C++
src/test/bip47_tests.cpp
KuroGuo/firo
dbce40b3c7edb21fbebb014e6fe7ab700e649b6f
[ "MIT" ]
582
2016-09-26T00:08:04.000Z
2020-10-25T19:07:24.000Z
src/test/bip47_tests.cpp
notshillo/firo
9b0714e65cd69448819cbbe10e6272ccd3e69dc9
[ "MIT" ]
570
2016-09-28T07:29:53.000Z
2020-10-26T10:24:19.000Z
src/test/bip47_tests.cpp
notshillo/firo
9b0714e65cd69448819cbbe10e6272ccd3e69dc9
[ "MIT" ]
409
2016-09-21T12:37:31.000Z
2020-10-18T14:54:17.000Z
// Copyright (c) 2020 The Firo Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // An implementation of bip47 tests provided here: https://gist.github.com/SamouraiDev/6aad669604c5930864bd #include <boost/test/uni...
42.779817
164
0.700979
[ "vector" ]