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
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
int64
1
48.5k
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
int64
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
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
3f71b7b2cd73f8dec8005e0dbe0616a2b6e7fcd1
3,960
cpp
C++
src/Client.cpp
texus/SpaceInvaders
aa43408e1579208cb6aed7a2af8ab29477447bd6
[ "Zlib" ]
1
2017-11-27T17:39:12.000Z
2017-11-27T17:39:12.000Z
src/Client.cpp
texus/SpaceInvaders
aa43408e1579208cb6aed7a2af8ab29477447bd6
[ "Zlib" ]
null
null
null
src/Client.cpp
texus/SpaceInvaders
aa43408e1579208cb6aed7a2af8ab29477447bd6
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2013 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arisin...
37.714286
126
0.507576
texus
3f73de2e36464439c9c6dd15f62f61d4c97c5569
3,710
cpp
C++
Connector/UserList.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
Connector/UserList.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
Connector/UserList.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include "stdhdrs.h" #include "Server.h" #include "User.h" #include "UserList.h" #include "Log.h" #include "ProcConnMsg.h" UserList::UserList(int max_channel_count) { init_(max_channel_count); } UserList::~UserList() { std::vector<channel_info*>::iterator it = vec_channel_info.begin(); std::vector<channel_info*>...
19.734043
77
0.695418
openlastchaos
3f76f281046daa25566549bc3fdeac6cfa191d54
4,962
cpp
C++
src/core/animation.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
src/core/animation.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
src/core/animation.cpp
cubic1271/leaps
492cdcddfc0b3f63b657da94fc4a4303980dd07f
[ "Zlib", "CC0-1.0", "MIT" ]
null
null
null
#include <core/twilight.h> #include <cmath> #include <simple2d/simple2d.h> #include "core/animation.h" #include "core/resource.h" #include "core/state.h" static twilight::AnimationManager* _animation = nullptr; int twilight::AnimatedSprite::load(S2D_Sprite* sprite, const uint32_t width, const uint32_t height...
27.414365
173
0.606207
cubic1271
3f77d4632e2b98ac958a05d26dfadff941a35116
5,167
cpp
C++
main.cpp
nmalysheva/SSATAN-X
1a7dcf1b8d3addf2b228109418e8a5a4ad161aae
[ "MIT" ]
null
null
null
main.cpp
nmalysheva/SSATAN-X
1a7dcf1b8d3addf2b228109418e8a5a4ad161aae
[ "MIT" ]
null
null
null
main.cpp
nmalysheva/SSATAN-X
1a7dcf1b8d3addf2b228109418e8a5a4ad161aae
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> #include <fstream> #include <string> #include "contact_network/ContactNetwork.h" #include "algorithms/SSA.h" #include "algorithms/SSATANX.h" #include "utilities/types.h" #include "utilities/Settings.h" void saveInitialStates(nlohmann::ordered_json &output, const ContactNetwork &c...
33.551948
127
0.666151
nmalysheva
3f7fac708aa99c149751d95398167c92a44ffe3e
2,999
hh
C++
mimosa/flat/flat.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
24
2015-01-19T16:38:24.000Z
2022-01-15T01:25:30.000Z
mimosa/flat/flat.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
2
2017-01-07T10:47:06.000Z
2018-01-16T07:19:57.000Z
mimosa/flat/flat.hh
abique/mimosa
42c0041b570b55a24c606a7da79c70c9933c07d4
[ "MIT" ]
7
2015-01-19T16:38:31.000Z
2020-12-12T19:10:30.000Z
#pragma once # include <sys/types.h> # include <sys/stat.h> # include <fcntl.h> # include <unistd.h> # include <string> # include <cstdint> # include <cassert> namespace mimosa { namespace flat { /** * @class Flat * * This class is an helper to manage memory mapped. * It is usefull when d...
25.415254
89
0.565522
abique
3f82f51b08b2c21cc6b39615b7e285c9426f84bc
1,315
cpp
C++
rt/core/point.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
rt/core/point.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
rt/core/point.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
#include <core/assert.h> #include <core/float4.h> #include <core/point.h> #include <core/scalar.h> #include <core/vector.h> #include <algorithm> #include <cmath> namespace rt { Point::Point(const Float4& f4) : x() , y() , z() { //assert(std::fabs(f4[3] - 1.f) < rt::epsilon); if(f4[3] == 0) { x = f4[0...
18.785714
80
0.556654
DasNaCl
3f8385305d24e1f06891371c6aa908593e6be346
400
hpp
C++
include/Container.hpp
syoch/wiiu-libgu
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
1
2021-02-26T15:49:54.000Z
2021-02-26T15:49:54.000Z
include/Container.hpp
syoch/wiiu-libgui
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
null
null
null
include/Container.hpp
syoch/wiiu-libgui
6744c46c9522c1a6def23aa613e8b759c50064c4
[ "MIT" ]
null
null
null
#pragma once #ifndef LIBGUI_CONTAINER #define LIBGUI_CONTAINER #include <vector> #include "ContainerBase.hpp" namespace GUI { class Container : public virtual ContainerBase, public virtual WidgetBase { public: Container(ContainerBase &super, int x, int y, int w, int h); void _draw() overri...
20
77
0.67
syoch
3f8fc89bab828b99b641295c68067cb9f1f58cec
1,850
cpp
C++
matrix_formula/main.cpp
nkhatsko/tasks
a22cf0325cd2c563d39b247e12d910da9fa4f938
[ "MIT" ]
null
null
null
matrix_formula/main.cpp
nkhatsko/tasks
a22cf0325cd2c563d39b247e12d910da9fa4f938
[ "MIT" ]
null
null
null
matrix_formula/main.cpp
nkhatsko/tasks
a22cf0325cd2c563d39b247e12d910da9fa4f938
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> std::vector<int> get_vector(std::string print, char separator, char end) { std::cout << print; std::string str; std::vector<int> vector; while ((std::getline(std::cin, str, separator) && str.back() != end)) { vector.push_back(std::atoi(str.c_str())); }; ...
21.511628
76
0.475135
nkhatsko
3f92f360b98a412392412917d7ed6b0c3c0171ab
3,475
cpp
C++
Enemy.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
Enemy.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
Enemy.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
//Created by Cmag, Dsin #include "Enemy.h" Enemy::Enemy(){} Enemy::~Enemy(){} Enemy::Enemy(string const &texture, string const &deathSnd, vector<shared_ptr<Vector2f>> nodes) : animatedSprite(sf::seconds(0.2f), true, false) { startPoint = Vector2f(nodes.at(0)->x -96, nodes.at(0)->y); //set the start node endPoint ...
29.449153
170
0.673669
FroxCode
3f93a1cf5f60f2ea6daaa230d0f4f64a31c9b33f
14,727
hpp
C++
task-movement/Koala/graph/view.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
null
null
null
task-movement/Koala/graph/view.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
19
2019-02-15T09:04:22.000Z
2020-06-23T21:42:29.000Z
task-movement/Koala/graph/view.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
1
2019-05-04T16:12:25.000Z
2019-05-04T16:12:25.000Z
// Subgraph template< class Graph, class VChooser, class EChooser > Subgraph< Graph,VChooser,EChooser >::Subgraph( const Graph &g, std::pair< VChooser,EChooser > chs, std::pair< bool,bool > fr): SubgraphBase(), vchoose( chs.first ), echoose( chs.second ), counters( fr )...
32.654102
126
0.679908
miloszc
3fa35c464ee1c8739ef7654c5254fe9d652152e7
1,898
hpp
C++
src/Context.hpp
jparimaa/vk-start
78d02373765614b21fdaff6756dc37eb3dc98dbd
[ "MIT" ]
null
null
null
src/Context.hpp
jparimaa/vk-start
78d02373765614b21fdaff6756dc37eb3dc98dbd
[ "MIT" ]
null
null
null
src/Context.hpp
jparimaa/vk-start
78d02373765614b21fdaff6756dc37eb3dc98dbd
[ "MIT" ]
null
null
null
#pragma once #include "VulkanUtils.hpp" #define GLFW_INCLUDE_VULKAN #include <GLFW/glfw3.h> #include <vector> class Context final { public: struct KeyEvent { int key; int action; }; Context(); ~Context(); GLFWwindow* getGlfwWindow() const; VkPhysicalDevice getPhysicalDevi...
27.507246
96
0.722339
jparimaa
3fa3aaef3a583494000c8abf974bc5d413d34426
13,906
cc
C++
src/components/application_manager/test/commands/hmi/simple_requests_to_hmi_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
2
2016-09-21T12:36:17.000Z
2017-11-03T07:58:33.000Z
src/components/application_manager/test/commands/hmi/simple_requests_to_hmi_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
64
2016-04-21T10:30:58.000Z
2020-01-30T11:17:36.000Z
src/components/application_manager/test/commands/hmi/simple_requests_to_hmi_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
12
2015-09-14T08:17:55.000Z
2018-06-29T10:16:59.000Z
/* * Copyright (c) 2016, Ford Motor Company * All rights reserved. * * Copyright (c) 2017 Xevo Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
48.622378
87
0.795987
APipko
3fa587992b30560de5af9c1b0ad54d606bb4fff3
1,434
hpp
C++
src/cxx/ctul/cfg/collections.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
1
2020-01-30T15:13:37.000Z
2020-01-30T15:13:37.000Z
src/cxx/ctul/cfg/collections.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
null
null
null
src/cxx/ctul/cfg/collections.hpp
c0de4un/cxx-thread-util
3b7f85e32370cfeb699d7a7d3c8bf08ca99acbe5
[ "MIT" ]
null
null
null
/** * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABIL...
29.875
80
0.477685
c0de4un
3fa59f47cb5e9f19ab64685b31997165b029dd9e
4,133
cpp
C++
irohad/torii/processor/impl/query_processor_impl.cpp
steephengeorge/iroha
9e0e19035308c6ebaf706f709c5b7b3ac46e708b
[ "Apache-2.0" ]
null
null
null
irohad/torii/processor/impl/query_processor_impl.cpp
steephengeorge/iroha
9e0e19035308c6ebaf706f709c5b7b3ac46e708b
[ "Apache-2.0" ]
null
null
null
irohad/torii/processor/impl/query_processor_impl.cpp
steephengeorge/iroha
9e0e19035308c6ebaf706f709c5b7b3ac46e708b
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
37.572727
79
0.654246
steephengeorge
3fa920a8e140455c19e4f17f78f268b7b2551546
467
cpp
C++
Arrays and Strings/1.3 URLify.cpp
AbrMa/Interview-Prep
692bfd5a3bd85238b717ecd277dd739191d5fef2
[ "MIT" ]
null
null
null
Arrays and Strings/1.3 URLify.cpp
AbrMa/Interview-Prep
692bfd5a3bd85238b717ecd277dd739191d5fef2
[ "MIT" ]
null
null
null
Arrays and Strings/1.3 URLify.cpp
AbrMa/Interview-Prep
692bfd5a3bd85238b717ecd277dd739191d5fef2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; string URLify (string& str, int& n) { int copy = n - 1, write = str.size() - 1; while (copy >= 0) { if (str[copy] == ' ') { str[write - 2] = '%'; str[write - 1] = '2'; str[write] = '0'; write -= 3; } else { str[write] = str[copy]; wr...
15.566667
42
0.513919
AbrMa
3fa9f33b0594dda6cb807432272c3b9ebd27c924
600
cpp
C++
src/SingleHtmlElement.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/SingleHtmlElement.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/SingleHtmlElement.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
// // Created by Liferov Ilia (liferili) on 6/5/16. // #include "SingleHtmlElement.h" using namespace std; SingleHtmlElement::SingleHtmlElement(string name, bool block, set <string> &attributes) :HtmlElement(name, block, attributes){} bool SingleHtmlElement::isBlock() const {return this->block;} bool SingleHtmlEle...
28.571429
127
0.753333
liferili
3fab57890f3dd25784e7ecd305afb55dce7bf8b0
985
cpp
C++
CADYDIST.cpp
Akki5/spoj-solutions
9169830415eb4f888ba0300eb47a423166b8d938
[ "MIT" ]
1
2019-05-23T20:03:40.000Z
2019-05-23T20:03:40.000Z
CADYDIST.cpp
Akki5/spoj-solutions
9169830415eb4f888ba0300eb47a423166b8d938
[ "MIT" ]
null
null
null
CADYDIST.cpp
Akki5/spoj-solutions
9169830415eb4f888ba0300eb47a423166b8d938
[ "MIT" ]
1
2021-08-28T16:48:42.000Z
2021-08-28T16:48:42.000Z
#include<stdio.h> #include<iostream> #include<math.h> using namespace std; void quickSort(long long arr[], int left, int right) { int i = left, j = right; long long tmp; long long pivot = arr[(left + right) / 2]; while (i <= j) { while (arr[i] < pivot) i++; while (arr[j] > pivot) ...
18.240741
52
0.474112
Akki5
3fabce870ca5fde9e03a4a59cd6d1a27ef0a5a9e
1,826
hpp
C++
deprecated/TESTS/tensorIdxImporterTests.hpp
lubatang/uTensor
aedbc9bb5dc2e7532b744a9c6fe713c1d22bdb0b
[ "Apache-2.0" ]
1
2018-05-01T19:13:52.000Z
2018-05-01T19:13:52.000Z
deprecated/TESTS/tensorIdxImporterTests.hpp
lubatang/uTensor
aedbc9bb5dc2e7532b744a9c6fe713c1d22bdb0b
[ "Apache-2.0" ]
1
2018-04-18T16:00:04.000Z
2018-04-18T16:00:04.000Z
deprecated/TESTS/tensorIdxImporterTests.hpp
lubatang/uTensor
aedbc9bb5dc2e7532b744a9c6fe713c1d22bdb0b
[ "Apache-2.0" ]
null
null
null
#ifndef UTENSOR_IDX_IMPORTER_TESTS #define UTENSOR_IDX_IMPORTER_TESTS #include "tensorIdxImporter.hpp" #include "test.hpp" class idxImporterTest : public Test { public: void ntoh32Test(void) { testStart("ntoh32 test"); uint32_t input = 63; timer_start(); uint32_t result = ntoh32(input); timer_s...
23.113924
76
0.648959
lubatang
3fae16b8625fda8ecb93c718fdbf8a8a58cf32d5
1,847
cpp
C++
src/api/optimizers/nativeoptimizer.cpp
DavidPerezSanchez/GOS
8621f319f2fa174af89771db861c93fbb6a2a684
[ "Apache-2.0" ]
5
2020-12-29T07:56:09.000Z
2022-01-04T03:11:34.000Z
src/api/optimizers/nativeoptimizer.cpp
DavidPerezSanchez/GOS
8621f319f2fa174af89771db861c93fbb6a2a684
[ "Apache-2.0" ]
4
2020-04-15T06:41:56.000Z
2020-04-21T07:34:13.000Z
src/api/optimizers/nativeoptimizer.cpp
roger21gm/CSP2SAT
8621f319f2fa174af89771db861c93fbb6a2a684
[ "Apache-2.0" ]
2
2021-01-07T18:15:26.000Z
2022-03-07T11:54:08.000Z
#include "nativeoptimizer.h" #include <iostream> NativeOptimizer::NativeOptimizer() : Optimizer(){ } int NativeOptimizer::minimize(Encoder * e, int lb, int ub, bool useAssumptions, bool narrowBounds){ if(beforeNativeOptimizationCall) beforeNativeOptimizationCall(lb, ub); bool issat = e->optimize...
24.959459
104
0.716297
DavidPerezSanchez
3fb27d1c757eba88294d4f9fb02eccb670014165
6,155
cpp
C++
Sources/Core/cpp/SemanticAnalyzer/SMExAnaphora.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
2
2021-07-07T19:39:11.000Z
2021-12-02T15:54:15.000Z
Sources/Core/cpp/SemanticAnalyzer/SMExAnaphora.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
null
null
null
Sources/Core/cpp/SemanticAnalyzer/SMExAnaphora.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
1
2021-12-01T17:48:20.000Z
2021-12-01T17:48:20.000Z
#include "StdAfx.h" #include ".\smexanaphora.h" namespace SS { namespace Semantic { namespace AnalysisExperts { namespace IndexationExperts { CSMExAnaphora::CSMExAnaphora(void) { m_sDescription=_T(__FUNCTION__); m_AnalyseLanguage=SS::Core::Types::ealUndefined; } CSMExAnaphora::~CSMExAnaphora(void)...
21.826241
173
0.664988
elzin
3fb9734b54fec3560c2c51f0eb10fb4a3115c03b
623
cpp
C++
Porblems/anton_and_danik.cpp
ashish-ad/CPP-STL-Practice-and-Cp
ca8a112096ad96ed1abccddc9e99b1ead5cf522b
[ "Unlicense" ]
null
null
null
Porblems/anton_and_danik.cpp
ashish-ad/CPP-STL-Practice-and-Cp
ca8a112096ad96ed1abccddc9e99b1ead5cf522b
[ "Unlicense" ]
null
null
null
Porblems/anton_and_danik.cpp
ashish-ad/CPP-STL-Practice-and-Cp
ca8a112096ad96ed1abccddc9e99b1ead5cf522b
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ long int n ; string s; cin>>n>>s; char arr[n]; for (int i=0;i<n;i++){ arr[i]=s[i]; } int anton=0,danik=0; for (char i : arr){ //cout<<i<<" "; if(i=='A'){ anton+=1; } ...
16.837838
43
0.41252
ashish-ad
3fbcd59b7846eddd1194c42f3fa8a38a3e8fd0c2
2,432
hpp
C++
NavalFreightCompany.hpp
danilaferents/Vessels
06d5f3d08d1f059e53946a06240c69bd4b5e9c7f
[ "Apache-2.0" ]
null
null
null
NavalFreightCompany.hpp
danilaferents/Vessels
06d5f3d08d1f059e53946a06240c69bd4b5e9c7f
[ "Apache-2.0" ]
null
null
null
NavalFreightCompany.hpp
danilaferents/Vessels
06d5f3d08d1f059e53946a06240c69bd4b5e9c7f
[ "Apache-2.0" ]
null
null
null
#pragma once #ifndef NavalFreightCompany_hpp #define NavalFreightCompany_hpp #include "main.hpp" #include "Destination.hpp" #include "Vessels.hpp" #include "PassengerVessel.hpp" #include "CargoVessel.hpp" using namespace cargovessel; using namespace passengervessel; namespace navalfreightcompany { class NavalFreigh...
34.253521
106
0.541118
danilaferents
3fc0088a75ac48b065a0010718549bed0335cc51
905
hpp
C++
source/mpl/mpl_flatten.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
16
2015-12-04T18:17:03.000Z
2020-09-11T08:40:32.000Z
source/mpl/mpl_flatten.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
12
2017-07-12T02:04:05.000Z
2018-07-07T01:17:12.000Z
source/mpl/mpl_flatten.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
5
2016-11-11T11:47:47.000Z
2020-02-06T02:07:30.000Z
#ifndef INCLUDING_MPL_FLATTEN_HPP #define INCLUDING_MPL_FLATTEN_HPP #include "mpl_list.hpp" namespace mpl { namespace detail::flatten { template<typename TAccumulator, typename TList> struct impl {}; template<typename TList, template<typename...> typename UContainer> struct impl<TList, UContainer<>> { u...
30.166667
187
0.730387
dlin172
3fc6dba9f72442725e296de264539c08b8001cc9
2,333
cpp
C++
source/msynth/msynth/ui/processor/MIIRControl.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
1
2022-01-30T07:40:31.000Z
2022-01-30T07:40:31.000Z
source/msynth/msynth/ui/processor/MIIRControl.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
source/msynth/msynth/ui/processor/MIIRControl.cpp
MRoc/MSynth
3eb5c6cf0ad6a3d12f555ebca5fbe84c1b255829
[ "MIT" ]
null
null
null
/** * (C)2000-2003 MRoc */ #include "MIIRControl.h" #define ID_LFO_CONTROL 3080 #define ID_ENV_CONTROL 3081 MPoint MIIRControl::COMBO_POINTS[] = { MPoint( 15, 70 ), MPoint( 15, 88 ), MPoint( 15, 106 ) }; MIIRControl::MIIRControl() : MAbstractDescriptorView(), ivPtLfoControl( 0 ), ivPtEnvC...
25.086022
111
0.645092
MRoc
3fc790a4fd9ba523b1216e41f5a10ed871f83289
3,537
cc
C++
test/ustc_dbms_test.cc
zonghuaxiansheng/DSMgr
91de5694c0b9cd6e49aa937fb04b488d005b25be
[ "Apache-2.0" ]
1
2022-01-06T12:25:49.000Z
2022-01-06T12:25:49.000Z
test/ustc_dbms_test.cc
zonghuaxiansheng/DSMgr
91de5694c0b9cd6e49aa937fb04b488d005b25be
[ "Apache-2.0" ]
null
null
null
test/ustc_dbms_test.cc
zonghuaxiansheng/DSMgr
91de5694c0b9cd6e49aa937fb04b488d005b25be
[ "Apache-2.0" ]
null
null
null
#include "buffer_manager.h" // #include "data_storage_manager.h" #include <ctime> #include <iostream> enum OPS_E {R, W}; struct OPS { OPS_E ops_e_; int page_id_; }; bool RunBMgrTraceTest(ustc_dbms::BMgr& bmgr, std::string& trace_path, bool is_run) { std::fstream trace...
27.418605
94
0.502969
zonghuaxiansheng
3fce84655661d91fc4d422e299ec28385ed777eb
1,083
hpp
C++
2021/day8/src/lib.hpp
falseth/AdventOfCode
7d37e6b42be2e90660fbf322fbd1dad780793740
[ "MIT" ]
null
null
null
2021/day8/src/lib.hpp
falseth/AdventOfCode
7d37e6b42be2e90660fbf322fbd1dad780793740
[ "MIT" ]
null
null
null
2021/day8/src/lib.hpp
falseth/AdventOfCode
7d37e6b42be2e90660fbf322fbd1dad780793740
[ "MIT" ]
null
null
null
#ifndef LIB_HPP #define LIB_HPP #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <vector> #include <cmath> #include <iterator> #include "EasyBMP.h" using namespace std; vector<string> parse(string input, string delimiter); template<class T> ostream& operator<<(ostream& lhs, vec...
25.785714
101
0.674054
falseth
3fd4a37fdcd71323b2ee4978ea85b0131551a5db
307
cpp
C++
Source/Catastrophe/Gameplay/QTE_Bob/QteBobWidget.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
Source/Catastrophe/Gameplay/QTE_Bob/QteBobWidget.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
Source/Catastrophe/Gameplay/QTE_Bob/QteBobWidget.cpp
Enderderder/CatastropheGame
251888d384ae59966788cce7bbbc98c3c0be7433
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "QteBobWidget.h" UQteBobWidget::UQteBobWidget(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {} void UQteBobWidget::InitializeQteWidget_Implementation() { /// Let blueprint do the thing }
21.928571
78
0.794788
Enderderder
3fdf102762937105990c560a0e3af2a87d6b233c
1,053
hpp
C++
include/sparse/common/utility.hpp
BorysekOndrej/sparse-not-forked
f4010d6bcd46b00261b4296d8010a7a0eb3d471f
[ "MIT" ]
1
2021-04-27T16:11:16.000Z
2021-04-27T16:11:16.000Z
include/sparse/common/utility.hpp
BorysekOndrej/sparse-not-forked
f4010d6bcd46b00261b4296d8010a7a0eb3d471f
[ "MIT" ]
17
2021-03-14T09:17:32.000Z
2021-05-23T16:10:00.000Z
include/sparse/common/utility.hpp
BorysekOndrej/sparse-not-forked
f4010d6bcd46b00261b4296d8010a7a0eb3d471f
[ "MIT" ]
1
2021-05-20T15:13:05.000Z
2021-05-20T15:13:05.000Z
#pragma once #include <filesystem> #include <nlohmann/json.hpp> #include <sparse/common/types.hpp> #include <string> #include <unordered_map> namespace sparse::common { std::string load_file_into_string(const std::filesystem::path& filename); /** * @brief Removes whitespace characters from both ends of given strin...
21.489796
73
0.719848
BorysekOndrej
3fdf7f168d3b5e5bb4109bae633e1c61d14b00c9
40,687
hpp
C++
core/src/cogs/collections/btree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/src/cogs/collections/btree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/src/cogs/collections/btree.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // // Status: Good #ifndef COGS_HEADER_COLLECTION_BTREE #define COGS_HEADER_COLLECTION_BTREE #include "cogs/collections/tlink.hpp" #include "cogs/mem/ptr.hpp" namespace cogs { /// @brief Tree traversal order enum cla...
28.876508
128
0.674147
cogmine
3fe273369053c8b68929caac458fbcd4abe95670
3,659
cpp
C++
utility/detail/iface.linux.cpp
ExploreWilder/libutility
b3600d5bc77211c567674032ad1a7c65ff56cc1b
[ "BSD-2-Clause" ]
2
2018-08-26T07:34:38.000Z
2019-02-25T07:27:57.000Z
utility/detail/iface.linux.cpp
ExploreWilder/libutility
b3600d5bc77211c567674032ad1a7c65ff56cc1b
[ "BSD-2-Clause" ]
1
2021-02-22T17:23:02.000Z
2021-04-08T15:18:57.000Z
utility/detail/iface.linux.cpp
ExploreWilder/libutility
b3600d5bc77211c567674032ad1a7c65ff56cc1b
[ "BSD-2-Clause" ]
3
2019-09-25T05:22:06.000Z
2022-03-29T09:18:42.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * 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 conditions and the f...
31.817391
78
0.656737
ExploreWilder
3fe470ec03d8756e24f91db108cfe5d668492844
1,102
hpp
C++
include/containers/pop_front.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
include/containers/pop_front.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
include/containers/pop_front.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <containers/algorithms/erase.hpp> #include <containers/begin_end.hpp> #include <containers/front_back.hpp> #i...
28.25641
93
0.778584
davidstone
3fe6dd0aff22cee668181ae38d3261139a86c049
5,299
cc
C++
abel/chrono/civil_time.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/chrono/civil_time.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/chrono/civil_time.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// #include <abel/chrono/civil_time.h> #include <cstdlib> #include <string> #include <abel/strings/str_cat.h> #include <abel/chrono/time.h> namespace abel { namespace { // Since a civil time has a larger year range than abel::abel_time (64-bit years vs // 64-bit seconds, respectively) we normalize years to roughl...
32.509202
83
0.699
Conun
3fe9116e9ceb73ca2a0810d417e7837052d2dd1c
2,219
hpp
C++
externals/browser/externals/browser/externals/libhttp/http/request.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
1
2021-09-02T08:42:59.000Z
2021-09-02T08:42:59.000Z
externals/browser/externals/browser/externals/libhttp/http/request.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
null
null
null
externals/browser/externals/browser/externals/libhttp/http/request.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2017 Melown Technologies SE * * 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 conditions and the f...
30.39726
78
0.722397
HanochZhu
3feadb764dcbf2e7f025966e13fdc60bf3e7ee7f
31,178
cpp
C++
src/db/dbITerm.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
1
2021-03-04T02:35:47.000Z
2021-03-04T02:35:47.000Z
src/db/dbITerm.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
src/db/dbITerm.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus 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: //...
29.778415
95
0.6095
mgwoo
6847601bfd862fb484ee2369be0adf8d6a92b3c9
2,798
hpp
C++
include/codegen/include/OVR/OpenVR/IVRSpatialAnchors.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/OVR/OpenVR/IVRSpatialAnchors.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/OVR/OpenVR/IVRSpatialAnchors.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:04 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" #include "utils/il2cpp-utils.hpp" // Co...
59.531915
641
0.78985
Futuremappermydud
684b10100037d7d9894576302539127df413e867
1,361
cpp
C++
src/pockets/Profiling.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
src/pockets/Profiling.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
src/pockets/Profiling.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
#include "Profiling.h" using namespace pockets; OpenGLTimer::OpenGLTimer(): mId( 0 ), mWaiting( false ), mValue( 0 ) {} //! initialize OpenGL state of timer void OpenGLTimer::setup() { glGenQueries( 1, &mId ); } OpenGLTimer::~OpenGLTimer() { glDeleteQueries( 1, &mId ); } //! mark the beginning of the OpenGL comm...
20.621212
76
0.693608
pourpluie
684b80fc84d6a66e8c216428d76247423586c351
1,466
cpp
C++
Algorithms/SubSetSum.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
1
2022-03-25T10:20:25.000Z
2022-03-25T10:20:25.000Z
Algorithms/SubSetSum.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
null
null
null
Algorithms/SubSetSum.cpp
hendry19901990/AlgorithmsUnlocked
e85b6dea4b3aea9b8015db24384b1527d828395d
[ "Xnet", "X11" ]
null
null
null
#include <iostream> #include <vector> #include <deque> #include <set> #include <stdio.h> #include <unordered_map> #include <limits> using namespace std; int count = 0; vector<vector<int> > SubsetSumsHelper; void SubsbetSum(vector<vector<int> > &SubsetSumsHelper, const vector<int> &input, const int index_t, co...
25.719298
120
0.632333
hendry19901990
6852b00b1f8dbf2060bba66c9f2254c860d21f8b
17,444
cpp
C++
libace/model/BasicType.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
5
2016-06-14T17:56:47.000Z
2022-02-10T19:54:25.000Z
libace/model/BasicType.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
42
2016-06-21T20:48:22.000Z
2021-03-23T15:20:51.000Z
libace/model/BasicType.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
1
2016-10-02T02:58:49.000Z
2016-10-02T02:58:49.000Z
/** * Copyright (c) 2016 Xavier R. Guerin * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
24.569014
80
0.619984
xguerin
68613319ae7fddc8555bb650a590ddf0ee0ecf7f
73
cpp
C++
sources/source.cpp
Lasar1k/LAB_03_SharedPtr
e07b4ae86dc1ae6bacff8844348eb6138c8af83f
[ "MIT" ]
null
null
null
sources/source.cpp
Lasar1k/LAB_03_SharedPtr
e07b4ae86dc1ae6bacff8844348eb6138c8af83f
[ "MIT" ]
null
null
null
sources/source.cpp
Lasar1k/LAB_03_SharedPtr
e07b4ae86dc1ae6bacff8844348eb6138c8af83f
[ "MIT" ]
null
null
null
// Copyright 2021 Lasar1k <alf.ivan2002@gmail.com> #include <header.hpp>
24.333333
50
0.753425
Lasar1k
68664f21c3e11b8200f975b1caa8ab5f98f1f2c1
1,571
cc
C++
core/src/EnablePluginFromThis.cc
scpeters-test/ign-plugin
94482af3e9b2cc1cbb7c2dbeb2c7846f8283f0f6
[ "Apache-2.0" ]
10
2020-04-15T16:59:32.000Z
2022-03-18T20:36:17.000Z
core/src/EnablePluginFromThis.cc
scpeters-test/ign-plugin
94482af3e9b2cc1cbb7c2dbeb2c7846f8283f0f6
[ "Apache-2.0" ]
47
2020-05-04T15:07:18.000Z
2022-03-18T20:53:54.000Z
core/src/EnablePluginFromThis.cc
scpeters-test/ign-plugin
94482af3e9b2cc1cbb7c2dbeb2c7846f8283f0f6
[ "Apache-2.0" ]
11
2020-05-05T22:04:44.000Z
2022-03-18T13:59:46.000Z
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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 appl...
24.936508
78
0.691916
scpeters-test
687302306554ccd5dd517a01b6a6b7bf7defe867
3,358
hpp
C++
libiop/protocols/encoded/lincheck/holographic_lincheck_aux.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/protocols/encoded/lincheck/holographic_lincheck_aux.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/protocols/encoded/lincheck/holographic_lincheck_aux.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
/**@file ***************************************************************************** virtual oracles for holographic lincheck ***************************************************************************** * @author This file is part of libiop (see AUTHORS) * @copyright MIT license (see LICENSE file) *************...
38.597701
104
0.715307
alexander-zw
6878b9cb8aab5ce5e4ae89cff4b488f8e95f4418
704
cpp
C++
solved/0-b/blind-escape/gen.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/0-b/blind-escape/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/0-b/blind-escape/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> #include <cstdlib> #include <ctime> #define MAXT 200 #define MAXM 12 #define MAXN 12 void test_case() { int M = rand() % (MAXM - 5) + 6; int N = rand() % (MAXN - 5) + 6; printf("%d %d\n", M, N); for (int i = 0; i < M; ++i) { for (int j = 0; j < N; ++j) { char c ...
17.170732
61
0.369318
abuasifkhan
687c6c3cfe93274ccace579761ac7c8416b3de0a
3,127
cpp
C++
cynosdb/src/v20190107/model/AccountParam.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cynosdb/src/v20190107/model/AccountParam.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cynosdb/src/v20190107/model/AccountParam.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.919643
141
0.70323
suluner
68841e24e938e5f6292b471e54f773ed3dac408c
3,129
cpp
C++
lib/Globe/GlobeTest.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
lib/Globe/GlobeTest.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
lib/Globe/GlobeTest.cpp
andyrobinson/ard-nav
8162b2c9b882393ffd44e42d3f0816d7b1090760
[ "MIT" ]
null
null
null
#include "Globe.h" #include "gtest/gtest.h" #include "math.h" namespace { Globe globe; position London = {51.5073509,-0.12775823,0.0}; position Manchester = {53.479324,-2.2484851,0.0}; position Chorlton = {53.4407973,-2.272291,0.0}; position PlattFields = {53.44580, -2.22515,0.0}; position NewYork = {40.7127837, -74...
35.965517
89
0.737616
andyrobinson
68874461e5eca8dab1305093130c71286798eda3
6,678
cpp
C++
src/serialport.cpp
cybercrafts/roomba-driver
9e338db5ef6d02a23e042c88953d921db5f353a3
[ "MIT" ]
null
null
null
src/serialport.cpp
cybercrafts/roomba-driver
9e338db5ef6d02a23e042c88953d921db5f353a3
[ "MIT" ]
null
null
null
src/serialport.cpp
cybercrafts/roomba-driver
9e338db5ef6d02a23e042c88953d921db5f353a3
[ "MIT" ]
null
null
null
#include "serialport.h" #include <iostream> #include <vector> #include <cctype> #include <sstream> #include <strings.h> using namespace std; unique_ptr<SerialPort> SerialPort::NewInstance( const std::string& usb_port ){ // Try to open the file int fd = open(usb_port.c_str(), O_RDWR | O_NOCTTY); if (fd...
28.177215
102
0.532794
cybercrafts
688c15037e040bb417a5aa5352a321f096272d9e
764
hh
C++
src/Titon/Route/LocaleRoute.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
src/Titon/Route/LocaleRoute.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
src/Titon/Route/LocaleRoute.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh // strict /** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ namespace Titon\Route; /** * Prepends all routes with a locale matching pattern. * * @package Titon\Route */ class LocaleRoute extends Route { /**...
20.648649
71
0.561518
ciklon-z
688d9a496417492681949db5e849cb662e3bc65c
48,277
hpp
C++
Samples/Win7Samples/dataaccess/oledb_conformance/include/ctable.hpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/dataaccess/oledb_conformance/include/ctable.hpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/dataaccess/oledb_conformance/include/ctable.hpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
//-------------------------------------------------------------------- // Microsoft OLE DB Test // // Copyright 1995-2000 Microsoft Corporation. // // @doc // // @module CTable Header Module | This module contains header information for CTable // // @normal (C) Copyright 1995-1998 Microsoft Corporation. All Rights ...
43.142985
124
0.707086
windows-development
6897f2c63bdd2a3756e2fecac69f44434b7dfe69
983
hpp
C++
include/h3api/H3AdventureMap/H3MapLearningStone.hpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3AdventureMap/H3MapLearningStone.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3AdventureMap/H3MapLearningStone.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
31.709677
70
0.385554
Patrulek
68991572218b30c6bf4aba3d0c0cc7ff3e92d902
2,900
hpp
C++
examples/src/example_types.hpp
bergmansj/jsoncons
11db194bd3f0e3e89f29b3447e28d131db242501
[ "BSL-1.0" ]
null
null
null
examples/src/example_types.hpp
bergmansj/jsoncons
11db194bd3f0e3e89f29b3447e28d131db242501
[ "BSL-1.0" ]
null
null
null
examples/src/example_types.hpp
bergmansj/jsoncons
11db194bd3f0e3e89f29b3447e28d131db242501
[ "BSL-1.0" ]
null
null
null
#ifndef EXAMPLE_TYPES #define EXAMPLE_TYPES #include <string> #include <vector> #include <jsoncons/json.hpp> // book example namespace ns { struct book { std::string author; std::string title; double price; }; } // namespace ns namespace jsoncons { template<class Json> s...
27.358491
95
0.577586
bergmansj
689b3226db1d28a9b11fb792d01a92d89a8ad028
608
cpp
C++
src/GameHUD.cpp
eaymerich/blaster
cfe72ceb1cd2858ae419793460b0d452d1b4ee99
[ "MIT" ]
null
null
null
src/GameHUD.cpp
eaymerich/blaster
cfe72ceb1cd2858ae419793460b0d452d1b4ee99
[ "MIT" ]
null
null
null
src/GameHUD.cpp
eaymerich/blaster
cfe72ceb1cd2858ae419793460b0d452d1b4ee99
[ "MIT" ]
null
null
null
#include "GameHUD.h" GameHUD::GameHUD() : scoreText{"SCORE"}, lifeText{"LIFE"} { float charWidth = 2.0f / CHARS_PER_LINE; scoreText.setPosition(-(charWidth * 18.0f), -(charWidth * 15.0f), 0.0f); lifeText.setPosition(-(charWidth * 2.0f), -(charWidth * 15.0f), 0.0f); background.setSize(2.0f, 0....
22.518519
76
0.628289
eaymerich
689b5169cee6fc6e1305dc1023bac61ea8eb2754
533
hpp
C++
EasyDx/MeshRenderer.hpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
3
2017-03-12T07:26:56.000Z
2017-11-20T13:01:46.000Z
EasyDx/MeshRenderer.hpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
9
2019-04-27T08:36:01.000Z
2021-11-25T16:36:02.000Z
EasyDx/MeshRenderer.hpp
LYP951018/EasyDX
10b5a04c13af1fc6c3b405e309dc754a42530011
[ "Apache-2.0" ]
2
2018-04-16T09:41:56.000Z
2021-11-01T06:17:58.000Z
#pragma once #include "ComponentBase.hpp" namespace dx { class Mesh; struct Material; class MeshRenderer : public ComponentBase { public: MeshRenderer(std::shared_ptr<Mesh> mesh, std::shared_ptr<Material> material); Mesh& GetMesh() const; std::share...
22.208333
67
0.613508
LYP951018
689f544b333e56667e600020f48392c2ac61e1fc
254
cpp
C++
example/error_handling.cpp
FatihBAKIR/liaw2019-process
8f4a74ff5a71f8ade180c8a9baffd8b4c53de06d
[ "MIT" ]
null
null
null
example/error_handling.cpp
FatihBAKIR/liaw2019-process
8f4a74ff5a71f8ade180c8a9baffd8b4c53de06d
[ "MIT" ]
null
null
null
example/error_handling.cpp
FatihBAKIR/liaw2019-process
8f4a74ff5a71f8ade180c8a9baffd8b4c53de06d
[ "MIT" ]
null
null
null
#include <process> #include <system_error> int main() { try { std::process proc("does-not-exist", {}); } catch (process_error & pe) { std::cout << "Process launch error for file: " << pe.path() << std::endl; } }
16.933333
81
0.527559
FatihBAKIR
68a2062277dc73ef696a5e5c0b5e297c99d6c117
3,063
cc
C++
tests/bit_array.cc
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
null
null
null
tests/bit_array.cc
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
1
2020-08-19T15:46:56.000Z
2020-08-19T15:46:56.000Z
tests/bit_array.cc
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
null
null
null
// // Created by 方泓睿 on 2020/8/6. // #include "helper.h" #pragma clang dianostic push #pragma ide diagnostic ignored "cert-err58-cpp" using BitArray = kerfuffle::detail::BitArray<kerfuffle::ShortIndex, 6>; using Bits = typename BitArray::Bits; namespace kerfuffle { namespace test { class BitArrayTest : public ...
21.41958
71
0.618022
GameVTeam
68a46d0d888a3945757d43dc6a3ccbe16b9359aa
2,792
cpp
C++
src/network/debug_client.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
null
null
null
src/network/debug_client.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
null
null
null
src/network/debug_client.cpp
ybbhwxfj/block-db
2482ff6631184ecbc6329db97a2c0f8e19a6711f
[ "Apache-2.0" ]
1
2021-12-28T02:25:34.000Z
2021-12-28T02:25:34.000Z
#include "network/debug_client.h" // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail 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) // // Official repository: https://github.com/boo...
28.783505
80
0.633596
ybbhwxfj
68a624183ed70e0d0f013c3facd7212d202f089b
760
cpp
C++
src/JsonReplyWrapper.cpp
StudDev/poszhalusta_primite_proekt
90220821392fa019c461cfd480f6ec454643f54e
[ "Apache-2.0" ]
null
null
null
src/JsonReplyWrapper.cpp
StudDev/poszhalusta_primite_proekt
90220821392fa019c461cfd480f6ec454643f54e
[ "Apache-2.0" ]
1
2020-06-29T21:19:08.000Z
2020-06-29T21:19:08.000Z
src/JsonReplyWrapper.cpp
oleggator/yandex_disk_gui
90220821392fa019c461cfd480f6ec454643f54e
[ "Apache-2.0" ]
null
null
null
#include <QtCore/QJsonDocument> #include "JsonReplyWrapper.h" JsonReplyWrapper::JsonReplyWrapper(QObject *parent) : ReplyWrapper{parent} { } //TODO: check reply for nullptr JsonReplyWrapper::JsonReplyWrapper(QNetworkReply *reply, QObject *parent) : ReplyWrapper{reply, parent} { } JsonReplyWrapper::~JsonReplyWr...
23.030303
73
0.747368
StudDev
68a86ca46d7d640778a8dbe07a717774f55916b8
769
cpp
C++
sources/world/render/private/texture_single_component.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
4
2019-09-14T09:18:47.000Z
2022-01-29T02:47:00.000Z
sources/world/render/private/texture_single_component.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
null
null
null
sources/world/render/private/texture_single_component.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
1
2020-03-25T14:41:17.000Z
2020-03-25T14:41:17.000Z
#include "world/render/texture_single_component.h" #include <ghc/filesystem.hpp> namespace hg { const Texture& TextureSingleComponent::get(const std::string& name) const { const std::string normalized_name = ghc::filesystem::path(name).lexically_normal().string(); if (auto result = m_textures.find(normalized...
32.041667
96
0.711313
suVrik
68a8bab4b36791674841c15d443caa8deb5788b5
802
cpp
C++
C++/k-concatenation-maximum-sum.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/k-concatenation-maximum-sum.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/k-concatenation-maximum-sum.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: int kConcatenationMaxSum(vector<int>& arr, int k) { static const int MOD = 1e9 + 7; if (k == 1) { return max(maxSubKArray(arr, 1), 0) % MOD; } return (max(maxSubKArray(arr, 2), 0) + (k - 2) * max(accu...
28.642857
85
0.483791
jaiskid
68abd9626dc12b02b511e6a67700efa351f569f8
8,608
cpp
C++
src/MacierzKw.cpp
MarutTomasz/ZadanieUkladRownan
5c488f5949b412053a0d59a5fc6bced461b7f711
[ "MIT" ]
null
null
null
src/MacierzKw.cpp
MarutTomasz/ZadanieUkladRownan
5c488f5949b412053a0d59a5fc6bced461b7f711
[ "MIT" ]
null
null
null
src/MacierzKw.cpp
MarutTomasz/ZadanieUkladRownan
5c488f5949b412053a0d59a5fc6bced461b7f711
[ "MIT" ]
null
null
null
#include "MacierzKw.hh" /********** SET I GET **********/ Wektor & MacierzKw::operator[] (int index) { if (index < 0 || index >= ROZMIAR) { cerr << "Poza zakresem" << endl; exit(1); } return tab[index]; } const Wektor & MacierzKw::operator[] (int index) const { if (index < 0 || index >= ROZMIAR) { ...
24.594286
84
0.554252
MarutTomasz
68b487067562f2510307c366f0ab03ee81ccd305
3,720
cpp
C++
Minesweeper/VoidEngine/Window/Input.cpp
VoidRune/Minesweeper
d36879cc89f4485199cf7000a326f14635305c07
[ "MIT" ]
null
null
null
Minesweeper/VoidEngine/Window/Input.cpp
VoidRune/Minesweeper
d36879cc89f4485199cf7000a326f14635305c07
[ "MIT" ]
null
null
null
Minesweeper/VoidEngine/Window/Input.cpp
VoidRune/Minesweeper
d36879cc89f4485199cf7000a326f14635305c07
[ "MIT" ]
null
null
null
#include "Input.h" unsigned int Input::keyStates[348]; unsigned int Input::keyPrevStates[348]; unsigned int Input::mouseButtonStates[7]; unsigned int Input::mouseButtonPrevStates[7]; int Input::mouseScrollState[2]; char Input::keyBuffer[8]; char Input::keyBufferIndex = 0; char Input::keyBufferSearchIndex = 0; vec2f ...
22.275449
89
0.702957
VoidRune
68ce2d1d9f09620b7b59e03fb85093fee70bb08f
2,015
hh
C++
src/c++/include/grm/KlibAligner.hh
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
111
2017-11-24T18:22:50.000Z
2022-02-25T07:55:31.000Z
src/c++/include/grm/KlibAligner.hh
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
61
2018-01-01T19:58:06.000Z
2022-03-09T12:01:17.000Z
src/c++/include/grm/KlibAligner.hh
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
30
2018-03-01T04:41:15.000Z
2022-03-11T14:52:03.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Paragraph // Copyright (c) 2016-2019 Illumina, 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:...
23.430233
88
0.681886
vb-wayne
68cfc2d3343324d47bd400231381fad7f9944d79
3,780
cpp
C++
Nacro/SDK/FN_JournalObjectiveEntry_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_JournalObjectiveEntry_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2021-08-11T18:40:26.000Z
2021-08-11T18:40:26.000Z
Nacro/SDK/FN_JournalObjectiveEntry_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function JournalObjectiveEntry.Journa...
28.208955
146
0.746032
Milxnor
68d7af0ebe093d129bbeab993d586055b579f384
535
hpp
C++
seal-c/encryption_parameters.hpp
lambdageek/sealsharp
63863f1542ada35d299453cf382f42c7c5544404
[ "MIT" ]
3
2019-01-07T20:32:13.000Z
2020-01-19T17:30:58.000Z
seal-c/encryption_parameters.hpp
lambdageek/sealsharp
63863f1542ada35d299453cf382f42c7c5544404
[ "MIT" ]
1
2019-01-31T19:15:42.000Z
2019-01-31T19:15:42.000Z
seal-c/encryption_parameters.hpp
lambdageek/sealsharp
63863f1542ada35d299453cf382f42c7c5544404
[ "MIT" ]
null
null
null
#ifndef _SEAL_C_ENCRYPTION_PARAMETERS_HPP #define _SEAL_C_ENCRYPTION_PARAMETERS_HPP #include <seal-c/types.h> #include <seal/encryptionparams.h> #include "wrap.hpp" namespace seal_c { namespace wrap { template<> struct Wrap<seal::EncryptionParameters*> : public WrapPair<seal::EncryptionParameters*, SEALEncryp...
22.291667
124
0.781308
lambdageek
68e99e0dee0f4bcadbfd18aaadea1f5c7168293b
4,955
cpp
C++
apps/opencs/view/filter/editwidget.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/filter/editwidget.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/filter/editwidget.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "editwidget.hpp" #include <QAbstractItemModel> #include <QString> #include <QApplication> #include "../../model/world/data.hpp" CSVFilter::EditWidget::EditWidget (CSMWorld::Data& data, QWidget *parent) : QLineEdit (parent), mParser (data) { mPalette = palette(); connect (this, SIGNAL (textChanged (...
25.280612
178
0.56226
Bodillium
68ebae7a9ea3f98702161aa2d6384fa7aa4ca3b1
284
hpp
C++
src/isle/cpp/species.hpp
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
2
2021-01-14T17:47:01.000Z
2021-07-16T22:31:25.000Z
src/isle/cpp/species.hpp
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
21
2018-06-04T07:09:02.000Z
2020-12-11T09:37:08.000Z
src/isle/cpp/species.hpp
chelseajohn/isle
f610b55a1e8b6d2584896eb649092b0524cc1f8c
[ "MIT" ]
3
2021-01-18T19:18:29.000Z
2021-03-26T03:27:15.000Z
/** \file * \brief Enum Species. */ #ifndef SPECIES_HPP #define SPECIES_HPP namespace isle { /// Mark particles and holes. enum class Species { PARTICLE, ///< 'Normal' particles. HOLE ///< Anti-particlces, or holes. }; } #endif // ndef SPECIES_HPP
16.705882
45
0.605634
chelseajohn
1900777a9d7512fe526668ea659dbe4fd5966b91
4,070
cpp
C++
opengl-gui/src/Util.cpp
ChewyGumball/opengl_gui
b2bd1803f0cfb01db08c88da5091546076dfc2a3
[ "MIT" ]
2
2019-08-27T00:37:11.000Z
2021-11-25T14:34:23.000Z
opengl-gui/src/Util.cpp
ChewyGumball/opengl_gui
b2bd1803f0cfb01db08c88da5091546076dfc2a3
[ "MIT" ]
null
null
null
opengl-gui/src/Util.cpp
ChewyGumball/opengl_gui
b2bd1803f0cfb01db08c88da5091546076dfc2a3
[ "MIT" ]
2
2018-10-18T12:12:28.000Z
2019-08-27T00:36:21.000Z
#include <string> #include <vector> #include <iostream> #include <memory> #include "Util.h" namespace OpenGLGUI::Util { Shader::Shader(const std::string &source, GLuint shaderType) { shaderID = glCreateShader(shaderType); const GLchar *shaderSource = source.c_str(); glShaderSource(shaderID, 1, &shaderSource,...
26.601307
116
0.705405
ChewyGumball
190124c1ff440ef0b7e2f47bf656b2d9d5f0c59a
3,649
cpp
C++
graph-source-code/131-D/12520672.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/131-D/12520672.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/131-D/12520672.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <bits/stdc++.h> #define SZ(X) ((int)(X).size()) #define ALL(X) (X).begin(), (X).end() #define REP(I, N) for (int I = 0; I < (N); ++I) #define REPP(I, A, B) for (int I = (A); I < (B); ++I) #define PER(I, N) for (int I = (N); I >= 0; --I) #define PERR(I, A, B) for (int I = (A); I >= B...
29.192
90
0.46177
AmrARaouf
1906c547679c2fc218a1ab339e3979cbd5ae2821
1,316
cpp
C++
avs_dx/DxVisuals/Interop/msvcrt.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
33
2019-01-28T03:32:17.000Z
2022-02-12T18:17:26.000Z
avs_dx/DxVisuals/Interop/msvcrt.cpp
visbot/vis_avs_dx
03e55f8932a97ad845ff223d3602ff2300c3d1d4
[ "MIT" ]
2
2019-11-18T17:54:58.000Z
2020-07-21T18:11:21.000Z
avs_dx/DxVisuals/Interop/msvcrt.cpp
Const-me/vis_avs_dx
da1fd9f4323d7891dea233147e6ae16790ad9ada
[ "MIT" ]
5
2019-02-16T23:00:11.000Z
2022-03-27T15:22:10.000Z
#include "stdafx.h" #include "msvcrt.h" namespace msvcrt { class Dll { HMODULE hm = nullptr; template<class T> inline bool getProc( T& fn, const char* lpProcName ) { fn = (T)GetProcAddress( hm, lpProcName ); if( nullptr == fn ) { char buff[ 64 ]; sprintf_s( buff, "%s not found in msvcrt.dll...
16.45
70
0.576748
Const-me
190ac5c103ab3c4871fe0e316aa67603f9528de2
496
cpp
C++
hackerearth_grind/practice/basic_programming/implementation/a_special_number.cpp
soumyankar/CompetitiveCoding
c49b02cd86212415a1aa221f0496ec3a467d128d
[ "Apache-2.0" ]
null
null
null
hackerearth_grind/practice/basic_programming/implementation/a_special_number.cpp
soumyankar/CompetitiveCoding
c49b02cd86212415a1aa221f0496ec3a467d128d
[ "Apache-2.0" ]
null
null
null
hackerearth_grind/practice/basic_programming/implementation/a_special_number.cpp
soumyankar/CompetitiveCoding
c49b02cd86212415a1aa221f0496ec3a467d128d
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; long long int sumOfDigits(int n) { long long int ans=0; while(n!=0) { ans+=n%10; n/=10; } return ans; } int main() { int t; cin >> t; while(t--!=0) { long long int n,flag,i; cin >> n; for(i=n; ;i++) ...
15.030303
38
0.366935
soumyankar
19122d2c70ff133b0c10f1a6e8e2af83b51fff18
1,273
cpp
C++
src/convection/incflo_godunov_ppm.cpp
michaeljbrazell/amr-wind
97ca5242399103e0ed91bef318ab02f69a3166d6
[ "BSD-3-Clause" ]
null
null
null
src/convection/incflo_godunov_ppm.cpp
michaeljbrazell/amr-wind
97ca5242399103e0ed91bef318ab02f69a3166d6
[ "BSD-3-Clause" ]
null
null
null
src/convection/incflo_godunov_ppm.cpp
michaeljbrazell/amr-wind
97ca5242399103e0ed91bef318ab02f69a3166d6
[ "BSD-3-Clause" ]
null
null
null
#include <incflo_godunov_ppm.H> #include <incflo.H> using namespace amrex; void incflo::predict_ppm (int lev, Box const& bx, int ncomp, Array4<Real> const& Imx, Array4<Real> const& Ipx, Array4<Real> const& Imy, Arr...
36.371429
85
0.549097
michaeljbrazell
192549eba35fbc312a22c9b57177f2c63f6a5475
2,754
cpp
C++
src/brevity/tests/rep/Manager.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
4
2015-12-16T06:43:14.000Z
2020-01-24T06:05:47.000Z
src/brevity/tests/rep/Manager.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
src/brevity/tests/rep/Manager.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
/*NOCHKSRC*/ //============================================================================== // // PLEASE DO NOT EDIT; THIS FILE WAS AUTOMATICALLY GENERATED BY GENCLASS 1.1.2 // //============================================================================== #include <cimple/Meta_Class.h> #include <cimple/Meta_Proper...
21.184615
82
0.654684
LegalizeAdulthood
1929d5b9961c3ff8a27f540094bbe7cf42f73afa
18,427
hpp
C++
deus/deus.hpp
messer-cpp/veiler
d827f01faba481f4fbb41515af2de8b3872d64c3
[ "BSL-1.0" ]
2
2015-10-31T05:47:45.000Z
2018-03-25T01:28:44.000Z
deus/deus.hpp
messer-cpp/veiler
d827f01faba481f4fbb41515af2de8b3872d64c3
[ "BSL-1.0" ]
null
null
null
deus/deus.hpp
messer-cpp/veiler
d827f01faba481f4fbb41515af2de8b3872d64c3
[ "BSL-1.0" ]
1
2020-05-12T11:15:07.000Z
2020-05-12T11:15:07.000Z
//Copyright (C) 2012-2018 I // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include<utility> #include<tuple> #include<variant> #include<type_traits> #include<veiler/temple/integer.hpp> #include<veiler/temple/type.hp...
44.617433
291
0.691214
messer-cpp
19375e858fa97b18555acfeef046084b1dee2f35
4,320
cpp
C++
apps/vaporgui/guis/instancetable.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/guis/instancetable.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/guis/instancetable.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************ // * // Copyright (C) 2006 * // University Corporation for Atmospheric Research * // All Rights Reserved * // * //**********************************************************...
32
107
0.684028
yyr
19388597e077be2db928e863add0ca2254cf5cba
5,966
cpp
C++
BaldLionEngine/src/BaldLion/Core/Memory/MemoryManager.cpp
Efore/BaldLionEngine
ebd915805533a767b67690ca8749d1454a6fd379
[ "Apache-2.0" ]
null
null
null
BaldLionEngine/src/BaldLion/Core/Memory/MemoryManager.cpp
Efore/BaldLionEngine
ebd915805533a767b67690ca8749d1454a6fd379
[ "Apache-2.0" ]
null
null
null
BaldLionEngine/src/BaldLion/Core/Memory/MemoryManager.cpp
Efore/BaldLionEngine
ebd915805533a767b67690ca8749d1454a6fd379
[ "Apache-2.0" ]
null
null
null
#include "blpch.h" #include "MemoryManager.h" namespace BaldLion { namespace Memory { FreeListAllocator* MemoryManager::s_freeListMainAllocator; FreeListAllocator* MemoryManager::s_freeListRendererAllocator; FreeListAllocator* MemoryManager::s_freeListECSAllocator; LinearAllocator* MemoryManager::s_linearF...
29.83
222
0.752095
Efore
193c01958bfd467dd6a38942486f63e1c7c3d873
973
hpp
C++
macOS/bootstrap/bootstrap.hpp
unknownv2/CoreHook.ProcessInjection
8c07124f54d748c7e33d40397c4adb5c5af9d382
[ "MIT" ]
1
2021-07-21T19:13:35.000Z
2021-07-21T19:13:35.000Z
macOS/bootstrap/bootstrap.hpp
unknownv2/CoreHook.ProcessInjection
8c07124f54d748c7e33d40397c4adb5c5af9d382
[ "MIT" ]
1
2018-07-04T23:17:48.000Z
2018-07-05T12:16:38.000Z
macOS/bootstrap/bootstrap.hpp
unknownv2/CoreHook.ProcessInjection
8c07124f54d748c7e33d40397c4adb5c5af9d382
[ "MIT" ]
1
2019-05-16T00:37:08.000Z
2019-05-16T00:37:08.000Z
#ifndef bootstrap_hpp #define bootstrap_hpp #include <stdio.h> #define DLLEXPORT __attribute__((visibility("default"))) extern "C" void bootstrap(ptrdiff_t offset, void *param, size_t psize, void *dummy) DLLEXPORT; #define BYTE unsigned char #define FunctionNameMax 256 struct BinaryLoaderArgs { bool Verbose; ...
23.166667
94
0.758479
unknownv2
19478360b04b61f899891b68293abf09f92a59e5
10,254
cpp
C++
src/httphandlerfactory.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
6
2017-06-20T13:14:20.000Z
2019-09-18T06:12:37.000Z
src/httphandlerfactory.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
1
2018-04-29T14:01:56.000Z
2018-04-29T14:01:56.000Z
src/httphandlerfactory.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
5
2017-06-20T13:39:22.000Z
2019-09-18T06:13:02.000Z
#include "httphandlerfactory.h" #include <proxygen/httpserver/RequestHandler.h> #include <proxygen/lib/http/HTTPMessage.h> #include "config.h" #include "couchbase_cacher.h" #include "json_util.h" #include "mon_handler.h" #include "nodes_monitor.h" #include "status_monitor.h" #include "tile_cacher.h" #include "tile_ha...
43.449153
111
0.579871
sputnik-maps
19481ea85a85eefcf9d4776da4dc8717b532fc66
1,157
cpp
C++
GraphicsFramework/GraphicsFramework/core/Object.cpp
sidu7/GraphicsFramework
c81c021a9a1d479c3c18eba533318ce84481ca5c
[ "Apache-2.0" ]
null
null
null
GraphicsFramework/GraphicsFramework/core/Object.cpp
sidu7/GraphicsFramework
c81c021a9a1d479c3c18eba533318ce84481ca5c
[ "Apache-2.0" ]
null
null
null
GraphicsFramework/GraphicsFramework/core/Object.cpp
sidu7/GraphicsFramework
c81c021a9a1d479c3c18eba533318ce84481ca5c
[ "Apache-2.0" ]
null
null
null
#include "Object.h" #include "../utils/JSONHelper.h" #include "ShapeManager.h" #include "../opengl/Shader.h" #include "Components/Components.h" #include "../opengl/Renderer.h" #include "../opengl/Texture.h" #include "Components/Transform.h" #include "Components/Material.h" #include "Components/RotateInCircle.h" #includ...
21.830189
73
0.707865
sidu7
1949fbe3865c516c2e371721ee5d6187e7415673
176
cpp
C++
Lab7/src/Task3.cpp
Inaceat/SP
983e2de5900db8f36b2b04f95c3b4318f9c8f6fe
[ "MIT" ]
1
2019-12-10T10:34:28.000Z
2019-12-10T10:34:28.000Z
Lab7/src/Task3.cpp
Inaceat/SP
983e2de5900db8f36b2b04f95c3b4318f9c8f6fe
[ "MIT" ]
null
null
null
Lab7/src/Task3.cpp
Inaceat/SP
983e2de5900db8f36b2b04f95c3b4318f9c8f6fe
[ "MIT" ]
1
2019-11-26T05:20:30.000Z
2019-11-26T05:20:30.000Z
#include "stdafx.h" #include "Tasks.hpp" #include "ChategClient.hpp" void Task3::Do() { auto client = new Chateg::ChategClient(); client->Start(); delete client; }
9.777778
42
0.659091
Inaceat
194b6c791974be4a28e56f25eaa89616b891f376
8,019
cpp
C++
src/Components.cpp
SwellLay/BaconPlugs
b081ed8a6cb8eb0cee85378e8a9c4aa1d27b757b
[ "Apache-2.0" ]
null
null
null
src/Components.cpp
SwellLay/BaconPlugs
b081ed8a6cb8eb0cee85378e8a9c4aa1d27b757b
[ "Apache-2.0" ]
null
null
null
src/Components.cpp
SwellLay/BaconPlugs
b081ed8a6cb8eb0cee85378e8a9c4aa1d27b757b
[ "Apache-2.0" ]
null
null
null
#include "BaconPlugs.hpp" #include <jansson.h> struct InternalFontMgr { static std::map< std::string, int > fontMap; static int get( NVGcontext *vg, std::string resName ) { if( fontMap.find( resName ) == fontMap.end() ) { fontMap[ resName ] = nvgCreateFont( vg, resName.c_str(), assetPlugin( pl...
27.091216
133
0.598828
SwellLay
194c55840cd663a5469b08b9d3889f3cdf14ae42
538
cpp
C++
Main course/Homework4/Problem1/Source files/MovingAverager.cpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem1/Source files/MovingAverager.cpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem1/Source files/MovingAverager.cpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
#include "MovingAverager.hpp" MovingAverager::MovingAverager(const std::string& id, size_t windowSize) : Averager(id), windowSize(windowSize) { } int MovingAverager::read() const { if (this->messages.size() < this->windowSize || this->windowSize == 0) { return this->Averager::read(); } int sum = 0; for (i...
19.214286
72
0.667286
nia-flo
194d3882de93eb3670f030525233322fb26c1457
1,364
cpp
C++
Codechef/CHEFFILT2.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
Codechef/CHEFFILT2.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
Codechef/CHEFFILT2.cpp
jceplaras/competitiveprogramming
d92cbedd31d9aa812a6084aea50e573886e5e6e4
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <vector> #define FOR(i,a,b) for (int i = a; i <= b; i++) #define FORN(i,N) for (int i = 0; i < N; i++) #define FORD(i,a,b) for (int ...
16.839506
68
0.495601
jceplaras
194dd687dae0075f8a48fd71e1355d9575ea9383
1,557
cpp
C++
src/jgw_play.cpp
jonathanmarp/jgw
0ca017bd5e0073028afe0e0daafc362fc4994e06
[ "MIT" ]
5
2021-03-21T06:34:56.000Z
2021-05-05T03:11:18.000Z
src/jgw_play.cpp
jonathanmarp/jgw
0ca017bd5e0073028afe0e0daafc362fc4994e06
[ "MIT" ]
14
2021-04-02T09:06:47.000Z
2022-03-02T05:12:11.000Z
src/jgw_play.cpp
thekotekjournal/jgw
4a260af2260ea45c9607b29eee9104fe471cd126
[ "MIT" ]
6
2021-04-02T04:47:14.000Z
2021-05-05T03:45:48.000Z
/* Library C++ */ #include <iostream> #include "../app/include/sound.h" #include "../app/include/structure.h" #include "../app/include/fileshelp.h" #include "../app/include/jgw_play.h" void JGW_PLAY::SetStructRefrenchToZero(std::vector<compileSound>& __BUFF__) { __BUFF__[__BUFF__.size() - 1].S_HZ = 0; __BUFF__[__BU...
24.328125
84
0.662813
jonathanmarp
19526bf04fa98be8c7080adc417ac2586ef9752b
1,205
cpp
C++
yelp/LT-418 Sentence Screen Fitting.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
yelp/LT-418 Sentence Screen Fitting.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
yelp/LT-418 Sentence Screen Fitting.cpp
yekesit/OA-or-Interview-Questions
89c0a4db10c4ffde6d49835c0621f9ec2e04f141
[ "MIT" ]
null
null
null
// // Created by Ke Ye on 2019-08-08. // #include <iostream> #include <vector> using namespace std; // Review here. Since the filling task can be repetitive, so we should record some previous situation to save time // if there are much more loops in the future. class Solution{ public: int wordsTyping(vector<stri...
28.690476
114
0.493776
yekesit
195ace1041792a7a12199ef9db96ec4c5c252ad8
1,381
cpp
C++
src/test/vector_test.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
null
null
null
src/test/vector_test.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
2
2016-10-02T18:58:33.000Z
2016-10-15T13:50:39.000Z
src/test/vector_test.cpp
Coolnesss/max-flow
12e5acd32206f4b2f63e111600e7fa8f6eec9411
[ "Apache-2.0" ]
null
null
null
typedef long long ll; #include "catch.hpp" #include "../data-structures/vector.h" TEST_CASE( "Vector allocates zeros for size n", "[vector]" ) { int n = 10; vector<int> v(n); for(int i = 0; i < n; i++) { REQUIRE(v[i] == 0); } } TEST_CASE( "Vector retains elements", "[vector]" ) { ...
19.180556
86
0.43664
Coolnesss
1962b799269954123b3617d370ffd1701df2f62e
497
cpp
C++
AED/6/6q6.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
AED/6/6q6.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
AED/6/6q6.cpp
Iigorsf/AED
2151ef562be8088cd76efe7afb9e73b165027fa1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int matriz[6][4], maior; for( int i=0; i<6; i++){ for( int j=0; j<4; j++){ cin>>matriz[i][j]; } } for( int i=0; i<6; i++){ maior = matriz[i][0]; for( int j=0; j<4; j++){ if(matriz[i][j]>maior){ maior=matriz[i][j]; } } for( int ...
15.060606
34
0.466801
Iigorsf
196a2b24c8368e877fc4abf5be65ded478dfd3de
1,057
cpp
C++
dynamic_programming/alphacode.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
1
2020-08-11T17:50:01.000Z
2020-08-11T17:50:01.000Z
dynamic_programming/alphacode.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
dynamic_programming/alphacode.cpp
ankit2001/CP_Algos
eadc0f9cd92a5a01791e3171dfe894e6db948b2b
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); string s; while (cin >> s) { if (s == "0") { break; } int len = s.length(); long long dp[len + 1]; bool vis[len + 1]; memset (vis, false, sizeof(vis)); function <...
21.14
59
0.375591
ankit2001
196ce0d6a01b2638a5ac77fa4ce3d8ae5f8fc2a8
8,065
cpp
C++
src/CWindowManager.cpp
AGLExport/ilm-manager
6ba0d1f9466693c9c9f30447d50c6b91b40712d2
[ "Apache-2.0" ]
null
null
null
src/CWindowManager.cpp
AGLExport/ilm-manager
6ba0d1f9466693c9c9f30447d50c6b91b40712d2
[ "Apache-2.0" ]
null
null
null
src/CWindowManager.cpp
AGLExport/ilm-manager
6ba0d1f9466693c9c9f30447d50c6b91b40712d2
[ "Apache-2.0" ]
1
2020-01-16T11:37:36.000Z
2020-01-16T11:37:36.000Z
#include "CWindowManager.hpp" #include <string> #include <iostream> #include <fstream> #include <stdlib.h> #include <unistd.h> //----------------------------------------------------------------------------- CWindowManager::CWindowManager() { } //-----------------------------------------------------------------...
26.617162
128
0.566894
AGLExport
196dfc719a1a0bf84ab9173208b49f035b469815
3,697
cpp
C++
tests/src/calc_helper.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
4
2021-01-18T03:11:14.000Z
2022-01-29T09:17:06.000Z
tests/src/calc_helper.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
32
2018-10-11T22:05:14.000Z
2019-05-26T16:25:38.000Z
tests/src/calc_helper.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
null
null
null
/** * Calculator Comrade Library * License: https://github.com/DmitryDzz/calculator-comrade-lib/blob/master/LICENSE * Author: Dmitry Dzakhov * Email: info@robot-mitya.ru */ #include "calc_helper.h" #define S1 ((int8_t)1) using calculatorcomrade::Register; using calculatorcomrade::Button; int64_t calculatorcomra...
34.551402
103
0.554233
DmitryDzz
1971188caa8747a255a45c7478e34dce6ea1288b
1,135
cpp
C++
sources/2015/2015_03.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
2
2021-02-01T13:19:37.000Z
2021-02-25T10:39:46.000Z
sources/2015/2015_03.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
sources/2015/2015_03.cpp
tbielak/AoC_cpp
69f36748536e60a1b88f9d44a285feff20df8470
[ "MIT" ]
null
null
null
#include "2015_03.h" namespace Day03_2015 { int part_one(const string& s) { int x = 0; int y = 0; t_visitedLocations visited; visited.insert(make_pair(x, y)); for (auto c : s) { if ('^' == c) y--; if ('v' == c) y++; if ('>' == c) x--; if ('<' == c) x++; visited.insert(make_pair(x, y)); ...
18.916667
82
0.553304
tbielak
1973007b1fc2d1651caffc6edd2faaf7f2e20760
2,206
cpp
C++
Kaminec/kits/JsonKit/Library.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
23
2017-06-23T11:58:27.000Z
2022-03-05T06:58:49.000Z
Kaminec/kits/JsonKit/Library.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
4
2017-12-08T11:41:19.000Z
2021-04-03T17:50:39.000Z
Kaminec/kits/JsonKit/Library.cpp
kaniol-lck/Kaminec
bdbb6645035d6124a3772742362e683938b389fb
[ "BSD-2-Clause" ]
5
2019-02-19T13:03:42.000Z
2021-11-04T13:58:04.000Z
#include "Library.h" #include "kits/Ruler/Ruler.h" #include "assistance/utility.h" #include "assistance/systeminfo.h" #include <QUrl> #include <QDebug> Library::Library(const QVariant &libraryVariant) : libraryVariant_(libraryVariant), name_(value(libraryVariant_, "name").toString()), nameList_(name_.split(":")) ...
23.221053
103
0.674977
kaniol-lck
197993a7d4e72c93beca0516f5ddf9a9626db320
1,269
cpp
C++
rpzwh_2_dtm/cpps/solarianLED.cpp
blusky-cloud/Raspi-Code
6296a04d34819eed9b3a899bf9ae8c3cd4423c1d
[ "BSL-1.0" ]
1
2022-02-08T02:32:56.000Z
2022-02-08T02:32:56.000Z
rpzwh_2_dtm/cpps/solarianLED.cpp
blusky-cloud/Raspi-Code
6296a04d34819eed9b3a899bf9ae8c3cd4423c1d
[ "BSL-1.0" ]
null
null
null
rpzwh_2_dtm/cpps/solarianLED.cpp
blusky-cloud/Raspi-Code
6296a04d34819eed9b3a899bf9ae8c3cd4423c1d
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <wiringPi.h> #include <csignal> // global flag used to exit from the main loop bool RUNNING = true; // Blink an LED void blink_led(int led, int time) { digitalWrite(led, HIGH); delay(time); digitalWrite(led, LOW); delay(time); } // Callback handle...
25.38
76
0.588652
blusky-cloud
19858eb4249b6fe8b496190023cf7166a77780ba
129
cpp
C++
dependencies/physx-4.1/source/foundation/src/PsAssert.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/physx-4.1/source/foundation/src/PsAssert.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/physx-4.1/source/foundation/src/PsAssert.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:81996102777c13296c4e54e89a255faa84d682e88c4ec0130d884d277924cdd8 size 3192
32.25
75
0.883721
realtehcman
199036f162864709822bb64d4dd0d57b689c307f
485
cpp
C++
title/remove_special_char.cpp
hurenhe2008/algorithm
2afb03bf91a9d234df5396e6b1d7fe8f57daa6c7
[ "MIT" ]
null
null
null
title/remove_special_char.cpp
hurenhe2008/algorithm
2afb03bf91a9d234df5396e6b1d7fe8f57daa6c7
[ "MIT" ]
null
null
null
title/remove_special_char.cpp
hurenhe2008/algorithm
2afb03bf91a9d234df5396e6b1d7fe8f57daa6c7
[ "MIT" ]
null
null
null
/* @func remove_special_char - remove special char in string and adjust valid chars to front. @params array - the unsigned int array num - the array size @return the remove special char numbers */ unsigned remove_special_char(char *str, char ch) { unsigned cnt = 0; while(*str) { if (c...
16.166667
71
0.581443
hurenhe2008
1994a2a0d61bc0c34ccff380cb0844352e9eb80c
9,212
hpp
C++
include/fl/filter/gaussian/update_policy/multi_sensor_sigma_point_update_policy.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
17
2015-07-03T06:53:05.000Z
2021-05-15T20:55:12.000Z
include/fl/filter/gaussian/update_policy/multi_sensor_sigma_point_update_policy.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
3
2015-02-20T12:48:17.000Z
2019-12-18T08:45:13.000Z
include/fl/filter/gaussian/update_policy/multi_sensor_sigma_point_update_policy.hpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
15
2015-02-20T11:34:14.000Z
2021-05-15T20:55:13.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
35.844358
80
0.518563
aeolusbot-tommyliu
1996fdaa0551891e72d438070b60e5bb7fb1420e
5,847
cpp
C++
test/configuration_test.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
5
2015-09-10T08:53:41.000Z
2020-05-30T18:42:20.000Z
test/configuration_test.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
20
2015-09-29T16:16:07.000Z
2021-06-13T08:08:05.000Z
test/configuration_test.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
3
2015-09-09T22:51:44.000Z
2020-11-11T13:19:42.000Z
// // csvsqldb test // // BSD 3-Clause License // Copyright (c) 2015, Lars-Christian Fürstenberg // 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 ...
41.764286
125
0.725158
fuersten
199ba2a1a5ab75d21a4eea2a1a314c03e1d56c92
298
cpp
C++
121-best-time-to-buy-and-sell-stock/121-best-time-to-buy-and-sell-stock.cpp
gupabhi100/Leetcode-
a0bb35c57efb17dc2c5105287582b4f680eacf82
[ "MIT" ]
null
null
null
121-best-time-to-buy-and-sell-stock/121-best-time-to-buy-and-sell-stock.cpp
gupabhi100/Leetcode-
a0bb35c57efb17dc2c5105287582b4f680eacf82
[ "MIT" ]
null
null
null
121-best-time-to-buy-and-sell-stock/121-best-time-to-buy-and-sell-stock.cpp
gupabhi100/Leetcode-
a0bb35c57efb17dc2c5105287582b4f680eacf82
[ "MIT" ]
null
null
null
class Solution { public: int maxProfit(vector<int> &prices) { int max_profit = 0; int min_price=INT_MAX; for(int i=0;i<prices.size();i++) { min_price=min(min_price, prices[i]); max_profit=max(max_profit,prices[i]-min_price); } return max_profit; } };
22.923077
55
0.610738
gupabhi100
199ce77d7426a268dfd6bfb95c796485ea554c82
1,176
cpp
C++
local/codes/c1068_1.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
local/codes/c1068_1.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
local/codes/c1068_1.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : c1068_1.cpp * > Author : Tony * > Created Time : 2019/09/22 15:09:20 * > Algorithm : 数位 **************************************************************/ #include <bits/stdc++.h> using namespace std; typede...
25.565217
65
0.332483
Tony031218
199e6e5a24a13f3bb750ca0cfb4278098c43727d
1,284
hpp
C++
src/mlpack/methods/ann/init_rules/init_rules_traits.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
src/mlpack/methods/ann/init_rules/init_rules_traits.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
src/mlpack/methods/ann/init_rules/init_rules_traits.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
/** * @file init_rules_traits.hpp * @author Marcus Edel * * This provides the InitTraits class, a template class to get information * about various initialization methods. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have receiv...
31.317073
79
0.764019
RMaron
199e8b1405588dfd1b1d19c6930bd7f41e37ac29
7,487
hpp
C++
include/ripple/algorithm/reduce.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
4
2021-04-25T16:38:12.000Z
2021-12-23T08:32:15.000Z
include/ripple/algorithm/reduce.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
include/ripple/algorithm/reduce.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
/**=--- ripple/algorithm/reduce.hpp ------------------------ -*- C++ -*- ---==** * * Ripple * * Copyright (c) 2019 - 2021 Rob Clucas. * * This file is distributed under the MIT License. See LICENSE for details. * *==-----------------------------------------...
30.559184
80
0.627488
robclu
19a35a7d8f443c94914d5258249e275ed64e54c1
1,208
cc
C++
src/sycltest/SYCLCore/chooseDevice.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
9
2021-03-02T08:40:18.000Z
2022-01-24T14:31:40.000Z
src/sycltest/SYCLCore/chooseDevice.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
158
2020-03-22T19:46:40.000Z
2022-03-24T09:51:35.000Z
src/sycltest/SYCLCore/chooseDevice.cc
alexstrel/pixeltrack-standalone
0b625eef0ef0b5c0f018d9b466457c5575b3442c
[ "Apache-2.0" ]
26
2020-03-20T15:18:41.000Z
2022-03-14T16:58:07.000Z
#include <iostream> #include <vector> #include <CL/sycl.hpp> #include "chooseDevice.h" namespace cms::sycltools { std::vector<sycl::device> const& enumerateDevices(bool verbose) { static const std::vector<sycl::device> devices = sycl::device::get_devices(sycl::info::device_type::all); if (verbose) { ...
35.529412
119
0.634934
alexstrel
19a51864a93d2ea589724e919e60d8aab24c4616
1,352
cc
C++
src/mouse.cc
klantz81/input-devices
f0df3af537b38eb446fc5a49a0b6a524a4e1a10b
[ "MIT" ]
15
2016-04-01T08:16:14.000Z
2020-03-16T03:02:40.000Z
src/mouse.cc
klantz81/input-devices
f0df3af537b38eb446fc5a49a0b6a524a4e1a10b
[ "MIT" ]
null
null
null
src/mouse.cc
klantz81/input-devices
f0df3af537b38eb446fc5a49a0b6a524a4e1a10b
[ "MIT" ]
1
2019-12-18T01:28:50.000Z
2019-12-18T01:28:50.000Z
#include "mouse.h" cMouse::cMouse() { active = false; mouse_ev = new input_event(); mouse_st = new mouse_state(); for (int i = 0; i < KEY_CNT; i++) mouse_st->button[i] = 0; for (int i = 0; i < REL_CNT; i++) mouse_st->axis[i] = 0; mouse_fd = open(MOUSE_DEV, O_RDONLY | O_NONBLOCK); if (mouse_fd > -1) { ioctl(m...
24.142857
91
0.64497
klantz81