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
08dd368c4376ab775200bc641d4145ba289bd5c4
38,803
cpp
C++
src_main/engine/networkstringtable.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
25
2018-02-28T15:04:42.000Z
2021-08-16T03:49:00.000Z
src_main/engine/networkstringtable.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
1
2019-09-20T11:06:03.000Z
2019-09-20T11:06:03.000Z
src_main/engine/networkstringtable.cpp
ArcadiusGFN/SourceEngine2007
51cd6d4f0f9ed901cb9b61456eb621a50ce44f55
[ "bzip2-1.0.6" ]
9
2019-07-31T11:58:20.000Z
2021-08-31T11:18:15.000Z
// Copyright © 1996-2018, Valve Corporation, All rights reserved. #include "networkstringtable.h" #include "baseclient.h" #include "filesystem_engine.h" #include "host.h" #include "net.h" #include "netmessages.h" #include "sysexternal.h" #include "tier0/include/vprof.h" #include "tier1/bitbuf.h" #include "tier1/utlbu...
30.243959
80
0.55055
[ "object" ]
08e1062641d6c007c1c67064827c11cece3fbd77
6,414
cc
C++
content/browser/bluetooth/bluetooth_allowed_devices_map.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
content/browser/bluetooth/bluetooth_allowed_devices_map.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
content/browser/bluetooth/bluetooth_allowed_devices_map.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 2015 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 "content/browser/bluetooth/bluetooth_allowed_devices_map.h" #include <string> #include <vector> #include "base/logging.h" #include "base/option...
34.299465
79
0.746336
[ "vector" ]
08e317979333bbb9b62f4fd565e137d1c56a5527
746
hpp
C++
d20tempest/include/communication/tcp_client.hpp
tempestjam/d20tempest
99c69ca1615b77aade96a4fa566139dabef98fa3
[ "Apache-2.0" ]
null
null
null
d20tempest/include/communication/tcp_client.hpp
tempestjam/d20tempest
99c69ca1615b77aade96a4fa566139dabef98fa3
[ "Apache-2.0" ]
2
2019-06-16T21:41:43.000Z
2019-06-22T00:49:10.000Z
d20tempest/include/communication/tcp_client.hpp
tempestjam/d20tempest
99c69ca1615b77aade96a4fa566139dabef98fa3
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <gsl/gsl> #include <uvw.hpp> #include "communication/iclient.hpp" namespace d20tempest::communication { class TCPClientImpl; class TCPClient : public IClient { private: std::shared_ptr<TCPClientImpl> m_impl; public: TCPClient(gsl::not_null<...
25.724138
95
0.684987
[ "vector" ]
08e76053ef6a22eab28e44dc3d33d9623dc04519
11,772
cpp
C++
Lib/Runtime/Compartment.cpp
auto-ndp/WAVM
32d75d59ba206dbd84ccfc91fe33a68b6b986b4d
[ "BSD-3-Clause" ]
null
null
null
Lib/Runtime/Compartment.cpp
auto-ndp/WAVM
32d75d59ba206dbd84ccfc91fe33a68b6b986b4d
[ "BSD-3-Clause" ]
null
null
null
Lib/Runtime/Compartment.cpp
auto-ndp/WAVM
32d75d59ba206dbd84ccfc91fe33a68b6b986b4d
[ "BSD-3-Clause" ]
null
null
null
#include <stddef.h> #include <atomic> #include <memory> #include <vector> #include "RuntimePrivate.h" #include "WAVM/Inline/Assert.h" #include "WAVM/Inline/BasicTypes.h" #include "WAVM/Inline/Timing.h" #include "WAVM/Platform/Memory.h" #include "WAVM/Platform/RWMutex.h" #include "WAVM/Runtime/Runtime.h" #include "WAVM/...
33.634286
98
0.754417
[ "object", "vector" ]
08e94b2ec498f7583fc78e2a56f126c33bb98e38
1,982
cpp
C++
RTCPi/tests/testfiles/set_date.cpp
abelectronicsuk/ABElectronics_CPP_Libraries
ff9e884d95d6ff6797b5628683fdac5bb13db267
[ "MIT" ]
9
2017-11-12T02:11:11.000Z
2022-01-29T16:57:38.000Z
RTCPi/tests/testfiles/set_date.cpp
abelectronicsuk/ABElectronics_CPP_Libraries
ff9e884d95d6ff6797b5628683fdac5bb13db267
[ "MIT" ]
2
2019-03-04T10:11:34.000Z
2020-07-01T12:50:37.000Z
RTCPi/tests/testfiles/set_date.cpp
abelectronicsuk/ABElectronics_CPP_Libraries
ff9e884d95d6ff6797b5628683fdac5bb13db267
[ "MIT" ]
9
2017-08-03T00:04:58.000Z
2021-09-03T12:04:38.000Z
/* * set_date.cpp * * RTCPi class > set_date function test program * */ #include <stdio.h> #include <stdexcept> #include <unistd.h> #include <iostream> #include "../../../UnitTest/testlibs.cpp" #include "../../ABE_RTCPi.h" using namespace ABElectronics_CPP_Libraries; using namespace std; int main(int argc, c...
24.775
80
0.660444
[ "object" ]
08f1267b15f097fcd29f5e60c57503b9a2c81598
7,205
cpp
C++
base/src/work/BasicProcessor.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
base/src/work/BasicProcessor.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
base/src/work/BasicProcessor.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
#include <Poco/Exception.h> #include <Poco/Thread.h> #include <Poco/Logger.h> #include "di/Injectable.h" #include "work/BasicProcessor.h" #include "work/WorkAccess.h" #include "work/WorkExecutor.h" #include "work/WorkRepository.h" #include "work/WorkRunner.h" #include "work/WorkScheduler.h" BEEEON_OBJECT_BEGIN(BeeeOn...
21.067251
77
0.696183
[ "vector" ]
08f9b0b792b59f69f1f545084c9bb57d458389a0
7,796
hpp
C++
include/fl/filter/gaussian/transform/unscented_transform.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
17
2015-07-03T06:53:05.000Z
2021-05-15T20:55:12.000Z
include/fl/filter/gaussian/transform/unscented_transform.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
3
2015-02-20T12:48:17.000Z
2019-12-18T08:45:13.000Z
include/fl/filter/gaussian/transform/unscented_transform.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
15
2015-02-20T11:34:14.000Z
2021-05-15T20:55:13.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
27.743772
82
0.584787
[ "transform" ]
1c016108a9a6f3ba78a79989227b868352b404f3
2,667
cpp
C++
ArrhythmiaStudio/src/MainWindow.cpp
Reimnop/ArrhythmiaStudio
d8b63992d9d461a495b33f7e6dfef62607a4f152
[ "MIT" ]
6
2021-10-04T03:06:12.000Z
2022-02-14T09:32:59.000Z
ArrhythmiaStudio/src/MainWindow.cpp
Reimnop/ArrhythmiaStudio
d8b63992d9d461a495b33f7e6dfef62607a4f152
[ "MIT" ]
null
null
null
ArrhythmiaStudio/src/MainWindow.cpp
Reimnop/ArrhythmiaStudio
d8b63992d9d461a495b33f7e6dfef62607a4f152
[ "MIT" ]
1
2021-12-04T17:59:22.000Z
2021-12-04T17:59:22.000Z
#include "MainWindow.h" #include "logic/GameManager.h" #include "helper.h" #include "bass/bass.h" void MainWindow::glfwErrorCallback(int error_code, const char* description) { LOG4CXX_ERROR(logger, "GLFW: " << description); } void MainWindow::glDebugCallback(GLenum source, GLenum type, unsigned int id, GLenum sever...
20.835938
154
0.748031
[ "render" ]
1c13def0772af8bd33c23e453b3af26ffc90057c
31,244
cpp
C++
ros/src/computing/planning/motion/packages/driving_planner/nodes/velocity_set/velocity_set.cpp
efernandez/Autoware
0208514ff8f50a64fd434a60275cb1da2b06d84a
[ "BSD-3-Clause" ]
1
2016-03-28T12:58:00.000Z
2016-03-28T12:58:00.000Z
ros/src/computing/planning/motion/packages/driving_planner/nodes/velocity_set/velocity_set.cpp
efernandez/Autoware
0208514ff8f50a64fd434a60275cb1da2b06d84a
[ "BSD-3-Clause" ]
null
null
null
ros/src/computing/planning/motion/packages/driving_planner/nodes/velocity_set/velocity_set.cpp
efernandez/Autoware
0208514ff8f50a64fd434a60275cb1da2b06d84a
[ "BSD-3-Clause" ]
3
2017-05-16T20:15:14.000Z
2019-07-01T09:20:22.000Z
/* * Copyright (c) 2015, Nagoya University * 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 ...
32.923077
120
0.692741
[ "vector", "transform" ]
1c14521aeeb72c2b41ff19617ac834ca97c2fcd3
19,664
cpp
C++
src/server_state.cpp
f-list/fserv
8be87d74410321834f5758d567a101df65c9bceb
[ "BSD-2-Clause" ]
9
2015-09-12T16:09:34.000Z
2019-06-07T23:35:57.000Z
src/server_state.cpp
f-list/fserv
8be87d74410321834f5758d567a101df65c9bceb
[ "BSD-2-Clause" ]
17
2015-01-18T08:10:26.000Z
2018-07-26T09:59:43.000Z
src/server_state.cpp
f-list/fserv
8be87d74410321834f5758d567a101df65c9bceb
[ "BSD-2-Clause" ]
7
2015-04-07T17:53:33.000Z
2017-12-26T19:40:38.000Z
/* * Copyright (c) 2011-2013, "Kira" * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condit...
33.671233
166
0.630238
[ "object" ]
1c14cc26b07509ab6e0793d6b0b3ef0155d8663a
637
cpp
C++
codeforces/round-255/div-2/dzy_loves_hash.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
codeforces/round-255/div-2/dzy_loves_hash.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
codeforces/round-255/div-2/dzy_loves_hash.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int buckets; unsigned int numbers; cin >> buckets >> numbers; vector<bool> is_full(buckets...
15.166667
46
0.540031
[ "vector" ]
1c2d4f62a1735827268cbb8854810c8cf993a99c
4,728
hpp
C++
src/method/method_invoke.hpp
Yechan0815/cubrid
da09d9e60b583d0b7ce5f665429f397976728d99
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/method/method_invoke.hpp
Yechan0815/cubrid
da09d9e60b583d0b7ce5f665429f397976728d99
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/method/method_invoke.hpp
Yechan0815/cubrid
da09d9e60b583d0b7ce5f665429f397976728d99
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * * Copyright 2016 CUBRID Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
35.818182
115
0.721447
[ "vector" ]
1c33788388d89377a30dc74eaad8cbff164ebe8c
1,306
cpp
C++
mhscript/commands/ScriptBlock.cpp
Mishin870/MHSCpp
14be871a18cb9ea8fe915671c1110922f0037f33
[ "MIT" ]
null
null
null
mhscript/commands/ScriptBlock.cpp
Mishin870/MHSCpp
14be871a18cb9ea8fe915671c1110922f0037f33
[ "MIT" ]
null
null
null
mhscript/commands/ScriptBlock.cpp
Mishin870/MHSCpp
14be871a18cb9ea8fe915671c1110922f0037f33
[ "MIT" ]
null
null
null
// // Created by Mishin870 on 28.07.2018. // #include "ScriptBlock.h" #include "../engine/ScriptLoader.h" #include "ScriptUtils.h" ScriptBlock::ScriptBlock(Stream *stream) { this->commands = loadBlock(stream, this->commandsCount); this->isRoot = stream->readByte() == 1; if (this->isRoot) { this->functionsCount =...
22.517241
61
0.653905
[ "object" ]
1c3db3a1756a3155cf5c7c5b3f40539896f0a2bd
12,455
cpp
C++
src/battle_map.cpp
Turtwiggy/Dwarf-and-Blade
2e3bd3eb169bf3b62665d74437f806d52c415fb5
[ "MIT" ]
null
null
null
src/battle_map.cpp
Turtwiggy/Dwarf-and-Blade
2e3bd3eb169bf3b62665d74437f806d52c415fb5
[ "MIT" ]
null
null
null
src/battle_map.cpp
Turtwiggy/Dwarf-and-Blade
2e3bd3eb169bf3b62665d74437f806d52c415fb5
[ "MIT" ]
null
null
null
#include "battle_map.hpp" #include "battle_map_ai.hpp" entt::entity battle_map::create_battle(entt::registry& registry, random_state& rng, vec2i dim, level_info::types type) { entt::entity res = registry.create(); tilemap tmap; tmap.create(dim); //Create background tiles { for (int y = 0...
34.311295
205
0.623766
[ "vector", "transform" ]
1c4f90a0f53a787ca74d3c634ccc864e951cef32
1,214
hpp
C++
cpp/include/darabonba/string.hpp
aliyun/darabonba-string
b09372e1ec8a814a56f32e5898992fab3d75b41d
[ "Apache-2.0" ]
3
2020-11-02T02:35:26.000Z
2020-11-03T03:03:56.000Z
cpp/include/darabonba/string.hpp
aliyun/darabonba-string
b09372e1ec8a814a56f32e5898992fab3d75b41d
[ "Apache-2.0" ]
4
2021-12-13T04:07:49.000Z
2021-12-16T03:13:33.000Z
cpp/include/darabonba/string.hpp
aliyun/darabonba-string
b09372e1ec8a814a56f32e5898992fab3d75b41d
[ "Apache-2.0" ]
6
2020-11-02T09:35:32.000Z
2021-12-16T03:03:29.000Z
// This file is auto-generated, don't edit it. Thanks. #ifndef DARABONBA_STRING_H_ #define DARABONBA_STRING_H_ #include <iostream> #include <vector> using namespace std; namespace Darabonba_String { class Client { public: static vector<string> split(shared_ptr<string> raw, shared_ptr<string> sep, ...
35.705882
77
0.719934
[ "vector" ]
1c50ed1efba24d1aa87dc2adfb3f44b52f1bab31
5,554
cpp
C++
vlc_linux/vlc-3.0.16/modules/demux/smooth/SmoothManager.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/smooth/SmoothManager.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/smooth/SmoothManager.cpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/* * SmoothManager.cpp ***************************************************************************** * Copyright © 2015 - VideoLAN and VLC authors * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Soft...
28.050505
113
0.629816
[ "vector" ]
1c5daa14bc4149e686663bb5268bd1d2a912b15d
22,065
cc
C++
ns-allinone-3.35/ns-3.35/examples/tcp/dctcp-example.cc
usi-systems/cc
487aa9e322b2b01b6af3a92e38545c119e4980a3
[ "Apache-2.0" ]
1
2022-03-22T08:08:35.000Z
2022-03-22T08:08:35.000Z
ns-3-dev/examples/tcp/dctcp-example.cc
Marquez607/Wireless-Perf-Sim
1086759b6dbe7da192225780d5fe6a3da0c5eb07
[ "MIT" ]
null
null
null
ns-3-dev/examples/tcp/dctcp-example.cc
Marquez607/Wireless-Perf-Sim
1086759b6dbe7da192225780d5fe6a3da0c5eb07
[ "MIT" ]
null
null
null
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2017-20 NITK Surathkal * Copyright (c) 2020 Tom Henderson (better alignment with experiment) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2...
39.191829
157
0.659642
[ "vector" ]
1c5fc343482433c2319aa4e0be34d72cace25f61
4,846
cpp
C++
src/DivingRecorder/debug/moc_welcomewindow.cpp
wukurua/DVR
8d41a5b16e6e0bf22c69272fdbfad4ac151e3ba1
[ "Apache-2.0" ]
10
2020-07-12T15:15:39.000Z
2021-08-17T08:07:15.000Z
src/DivingRecorder/debug/moc_welcomewindow.cpp
wukurua/DVR
8d41a5b16e6e0bf22c69272fdbfad4ac151e3ba1
[ "Apache-2.0" ]
null
null
null
src/DivingRecorder/debug/moc_welcomewindow.cpp
wukurua/DVR
8d41a5b16e6e0bf22c69272fdbfad4ac151e3ba1
[ "Apache-2.0" ]
5
2020-08-30T01:01:29.000Z
2022-03-08T02:06:37.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'welcomewindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2) ** ** WARNING! All changes made in this file will be lost! ******************************************************...
29.369697
98
0.60194
[ "object" ]
1c615e3828adde7d26c0c0cf85a288d88da5cd0c
911
hpp
C++
src/Externals/spire/es-render/comp/FBO.hpp
Nahusa/SCIRun
c54e714d4c7e956d053597cf194e07616e28a498
[ "MIT" ]
1
2019-05-30T06:00:15.000Z
2019-05-30T06:00:15.000Z
src/Externals/spire/es-render/comp/FBO.hpp
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
src/Externals/spire/es-render/comp/FBO.hpp
manual123/SCIRun
3816b1dc4ebd0c5bd4539b7e50e08592acdac903
[ "MIT" ]
null
null
null
#ifndef SPIRE_RENDER_COMPONENT_FBO_HPP #define SPIRE_RENDER_COMPONENT_FBO_HPP #include <es-log/trace-log.h> #include <glm/glm.hpp> #include <gl-platform/GLPlatform.hpp> #include <es-cereal/ComponentSerialize.hpp> #include <es-render/comp/Texture.hpp> #include <spire/scishare.h> namespace ren { struct FBO { /...
18.979167
79
0.636663
[ "render", "vector" ]
1c6620bb9e4489fe8e4a41b9a3d08d9f2ca09f8c
12,557
cxx
C++
private/windows/opengl/scrsave/pipes/xc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/windows/opengl/scrsave/pipes/xc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/windows/opengl/scrsave/pipes/xc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/******************************Module*Header*******************************\ * Module Name: xc.cxx * * Cross-section (xc) object stuff * * Copyright (c) 1995 Microsoft Corporation * \**************************************************************************/ #include <stdio.h> #include <string.h> #include <...
25.214859
77
0.43418
[ "object", "3d" ]
1c71a6f20253d395dbac895be4f4072c8a1a67bb
9,721
hpp
C++
include/Nyengine/shader/Shader.hpp
NyantasticUwU/nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
2
2021-12-26T05:10:41.000Z
2022-01-30T19:51:23.000Z
include/Nyengine/shader/Shader.hpp
NyantasticUwU/Nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
null
null
null
include/Nyengine/shader/Shader.hpp
NyantasticUwU/Nyengine
b6a47d2bfb101366eeda1b318e66f09d37317688
[ "MIT" ]
null
null
null
#ifndef NYENGINE_SHADER_SHADER_HPP_INCLUDED #define NYENGINE_SHADER_SHADER_HPP_INCLUDED #include "../texture/Texture2D.hpp" #include "../type/types.hpp" #include <vector> /// Contains different shader class types all capable of different things. namespace nyengine::shader { /// Represents an OpenGL shader program....
37.824903
98
0.622775
[ "vector" ]
1c720834c5066f1e4edd23851b90fda9f7cd4340
8,618
cpp
C++
Raytracer/Raytracer/RaytracerRenderer.cpp
Krien/RaytracerSDL
fd64c34f2584abc6a1933f332ac3da78907420ae
[ "Apache-2.0" ]
null
null
null
Raytracer/Raytracer/RaytracerRenderer.cpp
Krien/RaytracerSDL
fd64c34f2584abc6a1933f332ac3da78907420ae
[ "Apache-2.0" ]
null
null
null
Raytracer/Raytracer/RaytracerRenderer.cpp
Krien/RaytracerSDL
fd64c34f2584abc6a1933f332ac3da78907420ae
[ "Apache-2.0" ]
null
null
null
#include "precomp.h" RaytracerRenderer::RaytracerRenderer(Screen* screen) : Renderer(screen) { width = screen->getWidth(); height = screen->getHeight(); } RaytracerRenderer::~RaytracerRenderer() { } void RaytracerRenderer::draw(int iteration) { assert(currentScene != NULL && camera != NULL); shapes = currentScen...
39.53211
213
0.691692
[ "vector" ]
1c782b4304e5db03beb30707083f416cc7906e91
1,002
cpp
C++
vol3/max-points-on-a-line/max-points-on-a-line.cpp
zeyuanxy/LeetCode
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
3
2015-12-07T05:40:08.000Z
2018-12-17T18:39:15.000Z
vol3/max-points-on-a-line/max-points-on-a-line.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
vol3/max-points-on-a-line/max-points-on-a-line.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
/** * Definition for a point. * struct Point { * int x; * int y; * Point() : x(0), y(0) {} * Point(int a, int b) : x(a), y(b) {} * }; */ class Solution { public: int maxPoints(vector<Point> &points) { if(points.size() == 0) return 0; map<double, int> ...
29.470588
138
0.4002
[ "vector" ]
cc663d64d30b96413ac8660869d31dfa5c8118bd
527
cpp
C++
2021/day_01/day_01.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
2021/day_01/day_01.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
2021/day_01/day_01.cpp
andrewparr/advent-of-code
f2b476ac837e1d42d180418e81abf900e9c3a1b6
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> int main(int argc, char** argv) { std::vector<int> input; while (!std::cin.eof()) { int value; std::cin >> value; input.push_back(value); } int part_1 = 0; int part_2 = 0; for (size_t i = 1; i < input.size(); ++i) { if (inp...
20.269231
47
0.478178
[ "vector" ]
cc676ef86dbc926266f5b9cd5fedd11efeed1eaf
2,351
hxx
C++
OcctQtWidget/OcctQtLib/libscetcher/Sketcher_CommandCircleCenterRadius.hxx
grotius-cnc/occt-samples-qopenglwidget
d88871c6435ebabe29ccc7ea922edd9d64bb2df8
[ "MIT" ]
1
2022-02-04T11:56:59.000Z
2022-02-04T11:56:59.000Z
OcctQtWidget/OcctQtLib/libscetcher/Sketcher_CommandCircleCenterRadius.hxx
grotius-cnc/occt-samples-qopenglwidget
d88871c6435ebabe29ccc7ea922edd9d64bb2df8
[ "MIT" ]
null
null
null
OcctQtWidget/OcctQtLib/libscetcher/Sketcher_CommandCircleCenterRadius.hxx
grotius-cnc/occt-samples-qopenglwidget
d88871c6435ebabe29ccc7ea922edd9d64bb2df8
[ "MIT" ]
null
null
null
/** * \file Sketcher_CommandCircleCenterRadius.hxx * \brief Header file for the class Sketcher_CommandCircleCenterRadius * \author <a href="mailto:sergmaslov@istel.ru?subject=Sketcher_CommandCircleCenterRadius.hxx">Sergei Maslov</a> */ #ifndef Sketcher_CommandCIRCLECENTERRADIUS_H #define Sketcher_CommandCIRCLECENTERRAD...
25.27957
111
0.790302
[ "object" ]
cc6ca3209f7b44ab246d913e785743316ccf4744
5,155
cxx
C++
src/AcdUtilFuncs.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
src/AcdUtilFuncs.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
src/AcdUtilFuncs.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
#include "../AcdUtil/AcdUtilFuncs.h" #include <set> namespace AcdUtil { /** * @brief Fill an AcdEventToplogy object from a list of AcdHits * @param acdHits the hit * @param topology the topology object **/ bool UtilFunctions::fillAcdEventTopology(const std::vector<Event::AcdHit*>& acdHits, ...
31.625767
117
0.644229
[ "object", "vector" ]
cc784708fd53917ddf69231c864bc8d8063422bb
9,364
cc
C++
RecoVertex/KinematicFit/src/LagrangeParentParticleFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoVertex/KinematicFit/src/LagrangeParentParticleFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoVertex/KinematicFit/src/LagrangeParentParticleFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "RecoVertex/KinematicFit/interface/LagrangeParentParticleFitter.h" #include "RecoVertex/KinematicFitPrimitives/interface/KinematicVertexFactory.h" #include "RecoVertex/KinematicFit/interface/InputSort.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" LagrangeParentParticleFitter::LagrangeParentPart...
32.627178
123
0.688167
[ "vector" ]
cc7eb8da40ff83f0b7fcac02d5328486cd1785e7
1,253
inl
C++
include/Nazara/Core/CallOnExit.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Core/CallOnExit.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Core/CallOnExit.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/CallOnExit.hpp> #include <Nazara/Core/Error.hpp> #include <Nazara/Core/Debug.hpp> namespace N...
19.276923
79
0.680766
[ "object" ]
cc85ff5f6a9a8ea74dfa7ac765cdc54eef627752
1,046
cc
C++
blurt_cpp_80211/qam.cc
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
5
2015-02-20T14:18:28.000Z
2022-03-18T13:35:20.000Z
blurt_cpp_80211/qam.cc
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
null
null
null
blurt_cpp_80211/qam.cc
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
9
2017-04-27T07:55:11.000Z
2019-04-19T10:16:03.000Z
#include "qam.h" #include <cmath> #include <stdint.h> uint32_t grayRevToBinary(uint32_t x, uint32_t n) { uint32_t y = 0; for (size_t i=0; i<n; i++) { y <<= 1; y |= x&1; x >>= 1; } for (size_t shift=1; shift<n; shift<<=1) y ^= y >> shift; return y; } QAM::QAM(size_t ...
26.820513
90
0.464627
[ "vector" ]
cc8bc71b6fc4aea9a5dc55b266173eb53e686bdf
3,902
cpp
C++
test/std/algorithm.cpp
wordring/wordring
e2c9c2ed66010537efd78694521312c5b63f0510
[ "Unlicense" ]
2
2020-03-07T05:23:20.000Z
2021-01-23T15:19:18.000Z
test/std/algorithm.cpp
wordring/libwordring
b71d990ea9288e9d9fe85521c8adac5d50471fa6
[ "Unlicense" ]
null
null
null
test/std/algorithm.cpp
wordring/libwordring
b71d990ea9288e9d9fe85521c8adac5d50471fa6
[ "Unlicense" ]
null
null
null
// test/std/algorithm.cpp #include <boost/test/unit_test.hpp> #include <algorithm> #include <chrono> #include <cstring> #include <functional> #include <iostream> #include <iterator> #include <memory> #include <random> #include <string> #include <vector> #define STRING(str) #str #define TO_STRING(str) STRING(str) ...
29.338346
136
0.648129
[ "vector" ]
cc8d1a9be5c16429d901cdfc45c1a5d285c537b0
42,672
cpp
C++
Source/ECS/CollisionSystem.cpp
MrFrenik/Enjon
405733f1b8d05c65bc6b4f4c779d3c6845a8c12b
[ "BSD-3-Clause" ]
121
2019-05-02T01:22:17.000Z
2022-03-19T00:16:14.000Z
Source/ECS/CollisionSystem.cpp
MrFrenik/Enjon
405733f1b8d05c65bc6b4f4c779d3c6845a8c12b
[ "BSD-3-Clause" ]
42
2019-08-17T20:33:43.000Z
2019-09-25T14:28:50.000Z
Source/ECS/CollisionSystem.cpp
MrFrenik/Enjon
405733f1b8d05c65bc6b4f4c779d3c6845a8c12b
[ "BSD-3-Clause" ]
20
2019-05-02T01:22:20.000Z
2022-01-30T04:04:57.000Z
#include "ECS/ComponentSystems.h" #include "ECS/CollisionSystem.h" #include "ECS/Transform3DSystem.h" #include "ECS/AttributeSystem.h" #include "ECS/InventorySystem.h" #include "ECS/AIControllerSystem.h" #include "ECS/PlayerControllerSystem.h" #include "ECS/Renderer2DSystem.h" #include "ECS/EffectSystem.h" #include "EC...
41.509728
174
0.651434
[ "render", "vector", "transform" ]
cc9670095c375c46301ffd23882e740640025cf8
4,514
cpp
C++
CISC/SubgraphComparing/matching/SelectEdge.cpp
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
75
2020-02-19T15:03:18.000Z
2022-03-25T08:24:33.000Z
CISC/SubgraphComparing/matching/SelectEdge.cpp
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
9
2020-09-22T11:02:14.000Z
2022-03-16T11:19:24.000Z
CISC/SubgraphComparing/matching/SelectEdge.cpp
Holly-Jiang/QCTSA
b90136b9df18fc21ae53b431f1e5e0c6ef786fae
[ "MIT" ]
18
2020-06-02T13:35:21.000Z
2021-11-26T11:43:00.000Z
// // Created by ssunah on 10/31/19. // // // Created by ssunah on 10/31/19. // #include <cassert> #include <algorithm> #include <vector> #include <fstream> #include <iostream> #include <sstream> #include <chrono> #include <tuple> #include <random> using namespace std; void write_csr(string& deg_output_file, string ...
30.295302
126
0.610323
[ "vector" ]
cc99211efc951fbdac3d0bf8b36c232663b1f6f1
1,218
cpp
C++
Project II Game/Motor2D/j1Scene2.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
null
null
null
Project II Game/Motor2D/j1Scene2.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
1
2020-03-03T09:56:15.000Z
2020-05-24T22:29:01.000Z
Project II Game/Motor2D/j1Scene2.cpp
Sanmopre/Sea_Conquest
52c46c218b38eeaa8f7f224e7bff74ef2cc5d934
[ "Zlib" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1PathFinding.h" #include "j1Scene.h" #include "j1Scene2.h" #include "j1LogoScene.h" #include "j1GUI.h" #include "j1Transitions.h" #include "j...
15.037037
104
0.678982
[ "render" ]
cca6f781078d83ddfa2f0edce48523c6a385efb1
377
cpp
C++
src/test/tutorial_render_simple.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
706
2019-10-08T05:29:49.000Z
2022-03-31T06:49:24.000Z
src/test/tutorial_render_simple.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
55
2019-10-08T05:30:36.000Z
2022-03-30T16:06:41.000Z
src/test/tutorial_render_simple.cpp
vadi2/nanobench
954a82064141537330ab1a6ab27f01b21878bfa8
[ "MIT" ]
34
2019-10-12T13:50:08.000Z
2022-03-29T15:01:21.000Z
#include <nanobench.h> #include <thirdparty/doctest/doctest.h> #include <atomic> #include <iostream> TEST_CASE("tutorial_render_simple") { std::atomic<int> x(0); ankerl::nanobench::Bench() .output(nullptr) .run("std::vector", [&] { ++x; }) .r...
20.944444
64
0.551724
[ "render", "vector" ]
cca7d724de53f43aac0276f4e77ea5af0d1649f7
3,081
cpp
C++
src/module_peer/partner_table.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/module_peer/partner_table.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/module_peer/partner_table.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
#include "partner_table.h" #include <base/logger/logger.h> namespace peer { void PartnerTable::set_partner_max_num(uint16_t PartnerMaxNum) { m_PartnerMaxNum = PartnerMaxNum; } void PartnerTable::add_cid(const base::SHA1& CID) { std::unique_lock<std::mutex> Lock(m_PartnerMutex); //已经记录 if (0 == m_PartnerM...
21.248276
102
0.653359
[ "vector" ]
ccaf44ca691a454d393d670a7d5000b85c90abc2
3,978
cpp
C++
contracts/game1/game1.cpp
trumae/dapp1
05a7c6d896e79f2056a6a57f716dfefc57d8f0e9
[ "MIT" ]
null
null
null
contracts/game1/game1.cpp
trumae/dapp1
05a7c6d896e79f2056a6a57f716dfefc57d8f0e9
[ "MIT" ]
null
null
null
contracts/game1/game1.cpp
trumae/dapp1
05a7c6d896e79f2056a6a57f716dfefc57d8f0e9
[ "MIT" ]
null
null
null
/** * @file * * 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 * 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 * 1188888881111888888811118888888111188888811111881111111111888881111118888811111888888811 * 118811111111188111881111...
28.618705
91
0.696581
[ "vector" ]
ccb0db4b2056c4930c1100db85e12697b3a46b45
1,451
cpp
C++
Binary Search/Allocate Books.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
Binary Search/Allocate Books.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
Binary Search/Allocate Books.cpp
Sakshi14-code/CompetitiveCodingQuestions
2b23bb743106df2178f2832d5b4c8d7601127c91
[ "MIT" ]
null
null
null
bool satisfy(vector<int> &books, int students,long mid) // mid is the maximum we want to acheive { int booksInd = 0; int st = 0; long totPages = 0; while(st < students && booksInd < books.size()) { if(totPages+books[booksInd] > mid) { totPages = 0; st++; ...
31.543478
139
0.559614
[ "vector" ]
ccb3a3ba5bf25d5ed1ecc38739bc6560e04603a2
32,991
cc
C++
tensorpipe/transport/ibv/connection.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/transport/ibv/connection.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/transport/ibv/connection.cc
gunandrose4u/tensorpipe
d86777dbcefa3dd3133e866dbe6f075f2ac6a5e3
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <tensorpipe/transport/ibv/connection.h> #include <string.h> #include <deque> #include <vec...
33.123494
80
0.675093
[ "object", "vector" ]
ccc0ac566330537b8460d4d663374d95b51255f2
309
cc
C++
src/addon.cc
nick-thompson/jetpack
aca463c8a762dc1821a7a7e8ca32f857a011cb63
[ "MIT" ]
5
2015-09-02T19:54:11.000Z
2021-01-21T06:12:54.000Z
src/addon.cc
nick-thompson/jetpack
aca463c8a762dc1821a7a7e8ca32f857a011cb63
[ "MIT" ]
null
null
null
src/addon.cc
nick-thompson/jetpack
aca463c8a762dc1821a7a7e8ca32f857a011cb63
[ "MIT" ]
1
2016-04-22T10:09:50.000Z
2016-04-22T10:09:50.000Z
#include <nan.h> #include "hive.h" using namespace v8; void Init(Handle<Object> exports) { exports->Set(NanNew<String>("eval"), NanNew<FunctionTemplate>(Eval)->GetFunction()); exports->Set(NanNew<String>("init"), NanNew<FunctionTemplate>(Initialize)->GetFunction()); } NODE_MODULE(addon, Init)
22.071429
57
0.705502
[ "object" ]
ccc652ea1dd64d6730c5775653ce01344cc6cb2d
3,489
cpp
C++
HotDir/hd60/hditer.cpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
1
2015-03-26T02:35:13.000Z
2015-03-26T02:35:13.000Z
HotDir/hd60/hditer.cpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
HotDir/hd60/hditer.cpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
/* hditer.cpp - iterates through the options of hotdir see 'hditer.h' for details http://vividos.home.pages.de - vividos@asamnet.de (c) 1999 Michael Fink */ #include "hditer.h" #include "hdstring.h" #include "formatul.h" #include "console.h" #include "hdcont.h" #include "hdviewer.h" #include "hdtree.h" #include <st...
21.145455
78
0.610203
[ "object" ]
cccf1d3bb1d2dba2253aecb886c95282ad639dd6
3,848
cpp
C++
src/main-window.cpp
fourtf/nm-popup
f15fd95d7b074233ea02ded3d4a08fe65f668399
[ "MIT" ]
1
2019-06-27T20:26:27.000Z
2019-06-27T20:26:27.000Z
src/main-window.cpp
fourtf/nm-popup
f15fd95d7b074233ea02ded3d4a08fe65f668399
[ "MIT" ]
null
null
null
src/main-window.cpp
fourtf/nm-popup
f15fd95d7b074233ea02ded3d4a08fe65f668399
[ "MIT" ]
null
null
null
#include "main-window.hpp" #include "config.hpp" #include "function-event-filter.hpp" #include "make-widget.hpp" #include "network-table-model.hpp" #include "networking.hpp" #include "theme.hpp" #include "util.hpp" #include <QHeaderView> #include <QKeyEvent> #include <QPushButton> #include <QStringListModel> #include...
27.683453
80
0.598493
[ "model" ]
ccd27fc23866b2900cc1d472a505f5e3747d17ba
1,861
cpp
C++
lib/Analyses/AlgorithmLibraryAnalysis.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
3
2020-10-18T15:37:38.000Z
2020-10-26T16:07:51.000Z
lib/Analyses/AlgorithmLibraryAnalysis.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
51
2020-11-11T10:12:16.000Z
2021-07-05T14:25:20.000Z
lib/Analyses/AlgorithmLibraryAnalysis.cpp
hartogss/cxx-langstat
397f48bac9de4e79ba6a1adea0c372119f27be32
[ "Apache-2.0" ]
1
2021-04-15T16:06:59.000Z
2021-04-15T16:06:59.000Z
#include <iostream> #include <vector> #include "cxx-langstat/Analyses/AlgorithmLibraryAnalysis.h" #include "cxx-langstat/Utils.h" using namespace clang; using namespace clang::ast_matchers; using json = nlohmann::json; using ordered_json = nlohmann::ordered_json; //---------------------------------------------------...
33.232143
85
0.599678
[ "vector" ]
ccd7172d676556086d7bf753770184264c90b5c3
1,755
cxx
C++
src/withrottle/ServerCommand.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
src/withrottle/ServerCommand.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
src/withrottle/ServerCommand.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** @copyright * Copyright (c) 2016, Stuart W Baker * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are strictly prohibited without written consent. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR I...
32.5
78
0.757265
[ "object" ]
ccd72496652b54197ce7dbd5b28e824b91201a5c
5,279
cpp
C++
Source/GreatEscape/Private/GrabbingComponent.cpp
mvxt/escape
1e56870f8a0adcc5319a17ff9701d547a75ae392
[ "MIT" ]
null
null
null
Source/GreatEscape/Private/GrabbingComponent.cpp
mvxt/escape
1e56870f8a0adcc5319a17ff9701d547a75ae392
[ "MIT" ]
null
null
null
Source/GreatEscape/Private/GrabbingComponent.cpp
mvxt/escape
1e56870f8a0adcc5319a17ff9701d547a75ae392
[ "MIT" ]
null
null
null
// MIT License - Copyright (c) 2018 Michael Thanh #include "Components/PrimitiveComponent.h" #include "GrabbingComponent.h" #include "Engine/World.h" /*! Constructor, sets basic system-level parameters for the game engine. */ UGrabbingComponent::UGrabbingComponent() { // Set this component to be initi...
32.189024
124
0.687441
[ "object", "vector" ]
ccde0340ff13f17e841db6bcf04c13c1557410a6
690
hpp
C++
Plugins/Renderer/Public/Prismal/Renderer/Image.hpp
PrismalEngine/prismal-engine
40b73594e603d82edf0052fd69ce71161f48549d
[ "MIT" ]
null
null
null
Plugins/Renderer/Public/Prismal/Renderer/Image.hpp
PrismalEngine/prismal-engine
40b73594e603d82edf0052fd69ce71161f48549d
[ "MIT" ]
null
null
null
Plugins/Renderer/Public/Prismal/Renderer/Image.hpp
PrismalEngine/prismal-engine
40b73594e603d82edf0052fd69ce71161f48549d
[ "MIT" ]
null
null
null
/** * @file Image.hpp * @author Zachary Frost * @date Created on 2021-05-21 * @copyright See LICENSE.md at repo root * @brief Renderer image types and utilities. */ #pragma once #include <Prismal/API.hpp> #include <Prismal/Primitive.hpp> #include <vk_mem_alloc.h> #include <vulkan/vulkan.h> namespace pr::rende...
23
76
0.665217
[ "render" ]
ef99b918e49b0209956fb792060e382af30884d8
38,488
cpp
C++
src/ByteEngine/Render/RenderSystem.cpp
Game-Tek/Byte-Engine
5da58971da77c3c92780437f8e3ca1a143cacd5c
[ "MIT" ]
10
2020-05-05T03:21:34.000Z
2022-01-22T23:01:22.000Z
src/ByteEngine/Render/RenderSystem.cpp
Game-Tek/Byte-Engine
5da58971da77c3c92780437f8e3ca1a143cacd5c
[ "MIT" ]
null
null
null
src/ByteEngine/Render/RenderSystem.cpp
Game-Tek/Byte-Engine
5da58971da77c3c92780437f8e3ca1a143cacd5c
[ "MIT" ]
1
2020-09-07T03:04:48.000Z
2020-09-07T03:04:48.000Z
#include "RenderSystem.h" #include <GTSL/Window.h> #include "ByteEngine/Application/Application.h" #include "ByteEngine/Application/ThreadPool.h" #include "ByteEngine/Application/Templates/GameApplication.h" #include "ByteEngine/Debug/Assert.h" #include "ByteEngine/Resources/PipelineCacheResourceManager.h" #undef Me...
42.62237
266
0.770786
[ "mesh", "geometry", "vector" ]
efaa0757b1201b87afb8ef386a45c72c70eec64d
3,900
cpp
C++
src/App.cpp
towa7bc/SDL2Template
b40a3a594c05a87559252b6f61cc7e1163ddc205
[ "Unlicense" ]
null
null
null
src/App.cpp
towa7bc/SDL2Template
b40a3a594c05a87559252b6f61cc7e1163ddc205
[ "Unlicense" ]
null
null
null
src/App.cpp
towa7bc/SDL2Template
b40a3a594c05a87559252b6f61cc7e1163ddc205
[ "Unlicense" ]
null
null
null
// // Created by Michael Wittmann on 06/06/2020. // #include "App.hpp" #include <GL/glew.h> // Initialize with glewInit() #include <SDL.h> #include <memory> #include <string> #include "ImGUIHelper.hpp" #include "detail/Log.hpp" #include "detail/SDL2Core.hpp" namespace app { int App::Run() { if (!Setup()) { ...
25.324675
80
0.649231
[ "render" ]
efab968f4e7816d9f9240e43656085d2ec8afd4e
735
cpp
C++
TicTacToe/Clock.cpp
nenski/TicTacToe_SFML
68a9e4c3d480dc9d946508fc9669cf23eb2a3094
[ "MIT" ]
null
null
null
TicTacToe/Clock.cpp
nenski/TicTacToe_SFML
68a9e4c3d480dc9d946508fc9669cf23eb2a3094
[ "MIT" ]
null
null
null
TicTacToe/Clock.cpp
nenski/TicTacToe_SFML
68a9e4c3d480dc9d946508fc9669cf23eb2a3094
[ "MIT" ]
null
null
null
#include "Clock.h" Clock::Clock() { clock = new sf::Clock; } Clock::~Clock() { delete clock; } // // // // Getters float Clock::getMicroseconds() { return (float)clock->getElapsedTime().asMicroseconds(); // we need to cast our object to a float so we can get a float value back } float Clock::getMilliseconds()...
15.638298
132
0.696599
[ "object" ]
efaccd6941d0dcb7a0bd146b006ce94329deaebd
6,083
cpp
C++
homework/Belyaev/05/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
10
2017-09-21T15:17:33.000Z
2021-01-11T13:11:55.000Z
homework/Belyaev/05/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
null
null
null
homework/Belyaev/05/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
22
2017-09-21T15:45:08.000Z
2019-02-21T19:15:25.000Z
#include <iostream> #include <vector> #include <cassert> #include <cstring> using namespace std; template <class T> class row{ public: row<T>(size_t elem, T* ptr): elem(elem),v(ptr){} ~row<T>() {} T& operator[](const size_t pos){ if(pos >= elem){ assert(!"index out of range"...
23.854902
199
0.491041
[ "vector" ]
efacdcc9583cc48378a1baf9c3489ab9d57f07bf
5,589
cpp
C++
src/fsRayTracing.cpp
dormon/fit_opengl_examples
84b64e0127976dfc462a54373f88624a3cd99a40
[ "CC0-1.0" ]
null
null
null
src/fsRayTracing.cpp
dormon/fit_opengl_examples
84b64e0127976dfc462a54373f88624a3cd99a40
[ "CC0-1.0" ]
null
null
null
src/fsRayTracing.cpp
dormon/fit_opengl_examples
84b64e0127976dfc462a54373f88624a3cd99a40
[ "CC0-1.0" ]
null
null
null
#include<iostream> #include<fstream> #include<vector> #include<cassert> #include<memory> #include<SDL2/SDL.h> #include<GL/glew.h> #include<glm/glm.hpp> #include<glm/gtc/matrix_transform.hpp> #include<glm/gtc/type_ptr.hpp> #include<glm/gtc/matrix_access.hpp> #include<window.h> #include<loadTextFile.h> #include<shader....
29.415789
106
0.709966
[ "vector" ]
efacdfc317b99620a7b4afbce195898b2a0f7c38
18,088
hh
C++
bwt.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
9
2019-09-17T10:33:58.000Z
2021-07-29T10:03:42.000Z
bwt.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
null
null
null
bwt.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
1
2019-10-05T04:31:22.000Z
2019-10-05T04:31:22.000Z
// Copyright Stephan T. Lavavej, http://nuwen.net . // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://boost.org/LICENSE_1_0.txt . #ifndef PHAM_BWT_HH #define PHAM_BWT_HH #include "compiler.hh" #ifdef NUWEN_PLATFORM_MSVC #pragma once #endif...
32.242424
139
0.4728
[ "vector" ]
efafbac2384c10adf2e62c88e6a118b195473e68
8,413
cpp
C++
src/engine/animation/animation.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/animation/animation.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/animation/animation.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file animation.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2005-02-24 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/precompiled.h" #include "o3d/engine/animation/animation.h" #include "o3d/engine/an...
26.623418
98
0.526328
[ "object" ]
efb7468c6cebd8c7c9a4e06094a38b5a878d208c
745
cpp
C++
benchmarks/c_bench/c_bench.cpp
chenglin/lleaves
54e07cd39279a7f0407e3cc8adb5862b3bc41bda
[ "MIT" ]
116
2021-06-25T14:33:26.000Z
2022-03-30T07:32:29.000Z
benchmarks/c_bench/c_bench.cpp
chenglin/lleaves
54e07cd39279a7f0407e3cc8adb5862b3bc41bda
[ "MIT" ]
13
2021-07-28T07:12:40.000Z
2022-03-30T05:59:10.000Z
benchmarks/c_bench/c_bench.cpp
chenglin/lleaves
54e07cd39279a7f0407e3cc8adb5862b3bc41bda
[ "MIT" ]
5
2021-06-28T16:44:49.000Z
2022-03-23T02:40:21.000Z
#include "c_bench.h" #include <cnpy.h> #include <benchmark/benchmark.h> #include <algorithm> #include <cstdlib> #include <iostream> static void bm_lleaves(benchmark::State& state) { char *model_name = std::getenv("LLEAVES_BENCHMARK_MODEL"); std::ostringstream model_stream; model_stream << "../../data/" << model...
27.592593
60
0.687248
[ "shape" ]
efb79dadf3114831a9540a9a4d738e4b8882577b
349
cpp
C++
Lucy/src/lucy/game_objects/particle.cpp
Tremah/LucyEngine
b5bcb6232ddbe07fffa19009e582d8e6caba42ec
[ "MIT" ]
null
null
null
Lucy/src/lucy/game_objects/particle.cpp
Tremah/LucyEngine
b5bcb6232ddbe07fffa19009e582d8e6caba42ec
[ "MIT" ]
null
null
null
Lucy/src/lucy/game_objects/particle.cpp
Tremah/LucyEngine
b5bcb6232ddbe07fffa19009e582d8e6caba42ec
[ "MIT" ]
null
null
null
#include <lupch.h> #include "particle.h" namespace Lucy { Particle::Particle(PhysicsComponent* transform, GraphicsComponent* graphics) : physics_ { transform }, graphics_{graphics} {} PhysicsComponent& Particle::physics() const { return *physics_; } GraphicsComponent& Particle::graphics() const { ...
16.619048
127
0.702006
[ "transform" ]
efbcdff7d2dae470064a285bfd55e20aa0aafd1b
2,759
hpp
C++
lib/boost_1.78.0/boost/geometry/core/coordinate_promotion.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
lib/boost_1.78.0/boost/geometry/core/coordinate_promotion.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
lib/boost_1.78.0/boost/geometry/core/coordinate_promotion.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry // Copyright (c) 2021 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to 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) #ifndef BOOST_GEOMETRY_CORE_COORDINATE_PROMOTI...
24.633929
79
0.710765
[ "geometry" ]
efccfb1d532e7f23322a3f8af626f86919b0c55e
14,599
cpp
C++
tcb/src/v20180608/model/DescribeCloudBaseRunOneClickTaskExternalResponse.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcb/src/v20180608/model/DescribeCloudBaseRunOneClickTaskExternalResponse.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcb/src/v20180608/model/DescribeCloudBaseRunOneClickTaskExternalResponse.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
32.298673
129
0.674978
[ "object", "vector", "model" ]
efd75b5c809f7ee4aab2f683ae6da32b8e52959b
17,222
cc
C++
sdk/predictor/predictor_sdk_thrift_api.cc
algo-data-platform/PredictorService
a7da427617885546c5b5e07aa7740b3dee690337
[ "Apache-2.0" ]
2
2021-06-29T13:42:22.000Z
2021-09-06T10:57:34.000Z
sdk/predictor/predictor_sdk_thrift_api.cc
algo-data-platform/PredictorService
a7da427617885546c5b5e07aa7740b3dee690337
[ "Apache-2.0" ]
null
null
null
sdk/predictor/predictor_sdk_thrift_api.cc
algo-data-platform/PredictorService
a7da427617885546c5b5e07aa7740b3dee690337
[ "Apache-2.0" ]
5
2021-06-29T13:42:26.000Z
2022-02-08T02:41:34.000Z
#include "predictor_client_sdk.h" #include "predictor_sdk_util.h" #include "common/serialize_util.h" #include "folly/GLog.h" #include "folly/Random.h" #include "folly/init/Init.h" #include "gflags/gflags.h" #include "gflags/gflags_declare.h" #include "feature_master/if/gen-cpp2/feature_master_types.tcc" #include "predi...
44.158974
117
0.713796
[ "vector" ]
efdd9998ed4c5b15f11d95a0dac53444daad92d1
38,511
cpp
C++
app/vcc.cpp
darrenstrash/ReduVCC
89221c13608826778cfd5f1c94b522098764b17c
[ "MIT" ]
2
2021-11-08T14:54:03.000Z
2021-11-08T17:40:26.000Z
app/vcc.cpp
darrenstrash/ReduVCC
89221c13608826778cfd5f1c94b522098764b17c
[ "MIT" ]
null
null
null
app/vcc.cpp
darrenstrash/ReduVCC
89221c13608826778cfd5f1c94b522098764b17c
[ "MIT" ]
null
null
null
/****************************************************************************** * vcc.cpp * * * Source of ReduVCC * Darren Strash <dstrash@hamilton.edu> * Louise Thompson <lmthomps@hamilton.edu> *****************************************************************************/ #include <argtable3.h> #include <iostr...
43.12542
154
0.599958
[ "vector", "transform" ]
efde928aeadc256f0799023c2332c45418f8f0dd
3,350
cpp
C++
src/graphic/opengl3/mesh.cpp
HenryAWE/learn-electron
6705954ce3f08431fcf5767ef617632bf7e540df
[ "BSD-3-Clause" ]
null
null
null
src/graphic/opengl3/mesh.cpp
HenryAWE/learn-electron
6705954ce3f08431fcf5767ef617632bf7e540df
[ "BSD-3-Clause" ]
null
null
null
src/graphic/opengl3/mesh.cpp
HenryAWE/learn-electron
6705954ce3f08431fcf5767ef617632bf7e540df
[ "BSD-3-Clause" ]
null
null
null
// Author: HenryAWE // License: The 3-clause BSD License #include "mesh.hpp" #include <cassert> #include "renderer.hpp" namespace awe::graphic::opengl3 { namespace detailed { void ApplyVertexAttrib( GLuint idx, const VertexAttribData& attr, GLsizei stride, ...
26.587302
96
0.540597
[ "mesh" ]
efe577ad20b7b7fbca7eb3b385264c7dc06622e3
721
cpp
C++
esp/main/app/task_debug.cpp
binh8994/esp_pthead
13a67e7699d6492dbdd379aa2664e509e8c32af1
[ "MIT" ]
1
2020-07-27T06:36:17.000Z
2020-07-27T06:36:17.000Z
esp/main/app/task_debug.cpp
binh8994/esp_pthead
13a67e7699d6492dbdd379aa2664e509e8c32af1
[ "MIT" ]
null
null
null
esp/main/app/task_debug.cpp
binh8994/esp_pthead
13a67e7699d6492dbdd379aa2664e509e8c32af1
[ "MIT" ]
null
null
null
#include <unistd.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <iomanip> #include <cstdio> #include <vector> #include "app.h" #include "app_data.h" #include "app_dbg.h" #include "task_list.h" #include "task_debug.h" q_msg_t gw_task_debug_mailbox; voi...
14.42
44
0.667129
[ "vector" ]
efe655dc9afb301acbd5474ca9f108f57f2c0f00
4,495
cpp
C++
AnimalCooking/Food.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
AnimalCooking/Food.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
23
2020-03-02T16:43:28.000Z
2020-04-16T09:58:08.000Z
AnimalCooking/Food.cpp
TenByTen-Studios/AnimalCooking
8bb22f426cdc819cefde16caa23d8eb045276be8
[ "MIT" ]
null
null
null
#include "Food.h" #include "SDL_macros.h" #include "PlayState.h" #include "FSM.h" #include "TimerViewer.h" #include "Entity.h" #include "GPadController.h" #include "Tracker.h" #include "TrackerEvents/IngredientDespawnEvent.h" Food::Food(Vector2D position, Resources::FoodType type, Transport* p1, Transport* p2, Textur...
28.09375
195
0.70812
[ "render", "vector" ]
efeb60cf214dd010362c3cccf041cecbfb08bf73
21,816
cpp
C++
s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/AllocationMap.cpp
Albocoder/KOOBE
dd8acade05b0185771e1ea9950de03ab5445a981
[ "MIT" ]
55
2019-12-20T03:25:14.000Z
2022-01-16T07:19:47.000Z
s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/AllocationMap.cpp
Albocoder/KOOBE
dd8acade05b0185771e1ea9950de03ab5445a981
[ "MIT" ]
2
2020-11-02T08:01:00.000Z
2022-03-27T02:59:18.000Z
s2e/source/s2e/libs2eplugins/src/s2e/Plugins/Profile/AllocationMap.cpp
Albocoder/KOOBE
dd8acade05b0185771e1ea9950de03ab5445a981
[ "MIT" ]
11
2020-08-06T03:59:45.000Z
2022-02-25T02:31:59.000Z
#include <klee/Expr.h> #include <klee/util/ExprTemplates.h> #include <s2e/S2E.h> #include <s2e/Utils.h> #include "AllocationMap.h" #include "util.h" using namespace klee; namespace s2e { namespace plugins { S2E_DEFINE_PLUGIN(AllocManager, "Kernel memory allocation management", "AllocManager", "Ker...
32.707646
94
0.537633
[ "object", "vector" ]
efedcf3f36f96e97421bc60fee7c04bdcbad47bd
4,756
cpp
C++
LostReality/LostCore-D3D11/Pipelines/ForwardPipeline.cpp
luma211/snowflake
13438de4f0aca9ce75a763e74410059df5f3fc08
[ "MIT" ]
null
null
null
LostReality/LostCore-D3D11/Pipelines/ForwardPipeline.cpp
luma211/snowflake
13438de4f0aca9ce75a763e74410059df5f3fc08
[ "MIT" ]
1
2016-07-21T12:09:48.000Z
2016-07-21T12:09:48.000Z
LostReality/LostCore-D3D11/Pipelines/ForwardPipeline.cpp
luma211/snowflake
13438de4f0aca9ce75a763e74410059df5f3fc08
[ "MIT" ]
1
2020-04-24T17:43:28.000Z
2020-04-24T17:43:28.000Z
/* * file ForwardPipeline.cpp * * author luoxw * date 2017/09/21 * * */ #include "stdafx.h" #include "ForwardPipeline.h" #include "Implements/ConstantBuffer.h" #include "Implements/PrimitiveGroup.h" #include "Implements/Texture.h" #include "States/DepthStencilStateDef.h" #include "States/BlendStateDef...
26.276243
108
0.693019
[ "render", "vector" ]
5604127cc0ad25ee831cafa0c092f6449c5e419c
3,071
cpp
C++
GameEngine/src/GameEngine/ImGui/ImGuiLayer.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/ImGui/ImGuiLayer.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/ImGui/ImGuiLayer.cpp
josh-teichro/game-engine
be016e1a5d58b01255093bb08926969706f3e69a
[ "Apache-2.0" ]
null
null
null
#include "gepch.h" #include "GameEngine/ImGui/ImGuiLayer.h" #include "GameEngine/Core/Application.h" #include "GameEngine/Core/Input.h" #include <imgui.h> #include <backends/imgui_impl_glfw.h> #include <backends/imgui_impl_opengl3.h> // TODO: remove #include <GLFW/glfw3.h> namespace GameEngine { ImGuiLayer::ImGui...
28.174312
133
0.733963
[ "render" ]
560950af46b75df7fd4f5da857f0c58542c4efa4
2,928
cpp
C++
src/game/fsworld.cpp
nsweb/fracstar
1ebb53ea8591189a1205fe656ecc7598b9b51ed6
[ "MIT" ]
null
null
null
src/game/fsworld.cpp
nsweb/fracstar
1ebb53ea8591189a1205fe656ecc7598b9b51ed6
[ "MIT" ]
null
null
null
src/game/fsworld.cpp
nsweb/fracstar
1ebb53ea8591189a1205fe656ecc7598b9b51ed6
[ "MIT" ]
null
null
null
#include "../fracstar.h" #include "fsworld.h" #include "colevel.h" #include "levelshader.h" #include "core/json.h" #include "engine/controller.h" #include "engine/camera.h" #include "engine/entity.h" #include "engine/entitymanager.h" #include "gfx/gfxmanager.h" #include "gfx/shader.h" #include "gfx/rende...
23.238095
125
0.634904
[ "object" ]
560b66819c7e3b4442a1d2f456f4882dc4d006aa
1,200
cpp
C++
2007-save_endo/test/test-templates.cpp
BrendanLeber/icfp_contests
21b179a8484a832904d99f82fdfccd0c99d88759
[ "MIT" ]
null
null
null
2007-save_endo/test/test-templates.cpp
BrendanLeber/icfp_contests
21b179a8484a832904d99f82fdfccd0c99d88759
[ "MIT" ]
null
null
null
2007-save_endo/test/test-templates.cpp
BrendanLeber/icfp_contests
21b179a8484a832904d99f82fdfccd0c99d88759
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <limits> #include <string> #include <vector> #include "execute.hpp" int main() { int retval = EXIT_SUCCESS; std::vector<std::pair<std::string, std::string>> tests; tests.emplace_back(std::make_pair("CIIC", "I")); tests.emplace_back(std::make_pair("FIIF"...
26.086957
85
0.5625
[ "vector" ]
560bdff66ab800e8008bab511909cc09891f44e1
42
hpp
C++
src/boost_mpl_vector_aux__size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_vector_aux__size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_vector_aux__size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/vector/aux_/size.hpp>
21
41
0.761905
[ "vector" ]
560df9acfbe3c9017320e43aec15c29414f22653
6,376
cpp
C++
src/cfg.cpp
alephzero/alephzero
dfa36cb4ecd6010125b2f48c33014b491b8db5f2
[ "Unlicense" ]
28
2020-08-13T19:44:02.000Z
2022-03-23T04:33:53.000Z
src/cfg.cpp
alephzero/alephzero
dfa36cb4ecd6010125b2f48c33014b491b8db5f2
[ "Unlicense" ]
104
2019-08-06T16:24:04.000Z
2022-03-08T04:48:42.000Z
src/cfg.cpp
alephzero/alephzero
dfa36cb4ecd6010125b2f48c33014b491b8db5f2
[ "Unlicense" ]
11
2019-08-06T16:13:41.000Z
2022-03-26T16:23:11.000Z
#include <a0/alloc.h> #include <a0/buf.h> #include <a0/cfg.h> #include <a0/cfg.hpp> #include <a0/err.h> #include <a0/packet.h> #include <a0/packet.hpp> #include <algorithm> #include <cstddef> #include <cstdint> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "c_...
26.347107
91
0.590025
[ "vector" ]
5617890cb86184ebb8f19a25ea5242f4fe600e5d
3,346
cc
C++
flare/base/thread/thread_local_benchmark.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
2
2021-05-29T04:04:17.000Z
2022-02-04T05:33:17.000Z
flare/base/thread/thread_local_benchmark.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
flare/base/thread/thread_local_benchmark.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
1
2022-02-17T10:13:04.000Z
2022-02-17T10:13:04.000Z
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
35.978495
80
0.570233
[ "object" ]
561c9caa98904e3b4f31db2e39cd8df87eff1638
2,061
cpp
C++
LuoguCodes/P1731.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1731.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1731.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
// luogu-judger-enable-o2 #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <set> #include <map> #include <stack> #include <queue> #include <string> #include <vector> #include <numeric> #include <iomanip> #include <iostream> #include <algorithm> #define fn "testdata" #define ll long long ...
25.444444
86
0.512858
[ "vector" ]
561cd39cfa4be86b356fb2b3ca1a43169fca2331
880
hpp
C++
meta/include/mgs/meta/concepts/forward_range.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/concepts/forward_range.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/concepts/forward_range.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <type_traits> #include <mgs/meta/concepts/forward_iterator.hpp> #include <mgs/meta/concepts/input_range.hpp> #include <mgs/meta/detected.hpp> #include <mgs/meta/iterator_t.hpp> namespace mgs { namespace meta { template <typename T> struct is_forward_range { private: using Iterator = meta::det...
21.463415
73
0.746591
[ "model" ]
56289931e5b995c5a4f34e5a490f725bbf416436
3,935
cpp
C++
src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
246
2018-04-13T20:07:34.000Z
2022-03-29T01:33:37.000Z
src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
332
2016-06-21T13:37:10.000Z
2018-04-06T13:06:41.000Z
src-qt5/core/lumina-theme-engine/src/lthemeengine/qsseditordialog.cpp
q5sys/lumina
d3654eb6a83d7f8aad5530ba10816a245c9f55b3
[ "BSD-3-Clause" ]
69
2018-04-12T15:46:09.000Z
2022-03-20T21:21:45.000Z
#include <QFile> #include <QSettings> #include "lthemeengine.h" #include "qsseditordialog.h" #include "ui_qsseditordialog.h" #include <QTemporaryFile> #include <QTextStream> #include <LuminaXDG.h> #include <LUtils.h> QSSEditorDialog::QSSEditorDialog(const QString &filePath, QWidget *parent) : QDialog(parent), m_ui(n...
35.45045
142
0.678526
[ "geometry" ]
5636c1501bfd03e52d17877e8281cba3e470026e
726
cpp
C++
solutions/0264.ugly-number-ii/0264.ugly-number-ii.1570801391.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
1
2021-01-14T06:01:02.000Z
2021-01-14T06:01:02.000Z
solutions/0264.ugly-number-ii/0264.ugly-number-ii.1570801391.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
8
2018-03-27T11:47:19.000Z
2018-11-12T06:02:12.000Z
solutions/0264.ugly-number-ii/0264.ugly-number-ii.1570801391.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
2
2020-04-30T09:47:01.000Z
2020-12-03T09:34:08.000Z
class Solution { public: int nthUglyNumber(int n) { if (n <= 0) { return 0; } vector<int> uglies(n, 0); uglies[0] = 1; int j2 = 0; int j3 = 0; int j5 = 0; for (int k = 1; k < n; k++) { int u2 = 2 * uglies[j2]; int u3...
23.419355
41
0.323691
[ "vector" ]
563926d898afb924d041acc832ed3a1461204a2b
1,649
cpp
C++
test/finalize.cpp
robfors/mruby-finalize
49eb93eb0b4a2d657b7c763eb2cbdf8fc3aa2d8e
[ "MIT" ]
null
null
null
test/finalize.cpp
robfors/mruby-finalize
49eb93eb0b4a2d657b7c763eb2cbdf8fc3aa2d8e
[ "MIT" ]
null
null
null
test/finalize.cpp
robfors/mruby-finalize
49eb93eb0b4a2d657b7c763eb2cbdf8fc3aa2d8e
[ "MIT" ]
null
null
null
#include <queue> #include <functional> #include <mruby.h> #include "finalize.hpp" using namespace std; namespace FinalizeTest { queue<mrb_int> _finalizer_numbers; mrb_value _define_finalizer(mrb_state* mrb, mrb_value self) { mrb_value object; mrb_value num_value; mrb_get_args(mrb, "oo", &obj...
21.697368
123
0.707702
[ "object" ]
871e6fb39689116615c2c92e09ce94f7a845d780
317
cpp
C++
abc180/a.cpp
magurotuna/atcoder-submissions-cpp
afbf5df2f22bcd17d8ad580d3c143602d9af7398
[ "CC0-1.0" ]
null
null
null
abc180/a.cpp
magurotuna/atcoder-submissions-cpp
afbf5df2f22bcd17d8ad580d3c143602d9af7398
[ "CC0-1.0" ]
null
null
null
abc180/a.cpp
magurotuna/atcoder-submissions-cpp
afbf5df2f22bcd17d8ad580d3c143602d9af7398
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <stdint.h> #include <string> #include <tuple> #include <vector> using namespace std; using i64 = int64_t; using u64 = uint64_t; const i64 mod = 1e9 + 7; int main() { int n, a, b; cin >> n >> a >> b; cout << (n - a + b) << endl; return 0; }
14.409091
30
0.608833
[ "vector" ]
872219b1d4d884e1529170cb08dc95cd7856a9be
5,386
hpp
C++
src/elliptic/amgSolver/parAlmond/vector.hpp
RonRahaman/nekRS
ffc02bca33ece6ba3330c4ee24565b1c6b5f7242
[ "BSD-3-Clause" ]
2
2021-09-07T03:00:53.000Z
2021-12-06T18:08:27.000Z
src/elliptic/amgSolver/parAlmond/vector.hpp
neams-th-coe/nekRS
5d2c8ab3d14b3fb16db35682336a1f96000698bb
[ "BSD-3-Clause" ]
2
2021-06-27T02:07:27.000Z
2021-08-24T04:47:42.000Z
src/elliptic/amgSolver/parAlmond/vector.hpp
neams-th-coe/nekRS
5d2c8ab3d14b3fb16db35682336a1f96000698bb
[ "BSD-3-Clause" ]
1
2019-09-10T20:12:48.000Z
2019-09-10T20:12:48.000Z
/* The MIT License (MIT) Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus, Rajesh Gandham 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 w...
40.496241
88
0.643149
[ "vector" ]
872427b99e62f5bab75507eb66b44303547b866e
14,355
cc
C++
aibench/benchmark/benchmark_main.cc
XiaoMi/mobile-ai-bench
a91bca47af319b4d88b87b58a6c879de9c910733
[ "Apache-2.0" ]
313
2018-07-19T08:59:29.000Z
2022-03-29T04:25:22.000Z
aibench/benchmark/benchmark_main.cc
XiaoMi/mobile-ai-bench
a91bca47af319b4d88b87b58a6c879de9c910733
[ "Apache-2.0" ]
41
2018-07-20T11:03:03.000Z
2021-11-19T22:44:24.000Z
aibench/benchmark/benchmark_main.cc
XiaoMi/mobile-ai-bench
a91bca47af319b4d88b87b58a6c879de9c910733
[ "Apache-2.0" ]
59
2018-07-20T04:02:05.000Z
2022-02-25T03:45:09.000Z
// Copyright 2018 The MobileAIBench Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
38.178191
79
0.600906
[ "shape", "vector", "model" ]
87312f27d20b0f9ad5ef7886b1c1e548d8a23d64
4,909
cpp
C++
src/lexer.cpp
zmeadows/guppy
9b2f5bb2d8f867801b73ea4f2068ed8ee2f90f5c
[ "MIT" ]
1
2015-12-27T18:53:51.000Z
2015-12-27T18:53:51.000Z
src/lexer.cpp
zmeadows/guppy
9b2f5bb2d8f867801b73ea4f2068ed8ee2f90f5c
[ "MIT" ]
null
null
null
src/lexer.cpp
zmeadows/guppy
9b2f5bb2d8f867801b73ea4f2068ed8ee2f90f5c
[ "MIT" ]
null
null
null
#include "util.h" #include "lexer.h" bool operator ==(const Token &t1, const Token &t2) { return std::tie(t1.type, t1.contents) == std::tie(t2.type, t2.contents); } bool operator !=(const Token &t1, const Token &t2) { return !(t1 == t2); } std::vector<Token> tokenize(const std::string &program) { std::v...
32.509934
86
0.469138
[ "vector" ]
8732107bc04a8397d094ecc114307e6b7c19af63
1,694
hpp
C++
eval/LANE_evaluation/lane2d/include/spline.hpp
rqbrother/OpenLane
25e76e2aef0041e809d4c2de52d2d13196e96426
[ "Apache-2.0" ]
104
2022-03-16T10:50:31.000Z
2022-03-29T16:14:23.000Z
eval/LANE_evaluation/lane2d/include/spline.hpp
rqbrother/OpenLane
25e76e2aef0041e809d4c2de52d2d13196e96426
[ "Apache-2.0" ]
5
2022-03-22T15:08:40.000Z
2022-03-31T12:18:36.000Z
eval/LANE_evaluation/lane2d/include/spline.hpp
rqbrother/OpenLane
25e76e2aef0041e809d4c2de52d2d13196e96426
[ "Apache-2.0" ]
6
2022-03-23T02:05:10.000Z
2022-03-24T23:18:53.000Z
/* ============================================================================== Binaries and/or source for the following packages or projects are presented under one or more of the following open source licenses: spline.hpp The OpenLane Dataset Authors Apache License, Version 2.0 See: https://github.c...
32.576923
115
0.687721
[ "vector" ]
8738fa504ea76ca77d8713fde0892b884be7861c
2,596
cc
C++
vos/p2/sub/chdo_object/ChdoBase.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
16
2020-10-21T05:56:26.000Z
2022-03-31T10:02:01.000Z
vos/p2/sub/chdo_object/ChdoBase.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
null
null
null
vos/p2/sub/chdo_object/ChdoBase.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
2
2021-03-09T01:51:08.000Z
2021-03-23T00:23:24.000Z
// Copyright (c) 1999, California Institute of Technology // U. S. Government sponsorship under NASA contract is acknowledged ////////////////////////////////////////////////////////////////////////////// // // ChdoBase.h // // ChdoBase is the class of an object that contains a generic CHDO // header. It performs...
34.157895
78
0.612866
[ "object" ]
873ca2ee3b903acd741b4eb18d0c335e76883fe4
3,693
cpp
C++
tests/test/wasm/test_snapshots.cpp
csegarragonz/faasm
6596a6dec43b94adeebb4cb67033bb95a01e1bde
[ "Apache-2.0" ]
null
null
null
tests/test/wasm/test_snapshots.cpp
csegarragonz/faasm
6596a6dec43b94adeebb4cb67033bb95a01e1bde
[ "Apache-2.0" ]
null
null
null
tests/test/wasm/test_snapshots.cpp
csegarragonz/faasm
6596a6dec43b94adeebb4cb67033bb95a01e1bde
[ "Apache-2.0" ]
null
null
null
#include <catch2/catch.hpp> #include "utils.h" #include <boost/filesystem.hpp> #include <faabric/util/func.h> #include <wavm/WAVMWasmModule.h> using namespace wasm; namespace tests { TEST_CASE("Test snapshot and restore for wasm module", "[wasm]") { cleanSystem(); std::string user = "demo"; std::strin...
28.407692
71
0.657731
[ "vector" ]
873d65c4bb8fcd25fe5b00e363778630068c1f44
1,136
cpp
C++
src/AST/AssertAcyclic.cpp
cforall/cforall
8fde92916a86f7a006b7af82846d5ec9ad0c1346
[ "BSD-3-Clause" ]
32
2018-11-30T17:37:27.000Z
2022-02-27T10:57:07.000Z
src/AST/AssertAcyclic.cpp
cforall/cforall
8fde92916a86f7a006b7af82846d5ec9ad0c1346
[ "BSD-3-Clause" ]
null
null
null
src/AST/AssertAcyclic.cpp
cforall/cforall
8fde92916a86f7a006b7af82846d5ec9ad0c1346
[ "BSD-3-Clause" ]
null
null
null
// // Cforall Version 1.0.0 Copyright (C) 2019 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // AssertAcyclic.cpp -- Check that ast::ptr does not form a cycle. // // Author : Andrew Beach // Created On ...
21.037037
82
0.644366
[ "vector" ]
8740e19e0ad10d8dc9997442af5e33fc71ce4b4b
1,786
cpp
C++
dnn_project/spikework/io_worker.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
dnn_project/spikework/io_worker.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
dnn_project/spikework/io_worker.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
#include "io_worker.h" #include <dnn/io/stream.h> #include <dnn/util/spikes_list.h> namespace dnn { void IOWorker::usage() { cout << "Workers has options:\n"; cout << " --input, -i FILENAME specifying input of worker (optional)\n"; cout << " --output, -o FILENAME specifying output of worker (optional)\n"; c...
27.476923
127
0.597424
[ "vector" ]
87438633f6236bb7800bf522cd6117f085d85b02
1,814
cpp
C++
01_Develop/libXMCocos2D-v3/Source/3d/Morph.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMCocos2D-v3/Source/3d/Morph.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMCocos2D-v3/Source/3d/Morph.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
#include "3d/Morph.h" namespace cocos3d { Morph::Morph(void) { _morphTargets = new std::vector<MorphTarget*>(); _curTargets = new std::vector<unsigned int>(); } Morph::~Morph(void) { for( std::vector<MorphTarget*>::iterator iter=_morphTargets->begin(); iter!=_morphTargets->end(); iter++ ) { delete *iter; ...
16.642202
107
0.666483
[ "vector", "3d" ]
8749c4b9d477599de8f17a508870724cbe17c911
1,992
cc
C++
tests/atomic_int_vector.cc
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
2
2021-05-21T08:44:53.000Z
2021-12-24T16:22:56.000Z
tests/atomic_int_vector.cc
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
tests/atomic_int_vector.cc
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018–2019 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #include <catch2/catch.hpp> #include <cstdint> #include <libbio/int_vector.hh> namespace gen = Catch::Generators; namespace lb = libbio; SCENARIO("An atomic_int_vector may be created", "[atomic_int_v...
22.382022
89
0.621988
[ "vector" ]
8755f86f3c5d42b15e6b9c3cb1dcae0b1c3192bb
15,338
cpp
C++
record/src/agora_node_ext/AgoraSdk.cpp
DGldy/agora-recording
51913410be475a644174dccca24e73678601c358
[ "MIT" ]
null
null
null
record/src/agora_node_ext/AgoraSdk.cpp
DGldy/agora-recording
51913410be475a644174dccca24e73678601c358
[ "MIT" ]
null
null
null
record/src/agora_node_ext/AgoraSdk.cpp
DGldy/agora-recording
51913410be475a644174dccca24e73678601c358
[ "MIT" ]
null
null
null
#include <csignal> #include <cstdint> #include <iostream> #include <sstream> #include <string> #include <vector> #include <algorithm> #include "IAgoraLinuxSdkCommon.h" #include "IAgoraRecordingEngine.h" #include "AgoraSdk.h" #include "node_async_queue.h" #include "base/atomic.h" #include "base/log.h" #include "opt_...
34.467416
141
0.619703
[ "object", "vector", "model" ]
875a0eac6898d9341018a6a3e044d625c45348e1
1,116
hh
C++
graphs/ConstrainedSWGraph.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
graphs/ConstrainedSWGraph.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
graphs/ConstrainedSWGraph.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
#ifndef SWW_GRAPH_HH #define SWW_GRAPH_HH #include <string> #include <vector> #include <map> #include <set> #include "DecoderGraph.hh" class SWWGraph : public DecoderGraph { public: SWWGraph(); SWWGraph(const std::map<std::string, std::vector<std::string> > &word_segs, bool wb_symbol=true, ...
28.615385
100
0.560932
[ "vector" ]
875cf5b6636f324089b4729aa8b99bcd53b40a0c
29,213
cpp
C++
ManagedScripts/MPhysClass.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
ManagedScripts/MPhysClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/MPhysClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert 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 writing, software distr...
24.323897
159
0.756786
[ "render", "object", "model", "transform" ]
875d1bee7c56276b18a5a27e8b565d7e32e3a2fc
2,800
cpp
C++
ext/include/osgEarthUtil/DataScanner.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthUtil/DataScanner.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthUtil/DataScanner.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
35.897436
100
0.605357
[ "vector" ]
875d5c82d30306248056a92295e57f28afb0754c
15,675
cpp
C++
src/filters/archive/curt/adns_curt.cpp
AuraUAS/aura-core
4711521074db72ba9089213e14455d89dc5306c0
[ "MIT", "BSD-2-Clause-FreeBSD" ]
8
2016-08-03T19:35:03.000Z
2019-12-15T06:25:05.000Z
src/filters/archive/curt/adns_curt.cpp
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
4
2018-09-27T15:48:56.000Z
2018-11-05T12:38:10.000Z
src/filters/archive/curt/adns_curt.cpp
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
5
2017-06-28T19:15:36.000Z
2020-02-19T19:31:24.000Z
/** * \file: curt_adns.cpp * * Test bed for ADNS experimentation * * Copyright (C) 2009 - Curtis L. Olson * * $Id: umn_interface.cpp,v 1.1 2009/05/15 17:04:56 curt Exp $ */ #include <pyprops.hxx> #include <math.h> #include <string.h> #include <stdio.h> #include <stdlib.h> // temp: exit() #include "include/g...
31.795132
80
0.670175
[ "vector", "transform" ]
8771f79f5a2cb3cc5d9cbc00b2deee268306f5c9
1,618
cpp
C++
src/Game/CGameOverScreen.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
1
2016-07-22T17:32:38.000Z
2016-07-22T17:32:38.000Z
src/Game/CGameOverScreen.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
src/Game/CGameOverScreen.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
// ============================= // SDL Programming // Name: ODOH KENNETH EMEKA // Student id: 0902024 // Task 18 // ============================= #include "CGameOverScreen.h" #include "CSpaceAttacker.h" //////////////////////////////////////////////////////////////////////////////// CGameOverScreen::CGameOverScreen(...
28.892857
93
0.425216
[ "render" ]
8779b867eaff6aba6018d840a544ffe619c30853
288
hpp
C++
include/caffe/util/hash.hpp
naibaf7/caffe
29960153c828820b1abb55a5792283742f57caa2
[ "Intel", "BSD-2-Clause" ]
89
2015-04-20T01:25:01.000Z
2021-12-07T17:03:28.000Z
include/caffe/util/hash.hpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
62
2015-06-18T13:11:20.000Z
2019-02-19T05:00:10.000Z
include/caffe/util/hash.hpp
Miaomz/caffe-opencl
505693d54298b89cf83b54778479087cff2f3bd6
[ "Intel", "BSD-2-Clause" ]
30
2015-07-05T17:08:09.000Z
2022-02-10T13:16:02.000Z
#ifndef CAFFE_UTIL_HASH_HPP_ #define CAFFE_UTIL_HASH_HPP_ #include "caffe/definitions.hpp" namespace caffe { size_t generate_hash(string text); size_t generate_hash(vector<string> text); string hash_hex_string(size_t hash); } // namespace caffe #endif /* CAFFE_UTIL_HASH_HPP_ */
16
42
0.784722
[ "vector" ]
877f9ab4464e9629df11769616796f53eb7e1c48
2,296
cpp
C++
source/direct3d9/VCache.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
85
2015-04-06T05:37:10.000Z
2022-03-22T19:53:03.000Z
source/direct3d9/VCache.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
10
2016-03-17T11:18:24.000Z
2021-05-11T09:21:43.000Z
source/direct3d9/VCache.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
45
2015-09-14T03:54:01.000Z
2022-03-22T19:53:09.000Z
#include "stdafx.h" /* * Copyright (c) 2007-2012 SlimDX Group * * 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, ...
31.452055
124
0.699477
[ "object" ]
87810ce9ae6a3a8b56ee9a3fecd713c0f00eb25a
29,285
cc
C++
nlp-automl/src/Nlp-automlClient.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
nlp-automl/src/Nlp-automlClient.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
nlp-automl/src/Nlp-automlClient.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...
34.615839
229
0.781151
[ "model" ]
87816fb62cb918edda0e9f14bf8d498811ac6ecd
847
cpp
C++
clic/src/tier1/cleGreaterConstantKernel.cpp
StRigaud/CLIc_prototype
83fe15b3f8406c4e5a1f415fcba29dc30b12cad3
[ "BSD-3-Clause" ]
1
2021-01-04T14:34:45.000Z
2021-01-04T14:34:45.000Z
clic/src/tier1/cleGreaterConstantKernel.cpp
StRigaud/CLIc_prototype
83fe15b3f8406c4e5a1f415fcba29dc30b12cad3
[ "BSD-3-Clause" ]
null
null
null
clic/src/tier1/cleGreaterConstantKernel.cpp
StRigaud/CLIc_prototype
83fe15b3f8406c4e5a1f415fcba29dc30b12cad3
[ "BSD-3-Clause" ]
1
2021-01-02T17:27:35.000Z
2021-01-02T17:27:35.000Z
#include "cleGreaterConstantKernel.hpp" namespace cle { GreaterConstantKernel::GreaterConstantKernel(std::shared_ptr<GPU> t_gpu) : Kernel( t_gpu, "greater_constant", {"src1", "scalar", "dst"} ) { this->m_Sources.insert({this->m_KernelName + "_2d", this->m_OclHeader2d}); this...
20.658537
78
0.671783
[ "object" ]
878877b1226332c9bf6133142d5b7aa4845cb500
27,505
cpp
C++
src/Cello/test_ItNode.cpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Cello/test_ItNode.cpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Cello/test_ItNode.cpp
brittonsmith/enzo-e
56d8417f2bdfc60f38326ba7208b633bfcea3175
[ "MIT", "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file test_ItNode.cpp /// @author James Bordner (jobordner@ucsd.edu) /// @date 2012-01-12 /// @brief Test program for the ItNode class #include "main.hpp" #include "test.hpp" #include "mesh.hpp" #include "mesh_functions.hpp" PARALLEL_M...
60.054585
78
0.614616
[ "mesh" ]
87923335a9ec2d5dea1c6078754795022196bf32
5,291
cpp
C++
cpp/client/com.spoonacular.client.model/OAIInline_response_200_52.cpp
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
cpp/client/com.spoonacular.client.model/OAIInline_response_200_52.cpp
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
cpp/client/com.spoonacular.client.model/OAIInline_response_200_52.cpp
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
/** * spoonacular API * The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such a...
30.0625
1,035
0.727273
[ "object" ]
87a204de4f59d5ae9e3f98ac6a954b8035d37c8f
5,320
cpp
C++
OOInteraction/src/expression_editor/OOExpressionBuilder.cpp
patrick-luethi/Envision
b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a
[ "BSD-3-Clause" ]
null
null
null
OOInteraction/src/expression_editor/OOExpressionBuilder.cpp
patrick-luethi/Envision
b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a
[ "BSD-3-Clause" ]
null
null
null
OOInteraction/src/expression_editor/OOExpressionBuilder.cpp
patrick-luethi/Envision
b93e6f9bbb2a534b5534a5e48ed40a2c43baba8a
[ "BSD-3-Clause" ]
null
null
null
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
38.273381
120
0.721429
[ "model" ]
87af7bc5328aa2bec2ed77c50a3f71c2ca1257dc
11,673
cpp
C++
src/json_parser.cpp
SausageTaste/DalbaragiTools
d07e82ecdb9117cffa886e50b89808e2dbf245c6
[ "MIT" ]
null
null
null
src/json_parser.cpp
SausageTaste/DalbaragiTools
d07e82ecdb9117cffa886e50b89808e2dbf245c6
[ "MIT" ]
null
null
null
src/json_parser.cpp
SausageTaste/DalbaragiTools
d07e82ecdb9117cffa886e50b89808e2dbf245c6
[ "MIT" ]
null
null
null
#include "daltools/model_parser.h" #include <optional> #include <nlohmann/json.hpp> #include <libbase64.h> #include "daltools/byte_tool.h" #include "daltools/konst.h" #include "daltools/compression.h" namespace { namespace dalp = dal::parser; using json_t = nlohmann::json; using scene_t = dal::parser:...
34.231672
144
0.588281
[ "mesh", "render", "vector", "transform" ]
87c12be8496712dd3524f240be763845f6a5fc27
6,930
cpp
C++
src/liblightmetrica/property.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
150
2015-12-28T10:26:02.000Z
2021-03-17T14:36:16.000Z
src/liblightmetrica/property.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
null
null
null
src/liblightmetrica/property.cpp
jammm/lightmetrica-v2
6864942ec48d37f2c35dc30a38a26d7cc4bb527e
[ "MIT" ]
17
2016-02-08T10:57:55.000Z
2020-09-04T03:57:33.000Z
/* Lightmetrica - A modern, research-oriented renderer Copyright (c) 2015 Hisanari Otsu 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 ...
30
165
0.56176
[ "vector" ]