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
6bbafe361a24d13f13f2ce88299b158674dcc6e7
4,654
cpp
C++
tools/utilities/print/src/PrintGraph.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
tools/utilities/print/src/PrintGraph.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
tools/utilities/print/src/PrintGraph.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: PrintGraph.cpp (print) // Authors: Chris Lovett // //////////////////////////////////////////////////////////////////////////////////////////////////// #...
33.724638
154
0.5578
[ "shape", "vector", "model" ]
6bc6eb123535d580fc7cfc8a1ba7e2cbe67a832d
12,901
cpp
C++
lib/straight/synthesis/main.cpp
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
2
2020-12-16T12:53:52.000Z
2021-09-18T06:52:05.000Z
lib/straight/synthesis/main.cpp
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
null
null
null
lib/straight/synthesis/main.cpp
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
1
2021-03-05T03:44:39.000Z
2021-03-05T03:44:39.000Z
/* * main.c : main function of straight * * coded by H.Banno 1996/12/25 * coded by H.Banno 1996/12/25 * * modified by T. Toda 2001/2/12 * V30k18 (matlab) * * modified by J. Yamagishi from 2007 to 2010 * * STRAIGHT Synthesis applied to HMM Sp...
36.754986
135
0.53895
[ "vector" ]
6bc9a93cc6df67384a15822586863e93b9ad82b4
3,490
cpp
C++
Classes/SpriteWithFilter.cpp
luwei2012/Filters
d9cd4dc60f2e90643723999d0b6184307bb409b6
[ "MIT" ]
1
2015-08-13T07:54:25.000Z
2015-08-13T07:54:25.000Z
Classes/SpriteWithFilter.cpp
luwei2012/Filters
d9cd4dc60f2e90643723999d0b6184307bb409b6
[ "MIT" ]
null
null
null
Classes/SpriteWithFilter.cpp
luwei2012/Filters
d9cd4dc60f2e90643723999d0b6184307bb409b6
[ "MIT" ]
2
2018-04-14T06:11:22.000Z
2019-06-25T02:17:08.000Z
// // SpriteWithFilterWithFilter.cpp // MyPlane // // Created by 陆伟 on 15-1-17. // // #include "SpriteWithFilter.h" SpriteWithFilter::SpriteWithFilter(){ _filter = nullptr; } SpriteWithFilter::~SpriteWithFilter() { CC_SAFE_RELEASE_NULL(_filter); } SpriteWithFilter* SpriteWithFilter::createWithTexture(Tex...
26.044776
105
0.707736
[ "transform" ]
6bd57c7ad1691e561ce8e2a73ea42361cea42130
688
cpp
C++
examples/02Physics/LevelEnd.cpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
examples/02Physics/LevelEnd.cpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
examples/02Physics/LevelEnd.cpp
Galhad/firestorm
3c1584b1e5b95f21d963b9cf226f6ec1a469d7af
[ "MIT" ]
null
null
null
#include "LevelEnd.hpp" #include "Labels.hpp" namespace fs::scene { void LevelEnd::create(io::InputManager& inputManager, fs::physics::PhysicsManager& physicsManager, const core::Vector2f& point1, const core::Vector2f& point2) { SceneNode::create(inputManager); b...
20.235294
98
0.671512
[ "shape" ]
6bd956cea4603c5d62d68f87d937b1750df93f44
4,348
cpp
C++
pa/algorithm/lu_cpp_11.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
pa/algorithm/lu_cpp_11.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
pa/algorithm/lu_cpp_11.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <mutex> #include "lu_cpp_11.h" #include "../utils/timer.h" void LUCpp11::swapCol(Mat &mat, ulong i1, ulong i2) { // Init threads in equal size of max HW concurrency std::vector<std::thread> threads(nThreads); const ulong N = mat.size; // Bind function...
32.207407
114
0.455842
[ "vector" ]
6bdb6497b0beed007f0a903a3d891b8e99cc3439
2,596
cpp
C++
Spectrogram/SpectrogramWork.cpp
pothosware/PothosPlotters
4a9e7d1fa95915998856481f4180ee637497996f
[ "BSL-1.0" ]
9
2017-10-28T08:40:19.000Z
2021-12-06T03:30:22.000Z
Spectrogram/SpectrogramWork.cpp
BelmY/PothosPlotters
d77318ac56fec8204c07551b772dfc848461f3bf
[ "BSL-1.0" ]
13
2015-08-25T21:17:08.000Z
2017-08-19T18:11:03.000Z
Spectrogram/SpectrogramWork.cpp
pothosware/pothos-plotters
4a9e7d1fa95915998856481f4180ee637497996f
[ "BSL-1.0" ]
12
2018-01-03T15:32:34.000Z
2022-03-24T06:19:29.000Z
// Copyright (c) 2014-2016 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include "SpectrogramDisplay.hpp" #include <qwt_plot.h> #include <QTimer> #include <complex> /*********************************************************************** * initialization functions **************************************************...
35.561644
99
0.581664
[ "transform" ]
6bdea206a7b4f3cfae92a96c310aab0b79c80a0c
29,293
cpp
C++
src/axom/sidre/tests/sidre_mfem_datacollection.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/sidre/tests/sidre_mfem_datacollection.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/sidre/tests/sidre_mfem_datacollection.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "axom/config.hpp" #include "axom/slic.hpp" #ifndef AXOM_USE_MFEM #error This file requires MFEM #endif #incl...
33.708861
99
0.712969
[ "mesh", "object", "vector", "3d" ]
6bf4005aa6d332ca7024d1f8c998bb8f0863e011
2,177
hpp
C++
src/Parser.hpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
6
2016-09-28T21:05:46.000Z
2019-03-26T16:58:49.000Z
src/Parser.hpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
null
null
null
src/Parser.hpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2016 Mustafa Serdar Sanli // // 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...
22.915789
81
0.700965
[ "render", "vector" ]
6bf7af8413f7f75f403f4cf6b6224e27db3c05a2
1,027
hpp
C++
src/Objects/WorldLight.hpp
NuroDev/vision
611eae0717da8062865bcd3001229ecfafd9b7b1
[ "MIT" ]
1
2022-01-25T05:30:11.000Z
2022-01-25T05:30:11.000Z
src/Objects/WorldLight.hpp
NuroDev/vision
611eae0717da8062865bcd3001229ecfafd9b7b1
[ "MIT" ]
6
2020-07-21T13:56:27.000Z
2020-08-03T08:36:54.000Z
src/Objects/WorldLight.hpp
NuroDev/vision
611eae0717da8062865bcd3001229ecfafd9b7b1
[ "MIT" ]
null
null
null
#pragma once #include <d3d11.h> #include "../Util/Structures.hpp" #include "WorldObject.hpp" class WorldLight : public WorldObject { public: WorldLight( std::string name, const unsigned int id, Transform* pTransform = new Transform() ) : WorldObject(name, id, pTransform) {} ~WorldLight() { WorldLight::Rel...
21.851064
65
0.695229
[ "object", "transform" ]
6bf81fc68d4a4d8b6eb81ccc718d492a534ee0bf
1,369
cpp
C++
backup/2/codewars/c++/maximum-length-difference.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/codewars/c++/maximum-length-difference.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/codewars/c++/maximum-length-difference.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
48.892857
345
0.642805
[ "vector" ]
6bff5ffbc0b00db6610d7368fd073c5341374862
13,704
hpp
C++
include/baxter_cartesian_controller/mocap_servoing_controller.hpp
WPI-ARC/baxter_cartesian_controller
629367eee0e995298a8a7eddbb819869982b1c70
[ "BSD-2-Clause" ]
1
2015-05-30T06:29:30.000Z
2015-05-30T06:29:30.000Z
include/baxter_cartesian_controller/mocap_servoing_controller.hpp
WPI-ARC/baxter_cartesian_controller
629367eee0e995298a8a7eddbb819869982b1c70
[ "BSD-2-Clause" ]
1
2016-03-29T16:50:08.000Z
2016-03-30T00:13:12.000Z
include/baxter_cartesian_controller/mocap_servoing_controller.hpp
WPI-ARC/baxter_cartesian_controller
629367eee0e995298a8a7eddbb819869982b1c70
[ "BSD-2-Clause" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <vector> #include <map> #include <string> #include <iostream> #include <random> #include <Eigen/Geometry> #include <time.h> #include <chrono> #include <ros/ros.h> #include <urdf_model/model.h> #include <moveit/robot_model_loader/robot_model_loader.h> #in...
40.785714
300
0.636238
[ "geometry", "vector", "model", "transform" ]
d4137be0776a98610c44cecdfcf521b3689bead5
2,904
cpp
C++
FalloutStrategy/FalloutEngine/FowEntity.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
7
2020-06-01T10:22:47.000Z
2020-12-22T13:50:39.000Z
FalloutStrategy/FalloutEngine/FowEntity.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
108
2020-03-16T09:34:19.000Z
2020-06-15T15:16:42.000Z
FalloutStrategy/FalloutEngine/FowEntity.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
2
2020-02-24T08:51:19.000Z
2020-02-24T14:05:31.000Z
#include "j1App.h" #include "FoWManager.h" #include "FoWEntity.h" #include "FoWBitDefs.h" #include "j1Map.h" FoWEntity::FoWEntity(iPoint WorldPos, bool providesVisibility) :boundingBoxRadius(3), deleteEntity(false), providesVisibility(providesVisibility), posInMap({ 0,0 }), isVisible(false) { SetNewPosition(WorldPos)...
27.396226
183
0.731749
[ "shape", "vector" ]
d41cc7c67ef8a03658204cb07b8739867275d4f3
3,285
cc
C++
lib/dag/Record.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
2
2018-11-12T22:51:37.000Z
2019-03-13T12:46:03.000Z
lib/dag/Record.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
23
2015-03-06T16:14:49.000Z
2019-04-04T18:08:52.000Z
lib/dag/Record.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
null
null
null
//! @file dag/Record.cc Definition of @ref fabrique::dag::Record /* * Copyright (c) 2014 Jonathan Anderson * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * ("CTSRD"), as part of the D...
26.92623
83
0.70898
[ "vector" ]
d42b6fa281023b60d5dc5b85c7a1a7d67a411d3d
2,260
hpp
C++
src/SelbaWard/Common.hpp
thomoncik/public-transport
06b5ab5d45f551ad24f35642c39fae24a2462f95
[ "MIT" ]
null
null
null
src/SelbaWard/Common.hpp
thomoncik/public-transport
06b5ab5d45f551ad24f35642c39fae24a2462f95
[ "MIT" ]
null
null
null
src/SelbaWard/Common.hpp
thomoncik/public-transport
06b5ab5d45f551ad24f35642c39fae24a2462f95
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Selba Ward (https://github.com/Hapaxia/SelbaWard) // // Copyright(c) 2015-2018 M.J.Silk // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages //...
27.228916
78
0.703097
[ "vector" ]
2d6c53c5c2001837dcb9b7160ecb17fecdf9df56
14,738
cxx
C++
StRoot/StEmcCalibrationMaker/StEmcEqualMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StEmcCalibrationMaker/StEmcEqualMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StEmcCalibrationMaker/StEmcEqualMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
#include "StEmcEqualMaker.h" #include "TFile.h" #include "TROOT.h" #include "TF1.h" #include "StEventTypes.h" #include "StEvent.h" #include "StEmcUtil/geometry/StEmcGeom.h" #include "StDbLib/StDbManager.hh" #include "StDbLib/StDbTable.h" #include "StDbLib/StDbConfigNode.hh" #include "tables/St_emcCalib_Table.h" ClassI...
24.811448
93
0.611616
[ "geometry" ]
2d74f1d5e444b69dcea8812c765807ffa5c881b0
18,433
cc
C++
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:51:34.000Z
2018-02-15T03:11:54.000Z
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.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/media_galleries/linux/mtp_device_delegate_impl_linux.h" #include "base/bind.h" #include "base/files/file_path.h" #include "b...
40.334792
84
0.723756
[ "object" ]
2d769ecfff13451100c0e9134390498ac5111be9
2,137
hpp
C++
src/calc/models/bleCalc.hpp
erythrocyte/ble
b9e00bd02a3493de24fdb8d4edff4effcd62daa8
[ "MIT" ]
null
null
null
src/calc/models/bleCalc.hpp
erythrocyte/ble
b9e00bd02a3493de24fdb8d4edff4effcd62daa8
[ "MIT" ]
5
2020-09-03T13:56:53.000Z
2020-09-04T01:50:15.000Z
src/calc/models/bleCalc.hpp
erythrocyte/ble
b9e00bd02a3493de24fdb8d4edff4effcd62daa8
[ "MIT" ]
null
null
null
#ifndef BLE_SRC_CALC_MODELS_BLECALC_H_ #define BLE_SRC_CALC_MODELS_BLECALC_H_ #include <functional> #include <iostream> #include <memory> #include <vector> #include "bleResultData.hpp" #include "calc/models/averFwSaveData.hpp" #include "common/models/fwData.hpp" #include "common/models/solverData.hpp" #include "commo...
39.574074
115
0.727188
[ "mesh", "vector" ]
2d7b62e5e0adfea3d8b621e27ad3ffd72d793137
7,378
cc
C++
src/developer/debug/zxdb/client/process_symbol_data_provider.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
3
2021-09-02T07:21:06.000Z
2022-03-12T03:20:10.000Z
src/developer/debug/zxdb/client/process_symbol_data_provider.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/developer/debug/zxdb/client/process_symbol_data_provider.cc
liexusong/fuchsia
81897680af92a1848a063e3c20ff3a4892ccff07
[ "BSD-2-Clause" ]
2
2022-02-25T12:22:49.000Z
2022-03-12T03:20:10.000Z
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/client/process_symbol_data_provider.h" #include <inttypes.h> #include <lib/syslog/cpp/macros.h> #include "src/develope...
40.538462
100
0.629439
[ "vector" ]
2d8153afc4adefdc4bfc698e5a150a498f6ba06d
3,880
cc
C++
aegis/src/model/DescribeSuspEventQuaraFilesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
aegis/src/model/DescribeSuspEventQuaraFilesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
aegis/src/model/DescribeSuspEventQuaraFilesResult.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...
35.925926
113
0.769845
[ "vector", "model" ]
2d83d2080c4f69363585495e47755fdc36df6754
9,686
cpp
C++
cpgf/test/reflection/test_reflection_cast.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
187
2015-01-19T06:05:30.000Z
2022-03-27T14:28:21.000Z
cpgf/test/reflection/test_reflection_cast.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
37
2015-01-16T04:15:11.000Z
2020-03-31T23:42:55.000Z
cpgf/test/reflection/test_reflection_cast.cpp
mousepawmedia/libdeps
b004d58d5b395ceaf9fdc993cfb00e91334a5d36
[ "BSD-3-Clause" ]
50
2015-01-13T13:50:10.000Z
2022-01-25T17:16:51.000Z
#include "test_reflection_common.h" using namespace std; using namespace cpgf; #define PTREQUAL(pa, pb) GEQUAL((void *)pa, (void *)pb) #define PTRDIFF(pa, pb) GDIFF((void *)pa, (void *)pb) namespace Test_Cast { namespace { class R { public: virtual ~R() {} int r[20]; }; class A : public R { ...
24.336683
106
0.643093
[ "object" ]
2d854d9014105d7d6232209b67d179f3b5dddf31
10,638
cpp
C++
platform/Windows/src.Windows/SYS_SharedMemory.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
4
2021-12-16T11:22:30.000Z
2022-01-05T11:20:32.000Z
platform/Windows/src.Windows/SYS_SharedMemory.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
1
2022-01-07T10:41:38.000Z
2022-01-09T12:04:03.000Z
platform/Windows/src.Windows/SYS_SharedMemory.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
null
null
null
#include <windows.h> #include "SYS_SharedMemory.h" #include "SYS_Threading.h" #include "SYS_FileSystem.h" //#include "SYS_CommandLine.h" #include "SYS_Funct.h" #include "CSlrString.h" #include "SYS_Startup.h" #include <windows.h> #include <signal.h> #include <sys/stat.h> #include <psapi.h> #include <list> #include <t...
24.455172
138
0.687535
[ "object" ]
2d85efa0c7095184a46fcca0dd7640b03ab13102
3,134
cpp
C++
drv_search/src/targetselect.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
13
2017-09-06T13:33:19.000Z
2021-09-20T08:53:05.000Z
drv_search/src/targetselect.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
null
null
null
drv_search/src/targetselect.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
5
2017-11-02T13:09:33.000Z
2018-06-07T01:08:29.000Z
#include "targetselect.h" TargetSelect::TargetSelect() : rgb_it(nh) { searchPubImage_ = rgb_it.advertise("search/labeled_image", 1); searchPubInfo_ = nh.advertise<std_msgs::String>("/comm/vision/info", 1); client = nh.serviceClient<drv_msgs::user_select>("drv_user"); } int TargetSelect::select(string targetLabe...
28.752294
92
0.620932
[ "object", "vector" ]
2d8c3f1ecc55238ee00b8741a9b2c0c05bb51bdf
6,326
cc
C++
chrome/browser/net/cookie_store_sameparty_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/net/cookie_store_sameparty_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/net/cookie_store_sameparty_browsertest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2021 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 "base/path_service.h" #include "base/strings/strcat.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #i...
40.551282
80
0.680841
[ "vector" ]
2d90bf7b72e5aa97f5663dcdc3c041bd0ec41735
12,803
hpp
C++
include/staticlib/pion/tcp_connection.hpp
staticlibs/staticlib_pion
ce3633f7c2c0838b0fffea8d2edc65329986024c
[ "Apache-2.0" ]
9
2017-10-18T13:46:29.000Z
2020-03-20T05:31:27.000Z
include/staticlib/pion/tcp_connection.hpp
staticlibs/staticlib_pion
ce3633f7c2c0838b0fffea8d2edc65329986024c
[ "Apache-2.0" ]
1
2017-03-05T01:55:35.000Z
2017-03-05T01:55:35.000Z
include/staticlib/pion/tcp_connection.hpp
staticlibs/staticlib_httpserver
ce3633f7c2c0838b0fffea8d2edc65329986024c
[ "Apache-2.0" ]
2
2016-05-09T08:49:53.000Z
2017-03-04T23:12:01.000Z
/* * Copyright 2015, alex at staticlibs.net * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
28.388027
119
0.627119
[ "object" ]
2d90f38c7fc2bb21487110f10aa1241f92d188f3
21,824
cpp
C++
accera/ir/src/value/ValueDialect.cpp
microsoft/Accera
4ec583857853cfb318634aef9e671f73cedba662
[ "MIT" ]
19
2022-01-26T18:12:54.000Z
2022-03-25T10:37:21.000Z
accera/ir/src/value/ValueDialect.cpp
microsoft/Accera
4ec583857853cfb318634aef9e671f73cedba662
[ "MIT" ]
4
2022-01-28T00:31:48.000Z
2022-02-25T14:28:32.000Z
accera/ir/src/value/ValueDialect.cpp
microsoft/Accera
4ec583857853cfb318634aef9e671f73cedba662
[ "MIT" ]
2
2022-01-26T14:14:45.000Z
2022-02-01T06:08:17.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // Authors: Kern Handa ////////////////////////////////////////...
34.974359
177
0.662757
[ "shape", "vector" ]
2d9d95e8c385cf99582bead0f6612cdf49543801
1,741
cpp
C++
RenderCore/UniformsStream.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
3
2018-05-17T08:39:39.000Z
2020-12-09T13:20:26.000Z
RenderCore/UniformsStream.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
null
null
null
RenderCore/UniformsStream.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
1
2021-11-14T08:50:15.000Z
2021-11-14T08:50:15.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "UniformsStream.h" #include "Types.h" #include "Format.h" #include "../Utility/MemoryUtils.h" #include "../Core/SelectConfiguration.h" namespace RenderCore { vo...
32.240741
111
0.649052
[ "vector" ]
2d9dd8431244dcd96fc0e91b4d2272d2737058a7
41,891
cpp
C++
Source/Libraries/TTF/TTFFont.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Libraries/TTF/TTFFont.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Libraries/TTF/TTFFont.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
#include "CommonHeader.h" // ************************************************************************************* // TTFFont.cpp // // True type (*.ttf) and OpenType (*.otf) font loading/rendering implementation. // // Ryan Bogean // April 2012 // ...
29.459212
207
0.673558
[ "vector", "transform" ]
2da33222494cc6c43a711b11ef7aeeec1f603522
893
cpp
C++
Other/Codechef/Problems/Paying-up.cpp
shashankkmciv18/dsa
6feba269292d95d36e84f1adb910fe2ed5467f71
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
Other/Codechef/Problems/Paying-up.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
null
null
null
Other/Codechef/Problems/Paying-up.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
#include <bits/stdc++.h> using namespace std; typedef long long int ll; bool makeSets(vector<ll> &a , int n, int k) { int i = 0; int sum = 0; while(n) { if(n & 1) { sum+=a[i]; } i++; n = n >> 1; } if (sum == k) return true; return false; // cou...
15.946429
45
0.368421
[ "vector" ]
2dab2614e896df3f6439b25e5869356ef3031e0c
5,592
cpp
C++
debug/moc_edit_profile_dia.cpp
mmahdibarghi/codana
fdb016a67d3e45728cc6e49ea2147ad2d97ce6e1
[ "MIT" ]
null
null
null
debug/moc_edit_profile_dia.cpp
mmahdibarghi/codana
fdb016a67d3e45728cc6e49ea2147ad2d97ce6e1
[ "MIT" ]
null
null
null
debug/moc_edit_profile_dia.cpp
mmahdibarghi/codana
fdb016a67d3e45728cc6e49ea2147ad2d97ce6e1
[ "MIT" ]
1
2021-06-23T19:11:26.000Z
2021-06-23T19:11:26.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'edit_profile_dia.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
37.033113
421
0.640021
[ "object" ]
2db2170ba8a8e46996adaf9e7220edbb5388d525
24,361
cpp
C++
src/ppmdu/pmd2/pmd2_asm.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
37
2015-10-30T21:56:26.000Z
2021-11-30T15:33:26.000Z
src/ppmdu/pmd2/pmd2_asm.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
27
2015-01-06T05:45:55.000Z
2020-01-29T21:40:22.000Z
src/ppmdu/pmd2/pmd2_asm.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
8
2016-02-07T23:31:03.000Z
2020-07-12T08:51:41.000Z
#include "pmd2_asm.hpp" #include <utils/utility.hpp> #include <utils/gbyteutils.hpp> #include <ppmdu/pmd2/pmd2_hcdata.hpp> #include <ppmdu/fmts/sir0.hpp> #include <sstream> #include <vector> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> using namespace std; using namespace utils; namesp...
40.737458
180
0.549813
[ "vector" ]
2db55421ef21a06b0557e6f131375e0e165f80c2
111,548
cxx
C++
PWGHF/vertexingHF/AliAnalysisTaskSESigmacTopK0Spi.cxx
giacomoalocco/AliPhysics
c346260f677a5fc75068726c3662fd9952c96c97
[ "BSD-3-Clause" ]
1
2019-10-03T15:11:04.000Z
2019-10-03T15:11:04.000Z
PWGHF/vertexingHF/AliAnalysisTaskSESigmacTopK0Spi.cxx
abarreirALICE/AliPhysics
b2cd6e45bb7fc1b76fec02fe20c70a828a30cb6d
[ "BSD-3-Clause" ]
null
null
null
PWGHF/vertexingHF/AliAnalysisTaskSESigmacTopK0Spi.cxx
abarreirALICE/AliPhysics
b2cd6e45bb7fc1b76fec02fe20c70a828a30cb6d
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
38.319478
366
0.682513
[ "object", "vector" ]
2db55b2c53ef454185356184a3692741f3df7f88
862
cpp
C++
Ch 12/12.26.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 12/12.26.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 12/12.26.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/* 用allocator重写第427页中的程序*/ #include<iostream> #include<string> #include<memory> #include<vector> #include<stack> using namespace std; void print_string_allocator(int n) { allocator<string> alloc; vector<string> svec; stack<string> sstack; string str; auto const p = alloc.allocate(n); auto q = p; while (cin >> ...
17.958333
65
0.635731
[ "vector" ]
2db8ffa3ccb531f2e0e64ac3189e6428994fc810
898
cpp
C++
5.Inheritance/i-Design/Q4/Main.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
26
2021-03-17T03:15:22.000Z
2021-06-09T13:29:41.000Z
5.Inheritance/i-Design/Q4/Main.cpp
Servatom/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
6
2021-03-16T19:04:05.000Z
2021-06-03T13:41:04.000Z
5.Inheritance/i-Design/Q4/Main.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
42
2021-03-17T03:16:22.000Z
2021-06-14T21:11:20.000Z
#include <iostream> #include<string> using namespace std; #include "Truck.cpp" int main(void){ string model,manufacturer,gearType,fuelType,size; int year,cargoCapacity; cout<<"Enter the model of the vehicle"<<endl; cin>>model; cout<<"Enter the manufactured year"<<endl; cin>>yea...
24.944444
75
0.621381
[ "model" ]
2dbfcd2b23803638b0a1f8f9d060f00edee0f264
2,164
cpp
C++
header.cpp
whoshuu/cpt
91414d961d50a60b68da86ba15ae119e759e1d2a
[ "MIT" ]
null
null
null
header.cpp
whoshuu/cpt
91414d961d50a60b68da86ba15ae119e759e1d2a
[ "MIT" ]
null
null
null
header.cpp
whoshuu/cpt
91414d961d50a60b68da86ba15ae119e759e1d2a
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <sstream> #include <string> #include <cctype> #include <vector> int main(int argc, char** argv) { std::vector<std::string> args; if (argc == 1) { std::cerr << "Usage: header [namespace] [namespace] ... [class name]" << std::endl; return -1; }...
25.761905
91
0.531885
[ "vector" ]
2dcff3e7cb048ac8e76e184f89f721b147728a22
203
cpp
C++
headers/common/json.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/common/json.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/common/json.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
#include "_json.h" int main() { json::Object obj = JSON::load("/tmp/test1.json"); obj["age"] = json::Number(32); obj["field"] = json::Boolean(true); JSON::save(obj, "/tmp/test2.json"); return 0; }
18.454545
50
0.610837
[ "object" ]
2dd1be2048ed7c17704b00eca4f22bd408cf2a6b
23,988
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/primitives/blockcache/filebuffermgr.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/primitives/blockcache/filebuffermgr.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/primitives/blockcache/filebuffermgr.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2014 InfiniDB, Inc. Copyright (C) 2016 MariaDB Corporation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in...
27.66782
108
0.574787
[ "vector" ]
2dd2a51e3356e772b1309388015c350727256219
3,782
hpp
C++
pse/TGUI-0.7.7/include/TGUI/Clipping.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
4
2020-10-06T12:48:22.000Z
2020-12-09T16:08:47.000Z
pse/TGUI-0.7.7/include/TGUI/Clipping.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
1
2020-11-24T15:41:11.000Z
2020-11-24T15:41:11.000Z
pse/TGUI-0.7.7/include/TGUI/Clipping.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
2
2020-11-19T20:29:14.000Z
2020-12-02T12:55:58.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
44.494118
129
0.433369
[ "render", "object" ]
2dd32fc3185c3e6d7c02f25d2a963c549b94be73
590
hpp
C++
graphics/RenderBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
graphics/RenderBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
graphics/RenderBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_GRAPHICS_RENDER_BUFFER_HPP___ #define ___INANITY_GRAPHICS_RENDER_BUFFER_HPP___ #include "graphics.hpp" BEGIN_INANITY_GRAPHICS class Texture; /// Абстрактный класс рендербуфера. class RenderBuffer : public Object { public: /// Получить текстуру, соответствующую рендербуферу. /** Может возвращать...
22.692308
76
0.798305
[ "object" ]
2dd59e9f4fef6a5a0cd05b144d73617f8001f085
33,774
cpp
C++
src/main.cpp
J0Nreynolds/cs425-mp2
1b58ec40f22a900c0bb6327e728b552f3af74696
[ "MIT" ]
2
2018-10-29T16:20:42.000Z
2018-10-29T16:59:23.000Z
src/main.cpp
J0Nreynolds/cs425-mp2
1b58ec40f22a900c0bb6327e728b552f3af74696
[ "MIT" ]
null
null
null
src/main.cpp
J0Nreynolds/cs425-mp2
1b58ec40f22a900c0bb6327e728b552f3af74696
[ "MIT" ]
null
null
null
#include <iostream> #include <list> #include <queue> #include <thread> #include <mutex> #include <chrono> #include <stdio.h> #include <signal.h> #include <time.h> #include <sys/types.h> #include <sys/event.h> #include <math.h> #include "server.h" #include "client.h" #include "common.h" #include "color.h" using names...
34.926577
170
0.549298
[ "vector" ]
2ddce13c3c84bf1519c3aca06209d5d87f49404c
13,004
cc
C++
src/cpu/inorder/resource.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
null
null
null
src/cpu/inorder/resource.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
null
null
null
src/cpu/inorder/resource.cc
volnxebec/CC_Fused
e2b805e3475bd275409379c41eaeeb1a565cbdef
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2007 MIPS Technologies, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this list of condi...
24.535849
81
0.622962
[ "vector" ]
2ddda9ed5153f90d9d741d40b5be66e72c20b7b1
237
hpp
C++
src/Client/Engine/Vignette.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Engine/Vignette.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Engine/Vignette.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#pragma once #include "VignetteQuad.hpp" #include "Shader.hpp" class Vignette { public: void init(); void render(); // Renders a quad with the vignette shader void destroy(); private: VignetteQuad m_quad; Shader m_shader; };
11.85
58
0.708861
[ "render" ]
2de89302759a127e6a66815187b3bdb9bab82775
1,803
hpp
C++
src/User/User.hpp
hallainea/ft_irc
389ff7c1c93e72739e373c74b69ec826535216e4
[ "Apache-2.0" ]
6
2021-12-10T18:35:26.000Z
2022-03-23T21:46:14.000Z
src/User/User.hpp
Assxios/ft_irc
389ff7c1c93e72739e373c74b69ec826535216e4
[ "Apache-2.0" ]
null
null
null
src/User/User.hpp
Assxios/ft_irc
389ff7c1c93e72739e373c74b69ec826535216e4
[ "Apache-2.0" ]
3
2021-12-19T18:11:13.000Z
2022-02-02T13:29:31.000Z
#ifndef USER_HPP #define USER_HPP #include <netinet/in.h> #include <string> #include <vector> #include <map> namespace irc { enum UserStatus { PASSWORD, REGISTER, ONLINE, DELETE }; class Command; class Server; class User { friend class Server; private: std::map<std::string, void (*)(Command *)>...
20.033333
62
0.705491
[ "vector" ]
2ded46ccaf5530957733325dd7a9136432072e7e
785
cc
C++
accepted/701A.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
1
2019-06-14T02:21:30.000Z
2019-06-14T02:21:30.000Z
accepted/701A.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
null
null
null
accepted/701A.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
null
null
null
// Problem # : 701A // Created on : 2018-Nov-01 10:37:01 #include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (int)(n); ++i) using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int n; ...
20.657895
53
0.42293
[ "vector" ]
2def1ed7535cbf04e778436b73991e3b07804244
4,441
hpp
C++
src/Core/Animation/Sequence/Sequence.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Animation/Sequence/Sequence.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Animation/Sequence/Sequence.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#ifndef RADIUMENGINE_SEQUENCE_HPP #define RADIUMENGINE_SEQUENCE_HPP #include <vector> #include <Core/CoreMacros.hpp> #include <Core/Index/CircularIndex.hpp> #include <Core/Animation/Pose/Pose.hpp> namespace Ra { namespace Core { namespace Animation { typedef Pose Frame; typedef std::vect...
42.295238
108
0.629363
[ "vector" ]
2def3f683a563d0dd566666f065919a5206f444b
2,370
cpp
C++
EU4toV2/Source/Mappers/RGORandomization/Bucket.cpp
ParadoxGameConverters/EU4toVic2
17a61d5662da02abcb976403cb50da365ef7061d
[ "MIT" ]
42
2018-12-22T03:59:43.000Z
2022-02-03T10:45:42.000Z
EU4toV2/Source/Mappers/RGORandomization/Bucket.cpp
danpolitte/EU4toVic2
ab21607d7936caf9ad6ef1b6fc4e3529f0cf8aee
[ "MIT" ]
336
2018-12-22T17:15:27.000Z
2022-03-02T11:19:32.000Z
EU4toV2/Source/Mappers/RGORandomization/Bucket.cpp
klorpa/EU4toVic2
e3068eb2aa459f884c1929f162d0047a4cb5f4d4
[ "MIT" ]
56
2018-12-22T19:13:23.000Z
2022-01-01T23:08:53.000Z
#include "Bucket.h" #include "Log.h" #include "ParserHelpers.h" mappers::Bucket::Bucket(std::istream& theStream) { registerKeyword("name", [this](const std::string& unused, std::istream& theStream) { const commonItems::singleString nameStr(theStream); name = nameStr.getString(); }); registerKeyword("climate", [...
23.7
91
0.674684
[ "vector" ]
2df9b45ba7dc0e8b2492b26410a31f6c68af0791
12,757
cpp
C++
internal/query/test/test_base.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
1
2020-12-29T20:38:08.000Z
2020-12-29T20:38:08.000Z
internal/query/test/test_base.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
16
2018-01-28T04:20:19.000Z
2021-01-23T09:38:52.000Z
internal/query/test/test_base.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
null
null
null
#ifndef DISABLE_QUERY_BASE_TEST #include "gtest/gtest.h" #include "testutil/tutil.hpp" #include "dbg/print/teq.hpp" #include "internal/teq/mock/mock.hpp" #include "internal/query/querier.hpp" #include "internal/query/parse.hpp" using ::testing::_; using ::testing::Return; using ::testing::ReturnRef; using ::te...
25.771717
116
0.616132
[ "shape" ]
2dff8cd753695fa6931da4a2f95e6ca3fb4ffdfd
8,980
cpp
C++
dnn/test/common/dct_ref.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
5,168
2020-03-19T06:10:04.000Z
2022-03-31T11:11:54.000Z
dnn/test/common/dct_ref.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
286
2020-03-25T01:36:23.000Z
2022-03-31T10:26:33.000Z
dnn/test/common/dct_ref.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
515
2020-03-19T06:10:05.000Z
2022-03-30T09:15:59.000Z
/** * \file * dnn/test/common/dct_ref.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS...
46.28866
88
0.601559
[ "vector" ]
930173af5594ef0a5954a135f5f376b249be18d3
6,065
cc
C++
api/dumbaes.cc
JacobFischer/CS6001-Course-Project
603523dc93ae90975e7a016222719a1d09360361
[ "BSD-2-Clause" ]
null
null
null
api/dumbaes.cc
JacobFischer/CS6001-Course-Project
603523dc93ae90975e7a016222719a1d09360361
[ "BSD-2-Clause" ]
null
null
null
api/dumbaes.cc
JacobFischer/CS6001-Course-Project
603523dc93ae90975e7a016222719a1d09360361
[ "BSD-2-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (c) 2016 Michael Catanzaro <michael.catanzaro@mst.edu> * Copyright (c) 2016 Jacob Fischer <jtf3m8@mst.edu> * Copyright (c) 2016 Christian Storer <cs9yb@mst.edu> * * Redistribution and use in source and binary forms, with or...
36.536145
81
0.623578
[ "vector" ]
930912d29e4587b0c3dab9d22aa98c4f7fc2c20b
921
cpp
C++
genfile/src/Pedigree.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
genfile/src/Pedigree.cpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
genfile/src/Pedigree.cpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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 <memory> #include <string> #include <vector> #include "genfile/Pedigree.hpp" #include "genfile/...
32.892857
106
0.686211
[ "vector" ]
930ec0b2ccb08de05320671320fe6778a4946f53
6,396
cpp
C++
source/RocketPlugin/GameModes/KeepAway.cpp
urlocaluwu/RocketPlugin
ec31a5239e6552bbd8e6ed981da8cc2d5b84e687
[ "MIT" ]
15
2020-07-15T13:06:23.000Z
2022-02-24T22:19:14.000Z
source/RocketPlugin/GameModes/KeepAway.cpp
urlocaluwu/RocketPlugin
ec31a5239e6552bbd8e6ed981da8cc2d5b84e687
[ "MIT" ]
15
2020-07-26T18:06:55.000Z
2022-02-12T22:16:16.000Z
source/RocketPlugin/GameModes/KeepAway.cpp
urlocaluwu/RocketPlugin
ec31a5239e6552bbd8e6ed981da8cc2d5b84e687
[ "MIT" ]
12
2020-07-15T17:05:42.000Z
2021-11-20T14:19:06.000Z
// GameModes/KeepAway.cpp // Touch the ball to get points. // // Author: Stanbroek // Version: 0.2.3 28/08/21 // BMSDK version: 95 // BUG's: // - Clients still get normal points. #include "KeepAway.h" /// <summary>Renders the available options for the game mode.</summary> void KeepAway::RenderOptions(...
30.75
106
0.642433
[ "vector" ]
9319f97320111fe9842acadd745372ba29fba405
4,866
cpp
C++
src/compiler/syntax/build_syntax_tree.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
10
2020-01-23T20:41:19.000Z
2021-12-28T20:24:44.000Z
src/compiler/syntax/build_syntax_tree.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
22
2021-03-25T16:22:08.000Z
2022-03-17T12:50:38.000Z
src/compiler/syntax/build_syntax_tree.cpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
null
null
null
#include "compiler/syntax/build_syntax_tree.hpp" #include "compiler/syntax/parser_event.hpp" namespace tiro { namespace { struct SyntaxNodeBuilder final { SyntaxType type_; bool has_error_ = false; SyntaxNode::ChildStorage children_; u32 pos_ = 0; // End offset of the preceding token, as a fallback ...
28.45614
97
0.677764
[ "vector" ]
793b3af691b0a8f2177630584c6a729ad7db661a
896
cpp
C++
cpp_2018/Bachgold_problem.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
2
2020-08-27T18:21:04.000Z
2020-08-30T13:24:39.000Z
cpp_2018/Bachgold_problem.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
cpp_2018/Bachgold_problem.cpp
Razdeep/Codeforces-Solutions
e808575219ec15bc07720d6abafe3c4c8df036f4
[ "MIT" ]
null
null
null
// https://codeforces.com/contest/749/problem/A /** Explanation: * We are told to make such a combination that has the max number of prime numbers * and the sum of those prime numbers is n. * The key point here to observe here is that it can be only achieved by using * the smallest prime numbers 2 and 3. We hav...
24.888889
83
0.587054
[ "vector" ]
793c2bcc4d6b18a52f46e25f655734b58d72a34d
2,895
cpp
C++
cam/src/v20190116/model/GroupIdOfUidInfo.cpp
TencentCloud/tencentcloud-sdk-cpp
896da198abe6f75c0dc90901131d709143186b77
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cam/src/v20190116/model/GroupIdOfUidInfo.cpp
TencentCloud/tencentcloud-sdk-cpp
896da198abe6f75c0dc90901131d709143186b77
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cam/src/v20190116/model/GroupIdOfUidInfo.cpp
TencentCloud/tencentcloud-sdk-cpp
896da198abe6f75c0dc90901131d709143186b77
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
25.848214
142
0.689119
[ "model" ]
793d1126f33ae7daa0a10bd7a37eaebf46df2ae2
23,033
cpp
C++
Source/src/main/native/cpp/Rev2mDistanceSensor.cpp
markebert/2m-Distance-Sensor
0752d9479ba80b243cbaec74c5681e4874da720f
[ "BSD-3-Clause" ]
null
null
null
Source/src/main/native/cpp/Rev2mDistanceSensor.cpp
markebert/2m-Distance-Sensor
0752d9479ba80b243cbaec74c5681e4874da720f
[ "BSD-3-Clause" ]
null
null
null
Source/src/main/native/cpp/Rev2mDistanceSensor.cpp
markebert/2m-Distance-Sensor
0752d9479ba80b243cbaec74c5681e4874da720f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018-2019 REV Robotics * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the followi...
30.147906
124
0.648895
[ "vector" ]
794b6a308e3c84acd655bec6f18feb6f67ca2f32
3,723
cc
C++
multibody/test_utilities/floating_body_plant.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
multibody/test_utilities/floating_body_plant.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
multibody/test_utilities/floating_body_plant.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/multibody/test_utilities/floating_body_plant.h" #include <vector> #include "drake/common/default_scalars.h" #include "drake/multibody/tree/uniform_gravity_field_element.h" namespace drake { namespace multibody { namespace test { using Eigen::Vector3d; template<typename T> AxiallySymmetricFreeBodyPl...
36.145631
80
0.761751
[ "vector", "model" ]
795479ac71a008dba18102c91799ce03479a02a3
4,209
cpp
C++
DotFlipGame.cpp
Soundsgoood/dot-flip-in-cplusplus
6042b4d2f5f04d359f9f33ea8243c77b8332e848
[ "MIT" ]
null
null
null
DotFlipGame.cpp
Soundsgoood/dot-flip-in-cplusplus
6042b4d2f5f04d359f9f33ea8243c77b8332e848
[ "MIT" ]
null
null
null
DotFlipGame.cpp
Soundsgoood/dot-flip-in-cplusplus
6042b4d2f5f04d359f9f33ea8243c77b8332e848
[ "MIT" ]
null
null
null
//Orion Guan //April 17th, 2017 //Ported from DotFlipGame.java, with implementation handled differently. #include <iostream> #include <vector> #include <string> #include <sstream> #include <time.h> #include <cstdlib> using namespace std; //The game itself, with the current state of the dots, the original ...
23.779661
103
0.626039
[ "vector" ]
795d32077099cb022a0d3d935eaf169ed4c3d469
2,096
cpp
C++
src/ofxSollingerDSP.cpp
elliotwoods/ofxSollingerDSP
582ea7d475fc4290c3b51e9d5c3dc29f03a12263
[ "MIT" ]
1
2017-06-26T04:23:26.000Z
2017-06-26T04:23:26.000Z
src/ofxSollingerDSP.cpp
elliotwoods/ofxSollingerDSP
582ea7d475fc4290c3b51e9d5c3dc29f03a12263
[ "MIT" ]
null
null
null
src/ofxSollingerDSP.cpp
elliotwoods/ofxSollingerDSP
582ea7d475fc4290c3b51e9d5c3dc29f03a12263
[ "MIT" ]
null
null
null
#include "ofxSollingerDSP.h" //---------- string ofxSollingerDSP::selectDeviceDialog() { char buffer[256]; if (!LGDspDll_SelectDialog(buffer, 256)) { // Aborted by user => No error return ""; } return string(buffer); } //---------- bool ofxSollingerDSP::setup(const string & address) { if ...
20.153846
117
0.604962
[ "vector" ]
795e58b2f7332093591ff8c0d69a53c808894de6
1,108
cpp
C++
457.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
457.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
457.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> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
18.466667
52
0.528881
[ "vector" ]
79624d3cac9ebd91cd6b6d824ddb8f68a8347dfa
20,770
cpp
C++
maku/render/opengl_canvas.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
10
2015-04-09T01:43:28.000Z
2021-03-29T15:59:01.000Z
maku/render/opengl_canvas.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
null
null
null
maku/render/opengl_canvas.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
1
2020-07-02T03:52:56.000Z
2020-07-02T03:52:56.000Z
#include "opengl_canvas.h" #include "opengl_common.h" #include "opengl_shader.h" #include "utils.h" namespace maku { namespace render { namespace opengl { #define GETADDRESS(x) T##x = (x##_T)TwglGetProcAddress(#x) #define CHECKADDR(x) if(!(x)) return false; // glDeleteTextures_T TglDeleteTextures = NULL; glGetStrin...
33.232
110
0.674242
[ "render" ]
7962d5d33b4abfab7dcaf4f77b59b4528db3fd5b
6,498
hpp
C++
stapl_release/stapl/containers/graph/algorithms/triangle_count.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/graph/algorithms/triangle_count.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/graph/algorithms/triangle_count.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
31.697561
79
0.592336
[ "vector" ]
7966ff93b9748e6350113b3131fe638254261da1
5,984
cc
C++
packages/kraken_webview/bridge/iframe_element.cc
ReverseScale/plugins
bda43270a7aa409c89e20e1ca5927b1eec98461a
[ "Apache-2.0" ]
null
null
null
packages/kraken_webview/bridge/iframe_element.cc
ReverseScale/plugins
bda43270a7aa409c89e20e1ca5927b1eec98461a
[ "Apache-2.0" ]
null
null
null
packages/kraken_webview/bridge/iframe_element.cc
ReverseScale/plugins
bda43270a7aa409c89e20e1ca5927b1eec98461a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 Alibaba Inc. All rights reserved. * Author: Kraken Team. */ #include "iframe_element.h" namespace kraken::binding::jsc { std::unordered_map<JSContext *, JSIframeElement *> JSIframeElement::instanceMap {}; JSIframeElement::~JSIframeElement() { instanceMap.erase(context); } JSIframeEleme...
38.606452
126
0.732286
[ "object" ]
796afd33d4edc2f11fd513c6e42c8c69898c962a
953
cpp
C++
1457. Pseudo-Palindromic Paths in a Binary Tree/main.cpp
amanchadha/LeetCode
20dddf0616351ad399f0fa03cb6a2b5cbdd25279
[ "MIT" ]
1
2021-07-18T06:18:40.000Z
2021-07-18T06:18:40.000Z
1457. Pseudo-Palindromic Paths in a Binary Tree/main.cpp
amanchadha/LeetCode
20dddf0616351ad399f0fa03cb6a2b5cbdd25279
[ "MIT" ]
null
null
null
1457. Pseudo-Palindromic Paths in a Binary Tree/main.cpp
amanchadha/LeetCode
20dddf0616351ad399f0fa03cb6a2b5cbdd25279
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
25.078947
93
0.501574
[ "vector" ]
796d2acedb88c2cb74ddaa1934fd974e65fa9943
1,228
hpp
C++
include/zeabus/opencv/operations.hpp
zeabusTeam/zeabus_vision
bc58872ae4f02656bc153f32968e61a8f3d7cf15
[ "MIT" ]
1
2019-05-28T12:59:21.000Z
2019-05-28T12:59:21.000Z
include/zeabus/opencv/operations.hpp
zeabusTeam/zeabus_vision
bc58872ae4f02656bc153f32968e61a8f3d7cf15
[ "MIT" ]
2
2019-04-30T11:35:10.000Z
2019-10-22T10:00:18.000Z
include/zeabus/opencv/operations.hpp
zeabusTeam/zeabus_vision
bc58872ae4f02656bc153f32968e61a8f3d7cf15
[ "MIT" ]
null
null
null
// FILE : operations.hpp // AUTHOR : K.Supasan // CREATE ON : 2020, Febuary 27 (UTC+0) // MAINTAINER : K.Supasan // MACRO DETAIL // README // REFERENCE // This implement on vector of cpp // MACRO SET // MACRO CONDITION #include <cmath> #include <opencv2/core/types.hpp> #ifndef _ZEABUS_OPENCV_OPERATIONS...
20.466667
69
0.610749
[ "vector" ]
7971be9fe6e58cdfda2ded03a7dfbe13f4ca110b
2,958
cpp
C++
src/ttauri/GFX/RenderDoc.cpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
279
2021-02-17T09:53:40.000Z
2022-03-22T04:08:40.000Z
src/ttauri/GFX/RenderDoc.cpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
269
2021-02-17T12:53:15.000Z
2022-03-29T22:10:49.000Z
src/ttauri/GFX/RenderDoc.cpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
25
2021-02-17T17:14:10.000Z
2022-03-16T04:13:00.000Z
// Copyright Take Vos 2020. // 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) #include "RenderDoc.hpp" #include "../log.hpp" #include "../URL.hpp" #include <renderdoc/renderdoc_app.h> #if TT_OPERATING_SYSTEM == TT_O...
28.442308
100
0.667681
[ "vector" ]
797542ffba234f19154e1917e50ac5ebf76816b6
33,695
cpp
C++
frameworks/src/core/modules/presets/test/unittest/common/timer_module_tdd_test.cpp
openharmony-gitee-mirror/ace_engine_lite
94ec4d9667f586888090342f231ae3c9294df621
[ "Apache-2.0" ]
null
null
null
frameworks/src/core/modules/presets/test/unittest/common/timer_module_tdd_test.cpp
openharmony-gitee-mirror/ace_engine_lite
94ec4d9667f586888090342f231ae3c9294df621
[ "Apache-2.0" ]
null
null
null
frameworks/src/core/modules/presets/test/unittest/common/timer_module_tdd_test.cpp
openharmony-gitee-mirror/ace_engine_lite
94ec4d9667f586888090342f231ae3c9294df621
[ "Apache-2.0" ]
1
2021-09-13T11:57:16.000Z
2021-09-13T11:57:16.000Z
/* * Copyright (c) 2021 Huawei Device 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 law ...
32.681862
88
0.481407
[ "render" ]
79802650974027deb409dd8028a54d8ca2071413
1,712
cxx
C++
src/Cxx/PolyData/Outline.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/PolyData/Outline.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/PolyData/Outline.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkActor.h> #include <vtkConeSource.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkOutlineFilter.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> int main(int, char...
28.065574
78
0.754089
[ "render" ]
7980f558dbea848662afc38b2075ddfdd2d05bd9
3,244
cpp
C++
codechef/Jan17/Tourists in Mancunia.cpp
amarlearning/CodeForces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
3
2017-06-17T21:27:04.000Z
2020-08-07T04:56:56.000Z
codechef/Jan17/Tourists in Mancunia.cpp
amarlearning/Codeforces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
null
null
null
codechef/Jan17/Tourists in Mancunia.cpp
amarlearning/Codeforces
6625d3be21cb6a78b88c7521860d1da263e77121
[ "Unlicense" ]
2
2018-07-26T21:00:42.000Z
2019-11-30T19:33:57.000Z
/* Author : Amar Prakash Pandey contact : http://amarpandey.me */ #include <string.h> #include <fstream> #include <iostream> #include <string> #include <complex> #include <math.h> #include <set> #include <vector> #include <map> #include <queue> #include <stdio.h> #include <stack> #include <algorithm> #include <list> ...
18.643678
58
0.432799
[ "vector" ]
7985ca2530f5d6a0d8254905c799d27c8907a3c1
2,457
cpp
C++
Dynamic Programming/140. Word Break II/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Dynamic Programming/140. Word Break II/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Dynamic Programming/140. Word Break II/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 140. Word Break II // // Created by 边俊林 on 2019/8/22. // Copyright © 2019 Minecode.Link. All rights reserved. // /* ------------------------------------------------------ *\ https://leetcode-cn.com/problems/Sample/description/ \* ------------------------------------------------------ */ #inclu...
27.920455
171
0.570615
[ "vector" ]
7987fd02ddc1c23b25a0dd31245c8def350d00dd
6,522
cpp
C++
projects/procjam-2020/2d-occluder-search.cpp
tmpvar/rawk
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
9
2020-08-14T19:46:33.000Z
2021-10-13T09:33:20.000Z
projects/procjam-2020/2d-occluder-search.cpp
tmpvar/rawkit
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
null
null
null
projects/procjam-2020/2d-occluder-search.cpp
tmpvar/rawkit
0dee2bdf9e11e9033988a0d9d1e52603263c6aca
[ "MIT" ]
null
null
null
#include <rawkit/rawkit.h> #include "glm/glm.hpp" #include "glm/gtx/compatibility.hpp" using namespace glm; #define TAU 6.2831853 const uint32_t grid_diameter = 16; #define occluder_list_len (2 * grid_diameter) #define volume_len (grid_diameter * grid_diameter) uint8_t volume[volume_len]; const vec2 grid_dims = {grid...
27.403361
100
0.591076
[ "render" ]
7999e80292dd74337f3975b05a7c4c2cfa2b721d
1,320
hpp
C++
lib/libcpp/Mesh/Mesh/interfacemeshinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Mesh/Mesh/interfacemeshinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Mesh/Mesh/interfacemeshinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __Mesh_InterfaceMeshInfo_hpp #define __Mesh_InterfaceMeshInfo_hpp #include "geometryobject.hpp" /*--------------------------------------------------------------------------*/ namespace mesh { class InterfaceMeshInfo : public GeometryObject { public: alat::armaivec _nodes_to_plain; alat::armaiv...
31.428571
78
0.640909
[ "mesh" ]
799a19add73c6ee777d006ff77a03771e8cb159b
1,790
hpp
C++
test/test_writer.hpp
wx9698/xviz
6a45a56a7e62489d2200182a3379bb76fbf71141
[ "MIT" ]
13
2020-02-10T07:25:31.000Z
2021-03-26T16:30:23.000Z
test/test_writer.hpp
ghy200692162/xviz
6a45a56a7e62489d2200182a3379bb76fbf71141
[ "MIT" ]
1
2020-07-28T18:12:46.000Z
2020-07-30T02:59:25.000Z
test/test_writer.hpp
ghy200692162/xviz
6a45a56a7e62489d2200182a3379bb76fbf71141
[ "MIT" ]
4
2021-06-08T06:38:20.000Z
2022-03-15T10:23:23.000Z
/* * File: test_writer.hpp * Author: Minjun Xu (mjxu96@gmail.com) * File Created: Tuesday, 17th March 2020 6:20:29 pm */ #ifndef XVIZ_TEST_WRITER_H_ #define XVIZ_TEST_WRITER_H_ #include "test_utils.h" #include "xviz/builder/xviz_builder.h" #include "xviz/io/glb_writer.h" #include <gtest/gtest.h> class XVIZWrite...
27.538462
96
0.702235
[ "vector" ]
799ad5d183067fcd97189589bca522ceeb40d9c1
12,288
cpp
C++
hashmap.cpp
czh-123/hashmap_cis106L
c94627e0f0f61d5bf60adcc9129fbdc403f7e89d
[ "MIT" ]
null
null
null
hashmap.cpp
czh-123/hashmap_cis106L
c94627e0f0f61d5bf60adcc9129fbdc403f7e89d
[ "MIT" ]
null
null
null
hashmap.cpp
czh-123/hashmap_cis106L
c94627e0f0f61d5bf60adcc9129fbdc403f7e89d
[ "MIT" ]
null
null
null
/* * Assignment 2: HashMap template implementation (BASIC SOLUTION) * Notes: this file is what we call a .tpp file. It's not a .cpp file, * because it's not exactly a regular source code file. Instead, we are * defining the template definitions for our HashMap class. * * TODO: write a comment here. ...
31.834197
110
0.596354
[ "vector" ]
79a140ff4c134dcd072aba627c311292677e8a07
17,298
cxx
C++
Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
liuxuvip/OTB
73ed482d62c2924aea158aac14d725dc9447083b
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Filtering/ImageManipulation/test/otbClampImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
40.227907
156
0.636548
[ "vector" ]
79a9dde8680a4b10d53c128265686d42c4c93ac5
771
cpp
C++
vox.render/physics/static_collider.cpp
SummerTree/DigitalVox4
2eb718abcaccc4cd1dde3b0f28090c197c1905d4
[ "MIT" ]
6
2022-01-23T04:58:50.000Z
2022-03-16T06:11:38.000Z
vox.render/physics/static_collider.cpp
SummerTree/DigitalVox4
2eb718abcaccc4cd1dde3b0f28090c197c1905d4
[ "MIT" ]
null
null
null
vox.render/physics/static_collider.cpp
SummerTree/DigitalVox4
2eb718abcaccc4cd1dde3b0f28090c197c1905d4
[ "MIT" ]
1
2022-01-20T05:53:59.000Z
2022-01-20T05:53:59.000Z
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "static_collider.h" #include "physics_manager.h" #include "../entity.h" namespace vox { na...
30.84
112
0.636835
[ "transform" ]
79aaf7565c4e3bca1b504934f25a1fd2f34e649d
2,940
cpp
C++
physicalrobots/calibration/main.cpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/calibration/main.cpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/calibration/main.cpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include "calibration.h" #include "image-capture.h" #include "stereo-calibration.h" int main(const int _argc, const char* _argv[]) { const std::string instructions = "To create a good camera calibration, " "position a checkerboard target at various points in the field of view and " "take ...
31.276596
81
0.662585
[ "vector" ]
79ab36a7e2eed13fc1710f7b0f8ea773c6a63073
1,384
cpp
C++
leetcode.com/0015 3Sum/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0015 3Sum/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0015 3Sum/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: vector<vector<int>> threeSum(vector<int>& nums) { std::vector<vector<int>> result; if (nums.empty()) { return result; } std::size_t n_size = nums.size(); st...
31.454545
85
0.464595
[ "vector" ]
79acd95daf34ea6aaeac3db92721b3d5d0b529f4
943
cpp
C++
Dataset/Leetcode/test/78/167.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/78/167.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/78/167.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> XXX(vector<int>& nums) { if(nums.empty()) return vector<vector<int>>(); vector<vector<int>> ans; vector<vector<int>> signal; vector<int> temp; int length = nums.size(); traceback(0, signal, temp, length); for(int i ...
28.575758
95
0.486744
[ "vector" ]
79b058f89fe7127537619e59882148b03b629308
1,035
hpp
C++
cpp/Autogarden/tests/utils/suites/iterable_test_suite.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
cpp/Autogarden/tests/utils/suites/iterable_test_suite.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
cpp/Autogarden/tests/utils/suites/iterable_test_suite.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
#pragma once #include <gmock/gmock.h> #include <gtest/gtest.h> #include <mocks/mock_terminal.hpp> #include <pins/terminal_pinset.hpp> using namespace ::testing; template <typename T> class PinSetTestSuite : public Test { protected: const int size = 5; std::vector<MockTerminalPin*> mockPins; std::vector<...
23.522727
59
0.64058
[ "vector" ]
79b4d764ee97a28883e4857b4519545b219dd135
1,233
cpp
C++
Project_Euler/7/7.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
Project_Euler/7/7.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
Project_Euler/7/7.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include <map> #include <set> #include <list> #include <cmath> #include <ctime> #include <deque> #include <queue> #include <stack> #include <string> #include <bitset> #include <cstdio> #include <limits> #include <vector> #include <climits> #include <cstring> #include <cstdlib> #include <fstream> #include <numeric> #inc...
19.265625
48
0.485807
[ "vector" ]
79b7b3a536a78b2e4dca868c8354608a2aec3dc4
3,002
cc
C++
Common/TestDyExpr/Source/TestTZip.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Common/TestDyExpr/Source/TestTZip.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Common/TestDyExpr/Source/TestTZip.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
/// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYR...
25.226891
81
0.528648
[ "vector" ]
79bcd5aeb22a0341251c4e9a88c10a24d3931e52
1,131
cpp
C++
leetcode/october-challenge/week-4/132-Pattern.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/october-challenge/week-4/132-Pattern.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
null
null
null
leetcode/october-challenge/week-4/132-Pattern.cpp
joaquinmd93/competitive-programming
681424abd777cc0a3059e1ee66ae2cee958178da
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: bool find132pattern(vector<int>& nums) { int n = nums.size(); // Edge cases? if (n == 1) return false; if (n == 2) return false; // Get minimum from left to right vector<int> minLeft(n);...
29.763158
82
0.415561
[ "vector" ]
79c1e7618cdc8fe21f3b28e53ec25f9b80228cc9
14,626
cc
C++
components/assist_ranker/example_preprocessing_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/assist_ranker/example_preprocessing_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/assist_ranker/example_preprocessing_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 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/assist_ranker/example_preprocessing.h" #include "base/strings/string_number_conversions.h" #include "testing/gtest/include/gtest/gte...
40.740947
80
0.751333
[ "vector" ]
79ccb8e327602032a942feee3c3dd588b90daea6
1,417
cpp
C++
0054 - Spiral Matrix/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0054 - Spiral Matrix/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0054 - Spiral Matrix/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 54 - Spiral Matrix // // Created by ynfMac on 2019/12/2. // Copyright © 2019 ynfMac. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Solution { int R, C; int d[4][2] = {{0,1},{1,0},{0,-1},{-1,0}}; private: bool inArea(int x,int y){ ret...
24.016949
85
0.411433
[ "vector" ]
79ccf3b2e6b7ea968c206ea46062026c7f908cfe
2,516
cc
C++
cc/output/vulkan_renderer.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
cc/output/vulkan_renderer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
cc/output/vulkan_renderer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright (c) 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 "cc/output/vulkan_renderer.h" #include "cc/output/output_surface_frame.h" namespace cc { VulkanRenderer::~VulkanRenderer() {} void VulkanR...
27.053763
79
0.707075
[ "vector" ]
79d3adbc5c81ccbdf247f67e9ab94d1435985a5f
2,502
cpp
C++
LeetCode/WordBreak2.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
LeetCode/WordBreak2.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
LeetCode/WordBreak2.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
#include <sstream> #include <stdio.h> #include <string> #include <cstring> #include <iostream> #include <vector> #include <map> #include <stack> #include <queue> #include <set> #include <cmath> #include <algorithm> #include <cfloat> #include <climits> #include <unordered_set> //#include <unordered_map> using namespa...
23.828571
121
0.546763
[ "vector" ]
79d3af16a5541d695fd5dfd684cacf1338070ba2
2,949
hpp
C++
sources/cards/Card.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
1
2022-02-02T21:41:59.000Z
2022-02-02T21:41:59.000Z
sources/cards/Card.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
null
null
null
sources/cards/Card.hpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
2
2022-02-01T12:59:57.000Z
2022-03-05T12:50:27.000Z
#ifndef CARD_HPP #define CARD_HPP #include <string> #include <map> #include <vector> #include "utils/PtrList.hpp" class Player; /** * @brief A class that represent a card. */ class Card { public: /** * @brief An enum that represent the card type. */ enum class Type { Creature, // Creature card. Land, ...
17.046243
90
0.619193
[ "object", "vector" ]
79dc5566d90ab88a1d11d32ba29e1162fc9c3813
764
hpp
C++
Source/environment/cylinder_grid.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
Source/environment/cylinder_grid.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
Source/environment/cylinder_grid.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
#pragma once #include <model/model.hpp> #include <object_types/imodelrender.hpp> #include <utilities/ShaderManager/shadermanager.hpp> class CylinderGrid : public IModelRender { public: CylinderGrid(); void Render(const glm::vec4& view_light_direction, const glm::mat4& view_matrix, const glm::mat4& projection_matri...
27.285714
118
0.787958
[ "render", "model" ]
076685812464a9f68a98709b535c91efa1a88437
13,170
cpp
C++
src/GLUL/GUI/Panel.cpp
RippeR37/GLUL
2e5cd72192d039d281c5df09a816901f6fea28f9
[ "MIT" ]
43
2015-09-15T18:07:23.000Z
2021-03-24T02:19:39.000Z
src/GLUL/GUI/Panel.cpp
RippeR37/Utility-Library
2e5cd72192d039d281c5df09a816901f6fea28f9
[ "MIT" ]
46
2015-01-09T18:03:40.000Z
2015-09-09T22:05:39.000Z
src/GLUL/GUI/Panel.cpp
RippeR37/GLUL
2e5cd72192d039d281c5df09a816901f6fea28f9
[ "MIT" ]
4
2017-01-27T21:35:44.000Z
2021-01-09T17:04:32.000Z
#include <GLUL/GL++/Context.h> #include <GLUL/GUI/Panel.h> #include <GLUL/GUI/Events/ValueChange.hpp> #include <iostream> namespace GLUL { namespace GUI { Panel::Panel(Container& parent, const glm::vec2& position, const glm::vec2& size) : Panel(&parent, position, size) { } Panel::P...
34.84127
123
0.589446
[ "render", "vector" ]
07675ee67ef538ea9771e49cb0891b840a754be5
3,333
hpp
C++
third_party/CppADCodeGen/test/cppad/cg/dae_index_reduction/model/pendulum.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppADCodeGen/test/cppad/cg/dae_index_reduction/model/pendulum.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppADCodeGen/test/cppad/cg/dae_index_reduction/model/pendulum.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
#ifndef CPPAD_CG_TEST_PENDULUM_INCLUDED #define CPPAD_CG_TEST_PENDULUM_INCLUDED /* -------------------------------------------------------------------------- * CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation: * Copyright (C) 2012 Ciengis * * CppADCodeGen is distributed under multiple ...
28.982609
79
0.545455
[ "vector" ]
077caea2b6e5435664e504ef9173ae445cd11293
1,051
cpp
C++
A2OJ/B/010. DZY Love Strings.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
A2OJ/B/010. DZY Love Strings.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
A2OJ/B/010. DZY Love Strings.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
// author : hrahul2605 #include <bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define ll long long #define int long long #define f first #define se second #define LB lower_bound #define UB upper_bound #define pb push_back #define mp make_pair #define vll vector<ll> #define vi vector<int...
21.02
61
0.551855
[ "vector" ]
077cb99ffdc7667f353381a8ec2482b5a1ff2c3c
5,067
cpp
C++
src/jsonserializer/typeconverters/legacygeomconverter.cpp
ohmree/QtJsonSerializer
55449772798608a04f688dff430faf28ce38a99f
[ "BSD-3-Clause" ]
103
2017-11-16T09:23:30.000Z
2022-03-24T15:44:00.000Z
src/jsonserializer/typeconverters/legacygeomconverter.cpp
ohmree/QtJsonSerializer
55449772798608a04f688dff430faf28ce38a99f
[ "BSD-3-Clause" ]
47
2017-11-16T09:23:20.000Z
2022-01-04T21:11:37.000Z
src/jsonserializer/typeconverters/legacygeomconverter.cpp
ohmree/QtJsonSerializer
55449772798608a04f688dff430faf28ce38a99f
[ "BSD-3-Clause" ]
49
2017-11-18T08:39:05.000Z
2022-03-10T09:55:51.000Z
#include "legacygeomconverter_p.h" #include "exception.h" #include <QtCore/QCborMap> using namespace QtJsonSerializer; using namespace QtJsonSerializer::TypeConverters; LegacyGeomConverter::LegacyGeomConverter() { setPriority(Priority::VeryLow); } bool LegacyGeomConverter::canConvert(int metaTypeId) con...
33.556291
133
0.724887
[ "object" ]
078284eaf5017060b88cdeae062956e9f800e4e1
6,288
cpp
C++
projects/USDExporter/source/StringUtil.cpp
ft-lab/Shade3D_USDExporter
981494219a510d679369726229decbb9c7dac36e
[ "MIT" ]
5
2019-10-13T00:53:45.000Z
2021-02-15T15:43:39.000Z
projects/USDExporter/source/StringUtil.cpp
ft-lab/Shade3D_USDExporter
981494219a510d679369726229decbb9c7dac36e
[ "MIT" ]
null
null
null
projects/USDExporter/source/StringUtil.cpp
ft-lab/Shade3D_USDExporter
981494219a510d679369726229decbb9c7dac36e
[ "MIT" ]
1
2021-08-13T10:54:47.000Z
2021-08-13T10:54:47.000Z
/** * 文字列操作関数. */ #include "StringUtil.h" #if _WINDOWS #include "windows.h" #endif #undef max #undef min #include <string> #include <sstream> #include <algorithm> #include <vector> /** * パスのセパレータを取得. */ const std::string StringUtil::getFileSeparator () { #if _WINDOWS return "\\"; #else return "/"; #endif } ...
24.755906
158
0.630089
[ "vector", "transform" ]
0784602a0e581f2367a255236d3b52d35853ff7d
705
hh
C++
inc/client/player.hh
haileys/battlecars
e6cf3ca50d7695ce89ab2acab8a276279db508e6
[ "Zlib" ]
1
2022-02-06T10:36:59.000Z
2022-02-06T10:36:59.000Z
inc/client/player.hh
haileys/battlecars
e6cf3ca50d7695ce89ab2acab8a276279db508e6
[ "Zlib" ]
null
null
null
inc/client/player.hh
haileys/battlecars
e6cf3ca50d7695ce89ab2acab8a276279db508e6
[ "Zlib" ]
null
null
null
#ifndef PLAYER_HH #define PLAYER_HH #include <string> #include <stdint.h> #include <SFML/Network.hpp> #include <SFML/Graphics.hpp> #include "client/game.hh" class Player { public: Game& game; uint32_t id; std::string name; float x, y, velocity, heading; sf::Sprite car; sf::String label...
23.5
135
0.66383
[ "render", "shape" ]
0791f65b6ed8be38d4bfd99eef10fe55b37e1c44
9,512
cc
C++
outboundbot/src/model/QueryJobsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
outboundbot/src/model/QueryJobsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
outboundbot/src/model/QueryJobsResult.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...
45.080569
110
0.7541
[ "model" ]
0796a4e0f12f02532a8b86e1224dbd0ee402a060
650
cpp
C++
CPlusPlus-Class/04 - OOP - Exercise 9/04 - OOP - Exercise 9.cpp
AlieuFriggeri/SAE921-GRP4100-CPlusPlus-Class-A.Friggeri
137729b63d2f093bf8510faab79cd0c7a38e0f19
[ "MIT" ]
null
null
null
CPlusPlus-Class/04 - OOP - Exercise 9/04 - OOP - Exercise 9.cpp
AlieuFriggeri/SAE921-GRP4100-CPlusPlus-Class-A.Friggeri
137729b63d2f093bf8510faab79cd0c7a38e0f19
[ "MIT" ]
null
null
null
CPlusPlus-Class/04 - OOP - Exercise 9/04 - OOP - Exercise 9.cpp
AlieuFriggeri/SAE921-GRP4100-CPlusPlus-Class-A.Friggeri
137729b63d2f093bf8510faab79cd0c7a38e0f19
[ "MIT" ]
null
null
null
// 04 - OOP - Exercise 9.cpp : Ce fichier contient la fonction 'main'. L'exécution du programme commence et se termine à cet endroit. // #include <iostream> #include <vector> #include "Items.h" #include "Maps.h" #include "Inventory.h" #include "Potion.h" #include "ATKPotion.h" #include "HealthPotion.h" #include "Sword...
16.25
133
0.670769
[ "vector" ]
079b237736e860f42f8960ccece8972726a80e2b
16,444
cpp
C++
earth_enterprise/src/fusion/autoingest/sysman/AssetOperation_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
1
2020-02-12T10:28:29.000Z
2020-02-12T10:28:29.000Z
earth_enterprise/src/fusion/autoingest/sysman/AssetOperation_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
null
null
null
earth_enterprise/src/fusion/autoingest/sysman/AssetOperation_unittest.cpp
seamusdunlop123/earthenterprise
a2651b1c00dd6230fd5d3d47502d228dbfca0f63
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 The Open GEE Contributors * * 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 la...
38.064815
113
0.737898
[ "vector" ]
079b834d535787fa42b81bb3c8112965462afb24
1,797
cpp
C++
MerryServer/ShootingHelperMP.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
MerryServer/ShootingHelperMP.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
MerryServer/ShootingHelperMP.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: Mikhail Kutuzov Date: 9/15/2014 12:19:18 PM ------------------------------------------------------------------------------------------ */ #include "Shooti...
33.277778
147
0.685587
[ "geometry", "vector", "transform" ]
07a6738f40bd21d8be71e188664baadb21a65ab2
69,941
cpp
C++
src/dawn/Optimizer/StencilInstantiation.cpp
cosunae/dawn
dc54aee8403812b88df4533fe680e5b95b678411
[ "MIT" ]
null
null
null
src/dawn/Optimizer/StencilInstantiation.cpp
cosunae/dawn
dc54aee8403812b88df4533fe680e5b95b678411
[ "MIT" ]
null
null
null
src/dawn/Optimizer/StencilInstantiation.cpp
cosunae/dawn
dc54aee8403812b88df4533fe680e5b95b678411
[ "MIT" ]
null
null
null
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
39.784414
100
0.675727
[ "vector" ]
07ab0df110e086735515a4d7229eae1ac1ff1618
3,406
cpp
C++
0224-Basic Calculator/0224-Basic Calculator.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
null
null
null
0224-Basic Calculator/0224-Basic Calculator.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
null
null
null
0224-Basic Calculator/0224-Basic Calculator.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
1
2019-11-20T08:01:10.000Z
2019-11-20T08:01:10.000Z
class Solution { public: int calculate(string s) { stack<int> vals; stack<int> ops; int num = 0; int sign = 1; int res = 0; for (char c : s) { if (isdigit(c)) { num = num * 10 + (c - '0'); } else { re...
26
60
0.296242
[ "vector" ]
07adba0196876f956f921e8dcd669d609b4a7f4b
927
hpp
C++
source/TextToSpeech/TTSManager.hpp
RobertDamerius/GroundControlStation
7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f
[ "MIT" ]
1
2021-12-26T12:48:18.000Z
2021-12-26T12:48:18.000Z
source/TextToSpeech/TTSManager.hpp
RobertDamerius/GroundControlStation
7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f
[ "MIT" ]
null
null
null
source/TextToSpeech/TTSManager.hpp
RobertDamerius/GroundControlStation
7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f
[ "MIT" ]
1
2021-12-26T12:48:25.000Z
2021-12-26T12:48:25.000Z
#pragma once class TTSManager { public: /** * @brief Initialize the text-to-speech manager. */ void Initialize(void); /** * @brief Terminate the text-to-speech manager. */ void Terminate(void); /** * @brief Add text to the q...
28.96875
100
0.530744
[ "object" ]