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
96f2d0a2bb0436a82e061d5aa91e277f1422a7a9
5,161
cpp
C++
MiniEngine/Core/GameCore.cpp
dmandreev/DirectX-Graphics-Samples
24008de59152231acb6a51b7361d5f189e0110a4
[ "MIT" ]
3
2017-08-15T06:57:39.000Z
2021-05-03T10:04:01.000Z
MiniEngine/Core/GameCore.cpp
dmandreev/DirectX-Graphics-Samples
24008de59152231acb6a51b7361d5f189e0110a4
[ "MIT" ]
null
null
null
MiniEngine/Core/GameCore.cpp
dmandreev/DirectX-Graphics-Samples
24008de59152231acb6a51b7361d5f189e0110a4
[ "MIT" ]
1
2018-11-29T15:39:56.000Z
2018-11-29T15:39:56.000Z
// // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
25.934673
98
0.665762
[ "render" ]
96f2e77c83d7184d04bcf1746db03bdcfaefb092
21,375
cpp
C++
cpp/src/materialproperties/orientation/raycasting/raycasting.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
14
2021-06-17T17:17:07.000Z
2022-03-26T05:20:20.000Z
cpp/src/materialproperties/orientation/raycasting/raycasting.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
6
2021-11-01T20:37:39.000Z
2022-03-11T17:18:53.000Z
cpp/src/materialproperties/orientation/raycasting/raycasting.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
8
2021-07-20T09:24:23.000Z
2022-02-26T16:32:00.000Z
#include "raycasting.h" ////// PARTICLE METHOD ////// // Functions to find longest direction for EVERY solid voxel // With Refinement bool puma::compute_orientationRC(puma::Workspace *grayWS, puma::Cutoff voidRange, int initAccuracy, int degreeAccuracy, puma::MatVec3<double> *direct...
36.726804
238
0.588772
[ "vector", "solid" ]
96f7cc4c43f42d866262e0bbea6c8f86d410e528
4,246
cc
C++
game/src/core/deployer.cc
ragmani/mengde
b6dad8e0e717a7fac1292b9595bdd6a67e9b4751
[ "MIT" ]
null
null
null
game/src/core/deployer.cc
ragmani/mengde
b6dad8e0e717a7fac1292b9595bdd6a67e9b4751
[ "MIT" ]
null
null
null
game/src/core/deployer.cc
ragmani/mengde
b6dad8e0e717a7fac1292b9595bdd6a67e9b4751
[ "MIT" ]
null
null
null
#include "deployer.h" namespace mengde { namespace core { // // DeployerComparer // bool DeployerComparer::operator()(const DeployElement& lhs, const DeployElement& rhs) const { // NOTE comparing hero pointer is just enough for this case return lhs.hero == rhs.hero; } // // Deployer // Deployer::Deployer(const...
31.686567
111
0.719736
[ "vector" ]
96fc74a7bcc04178441a01ae4ea84205a90b31d2
10,556
inl
C++
src/HailstormRuntime/include/runtime/debugstreambuf.inl
smacdo/Hailstorm
c7b5cbda2ad363cf899b33b56a4339eea3006856
[ "Apache-2.0" ]
null
null
null
src/HailstormRuntime/include/runtime/debugstreambuf.inl
smacdo/Hailstorm
c7b5cbda2ad363cf899b33b56a4339eea3006856
[ "Apache-2.0" ]
null
null
null
src/HailstormRuntime/include/runtime/debugstreambuf.inl
smacdo/Hailstorm
c7b5cbda2ad363cf899b33b56a4339eea3006856
[ "Apache-2.0" ]
2
2017-02-25T06:27:26.000Z
2019-04-04T15:02:38.000Z
/* * Copyright 2011 Scott MacDonald * * 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 ...
29
85
0.656688
[ "object" ]
8c0b211eb983309308a65cc7140963c954a62a4c
562
cpp
C++
src/Engine/SplashScreen.cpp
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
src/Engine/SplashScreen.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
src/Engine/SplashScreen.cpp
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include "k3dSplashScreen.h" #include <Renderer/k3dRenderManager.h> #include <Engine/k3dEngine.h> //float * k3dSplashScreen::sScreenQuad = { // -1.0f, 1.0f, // -1.0f, -1.0f, // 1.0f, -1.0f, // 1.0f, -1.0f, // 1.0f, 1.0f, // -1.0f, 1.0f //}; k3dSplashScreen::k3dSplashScreen() { } k3dSplashScreen::~k3dSp...
14.789474
71
0.663701
[ "render" ]
8c0c7fa1f152d23bf0eab8aeeb682897e777fb89
1,099
cpp
C++
common/src/main/cpp/controllers/CurtinControllers.cpp
CJBuchel/2019-DeepSpace-CJ-Fork
e93801a3ef7994820554654a76a940f1bb0c1779
[ "MIT" ]
23
2018-12-28T16:53:31.000Z
2021-07-25T20:05:06.000Z
common/src/main/cpp/controllers/CurtinControllers.cpp
CJBuchel/2019-DeepSpace-CJ-Fork
e93801a3ef7994820554654a76a940f1bb0c1779
[ "MIT" ]
83
2019-01-07T13:55:12.000Z
2019-10-26T14:32:48.000Z
common/src/main/cpp/controllers/CurtinControllers.cpp
CJBuchel/2019-DeepSpace-CJ-Fork
e93801a3ef7994820554654a76a940f1bb0c1779
[ "MIT" ]
12
2018-12-26T12:44:50.000Z
2020-12-24T03:25:01.000Z
#include "controllers/CurtinControllers.h" using namespace curtinfrc::controllers::inputs; // SmartControllerGroup int curtinfrc::controllers::SmartControllerGroup::GetPort(int cont) { return GetController(cont).GetPort(); } double curtinfrc::controllers::SmartControllerGroup::Get(tAxis axis) { if (axis == no...
27.475
120
0.756142
[ "vector" ]
8c0e21a1925d310b9242bcf24d557e8f3a0f973d
17,544
cpp
C++
Development/Editor/Core/SlkLib/slk/ObjectManager.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
2
2016-05-30T11:42:33.000Z
2017-10-31T11:53:42.000Z
Development/Editor/Core/SlkLib/slk/ObjectManager.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
Development/Editor/Core/SlkLib/slk/ObjectManager.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
#include <slk/ObjectManager.hpp> #include <base/util/buffer.h> #include <slk/reader/ObjReader.hpp> #include <slk/reader/TxtReader.hpp> #include <slk/reader/IniReader.hpp> #include <slk/reader/SlkReader.hpp> #include <slk/reader/MetaReader.hpp> #include <slk/writer/ObjWriter.hpp> #include <slk/converter/ConvertTable.hp...
25.206897
125
0.70896
[ "object" ]
22c42ef395c9e1689bc18b8cfce3abc5e3a74f37
6,130
cpp
C++
src/MainWindow.cpp
HaikuArchives/3DMov
e0568ded0e166ced3c7d2471ad1fb7f4ba79109d
[ "MIT" ]
1
2018-12-04T12:04:37.000Z
2018-12-04T12:04:37.000Z
src/MainWindow.cpp
HaikuArchives/3DMov
e0568ded0e166ced3c7d2471ad1fb7f4ba79109d
[ "MIT" ]
null
null
null
src/MainWindow.cpp
HaikuArchives/3DMov
e0568ded0e166ced3c7d2471ad1fb7f4ba79109d
[ "MIT" ]
2
2017-12-14T00:55:50.000Z
2020-10-26T08:32:28.000Z
/* PROJECT: 3Dmov AUTHORS: Zenja Solaja COPYRIGHT: 2009 Haiku Inc DESCRIPTION: Haiku version of the famous BeInc demo 3Dmov. TODO: There is a bug in Haiku which doesn't allow a 2nd BGLView to be created. Originally I tried AddChild(new BGLView), however nothing would be drawn in the view. On...
26.196581
106
0.720228
[ "render", "shape" ]
22c79ac9296c2882a529cd1ceb8e8599cad3d07e
751
cpp
C++
codeforces/701A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
5
2015-12-25T20:53:39.000Z
2017-07-18T23:19:04.000Z
codeforces/701A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
null
null
null
codeforces/701A.cpp
zer0main/problems
264dd359f74e0906b9b7505506d50c879c4fb737
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015-2017 Pavel Dolgov * * See the LICENSE file for terms of use. */ /* http://codeforces.com/contest/701/submission/20094628 */ #include <bits/stdc++.h> typedef std::pair<int, int> IntPair; typedef std::vector<IntPair> IntPairs; IntPairs cards; bool myComp(IntPair a, IntPair b) { return...
20.861111
62
0.537949
[ "vector" ]
22d28b0a1992cabe3e4f5ddee09d6d2f99f569cc
5,169
cpp
C++
Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/LayoutHandler.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/LayoutHandler.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/winui/WindowsRibbon/Gallery/CPP/LayoutHandler.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. #include "LayoutHan...
27.062827
107
0.592765
[ "render" ]
22e59647d10249402871b4a1eb655cd75af904b9
3,579
cpp
C++
source/cpp/source/TestCentre.cpp
steve-baker-cradle/juce-end-to-end
2a8b8f3d458884b3bf8be094d3e0f326bfbdcd53
[ "Apache-2.0" ]
28
2021-11-10T15:39:38.000Z
2022-03-26T15:39:32.000Z
source/cpp/source/TestCentre.cpp
steve-baker-cradle/juce-end-to-end
2a8b8f3d458884b3bf8be094d3e0f326bfbdcd53
[ "Apache-2.0" ]
9
2021-11-10T15:55:24.000Z
2022-03-01T00:06:37.000Z
source/cpp/source/TestCentre.cpp
steve-baker-cradle/juce-end-to-end
2a8b8f3d458884b3bf8be094d3e0f326bfbdcd53
[ "Apache-2.0" ]
2
2021-11-10T15:55:32.000Z
2021-11-10T15:59:24.000Z
#include "Connection.h" #include "DefaultCommandHandler.h" #include <focusrite/e2e/Command.h> #include <focusrite/e2e/Event.h> #include <focusrite/e2e/TestCentre.h> #include <juce_events/juce_events.h> namespace focusrite::e2e { std::optional<int> getPort () { for (const auto & param : juce::JUCEApplicationBase::...
27.530769
96
0.592344
[ "vector" ]
22e661317d9f7ad6ea8cf1bbc008ef2aa2c9d11a
1,590
cpp
C++
slack/web/rtm.start.cpp
DEGoodmanWilson/plaidapi
ae993f45865811b8480e74466c3de88954f25b69
[ "MIT" ]
29
2015-12-21T21:46:10.000Z
2021-05-03T19:09:27.000Z
slack/web/rtm.start.cpp
DEGoodmanWilson/cpp-slack-client
ae993f45865811b8480e74466c3de88954f25b69
[ "MIT" ]
4
2016-07-10T04:22:25.000Z
2018-02-08T18:33:40.000Z
slack/web/rtm.start.cpp
DEGoodmanWilson/cpp-slack-client
ae993f45865811b8480e74466c3de88954f25b69
[ "MIT" ]
7
2017-08-16T17:00:11.000Z
2019-09-20T05:53:31.000Z
// // engine // // Copyright © 2015–2016 D.E. Goodman-Wilson. All rights reserved. // #include "slack/web/rtm.start.h" #include "private.h" #include <iostream> namespace slack { namespace rtm { const auto MIGRATION_IN_PROGRESS = std::string{"migration_in_progress"}; const auto NOT_AUTHED = std::string{"not_authed"}...
26.949153
146
0.611321
[ "vector" ]
22e7ec33f3b073c43321ea7dc167a8205933064e
6,669
cpp
C++
libaqmd3/src/cstzs1context.cpp
PNNL-Comp-Mass-Spec/AqMD3-Acquisition-Console
59eca8ec256218ec3f2117a55198a2d6d2406813
[ "BSD-2-Clause" ]
1
2021-07-26T21:13:03.000Z
2021-07-26T21:13:03.000Z
libaqmd3/src/cstzs1context.cpp
PNNL-Comp-Mass-Spec/AqMD3-Acquisition-Console
59eca8ec256218ec3f2117a55198a2d6d2406813
[ "BSD-2-Clause" ]
null
null
null
libaqmd3/src/cstzs1context.cpp
PNNL-Comp-Mass-Spec/AqMD3-Acquisition-Console
59eca8ec256218ec3f2117a55198a2d6d2406813
[ "BSD-2-Clause" ]
null
null
null
#include "../include/libaqmd3/cstzs1context.h" #include "../include/libaqmd3/digitizer.h" #include <vector> #include <tuple> #include <exception> #include <fstream> #include <iostream> using std::cout; using std::cerr; #include <limits> #define variable_m_t_a void CstZs1Context::stop() { StreamingContext::stop(); ...
29.772321
114
0.673264
[ "vector" ]
22eeb6ecba9366a1282e438c2da567868cd78d71
16,604
cxx
C++
UWPOpenIGTLink/Content/TrackedFrameMessage.cxx
IGSIO/UWPOpenIGTLink
5cb9a63ca4b88469eac8cdf6dfacfce9ba20423c
[ "Apache-2.0" ]
4
2019-08-07T16:08:26.000Z
2021-04-03T16:18:40.000Z
UWPOpenIGTLink/Content/TrackedFrameMessage.cxx
IGSIO/UWPOpenIGTLink
5cb9a63ca4b88469eac8cdf6dfacfce9ba20423c
[ "Apache-2.0" ]
2
2018-06-20T15:37:25.000Z
2018-06-20T15:40:49.000Z
UWPOpenIGTLink/Content/TrackedFrameMessage.cxx
IGSIO/UWPOpenIGTLink
5cb9a63ca4b88469eac8cdf6dfacfce9ba20423c
[ "Apache-2.0" ]
3
2017-04-19T13:18:44.000Z
2021-01-07T13:42:36.000Z
/*=Plus=header=begin====================================================== Program: Plus Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved. Modified by Adam Rankin, Robarts Research Institute, 2017 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
40.896552
141
0.639605
[ "transform" ]
22f74026b47f1be0f208d45ff778f95adaf3a29d
444
cpp
C++
codeforces/1385B.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
2
2021-04-19T06:20:11.000Z
2021-05-04T14:30:00.000Z
codeforces/1385B.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
2
2022-03-01T09:28:46.000Z
2022-03-02T09:52:33.000Z
codeforces/1385B.cpp
LordRonz/cp-solutions
d95eabbdbf6a04fba912f4e8be203b180af7f46d
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define MAX(a,b,c) max(a,max(b,c)) //0xACCE97ED int main() { int t, n, a, freq[55] = {}; vector<int> ans; scanf("%d", &t); while(t--) { scanf("%d\n", &n); n <<= 1; while(n--) { scanf("%d", &a); if(freq[a] == 0) { ans.push_back(a); ++freq[a]; } ...
14.8
34
0.484234
[ "vector" ]
22f7a3e68fc24c386623e28e181f8bec13c6e5c3
1,833
hpp
C++
inference-engine/src/transformations/include/ngraph_ops/strided_slice_ie.hpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
null
null
null
inference-engine/src/transformations/include/ngraph_ops/strided_slice_ie.hpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
1
2021-09-09T08:43:57.000Z
2021-09-10T12:39:16.000Z
inference-engine/src/transformations/include/ngraph_ops/strided_slice_ie.hpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <vector> #include <ie_api.h> #include "ngraph/op/op.hpp" namespace ngraph { namespace op { class INFERENCE_ENGINE_API_CLASS(StridedSliceIE) : public Op { public: static constexpr Node...
33.944444
91
0.683579
[ "shape", "vector" ]
22f884040cedf00739778c7a05f23ab9e754243a
932
cxx
C++
macros/TH1_simple_examples.cxx
ryry013/ForStudents
c76a802ba8cd3cde6767e42faaea348495194780
[ "BSD-4-Clause-UC" ]
null
null
null
macros/TH1_simple_examples.cxx
ryry013/ForStudents
c76a802ba8cd3cde6767e42faaea348495194780
[ "BSD-4-Clause-UC" ]
null
null
null
macros/TH1_simple_examples.cxx
ryry013/ForStudents
c76a802ba8cd3cde6767e42faaea348495194780
[ "BSD-4-Clause-UC" ]
1
2021-06-17T04:20:22.000Z
2021-06-17T04:20:22.000Z
#include <TH1.h> #include <TH2.h> #include <TH3.h> #include <TRandom.h> #include <TProfile2D.h> void getrandomh() { TRandom *r = new TRandom(); TH1F *hist1 = new TH1F("hist1", "1D", 100, -3, 3); TH2F *hist2 = new TH2F("hist2", "2D", 100, -3, 3, 100, -3, 3); TH3F *hist3 = new TH3F("hist3", "3D", 100, -3, 3, 100,...
19.020408
91
0.567597
[ "3d" ]
22fd5625ee7e79d1893999feeddb57cf2e23a70a
3,512
cpp
C++
lib/WaveletMatrix/Bitvector.cpp
Imperi13/Competitive-programming
898f23cdb00db65a32505f99bf23ade0a0acdff7
[ "CC0-1.0" ]
null
null
null
lib/WaveletMatrix/Bitvector.cpp
Imperi13/Competitive-programming
898f23cdb00db65a32505f99bf23ade0a0acdff7
[ "CC0-1.0" ]
null
null
null
lib/WaveletMatrix/Bitvector.cpp
Imperi13/Competitive-programming
898f23cdb00db65a32505f99bf23ade0a0acdff7
[ "CC0-1.0" ]
null
null
null
#include <cassert> #include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <complex> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <unordered_map> #inc...
25.085714
101
0.594533
[ "vector" ]
fe010fac9909f7cc3568025f7581a1d07534cc5e
6,113
cpp
C++
rute/qt_cpp/auto/qt_bulk.cpp
emoon/Rute
b8981fa9fb0508691399b0aa9a565686ebcc0a69
[ "Apache-2.0", "MIT" ]
42
2018-05-04T08:57:57.000Z
2021-11-08T13:05:23.000Z
rute/qt_cpp/auto/qt_bulk.cpp
emoon/Rute
b8981fa9fb0508691399b0aa9a565686ebcc0a69
[ "Apache-2.0", "MIT" ]
18
2018-05-31T12:11:35.000Z
2021-02-08T04:14:55.000Z
rute/qt_cpp/auto/qt_bulk.cpp
emoon/ui_gen
b8981fa9fb0508691399b0aa9a565686ebcc0a69
[ "Apache-2.0", "MIT" ]
2
2019-04-17T04:54:15.000Z
2021-03-19T17:38:05.000Z
// This file is auto-generated by rute_gen. DO NOT EDIT! #include "abstract_button_ffi.h" #include "abstract_button.h" #include "application_ffi.h" #include "application.h" #include "backing_store_ffi.h" #include "backing_store.h" #include "bitmap_ffi.h" #include "bitmap.h" #include "brush_ffi.h" #include "brush.h" #i...
25.260331
56
0.763619
[ "object", "transform" ]
fe05d2e80ab772cb83f9ac3d6a5df2bf06e6e878
3,117
cpp
C++
Presentations/2020/12.December/17/TicTacToe_Solution/TicTacToe/AiPlayer.cpp
lmsasu/MLReadingGroup
a17d2d62b4c7940b9829fc52eb0167847f9e7491
[ "MIT" ]
12
2018-10-31T14:06:55.000Z
2021-09-22T14:29:42.000Z
Presentations/2020/12.December/17/TicTacToe_Solution/TicTacToe/AiPlayer.cpp
lmsasu/MLReadingGroup
a17d2d62b4c7940b9829fc52eb0167847f9e7491
[ "MIT" ]
1
2020-12-16T18:18:30.000Z
2020-12-16T18:18:30.000Z
Presentations/2020/12.December/17/TicTacToe_Solution/TicTacToe/AiPlayer.cpp
lmsasu/MLReadingGroup
a17d2d62b4c7940b9829fc52eb0167847f9e7491
[ "MIT" ]
1
2020-12-17T10:52:37.000Z
2020-12-17T10:52:37.000Z
#include "AiPlayer.h" #include <limits> #include <random> #include <fstream> std::random_device randomDevice; std::mt19937 randomEngine(randomDevice()); const float initialEstimation = 0.5f; const float explorationRate = 0.1f; const float learningRate = 0.1f; AiPlayer::AiPlayer(Board& board, const std::string& polic...
25.760331
108
0.735643
[ "vector" ]
fe0799cdfd81d0f61ad12644b56f65317d49568b
18,096
cpp
C++
GameAnalyticsInterface.cpp
npruehs/game-analytics-win10
498b13efbd1cdfacdfd509f1efae9edbe0bf7a8c
[ "MIT" ]
2
2015-08-30T10:10:26.000Z
2018-02-23T10:37:31.000Z
GameAnalyticsInterface.cpp
npruehs/game-analytics-win10
498b13efbd1cdfacdfd509f1efae9edbe0bf7a8c
[ "MIT" ]
null
null
null
GameAnalyticsInterface.cpp
npruehs/game-analytics-win10
498b13efbd1cdfacdfd509f1efae9edbe0bf7a8c
[ "MIT" ]
2
2016-03-22T21:44:33.000Z
2021-10-11T19:47:03.000Z
#include "pch.h" #include "GameAnalyticsInterface.h" #include <Windows.h> using namespace GameAnalytics; using namespace concurrency; using namespace Platform; using namespace Windows::Data::Json; using namespace Windows::Foundation; using namespace Windows::Security::Cryptography; using namespace Windows::Security...
30.880546
198
0.751271
[ "object", "model" ]
fe08088a244be8dd4f74d702e91bef87d4848a2e
4,144
cpp
C++
Source Files/Engine/Managers/GameObjectManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Engine/Managers/GameObjectManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Engine/Managers/GameObjectManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
//Internal includes #include "GameObjectManager.h" #include "Application.h" //Initializes the GameObject managers GameObject container vector<GameObject*> InitializeGameObjectContainer() { //Return default GameObject container return vector<GameObject*>(); } //Initialize static GameObject manager attributes vector<...
33.691057
106
0.789334
[ "vector" ]
fe0b0894119685bda2affd023faf9233a9074a82
1,605
cpp
C++
engine.cpp
aaronpennington/Hero
7c859a234d4e415f3b75469a91ccdd83c200fd25
[ "MIT" ]
null
null
null
engine.cpp
aaronpennington/Hero
7c859a234d4e415f3b75469a91ccdd83c200fd25
[ "MIT" ]
null
null
null
engine.cpp
aaronpennington/Hero
7c859a234d4e415f3b75469a91ccdd83c200fd25
[ "MIT" ]
null
null
null
#include "pch.h" #include "main.hpp" Engine::Engine(int sW, int sH) : fovRad(10), gameState(START), sW(sW), sH(sH) { TCODConsole::initRoot(sW, sH, "HEROES", false); player = std::make_shared<Ent>(1, 1, '@', "player", TCODColor::white); player->mortal = std::make_shared<pcMortal>(100, 2, "your lifeless corpse"); p...
23.955224
105
0.618069
[ "render" ]
fe0c6fcd6cb46e39e4fb03a3a1412a200ec8d5fe
2,691
hpp
C++
src/lib/server/SourcesControllerCommands.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/server/SourcesControllerCommands.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/server/SourcesControllerCommands.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020-2021 Grant Erickson * 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...
24.243243
84
0.704199
[ "object", "model" ]
fe1862fbd71ed0ff199454f9d028d7030d48b1bc
730
cpp
C++
vs2015/realtime_server/example/for_ue4_demo/CharacterLuaBind.cpp
no5ix/realtime-server
c786d5329382c2d1f19673ba3025d516b83e1cc4
[ "MIT" ]
465
2018-06-21T02:50:56.000Z
2022-03-27T11:51:46.000Z
vs2015/realtime_server/example/for_ue4_demo/CharacterLuaBind.cpp
no5ix/RealTimeServer
9e3b690c1d12fe32068bc4637fa1919cd52ce854
[ "MIT" ]
8
2018-08-09T09:25:00.000Z
2022-03-10T14:54:51.000Z
vs2015/realtime_server/example/for_ue4_demo/CharacterLuaBind.cpp
no5ix/RealTimeServer
9e3b690c1d12fe32068bc4637fa1919cd52ce854
[ "MIT" ]
113
2018-06-25T01:42:20.000Z
2022-03-23T11:27:56.000Z
#include "Character.h" #include "CharacterLuaBind.h" #ifdef IS_LINUX using namespace realtime_srv; CharacterLuaBind::CharacterLuaBind() { lua_.new_usertype<Character>("Character" , "NewCharacter", []() { return new Character; } , "SetLocation", sol::overload(sol::resolve<void(const float x, const float y, co...
27.037037
65
0.728767
[ "object" ]
fe1dd5fee2ed9799fc38cd6fecd11781d71da70f
10,093
cpp
C++
mc/marching_cubes.cpp
ShamylZakariya/MarchingCubes
27f375d5d25df2246095d65c11127aac82a24211
[ "MIT" ]
2
2019-12-03T05:52:57.000Z
2021-05-21T18:17:52.000Z
mc/marching_cubes.cpp
ShamylZakariya/MarchingCubes
27f375d5d25df2246095d65c11127aac82a24211
[ "MIT" ]
null
null
null
mc/marching_cubes.cpp
ShamylZakariya/MarchingCubes
27f375d5d25df2246095d65c11127aac82a24211
[ "MIT" ]
null
null
null
// // marching_cubes.cpp // MarchingCubes // // Created by Shamyl Zakariya on 11/25/19. // Copyright © 2019 Shamyl Zakariya. All rights reserved. // #include "marching_cubes.hpp" #include "marching_cubes_detail.hpp" using namespace glm; using namespace mc::util; namespace mc { namespace { /* From "Poly...
31.540625
169
0.56455
[ "geometry" ]
fe228f0b9acd445c5fe2e5e2c44c669032ea7617
2,274
cpp
C++
2017/24 - electromagnetic moat/24.cpp
Stannislav/Advent-of-Code
b9571e71e1acedf74be3bb32f03c9877f57c48dd
[ "MIT" ]
2
2020-12-12T17:06:47.000Z
2021-12-15T04:06:57.000Z
2017/24 - electromagnetic moat/24.cpp
Stannislav/Advent-of-Code
b9571e71e1acedf74be3bb32f03c9877f57c48dd
[ "MIT" ]
null
null
null
2017/24 - electromagnetic moat/24.cpp
Stannislav/Advent-of-Code
b9571e71e1acedf74be3bb32f03c9877f57c48dd
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <sstream> #include <vector> using namespace std; using wire = struct wire; /* Struct representing the connection between components in the tree of all possible bridges. Fields: in: the incoming port we're connecting to roots: the components used to for the b...
21.252336
100
0.64336
[ "vector" ]
fe3b45f625ebe575c3d7ec822988746cb12d9406
27,676
cpp
C++
engine/servermsghandler.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/servermsghandler.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/servermsghandler.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #ifndef DEDICATED #include "screen.h" #include "cl_main.h" #include "iprediction.h" #include "proto_oob.h" #include "demo.h" #incl...
27.731463
172
0.718276
[ "vector", "model" ]
fe3e2795e597de546fef8347ad247eb97c4a79c6
3,506
cpp
C++
src/Gradation.cpp
Interaction-Design-Lab-Kyushu-Univ/ofxDome
0cd98891fb9fcc194f22f2a8d36d5699a981ac8a
[ "MIT" ]
16
2015-03-03T18:44:21.000Z
2021-11-04T12:17:14.000Z
src/Gradation.cpp
Interaction-Design-Lab-Kyushu-Univ/ofxDome
0cd98891fb9fcc194f22f2a8d36d5699a981ac8a
[ "MIT" ]
null
null
null
src/Gradation.cpp
Interaction-Design-Lab-Kyushu-Univ/ofxDome
0cd98891fb9fcc194f22f2a8d36d5699a981ac8a
[ "MIT" ]
3
2016-01-24T07:41:50.000Z
2022-03-22T08:47:07.000Z
#include "Gradation.h" using namespace ofxDome; QuarterSphereGradation::QuarterSphereGradation(ofPtr<QuarterSphereMesh> mesh) : mesh(mesh) { generate(); } QuarterSphereGradation::QuarterSphereGradation() { } void QuarterSphereGradation::generate() { assert(mesh != NULL); const float hWidth = OVERWRAP_RADIAN...
30.754386
97
0.731033
[ "mesh", "vector" ]
fe3fe4e729c540bda99703a95f2809dfe2235137
2,111
hpp
C++
source/Vizor/Platform/SwapchainController.hpp
kurocha/vizor-platform
cd83e7b9a0b0980512f7a11e9131d32035164ec4
[ "Unlicense", "MIT" ]
null
null
null
source/Vizor/Platform/SwapchainController.hpp
kurocha/vizor-platform
cd83e7b9a0b0980512f7a11e9131d32035164ec4
[ "Unlicense", "MIT" ]
null
null
null
source/Vizor/Platform/SwapchainController.hpp
kurocha/vizor-platform
cd83e7b9a0b0980512f7a11e9131d32035164ec4
[ "Unlicense", "MIT" ]
null
null
null
// // SwapchainController.hpp // This file is part of the "Vizor" project and released under the MIT License. // // Created by Samuel Williams on 20/11/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #pragma once #include "SurfaceContext.hpp" #include "Window.hpp" namespace Vizor { namespa...
30.157143
223
0.741355
[ "vector" ]
fe4546799dbf5adf1e1716c8a41644401bec37f2
1,209
cpp
C++
HackerEarth/DAA_Contest_8/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
HackerEarth/DAA_Contest_8/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
HackerEarth/DAA_Contest_8/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int mxch(int currRow, int c1, int c2, vector<vector<int>> &grid) { // Return 0 if current coordinates are not valid. if (currRow == grid.size() || c1 < 0 || c1 >= grid[0].size() || c2 < 0 || c2 >= grid[0].size() || c1 > c2) { return 0;...
22.388889
112
0.502895
[ "vector" ]
e80944bcf4bc6150c121f8ebee782a599b5b6251
2,482
cpp
C++
openstudiocore/src/litesql/generator/generator.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/litesql/generator/generator.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
11
2015-05-05T16:16:33.000Z
2017-08-10T08:15:50.000Z
openstudiocore/src/litesql/generator/generator.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
#include "generator.hpp" #include "objectmodel.hpp" //#include <fstream> using namespace std; using namespace litesql; CodeGenerator::~CodeGenerator() {} void CodeGenerator::setOutputDirectory(const string& directory) { m_directory = directory; } const string& CodeGenerator::getOutputDirectory() const { return...
21.396552
101
0.682917
[ "object", "vector", "model" ]
e80c802db756eed3403731e7fc77c975938e9a95
1,040
cpp
C++
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
2
2020-07-23T06:01:37.000Z
2021-02-25T06:48:42.000Z
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
null
null
null
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
1
2020-11-11T12:54:06.000Z
2020-11-11T12:54:06.000Z
/* * Author: bwilliams * Created: April 6, 2012 * * Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential * * */ #include "stdafx.h" #include "Doc/DiagTypesDoc/CDiagSetValueDoc.h" #include "Doc/DiagTypesDoc/CDiagSetValueCollectionDoc.h" using namespace Caf; /// A simple contain...
23.636364
96
0.768269
[ "object" ]
e815bcc0b34e97ccd64cad6c2a2001cd42302d49
11,593
cpp
C++
src/Clients/MCCATestClient/MCCATestClient.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Clients/MCCATestClient/MCCATestClient.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Clients/MCCATestClient/MCCATestClient.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
1
2022-03-07T22:54:02.000Z
2022-03-07T22:54:02.000Z
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
33.997067
159
0.720952
[ "object" ]
e82355b3bae83f75d32d9a902ee467225133f3f0
543
cpp
C++
TemplePlus/graphics/imgfile.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
69
2015-05-05T14:09:25.000Z
2022-02-15T06:13:04.000Z
TemplePlus/graphics/imgfile.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
457
2015-05-01T22:07:45.000Z
2022-03-31T02:19:10.000Z
TemplePlus/graphics/imgfile.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
25
2016-02-04T21:19:53.000Z
2021-11-15T23:14:51.000Z
#include "stdafx.h" #include "imgfile.h" #include "render_hooks.h" #include <ui/ui_assets.h> CombinedImgFile::CombinedImgFile(const std::string& filename) : mFilename(filename) { mImgFile.reset(uiAssets->LoadImg(filename.c_str())); } CombinedImgFile::~CombinedImgFile() = default; int CombinedImgFile::GetWidth() ...
20.884615
61
0.734807
[ "render" ]
e824a3ec142b97ce6f236f869987d0ced76b129e
7,838
cxx
C++
crow/src/distributions/distributionNDCartesianSpline.cxx
rinelson456/raven
1114246136a2f72969e75b5e99a11b35500d4eef
[ "Apache-2.0" ]
159
2017-03-24T21:07:06.000Z
2022-03-20T13:44:40.000Z
crow/src/distributions/distributionNDCartesianSpline.cxx
rinelson456/raven
1114246136a2f72969e75b5e99a11b35500d4eef
[ "Apache-2.0" ]
1,667
2017-03-27T14:41:22.000Z
2022-03-31T19:50:06.000Z
crow/src/distributions/distributionNDCartesianSpline.cxx
rinelson456/raven
1114246136a2f72969e75b5e99a11b35500d4eef
[ "Apache-2.0" ]
95
2017-03-24T21:05:03.000Z
2022-03-08T17:30:22.000Z
/* Copyright 2017 Battelle Energy Alliance, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
36.119816
286
0.730926
[ "vector" ]
e82b578e80ecd2dfca767785fa163f882b7e104e
2,232
cpp
C++
src/Qir/Runtime/lib/QSharpFoundation/AssertMeasurement.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
260
2019-07-11T16:40:17.000Z
2022-03-23T17:46:59.000Z
src/Qir/Runtime/lib/QSharpFoundation/AssertMeasurement.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
507
2019-07-11T17:14:48.000Z
2022-03-29T01:17:07.000Z
src/Qir/Runtime/lib/QSharpFoundation/AssertMeasurement.cpp
Bradben/qsharp-runtime
72f7e963077c4cebea641ecc50b1ce4417048453
[ "MIT" ]
89
2019-07-11T18:02:27.000Z
2022-03-25T09:06:58.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "QirRuntime.hpp" #include "QSharpSimApi_I.hpp" #include "QirRuntimeApi_I.hpp" #include "QirContext.hpp" #include "qsharp__foundation__qis.hpp" using namespace Microsoft::Quantum; static IDiagnostics* GetDiagnostics() { return dy...
36.590164
118
0.577061
[ "vector" ]
e82e2ff60e03aa1c9e3c4ba9c960335213595406
1,454
cpp
C++
LuoguOJ/Luogu 1443.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
LuoguOJ/Luogu 1443.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
LuoguOJ/Luogu 1443.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#pragma GCC optimize ("O2") #include<bits/stdc++.h> #include<unistd.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int,int> pi; #define _ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define F first #def...
23.079365
96
0.547455
[ "vector" ]
e8380a2ebbcdffb7cea0016f4d9cf00130ffc265
2,078
cpp
C++
traffic_editor/gui/layer.cpp
Briancbn/traffic_editor
677c11f5be7ad4b904ce180c7a9abe9779ff40be
[ "Apache-2.0" ]
null
null
null
traffic_editor/gui/layer.cpp
Briancbn/traffic_editor
677c11f5be7ad4b904ce180c7a9abe9779ff40be
[ "Apache-2.0" ]
null
null
null
traffic_editor/gui/layer.cpp
Briancbn/traffic_editor
677c11f5be7ad4b904ce180c7a9abe9779ff40be
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 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...
28.081081
75
0.69538
[ "vector" ]
e83a15bd10c11c11be1f38e7f50b501065d6d628
3,500
cpp
C++
runa/base/_config.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
5
2017-12-28T08:22:20.000Z
2022-03-30T01:26:17.000Z
runa/base/_config.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
runa/base/_config.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(dot)com * * 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) */ // Created on 2017/01/15 #include "stdafx.h" #ifndef __NANA_RUNNER_LIB_ALL_...
21.604938
76
0.525143
[ "vector", "transform" ]
e8402a76d2b7b5b087ea93af2c3b3184c4a37376
61,707
cpp
C++
implementations/ugene/src/plugins/dotplot/src/DotPlotWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/dotplot/src/DotPlotWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/dotplot/src/DotPlotWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
30.89985
215
0.613156
[ "object" ]
e8455cbfa78984240b22284ea6a810c51d3d4b76
8,933
cc
C++
src/formulation/tests/stamper_test.cc
narang-amit/BART
22997c4ce6de3e97b39f4da4601edbd4cf73f9e2
[ "MIT" ]
null
null
null
src/formulation/tests/stamper_test.cc
narang-amit/BART
22997c4ce6de3e97b39f4da4601edbd4cf73f9e2
[ "MIT" ]
null
null
null
src/formulation/tests/stamper_test.cc
narang-amit/BART
22997c4ce6de3e97b39f4da4601edbd4cf73f9e2
[ "MIT" ]
null
null
null
#include "formulation/stamper.h" #include "domain/tests/definition_mock.h" #include "test_helpers/dealii_test_domain.h" #include "test_helpers/gmock_wrapper.h" #include "test_helpers/test_assertions.h" namespace { using namespace bart; using ::testing::ReturnRef, ::testing::Return, ::testing::DoDefault; /* ===== B...
40.977064
87
0.679615
[ "object", "vector" ]
e848b83deb1fd510eddc622e74a99cdb190cfb9b
5,373
cc
C++
chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.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 "chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h" #include <string> #include "base/bind.h" #include "base/logging.h" #includ...
36.80137
80
0.710404
[ "vector" ]
e85242c99d90f1a3d73b12b636bd3c131e0d35bb
2,532
cpp
C++
Compiler/AST/ASTExpr.cpp
coatest/emojicode
1243c701333ce91199ecaaf83fe3ac5863b97d50
[ "Artistic-2.0" ]
2,963
2016-01-03T20:10:06.000Z
2022-03-30T11:31:34.000Z
Compiler/AST/ASTExpr.cpp
coatest/emojicode
1243c701333ce91199ecaaf83fe3ac5863b97d50
[ "Artistic-2.0" ]
177
2016-01-05T20:36:08.000Z
2022-03-24T19:22:54.000Z
Compiler/AST/ASTExpr.cpp
coatest/emojicode
1243c701333ce91199ecaaf83fe3ac5863b97d50
[ "Artistic-2.0" ]
221
2016-01-03T21:14:59.000Z
2022-03-12T17:20:12.000Z
// // ASTExpr.cpp // Emojicode // // Created by Theo Weidmann on 03/08/2017. // Copyright © 2017 Theo Weidmann. All rights reserved. // #include "ASTExpr.hpp" #include "Analysis/ExpressionAnalyser.hpp" #include "MemoryFlowAnalysis/MFFunctionAnalyser.hpp" #include "Types/TypeExpectation.hpp" #include "CompilerError...
36.695652
119
0.692338
[ "vector" ]
e8573dc240a1c68f425dff4fc034e3b7ffcab6e4
4,659
cpp
C++
src/car/car.cpp
mx-car/firmware
3ec7c58f3f517958a40a0b27e4269a2f57060479
[ "BSD-3-Clause" ]
null
null
null
src/car/car.cpp
mx-car/firmware
3ec7c58f3f517958a40a0b27e4269a2f57060479
[ "BSD-3-Clause" ]
null
null
null
src/car/car.cpp
mx-car/firmware
3ec7c58f3f517958a40a0b27e4269a2f57060479
[ "BSD-3-Clause" ]
null
null
null
#include <car/car.h> #include <HardwareSerial.h> using namespace car; Car::Car() { constexpr car::bldc::INHPins inhibitPins_{33, 26, 31}; constexpr car::bldc::PWMPins initPins{10, 22, 23}; constexpr car::bldc::ISPins isPins{A15, A16, A17}; constexpr car::bldc::INHPins inhibitPins2{28, 8, 25}; co...
36.685039
144
0.628246
[ "object" ]
e85c733985f9cfbb61d620bc912d980d8c687f58
9,058
cpp
C++
OpenTESArena/src/Interface/CharacterPanel.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/CharacterPanel.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/CharacterPanel.cpp
Alucowie/OpenTESArena
f8e04f288dfb587e390d15bf9eb6e017fe991d83
[ "MIT" ]
null
null
null
#include "SDL.h" #include "CharacterEquipmentPanel.h" #include "CharacterPanel.h" #include "CursorAlignment.h" #include "GameWorldPanel.h" #include "RichTextString.h" #include "TextAlignment.h" #include "TextBox.h" #include "Texture.h" #include "../Assets/ArenaPaletteName.h" #include "../Assets/ArenaTextureName.h" #in...
34.310606
118
0.745308
[ "render" ]
e868b0cf863a0dc2f64d6d56c051652a736a2ab5
48,233
cc
C++
mysql-server/sql/sql_audit.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/sql_audit.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/sql_audit.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2007, 2020, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (including...
33.172627
80
0.682707
[ "object" ]
e869e599730f59636716e71208a24e803b81a90b
3,876
cpp
C++
src/setup.cpp
willfurnass/pFIRE
251cac173f2337f504dfde122851b834fe3e77be
[ "Apache-2.0" ]
9
2019-02-14T09:03:03.000Z
2021-11-30T16:03:32.000Z
src/setup.cpp
willfurnass/pFIRE
251cac173f2337f504dfde122851b834fe3e77be
[ "Apache-2.0" ]
64
2019-01-29T16:22:42.000Z
2021-06-07T07:54:28.000Z
src/setup.cpp
tartarini/pFIRE
406fdbb188a17b6413edcd0a229213464628ab15
[ "Apache-2.0" ]
5
2019-01-29T15:32:53.000Z
2021-08-19T10:24:42.000Z
// // Copyright 2019 University of Sheffield // // 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...
24.531646
100
0.684211
[ "vector", "transform" ]
e86cc2fb93b94eaf4526f1f6065000d57a902c8b
20,005
cpp
C++
unit/scaling/unittest_scaling.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
null
null
null
unit/scaling/unittest_scaling.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
1
2022-01-13T02:14:40.000Z
2022-01-13T03:35:16.000Z
unit/scaling/unittest_scaling.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
null
null
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" ...
41.078029
132
0.655786
[ "shape", "vector", "transform" ]
e87546365bd1abe92920402e284c32aa953f5273
5,176
cpp
C++
JusText/tools.cpp
nsobadzhiev/JusText_iOS
dd06478d732ac02803f40e321755576be2ad2684
[ "MIT" ]
2
2015-10-26T12:15:21.000Z
2017-06-06T10:08:40.000Z
JusText/tools.cpp
nsobadzhiev/JusText_iOS
dd06478d732ac02803f40e321755576be2ad2684
[ "MIT" ]
null
null
null
JusText/tools.cpp
nsobadzhiev/JusText_iOS
dd06478d732ac02803f40e321755576be2ad2684
[ "MIT" ]
null
null
null
#include "tools.h" #include <fstream> #include <algorithm> #include <pcrecpp.h> void ReplaceAtoB(std::string & str, std::string A, std::string B) { size_t i = 0; while((i = str.find(A, i)) != -1) { str.replace(i, A.length(), B); i += B.length(); } } void explode(const std::string& s, std::string e, std::set<...
26.01005
120
0.60085
[ "vector", "transform" ]
e875e65c80e5e32d6ebb666e3237d2b3f20add1f
12,416
cpp
C++
src_test/test_serialize.cpp
cdsama/cdscript
8527f15628a37e1f53ae3b2350e897700469ef6e
[ "MIT" ]
null
null
null
src_test/test_serialize.cpp
cdsama/cdscript
8527f15628a37e1f53ae3b2350e897700469ef6e
[ "MIT" ]
null
null
null
src_test/test_serialize.cpp
cdsama/cdscript
8527f15628a37e1f53ae3b2350e897700469ef6e
[ "MIT" ]
null
null
null
// Copyright (c) 2019 chendi // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include <array> #include <deque> #include <list> #include <map> #include <set> #include <sstream> #include <stack> #include <unordered_map> #include <unordered_set> #include <vector> #include "ca...
22.907749
139
0.480831
[ "vector" ]
e87ecfd47c7f35797a18c59e7effbf41aa5e96b1
9,085
cpp
C++
src/Dib.cpp
dg1an3/WarpTPS
30e46fe8a743ff5176b65c608ee337e173016c26
[ "BSD-2-Clause" ]
5
2015-09-06T18:12:57.000Z
2020-04-30T01:35:49.000Z
src/Dib.cpp
dg1an3/WarpTPS
30e46fe8a743ff5176b65c608ee337e173016c26
[ "BSD-2-Clause" ]
6
2020-02-29T00:25:52.000Z
2021-01-28T00:40:25.000Z
src/Dib.cpp
dg1an3/WarpTPS
30e46fe8a743ff5176b65c608ee337e173016c26
[ "BSD-2-Clause" ]
1
2016-10-03T02:35:39.000Z
2016-10-03T02:35:39.000Z
//////////////////////////////////////////////////////////////// // PixieLib(TM) Copyright 1997-1999 Paul DiLascia // If this code works, it was written by Paul DiLascia. // If not, I don't know who wrote it. // // CDib - Device Independent Bitmap.CDib is derived from CBitmap, so // you can use it with other MFC functi...
27.613982
117
0.679252
[ "object" ]
e896f49d52d62b91cf44f4a331a74e6c57429c10
13,522
cpp
C++
Graph/Directed Graph(DG)/SCC/Kosaraju's Algorithm.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Graph/Directed Graph(DG)/SCC/Kosaraju's Algorithm.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Graph/Directed Graph(DG)/SCC/Kosaraju's Algorithm.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
/* # The term 𝑺𝑻𝑹𝑶𝑵𝑮𝑳𝒀 is always used in reference with 𝑫𝑰𝑹𝑬𝑪𝑻𝑬𝑫 𝑮𝑹𝑷𝑨𝑯(𝑫𝑮). # A DG is strongly connected graph if there is a path between all the pairs of vertices. # A strongly connected component (SCC) of a DG is a 𝒎𝒂𝒙𝒊𝒎𝒂𝒍 𝒔𝒕𝒓𝒐𝒏𝒈𝒍𝒚 𝒄𝒐𝒏𝒏𝒆𝒄𝒕𝒆𝒅 𝒔𝒖𝒃𝒈𝒓𝒂𝒑𝒉. ...
30.872146
165
0.540379
[ "vector" ]
e89a7eeebbbb4400f8882ce316965f00461bb8b1
1,741
cpp
C++
check/TestHighsIntegers.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
241
2018-03-27T15:04:14.000Z
2022-03-31T14:44:18.000Z
check/TestHighsIntegers.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
384
2018-03-28T10:34:36.000Z
2022-03-31T20:19:37.000Z
check/TestHighsIntegers.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
54
2018-04-28T22:43:19.000Z
2022-03-31T14:44:22.000Z
#include "catch.hpp" #include "util/HighsIntegers.h" const bool dev_run = false; TEST_CASE("HighsIntegers", "[util]") { double x1 = 6.4700675; double x2 = 0.27425; double x3 = 5.68625; // simple test case, that requires denominators above 1000, but not // well behaved ones as they contain multiple powers ...
41.452381
80
0.686962
[ "vector" ]
e8a1f3672d2f1c062847376865086b72b9af0d2a
5,140
cpp
C++
main.cpp
rowles/Protobuf-Trie-C-17
0694a63c86c9fe0b33175062a7f0b6b9c155a81a
[ "MIT" ]
2
2017-10-29T20:19:17.000Z
2018-09-02T20:37:21.000Z
main.cpp
rowles/Protobuf-Trie-C-17
0694a63c86c9fe0b33175062a7f0b6b9c155a81a
[ "MIT" ]
null
null
null
main.cpp
rowles/Protobuf-Trie-C-17
0694a63c86c9fe0b33175062a7f0b6b9c155a81a
[ "MIT" ]
1
2018-11-01T10:35:07.000Z
2018-11-01T10:35:07.000Z
#include <iostream> #include <string_view> #include <tuple> #include <memory> #include <unordered_map> #include <optional> #include <vector> #include <fstream> #include "trie.pb.h" class Trie { public: struct Node; typedef std::unique_ptr<Node> NodePtr; typedef std::vector<std::tuple<std::string, int32_t...
25.959596
90
0.542023
[ "vector" ]
e8a8288f781eb4eda77d72d986df19ef41821bd3
10,626
cpp
C++
example/12-SimpleLightTypes.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
1
2020-10-26T17:53:33.000Z
2020-10-26T17:53:33.000Z
example/12-SimpleLightTypes.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
example/12-SimpleLightTypes.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
#include "glad/glad.h" #include "GLFW/glfw3.h" #include "GLFWInitRAII.hpp" #include "Shader.hpp" #include "CameraFree.hpp" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" enum Screen { width = 1920, height = 1080 }; namespace System { float deltaTime = 0.0f...
33.415094
116
0.614813
[ "object", "model" ]
e8a9522d85929e38511911220ef57c063379eb6a
1,594
hh
C++
src/arm_performance/workload.hh
lexesjan/gem5
266d7f6fd8ac02e8bad1bff4e3eecf7a0348682c
[ "BSD-3-Clause" ]
null
null
null
src/arm_performance/workload.hh
lexesjan/gem5
266d7f6fd8ac02e8bad1bff4e3eecf7a0348682c
[ "BSD-3-Clause" ]
null
null
null
src/arm_performance/workload.hh
lexesjan/gem5
266d7f6fd8ac02e8bad1bff4e3eecf7a0348682c
[ "BSD-3-Clause" ]
null
null
null
// Adapted from https://github.com/devplayer0/gem5/blob/perfgrade/src/perfgrade/workload.hh #ifndef __ARM_PERFORMANCE_ARMROM_WORKLOAD_HH__ #define __ARM_PERFORMANCE_ARMROM_WORKLOAD_HH__ #include <string> #include <vector> #include "arch/arm/remote_gdb.hh" #include "base/loader/symtab.hh" #include "base/types.hh" #in...
21.835616
91
0.686951
[ "vector" ]
e8ad2926b4197dba6dc2909e76424bf33d9e719f
2,348
hpp
C++
src/config.hpp
nicklausEB/Ludwig
31e8c5c252972c1b6eb890b2cffc8bf9dbdf12a1
[ "MIT" ]
null
null
null
src/config.hpp
nicklausEB/Ludwig
31e8c5c252972c1b6eb890b2cffc8bf9dbdf12a1
[ "MIT" ]
null
null
null
src/config.hpp
nicklausEB/Ludwig
31e8c5c252972c1b6eb890b2cffc8bf9dbdf12a1
[ "MIT" ]
null
null
null
#ifndef CONFIG_HPP_ #define CONFIG_HPP_ #define GLDSEL_FUNC_DECL inline #include <GL/gl.h> #include <GL/glew.h> #include <string> #include <utility> #include <type_traits> #include <algorithm> #include <boost/hana/tuple.hpp> #include <boost/hana/map.hpp> #include <boost/hana/pair.hpp> #include <boost/ha...
30.493506
59
0.747019
[ "vector", "transform" ]
e8b286d7232a1594a05e48a981f3f3232c595eee
1,001
cpp
C++
Programs/Launcher/Classes/Core/Tasks/Private/DownloadTask.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
5
2020-02-11T12:04:17.000Z
2022-01-30T10:18:29.000Z
Programs/Launcher/Classes/Core/Tasks/Private/DownloadTask.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
null
null
null
Programs/Launcher/Classes/Core/Tasks/Private/DownloadTask.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
4
2019-11-28T19:24:34.000Z
2021-08-24T19:12:50.000Z
#include "Core/Tasks/DownloadTask.h" DownloadTask::DownloadTask(ApplicationManager* appManager, const QString& description_, const std::vector<QUrl>& urls_) : BaseTask(appManager) , description(description_) , urls(urls_) { } DownloadTask::DownloadTask(ApplicationManager* appManager, const QString& descri...
19.627451
119
0.736264
[ "vector" ]
e8c1f834209eb65968b9cbaa069354df6bb303b7
78,038
cpp
C++
src/org/apache/poi/hssf/model/InternalWorkbook.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/model/InternalWorkbook.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/model/InternalWorkbook.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/hssf/model/InternalWorkbook.java #include <org/apache/poi/hssf/model/InternalWorkbook.hpp> #include <java/io/Serializable.hpp> #include <java/lang/ArrayIndexOutOfBoundsException.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/CharSequence.hpp> #include <...
42.504357
364
0.647031
[ "object", "model" ]
e8cc06c6bd4153ab4cc8a8d8646937b47ecef090
1,630
cpp
C++
graph-pheory/shortest-paths/digistral_algorithm.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
graph-pheory/shortest-paths/digistral_algorithm.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
graph-pheory/shortest-paths/digistral_algorithm.cpp
dushimsam/deep-dive-in-algorithms
0c6a04b3115ba789ab4aca68cce51c9a3c3a075a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /*** * * THE DIFFERENCE WITH BELLMAN-FORD ALORGITHM WE DISCUSSED EALIER IS THAT * WE DON'T NEED THE OUTER MOST LOOP THAT LEADS FROM 1-N. * THIS IS EFFICIENT ALGORITHM TO BE USED WHEN WE DON'T HAVE NEGATIVE WEIGHTS IN OUR * GRAPH. * * TIME COMPLEXITY: log(O(n+ mlogm...
22.638889
88
0.50184
[ "vector" ]
e8d05527587c24da741d808139bc6e2d3b230df0
11,582
cpp
C++
modules/rendering/src/dmRenderObject.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
2
2021-02-22T11:36:33.000Z
2021-07-20T11:31:08.000Z
modules/rendering/src/dmRenderObject.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
null
null
null
modules/rendering/src/dmRenderObject.cpp
v4r-tuwien/v4r
ff3fbd6d2b298b83268ba4737868bab258262a40
[ "BSD-1-Clause", "BSD-2-Clause" ]
3
2018-10-19T10:39:23.000Z
2021-04-07T13:39:03.000Z
#include <v4r/rendering/dmRenderObject.h> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <assimp/Importer.hpp> /// TODO: remove every trace of glm #include <glm/glm.hpp> #include <pcl/conversions.h> #include <pcl/point_types.h> using namespace std; using namespace cv; namespace v4r { struct Dept...
32.717514
117
0.626317
[ "mesh", "geometry", "vector" ]
e8d231d4fbd02e0f25bf31a5ca5e9ea48331ed90
6,742
cpp
C++
libyangrtc2/src/yangutil/YangSocket.cpp
yangrtc/yangwebrtc
2d673dd29d02fe5267c09a93884170f2c02edd6f
[ "MIT" ]
147
2021-09-12T07:23:45.000Z
2021-11-11T11:31:26.000Z
libyangrtc2/src/yangutil/YangSocket.cpp
yangrtc/yangrtc2
91b7e2cfc34747cffc6afa4dc35d5fbfe8fb145e
[ "MIT" ]
6
2021-11-30T07:53:09.000Z
2022-02-25T01:36:38.000Z
libyangrtc2/src/yangutil/YangSocket.cpp
yangrtc/yangrtc2
91b7e2cfc34747cffc6afa4dc35d5fbfe8fb145e
[ "MIT" ]
36
2021-09-13T06:24:20.000Z
2021-11-12T10:23:54.000Z
#include <stdio.h> #include <string.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #include <vector> #else #include <net/if.h> #include <sys/ioctl.h> #include <arpa/inet.h> #include <netdb.h> #include <sys/socket.h> #endif #include <yangutil/sys/YangSocket.h> #include <errno.h> #include<stdlib.h> #incl...
28.091667
114
0.529665
[ "vector" ]
e8d573c84e18b268093c99d2956d3b853be139a8
3,606
cpp
C++
src/lua/LuaContext.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
23
2015-07-24T15:45:36.000Z
2021-11-23T15:35:33.000Z
src/lua/LuaContext.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
null
null
null
src/lua/LuaContext.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
21
2015-07-12T16:42:01.000Z
2020-08-23T22:56:50.000Z
// The Open Trading Project - open-trading.org // // Copyright (c) 2011 Martin Tapia - martin.tapia@open-trading.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributio...
33.388889
128
0.641708
[ "object" ]
e8d681bb3283c121c9f5abb8ada421cf6d16ebd7
26,815
cpp
C++
SDK/ARKSurvivalEvolved_Tapejara_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Tapejara_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Tapejara_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Tapejara_Character_BP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //------------------------------------------------------------...
32.229567
277
0.757449
[ "mesh" ]
e8da2b1f097a847f88112e325eaee6438fc3b076
8,749
cpp
C++
src/audio/wav.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/audio/wav.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/audio/wav.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file wav.cpp * @brief Implementation of Wav.h * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2006-05-07 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/audio/precompiled.h" #include "o3d/audio/wav.h" #include "o3d/core/debug...
21.927318
98
0.599954
[ "object" ]
e8dff2e7c31f75f2b41a52296e7bdfb5a4183cfc
2,688
cpp
C++
ospray/fb/frame_ops/SSAO.cpp
TWITTM/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
1
2020-05-30T02:39:22.000Z
2020-05-30T02:39:22.000Z
ospray/fb/frame_ops/SSAO.cpp
wzjj0525/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
null
null
null
ospray/fb/frame_ops/SSAO.cpp
wzjj0525/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
null
null
null
// Copyright 2009-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "SSAO.h" namespace ospray { std::unique_ptr<LiveImageOp> SSAOFrameOp::attach(FrameBufferView &fbView) { if (!fbView.colorBuffer) { throw std::runtime_error( "ssao frame operation must be attached to framebuffer wit...
28.903226
80
0.656622
[ "vector" ]
e8eb72e2b26ae88f740e3f425bc307e5784b11f9
923
hpp
C++
src/ottantonsen.hpp
wavecorner/ChimeraStates
8eef44ad36c591f7c71dac45a55ad06288a0b3e7
[ "MIT" ]
null
null
null
src/ottantonsen.hpp
wavecorner/ChimeraStates
8eef44ad36c591f7c71dac45a55ad06288a0b3e7
[ "MIT" ]
null
null
null
src/ottantonsen.hpp
wavecorner/ChimeraStates
8eef44ad36c591f7c71dac45a55ad06288a0b3e7
[ "MIT" ]
null
null
null
/******************************************************************************** * Author: Gerrit Wellecke * Project: Chimera states in populations of Kuramoto oscillators * Date: March 2020 * * Inherited class from Kuramoto, to save code repetition (this way the logs are * also identical in format). * ...
30.766667
82
0.567714
[ "vector" ]
e8f865001a8046b7ee19e90f70108e47581dd000
1,545
cpp
C++
hackerrank.com/#hourrank/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
hackerrank.com/#hourrank/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
hackerrank.com/#hourrank/B.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #include<functional> #include<vector> #include<algorithm> using namespace std; int a[3050]; vector<pair<int, pair<int,int>> > P; struct dsu { vector<int> p; vector<int> sizes; int k; dsu(int n, int k): k(max(k, n-k)) { sizes = vec...
17.758621
62
0.412945
[ "vector" ]
3302d88a6340c5ebef441d286ba9294aaca106e5
18,356
cpp
C++
dev/Tickets/60.cpp
pauliacomi/CoolProp
80eb4601c67ecd04353067663db50937fd7ccdae
[ "MIT" ]
520
2015-01-14T16:49:41.000Z
2022-03-29T07:48:50.000Z
dev/Tickets/60.cpp
pauliacomi/CoolProp
80eb4601c67ecd04353067663db50937fd7ccdae
[ "MIT" ]
1,647
2015-01-01T07:42:45.000Z
2022-03-31T23:48:56.000Z
dev/Tickets/60.cpp
pauliacomi/CoolProp
80eb4601c67ecd04353067663db50937fd7ccdae
[ "MIT" ]
320
2015-01-02T17:24:27.000Z
2022-03-19T07:01:00.000Z
#include "../../CoolProp/CoolPropTools.h" #include "../../CoolProp/IncompBase.h" #include "../../CoolProp/IncompLiquid.h" #include "../../CoolProp/IncompSolution.h" #if defined(__ISWINDOWS__) #include <Windows.h> #include "stdafx.h" #else #include <sys/time.h> #include <ctime> #include <stdint.h> #endif #include <vec...
27.356185
136
0.686097
[ "vector" ]
330b60d91ed46c1ae50203e41bb7fa4ffe22f714
2,272
cc
C++
tb/dpi/SimDTM.cc
Moschn/ariane
a81ac419a057d303c3a52a0397d2826d4d65e4c0
[ "ECL-2.0", "Apache-2.0" ]
4
2018-06-10T15:30:46.000Z
2021-09-13T22:18:40.000Z
tb/dpi/SimDTM.cc
Moschn/ariane
a81ac419a057d303c3a52a0397d2826d4d65e4c0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tb/dpi/SimDTM.cc
Moschn/ariane
a81ac419a057d303c3a52a0397d2826d4d65e4c0
[ "ECL-2.0", "Apache-2.0" ]
1
2021-08-01T10:19:09.000Z
2021-08-01T10:19:09.000Z
// See LICENSE.SiFive for license details. #include <fesvr/dtm.h> #include <vpi_user.h> #include <svdpi.h> #include <stdio.h> #include <string.h> #include <vector> dtm_t* dtm; extern "C" int debug_tick ( unsigned char* debug_req_valid, unsigned char debug_req_ready, int* debug_req_bits_addr, int* ...
25.818182
91
0.577025
[ "vector" ]
33171e473fcec6bd1661a41514efc1d082613bc7
10,469
cpp
C++
tf_graph_executor/src/tf_graph_executor.cpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
771
2018-04-21T06:47:18.000Z
2022-03-30T11:49:32.000Z
tf_graph_executor/src/tf_graph_executor.cpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
111
2018-04-22T10:11:50.000Z
2022-03-21T02:16:12.000Z
tf_graph_executor/src/tf_graph_executor.cpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
287
2018-04-21T06:43:23.000Z
2022-03-24T17:45:05.000Z
// This code was originally written by Martin Pecka ( martin.pecka@cvut.cz ) and adapted // for our application. #include <utility> #include <tf_graph_executor/tf_graph_executor.hpp> #include <tensorflow/core/public/session.h> #include <tensorflow/core/protobuf/meta_graph.pb.h> using namespace std; using namespace ...
34.32459
110
0.680008
[ "vector" ]
3317bf58b8b312e27ab1f58ce00248ebe9e35440
1,131
cpp
C++
src/main.cpp
ruleechen/hello-ws8211
216df3a5652e92e0c3feb909522d25e38eaaef0a
[ "MIT" ]
null
null
null
src/main.cpp
ruleechen/hello-ws8211
216df3a5652e92e0c3feb909522d25e38eaaef0a
[ "MIT" ]
null
null
null
src/main.cpp
ruleechen/hello-ws8211
216df3a5652e92e0c3feb909522d25e38eaaef0a
[ "MIT" ]
null
null
null
#include <vector> #include <Arduino.h> #include <Adafruit_NeoPixel.h> // Which pin on the Arduino is connected to the NeoPixels? int pin = 0; // How many NeoPixels are attached to the Arduino? int numPixels = 2; // NeoPixel color format & data rate. See the strandtest example for information on possible values. int ...
23.081633
100
0.688771
[ "vector" ]
331e6fcd4c83727c38be2854896d4dc89c40c0e3
8,878
cpp
C++
dep/olego/cz/BedFile.cpp
sagnikbanerjee15/FINDER
e057874acdd0a1cd1b9d122c7b38843c78a5b192
[ "MIT" ]
null
null
null
dep/olego/cz/BedFile.cpp
sagnikbanerjee15/FINDER
e057874acdd0a1cd1b9d122c7b38843c78a5b192
[ "MIT" ]
null
null
null
dep/olego/cz/BedFile.cpp
sagnikbanerjee15/FINDER
e057874acdd0a1cd1b9d122c7b38843c78a5b192
[ "MIT" ]
null
null
null
/* * BedFile.cpp * * Created on: Nov 27, 2010 * Author: zhangc */ #include "BedFile.h" #include <vector> #include <string> //#include <cstdlib> #include <fstream> #include <sstream> #include <iostream> #include <assert.h> #include <stdlib.h> //#include <boost/algorithm/string.hpp> //#include <boost/algorit...
17.339844
112
0.592363
[ "vector", "transform" ]
331ed3db9aee8a99a40242c74aa899d9897a9c3c
27,938
cpp
C++
Engine/Test/Core/Molten/Math/VectorTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
1
2020-10-05T05:24:47.000Z
2020-10-05T05:24:47.000Z
Engine/Test/Core/Molten/Math/VectorTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
Engine/Test/Core/Molten/Math/VectorTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019 Jimmie Bergmann * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
40.431259
97
0.52076
[ "vector", "3d" ]
3322fbe2608e685aa276ca66716ade3fefd8b370
5,434
cpp
C++
compiler/Engines/optimized-engine/specific/src/Interaction.cpp
toandv/IFinder
7d7c48c87034fb1f66ceb5473f516dd833f49450
[ "CECILL-B" ]
null
null
null
compiler/Engines/optimized-engine/specific/src/Interaction.cpp
toandv/IFinder
7d7c48c87034fb1f66ceb5473f516dd833f49450
[ "CECILL-B" ]
null
null
null
compiler/Engines/optimized-engine/specific/src/Interaction.cpp
toandv/IFinder
7d7c48c87034fb1f66ceb5473f516dd833f49450
[ "CECILL-B" ]
null
null
null
/** * Copyright Verimag laboratory. * * contributors: * Jacques Combaz (jacques.combaz@univ-grenoble-alpes.fr) * * This software is a computer program whose purpose is to generate * executable code from BIP models. * * This software is governed by the CeCILL-B license under French law and * abiding by the...
28.15544
95
0.690099
[ "vector" ]
06a7f7b995938e41e25a2e10315285431e889d94
2,920
cc
C++
scsp/src/model/GetOuterCallCenterDataListRequest.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/GetOuterCallCenterDataListRequest.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/GetOuterCallCenterDataListRequest.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...
27.28972
93
0.778082
[ "model" ]
06aa392591ad4181cff0af8cbc3c47557e2e8fcd
1,355
cpp
C++
leetcode/1405. Longest Happy String.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
1
2018-09-13T12:16:42.000Z
2018-09-13T12:16:42.000Z
leetcode/1405. Longest Happy String.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
leetcode/1405. Longest Happy String.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
#define f first #define s second class Solution { public: vector< pair<int, char> > sortThree(int a, int b, int c, char aa, char bb, char cc) { vector< pair<int, char> > arr(3); arr[0].f = a; arr[1].f = b; arr[2].f = c; arr[0].s = aa; arr[1].s = bb; arr[2].s ...
29.456522
89
0.343173
[ "vector" ]
06b71807d513b264003ca36950b64299c58b2ff0
2,390
cc
C++
peridot/tests/sessionctl/sessionctl_test.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
peridot/tests/sessionctl/sessionctl_test.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
peridot/tests/sessionctl/sessionctl_test.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 <fuchsia/modular/cpp/fidl.h> #include <fuchsia/modular/internal/cpp/fidl.h> #include <fuchsia/sys/cpp/fidl.h> #include <lib/async/default.h> #incl...
33.194444
77
0.703347
[ "vector" ]
06b8cb94835ccfc39393a205d9707f7c152d6e20
5,900
cc
C++
src/seedlink/plugins/serial_plugin/proto_guralp2.cc
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
94
2015-02-04T13:57:34.000Z
2021-11-01T15:10:06.000Z
src/seedlink/plugins/serial_plugin/proto_guralp2.cc
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
233
2015-01-28T15:16:46.000Z
2021-08-23T11:31:37.000Z
src/seedlink/plugins/serial_plugin/proto_guralp2.cc
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
95
2015-02-13T15:53:30.000Z
2021-11-02T14:54:54.000Z
/***************************************************************************** * proto_guralp2.cc * * New Guralp protocol implementation, based on libgcf2 * * (c) 2007 Andres Heinloo, GFZ Potsdam * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pu...
26.940639
87
0.568983
[ "vector" ]
06bfc14bf83fe769ecdad3397a048fbf1cfc5f38
2,136
cpp
C++
core/http/web_router_node.cpp
Relintai/rcpp_framework
6416ecc5e0c88115f209cd63945a29c0e16a8e99
[ "MIT" ]
null
null
null
core/http/web_router_node.cpp
Relintai/rcpp_framework
6416ecc5e0c88115f209cd63945a29c0e16a8e99
[ "MIT" ]
null
null
null
core/http/web_router_node.cpp
Relintai/rcpp_framework
6416ecc5e0c88115f209cd63945a29c0e16a8e99
[ "MIT" ]
null
null
null
#include "web_router_node.h" #include "request.h" void WebRouterNode::handle_request_main(Request *request) { if (!try_route_request_to_children(request)) { _handle_request_main(request); } } bool WebRouterNode::try_route_request_to_children(Request *request) { WebNode *handler = nullptr; // if (path == "/")...
19.071429
70
0.673221
[ "object" ]
06c3425ba861e5ef6fa80edcf0b30223041e292a
14,070
cpp
C++
src/decada_manager/decada_manager.cpp
GovTechSIOT/decada-embedded-example-zephyr
8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4
[ "Apache-2.0" ]
4
2021-06-30T06:18:31.000Z
2021-07-21T07:00:03.000Z
src/decada_manager/decada_manager.cpp
GovTechSIOT/decada-embedded-example-zephyr
8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4
[ "Apache-2.0" ]
null
null
null
src/decada_manager/decada_manager.cpp
GovTechSIOT/decada-embedded-example-zephyr
8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4
[ "Apache-2.0" ]
null
null
null
#include <logging/log.h> LOG_MODULE_REGISTER(decada_manager, LOG_LEVEL_DBG); #include "ArduinoJson.hpp" #include <algorithm> #include "conversions/conversions.h" #include "decada_manager.h" #include "device_uuid/device_uuid.h" #include "networking/http/https_request.h" #include "persist_store/persist_store.h" #include...
30.787746
111
0.722886
[ "shape", "model" ]
06c3a21e73f2e9ff68afdfec18a9064947c998c3
5,301
cpp
C++
rtc_stack/wa/webrtc_agent.cpp
anjisuan783/media_lib
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
9
2022-01-07T03:10:45.000Z
2022-03-31T03:29:02.000Z
rtc_stack/wa/webrtc_agent.cpp
anjisuan783/mia
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
16
2021-12-17T08:32:57.000Z
2022-03-10T06:16:14.000Z
rtc_stack/wa/webrtc_agent.cpp
anjisuan783/media_lib
c09c7d48f495a803df79e39cf837bbcb1320ceb8
[ "MIT" ]
1
2022-02-21T15:47:21.000Z
2022-02-21T15:47:21.000Z
// // Copyright (c) 2021- anjisuan783 // // SPDX-License-Identifier: MIT // #include "webrtc_agent.h" #include "h/rtc_return_value.h" #include "webrtc_agent_pc.h" #include "webrtc_track.h" #include "erizo/global_init.h" #include "event.h" using namespace erizo; namespace wa { void lib_evnet_log(int severity, const...
25.485577
80
0.658178
[ "vector" ]
06cbb2db2e5609ecfcc4bd39d06ae9ddcd3ff415
342
cpp
C++
code/framework/types/Float.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
8
2015-07-07T16:38:38.000Z
2020-11-26T13:52:18.000Z
code/framework/types/Float.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
129
2015-07-14T19:06:30.000Z
2019-05-29T20:40:00.000Z
code/framework/types/Float.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
6
2015-08-20T19:00:07.000Z
2020-11-26T13:52:19.000Z
#include "Float.hpp" using namespace uipf; // returns the value of the float float Float::getContent() const { return f_; } // sets the value of the float /* f new float value */ void Float::setContent(float f) { f_ = f; } // returns the data type of this data object: in this case: FLOAT Type Float::getType() con...
15.545455
65
0.690058
[ "object" ]
06d187a6885576be3c4931e1d633396d61b4722d
12,004
cpp
C++
harfang/tests/t_draw_geometry_perf.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
43
2021-10-16T06:33:48.000Z
2022-03-25T07:55:46.000Z
harfang/tests/t_draw_geometry_perf.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
1
2022-01-25T09:21:47.000Z
2022-01-25T20:50:01.000Z
harfang/tests/t_draw_geometry_perf.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
8
2021-10-14T08:49:20.000Z
2022-03-04T21:54:33.000Z
// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include "engine/camera.h" #include "engine/decorator.h" #include "engine/engine.h" #include "engine/environment.h" #include "engine/factories.h" #include "engine/light.h" #include "...
31.506562
187
0.722509
[ "object", "vector", "transform" ]
06d49ea2acd66f19831685477385cb2cc37c949b
743
cc
C++
src/abc036/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc036/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc036/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; typedef long long ll; vector<ll> solve(int n, vector<ll> a) { set<ll> a_set; for(auto aa : a) { a_set.insert(aa); } vector<ll> order; for(auto aa : a_set) { order.push_back(aa); } map<ll, ll> d; for(int...
19.051282
48
0.468371
[ "vector" ]
06d6b7bc6d1854f77d3fd72204942e27576e9e44
4,176
cxx
C++
examples/PhaseCorrelationImageRegistration.cxx
jhlegarreta/ITKMontage
c5f9214ab8993dec0ba2fe0a95eb614cd6558bfa
[ "Apache-2.0" ]
15
2018-01-16T14:42:06.000Z
2022-03-24T13:24:42.000Z
examples/PhaseCorrelationImageRegistration.cxx
jhlegarreta/ITKMontage
c5f9214ab8993dec0ba2fe0a95eb614cd6558bfa
[ "Apache-2.0" ]
114
2018-01-09T23:06:13.000Z
2022-03-07T19:35:39.000Z
examples/PhaseCorrelationImageRegistration.cxx
jhlegarreta/ITKMontage
c5f9214ab8993dec0ba2fe0a95eb614cd6558bfa
[ "Apache-2.0" ]
13
2018-02-05T20:06:08.000Z
2021-12-13T14:53:52.000Z
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
32.625
104
0.666667
[ "transform" ]
06dd655e41cac3669b7194ba0329bb14fc9eb8b6
5,157
hpp
C++
kharm/io.hpp
AFD-Illinois/k-harm
44ea93167f4ac3b3e828dc6615bc9a327b583d75
[ "BSD-3-Clause" ]
2
2020-04-22T22:52:46.000Z
2020-04-23T02:00:09.000Z
kharm/io.hpp
AFD-Illinois/k-harm
44ea93167f4ac3b3e828dc6615bc9a327b583d75
[ "BSD-3-Clause" ]
4
2020-02-07T18:01:51.000Z
2020-02-07T18:14:00.000Z
kharm/io.hpp
AFD-Illinois/k-harm
44ea93167f4ac3b3e828dc6615bc9a327b583d75
[ "BSD-3-Clause" ]
null
null
null
/* * io.hpp: */ #pragma once #include "decs.hpp" #include "grid.hpp" #include "pack.hpp" #include "hdf5_utils.hpp" #include "hdf5.h" #define HDF_STR_LEN 20 /** * Dump state to a file. * Templated to accommodate array orderings */ template <typename T> void dump(Grid &G, T P, Parameters params, std::string f...
37.919118
88
0.645724
[ "geometry" ]
06e5a6a6733a84e1ac2718931229af676105f038
1,725
cpp
C++
chap02/VulkanExample.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
58
2016-03-28T18:53:34.000Z
2021-12-16T09:04:35.000Z
chap02/VulkanExample.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
9
2016-03-24T01:08:31.000Z
2021-05-31T10:56:49.000Z
chap02/VulkanExample.cpp
HarryLovesCode/Vulkan-API-Book
ac552b5d9cba1c4f85d9ec911ec39698b2649c79
[ "MIT" ]
6
2016-11-30T15:42:37.000Z
2021-12-16T09:04:34.000Z
#include "VulkanExample.hpp" #include "VulkanTools.hpp" VulkanExample::VulkanExample() { createInstance(); } VulkanExample::~VulkanExample() { vkDestroyInstance(instance, NULL); } void VulkanExample::createInstance() { VkApplicationInfo appInfo = {}; appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO; appInfo....
35.9375
80
0.758841
[ "vector" ]
06ead8d30520ac58fbaa84ff5969c0591ab5bb3d
10,680
cpp
C++
src/State_TrackSelection.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
54
2016-05-25T07:39:10.000Z
2022-03-06T01:11:00.000Z
src/State_TrackSelection.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
null
null
null
src/State_TrackSelection.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
18
2018-03-09T12:50:19.000Z
2022-03-22T06:11:19.000Z
// Copyright (c)2007 Nicholas Piegdon // See license.txt for license information #include "State_TrackSelection.h" #include "State_Title.h" #include "State_Playing.h" #include "MenuLayout.h" #include "Renderer.h" #include "Textures.h" #include "libmidi/Midi.h" #include "libmidi/MidiUtil.h" #include "l...
34.675325
140
0.638483
[ "vector" ]
06eada86262a1794adecb026e91038efe4dfc786
78
cpp
C++
UL/CppApp/System/ValueType.cpp
xiongfang/UL
a2c7af50da0e30a34e4656b395557896781b66b1
[ "MIT" ]
23
2018-07-17T16:30:15.000Z
2022-01-03T14:02:45.000Z
UL/CppApp/System/ValueType.cpp
Halfholl/UL
76bc687a1b12ee9b69977d7e20ad007d772b2869
[ "MIT" ]
null
null
null
UL/CppApp/System/ValueType.cpp
Halfholl/UL
76bc687a1b12ee9b69977d7e20ad007d772b2869
[ "MIT" ]
9
2019-02-06T13:24:35.000Z
2022-01-03T14:02:45.000Z
#include "stdafx.h" #include "System\ValueType.h" #include "System\Object.h"
19.5
29
0.730769
[ "object" ]
06f2bd533f4d91b558f20efc0f909aad1778da3b
10,168
cpp
C++
src/ukf.cpp
saumyatrivedi14/Unscented_Kalman_Filter
5d89d0e37acf1df493fb742aaf00f11dcc98ca28
[ "MIT" ]
null
null
null
src/ukf.cpp
saumyatrivedi14/Unscented_Kalman_Filter
5d89d0e37acf1df493fb742aaf00f11dcc98ca28
[ "MIT" ]
null
null
null
src/ukf.cpp
saumyatrivedi14/Unscented_Kalman_Filter
5d89d0e37acf1df493fb742aaf00f11dcc98ca28
[ "MIT" ]
null
null
null
#include "ukf.h" #include "tools.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_lase...
26.138817
95
0.612707
[ "vector", "transform" ]
660226a92fbe33697e77019e42677185b35ed333
2,065
cpp
C++
Graph/10801 - Lift Hopping/10801 - Lift Hopping.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
2
2019-03-27T18:49:28.000Z
2019-09-06T19:05:26.000Z
Graph/10801 - Lift Hopping/10801 - Lift Hopping.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
Graph/10801 - Lift Hopping/10801 - Lift Hopping.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define mp make_pair using namespace std; typedef pair<int, int> ii; int n, k; vector<vector<int> >grafo(100), grafoE(100); int seconds[7]; bool visitados[105][10]; int dijkstra(int o, int d) { memset(visitados, false, sizeof visitados); priority_queue< pair<int, ii>, vector< pair<int...
20.858586
90
0.515738
[ "vector" ]
66068c83ee8e6dbab6a0ddb21a378a8054e7bb19
1,358
cpp
C++
C++/problems/0008_array_nesting.cpp
raulhsant/algorithms
1578a0dc0a34d63c74c28dd87b0873e0b725a0bd
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/problems/0008_array_nesting.cpp
raulhsant/algorithms
1578a0dc0a34d63c74c28dd87b0873e0b725a0bd
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/problems/0008_array_nesting.cpp
raulhsant/algorithms
1578a0dc0a34d63c74c28dd87b0873e0b725a0bd
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
// Problem Statement // // A zero-indexed array A of length N contains all integers from 0 to N-1. // Find and return the longest length of set S, // where S[i] = {A[i], A[A[i]], A[A[A[i]]], ... } subjected to the rule below. // // Suppose the first element in S starts with the selection of element A[i] // of index = i...
24.25
80
0.539028
[ "vector" ]
661b0d23f14b6e5f119ccb57c972cbf73d867698
16,923
cpp
C++
src/apps/sequencer/asteroids/Asteroids.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
181
2018-10-12T07:21:08.000Z
2022-03-21T06:02:15.000Z
src/apps/sequencer/asteroids/Asteroids.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
340
2019-03-06T07:24:40.000Z
2022-03-21T03:31:31.000Z
src/apps/sequencer/asteroids/Asteroids.cpp
ukyzky/performer
451bc853cb0f06a8d8f32f37851dd7c5f2a2f4d0
[ "MIT" ]
60
2018-10-12T18:43:04.000Z
2022-03-31T18:03:17.000Z
#include "Asteroids.h" #include "core/Debug.h" #include "core/math/Mat3.h" #include "core/utils/Random.h" #include "core/utils/StringBuilder.h" #include <array> #include <cmath> namespace asteroids { static const float Pi = 3.1415926536f; static const float TwoPi = 2.f * Pi; static const int ScreenWidth = 256; st...
28.394295
161
0.565562
[ "shape", "transform" ]
661b66203429aeb8aa5664ffe239657f9dfed408
17,274
hpp
C++
daddy/core/dd_escaper.hpp
BonexGoo/daddy
a9d67aadd2aa7cf361fce55fb77957b43c051e35
[ "MIT" ]
4
2020-02-29T13:37:29.000Z
2021-02-07T01:56:41.000Z
daddy/core/dd_escaper.hpp
BonexGoo/daddy
a9d67aadd2aa7cf361fce55fb77957b43c051e35
[ "MIT" ]
2
2020-06-02T15:05:25.000Z
2020-06-02T15:07:18.000Z
daddy/core/dd_escaper.hpp
BonexGoo/daddy
a9d67aadd2aa7cf361fce55fb77957b43c051e35
[ "MIT" ]
2
2021-02-07T01:56:44.000Z
2021-06-10T07:06:15.000Z
/// @brief Definition of escaper class. /// @license MIT License /// @author BonexGoo #pragma once // Dependencies #include "dd_global.hpp" //////////////////////////////////////////////////////////////////////////////////////////////////// // ▶ DD_escaper() // // 사용예시-1) DD_escaper(ClassA, ParentA): // 사용예...
39.259091
115
0.533461
[ "model" ]
661e9899a8b5aca8ccc97fed9b4f4e73f13f8e8a
3,917
cpp
C++
oi/cogs/P1873/happiness.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/cogs/P1873/happiness.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/cogs/P1873/happiness.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <cstring> #include <climits> #include <cmath> #include <queue> #include <vector> #include <algorithm> using namespace std; #define EPSILON 0.0000001 template <typename T> inline bool almost_equal(const T &a, const T &b) { return fabs(a - b) < EPSILON; } #define NMAX 100 struct Edge {...
18.831731
64
0.48047
[ "vector" ]
66213f88be9345add00d8e3aed9b447aba1e1643
2,593
cpp
C++
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-ryan-f1
d11ef12dda2bf441ad4fde38e7da5a0957a81bd6
[ "MIT" ]
null
null
null
//cpp #include "tic_tac_toe.h" #include<iostream> #include<iomanip> #include<cmath> #include<memory> using std::cout; using std::cin; //friend functions std::istream& operator>>(std::istream& in, TicTacToe& game) { int position; cout<<"It is "<<game.get_player()<<"'s turn, choose a board space.\n"; in>>posit...
18.132867
94
0.543
[ "vector" ]
662670324584069ee26e458ea07904108f8065cc
7,540
cpp
C++
trunk/src/srt/srt_conn.cpp
huafeis/srs
f469753b07fe5155a3e1aef0c77c13100e98e905
[ "MIT" ]
21
2022-01-10T08:41:36.000Z
2022-03-25T02:52:56.000Z
trunk/src/srt/srt_conn.cpp
huafeis/srs
f469753b07fe5155a3e1aef0c77c13100e98e905
[ "MIT" ]
44
2022-01-05T03:40:46.000Z
2022-03-30T03:58:11.000Z
trunk/src/srt/srt_conn.cpp
huafeis/srs
f469753b07fe5155a3e1aef0c77c13100e98e905
[ "MIT" ]
17
2022-01-05T02:58:25.000Z
2022-03-30T09:23:36.000Z
// // Copyright (c) 2013-2021 The SRS Authors // // SPDX-License-Identifier: MIT or MulanPSL-2.0 // #include "srt_conn.hpp" #include "time_help.hpp" #include "stringex.hpp" #include "srt_log.hpp" #include <vector> #include <srs_protocol_utility.hpp> #include <srs_kernel_utility.hpp> #include <srs_app_config.hpp> boo...
28.669202
119
0.566446
[ "object", "vector", "transform" ]
6638fbeeff3ded7fef6d633b64e1843b63cec7fb
4,325
cpp
C++
Engine 3D/ComponentCamera.cpp
MAtaur00/DiamondEngine
be2fe32d6172611c19f7285565e3b7e07c5c1f08
[ "MIT" ]
null
null
null
Engine 3D/ComponentCamera.cpp
MAtaur00/DiamondEngine
be2fe32d6172611c19f7285565e3b7e07c5c1f08
[ "MIT" ]
null
null
null
Engine 3D/ComponentCamera.cpp
MAtaur00/DiamondEngine
be2fe32d6172611c19f7285565e3b7e07c5c1f08
[ "MIT" ]
null
null
null
#include "ComponentCamera.h" #include "Application.h" ComponentCamera::ComponentCamera(GameObject* parent) : Component(parent, CompCamera) { parent->components.push_back(this); frustum.type = PerspectiveFrustum; frustum.pos = float3::zero; frustum.front = float3::unitZ; frustum.up = float3::unitY; frustum.ne...
31.801471
124
0.634451
[ "transform" ]