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
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
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
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
a68f0e6bd1de89dc081a4f309db3b7bf99110e6a
311
hpp
C++
include/pkg/path_not_a_directory_error.hpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
include/pkg/path_not_a_directory_error.hpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
include/pkg/path_not_a_directory_error.hpp
naughtybikergames/pkg
9a78380c6cf82c95dec3968a7ed69000b349113d
[ "MIT" ]
null
null
null
#ifndef PKG_PATH_NOT_A_DIRECTORY_ERROR_HPP #define PKG_PATH_NOT_A_DIRECTORY_ERROR_HPP #include "pkg_error.hpp" #include <string> namespace pkg { class path_not_a_directory_error : public pkg_error { public: path_not_a_directory_error(const std::string &path) throw(); }; } #endif
20.733333
72
0.73955
naughtybikergames
a69085a5f775e36aab2a0e12556d04173546c449
4,576
cc
C++
plugins/jml/jml/binary_symmetric.cc
kstepanmpmg/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
665
2015-12-09T17:00:14.000Z
2022-03-25T07:46:46.000Z
plugins/jml/jml/binary_symmetric.cc
tomzhang/mldb
a09cf2d9ca454d1966b9e49ae69f2fe6bf571494
[ "Apache-2.0" ]
797
2015-12-09T19:48:19.000Z
2022-03-07T02:19:47.000Z
plugins/jml/jml/binary_symmetric.cc
matebestek/mldb
f78791cd34d01796705c0f173a14359ec1b2e021
[ "Apache-2.0" ]
103
2015-12-25T04:39:29.000Z
2022-02-03T02:55:22.000Z
// This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. /* binary_symmetric.cc Jeremy Barnes, 17 March 2006 Copyright (c) 2006 Jeremy Barnes. All rights reserved. $Source$ Functions to deal with binary symmetric data. */ #include "binary_symmetric.h" #include "training_data.h" #in...
31.129252
84
0.513549
kstepanmpmg
a6919b45fc4615fc61c7921923382d38a0b13487
5,299
hpp
C++
src/allocator.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
10
2016-10-06T06:22:20.000Z
2022-02-28T05:33:09.000Z
src/allocator.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
null
null
null
src/allocator.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
3
2018-01-08T03:34:34.000Z
2021-09-12T12:12:22.000Z
#pragma once #include "common.hpp" #include <Prelude/Allocator.hpp> #include <Prelude/LinkedList.hpp> #include "value.hpp" namespace Mirb { class Collector; // PinnedHeader are objects with a fixed memory address class PinnedHeader: public Value { private: #ifndef VALGRIND LinkedListEntry<PinnedHeader...
19.553506
91
0.628609
Zoxc
a693329ed8fec9fb0139ded22af46cc6556aabb3
628,759
cpp
C++
iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp
mopsicus/unity-share-plugin-ios-android
3ee99aef36034a1e4d7b156172953f9b4dfa696f
[ "MIT" ]
11
2016-07-22T19:58:09.000Z
2021-09-21T12:51:40.000Z
iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp
mopsicus/unity-share-plugin-ios-android
3ee99aef36034a1e4d7b156172953f9b4dfa696f
[ "MIT" ]
1
2018-05-07T14:32:13.000Z
2018-05-08T09:15:30.000Z
iOS/Classes/Native/Bulk_UnityEngine.UI_1.cpp
mopsicus/unity-share-plugin-ios-android
3ee99aef36034a1e4d7b156172953f9b4dfa696f
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> // UnityEngine.UI.MaskableGraphic struct MaskableGraphic_t3186046376; // UnityEngine.UI.MaskableGraphic/...
36.46248
383
0.772309
mopsicus
a69651305b83b8ad3b329222b9eba940f29a8639
1,219
cpp
C++
OpenGL-Sandbox/src/Paddle.cpp
j-delrosario/pong
f9d79f65e1a64bcee193da2ca00f731c762a6512
[ "Apache-2.0" ]
null
null
null
OpenGL-Sandbox/src/Paddle.cpp
j-delrosario/pong
f9d79f65e1a64bcee193da2ca00f731c762a6512
[ "Apache-2.0" ]
null
null
null
OpenGL-Sandbox/src/Paddle.cpp
j-delrosario/pong
f9d79f65e1a64bcee193da2ca00f731c762a6512
[ "Apache-2.0" ]
null
null
null
#include "Paddle.h" #include "GLCore/Core/KeyCodes.h" #pragma once using namespace GLCore; using namespace GLCore::Utils; Paddle::Paddle(float direction, float speed, glm::vec2 size, glm::vec2 position, glm::vec4 color) : m_Active(false), m_Direction(direction), m_Speed(speed), m_Size(size), m_Position(position), m_...
19.983607
110
0.652994
j-delrosario
a6988cf2b31d1880b1b18bccce8a3f990d061071
3,824
cc
C++
src/plugin/scripting/pythonmodule/src/module.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/plugin/scripting/pythonmodule/src/module.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/plugin/scripting/pythonmodule/src/module.cc
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
#include <bugengine/plugin.scripting.pythonlib/stdafx.h> #include <bugengine/core/environment.hh> #include <bugengine/core/logger.hh> #include <bugengine/plugin.scripting.pythonlib/pythonlib.hh> #include <unistd.h> class ConsoleLogListener : public BugEngine::ILogListener { private: minitl::AssertionCallback_t m_p...
36.419048
100
0.617155
bugengine
a69bb072d6b540f4e7ab6525067e285506ba7750
17,855
cpp
C++
src/lower/index_expressions/lower_scatter_workspace.cpp
huangjd/simit-staging
6a1d7946e88c7bf383abe800ee835d3680e86559
[ "MIT" ]
null
null
null
src/lower/index_expressions/lower_scatter_workspace.cpp
huangjd/simit-staging
6a1d7946e88c7bf383abe800ee835d3680e86559
[ "MIT" ]
null
null
null
src/lower/index_expressions/lower_scatter_workspace.cpp
huangjd/simit-staging
6a1d7946e88c7bf383abe800ee835d3680e86559
[ "MIT" ]
null
null
null
#include "lower_scatter_workspace.h" #include <vector> #include <set> #include <map> #include <string> #include "loops.h" #include "lower_tensor_utils.h" #include "indexvar.h" #include "ir.h" #include "ir_visitor.h" #include "ir_printer.h" #include "ir_codegen.h" #include "substitute.h" #include "path_expressions.h"...
38.151709
82
0.662504
huangjd
a69c9430522117866ce02715f08c106547005393
574
cpp
C++
ProWorld/Concept.cpp
JosepContact/ProWorld
194a38a0f8358e7bd5e89a8e517e87b91dd6e517
[ "MIT" ]
null
null
null
ProWorld/Concept.cpp
JosepContact/ProWorld
194a38a0f8358e7bd5e89a8e517e87b91dd6e517
[ "MIT" ]
null
null
null
ProWorld/Concept.cpp
JosepContact/ProWorld
194a38a0f8358e7bd5e89a8e517e87b91dd6e517
[ "MIT" ]
null
null
null
#include "Concept.h" using namespace std; Concept::Concept() { type = UnkownConcept; } Concept::Concept(std::string argword, std::string argplural, ConceptType argtype) : word(argword), plural(argplural), type(argtype) { } Concept::~Concept() { } void Concept::SetWord(string name, string plural) { this->word =...
12.755556
131
0.688153
JosepContact
a6a03a520e00ba4e13a0052b9639605639bc76da
11,678
hpp
C++
src/libraries/lagrangian/spray/submodels/BreakupModel/SHF/SHF.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/spray/submodels/BreakupModel/SHF/SHF.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/lagrangian/spray/submodels/BreakupModel/SHF/SHF.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
26.723112
80
0.531769
MrAwesomeRocks
a6a3cae4906a8d13958367a7fd522bf17b99d33e
1,094
hpp
C++
include/Game.hpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
1
2018-12-28T00:06:30.000Z
2018-12-28T00:06:30.000Z
include/Game.hpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
1
2020-02-07T17:46:26.000Z
2020-02-07T18:12:07.000Z
include/Game.hpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
null
null
null
#pragma once #include "IGameSettings.hpp" #include "GameMode.hpp" #include "GameConfiguration.hpp" #include "spdlog/spdlog.h" class Game : public IGameSettings { public: Game(); ~Game(); void SetGameMode(GameMode mode) { mMode = mode; } GameMode GetGameMode() { return mMode; } ...
30.388889
102
0.627971
smalls12
a6a723b5fb244ce092beb83baa19a24b6d1f0c4b
11,168
hpp
C++
3rdParty/occa/include/occa/lang/primitive.hpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
null
null
null
3rdParty/occa/include/occa/lang/primitive.hpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
null
null
null
3rdParty/occa/include/occa/lang/primitive.hpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
null
null
null
#ifndef OCCA_LANG_PRIMITIVE_HEADER #define OCCA_LANG_PRIMITIVE_HEADER #include <iostream> #include <sstream> #include <iomanip> #include <stdint.h> #include <stdlib.h> #include <occa/defines.hpp> #include <occa/io/output.hpp> #include <occa/tools/string.hpp> #include <occa/tools/sys.hpp> namespace occa { //---[ P...
29.083333
79
0.597153
krowe-alcf
a6a85c509488ab470e674715b75d896bc4b1efe6
324
cpp
C++
src/application/unit_tests/main_unit_tests.cpp
rybcom/cpp_modular_template
19c94a7a4000ca33e389e7bb43c510d1ee29115a
[ "BSD-3-Clause" ]
null
null
null
src/application/unit_tests/main_unit_tests.cpp
rybcom/cpp_modular_template
19c94a7a4000ca33e389e7bb43c510d1ee29115a
[ "BSD-3-Clause" ]
null
null
null
src/application/unit_tests/main_unit_tests.cpp
rybcom/cpp_modular_template
19c94a7a4000ca33e389e7bb43c510d1ee29115a
[ "BSD-3-Clause" ]
null
null
null
#include "project_config.h" #if RUN_AS_UNIT_TESTING() == true #define CATCH_CONFIG_RUNNER #include "catch.hpp" #include "unit_tests/object_unit_test.h" int main(int argc, char* argv[]) { char* xxx[2]; xxx[0] = (char*)"xxx"; xxx[1] =(char*) "-s"; int result = Catch::Session().run(2, xxx); return result; } #en...
16.2
43
0.666667
rybcom
16f5594c0cea57632469aaf24a0ad389b699e24b
3,117
hpp
C++
contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
null
null
null
contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp
vaijira/geode-native
5a46b659b86ecc4890df59c1b7abe727192e5d06
[ "Apache-2.0" ]
1
2022-03-31T01:54:57.000Z
2022-03-31T01:54:57.000Z
contrib/pdxautoserializer/src/impl/CPPParser/DictEntry.hpp
s0/geode-native
9b4c572ac0c63854641410a49521625c29a75bae
[ "Apache-2.0" ]
null
null
null
/* * PUBLIC DOMAIN PCCTS-BASED C++ GRAMMAR (cplusplus.g, stat.g, expr.g) * * Authors: Sumana Srinivasan, NeXT Inc.; sumana_srinivasan@next.com * Terence Parr, Parr Research Corporation; parrt@parr-research.com * Russell Quong, Purdue University; quong@ecn.purdue.edu * * SOFTWA...
31.484848
79
0.695541
vaijira
16fc36274b91f2ac0a3e8d0ad54d9fd9ed230d42
2,689
cpp
C++
ndk/cpp/src/exercise/String.cpp
donfyy/AndroidCrowds
05741d128fa7542eafc0565290aef407fb8edab8
[ "Apache-2.0" ]
1
2020-12-04T08:45:04.000Z
2020-12-04T08:45:04.000Z
ndk/cpp/src/exercise/String.cpp
donfyy/Android
896c58d033fcceb53714daec838151935eff7f01
[ "Apache-2.0" ]
null
null
null
ndk/cpp/src/exercise/String.cpp
donfyy/Android
896c58d033fcceb53714daec838151935eff7f01
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include "String.h" ostream &operator<<(ostream &out, MyString &s) { out << s.m_p << endl; return out; } istream &operator>>(istream &in, MyString &s) { in >> s.m_p; return in; } MyString::MyString(int len) { if (len < 0) len = 0; if (len == 0) ...
16.91195
54
0.482707
donfyy
e500886c6683389bdedc36ec89e4aaf3b4e362b2
2,448
cpp
C++
modules/mdns/src/linux/Location.cpp
lubyk/lubyk
e4792099d61c460497aacda1a3c08f23f5bb84ed
[ "MIT" ]
18
2015-05-11T16:18:23.000Z
2021-12-03T09:28:51.000Z
modules/mdns/src/linux/Location.cpp
lubyk/lubyk
e4792099d61c460497aacda1a3c08f23f5bb84ed
[ "MIT" ]
2
2016-07-15T09:13:41.000Z
2019-09-17T11:38:21.000Z
modules/mdns/src/linux/Location.cpp
lubyk/lubyk
e4792099d61c460497aacda1a3c08f23f5bb84ed
[ "MIT" ]
4
2015-05-13T20:26:28.000Z
2021-12-03T09:28:52.000Z
/* ============================================================================== This file is part of the LUBYK project (http://lubyk.org) Copyright (c) 2007-2011 by Gaspard Bucher (http://teti.ch). ------------------------------------------------------------------------------ Permission is hereby gran...
34
88
0.638889
lubyk
e5009c9afd5e8a4a26d29c63fc49171a80100fd6
1,429
cpp
C++
source/utility.cpp
tigeroses/bwa-postalt
74bc52e931a03395708c5038394055a29f1babbf
[ "Unlicense" ]
2
2020-10-21T08:24:48.000Z
2022-01-17T10:04:44.000Z
source/utility.cpp
tigeroses/bwa-postalt
74bc52e931a03395708c5038394055a29f1babbf
[ "Unlicense" ]
null
null
null
source/utility.cpp
tigeroses/bwa-postalt
74bc52e931a03395708c5038394055a29f1babbf
[ "Unlicense" ]
null
null
null
#include "postalt/utility.h" #include <sstream> void split_str(const std::string& s, std::vector<std::string>& v, char c, bool skip_empty) { // std::istringstream iss(str); // std::vector< std::string > res; // for (std::string item; std::getline(iss, item, delim);) // if (skip_empty && item.em...
21.984615
90
0.495451
tigeroses
e5012afcb60d410277ee0fcc00911ca8dbbdc90d
1,025
cc
C++
chromeos/lacros/lacros_test_helper.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chromeos/lacros/lacros_test_helper.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chromeos/lacros/lacros_test_helper.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/lacros/lacros_test_helper.h" #include "base/check.h" #include "chromeos/lacros/lacros_chrome_service_delegate.h" namespace chromeos {...
35.344828
78
0.76878
DamieFC
e504faf3170b46bf9ef1bc054012488ac4b5f3cf
637
hpp
C++
vm/aging_space.hpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
vm/aging_space.hpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
vm/aging_space.hpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
namespace factor { struct aging_space : bump_allocator { object_start_map starts; aging_space(cell size, cell start) : bump_allocator(size, start), starts(size, start) {} object* allot(cell size) { if (here + size > end) return NULL; object* obj = bump_allocator::allot(size); starts.re...
18.2
59
0.613815
dch
e5050046cad987b3ef38bb290d7aa2075de6fdaa
918
hpp
C++
include/State/Game.hpp
sarahkittyy/platform.sh
8ddd8f412a70041153f555b4ba5bb56056e804e4
[ "MIT" ]
null
null
null
include/State/Game.hpp
sarahkittyy/platform.sh
8ddd8f412a70041153f555b4ba5bb56056e804e4
[ "MIT" ]
null
null
null
include/State/Game.hpp
sarahkittyy/platform.sh
8ddd8f412a70041153f555b4ba5bb56056e804e4
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Graphics.hpp> #include <memory> #include "Level/Factory/Levels.hpp" #include "Level/Level.hpp" #include "Object/Object.hpp" #include "ResourceManager.hpp" #include "State/Edit.hpp" #include "State/State.hpp" #include "imgui/imgui-SFML.h" #include "imgui/imgui.h" namespace State { /** * @...
20.4
88
0.699346
sarahkittyy
e505696107be31a1e366450617a581df89690cc7
10,415
cpp
C++
kernel/src/physicalmemory.cpp
dennis95/dennix
8fee2b2158e350576935ddefa1a207000b9ae77f
[ "0BSD" ]
99
2016-11-02T20:04:44.000Z
2022-03-29T07:27:46.000Z
kernel/src/physicalmemory.cpp
dennis95/dennix
8fee2b2158e350576935ddefa1a207000b9ae77f
[ "0BSD" ]
30
2017-08-10T18:31:55.000Z
2022-03-01T14:10:25.000Z
kernel/src/physicalmemory.cpp
dennis95/dennix
8fee2b2158e350576935ddefa1a207000b9ae77f
[ "0BSD" ]
9
2016-11-01T09:16:42.000Z
2022-02-10T14:10:44.000Z
/* Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021 Dennis Wölfing * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED ...
29.672365
80
0.644263
dennis95
e505ff14c7a9605922d8bffdd13c4caccc58323b
206
cpp
C++
Classes/NeuralNetworks/NeuronLayer.cpp
Ervadar/SmartShooters
7f861ae62a9b9add00639a82d473bfa345a2470d
[ "MIT" ]
null
null
null
Classes/NeuralNetworks/NeuronLayer.cpp
Ervadar/SmartShooters
7f861ae62a9b9add00639a82d473bfa345a2470d
[ "MIT" ]
null
null
null
Classes/NeuralNetworks/NeuronLayer.cpp
Ervadar/SmartShooters
7f861ae62a9b9add00639a82d473bfa345a2470d
[ "MIT" ]
null
null
null
#include "NeuronLayer.h" NeuronLayer::NeuronLayer(int neuronCount, int inPutsPerNeuron) : neuronCount(neuronCount) { for (int i = 0; i < neuronCount; ++i) neurons.push_back(Neuron(inPutsPerNeuron)); }
22.888889
62
0.742718
Ervadar
e50612448af0ef739e67d81bdeac2c3d016b6d0a
7,340
cpp
C++
wxWidgets/UserInterface/AboutDialog.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
wxWidgets/UserInterface/AboutDialog.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
wxWidgets/UserInterface/AboutDialog.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
1
2021-07-16T21:01:26.000Z
2021-07-16T21:01:26.000Z
/* Do not remove this header/ copyright information. * * Copyright © Trilobyte Software Engineering GmbH, Berlin, Germany 2010-2011. * You are allowed to modify and use the source code from * Trilobyte Software Engineering GmbH, Berlin, Germany for free if you are not * making profit with it or its adaption. Else ...
35.119617
83
0.703951
st-gb
e5070f75689070b6c6d608fe5e799a91ea5c3dfc
13,280
cpp
C++
legacy/hershey-fonts.cpp
AnyTimeTraveler/ReMarkable2Typewriter
2ec4e124a5704de598cb1b5940ba40ad830240eb
[ "MIT" ]
null
null
null
legacy/hershey-fonts.cpp
AnyTimeTraveler/ReMarkable2Typewriter
2ec4e124a5704de598cb1b5940ba40ad830240eb
[ "MIT" ]
null
null
null
legacy/hershey-fonts.cpp
AnyTimeTraveler/ReMarkable2Typewriter
2ec4e124a5704de598cb1b5940ba40ad830240eb
[ "MIT" ]
null
null
null
#include "ccow.h" #include <stdlib.h> #include <string.h> #include <linux/input.h> // The font data here was modified from // http://paulbourke.net/dataformats/hershey/ // Compiled by Paul Bourke in 1997. static const int8_t hershey_font_simplex_compact[95][112] = { /* num_stroke_pts, width, stroke_data 21=top, ...
71.397849
318
0.511521
AnyTimeTraveler
e508c4e16634932390f17cb50144cc917c55742f
4,861
cpp
C++
bde_verify/checks/csabbg/test-driver/1/conversion.t.cpp
gstrauss/bde-tools
7dc88b2b87d9331d988aad71c42905b923db584d
[ "Apache-2.0" ]
null
null
null
bde_verify/checks/csabbg/test-driver/1/conversion.t.cpp
gstrauss/bde-tools
7dc88b2b87d9331d988aad71c42905b923db584d
[ "Apache-2.0" ]
null
null
null
bde_verify/checks/csabbg/test-driver/1/conversion.t.cpp
gstrauss/bde-tools
7dc88b2b87d9331d988aad71c42905b923db584d
[ "Apache-2.0" ]
null
null
null
#include <stdlib.h> #include <bsl_iostream.h> namespace bde_verify { } using namespace bde_verify; using namespace bsl; //============================================================================= // TEST PLAN //---------------------------------------------------------------------------...
36.007407
79
0.476034
gstrauss
e50aed423e5cdbe81d5eaf3e19783ae564f3dbf0
3,310
hpp
C++
DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
DoremiEditor/DRMEditorPlugin/Include/Plugin.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#pragma once // some definitions for the DLL to play nice with Maya #define NT_PLUGIN #define REQUIRE_IOSTREAM #define EXPORT __declspec(dllexport) #include <stdlib.h> #include <iostream> #include <string> #include <vector> #include <queue> #include <maya/MEvent.h> #include <maya/MFnPlugin.h> #include <maya/MFnMesh....
31.226415
111
0.779758
meraz
e50fd99083c30848561f5fd265f8f1d34da13d84
1,237
cc
C++
ash/login/ui/login_data_dispatcher.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/login/ui/login_data_dispatcher.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/login/ui/login_data_dispatcher.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/login/ui/login_data_dispatcher.h" namespace ash { LoginDataDispatcher::Observer::~Observer() {} void LoginDataDispatcher::Observer::OnUse...
28.767442
73
0.737268
metux
e511d3a85184f777397408c078e6e30f5a3b2ce0
747
cpp
C++
FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp
GSMgeeth/gameofgo
51563fea15fbdca797afb7cf9a29773a313e5697
[ "Apache-2.0" ]
13
2016-09-09T13:45:42.000Z
2021-12-17T08:42:28.000Z
FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp
GSMgeeth/gameofgo
51563fea15fbdca797afb7cf9a29773a313e5697
[ "Apache-2.0" ]
1
2016-06-18T05:19:58.000Z
2016-09-15T18:21:54.000Z
FuegoUniversalComponent/fuego/smartgame/SgGtpUtil.cpp
cbordeman/gameofgo
51563fea15fbdca797afb7cf9a29773a313e5697
[ "Apache-2.0" ]
5
2016-11-19T03:05:12.000Z
2022-01-31T12:20:40.000Z
//---------------------------------------------------------------------------- /** @file SgGtpUtil.cpp */ //---------------------------------------------------------------------------- #include "SgSystem.h" #include "SgGtpUtil.h" #include "SgPointSet.h" #include "../gtpengine/GtpEngine.h" using namespace std; //---...
25.758621
78
0.348059
GSMgeeth
e5120f54c6135ec4bb6213f5704b8feb2dc53299
783
cc
C++
src/event/UpdateQuestEvent.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
7
2019-05-09T15:38:55.000Z
2021-12-07T03:13:29.000Z
src/event/UpdateQuestEvent.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
1
2019-06-20T03:01:18.000Z
2019-06-20T03:01:18.000Z
src/event/UpdateQuestEvent.cc
kallentu/pathos
1914edbccc98baef79d98fb065119230072ac40d
[ "MIT" ]
null
null
null
#include "event/UpdateQuestEvent.h" #include "core/PathosInstance.h" #include "quest/Quest.h" #include "quest/QuestManager.h" #include "request/ClearEntireStatus.h" #include "request/MultipleRequest.h" #include "request/QuestRequest.h" using namespace Pathos; void UpdateQuestEvent::begin(PathosInstance *inst) { // ...
35.590909
86
0.771392
kallentu
e512309ffc3a487f30bd5f06a8324322bc587518
3,653
cpp
C++
matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
4
2018-12-07T12:47:13.000Z
2021-12-21T08:46:50.000Z
matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
null
null
null
matlab_code/jjcao_code-head/toolbox/jjcao_img/superpixel/TurboPixels64/DT.cpp
joycewangsy/normals_pointnet
fc74a8ed1a009b18785990b1b4c20eda0549721c
[ "MIT" ]
2
2018-10-29T09:29:19.000Z
2021-12-21T08:46:52.000Z
/************************************************************************ File: 2D_DT_Library.c Author(s): Alexander Vasilevskiy Created: 24 May 2000 Last Revision: $Date$ Description: $Revision$ $Log$ Copyright (c) 2000 by Alexander Vasilevskiy, Centre for Intelligent Machines, ...
28.76378
92
0.590747
joycewangsy
e513202516c94c89356fb1297517db0ea937e398
9,369
cpp
C++
synthts_et/lib/etana/chklyh3.cpp
martnoumees/synthts_et
8845b33514edef3e54ae0b45404615704c418142
[ "Unlicense" ]
19
2015-10-27T22:21:49.000Z
2022-02-07T11:54:35.000Z
synthts_vr/lib/etana/chklyh3.cpp
ikiissel/synthts_vr
33f2686dc9606aa95697ac0cf7e9031668bc34e8
[ "Unlicense" ]
8
2015-10-28T08:38:08.000Z
2021-03-25T21:26:59.000Z
synthts_vr/lib/etana/chklyh3.cpp
ikiissel/synthts_vr
33f2686dc9606aa95697ac0cf7e9031668bc34e8
[ "Unlicense" ]
11
2016-01-03T11:47:08.000Z
2021-03-17T18:59:54.000Z
/* * kontrollib, kas S6na on suurt�hel. lyhend mingi l�puga; * n�iteks: * * USA-ni, USAni, SS-lane, SSlane, IRA-meelne * */ #include "mrf-mrf.h" #include "mittesona.h" int MORF0::chklyh3(MRFTULEMUSED *tulemus, FSXSTRING *S6na, int sygavus, int *tagasitasand) { int i; int res; FSXSTRING tmpsona, tmplop...
37.931174
141
0.501441
martnoumees
e513e8f35d55b6333b9fc172319f6ab34fc57a86
2,181
cpp
C++
tests/dsp_dotproductscalling_tests.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
2
2021-07-11T03:36:42.000Z
2022-03-26T15:04:30.000Z
tests/dsp_dotproductscalling_tests.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
null
null
null
tests/dsp_dotproductscalling_tests.cpp
jontio/JSquelch
72805d6e08035daca09e6c668c63f46dc66674a2
[ "MIT" ]
null
null
null
#include "../src/dsp/dsp.h" #include "../src/util/RuntimeError.h" #include "../src/util/stdio_utils.h" #include <random> //important for Qt include cpputest last as it mucks up new and causes compiling to fail #include "CppUTest/TestHarness.h" TEST_GROUP(Test_DSP_DotProductScalling) { double double_tolerance=0.0...
24.505618
92
0.596974
jontio
e5149a0ac6f17debed1bce495c42acce4e32eeab
2,151
cpp
C++
problemsets/UVA/10731.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/10731.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/10731.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> #include <algorithm> #include <vector> #include <string> #include <stack> using namespace std; char input[30]; vector<int> adj[30]; stack<int> scc; vector<string> ret; int nord; int vis[30], L...
23.637363
66
0.39377
juarezpaulino
e514c32bc4403e8764cc047eaae816e6164f1e18
2,326
cpp
C++
src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp
composer-gui/composer-gui
2a488db4c6828fee0f36682d0b0edc96d359b4c3
[ "BSD-3-Clause" ]
13
2019-04-01T07:54:05.000Z
2022-03-27T16:55:59.000Z
src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp
informaticacba/composer-gui
2a488db4c6828fee0f36682d0b0edc96d359b4c3
[ "BSD-3-Clause" ]
null
null
null
src/ComposerGUI/composer/package/form/delegate/editor/Author.cpp
informaticacba/composer-gui
2a488db4c6828fee0f36682d0b0edc96d359b4c3
[ "BSD-3-Clause" ]
1
2022-03-27T16:56:02.000Z
2022-03-27T16:56:02.000Z
#include <QFormLayout> #include <QDialogButtonBox> #include <QPushButton> #include "Author.h" namespace composer_gui { namespace composer { namespace package { namespace form { namespace delegate { namespace editor { Author::Author(QWidget *parent) : QDialog(parent) { m_name = new QLineEdit; m_role ...
28.365854
90
0.678418
composer-gui
e51a15cf4157104113eade2da5910a59e7dcd9dc
8,827
cpp
C++
apps/edges/src/main.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
97
2015-10-16T04:32:33.000Z
2022-03-29T07:04:02.000Z
apps/edges/src/main.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
19
2016-07-01T16:37:02.000Z
2020-09-10T06:09:39.000Z
apps/edges/src/main.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
41
2015-11-17T05:59:23.000Z
2022-02-16T09:30:28.000Z
// This file is part of the LITIV framework; visit the original repository at // https://github.com/plstcharles/litiv for more information. // // Copyright 2015 Pierre-Luc St-Charles; pierre-luc.st-charles<at>polymtl.ca // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ...
56.583333
223
0.599977
jpjodoin
e51e8ac2b1688b56d499907ce40d8d427c443528
526
cpp
C++
src/libs/bsd/string.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/libs/bsd/string.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/libs/bsd/string.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include <string.h> char* strsep(char** string, const char* delimiters) { if (*string == NULL) return NULL; // find the end of the token char* token = *string; char* end = token; while (*end != '...
17.533333
57
0.619772
Kirishikesan
e520970cd0b5454c8070fe722b2332d5f606b64f
245
cpp
C++
Math/CountDivisorsOfaNum.cpp
tarek99samy/Competitive-Programming
22fa7e9001e6a3606b346d1f56c71344401ea55c
[ "MIT" ]
3
2020-01-03T11:38:45.000Z
2021-03-13T13:34:50.000Z
Math/CountDivisorsOfaNum.cpp
tarek99samy/Competitive-Programming
22fa7e9001e6a3606b346d1f56c71344401ea55c
[ "MIT" ]
null
null
null
Math/CountDivisorsOfaNum.cpp
tarek99samy/Competitive-Programming
22fa7e9001e6a3606b346d1f56c71344401ea55c
[ "MIT" ]
3
2019-04-19T23:28:42.000Z
2019-10-16T19:38:57.000Z
// Returns The Number Of divisors of a given number. // O(sqrt(n)) ll CountDivisors(ll n){ ll cnt = 0 ; ll i ; for (i = 1; i * i <= n; ++i) if (n % i == 0) cnt+=2 ; if(i*i==n) cnt++; return cnt; }
18.846154
52
0.440816
tarek99samy
e5218edc546ea558d248d036432bbca128a462f7
1,031
cpp
C++
src/bg_renderer_cpp/open_gl_ext/cpu_renderer.cpp
ipoletaev/GravitySimulator
7bb2fc5d65e613929e2d2f3f9738a470a32c48b7
[ "MIT" ]
3
2019-10-13T02:56:24.000Z
2020-02-17T11:38:57.000Z
src/bg_renderer_cpp/open_gl_ext/cpu_renderer.cpp
ipoletaev/GravitySimulator
7bb2fc5d65e613929e2d2f3f9738a470a32c48b7
[ "MIT" ]
null
null
null
src/bg_renderer_cpp/open_gl_ext/cpu_renderer.cpp
ipoletaev/GravitySimulator
7bb2fc5d65e613929e2d2f3f9738a470a32c48b7
[ "MIT" ]
null
null
null
#include "cpu_renderer.h" namespace background { int CPURenderer::init_background() { return allocate_memory_for_image(); } bg_cint8_ptr CPURenderer::get_background() const { return bg_img.data; } std::string CPURenderer::get_name() const { return ...
27.131579
113
0.516974
ipoletaev
e52236319e32416f8e2158d48590716885b60e6b
5,714
cc
C++
tile/lang/out_plan.cc
nitescuc/plaidml
83a81af049154a2701c4fde315b5ee9bc7050a7a
[ "Apache-2.0" ]
null
null
null
tile/lang/out_plan.cc
nitescuc/plaidml
83a81af049154a2701c4fde315b5ee9bc7050a7a
[ "Apache-2.0" ]
null
null
null
tile/lang/out_plan.cc
nitescuc/plaidml
83a81af049154a2701c4fde315b5ee9bc7050a7a
[ "Apache-2.0" ]
null
null
null
#include "tile/lang/out_plan.h" #include <assert.h> #include <cinttypes> #include <utility> #include <boost/range/adaptor/reversed.hpp> #include "base/util/logging.h" #include "tile/lang/mutil.h" #include "tile/lang/sembuilder.h" using std::map; using std::string; using std::vector; namespace vertexai { namespace...
32.465909
116
0.622681
nitescuc
e524c12a99f73b8e48c1b69cbb2a8c54845f42ac
871
cpp
C++
USACO/friday.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
USACO/friday.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
USACO/friday.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
/* ID: tico8861 TASK: friday LANG: C++ */ /* LANG can be C++11 or C++14 for those more recent releases */ #include <iostream> #include <fstream> #include <string> #include <map> using namespace std; bool isleap(int year){ if((year%400==0)||(year%4==0&&year%100)) return true; return false; } int m...
19.795455
63
0.529277
tico88612
e5254fc21fb8273a37c95e1c5610fd8f9b51330c
802
cpp
C++
LanQiao/2015Province/03.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
1
2019-05-04T10:28:32.000Z
2019-05-04T10:28:32.000Z
LanQiao/2015Province/03.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
null
null
null
LanQiao/2015Province/03.cpp
cnsteven/online-judge
60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7
[ "MIT" ]
3
2020-12-31T04:36:38.000Z
2021-07-25T07:39:31.000Z
/* 三羊献瑞 观察下面的加法算式: 祥 瑞 生 辉 + 三 羊 献 瑞 ------------------- 三 羊 生 瑞 气 (如果有对齐问题,可以参看【图1.jpg】) 其中,相同的汉字代表相同的数字,不同的汉字代表不同的数字。 请你填写“三羊献瑞”所代表的4位数字(答案唯一),不要填写任何多余内容。 1085 */ #include <algorithm> #include <iostream> using namespace std; int main() { int a[] = {0, 1, 2, 3...
20.05
71
0.402743
cnsteven
e5268d4cebb5c6389eed22bcbb395a2fc6876e11
2,344
cpp
C++
codes/CF/CF_840D.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/CF_840D.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/CF_840D.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <ctime> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <string> #include <map> #include <set> #include <sstream> #include <list> #include <queue> #include <stack> //#include <unordered_map> //#inclu...
18.603175
68
0.523038
chessbot108
e528077d1b8c81dbc32a70d1bf246b991b20bf81
447
cpp
C++
JetBrainsFileWatcher/main.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
4
2022-03-07T01:47:19.000Z
2022-03-07T12:24:48.000Z
JetBrainsFileWatcher/main.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
JetBrainsFileWatcher/main.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
#include "MainWindow.h" #include <QApplication> #include <QDir> #include "FileSystemNotifier.h" #include "JetBrainsFileWatcher/JBFileWatcherUtils.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); // QDir dir(a.applicationDirPath()); // dir.cdUp(); // FileSystemNotifier::setExecutabl...
18.625
81
0.673378
SineStriker
e52a70e876636ad699b8053cff4b91ba959ad8df
4,263
cpp
C++
common/src/process/process.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
1
2019-01-18T02:19:18.000Z
2019-01-18T02:19:18.000Z
common/src/process/process.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
common/src/process/process.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners for details on the copyright holders. 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.ap...
20.795122
110
0.622332
italiangrid
e5302d82ddf800a058fb520ecac13ab522c99827
1,194
cpp
C++
Foundation/src/DirectoryIterator_VMS.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
null
null
null
Foundation/src/DirectoryIterator_VMS.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
3
2021-06-02T02:59:06.000Z
2021-09-16T04:35:06.000Z
Foundation/src/DirectoryIterator_VMS.cpp
abyss7/poco
a651a78c76eebd414b37745f7dd8539460154cab
[ "BSL-1.0" ]
6
2021-06-02T02:39:34.000Z
2022-03-29T05:51:57.000Z
// // DirectoryIterator_VMS.cpp // // Library: Foundation // Package: Filesystem // Module: DirectoryIterator // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/DirectoryIterator_VMS.h" #include "Poco/Path.h" #in...
18.090909
103
0.696817
abyss7
e5309865860ce7942b7f39ed4ad67d1a324ac8a1
713
cpp
C++
gui/src/logger.cpp
maede97/ChessEngine
24697e75a7375b68a47e08e0ef4fb4b363f08619
[ "MIT" ]
1
2021-02-20T11:09:59.000Z
2021-02-20T11:09:59.000Z
gui/src/logger.cpp
maede97/ChessEngine
24697e75a7375b68a47e08e0ef4fb4b363f08619
[ "MIT" ]
2
2021-02-13T22:53:59.000Z
2021-02-21T12:43:28.000Z
gui/src/logger.cpp
maede97/ChessEngine
24697e75a7375b68a47e08e0ef4fb4b363f08619
[ "MIT" ]
null
null
null
#include <ChessEngineGui/logger.h> CHESS_NAMESPACE_BEGIN std::vector<std::pair<ImVec4, std::string>> Logger::entries; void Logger::logInfo(std::string what) { entries.push_back(std::make_pair(ImVec4(0, 1, 0, 1), what)); } void Logger::logWarning(std::string what) { entries.push_back(std::make_pair(ImVec4(1, 0.6...
22.28125
68
0.636746
maede97
e531cd17c405b899e279a1e66f2cec531fdee364
2,516
cpp
C++
cpp/src/dotcpp/dot/noda_time/local_time_util.cpp
dotcpp/dotcpp
ba786aa072dd0612f5249de63f80bc540203840e
[ "Apache-2.0" ]
4
2019-08-08T03:53:37.000Z
2021-01-31T06:51:56.000Z
cpp/src/dotcpp/dot/noda_time/local_time_util.cpp
compatibl/dotcpp-mongo
e329e5a0523577b0d1f36c82d5caaac2e92e1023
[ "Apache-2.0" ]
null
null
null
cpp/src/dotcpp/dot/noda_time/local_time_util.cpp
compatibl/dotcpp-mongo
e329e5a0523577b0d1f36c82d5caaac2e92e1023
[ "Apache-2.0" ]
1
2015-03-28T15:52:01.000Z
2015-03-28T15:52:01.000Z
/* Copyright (C) 2015-present The DotCpp Authors. This file is part of .C++, a native C++ implementation of popular .NET class library APIs developed to facilitate code reuse between C# and C++. http://github.com/dotcpp/dotcpp (source) http://dotcpp.org (documentation) Licensed under the Apache License, Vers...
34.944444
120
0.67806
dotcpp
e535f53cac3f41386c15bf2999b119b4e6281020
2,009
hpp
C++
src/batched/KokkosBatched_FindAmax_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
156
2017-03-01T23:38:10.000Z
2022-03-27T21:28:03.000Z
src/batched/KokkosBatched_FindAmax_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
1,257
2017-03-03T15:25:16.000Z
2022-03-31T19:46:09.000Z
src/batched/KokkosBatched_FindAmax_Internal.hpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
76
2017-03-01T17:03:59.000Z
2022-03-03T21:04:41.000Z
#ifndef __KOKKOSBATCHED_FIND_AMAX_INTERNAL_HPP__ #define __KOKKOSBATCHED_FIND_AMAX_INTERNAL_HPP__ /// \author Kyungjoo Kim (kyukim@sandia.gov) #include "KokkosBatched_Util.hpp" namespace KokkosBatched { /// /// Serial Internal Impl /// ===================== struct SerialFindAmaxInternal { template<type...
24.5
90
0.551518
dialecticDolt
e536aafb809ed6ff9811f384a52dcc866e9d4eb2
649
cpp
C++
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
1
2016-10-05T20:07:03.000Z
2016-10-05T20:07:03.000Z
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
null
null
null
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { long int test,a,b,i,j,unit,rem,cycle[4]; cin>>test; while(test--) { cin>>a>>b; a=a%10; if(a==0) { cout<<"0"<<endl; continue; } cycle[0]=0; i=0; j=1; do...
17.540541
44
0.371341
sjnonweb
e5379e9ffc988fe521e8faee0d6cbd3b2244856c
2,730
cpp
C++
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
#ifdef _WIN32 #include <windows.h> #endif #define _USE_MATH_DEFINES #include <cmath> #include <spdlog/spdlog.h> #include <SDL2/SDL.h> #include <glad/glad.h> #include <stdlib.h> #include <stdio.h> #include "core/gl-log-handler.hpp" #include "core/init.hpp" #include "entity.hpp" #include "map.hpp" static const Uint...
28.14433
104
0.503663
guillaume-haerinck
e53a60e07b456820f1ae3cae980f77b5f72c719e
2,885
cpp
C++
Project Euler/Euler9.cpp
ahakouz17/Competitive-Programming-Practice
5f4daaf491ab03bb86387e491ecc5634b7f99433
[ "MIT" ]
null
null
null
Project Euler/Euler9.cpp
ahakouz17/Competitive-Programming-Practice
5f4daaf491ab03bb86387e491ecc5634b7f99433
[ "MIT" ]
null
null
null
Project Euler/Euler9.cpp
ahakouz17/Competitive-Programming-Practice
5f4daaf491ab03bb86387e491ecc5634b7f99433
[ "MIT" ]
null
null
null
/* * * A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, * a^2 + b^2 = c^2 * * For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. * * There exists exactly one Pythagorean triplet for which a + b + c = 1000. * Find the product abc. * * Answer: 31875000 */ #include <iostream> #incl...
26.46789
96
0.495667
ahakouz17
e53a6173782ff0b52a492f8f00f1f3d1d8b9605b
1,234
cpp
C++
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
#include "createrankview.h" #include "ui_createrankview.h" #include "../mainwindow.h" #include "manageranksview.h" #include "QMessageBox" #include "../Models/rank.h" CreateRankView::CreateRankView(MainWindow *parent) : QWidget(parent), mainWindow(parent), ui(new Ui::CreateRankView) { ui->setupUi(this);...
27.422222
103
0.691248
MehmetHY
e53a87307196e71bdaa29b0b31d6427838139570
16,901
cpp
C++
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
2
2018-01-28T20:07:52.000Z
2018-03-01T22:41:39.000Z
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
6
2017-08-26T10:24:48.000Z
2018-01-28T13:45:34.000Z
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
null
null
null
#include "GuiIncludes.h" #include "Common.h" #include "ModuleFunctionIncludes.h" #include "StateMachineIncludes.h" #include "IMS_ModuleFunctionData_Comm.h" #include "GUI_ModuleFunction_Base.h" #include "GUI_ModuleFunction_Comm.h" #include "IMS_ModuleFunction_Comm.h" IMS_ModuleFunction_Comm::IMS_ModuleFunction_Comm(IM...
30.50722
242
0.725993
TheNewBob
e53c3a180ef6ac0c59839a0e8f364fd4c3967f6e
3,238
cpp
C++
tests/test_list.cpp
SpockBotMC/cpp-nbt
6f2e19586f15b442e2bb26079943b11496f894d2
[ "Zlib" ]
19
2020-07-17T17:51:20.000Z
2022-03-06T00:15:09.000Z
tests/test_list.cpp
SpockBotMC/cpp-nbt
6f2e19586f15b442e2bb26079943b11496f894d2
[ "Zlib" ]
6
2020-07-17T15:22:20.000Z
2022-02-19T21:26:37.000Z
tests/test_list.cpp
SpockBotMC/cpp-nbt
6f2e19586f15b442e2bb26079943b11496f894d2
[ "Zlib" ]
2
2020-10-12T14:52:50.000Z
2021-07-07T09:13:05.000Z
#include <fstream> #include <sstream> #undef NDEBUG #include <cassert> #include "nbt.hpp" int main() { nbt::TagList test_list { nbt::TagList {nbt::TagEnd {}}, { nbt::TagByte {1}, nbt::TagByte {2}, nbt::TagByte {3}, }, { nbt::TagShort {1 << 8}, ...
26.760331
79
0.51328
SpockBotMC
e53c3c786211debde0fdca51c2ed14a8c86bd230
2,253
cpp
C++
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
#include "main.h" using namespace std; void phongLight(scene& objectScene, vecRay pos, int number, float r){ for (int i = 0; i < number; i++) { float t = 2 * M_PI / number * i; light* lig = new light(pos + vecRay(r * cos(t), r * sin(t), 0), RGB(1, 1, 1) , 1.0 / number); objectScene.LightAdd(lig); } } void Sphe...
33.626866
101
0.634265
moelatt
e53ff1e5f9a3e954c7fbcef3156f38af3b6f12ce
7,249
cpp
C++
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
#include "boxesDemo.hpp" BoxesDemo::BoxesDemo() : shader("../assets/boxes.vert.glsl", "../assets/boxes.frag.glsl") { } void BoxesDemo::Init(GLFWwindow* window) { // Load texture texture = loadTexture("../assets/wall.jpg"); // set up vertex data (and buffer(s)) and configure vertex attributes // -----...
41.422857
128
0.554559
VladimirV99
e5403244c786450d74a8caa9758b08d5e61823cb
4,239
hxx
C++
released_plugins/v3d_plugins/bigneuron_siqi_stalker_v3d/lib/ITK_include/itksys/stl/string.hxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
released_plugins/v3d_plugins/bigneuron_siqi_stalker_v3d/lib/ITK_include/itksys/stl/string.hxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
released_plugins/v3d_plugins/bigneuron_siqi_stalker_v3d/lib/ITK_include/itksys/stl/string.hxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/*============================================================================ KWSys - Kitware System Library Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software is distr...
34.185484
126
0.702524
zzhmark
e542215953900b60bfb3b84aaf60daaa1586c807
8,209
cpp
C++
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
31.817829
100
0.543306
fjonath1
e542fdca460da55e087bd8129a92519659d89932
4,145
cpp
C++
BioNetGen-2.3.0/source_NFsim/validate/BioNetGen-2.2.6-stable/Network3/src/model/reactions/bioNetGenRxn.cpp
joseph-hellerstein/RuleBasedProgramming
fb88118ab764035979dc7c2bf8c89a7b484e4472
[ "MIT" ]
53
2015-03-15T20:33:36.000Z
2022-02-25T12:07:26.000Z
BioNetGen-2.3.0/source_NFsim/validate/BioNetGen-2.2.6-stable/Network3/src/model/reactions/bioNetGenRxn.cpp
joseph-hellerstein/RuleBasedProgramming
fb88118ab764035979dc7c2bf8c89a7b484e4472
[ "MIT" ]
85
2015-03-19T19:58:19.000Z
2022-02-28T20:38:17.000Z
BioNetGen-2.3.0/source_NFsim/validate/BioNetGen-2.2.6-stable/Network3/src/model/reactions/bioNetGenRxn.cpp
joseph-hellerstein/RuleBasedProgramming
fb88118ab764035979dc7c2bf8c89a7b484e4472
[ "MIT" ]
34
2015-05-02T23:46:57.000Z
2021-12-22T19:35:58.000Z
/* * bioNetGenRxn.cpp * * Created on: Jul 11, 2011 * Author: Leonard Harris */ #include "bioNetGenRxn.hh" /* BioNetGenRxn::BioNetGenRxn(){ if (MoMMA::debug) cout << "BioNetGenRxn constructor called." << endl; } */ BioNetGenRxn::BioNetGenRxn(vector<SimpleSpecies*> r, vector<int> rS, vector<SimpleSpecies*>...
29.820144
120
0.578046
joseph-hellerstein
e5448c5f8e635a35aa5e27820e321d3e5ce484e0
1,844
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/Endian.cc,v 1.1 1992/06/20 17:40:19 lewis Exp $ * * TODO: * * Changes: * $Log: Endian.cc,v $ * Revision 1.1 1992/06/20 17:40:19 lewis * Initial revision * Revision 1.2 1992/04/29 23:45:43 lewis *** ...
21.44186
103
0.598156
SophistSolutions
e544bcda50fe45d12e0c740fa0515ee9c7336cc8
18,381
cpp
C++
src/comm/NCCLWrapper.cpp
nict-wisdom/rannc
a1708807e053e2d58b7f6d6ed925f03aa8504416
[ "MIT" ]
45
2021-04-02T15:22:29.000Z
2022-03-30T19:13:14.000Z
src/comm/NCCLWrapper.cpp
nict-wisdom/rannc
a1708807e053e2d58b7f6d6ed925f03aa8504416
[ "MIT" ]
6
2021-06-23T12:32:34.000Z
2022-01-27T11:44:24.000Z
src/comm/NCCLWrapper.cpp
nict-wisdom/rannc
a1708807e053e2d58b7f6d6ed925f03aa8504416
[ "MIT" ]
6
2021-06-14T12:59:10.000Z
2022-03-30T19:01:36.000Z
// // Created by Masahiro Tanaka on 2019-07-22. // #include <nccl.h> #include "NCCLWrapper.h" #include "ObjectComm.h" #include <comm/SComm.h> #include <comp/EventRecorder.h> #include <cuda/CudaUtil.h> namespace rannc { int DEFAULT_TAG = 100; constexpr size_t NCCL_MAX_COLL_OP_NUM = 2048; void NCCLBulkJobExecutor::...
28.765258
80
0.652794
nict-wisdom
e544d59cc2815d8d70bfeceab5c86040ed5265c8
16,539
cpp
C++
hi_modules/effects/editors/HarmonicFilterEditor.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
9
2020-04-16T01:17:27.000Z
2022-02-25T14:13:10.000Z
hi_modules/effects/editors/HarmonicFilterEditor.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_modules/effects/editors/HarmonicFilterEditor.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
6
2020-05-11T22:23:15.000Z
2022-02-24T16:52:44.000Z
/* ============================================================================== This is an automatically generated GUI class created by the Introjucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loa...
44.104
168
0.655844
romsom
e5461de4e1f026d92f9f1b630e825dd56a7a2fa6
31,026
hpp
C++
Lib/Chip/Unknown/Atmel/AT91SAM9G15/MATRIX.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/Unknown/Atmel/AT91SAM9G15/MATRIX.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/Unknown/Atmel/AT91SAM9G15/MATRIX.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //AHB Bus Matrix namespace MatrixPras0{ ///<Priority Register A for Slave 0 using Addr = Register::Address<0xffffde80,0xcccccccc,0x00000000,unsigned>; ///Master 0 Priority constexpr Register::FieldLocation<Addr,Register::mas...
69.721348
220
0.717882
cjsmeele
e549a487942d96e6b7a642a0d2add670586a9422
309
cpp
C++
src/lock.cpp
stiartsly/WhisperDemo-Pi
23aef69f5194274828b32e3c1dd560b3bbe80fab
[ "MIT" ]
null
null
null
src/lock.cpp
stiartsly/WhisperDemo-Pi
23aef69f5194274828b32e3c1dd560b3bbe80fab
[ "MIT" ]
null
null
null
src/lock.cpp
stiartsly/WhisperDemo-Pi
23aef69f5194274828b32e3c1dd560b3bbe80fab
[ "MIT" ]
null
null
null
#include <cstdlib> #include <pthread.h> #include "lock.h" CLock::CLock() { pthread_mutex_init(&mLock, NULL); } CLock::~CLock() { pthread_mutex_destroy(&mLock); } int CLock::lock(void) { return pthread_mutex_lock(&mLock); } int CLock::unlock(void) { return pthread_mutex_unlock(&mLock); }
12.36
40
0.673139
stiartsly
e54a93658c8b55d6f45b9a668a312f5a2a56fa00
2,924
cpp
C++
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
// https://adventofcode.com/2019/day/3 #include <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> #include <algorithm> struct Coord { int x; int y; }; struct Line { Coord start; Coord end; }; // Manhattan length int length(const Coord& coord) { return std::abs(coord.x) + std:...
22.84375
109
0.647743
luddet
e54c1893e6649423a7cfed325f4d82edcbfbe3f0
4,252
cpp
C++
problems/week11-return_of_the_jedi/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
problems/week11-return_of_the_jedi/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
problems/week11-return_of_the_jedi/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
/* Tags: Minimal Spanning Tree, DFS, 2nd MST Key idea: * we look for 2nd best MST * construct MST with Kruskal --> Leias solution (equivalent to her Prim algorithm in terms of weight) * compute max edge on pairwise paths in MST with DFS in O(n^2) (paths are unique in tree) ...
34.852459
101
0.591486
haeggee
e54fc090eccf003218a089668bfc96725925c1a9
942
hpp
C++
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "modules/sway/ipc/client.hpp" #include "util/SafeSignal.hpp" #include "util/json.hpp" namespace waybar { class Bar; namespace modules::sway { /* * Supported subset of i3/sway IPC barconfig object */ struct swaybar_config { std::string id; std::string mode; std::strin...
18.84
60
0.733546
Psykar
e5503c73ff01bd157d2e1423074beb79a59cd748
623
hpp
C++
src/LANManager.hpp
developer-kikikaikai/linux_router
e4c29f407b5ace64298f798d6b1afabd81c2b6f5
[ "MIT" ]
null
null
null
src/LANManager.hpp
developer-kikikaikai/linux_router
e4c29f407b5ace64298f798d6b1afabd81c2b6f5
[ "MIT" ]
14
2018-07-22T19:12:21.000Z
2018-08-21T08:54:49.000Z
src/LANManager.hpp
developer-kikikaikai/linux_router
e4c29f407b5ace64298f798d6b1afabd81c2b6f5
[ "MIT" ]
null
null
null
#ifndef LAN_MANAGER_HPP #define LAN_MANAGER_HPP #include <vector> #include "LANIPManager.hpp" #include "JsonParser.hpp" #include <lower_layer_director.h> class LANManager { private: const char * _setting; LANIPManager * _ipmanager; JsonParser *_setting_parser; std::vector<LowerLayerDirector> _directors; public: ...
20.096774
59
0.76565
developer-kikikaikai
e55179158e57432b7325bd3977f58355acea694c
3,106
cpp
C++
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_exists.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_exists.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_exists.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
31.693878
112
0.703799
wangcy6
e553a287b6184222831f218ba400fa98aa3e48ea
3,801
cpp
C++
src/libraries/core/meshes/primitiveMesh/primitiveMeshClear.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/primitiveMesh/primitiveMeshClear.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/primitiveMesh/primitiveMeshClear.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
21.116667
79
0.524599
MrAwesomeRocks
e5568754493f67bb68185336cecf41822a020365
2,116
cpp
C++
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
930
2018-02-19T16:38:29.000Z
2022-03-30T22:16:01.000Z
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
142
2018-02-19T16:14:28.000Z
2022-03-25T13:51:08.000Z
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
92
2018-05-13T01:41:04.000Z
2022-03-28T03:26:44.000Z
// Copyright 2017-2019, Nicholas Sharp and the Polyscope contributors. http://polyscope.run. #include "polyscope/color_management.h" // Use for color conversion scripts #include "imgui.h" #include <algorithm> #include <cmath> #include <iostream> using std::cout; using std::endl; namespace polyscope { namespace { ...
25.804878
96
0.651229
hydrocarborane
e557a824faa6e221484d57c294b9c763b7490482
8,099
cpp
C++
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
5
2020-10-27T21:28:03.000Z
2020-12-15T15:56:19.000Z
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
2
2020-10-28T17:47:17.000Z
2020-11-03T01:20:16.000Z
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "loramodem.h" LoRaWANModem::LoRaWANModem(uint8_t pin_cts, uint8_t pin_rts) : uart(LORA_TX, LORA_RX, NC, NC) { _pin_cts = pin_cts; _pin_rts = pin_rts; } void LoRaWANModem::begin() { pinMode(_pin_rts, OUTPUT); digitalWrite(_pin_rts, HIGH); pinMode(_pin_cts, INPUT); uart.begin(...
24.248503
131
0.639462
2ni
e557c19ba2a44a798c976cd41aada8e056a046c6
1,020
cpp
C++
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
26.842105
80
0.538235
nawrinsu
e558a141ca9806e6d403c97858e3794873a66ec2
1,858
cpp
C++
src/Parsers/New/AST/CreateViewQuery.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
18
2021-05-29T01:12:33.000Z
2021-11-18T12:34:48.000Z
src/Parsers/New/AST/CreateViewQuery.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
13
2019-06-06T09:45:53.000Z
2020-05-15T12:03:45.000Z
src/Parsers/New/AST/CreateViewQuery.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
22
2019-06-14T10:31:51.000Z
2020-10-12T14:57:44.000Z
#include <Parsers/New/AST/CreateViewQuery.h> #include <Parsers/ASTCreateQuery.h> #include <Parsers/New/AST/CreateTableQuery.h> #include <Parsers/New/AST/Identifier.h> #include <Parsers/New/AST/SelectUnionQuery.h> #include <Parsers/New/ParseTreeVisitor.h> namespace DB::AST { CreateViewQuery::CreateViewQuery( PtrT...
29.492063
134
0.709903
evryfs
e55b9e21ffd129536767b49da9796805fd71aba9
1,539
cpp
C++
leet/find_valid_matrix_given_row_and_column_sums.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
leet/find_valid_matrix_given_row_and_column_sums.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
leet/find_valid_matrix_given_row_and_column_sums.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <limits> #include <map> #include <memory> #include <numeric> #include <queue> #include <set> #include <stack> #include <utility> #include <vector> // Problem: typedef long long int llint; typedef long double ldouble; using namespace std; class Solut...
20.797297
69
0.527615
Surya-06
e55ea52956dab30f6882d126a1960c9d4f07d3e2
23,289
cpp
C++
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
#include "taco/lower/lower.h" #include <vector> #include <stack> #include <set> #include "taco/tensor.h" #include "taco/expr.h" #include "taco/ir/ir.h" #include "taco/ir/ir_visitor.h" #include "ir/ir_codegen.h" #include "lower_codegen.h" #include "iterators.h" #include "tensor_path.h" #include "merge_lattice.h" #in...
35.339909
81
0.630083
peterahrens
e562585a55cfabb469ca1ed2c84c423dae48f8de
99
cpp
C++
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// Copyright (c) Martin Schweiger // Licensed under the MIT License #include "QuadcopterSubsys.h"
19.8
33
0.757576
Ybalrid
e5648cea6421a775246cc1d2cc71e8dbedd13695
575
cpp
C++
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
#include <windows.h> #include "ProgramInterpreter.hpp" #include "DebugEngineInterpreter.hpp" #include "IDebugClientPtrInterpreter.hpp" #include "IDebugControlPtrInterpreter.hpp" #include "DEBUG_VALUEInterpreter.hpp" using namespace enc; using namespace fctr; using namespace interp; ////////////////////////...
33.823529
55
0.690435
tedi21
e564dd2b2161d9e83ef47fa9f3249ce3181fdb0b
5,505
hpp
C++
src/TNL/Benchmarks/Benchmarks.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
src/TNL/Benchmarks/Benchmarks.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
src/TNL/Benchmarks/Benchmarks.hpp
grinisrit/tnl-dev
4403b2dca895e2c32636395d6f1c1210c7afcefd
[ "MIT" ]
null
null
null
// Copyright (c) 2004-2022 Tomáš Oberhuber et al. // // This file is part of TNL - Template Numerical Library (https://tnl-project.org/) // // SPDX-License-Identifier: MIT // Implemented by: Jakub Klinkovsky, // Tomas Oberhuber #pragma once #include "Benchmarks.h" #include "Utils.h" #include <iostre...
28.086735
127
0.704814
grinisrit
e5655eb057cb7a0baed86d4371a3e518994375ba
434
cpp
C++
sprint2/src/customer.cpp
trimino/ELSA
9021425a4c1ff592a15c7f7cd9940f9144f44047
[ "MIT" ]
null
null
null
sprint2/src/customer.cpp
trimino/ELSA
9021425a4c1ff592a15c7f7cd9940f9144f44047
[ "MIT" ]
null
null
null
sprint2/src/customer.cpp
trimino/ELSA
9021425a4c1ff592a15c7f7cd9940f9144f44047
[ "MIT" ]
null
null
null
#include "customer.h" #include <iostream> Customer::Customer(std::string name, std::string phone, std::string email): _name{name}, _phone{phone}, _email{email}{ /*constructor for Cusotmer Class*/} std::ostream& operator<<(std::ostream& ost, const Customer& customer){ ost << customer._name << "(" << customer._pho...
25.529412
154
0.66129
trimino
e5681f877ad7f83f4618f2fc44e500c843976446
1,984
hh
C++
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef OPBOX_OPBOX_OPTIMER_HH #define OPBOX_OPBOX_OPTIMER_HH #include <vector> #include "opbox/ops/Op.hh" name...
24.8
81
0.705645
faodel
e56990303867d05ec251b5bb657511702066902c
628
cpp
C++
drv_brain/src/facelistener.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
13
2017-09-06T13:33:19.000Z
2021-09-20T08:53:05.000Z
drv_brain/src/facelistener.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
null
null
null
drv_brain/src/facelistener.cpp
DrawZeroPoint/drv_package_v2
fc4b83e1a7ee4a3e007e32358a5e0035e0dcf5cb
[ "MIT" ]
5
2017-11-02T13:09:33.000Z
2018-06-07T01:08:29.000Z
#include "facelistener.h" FaceListener::FaceListener() { control_param_need_recog = "/comm/param/control/face/need_recognize"; local_param_need_recog = "/vision/face/need_recognize"; } void FaceListener::isNeedRecognizeFace() { // if (ros::param::has(local_param_need_recog)) // { // bool need_recog = false...
23.259259
73
0.657643
DrawZeroPoint
e56a1a9ec62105fe15240e7b7eb2c1b9a3e2c170
6,279
cpp
C++
src/SNN/utils/Image.cpp
CognitiveModeling/snn-robotic-trunk
0a1dce9271feeabfd3c442de3c7fa90a8a725100
[ "MIT" ]
1
2021-11-21T08:28:56.000Z
2021-11-21T08:28:56.000Z
src/SNN/utils/Image.cpp
CognitiveModeling/snn-robotic-trunk
0a1dce9271feeabfd3c442de3c7fa90a8a725100
[ "MIT" ]
null
null
null
src/SNN/utils/Image.cpp
CognitiveModeling/snn-robotic-trunk
0a1dce9271feeabfd3c442de3c7fa90a8a725100
[ "MIT" ]
null
null
null
#include "Image.h" #include <IL/il.h> #include <pthread.h> #include <assert.h> #include <string.h> #include <unistd.h> #include <math.h> #include <dirent.h> #include "utils.h" #include <string.h> using namespace SNN; /* wether the image library was allready initialized */ bool Image::initialized = false; /* synconiz...
28.671233
115
0.52158
CognitiveModeling
e56ba64c5927c2dbe7a9151e9033f66a03d48e81
1,885
cc
C++
components/password_manager/core/browser/possible_username_data.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/password_manager/core/browser/possible_username_data.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/password_manager/core/browser/possible_username_data.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/password_manager/core/browser/possible_username_data.h" #include <string> #include "base/strings/string_piece.h" #include "componen...
30.403226
85
0.755438
chromium
e56d6acda63cb2f705e626fc0e64b34ca36c1562
12,435
cc
C++
chrome/browser/chromeos/smb_client/smbfs_share_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/smb_client/smbfs_share_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/smb_client/smbfs_share_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/smb_client/smbfs_share.h" #include "base/run_loop.h" #include "base/test/bind_test_util.h" #include "base/test/gmock_ca...
37.342342
80
0.685002
sarang-apps
e571e48132178154c38b7965efe5a0948d4a8c28
3,083
cpp
C++
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied ...
29.644231
78
0.492702
wjezxujian
e5737e84d7801be09dc45c044267c7bb91c9edbf
410
cpp
C++
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
33
2020-09-01T20:11:50.000Z
2022-03-29T01:20:43.000Z
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
13
2021-01-20T14:00:18.000Z
2022-03-24T08:31:47.000Z
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
9
2021-01-29T14:51:41.000Z
2022-02-21T13:38:31.000Z
// CopyRegister.cpp #include "StdAfx.h" #include "../Common/RegisterCodec.h" #include "CopyCoder.h" namespace NCompress { REGISTER_CODEC_CREATE(CreateCodec, CCopyCoder()) REGISTER_CODEC_2(Copy, CreateCodec, CreateCodec, 0, "Copy") } #if defined(LIBPLZMA_USING_REGISTRATORS) uint64_t plzma_regist...
18.636364
61
0.729268
playback-sports
e57578e36cfc567cfe4c3b042ab10c0d043ec0f1
15,553
cpp
C++
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
9
2016-05-25T12:25:50.000Z
2020-11-30T13:40:13.000Z
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
null
null
null
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
3
2018-02-25T06:10:31.000Z
2019-09-28T15:55:36.000Z
// Copyright (c) 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
30.258755
75
0.48923
danginsburg
e575b5ffc966abe5bdd67d94c90113033a1f860b
1,710
cpp
C++
Code/Engine/Animation/AnimationFrameTime.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Engine/Animation/AnimationFrameTime.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Engine/Animation/AnimationFrameTime.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "AnimationFrameTime.h" //------------------------------------------------------------------------- namespace KRG::Animation { FrameTime FrameTime::operator+( Percentage const& RHS ) const { FrameTime newTime = *this; int32 loopCount; Percentage newPercent = m_percent...
30
92
0.587135
JuanluMorales
e575bb3b784da7fd45c6e1223965737cb96e3085
1,653
cpp
C++
solutions/goat-rope.cpp
techchrism/kattis-problems
4d5b761fefdee04e4396fc09f0ee3578fc44a76f
[ "MIT" ]
null
null
null
solutions/goat-rope.cpp
techchrism/kattis-problems
4d5b761fefdee04e4396fc09f0ee3578fc44a76f
[ "MIT" ]
null
null
null
solutions/goat-rope.cpp
techchrism/kattis-problems
4d5b761fefdee04e4396fc09f0ee3578fc44a76f
[ "MIT" ]
null
null
null
// Problem https://open.kattis.com/problems/goatrope #include <iostream> #include <string> #include <vector> #include <algorithm> #include <sstream> #include <queue> #include <deque> #include <bitset> #include <iterator> #include <list> #include <stack> #include <map> #include <set> #include <functional> #include <nume...
20.6625
52
0.656382
techchrism
ec78cb415a2829b108d2dec07e7f4b0358d90020
1,277
cpp
C++
src/board/i2c/multiplexers/tests/multiplexer_tests.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
10
2018-04-28T04:44:56.000Z
2022-02-06T21:12:13.000Z
src/board/i2c/multiplexers/tests/multiplexer_tests.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
null
null
null
src/board/i2c/multiplexers/tests/multiplexer_tests.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
3
2019-02-16T03:22:26.000Z
2022-02-03T14:54:22.000Z
#include <CppUTest/TestHarness.h> #include <src/board/board.h> #include <src/board/i2c/i2c.h> #include <src/board/i2c/multiplexers/i2c_multiplexer.h> #include <src/config/unit_tests.h> #include <src/sensors/i2c_sensors/mcp9808.h> #include <src/sensors/i2c_sensors/measurables/temperature_measurable.h> #include <src/util...
32.74359
99
0.749413
MelbourneSpaceProgram
ec7ac649a2c32d3c679a5de985cccde3fdd44fab
3,730
hpp
C++
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
16
2022-02-06T15:29:36.000Z
2022-02-18T09:11:35.000Z
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
null
null
null
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
1
2022-02-06T15:28:49.000Z
2022-02-06T15:28:49.000Z
#pragma once #include <set> #include <list> #include "GenericClusterSolver.hpp" // init radius is min(dist between centroids)/2 template<class CentroidT> double init_R(vector<CentroidT> &centroids) { double min_dist = numeric_limits<double>::max(); for (uint32_t i = 0; i < centroids.size(); i++) for ...
39.680851
147
0.652547
AristiPap
ec7d3b0ba9ee3d08fe0df60cba1017060940634f
7,028
cpp
C++
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * ScaleModel.cpp * * Copyright (C) 2018 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "ScaleModel.h" using namespace megamol::archvis; ScaleModel::ScaleModel( std::vector<Vec3> node_positions, std::vector<std::tuple<int, int, int, int, int>> elements, std::vector<int> input_elements...
31.657658
124
0.749858
azuki-monster
ec889a5ba359735240cb4e1a1d00e18c7354f0fb
244
cpp
C++
Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Private/PIEPreviewDeviceSpecification.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Private/PIEPreviewDeviceSpecification.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/PIEPreviewDeviceProfileSelector/Private/PIEPreviewDeviceSpecification.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "PIEPreviewDeviceSpecification.h" UPIEPreviewDeviceSpecification::UPIEPreviewDeviceSpecification(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
34.857143
107
0.840164
windystrife
ec8dbf21301fd11a54a4ec8946a7ecf45c18a269
2,507
hpp
C++
src/ast.hpp
camila314/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
1
2022-01-11T18:53:23.000Z
2022-01-11T18:53:23.000Z
src/ast.hpp
camila314/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
1
2022-01-11T20:50:13.000Z
2022-01-11T20:50:13.000Z
src/ast.hpp
CacaoSDK/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
2
2022-01-11T20:32:21.000Z
2022-01-14T17:42:25.000Z
#pragma once #include <string> #include <vector> #include <unordered_map> #include <algorithm> #include <iostream> using std::vector, std::unordered_map, std::string, std::is_same_v, std::cout, std::cin, std::endl; struct ClassDefinition; enum FieldType { kFunction=0, kMember=1, kInline=2 }; struct ClassField {...
23.212963
147
0.708018
camila314
ec8fddd0f498c738de2bfc064e886c2cb5235326
2,304
cc
C++
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
1
2020-01-06T09:43:56.000Z
2020-01-06T09:43:56.000Z
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
#include <utility> #include "Error.hh" #include "ast/Type.hh" void error::syntax_error(const std::string_view err) { report_error(err); } void error::syntax(TokenType expected, Token got) { std::ostringstream oss {}; oss << "Invalid syntax, expected " << token_names[expected]; oss << " got " << token_nam...
28.8
90
0.61849
walecome
ec9e2db9686565bd9f58b3a43512b0a2c281a845
1,559
cc
C++
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
3
2020-06-04T03:26:32.000Z
2020-06-04T03:26:45.000Z
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
8
2020-08-07T00:52:28.000Z
2020-09-24T22:11:43.000Z
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
3
2020-03-29T08:27:26.000Z
2022-02-17T14:12:22.000Z
#include "common/formatter/substitution_format_string.h" #include "common/formatter/substitution_formatter.h" namespace Envoy { namespace Formatter { namespace { absl::flat_hash_map<std::string, std::string> convertJsonFormatToMap(const ProtobufWkt::Struct& json_format) { absl::flat_hash_map<std::string, std::stri...
33.891304
94
0.74086
tgalkovskyi
ec9f2d36b59bbdfe5dd574b82b6aad36c372d195
38,633
cpp
C++
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
4
2020-02-21T00:15:30.000Z
2022-01-20T22:56:42.000Z
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
5
2020-10-22T16:53:03.000Z
2021-05-19T17:29:33.000Z
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
5
2019-11-12T07:40:24.000Z
2021-01-15T11:29:41.000Z
/* Copyright (c) DataStax, 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 to in writing, so...
33.53559
106
0.666529
spolitov
eca05a55acf935e9d42224eff0b73ef73fe19066
41,398
cpp
C++
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
3,788
2019-05-07T02:41:36.000Z
2022-03-30T12:34:15.000Z
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
6,170
2019-05-06T21:32:43.000Z
2022-03-31T23:46:55.000Z
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
532
2019-05-07T12:15:58.000Z
2022-03-31T11:36:26.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include "common.h" #include "ViewModel.h" #include "TreeView.h" #include "TreeViewItem.h" #include "VectorChangedEventArgs.h" #include "Tr...
33.932787
184
0.638751
riverar
eca81fbb773cabc99faaf2b9b23db83ceb9112a7
9,122
hpp
C++
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Henk-Jan Lebbink // // 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 us...
36.931174
128
0.580355
HJLebbink
ecada5a1590c0f507a42fad6bfa0ba4000a66ebf
418
cpp
C++
Courses/Cpp.Saurabh-Shukla/code/l15-object-pointer.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Courses/Cpp.Saurabh-Shukla/code/l15-object-pointer.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Courses/Cpp.Saurabh-Shukla/code/l15-object-pointer.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; class Box { int l, b, h; public: void set_dimension(int x, int y, int z) { l = x; b = y; h = z; } void show_dimension() { cout << "l = " << l << " b = " << b << " h = " << h << endl; } }; int main(void) { Box *p, small_bo...
16.72
68
0.464115
shihab4t