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
fdb5125236d3c10d247c2e357d5109271e5b1c68
1,334
hpp
C++
husky-sql/rexnode/aggregate_call.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-sql/rexnode/aggregate_call.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-sql/rexnode/aggregate_call.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <string> #include <memory> #include "husky-sql/rexnode/aggregators/abstract_aggregator.hpp" namespace husky { namespace sql { class AggregateCall { public: AggregateCall() { } ~AggregateCall() { } /* setters and getters*/ inline void set_arguments...
34.205128
95
0.712894
[ "vector" ]
fdb5b851ded3189969fc4282a080f6bbeb4fddd3
75,857
cc
C++
tensorstore/array_test.cc
virenjain/tensorstore
a5c302615b831ad228be7cd82bb274606aeac404
[ "BSD-2-Clause" ]
2
2022-01-07T16:49:11.000Z
2022-01-07T16:49:12.000Z
tensorstore/array_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
null
null
null
tensorstore/array_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 The TensorStore Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
37.702286
80
0.6336
[ "shape", "vector" ]
fdb8cf34fba444878addf8f2cdd9150c91888969
5,637
cc
C++
debugd/src/debug_mode_tool.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
debugd/src/debug_mode_tool.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
debugd/src/debug_mode_tool.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
// Copyright (c) 2012 The Chromium OS 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 "debugd/src/debug_mode_tool.h" #include <chromeos/dbus/service_constants.h> #include <shill/dbus_proxies/org.chromium.flimflam.Manager.h>...
34.163636
79
0.674827
[ "vector" ]
fdb9b69d744f757fd09b740878006270bb630c7c
1,763
hpp
C++
samples/qt/photo-book/mainwindow.hpp
intel/umf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
13
2018-01-23T22:05:21.000Z
2020-04-21T15:19:29.000Z
samples/qt/photo-book/mainwindow.hpp
intel/umf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
10
2015-08-25T22:20:23.000Z
2016-06-08T10:13:26.000Z
samples/qt/photo-book/mainwindow.hpp
01org/vmf
3103e3b0ab63a0f60f4d8d83ebf4dc39a61552aa
[ "Apache-2.0" ]
10
2015-11-16T14:19:31.000Z
2016-08-18T21:44:07.000Z
#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include <QMainWindow> #include <QGraphicsScene> #include <QGraphicsPixmapItem> #include <QTimer> #include <QLabel> #include "face_recognizer.hpp" #include "metadata_helper.hpp" #include "markup_model.hpp" #include "photo_book.hpp" namespace Ui { class MainWindow; } cl...
22.896104
77
0.716393
[ "vector" ]
fdbc73751844247118a1864c16b44e6c9ab5a25d
23,406
cpp
C++
src/terrain.cpp
clayne/fo76utils
a004089445f92f0a16f627224ef5085395246f16
[ "MIT" ]
null
null
null
src/terrain.cpp
clayne/fo76utils
a004089445f92f0a16f627224ef5085395246f16
[ "MIT" ]
null
null
null
src/terrain.cpp
clayne/fo76utils
a004089445f92f0a16f627224ef5085395246f16
[ "MIT" ]
null
null
null
#include "common.hpp" #include "filebuf.hpp" #include <thread> static int landWidth = 0; static int landHeight = 0; static unsigned int renderWidth = 0; static unsigned int renderHeight = 0; static unsigned int imageWidth = 0; static unsigned int imageHeight = 0; static int renderMode = 0;...
34.62426
80
0.534521
[ "vector" ]
fdbe28df517b78062dc07d23f6a7d4e37e4efe4e
2,170
cc
C++
stapl_release/docs/tutorial_guide/ex_303.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/tutorial_guide/ex_303.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/tutorial_guide/ex_303.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include "ch3.hpp" typedef stapl::vector< ary_int_tp > vec_ary_int_tp; // ## 1 typedef stapl::vector_view<vec_ary_int_tp> vec_ary_int_vw_tp; typedef stapl::array< vec_int_tp > ary_vec_int_tp; // ## 2 typedef stapl::array_view<ary_vec_int_tp> ary_vec_int_vw_tp; size_t ex_303(size...
26.144578
77
0.670507
[ "vector", "model" ]
fdc2d8a2ddff73e473a86d53289071d1a4d2bd59
28,258
cpp
C++
plugins/code/hevc_enc/beamr/src/hevc_enc_beamr_impl.cpp
DolbyLaboratories/dolby-encoding-engine
c44344319f7e1dcf9b5002ea7c13421f4e8d16a2
[ "BSD-3-Clause" ]
52
2018-02-26T11:12:22.000Z
2022-03-31T10:42:43.000Z
plugins/code/hevc_enc/beamr/src/hevc_enc_beamr_impl.cpp
DolbyLaboratories/dolby-encoding-engine
c44344319f7e1dcf9b5002ea7c13421f4e8d16a2
[ "BSD-3-Clause" ]
3
2017-12-12T18:46:45.000Z
2019-06-03T21:29:11.000Z
plugins/code/hevc_enc/beamr/src/hevc_enc_beamr_impl.cpp
DolbyLaboratories/dolby-encoding-engine
c44344319f7e1dcf9b5002ea7c13421f4e8d16a2
[ "BSD-3-Clause" ]
14
2018-01-26T15:08:39.000Z
2022-03-19T00:28:41.000Z
/* * BSD 3-Clause License * * Copyright (c) 2019, Dolby Laboratories * 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 n...
37.181579
131
0.643358
[ "vector" ]
fdc44858446d5931191d801b1cda231b98b07f5e
31,895
cpp
C++
services/WebPageUI/WebPageUI.cpp
knowac/tizen-browser-1.6.4
a37a3ea5b8c01d86bd3dac00d228800e5eed4619
[ "Apache-2.0" ]
1
2016-11-10T20:04:56.000Z
2016-11-10T20:04:56.000Z
services/WebPageUI/WebPageUI.cpp
knowac/tizen-browser-1.6.4
a37a3ea5b8c01d86bd3dac00d228800e5eed4619
[ "Apache-2.0" ]
null
null
null
services/WebPageUI/WebPageUI.cpp
knowac/tizen-browser-1.6.4
a37a3ea5b8c01d86bd3dac00d228800e5eed4619
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * 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...
34.555796
146
0.694435
[ "object" ]
fdc4626c50c3be840705e879405552463470df79
2,784
cc
C++
Dragon/src/operators/arithmetic/gram_matrix_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
212
2015-07-05T07:57:17.000Z
2022-02-27T01:55:35.000Z
Dragon/src/operators/arithmetic/gram_matrix_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
6
2016-07-07T14:31:56.000Z
2017-12-12T02:21:15.000Z
Dragon/src/operators/arithmetic/gram_matrix_op.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
71
2016-03-24T09:02:41.000Z
2021-06-03T01:52:41.000Z
#include "operators/arithmetic/gram_matrix_op.h" #include "core/workspace.h" #include "utils/math_functions.h" namespace dragon { template <class Context> template <typename T> void GramMatrixOp<Context>::RunWithType() { auto* Xdata = input(0).template data<T, Context>(); auto* Ydata = output(0)->template mut...
32.752941
73
0.670259
[ "vector" ]
fdc9fa5aecacbafb3ba3c8474731551d0eb26f73
1,765
cpp
C++
ospray/geometry/Isosurfaces.cpp
TWITTM/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
1
2020-05-30T02:39:22.000Z
2020-05-30T02:39:22.000Z
ospray/geometry/Isosurfaces.cpp
wzjj0525/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
null
null
null
ospray/geometry/Isosurfaces.cpp
wzjj0525/ospray
7cc36c74df0dea59e18cd7eb15b23b712dfd8849
[ "Apache-2.0" ]
null
null
null
// Copyright 2009-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // ospray #include "Isosurfaces.h" #include "common/Data.h" #include "common/World.h" // openvkl #include "openvkl/openvkl.h" // ispc-generated files #include "Isosurfaces_ispc.h" namespace ospray { Isosurfaces::Isosurfaces() { ispcEqu...
21.26506
79
0.685552
[ "model" ]
fdd3be902b03f35729db142265076d59a49143fd
9,084
cpp
C++
dev/Code/Framework/AzCore/AzCore/Console/Console.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Framework/AzCore/AzCore/Console/Console.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Framework/AzCore/AzCore/Console/Console.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
31.324138
187
0.576398
[ "vector" ]
fdd4c3104b9fe47048c523e541a66b36de538c1e
3,343
hpp
C++
external/succinct/darray64.hpp
ZabalaMariano/PISA
344063799847e89f2f4bd7d75d606ccb95620d30
[ "Apache-2.0" ]
138
2015-01-03T23:21:53.000Z
2022-02-26T16:51:03.000Z
external/succinct/darray64.hpp
ZabalaMariano/PISA
344063799847e89f2f4bd7d75d606ccb95620d30
[ "Apache-2.0" ]
3
2015-03-04T11:14:32.000Z
2017-06-13T21:25:50.000Z
darray64.hpp
ot/succinct
669eebbdcaa0562028a22cb7c877e512e4f1210b
[ "Apache-2.0" ]
23
2015-02-04T01:58:41.000Z
2020-11-04T14:43:23.000Z
#pragma once #include "bit_vector.hpp" #include "broadword.hpp" namespace succinct { struct darray64 { struct builder { builder() : n_ones(0) {} void append1(size_t skip0 = 0) { bits.append_bits(0, skip0); ...
28.818966
122
0.514807
[ "vector" ]
fdd52a5fd3afcccf30f549c87abd3716a9e8d540
6,140
cxx
C++
StRoot/StEvent/StFmsPoint.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StEvent/StFmsPoint.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StEvent/StFmsPoint.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StFmsPoint.cxx,v 2.8 2017/11/20 20:01:49 smirnovd Exp $ * * Author: Thomas Burton, Yuxi Pan, 2014 *************************************************************************** * * Description: Implementation of StFmsPoint, the St...
35.906433
152
0.528176
[ "3d" ]
fdddc3dde0a78e2ebea743aec564803147ab280c
8,277
cpp
C++
src/qt/stakereportdialog.cpp
Tillkoeln/WYTF
5092f9a457843a34903d51a289d8b6dcb97e6082
[ "MIT" ]
null
null
null
src/qt/stakereportdialog.cpp
Tillkoeln/WYTF
5092f9a457843a34903d51a289d8b6dcb97e6082
[ "MIT" ]
null
null
null
src/qt/stakereportdialog.cpp
Tillkoeln/WYTF
5092f9a457843a34903d51a289d8b6dcb97e6082
[ "MIT" ]
2
2020-11-19T10:27:53.000Z
2020-12-23T02:36:03.000Z
//***************************************************** // // Dialog which report the earning made with stake over time // Original coding by Remy5 // #include "stakereportdialog.h" #include "ui_stakereportdialog.h" #include "guiconstants.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "bitcoinrpc.h" #...
29.455516
160
0.643228
[ "vector", "model" ]
fde099997247c62563205f9bd199c4c7744964fb
6,011
cpp
C++
tests/VPRiedel-test.cpp
troldal/PCProps
80b05ef5e79178a2f3cb3bbf3cf08ecad5e9b174
[ "MIT" ]
null
null
null
tests/VPRiedel-test.cpp
troldal/PCProps
80b05ef5e79178a2f3cb3bbf3cf08ecad5e9b174
[ "MIT" ]
null
null
null
tests/VPRiedel-test.cpp
troldal/PCProps
80b05ef5e79178a2f3cb3bbf3cf08ecad5e9b174
[ "MIT" ]
null
null
null
/* 8888888b. .d8888b. 8888888b. 888 Y88b d88P Y88b 888 Y88b 888 888 888 888 888 888 888 d88P 888 888 d88P 888d888 .d88b. 88888b. .d8888b 8888888P" 888 8888888P" 888P" d88""88b 888 "88b 88K 888 888 888 888 888 888 888 888 888 "Y8888b. 888 Y88b d88P 8...
43.244604
105
0.616536
[ "object" ]
fde535b5ca7cc680d03ba1adf6701f70f23b0374
7,883
hpp
C++
libqvr/rendercontext.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
2
2020-07-14T15:04:08.000Z
2022-03-05T12:21:25.000Z
libqvr/rendercontext.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
1
2022-03-08T17:40:42.000Z
2022-03-08T19:22:37.000Z
libqvr/rendercontext.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
null
null
null
/* * Copyright (C) 2016, 2017 Computer Graphics Group, University of Siegen * Written by Martin Lambers <martin.lambers@uni-siegen.de> * * 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 ...
54.743056
190
0.724597
[ "geometry", "render" ]
fdeb690274ef7408514b88c8a5d02d03fdc6d2b6
1,033
cpp
C++
src/cmcandy/C_Language_Answers/_0738.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_0738.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
null
null
null
src/cmcandy/C_Language_Answers/_0738.cpp
ch98road/leetcode
a9b4be54a169b30f6711809b892dd1f79f2a17e7
[ "MIT" ]
1
2020-11-26T03:01:12.000Z
2020-11-26T03:01:12.000Z
#include <iostream> #include <vector> using namespace ::std; class Solution { public: int monotoneIncreasingDigits(int N) { vector<int> res; //1.高位先取,如果满足递增则一直去下去 //2.如果不满足,那么上一位-- // 3.如果上一位-- 后,依然满足递增,则后面全9即可 // 4.如果不满足,再上一位--,循环判断,直到最高位 string digit = to_str...
22.955556
45
0.384318
[ "vector" ]
fdf6a5d0a5a7a10a2f700a44e3290874eb935a56
2,844
cpp
C++
Arrangement_on_surface_2/examples/Arrangement_on_surface_2/polycurve_geodesic.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Arrangement_on_surface_2/examples/Arrangement_on_surface_2/polycurve_geodesic.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Arrangement_on_surface_2/examples/Arrangement_on_surface_2/polycurve_geodesic.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
//! \file examples/Arrangement_on_surface_2/polycurve_geodesic.cpp // Constructing an arrangement of polygeodesics. #include <vector> #include <list> #include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Arr_geodesic_arc_on_sphere_traits_2.h> #include <CGAL/Arr_spherical_topology_traits_2.h> #i...
37.421053
81
0.71308
[ "vector" ]
fdf7acb582feacdc244b6ec426bdf45b130c4e0d
4,884
cc
C++
chrome/browser/ui/tabs/tab_renderer_data.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ui/tabs/tab_renderer_data.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ui/tabs/tab_renderer_data.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/tabs/tab_renderer_data.h" #include "base/process/kill.h" #include "build/build_config.h" #include "build/chromeos_buildfl...
43.607143
80
0.743243
[ "model" ]
fdfa343a87ed733aa544442c1a0a9dd621efd2bd
2,399
cc
C++
USACO/ZeroSum.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
USACO/ZeroSum.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
USACO/ZeroSum.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
/* ID: jeferso1 LANG: C++ TASK: zerosum */ #include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typenam...
21.419643
72
0.4802
[ "vector" ]
fdfcb5a65cc13ba2062804cb1431d9ac936ec3f1
34,215
cpp
C++
source/kinect_client.cpp
0x0AF/rgbd-recon
0f0cd3a892aed0bde01874f4be767b36478d866c
[ "MIT" ]
1
2018-03-13T13:44:33.000Z
2018-03-13T13:44:33.000Z
source/kinect_client.cpp
0x0AF/rgbd-recon
0f0cd3a892aed0bde01874f4be767b36478d866c
[ "MIT" ]
null
null
null
source/kinect_client.cpp
0x0AF/rgbd-recon
0f0cd3a892aed0bde01874f4be767b36478d866c
[ "MIT" ]
null
null
null
#include <glbinding/gl/gl.h> using namespace gl; // load glbinding function type #include <glbinding/Function.h> // load meta info extension #include <glbinding/Meta.h> // load callback support #include <glbinding/callbacks.h> //dont load gl bindings from glfw #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #includ...
32.585714
189
0.634809
[ "render", "vector", "3d" ]
fdfd954478533a946deea702af45c388b3ed62a6
26,636
cc
C++
src/nnet3/nnet-normalize-component.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
39
2021-06-16T11:38:57.000Z
2022-03-24T01:33:56.000Z
src/nnet3/nnet-normalize-component.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
8
2017-09-06T00:12:00.000Z
2019-03-22T08:03:19.000Z
src/nnet3/nnet-normalize-component.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
29
2020-01-03T22:28:27.000Z
2022-03-30T23:00:27.000Z
// nnet3/nnet-normalize-component.cc // Copyright 2015-2017 Johns Hopkins University (author: Daniel Povey) // 2015 Guoguo Chen // 2015 Daniel Galvez // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "Licen...
38.998536
137
0.643077
[ "vector", "transform" ]
fdff233843220cdda444bca5ddc7207afc9c4f49
4,999
cpp
C++
src/Cube.cpp
THOSE-EYES/MeshEditor
6a58460a3ddfeba5d372aa92cd120b0c2a108c35
[ "Apache-2.0" ]
null
null
null
src/Cube.cpp
THOSE-EYES/MeshEditor
6a58460a3ddfeba5d372aa92cd120b0c2a108c35
[ "Apache-2.0" ]
null
null
null
src/Cube.cpp
THOSE-EYES/MeshEditor
6a58460a3ddfeba5d372aa92cd120b0c2a108c35
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Illia Shvarov * * 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 ...
30.114458
127
0.69834
[ "object", "vector" ]
a902419b7208f1b21a1bd057bfa0e431044b3c5a
1,833
cpp
C++
tests/PassengerTest.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
7
2021-12-22T21:57:38.000Z
2022-01-05T18:08:17.000Z
tests/PassengerTest.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
null
null
null
tests/PassengerTest.cpp
jlcrodrigues/feup-aed
9586e984cd725292c7d76645b146ec969f788e19
[ "MIT" ]
1
2021-12-23T00:35:06.000Z
2021-12-23T00:35:06.000Z
/*#include <gtest/gtest.h> #include <gmock/gmock.h> #include "../src/Airline/Airline.h" using testing::Eq; Flight getFlight() { Airport airport1; Airport airport2; return Flight(3, Date(11, 2, 2020), Date(16,0), Date(2,0), airport1, airport2, 100); } Plane getPlane() { return Plane("83598", "A310", 310);...
28.2
90
0.678123
[ "vector" ]
a906517dd616649a0b0ca1aecfba0e62b61bd45d
4,177
cc
C++
syzygy/block_graph/transforms/fuzzing_transform.cc
nzeh/syzygy
3573e3d458dbb4285753c28a7cb42ced739f9f55
[ "Apache-2.0" ]
343
2015-01-07T05:58:44.000Z
2022-03-15T14:55:21.000Z
syzygy/block_graph/transforms/fuzzing_transform.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
61
2015-03-19T18:20:21.000Z
2019-10-23T12:58:23.000Z
syzygy/block_graph/transforms/fuzzing_transform.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
66
2015-01-20T15:35:05.000Z
2021-11-25T16:49:41.000Z
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
30.713235
76
0.717501
[ "transform" ]
a90b74e2e5f651c00c89e7939d12373425956e12
7,263
cpp
C++
compiler/v2/generics.cpp
uchan-nos/opela
bdc54486c419dd6ae569e398acb93ac96631b3d9
[ "MIT" ]
25
2020-08-28T16:31:35.000Z
2021-09-01T04:35:01.000Z
compiler/v2/generics.cpp
uchan-nos/opela
bdc54486c419dd6ae569e398acb93ac96631b3d9
[ "MIT" ]
3
2020-12-28T07:17:50.000Z
2021-01-27T01:53:20.000Z
compiler/v2/generics.cpp
uchan-nos/opela
bdc54486c419dd6ae569e398acb93ac96631b3d9
[ "MIT" ]
null
null
null
#include "generics.hpp" #include <cassert> #include <cstring> #include <functional> #include <iostream> #include <map> #include "ast.hpp" #include "magic_enum.hpp" #include "mangle.hpp" using namespace std; struct ConcContext { Source& src; TypeMap& gtype; Object* func; // 具体化を実行中の関数オブジェクト std::map<Object*,...
26.125899
83
0.604709
[ "object" ]
a90d07b41b59957a5d5d987293bd2f498e533956
9,549
cpp
C++
shared/source/os_interface/linux/ioctl_helper_prelim.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/linux/ioctl_helper_prelim.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/linux/ioctl_helper_prelim.cpp
againull/compute-runtime
3ef1ab88a4d9fad5c72e343f349365817c54da17
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/debug_settings/debug_settings_manager.h" #include "shared/source/helpers/debug_helpers.h" #include "shared/source/os_interface/linux/cache_info.h" #include "shared/source/os_interface/linux/ioctl_helper.h"...
39.296296
179
0.725626
[ "vector", "transform" ]
a90e58b02df7bc6e4ec7f1f5837d6c5d0d6a8ac8
4,769
hpp
C++
Code/Rendering/VertexArray.hpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
Code/Rendering/VertexArray.hpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
Code/Rendering/VertexArray.hpp
Tigole/OpenGL-SandBox
652d07e7b5b3aff2600f61d4e5b7114a2ebf8b24
[ "MIT" ]
null
null
null
#ifndef _VERTEX_ARRAY_HPP #define _VERTEX_ARRAY_HPP 1 #include <cstdint> #include <vector> #include <initializer_list> #include <string> #include <map> #include <memory> #include "glm/glm.hpp" //#include "ResourceManager/Resource.hpp" #include "OpenGLTranslation.hpp" class Mesh; enum class ShaderDataType { Non...
24.582474
129
0.687985
[ "mesh", "vector" ]
a910219ca340352c67e332be105855ace9b10fbb
2,409
cpp
C++
aws-cpp-sdk-opensearch/source/model/StorageType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-opensearch/source/model/StorageType.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-opensearch/source/model/StorageType.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/opensearch/model/StorageType.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namesp...
24.581633
134
0.764633
[ "model" ]
a9112ee9b512c0153d96fccbcf4177d961a23240
10,279
cc
C++
libconfig/lua/lua_config.cc
lynnlx/gear-lib
abf19104d0512eda0b1e5e49422169993e31f8b5
[ "MIT" ]
2
2019-02-26T11:02:20.000Z
2019-02-26T11:02:27.000Z
libconfig/lua/lua_config.cc
Yu-cz/gear-lib
c6902177457436f3c26902f071bd4015781aae66
[ "MIT" ]
null
null
null
libconfig/lua/lua_config.cc
Yu-cz/gear-lib
c6902177457436f3c26902f071bd4015781aae66
[ "MIT" ]
null
null
null
/****************************************************************************** * Copyright (C) 2014-2020 Zhifeng Gong <gozfree@163.com> * * 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...
27.557641
89
0.550637
[ "vector" ]
a9176e180fb08a334644d1cda7e26331d7e28152
7,520
cpp
C++
media_driver/agnostic/common/heap_manager/heap_manager.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
1
2019-09-26T23:48:34.000Z
2019-09-26T23:48:34.000Z
media_driver/agnostic/common/heap_manager/heap_manager.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
1
2019-01-05T02:54:19.000Z
2019-01-05T02:54:19.000Z
media_driver/agnostic/common/heap_manager/heap_manager.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
1
2018-01-12T06:07:55.000Z
2018-01-12T06:07:55.000Z
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
29.034749
122
0.68391
[ "vector" ]
a91ac2dfe0802de7dee5ead9ca22633687385e26
11,982
cpp
C++
xcode/strands/strands/width.cpp
DarisaLLC/ridge_strands
50766c05a40c41f7934e7fef73ae1114fccbe9dc
[ "MIT" ]
3
2021-08-30T10:54:17.000Z
2021-12-24T03:39:28.000Z
xcode/strands/strands/width.cpp
DarisaLLC/ridge_strands
50766c05a40c41f7934e7fef73ae1114fccbe9dc
[ "MIT" ]
1
2021-09-10T06:11:05.000Z
2021-09-10T06:11:05.000Z
xcode/strands/strands/width.cpp
DarisaLLC/ridge_strands
50766c05a40c41f7934e7fef73ae1114fccbe9dc
[ "MIT" ]
1
2021-08-30T10:57:48.000Z
2021-08-30T10:57:48.000Z
#include "link.h" #include "utils.hpp" using namespace std; /* * Extract the line width by using a facet model line detector on an image of * the absolute value of the gradient. */ void link::compute_line_width(std::vector<float>& dx, std::vector<float>& dy, bool correct_pos, std::vector<contour>& contours){ ...
29.153285
165
0.565098
[ "vector", "model" ]
a91c5dfc8d59167ce2eef8635417882750ec9557
3,795
cc
C++
onnxruntime/core/providers/dnnl/subgraph/dnnl_batchnorm.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
onnxruntime/core/providers/dnnl/subgraph/dnnl_batchnorm.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
onnxruntime/core/providers/dnnl/subgraph/dnnl_batchnorm.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright(C) 2021 Intel Corporation // Licensed under the MIT License #include "dnnl_batchnorm.h" #include "dnnl_subgraph.h" #include "dnnl_subgraph_primitive.h" namespace onnxruntime { namespace ort_dnnl { DnnlBatchNorm::DnnlBatchNorm() {} void DnnlBatchNorm::CreatePrimitive(DnnlSubgraphPrimitive& sp, DnnlNod...
40.806452
119
0.730171
[ "vector" ]
a91d1292ff0ad83d7112f2ba3014aff34edf586a
28,718
cc
C++
wrappers/7.0.0/vtkDendrogramItemWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkDendrogramItemWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkDendrogramItemWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkContextItemWrap.h" #include "vtkDendrogramItemWrap.h" #include "vtkObjectWrap.h" #include "vtkTreeWrap.h" #include "vtkContext2DWrap.h" #inc...
31.215217
114
0.723658
[ "object" ]
a91db0920d33815d20e0fff3df2cc78981387eba
1,506
cpp
C++
contests/codechef/cookoff126b/Prime_Tuples.cpp
Mukul-dhiman/competitive_practice
3ffa5ee05fa0ba6e7a8c7b35bbe16a82f925c23c
[ "MIT" ]
1
2021-01-30T18:32:56.000Z
2021-01-30T18:32:56.000Z
contests/codechef/cookoff126b/Prime_Tuples.cpp
Mukul-dhiman/compitative_practice
3ffa5ee05fa0ba6e7a8c7b35bbe16a82f925c23c
[ "MIT" ]
1
2021-01-30T21:54:21.000Z
2021-01-30T21:54:21.000Z
contests/codechef/cookoff126b/Prime_Tuples.cpp
Mukul-dhiman/compitative_practice
3ffa5ee05fa0ba6e7a8c7b35bbe16a82f925c23c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define FAST_IO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); #define endl "\n" #define pb push_back #define loop(i,n) for(int i=0;i<n;i++) #define iloop(a,i,n) for(int i=a;i<=n;i++) #define bug(i) cout<<"debug at:"<<__LINE__<<" "...
21.211268
78
0.492032
[ "vector" ]
a91dcaf0f3ca585a8382639cd8c2b2a90663e6b9
688
cpp
C++
cpp/tests/LetterCombinationsOfAPhoneNumberTest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
cpp/tests/LetterCombinationsOfAPhoneNumberTest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
cpp/tests/LetterCombinationsOfAPhoneNumberTest.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include "LetterCombinationsOfAPhoneNumber.h" #include "gtest/gtest.h" using namespace lcpp; TEST(LetterCombinationsOfAPhoneNumber, Solution17_1) { auto S17_1 = Solution17_1(); std::string Digits1 = "23"; std::vector<std::string> const Expected1{"ad", "ae", "af", "bd", "be", ...
32.761905
72
0.664244
[ "vector" ]
a91f6534ffa1f8022e2005cc83255d306adf77c1
3,775
cc
C++
lite/tests/kernels/softmax_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
1
2020-03-09T03:51:31.000Z
2020-03-09T03:51:31.000Z
lite/tests/kernels/softmax_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
lite/tests/kernels/softmax_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
29.960317
76
0.624371
[ "vector" ]
a92f816cded4b57f893efdd5990f2a3bfb4fe181
1,572
cc
C++
examples/pxScene2d/external/spark-webgl/src/nexus/gles2nexusimpl.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
46
2017-09-07T14:59:22.000Z
2020-10-31T20:34:12.000Z
examples/pxScene2d/external/spark-webgl/src/nexus/gles2nexusimpl.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/spark-webgl/src/nexus/gles2nexusimpl.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
#include <cstring> #include <vector> #include <iostream> #include <cstdlib> #include "../gles2impl.h" #include "Nexus.h" using namespace std; namespace gles2impl { BCMNexus::EGLTarget *eglTarget; string init(int width, int height, bool fullscreen, std::string title) { cout << "initializing BCM NEX...
30.230769
112
0.636132
[ "vector" ]
a93313b0c3fa753e69e7e994565385e20941047e
8,860
cpp
C++
nntrainer/src/layer.cpp
kparichay/nntrainer
79e37918a3ced623346e285993d6714cb5d1e14b
[ "Apache-2.0" ]
null
null
null
nntrainer/src/layer.cpp
kparichay/nntrainer
79e37918a3ced623346e285993d6714cb5d1e14b
[ "Apache-2.0" ]
null
null
null
nntrainer/src/layer.cpp
kparichay/nntrainer
79e37918a3ced623346e285993d6714cb5d1e14b
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019 Samsung Electronics Co., Ltd. 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 requ...
27.515528
80
0.638262
[ "shape", "vector", "model" ]
a933f4ccf0516a7172815adcf2cd05d81320b73e
378
cpp
C++
JeffGCPPNow2019/04_takeView.cpp
tlanc007/CPP20_Ranges
e931ecf14904f74e3baac91dfbd09766c74cf7b9
[ "MIT" ]
null
null
null
JeffGCPPNow2019/04_takeView.cpp
tlanc007/CPP20_Ranges
e931ecf14904f74e3baac91dfbd09766c74cf7b9
[ "MIT" ]
null
null
null
JeffGCPPNow2019/04_takeView.cpp
tlanc007/CPP20_Ranges
e931ecf14904f74e3baac91dfbd09766c74cf7b9
[ "MIT" ]
null
null
null
/* 04_takeView.cpp */ #include <iostream> #include <ranges> #include <vector> #include "rangeNamespace.hpp" namespace view = std::view; int main () { std::vector<int> vi {0,1,2,3,4,5}; //not sure this notation is C++20 //rng::take_view tvi(vi, 5); auto tvi {view::take (vi, 5) }; for (int i : ...
15.75
48
0.560847
[ "vector" ]
a9349b40f218d03d06a126de9f97cf2022f0035c
1,654
cxx
C++
examples/rootexample.cxx
maxisacson/DataStore
de057b48c98d66c73a510a0d8f2c31347408e445
[ "MIT" ]
null
null
null
examples/rootexample.cxx
maxisacson/DataStore
de057b48c98d66c73a510a0d8f2c31347408e445
[ "MIT" ]
null
null
null
examples/rootexample.cxx
maxisacson/DataStore
de057b48c98d66c73a510a0d8f2c31347408e445
[ "MIT" ]
null
null
null
#include "DataStore.h" #include <TFile.h> #include <TTree.h> #include <TH1.h> #include <vector> int main() { TFile* f = TFile::Open("tree.root"); TFile* out = TFile::Open("out.root", "RECREATE"); TH1D * h = new TH1D("gaus", "gaussian", 50, -5, 5); TH1D * m = new TH1D("gaus_m", "gaussian(80, 2)", 50, 70, 90); ...
23.295775
82
0.579202
[ "vector" ]
a93d2753598fedf307fa0e84dd69171a7fb372fd
2,894
cpp
C++
Samples/WebService/Sources/Main.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Samples/WebService/Sources/Main.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Samples/WebService/Sources/Main.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "Stroika/Frameworks/StroikaPreComp.h" #include <iostream> #include "Stroika/Foundation/Characters/String2Int.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/Containers/Sequence.h" #include "Stro...
36.632911
202
0.641672
[ "object", "vector" ]
a944a351625b371965d4bdbdfa00b275dd16611c
6,264
cpp
C++
Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialFunctorSourceDataSerializer.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialFunctorSourceDataSerializer.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Gems/Atom/RPI/Code/Source/RPI.Edit/Material/MaterialFunctorSourceDataSerializer.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/RPI.Edit/Material/MaterialFunctorSourceDataSerializer.h> #include <Atom/RPI.Edit/Ma...
47.097744
159
0.668423
[ "object", "3d" ]
a9479f36b4fe6b3383f8c2cb8cacc679fe3e0965
2,109
cpp
C++
src/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/experimental_detectron_topkrois.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
1
2021-10-21T03:04:16.000Z
2021-10-21T03:04:16.000Z
src/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/experimental_detectron_topkrois.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
58
2020-11-06T12:13:45.000Z
2022-03-28T13:20:11.000Z
src/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/experimental_detectron_topkrois.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2
2019-09-20T01:33:37.000Z
2019-09-20T08:42:11.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include "single_layer_tests/experimental_detectron_topkrois.hpp" using namespace ov::test; using namespace ov::test::subgraph; namespace { std::vector<int64_t> maxRois { 1000, 1500, 2000, ...
37.660714
108
0.526316
[ "vector" ]
a948f0901d5a61742c4de90134b4c90a99a28f48
2,781
cc
C++
SimPPS/PPSPixelDigiProducer/plugins/RPixDetDigitizer.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
SimPPS/PPSPixelDigiProducer/plugins/RPixDetDigitizer.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
SimPPS/PPSPixelDigiProducer/plugins/RPixDetDigitizer.cc
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
#include <vector> #include <iostream> #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "SimPPS/PPSPixelDigiProducer/interface/RPixDetDigitizer.h" #include "Geometry/VeryForwardGeometry/interface/CTPPSPixelTopology.h" RPixDetDigitizer::RPixDetDigitizer(const edm::ParameterSet &params, ...
49.660714
102
0.7073
[ "geometry", "vector" ]
a94aaee2120d050b4a92b0a7de007f6c54c15916
6,440
cpp
C++
src/components/config.cpp
maciekMerkury/polybar-dwm-module
012a8638c384da7f774d1604ee739c01f83113e2
[ "MIT" ]
102
2020-07-24T03:33:01.000Z
2022-03-29T01:21:47.000Z
src/components/config.cpp
maciekMerkury/polybar-dwm-module
012a8638c384da7f774d1604ee739c01f83113e2
[ "MIT" ]
35
2020-07-17T05:46:16.000Z
2022-03-21T08:56:00.000Z
src/components/config.cpp
maciekMerkury/polybar-dwm-module
012a8638c384da7f774d1604ee739c01f83113e2
[ "MIT" ]
19
2020-07-24T08:36:15.000Z
2021-12-19T18:46:47.000Z
#include "components/config.hpp" #include <climits> #include <fstream> #include "cairo/utils.hpp" #include "utils/color.hpp" #include "utils/env.hpp" #include "utils/factory.hpp" #include "utils/string.hpp" POLYBAR_NS namespace chrono = std::chrono; /** * Create instance */ config::make_type config::make(string ...
26.502058
118
0.665994
[ "vector" ]
a94b67292e1ececa308956c4c5b66c122712dae8
1,335
cpp
C++
Data Structure/Parentheses-balance/c++-solution/balance.cpp
me-shaon/coding-interview-prep
cbfe358030fd48406d914f9c1f7c9d418ab925c7
[ "MIT" ]
1
2021-06-03T08:26:52.000Z
2021-06-03T08:26:52.000Z
Data Structure/Parentheses-balance/c++-solution/balance.cpp
me-shaon/coding-interview-prep
cbfe358030fd48406d914f9c1f7c9d418ab925c7
[ "MIT" ]
null
null
null
Data Structure/Parentheses-balance/c++-solution/balance.cpp
me-shaon/coding-interview-prep
cbfe358030fd48406d914f9c1f7c9d418ab925c7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstring> #include <stack> #include <iomanip> using namespace std; bool isOpen(char c) { if(c == '(' || c == '{' || c == '[') return true; return false; } bool isBalanced(char popped, char now) { if(popped == '(' && now ==')') return true; ...
21.532258
126
0.501124
[ "vector" ]
a95597d909477764ac8d157c8ed9eb514e27261f
11,164
hpp
C++
include/checked_mutex.hpp
alishewn/yamc
f4ed5182c04c674c0e19992410578b327d768831
[ "MIT" ]
101
2017-01-19T10:38:06.000Z
2021-12-16T22:29:45.000Z
include/checked_mutex.hpp
alishewn/yamc
f4ed5182c04c674c0e19992410578b327d768831
[ "MIT" ]
25
2017-01-18T09:22:15.000Z
2022-03-30T12:50:32.000Z
include/checked_mutex.hpp
alishewn/yamc
f4ed5182c04c674c0e19992410578b327d768831
[ "MIT" ]
15
2017-10-28T03:54:42.000Z
2022-03-28T20:39:12.000Z
/* * checked_mutex.hpp * * MIT License * * Copyright (c) 2017 yohhoy * * 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 *...
26.517815
116
0.678699
[ "object" ]
a9566bd6dee3c4c868315077b2bbd0819730b459
3,107
hh
C++
C/Cpp_include/c4Observer.hh
mhocouchbase/couchbase-lite-core
8a527a066b703c8865b4e61cbd9e3d41d81ba5ef
[ "Apache-2.0" ]
null
null
null
C/Cpp_include/c4Observer.hh
mhocouchbase/couchbase-lite-core
8a527a066b703c8865b4e61cbd9e3d41d81ba5ef
[ "Apache-2.0" ]
null
null
null
C/Cpp_include/c4Observer.hh
mhocouchbase/couchbase-lite-core
8a527a066b703c8865b4e61cbd9e3d41d81ba5ef
[ "Apache-2.0" ]
null
null
null
// // c4Observer.hh // // Copyright 2021-Present Couchbase, Inc. // // Use of this software is governed by the Business Source License included // in the file licenses/BSL-Couchbase.txt. As of the Change Date specified // in that file, in accordance with the Business Source License, use of this // software will be gov...
39.833333
98
0.64757
[ "object" ]
a95694e077a536e50b12720f79abed350d42f5fe
7,613
cpp
C++
src/cold.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
1
2018-09-16T03:17:50.000Z
2018-09-16T03:17:50.000Z
src/cold.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
src/cold.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
#include "system.h" int obj_data :: vs_cold( ) { int save = 100; int i; for( i = 0; i < MAX_MATERIAL; i++ ) if( is_set( &pIndexData->materials, i ) ) save = min( save, material_table[i].save_cold ); if( pIndexData->item_type != ITEM_ARMOR || pIndexData->item_type != ITEM_WEAPON || p...
30.090909
156
0.665703
[ "solid" ]
a95c70a74434d7a11a7d855b2d7a6b6b93f943c4
2,164
cpp
C++
benchmark/askit_release/rkdtsrc/parallelIO/test_display_file.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
20
2019-05-14T20:08:08.000Z
2021-09-22T20:48:29.000Z
benchmark/askit_release/rkdtsrc/parallelIO/test_display_file.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
2
2020-10-06T09:47:52.000Z
2020-10-09T04:27:39.000Z
benchmark/askit_release/rkdtsrc/parallelIO/test_display_file.cpp
maumueller/rehashing
38fe7a1a71fcc5ecd10384fac01bfeb134ea5fad
[ "MIT" ]
2
2019-08-11T22:29:45.000Z
2020-10-08T20:02:46.000Z
#include <mpi.h> #include <iostream> #include <fstream> #include <cctype> #include <omp.h> #include <string> #include <climits> #include "CmdLine.h" #include "parallelIO.h" #include "generator.h" using namespace Torch; using namespace std; void printpbyp(double *arr, int numof_points, int dim, MPI_Comm comm) { i...
23.268817
89
0.5878
[ "vector" ]
a96a133e1ffa0e0abbe87a648913948f555228a5
636
hpp
C++
Sniper.hpp
talcome/WarGame
1af9cba399cae255d95618814881f06021f5a239
[ "MIT" ]
null
null
null
Sniper.hpp
talcome/WarGame
1af9cba399cae255d95618814881f06021f5a239
[ "MIT" ]
null
null
null
Sniper.hpp
talcome/WarGame
1af9cba399cae255d95618814881f06021f5a239
[ "MIT" ]
null
null
null
#pragma once #include "Soldier.hpp" namespace WarGame { class Sniper : public Soldier { public: explicit Sniper(uint playerID): Soldier(playerID,100,100,50){} Sniper(uint playerID, uint currHealth,uint maxHealth,uint damage):Soldier(playerID,currHealth,maxHealth,damage){} ...
31.8
125
0.632075
[ "vector" ]
a96c28ed36ad060357584abf1cddf773a449c3ca
2,609
cpp
C++
exercises/Perception-Driven_Manipulation/ros2/template_ws/src/pick_and_place_application/src/tasks/detect_box_pick.cpp
DaveBGld/industrial_training
e3cbc892971b995625102d549846f4fc6c783df8
[ "Apache-2.0" ]
324
2015-01-31T07:35:37.000Z
2022-03-27T09:30:14.000Z
exercises/Perception-Driven_Manipulation/ros2/template_ws/src/pick_and_place_application/src/tasks/detect_box_pick.cpp
AhmedMounir/industrial_training
e6761c7bee65d3802fee6cf7c99e3113d3dc1af2
[ "Apache-2.0" ]
226
2015-01-20T17:15:56.000Z
2022-01-19T04:55:23.000Z
exercises/Perception-Driven_Manipulation/ros2/template_ws/src/pick_and_place_application/src/tasks/detect_box_pick.cpp
AhmedMounir/industrial_training
e6761c7bee65d3802fee6cf7c99e3113d3dc1af2
[ "Apache-2.0" ]
219
2015-03-29T03:05:11.000Z
2022-03-23T11:12:43.000Z
#include <pick_and_place_application/pick_and_place.h> #include <tf2_geometry_msgs/tf2_geometry_msgs.h> /* DETECTING BOX PICK POSE Goal: - Get the box location in the world frame by calling the target recognition service. - Return the box pose. */ geometry_msgs::msg::Pose pick_and_place_application::PickAndP...
35.256757
120
0.725949
[ "object", "shape" ]
a96ce884255c63811ced8d745bf0038f6c6aecf8
18,416
cpp
C++
src/mongo/db/repl/tenant_migration_donor_op_observer.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/repl/tenant_migration_donor_op_observer.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/repl/tenant_migration_donor_op_observer.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
48.719577
100
0.641887
[ "vector" ]
a977125c4a4921e869197359339ce2d52c9aa2b1
18,372
cpp
C++
intel_extension_for_pytorch/csrc/aten/cpu/PixelShuffle.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/PixelShuffle.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/PixelShuffle.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
#include <ATen/NativeFunctions.h> #include <c10/util/Exception.h> #include <ATen/ATen.h> #include <ATen/Dispatch.h> #include <ATen/Parallel.h> #include <ATen/native/DispatchStub.h> #include <ATen/native/cpu/utils.h> #include <algorithm> #include <numeric> #include <vector> #include "PixelShuffle.h" #include "csrc/aut...
33.896679
79
0.671511
[ "shape", "vector" ]
a97a4b2062ede8e6d996c6495912b87ce2e5d532
6,296
cpp
C++
probot_anno_demo/src/probot_sync_demo.cpp
ps-micro/PROBOT_Anno
9ead90472c454405a65b28f0ca191b447e3e09ab
[ "Apache-2.0" ]
71
2019-04-16T09:22:26.000Z
2022-03-14T06:16:26.000Z
probot_anno_demo/src/probot_sync_demo.cpp
ps-micro/probot_ros
9ead90472c454405a65b28f0ca191b447e3e09ab
[ "Apache-2.0" ]
7
2020-01-14T16:57:59.000Z
2022-02-07T11:51:51.000Z
probot_anno_demo/src/probot_sync_demo.cpp
ps-micro/probot_ros
9ead90472c454405a65b28f0ca191b447e3e09ab
[ "Apache-2.0" ]
26
2019-04-16T08:48:21.000Z
2021-11-26T06:59:03.000Z
/*********************************************************************** Copyright 2019 Wuhan PS-Micro Technology Co., Itd. 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...
31.959391
174
0.62913
[ "vector" ]
a97dc7c28eb4863faffa7267cd478b0ce23c4269
142,266
cpp
C++
gecode/flatzinc/parser.tab.cpp
LeslieW/gecode-clone
ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c
[ "MIT-feh" ]
null
null
null
gecode/flatzinc/parser.tab.cpp
LeslieW/gecode-clone
ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c
[ "MIT-feh" ]
null
null
null
gecode/flatzinc/parser.tab.cpp
LeslieW/gecode-clone
ab3ab207c98981abfe4c52f01b248ec7bc4e8e8c
[ "MIT-feh" ]
null
null
null
/* A Bison parser, made by GNU Bison 2.7. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publi...
35.442451
158
0.507999
[ "vector", "model" ]
a97de92f88ea94fb019cc7c746e05e0d1534660e
6,675
cpp
C++
Modules/planning/local_planner/src/apf.cpp
w407022008/Prometheus
385694ef6c692237cd3e71208973f30fd1a67e1e
[ "BSD-3-Clause" ]
null
null
null
Modules/planning/local_planner/src/apf.cpp
w407022008/Prometheus
385694ef6c692237cd3e71208973f30fd1a67e1e
[ "BSD-3-Clause" ]
null
null
null
Modules/planning/local_planner/src/apf.cpp
w407022008/Prometheus
385694ef6c692237cd3e71208973f30fd1a67e1e
[ "BSD-3-Clause" ]
null
null
null
#include "apf.h" #include "math.h" namespace Local_Planning { Eigen::Vector3d last_desired_vel; auto min=[](double v1, double v2)->double { return v1<v2 ? v1 : v2; }; auto max=[](double v1, double v2)->double { return v1<v2 ? v1 : v2; }; auto sign=[](double v)->double { return v<0.0...
29.799107
163
0.628315
[ "vector" ]
a9817d102765ee93df8694386b2cd0ae160ed19d
1,144
cpp
C++
src/generator.cpp
Joklost/geo
8bf792dfbd6e0be7ac6c24996e5219da374fec98
[ "MIT" ]
1
2019-03-22T12:24:45.000Z
2019-03-22T12:24:45.000Z
src/generator.cpp
Joklost/geo
8bf792dfbd6e0be7ac6c24996e5219da374fec98
[ "MIT" ]
null
null
null
src/generator.cpp
Joklost/geo
8bf792dfbd6e0be7ac6c24996e5219da374fec98
[ "MIT" ]
null
null
null
#include <iomanip> #include <geo/generator.h> #include <geo/geo.h> std::vector<std::string> grid(geo::Location &point, unsigned long len, double gap, double time_end, double time_gap) { if (time_end <= time_gap && time_end <= 0.0 && time_gap <= 0.0) { throw std::runtime_error("time_end and time_gap must b...
28.6
118
0.479895
[ "vector" ]
a983d7db9e7292389523d4ee6f0782e4b0f371f0
30,699
cc
C++
execution/src/windows/execution.cc
lucywyman/leatherman
0d79e5a012c9451700bbe64e28849f8b5dc8629c
[ "Apache-2.0" ]
55
2015-08-27T13:17:42.000Z
2022-02-07T15:19:59.000Z
execution/src/windows/execution.cc
lucywyman/leatherman
0d79e5a012c9451700bbe64e28849f8b5dc8629c
[ "Apache-2.0" ]
236
2015-02-23T23:50:10.000Z
2021-09-01T18:09:12.000Z
execution/src/windows/execution.cc
lucywyman/leatherman
0d79e5a012c9451700bbe64e28849f8b5dc8629c
[ "Apache-2.0" ]
88
2015-02-23T22:40:27.000Z
2022-02-07T15:19:59.000Z
#include <leatherman/execution/execution.hpp> #include <leatherman/util/environment.hpp> #include <leatherman/util/scope_exit.hpp> #include <leatherman/util/windows/scoped_handle.hpp> #include <leatherman/util/scoped_env.hpp> #include <leatherman/windows/system_error.hpp> #include <leatherman/windows/windows.hpp> #incl...
43.606534
231
0.55764
[ "object", "vector" ]
a98a7c78338149bb8066f7ac9fc3ed34bebb1f45
13,707
hpp
C++
src/xapp-asn/e2ap/e2ap_subscription_request.hpp
zeinabshahbazi2020/hwx
308a28051f95dd66fba5ee09565f46eb821e605b
[ "Apache-2.0" ]
2
2020-10-14T00:21:43.000Z
2021-07-19T21:33:21.000Z
src/xapp-asn/e2ap/e2ap_subscription_request.hpp
zeinabshahbazi2020/hwx
308a28051f95dd66fba5ee09565f46eb821e605b
[ "Apache-2.0" ]
null
null
null
src/xapp-asn/e2ap/e2ap_subscription_request.hpp
zeinabshahbazi2020/hwx
308a28051f95dd66fba5ee09565f46eb821e605b
[ "Apache-2.0" ]
5
2021-07-07T06:42:49.000Z
2022-02-14T23:33:26.000Z
/* ================================================================================== Copyright (c) 2019-2020 AT&T Intellectual Property. 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 Licen...
38.830028
164
0.758518
[ "vector" ]
a98e14074be268ff9e4d24847d8ea06aed468aeb
3,821
cpp
C++
src/Scene/Scene.cpp
moneil113/RayTrace
0fd1264b6da395c038b1235485b210c0d8d4655f
[ "MIT" ]
null
null
null
src/Scene/Scene.cpp
moneil113/RayTrace
0fd1264b6da395c038b1235485b210c0d8d4655f
[ "MIT" ]
null
null
null
src/Scene/Scene.cpp
moneil113/RayTrace
0fd1264b6da395c038b1235485b210c0d8d4655f
[ "MIT" ]
null
null
null
#include <iostream> #include "Scene.h" #include "Ray.h" #define EPSILON 0.001f using namespace std; Scene::Scene() : renderer(this) { } void Scene::print() { cout << camera.to_string(); cout << "\n---\n\n"; cout << lights.size() << " light(s)\n"; for (size_t i = 0; i < lights.size(); i++) { ...
21.227778
81
0.563465
[ "geometry", "render", "object" ]
8178e47d893dd9ab413fd1b990162db8ba061a10
24,143
cpp
C++
copasi/sbml/unittests/test000095.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
64
2015-03-14T14:06:18.000Z
2022-02-04T23:19:08.000Z
copasi/sbml/unittests/test000095.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
4
2017-08-16T10:26:46.000Z
2020-01-08T12:05:54.000Z
copasi/sbml/unittests/test000095.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
28
2015-04-16T14:14:59.000Z
2022-03-28T12:04:14.000Z
// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2011 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and Th...
43.344704
122
0.666653
[ "object", "model" ]
81794cfe3397c04b00dcc2386240c27ec1b27a71
42,770
cpp
C++
legion/engine/core/data/loaders/gltfmeshloader.cpp
Legion-Engine/Legion-Engine
a2b898e1cc763b82953c6990dde0b379491a30d0
[ "MIT" ]
258
2020-10-22T07:09:57.000Z
2021-09-09T05:47:09.000Z
legion/engine/core/data/loaders/gltfmeshloader.cpp
Legion-Engine/Legion-Engine
a2b898e1cc763b82953c6990dde0b379491a30d0
[ "MIT" ]
51
2020-11-17T13:02:10.000Z
2021-09-07T18:19:39.000Z
legion/engine/core/data/loaders/gltfmeshloader.cpp
Legion-Engine/Legion-Engine
a2b898e1cc763b82953c6990dde0b379491a30d0
[ "MIT" ]
13
2020-12-08T08:06:48.000Z
2021-09-09T05:47:19.000Z
#if !defined(DOXY_EXCLUDE) #define TINYGLTF_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION #define TINYGLTF_USE_CPP14 #include <tinygltf/tiny_gltf.h> #endif #include <core/data/loaders/gltfmeshloader.hpp> namespace legion::core { namespace detail { static assets::asset<image> loadGLTFImage(con...
48.437146
217
0.542296
[ "mesh", "vector", "model", "transform" ]
8183d20ca6de6f6095898f5aa6085a27fec53eeb
3,798
cpp
C++
plugins/mesh/src/AbstractMeshDataSource.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
plugins/mesh/src/AbstractMeshDataSource.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
plugins/mesh/src/AbstractMeshDataSource.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
null
null
null
#include "mesh/AbstractMeshDataSource.h" megamol::mesh::AbstractMeshDataSource::AbstractMeshDataSource() : core::Module() , m_mesh_access_collection({nullptr, {}}) , m_mesh_lhs_slot("meshes", "The slot publishing the loaded data") , m_mesh_rhs_slot("chainMeshes", "The slot for chainin...
38.755102
118
0.705898
[ "mesh", "vector" ]
81848866937f0ee2b5d646b4303085d0915a9bc4
1,894
cpp
C++
Contests/USACO Solutions/2014-15/Open 2015 Gold/15 Open G2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2014-15/Open 2015 Gold/15 Open G2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2014-15/Open 2015 Gold/15 Open G2.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
// #include<iostream> #include<fstream> #include<set> #include<map> #include<unordered_map> #include<cmath> #include<cstring> #include<string> #include<bitset> #include<algorithm> #include<vector> #include <bits/stdc++.h> using namespace std; //using namespace __gnu_pbds; typedef long long ll; typed...
24.282051
99
0.528511
[ "vector" ]
81851dc168264c183c90328dc91c4d654aaed98a
6,887
cpp
C++
benchmarks/static_rtree.cpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
1
2016-11-29T15:02:40.000Z
2016-11-29T15:02:40.000Z
benchmarks/static_rtree.cpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
1
2019-02-04T18:10:57.000Z
2019-02-04T18:10:57.000Z
benchmarks/static_rtree.cpp
Mapotempo/osrm-backend
a62c10321c0a269e218ab4164c4ccd132048f271
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2015, Project OSRM contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
37.429348
100
0.664876
[ "vector" ]
8185dff41b990b5a98fa3b79d83e94bbdbe27d84
27,268
cpp
C++
external/SoWin/src/Inventor/Win/viewers/FullViewer.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
7
2018-03-07T06:51:41.000Z
2020-05-22T08:32:54.000Z
external/SoWin/src/Inventor/Win/viewers/FullViewer.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
1
2019-03-06T08:59:24.000Z
2019-03-06T08:59:24.000Z
external/SoWin/src/Inventor/Win/viewers/FullViewer.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
8
2018-05-02T20:16:07.000Z
2021-06-10T03:06:04.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
30.09713
125
0.665102
[ "object" ]
8187b8dcaf4279814c9b1c9d025567e8222fba33
2,576
cpp
C++
android/android_9/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/ml/nn/driver/sample/SampleDriverAll.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.454545
97
0.665761
[ "vector", "model" ]
818839ed8ca40e3e23c54c3e41e05b257a0598b4
3,994
cc
C++
src/tasks/client-integrity-task.cc
muflihun/residue
4fb7506b72335bd931e1d6364d1d2690b5b0fcb5
[ "Apache-2.0" ]
18
2017-02-11T22:10:13.000Z
2018-10-07T00:46:45.000Z
src/tasks/client-integrity-task.cc
amrayn/residue
4fb7506b72335bd931e1d6364d1d2690b5b0fcb5
[ "Apache-2.0" ]
46
2017-03-21T06:22:44.000Z
2018-09-24T05:00:02.000Z
src/tasks/client-integrity-task.cc
amrayn/residue
4fb7506b72335bd931e1d6364d1d2690b5b0fcb5
[ "Apache-2.0" ]
5
2020-11-06T10:50:39.000Z
2021-11-06T01:47:18.000Z
// // client-integrity-task.cc // Residue // // Copyright 2017-present Amrayn Web Services // https://amrayn.com // // Author: @abumusamq // // 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 Lice...
37.679245
128
0.585628
[ "vector" ]
818cdcb64b2fb72af2e3239951f7fb52fdc20eeb
5,098
hpp
C++
openstudiocore/src/model/CoilCoolingLowTempRadiantVarFlow_Impl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/CoilCoolingLowTempRadiantVarFlow_Impl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/CoilCoolingLowTempRadiantVarFlow_Impl.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
33.761589
143
0.681248
[ "vector", "model" ]
819119c0d9442bfda5189057ed206382a88c6d22
1,806
cpp
C++
figures/src/PCP/Curvature/Curvature.cpp
STORM-IRIT/algebraic-shape-operator
8de592549562cf8cff51044a459ce64a75176e42
[ "MIT" ]
4
2021-07-29T18:19:36.000Z
2022-02-12T12:42:52.000Z
figures/src/PCP/Curvature/Curvature.cpp
STORM-IRIT/algebraic-shape-operator
8de592549562cf8cff51044a459ce64a75176e42
[ "MIT" ]
2
2021-07-12T08:51:46.000Z
2021-07-14T09:38:17.000Z
figures/src/PCP/Curvature/Curvature.cpp
STORM-IRIT/algebraic-shape-operator
8de592549562cf8cff51044a459ce64a75176e42
[ "MIT" ]
4
2021-07-12T08:52:53.000Z
2021-09-17T11:40:21.000Z
#include <PCP/Curvature/Curvature.h> #include <PCP/Curvature/GlobalEstimationData.h> #include <PCP/Geometry/Geometry.h> #include <PCP/Common/Progress.h> #include <PCP/Common/Macro.h> namespace pcp { // --------> Name ori. H N ...
47.526316
138
0.612957
[ "geometry" ]
8191e6d0fa08b5076e95dbac34b48860592c52a5
65,305
cpp
C++
lib/src/mask/mergerMask.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/src/mask/mergerMask.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/src/mask/mergerMask.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "mergerMask.hpp" #include "seamFinder.hpp" #include "core/controllerInputFrames.hpp" #include "core1/bounds.hpp" #include "core1/imageMapping.hpp" #include "core1/imageMerger.hpp" #include "core1/panoRemapper.hpp" #include "core1/input...
44.095206
120
0.654498
[ "vector", "transform" ]
8195566daea870c14dd4ef90e28e02ee5c6e8f80
14,001
hpp
C++
Graphics/GraphicsEngineVulkan/include/ShaderResourceCacheVk.hpp
luzpaz/DiligentCore
3eaf45aa4785bf566b307613c56b41d67799c5e7
[ "Apache-2.0" ]
null
null
null
Graphics/GraphicsEngineVulkan/include/ShaderResourceCacheVk.hpp
luzpaz/DiligentCore
3eaf45aa4785bf566b307613c56b41d67799c5e7
[ "Apache-2.0" ]
null
null
null
Graphics/GraphicsEngineVulkan/include/ShaderResourceCacheVk.hpp
luzpaz/DiligentCore
3eaf45aa4785bf566b307613c56b41d67799c5e7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
43.616822
137
0.620956
[ "object", "vector" ]
8197322cb55ab8abf8fdf510ddb63eeb7393b3f9
750
cpp
C++
libs/core/render/test/src/gl/unit_test_core_render_gl_primitive_topology.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/test/src/gl/unit_test_core_render_gl_primitive_topology.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/test/src/gl/unit_test_core_render_gl_primitive_topology.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_core_render_gl_primitive_topology.cpp * * @brief PrimitiveTopology のテスト * * @author myoukaku */ #include <bksge/core/render/gl/detail/primitive_topology.hpp> #include <bksge/core/render/primitive_topology.hpp> #include <bksge/core/render/config.hpp> #include <gtest/gtest.h> G...
34.090909
110
0.762667
[ "render" ]
819987800810710eeab49ad19487e1040e665956
6,814
hpp
C++
irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/motion_control/wall_follow_states.hpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
14
2021-10-21T10:43:09.000Z
2022-03-22T13:30:44.000Z
irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/motion_control/wall_follow_states.hpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
49
2021-10-20T19:00:08.000Z
2022-03-28T11:12:51.000Z
irobot_create_common/irobot_create_nodes/include/irobot_create_nodes/motion_control/wall_follow_states.hpp
roni-kreinin/create3_sim
637f02b9f7ddcc28de35e5e003c998290a51fccd
[ "BSD-3-Clause" ]
10
2021-10-20T16:26:15.000Z
2022-03-21T00:35:24.000Z
// Copyright 2021 iRobot Corporation. All Rights Reserved. // @author Justin Kearns (jkearns@irobot.com) #ifndef IROBOT_CREATE_NODES__MOTION_CONTROL__WALL_FOLLOW_STATES_HPP_ #define IROBOT_CREATE_NODES__MOTION_CONTROL__WALL_FOLLOW_STATES_HPP_ #include <irobot_create_msgs/action/wall_follow.hpp> #include <irobot_creat...
37.646409
100
0.76695
[ "vector", "transform" ]
81a59f01fcaaaf3bdda3f8c187ee2461a112c63b
3,018
cpp
C++
graph-source-code/510-C/9707144.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/510-C/9707144.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/510-C/9707144.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include<stdio.h> #include<iostream> #include<sstream> #include<queue> #include<math.h> #include<stdlib.h> #include<stack> #include<string.h> #include<string> #include<map> #include<algorithm> #include<time.h> #include<set> #include<vector> #include<numeric> #include<iomanip> #inclu...
22.522388
96
0.560968
[ "vector" ]
81a5fb238062efa3e0dbc76c8805e8cb40a5eb1e
748
cc
C++
cinn/hlir/framework/scope.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
1
2019-10-23T09:16:23.000Z
2019-10-23T09:16:23.000Z
cinn/hlir/framework/scope.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
cinn/hlir/framework/scope.cc
edithgogo/CINN
bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292
[ "Apache-2.0" ]
null
null
null
#include "cinn/hlir/framework/scope.h" #include "cinn/common/common.h" namespace cinn { namespace hlir { namespace framework { Variable* Scope::FindVar(const std::string& name) const { auto it = data_.find(name); if (it != data_.end()) return it->second.get(); return nullptr; } Tensor Scope::GetTensor(const s...
22.666667
60
0.671123
[ "vector" ]
81ab0f65977c40fc4c6971c0b684ef7e4c3118b9
1,466
hh
C++
src/FreeflyCam.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
src/FreeflyCam.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
src/FreeflyCam.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <typed-geometry/types/pos.hh> #include <typed-geometry/types/quat.hh> #include <typed-geometry/types/vec.hh> namespace gamedev { // simple camera state struct FreeflyCamState { tg::pos3 position = tg::pos3(0); tg::vec3 forward = tg::vec3(0, 0, 1); void moveRelative...
29.32
101
0.72101
[ "geometry" ]
81b799ede6fffc96667904c24b1a307e38788868
7,768
cpp
C++
clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
nickbabcock/EECS381StyleCheck
271a15140229e5dbc1798328edfe6ca8c632a7be
[ "MIT" ]
3
2018-03-22T05:23:45.000Z
2018-09-11T17:19:08.000Z
clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
nickbabcock/EECS381StyleCheck
271a15140229e5dbc1798328edfe6ca8c632a7be
[ "MIT" ]
null
null
null
clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
nickbabcock/EECS381StyleCheck
271a15140229e5dbc1798328edfe6ca8c632a7be
[ "MIT" ]
null
null
null
//===--- DanglingHandleCheck.cpp - clang-tidy------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
41.100529
80
0.617147
[ "vector" ]
81be1cf06b2a6868ebf9f7dc993176a4cf26fdfa
573
cpp
C++
leetcode/1461. Check If a String Contains All Binary Codes of Size K/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-11T01:23:10.000Z
2021-02-11T01:23:10.000Z
leetcode/1461. Check If a String Contains All Binary Codes of Size K/s1.cpp
AnupSadhukhan/LeetCode
725c22ec2f11f5232fd7ab6d63ab4fcd800f201b
[ "Fair" ]
null
null
null
leetcode/1461. Check If a String Contains All Binary Codes of Size K/s1.cpp
AnupSadhukhan/LeetCode
725c22ec2f11f5232fd7ab6d63ab4fcd800f201b
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
// OJ: https://leetcode.com/problems/check-if-a-string-contains-all-binary-codes-of-size-k/ // Author: github.com/lzl124631x // Time: O(N + min(N, 2^K))) // Space: O(2^K) class Solution { public: bool hasAllCodes(string s, int k) { vector<bool> v(1 << k); int n = 0, mask = (1 << k) - 1; for ...
30.157895
91
0.448517
[ "vector" ]
81c0a474d7003f6ed075d152f298b8924096f3d0
33,795
cpp
C++
test/unittests/lib/parser/test_ParserNumericInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
test/unittests/lib/parser/test_ParserNumericInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
test/unittests/lib/parser/test_ParserNumericInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <variant> #include <vector> #include <Error.hpp> #include <parser/ParserContext.hpp> #include <parser/ParserNumericInstr.hpp> #include <structure/BaseInstr.hpp> #include <Helper.hpp> TEST(unittest_ParserNumericInstr, i32_clz){ std::vector<char> data(create_char_vector("i32.clz")); ...
34.590583
68
0.762213
[ "vector" ]
81c1d1a7af1ebe0df5711cf0153195eefd47d8c4
6,944
cc
C++
unix/iumlapi/src/Entity.cc
skind30/iuml-dumper
258bf82f3d00f502e52fdee325f06a8637bc9842
[ "Apache-2.0" ]
null
null
null
unix/iumlapi/src/Entity.cc
skind30/iuml-dumper
258bf82f3d00f502e52fdee325f06a8637bc9842
[ "Apache-2.0" ]
null
null
null
unix/iumlapi/src/Entity.cc
skind30/iuml-dumper
258bf82f3d00f502e52fdee325f06a8637bc9842
[ "Apache-2.0" ]
4
2019-03-20T15:13:23.000Z
2020-09-03T20:46:04.000Z
// // Filename : Entity.cc // // UK Crown Copyright (c) 2005. All Rights Reserved // #include "iumlapi/iUMLAPI.hh" #include "iumlapi/Entity.hh" #include <algorithm> iUMLAPI::Entity::Entity() : valid(false) { } iUMLAPI::Entity::Entity(const API_ENTITY& other) : valid(true) { iUMLAPI::copy_of_entity(other,entit...
25.623616
223
0.660426
[ "vector" ]
81c42a64e0ea3e05738df2c0ee42310d7cc4d06e
1,814
cpp
C++
Problems/Hackerrank/minimumBribes2.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/Hackerrank/minimumBribes2.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/Hackerrank/minimumBribes2.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
/****************************************************************************** Problem: Array - Minimum Bribes (HR) *******************************************************************************/ #include <iostream> #include <vector> #include <cmath> void minimumBribes(std::vector<int> q) { const int bribeLimit = ...
25.194444
81
0.491731
[ "vector" ]
81c68eb2e9e387fefcb226e0f76796c8deca7809
3,070
cpp
C++
Modules/M2aiaSignalProcessing/Testing/m2CalibrationTest.cpp
ivowolf/M2aia
03cfe3495bc706cbb0b00a2916b8f0a3cb398e25
[ "BSD-3-Clause" ]
7
2021-07-22T06:52:01.000Z
2022-02-17T12:53:31.000Z
Modules/M2aiaSignalProcessing/Testing/m2CalibrationTest.cpp
ivowolf/M2aia
03cfe3495bc706cbb0b00a2916b8f0a3cb398e25
[ "BSD-3-Clause" ]
4
2021-07-25T22:29:33.000Z
2022-02-22T13:21:30.000Z
Modules/M2aiaSignalProcessing/Testing/m2CalibrationTest.cpp
ivowolf/M2aia
03cfe3495bc706cbb0b00a2916b8f0a3cb398e25
[ "BSD-3-Clause" ]
2
2021-06-23T11:53:11.000Z
2021-07-22T06:14:24.000Z
/*=================================================================== MSI applications for interactive analysis in MITK (M2aia) Copyright (c) Jonas Cordes All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE....
28.962264
135
0.634853
[ "vector", "transform" ]
81c798c51e5bbecb3ceb20cb83cb49d8bf57a843
4,612
hpp
C++
benchmark/benchmark.hpp
bysoul/viper
79ebf6e9248b6734244fb9b52d4cafaf703611b2
[ "BSD-2-Clause" ]
48
2021-04-28T11:39:40.000Z
2022-03-19T06:10:59.000Z
benchmark/benchmark.hpp
bysoul/viper
79ebf6e9248b6734244fb9b52d4cafaf703611b2
[ "BSD-2-Clause" ]
12
2021-04-28T18:21:43.000Z
2022-03-07T12:50:19.000Z
benchmark/benchmark.hpp
bysoul/viper
79ebf6e9248b6734244fb9b52d4cafaf703611b2
[ "BSD-2-Clause" ]
16
2021-05-25T22:32:32.000Z
2022-03-30T10:48:34.000Z
#pragma once #include <stdint.h> #include <chrono> #include <iomanip> #include <benchmark/benchmark.h> namespace viper::kv_bm { static constexpr double SCALE_FACTOR = 1; static constexpr uint64_t NUM_BASE_PREFILLS = 100'000'000; static constexpr uint64_t NUM_BASE_OPS = 50'000'000; static constexpr uint64_t NUM_OPS =...
34.41791
100
0.709237
[ "vector" ]
81c906d6bbbe24d96fd61234c0bdffe2cb189ca8
5,837
cpp
C++
fboss/agent/packet/test/EthHdrTest.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
834
2015-03-10T18:12:28.000Z
2022-03-31T20:16:17.000Z
fboss/agent/packet/test/EthHdrTest.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
82
2015-04-07T08:48:29.000Z
2022-03-11T21:56:58.000Z
fboss/agent/packet/test/EthHdrTest.cpp
nathanawmk/fboss
9f36dbaaae47202f9131598560c65715334a9a83
[ "BSD-3-Clause" ]
296
2015-03-11T03:45:37.000Z
2022-03-14T22:54:22.000Z
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
33.936047
79
0.716978
[ "vector" ]
81d1e46927b2ddf8db25084bbc4376123706191b
13,055
cxx
C++
Dockerized/rdpstack/cmake-3.17.2/Source/cmGeneratorExpression.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
3
2021-10-14T07:40:15.000Z
2022-02-27T09:20:33.000Z
Dockerized/rdpstack/cmake-3.17.2/Source/cmGeneratorExpression.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
null
null
null
Dockerized/rdpstack/cmake-3.17.2/Source/cmGeneratorExpression.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
2
2021-10-21T06:12:36.000Z
2022-03-07T15:52:28.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGeneratorExpression.h" #include <cassert> #include <memory> #include <utility> #include "cmsys/RegularExpression.hxx" #include "cmGeneratorExpressionContext....
30.431235
79
0.647415
[ "vector" ]
81dd7b3d21119ba77bb5fc907c02713f83a3b88b
4,709
cc
C++
components/subresource_filter/core/common/test_ruleset_creator.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
components/subresource_filter/core/common/test_ruleset_creator.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/subresource_filter/core/common/test_ruleset_creator.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "components/subresource_filter/core/common/test_ruleset_creator.h" #include "base/files/file_util.h" #include "base/logging.h" #include "base/st...
36.503876
83
0.745594
[ "vector" ]
81df5a98fa8f06f5f1c16418da54f3041f9932a3
4,556
cpp
C++
GLCompute/WinThread/julia.cpp
Ginkgo-Biloba/Cpp-Repo2
400bf3a179bb3ce58c809a90e8053fa09eb85dbd
[ "Apache-2.0" ]
null
null
null
GLCompute/WinThread/julia.cpp
Ginkgo-Biloba/Cpp-Repo2
400bf3a179bb3ce58c809a90e8053fa09eb85dbd
[ "Apache-2.0" ]
null
null
null
GLCompute/WinThread/julia.cpp
Ginkgo-Biloba/Cpp-Repo2
400bf3a179bb3ce58c809a90e8053fa09eb85dbd
[ "Apache-2.0" ]
null
null
null
#define WIN32_LEAN_AND_MEAN #define NOCOMM #define NOMINMAX #include <Windows.h> #include <opencv2/highgui.hpp> using namespace cv; using std::vector; int ijulia = 1; inline int atomic_load(int* ptr) { return _InterlockedOr( reinterpret_cast<long volatile*>(ptr), 0); } inline int atomic_fetch_add(int* ptr, int v...
20.522523
78
0.589772
[ "vector" ]
81df96c2004a5a8a1b3ce69008bd01ab70a3a3fb
3,092
hpp
C++
remodet_repository_LEE/include/caffe/mask/anno_image_loader.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_LEE/include/caffe/mask/anno_image_loader.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_LEE/include/caffe/mask/anno_image_loader.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#ifndef CAFFE_MASK_ANNO_IMAGE_LOADER_H #define CAFFE_MASK_ANNO_IMAGE_LOADER_H #include <vector> #include <string> #include <opencv/cv.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include "caffe/tracker/bounding_box.hpp" #include "glog/logging.h" #include "caffe/caffe.hpp" #include "ca...
18.739394
80
0.628396
[ "vector" ]
81e0ce1c70dabc8af66a2320a67038aaaec4ab94
7,274
cpp
C++
Editor/Widgets/ShaderEditor.cpp
nexovec/SpartanEngine
6ae79b820b831774c5e94eb9e42d51c4a5cdd464
[ "MIT" ]
278
2016-06-19T16:48:31.000Z
2019-04-10T05:52:47.000Z
Editor/Widgets/ShaderEditor.cpp
RocketManNum1/SpartanEngine
4e218b2cccfe15371b473e19cecadc3cf43493c5
[ "MIT" ]
22
2016-09-11T20:57:56.000Z
2019-04-04T00:10:58.000Z
Editor/Widgets/ShaderEditor.cpp
RocketManNum1/SpartanEngine
4e218b2cccfe15371b473e19cecadc3cf43493c5
[ "MIT" ]
31
2016-08-09T13:15:51.000Z
2019-03-27T13:25:07.000Z
/* Copyright(c) 2016-2022 Panos Karabelas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
33.520737
230
0.551828
[ "render", "vector" ]
81e3b72827cc661913ccb6274605d8048c590632
11,116
cpp
C++
src/core/qgsmaprenderercustompainterjob.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/qgsmaprenderercustompainterjob.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/qgsmaprenderercustompainterjob.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsmaprenderercustompainterjob.cpp -------------------------------------- Date : December 2013 Copyright : (C) 2013 by Martin Dobias Email : wonder dot sk at gmail dot com ******************...
28.575835
158
0.657431
[ "render" ]
81e53c22334312fb00961f2cf3c2d20a462a2380
7,220
cc
C++
native/utils/encoder.posix.cc
async3619/merry-go-round
e4a15f4af0be5bd52b5392704d02902d1eaa070a
[ "MIT" ]
1
2019-04-30T19:20:12.000Z
2019-04-30T19:20:12.000Z
native/utils/encoder.posix.cc
async3619/merry-go-round
e4a15f4af0be5bd52b5392704d02902d1eaa070a
[ "MIT" ]
3
2021-05-08T11:23:42.000Z
2022-01-22T04:18:28.000Z
native/utils/encoder.posix.cc
async3619/merry-go-round
e4a15f4af0be5bd52b5392704d02902d1eaa070a
[ "MIT" ]
null
null
null
#include "../includes.hpp" #if !defined(_MERRY_GO_ROUND_USE_WIN32) && defined(_MERRY_GO_ROUND_USE_POSIX) # include <codecvt> # include <locale> template <typename char_t> struct string_helper {}; template <> struct string_helper<char> { static size_t strlen(const char* string) { return std::strlen(stri...
36.464646
138
0.709418
[ "object" ]
81e5538107c21e98e58b525a43c5780dcb96a5ca
11,008
cpp
C++
src/threepp/math/Vector3.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
src/threepp/math/Vector3.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
src/threepp/math/Vector3.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
#include "threepp/math/Vector3.hpp" #include "threepp/math/Matrix3.hpp" #include "threepp/math/Matrix4.hpp" #include "threepp/math/Quaternion.hpp" #include "threepp/math/Spherical.hpp" #include "threepp/math/MathUtils.hpp" #include "threepp/cameras/Camera.hpp" #include <algorithm> #include <cmath> #include <stdexc...
20.730697
96
0.572674
[ "vector" ]
81e6e3fc25189ac6a1dd03056dbd873c1a2a0582
4,149
hpp
C++
inference-engine/src/mkldnn_plugin/quantizer.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "Apache-2.0" ]
null
null
null
inference-engine/src/mkldnn_plugin/quantizer.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "Apache-2.0" ]
null
null
null
inference-engine/src/mkldnn_plugin/quantizer.hpp
tdp2110/dldt
87f321c5365ed813e849ea0ed987354ef2c39743
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <string> #include <map> #include <vector> #include <ie_icnn_network.hpp> #include <cpp/ie_cnn_network.h> namespace InferenceEngine { namespace details { /** * @brief Quantization layer de...
31.195489
125
0.706435
[ "vector", "model", "transform" ]
81ee227025dbba34cf743184af8f5edaec143a96
35,377
cxx
C++
Podd/THaOutput.cxx
johnaldhino/analyzer
24ced3b45aa91515fb1b9185fd2c2e90d22729a9
[ "BSD-3-Clause" ]
null
null
null
Podd/THaOutput.cxx
johnaldhino/analyzer
24ced3b45aa91515fb1b9185fd2c2e90d22729a9
[ "BSD-3-Clause" ]
null
null
null
Podd/THaOutput.cxx
johnaldhino/analyzer
24ced3b45aa91515fb1b9185fd2c2e90d22729a9
[ "BSD-3-Clause" ]
null
null
null
//*-- Author : Robert Michaels 05/08/2002 ////////////////////////////////////////////////////////////////////////// // // THaOutput // // Defines the tree and histogram output for THaAnalyzer. // This class reads a file 'output.def' (an example is in /examples) // to define which global variables, including ar...
30.366524
137
0.613365
[ "vector" ]
81f1ad4e2dd0083dd320de131f536bfce2c7ac69
6,202
cpp
C++
modules/gapi/test/internal/gapi_int_gmetaarg_test.cpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
modules/gapi/test/internal/gapi_int_gmetaarg_test.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
modules/gapi/test/internal/gapi_int_gmetaarg_test.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #include "../test_precomp.hpp" #include "api/gcomputation_priv.hpp" namespace o...
30.70297
107
0.631893
[ "vector" ]
81f30463c4fcc545d2fa7482f76732c91b0cd75a
13,263
hpp
C++
openstudiocore/src/model/Surface_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Surface_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Surface_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
41.576803
180
0.721707
[ "geometry", "object", "vector", "model" ]
81f5b89621be186129c392c206d60c25b3c8a599
13,654
cpp
C++
src/analyses/escape_analysis.cpp
muralitaws/cbmc
5d1fe3858726692e4abef75828dd88de074be133
[ "BSD-4-Clause" ]
null
null
null
src/analyses/escape_analysis.cpp
muralitaws/cbmc
5d1fe3858726692e4abef75828dd88de074be133
[ "BSD-4-Clause" ]
null
null
null
src/analyses/escape_analysis.cpp
muralitaws/cbmc
5d1fe3858726692e4abef75828dd88de074be133
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Field-insensitive, location-sensitive escape analysis Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ /// \file /// Field-insensitive, location-sensitive escape analysis...
25.238447
80
0.641863
[ "object", "transform" ]