hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
77k
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
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
7
1.05M
avg_line_length
float64
1.21
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
7c0597aa563fb5f1065fc14f1813fe249d8a795c
433
cpp
C++
W08/in_lab/Account.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
W08/in_lab/Account.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
W08/in_lab/Account.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
#include <iostream> #include "Account.h" namespace sict { Account::Account(double bal) { if (bal > 0) bala = bal; else bala = 0; } bool Account::credit(double add) { if (add > 0){ bala += add; return true; } else return false; } bool Account::debit(double sub) { if (sub > 0) { bal...
12.371429
35
0.577367
7c0fe5fd6a310e5dd2f79b822fe425d9cce77f87
851
cpp
C++
amara/amara_tweenBase.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
amara/amara_tweenBase.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
amara/amara_tweenBase.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
#ifndef AMARA_TWEENBASE #define AMARA_TWEENBASE #include "amara.h" namespace Amara { class Tweener; class Tween: public Amara::StateManager { public: Amara::GameProperties* properties = nullptr; bool finished = false; bool deleteOnFinish = true; doubl...
23.638889
95
0.480611
7c11f304a4c71c599e3aa18728323cf90f51aaa3
2,138
cc
C++
2021/5/main.cc
ey6es/aoc
c1e54534e5e6d4b52118ffd173834ab56a831102
[ "MIT" ]
null
null
null
2021/5/main.cc
ey6es/aoc
c1e54534e5e6d4b52118ffd173834ab56a831102
[ "MIT" ]
null
null
null
2021/5/main.cc
ey6es/aoc
c1e54534e5e6d4b52118ffd173834ab56a831102
[ "MIT" ]
null
null
null
#include <algorithm> #include <fstream> #include <iostream> #include <map> #include <string> #include <tuple> std::tuple<int, int> parse_coord (const std::string& str) { auto idx = str.find(','); return std::make_tuple( std::stoi(str.substr(0, idx)), std::stoi(str.substr(idx + 1))); } std::ostream& operat...
24.860465
81
0.481291
7c1885c5d71e72c411d50181d4b84e586de72b3f
635
cpp
C++
0014.cpp
excript/curso_cpp
070d0bd1163c1252b7bf736fedb3370208c30811
[ "CC0-1.0" ]
1
2020-08-01T07:03:32.000Z
2020-08-01T07:03:32.000Z
0014.cpp
excript/curso_cpp
070d0bd1163c1252b7bf736fedb3370208c30811
[ "CC0-1.0" ]
1
2020-08-01T07:04:27.000Z
2020-08-01T07:04:27.000Z
0014.cpp
excript/curso_cpp
070d0bd1163c1252b7bf736fedb3370208c30811
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <iomanip> /*==================================== * eXcript.com * fb.com/eXcript * ====================================*/ using namespace std; int main() { //obj cin3 //obj cout cout << "Estudando a entrada e saida de dados." << endl; ...
19.84375
60
0.445669
7c1b5d88f091c7ddf7a60fc1969c757257d02a8d
907
hh
C++
src/agents/pacman/pathfinding_pacman_agent.hh
emanuelssj/PacmanRL
275715f7024e1ffab8a562c892a9852d4d7f16cb
[ "MIT" ]
3
2019-01-07T10:15:21.000Z
2019-03-25T15:36:39.000Z
src/agents/pacman/pathfinding_pacman_agent.hh
emanuelssj/Lunafreya-Pacman-Speedrun
275715f7024e1ffab8a562c892a9852d4d7f16cb
[ "MIT" ]
null
null
null
src/agents/pacman/pathfinding_pacman_agent.hh
emanuelssj/Lunafreya-Pacman-Speedrun
275715f7024e1ffab8a562c892a9852d4d7f16cb
[ "MIT" ]
1
2019-05-26T07:48:21.000Z
2019-05-26T07:48:21.000Z
#ifndef PATHFINDING_PACMAN_AGENT_HH #define PATHFINDING_PACMAN_AGENT_HH #include "../agent.hh" #include "../../state/direction.hh" #include "../../pathfinding/bfs.hh" #include "../../pathfinding/wsp.hh" #include <cmath> class Pathfinding_Pacman_Agent: public Agent { // In this case ghost_id can be ignored in...
32.392857
122
0.582139
7c1f8355be92bc68e9e7eda8058f71239ef53cb8
4,614
cpp
C++
Stabilization/Stabilization.cpp
Ablaaaym/Satellite
87c93cfbadcaae57767964957d81a98daff25bfe
[ "Apache-2.0" ]
null
null
null
Stabilization/Stabilization.cpp
Ablaaaym/Satellite
87c93cfbadcaae57767964957d81a98daff25bfe
[ "Apache-2.0" ]
null
null
null
Stabilization/Stabilization.cpp
Ablaaaym/Satellite
87c93cfbadcaae57767964957d81a98daff25bfe
[ "Apache-2.0" ]
null
null
null
#define PIN_ENA 9 //вывод управления скоростью вращения мотора №1 #define PIN_IN1 10 //вывод управления направлением вращения мотора №1 #define PIN_IN2 11 //вывод управления направлением вращения мотора №1 #define PIN_Left 7 //вход с расбери для скорости #define PIN_Right 12 //вход с расбери для скорости #define ...
35.767442
124
0.508669
7c21bfccc01efd7eb0c020508aee97d438dd283a
3,971
cpp
C++
cpr/unit_test_for_huffman/unit_test_for_bit_string.cpp
Mooophy/Compression
2d369956a83703f0283d36d438e76783e909957d
[ "MIT" ]
14
2015-03-04T23:12:03.000Z
2021-07-14T14:30:45.000Z
cpr/unit_test_for_huffman/unit_test_for_bit_string.cpp
Mooophy/Compression
2d369956a83703f0283d36d438e76783e909957d
[ "MIT" ]
7
2015-03-02T08:52:54.000Z
2015-03-09T08:32:09.000Z
cpr/unit_test_for_huffman/unit_test_for_bit_string.cpp
Mooophy/Compression
2d369956a83703f0283d36d438e76783e909957d
[ "MIT" ]
7
2015-03-04T23:13:14.000Z
2017-05-24T11:39:55.000Z
#include "stdafx.h" #include "CppUnitTest.h" #include "../huffman/bit_string.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace unit_test_for_huffman { TEST_CLASS(unit_test_for_bit_string) { public: TEST_METHOD(ctor) { cpr::huffman::BitString<char> b...
33.940171
76
0.578444
7c283dc0e0c52f8c51f5f4a8f987d346aa6b947f
2,624
cpp
C++
Utilities/MarbleAction/MarbleAction.cpp
mym2o/HavokDemos
1235b96b93e256de50bc36c229439a334410fd77
[ "MIT" ]
1
2017-08-14T10:23:45.000Z
2017-08-14T10:23:45.000Z
Utilities/MarbleAction/MarbleAction.cpp
mym2o/HavokDemos
1235b96b93e256de50bc36c229439a334410fd77
[ "MIT" ]
null
null
null
Utilities/MarbleAction/MarbleAction.cpp
mym2o/HavokDemos
1235b96b93e256de50bc36c229439a334410fd77
[ "MIT" ]
2
2016-06-22T02:22:32.000Z
2019-11-21T19:49:41.000Z
#include "MarbleAction.h" MarbleAction::MarbleAction(hkpRigidBody* r, const hkVector4& forward, const hkVector4& resetPosition, hkReal impulseScale) : hkpUnaryAction(r), m_forward(forward), m_resetPosition(resetPosition), m_rotationIncrement(0.01f) { m_forwardPressed = false; m_backwardPressed = false; m_leftP...
28.835165
225
0.699695
7c28f9a0f641f5f618db137ee21ad79407c3aef8
13,626
cc
C++
src/ShaderCompiler/Private/GLSLangUtils.cc
PixPh/kaleido3d
8a8356586f33a1746ebbb0cfe46b7889d0ae94e9
[ "MIT" ]
38
2019-01-10T03:10:12.000Z
2021-01-27T03:14:47.000Z
src/ShaderCompiler/Private/GLSLangUtils.cc
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
null
null
null
src/ShaderCompiler/Private/GLSLangUtils.cc
fuqifacai/kaleido3d
ec77753b516949bed74e959738ef55a0bd670064
[ "MIT" ]
8
2019-04-16T07:56:27.000Z
2020-11-19T02:38:37.000Z
#include <Kaleido3D.h> #include "GLSLangUtils.h" #include <glslang/MachineIndependent/gl_types.h> using namespace ::glslang; using namespace ::k3d; void sInitializeGlSlang() { #if USE_GLSLANG static bool sGlSlangIntialized = false; if (!sGlSlangIntialized) { glslang::InitializeProcess(); sGlSl...
32.754808
168
0.754954
7c2b82eba95378926615f75703f463e29eb82ff6
3,288
cpp
C++
Project Mania/Source/Character/Chassis.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/Character/Chassis.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Project Mania/Source/Character/Chassis.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
#include "Pch.h" #include "Character/Character.h" #include "Character/Chassis.h" #include "Data/AugmentData.h" #include "Data/CharacterData.h" #include "Data/ComponentData.h" #include "Data/ChassisData.h" #include "Data/EquipmentData.h" #include "Data/UpgradeData.h" #include "Data/PartData.h" #include "Parts/Item.h" #i...
27.630252
129
0.708942
7c2e1ea6553fb140adf3f89f99d79cfaed04016d
1,699
cpp
C++
libvast/src/format/ostream_writer.cpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
null
null
null
libvast/src/format/ostream_writer.cpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
null
null
null
libvast/src/format/ostream_writer.cpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
34.673469
80
0.479105
7c2e99d071f669e6bf42911f05fdfe7e036dfa42
12,307
cpp
C++
Sources/Rosetta/Battlegrounds/Models/Battle.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Sources/Rosetta/Battlegrounds/Models/Battle.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Sources/Rosetta/Battlegrounds/Models/Battle.cpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// Copyright (c) 2017-2021 Chris Ohk // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <Rosetta/Battlegrounds/Models/Battle.hpp> #include <effolkronium/random.hpp> using Ran...
28.291954
80
0.542781
7c320e8880a227a1bb2501c2bd6e7bd6ba233ea0
1,447
hpp
C++
include/clotho/fitness/linear_fitness_metric.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
include/clotho/fitness/linear_fitness_metric.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
include/clotho/fitness/linear_fitness_metric.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // 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 o...
27.301887
78
0.68763
7c33935241f7c129d9af1d1003bd3b8c73346e36
21,839
cpp
C++
addons/ofxGuido/lib/guidolib-code/linux/src/GDeviceGtk.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
18
2015-01-18T22:34:22.000Z
2020-09-06T20:30:30.000Z
addons/ofxGuido/lib/guidolib-code/linux/src/GDeviceGtk.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
2
2015-08-04T00:07:46.000Z
2017-05-10T15:53:51.000Z
addons/ofxGuido/lib/guidolib-code/linux/src/GDeviceGtk.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
10
2015-01-18T23:46:10.000Z
2019-08-25T12:10:04.000Z
/* GUIDO Library Copyright (C) 2004 Torben Hohn This library 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; either version 2.1 of the License, or (at your option) any later version. This library ...
27.367168
126
0.521223
7c36b071ee0da1c00b054d908090ba037591858e
2,372
cc
C++
src/swganh/social/social_service.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
1
2015-03-25T16:02:17.000Z
2015-03-25T16:02:17.000Z
src/swganh/social/social_service.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
null
null
null
src/swganh/social/social_service.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
null
null
null
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #include "swganh/social/social_service.h" #include "anh/logger.h" #include "anh/plugin/plugin_manager.h" #include "anh/service/service_manager.h" #include "anh/database/database_manager.h" #...
28.238095
127
0.736931
7c3d1b998ba7e55703307ac573b0d4775b3151b5
388
hpp
C++
sdl2-sonic-drivers/src/utils/constants.hpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
3
2021-10-31T14:24:00.000Z
2022-03-16T08:15:31.000Z
sdl2-sonic-drivers/src/utils/constants.hpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
48
2020-06-05T11:11:29.000Z
2022-02-27T23:58:44.000Z
sdl2-sonic-drivers/src/utils/constants.hpp
Raffaello/sdl2-sonic-drivers
20584f100ddd7c61f584deaee0b46c5228d8509d
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cmath> namespace utils { // TODO remove M_PI and M_2PI replace them with PI and PI2 #ifdef M_PI #undef M_PI #endif // M_PI constexpr double M_PI = 3.14159265358979323846; #ifdef M_2PI #undef M_2PI #endif // M_2PI constexpr double M_2PI = 2.0 * M_PI; constexpr double PI...
18.47619
62
0.688144
7c423f5a6c83d0ccfe3ff3d33914a241403fcc8e
12,071
cpp
C++
Sourcecode/mxtest/core/PropertiesTest.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
Sourcecode/mxtest/core/PropertiesTest.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
Sourcecode/mxtest/core/PropertiesTest.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_CORE_TESTS #include "cpul/cpulTestHarness.h" #include "mxtest/core/HelperFunctions.h" #include "mxtest/core/PropertiesTest.h" #include "mxtest/core/Edito...
44.873606
120
0.498385
7c45da4372eb53b9bbb2f92658006d7acf60e1c0
1,363
cpp
C++
Strings Problem/Valid Ip Addresses.cpp
theslytherin/Interview_Bit
da9973de33be2f12d6e051bea1e918004216b6ed
[ "MIT" ]
null
null
null
Strings Problem/Valid Ip Addresses.cpp
theslytherin/Interview_Bit
da9973de33be2f12d6e051bea1e918004216b6ed
[ "MIT" ]
null
null
null
Strings Problem/Valid Ip Addresses.cpp
theslytherin/Interview_Bit
da9973de33be2f12d6e051bea1e918004216b6ed
[ "MIT" ]
null
null
null
int stringnumber(string s){ int i=0; int n=s.length(); int face=1; int answer=0; for(i=n-1;i>=0;i--){ answer+=(s[i]-'0')*face; face*=10; } return answer; } bool isValid(string s){ int i,j; int n=s.length(); int number; int start=0; string temp=""; while(start < n){ ...
21.296875
55
0.432869
7c48357bb84762320f6d3c9346f67acfbca91d1c
5,398
cpp
C++
src/publish_trajectory/publish_trajectory_to_quadrotor_tmp.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
1
2021-07-31T12:34:11.000Z
2021-07-31T12:34:11.000Z
src/publish_trajectory/publish_trajectory_to_quadrotor_tmp.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
null
null
null
src/publish_trajectory/publish_trajectory_to_quadrotor_tmp.cpp
test-bai-cpu/hdi_plan
89684bb73832d7e40f3c669f284ffddb56a1e299
[ "MIT" ]
2
2021-05-08T13:27:31.000Z
2021-09-24T07:59:04.000Z
#include "publish_trajectory/publish_trajectory_to_quadrotor.hpp" namespace hdi_plan { PublishTrajectory::PublishTrajectory(const ros::NodeHandle &nh, const ros::NodeHandle &pnh) :nh_(nh), pnh_(pnh){ arm_bridge_pub_ = nh_.advertise<std_msgs::Bool>("bridge/arm", 1); start_pub_ = nh_.advertise<std_msgs::Empty>("a...
34.825806
123
0.757318
7c49087a00e33b089fb2609357398b4506781137
14,722
cpp
C++
src/moment_quantization.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
null
null
null
src/moment_quantization.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
1
2021-11-29T14:03:20.000Z
2021-11-29T14:03:20.000Z
src/moment_quantization.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
null
null
null
// Copyright (c) 2020, Tobias Rapp // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditi...
28.866667
118
0.553118
7c49113f755566789ee39bf2b097dddcaf588764
774
hpp
C++
03_Simple_2D_game/Asteroid/include/SFML-Book/Player.hpp
Krozark/SFML-book
397dd3dc0c73b694d4b5c117e974c7ebdb885572
[ "BSD-2-Clause" ]
75
2015-01-18T21:29:03.000Z
2022-02-09T14:11:05.000Z
03_Simple_2D_game/Asteroid/include/SFML-Book/Player.hpp
Krozark/SFML-book
397dd3dc0c73b694d4b5c117e974c7ebdb885572
[ "BSD-2-Clause" ]
7
2015-03-12T10:41:55.000Z
2020-11-23T11:15:58.000Z
03_Simple_2D_game/Asteroid/include/SFML-Book/Player.hpp
Krozark/SFML-book
397dd3dc0c73b694d4b5c117e974c7ebdb885572
[ "BSD-2-Clause" ]
33
2015-12-01T07:34:46.000Z
2022-03-23T03:37:42.000Z
#ifndef BOOK_PLAYER_HPP #define BOOK_PLAYER_HPP #include <SFML-Book/ActionTarget.hpp> //ActionTarget #include <SFML-Book/Entity.hpp> //Entity namespace book { class Player : public Entity , public ActionTarget<int> { public: Player(const Player&) = delete; Player& operator=(con...
20.918919
61
0.576227
7c4a20ef6c026977e9bb341654500cb624718f3f
437
hpp
C++
src/utils/types.hpp
LukaszSelwa/min-cut
f11eec7d3c55b886112179d8893ef6ed9b3fc2d5
[ "MIT" ]
null
null
null
src/utils/types.hpp
LukaszSelwa/min-cut
f11eec7d3c55b886112179d8893ef6ed9b3fc2d5
[ "MIT" ]
null
null
null
src/utils/types.hpp
LukaszSelwa/min-cut
f11eec7d3c55b886112179d8893ef6ed9b3fc2d5
[ "MIT" ]
null
null
null
#ifndef UTILS_TYPES_H #define UTILS_TYPES_H #include <memory> #include <vector> #include "../graphs/undirected_weighted_graph.hpp" struct algo_result { int minCutVal; std::vector<bool> cut; }; struct algo_input { std::shared_ptr<graphs::weighted_graph> graph; std::vector<bool> minCut; int minCutV...
20.809524
81
0.718535
7c4c0616aa4fa792076e6acee28793e04471ef6f
422
cpp
C++
机试/动态规划/leetcode300.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
机试/动态规划/leetcode300.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
机试/动态规划/leetcode300.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
class Solution { public: int lengthOfLIS(vector<int>& nums) { int n = nums.size(); vector<int> dp(n, 1); int res = dp[0]; for(int i = 0; i < n; i++){ for(int j = 0; j <= i; j++){ if(nums[i] > nums[j]){ dp[i] = max(dp[j] + 1, dp[i]); ...
24.823529
50
0.350711
7c4c60fc018b62608c46fe0ec12d9b8de69d27c3
2,802
cpp
C++
trunk/uidesigner/uidframe/src/Core/HoldItem.cpp
OhmPopy/MPFUI
eac88d66aeb88d342f16866a8d54858afe3b6909
[ "MIT" ]
59
2017-08-27T13:27:55.000Z
2022-01-21T13:24:05.000Z
demos/uidesigner/uidframe/src/Core/HoldItem.cpp
BigPig0/MPFUI
7042e0a5527ab323e16d2106d715db4f8ee93275
[ "MIT" ]
5
2017-11-26T05:40:23.000Z
2019-04-02T08:58:21.000Z
demos/uidesigner/uidframe/src/Core/HoldItem.cpp
BigPig0/MPFUI
7042e0a5527ab323e16d2106d715db4f8ee93275
[ "MIT" ]
49
2017-08-24T08:00:50.000Z
2021-11-07T01:24:41.000Z
#include "stdafx.h" #include <Core/HoldItem.h> #include <Core/ResNode.h> void HoldItem::InitNode(suic::IXamlNode* pNode) { pNode->Reset(); InitNode(this, pNode); } void HoldItem::Clear() { for (int i = 0; i < children.GetCount(); ++i) { Clear(children.GetItem(i)); } attrs.Clear(); ...
22.416
83
0.552463
7c50c242e93c7ac923266b8307ed15728e6e63f1
3,708
hpp
C++
src/sqlite/db.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
766
2015-01-01T17:33:40.000Z
2022-02-23T08:20:20.000Z
src/sqlite/db.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
43
2015-01-04T05:59:54.000Z
2017-06-19T10:53:59.000Z
src/sqlite/db.hpp
wesselj1/mx3playground
9b8c3e783f574a76cc17a9470b57e72a1b38be1a
[ "MIT" ]
146
2015-01-09T19:38:23.000Z
2021-09-30T08:39:44.000Z
#pragma once #include <set> #include <chrono> #include "stl.hpp" #include "stmt.hpp" namespace mx3 { namespace sqlite { // single param helpers for sqlite3_mprintf string mprintf(const char * format, const string& data); string mprintf(const char * format, int64_t data); string libversion(); string sourceid(); int li...
26.676259
128
0.699838
7c5115db2bd1096958da5285052bd6aa076b0e60
14,920
inl
C++
include/writer.inl
jpulidojr/VizAly-SNWPAC
ec30d5e50b8a7ab04a2888c8aae82dcb327e02bd
[ "Unlicense", "BSD-3-Clause" ]
2
2020-03-19T07:14:54.000Z
2022-03-11T19:29:33.000Z
include/writer.inl
jpulidojr/VizAly-SNWPAC
ec30d5e50b8a7ab04a2888c8aae82dcb327e02bd
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
include/writer.inl
jpulidojr/VizAly-SNWPAC
ec30d5e50b8a7ab04a2888c8aae82dcb327e02bd
[ "Unlicense", "BSD-3-Clause" ]
2
2019-07-22T16:14:52.000Z
2020-03-19T07:14:56.000Z
#include "stdio.h" #include <iostream> #include <fstream> #include <cstdlib> #include <string.h> //#include <math.h> #include <sstream> //Use existing lossless compressors #include "lz4.h" /*static int * pfs1; static int dimx1, dimy1, dimz1; static int header_size1, scalar_fields1; static double field_len1;*/ // Th...
35.105882
235
0.552413
7c5976175e28b08a295516dc36fcc5cec67f35a8
1,263
cpp
C++
cpp-tower/Game.cpp
udupa-varun/coursera-cs400
cf073e6fe816c0d1f8fe95cae10448e979fec2ce
[ "MIT" ]
2
2021-05-19T02:49:55.000Z
2021-05-20T03:14:24.000Z
cpp-tower/Game.cpp
udupa-varun/coursera-cs400
cf073e6fe816c0d1f8fe95cae10448e979fec2ce
[ "MIT" ]
null
null
null
cpp-tower/Game.cpp
udupa-varun/coursera-cs400
cf073e6fe816c0d1f8fe95cae10448e979fec2ce
[ "MIT" ]
null
null
null
/** * C++ class for a game of the Tower of Hanoi puzzle. * * @author * Wade Fagen-Ulmschneider <waf@illinois.edu> */ #include "Game.h" #include "Stack.h" #include "uiuc/Cube.h" #include "uiuc/HSLAPixel.h" #include <iostream> using std::cout; using std::endl; // Solves the Tower of Hanoi puzzle. // (Feel free...
23.388889
71
0.642914
7c5a6e0f32baf316ddb52f38114e81f0670d4510
21,740
cpp
C++
bin/Debugger.Sample/Debugger.Sample.cpp
igor-ribeiiro/ChakraCore-Debugger
ffbe00d82208ad3327482a6f0cb50c30035480bd
[ "MIT" ]
16
2018-07-11T18:06:16.000Z
2019-04-15T09:28:46.000Z
bin/Debugger.Sample/Debugger.Sample.cpp
igor-ribeiiro/ChakraCore-Debugger
ffbe00d82208ad3327482a6f0cb50c30035480bd
[ "MIT" ]
28
2018-07-18T22:30:14.000Z
2019-04-22T18:02:33.000Z
bin/Debugger.Sample/Debugger.Sample.cpp
igor-ribeiiro/ChakraCore-Debugger
ffbe00d82208ad3327482a6f0cb50c30035480bd
[ "MIT" ]
12
2019-06-20T01:18:17.000Z
2021-07-12T17:48:33.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "stdafx.h" // // Class to store information about command-line arguments to the host. // class CommandLineArguments { public: bool breakOnNextLine; bool enableDebugging; bool help; bool enableConso...
32.740964
156
0.638132
7c5ce1103a68b63e3fc9d600adfa560a410222c7
488
hpp
C++
src/eepp/window/backend/SDL2/wminfo.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/window/backend/SDL2/wminfo.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/eepp/window/backend/SDL2/wminfo.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_BACKEND_SDL2_WMINFO_HPP #define EE_BACKEND_SDL2_WMINFO_HPP #include <eepp/window/backend/SDL2/base.hpp> #include <eepp/window/windowhandle.hpp> namespace EE { namespace Window { namespace Backend { namespace SDL2 { class EE_API WMInfo { public: WMInfo( SDL_Window* win ); ~WMInfo(); #if defined( EE_X...
17.428571
70
0.745902
7c5ed60bd233d69bcd3fec76f48a78d1253ad5bf
2,664
hpp
C++
OptFrame/Experimental/Moves/MoveVVShiftk.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/Experimental/Moves/MoveVVShiftk.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/Experimental/Moves/MoveVVShiftk.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
27.183673
107
0.613739
7c61d1f10673dfa4e36c148cfe5116240b21778a
5,786
cpp
C++
src/core/taskmanager.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/core/taskmanager.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/core/taskmanager.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file taskmanager.cpp * @brief Implementation of TaskManager.h * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2009-10-05 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/core/precompiled.h" #include "o3d/core/taskmanager.h" #in...
23.330645
102
0.674732
7c624d369f6c94c89b1b5af5419e758b6c894c1c
4,325
cpp
C++
alert_db/src/get_images_from_bag.cpp
robotics-upo/siar_remote_packages
09bbbc88fb656524cc523a95704e7d353e260876
[ "MIT" ]
null
null
null
alert_db/src/get_images_from_bag.cpp
robotics-upo/siar_remote_packages
09bbbc88fb656524cc523a95704e7d353e260876
[ "MIT" ]
null
null
null
alert_db/src/get_images_from_bag.cpp
robotics-upo/siar_remote_packages
09bbbc88fb656524cc523a95704e7d353e260876
[ "MIT" ]
1
2020-01-10T07:39:33.000Z
2020-01-10T07:39:33.000Z
#include <rosbag/bag.h> #include <rosbag/view.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/CompressedImage.h> #include <sensor_msgs/image_encodings.h> #include <cv_bridge/cv_bridge.h> #include <opencv/cvwimage.h> #include <opencv/highgui.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/opencv.hpp>...
26.863354
131
0.593988
7c663a8084f25481450e8d5dafdfba19424140e8
883
cpp
C++
lib/bencode/BInteger.cpp
ss16118/torrent-client-cpp
fdc6b37d45ba6c8e798216fd874523fac3eceeed
[ "MIT" ]
24
2021-06-21T10:24:35.000Z
2022-03-21T07:00:36.000Z
lib/bencode/BInteger.cpp
BaiXious/torrent-client-cpp
fdc6b37d45ba6c8e798216fd874523fac3eceeed
[ "MIT" ]
2
2016-07-24T15:34:48.000Z
2018-04-21T13:33:33.000Z
lib/bencode/BInteger.cpp
BaiXious/torrent-client-cpp
fdc6b37d45ba6c8e798216fd874523fac3eceeed
[ "MIT" ]
10
2016-03-25T05:53:12.000Z
2022-02-06T01:28:10.000Z
/** * @file BInteger.cpp * @copyright (c) 2014 by Petr Zemek (s3rvac@gmail.com) and contributors * @license BSD, see the @c LICENSE file for more details * @brief Implementation of the BInteger class. */ #include "BInteger.h" #include "BItemVisitor.h" namespace bencoding { /** * @brief Constructs the int...
19.622222
71
0.697622
7c6a02ae781b48453f543d541aa3efa1524e8e21
4,048
cpp
C++
UVA Online Judge/628_Passwords.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
2
2020-09-10T15:48:02.000Z
2020-09-12T00:05:35.000Z
UVA Online Judge/628_Passwords.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
null
null
null
UVA Online Judge/628_Passwords.cpp
davimedio01/competitive-programming
e2a90f0183c11a90a50738a9a690efe03773d43f
[ "MIT" ]
2
2020-09-09T17:01:05.000Z
2020-09-09T17:02:27.000Z
/*Criado por Davi Augusto - BCC - UNESP Bauru*/ /* Resolvido com Backtracking: 1 - "Escolhas" 2 - "Restrições" 3 - "Objetivo" Escolhas: Colocar dígitos de 0 a 9 na senha com base nas "regras" (# e 0) Restrições: Regras e o dígito (ex: #0). O '#' ficará a palavra e o dígito '0' os números de 0 a 9. Printar ...
28.70922
118
0.516304
7c6a4d9e5140b66d9f8a1a9d1f899b93076511af
10,895
cpp
C++
Main/Libraries/Hunspell/HunspellExportFunctions.cpp
paulushub/SandAssists
ccd86a074e85b3588819253f241780fe9d9362e2
[ "MS-PL" ]
1
2018-12-13T19:41:01.000Z
2018-12-13T19:41:01.000Z
Main/Libraries/Hunspell/HunspellExportFunctions.cpp
paulushub/SandAssists
ccd86a074e85b3588819253f241780fe9d9362e2
[ "MS-PL" ]
null
null
null
Main/Libraries/Hunspell/HunspellExportFunctions.cpp
paulushub/SandAssists
ccd86a074e85b3588819253f241780fe9d9362e2
[ "MS-PL" ]
null
null
null
#include "hunspell/hunspell.hxx" #include <windows.h> #include <locale.h> #include <mbctype.h> #include "NHunspellExtensions.h" #include "EncodingToCodePage.h" #define DLLEXPORT extern "C" __declspec( dllexport ) class NHunspell: public Hunspell { // The methods aren't multi threaded, reentrant or whatev...
27.935897
148
0.663148
7c711c4ad895523c204c97b8febc668039d2a0b6
5,108
cpp
C++
snowman.cpp
Jewgah/Snowman-B
58a67861bccdebdf2447ad3f5bd838dc65456791
[ "MIT" ]
null
null
null
snowman.cpp
Jewgah/Snowman-B
58a67861bccdebdf2447ad3f5bd838dc65456791
[ "MIT" ]
null
null
null
snowman.cpp
Jewgah/Snowman-B
58a67861bccdebdf2447ad3f5bd838dc65456791
[ "MIT" ]
null
null
null
/** * This file defines the "ariel" namespace for the assignment. * the namespace contains a single function which returns a String representing a modular snowman print. * each different input ([1-4], LENGTHgth = 8) returns a different snowman. * each input of 8 numbers in [1-4] represents a sequence of compenents:...
43.65812
140
0.563626
7c7271cd1bc6633e31eff5ad8cfbeb76ab576099
11,886
hpp
C++
libraries/protocol/include/deip/protocol/deip_virtual_operations.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
1
2021-08-16T12:44:43.000Z
2021-08-16T12:44:43.000Z
libraries/protocol/include/deip/protocol/deip_virtual_operations.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
null
null
null
libraries/protocol/include/deip/protocol/deip_virtual_operations.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
2
2021-08-16T12:44:46.000Z
2021-12-31T17:09:45.000Z
#pragma once #include <deip/protocol/base.hpp> #include <deip/protocol/block_header.hpp> #include <deip/protocol/asset.hpp> #include <deip/protocol/eci_diff.hpp> #include <fc/utf8.hpp> namespace deip { namespace protocol { struct fill_common_tokens_withdraw_operation : public virtual_operation { fill_common_token...
37.377358
314
0.673481
7c7333192b8c9fb7bf453a63ea77769f1c00283e
128
hpp
C++
Blob_Lib/Include/glm/ext/matrix_uint2x4.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/ext/matrix_uint2x4.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/ext/matrix_uint2x4.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:dc05769835c1662878111c8555c4d59f668a9a3a8ca31f2cb035da4016f33b2e size 737
32
75
0.882813
7c75c42e66b58e3633067cab6b3d32cf091eb355
1,230
hpp
C++
Engine/Src/Runtime/Core/Public/Core/Pimpl.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Core/Public/Core/Pimpl.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Core/Public/Core/Pimpl.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <Core/CoreApi.hpp> #include <Core/Containers/UniquePointer.hpp> #define FADE_MAKE_PIMPL \ private: \ class CImpl; \ __pragma(warning(push)) \ __pragma(warning(disable : 4251)) \ TPimpl<CImpl> m_Impl; ...
23.207547
52
0.621951
7c7b086b8a08cf99e589f533582f1c4b2692f5d6
11,108
hpp
C++
source/zisc/core/zisc/string/json_value_parser-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
2
2017-10-18T13:24:11.000Z
2018-05-15T00:40:52.000Z
source/zisc/core/zisc/string/json_value_parser-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
9
2016-09-05T11:07:03.000Z
2019-07-05T15:31:04.000Z
source/zisc/core/zisc/string/json_value_parser-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
null
null
null
/*! \file json_value_parser-inl.hpp \author Sho Ikeda \brief No brief description \details No detailed description. \copyright Copyright (c) 2015-2021 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef ZISC_JSON_VALUE_PARSER_INL_HP...
22.039683
89
0.692384
75acb2eb9cd3d25bd94aacd1f8ba7c3e27ba8fda
7,937
cpp
C++
lemon-based-parser/lemon-9-final/Value.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
lemon-based-parser/lemon-9-final/Value.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
lemon-based-parser/lemon-9-final/Value.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
#include "Value.h" #include <stdexcept> #include <boost/format.hpp> #include <cmath> namespace { bool FuzzyEquals(double left, double right) { return std::fabs(left - right) >= std::numeric_limits<double>::epsilon(); } std::string ToPrettyString(double value) { std::string result = std::to_string(value); ...
24.649068
101
0.63815
75b5214b40cee70531bb1c2b785b7721472ba137
4,100
cpp
C++
src/TotalGeneralizedVariation.cpp
DanonOfficial/TGVDenoising
20446d9c89d75cf43056f43ed42f37965b4e7b6e
[ "MIT" ]
8
2019-04-06T06:13:53.000Z
2021-04-30T09:49:18.000Z
src/TotalGeneralizedVariation.cpp
DanonOfficial/TGVDenoising
20446d9c89d75cf43056f43ed42f37965b4e7b6e
[ "MIT" ]
1
2021-06-22T15:26:13.000Z
2021-06-23T05:45:21.000Z
src/TotalGeneralizedVariation.cpp
DanonOfficial/TGVDenoising
20446d9c89d75cf43056f43ed42f37965b4e7b6e
[ "MIT" ]
2
2020-07-13T09:05:51.000Z
2021-02-01T04:15:58.000Z
// // Created by roundedglint585 on 3/11/19. // #include "TotalGeneralizedVariation.hpp" TotalGeneralizedVariation::TotalGeneralizedVariation(const std::vector<TotalGeneralizedVariation::Image> &images) : m_images(images), m_result(m_images[0]), m_width(m_result[0].size()), m_height(m_result.size()) { in...
33.064516
120
0.54878
75b5a22f172625f6a8c744363d6f830d8f9313f2
2,254
hpp
C++
include/codegen/include/Zenject/AddToCurrentGameObjectComponentProvider_--c__DisplayClass15_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/AddToCurrentGameObjectComponentProvider_--c__DisplayClass15_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/AddToCurrentGameObjectComponentProvider_--c__DisplayClass15_0.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:45 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
40.25
173
0.741349
75b87972b857fbd84c695831f982b272ada18fa2
965
hpp
C++
common/include/bib/OrnsteinUhlenbeckNoise.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
27
2017-11-27T09:32:41.000Z
2021-03-02T13:50:23.000Z
common/include/bib/OrnsteinUhlenbeckNoise.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
10
2018-10-09T14:39:14.000Z
2020-11-10T15:01:00.000Z
common/include/bib/OrnsteinUhlenbeckNoise.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
3
2019-05-16T09:14:15.000Z
2019-08-15T14:35:40.000Z
#ifndef ORNSTEINUHLENBECK_HPP #define ORNSTEINUHLENBECK_HPP #include <vector> namespace bib { template<typename Real> class OrnsteinUhlenbeckNoise { public: OrnsteinUhlenbeckNoise(uint action_size, Real sigma_=.2, Real theta_=.15, Real dt_=0.01) : x_t (action_size, 0) { sigma = sigma_; theta = theta_...
19.693878
115
0.557513
75b90ec3f22c09aa37cd74b9beb9a071c2601b66
1,959
cpp
C++
Source/Driver/API/SQLSetConnectOption.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
Source/Driver/API/SQLSetConnectOption.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
Source/Driver/API/SQLSetConnectOption.cpp
yichenghuang/bigobject-odbc
c6d947ea3d18d79684adfbac1c492282a075d48d
[ "MIT" ]
null
null
null
/* * ---------------------------------------------------------------------------- * Copyright (c) 2014-2015 BigObject Inc. * All Rights Reserved. * * Use of, copying, modifications to, and distribution of this software * and its documentation without BigObject's written permission can * result in the violation o...
27.208333
79
0.663604
75badf88c78b05b59ba0ffb444e53832a715d815
3,171
cc
C++
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "shill/dbus/chromeos_modem_simple_proxy.h" #include <base/bind.h> #include "shill/cellular/cellular_error.h" #include "shill/error.h" #inclu...
33.378947
74
0.693157
75bb4de059be545230b138fcde43f895938c4a1e
409
cpp
C++
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void draw_characters(int count, char c) { for (int i = 0; i < count; ++i) { cout << c; } } void christmas_tree(char main_character, int times) { for (int row = 1; row <= times; ++row) { draw_characters(times - row, ' '); draw_characters(row * 2 - 1, main_cha...
16.36
53
0.594132
75bcef18d36e759fd1c49f900c6874c2ad77d7d0
55
cpp
C++
src-ui/tablemodel.cpp
ZhaohengLi/library-management
ffdd50e367f50354e07f5cd7aff9c826aac837b0
[ "Apache-2.0" ]
2
2021-09-06T17:13:19.000Z
2022-03-02T06:47:31.000Z
tablemodel.cpp
borneq/userQtExamples
2493a96e26293b3a842a998a09228de9834c1776
[ "MIT" ]
null
null
null
tablemodel.cpp
borneq/userQtExamples
2493a96e26293b3a842a998a09228de9834c1776
[ "MIT" ]
null
null
null
#include "tablemodel.h" TableModel::TableModel() { }
7.857143
24
0.690909
75bdac2cb35e35698d57780b633d79365809eb2e
1,640
cpp
C++
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
1
2021-06-30T06:29:54.000Z
2021-06-30T06:29:54.000Z
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
null
null
null
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AnimationFactoryReader.h" #include "FileLogger.h" #include "LoadContentException.h" #include "ContentManager.h" #include "pugixml/pugixml.hpp" std::shared_ptr<AnimationFactory> AnimationFactoryReader::Read(std::string filePath, ContentManager& contentManager) { auto xmlDocument = pugi::x...
38.139535
116
0.75061
75c093ce0b68e30ec4281f3659b798d89fc0be6e
929
cpp
C++
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
110
2016-01-14T14:46:16.000Z
2022-03-27T19:00:48.000Z
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
471
2016-08-21T14:48:15.000Z
2022-03-31T20:22:50.000Z
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
33
2016-01-25T23:30:03.000Z
2022-02-18T07:24:45.000Z
#include <windows.h> #include "dynamic_funcs.h" // Since this code requires Win2000 or later, we'll load it dynamically static HMODULE dll_gdi32 = 0; GetGlyphIndicesA_t fGetGlyphIndicesA = 0; GetGlyphIndicesW_t fGetGlyphIndicesW = 0; GetFontUnicodeRanges_t fGetFontUnicodeRanges = 0; void Init() { #if...
27.323529
100
0.759957
75c42169434068f566303a77e8c7e062f4d5bf0d
201
hpp
C++
src/ColorSYMGS.hpp
hpcg-benchmark/KHPCG3.0
9591b148ea6552342a0471a932d2abf332e490e0
[ "BSD-3-Clause" ]
5
2015-07-10T16:35:08.000Z
2021-09-13T03:29:37.000Z
src/ColorSYMGS.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
null
null
null
src/ColorSYMGS.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
3
2019-03-05T16:46:25.000Z
2021-12-22T03:49:00.000Z
#ifndef COLORSYMGS_HPP #define COLORSYMGS_HPP #include "SparseMatrix.hpp" #include "Vector.hpp" #include "KokkosSetup.hpp" int ColorSYMGS(const SparseMatrix & A, const Vector & x, Vector & y); #endif
22.333333
69
0.766169
75c76b1272dc16e0e71395a36d1be066d448e549
26,695
cpp
C++
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
1,002
2015-01-09T19:40:01.000Z
2019-05-04T12:05:09.000Z
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
667
2015-01-02T19:04:11.000Z
2019-05-03T14:43:51.000Z
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
SunburstApps/Win2D.WinUI
75a33f8f4c0c785c2d1b478589fd4d3a9c5b53df
[ "MIT" ]
258
2015-01-06T07:44:49.000Z
2019-05-01T15:50:59.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. #include "pch.h" TEST_CLASS(CanvasImageSourceUnitTests) { public: TEST_METHOD_EX(CanvasImageSourceConstruction) { // // On constructio...
39.548148
199
0.65132
75ca9fb4e04ff2b0e4d7b0b143bed3015cae2e6c
595
cc
C++
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
#include "Candle.hh" Candle::Candle(const char* textureUrl, sf::Vector2f position, float scale, float width, float height, int col, int row, sf::RenderWindow*& window, b2World*& world) : GameObject(textureUrl, position, scale, width, height, col, row, b2BodyType::b2_staticBody, window, world) { animationsManager = n...
27.045455
106
0.744538
75cbdb9e5c961527d2241b0d02724dd87a66ba54
127
cpp
C++
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2018-11-21T21:35:21.000Z
2018-11-21T21:35:21.000Z
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2017-05-13T12:21:22.000Z
2017-05-13T12:24:39.000Z
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2017-03-29T17:05:50.000Z
2017-03-29T17:05:50.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "NativeEnemyPlayerStart.h"
15.875
79
0.732283
75cec848908939229603502e222c52e38afa93d2
475
cpp
C++
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
1
2021-09-01T19:09:54.000Z
2021-09-01T19:09:54.000Z
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
null
null
null
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
1
2021-11-30T19:26:02.000Z
2021-11-30T19:26:02.000Z
// // Created by adrian on 11/6/21. // #include <list> #include "examples.h" int get_number(const string& s, const list<Entry>& phone_book) { for(auto p=phone_book.begin();p!=phone_book.end();++p) if(p->name == s) return p->number; return 0; // number not found } int main() { list<Entry> contacts = { {"Adri...
21.590909
82
0.646316
75d056890b4cd47c1a4666a5a68f2035ec6f7d31
2,757
cpp
C++
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
#include "argparse.hpp" #include <iostream> #include "cxxopts.hpp" namespace cli { RaytracerOptions parseArguments(int argc, char *argv[]) { RaytracerOptions raytracerOptions; cxxopts::Options options(argv[0], "A toy raytracer by Nicolas Hollmann."); options.add_options("General") ...
41.149254
125
0.571999
75d319b0e4c0901e9010627776cd4a3d52708e83
1,638
cpp
C++
components/physics/scene_physics/tests/fall.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/physics/scene_physics/tests/fall.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/physics/scene_physics/tests/fall.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace scene_graph::controllers; int main () { printf ("Results of fall_test:\n"); try { PhysicsManager manager (DRIVER_NAME); physics::Scene* scene (new physics::Scene (manager.CreateScene ())); Shape sphere_shape (manager.CreateSphereShape (1.f)); ...
21.552632
85
0.614774
75d5469ea85f516ebf9dfddb8943c424e37f1606
351
cc
C++
src/kernel/core/class.cc
cmejj/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
16,500
2015-01-01T00:47:42.000Z
2022-03-31T17:12:02.000Z
src/kernel/core/class.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
66
2015-01-08T15:22:11.000Z
2021-12-16T09:04:37.000Z
src/kernel/core/class.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
3,814
2015-01-01T12:42:31.000Z
2022-03-31T14:26:50.000Z
#include <os.h> /* Static objects */ Io io; /* Input/Output interface */ Architecture arch; /* Cpu and architecture interface */ Vmm vmm; /* Virtual memory manager interface */ Filesystem fsm; /* Filesystem interface */ Module modm; /* Module manager */ Syscalls syscall; /* Syscalls manager */ Syste...
25.071429
57
0.660969
75d71582fb69f38016470062819df7410ac3b096
4,166
cpp
C++
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
1
2017-04-23T04:04:25.000Z
2017-04-23T04:04:25.000Z
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
null
null
null
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
null
null
null
/* * Test1.cpp * * This file is part of the "MercuriusLib" project (Copyright (c) 2017 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include <Merc/Merc.h> #include <iostream> #include <cstdlib> static void PrintHostAddresses(const std::string& hostName) { try { auto addres...
29.971223
100
0.512242
75d82e7e884119071ba9f0788cfc53d8daeb94c3
272
cpp
C++
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-31T13:13:03.000Z
2019-01-31T13:13:03.000Z
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
null
null
null
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-14T16:24:05.000Z
2019-01-14T16:24:05.000Z
#include <ros/ros.h> #include "stopper.h" int main(int argc, char **argv) { // Initiate new ROS node named "stopper" ros::init(argc, argv, "stopper"); // Create new stopper object Stopper stopper; // Start the movement stopper.startMoving(); return 0; }
17
42
0.661765
75da9c1ef3d420e1a32e810b0fe0b90c6f564e25
2,588
hh
C++
sdd/mem/cache_entry.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
6
2015-03-21T19:21:29.000Z
2022-01-29T01:20:28.000Z
sdd/mem/cache_entry.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
1
2017-02-05T23:39:44.000Z
2017-02-05T23:40:04.000Z
libsdd/sdd/mem/cache_entry.hh
kyouko-taiga/SwiftSDD
9312160e0fac5fef6e605c9e74c543ded9708e54
[ "MIT" ]
3
2016-05-13T14:39:06.000Z
2019-08-09T20:13:39.000Z
/// @file /// @copyright The code is licensed under the BSD License /// <http://opensource.org/licenses/BSD-2-Clause>, /// Copyright (c) 2012-2015 Alexandre Hamez. /// @author Alexandre Hamez #pragma once #include <functional> // hash #include <list> #include <utility> // forward #include "s...
28.755556
100
0.553323
75de7ce582992113a81de3160bf4152d196ac7d8
71,675
cpp
C++
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
61
2017-08-09T15:10:59.000Z
2022-02-15T21:45:31.000Z
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
462
2017-07-31T21:26:46.000Z
2022-03-30T22:53:50.000Z
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
73
2017-08-24T17:39:31.000Z
2022-03-28T08:37:47.000Z
#define _TCSTYPEINTERFACE_ #include "tcstype.h" //#include "htf_props.h" #include "sam_csp_util.h" #include <cmath> using namespace std; /* ************************************************************************ Object: Generic solar model Simulation Studio Model: Type260 Author: Michael J. Wagner Date: May ...
53.729385
260
0.549997
75e5596aee746778f78381cffe406ad07ffb5f1a
5,682
cpp
C++
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ cam.setDistance(2500); gui.setup(); gui.add( toggle_0.setup("inside box",false)); gui.add( toggle_1.setup("outside box1",false)); gui.add( toggle_4.setup("outside box2",false)); gui.add...
23.774059
76
0.416579
75e84d7d6d90fe98b2bfa0f7278e9fe2c28f7805
7,971
cpp
C++
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
xriss/gamecake
015e6d324761f46235ee61a61a71dbd9a49f6192
[ "MIT" ]
28
2017-04-20T06:21:26.000Z
2021-12-10T15:22:51.000Z
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
sahwar/gamecake
9abcb937c0edc22dee2940cb06ec9a84597e989c
[ "MIT" ]
3
2017-04-05T00:41:45.000Z
2020-04-04T00:44:24.000Z
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
sahwar/gamecake
9abcb937c0edc22dee2940cb06ec9a84597e989c
[ "MIT" ]
5
2016-11-26T14:44:55.000Z
2021-07-29T04:25:53.000Z
// // Copyright (c) 2014 The ANGLE Project 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 "SimpleBenchmark.h" #include "BufferSubData.h" #include "TexSubImage.h" #include "PointSprites.h" #include <iostream> #include <r...
24.601852
94
0.613474
75ec66a2cf5a8b24571f5449a2d43f2dc1b23e8f
1,054
cpp
C++
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-01-02T10:29:32.000Z
2022-01-02T10:29:32.000Z
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
null
null
null
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-03-04T12:44:14.000Z
2022-03-04T12:44:14.000Z
class Solution { public: int minimumDeviation(vector<int>& nums) { set <int> s; // Storing all elements in sorted order //insert even directly and odd with one time multiplication //and it will become even for(int i = 0; i<nums.size() ; ++i) { ...
28.486486
74
0.446869
75ec9806e7f829e74e31082fb3e7c290a58961f6
4,810
cpp
C++
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "../../SVICores.h" #include "../../Slide/SVIBaseSlide.h" #include "../../Slide/SVIProjectionSlide.h" #include "../../Slide/SVIRenderPartManager.h" #include "../SVITexture.h" #include "../SVITextureManager.h" #include "../SVIProgramManager.h" #include "../SVIDebugRenderer.h" #include "../SVIViewport.h" #incl...
24.05
106
0.624116
75f00f39fe0f4a39addc90305154e7c6205e9604
1,415
cpp
C++
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
3
2019-04-15T14:16:53.000Z
2019-04-26T09:37:19.000Z
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
1
2019-03-11T19:10:33.000Z
2019-03-11T19:10:33.000Z
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
1
2019-04-26T09:38:04.000Z
2019-04-26T09:38:04.000Z
#include <iostream> #include <cstdlib> #include <fstream> #include <string> #include <vector> using namespace std; string zad4_3() { string line; vector<string> content; fstream file("../dane/sygnaly.txt"); // wczytywanie danych z pliku do vectora if (file.is_open()) { while (getline(...
23.583333
100
0.543463
75f13c1bb62cf1a362f9eea463a07f9b567cf933
3,690
cpp
C++
OpenGLProject/renderer.cpp
NikitaMagda/OpenGLProject
b1e13fbf64540ff36ac1026bc13d0c39edc08ddb
[ "MIT" ]
null
null
null
OpenGLProject/renderer.cpp
NikitaMagda/OpenGLProject
b1e13fbf64540ff36ac1026bc13d0c39edc08ddb
[ "MIT" ]
null
null
null
OpenGLProject/renderer.cpp
NikitaMagda/OpenGLProject
b1e13fbf64540ff36ac1026bc13d0c39edc08ddb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "renderer.h" const char* vertexShaderSource = "#version 330 core\n \ layout (location = 0) in vec3 inputPosition;\ layout (location = 1) in vec3 inputColor; \ out vec3 myColor; \ void main() \ { \ gl_Position = vec4(inputPosition, 1.0f); \ myColor = inputColor; \ }"; const char* fragmentS...
31.271186
124
0.716802
75f54a8a5cd7b7687c44b8069274ff56398e4f0e
1,587
cpp
C++
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" using namespace std; bool Pred(const int &i, const int &g) { return i == g; } int main() { system("color 70"); setlocale(0, "Russina"); SetConsoleTitle("034.STL_Unique Unique_Copy"); vector<int> vec{ 1,3,4,4,4,4,67,4,55,2,2,2,2,4,1,5 }; //отсортируем вектор дл¤ стабильной работы алгоритма...
25.190476
94
0.661626
75f97aab1684f5ca3f646c331526fdf3ac9a8bfb
4,639
cpp
C++
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
#include "windows.h" #include "../minizip-ng/mz.h" #include "../minizip-ng/mz_strm.h" #include "../minizip-ng/mz_zip.h" #include "../minizip-ng/mz_zip_rw.h" typedef struct mz_zip_reader_s { void *zip_handle; void *file_stream; void *buffered_stream; void *split...
25.349727
79
0.632033
75fa3f0e258c665df7572f01b6807b4b5a79f358
1,549
hpp
C++
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
null
null
null
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-02-26T11:11:03.000Z
2021-02-26T19:16:10.000Z
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-05-17T13:02:49.000Z
2021-05-17T13:02:49.000Z
#ifndef ORGANIZATION_MODEL_ORGANIZATION_MODEL_STATISTICS_HPP #define ORGANIZATION_MODEL_ORGANIZATION_MODEL_STATISTICS_HPP #include <stdint.h> #include <base/Time.hpp> #include <moreorg/organization_model/InterfaceConnection.hpp> #include <moreorg/organization_model/ActorModelLink.hpp> namespace owl = owlapi::model; ...
27.660714
90
0.775339
2f050085d7b99d79442a0c3e6e986aaace885244
365
hpp
C++
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
9
2017-03-30T15:37:09.000Z
2022-02-06T22:44:17.000Z
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
1
2017-04-10T14:59:31.000Z
2017-04-11T14:42:13.000Z
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
6
2017-02-25T00:19:40.000Z
2022-02-16T19:54:45.000Z
class CfgRemoteExec { class Functions { mode = 2; jip = 0; class fnc_AdminReq { allowedTargets=2; }; class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; }; class ExileExpansionServer_system_scavenge_spawnLoot { allowedTargets=0; }; }; clas...
22.8125
83
0.632877
2f06c9830e77a368f7eb4bb675e6ad52232b7bcb
1,535
cpp
C++
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#include "game_ui_teleporter.hpp" #include "../ui_text_element.hpp" #include "../ui_button.hpp" #include "../game_ui_manager.hpp" #include "../../game/items/teleporter.hpp" #include "../../engine.hpp" #include "../../game_session.hpp" #include "../../game/character.hpp" namespace space { void GameUITeleporter::i...
30.098039
134
0.626059
2f08e1a5348a24f7626ef50ef47b2c68e4f380e0
5,059
cc
C++
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "L1Trigger/TrackFindingTracklet/interface/Projection.h" #include "L1Trigger/TrackFindingTracklet/interface/Settings.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include <algorithm> using namespace std; using namespace trklet; void Projection::init(Settings const& settings, ...
38.037594
117
0.634908
2f0e58369426a872d6e60a0940741337c827f251
1,191
cpp
C++
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. 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 2 of the License, or (at your option) any later version. This program is distributed in th...
24.8125
75
0.786734
2f0fadc9f354656100b238a5d7fb9ab957259ea1
3,514
cpp
C++
source/code/utilities/program/wrappers/git/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/utilities/program/wrappers/git/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/utilities/program/wrappers/git/lib.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include <iostream> #include "code/utilities/program/wrappers/git/lib.hpp" #include "code/utilities/program/call/lib.hpp" #include "code/utilities/filesystem/paths/lib.hpp" #include "code/utilities/program/call/lib.hpp" #include "code/utilities/random/lib.hpp" #include "code/utilities/random/files/random_files.hpp" #in...
34.116505
190
0.72453
2f128127c60db93ca245e59efd2846ef5b44d83b
3,553
cpp
C++
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
19
2015-04-25T15:19:59.000Z
2022-02-28T03:00:42.000Z
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
1
2016-01-28T08:50:02.000Z
2021-08-24T02:34:48.000Z
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
7
2015-04-17T16:38:45.000Z
2021-06-25T03:39:39.000Z
#include <save/save.hpp> #include <server.hpp> #include <singleton.hpp> #include <thread_pool.hpp> #include <exception> #include <utility> using namespace MCPP; namespace MCPP { static const Word priority=1; static const String name("Save Manager"); static const String debug_key("save"); static const String s...
14.384615
66
0.599775
2f14ea844e12e79dd8fd0b279551e50734feca17
4,250
cpp
C++
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: log.cpp 48725 2011-03-02 21:40:59Z mordante $ */ /* Copyright (C) 2003 by David White <dave@whitevine.net> 2004 - 2011 by Guillaume Melquiond <guillaume.melquiond@gmail.com> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can red...
24.285714
98
0.635529
2f1f2df1db8730ae3605308972354cd45da6ec14
2,679
cc
C++
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
#include <map> #include <string> #include <vector> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" // Problem: // https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem/ // Solutions: // https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesyst...
26.524752
130
0.571855
2f20ddb15c95e2defff68f8191a81f454eb9e14e
4,154
cpp
C++
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
43
2018-05-17T07:13:18.000Z
2022-02-02T01:54:06.000Z
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
4
2018-09-20T04:14:11.000Z
2018-09-21T08:05:33.000Z
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
12
2018-05-17T09:03:31.000Z
2020-10-13T16:38:15.000Z
// Copyright 2017 Nest Labs, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
30.544118
100
0.687771
2f267878a6ac98b051d235592254c2d275d238e9
2,366
cpp
C++
src/system.cpp
chrismusashi85/CppND-System-Monitor
5855ed1e2e0279a16223176e9d476998c2695180
[ "MIT" ]
null
null
null
src/system.cpp
chrismusashi85/CppND-System-Monitor
5855ed1e2e0279a16223176e9d476998c2695180
[ "MIT" ]
null
null
null
src/system.cpp
chrismusashi85/CppND-System-Monitor
5855ed1e2e0279a16223176e9d476998c2695180
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cstddef> #include <set> #include <string> #include <vector> #include "process.h" #include "processor.h" #include "system.h" #include "linux_parser.h" using std::set; using std::size_t; using std::string; using std::vector; using std::to_string; /*You need to complete the mentioned TODOs...
37.555556
161
0.715976
2f2bdcf7447fd4ad54fdfd70d829770df30d3c37
980
cpp
C++
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
1
2021-09-17T13:10:04.000Z
2021-09-17T13:10:04.000Z
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define FAST1 ios_base::sync_with_stdio(false); #define FAST2 cin.tie(NULL); #define allsort(a) sort(a.begin(),a.end()) ll n,k; void solve(){ cin>>n>>k; if(k==0){ cout<<"Yes"<<endl; cout<<0<<endl; return; } if(k%2...
17.5
47
0.418367
2f315b9281397276f2339416be7e8d28f31ac034
887
cc
C++
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { private: const int invalid = -1; int getAnswer(vector<int>& answer, vector<int> &nums, int idx) { int max = 0; if (answer[idx] != invalid) { return answer[idx]; } for (int i = idx + 1; i < answer.size(); ++i) { if (nums[idx] >= nums[i]) {...
23.972973
68
0.421646
2f33385320806e4d297750693b873ce73938820c
837
cpp
C++
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> using namespace std; #include "ProblemList.h" /* ********************* *MADE BY MICHAEL LApAN ********************* *this program is a help desk mock up *it proccesses helkp desk tickets, *sorts and stores them. then shows top *25 then bottem 25 */ int main() ...
23.25
65
0.67503
2f40127686b3e138bd6d4c51ffba3159a2b80c29
562
cpp
C++
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; #pragma comment(linker,"/stack:1024000000,1024000000") #define db(x) cout<<(x)<<endl #define pf(x) push_front(x) #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ms(x,y) memset(x,y,sizeof x) typedef long long LL; const double pi=acos(-1),eps=1e-9; const LL ...
22.48
54
0.649466
2f40bd39f42d58fecaad97ea17318d2cace2933c
9,089
cpp
C++
src/Editor/TristeonEditor.cpp
HyperionDH/Tristeon
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
38
2017-12-04T10:48:28.000Z
2018-05-11T09:59:41.000Z
src/Editor/TristeonEditor.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
9
2017-12-04T09:58:55.000Z
2018-02-05T00:06:41.000Z
src/Editor/TristeonEditor.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
3
2018-01-10T13:39:12.000Z
2018-03-17T20:53:22.000Z
#include "Core/MessageBus.h" #ifdef TRISTEON_EDITOR #include "TristeonEditor.h" #include <ImGUI/imgui_impl_glfw_vulkan.h> #include "Core/Engine.h" #include "Core/Rendering/Vulkan/HelperClasses/CommandBuffer.h" #include "Core/Rendering/Vulkan/RenderManagerVulkan.h" #include "Asset Browser/AssetBrowser.h" #include "Scen...
42.078704
152
0.728793
2f41e4c1d1f0071946aea4c61dff3941058b388f
567
cpp
C++
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include <iostream> #include "Exer13_28_BinStrTree_point.h" using std::cout; using std::endl; int main() { TreeNode t1("t1"); TreeNode t2 = t1; t1.read(cout) << endl; t2.write("t2"); t2.read(cout) << endl; { TreeNode t3(t2); t3.read(cout) << endl; t3.write("t3"); ...
18.9
39
0.527337
2f46731513ee8207fa214c84ef6cf66b94654967
10,622
cpp
C++
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
//================================================================================ // Copyright (c) 2013 ~ 2020. HyungKi Jeong(clonextop@gmail.com) // All rights reserved. // // The 3-Clause BSD License (https://opensource.org/licenses/BSD-3-Clause) // // Redistribution and use in source and binary forms, // with or ...
28.785908
302
0.695914
2f4974d6d95586a9cbf61a1a1bf9c636ea7023a5
11,536
cpp
C++
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
1
2021-05-09T12:51:18.000Z
2021-05-09T12:51:18.000Z
#include "bruneton_probe_renderer.h" #include "../renderer.h" #include "../resource_manager.h" #include "../logger.h" #define _USE_MATH_DEFINES #include <math.h> #include <gtc/matrix_transform.hpp> namespace nimble { // --------------------------------------------------------------------------------------------------...
46.704453
527
0.59492
2f49e24392da7f48d3dc992e0586a7843d6639a6
18,714
cc
C++
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
/* --------------------------------------------------------------------- * * Copyright (C) 2013 - 2021 by the deal.II authors * * This file is part of the deal.II library. * * The deal.II library is free software; you can use it, redistribute * it, and/or modify it under the terms of the GNU Lesser Gene...
34.212066
439
0.610185
2f4c96320cf49fba14bc658832b4d561c921f50e
480
cpp
C++
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //base class class shape{ protected: int width; int height; public: void setwidth(int w) { width=w; } void setheight(int h) { height=h; } }; //drived class class rectangle:public shape { public: int get_area(){ re...
14.117647
48
0.572917
2f515c43df3d33da482c89eb87ec4ec7fecec030
1,405
cpp
C++
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// // https://open.kattis.com/problems/ummcode #include <vector> #include <algorithm> #include <iostream> #include <sstream> #include <string> #include <stack> #include <cmath> #include <map> #include <utility> #include <queue> #include <iomanip> #include <deque> #include <set> #define Forcase int __t;cin>>__t;for(int...
19.246575
68
0.472598
016ab541edfdb0fec8da16e434d4e8cfc51d05ba
3,234
cxx
C++
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
/** * \file * \brief File descriptor wrapper * * \date 2018/04/01 * \author Vaclav Krpec <vencik@razdva.cz> * * * LEGAL NOTICE * * Copyright (c) 2017, Vaclav Krpec * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
28.619469
80
0.679344
016d09b9894428db9518336c24de38bfe10ec957
611
cpp
C++
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
// Soma de Casas // https://neps.academy/lesson/173 #include <iostream> using namespace std; #define MAXN 100000 int N, K, casas[MAXN]; int busca(int x) { int ini=0, fim=N-1, meio; while (ini<=fim) { meio = (ini+fim)/2; if (casas[meio] > x) fim = meio-1; if (casas[meio] < x) ini = meio+1; if (c...
16.078947
52
0.513912
016ebe407f7707d1008e404dfdf8d8e80e371d03
2,808
cpp
C++
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
karenl7/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
6
2019-01-30T00:11:55.000Z
2022-03-09T02:44:51.000Z
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
null
null
null
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
4
2018-09-08T00:16:55.000Z
2022-03-09T02:44:54.000Z
void add_lane_disturbance_v2( beacls::FloatVec& lane, const std::vector<size_t> shape, beacls::FloatVec range, beacls::FloatVec gmin, beacls::FloatVec gmax, FLOAT_TYPE vehicle_width, FLOAT_TYPE fill_Value, size_t dim){ FLOAT_TYPE x_unit = (static_cast<float>(shape[0])-1)/(gmax[0]-gmin[0]); FLOA...
40.114286
215
0.603276
0170c9fa6a328def88ae44587ce0c326d53f3be7
1,619
cpp
C++
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
null
null
null
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
8
2018-05-26T19:27:53.000Z
2018-10-28T19:31:33.000Z
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
1
2019-05-07T15:32:38.000Z
2019-05-07T15:32:38.000Z
#include <atomic> #include <chrono> #include <codecvt> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <locale> #include <mutex> #include <modbox/log/log.hpp> static std::recursive_mutex lbfMutex; std::recursive_mutex logMutex; static std::wstring cachedLineBegin; static std::atomic...
24.164179
77
0.632489
01711e943bc73ff5e41c51c8f7030c4bafda1b67
7,173
cpp
C++
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
75
2017-05-28T23:39:33.000Z
2019-05-09T06:18:44.000Z
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
#include "test.h" #include "player/PlayFramesAction.h" TEST(playFramesAction_tests, afterDeclaration){ PlayFramesAction playFramesAction; playFramesAction.printInfo("pre:"); EXPECT_FALSE(playFramesAction.isActive()); } TEST(playFramesAction_tests, afterInit){ PlayFramesAction playFramesAction; RawPoiComman...
29.763485
71
0.732748
017121b2618bd18b2603d506038026bf18a44dfb
1,879
cpp
C++
ikloader.cpp
willsirius/Openrave_Painter
2584722ee23f97baa54c56d7c9fffcbe895a3cc6
[ "MIT" ]
null
null
null
ikloader.cpp
willsirius/Openrave_Painter
2584722ee23f97baa54c56d7c9fffcbe895a3cc6
[ "MIT" ]
null
null
null
ikloader.cpp
willsirius/Openrave_Painter
2584722ee23f97baa54c56d7c9fffcbe895a3cc6
[ "MIT" ]
null
null
null
#include <openrave-core.h> #include <vector> #include <cstring> #include <sstream> #include <stdio.h> #include <boost/iostreams/device/file_descriptor.hpp> #include <boost/iostreams/stream.hpp> #include <boost/format.hpp> using namespace OpenRAVE; using namespace std; int main(int argc, char ** argv) { if( argc < 3 ) {...
28.469697
105
0.723789
01715332cdd82763d0e23ef996bb901ffbd4d0c7
16,727
cpp
C++
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Filename: BaseWindow.cpp //////////////////////////////////////////////////////////////////////////////// #include "BaseWindow.h" #include "imgui.h" #include "..\imgui_extension.h" Jani::Inspector::BaseWindow::BaseWindow(InspectorManag...
32.99211
241
0.628505
0171b344cb1d582828969b7e099d9e2168cb09f5
5,000
cpp
C++
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
#include <lbmemcheck.hpp> #include <srs_kernel_log.hpp> #ifndef lbtrace #define lbtrace srs_trace #endif #ifndef lberror #define lberror srs_error #endif lbmemcheck_ctx* g_pmcc = NULL; lbmemcheck_ctx* lbmemcheck_initialize() { lbmemcheck_ctx* pmcc = (lbmemcheck_ctx*)::calloc(1, sizeof(lbmemcheck_ctx)); pmcc->...
28.248588
157
0.5894