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
22b8847d720beec7f1b98cac6fad07036c5dcb53
5,228
cpp
C++
arbitrator/test/test_beam_search_strategy.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
112
2020-04-27T17:06:46.000Z
2022-03-31T15:27:14.000Z
arbitrator/test/test_beam_search_strategy.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
982
2020-04-17T11:28:04.000Z
2022-03-31T21:12:19.000Z
arbitrator/test/test_beam_search_strategy.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
57
2020-05-07T15:48:11.000Z
2022-03-09T23:31:45.000Z
/* * Copyright (C) 2019-2021 LEIDOS. * * 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...
35.564626
98
0.531561
[ "vector" ]
22bae5c9f25bca17bc8c73321f5341216db7b1f2
2,397
cpp
C++
36_find_four_sum.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-02-07T19:50:36.000Z
2021-02-07T19:50:36.000Z
36_find_four_sum.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
null
null
null
36_find_four_sum.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-05-06T15:30:47.000Z
2021-05-06T15:30:47.000Z
// https://practice.geeksforgeeks.org/problems/maximum-sum-increasing-subsequence/0/ #include <iostream> #include <bits/stdc++.h> using namespace std; void print_vector(std::vector<int> v) { for (int i = 0; i < v.size(); ++i) { cout << v[i] << " "; } cout << endl; } int main() { #ifndef ONLINE_JUDGE freopen(...
18.022556
123
0.420943
[ "vector" ]
22c00154676f1ab58afe66dd6f0d09f74ac128bf
32,988
cpp
C++
plugins/core/qCompass/src/ccTrace.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qCompass/src/ccTrace.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qCompass/src/ccTrace.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE PLUGIN: ccCompass # //# # //# This pr...
31.688761
182
0.674488
[ "object", "vector", "transform" ]
22c0ec6949acfd0ef322f0198f123ecd93780882
2,448
cc
C++
linux/quick_usb_plugin.cc
ziakhan110/quick_usb
93a8505f278a351f36971b0ec248600a755aeaef
[ "BSD-3-Clause" ]
28
2021-02-17T04:11:10.000Z
2022-03-24T08:40:30.000Z
linux/quick_usb_plugin.cc
ziakhan110/quick_usb
93a8505f278a351f36971b0ec248600a755aeaef
[ "BSD-3-Clause" ]
34
2021-02-21T21:15:16.000Z
2022-03-24T11:23:22.000Z
linux/quick_usb_plugin.cc
ziakhan110/quick_usb
93a8505f278a351f36971b0ec248600a755aeaef
[ "BSD-3-Clause" ]
22
2021-04-07T06:22:37.000Z
2022-03-08T02:48:05.000Z
#include "include/quick_usb/quick_usb_plugin.h" #include <flutter_linux/flutter_linux.h> #include <gtk/gtk.h> #include <sys/utsname.h> #include <cstring> #define QUICK_USB_PLUGIN(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), quick_usb_plugin_get_type(), \ QuickUsbPlugin)) struct _QuickUs...
34.478873
80
0.729984
[ "object" ]
42f09b1259a63629a2cae5bf9416027c06106090
1,187
cc
C++
vos/gui/sub/gui/file/ImageToReloadGlue.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
16
2020-10-21T05:56:26.000Z
2022-03-31T10:02:01.000Z
vos/gui/sub/gui/file/ImageToReloadGlue.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
null
null
null
vos/gui/sub/gui/file/ImageToReloadGlue.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
2
2021-03-09T01:51:08.000Z
2021-03-23T00:23:24.000Z
//////////////////////////////////////////////////////////////////////// // ImageToReloadGlue: class that serves as a "glue" class between an // ImageData object and a ReloadFileCmd object. // // This class, though a UIComponent, creates no widget, and therefore // should never be managed. ///////////////////////////...
31.236842
75
0.556024
[ "object", "model" ]
42f7d97c90aec7f01e698d6b9da09f0a51e34c20
2,660
cpp
C++
tests/regression_tests/dagmc/external/main.cpp
shimwell/openmc-1
edf913b80f5c80ee041bb0f950bf2239f0129df2
[ "MIT" ]
null
null
null
tests/regression_tests/dagmc/external/main.cpp
shimwell/openmc-1
edf913b80f5c80ee041bb0f950bf2239f0129df2
[ "MIT" ]
null
null
null
tests/regression_tests/dagmc/external/main.cpp
shimwell/openmc-1
edf913b80f5c80ee041bb0f950bf2239f0129df2
[ "MIT" ]
null
null
null
#include "openmc/capi.h" #include "openmc/cross_sections.h" #include "openmc/dagmc.h" #include "openmc/error.h" #include "openmc/geometry.h" #include "openmc/geometry_aux.h" #include "openmc/material.h" #include "openmc/nuclide.h" #include <iostream> int main(int argc, char* argv[]) { using namespace openmc; int o...
28
74
0.697368
[ "geometry", "model" ]
42fd4a3d9c008e4aabc6058b1e9d19b9120068c1
975
cpp
C++
targets/TARGET_RDA/TARGET_UNO_91H/device/TOOLCHAIN_ARM_STD/sys.cpp
spiio/mbed-os
fde315a0ac8b87ba5986bc92b566980e6536cf37
[ "Apache-2.0" ]
8
2017-01-20T13:14:49.000Z
2020-10-22T01:12:40.000Z
targets/TARGET_RDA/TARGET_UNO_91H/device/TOOLCHAIN_ARM_STD/sys.cpp
engali94/mbed-os
d030c04a6039c832bfe1610efb8162e0807678d1
[ "Apache-2.0" ]
2
2018-07-11T13:42:22.000Z
2018-12-27T15:03:50.000Z
targets/TARGET_RDA/TARGET_UNO_91H/device/TOOLCHAIN_ARM_STD/sys.cpp
engali94/mbed-os
d030c04a6039c832bfe1610efb8162e0807678d1
[ "Apache-2.0" ]
5
2018-03-09T15:48:38.000Z
2020-10-22T01:12:44.000Z
/* mbed Microcontroller Library - stackheap * Copyright (C) 2009-2018 ARM Limited. All rights reserved. * * Setup a fixed single stack/heap memory model, * between the top of the RW/ZI region and the stackpointer */ #ifdef __cplusplus extern "C" { #endif #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 60100...
26.351351
128
0.724103
[ "model" ]
42fdc26bf393a43aecc43e5beb5fedd96ca96900
1,352
cpp
C++
Engine/ResourceManagement/Manager/MeshManager.cpp
mariofv/LittleEngine
38ecfdf6041a24f304c679ee3b6b589ba2040e48
[ "MIT" ]
9
2020-04-05T07:44:38.000Z
2022-01-12T02:07:14.000Z
Engine/ResourceManagement/Manager/MeshManager.cpp
mariofv/LittleEngine
38ecfdf6041a24f304c679ee3b6b589ba2040e48
[ "MIT" ]
105
2020-03-13T19:12:23.000Z
2020-12-02T23:41:15.000Z
Engine/ResourceManagement/Manager/MeshManager.cpp
mariofv/LittleEngine
38ecfdf6041a24f304c679ee3b6b589ba2040e48
[ "MIT" ]
1
2021-04-24T16:11:49.000Z
2021-04-24T16:11:49.000Z
#include "MeshManager.h" #include "Helper/Timer.h" #include "Main/Application.h" #include "Module/ModuleFileSystem.h" #include "Module/ModuleResourceManager.h" #include "ResourceManagement/Metafile/Metafile.h" #include "ResourceManagement/Resources/Mesh.h" #include <Brofiler/Brofiler.h> #include <vector> Timer MeshM...
26.509804
111
0.725592
[ "mesh", "vector" ]
6e09ece812682d4d2aac8f2d6258291f8b551f9d
3,687
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
// System.Web.Services.Description.HttpBinding.HttpBinding() // System.Web.Services.Description.HttpBinding.Namespace // System.Web.Services.Description.HttpAddressBinding.HttpAddressBinding() /* The following program demonstrates the constructor, field 'Namespace' of class 'HttpBinding' and constructor of cla...
39.223404
239
0.73393
[ "object" ]
6e0ce9b5b3715da901f3cb55211d755aa92d18fc
4,728
cpp
C++
third_party/librealsense/examples/cpp-headless.cpp
BeibeiShu/hand_tracking
3ac817dbed558a56fb3088cd384376aeea45cfb7
[ "Apache-2.0" ]
207
2017-08-02T02:13:00.000Z
2022-02-22T09:18:10.000Z
disposing/librealsense/examples/cpp-headless.cpp
i-am-neet/wrs2020
3b388eac6832f2559c59fa0c1f7732589c5eff0c
[ "MIT" ]
14
2017-08-07T22:31:13.000Z
2021-07-09T10:29:36.000Z
disposing/librealsense/examples/cpp-headless.cpp
i-am-neet/wrs2020
3b388eac6832f2559c59fa0c1f7732589c5eff0c
[ "MIT" ]
82
2017-08-02T01:23:13.000Z
2022-02-10T02:45:51.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. /////////////////// // cpp-headless // /////////////////// // This sample captures 30 frames and writes the last frame to disk. // It can be useful for debugging an embedded system with no display...
34.26087
155
0.630076
[ "vector", "transform" ]
6e10df1bc45bd15d77075a9b26968eb326fd0ddf
3,036
cpp
C++
src/slg/textures/texturedefs.cpp
julescmay/LuxCore
3a6233f37afaf064300f52854715c0ab9ca2103e
[ "Apache-2.0" ]
826
2017-12-12T15:38:16.000Z
2022-03-28T07:12:40.000Z
src/slg/textures/texturedefs.cpp
julescmay/LuxCore
3a6233f37afaf064300f52854715c0ab9ca2103e
[ "Apache-2.0" ]
531
2017-12-03T17:21:06.000Z
2022-03-20T19:22:11.000Z
src/slg/textures/texturedefs.cpp
julescmay/LuxCore
3a6233f37afaf064300f52854715c0ab9ca2103e
[ "Apache-2.0" ]
133
2017-12-13T18:46:10.000Z
2022-03-27T16:21:00.000Z
/*************************************************************************** * Copyright 1998-2020 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
39.947368
82
0.542161
[ "vector" ]
6e1412b4cbe6d60b73390e8f8f3f986548086b3e
2,163
cpp
C++
src/tablebuttons/tablebuttongroup.cpp
mugiseyebrows/mugi-grep
9cb924e5cbfe7a085741b579d9cbd0de45d8decc
[ "MIT" ]
5
2019-02-15T17:53:32.000Z
2022-03-26T06:44:23.000Z
src/tablebuttons/tablebuttongroup.cpp
mugiseyebrows/mugi-grep
9cb924e5cbfe7a085741b579d9cbd0de45d8decc
[ "MIT" ]
16
2018-12-18T09:13:57.000Z
2021-06-13T16:45:06.000Z
src/tablebuttons/tablebuttongroup.cpp
mugiseyebrows/mugi-grep
9cb924e5cbfe7a085741b579d9cbd0de45d8decc
[ "MIT" ]
1
2022-03-26T06:44:32.000Z
2022-03-26T06:44:32.000Z
#include "tablebuttongroup.h" namespace { QList<TableButtonImpl*> filterOrientation(const QList<TableButtonImpl*>& buttons, Qt::Orientation orientation) { QList<TableButtonImpl*> res; foreach(TableButtonImpl* button, buttons) { if (button->orientation() == orientation) { res.append(button...
27.379747
112
0.667591
[ "vector", "transform" ]
6e1bb78d6a906728accef47e0247b90a330eb631
2,374
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_UNIFORM_SLICE.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_UNIFORM_SLICE.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_UNIFORM_SLICE.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2004, Eran Guendelman. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### // C...
55.209302
143
0.545072
[ "vector" ]
6e1e0cd6c7f1c8d6e400294f89e29830831b14d9
1,075
cpp
C++
test/_5GS/ie/Maximum_data_rate_per_UE_for_user_plane.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
3
2019-12-06T14:17:41.000Z
2020-09-30T17:26:17.000Z
test/_5GS/ie/Maximum_data_rate_per_UE_for_user_plane.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
null
null
null
test/_5GS/ie/Maximum_data_rate_per_UE_for_user_plane.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
4
2019-12-06T14:22:37.000Z
2021-03-20T01:44:55.000Z
#include <_5GS/ie/Maximum_data_rate_per_UE_for_user_plane.h> using namespace _5GS::IE; #include <test_template.h> int main() { code_V<Maximum_data_rate_per_UE_for_user_plane, Maximum_data_rate_per_UE_for_user_plane::Value>( Maximum_data_rate_per_UE_for_user_plane::Value::_64_kbps, std::vector<uin...
34.677419
102
0.756279
[ "vector" ]
6e1fb9943c5fd9c2342a03123f2998742b6e1b3d
9,951
cpp
C++
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGAnimateTransformElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
46
2015-01-08T14:32:34.000Z
2022-02-05T16:48:26.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGAnimateTransformElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
7
2015-01-20T14:28:12.000Z
2017-01-18T17:21:44.000Z
src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGAnimateTransformElement.cpp
ant0ine/phantomjs
8114d44a28134b765ab26b7e13ce31594fa81253
[ "BSD-3-Clause" ]
14
2015-10-27T06:17:48.000Z
2020-03-03T06:15:50.000Z
/* * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> * Copyright (C) 2007 Eric Seidel <eric@webkit.org> * Copyright (C) 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify i...
41.290456
154
0.727766
[ "transform" ]
6e2c6da909bf24bbd3dbe503e01c8bd78dfca3c9
1,202
cpp
C++
MathNumberTheory/Eratosthenes_segment.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
197
2018-08-19T06:49:14.000Z
2022-03-26T04:11:48.000Z
MathNumberTheory/Eratosthenes_segment.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
null
null
null
MathNumberTheory/Eratosthenes_segment.cpp
landcelita/algorithm
544736df6b3cbe20ec58d44d81fe9372b8acd93e
[ "CC0-1.0" ]
15
2018-09-14T09:15:12.000Z
2021-11-16T12:43:43.000Z
// // エラトステネスの区間篩 // // cf. // 高校数学の美しい物語: エラトスネテスの篩 // https://mathtrain.jp/eratosthenes // // verified // AOJ 2858 Prime-Factor Prime // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2858 // #include <bits/stdc++.h> using namespace std; const int MAX = 110000; long long solve(long long L, lo...
24.04
68
0.514143
[ "vector" ]
6e30b0698494ded5f50ab064459ae34f3f05a5db
5,973
cpp
C++
filters.cpp
waps12b/Implementation-of-fast-median-filter
ad832154a1b88c72588a6937a4a8317b303bc859
[ "MIT" ]
1
2018-07-20T21:04:18.000Z
2018-07-20T21:04:18.000Z
filters.cpp
waps12b/Implementation-of-fast-median-filter
ad832154a1b88c72588a6937a4a8317b303bc859
[ "MIT" ]
null
null
null
filters.cpp
waps12b/Implementation-of-fast-median-filter
ad832154a1b88c72588a6937a4a8317b303bc859
[ "MIT" ]
1
2019-11-16T13:37:13.000Z
2019-11-16T13:37:13.000Z
#include "filters.h" #include<memory.h> #include <algorithm> #include<vector> using namespace std; void Image::addGaussianNoise() { int dc = (rand() % 7) - 3; int i = rand() % height; int j = rand() % width; int org = bitmap[i][j]; bitmap[i][j] = min(255,max(0, org + dc)); } void Image::addSaltAndPepperNoise() ...
25.202532
68
0.546459
[ "vector" ]
6e3fa8c4aef74a0bdd10875f615aa604809343e4
95,101
cpp
C++
plugin/hdCycles/renderParam.cpp
bareya/hdcycles
9ac7be3f53a0a180b4c05460b0ff039e6dc1fb92
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
plugin/hdCycles/renderParam.cpp
bareya/hdcycles
9ac7be3f53a0a180b4c05460b0ff039e6dc1fb92
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
plugin/hdCycles/renderParam.cpp
bareya/hdcycles
9ac7be3f53a0a180b4c05460b0ff039e6dc1fb92
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Tangent Animation // // 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...
36.661912
148
0.647038
[ "mesh", "geometry", "render", "object", "vector" ]
6e40bd0ba9e26e31111ed693a9a807353ec39a0c
650
cpp
C++
src/bin/main.cpp
BenjaminIsaac0111/neworder
354849b37f1594c252cfa0c79aa33f5af5bb05f7
[ "MIT" ]
2
2019-10-21T14:36:55.000Z
2020-02-17T09:44:29.000Z
src/bin/main.cpp
BenjaminIsaac0111/neworder
354849b37f1594c252cfa0c79aa33f5af5bb05f7
[ "MIT" ]
null
null
null
src/bin/main.cpp
BenjaminIsaac0111/neworder
354849b37f1594c252cfa0c79aa33f5af5bb05f7
[ "MIT" ]
null
null
null
#include "run.h" #include <iostream> int main(int argc, const char* argv[]) { // Directory containing model (config.py, etc) is specified on the command line // It's added to PYTHONPATH if (argc < 2) { std::cerr << "usage: neworder <model-path> [<extra_path>...]\n" << "where <model-path> is...
28.26087
134
0.64
[ "model" ]
6e4148f1a718f133246fb1ee87eb4450f7de655e
4,202
cpp
C++
Trash/sandbox/qt_webkit/qt-qtwebkit-examples/examples/webkitwidgets/browser/.moc/moc_browserapplication.cpp
ruslankuzmin/julia
2ad5bfb9c9684b1c800e96732a9e2f1e844b856f
[ "BSD-3-Clause" ]
null
null
null
Trash/sandbox/qt_webkit/qt-qtwebkit-examples/examples/webkitwidgets/browser/.moc/moc_browserapplication.cpp
ruslankuzmin/julia
2ad5bfb9c9684b1c800e96732a9e2f1e844b856f
[ "BSD-3-Clause" ]
null
null
null
Trash/sandbox/qt_webkit/qt-qtwebkit-examples/examples/webkitwidgets/browser/.moc/moc_browserapplication.cpp
ruslankuzmin/julia
2ad5bfb9c9684b1c800e96732a9e2f1e844b856f
[ "BSD-3-Clause" ]
1
2020-08-30T20:40:25.000Z
2020-08-30T20:40:25.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'browserapplication.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1) ** ** WARNING! All changes made in this file will be lost! **************************************************...
32.323077
98
0.627558
[ "object" ]
6e418f057ef08aee748aa362a999220a234d4cfd
4,380
cpp
C++
src/wardialer.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
4
2020-09-26T12:35:28.000Z
2021-06-13T12:22:03.000Z
src/wardialer.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
null
null
null
src/wardialer.cpp
hackner-security/swd
52376221afbe1968cf269ab5d08d18ffad41fba1
[ "MIT" ]
1
2020-10-27T12:11:46.000Z
2020-10-27T12:11:46.000Z
// Copyright 2020 Barger M., Knoll M., Kofler L. #include "wardialer.hpp" Argparser* args = Argparser::GetArgparser(); int thread_counter = 0; int call_counter = 0; std::atomic<int> id_ctr = 0; DBClient db = DBClient("wardialing.db"); std::vector<std::thread> calls; std::atomic<bool> stop_swd = false; struct call_dat...
31.73913
118
0.656621
[ "vector" ]
6e4263308179f2a85ec871715fb28253a48501cb
1,109
cpp
C++
Codeforces/Round #702 (div3)/D.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
Codeforces/Round #702 (div3)/D.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
null
null
null
Codeforces/Round #702 (div3)/D.cpp
biyotte/Code_of_gunwookim
b8b679ea56b8684ec44a7911211edee1fb558a96
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
21.745098
50
0.60505
[ "vector" ]
6e43132721ae7014995b19073ad67d21238c5574
6,243
hpp
C++
QuantExt/qle/models/linkablecalibratedmodel.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/qle/models/linkablecalibratedmodel.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/qle/models/linkablecalibratedmodel.hpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
36.940828
118
0.621977
[ "vector", "model" ]
6e492d799a971566bb8637234b67f841138ff2f5
34,970
cpp
C++
source/emulator/src/Network.cpp
InoriRus/Kyty
1aa7cf72ce598ee4ca31edc63f5b9708d629c69d
[ "MIT" ]
76
2021-11-13T13:07:59.000Z
2022-03-22T11:35:29.000Z
source/emulator/src/Network.cpp
InoriRus/Kyty
1aa7cf72ce598ee4ca31edc63f5b9708d629c69d
[ "MIT" ]
7
2021-12-01T18:45:13.000Z
2022-03-26T18:34:33.000Z
source/emulator/src/Network.cpp
InoriRus/Kyty
1aa7cf72ce598ee4ca31edc63f5b9708d629c69d
[ "MIT" ]
9
2021-11-24T08:38:13.000Z
2022-03-24T13:25:04.000Z
#include "Emulator/Network.h" #include "Kyty/Core/ByteBuffer.h" #include "Kyty/Core/Common.h" #include "Kyty/Core/DbgAssert.h" #include "Kyty/Core/String.h" #include "Kyty/Core/Threads.h" #include "Kyty/Core/Vector.h" #include "Emulator/Kernel/Pthread.h" #include "Emulator/Libs/Errno.h" #include "Emulator/Libs/Libs.h...
19.309774
136
0.671232
[ "vector" ]
6e4a8fc382bc0844fe5d9f578e205857cef00a1b
2,417
cpp
C++
src/model/World.cpp
joelseverin/Johannebergsrallyt
40932fe1b8bca88274d909bc2d5ee78d19560d10
[ "MIT" ]
null
null
null
src/model/World.cpp
joelseverin/Johannebergsrallyt
40932fe1b8bca88274d909bc2d5ee78d19560d10
[ "MIT" ]
null
null
null
src/model/World.cpp
joelseverin/Johannebergsrallyt
40932fe1b8bca88274d909bc2d5ee78d19560d10
[ "MIT" ]
null
null
null
#include "model/World.h" #include "model/PhysicsWorld.h" #include <fstream> #include <iostream> #include <sstream> namespace Rally { namespace Model { World::World() : physicsWorld(), playerCar(physicsWorld), finish(physicsWorld), start(physicsWorld), tunnelTeleport(ph...
25.712766
100
0.625569
[ "model" ]
6e4d4c4ad18de46d3ac199d2ffef1102f8144cd5
5,459
cpp
C++
infer_server/src/util/thread_pool.cpp
YJessicaGao/easydk
e62eecde91886c2679def95edafb48f97650edfa
[ "Apache-2.0" ]
null
null
null
infer_server/src/util/thread_pool.cpp
YJessicaGao/easydk
e62eecde91886c2679def95edafb48f97650edfa
[ "Apache-2.0" ]
null
null
null
infer_server/src/util/thread_pool.cpp
YJessicaGao/easydk
e62eecde91886c2679def95edafb48f97650edfa
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) 2020 by Cambricon, Inc. All rights reserved * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * A part of this source code is referenced f...
34.770701
118
0.606521
[ "vector" ]
6e4d65f51d0a3668d4ba90ccf9c61759bb3ee438
12,777
hpp
C++
src/task_list/task_list.hpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
2
2020-07-02T09:48:49.000Z
2020-08-25T02:37:21.000Z
src/task_list/task_list.hpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
null
null
null
src/task_list/task_list.hpp
PinghuiHuang/athena-pp-dustfluids
fce21992cc107aa553e83dd76b8d03ae90e990c7
[ "BSD-3-Clause" ]
1
2021-11-12T13:39:48.000Z
2021-11-12T13:39:48.000Z
#ifndef TASK_LIST_TASK_LIST_HPP_ #define TASK_LIST_TASK_LIST_HPP_ //======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD Licen...
35.890449
90
0.70666
[ "mesh", "vector" ]
6e4f08791bc3f21a6409987828a98891e34c9d41
8,237
cpp
C++
AADC/src/aadcUser/AltarDriverModule/DriverModuleWidget.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
5
2018-11-13T01:40:20.000Z
2019-10-22T12:25:38.000Z
AADC/src/aadcUser/AltarDriverModule/DriverModuleWidget.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
null
null
null
AADC/src/aadcUser/AltarDriverModule/DriverModuleWidget.cpp
AimiHat/AADC-2018---Team-Altar
857fb79d52a5a428f6fbd96ca11fe6a758cdc780
[ "MIT" ]
1
2019-12-28T02:19:44.000Z
2019-12-28T02:19:44.000Z
/********************************************************************* Copyright (c) 2018 Audi Autonomous Driving Cup. 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 m...
38.490654
726
0.729513
[ "vector" ]
6e544b69d238696b34abecd660e9eaf21a80b172
22,329
cpp
C++
frameworks/net/extensions/native/dmzNetExtPacketCodecEventNative.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
1
2016-05-08T22:02:35.000Z
2016-05-08T22:02:35.000Z
frameworks/net/extensions/native/dmzNetExtPacketCodecEventNative.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
frameworks/net/extensions/native/dmzNetExtPacketCodecEventNative.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
#include <dmzEventConsts.h> #include "dmzNetExtPacketCodecEventNative.h" #include <dmzObjectModule.h> #include <dmzRuntimeConfig.h> #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimeDefinitions.h> #include <dmzRuntimeEventType.h> #include <dmzRuntimeObjectType.h> #include <dmzRuntimePluginFactoryLinkSymbol.h...
22.925051
175
0.645036
[ "object", "vector" ]
6e560ff2701dd7909566e6cde99bd1d0206d613a
95,342
cpp
C++
apps/mysql-5.1.65/storage/ndb/src/mgmsrv/ConfigInfo.cpp
vusec/firestarter
2048c1f731b8f3c5570a920757f9d7730d5f716a
[ "Apache-2.0" ]
3
2021-04-29T07:59:16.000Z
2021-12-10T02:23:05.000Z
apps/mysql-5.1.65/storage/ndb/src/mgmsrv/ConfigInfo.cpp
vusec/firestarter
2048c1f731b8f3c5570a920757f9d7730d5f716a
[ "Apache-2.0" ]
null
null
null
apps/mysql-5.1.65/storage/ndb/src/mgmsrv/ConfigInfo.cpp
vusec/firestarter
2048c1f731b8f3c5570a920757f9d7730d5f716a
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2003 MySQL AB 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
24.912987
121
0.614997
[ "object", "vector", "transform" ]
6e5616fcdbb18da4358e347973968657e527bbe1
8,064
cpp
C++
cachelib/allocator/tests/MemoryTiersTest.cpp
victoria-mcgrath/CacheLib
e206608e818012a150470fc85a626de282dc1b03
[ "Apache-2.0" ]
null
null
null
cachelib/allocator/tests/MemoryTiersTest.cpp
victoria-mcgrath/CacheLib
e206608e818012a150470fc85a626de282dc1b03
[ "Apache-2.0" ]
null
null
null
cachelib/allocator/tests/MemoryTiersTest.cpp
victoria-mcgrath/CacheLib
e206608e818012a150470fc85a626de282dc1b03
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
42.893617
116
0.660094
[ "vector" ]
6e5c8056d7d87e30cbfd656626fae84d5d3582e2
2,284
cpp
C++
Enforcer.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
1
2020-10-01T13:56:35.000Z
2020-10-01T13:56:35.000Z
Enforcer.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
null
null
null
Enforcer.cpp
cps-sei/cps-synth-resolultion
3834bcd566d5fc4ce3f2c107d5ee3b7d06caf31f
[ "MIT" ]
1
2021-06-03T00:09:30.000Z
2021-06-03T00:09:30.000Z
/* * Synthesis-based resolution of features/enforcers interactions in CPS * Copyright 2020 Carnegie Mellon University. * NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING * INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON * UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER ...
35.6875
88
0.774081
[ "vector" ]
6e6314565726b7e22a795185a60b8afb89df5228
21,393
cpp
C++
Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) Copyright (C) 2007 Staikos Computing Services Inc. <info@staikos.net> Copyright (C) 2008 Holger Hans Peter Freyther This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General...
32.073463
164
0.6827
[ "object", "vector" ]
6e6819333cd492d528a216d8ace8b2ef2029e1fc
1,476
cpp
C++
2017/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2017/day19/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <stdlib.h> #include <vector> #define UP 0 #define RIGHT 1 #define DOWN 2 #define LEFT 3 static const int vert[] = {-1, 0, 1, 0}; static const int oriz[] = {0, 1, 0, -1}; void changeDirection(const std::vector<std::string>& maze, int i, int j, int& dir) { for (int k...
21.705882
82
0.466125
[ "vector" ]
6e70ac0af0f6e37b2772405ba1c0a599dc5fe2c7
161
inl
C++
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalGraphicsCommandBuffer.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
33
2020-01-09T04:57:29.000Z
2021-08-14T08:02:43.000Z
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalGraphicsCommandBuffer.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
234
2019-10-25T06:04:35.000Z
2021-08-18T05:47:41.000Z
clove/components/core/graphics/include/Clove/Graphics/Metal/MetalGraphicsCommandBuffer.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
4
2020-02-11T15:28:42.000Z
2020-09-07T16:22:58.000Z
namespace clove { std::vector<MetalGraphicsCommandBuffer::RenderPass> const &MetalGraphicsCommandBuffer::getEncodedRenderPasses() const { return passes; } }
26.833333
120
0.801242
[ "vector" ]
6e70e9c2c16c51bc42a0a29a0874c3b455edf518
347
hpp
C++
llarp/util/status.hpp
da4089/llarp
e223f5d023b1794638b9e9b47a86ed03c8c25306
[ "Zlib" ]
28
2018-01-25T17:39:25.000Z
2022-03-26T15:23:12.000Z
llarp/util/status.hpp
gjyoung1974/loki-network
6559bb8f9e80095b4a7462ccb8fdf12e8ce19527
[ "Zlib" ]
1
2021-05-05T12:20:41.000Z
2021-05-05T13:21:38.000Z
llarp/util/status.hpp
gjyoung1974/loki-network
6559bb8f9e80095b4a7462ccb8fdf12e8ce19527
[ "Zlib" ]
7
2018-05-21T12:34:50.000Z
2021-05-05T11:57:50.000Z
#ifndef LLARP_UTIL_STATUS_HPP #define LLARP_UTIL_STATUS_HPP #include <util/string_view.hpp> #include <nlohmann/json.hpp> #include <vector> #include <string> #include <algorithm> #include <absl/types/variant.h> namespace llarp { namespace util { using StatusObject = nlohmann::json; } // namespace util } ...
15.772727
40
0.73487
[ "vector" ]
6e75533840c3f12974102251de121e85a357ebee
1,321
cpp
C++
test/utest.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
6
2018-12-22T15:32:29.000Z
2022-03-07T14:56:44.000Z
test/utest.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
null
null
null
test/utest.cpp
Marcos-Seafloor/udp_bridge
4acd257f7da3b6d591f4091fc0dbfadb53d038dd
[ "BSD-2-Clause" ]
8
2018-04-05T19:57:36.000Z
2022-02-07T15:49:41.000Z
#include "udp_bridge/packet.h" #include <gtest/gtest.h> #include "ros/ros.h" TEST(UDPBridge_Packet, compressionTest) { std::string test_in {"foobar foobar foobar foobar"}; std::vector<uint8_t> data_in(test_in.begin(),test_in.end()); auto compressed_data = udp_bridge::compress(data_in); udp_bridge:...
33.025
126
0.733535
[ "vector" ]
6e7aa09c2b3dfcb96b186f9423194288f6fed28b
606
cpp
C++
ch04/src/student_info.cpp
Julia-Run/Accelerated-Cpp
602b2f824fe605f3beb81f1ad4b8bde31d923bb5
[ "MIT" ]
null
null
null
ch04/src/student_info.cpp
Julia-Run/Accelerated-Cpp
602b2f824fe605f3beb81f1ad4b8bde31d923bb5
[ "MIT" ]
null
null
null
ch04/src/student_info.cpp
Julia-Run/Accelerated-Cpp
602b2f824fe605f3beb81f1ad4b8bde31d923bb5
[ "MIT" ]
null
null
null
// // Created by dora on 22/2/2022. // #include "student _info.h" using namespace std; istream &read_hw(istream &hwIn, vector<double> &hw) { if (hwIn) { hw.clear(); double x; while (hwIn >> x) { hw.push_back(x); } hwIn.clear(); } return hwIn; } istream ...
21.642857
72
0.612211
[ "vector" ]
6e7ce60e11505abea80d101aaaa0c3bb483362d5
730
hpp
C++
engine/src/VertexBufferObject.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/VertexBufferObject.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/VertexBufferObject.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
#ifndef CORE_VERTEX_BUFFER_OBJECT_HPP #define CORE_VERTEX_BUFFER_OBJECT_HPP #include "BufferObject.hpp" namespace core { template<typename T> class VertexBufferObject : public BufferObject<T, GL_ARRAY_BUFFER> { public: bool setVertexAttributePointer(GLuint index) { return setVertexAttributePointer(index, G...
20.857143
93
0.732877
[ "object" ]
6e7e6ea7acca886b864d2e5b2c48a365b5748cc9
1,968
cpp
C++
src/Maths/MatrixSolver.cpp
OliverBenz/PhysicsEngine
e2a0b3dcbb42c7513bd49628e5fae5fd7906c977
[ "MIT" ]
3
2021-06-17T18:48:24.000Z
2021-07-19T09:14:12.000Z
src/Maths/MatrixSolver.cpp
OliverBenz/PhysEn
e2a0b3dcbb42c7513bd49628e5fae5fd7906c977
[ "MIT" ]
28
2021-05-23T15:36:32.000Z
2022-02-11T14:42:20.000Z
src/Maths/MatrixSolver.cpp
OliverBenz/PhysicsEngine
e2a0b3dcbb42c7513bd49628e5fae5fd7906c977
[ "MIT" ]
null
null
null
#include "MatrixSolver.hpp" namespace PhysEn { namespace Maths { // TODO: Append to not require square matrix bool makeUpperTriangle(Matrix& matrix){ if (!matrix.getSize().isSquare()) return false; double diagonal; size_t rowCount = matrix.getSize().rows; for (size_t i = 0; i < rowCount; i++){ // Divide the...
25.558442
100
0.637703
[ "vector" ]
6e8533f81c940d840af4e7ef82d6b96693ca30aa
2,049
cpp
C++
src/process.cpp
EricHodgins/CppND-System-Monitor-Project
aacee19d2d7d13c56dd4c0fb1ae20ea74411ca22
[ "MIT" ]
null
null
null
src/process.cpp
EricHodgins/CppND-System-Monitor-Project
aacee19d2d7d13c56dd4c0fb1ae20ea74411ca22
[ "MIT" ]
null
null
null
src/process.cpp
EricHodgins/CppND-System-Monitor-Project
aacee19d2d7d13c56dd4c0fb1ae20ea74411ca22
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include "process.h" using std::string; using std::to_string; using std::vector; void Process::setPid(const int pid) { pid_ = pid; } // TODO: Return this process's ID int Process::Pid() { return pid_; } // TODO: Return...
26.960526
77
0.654954
[ "vector" ]
6e896e350cd6298fc6ba51fef30826e4cae7c02e
895
cpp
C++
class_polymorphism.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
1
2019-03-29T21:07:37.000Z
2019-03-29T21:07:37.000Z
class_polymorphism.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
class_polymorphism.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class shape{ protected: int width; int length; public: void setWidth(int newWidth){ width = newWidth; } void setLength(int newLength){ length = newLength; } virtual int getArea() = 0; }; cl...
15.982143
38
0.506145
[ "shape" ]
6e902c75d3212017e26dcb1fd9afab9fb9775ba8
3,921
cpp
C++
Sources/Overload/OvRendering/src/OvRendering/Resources/Mesh.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
755
2019-07-10T01:26:39.000Z
2022-03-31T12:43:19.000Z
Sources/Overload/OvRendering/src/OvRendering/Resources/Mesh.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
111
2020-02-28T23:30:10.000Z
2022-01-18T13:57:30.000Z
Sources/Overload/OvRendering/src/OvRendering/Resources/Mesh.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
97
2019-11-06T15:19:56.000Z
2022-03-25T08:40:04.000Z
/** * @project: Overload * @author: Overload Tech. * @licence: MIT */ #include <algorithm> #include "OvRendering/Resources/Mesh.h" OvRendering::Resources::Mesh::Mesh(const std::vector<Geometry::Vertex>& p_vertices, const std::vector<uint32_t>& p_indices, uint32_t p_materialIndex) : m_vertexCount(static_cast<uint32_...
31.368
151
0.740372
[ "mesh", "geometry", "vector" ]
6e97849453404c39d36c28a35a2868af94f52fe9
1,084
cpp
C++
main.cpp
Raphire/UTTT-langskonk
a8e404b5c522c4f96d66ca73c5fcd5dea52c0b2c
[ "MIT" ]
null
null
null
main.cpp
Raphire/UTTT-langskonk
a8e404b5c522c4f96d66ca73c5fcd5dea52c0b2c
[ "MIT" ]
null
null
null
main.cpp
Raphire/UTTT-langskonk
a8e404b5c522c4f96d66ca73c5fcd5dea52c0b2c
[ "MIT" ]
null
null
null
// main.cpp // Jeffrey Drost #include "utttbot.h" #include <vector> void test() { UTTTBot bot; std::vector<std::string> input = { "settings player_names player0,player1", "settings your_bot player1", "settings timebank 5000", "settings time_per_move 200", ...
30.111111
196
0.391144
[ "vector" ]
6e9869a84d4708e813bcbf6e33b6a14d38234d2c
414
hpp
C++
lib/src/include/deskgap/argv.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
1,910
2019-02-08T05:41:48.000Z
2022-03-24T23:41:33.000Z
lib/src/include/deskgap/argv.hpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
73
2019-02-13T02:58:20.000Z
2022-03-02T05:49:34.000Z
lib/src/include/deskgap/argv.hpp
ci010/DeskGap
b3346fea3dd3af7df9a0420131da7f4ac1518092
[ "MIT" ]
88
2019-02-13T12:41:00.000Z
2022-03-25T05:04:31.000Z
// // Created by patr0nus on 2019/11/13. // #ifndef DESKGAP_ARGV_HPP #define DESKGAP_ARGV_HPP #include <vector> #include <string> namespace DeskGap { #ifdef WIN32 std::vector<std::string> Argv(int argc, const wchar_t** argv); #else inline std::vector<std::string> Argv(int argc, const char** argv) { ...
18.818182
71
0.681159
[ "vector" ]
6e9f2802dcf6cea683286d615d97c174a5e757fb
9,514
cpp
C++
FaultyMemory/cpp/representation.cpp
VictorGeebs/FaultyMemory
c82ea3496b5dc193d8cdf6eb08f6cfa1e871c5ff
[ "Apache-2.0" ]
7
2020-06-17T16:44:36.000Z
2021-06-21T17:55:02.000Z
FaultyMemory/cpp/representation.cpp
VictorGeebs/FaultyMemory
c82ea3496b5dc193d8cdf6eb08f6cfa1e871c5ff
[ "Apache-2.0" ]
null
null
null
FaultyMemory/cpp/representation.cpp
VictorGeebs/FaultyMemory
c82ea3496b5dc193d8cdf6eb08f6cfa1e871c5ff
[ "Apache-2.0" ]
1
2020-08-18T19:51:59.000Z
2020-08-18T19:51:59.000Z
#include <torch/extension.h> #include <iostream> #include <vector> #include <time.h> #include <stdlib.h> #include <iomanip> #include <random> #include <bitset> #include <math.h> #include <algorithm> namespace customFunc { float clamp(float v, float lo, float hi) { assert( !(hi < lo) ); return...
32.694158
138
0.640214
[ "vector" ]
6ea5bd9578159c2c2bd19360c738459199b1ff3e
12,845
cpp
C++
main.cpp
Ziagl/GeometryClipmaps
3146d54ed4ea3775873219fb068084f3ebe94a28
[ "MIT" ]
null
null
null
main.cpp
Ziagl/GeometryClipmaps
3146d54ed4ea3775873219fb068084f3ebe94a28
[ "MIT" ]
null
null
null
main.cpp
Ziagl/GeometryClipmaps
3146d54ed4ea3775873219fb068084f3ebe94a28
[ "MIT" ]
null
null
null
#include "GLIncludes.h" #include <cstdio> #include <cstdlib> #include <iostream> #include <sstream> #include <iomanip> #include <math.h> // Math things #include "SimpleMath.h" #include "VectorMath.h" #include "Config.h" #include "Terrain.h" #include "Camera.h" // OpenGL Includes #include <GLTools.h> // Op...
22.417103
97
0.657844
[ "geometry", "render" ]
6eaa76b4aee7abc05414a1b1743fa06018965a0f
1,921
cpp
C++
EvtGen1_06_00/src/EvtGenModels/EvtMultibody.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
EvtGen1_06_00/src/EvtGenModels/EvtMultibody.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
EvtGen1_06_00/src/EvtGenModels/EvtMultibody.cpp
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
#include "EvtGenBase/EvtPatches.hh" #include "EvtGenBase/EvtGenKine.hh" #include "EvtGenBase/EvtPDL.hh" #include "EvtGenBase/EvtReport.hh" #include "EvtGenBase/EvtResonance.hh" #include "EvtGenBase/EvtResonance2.hh" #include "EvtGenModels/EvtMultibody.hh" #include "EvtGenBase/EvtConst.hh" #include "EvtGenBase/EvtdFunct...
25.276316
79
0.63925
[ "vector" ]
6ec31bbe513172cbedd97ace089485f07776fdc0
2,634
cpp
C++
Competitive Programing Problem Solutions/Graph Theory/MST&DisjointSET/Marathon - 6[2016] [Disjoint Set and MST][01-06-2017]/1123 - Trail Maintenance.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/Graph Theory/MST&DisjointSET/Marathon - 6[2016] [Disjoint Set and MST][01-06-2017]/1123 - Trail Maintenance.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/Graph Theory/MST&DisjointSET/Marathon - 6[2016] [Disjoint Set and MST][01-06-2017]/1123 - Trail Maintenance.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> //#define pi 2*acos(0.0) //#define valid(tx,ty) tx>=0&&tx<r&&ty>=0&&ty<c //#define p pair<int,int> //#define ll long long int //#define llu unsigned long long int //#define mx 100001 //#define mod 100000007 //const ...
24.849057
59
0.42407
[ "vector" ]
6ec5b44186f8c8c0b09fcc35181a20029016f364
5,368
cpp
C++
Realistic Camera/realistic.cpp
YungChunLu/Rendering
ffee21cd3bc7b2475d05034b73e3fea6b4dcd4dc
[ "MIT" ]
null
null
null
Realistic Camera/realistic.cpp
YungChunLu/Rendering
ffee21cd3bc7b2475d05034b73e3fea6b4dcd4dc
[ "MIT" ]
null
null
null
Realistic Camera/realistic.cpp
YungChunLu/Rendering
ffee21cd3bc7b2475d05034b73e3fea6b4dcd4dc
[ "MIT" ]
1
2018-05-04T18:12:29.000Z
2018-05-04T18:12:29.000Z
#include "stdafx.h" #include "cameras/realistic.h" #include <fstream> #include <iostream> RealisticCamera::RealisticCamera(const AnimatedTransform &cam2world, float hither, float yon, float sopen, float sclose, float filmdistance, float aperture_diameter, string specfile, float filmdiag, Film *...
31.576471
95
0.639903
[ "vector", "transform" ]
6ec69788ea122e06a83372d57e4de69751efeb68
1,154
hxx
C++
source/code/iceshard/iceshard/private/gfx/iceshard_gfx_context.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
39
2019-08-17T09:08:51.000Z
2022-02-13T10:14:19.000Z
source/code/iceshard/iceshard/private/gfx/iceshard_gfx_context.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
63
2020-05-22T16:09:30.000Z
2022-01-21T14:24:05.000Z
source/code/iceshard/iceshard/private/gfx/iceshard_gfx_context.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
null
null
null
#pragma once #include <ice/gfx/gfx_context.hxx> #include <ice/gfx/gfx_stage.hxx> #include <ice/collections.hxx> namespace ice::gfx { class GfxPass; class GfxTrait; class GfxDevice; struct IceGfxContextStage { ice::gfx::GfxContextStage const* stage; }; class IceGfxContext : public...
23.55102
69
0.606586
[ "render" ]
6ec6d1270673bd8ed7e7a37199462bfe4b339061
59,358
cpp
C++
MSpectrum.cpp
mhoopmann/magnum
371865baabef579f65096f366c6033d0fc3c4286
[ "Apache-2.0" ]
null
null
null
MSpectrum.cpp
mhoopmann/magnum
371865baabef579f65096f366c6033d0fc3c4286
[ "Apache-2.0" ]
2
2021-10-05T17:42:55.000Z
2021-11-19T19:54:21.000Z
MSpectrum.cpp
mhoopmann/magnum
371865baabef579f65096f366c6033d0fc3c4286
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018, Michael R. Hoopmann, Institute for Systems Biology 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...
28.118427
157
0.589525
[ "vector" ]
6ed89d65225258c231d22eac778a10e5e69feefd
4,373
cc
C++
apps/obs_history/create_obs_history.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2020-06-03T15:59:50.000Z
2020-12-21T11:11:57.000Z
apps/obs_history/create_obs_history.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
null
null
null
apps/obs_history/create_obs_history.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2019-10-02T06:47:23.000Z
2020-02-02T18:32:23.000Z
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1992 - 2015 // ** University Corporation for Atmospheric Research(UCAR) // ** National Center for Atmospheric Research(NCAR) // ** Research Applications Laboratory(RAL) // ** P.O.Box 3000, Boulder, Colorado, 80307...
28.960265
96
0.604162
[ "vector" ]
6edc32eac03df93f46e23241944c0fbaafe8804e
4,594
hpp
C++
service/src/ServiceIOGroup.hpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
service/src/ServiceIOGroup.hpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
service/src/ServiceIOGroup.hpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SERVICEIOGROUP_HPP_INCLUDE #define SERVICEIOGROUP_HPP_INCLUDE #include <map> #include "geopm/IOGroup.hpp" struct geopm_request_s; namespace geopm { class PlatformTopo; class ServiceProxy; class Batch...
47.854167
123
0.622769
[ "object", "vector" ]
6eefd3c0c869a2b3c6d7b9d037c133765aa8ba56
21,580
cpp
C++
src/crtl/compiler/ast_builder_visitor.cpp
Twinklebear/ChameleonRT-lang
578679e315018546b0e6f303090c3641cac8ea20
[ "MIT" ]
11
2021-12-31T19:32:24.000Z
2022-03-30T09:51:54.000Z
src/crtl/compiler/ast_builder_visitor.cpp
Twinklebear/ChameleonRT-lang
578679e315018546b0e6f303090c3641cac8ea20
[ "MIT" ]
1
2022-03-30T15:08:21.000Z
2022-03-30T16:01:06.000Z
src/crtl/compiler/ast_builder_visitor.cpp
Twinklebear/ChameleonRT-lang
578679e315018546b0e6f303090c3641cac8ea20
[ "MIT" ]
null
null
null
#include "ast_builder_visitor.h" #include "ast/declaration.h" #include "ast/expression.h" #include "ast/statement.h" #include "ast_expr_builder_visitor.h" #include "error_listener.h" namespace crtl { using namespace ast; std::any ASTBuilderVisitor::visitTopLevelDeclaration( crtg::ChameleonRTParser::TopLevelDecla...
41.026616
95
0.644347
[ "vector" ]
6ef1f2329ba0260b51837572ca34d1bc89aa5364
2,106
cpp
C++
icli.cpp
luccanunes/icli
27dd0609603e6582ecf9b7cf076a178f2a2a6c0f
[ "MIT" ]
1
2020-10-17T02:08:02.000Z
2020-10-17T02:08:02.000Z
icli.cpp
luccanunes/icli
27dd0609603e6582ecf9b7cf076a178f2a2a6c0f
[ "MIT" ]
null
null
null
icli.cpp
luccanunes/icli
27dd0609603e6582ecf9b7cf076a178f2a2a6c0f
[ "MIT" ]
null
null
null
#include <iostream> #include <cpr/cpr.h> #include <nlohmann/json.hpp> using namespace std; bool cointains(vector<string> container, string item); int main(int argc, char* argv[]) { if (argc == 1 || strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) { vector<string> commands = { "icli {user} --------...
28.459459
102
0.618708
[ "vector" ]
6ef82b7e0c29d312a27febbff777f03d77d94c50
4,769
cpp
C++
TGEngine/pipeline/buffer/Texturebuffer.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/pipeline/buffer/Texturebuffer.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/pipeline/buffer/Texturebuffer.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#include "Texturebuffer.hpp" std::vector<Texture*> texture_buffers; Descriptor texture_descriptor; VkSampler tex_image_sampler; uint32_t tex_array_index = 0; using namespace nio; void createTexture(Texture* tex) { TG_VECTOR_APPEND_NORMAL(texture_buffers, tex); tex->index = (uint32_t)last_size; } void initAllTextu...
31.582781
106
0.784651
[ "vector" ]
3e02d3f1afc4568f5ee8f75c3d973f6176cfa566
2,199
cc
C++
src/ctcbin/ctc-copy-transition-model.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
2
2018-08-09T14:11:48.000Z
2020-04-27T02:46:00.000Z
src/ctcbin/ctc-copy-transition-model.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
null
null
null
src/ctcbin/ctc-copy-transition-model.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
null
null
null
// ctcbin/ctc-copy-transition-model.cc // Copyright 2015 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
32.820896
108
0.6794
[ "model" ]
3e0365d23c2228c278087d2cad1296f2e2534fd3
5,335
cpp
C++
apps/image_pa5.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
1
2018-07-26T05:02:28.000Z
2018-07-26T05:02:28.000Z
apps/image_pa5.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
null
null
null
apps/image_pa5.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
4
2018-04-25T05:39:47.000Z
2022-02-24T04:21:56.000Z
/** * Copyright 2015 Mike Reed */ #include "image.h" #include "GCanvas.h" #include "GBitmap.h" #include "GColor.h" #include "GMatrix.h" #include "GPath.h" #include "GPoint.h" #include "GRandom.h" #include "GRect.h" #include "GFilter.h" #include <string> static void make_star(GPath* path, int count, float anglePhas...
28.529412
99
0.563824
[ "transform" ]
3e0be04495fde33ae8d6216763e8cd48fe804b9f
10,027
cpp
C++
src/distancefield.cpp
ZephyrL/DH2323Project
598fc2f817f256a187e37473548abeefee689795
[ "Apache-2.0" ]
1
2020-08-19T07:49:48.000Z
2020-08-19T07:49:48.000Z
src/distancefield.cpp
ZephyrL/DH2323Project
598fc2f817f256a187e37473548abeefee689795
[ "Apache-2.0" ]
null
null
null
src/distancefield.cpp
ZephyrL/DH2323Project
598fc2f817f256a187e37473548abeefee689795
[ "Apache-2.0" ]
null
null
null
#include "debug.h" #include "parameters.h" #include "distancefield.h" #include <vector> #include <fstream> #include <functional> #include <glm/glm.hpp> #include <iostream> #include <glm/gtx/string_cast.hpp> using namespace std; using namespace glm; #include "boundingbox.hpp" #include "mesh.h" #include "mathUtils.h"...
32.661238
146
0.533659
[ "mesh", "vector" ]
3e144e183885f62c26831a72aa8c858c4218b686
27,280
hpp
C++
VS/Spike-Masquelier-LIB/v3/Topology.hpp
HJLebbink/Spike-Masq
01f458dc5792947c892af296ea82d0a7447dd19c
[ "MIT" ]
1
2021-07-15T09:13:50.000Z
2021-07-15T09:13:50.000Z
VS/Spike-Masquelier-LIB/v3/Topology.hpp
HJLebbink/Spike-Masq
01f458dc5792947c892af296ea82d0a7447dd19c
[ "MIT" ]
null
null
null
VS/Spike-Masquelier-LIB/v3/Topology.hpp
HJLebbink/Spike-Masq
01f458dc5792947c892af296ea82d0a7447dd19c
[ "MIT" ]
1
2019-05-20T03:01:00.000Z
2019-05-20T03:01:00.000Z
// The MIT License (MIT) // // Copyright (c) 2017 Henk-Jan Lebbink // // 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 us...
36.765499
210
0.64989
[ "object", "vector" ]
3e19f32c9d112a4cc4695480735832b1dde2fbef
7,544
cxx
C++
alg/teca_temporal_average.cxx
mhaseeb123/TECA
4233bac9dd2a86da3848ae088b462b4544b3ddc7
[ "BSD-3-Clause-LBNL" ]
null
null
null
alg/teca_temporal_average.cxx
mhaseeb123/TECA
4233bac9dd2a86da3848ae088b462b4544b3ddc7
[ "BSD-3-Clause-LBNL" ]
null
null
null
alg/teca_temporal_average.cxx
mhaseeb123/TECA
4233bac9dd2a86da3848ae088b462b4544b3ddc7
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "teca_temporal_average.h" #include "teca_mesh.h" #include "teca_array_collection.h" #include "teca_variant_array.h" #include "teca_metadata.h" #include <algorithm> #include <iostream> #include <string> #if defined(TECA_HAS_BOOST) #include <boost/program_options.hpp> #endif using std::string; using std::vec...
28.360902
88
0.565615
[ "vector" ]
3e1d2e3b70536d1db39511e83ec55cb8e8f62df0
6,571
cpp
C++
source/texture.cpp
deyahruhd/terramagna
931887afad11c6cf2c071cac9fc0ed24a15067de
[ "MIT" ]
null
null
null
source/texture.cpp
deyahruhd/terramagna
931887afad11c6cf2c071cac9fc0ed24a15067de
[ "MIT" ]
null
null
null
source/texture.cpp
deyahruhd/terramagna
931887afad11c6cf2c071cac9fc0ed24a15067de
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <png.h> #include "texture.h" namespace game { texture_params::texture_params (void) { } texture_params::texture_params (int unit, GLint mag_func, GLint wrapping, GLint internalformat, GLenum format, GLenum type, vec2 resolution) : unit (unit), mag_func (mag_...
36.709497
320
0.65926
[ "vector" ]
3e200b4da38669710157847a8bb0840c34dd4fbd
25,150
hpp
C++
libraries/chain/include/eosio/chain/pbft_database.hpp
boscore/ibc_plugin
9404871000d16ff402b608d3a8f6eb666dba5fda
[ "MIT" ]
68
2018-11-20T02:09:14.000Z
2021-12-22T03:30:59.000Z
libraries/chain/include/eosio/chain/pbft_database.hpp
boscore/ibc_plugin
9404871000d16ff402b608d3a8f6eb666dba5fda
[ "MIT" ]
57
2018-11-21T07:31:54.000Z
2020-07-17T03:08:12.000Z
libraries/chain/include/eosio/chain/pbft_database.hpp
boscore/ibc_plugin
9404871000d16ff402b608d3a8f6eb666dba5fda
[ "MIT" ]
37
2018-11-20T03:59:11.000Z
2021-01-26T03:59:46.000Z
#pragma once #include <eosio/chain/controller.hpp> #include <eosio/chain/fork_database.hpp> #include <boost/signals2/signal.hpp> #include <boost/multi_index_container.hpp> #include <boost/multi_index/member.hpp> #include <boost/multi_index/ordered_index.hpp> #include <boost/multi_index/hashed_index.hpp> #include <boos...
43.73913
149
0.558449
[ "vector" ]
4a3df08e1530694e8ed018c6f446cf7b917888a8
7,588
cpp
C++
src/demi/gfx/ObjectDataArrayMemoryManager.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
10
2015-03-04T04:27:15.000Z
2020-06-04T14:06:47.000Z
src/demi/gfx/ObjectDataArrayMemoryManager.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
null
null
null
src/demi/gfx/ObjectDataArrayMemoryManager.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
5
2015-10-17T19:09:58.000Z
2021-11-15T23:42:18.000Z
/********************************************************************** This source file is a part of Demi3D __ ___ __ __ __ | \|_ |\/|| _)| \ |__/|__| || __)|__/ Copyright (c) 2013-2014 Demi team https://github.com/wangyanxing/Demi3D Released under the MIT License https://github.com/wangyanxing/De...
54.2
106
0.589352
[ "object" ]
4a3fed9aa1ae97808f6433b84dc8ae94318d9604
6,278
cpp
C++
src/matrix3.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
src/matrix3.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
src/matrix3.cpp
workhorsy/test_wasm
13764cda35102d4ec8a0a2ef46df8187c15c5c50
[ "MIT" ]
null
null
null
#include "three.h" namespace THREE { Matrix3::Matrix3() { this->elements = { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; //if ( arguments.length > 0 ) { //console.error( 'THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.' ); //} } THREE::Matrix3* Matrix3::set(float n11, float n1...
23.425373
130
0.514654
[ "vector" ]
4a507ef2ee477ba38299279f494fecb1990b75ea
4,864
hpp
C++
include/seqan3/search/configuration/all.hpp
wiepvandertoorn/seqan3
c84a1ad0548fb722015b59c7001faa73015887aa
[ "CC-BY-4.0", "CC0-1.0" ]
1
2020-09-28T06:49:14.000Z
2020-09-28T06:49:14.000Z
include/seqan3/search/configuration/all.hpp
wiepvandertoorn/seqan3
c84a1ad0548fb722015b59c7001faa73015887aa
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
include/seqan3/search/configuration/all.hpp
wiepvandertoorn/seqan3
c84a1ad0548fb722015b59c7001faa73015887aa
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
57.904762
120
0.626234
[ "object" ]
4a53f992ca10c047df7e5c5b4c776a7c7bed88ca
665
cpp
C++
1221.cpp
zhulk3/leetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
2
2020-03-13T08:14:01.000Z
2021-09-03T15:27:49.000Z
1221.cpp
zhulk3/LeetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
null
null
null
1221.cpp
zhulk3/LeetCode
0a1dbf8d58558ab9b05c5150aafa9e4344cec5bc
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> #include <stack> #include <iostream> using namespace std; class Solution { public: int balancedStringSplit(string s) { int len = s.length(); stack<char>store; char temp; int cnt = 0; for (int i = 0; i < len; i++) { temp = s[i]; if (!store.empty()) { if (temp ==...
16.625
36
0.500752
[ "vector" ]
4a587342ce72bd9e9773b39fa760c8837b4b6d5f
4,061
hpp
C++
include/snd/audio/delay.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
18
2020-08-26T11:33:50.000Z
2021-04-13T15:57:28.000Z
include/snd/audio/delay.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
1
2021-05-16T17:11:57.000Z
2021-05-16T17:25:17.000Z
include/snd/audio/delay.hpp
colugomusic/snd
3ecb87581870b14e62893610d027516aea48ff3c
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <functional> #include <vector> #pragma warning(push, 0) #include <DSP/MLDSPGens.h> #include <DSP/MLDSPOps.h> #pragma warning(pop) #include <snd/interpolation.hpp> namespace snd { namespace audio { template <size_t ROWS> class Delay { public: Delay(int SR, size_t size) : ...
20.93299
124
0.673726
[ "vector" ]
4a65ebaeeee50308676ffc80147e9907757d4d55
12,313
cpp
C++
src/cpp/dynamic-types/DynamicDataHelper.cpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
src/cpp/dynamic-types/DynamicDataHelper.cpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
src/cpp/dynamic-types/DynamicDataHelper.cpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
28.568445
116
0.529116
[ "vector" ]
4a664b31cbce430dd36cce4f644223a0b285fbe9
4,387
hpp
C++
modules/core/frame/include/opengv2/frame/Bodyframe.hpp
MobilePerceptionLab/EventCameraCalibration
debd774ac989674b500caf27641b7ad4e94681e9
[ "Apache-2.0" ]
22
2021-08-06T03:21:03.000Z
2022-02-25T03:40:54.000Z
modules/core/frame/include/opengv2/frame/Bodyframe.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
1
2022-02-25T02:55:13.000Z
2022-02-25T15:18:45.000Z
modules/core/frame/include/opengv2/frame/Bodyframe.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
7
2021-08-11T12:29:35.000Z
2022-02-25T03:41:01.000Z
// // Created by huangkun on 2019/12/30. // #ifndef OPENGV2_BODYFRAME_HPP #define OPENGV2_BODYFRAME_HPP #include <shared_mutex> #include <mutex> #include <Eigen/Eigen> #include <Eigen/StdVector> //#include <cereal/types/vector.hpp> //#include <cereal/types/memory.hpp> #include <opengv2/frame/FrameBase.hpp> #include...
32.021898
109
0.598587
[ "object", "vector" ]
4a6afb3c2e872ef51bb139568231c29e258c696b
3,327
cpp
C++
src/model/submodel/containerModel.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/model/submodel/containerModel.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/model/submodel/containerModel.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file containerModel.cpp /// @brief Iplement the methods for Container. /// @author Enrico Fraccaroli /// @date Jul 6 2016 /// @copyright /// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software ...
34.298969
79
0.681094
[ "vector", "model" ]
4a72a4c598acdd89dbf301f8adae2b6a179aa4d3
9,962
cpp
C++
Firmware/V1.0.0/src/main.cpp
cszielke/Servotester
03800ea2fc66462a37e821e63e504701f4d0bab9
[ "MIT" ]
null
null
null
Firmware/V1.0.0/src/main.cpp
cszielke/Servotester
03800ea2fc66462a37e821e63e504701f4d0bab9
[ "MIT" ]
null
null
null
Firmware/V1.0.0/src/main.cpp
cszielke/Servotester
03800ea2fc66462a37e821e63e504701f4d0bab9
[ "MIT" ]
null
null
null
/********************* Example code for the Adafruit RGB Character LCD Shield and Library This code displays text on the shield, and also reads the buttons on the keypad. When a button is pressed, the backlight changes color. **********************/ // include the library code: #include "Arduino.h" #incl...
25.80829
136
0.605401
[ "object" ]
4a77096d2d8077704fad7012e2b79caf46113057
33,397
cxx
C++
Rendering/vtkShellExtractor.cxx
chrisidefix/devide.vtkdevide
d14a3851a97b3da8db1f9f9351f992af59ecc290
[ "BSD-3-Clause" ]
null
null
null
Rendering/vtkShellExtractor.cxx
chrisidefix/devide.vtkdevide
d14a3851a97b3da8db1f9f9351f992af59ecc290
[ "BSD-3-Clause" ]
null
null
null
Rendering/vtkShellExtractor.cxx
chrisidefix/devide.vtkdevide
d14a3851a97b3da8db1f9f9351f992af59ecc290
[ "BSD-3-Clause" ]
null
null
null
// vtkShellExtractor.h copyright (c) 2003 // by Charl P. Botha cpbotha@ieee.org // and the TU Delft Visualisation Group http://visualisation.tudelft.nl/ // $Id: vtkShellExtractor.cxx,v 1.21 2004/11/30 22:27:13 cpbotha Exp $ // vtk class for extracting Udupa Shells /* * This software is licensed exclusively for rese...
35.415695
116
0.485044
[ "object", "vector" ]
4a77903419b659aef0f8b7fe033b1e4dfdeac8e6
677
cpp
C++
uploads/test/lightsaber.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
uploads/test/lightsaber.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
uploads/test/lightsaber.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <iostream> #include <algorithm> #include <set> #include <map> #include <vector> #include <queue> #include <stack> #include <list> #include <string> #include <time.h> #define SQR(_x) ((_x)*(_x)) #define NL printf("\n") #define LL long lon...
16.512195
32
0.67356
[ "vector" ]
4a7903d646aae08d0b36b932f7b11409b05fa14a
32,455
cc
C++
code/atom/src/proto/Scene.pb.cc
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
code/atom/src/proto/Scene.pb.cc
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
code/atom/src/proto/Scene.pb.cc
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Scene.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Scene.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google...
33.737006
97
0.695301
[ "object" ]
4a84cb082d681f1de02f02197e599d513a58c036
921
cpp
C++
leetcode/15-Programme/JD0807M-Permutation/Permutation.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/15-Programme/JD0807M-Permutation/Permutation.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
leetcode/15-Programme/JD0807M-Permutation/Permutation.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
/** * 1. 用S构建一个字符集合 * 2. 假设S共有N个元素,取其中的每个元素 * 3. 将剩余的N-1个元素排列,并将2中取出的元素放到所有N-1字符串排列的末尾,构成新的集合。 * 4. 合并2中所有N个元素的情况。 * 5. 注意边界 */ class Solution { public: vector<string> permutation(string S) { vector<string> strs; unordered_set<char> s( S.begin(), S.end() ); strs = dc( s ); ...
23.025
59
0.457112
[ "vector" ]
4a873e6f3ff375972ce285436dca94cad07446a8
45,529
cpp
C++
src/KineticDispersion/relativisticspecies.cpp
SamuelIrvine/Kinetic-Dispersion-Solver
6056ece40e9c241d8c2df3ce8a089d3f10fb99b1
[ "MIT" ]
3
2021-02-03T17:07:43.000Z
2021-12-29T14:56:16.000Z
src/KineticDispersion/relativisticspecies.cpp
SamuelIrvine/Kinetic-Dispersion-Solver
6056ece40e9c241d8c2df3ce8a089d3f10fb99b1
[ "MIT" ]
1
2020-01-03T03:44:58.000Z
2020-01-09T09:41:23.000Z
src/KineticDispersion/relativisticspecies.cpp
SamuelIrvine/Kinetic-Dispersion-Solver
6056ece40e9c241d8c2df3ce8a089d3f10fb99b1
[ "MIT" ]
null
null
null
// // Created by h on 20/07/18. // #include "relativisticspecies.h" #include <boost/math/special_functions/bessel.hpp> #include <boost/math/special_functions/bessel_prime.hpp> static array<double, 2> intersect(const array<double, 2> &P1, const array<double, 2> &P2, const double x){ double m = (P1[1] - P2[1])/(P1...
43.237417
256
0.45202
[ "object", "vector" ]
4a87a5e9dc8cf262bc24dbb6ae814aa4e078b8ea
5,375
cpp
C++
main_old.cpp
mihneasaracin/Distributed-CSP
8e4b0cc9e70cbc2451463458aa07c60d66a78c7c
[ "MIT" ]
null
null
null
main_old.cpp
mihneasaracin/Distributed-CSP
8e4b0cc9e70cbc2451463458aa07c60d66a78c7c
[ "MIT" ]
null
null
null
main_old.cpp
mihneasaracin/Distributed-CSP
8e4b0cc9e70cbc2451463458aa07c60d66a78c7c
[ "MIT" ]
null
null
null
#include <iostream> #include <mpi.h> #include "include/hps-1.0.0/src/hps.h" #include <typeinfo> #include <map> #include <type_traits> #include <utility> #include "include/DistributedRuntime.h" #include <functional> // OMPI_CXX=g++-8 ~/Downloads/clion-2018.2.4/bin/cmake/linux/bin/cmake --build ~/Documents/Dissertati...
25.595238
160
0.556837
[ "vector" ]
4a883690a1cd7c975c5bb8ed653300f413047e82
7,207
hpp
C++
include/HoudiniEngineUnity/HEU_WorkItemTally.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/HoudiniEngineUnity/HEU_WorkItemTally.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/HoudiniEngineUnity/HEU_WorkItemTally.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" #include "extern/beatsaber-hook/shared/u...
45.904459
188
0.742473
[ "object", "vector" ]
4a98707fccae279f8c4e269db2ffb262edbe2d77
1,601
cpp
C++
code/924.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/924.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/924.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } struct TreeNod...
23.544118
76
0.465334
[ "vector" ]
4a9a6ef80c3291b9c202048102066a1b7e64977d
1,472
cpp
C++
shared++/filter_hsv.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
1
2017-07-04T02:50:26.000Z
2017-07-04T02:50:26.000Z
shared++/filter_hsv.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
null
null
null
shared++/filter_hsv.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
2
2016-05-12T02:47:26.000Z
2020-03-02T10:54:14.000Z
#include "filter_hsv.hpp" void maskByHSVMat(cv::Mat& src, cv::Mat& dst, cv::Scalar minHSV, cv::Scalar maxHSV) { std::vector<cv::Mat> rgbChannels(3); { // Get HSV values src.copyTo(dst); cv::GaussianBlur(dst, dst, cv::Size(9, 9), 0, 0, 0); cv::cvtColor(dst, dst, cv::COLOR_RGB2HSV); cv::split(dst, rgbChannels...
39.783784
115
0.667799
[ "vector" ]
4a9b7eea5f971e31b502cb8d95f6d3592ee0286f
3,112
cpp
C++
src/meta/processors/parts/GetPartsAllocProcessor.cpp
jyz0309/nebula
43f213113661a3fedd9ee4cbf8e8059fbddb4dbc
[ "Apache-2.0" ]
null
null
null
src/meta/processors/parts/GetPartsAllocProcessor.cpp
jyz0309/nebula
43f213113661a3fedd9ee4cbf8e8059fbddb4dbc
[ "Apache-2.0" ]
null
null
null
src/meta/processors/parts/GetPartsAllocProcessor.cpp
jyz0309/nebula
43f213113661a3fedd9ee4cbf8e8059fbddb4dbc
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include "meta/processors/parts/GetPartsAllocProcessor.h" namespace nebula { namespace meta { void GetPartsAllocProcessor::process(const cpp2::GetPartsAllocReq& req) { folly::SharedMutex::ReadHol...
33.106383
95
0.662596
[ "vector" ]
4aa2aea569d6d81495ec5ba1b5e3d01bedbec0ab
7,830
cpp
C++
codeforces/1178g.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1178g.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1178g.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; template <typename T> struct Line { T k, b; Line() {} Line(const Line<T>& _r) : k(_r.k), b(_r.b) {} Line(T _k, T _b) : k(_k), b(_b) {} inline T eval(T x) const{ return k*x + b; } // act like point Line<T>& operator-=(const Line<T>&...
25.422078
97
0.396296
[ "vector" ]
4aa31634a910f33e69e8f2f589f3ac2e7223c70b
24,072
cpp
C++
src/internal/rapidxml_parser/HMAuxParserRapidXML.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
13
2019-06-06T01:14:30.000Z
2022-03-03T05:57:51.000Z
src/internal/rapidxml_parser/HMAuxParserRapidXML.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
7
2019-07-23T18:31:20.000Z
2021-05-26T12:57:34.000Z
src/internal/rapidxml_parser/HMAuxParserRapidXML.cpp
varsameer/NetCHASM
3071241ce0d2cddc077e5e7e1b957677d733ae76
[ "Apache-2.0" ]
12
2019-06-27T13:58:03.000Z
2021-12-23T07:43:06.000Z
// Copyright 2019, Oath Inc. // Licensed under the terms of the Apache 2.0 license. See LICENSE file in the root of the distribution for licensing details. #include <limits.h> #include <errno.h> #include <iostream> #include <string> #include "HMLogBase.h" #include "HMAuxParserRapidXML.h" #include "rapidxml.h" #includ...
34.437768
137
0.499294
[ "object", "vector" ]
4aa77f1c7b7abdae87355474ca297b236e6eb00d
218,372
cc
C++
third_party/blink/renderer/core/exported/web_view_test.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/exported/web_view_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/exported/web_view_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright (C) 2011, 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of co...
41.578827
87
0.735396
[ "geometry", "object", "vector", "transform" ]
4aaac5b2babef5a0de91d3256c437f5f2b3e03fd
615
cpp
C++
workspace/environment.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
workspace/environment.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
1
2018-01-26T00:06:19.000Z
2018-01-26T00:06:54.000Z
workspace/environment.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
#include "environment.hpp" #include <cstdio> extern char **environ; namespace MinIDE { //##################################################################################################################### //std::vector <std::string> getEnvironmentVariables() //{ //} //-------------------------...
29.285714
120
0.247154
[ "vector" ]
4ab58a0333fce6d87583ab9d82270ac526ccb12e
2,056
hpp
C++
src/Event/RepeatingEvent.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Event/RepeatingEvent.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Event/RepeatingEvent.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
#ifndef RepeatingEvent_d990ac2d48434e71bdd81c9412620e6f #define RepeatingEvent_d990ac2d48434e71bdd81c9412620e6f #include "Event.hpp" #include "../Helpers/DateTime.hpp" #include <iostream> /** * @brief Abstract class that provides additional interface and united methods for repeating events * */ class RepeatingEv...
42.833333
103
0.674611
[ "object", "vector" ]
4ab718555d3ce98ebdd50030bfac556ed3295e56
7,549
cpp
C++
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/ImageTools.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/ImageTools.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Modules/REPlatform/Sources/REPlatform/Scene/Private/Utils/ImageTools.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "REPlatform/Scene/Utils/ImageTools.h" #include <Base/GlobalEnum.h> #include <FileSystem/FileSystem.h> #include <Render/GPUFamilyDescriptor.h> #include <Render/Image/ImageConvert.h> #include <Render/Image/ImageSystem.h> #include <Render/PixelFormatDescriptor.h> namespace DAVA { namespace ImageTools { void Sav...
30.686992
148
0.64088
[ "render", "vector" ]
4aba29effb033d85ccdb4a04a5bfccc66a8182fd
1,133
cpp
C++
codeforce3/546C - Soldier and Cards.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/546C - Soldier and Cards.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/546C - Soldier and Cards.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <vector> #include <map> #include <algorithm> using namespace std; int N; queue<int> solider1; queue<int> solider2; vector<pair<queue<int>, queue<int> > > vis; void BFS() { int cost = 0; while (solider1.size() != 0 && solider2.size() != 0) { int x = ...
15.106667
81
0.516328
[ "vector" ]
385b67730054b229b4a6c0dcea901cd46e414ff5
1,587
cpp
C++
C+=.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
1
2021-04-07T05:13:21.000Z
2021-04-07T05:13:21.000Z
C+=.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
null
null
null
C+=.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
null
null
null
/* This code is written by Manavesh Narendra E-mail : manu.karenite@gmail.com LinkedIn : https://www.linkedin.com/in/manavesh-narendra-489833196/ */ #include <bits/stdc++.h> using namespace std; #define loop(i,a,b) for(int i=a;i<b;i++) int main() { int test; cin>>test; while(test--) { ...
24.415385
71
0.281033
[ "vector" ]
3864f65372f1091f2f7c590be2c739e398e0f1b9
3,476
cpp
C++
Code/RDGeneral/testConcurrentQueue.cpp
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
1,609
2015-01-05T02:41:13.000Z
2022-03-30T21:57:24.000Z
Code/RDGeneral/testConcurrentQueue.cpp
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
3,412
2015-01-06T12:13:33.000Z
2022-03-31T17:25:41.000Z
Code/RDGeneral/testConcurrentQueue.cpp
bp-kelley/rdkit
e0de7c9622ce73894b1e7d9568532f6d5638058a
[ "BSD-3-Clause" ]
811
2015-01-11T03:33:48.000Z
2022-03-28T11:57:49.000Z
#ifdef RDK_THREADSAFE_SSS #include <RDGeneral/Invariant.h> #include <RDGeneral/RDLog.h> #include <functional> #include <iomanip> #include <sstream> #include "ConcurrentQueue.h" using namespace RDKit; //! method for testing basic ConcurrentQueue operations void testPushAndPop() { ConcurrentQueue<int>* q = new Conc...
24.828571
75
0.613636
[ "vector" ]
38693cf5550133b69f2d37ddf9590d327c05c9c0
1,431
cpp
C++
Installation/test/Installation/test_TBB.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Installation/test/Installation/test_TBB.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Installation/test/Installation/test_TBB.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
//#undef CGAL_LINKED_WITH_TBB #include <CGAL/tags.h> #ifdef CGAL_LINKED_WITH_TBB # include <tbb/blocked_range.h> # include <tbb/parallel_for.h> #endif #include <iostream> #include <vector> #ifdef CGAL_LINKED_WITH_TBB class Change_array_functor { public: Change_array_functor(std::vector<int> &v) : m_v(v) {} ...
21.681818
62
0.61775
[ "vector" ]
386ab099c22d2099b7bf416bd27211f614d906c7
7,581
cpp
C++
demo/cpp/squares.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/cpp/squares.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/cpp/squares.cpp
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
// The "Square Detector" program. // It loads several images sequentially and tries to find squares in // each image #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include <iostream> #include <math.h> #include <string.h> using namespace cv...
29.383721
115
0.543596
[ "vector" ]
386e775905f2f933e64aeaafa8dbf423d56b7436
13,136
cpp
C++
instance.cpp
barrystyle/dashdeb
45988ecbbaf01203c529ee090fae1fd4553cb6fe
[ "MIT" ]
null
null
null
instance.cpp
barrystyle/dashdeb
45988ecbbaf01203c529ee090fae1fd4553cb6fe
[ "MIT" ]
null
null
null
instance.cpp
barrystyle/dashdeb
45988ecbbaf01203c529ee090fae1fd4553cb6fe
[ "MIT" ]
null
null
null
#include <script/interpreter.h> #include <util/strencodings.h> #include <policy/policy.h> #include <streams.h> #include <pubkey.h> #include <value.h> #include <vector> #include <instance.h> static bool DecodeHexTx(CMutableTransaction& tx, const std::string& strHexTx) { if (!IsHex(strHexTx)) { fprintf(stde...
34.751323
243
0.554278
[ "vector" ]
38737b78025c8248f18e74601f1b3a411141edc8
4,463
cpp
C++
src/formatter.cpp
slowptr/tuxdump
a9ac4cec89198b855cb8da15a5e286f11a352bed
[ "MIT" ]
27
2018-08-19T13:49:21.000Z
2021-12-16T23:52:14.000Z
src/formatter.cpp
slowptr/tuxdump
a9ac4cec89198b855cb8da15a5e286f11a352bed
[ "MIT" ]
9
2018-09-22T23:17:34.000Z
2022-01-29T11:04:27.000Z
src/formatter.cpp
slowptr/tuxdump
a9ac4cec89198b855cb8da15a5e286f11a352bed
[ "MIT" ]
7
2018-09-16T13:04:20.000Z
2022-02-26T11:18:39.000Z
#include "formatter.h" #include "logger.h" #include <fmt/time.h> #include <rapidjson/document.h> #include <libconfig.h++> bool Formatter::LoadFormat(const char* fmt) { if (!strcmp(fmt, "json")) { return true; } m_bJson = false; libconfig::Config cfg; try { cfg.readFile("formats.c...
30.360544
92
0.553215
[ "object" ]
38781da46f30c131dab770c374fd806cc4a0d717
830
cpp
C++
src/model.cpp
blagodarin/playground3d
69e251807dbcf6e311f200583e9cc5d5f320b7af
[ "Apache-2.0" ]
null
null
null
src/model.cpp
blagodarin/playground3d
69e251807dbcf6e311f200583e9cc5d5f320b7af
[ "Apache-2.0" ]
null
null
null
src/model.cpp
blagodarin/playground3d
69e251807dbcf6e311f200583e9cc5d5f320b7af
[ "Apache-2.0" ]
null
null
null
// This file is part of Playground3D. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include "model.hpp" #include <yttrium/geometry/matrix.h> #include <yttrium/renderer/material.h> #include <yttrium/renderer/mesh.h> #include <yttrium/renderer/modifiers.h> #include <yttrium/renderer/pass.h...
28.62069
99
0.751807
[ "mesh", "geometry", "model" ]
3879123391083d50be0ff965f7234f7dea4c0114
3,485
cc
C++
src/path_team_test.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
null
null
null
src/path_team_test.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
35
2018-12-11T11:58:36.000Z
2019-09-08T06:10:47.000Z
src/path_team_test.cc
joy13975/elfin-solver
dac70d97beed208191fbb0e6a5139f68f8362755
[ "MIT" ]
null
null
null
#include "path_team.h" #include "test_data.h" #include "test_stat.h" #include "input_manager.h" #include "path_generator.h" #include "scoring.h" namespace elfin { /* tests */ TestStat PathTeam::test() { TestStat ts; auto construction_test = [&](std::string const & spec_file, tests::Recipe...
31.396396
79
0.52109
[ "transform" ]
387d0361e9bcd476de6ba4e5c446bcaec453c20f
4,797
cpp
C++
app/JniSample/app/src/main/cpp/static_field_tester.cpp
sulewicz/jpp
8d6d694a834faec92314cb0c638636f4f4bda013
[ "MIT" ]
null
null
null
app/JniSample/app/src/main/cpp/static_field_tester.cpp
sulewicz/jpp
8d6d694a834faec92314cb0c638636f4f4bda013
[ "MIT" ]
null
null
null
app/JniSample/app/src/main/cpp/static_field_tester.cpp
sulewicz/jpp
8d6d694a834faec92314cb0c638636f4f4bda013
[ "MIT" ]
null
null
null
#include <jni.h> #include "jpp/jpp.h" extern "C" JNIEXPORT jobject JNICALL Java_org_coderoller_jnisample_testers_StaticFieldTester_setAndGetObjectField(JNIEnv *env, jclass type, ...
42.830357
101
0.592037
[ "object" ]
38833244c998cd6ff8ca49464a75b739197d563a
2,886
hpp
C++
Code/Engine/UI/WidgetGroup.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/UI/WidgetGroup.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/UI/WidgetGroup.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#pragma once #include "Engine/General/Core/EngineCommon.hpp" #include "Engine/EventSystem/NamedProperties.hpp" #include "Engine/UI/Utils/UISystemEnums.hpp" #include "ThirdParty/Parsers/xmlParser.h" class WidgetBase; class WidgetGroup { public: //CREATION static void CreateWidgetGroupFromXML(const XMLNode& widgetGr...
33.952941
125
0.620929
[ "render", "vector" ]