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
befa13fc1b4e41bc3fb840b388540b04f4c83b8b
2,788
cc
C++
vod/src/model/ListWatermarkResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vod/src/model/ListWatermarkResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vod/src/model/ListWatermarkResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
38.722222
105
0.787303
[ "vector", "model" ]
83129cef0deb1cdf1a355543d662889b7026f03f
1,741
cc
C++
vcs/src/model/SaveVideoSummaryTaskVideoRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vcs/src/model/SaveVideoSummaryTaskVideoRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vcs/src/model/SaveVideoSummaryTaskVideoRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
27.634921
76
0.762206
[ "model" ]
23fe90610db73e1bfdf5eddb523a5e7a48c2ff60
1,900
cpp
C++
tf2_bot_detector/Networking/SteamAPI.cpp
fossabot/tf2_bot_detector
475a11ba2305e33d9b93469e86537f7d2623b61e
[ "MIT" ]
null
null
null
tf2_bot_detector/Networking/SteamAPI.cpp
fossabot/tf2_bot_detector
475a11ba2305e33d9b93469e86537f7d2623b61e
[ "MIT" ]
null
null
null
tf2_bot_detector/Networking/SteamAPI.cpp
fossabot/tf2_bot_detector
475a11ba2305e33d9b93469e86537f7d2623b61e
[ "MIT" ]
null
null
null
#include "SteamAPI.h" #include "HTTPClient.h" #include "HTTPHelpers.h" #include "Config/JSONHelpers.h" #include "Log.h" #include <mh/text/string_insertion.hpp> #include <nlohmann/json.hpp> using namespace std::string_literals; using namespace tf2_bot_detector; using namespace tf2_bot_detector::SteamAPI; duration_t P...
27.536232
105
0.681579
[ "vector" ]
23ff5e4e4e7ad8454277a051f49ceac7bcdb89f3
3,722
hpp
C++
src/MapFragment.hpp
liamdev/mapsynth
a0536912b9adf934fce2c937c2caca87547fdcb0
[ "MIT" ]
4
2015-11-13T17:54:50.000Z
2018-09-30T07:14:38.000Z
src/MapFragment.hpp
liamdev/mapsynth
a0536912b9adf934fce2c937c2caca87547fdcb0
[ "MIT" ]
null
null
null
src/MapFragment.hpp
liamdev/mapsynth
a0536912b9adf934fce2c937c2caca87547fdcb0
[ "MIT" ]
1
2020-01-14T21:50:04.000Z
2020-01-14T21:50:04.000Z
/**************************************************************************** File name: MapFragment.hpp Description: Class containing road/building data for a given window of a city. Author: Liam de Valmency Date: 24th April 2013 This source code is licensed under the MIT license. See LICENSE.txt for more informa...
29.539683
100
0.682697
[ "vector" ]
9b05a409c2dc708d367f7585e0a391c85496bdb5
13,029
cpp
C++
autorally_ws/src/autorally_core/src/xbee/XbeeNode.cpp
ShivamThukral/Wheelchair-Navigation
c5b8d8296b807a6ce17ed01c284708350909b3c3
[ "MIT" ]
2
2022-03-31T05:32:10.000Z
2022-03-31T06:57:54.000Z
autorally_ws/src/autorally_core/src/xbee/XbeeNode.cpp
ShivamThukral/Wheelchair-Navigation
c5b8d8296b807a6ce17ed01c284708350909b3c3
[ "MIT" ]
null
null
null
autorally_ws/src/autorally_core/src/xbee/XbeeNode.cpp
ShivamThukral/Wheelchair-Navigation
c5b8d8296b807a6ce17ed01c284708350909b3c3
[ "MIT" ]
1
2022-03-25T01:13:17.000Z
2022-03-25T01:13:17.000Z
/********************************************** * @file XbeeNode.cpp * @author Brian Goldfain <bgoldfai@gmail.com> * @date May 17, 2013 * @copyright 2012 Georgia Institute of Technology * @brief * * @details This file contains the XbeeNode class implementation ***********************************************/ #...
34.559682
112
0.617776
[ "vector" ]
9b12ba180444b58989430f1811ce29b023acf2b9
10,239
cpp
C++
llvm-5.0.1.src/lib/Transforms/Scalar/LoopPredication.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
60
2017-12-21T06:49:58.000Z
2022-02-24T09:43:52.000Z
llvm-5.0.1.src/lib/Transforms/Scalar/LoopPredication.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
null
null
null
llvm-5.0.1.src/lib/Transforms/Scalar/LoopPredication.cpp
ShawnLess/TBD
fc98e93b3462509022fdf403978cd82aa05c2331
[ "Apache-2.0" ]
17
2017-12-20T09:54:56.000Z
2021-06-24T05:39:36.000Z
//===-- LoopPredication.cpp - Guard based loop predication pass -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
30.933535
80
0.640785
[ "vector" ]
9b190848aad2f728072b2d60c3d1bb275a0108ee
5,887
cc
C++
src/BristolNTuple_Photons.cc
jjacob/NTupleProduction
5bd3b925a1cdec8a4e1332357becfaba04b7c1c9
[ "Apache-2.0" ]
null
null
null
src/BristolNTuple_Photons.cc
jjacob/NTupleProduction
5bd3b925a1cdec8a4e1332357becfaba04b7c1c9
[ "Apache-2.0" ]
null
null
null
src/BristolNTuple_Photons.cc
jjacob/NTupleProduction
5bd3b925a1cdec8a4e1332357becfaba04b7c1c9
[ "Apache-2.0" ]
null
null
null
#include "BristolAnalysis/NTupleTools/interface/BristolNTuple_Photons.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFormats/PatCandidates/interface/Photon.h" #include "DataFormats/PatCandidates/interface/Muon.h" #include "DataFormats/TrackReco/i...
51.640351
106
0.635298
[ "vector" ]
9b1ecaa1506dda6f5d3c8bf7d31bf2b245c2e844
4,145
cpp
C++
attic/historic/anode/libspark/experiments/FindGoodSegmentDelimiters.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
8,205
2015-01-02T16:34:03.000Z
2022-03-31T18:18:28.000Z
attic/historic/anode/libspark/experiments/FindGoodSegmentDelimiters.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,401
2015-01-01T05:45:53.000Z
2022-03-31T14:00:00.000Z
attic/historic/anode/libspark/experiments/FindGoodSegmentDelimiters.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,243
2015-01-09T07:30:49.000Z
2022-03-31T12:36:48.000Z
// Searches for good delimiters to cut streams into relatively well sized // segments. #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <boost/cstdint.hpp> #include <boost/array.hpp> #include <boost/random/mersenne_twister.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp...
25.58642
121
0.590109
[ "vector" ]
9b32c03a6d08b589251825589514d54472ab7a4f
3,138
cpp
C++
src/Buckle/Bronze/opts.cpp
flamechain/BELTE
a53ba207ff8b524d75d1b2561022992436550bf3
[ "MIT" ]
3
2022-03-11T15:31:49.000Z
2022-03-11T22:53:55.000Z
src/Buckle/Bronze/opts.cpp
flamechain/belte
c09175c4fb034703290f51a1d63b0ae0cb421665
[ "MIT" ]
null
null
null
src/Buckle/Bronze/opts.cpp
flamechain/belte
c09175c4fb034703290f51a1d63b0ae0cb421665
[ "MIT" ]
null
null
null
#include "opts.hpp" void decode_options(_In_ const vector<string>& args) noexcept { bool specify_stage = false; bool specify_out = false; // defaults state.finish_stage = CompilerStage::linked; state.link_output = "a.exe"; // arg parsing for (size_t i=0; i<args.size(); i++) { stri...
32.020408
109
0.504461
[ "vector" ]
9b32d7a9fbff2bc0dd7c1c567f2528ae71f00a0c
2,206
cpp
C++
ironstack_agent/gui/key_reader.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
ironstack_agent/gui/key_reader.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
ironstack_agent/gui/key_reader.cpp
zteo-phd-software/ironstack
649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0
[ "BSD-3-Clause" ]
null
null
null
#include "key_reader.h" using namespace gui; // constructor key_reader::key_reader() { set_input_sequence(-1000); } // destructor key_reader::~key_reader() { } // clears all keys from the queue void key_reader::clear() { lock_guard<mutex> g(lock); keys.clear(); } // check if at least one key is present bool key_...
21.841584
70
0.703536
[ "vector" ]
9b3ff2f56e3353e4cc10521a9208cb65da012509
1,066
cpp
C++
template/src/Wrapper_py/Tools/Frozenbits_generator/Frozenbits_generator.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
15
2021-01-24T11:59:04.000Z
2022-03-23T07:23:44.000Z
template/src/Wrapper_py/Tools/Frozenbits_generator/Frozenbits_generator.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
8
2021-05-24T18:22:45.000Z
2022-03-11T09:48:05.000Z
template/src/Wrapper_py/Tools/Frozenbits_generator/Frozenbits_generator.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
4
2021-01-26T19:18:21.000Z
2021-12-07T17:02:34.000Z
#include "Wrapper_py/Tools/Frozenbits_generator/Frozenbits_generator.hpp" namespace py = pybind11; using namespace py::literals; using namespace aff3ct; using namespace aff3ct::module; using namespace aff3ct::tools; using namespace aff3ct::wrapper; Wrapper_Frozenbits_generator ::Wrapper_Frozenbits_generator(py::hand...
29.611111
89
0.761726
[ "vector" ]
9b422f725a939f8023dbaced948b667cd0404931
18,774
cpp
C++
KaplaDemo/samples/sampleViewer3/IJGWin32/jclhuff.cpp
gongyiling/PhysX-3.4
99bc1c62880cf626f9926781e76a528b5276c68b
[ "Unlicense" ]
1,863
2018-12-03T13:06:03.000Z
2022-03-29T07:12:37.000Z
KaplaDemo/samples/sampleViewer3/IJGWin32/jclhuff.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
71
2018-12-03T19:48:39.000Z
2022-01-11T09:30:52.000Z
KaplaDemo/samples/sampleViewer3/IJGWin32/jclhuff.cpp
cctxx/PhysX-3.4-1
5e42a5f112351a223c19c17bb331e6c55037b8eb
[ "Unlicense" ]
265
2018-12-03T14:30:03.000Z
2022-03-25T20:57:01.000Z
/* * jclhuff.c * * Copyright (C) 1991-1998, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains Huffman entropy encoding routines for lossless JPEG. * * Much of the complexity here has t...
31.237937
79
0.693885
[ "object" ]
9b4cff2f5d9a7b056cf26097f56410789bb902f3
4,759
cpp
C++
platform/ivr/src/cppconn/mysql_parameter_metadata.cpp
lvbaocheng/CC
3febe5ce2804ef681a0d7d2f0011c3f92f2552d6
[ "Apache-2.0" ]
4
2018-08-23T07:08:35.000Z
2020-02-28T07:45:06.000Z
platform/ivr/src/cppconn/mysql_parameter_metadata.cpp
lvbaocheng/CC
3febe5ce2804ef681a0d7d2f0011c3f92f2552d6
[ "Apache-2.0" ]
1
2019-06-21T09:52:18.000Z
2019-06-21T09:52:18.000Z
platform/ivr/src/cppconn/mysql_parameter_metadata.cpp
lvbaocheng/CC
3febe5ce2804ef681a0d7d2f0011c3f92f2552d6
[ "Apache-2.0" ]
22
2018-07-11T06:30:39.000Z
2021-11-12T16:16:14.000Z
/* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/C++ is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is ...
33.048611
119
0.632906
[ "object" ]
9b4d2a505e8bed3901c33e204a05468fb68388df
16,342
cpp
C++
scooter/lib/SCMD/src/SCMD.cpp
kisom/robots
7ffc8e7b797448bee42659952d5bb901b69e9068
[ "MIT" ]
null
null
null
scooter/lib/SCMD/src/SCMD.cpp
kisom/robots
7ffc8e7b797448bee42659952d5bb901b69e9068
[ "MIT" ]
null
null
null
scooter/lib/SCMD/src/SCMD.cpp
kisom/robots
7ffc8e7b797448bee42659952d5bb901b69e9068
[ "MIT" ]
null
null
null
/****************************************************************************** SCMD.cpp SCMD Arduino and Teensy Driver Marshall Taylor @ SparkFun Electronics May 20, 2015 https://github.com/sparkfun/Serial_Controlled_Motor_Driver https://github.com/sparkfun/SparkFun_Serial_Controlled_Motor_Driver_Arduino_Library Reso...
27.982877
168
0.681496
[ "object" ]
9b4d40844430f9503a956d1bdf797d3d929b3fad
14,298
cc
C++
ns-allinone-2.35/packmime/packmime_OL_ranvar.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/packmime/packmime_OL_ranvar.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/packmime/packmime_OL_ranvar.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright 2002, Statistics Research, Bell Labs, Lucent Technologies and * The University of North Carolina at Chapel Hill * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
29.419753
166
0.67408
[ "shape", "model", "transform" ]
9b5ec1395c0c3a9995acca91cbc079c3dcb29d54
10,547
cpp
C++
tools/mcrl3explore/mcrl3explore.cpp
wiegerw/mcrl3
15260c92ab35930398d6dfb34d31351b05101ca9
[ "BSL-1.0" ]
1
2021-02-22T09:16:39.000Z
2021-02-22T09:16:39.000Z
tools/mcrl3explore/mcrl3explore.cpp
wiegerw/mcrl3
15260c92ab35930398d6dfb34d31351b05101ca9
[ "BSL-1.0" ]
null
null
null
tools/mcrl3explore/mcrl3explore.cpp
wiegerw/mcrl3
15260c92ab35930398d6dfb34d31351b05101ca9
[ "BSL-1.0" ]
null
null
null
// Author(s): Muck van Weerdenburg // Wieger Wesselink 2018 // Copyright: see the accompanying file COPYING or copy at // https://github.com/mCRL2org/mCRL2/blob/master/COPYING // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.b...
36.877622
137
0.640182
[ "vector" ]
9b608cd2afdc97faa49e8a907c1b31677defad3d
25,461
cpp
C++
src/parse.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
null
null
null
src/parse.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
24
2017-03-10T10:45:36.000Z
2018-07-05T19:38:58.000Z
src/parse.cpp
bebuch/disposer
8d065cb5cdcbeaecdbe457f5e4e60ff1ecc84105
[ "BSL-1.0" ]
2
2017-02-21T06:45:42.000Z
2020-04-18T11:22:33.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2015-2018 Benjamin Buch // // https://github.com/bebuch/disposer // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) /...
25.258929
79
0.700837
[ "vector" ]
9b618e1656f55289ac23ca113e36dca3e244da2c
4,239
cc
C++
net/ssl/ssl_config_service.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
net/ssl/ssl_config_service.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
net/ssl/ssl_config_service.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "net/ssl/ssl_config_service.h" #include <tuple> #include "base/lazy_instance.h" #include "base/synchronization/lock.h" #include "net/ssl/ss...
32.607692
80
0.704883
[ "object" ]
9b6480721e8901e4db2d86b1136f87194e49e722
6,751
hpp
C++
Code/Source/StringAlg.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
77
2016-11-06T17:25:54.000Z
2022-03-29T16:30:34.000Z
Code/Source/StringAlg.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
1
2017-04-22T16:47:04.000Z
2017-04-22T16:47:04.000Z
Code/Source/StringAlg.hpp
christinazavou/Thea
f68293c4a4f5ddc3abda18e2e0b679bcf5163e93
[ "BSD-3-Clause" ]
20
2015-10-17T20:38:50.000Z
2022-02-18T09:56:27.000Z
//============================================================================ // // This file is part of the Thea toolkit. // // This software is distributed under the BSD license, as detailed in the // accompanying LICENSE.txt file. Portions are derived from other works: // their respective licenses and copyright inf...
35.719577
127
0.668345
[ "object" ]
f92d69b034e0ead6b3b47bf0474a9750b6081964
8,812
cpp
C++
src/sglib/mappers/LongReadMapper.cpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
src/sglib/mappers/LongReadMapper.cpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
src/sglib/mappers/LongReadMapper.cpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
// // Created by Luis Yanes (EI) on 22/03/2018. // #include <sglib/mappers/LongReadMapper.hpp> #include <sglib/utilities/omp_safe.hpp> void LongReadMapper::map_reads(std::unordered_set<uint32_t> readIDs) { std::vector<std::vector<LongReadMapping>> thread_mappings(omp_get_max_threads()); #pragma omp parallel {...
42.776699
132
0.597821
[ "vector" ]
f92da1aa388b6d098ed1e46ba29411e676dcd4e7
13,493
cpp
C++
core/src/main/cpp/tokens/UserIdToken.cpp
sghill/msl
97f53d685389bab496df889d87ccdbd1e9728032
[ "Apache-2.0" ]
559
2015-01-01T14:47:49.000Z
2022-03-05T02:33:53.000Z
core/src/main/cpp/tokens/UserIdToken.cpp
sghill/msl
97f53d685389bab496df889d87ccdbd1e9728032
[ "Apache-2.0" ]
141
2015-01-06T18:43:22.000Z
2020-09-27T02:21:21.000Z
core/src/main/cpp/tokens/UserIdToken.cpp
sghill/msl
97f53d685389bab496df889d87ccdbd1e9728032
[ "Apache-2.0" ]
85
2015-03-04T19:10:35.000Z
2022-02-15T10:34:40.000Z
/** * Copyright (c) 2016-2017 Netflix, 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 requir...
39.110145
164
0.704291
[ "object" ]
f930cda75f98bf80a4519e6d143b1c21e5d4b404
3,172
cxx
C++
csankey/_csankey.cxx
kirin123kirin/csankey
64ed153391a1122a3194e4febcb2947c2b847deb
[ "MIT" ]
null
null
null
csankey/_csankey.cxx
kirin123kirin/csankey
64ed153391a1122a3194e4febcb2947c2b847deb
[ "MIT" ]
null
null
null
csankey/_csankey.cxx
kirin123kirin/csankey
64ed153391a1122a3194e4febcb2947c2b847deb
[ "MIT" ]
null
null
null
/* csankey.cpp | MIT License | https://github.com/kirin123kirin/csankey/raw/main/LICENSE */ #include "csankey.hpp" extern "C" PyObject* to_sankeyhtml_py(PyObject* self, PyObject* args, PyObject* kwargs) { PyObject* o, *res; int header = -1; const char* kwlist[3] = {"o", "header", NULL}; if(!PyArg_Par...
33.389474
114
0.653216
[ "object" ]
f93b06139562d358f73db3d18f51f6c383d07090
6,582
cpp
C++
StarChicken/src/scene/SceneRenderer.cpp
Drillgon200/StarChicken
8a3932f3d0092a9a9e0fdc65e58e63d1021f5229
[ "Unlicense" ]
2
2021-12-13T09:43:32.000Z
2022-03-02T04:16:34.000Z
StarChicken/src/scene/SceneRenderer.cpp
Drillgon200/StarChicken
8a3932f3d0092a9a9e0fdc65e58e63d1021f5229
[ "Unlicense" ]
null
null
null
StarChicken/src/scene/SceneRenderer.cpp
Drillgon200/StarChicken
8a3932f3d0092a9a9e0fdc65e58e63d1021f5229
[ "Unlicense" ]
null
null
null
#include "SceneRenderer.h" #include "Scene.h" #include "..\graphics\Framebuffer.h" #include "..\resources\DefaultResources.h" #include "..\graphics\RenderPass.h" namespace scene { SceneRenderer::SceneRenderer(Scene* scene) : scene{ scene } { } void SceneRenderer::prepare_render_world(vku::RenderPass& renderPass) { ...
54.85
234
0.784412
[ "model" ]
f93ec0787f312a849b11a0e3206a9462e336a22b
33,805
cpp
C++
Programs/ResourceEditor/Classes/Modification/Private/ModificationModule.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ResourceEditor/Classes/Modification/Private/ModificationModule.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ResourceEditor/Classes/Modification/Private/ModificationModule.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "Classes/Modification/ModificationModule.h" #include "Classes/Modification/Private/ModificationData.h" #include <REPlatform/DataNodes/SceneData.h> #include <REPlatform/Scene/Systems/CollisionSystem.h> #include <REPlatform/DataNodes/SelectionData.h> #include <TArc/Controls/DoubleSpinBox.h> #include <TArc/Con...
42.737042
201
0.70531
[ "vector", "transform" ]
f9490145c36cb9ae284cde8697d9e3b1b8f18111
1,592
cpp
C++
Algorithms/57.Insert-Interval/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/57.Insert-Interval/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/57.Insert-Interval/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
/** * Definition for an interval. * struct Interval { * int start; * int end; * Interval() : start(0), end(0) {} * Interval(int s, int e) : start(s), end(e) {} * }; */ class Solution { public: vector<Interval> insert(vector<Interval> &intervals, Interval newInterval) { int i = ...
23.761194
79
0.452261
[ "vector" ]
f953427aa0749db42308b2499023e5de2a012a6e
1,696
cc
C++
sling/nlp/document/features.cc
JDzvonik/sling
3000f6ff7ae5c2d5ddcae13ad3599e35bf375ec5
[ "Apache-2.0" ]
2,023
2017-10-13T01:39:21.000Z
2022-03-27T14:24:09.000Z
sling/nlp/document/features.cc
JDzvonik/sling
3000f6ff7ae5c2d5ddcae13ad3599e35bf375ec5
[ "Apache-2.0" ]
166
2017-10-26T00:36:03.000Z
2021-10-08T13:32:32.000Z
sling/nlp/document/features.cc
JDzvonik/sling
3000f6ff7ae5c2d5ddcae13ad3599e35bf375ec5
[ "Apache-2.0" ]
316
2017-10-12T20:34:28.000Z
2022-02-02T16:03:45.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.615385
80
0.685142
[ "shape" ]
f95eebc1ac480590288c1709e1ccf63f95b041ba
14,839
cpp
C++
Source/ExistenceApps/ExistenceClient/ExistenceClientStateAccount.cpp
vivienneanthony/Urho3D-Mastercurrent-Existence
2d75021489996e1abc2fd330ed967cd89a62f40d
[ "Apache-2.0" ]
3
2015-05-22T23:39:03.000Z
2016-04-13T03:52:59.000Z
Source/ExistenceApps/ExistenceClient/ExistenceClientStateAccount.cpp
vivienneanthony/Urho3D-Mastercurrent-Existence
2d75021489996e1abc2fd330ed967cd89a62f40d
[ "Apache-2.0" ]
null
null
null
Source/ExistenceApps/ExistenceClient/ExistenceClientStateAccount.cpp
vivienneanthony/Urho3D-Mastercurrent-Existence
2d75021489996e1abc2fd330ed967cd89a62f40d
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2008-2014 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
34.191244
125
0.713053
[ "vector", "model" ]
f97dffe9bd1f229ff74c89df64c9ae0ef419fc67
1,881
hpp
C++
pysim/cppsource/CommonSystemImpl.hpp
freol35241/pysim
36faf67d00ff644a593f20994c0f15053d600886
[ "BSD-3-Clause" ]
9
2018-01-15T07:43:57.000Z
2022-01-11T20:21:38.000Z
pysim/cppsource/CommonSystemImpl.hpp
freol35241/pysim
36faf67d00ff644a593f20994c0f15053d600886
[ "BSD-3-Clause" ]
31
2016-05-06T23:21:53.000Z
2021-11-04T22:40:25.000Z
pysim/cppsource/CommonSystemImpl.hpp
freol35241/pysim
36faf67d00ff644a593f20994c0f15053d600886
[ "BSD-3-Clause" ]
7
2017-03-02T14:55:48.000Z
2018-04-11T06:29:35.000Z
#pragma once #include <vector> #include <map> #include <memory> #include "SimulatableSystem.hpp" #include "Variable.hpp" #include "ConnectionHandler.hpp" namespace pysim { struct CommonSystemImplPrivate; class StoreHandler; class CommonSystemImpl : public SimulatableSystemInterface { public: CommonSyste...
27.661765
78
0.528974
[ "vector" ]
f98249a4faac72ab8f2ebbd7d9a43eb9850f5c2f
3,733
cpp
C++
sources/dansandu/chocolate/transform.cpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/transform.cpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/transform.cpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
#include "dansandu/chocolate/transform.hpp" #include "dansandu/math/common.hpp" using dansandu::math::common::close; using dansandu::math::matrix::crossProduct; using dansandu::math::matrix::dotProduct; using dansandu::math::matrix::normalized; namespace dansandu::chocolate::transform { Matrix4 scale(const float x, ...
31.108333
109
0.519153
[ "vector", "transform" ]
f988f714ccc1ccca6fcd6e9c6914fd6c54bdf01e
1,217
cc
C++
blaze/blaze/operator/op/sigmoid_op.cc
Ru-Xiang/x-deeplearning
04cc0497150920c64b06bb8c314ef89977a3427a
[ "Apache-2.0" ]
4,071
2018-12-13T04:17:38.000Z
2022-03-30T03:29:35.000Z
blaze/blaze/operator/op/sigmoid_op.cc
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
359
2018-12-21T01:14:57.000Z
2022-02-15T07:18:02.000Z
blaze/blaze/operator/op/sigmoid_op.cc
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
1,054
2018-12-20T09:57:42.000Z
2022-03-29T07:16:53.000Z
/* * \file sigmoid_op.cc * \desc The sigmoid operator */ #include "blaze/operator/op/sigmoid_op.h" #include <omp.h> #include <math.h> #include "blaze/math/activation.h" #include "blaze/math/vml.h" namespace blaze { template <typename DType> void SigmoidKernel(const SigmoidParam<DType>& params) { VML_Exp<DType,...
22.127273
74
0.643385
[ "shape" ]
f9891044c8dd7f41690e8fcdf778df131ed3004c
7,030
cpp
C++
BlackVision/Test/Model/TestSerialization/Source/TestInterpolators/InvalidInterpolations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/Test/Model/TestSerialization/Source/TestInterpolators/InvalidInterpolations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/Test/Model/TestSerialization/Source/TestInterpolators/InvalidInterpolations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "Mathematics/Transform/MatTransform.h" #include "Utils/Comparators/ParamComparator.h" #include "Utils/Serialization/Serialize.h" #include "Framework/UseLoggerTests.h" #include "Mathematics/Interpolators/CompositeInterpolator.h" #include "Mathematics/Interpolators/Comp...
44.213836
163
0.704125
[ "transform" ]
f9934a2dde802bdeec77a58dced2d491714f212d
784
hpp
C++
src/org/apache/poi/ss/usermodel/DataValidation_ErrorStyle.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/DataValidation_ErrorStyle.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/DataValidation_ErrorStyle.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/usermodel/DataValidation.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/usermodel/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::ss::usermodel::DataValidation_ErrorStyle final : public ::java::lang::Object { p...
23.058824
75
0.71301
[ "object" ]
f997e12b2437b3367d80626ae3e68f217378da75
2,276
cpp
C++
src/metrics/main.cpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
1
2021-08-19T18:00:11.000Z
2021-08-19T18:00:11.000Z
src/metrics/main.cpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
null
null
null
src/metrics/main.cpp
DataDog/dd-native-metrics-js
1970b459913faf6415a11386edb7bc9c2a063e8a
[ "Apache-2.0" ]
null
null
null
#include "EventLoop.hpp" #include "Object.hpp" namespace datadog { namespace { void before_gc(v8::Isolate* isolate, v8::GCType type, v8::GCCallbackFlags flags, void* data) { reinterpret_cast<EventLoop*>(data)->gc.before(type); } void after_gc(v8::Isolate* isolate, v8::GCType type, v8::GCCallbackFl...
32.056338
98
0.654657
[ "object" ]
f9990e79bb90c4edf57da4184a5839bc4139fcb8
3,974
cpp
C++
reference/raytracer1/testapp.cpp
chensibaba/CG_proj1
4fb65f87ab873babc41c7817d45925aa3e59f094
[ "MIT" ]
2
2019-04-12T14:44:00.000Z
2021-12-12T18:29:14.000Z
reference/raytracer1/testapp.cpp
chensibaba/CG_proj1
4fb65f87ab873babc41c7817d45925aa3e59f094
[ "MIT" ]
null
null
null
reference/raytracer1/testapp.cpp
chensibaba/CG_proj1
4fb65f87ab873babc41c7817d45925aa3e59f094
[ "MIT" ]
null
null
null
// Don't look here. The interesting stuff is elsewhere. #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdlib.h> #include "common.h" #include "raytracer.h" #include "scene.h" #include "surface.h" #define SCRWIDTH 800 #define SCRHEIGHT 600 static WNDCLASS wc; static HWND wnd; static char bi...
29.879699
122
0.649975
[ "render" ]
f99d75e511722e6693110badaf42245cfe5f9d63
1,402
cpp
C++
codeforces/F - Maximum White Subtree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Maximum White Subtree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Maximum White Subtree/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: * kzvd4729 created: Mar/12/2020 20:16 * solution_verdict: Accepted language: GNU C++14 * run...
29.208333
111
0.435806
[ "vector" ]
f99ec2b0a66dd817ee875bed931755ac34a8942e
832
cpp
C++
2021/June/Circuits/a-binary-palindrome.cpp
Sky-Nik/HackerEarth
0e7dfea2c654571d5f816a80796c0db50a9f706c
[ "MIT" ]
null
null
null
2021/June/Circuits/a-binary-palindrome.cpp
Sky-Nik/HackerEarth
0e7dfea2c654571d5f816a80796c0db50a9f706c
[ "MIT" ]
null
null
null
2021/June/Circuits/a-binary-palindrome.cpp
Sky-Nik/HackerEarth
0e7dfea2c654571d5f816a80796c0db50a9f706c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int64_t> a = {0, 1}; void solve() { int64_t n; cin >> n; int64_t m = n; int i = distance(a.begin(), lower_bound(a.begin(), a.end(), n)); if (i) { m = min(m, n - a[i - 1]); } if (i < int(a.size())) { m = min(m, a[i] - n); } cout << m << "\n";...
22.486486
66
0.41226
[ "vector" ]
f9a3793787fe2fd9121502d65ec3f2d1c04ad389
586
cpp
C++
Environment/GameWindow.cpp
willshi88/Reversi-Game
9dae6c48b7e7694619eee51eb72cc16099e27007
[ "MIT" ]
null
null
null
Environment/GameWindow.cpp
willshi88/Reversi-Game
9dae6c48b7e7694619eee51eb72cc16099e27007
[ "MIT" ]
null
null
null
Environment/GameWindow.cpp
willshi88/Reversi-Game
9dae6c48b7e7694619eee51eb72cc16099e27007
[ "MIT" ]
null
null
null
#include "GameWindow.h" #include "GamePanel.h" namespace game { GameWindow::GameWindow() { GamePanel *gp = new GamePanel(); this->add(gp); this->setTitle(L"Reversi v0.1"); this->setDefaultCloseOperation(WindowConstants::EXIT_ON_CLOSE); this->pack(); this->setVisible(true); //this.setSize...
23.44
156
0.677474
[ "vector" ]
f9a75c4acdb9fada0d7f284b488b13896929448c
10,425
cpp
C++
modules/web/httpserver.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
modules/web/httpserver.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
modules/web/httpserver.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
#include <assert.h> #include <string.h> #include <sys/prctl.h> #include <algorithm> #include <iomanip> #include <iostream> #include <utility> #include <vector> #include "Poco/Net/AcceptCertificateHandler.h" #include "Poco/Net/Context.h" #include "Poco/Net/HTTPBasicCredentials.h" #include "Poco/Net/HTTPRequestHandler.h...
30.130058
100
0.671463
[ "vector" ]
3908cbef869ac7d4b6ae36810f2a942fed64ddbd
6,124
cpp
C++
src/confirmed.cpp
tarhan/AMQP-CPP
98a43d8e5b939b06fa86daac8599c6f0233763d6
[ "Apache-2.0" ]
null
null
null
src/confirmed.cpp
tarhan/AMQP-CPP
98a43d8e5b939b06fa86daac8599c6f0233763d6
[ "Apache-2.0" ]
null
null
null
src/confirmed.cpp
tarhan/AMQP-CPP
98a43d8e5b939b06fa86daac8599c6f0233763d6
[ "Apache-2.0" ]
null
null
null
/** * Confirmed.cpp * * Implementation for Confirmed class. * * @author Michael van der Werve <michael.vanderwerve@mailerq.com> * @copyright 2020 Copernica BV */ /** * Includes */ #include "includes.h" /** * Begin of namespaces */ namespace AMQP { /** * Called when the deliverytag(s) are acke...
29.728155
141
0.64484
[ "object" ]
390dffbfa356892815377c76b237edcd87d82b92
2,094
hpp
C++
include/tori/core/string.hpp
mocabe/Neco-lang-v2
a30075802492fa5c2d1725a2ba0e3e06dde4ce13
[ "MIT" ]
null
null
null
include/tori/core/string.hpp
mocabe/Neco-lang-v2
a30075802492fa5c2d1725a2ba0e3e06dde4ce13
[ "MIT" ]
7
2019-02-11T13:50:25.000Z
2019-10-28T15:39:18.000Z
include/tori/core/string.hpp
mocabe/tori
a30075802492fa5c2d1725a2ba0e3e06dde4ce13
[ "MIT" ]
null
null
null
// Copyright (c) 2018-2019 mocabe(https://github.com/mocabe) // This code is licensed under MIT license. #pragma once /// \file String #if !defined(TORI_NO_LOCAL_INCLUDE) # include "type_gen.hpp" #endif #include <string> #include <cstring> #include <string> // utf8 macro #define utf8(Str) ::TORI_NS::detail::to_u8...
20.94
68
0.614613
[ "object" ]
391198fe3b4a5cea0e131734805c983c63136f1c
2,900
cpp
C++
src/devices/cpu/threadPool.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/devices/cpu/threadPool.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/devices/cpu/threadPool.cpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
#include "threadPool.hpp" #include <unistd.h> #include "../../common/log.hpp" #include "../../queries/model/root.hpp" using namespace queries::model; using namespace std; namespace devices { ThreadPool* ThreadPoolManager::instance = nullptr; static std::vector<sem_t> sems; static std::vector<ThreadParam> params; sta...
24.576271
94
0.546207
[ "vector", "model" ]
391294f523c1231ea3c0ef94bb1aa09e805ea067
12,683
hpp
C++
src/common/lsutil/include/public/ls2-helpers/servicepoint.hpp
webosose/com.webos.service.videooutput
119a0df4272259ffc72a05489f6ca8054eca0ae3
[ "Apache-2.0" ]
2
2019-05-06T05:27:42.000Z
2020-06-12T02:23:32.000Z
src/common/lsutil/include/public/ls2-helpers/servicepoint.hpp
webosose/com.webos.service.videooutput
119a0df4272259ffc72a05489f6ca8054eca0ae3
[ "Apache-2.0" ]
null
null
null
src/common/lsutil/include/public/ls2-helpers/servicepoint.hpp
webosose/com.webos.service.videooutput
119a0df4272259ffc72a05489f6ca8054eca0ae3
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2016-2019 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
32.857513
133
0.665773
[ "object", "vector" ]
391603bfd76fd56836623378306bbdd12c00024c
4,237
hpp
C++
solver/Hint.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
solver/Hint.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
solver/Hint.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
#pragma once #include "AnnotatedMove.hpp" #include "BasicBoard.hpp" #include "Coord.hpp" #include "DecisionType.hpp" #include "SingleMove.hpp" #include <fmt/core.h> #include <fmt/ostream.h> #include <iosfwd> #include <span> #include <vector> namespace solver { class Hint { public: using MovesSpan = std::span<Annot...
21.291457
78
0.628511
[ "vector", "model" ]
391bfa79c9b0ac7e969b40dd80d3611916adf788
1,117
cpp
C++
plugins/d3d9/src/state/ffp/misc/make_states.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/src/state/ffp/misc/make_states.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/src/state/ffp/misc/make_states.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/d3d9/state/render.hpp> #include <sge/d3d9/state/render_vector.hpp> #include <sge/d3d9...
42.961538
95
0.693823
[ "render" ]
391d6be01a82315ef92f3335e67abc458c045638
11,772
cxx
C++
Pose Editor/src/view_glfw/ViewerGUI.cxx
avatarxargo/Pose-Editor
7ef206d4201698d53a24f11f65cfb031aa5ae3f9
[ "MIT" ]
null
null
null
Pose Editor/src/view_glfw/ViewerGUI.cxx
avatarxargo/Pose-Editor
7ef206d4201698d53a24f11f65cfb031aa5ae3f9
[ "MIT" ]
null
null
null
Pose Editor/src/view_glfw/ViewerGUI.cxx
avatarxargo/Pose-Editor
7ef206d4201698d53a24f11f65cfb031aa5ae3f9
[ "MIT" ]
null
null
null
/// <title>Viewer GUI</title> /// <desc> /// Specific implementation of the ViewerInterface. /// You could substitute a headless or some other graphics library implementation /// in place of it and the rest of the application could operate without any issues. /// </desc> /// <date>9/4/2021</date> /// <version>1.0</v...
29.283582
143
0.700051
[ "render" ]
391ec0498ebafd525c9101af84ece0f632aea839
369
hpp
C++
src/radial_pts.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
null
null
null
src/radial_pts.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
null
null
null
src/radial_pts.hpp
JLRipley314/spherically-symmetric-Z2-edgb
c2311a79d2ec08073541c98f6b06b6f54fbb58e4
[ "MIT" ]
2
2021-07-06T01:45:19.000Z
2021-07-30T18:35:09.000Z
#ifndef _RADIAL_PTS_HPP_ #define _RADIAL_PTS_HPP_ #include <vector> /*===========================================================================*/ class Radial_pts { public: std::vector<double> x; std::vector<double> r; const double cl; Radial_pts( const int nx, const double dx, const double cl ...
16.043478
79
0.528455
[ "vector" ]
3928f3e7b225aeb3575f8f0cc911b3f403fe16c2
1,467
cpp
C++
Homeworks/Homework5/MinElementsSum/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Homeworks/Homework5/MinElementsSum/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Homeworks/Homework5/MinElementsSum/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int N, d; cin >> N >> d; vector<long long> input(N); vector<int> minElementIdx(N); for (int i = 0; i < N; i++) { cin >> input[i]; if (i < d) { if (i == 0 || input[i] < input[minElement...
22.921875
88
0.345603
[ "vector" ]
393f770118646ae91cce66bf8e5076ba973d63b5
7,710
cc
C++
src/detectors/macleod/addon/macleod.cc
cristovao-trevisan/pitchfinder
3d4ecec71e3bebe5c61f9bfb3f2726ea5daf13fa
[ "MIT" ]
28
2017-08-15T18:13:40.000Z
2022-01-17T07:45:38.000Z
src/detectors/macleod/addon/macleod.cc
cristovao-trevisan/pitchfinder
3d4ecec71e3bebe5c61f9bfb3f2726ea5daf13fa
[ "MIT" ]
2
2020-01-27T19:51:13.000Z
2021-09-09T23:22:36.000Z
src/detectors/macleod/addon/macleod.cc
cristovao-trevisan/pitchfinder
3d4ecec71e3bebe5c61f9bfb3f2726ea5daf13fa
[ "MIT" ]
5
2017-11-25T15:43:28.000Z
2021-06-19T16:07:23.000Z
#include <nan.h> #include <limits> #include "macleod.h" Nan::Persistent<v8::Function> MacLeod::constructor; bool max(double a, double b) { if (b < a) return a; return b; } void MacLeod::Init(v8::Local<v8::Object> exports) { Nan::HandleScope scope; // Prepare constructor template v8::Local<v8::Context> con...
34.266667
164
0.672503
[ "object" ]
3942f9b0798a9b22c8a3b6d2c90835d01e29be4b
55,685
cpp
C++
sql/SqlValues.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
5
2021-01-15T16:59:59.000Z
2022-02-28T15:41:00.000Z
sql/SqlValues.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
null
null
null
sql/SqlValues.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
1
2021-06-22T04:53:38.000Z
2021-06-22T04:53:38.000Z
#include "sql/SqlValues.hpp" #include <llvm/IR/Module.h> #include <llvm/IR/IRBuilder.h> #include <llvm/IR/LLVMContext.h> #include <llvm/IR/DerivedTypes.h> #include <llvm/IR/TypeBuilder.h> #include <functional> #include <limits> #include "codegen/CodeGen.hpp" #include "codegen/PhiNode.hpp" #include "foundations/excep...
30.280044
171
0.638538
[ "vector" ]
39434b0ba020af7ad39ab0dba27d8853522c57fc
635
cpp
C++
Makefile.cpp
marcospb19/Makefile
2ea3854c70d8ea08fda3ca3095ecb199151cd6c6
[ "MIT" ]
2
2019-10-24T23:40:39.000Z
2020-11-28T18:05:23.000Z
Makefile.cpp
marcospb19/Makefile
2ea3854c70d8ea08fda3ca3095ecb199151cd6c6
[ "MIT" ]
1
2020-03-25T18:53:09.000Z
2020-09-07T13:07:28.000Z
Makefile.cpp
marcospb19/Makefile
2ea3854c70d8ea08fda3ca3095ecb199151cd6c6
[ "MIT" ]
1
2019-10-24T15:56:31.000Z
2019-10-24T15:56:31.000Z
# Final program name PROGRAM = # Default target and pseudo-targets .DEFAULT_GOAL = $(PROGRAM) .PHONY = clean .PHONY = install # Compiler, Compilation flags, link flags CC = clang++ # g++ CFLAGS = -O2 -Wall -Wextra -Wshadow -std=c++11 LDFLAGS = # Object files to be built OBJECTS = cppfile1.o cppfile2.o ### Main ta...
16.710526
46
0.620472
[ "object" ]
3944b6512e08e636b7659ec1a877155e100b3154
17,419
hpp
C++
include/hecl/BitVector.hpp
linkmauve/hecl
57bfd8cb3fefb3e57caddef46b636d762ec642a1
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
hecl/include/hecl/BitVector.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
include/hecl/BitVector.hpp
RetroView/hecl
2d1328c04bdbe9928ae89ec5b51bedb51a0133f1
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
//===- llvm/ADT/BitVector.h - Bit vectors -----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
29.573854
118
0.592629
[ "vector" ]
39543e8032f55db67edebb3e6ddaf69f86715320
1,721
cpp
C++
src/Sprite.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
1
2019-06-19T10:19:33.000Z
2019-06-19T10:19:33.000Z
src/Sprite.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
null
null
null
src/Sprite.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
1
2019-06-19T09:00:15.000Z
2019-06-19T09:00:15.000Z
#include "Sprite.h" #include "BatchHandler.h" namespace UT { Sprite::Sprite() { textureId = -1; textureRect = sf::IntRect(0, 0, 0, 0); color = sf::Color::White; } Sprite::Sprite(int texId, sf::IntRect texRect) { textureId = texId; textureRect = texRect; ...
38.244444
123
0.647879
[ "transform" ]
39589f82fb1bdc9fe2e9d524653a2638b2e0bfed
4,179
hh
C++
contrib/fluxbox/src/FbTk/ImageControl.hh
xk2600/lightbox
987d901366fe706de1a8bbd1efd49b87abff3e0b
[ "BSD-2-Clause" ]
null
null
null
contrib/fluxbox/src/FbTk/ImageControl.hh
xk2600/lightbox
987d901366fe706de1a8bbd1efd49b87abff3e0b
[ "BSD-2-Clause" ]
2
2017-05-30T05:21:59.000Z
2018-03-14T07:21:33.000Z
src/FbTk/ImageControl.hh
antix-skidoo/fluxbox
b83ee923f4ab2ab51f3b8c14343bda0579e538c6
[ "MIT" ]
null
null
null
// ImageControl.hh for FbTk - Fluxbox Toolkit // Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxbox at users.sourceforge.net) // // from Image.hh for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net) // // Permission is hereby granted, free of charge, to any person obtainin...
35.117647
111
0.6961
[ "render", "vector" ]
395bbc3a1544acf57a4c496ae5cea01134d65111
47,455
cpp
C++
src/buffer.cpp
RaftLib/ipc
608dcb10e1acb84e0f3be89639a91abe5395566b
[ "Apache-2.0" ]
6
2021-08-04T20:03:16.000Z
2021-08-17T16:16:10.000Z
src/buffer.cpp
RaftLib/ipc
608dcb10e1acb84e0f3be89639a91abe5395566b
[ "Apache-2.0" ]
9
2021-08-05T01:14:13.000Z
2021-08-31T21:39:28.000Z
src/buffer.cpp
RaftLib/ipc
608dcb10e1acb84e0f3be89639a91abe5395566b
[ "Apache-2.0" ]
null
null
null
/** * buffer.cpp - * @author: Jonathan Beard * @version: Fri Mar 13 09:35:16 2020 * * Copyright 2020 Jonathan Beard * * 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://ww...
32.931992
119
0.533411
[ "object" ]
39605a0a901374c44d7b9b249f8227691b067159
39,109
cxx
C++
main/xmloff/source/text/txtexppr.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/xmloff/source/text/txtexppr.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/xmloff/source/text/txtexppr.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
38.043774
124
0.723619
[ "shape", "vector" ]
396d370ae7b3f7931c88f0b5ae00c7f07470f187
481
cpp
C++
leetcode/cpp/1207.unique-number-of-occurrences.cpp
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
3
2019-04-12T19:12:55.000Z
2020-05-29T07:55:16.000Z
leetcode/cpp/1207.unique-number-of-occurrences.cpp
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
null
null
null
leetcode/cpp/1207.unique-number-of-occurrences.cpp
phiysng/leetcode
280e8b1a0b45233deb2262ceec85b8174e9b2ced
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: bool uniqueOccurrences(vector<int> &arr) { unordered_map<int, int> map; for (int i : arr) { map[i]++; } unordered_set<int> set; for (auto &p : map) { if (set.find(p.second) == set.end()) { ...
18.5
48
0.376299
[ "vector" ]
396ec58e7426f42b264e4f0655aedb99c57325a9
1,017
cpp
C++
codeforces/rounds/#358/dfs.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#358/dfs.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#358/dfs.cpp
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long int net; int v[100005]; vector <vector <pair<int,ll> > > adj; int a[100005]; ll d[100005]; void dfs1(int v_){ //cout<<v_<<" asfc"<<endl; net++; int i; for(i=0;i<adj[v_].size();i++){ int u; u=adj[v_][i].first; //ll dist=adj[v][i].se...
9.504673
37
0.490659
[ "vector" ]
397b3252dcb2f988a0ec1427d1b4606e834a6a77
964
cpp
C++
copasi/undoFramework/UndoReactionData.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/undoFramework/UndoReactionData.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/undoFramework/UndoReactionData.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2014 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. /* * UndoReactionData.cpp * * Created on: 15 Aug 2014 * Author: dada */ #include <QtCore/QList> #include "model/CMetab.h" #include "...
20.083333
98
0.759336
[ "model" ]
397dc3940a02a40fa7464becd02125ea5af955dd
3,848
cpp
C++
HDOJ/1281.cpp
miaowh/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
1
2021-06-15T05:43:37.000Z
2021-06-15T05:43:37.000Z
HDOJ/1281.cpp
MiaoWH/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
null
null
null
HDOJ/1281.cpp
MiaoWH/ICPC
c1f141ea005fb5d9582878e154c49f22b0f217ff
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int maxn = 205; struct Tarjan { vector<int> G[maxn]; int scc, dfs_clock, top; // scc: 强连通分量的数量 bool instack[maxn]; int dfn[maxn], low[maxn], belong[maxn], Stack[maxn]; void tarjan(int u) { dfn[u] = low[u] = ++dfs_clock; instack[u] = true; Stack...
23.753086
79
0.456601
[ "vector" ]
30300ce378f78843c86bd7b48dc8581b599ee5e8
3,143
cpp
C++
mat.cpp
secretcod3r/new_repo2
6635f982e63642cfc0d261e16294648feefd3c75
[ "MIT" ]
null
null
null
mat.cpp
secretcod3r/new_repo2
6635f982e63642cfc0d261e16294648feefd3c75
[ "MIT" ]
null
null
null
mat.cpp
secretcod3r/new_repo2
6635f982e63642cfc0d261e16294648feefd3c75
[ "MIT" ]
null
null
null
// @author: Alon Firestein #include "mat.hpp" #include <iostream> #include <string> #include <stdexcept> #include <vector> #include <cctype> using namespace std; // Function to return the created mat for the factory :) string print_mat(int col, int row, char symbol_a, char symbol_b) { // Initalizing counters fo...
28.315315
174
0.573974
[ "vector" ]
30487062d644576ef345637e775af2ea35c7b2ba
7,133
cpp
C++
BCPlayerBuilder/BCPlayerBuilder.cpp
CommanderAsdasd/bcplayer
bf3481c9f08fb810660367b083392304479daaef
[ "MIT" ]
null
null
null
BCPlayerBuilder/BCPlayerBuilder.cpp
CommanderAsdasd/bcplayer
bf3481c9f08fb810660367b083392304479daaef
[ "MIT" ]
null
null
null
BCPlayerBuilder/BCPlayerBuilder.cpp
CommanderAsdasd/bcplayer
bf3481c9f08fb810660367b083392304479daaef
[ "MIT" ]
null
null
null
// BCPlayer builder ////////////////////////////////////////////// // use this program to make necessary changes to BeepComp //////// // source files to build a monolithic BCPlayer.cpp /////////////// #include <iostream> #include <string> #include <fstream> #include <vector> #include <windows.h> using namespace std; ...
23.084142
112
0.615449
[ "vector" ]
304f3b66970edff347ca76c216a6573ef1e91d5e
3,719
cc
C++
idle-gc.cc
bnoordhuis/node-idle-gc
822708fa92758fb8df3b500f3986fab67a9e4c50
[ "ISC" ]
34
2015-01-18T16:59:49.000Z
2020-03-13T22:31:48.000Z
idle-gc.cc
bnoordhuis/node-idle-gc
822708fa92758fb8df3b500f3986fab67a9e4c50
[ "ISC" ]
3
2015-04-14T17:18:49.000Z
2017-05-23T08:46:06.000Z
idle-gc.cc
bnoordhuis/node-idle-gc
822708fa92758fb8df3b500f3986fab67a9e4c50
[ "ISC" ]
6
2015-12-19T12:01:17.000Z
2019-02-02T07:54:05.000Z
/* * Copyright (c) 2012, Ben Noordhuis <info@bnoordhuis.nl> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS...
26.564286
80
0.711213
[ "object" ]
304f930b85219c75168e8e5a4bdef916cb10ebb0
4,152
hpp
C++
include/whack/codegen/expressions/factors/memberinitlist.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
54
2018-10-28T07:18:31.000Z
2022-03-08T20:30:40.000Z
include/whack/codegen/expressions/factors/memberinitlist.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
null
null
null
include/whack/codegen/expressions/factors/memberinitlist.hpp
onchere/whack
0702e46f13855d4efd8dd0cb67af2fddfb84b00c
[ "Apache-2.0" ]
5
2018-10-28T14:43:53.000Z
2020-04-26T19:52:58.000Z
/** * Copyright 2018-present Onchere Bironga * * 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...
36.104348
80
0.608141
[ "vector" ]
3053f5117bcda482dff6d91d0e234f9b38238006
1,320
hpp
C++
modules/core/sdk/include/nt2/core/container/dsl/generator.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/sdk/include/nt2/core/container/dsl/generator.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/core/sdk/include/nt2/core/container/dsl/generator.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
37.714286
80
0.535606
[ "transform" ]
30594cb4bfaf479f8baac0baa6a3939a0ed46802
4,097
hpp
C++
src/character/bodyPart.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/character/bodyPart.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/character/bodyPart.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file bodyPart.hpp /// @author Enrico Fraccaroli /// @date Jan 08 2017 /// @copyright /// Copyright (c) 2017 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Software"), ...
33.859504
79
0.648279
[ "vector" ]
305d7249ff087bbd2a19f60745a736f7f4fb48af
5,076
cpp
C++
simulation/quadrotor_simulation/src/pose_pub.cpp
Sanjeeev-K/Quad-rotor-Project
69abf20edc822d5e15127df0d3f7f00ab2b03dbf
[ "MIT" ]
null
null
null
simulation/quadrotor_simulation/src/pose_pub.cpp
Sanjeeev-K/Quad-rotor-Project
69abf20edc822d5e15127df0d3f7f00ab2b03dbf
[ "MIT" ]
null
null
null
simulation/quadrotor_simulation/src/pose_pub.cpp
Sanjeeev-K/Quad-rotor-Project
69abf20edc822d5e15127df0d3f7f00ab2b03dbf
[ "MIT" ]
2
2019-11-25T23:36:44.000Z
2019-11-28T20:07:25.000Z
#include "../include/quadrotor_simulation/pose_pub.h" PosePub::PosePub(ros::NodeHandle* nodehandle, string fileName, string delimeter):nh_(*nodehandle), fileName_(fileName), delimeter_(delimeter) { // constructor ROS_INFO("In class constructor of PosePub"); getPath(); initVec(); initSub(); ...
36
144
0.64342
[ "object", "vector" ]
3072194bc0df6300f5bd50d9bf409695f79c0ccc
15,232
cpp
C++
src/util.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/util.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/util.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/util.hpp // Purpose: source for utility functions // Author: Akiva Miura <akiva.miura@gmail.com> // Created: 01/18/2011 // Copyright: (C) 2010-2011 Akiva Miura // Licence: MIT License ///////////////////...
26.082192
95
0.515034
[ "object" ]
308fc8447ccab8f96304cf2f3e77812bab090fdc
286
cpp
C++
Adobe/12.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Adobe/12.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Adobe/12.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> leaders(int a[], int n) { int x = INT_MIN; vector<int> ans; for (int i = n - 1; i >= 0; i--) { if (a[i] >= x) { ans.push_back(a[i]); x = a[i]; } } reverse(ans.begin(), ans.end()); return ans; }
16.823529
37
0.503497
[ "vector" ]
30910d80b857cee642f10139c383008f5d4bc833
2,510
cpp
C++
src/tabcat.cpp
Bleskocvok/tabcat
50212e354c5a61105d66b980eec411416a254d0d
[ "BSD-3-Clause" ]
1
2021-07-15T19:12:38.000Z
2021-07-15T19:12:38.000Z
src/tabcat.cpp
Bleskocvok/tabcat
50212e354c5a61105d66b980eec411416a254d0d
[ "BSD-3-Clause" ]
null
null
null
src/tabcat.cpp
Bleskocvok/tabcat
50212e354c5a61105d66b980eec411416a254d0d
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <string_view> #include "include/table.hpp" #include "include/unicode.hpp" #include "include/printer.hpp" #include "app_settings.hpp" // argument includes #include "delimiter.hpp" #include "disable_border.hpp" #include "help.hpp" #include "version.hpp" #include "format.h...
22.410714
65
0.635857
[ "vector" ]
309429a7444789c95f239c4a979e05ec6676d045
31,679
hpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tunnel_vpdn_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tunnel_vpdn_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_tunnel_vpdn_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XR_TUNNEL_VPDN_OPER_ #define _CISCO_IOS_XR_TUNNEL_VPDN_OPER_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xr { namespace Cisco_IOS_XR_tunnel_vpdn_oper { class Vpdn : public ydk::Entity { public: Vpdn(); ...
47.28209
162
0.673759
[ "vector" ]
309d1f027f7638deb09c74d2f68417a397a1c4f1
512
cpp
C++
devertexwahn/flatland/math/refract.cpp
Vertexwahn/FlatlandRT
37d09fde38b25eff5f802200b43628efbd1e3198
[ "Apache-2.0" ]
62
2021-09-21T18:58:02.000Z
2022-03-07T02:17:43.000Z
devertexwahn/flatland/math/refract.cpp
Vertexwahn/FlatlandRT
37d09fde38b25eff5f802200b43628efbd1e3198
[ "Apache-2.0" ]
null
null
null
devertexwahn/flatland/math/refract.cpp
Vertexwahn/FlatlandRT
37d09fde38b25eff5f802200b43628efbd1e3198
[ "Apache-2.0" ]
null
null
null
#include "flatland/math/refract.h" FLATLAND_BEGIN_NAMESPACE // Copied from pbrt, Version 3 with minor modifications (see README.md for license information) // Source: https://github.com/mmp/pbrt-v3/blob/0aa90372efce97df39cffcaa33b276d7d0772d30/src/core/geometry.h#L1213 // http://www.pbr-book.org/3ed-2018/Reflection_M...
42.666667
113
0.775391
[ "geometry" ]
30a825036580d1ce5f8e5b5c2e35c53ff9d90b73
16,900
cpp
C++
utility/tests/DAG_unittest.cpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
31
2016-01-20T05:43:46.000Z
2022-02-07T09:14:06.000Z
utility/tests/DAG_unittest.cpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
221
2016-01-20T18:25:10.000Z
2016-06-26T02:58:12.000Z
utility/tests/DAG_unittest.cpp
spring-operator/quickstep
3e98776002eb5db7154031fd6ef1a7f000a89d81
[ "Apache-2.0" ]
17
2016-01-20T04:00:21.000Z
2019-03-12T02:41:25.000Z
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
29.964539
95
0.653018
[ "shape", "vector" ]
dd767198f6bd569d669f82545b533a31ffc4572d
400
cpp
C++
209-minimum-size-subarray-sum/209-minimum-size-subarray-sum.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
209-minimum-size-subarray-sum/209-minimum-size-subarray-sum.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
209-minimum-size-subarray-sum/209-minimum-size-subarray-sum.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: int minSubArrayLen(int target, vector<int>& nums) { int i = 0; int sum = 0; int ans = INT_MAX; for(int j = 0;j<nums.size();++j){ sum += nums[j]; while(sum >= target){ ans = min(ans,j+1 - i); sum -= nums...
23.529412
55
0.4075
[ "vector" ]
dd793bfeb61856ef1b38638c0a87d112e2f8ac7d
13,391
cpp
C++
src/fmtc/Primaries.cpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
src/fmtc/Primaries.cpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
src/fmtc/Primaries.cpp
inflation/fmtconv
bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a
[ "WTFPL" ]
null
null
null
/***************************************************************************** Primaries.cpp Author: Laurent de Soras, 2016 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the t...
22.929795
174
0.600702
[ "vector" ]
dd81d70f3d116162c09a2ac2611d537f90d61ccb
1,143
hpp
C++
include/wise.kernel/server/service/db/detail/db_pool.hpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
1
2020-03-01T04:05:59.000Z
2020-03-01T04:05:59.000Z
include/wise.kernel/server/service/db/detail/db_pool.hpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
null
null
null
include/wise.kernel/server/service/db/detail/db_pool.hpp
npangunion/wise.kernel
a44f852f5e7ade2c5f95f5d615daaf154bc69468
[ "MIT" ]
null
null
null
#pragma once #include "db.hpp" #include "db_command.hpp" #include <wise/dbc/dbc.hpp> namespace wise { /// per runner db pool of connection and command class db_pool { public: /// constructor db_pool(); /// setup by connecting to each db. throws wise::exception if fail bool start(const std::vector<db>& dbs);...
18.435484
89
0.662292
[ "vector" ]
dd8856bf571b68327b8ad2ced9d4475dc227d2ce
1,722
cpp
C++
11626.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11626.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11626.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #define eps 1e-9 #...
20.746988
110
0.569106
[ "vector" ]
dd89f581fe69b67b13a921fbb43c342102222f27
431
cpp
C++
JB/Week3/2437_Balances/main.cpp
lee20h/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
1
2020-08-02T14:30:03.000Z
2020-08-02T14:30:03.000Z
JB/Week3/2437_Balances/main.cpp
alps-jbnu/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
null
null
null
JB/Week3/2437_Balances/main.cpp
alps-jbnu/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
2
2020-07-09T14:53:29.000Z
2020-07-17T10:39:00.000Z
#include <bits/stdc++.h> #define ll long long using namespace std; int N; vector<int> vec; int main() { ios::sync_with_stdio(false); cin.tie(0); ll ans = 0; cin >> N; while(cin >> N) vec.push_back(N); sort(vec.begin(), vec.end()); for(int i = 0; i < vec.size(); i++...
17.958333
42
0.461717
[ "vector" ]
dd8ef6fa4f8627e8284fbd17c7896e3310e221e8
1,850
cpp
C++
tools/Vitis-AI-Runtime/VART/xir/src/xir/tensor/tensor.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Runtime/VART/xir/src/xir/tensor/tensor.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Runtime/VART/xir/src/xir/tensor/tensor.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
34.90566
78
0.630811
[ "shape", "vector" ]
dd90e65002a172918fbbc66cb0fa766c361d2a8e
11,424
cpp
C++
flashlight/fl/experimental/memory/allocator/CompositeMemoryAllocator.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
1
2021-05-26T11:56:41.000Z
2021-05-26T11:56:41.000Z
flashlight/fl/experimental/memory/allocator/CompositeMemoryAllocator.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
null
null
null
flashlight/fl/experimental/memory/allocator/CompositeMemoryAllocator.cpp
codekansas/flashlight
6b9e1f5d00269bda8ca6f453ab7f15bd2b8627f9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "flashlight/fl/experimental/memory/allocator/CompositeMemoryAllocator.h" #include <algorithm> #include <cstddef> #i...
34.306306
81
0.681197
[ "vector" ]
dd92f8326d5dc2b2f45114ae45eb3bfdf64b08fd
6,367
cpp
C++
willow/src/op/onehot.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/op/onehot.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/op/onehot.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #include <memory> #include <popart/graph.hpp> #include <popart/op/onehot.hpp> #include <popart/opmanager.hpp> #include <popart/opserialiser.hpp> #include <popart/tensor.hpp> #include <popart/tensordata.hpp> #include <popart/tensors.hpp> #include <popart/typefunc...
35.569832
79
0.561018
[ "shape", "vector" ]
dda1d452698eb7696b7cc30912475da78910df19
1,561
cpp
C++
Problems/0381. Insert Delete GetRandom O(1) - Duplicates allowed.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0381. Insert Delete GetRandom O(1) - Duplicates allowed.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
Problems/0381. Insert Delete GetRandom O(1) - Duplicates allowed.cpp
KrKush23/LeetCode
2a87420a65347a34fba333d46e1aa6224c629b7a
[ "MIT" ]
null
null
null
class RandomizedCollection { vector<int> nums{}; map<int, unordered_set<int>> m{}; // {val, indices in array} public: /** Inserts a value to the collection. Returns true if the collection did not already contain the specified element. */ bool insert(int val) { m[val].insert(nums.size()); ...
36.302326
123
0.577835
[ "object", "vector" ]
dda5e6ec5f1fd52c62367da478cb0e547282e882
321
cc
C++
choosing_teams.cc
maximilianbrine/github-slideshow
76e4d6a7e57da61f1ddca4d8aa8bc5d2fd78bea1
[ "MIT" ]
null
null
null
choosing_teams.cc
maximilianbrine/github-slideshow
76e4d6a7e57da61f1ddca4d8aa8bc5d2fd78bea1
[ "MIT" ]
3
2021-01-04T18:33:39.000Z
2021-01-04T19:37:21.000Z
choosing_teams.cc
maximilianbrine/github-slideshow
76e4d6a7e57da61f1ddca4d8aa8bc5d2fd78bea1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> int main() { int n, k; std::cin >> n >> k; std::vector<int> players; for (int i = 0; i < n; ++i) { int y; std::cin >> y; if (y <= 5 - k) { players.push_back(y); } } std::cout << players.size() / 3 << std::endl; return 0; ...
21.4
49
0.448598
[ "vector" ]
ddad3019e8bbd7bfcf7443a0c07e7e5ab388143e
2,689
cpp
C++
queue/C++/0641-design-circular-deque(1)/main.cpp
ljyljy/LeetCode-Solution-in-Good-Style
0998211d21796868061eb22e2cbb9bcd112cedce
[ "Apache-2.0" ]
1
2020-04-02T13:31:31.000Z
2020-04-02T13:31:31.000Z
queue/C++/0641-design-circular-deque(1)/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
null
null
null
queue/C++/0641-design-circular-deque(1)/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
1
2021-06-17T09:21:54.000Z
2021-06-17T09:21:54.000Z
#include <iostream> #include <vector> using namespace std; class MyCircularDeque { private: vector<int> arr; int front; int rear; int capacity; public: /** Initialize your data structure here. Set the size of the deque to be k. */ MyCircularDeque(int k) { capacity = k + 1; ar...
24.445455
95
0.547415
[ "object", "vector" ]
ddafae8dadf7f2a5633d0050582c55fa4d8186ed
1,954
hpp
C++
inc/ResourceManagement/Model.hpp
Arxcel/bomberman
f1e9b8e3fa669c5136323d8e79f857f8ea25343f
[ "MIT" ]
null
null
null
inc/ResourceManagement/Model.hpp
Arxcel/bomberman
f1e9b8e3fa669c5136323d8e79f857f8ea25343f
[ "MIT" ]
null
null
null
inc/ResourceManagement/Model.hpp
Arxcel/bomberman
f1e9b8e3fa669c5136323d8e79f857f8ea25343f
[ "MIT" ]
null
null
null
#ifndef MODEL_H #define MODEL_H #include <string> #include <fstream> #include <sstream> #include <iostream> #include <map> #include <vector> #include <memory.h> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <GL/glew.h> #include <glm/glm.hpp> #inclu...
33.118644
145
0.679632
[ "mesh", "vector", "model", "transform" ]
ddbfa7007bbd9d678f889727060f070aa596f543
13,115
cpp
C++
base/fs/hsm/engine/hsmeng/rswriter.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/hsm/engine/hsmeng/rswriter.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/hsm/engine/hsmeng/rswriter.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2000 Microsoft Corporation Module Name: rswriter.cpp Abstract: Implements CRssJetWriter methods Author: Ran Kalach [rankala] 4/4/2000 Revision History: --*/ #include "stdafx.h" #include "rsevents.h" #include "rswriter.h" // Include these...
26.875
148
0.57987
[ "object" ]
ddbfba77702a3263579f8aebffbd424c5be302ae
6,223
cpp
C++
Source/SystemQOR/MSWindows/WinQL/MediaFoundation/WinQLMediaSink.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/MediaFoundation/WinQLMediaSink.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/MediaFoundation/WinQLMediaSink.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLMediaSink.cpp // Copyright Querysoft Limited 2013, 2015 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmi...
41.211921
138
0.553431
[ "object" ]
ddd2e4bd3e715a5970e1f1fd1b426eee38966f53
1,816
cpp
C++
src/Action.cpp
GT-RAIL/waypoint_planner
169d5eee23e000e78e75d019d6ed1d9a9600ef04
[ "BSD-3-Clause" ]
2
2018-12-05T21:48:05.000Z
2020-08-19T09:29:10.000Z
src/Action.cpp
GT-RAIL/waypoint_planner
169d5eee23e000e78e75d019d6ed1d9a9600ef04
[ "BSD-3-Clause" ]
null
null
null
src/Action.cpp
GT-RAIL/waypoint_planner
169d5eee23e000e78e75d019d6ed1d9a9600ef04
[ "BSD-3-Clause" ]
2
2019-07-22T11:37:57.000Z
2021-08-01T17:30:05.000Z
#include "waypoint_planner/Action.h" const uint8_t Action::OBSERVE = 0; const uint8_t Action::MOVE = 1; const uint8_t Action::PERCH = 2; const uint8_t Action::UNPERCH = 3; using std::vector; Action::Action(uint8_t action_type) { this->action_type = action_type; } Action::Action(uint8_t action_type, geometry_msgs:...
25.577465
106
0.704846
[ "vector" ]
ddd92ea76fa00012d4153e9085cb7cc4420b456c
1,554
cpp
C++
src/main.cpp
istvan-vonfedak/lambda-calculus-interpreter
8da5137ae329285a425f29a29f82c4f75af17962
[ "MIT" ]
null
null
null
src/main.cpp
istvan-vonfedak/lambda-calculus-interpreter
8da5137ae329285a425f29a29f82c4f75af17962
[ "MIT" ]
null
null
null
src/main.cpp
istvan-vonfedak/lambda-calculus-interpreter
8da5137ae329285a425f29a29f82c4f75af17962
[ "MIT" ]
null
null
null
#include "betaReducer.hpp" int main(int argc, char * argv[]) { const bool printDebug = (argc > 1)? true : false; std::cout<<"- Type exit to quit program.\n"; while(true) { // input string that stores line that is read in std::string in; std::cout<<"\n input: "; getline(std::cin,in); if(...
29.884615
68
0.550193
[ "vector" ]
50b341fa4656044acd1ec28ac412137a8b2705be
10,951
cpp
C++
wisdom/sentinel/haspfeature.cpp
chenghuaiyu/caffe
b16e30408a8c26c1bb72b807ae04f81c7389869c
[ "BSD-2-Clause" ]
1
2020-01-18T16:44:03.000Z
2020-01-18T16:44:03.000Z
wisdom/sentinel/haspfeature.cpp
chenghuaiyu/caffe
b16e30408a8c26c1bb72b807ae04f81c7389869c
[ "BSD-2-Clause" ]
null
null
null
wisdom/sentinel/haspfeature.cpp
chenghuaiyu/caffe
b16e30408a8c26c1bb72b807ae04f81c7389869c
[ "BSD-2-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////// // Copyright (C) 2011, SafeNet, Inc. All rights reserved. // // HASP(R) is a registered trademark of SafeNet, Inc. // // // //////////////////////////////////////////////////////////////////// #include "hasp_api_cpp_.h" ///////////////////////////...
38.424561
78
0.502511
[ "object" ]
50b81a731176dc1d5b2c1146e522006a8bccdb4c
2,560
cc
C++
gcj/2013/round_qulification_b.cc
neutronest/goodgoodstudy
34e03912a285cdfff249872a3aecf41c6a45c446
[ "MIT" ]
null
null
null
gcj/2013/round_qulification_b.cc
neutronest/goodgoodstudy
34e03912a285cdfff249872a3aecf41c6a45c446
[ "MIT" ]
null
null
null
gcj/2013/round_qulification_b.cc
neutronest/goodgoodstudy
34e03912a285cdfff249872a3aecf41c6a45c446
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <vector> #include <string> using namespace std; class Solution { public: bool solve(int rows, int cols, vector<vector<int>> mat) { vector<vector<int>> oriMat(rows, vector<int>(cols, 100)); int maxVal = -1; for (auto r = 0; r < rows; r++) { maxVal = -...
22.45614
61
0.433203
[ "vector" ]
50be1bcd82451fc1c42959bc99a8a47f226119e4
3,569
hpp
C++
include/dds/core/InstanceHandle.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
include/dds/core/InstanceHandle.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
include/dds/core/InstanceHandle.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
/* * Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Corp. * Copyright 2010, Real-Time Innovations, Inc. * Copyright 2019, Proyectos y Sistemas de Mantenimiento SL (eProsima). * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
24.784722
75
0.66181
[ "object", "vector" ]
50d50b5aba21925c6b8bb343550b32ef069d785e
89,693
cpp
C++
production/libs/fog/Fog/Src/Fog/G2d/Imaging/Codecs/GifCodec.cpp
Lewerow/DetailIdentifier
bd5e0b3b55b5ce5b24db51ae45ed53298d331687
[ "MIT" ]
null
null
null
production/libs/fog/Fog/Src/Fog/G2d/Imaging/Codecs/GifCodec.cpp
Lewerow/DetailIdentifier
bd5e0b3b55b5ce5b24db51ae45ed53298d331687
[ "MIT" ]
null
null
null
production/libs/fog/Fog/Src/Fog/G2d/Imaging/Codecs/GifCodec.cpp
Lewerow/DetailIdentifier
bd5e0b3b55b5ce5b24db51ae45ed53298d331687
[ "MIT" ]
null
null
null
// [Fog-G2d] // // [License] // MIT, See COPYING file in package #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) #define _CRT_SECURE_NO_WARNINGS #endif // _MSC_VER // [Precompiled Headers] #if defined(FOG_PRECOMP) #include FOG_PRECOMP #endif // FOG_PRECOMP // [Dependencies] #include <Fog/Core/Global/Init_...
30.907305
156
0.60134
[ "object" ]
50d8fe2bd15ba44a62b02de9ad8292840d7c4076
571
cpp
C++
folders/LeetCode C++ Solutions/rotate-array.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
1
2020-10-06T01:20:07.000Z
2020-10-06T01:20:07.000Z
folders/LeetCode C++ Solutions/rotate-array.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
folders/LeetCode C++ Solutions/rotate-array.cpp
angelopassaro/Hacktoberfest-1
21f90f5d49efba9b1a27f4d9b923f5017ab43f0e
[ "Apache-2.0" ]
null
null
null
/** * Author: Siddhant Pandya * Problem: 189. Rotate Array */ class Solution { public: void rotate(vector<int>& nums, int k) { k %= nums.size(); vector<int> arr(nums.size()); int i=nums.size()-k,y=0; for(int x=i;x<nums.size();x++) { arr[...
19.689655
44
0.362522
[ "vector" ]
50e2d7af1436b7d6b3429dfe1d6b0961522e09e5
2,409
cc
C++
248/248.cc
coderfive/hihocoder
dbc31e25d73f85265c3a6f363cc8a242c69e0c06
[ "MIT" ]
null
null
null
248/248.cc
coderfive/hihocoder
dbc31e25d73f85265c3a6f363cc8a242c69e0c06
[ "MIT" ]
null
null
null
248/248.cc
coderfive/hihocoder
dbc31e25d73f85265c3a6f363cc8a242c69e0c06
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> struct lnode { int left, right ; }; lnode level_nodes[101][101]; int level[101]; int child[101]; int parent[101]; bool is_leaf[101]; int dist[101][101]; int main () { int N, M, K, edges = 1; std::cin >> N >> M >> K; std::vector<int> A(M); for (auto & a : A) ...
28.341176
97
0.403902
[ "vector" ]
50eec474b3faecba4f43bd90f99d68f946a5afff
8,866
cc
C++
mysql-server/router/src/routing/src/dest_round_robin.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/router/src/routing/src/dest_round_robin.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/router/src/routing/src/dest_round_robin.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2017, 2020, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (including ...
30.467354
80
0.660388
[ "vector" ]
50f2814697e3b2e917316646be56938858d79e76
6,750
cxx
C++
src/font/glyph_compiler.cxx
repagh/freetype-direct-gl
a6d909b134bd06933d38e3db6a6e39ae6142aefd
[ "MIT" ]
35
2018-08-27T14:30:55.000Z
2022-01-20T15:04:50.000Z
src/font/glyph_compiler.cxx
repagh/freetype-direct-gl
a6d909b134bd06933d38e3db6a6e39ae6142aefd
[ "MIT" ]
2
2019-01-01T20:43:22.000Z
2020-07-24T14:11:02.000Z
src/font/glyph_compiler.cxx
repagh/freetype-direct-gl
a6d909b134bd06933d38e3db6a6e39ae6142aefd
[ "MIT" ]
6
2018-12-11T07:19:15.000Z
2021-12-24T01:16:22.000Z
#include <ft2build.h> #include FT_FREETYPE_H #include FT_STROKER_H // #include FT_ADVANCES_H #include FT_LCD_FILTER_H #include <cassert> #include <iostream> #include "opengl.h" #include "glyph_compiler.h" #include "err_msg.h" #include "cu2qu.h" namespace ftdgl { namespace impl { enum Kind { SOLID, QUADRATI...
29.867257
103
0.538667
[ "solid" ]
50f535bb19689fb9203cba1e5d5e3352154939d0
44,181
cpp
C++
Morphs/Importers/Utils/Framework/Source/GeometryWriter.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
16
2020-01-09T13:36:46.000Z
2021-11-16T10:09:54.000Z
Morphs/Importers/Utils/Framework/Source/GeometryWriter.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
30
2020-01-09T00:49:50.000Z
2020-07-14T18:21:52.000Z
Morphs/Importers/Utils/Framework/Source/GeometryWriter.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
10
2020-04-09T14:10:29.000Z
2022-03-18T09:18:40.000Z
/******************************************************** * * * Copyright (C) Microsoft. All rights reserved. * * * ********************************************************/ #include "FrameworkPch.h" #inclu...
43.485236
178
0.499581
[ "mesh", "geometry", "object", "vector", "transform" ]
50f6136d28a3e71e987e8d290f1054c467b07994
14,353
cpp
C++
torob/src/map_publisher.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
7
2016-12-10T15:44:00.000Z
2020-08-27T17:40:11.000Z
torob/src/map_publisher.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2020-04-14T15:19:53.000Z
2021-01-26T21:26:47.000Z
torob/src/map_publisher.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2017-01-29T03:01:06.000Z
2021-12-15T14:59:10.000Z
#include "map_publisher.h" #include <sstream> #define trb_Unknown_Cell -1 #define trb_Occupied_Cell 1 #define trb_Free_Cell 0 #define MAP_IDX(sx, i, j) ((sx) * (j) + (i))// compute linear index for given map coords //#define trb_map_width_metre 50 // map width [metre] //#define trb_map_height_metre 50 // ma...
34.092637
131
0.57103
[ "vector", "model" ]
50f8f3a69467b952cda62efb9db58416e194f8b6
2,689
hxx
C++
main/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
33.6125
74
0.681666
[ "vector" ]
50fd5283e289bfea5f1b70f27d815647479a3516
19,867
cc
C++
L1Trigger/L1TMuonBarrel/src/L1TMuonBarrelParamsHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1Trigger/L1TMuonBarrel/src/L1TMuonBarrelParamsHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1Trigger/L1TMuonBarrel/src/L1TMuonBarrelParamsHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "L1Trigger/L1TMuonBarrel/interface/L1TMuonBarrelParamsHelper.h" void L1TMuonBarrelParamsHelper::print(std::ostream& out) const { out << "L1 BMTF Parameters" << std::endl; out << "Firmware version: " << fwVersion_ << std::endl; } L1TMuonBarrelParamsHelper::L1TMuonBarrelParamsHelper(const L1TMuonBarrelPar...
30.564615
139
0.554588
[ "vector" ]