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
daa0c17779817c4faebf17bdb6d6a40329a596bd
1,449
cpp
C++
ConsoleApplication3/ConsoleApplication3/Roomc.cpp
msSarriman/UniversityProject_C-_CommandLineInterfaceForHotelReservations
c94c6fee42d64246cd99d102fb63de93840be700
[ "MIT" ]
null
null
null
ConsoleApplication3/ConsoleApplication3/Roomc.cpp
msSarriman/UniversityProject_C-_CommandLineInterfaceForHotelReservations
c94c6fee42d64246cd99d102fb63de93840be700
[ "MIT" ]
null
null
null
ConsoleApplication3/ConsoleApplication3/Roomc.cpp
msSarriman/UniversityProject_C-_CommandLineInterfaceForHotelReservations
c94c6fee42d64246cd99d102fb63de93840be700
[ "MIT" ]
null
null
null
/* * Roomc.cpp * * Created on: May 21, 2017 * Author: root */ #include "Roomc.h" namespace std { Roomc::Roomc() { // // Default Constructor. } Roomc::Roomc(int number, int capacity, double price, int discount, int minpersons, int minnights) { for (int i = 1; i < 31; i++) { // Make Room available for all ...
33.697674
164
0.665977
[ "object" ]
daa600ff3abb5ed862609cd4f5867666ab1e748c
12,223
cc
C++
test/utils/html5lib_tokenizer_test_helpers.cc
hooddanielc/yourhtml
ef0387743c62c89414c977f381f2a5be1133ba11
[ "MIT" ]
null
null
null
test/utils/html5lib_tokenizer_test_helpers.cc
hooddanielc/yourhtml
ef0387743c62c89414c977f381f2a5be1133ba11
[ "MIT" ]
null
null
null
test/utils/html5lib_tokenizer_test_helpers.cc
hooddanielc/yourhtml
ef0387743c62c89414c977f381f2a5be1133ba11
[ "MIT" ]
null
null
null
#include <test/utils/html5lib_tokenizer_test_helpers.h> using namespace yourhtml; void html5lib_test_lexer_t::on_character(const character_t &token) { if (tokens.size() > 0 && tokens.back()->get_kind() == token_t::CHARACTER) { auto data = dynamic_cast<character_t*>(tokens.back().get())->get_data(); tokens.b...
38.077882
140
0.5785
[ "object", "vector" ]
dab43e809c5d6484c31461d6f92780543f50e225
631
cc
C++
skel/skel.cc
abhiranjankumar00/dot-vim
2e737f54df73443094f1c7641882e55623f00820
[ "MIT" ]
null
null
null
skel/skel.cc
abhiranjankumar00/dot-vim
2e737f54df73443094f1c7641882e55623f00820
[ "MIT" ]
1
2015-12-28T13:14:40.000Z
2015-12-28T13:15:26.000Z
skel/skel.cc
abhiranjankumar00/dot-vim
2e737f54df73443094f1c7641882e55623f00820
[ "MIT" ]
null
null
null
//Name : Shinchan Nohara //Age : 5 years //Organisation : Kasukabe Defense Force #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <algorithm> #include <vector> #include <map> #include <set> #include <queue> #include <stack> #include <list> #include ...
17.527778
51
0.681458
[ "vector" ]
dab4b067c4f56f744ef2781cb07402d970d21755
138,921
cpp
C++
qtdeclarative/src/quick/items/qquicktextinput.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdeclarative/src/quick/items/qquicktextinput.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdeclarative/src/quick/items/qquicktextinput.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid comme...
30.252831
165
0.629264
[ "render" ]
dab55d0421214b866b24dddb259d6b815eab8307
5,050
hpp
C++
Entity.hpp
RFDonovan/RADAMA-GAME
999771c5105b6dba8d5616c52995d0c4a26b66d7
[ "MIT" ]
null
null
null
Entity.hpp
RFDonovan/RADAMA-GAME
999771c5105b6dba8d5616c52995d0c4a26b66d7
[ "MIT" ]
null
null
null
Entity.hpp
RFDonovan/RADAMA-GAME
999771c5105b6dba8d5616c52995d0c4a26b66d7
[ "MIT" ]
null
null
null
#ifndef ENTITY_HPP_INCLUDED #define ENTITY_HPP_INCLUDED #include <random> #include<SFML/Graphics.hpp> #include<Box2D/Box2D.h> #include<iostream> #include<cmath> #include<vector> #include<sstream> #include "Globals.h" #include "AnimatedSprite.hpp" #include "TextureHolder.h" #include "Structures.hpp" #include "RayCastCal...
26.165803
146
0.648119
[ "render", "vector" ]
dabf6d7b86a6781e6a6684e47099e9a2bcdb7226
4,992
cpp
C++
src/miyuki.server/main.cpp
shiinamiyuki/MiyukiRenderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
53
2019-06-13T12:34:46.000Z
2019-09-26T02:20:01.000Z
src/miyuki.server/main.cpp
shiinamiyuki/miyuki-renderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
null
null
null
src/miyuki.server/main.cpp
shiinamiyuki/miyuki-renderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
5
2020-01-01T03:05:39.000Z
2022-01-22T14:38:19.000Z
// // main.cpp // ~~~~~~~~ // // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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 <chrono> #include <cstdio> #in...
33.28
116
0.46895
[ "render" ]
dac07acb26e3317482ef789021cadafe56b7b528
6,961
cpp
C++
mvm-reversed/server/tf/bot/behavior/spy/tf_bot_spy_infiltrate.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
7
2021-03-02T02:27:18.000Z
2022-02-18T00:56:28.000Z
mvm-reversed/server/tf/bot/behavior/spy/tf_bot_spy_infiltrate.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
3
2021-11-29T15:53:02.000Z
2022-02-21T13:09:22.000Z
mvm-reversed/server/tf/bot/behavior/spy/tf_bot_spy_infiltrate.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
5
2021-03-04T20:26:11.000Z
2021-11-26T07:09:24.000Z
/* reverse engineering by sigsegv * based on TF2 version 20151007a * server/tf/bot/behavior/spy/tf_bot_spy_infiltrate.cpp * used in MvM: TODO */ ConVar tf_bot_debug_spy("tf_bot_debug_spy", "0", FCVAR_CHEAT); CTFBotSpyInfiltrate::CTFBotSpyInfiltrate() { } CTFBotSpyInfiltrate::~CTFBotSpyInfiltrate(...
27.844
120
0.675621
[ "object" ]
dac847f9517e25ab23379264f51693be2198bf13
6,085
cpp
C++
source/code/programs/transcompilers/old_unilang/main/program_options/program_options.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/programs/transcompilers/old_unilang/main/program_options/program_options.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/programs/transcompilers/old_unilang/main/program_options/program_options.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include "program_options.hpp" #include <string> #include <iostream> //constructor Program_Options::Program_Options(int const& argc, char** const& argv){ using namespace boost::program_options; //build all the possible flags and add description. options_description desc (Get_Options_Description()); //set pos...
33.251366
210
0.704519
[ "vector" ]
dacd765791aa6e7829479f16dc8961270fbabca7
43,061
cpp
C++
src/Tools/C64CommandLine.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Tools/C64CommandLine.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Tools/C64CommandLine.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
#include "C64CommandLine.h" #include "SYS_FileSystem.h" #include "CViewC64.h" #include "SYS_CommandLine.h" #include "CDebugSymbols.h" #include "CViewMainMenu.h" #include "CViewSnapshots.h" #include "CSlrString.h" #include "RES_ResourceManager.h" #include "C64SettingsStorage.h" #include "C64SharedMemory.h" #include "CVi...
28.236721
158
0.713592
[ "vector", "model" ]
dad5435b636d3fa0c70381da422d175ad8aaa81c
1,678
cpp
C++
3569-degrees_of_separation/3569-degrees_of_separation.cpp
ErwanCheriaux/INF280
79234b6cc9dbd08d4dd02b76928a7e48ae396a2f
[ "Xnet", "X11" ]
null
null
null
3569-degrees_of_separation/3569-degrees_of_separation.cpp
ErwanCheriaux/INF280
79234b6cc9dbd08d4dd02b76928a7e48ae396a2f
[ "Xnet", "X11" ]
null
null
null
3569-degrees_of_separation/3569-degrees_of_separation.cpp
ErwanCheriaux/INF280
79234b6cc9dbd08d4dd02b76928a7e48ae396a2f
[ "Xnet", "X11" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <cstring> #include <iostream> #include <cstdint> #include <algorithm> #include <vector> #include <map> using namespace std; const int MAXN = 50; vector<int> Adj[MAXN]; map<string,int> node; int N, MAXLEN; int Dist[MAXN][MAXN]; void FloydWarshall(); int main(void) { ...
22.675676
94
0.533373
[ "vector" ]
dad884060e7b374b84cd943bfc3625973c7e5a6a
6,532
cpp
C++
config.cpp
fledge-iot/fledge-notify-setpoint
63839608ac6cf2841f5aa26dd663c4f7f8d9b2a6
[ "Apache-2.0" ]
null
null
null
config.cpp
fledge-iot/fledge-notify-setpoint
63839608ac6cf2841f5aa26dd663c4f7f8d9b2a6
[ "Apache-2.0" ]
2
2021-04-19T13:13:27.000Z
2021-05-27T13:46:02.000Z
config.cpp
fledge-iot/fledge-notify-setpoint
63839608ac6cf2841f5aa26dd663c4f7f8d9b2a6
[ "Apache-2.0" ]
null
null
null
/* * FogLAMP Configuration Delivery plugin * * Copyright (c) 2020 Dianomic Systems * * Released under the Apache 2.0 Licence * * Author: Mark Riddoch */ #include <plugin_api.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <string> #include <logger.h> #include <plugin_exception.h> #includ...
23.412186
91
0.686314
[ "object" ]
dae19955d72071568dbffe8b2e0d4ac5e863d028
3,742
cpp
C++
04_Cap04/ModuleScene.cpp
Gabroide/DevelopingAnEngine
096b4f8ddcf7b17819e256a4fd56934c953493f5
[ "MIT" ]
null
null
null
04_Cap04/ModuleScene.cpp
Gabroide/DevelopingAnEngine
096b4f8ddcf7b17819e256a4fd56934c953493f5
[ "MIT" ]
null
null
null
04_Cap04/ModuleScene.cpp
Gabroide/DevelopingAnEngine
096b4f8ddcf7b17819e256a4fd56934c953493f5
[ "MIT" ]
null
null
null
#include "Application.h" #include "ModuleScene.h" #include "ModuleWindow.h" #include "ModuleProgram.h" #include "ModuleCamera.h" #include "GL\glew.h" #include "SDL.h" #include "MathGeoLib\include\Geometry\Frustum.h" #include "MathGeoLib\include\Math\MathConstants.h" #include "MathGeoLib\include\Math\float3.h" #inclu...
25.986111
191
0.664885
[ "geometry", "model", "transform" ]
dae7681682b098e98e2baf058e82b1b19a1e4604
1,516
cpp
C++
smolengine.graphics/src/Backends/Vulkan/Aftermath/AftermathShaderTracker.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
3
2021-05-18T00:01:06.000Z
2021-07-09T15:39:23.000Z
smolengine.graphics/src/Backends/Vulkan/Aftermath/AftermathShaderTracker.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
smolengine.graphics/src/Backends/Vulkan/Aftermath/AftermathShaderTracker.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #ifdef AFTERMATH #include "Backends/Vulkan/Aftermath/AftermathShaderTracker.h" namespace SmolEngine { bool AftermathShaderTracker::FindShaderBinary(const GFSDK_Aftermath_ShaderHash& shaderHash, std::vector<uint8_t>& shader) const { // Find shader binary data for the shader hash auto i_shader ...
25.266667
128
0.719657
[ "vector" ]
daefcb6cb0381d9184de04b73e49a479b0d750e9
2,348
cpp
C++
src/ar/posecamerapnp.cpp
chili-epfl/qml-ar
e48e67d28b3b8556787df65b50bb196ff2a169db
[ "MIT" ]
32
2018-01-31T13:07:36.000Z
2021-12-21T14:33:59.000Z
src/ar/posecamerapnp.cpp
chili-epfl/qml-ar
e48e67d28b3b8556787df65b50bb196ff2a169db
[ "MIT" ]
1
2021-05-10T15:11:52.000Z
2021-05-10T15:11:52.000Z
src/ar/posecamerapnp.cpp
chili-epfl/qml-ar
e48e67d28b3b8556787df65b50bb196ff2a169db
[ "MIT" ]
6
2018-02-19T02:19:02.000Z
2021-04-07T11:20:18.000Z
/** * @file posecamerapnp.cpp * @brief This class converts camera + 3D-2D correspondences * to a camera pose * @author Sergei Volodin * @version 1.0 * @date 2018-07-25 */ #include "posecamerapnp.h" #include <QtCore> #include <QMatrix4x4> #include <opencv2/calib3d.hpp> #include <opencv2/core.hpp> #include "cvmat...
28.289157
124
0.63586
[ "vector", "3d" ]
9703d79580ef237cc7b72e6a8d63229e7993ac84
1,405
cpp
C++
Test/MathTest.cpp
davemc0/DMcTools
7fa65abc99330c4cc49cf4037cf629051aa516a6
[ "CC0-1.0" ]
null
null
null
Test/MathTest.cpp
davemc0/DMcTools
7fa65abc99330c4cc49cf4037cf629051aa516a6
[ "CC0-1.0" ]
null
null
null
Test/MathTest.cpp
davemc0/DMcTools
7fa65abc99330c4cc49cf4037cf629051aa516a6
[ "CC0-1.0" ]
null
null
null
#include "Math/BinaryRep.h" #include "Math/Random.h" #include "Math/Vector.h" #include <iostream> void vectorTest() { { f3vec a(1, 0, 0), b(0, 1, 0); f3vec c = cross(a, b); std::cerr << a << b << c << '\n'; } { d3vec a(1.f, (double)0, (int)0), b(0, 1, 0); d3vec c = ...
23.813559
90
0.525267
[ "vector" ]
8cc918d3cdc16dd81b9ff53ba19666cb69e8414b
3,787
cxx
C++
odb-tests-2.4.0/common/callback/driver.cxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
odb-tests-2.4.0/common/callback/driver.cxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
odb-tests-2.4.0/common/callback/driver.cxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
// file : common/callback/driver.cxx // copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file // Test database operation callbacks. // #include <memory> // std::auto_ptr #include <cassert> #include <iostream> #include <odb/database.hxx> #include <...
20.581522
78
0.486665
[ "object" ]
8ccb32d0be256f7a0ee2cc4b008dafd2c0f625a7
16,644
cpp
C++
BossAttack1_DomJudge/BA1_C_html parser.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
1
2021-11-21T15:52:23.000Z
2021-11-21T15:52:23.000Z
BossAttack1_DomJudge/BA1_C_html parser.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
null
null
null
BossAttack1_DomJudge/BA1_C_html parser.cpp
Ping6666/Compiler-Projects
31c7c437a2fad66b7b7424d9b2a468b61d94fdd3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> // DEBUG // bool print_check = true; bool print_check = false; /* Recursive-Decent-Parsing: Since need to fit the question needed, therefore try to use many function and if / else. */ // <div><span>text in span<div></span></div> // htmlElement htmlContent htmlContent ...
24.584934
178
0.471882
[ "vector" ]
8cd32b0b0284e3676aab7b603971f0a66473b45f
5,179
hpp
C++
Source/AllProjects/Drivers/HAIOmniTCP/Shared/HAIOmniTCPSh.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/HAIOmniTCP/Shared/HAIOmniTCPSh.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/HAIOmniTCP/Shared/HAIOmniTCPSh.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: HAIOmniTCPSh.hpp // // AUTHOR: Dean Roddey // // CREATED: 05/16/2008 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensource...
30.827381
78
0.460707
[ "object" ]
8cd6867646f04917524ed91422968421eca9ca5b
14,145
cc
C++
whisperstreamlib/f4v/atoms/movie/esds_atom.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperstreamlib/f4v/atoms/movie/esds_atom.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperstreamlib/f4v/atoms/movie/esds_atom.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
#include "f4v/atoms/movie/esds_atom.h" #include <whisperlib/common/io/num_streaming.h> #include <whisperlib/common/base/scoped_ptr.h> namespace streaming { namespace f4v { EsdsAtom::EsdsAtom() : VersionedAtom(kType), raw_data_(), mp4_es_desc_tag_id_(0), mp4_es_desc_tag_priority_(0), mp4_dec_config_d...
39.074586
106
0.649558
[ "vector" ]
8ce94b73d0be0891f2db140d1ba82334bc714e27
3,481
cpp
C++
src/Core/CommandBuffers.cpp
Developmentprogramming/VulkanApi
0bd2adf6c90e167ea9e955d345727c3ac9ad93dc
[ "Apache-2.0" ]
null
null
null
src/Core/CommandBuffers.cpp
Developmentprogramming/VulkanApi
0bd2adf6c90e167ea9e955d345727c3ac9ad93dc
[ "Apache-2.0" ]
null
null
null
src/Core/CommandBuffers.cpp
Developmentprogramming/VulkanApi
0bd2adf6c90e167ea9e955d345727c3ac9ad93dc
[ "Apache-2.0" ]
null
null
null
// // Created by aeternum on 9/9/21. // #include "CommandBuffers.h" #include <stdexcept> #include "Buffer.h" namespace VulkanApi { CommandBuffers::CommandBuffers(const Ref<CommandPool>& commandPool, const Ref<SwapChain>& swapChain, const Ref<RenderPass>& renderPass, const Ref<Pipeline>& pipeline) : m_C...
41.939759
170
0.649813
[ "vector" ]
8ceaa15a8736919778e4f8b946385e5c5be20e04
6,076
cpp
C++
src/hardware/platforms/DummyExo/ExoRobot.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
null
null
null
src/hardware/platforms/DummyExo/ExoRobot.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
null
null
null
src/hardware/platforms/DummyExo/ExoRobot.cpp
shortmr/CANOpenRobotController
61602c2d19ff1e87408152ca61b4f37df1598bfa
[ "Apache-2.0" ]
1
2021-05-04T17:19:45.000Z
2021-05-04T17:19:45.000Z
#include "ExoRobot.h" ExoRobot::ExoRobot() : Robot() { } ExoRobot::~ExoRobot() { spdlog::debug("Delete ExoRobot object begins"); freeMemory(); // joints.clear(); // copleyDrives.clear(); spdlog::debug("ExoRobot deleted"); } bool ExoRobot::initPositionControl() { spdlog::debug("Initial...
29.639024
100
0.590355
[ "object", "vector" ]
8cf539a4d8bc0233a5b45469871bde212b97cfe6
6,744
cpp
C++
PSME/common/agent-framework/src/module/constants/common.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/common/agent-framework/src/module/constants/common.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
null
null
null
PSME/common/agent-framework/src/module/constants/common.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
1
2022-03-01T07:21:51.000Z
2022-03-01T07:21:51.000Z
/*! * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
35.125
75
0.786922
[ "model" ]
8cf82cb280de3825057aa8095977f23f65701bd2
955
cpp
C++
src/iqrf/IQRFJsonRequest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
7
2018-06-09T05:55:59.000Z
2021-01-05T05:19:02.000Z
src/iqrf/IQRFJsonRequest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
1
2019-12-25T10:39:06.000Z
2020-01-03T08:35:29.000Z
src/iqrf/IQRFJsonRequest.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
11
2018-05-10T08:29:05.000Z
2020-01-22T20:49:32.000Z
#include "iqrf/IQRFJsonRequest.h" #ifndef JSON_PRESERVE_KEY_ORDER #define JSON_PRESERVE_KEY_ORDER 1 #endif using namespace BeeeOn; using namespace Poco; using namespace std; IQRFJsonRequest::IQRFJsonRequest(): IQRFJsonMessage() { } string IQRFJsonRequest::request() const { return m_request; } void IQRFJsonReques...
20.319149
71
0.737173
[ "object" ]
8cf997f49057a9e10ee1650f7e97f6ad9c4e8e7c
15,355
hpp
C++
src/cpp/probability_distribution.hpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
3
2015-09-24T23:12:57.000Z
2021-04-12T07:07:01.000Z
src/cpp/probability_distribution.hpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
null
null
null
src/cpp/probability_distribution.hpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
1
2015-11-23T10:35:43.000Z
2015-11-23T10:35:43.000Z
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ | Phycas: Python software for phylogenetic analysis | | Copyright (C) 2006 Mark T. Holder, Paul O. Lewis and David L. Swofford | | | ...
38.580402
164
0.622403
[ "shape" ]
ea049f946b78418c34fa45dce5db86c465d9444c
13,942
cpp
C++
test/unittest.cpp
ckobayashi714/121-Milestone-Project-4-Quiz-Maker
a348afc996718ad5758dd9b3678f0bac584c976e
[ "MIT" ]
null
null
null
test/unittest.cpp
ckobayashi714/121-Milestone-Project-4-Quiz-Maker
a348afc996718ad5758dd9b3678f0bac584c976e
[ "MIT" ]
null
null
null
test/unittest.cpp
ckobayashi714/121-Milestone-Project-4-Quiz-Maker
a348afc996718ad5758dd9b3678f0bac584c976e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include <fstream> #include <cstdio> #include <cstring> #include "gtest_ext.h" #include "../quiz.hpp" using ::testing::HasSubstr; using ::testing::StartsWith; using ::testing::MatchesRegex; using ::testing::ContainsRegex; TEST(Quiz, PublicMethodsPresent) { question q...
34.681592
92
0.566561
[ "vector" ]
ea08197d599acd8d84bfd15e85342aa1cf13d873
2,441
cpp
C++
Sail/src/Sail/graphics/postprocessing/stages/BlendStage.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
9
2019-03-18T18:35:29.000Z
2020-10-26T06:30:18.000Z
Sail/src/Sail/graphics/postprocessing/stages/BlendStage.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
11
2019-06-10T19:54:11.000Z
2020-04-14T08:50:47.000Z
Sail/src/Sail/graphics/postprocessing/stages/BlendStage.cpp
h3nx/Sail
96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9
[ "MIT" ]
5
2019-06-16T20:24:50.000Z
2020-03-03T09:27:18.000Z
#include "BlendStage.h" BlendStage::BlendStage(UINT width, UINT height, Model* fullScreenQuad) : PostProcessStage(width, height, fullScreenQuad, D3D11_BIND_UNORDERED_ACCESS) { // Set up sampler m_sampler = std::make_unique<ShaderComponent::Sampler>(D3D11_TEXTURE_ADDRESS_MIRROR, D3D11_FILTER_MIN_MAG_MIP_LINEAR); ...
32.546667
120
0.732487
[ "model" ]
ea086685f58eb19197b2b95b147d432dc2562457
10,574
cc
C++
qrisp/recurrences-nbest.cc
google/qrisp
1970d13166cddcd05cb10fccdb34247c7b0dddf3
[ "Apache-2.0" ]
11
2015-12-14T07:03:31.000Z
2020-03-15T07:13:27.000Z
qrisp/recurrences-nbest.cc
google/qrisp
1970d13166cddcd05cb10fccdb34247c7b0dddf3
[ "Apache-2.0" ]
1
2016-04-01T20:40:12.000Z
2016-04-06T00:01:34.000Z
qrisp/recurrences-nbest.cc
google/qrisp
1970d13166cddcd05cb10fccdb34247c7b0dddf3
[ "Apache-2.0" ]
10
2016-02-25T08:08:09.000Z
2021-10-21T12:40:33.000Z
// Copyright 2014 Google Inc.All Rights Reserved. // // Licensed under the Apache License, // Version 2.0(the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
35.483221
80
0.559864
[ "vector", "model" ]
ea0d87cb64d7c346df499855f2cabb050bff1fef
1,560
hpp
C++
SickzilSFMLUI/includes/sub_window.hpp
0x00000FF/SickzilSFMLUI
a4c227ff8173f15742593b8d91fb1c9c575ab826
[ "MIT" ]
3
2019-08-16T05:48:40.000Z
2019-08-19T13:22:48.000Z
SickzilSFMLUI/includes/sub_window.hpp
0x00000FF/SickzilSFMLUI
a4c227ff8173f15742593b8d91fb1c9c575ab826
[ "MIT" ]
4
2019-08-17T07:15:05.000Z
2019-08-17T21:15:57.000Z
SickzilSFMLUI/includes/sub_window.hpp
0x00000FF/SickzilSFMLUI
a4c227ff8173f15742593b8d91fb1c9c575ab826
[ "MIT" ]
null
null
null
#ifndef __SUB_WINDOW_HPP__ #define __SUB_WINDOW_HPP__ #include <string> #include <vector> #include <SFML/Graphics.hpp> #include <controls.hpp> #include <draw_object.hpp> using namespace sf; struct sub_window_appearances { sf::RectangleShape window_panel; sf::RectangleShape title_bar; sf::Text ...
25.57377
70
0.646795
[ "vector" ]
ea12668f66d458ac21ac0134274814de732fd47d
4,052
cc
C++
src/game/entities/selectable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/game/entities/selectable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
null
null
null
src/game/entities/selectable_component.cc
codeka/ravaged-planets
ab20247b3829414e71b58c9a6e926bddf41f1da5
[ "Apache-2.0" ]
3
2017-07-17T22:24:17.000Z
2019-10-15T18:37:15.000Z
#include <boost/foreach.hpp> #include <framework/framework.h> #include <framework/graphics.h> #include <framework/shader.h> #include <framework/texture.h> #include <framework/scenegraph.h> #include <framework/vector.h> #include <game/entities/entity.h> #include <game/entities/entity_factory.h> #include <game...
31.410853
97
0.678924
[ "render", "object", "vector", "transform" ]
ea1a2c7c5c29d371c921b024577bd242c91bdd6f
779
cpp
C++
Interviewbit/Hashing/PointsOnTheStraightLine.cpp
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
2
2019-08-27T21:48:55.000Z
2020-04-20T05:56:56.000Z
Interviewbit/Hashing/PointsOnTheStraightLine.cpp
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
null
null
null
Interviewbit/Hashing/PointsOnTheStraightLine.cpp
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
2
2020-10-21T17:12:05.000Z
2020-10-27T09:34:57.000Z
int Solution::maxPoints(vector<int> &X, vector<int> &Y) { vector<vector<int>> points; for (int i = 0; i < X.size(); i++) { points.push_back({X[i], Y[i]}); } if (points.size() <= 2) return points.size(); int res = 2; for (int i = 1; i < points.size(); i++) { int x0 = points[i - 1][0]; int y0 = points[i - 1]...
24.34375
84
0.481386
[ "vector" ]
ea1de258c82589d6ebcc55553629e23e1ec2286b
1,302
hpp
C++
src/instrumentation/instrument_array.hpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/instrumentation/instrument_array.hpp
jsrehak/BART
0460dfffbcf5671a730448de7f45cce39fd4a485
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/instrumentation/instrument_array.hpp
jsrehak/BART
0460dfffbcf5671a730448de7f45cce39fd4a485
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#ifndef BART_SRC_INSTRUMENTATION_INSTRUMENT_ARRAY_HPP_ #define BART_SRC_INSTRUMENTATION_INSTRUMENT_ARRAY_HPP_ #include <memory> #include <vector> #include "instrumentation/instrument_i.h" #include "utility/uncopyable.h" namespace bart::instrumentation { /*! \brief An instrument that can hold multiple other instrum...
31.756098
77
0.764977
[ "vector" ]
ea27a59800716635175da1959980a24cfb294e88
1,802
cpp
C++
test/unit_tests/math/test_geometry/test_line2d_par.cpp
Danpihl/arl
9c71ddd93523ffb72cad597ce09f986d638ea828
[ "MIT" ]
null
null
null
test/unit_tests/math/test_geometry/test_line2d_par.cpp
Danpihl/arl
9c71ddd93523ffb72cad597ce09f986d638ea828
[ "MIT" ]
null
null
null
test/unit_tests/math/test_geometry/test_line2d_par.cpp
Danpihl/arl
9c71ddd93523ffb72cad597ce09f986d638ea828
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <cmath> #include <iostream> #include <string> #include <vector> #include "arl/math.h" #include "test/unit_tests/math/math_test_utils.h" namespace arl { namespace { class ParametricLine2DTest : public testing::Test { protected: std::vector<double> px_vec; std::vector<double> ...
27.30303
97
0.576027
[ "vector" ]
ea321a8f33d53df299aa903fc135d702de159e24
17,775
cc
C++
tensorpipe/transport/shm/connection.cc
osalpekar/tensorpipe
bff4c20ebd6e64b084307015660c14d005cd7da3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/transport/shm/connection.cc
osalpekar/tensorpipe
bff4c20ebd6e64b084307015660c14d005cd7da3
[ "BSD-3-Clause" ]
null
null
null
tensorpipe/transport/shm/connection.cc
osalpekar/tensorpipe
bff4c20ebd6e64b084307015660c14d005cd7da3
[ "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/shm/connection.h> #include <string.h> #include <vector> #include <t...
28.44
79
0.667173
[ "vector" ]
ea3500e90af963726b25fbff8c67ed1d5151e82a
3,006
cc
C++
addon/thread_safe_callback.cc
deatough/electron-fhl
d6ffb6f488b208b4d490b87eff9a7fde10f999a0
[ "CC0-1.0" ]
null
null
null
addon/thread_safe_callback.cc
deatough/electron-fhl
d6ffb6f488b208b4d490b87eff9a7fde10f999a0
[ "CC0-1.0" ]
null
null
null
addon/thread_safe_callback.cc
deatough/electron-fhl
d6ffb6f488b208b4d490b87eff9a7fde10f999a0
[ "CC0-1.0" ]
null
null
null
#include "thread_safe_callback.h" #include "napi_utils.h" /** * Called when the the ThreadSafeFunction has been finalized */ __declspec(noinline) /*static*/ void ThreadSafeCallback::NApiFinalizeCallback(napi_env /*env*/, void* finalize_data, void* /*finalize_hint*/) { ThreadSafeCallback* spThis = reinterpret_cas...
35.364706
165
0.729874
[ "object" ]
ea3563bc10a91485bc1e5fe2df5021f2ab4928f5
2,474
cpp
C++
Source/WTF/wtf/DebugHeap.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
wtf/DebugHeap.cpp
apple-opensource/WTF
08551665a4d9763afa5a3c78f35fc4583f1f4d16
[ "MIT" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
wtf/DebugHeap.cpp
apple-opensource/WTF
08551665a4d9763afa5a3c78f35fc4583f1f4d16
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
30.170732
77
0.727162
[ "object" ]
ea393c983581cd8eb8430bab2e7a25d7d5d91439
7,740
cpp
C++
a1003/main.cpp
Ji-Yuhang/pat_cpp
100525878db4119eaa4be25ef192af9a3b9543bd
[ "MIT" ]
null
null
null
a1003/main.cpp
Ji-Yuhang/pat_cpp
100525878db4119eaa4be25ef192af9a3b9543bd
[ "MIT" ]
null
null
null
a1003/main.cpp
Ji-Yuhang/pat_cpp
100525878db4119eaa4be25ef192af9a3b9543bd
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <map> #include <vector> #include <algorithm> using namespace std; // 1003 Emergency (25) map<int, int> find_near_citys(const map<pair<int, int>, int>& citys, int city_id) { map<int, int> near_citys; map<pair<int, int>, int>::const_iterator it = citys.begin(); fo...
32.116183
134
0.504134
[ "vector" ]
ea3e9b329094f3b835b7c9c0836ac5939e670ca0
50,010
cpp
C++
inetcore/setup/ieak5/ieaksie/cs.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/setup/ieak5/ieaksie/cs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/setup/ieak5/ieaksie/cs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "precomp.h" #include <inetcpl.h> #include "rsop.h" #include "resource.h" #include <tchar.h> // Private forward decalarations static void pxyEnableDlgItems(HWND hDlg, BOOL fSame, BOOL fUseProxy); static INT_PTR CALLBACK importConnSettingsRSoPProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM l...
40.298147
118
0.512797
[ "object" ]
ea403bd3f967909545034e0687eec1fcd51e8992
1,532
cpp
C++
src/cpp/constant-source-node.cpp
node-3d/waa-raub
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
17
2018-10-03T00:44:33.000Z
2022-03-17T06:40:15.000Z
src/cpp/constant-source-node.cpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
7
2019-07-16T08:22:31.000Z
2021-11-29T21:45:06.000Z
src/cpp/constant-source-node.cpp
raub/node-waa
e458d76f290b1e12ef2a0adc063b521816337f04
[ "MIT" ]
2
2019-08-05T20:00:42.000Z
2020-03-15T13:25:41.000Z
#include "constant-source-node.hpp" ConstantSourceNode::ConstantSourceNode() : AudioScheduledSourceNode() { _isDestroyed = false; } ConstantSourceNode::~ConstantSourceNode() { _destroy(); } void ConstantSourceNode::_destroy() { DES_CHECK; _isDestroyed = true; AudioScheduledSourceNode::_destroy();...
16.473118
76
0.726501
[ "object" ]
ea404da0ad723efbc2dd26aef23e2ab86761c1d9
4,938
hpp
C++
Algorithm/svgpp/nvprsvg/svg_loader.hpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
Algorithm/svgpp/nvprsvg/svg_loader.hpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
Algorithm/svgpp/nvprsvg/svg_loader.hpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
/* svg_loader.hpp - class declaration for SVG loader */ // Copyright (c) NVIDIA Corporation. All rights reserved. #ifndef __svg_loader_hpp__ #define __svg_loader_hpp__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif #include "scene.hpp" #include <string> #include <map> using std::map; extern flo...
23.514286
81
0.652491
[ "transform" ]
356a76549e2610da4550b9fe95a57be1f5bf6118
1,505
cpp
C++
ad_map_opendrive_reader/src/parser/ControllerParser.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
ad_map_opendrive_reader/src/parser/ControllerParser.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
ad_map_opendrive_reader/src/parser/ControllerParser.cpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
/* * ----------------- BEGIN LICENSE BLOCK --------------------------------- * * Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma * de Barcelona (UAB). * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * * ----------------- END LICENSE BLOCK ---------------...
39.605263
113
0.641196
[ "vector" ]
356c9e392bcfcb0a7a654484f70d1099101f8fe9
3,086
cpp
C++
utils/utils.cpp
Kristian-Popov/Burstcoin-OpenCL-plotter
eb48f4d3dc41dc393321dadd30a1b58141924f4b
[ "Apache-2.0" ]
null
null
null
utils/utils.cpp
Kristian-Popov/Burstcoin-OpenCL-plotter
eb48f4d3dc41dc393321dadd30a1b58141924f4b
[ "Apache-2.0" ]
2
2018-03-04T18:44:47.000Z
2018-06-03T09:51:13.000Z
utils/utils.cpp
Kristian-Popov/Burstcoin-OpenCL-plotter
eb48f4d3dc41dc393321dadd30a1b58141924f4b
[ "Apache-2.0" ]
null
null
null
#include "utils.h" #include <type_traits> #include <boost/format.hpp> #ifdef __linux__ # include <sys/sysinfo.h> #endif // TODO move these functions to separate project/repository namespace Utils { std::string ReadFile( const std::string& fileName ) { std::ifstream stream( fileName ); std:...
27.801802
104
0.55606
[ "vector", "transform" ]
356cbbbcb8165d55bc9bc14e0e7f9fdb34ac15a4
3,247
cpp
C++
src/ms_outputformat.cpp
mapsherpa/node-mapserver
0675064c0209d88be82b9830abf042f8e0732d3f
[ "ISC" ]
null
null
null
src/ms_outputformat.cpp
mapsherpa/node-mapserver
0675064c0209d88be82b9830abf042f8e0732d3f
[ "ISC" ]
null
null
null
src/ms_outputformat.cpp
mapsherpa/node-mapserver
0675064c0209d88be82b9830abf042f8e0732d3f
[ "ISC" ]
null
null
null
#include "ms_outputformat.hpp" Nan::Persistent<v8::FunctionTemplate> MSOutputFormat::constructor; void MSOutputFormat::Initialize(v8::Local<v8::Object> target) { v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(MSOutputFormat::New); tpl->InstanceTemplate()->SetInternalFieldCount(1); tpl->Set...
34.542553
94
0.691715
[ "object" ]
356cbd6414bc241df3d83139abda9667b424960d
1,419
cpp
C++
Competitive Programming/Dynamic Programming Intro/CSES Problem Set/removingDigits.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
1
2022-03-24T06:38:53.000Z
2022-03-24T06:38:53.000Z
Competitive Programming/Dynamic Programming Intro/CSES Problem Set/removingDigits.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
null
null
null
Competitive Programming/Dynamic Programming Intro/CSES Problem Set/removingDigits.cpp
l0rdluc1f3r/CppCompetitiveProgramming
71376b5a6182dc446811072c73a2b13f33110d4c
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int #define ld long double #define mod 1000000007 #define inf 1e18 #define endl "\n" #define pb emplace_back #define vi vector<ll> #define vs vector<string> #define pii pair<ll,ll> #defin...
25.8
158
0.568006
[ "vector" ]
357cac670ac0509134f1255a118ac3bda7ebc2a5
401
cpp
C++
275.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:23.000Z
2020-09-12T07:38:23.000Z
275.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:27.000Z
2020-09-12T07:40:26.000Z
275.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
null
null
null
class Solution { public: int hIndex(vector<int>& citations) { int l = 0, r = citations.size()-1; int mid; int ans = citations.size(); while(l <= r){ mid=(l+r)/2; if(citations[mid]<(citations.size()-mid)){ l = mid+1; } el...
21.105263
54
0.438903
[ "vector" ]
357e682eae89b631870254d7cc785c400f6e183f
2,630
cpp
C++
aws-cpp-sdk-compute-optimizer/source/model/LambdaFunctionRecommendationFinding.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-compute-optimizer/source/model/LambdaFunctionRecommendationFinding.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-compute-optimizer/source/model/LambdaFunctionRecommendationFinding.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/compute-optimizer/model/LambdaFunctionRecommendationFinding.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer....
33.717949
114
0.6673
[ "model" ]
358bd9e9bbecc5e167aedc61b75c17c1e1a8a53d
19,266
cpp
C++
src/test/tests.cpp
kattkieru/palladio
7fca9d56244d5445f2ff7fe10b3f27423e86eb06
[ "Apache-2.0" ]
null
null
null
src/test/tests.cpp
kattkieru/palladio
7fca9d56244d5445f2ff7fe10b3f27423e86eb06
[ "Apache-2.0" ]
null
null
null
src/test/tests.cpp
kattkieru/palladio
7fca9d56244d5445f2ff7fe10b3f27423e86eb06
[ "Apache-2.0" ]
1
2020-02-16T00:53:52.000Z
2020-02-16T00:53:52.000Z
/* * Copyright 2014-2018 Esri R&D Zurich and VRBN * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
31.429038
145
0.627271
[ "mesh", "geometry", "object", "vector" ]
35928eb03d0f32cc95d2bed85745c05c66b20fb8
580,032
cpp
C++
glslang/MachineIndependent/glslang_tab.cpp
cmarcelo/glslang
d352577a99cfbd1dca01cf19ae3b2b988b662922
[ "Apache-2.0" ]
null
null
null
glslang/MachineIndependent/glslang_tab.cpp
cmarcelo/glslang
d352577a99cfbd1dca01cf19ae3b2b988b662922
[ "Apache-2.0" ]
null
null
null
glslang/MachineIndependent/glslang_tab.cpp
cmarcelo/glslang
d352577a99cfbd1dca01cf19ae3b2b988b662922
[ "Apache-2.0" ]
null
null
null
/* A Bison parser, made by GNU Bison 3.7.5. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
50.67552
258
0.54127
[ "vector" ]
3598aa590ebffe2a77ba45cf38373fc83ffae191
1,297
cpp
C++
src/bandits.cpp
nektonick/multi-armed-bandit
fa41a52fec32a4536f901c63ad42132e826663af
[ "BSD-2-Clause" ]
1
2022-01-05T01:54:51.000Z
2022-01-05T01:54:51.000Z
src/bandits.cpp
nektonick/multi-armed-bandit
fa41a52fec32a4536f901c63ad42132e826663af
[ "BSD-2-Clause" ]
null
null
null
src/bandits.cpp
nektonick/multi-armed-bandit
fa41a52fec32a4536f901c63ad42132e826663af
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "bandits.h" namespace multiArmedBandit { IBandit::IBandit() { } SimpleBandit::SimpleBandit(const std::vector<ArmPtr>& arms, double pullCost) : arms_(arms) , pullCost_(pullCost) { std::vector<double> expectedRewards(arms.size(), 0.0); for(size_t i = 0; i < arms_.size(); ...
24.471698
125
0.683886
[ "vector" ]
3599b6cb9f6087a539e812ed5eb9f34a4947b308
18,061
cpp
C++
src/main.cpp
jmac006/rshell
5d597c64ecc2b60640f8519e94942d293134c4da
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
jmac006/rshell
5d597c64ecc2b60640f8519e94942d293134c4da
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
jmac006/rshell
5d597c64ecc2b60640f8519e94942d293134c4da
[ "BSD-3-Clause" ]
1
2016-06-09T05:32:03.000Z
2016-06-09T05:32:03.000Z
#include <iostream> #include <stdio.h> #include <unistd.h> //used for fork(), execvp() #include <sys/types.h> //used for wait #include <sys/wait.h> //used for wait #include <sys/stat.h> #include <string.h> #include <cstdlib> #include <fcntl.h> //used for file descriptor #include <vector> #include <stack> using namespa...
27.323752
138
0.625602
[ "vector" ]
359de53a31980513e76a24909a0cf73f8824d3e0
23,790
cpp
C++
synthesizer/src/symRiSynthesiser.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
synthesizer/src/symRiSynthesiser.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
synthesizer/src/symRiSynthesiser.cpp
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
#include "../lib/bottomUpSearch.hpp" #include "../lib/unification.hpp" #include "../lib/sampler.hpp" #include "../lib/typeDef.hpp" #include <vector> #include <future> #include <chrono> #include <thread> #include <functional> #include <string> #include <fstream> #include <sstream> using namespace std; //#define DEBUG ...
35.828313
155
0.508239
[ "vector" ]
359f6dbe56a04e2764aef31c41bd96a70b36c071
12,085
cpp
C++
OculusPlayer/Renderer.cpp
AlloSphere-Research-Group/AlloStreamer
611f7db9c9e4aab3ca83ad62eec0a0c637e76119
[ "BSD-3-Clause" ]
5
2016-04-01T09:43:00.000Z
2019-06-09T19:04:18.000Z
OculusPlayer/Renderer.cpp
AlloSphere-Research-Group/AlloStreamer
611f7db9c9e4aab3ca83ad62eec0a0c637e76119
[ "BSD-3-Clause" ]
null
null
null
OculusPlayer/Renderer.cpp
AlloSphere-Research-Group/AlloStreamer
611f7db9c9e4aab3ca83ad62eec0a0c637e76119
[ "BSD-3-Clause" ]
3
2016-04-08T00:34:43.000Z
2019-11-15T19:21:13.000Z
#include "Renderer.hpp" // Include DirectX #include "Win32_DirectXAppUtil.h" // Include the Oculus SDK #define OVR_D3D_VERSION 11 #include "OVR_CAPI_D3D.h" using namespace OVR; Renderer::Renderer(CubemapSource* cubemapSource) : cubemapSource(cubemapSource), texture(nullptr) { OculusInit(); std::funct...
30.440806
139
0.691105
[ "render", "model", "transform" ]
35a590ee9aaf32e3c981d934ef85b606bda99a50
24,473
hpp
C++
inc/dcs/system/posix_process.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
inc/dcs/system/posix_process.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
inc/dcs/system/posix_process.hpp
sguazt/dcsxx-commons
0fc1fd8a38b7c412941b401c00a9293bc5df8b21
[ "Apache-2.0" ]
null
null
null
/** * \file dcs/system/posix_process.hpp * * \brief Class to create and manage a process in POSIX-compliant systems. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2012 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License");...
26.805038
138
0.647285
[ "vector" ]
35a8d0418d9fbccaccb2e21a6f5eb8ebaa2a1f81
1,430
hpp
C++
src/dialog.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
src/dialog.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
src/dialog.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014 Kristina Simpson <sweet.kristas@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
25.535714
78
0.737063
[ "vector" ]
35b9b5847ca0336721330a13a4fa7db36de5adc7
2,135
cpp
C++
MainWindow.cpp
jplflyer/qt-TreeViewDemo
a3e74d410a3e6e4512377755de5f29a34f963cd5
[ "Unlicense" ]
3
2019-08-16T03:43:23.000Z
2020-12-30T03:26:36.000Z
MainWindow.cpp
jplflyer/qt-TreeViewDemo
a3e74d410a3e6e4512377755de5f29a34f963cd5
[ "Unlicense" ]
null
null
null
MainWindow.cpp
jplflyer/qt-TreeViewDemo
a3e74d410a3e6e4512377755de5f29a34f963cd5
[ "Unlicense" ]
2
2020-04-08T16:41:03.000Z
2021-05-04T08:45:00.000Z
#include <iostream> #include <QTimer> #include "MainWindow.h" #include "ui_MainWindow.h" using namespace std; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), model(new MyDataModel(nullptr, &topData)) { ui->setupUi(this); ui->treeView->setModel(model); ...
27.727273
124
0.670258
[ "model" ]
35c1e653daf1d5242c30190941b785209b52a355
386
hpp
C++
PlanetLab/src/engine/shape/ShapeSphere.hpp
Thomas-Zorroche/Procedural-Planets
44f8a9fa3120d11d137e4f499142333e81ed68ce
[ "MIT" ]
null
null
null
PlanetLab/src/engine/shape/ShapeSphere.hpp
Thomas-Zorroche/Procedural-Planets
44f8a9fa3120d11d137e4f499142333e81ed68ce
[ "MIT" ]
null
null
null
PlanetLab/src/engine/shape/ShapeSphere.hpp
Thomas-Zorroche/Procedural-Planets
44f8a9fa3120d11d137e4f499142333e81ed68ce
[ "MIT" ]
null
null
null
#pragma once namespace PlanetLab { class ShapeSphere { public: ShapeSphere(float radius = 1.0f, int rings = 12, int sector = 24); const ShapeVertex* vertices() const { return &_vertices[0]; } GLsizei vertexCount() const { return _nVertexCount; } private: void build(float radius, int rings, int sector); ...
14.846154
67
0.715026
[ "vector" ]
35c7cbf01faa683862972726c3c0cc22dd9fa4ca
142,832
cpp
C++
Engine/Source/Runtime/Renderer/Private/DistanceFieldSurfaceCacheLighting.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Renderer/Private/DistanceFieldSurfaceCacheLighting.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Renderer/Private/DistanceFieldSurfaceCacheLighting.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= DistanceFieldSurfaceCacheLighting.cpp =============================================================================*/ #include "RendererPrivate.h" #include "ScenePrivate.h" #in...
40.774194
236
0.801837
[ "geometry", "render", "object", "vector", "solid" ]
35c834b933d06273d3096f914c8d79589f1c013a
9,663
c++
C++
ffe/currents/driftcurrent.c++
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
null
null
null
ffe/currents/driftcurrent.c++
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
null
null
null
ffe/currents/driftcurrent.c++
Krissmedt/imprunko
94171d0d47171cc4b199cd52f5f29385cbff903e
[ "MIT" ]
null
null
null
#include "driftcurrent.h" #include "../../em-fields/tile.h" #include "../../tools/signum.h" #include <cmath> template<> void ffe::DriftCurrent<2>::interpolate_b( fields::YeeLattice& yee ) { int k = 0; for(int j=0; j<static_cast<int>(yee.Ny); j++) for(int i=0; i<static_cast<int>(yee.Nx); i++) { b...
22.524476
79
0.508434
[ "mesh", "3d" ]
35cb62f4672eae74d77f631a1886ad1cc50c2229
3,665
cpp
C++
src/reset.cpp
0u812/libcellml
8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e
[ "Apache-2.0" ]
null
null
null
src/reset.cpp
0u812/libcellml
8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e
[ "Apache-2.0" ]
null
null
null
src/reset.cpp
0u812/libcellml
8e4c73dcb8e8c6e40a9d75067a361ac1807aa83e
[ "Apache-2.0" ]
null
null
null
/* Copyright libCellML 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 law or agreed to in writing, softwa...
20.942857
78
0.657572
[ "vector" ]
35cd6660d0fcacc520313c84621e55bfab19cc1e
963
cpp
C++
aws-cpp-sdk-macie2/source/model/AwsService.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-macie2/source/model/AwsService.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-macie2/source/model/AwsService.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/macie2/model/AwsService.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace M...
16.05
69
0.713396
[ "model" ]
35d88f0a114f289d0dd553ad6bd4e71f9e482bd6
11,990
cpp
C++
project/src/voxelsystem.cpp
ebirenbaum/yurtcraft
4d5ee607e902dfa7db60e7e0b6736cd6d4704e70
[ "MIT" ]
null
null
null
project/src/voxelsystem.cpp
ebirenbaum/yurtcraft
4d5ee607e902dfa7db60e7e0b6736cd6d4704e70
[ "MIT" ]
null
null
null
project/src/voxelsystem.cpp
ebirenbaum/yurtcraft
4d5ee607e902dfa7db60e7e0b6736cd6d4704e70
[ "MIT" ]
null
null
null
#include "voxelsystem.h" #include "entity.h" VoxelSystem::VoxelSystem(/*const string &atlas*/) : /*m_atlas(atlas), */m_factory(NULL) { int n = 3; m_xb = Vector2(-n,n); m_yb = Vector2(0,n); m_zb = Vector2(-n,n); for (int i = 0; i < NUM_THREADS; i++){ m_threadData[i].active = false; ...
35.264706
145
0.492994
[ "vector" ]
35dc9c82cf389534e050493989b4696d4ce5eee7
2,396
cpp
C++
src/db/provider/db-session-provider.cpp
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
src/db/provider/db-session-provider.cpp
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
src/db/provider/db-session-provider.cpp
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
1
2021-03-17T10:04:06.000Z
2021-03-17T10:04:06.000Z
/* * db-session-provider.cpp * Copyright (C) 2017 Belledonne Communications SARL * * 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, either version 3 of the License, or * (at your option) ...
28.52381
85
0.696995
[ "object" ]
35deab9027426a5e93458ec6ed1c0624f460149d
3,010
cpp
C++
Emscripten/G3MEmscripten/G3MEmscripten/JSONParser_Emscripten.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
Emscripten/G3MEmscripten/G3MEmscripten/JSONParser_Emscripten.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
Emscripten/G3MEmscripten/G3MEmscripten/JSONParser_Emscripten.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
#include "JSONParser_Emscripten.hpp" #include <emscripten/val.h> #include "EMStorage.hpp" #include "G3M/IByteBuffer.hpp" #include "G3M/JSONNull.hpp" #include "G3M/JSONBoolean.hpp" #include "G3M/JSONInteger.hpp" #include "G3M/JSONLong.hpp" #include "G3M/JSONFloat.hpp" #include "G3M/JSONDouble.hpp" #include "G3M/JSO...
24.672131
89
0.609967
[ "object" ]
e3019b3577c7c059f6b29ce530f5ee072467b369
4,437
cpp
C++
shaharmike/shared_pointer.cpp
IslameN/c-
f57ed8b61879571f17f413bd22ccc904bddde79f
[ "MIT" ]
1
2021-03-11T15:36:57.000Z
2021-03-11T15:36:57.000Z
shaharmike/shared_pointer.cpp
IslameN/c-
f57ed8b61879571f17f413bd22ccc904bddde79f
[ "MIT" ]
null
null
null
shaharmike/shared_pointer.cpp
IslameN/c-
f57ed8b61879571f17f413bd22ccc904bddde79f
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <type_traits> struct Snitch { public: Snitch() { std::cout << "c'tor: " << this << std::endl; } ~Snitch() { std::cout << "d'tor: " << this << std::endl; } Snitch(Snitch const&) { std::cout << "copy c'tor: " << this << std::endl; } Snitch(Snitch&&) { std...
32.386861
186
0.622718
[ "object" ]
e3068df6f77d102585213320d4f31c19ab6f6a49
7,847
cpp
C++
src/particle_filter.cpp
Mleekko/CarND-Kidnapped-Vehicle-Project
e34b54928bf24885a64d30210fc227b54a7f2fa4
[ "MIT" ]
null
null
null
src/particle_filter.cpp
Mleekko/CarND-Kidnapped-Vehicle-Project
e34b54928bf24885a64d30210fc227b54a7f2fa4
[ "MIT" ]
null
null
null
src/particle_filter.cpp
Mleekko/CarND-Kidnapped-Vehicle-Project
e34b54928bf24885a64d30210fc227b54a7f2fa4
[ "MIT" ]
null
null
null
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang */ #include "particle_filter.h" #include <cmath> #include <algorithm> #include <iostream> #include <iterator> #include <random> #include <string> #include <vector> #include <cassert> #include <unordered_map> #include "helper_function...
35.346847
118
0.618325
[ "vector" ]
e306baf8c94aaea83770f80f4d2c1f4a9f828abb
16,034
cpp
C++
pge/source/pge/rendering/voxel/VoxelChunk.cpp
222464/PGE
8801301046a0412c323444a7f9f49e02f9ac87cc
[ "Zlib" ]
100
2016-05-04T00:05:43.000Z
2021-09-11T17:34:31.000Z
pge/source/pge/rendering/voxel/VoxelChunk.cpp
222464/PGE
8801301046a0412c323444a7f9f49e02f9ac87cc
[ "Zlib" ]
8
2016-05-06T12:51:53.000Z
2017-07-20T20:15:46.000Z
pge/source/pge/rendering/voxel/VoxelChunk.cpp
222464/PGE
8801301046a0412c323444a7f9f49e02f9ac87cc
[ "Zlib" ]
16
2016-05-04T06:37:20.000Z
2020-11-12T17:24:55.000Z
#include <pge/rendering/voxel/VoxelChunk.h> #include <pge/rendering/voxel/VoxelTerrain.h> #include <pge/util/Math.h> using namespace pge; void VoxelChunk::create(const SceneObjectRef &voxelTerrain, const Point3i &centerRelativePosition) { _renderMask = 0xffff; _voxelTerrain = voxelTerrain; if (_sharedData == ...
35.950673
161
0.689909
[ "mesh", "vector" ]
e31539db0cad5fb2e3f59617314d31b51ff4d72e
1,234
hpp
C++
src/org/apache/poi/util/TempFile.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/util/TempFile.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/util/TempFile.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/util/TempFile.java #pragma once #include <java/io/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <org/apache/poi/util/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::util::TempFile final : public ::java::lang::Object { public: ...
23.730769
130
0.705024
[ "object" ]
e31efc59d2feb2cd14b6582533b3e1eba18b9e2a
702
cpp
C++
src/parser/Utils.cpp
uchr/DreamfallTLJViewer
857174b278cd7527fd96dd36b2f4169b86ab6626
[ "MIT" ]
null
null
null
src/parser/Utils.cpp
uchr/DreamfallTLJViewer
857174b278cd7527fd96dd36b2f4169b86ab6626
[ "MIT" ]
null
null
null
src/parser/Utils.cpp
uchr/DreamfallTLJViewer
857174b278cd7527fd96dd36b2f4169b86ab6626
[ "MIT" ]
null
null
null
#include "Utils.h" #include <filesystem> #include <sstream> namespace Utils { std::vector<std::string> splitString(const std::string& str, char delimiter) { std::vector<std::string> tokens; std::string token; std::istringstream tokenStream(str); while (std::getline(tokenStream, token, delimiter)) { ...
26
78
0.703704
[ "vector" ]
e32016af9d1fa919a3823d83a8fe2b17806d3d62
988
cpp
C++
others/diverta/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
others/diverta/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
others/diverta/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //const int MOD = 100000...
21.478261
83
0.486842
[ "vector" ]
e3285022cfc952a5ef50561d55c6982806735529
3,739
cc
C++
ccc/src/model/ListUnreachableContactsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
ccc/src/model/ListUnreachableContactsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
ccc/src/model/ListUnreachableContactsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * 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...
33.383929
111
0.755282
[ "model" ]
e32cd1e3ab125e7ccb866fa3d2d4ed440c9a8e51
4,597
cpp
C++
1068/Laboratory_10/Source.cpp
catalinboja/cpp-2021
fbc8147b35bce9d0ea9de7d9b166e1dc3d61d4e7
[ "MIT" ]
null
null
null
1068/Laboratory_10/Source.cpp
catalinboja/cpp-2021
fbc8147b35bce9d0ea9de7d9b166e1dc3d61d4e7
[ "MIT" ]
null
null
null
1068/Laboratory_10/Source.cpp
catalinboja/cpp-2021
fbc8147b35bce9d0ea9de7d9b166e1dc3d61d4e7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; class DailySalesData { string productName = ""; char* productDescription = nullptr; const int barCodeNumber; int* itemsPerDay = nullptr; int noDays = 0; public: //constructor DailySalesData(string name, const char* description, int barCode) : barCo...
24.715054
103
0.703502
[ "object" ]
e332f940e05249eaf92cc58d7e1b350343cb5dd6
28,677
cpp
C++
ext/include/osgEarth/OverlayDecorator.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarth/OverlayDecorator.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarth/OverlayDecorator.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...
33.698002
202
0.569864
[ "geometry", "vector", "transform", "3d" ]
e336b7954b3aca95a67f6be8ebd04bdf3667018c
41,483
cpp
C++
hoardingCpp/HousesHotel.cpp
rishabh2d/Monopoly
cd484a71f2dc50b6f088c61e46fc3daf68bf5f0a
[ "MIT" ]
null
null
null
hoardingCpp/HousesHotel.cpp
rishabh2d/Monopoly
cd484a71f2dc50b6f088c61e46fc3daf68bf5f0a
[ "MIT" ]
null
null
null
hoardingCpp/HousesHotel.cpp
rishabh2d/Monopoly
cd484a71f2dc50b6f088c61e46fc3daf68bf5f0a
[ "MIT" ]
null
null
null
// // Created by Rishabh 2 on 2/20/18. // #include <iostream> #include <vector> #include <cmath> #include <memory> #include "SpaceX.h" void Monopoly::GamestateClass::BuyingUpgradeMechanics(Monopoly::BoardClass &board, Monopoly::DiceRollClass *diceRoll, unsigned lon...
48.746181
140
0.558325
[ "vector" ]
e33e1b3cc65e5887228a47cc589c67aa3d62ff53
1,745
cpp
C++
configuration/configmgr/configmgrlib/InsertableItem.cpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
286
2015-01-03T12:45:17.000Z
2022-03-25T18:12:57.000Z
configuration/configmgr/configmgrlib/InsertableItem.cpp
davidarcher/HPCC-Platform
fa817ab9ea7d8154ac08bc780ce9ce673f3e51e3
[ "Apache-2.0" ]
9,034
2015-01-02T08:49:19.000Z
2022-03-31T20:34:44.000Z
configuration/configmgr/configmgrlib/InsertableItem.cpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
208
2015-01-02T03:27:28.000Z
2022-02-11T05:54:52.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems®. 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....
41.547619
135
0.656734
[ "vector" ]
e34d91f365f5f320e5931358fbc28537119574f3
2,088
cpp
C++
source/de/hackcraft/world/sub/weapon/rWepcom.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
23
2015-12-08T19:29:10.000Z
2021-09-22T04:13:31.000Z
source/de/hackcraft/world/sub/weapon/rWepcom.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
7
2018-04-30T13:05:57.000Z
2021-08-25T03:58:07.000Z
source/de/hackcraft/world/sub/weapon/rWepcom.cpp
DMJC/linwarrior
50cd46660c11e58cc6fbc431a150cf55ce0dd682
[ "Apache-2.0" ]
4
2018-01-25T03:05:19.000Z
2021-08-25T03:30:15.000Z
#include "rWepcom.h" #include "de/hackcraft/psi3d/Primitive.h" #include "de/hackcraft/world/sub/weapon/rWeapon.h" std::string rWepcom::cname = "WEPCOM"; unsigned int rWepcom::cid = 4280; rWepcom::rWepcom(Entity* obj) { object = obj; currentWeapon = 0; cycleWeapon = true; singleWeapon = t...
22.212766
75
0.517241
[ "object" ]
e3531112d2e4130ad859bbba417e214e9ad65b13
2,761
cpp
C++
src/graphics.cpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
src/graphics.cpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
src/graphics.cpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
/*============================================================================ Copyright (C) 2016 akitsu sanae https://github.com/akitsu-sanae/phylan Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) ==========================...
34.08642
79
0.545455
[ "vector" ]
e35442033b39e42823c216d4156429bbc55ded25
5,144
cc
C++
src/recon_tests.cc
ezander/dvrlib
3fd26d5fce9e284588c1960cf4e3f7f99d2d44c5
[ "MIT" ]
null
null
null
src/recon_tests.cc
ezander/dvrlib
3fd26d5fce9e284588c1960cf4e3f7f99d2d44c5
[ "MIT" ]
null
null
null
src/recon_tests.cc
ezander/dvrlib
3fd26d5fce9e284588c1960cf4e3f7f99d2d44c5
[ "MIT" ]
null
null
null
#include <cassert> #include <cmath> #include "recon_tests.h" #include "recon.h" #include "gsl_wrapper.h" #include "utils.h" using namespace dvrlib; #define assert_equal(a, b)\ assert((a)==(b)) #define assert_almost_equal(a, b)\ assert(fabs((a)-(b))<1e-7*(fabs(a)+fabs(b))) #define assert_vector_almost_equal_upto(a,...
23.814815
73
0.619168
[ "vector" ]
e35a9d095b66ea915aeb0b14fa6ecd6b6976442a
19,268
cpp
C++
cpp/nft/src/main.cpp
HunterSun2018/violas-client-sdk
e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67
[ "MIT" ]
null
null
null
cpp/nft/src/main.cpp
HunterSun2018/violas-client-sdk
e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67
[ "MIT" ]
null
null
null
cpp/nft/src/main.cpp
HunterSun2018/violas-client-sdk
e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67
[ "MIT" ]
2
2021-12-28T06:50:27.000Z
2022-02-15T09:28:36.000Z
#include <iostream> #include <map> #include <functional> #include <random> #include <utils.hpp> #include <violas_sdk2.hpp> #include <argument.hpp> #include <bcs_serde.hpp> #include <json_rpc.hpp> #include <console.hpp> #include <ssl_aes.hpp> #include "tea.hpp" using namespace std; using namespace violas; using namesp...
31.4323
125
0.486766
[ "vector" ]
e35fd5e9d9043ae9747fb49d855033ad04c63c71
3,344
cpp
C++
bytesteady/flags.cpp
ElementAI/bytesteady
737cfc4a5fc0f0ad783ccc70b73200b5e3cef06f
[ "Apache-2.0" ]
3
2021-11-08T19:18:32.000Z
2022-03-06T06:09:58.000Z
bytesteady/flags.cpp
ElementAI/bytesteady
737cfc4a5fc0f0ad783ccc70b73200b5e3cef06f
[ "Apache-2.0" ]
null
null
null
bytesteady/flags.cpp
ElementAI/bytesteady
737cfc4a5fc0f0ad783ccc70b73200b5e3cef06f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 ServiceNow * 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, s...
48.463768
80
0.738636
[ "model" ]
e36d87c438141fbed870d9a804f58b81e88d8448
3,195
hpp
C++
include/image_processor.hpp
naibaf7/caffe_neural_tool
95190e2b2f0a6f6dd0ac47c5e661079e19d56dd3
[ "BSD-2-Clause" ]
20
2015-06-11T07:48:21.000Z
2020-12-27T17:20:42.000Z
include/image_processor.hpp
naibaf7/caffe_neural_tool
95190e2b2f0a6f6dd0ac47c5e661079e19d56dd3
[ "BSD-2-Clause" ]
3
2015-07-17T07:36:12.000Z
2016-04-28T00:16:16.000Z
include/image_processor.hpp
naibaf7/caffe_neural_tool
95190e2b2f0a6f6dd0ac47c5e661079e19d56dd3
[ "BSD-2-Clause" ]
15
2015-07-08T18:53:52.000Z
2019-12-02T16:45:23.000Z
/* * image_preprocessor.hpp * * Created on: Apr 3, 2015 * Author: Fabian Tschopp */ #ifndef IMAGE_PROCESSOR_HPP_ #define IMAGE_PROCESSOR_HPP_ #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <functional> namespace caffe_neural { class...
25.97561
73
0.741158
[ "vector" ]
e371fbf8762c45c3ac9a36fbd5674a9ec923c2ab
572
cc
C++
cpp/hackranker/h32.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/hackranker/h32.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
cpp/hackranker/h32.cc
staugust/leetcode
0ddd0b0941e596d3c6a21b6717d0dd193025f580
[ "Apache-2.0" ]
null
null
null
/* * */ #include <iostream> #include <vector> #include <string> #include <algorithm> #include <iomanip> #include <cstdlib> #include <cstdio> #include <map> #include <set> #include <deque> #include <queue> using namespace std; int beautifulPairs(vector<int> A, vector<int> B) { map<int, int> b; int cnt = 0; for (a...
15.052632
60
0.564685
[ "vector" ]
e373f1eb86cfb48efb8e093372b015905df3dff0
2,828
cpp
C++
src/semi.cpp
SubbulakshmiRS/Jetpack-Joyride
0d7178e16936f719d5753452ffdc50b6bb8d1cf7
[ "MIT" ]
null
null
null
src/semi.cpp
SubbulakshmiRS/Jetpack-Joyride
0d7178e16936f719d5753452ffdc50b6bb8d1cf7
[ "MIT" ]
null
null
null
src/semi.cpp
SubbulakshmiRS/Jetpack-Joyride
0d7178e16936f719d5753452ffdc50b6bb8d1cf7
[ "MIT" ]
null
null
null
#include "semi.h" #include "main.h" Semi::Semi(int scene) { float x =6.0f,y=0.5f ; float rotation =0; this->position = glm::vec3(x, y, 0); speed = 0.05; // Our vertices. Three consecutive floats give a 3D vertex; Three consecutive vertices give a triangle. // A cube has 6 faces with 2 triangle...
32.136364
107
0.617751
[ "object", "model", "3d" ]
e3745e3cad0e66a311e79f3536f6e9be81029259
18,762
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/uce/dirtyregion.cpp
Mu-L/wpf
a539c26bb4c099acaf902077e03f787775b082fd
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/uce/dirtyregion.cpp
Mu-L/wpf
a539c26bb4c099acaf902077e03f787775b082fd
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/uce/dirtyregion.cpp
Mu-L/wpf
a539c26bb4c099acaf902077e03f787775b082fd
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //----------------------------------------------------------------------------- // // // Description: // Dir...
32.915789
115
0.518975
[ "render", "object", "shape" ]
e377365eb9efad42327785b0183ec02ce3506af1
3,724
cpp
C++
src/base/ossimDirectoryTree.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/base/ossimDirectoryTree.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/base/ossimDirectoryTree.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//******************************************************************* // // License: See top level LICENSE.txt file. // // Author: Garrett Potts (gpotts@imagelinks) // Description: A brief description of the contents of the file. // //************************************************************************* // $Id: o...
23.871795
82
0.612513
[ "vector" ]
e37bd7e6e95f6459073a1291d5e4aaa9538c6633
12,429
cpp
C++
src/errors/CorrectionAligner.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
53
2015-02-05T02:26:15.000Z
2022-01-13T05:37:06.000Z
src/errors/CorrectionAligner.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
9
2015-09-03T23:42:14.000Z
2021-10-15T15:25:49.000Z
src/errors/CorrectionAligner.cpp
ndaniel/BEETL
4f35e2f6a18be624c1159f3ffe042eb8490f94bf
[ "BSD-2-Clause" ]
23
2015-01-08T13:43:07.000Z
2021-05-19T17:35:42.000Z
/** ** Copyright (c) 2011-2014 Illumina, Inc. ** ** This file is part of the BEETL software package, ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** Citation: Markus J. Bauer, Anthony J. Cox and Giovanna Rosone ** Lightweight BWT Construction for Very Large String Collections. ** ...
33.144
174
0.599646
[ "vector" ]
be6bb5c205491d570e2baf71fe665e53bfd1e2cc
1,428
cpp
C++
2015/Day10/Day10.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
2015/Day10/Day10.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
2015/Day10/Day10.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
// Day10.cpp : Defines the entry point for the console application. // #include "stdafx.h" static void AppendCurrentCharacter(std::string & Buffer, char CurrentCharacter, uint32_t AmountOfCurrentCharacter); int main() { const std::vector<size_t> Steps = { 40, 50 }; auto CurrentStep = Steps.begin(); std::string In...
22.3125
115
0.677171
[ "vector" ]
be6fa2aa0fdb3641b5d45bf8e0f32a7d32b9b245
5,121
tcc
C++
Scr/mp_graph/include/tools.tcc
bo-rc/data_structures
d568b240aff9ceaf5c220684358e32643b8b1864
[ "MIT" ]
null
null
null
Scr/mp_graph/include/tools.tcc
bo-rc/data_structures
d568b240aff9ceaf5c220684358e32643b8b1864
[ "MIT" ]
null
null
null
Scr/mp_graph/include/tools.tcc
bo-rc/data_structures
d568b240aff9ceaf5c220684358e32643b8b1864
[ "MIT" ]
null
null
null
/** * @file tools.tcc * Definition of utility functions on graphs. */ #include <limits> #include <queue> #include <iostream> #include "dsets.h" #include "tools.h" #include "tools_provided.h" namespace cs225 { namespace tools { template <class Graph> typename Graph::edge_weight_type min_weight_edge(Graph& g) { ...
22.362445
83
0.525874
[ "vector" ]
be70c523b8465d9f4ceefbb87916fbf05746d270
1,506
cpp
C++
source/main.cpp
llamaking136/edclone
502ce15cab3e6ccf3609785bf23787668f6d6f32
[ "Apache-2.0" ]
1
2021-03-08T20:19:40.000Z
2021-03-08T20:19:40.000Z
source/main.cpp
llamaking136/edclone
502ce15cab3e6ccf3609785bf23787668f6d6f32
[ "Apache-2.0" ]
null
null
null
source/main.cpp
llamaking136/edclone
502ce15cab3e6ccf3609785bf23787668f6d6f32
[ "Apache-2.0" ]
null
null
null
// // main.cpp // // created at 07/03/2021 19:41:32 // written by llamaking136 // // Copyright 2021 llamaking136 // // 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.apac...
24.290323
79
0.693227
[ "vector" ]
be7875d7af0c3f209f847dc12d4719f59ece7354
5,389
cpp
C++
term6/OSiS/lab10/lab10.cpp
japanese-goblinn/labs
47f5d59d28faf62c82535856e138b5cb98159fd0
[ "MIT" ]
null
null
null
term6/OSiS/lab10/lab10.cpp
japanese-goblinn/labs
47f5d59d28faf62c82535856e138b5cb98159fd0
[ "MIT" ]
null
null
null
term6/OSiS/lab10/lab10.cpp
japanese-goblinn/labs
47f5d59d28faf62c82535856e138b5cb98159fd0
[ "MIT" ]
1
2021-10-11T08:30:48.000Z
2021-10-11T08:30:48.000Z
#include "stdafx.h" #include "lab10.h" #define MAX_LOADSTRING 100 HINSTANCE hInst; TCHAR szTitle[MAX_LOADSTRING]; TCHAR szWindowClass[MAX_LOADSTRING]; ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); INT_PTR CA...
24.274775
81
0.561329
[ "shape" ]
be8413c5ae60aeeebfd55a02fcd306699274cb04
12,595
cpp
C++
internal/dll_project/ohtorii_tools/ohtorii_tools/kinds.cpp
ohtorii/gather
16857d53243dd597a1f451b3dcb53e87202131bf
[ "MIT" ]
2
2020-12-03T00:29:26.000Z
2020-12-12T08:02:17.000Z
internal/dll_project/ohtorii_tools/ohtorii_tools/kinds.cpp
ohtorii/unity
c3b5e4befb2e980cdc46d258eea4f9c7f6598db1
[ "MIT" ]
null
null
null
internal/dll_project/ohtorii_tools/ohtorii_tools/kinds.cpp
ohtorii/unity
c3b5e4befb2e980cdc46d258eea4f9c7f6598db1
[ "MIT" ]
null
null
null
#include"stdafx.h" /////////////////////////////////////////////////////////////////////////////// // global variable /////////////////////////////////////////////////////////////////////////////// static WCHAR gs_empty[] = { 0 }; static const WCHAR *gs_prefix =_T("action."); static const size_t gs_prefix_size...
27.440087
148
0.628027
[ "vector" ]
be89c4c74e477599dcc0156c950d659ff24c326d
36,900
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_perf_meas_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_perf_meas_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_perf_meas_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_perf_meas_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_perf_meas_cfg { PerformanceMeasurement::PerformanceMeasurement() ...
32.368421
219
0.724173
[ "vector" ]
be8daead0177c1d112a7f2c3772d05ed0337ab4d
1,018
cpp
C++
1201-1300/1245-Tree Diameter/1245-Tree Diameter.cpp
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1201-1300/1245-Tree Diameter/1245-Tree Diameter.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1201-1300/1245-Tree Diameter/1245-Tree Diameter.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int treeDiameter(vector<vector<int>>& edges) { int n = edges.size(); if (n == 0) return 0; vector<vector<int>> graph(n + 1); for (auto& e : edges) { graph[e[0]].push_back(e[1]); graph[e[1]].push_back(e[0]); } i...
27.513514
74
0.436149
[ "vector" ]
be94fc48c73178d934abe97fc6e61cf5d9ae4553
5,253
cpp
C++
VideoCube/VideoCubeCV/keybertwrapper.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
null
null
null
VideoCube/VideoCubeCV/keybertwrapper.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
null
null
null
VideoCube/VideoCubeCV/keybertwrapper.cpp
Kvazikot/VideoProjects
899cd047dd791b0e2f33d40cf6e11fe949333329
[ "MIT" ]
null
null
null
/* + - - - + - + - - + - + - + copyright by Vladimir Baranov (Kvazikot) <br> + - + - + email: vsbaranov83@gmail.com <br> + - + - + github: http://github.com/Kvazikot/VideoProjects <br> ) ( /( (\___/) )\ ( #) \ ('')| ( # ...
36.479167
159
0.60613
[ "object", "vector" ]
be9677bfe4fdc7df1c47ad3edc20f50652e81251
14,989
cpp
C++
src/gui/src/core/interfaces/impl/iota-node.cpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
1
2020-11-19T07:18:44.000Z
2020-11-19T07:18:44.000Z
src/gui/src/core/interfaces/impl/iota-node.cpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
null
null
null
src/gui/src/core/interfaces/impl/iota-node.cpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
null
null
null
// Copyright (c) 2018-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "iota-node.hpp" #include <QJsonDocument> #include <QJsonValue> #include <QJsonArray> #include <QPointer> #include <...
25.71012
151
0.674028
[ "object", "vector", "solid" ]
be992563856262f0fee3711df65426a2aed2395e
3,469
cpp
C++
LeetCode/14_longest_common_prefix.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/14_longest_common_prefix.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/14_longest_common_prefix.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <algorithm> #include <cstdlib> #include <string> using namespace std; class Solution { public: // VERTICAL SCANNING // string longestCommonPrefix(vector<string>& strs) { // if (strs.size() == 0) return ""; // string ou...
27.531746
80
0.373306
[ "vector" ]
bea4a455dc782d70d50b9545360286ebabd244dc
3,192
cpp
C++
src/PIDFile.cpp
mistralol/libclientserver
b90837149715d396cf68c2e82c539971e7efeb80
[ "MIT" ]
4
2016-03-30T14:33:31.000Z
2021-07-12T06:07:34.000Z
src/PIDFile.cpp
mistralol/libclientserver
b90837149715d396cf68c2e82c539971e7efeb80
[ "MIT" ]
null
null
null
src/PIDFile.cpp
mistralol/libclientserver
b90837149715d396cf68c2e82c539971e7efeb80
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <unistd.h> #include <string.h> #include <string> #include <sstream> #include <sys/stat.h> #include <sys/file.h> #include <sys/types.h> #include <fcntl.h> #include <libclientserver.h> PIDFile::PIDFile(std::string Filename) { m_IsOwner = false; m_fil...
20.461538
97
0.638158
[ "object" ]
beb3fc780366e337807abbf272b11f51aaae5465
5,957
cpp
C++
src/BackSeatDriver.cpp
fossabot/back-seat-driver
08272bafab307d9fc07b8c16d611a5b5fc9c2ccb
[ "MIT" ]
1
2017-07-15T15:27:30.000Z
2017-07-15T15:27:30.000Z
src/BackSeatDriver.cpp
fossabot/back-seat-driver
08272bafab307d9fc07b8c16d611a5b5fc9c2ccb
[ "MIT" ]
2
2020-02-01T06:00:31.000Z
2021-03-04T19:19:35.000Z
src/BackSeatDriver.cpp
fossabot/back-seat-driver
08272bafab307d9fc07b8c16d611a5b5fc9c2ccb
[ "MIT" ]
3
2017-07-17T23:48:01.000Z
2021-03-04T19:17:31.000Z
/* * BackSeatDriver.cpp * * Created on: Jul 16, 2014 * Author: Konstantin Gredeskoul * * (c) 2014 All rights reserved. Please see LICENSE. */ #include "BackSeatDriver.h" #include <math.h> BackSeatDriver::BackSeatDriver(BackSeatDriver_IMotorAdapter *adapter) { _adapter = adapter; _debug = false; _ini...
26.833333
131
0.725533
[ "3d" ]
beb7d7f2135a4f7d7d995f83a60aa4e382b6dc22
665
cpp
C++
DMOJ/Olympiads School/Add_up_Apples.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
null
null
null
DMOJ/Olympiads School/Add_up_Apples.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-10-14T18:26:56.000Z
2021-10-14T18:26:56.000Z
DMOJ/Olympiads School/Add_up_Apples.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-08-06T03:39:55.000Z
2021-08-06T03:39:55.000Z
#include <bits/stdc++.h> using namespace std; int N, tot; vector<int> v; void fun(int begin, int sum, int n, vector<int> v) { if (sum == n) { cout << n << "="; for (int i = 0; i < v.size() - 1; i++) { cout << v[i] << "+"; } cout << v.back() << '\n'; tot++; ...
17.051282
52
0.389474
[ "vector" ]
beb95ebbd8adb6ffd528ec20d77701de79590d4b
2,350
cpp
C++
nft/nft.cpp
oskarirauta/ipctrl
1f36374007e169f36349fd4b91e1f90b8571cde4
[ "MIT" ]
null
null
null
nft/nft.cpp
oskarirauta/ipctrl
1f36374007e169f36349fd4b91e1f90b8571cde4
[ "MIT" ]
null
null
null
nft/nft.cpp
oskarirauta/ipctrl
1f36374007e169f36349fd4b91e1f90b8571cde4
[ "MIT" ]
null
null
null
#include <netdb.h> #include "common.hpp" #include "nft/nft.hpp" const nft::SetType nft::addrType(const std::string ipaddr) { struct addrinfo *ai, hints = { .ai_flags = AI_NUMERICHOST, .ai_family = PF_UNSPEC, }; if ( ipaddr.find('/') != std::string::npos ) { std::vector<std::string> parts = common::split(i...
25
89
0.62383
[ "vector" ]
bebea77fe1c6bb8389d45a4e0e983a44f0846d7d
841
cpp
C++
src/singlerot.cpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
1
2021-02-18T20:04:57.000Z
2021-02-18T20:04:57.000Z
src/singlerot.cpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
null
null
null
src/singlerot.cpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
null
null
null
#include "singlerot.hpp" #include "tree_pattern.hpp" #include <vector> using namespace std; bool singlerot_has_unchanged_core( const Pattern & _p ) { TreePattern pattern(_p); while (! pattern.empty() ){ vector<Cell> keys_to_delete; for( auto &key_value : pattern.blocks ){ int block = key_value.second...
24.735294
81
0.652794
[ "vector" ]
bec19211495b0c07bbd0f345ae640bf176ed6f5a
3,469
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_TC_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_TC_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/MPLS_TC_STD_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _MPLS_TC_STD_MIB_ #define _MPLS_TC_STD_MIB_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace MPLS_TC_STD_MIB { class MplsLabelDistributionMethod : public ydk::Enum { public: static const ydk::Enum::YLeaf do...
28.669421
61
0.573941
[ "vector" ]