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
cbb3d44e0c95272bf15ebced7b12a6757613a876
5,022
hh
C++
tests/Waffle/Container/Definition/DefinitionAggregateTest.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
5
2018-11-27T20:20:13.000Z
2018-12-28T15:30:35.000Z
tests/Waffle/Container/Definition/DefinitionAggregateTest.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
3
2018-12-13T19:11:09.000Z
2018-12-21T01:11:51.000Z
tests/Waffle/Container/Definition/DefinitionAggregateTest.hh
azjezz/waffle
3a880ac4e7bd10739bc7134aaf1a531bfb623ba3
[ "MIT" ]
null
null
null
<?hh namespace Waffle\Tests\Container\Definition; use type Facebook\HackTest\HackTest; use type Waffle\Container\Container; use type Waffle\Tests\Container\Asset\Foo; use type Waffle\Tests\Container\Asset\Bar; use type Waffle\Container\Definition\Definition; use type Waffle\Container\Exception\NotFoundException; use ...
32.4
91
0.614894
azjezz
cbb57d084c0104174797451531aad4dae2e503b7
2,987
cpp
C++
src/UdpConnection.cpp
sometao/netTester
89e39e018859f41907cc90591bd79bdaa48972a4
[ "MIT" ]
null
null
null
src/UdpConnection.cpp
sometao/netTester
89e39e018859f41907cc90591bd79bdaa48972a4
[ "MIT" ]
null
null
null
src/UdpConnection.cpp
sometao/netTester
89e39e018859f41907cc90591bd79bdaa48972a4
[ "MIT" ]
null
null
null
/** 文件注释样例,参考: http://www.edparrish.net/common/cppdoc.html socket 连接流程实现 @project netTester @author Tao Zhang, Tao, Tao @since 2020/4/26 @version 0.1.3 2020/4/30 */ #include "UdpConnection.h" #include "seeker/loggerApi.h" using seeker::SocketUtil; UdpConnection::UdpConnection() {} UdpConnection& UdpCon...
25.973913
87
0.683964
sometao
cbb790f05738d396044e423b3db63fce0f767691
118
hpp
C++
include/Tile.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
include/Tile.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
include/Tile.hpp
Tastyep/SFML-GameCore-2D
51dfcd7f3a098b2efa76754703999c6b8d22369d
[ "MIT" ]
null
null
null
#ifndef GAME_CORE_TILE_HPP #define GAME_CORE_TILE_HPP enum class Tile { PLAYER, WALL, BALL, LAST, }; #endif
9.833333
26
0.711864
Tastyep
cbb8bfcb0dad49e6dbec3b8c6bc0f9643b29f011
3,021
cpp
C++
Genetic/Genetic_DNA.cpp
TheArquitect/Machine-Learning-Algorithms
09cd1b7630aa2d4d00a8368280ec484d3c273e54
[ "BSD-2-Clause" ]
1
2019-09-30T17:47:26.000Z
2019-09-30T17:47:26.000Z
Genetic/Genetic_DNA.cpp
TheArquitect/Machine-Learning-Algorithms
09cd1b7630aa2d4d00a8368280ec484d3c273e54
[ "BSD-2-Clause" ]
null
null
null
Genetic/Genetic_DNA.cpp
TheArquitect/Machine-Learning-Algorithms
09cd1b7630aa2d4d00a8368280ec484d3c273e54
[ "BSD-2-Clause" ]
null
null
null
/** File : Genetic_DNA.cpp Author : Menashe Rosemberg Created : 2019.03.14 Version: 20190314.1 Genetic Algorithm Copyright (c) 2019 TheArquitect (Menashe Rosemberg) rosemberg@ymail.com Redistribution and use in source and binary forms, with or without modification, are perm...
45.089552
152
0.669977
TheArquitect
cbbb518a4b1b4fdaae342965e8a16893d0bd2748
8,018
hpp
C++
src/alice/sendprop.hpp
AliceStats/Alice
66ad99b4e25b13a584cd850552e7766de23f5c47
[ "Apache-2.0" ]
66
2015-01-29T05:10:02.000Z
2021-11-25T00:53:40.000Z
src/alice/sendprop.hpp
AliceStats/Alice
66ad99b4e25b13a584cd850552e7766de23f5c47
[ "Apache-2.0" ]
6
2015-05-06T16:41:14.000Z
2021-02-08T02:35:29.000Z
src/alice/sendprop.hpp
AliceStats/Alice
66ad99b4e25b13a584cd850552e7766de23f5c47
[ "Apache-2.0" ]
14
2015-01-10T02:46:45.000Z
2020-05-02T16:08:08.000Z
/** * @file sendprop.hpp * @author Robin Dietrich <me (at) invokr (dot) org> * @version 1.1 * * @par License * Alice Replay Parser * Copyright 2014 Robin Dietrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
35.955157
126
0.572961
AliceStats
cbc3a19a48dc441ce1a74958aeaa0624e315d036
345
cpp
C++
sort/bubbleSort.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
1
2021-12-16T13:04:31.000Z
2021-12-16T13:04:31.000Z
sort/bubbleSort.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
null
null
null
sort/bubbleSort.cpp
hongwei7/CPP-data_structure
07b1d8571a1860bfd483bd0e4104806e3481b167
[ "MIT" ]
null
null
null
#include <dbg.h> #include <vector> using namespace std; void bubbleSort(vector<int>& v) { for(int i = v.size(); i >= 0; --i) { for(int j = 0; j < i - 1; ++j) { if(v[j] > v[j + 1]) swap(v[j], v[j + 1]); } } } int main() { vector<int> v = {5, 4, 3, 2, 1}; bub...
18.157895
40
0.42029
hongwei7
cbc4a01461a70af0e43f4e650bed5c10a420ff21
2,669
cpp
C++
src/protocol/decoder.cpp
abbyssoul/libtribe
c0ede6651a1258195fa80fd435232df384569189
[ "Apache-2.0" ]
5
2019-12-13T18:58:09.000Z
2021-12-16T04:12:57.000Z
src/protocol/decoder.cpp
abbyssoul/libtribe
c0ede6651a1258195fa80fd435232df384569189
[ "Apache-2.0" ]
null
null
null
src/protocol/decoder.cpp
abbyssoul/libtribe
c0ede6651a1258195fa80fd435232df384569189
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Ivan Ryabov * * 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 ...
22.428571
79
0.690146
abbyssoul
cbca373c6adb9977f8ac3739ea855d957393e1cc
3,763
cpp
C++
Vector.cpp
aneury1/sdl2-opengl-boiler-plate
f23f69e81f6d8294c8e8be0226812611377f878e
[ "BSD-2-Clause" ]
1
2019-01-30T16:06:30.000Z
2019-01-30T16:06:30.000Z
Vector.cpp
aneury1/sdl2-opengl-boiler-plate
f23f69e81f6d8294c8e8be0226812611377f878e
[ "BSD-2-Clause" ]
null
null
null
Vector.cpp
aneury1/sdl2-opengl-boiler-plate
f23f69e81f6d8294c8e8be0226812611377f878e
[ "BSD-2-Clause" ]
null
null
null
#include "Vector.h" //Vector2 Vector2::Vector2(float _x, float _y) { x = _x; y = _y; } Vector2::~Vector2(void) { } Vector2& Vector2::operator += (const Vector2 &rhs) { this->x += rhs.x; this->y += rhs.y; return *this; } Vector2& Vector2::operator -= (const Vector2 &rhs)...
19.910053
88
0.55275
aneury1
cbcb31983358ab2df83ed279bf435282f985486a
6,622
cpp
C++
Libraries/HoloLensForCV/HoloLensForCV/SensorFrameRecorderSink.cpp
RealityVirtually2019/Crouton
435112a19df0987d440387115802ef906c2c82c0
[ "MIT" ]
96
2018-02-01T11:57:18.000Z
2022-02-28T11:24:03.000Z
Libraries/HoloLensForCV/HoloLensForCV/SensorFrameRecorderSink.cpp
RealityVirtually2019/Crouton
435112a19df0987d440387115802ef906c2c82c0
[ "MIT" ]
8
2018-04-29T03:46:11.000Z
2020-02-20T20:37:39.000Z
Libraries/HoloLensForCV/HoloLensForCV/SensorFrameRecorderSink.cpp
RealityVirtually2019/Crouton
435112a19df0987d440387115802ef906c2c82c0
[ "MIT" ]
22
2018-02-01T11:57:21.000Z
2021-07-07T14:17:35.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
29.828829
179
0.556629
RealityVirtually2019
cbcc53e9a25e62ed97d2dce96a40d071dcec9e7b
1,048
hpp
C++
cmdstan/stan/src/stan/lang/generator/generate_propto_default_function_body.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
cmdstan/stan/src/stan/lang/generator/generate_propto_default_function_body.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/src/stan/lang/generator/generate_propto_default_function_body.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2018-08-28T12:09:08.000Z
2018-08-28T12:09:08.000Z
#ifndef STAN_LANG_GENERATOR_GENERATE_PROPTO_DEFAULT_FUNCTION_BODY_HPP #define STAN_LANG_GENERATOR_GENERATE_PROPTO_DEFAULT_FUNCTION_BODY_HPP #include <stan/lang/ast.hpp> #include <stan/lang/generator/constants.hpp> #include <ostream> namespace stan { namespace lang { /** * Generate the body of the specifie...
26.2
76
0.562023
yizhang-cae
cbd6b8fdfea50708572af5c187b78b265e9d0fcf
1,011
cpp
C++
Program/src/AppTexture/AppTexture.cpp
LenziDavide/TextEditor
6b8d78a4194300c38cc9f8b320fffc0c365e0411
[ "MIT" ]
null
null
null
Program/src/AppTexture/AppTexture.cpp
LenziDavide/TextEditor
6b8d78a4194300c38cc9f8b320fffc0c365e0411
[ "MIT" ]
null
null
null
Program/src/AppTexture/AppTexture.cpp
LenziDavide/TextEditor
6b8d78a4194300c38cc9f8b320fffc0c365e0411
[ "MIT" ]
null
null
null
#include "AppTexture.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" bool Texture::LoadFromFile(const char* filename, GLuint* out_texture, int* out_width, int* out_height) { int image_width = 0; int image_height = 0; unsigned char* image_data = stbi_load(filename, &image_width, &image_height, N...
31.59375
113
0.744807
LenziDavide
cbdc6e38037ecfbd664ea8fe2073361421d4ebe9
3,334
cpp
C++
event/EventDispatcher.cpp
tryor/evhttpd
bf299e803dfc923fca62aa9a9106129d742fe5e9
[ "Apache-2.0" ]
null
null
null
event/EventDispatcher.cpp
tryor/evhttpd
bf299e803dfc923fca62aa9a9106129d742fe5e9
[ "Apache-2.0" ]
null
null
null
event/EventDispatcher.cpp
tryor/evhttpd
bf299e803dfc923fca62aa9a9106129d742fe5e9
[ "Apache-2.0" ]
1
2018-09-21T05:19:51.000Z
2018-09-21T05:19:51.000Z
/* * EventDispatcher.cpp * * Created on: 2010-8-16 * Author: wenjian */ #include "EventDispatcher.h" #include "IEventListener.h" //#include "../thread/Synchronized.h" using namespace std; //namespace Try { EventDispatcher::EventDispatcher() { // TODO Auto-generated constructor stub } EventDis...
25.067669
94
0.590582
tryor
cbdfe0df62ef2d2d89b3e00c2678bd6dfeb4ab06
2,197
hpp
C++
accumulate.hpp
Abodi-Massarweh/itertools-cfar-a
464b54f7c18c3687a7f729b2f1811901edcdaf55
[ "MIT" ]
null
null
null
accumulate.hpp
Abodi-Massarweh/itertools-cfar-a
464b54f7c18c3687a7f729b2f1811901edcdaf55
[ "MIT" ]
null
null
null
accumulate.hpp
Abodi-Massarweh/itertools-cfar-a
464b54f7c18c3687a7f729b2f1811901edcdaf55
[ "MIT" ]
null
null
null
// // Created by abodi on 13/06/2020. // #ifndef ITERTOOLS_CFAR_A_ACCUMULATE_HPP #define ITERTOOLS_CFAR_A_ACCUMULATE_HPP #include "range.hpp" namespace itertools { struct operation { public: template<typename T> T operator()(T a, T b) { return a + b; } }; template...
30.09589
174
0.594447
Abodi-Massarweh
cbe0f18ea94ca2cdb78b1847ee276f446b0d1378
2,460
cpp
C++
examples/pci.cpp
lindale-dev/infoware
b432cbd7977ee68f25b7f072bf3e43de5366bc91
[ "CC0-1.0" ]
null
null
null
examples/pci.cpp
lindale-dev/infoware
b432cbd7977ee68f25b7f072bf3e43de5366bc91
[ "CC0-1.0" ]
null
null
null
examples/pci.cpp
lindale-dev/infoware
b432cbd7977ee68f25b7f072bf3e43de5366bc91
[ "CC0-1.0" ]
null
null
null
// infoware - C++ System information Library // // Written in 2016-2019 by nabijaczleweli <nabijaczleweli@gmail.com> and ThePhD <phdofthehouse@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwi...
31.948052
135
0.684959
lindale-dev
cbe0f79187d2a18ccf0b8394318011ed6796f688
2,953
hpp
C++
regex/test/test_intermediate_regex.hpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
regex/test/test_intermediate_regex.hpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
regex/test/test_intermediate_regex.hpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
// // Created by Bjørn Lindi on 01/05/2020. // #ifndef REGEXPCPP_TEST_INTERMEDIATE_REGEXP_HPP #define REGEXPCPP_TEST_INTERMEDIATE_REGEXP_HPP #include <catch2/catch.hpp> #include <string> #include "regexpcpp.h" std::string s5("AAAD\n" "ABBBBCD\n" "BBBCD\n" "ABCCD\n" ...
36.9125
105
0.498137
blindij
cbe11d9ee1ea4794b13ed9a1ebf1d98b0f74889f
1,516
ipp
C++
rice/detail/MethodInfo.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
205
2015-01-05T04:11:36.000Z
2022-03-22T19:08:16.000Z
rice/detail/MethodInfo.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
91
2015-01-01T19:06:47.000Z
2022-03-20T23:12:04.000Z
rice/detail/MethodInfo.ipp
lutaml/rice
f60f0efa5761d1b12fb4a8542c3ef13edbfb51c1
[ "BSD-2-Clause" ]
32
2015-01-17T01:00:51.000Z
2022-03-18T04:12:59.000Z
#include <sstream> #include "from_ruby_defn.hpp" namespace Rice { template <typename...Arg_Ts> inline MethodInfo::MethodInfo(size_t argCount, const Arg_Ts&...args) { // Process the passed in arguments (this->processArg(args), ...); // Fill in any missing arguments for (size_t i = this->args_.siz...
19.189873
70
0.584433
lutaml
cbe37d5a84f7e9758b56728f2043ee6660a33c0e
1,071
hpp
C++
include/u5e/props/canonical_composition_mapping.hpp
pr8x/u5e
3b970d5bc251fdef341d039d66c84ec5eaf4cb6a
[ "BSD-2-Clause" ]
21
2018-06-10T11:40:10.000Z
2021-04-20T06:47:14.000Z
include/u5e/props/canonical_composition_mapping.hpp
pr8x/u5e
3b970d5bc251fdef341d039d66c84ec5eaf4cb6a
[ "BSD-2-Clause" ]
6
2016-09-04T02:12:07.000Z
2017-08-10T10:07:06.000Z
include/u5e/props/canonical_composition_mapping.hpp
pr8x/u5e
3b970d5bc251fdef341d039d66c84ec5eaf4cb6a
[ "BSD-2-Clause" ]
7
2015-10-12T15:36:34.000Z
2021-02-19T05:15:25.000Z
#ifndef INCLUDED_U5E_PROPS_CANONICAL_COMPOSITION_MAPPING #define INCLUDED_U5E_PROPS_CANONICAL_COMPOSITION_MAPPING namespace u5e { /** * \brief codepoint property handling */ namespace props { /** * \brief Derived property for canonical composition * * This has the fully resolved canonical ...
28.945946
68
0.665733
pr8x
cbe7be633c159cb1f83383f33369130672a15ba3
6,683
cpp
C++
TiposDeDispositivos/TTNMAD_AI/board_arduino/1.6.7/variants/trellis_m4/variant.cpp
IoTopenTech/MyIoTopenTech
8eba34d5dd6c4d578ad8393023f19c3bb6374e19
[ "Apache-2.0" ]
16
2020-05-09T22:39:21.000Z
2022-03-07T06:57:08.000Z
TiposDeDispositivos/TTNMAD_AI/board_arduino/1.6.7/variants/trellis_m4/variant.cpp
IoTopenTech/MyIoTopenTech
8eba34d5dd6c4d578ad8393023f19c3bb6374e19
[ "Apache-2.0" ]
null
null
null
TiposDeDispositivos/TTNMAD_AI/board_arduino/1.6.7/variants/trellis_m4/variant.cpp
IoTopenTech/MyIoTopenTech
8eba34d5dd6c4d578ad8393023f19c3bb6374e19
[ "Apache-2.0" ]
2
2021-04-30T14:41:09.000Z
2021-10-03T14:38:26.000Z
/* Copyright (c) 2014-2015 Arduino LLC. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version....
51.015267
158
0.73066
IoTopenTech
cbe89f94d9c52819644374e931cf7f0d4c11a2b3
8,259
cc
C++
library/core/Cells_Hexagonal.cc
GamedevFramework/gf
0da762184e4fb4e3389032cb6f0c316078b268f7
[ "Zlib" ]
191
2016-07-19T07:54:06.000Z
2022-03-26T16:49:20.000Z
library/core/Cells_Hexagonal.cc
GamedevFramework/gf
0da762184e4fb4e3389032cb6f0c316078b268f7
[ "Zlib" ]
46
2016-07-19T08:23:51.000Z
2021-06-19T20:52:27.000Z
library/core/Cells_Hexagonal.cc
GamedevFramework/gf
0da762184e4fb4e3389032cb6f0c316078b268f7
[ "Zlib" ]
46
2016-07-19T08:04:41.000Z
2021-09-28T17:18:37.000Z
/* * Gamedev Framework (gf) * Copyright (C) 2016-2021 Julien Bernard * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software fo...
30.702602
133
0.559632
GamedevFramework
cbeac545f9156e3c9d683244422e1987346b91a5
1,235
cpp
C++
src/simple_main.cpp
KsDuan/nano-sat-controller
2bf4e91644fe70ffc3a25b8b41dd8d4b35497c15
[ "MIT" ]
1
2018-01-19T09:34:43.000Z
2018-01-19T09:34:43.000Z
src/simple_main.cpp
KsDuan/nano-sat-controller
2bf4e91644fe70ffc3a25b8b41dd8d4b35497c15
[ "MIT" ]
1
2018-01-19T09:34:32.000Z
2018-01-19T09:34:32.000Z
src/simple_main.cpp
KsDuan/nano-sat-controller
2bf4e91644fe70ffc3a25b8b41dd8d4b35497c15
[ "MIT" ]
4
2018-08-31T13:33:19.000Z
2022-02-03T12:28:42.000Z
#include <iostream> #include "NanoSat.hpp" #include "utils/Settings.hpp" using namespace sat; using utils::Settings; using ctrl::Operation; int __main__() { const Settings settings; // load settings from configuration file NanoSat satellite(settings.nanoSat); // setup nano satellite and all attached devices aut...
26.276596
86
0.671255
KsDuan
cbeaddb7a2b34cc0efbdca5269ee686257e67610
325
cpp
C++
LT2/lithshared/mfcstub/mfcs_point.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
LT2/lithshared/mfcstub/mfcs_point.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
LT2/lithshared/mfcstub/mfcs_point.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// mfcs_point.cpp - implementation for the MFC stub CPoint class #include "stdafx.h" #include "mfcs_point.h" CPoint::CPoint() { } CPoint::CPoint(const CPoint &cPt) { *(POINT *)this = cPt; } CPoint::CPoint(const POINT *pPt) { *(POINT *)this = *pPt; } CPoint::CPoint(int32 newx, int32 newy) { x = newx; y = newy...
12.5
64
0.646154
haekb
cbeb69a208df27a9791a92ca6ef289941481aac5
43,268
cpp
C++
tests/RegionT.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
1
2020-01-06T20:56:21.000Z
2020-01-06T20:56:21.000Z
tests/RegionT.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
null
null
null
tests/RegionT.cpp
falkTX/sfizz
7f26b53cb3878065e83f424001be8b2ded3c5306
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2019, Paul Ferrand // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright notice, this // list of conditions an...
42.670611
87
0.601854
falkTX
cbee5f908775a695785f4ecd518fef3de21ef899
345
hpp
C++
test/data/null_lookup_object.hpp
linux-fan-dave/mstch
8a0ac9aa627b0bda5eec568b4e7382eace98feb6
[ "MIT" ]
523
2015-04-24T19:45:54.000Z
2022-03-29T21:19:38.000Z
test/data/null_lookup_object.hpp
linux-fan-dave/mstch
8a0ac9aa627b0bda5eec568b4e7382eace98feb6
[ "MIT" ]
162
2017-03-11T04:32:32.000Z
2020-12-20T06:45:56.000Z
test/data/null_lookup_object.hpp
linux-fan-dave/mstch
8a0ac9aa627b0bda5eec568b4e7382eace98feb6
[ "MIT" ]
103
2015-09-03T11:38:20.000Z
2022-03-14T13:13:44.000Z
const auto null_lookup_object_data = mstch::map{ {"name", std::string{"David"}}, {"twitter", std::string{"@dasilvacontin"}}, {"fobject", mstch::array{ mstch::map{ {"name", std::string{"Flor"}}, {"twitter", std::string{"@florrts"}} }, mstch::map{ {"name", std::string{"Miquel"}}, {"twitter", ...
24.642857
48
0.565217
linux-fan-dave
cbf1ba801bfd2f0e39810fb87b6a609c58db9ee0
84
cc
C++
gcc-gcc-7_3_0-release/gcc/testsuite/g++.dg/ext/interface3/interface3a2.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
llvm-gcc-4.2-2.9/gcc/testsuite/g++.dg/ext/interface3/interface3a2.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/gcc/testsuite/g++.dg/ext/interface3/interface3a2.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// PR c++/26195 extern void f1(); extern void f2(); int main() { f1(); f2(); }
8.4
17
0.511905
best08618
cbf9cd4f1bcfb5c875431ee11913b3d5bffeb0d8
13,376
hpp
C++
include/chain.hpp
jberwald/minorminer
d6e877cdb02b06edac2cc9239cdb5f2ea1d69dc9
[ "Apache-2.0" ]
null
null
null
include/chain.hpp
jberwald/minorminer
d6e877cdb02b06edac2cc9239cdb5f2ea1d69dc9
[ "Apache-2.0" ]
null
null
null
include/chain.hpp
jberwald/minorminer
d6e877cdb02b06edac2cc9239cdb5f2ea1d69dc9
[ "Apache-2.0" ]
null
null
null
#pragma once #include "util.hpp" namespace find_embedding { #ifdef CPPDEBUG #define DIAGNOSE2(other, X) \ diagnostic(X); \ other.diagnostic(X); #define DIAGNOSE(X) diagnostic(X); #else #define DIAGNOSE2(other, X) #define DIAGNOSE(X) #endif //! This class stores chains for embeddings, and performs qu...
32.784314
115
0.555323
jberwald
cbfe544fcda2ff9d08d98cd02e4529f1c1a75224
585
cpp
C++
exercicios/vetores_strings_matrizes/010.cpp
giosouzaa/Exercicios-C
e694330639edd5fb0a5763d799a586d7fccc574d
[ "MIT" ]
null
null
null
exercicios/vetores_strings_matrizes/010.cpp
giosouzaa/Exercicios-C
e694330639edd5fb0a5763d799a586d7fccc574d
[ "MIT" ]
null
null
null
exercicios/vetores_strings_matrizes/010.cpp
giosouzaa/Exercicios-C
e694330639edd5fb0a5763d799a586d7fccc574d
[ "MIT" ]
null
null
null
/* 010 - Mulriplicação de uma matriz por um número Peça ao usuário que insira os elementos de uma matriz 3X3 de números inteiros. Em seguida multiplique a matriz por 2 e apresente o resultado da nova matriz. */ #include<stdio.h> #include<stdlib.h> int main () { int m[3][3],n[3][3],i,j; printf("\nInsira os ele...
17.727273
80
0.579487
giosouzaa
02025d48ebf416648a25881ec086b1b3544555b0
504
cpp
C++
cplusplus/arrays/characterSequence/PSF.cpp
cs-joy/cpp-2a
3c62f582d8b4fe808153d0639c762ccec0c76af6
[ "MIT" ]
1
2022-03-07T16:57:04.000Z
2022-03-07T16:57:04.000Z
cplusplus/arrays/characterSequence/PSF.cpp
cs-joy/cpp-2a
3c62f582d8b4fe808153d0639c762ccec0c76af6
[ "MIT" ]
null
null
null
cplusplus/arrays/characterSequence/PSF.cpp
cs-joy/cpp-2a
3c62f582d8b4fe808153d0639c762ccec0c76af6
[ "MIT" ]
null
null
null
// Passing String to a Function #include <iostream> using namespace std; void display(char *); void display(string); int main() { string rjs; char rzs[100]; cout << "Enter a string: "; getline(cin, rjs); cout << "Enter another string: "; cin.get(rzs, 100); display(rjs); display(rz...
15.75
54
0.585317
cs-joy
020ee1890ade30d9b62ae7fd0b51b17badd6d3a8
5,258
cpp
C++
LargeBarrelAnalysis/TimeCalibTools.cpp
flukson/j-pet-framework-examples
8f50490b5a21013990aff187fc6da87812a5f8e1
[ "Apache-2.0" ]
null
null
null
LargeBarrelAnalysis/TimeCalibTools.cpp
flukson/j-pet-framework-examples
8f50490b5a21013990aff187fc6da87812a5f8e1
[ "Apache-2.0" ]
1
2021-05-31T11:40:56.000Z
2021-05-31T11:40:56.000Z
LargeBarrelAnalysis/TimeCalibTools.cpp
flukson/j-pet-framework-examples
8f50490b5a21013990aff187fc6da87812a5f8e1
[ "Apache-2.0" ]
2
2017-02-15T00:33:18.000Z
2022-03-25T16:48:15.000Z
/** * @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may find a copy of the License in the LICENCE file. * * Unless required by applicable la...
35.288591
224
0.679346
flukson
0213c4e91e29601125ff9a8f71bf9064573b872d
61,218
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/multibooster/multibooster.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/multibooster/multibooster.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/multibooster/multibooster.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
32.084906
174
0.618887
EatAllBugs
0214307d6eb388c8e8e9d5eb591d22cf1f804dea
291
cpp
C++
Baekjoon/1436.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/1436.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/1436.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(void) { int N, cnt = 0, isu = 666; string devil = "666"; cin >> N; while (cnt < N) { string su = to_string(isu); if (su.find(devil) != string::npos) { cnt++; if (cnt == N) cout << su; } isu++; } }
13.857143
37
0.542955
Twinparadox
0216ce71d22e4e8ac5f28f3307344bcfcfc94a5f
8,016
cpp
C++
src/jit_compiler.cpp
sKyrBBit/NoCMake
5155d79c6e32bd6a927c3c912dae39b81fec5ef7
[ "MIT" ]
null
null
null
src/jit_compiler.cpp
sKyrBBit/NoCMake
5155d79c6e32bd6a927c3c912dae39b81fec5ef7
[ "MIT" ]
null
null
null
src/jit_compiler.cpp
sKyrBBit/NoCMake
5155d79c6e32bd6a927c3c912dae39b81fec5ef7
[ "MIT" ]
null
null
null
#include "VirtualMachine.h" #include <dlfcn.h> uint32_t VirtualMachine::jit_compile(vm_function_attribute* attribute) { string jit = string("tmp/"); jit += attribute->name; jit += ".c"; ofstream fout(jit.c_str(), ios::out | ios::trunc); fout << "#include <stdio.h>" << endl << attribute->type.c_str() ...
36.271493
134
0.48977
sKyrBBit
0217e542ab6c9a35eb15ad30488455655de51cbc
531
hpp
C++
include/descriptors.hpp
gantoreno/macfetch
5b3514cf723e5ee60a88b9749daa5cedf63a3a1c
[ "MIT" ]
5
2021-07-28T15:19:58.000Z
2022-03-04T18:48:53.000Z
include/descriptors.hpp
gantoreno/macfetch
5b3514cf723e5ee60a88b9749daa5cedf63a3a1c
[ "MIT" ]
null
null
null
include/descriptors.hpp
gantoreno/macfetch
5b3514cf723e5ee60a88b9749daa5cedf63a3a1c
[ "MIT" ]
1
2021-07-16T21:44:30.000Z
2021-07-16T21:44:30.000Z
#ifndef DESCRIPTORS_HPP #define DESCRIPTORS_HPP #include <string> using std::string; void* os(string& out); void* host(string& out); void* kernel(string& out); void* uptime(string& out); void* packages(string& out); void* shell(string& out); void* resolution(string& out); void* de(string& out); void* terminal(string...
20.423077
33
0.717514
gantoreno
021a7d80bf446ef1dde24297f706abdf544e25f5
498
cpp
C++
codeforces/1042D.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/1042D.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/1042D.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long n, t; scanf("%I64d %I64d", &n, &t); vector<long long> a(n+1, 0); for(int i = 1 ; i <= n; i++){ long long tmp = 0; scanf("%I64d", &tmp); a[i] = a[i-1]+tmp; } long long ans = 0; for (int l = 1; l <= ...
19.153846
36
0.385542
freedomDR
021acfe5dd48c3b60d59e066b7afc5a05efe4176
5,740
cpp
C++
renderdoc/driver/ihv/amd/official/RGP/DevDriverComponents/listener/listenerServer.cpp
gary-sweet/renderdoc
9721150aa9bd4afccaf3649037bc914e6f37ae4e
[ "MIT" ]
20
2020-04-08T18:11:18.000Z
2022-03-29T10:47:30.000Z
renderdoc/driver/ihv/amd/official/RGP/DevDriverComponents/listener/listenerServer.cpp
Acidburn0zzz/renderdoc
6e8218d0e0c1e37c9b203021291b9d37a612fbfc
[ "MIT" ]
3
2020-12-30T05:16:38.000Z
2021-03-05T09:50:41.000Z
renderdoc/driver/ihv/amd/official/RGP/DevDriverComponents/listener/listenerServer.cpp
Acidburn0zzz/renderdoc
6e8218d0e0c1e37c9b203021291b9d37a612fbfc
[ "MIT" ]
8
2020-04-08T18:14:48.000Z
2022-01-29T10:47:54.000Z
/* ******************************************************************************* * * Copyright (c) 2016-2018 Advanced Micro Devices, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
31.195652
119
0.549477
gary-sweet
021d72e8a6c62b422a4cd6d6756411994f38004c
22,354
hpp
C++
include/Core/Math.hpp
DarebacK/DarEngine
045f41a3e955f6e57d83f9308a5501fc444adba2
[ "MIT" ]
null
null
null
include/Core/Math.hpp
DarebacK/DarEngine
045f41a3e955f6e57d83f9308a5501fc444adba2
[ "MIT" ]
null
null
null
include/Core/Math.hpp
DarebacK/DarEngine
045f41a3e955f6e57d83f9308a5501fc444adba2
[ "MIT" ]
null
null
null
#pragma once /** * @brief Left handed coordinate system, row major matrices, row vectors (pre-multiplication). */ #include <algorithm> #include <cmath> #include "Core/Core.hpp" constexpr float Pi = 3.14159265358979323846f; template<typename T> inline T cotan(T degreeInRadians) noexcept { return...
30.706044
134
0.606245
DarebacK
021d9d1b7bc66b58a620b822c9b179393a9df92d
18,088
cpp
C++
source/rtm-3d/src/kernel/RTMFiniteDifferencesKernel.cpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
1
2022-01-26T01:57:38.000Z
2022-01-26T01:57:38.000Z
source/rtm-3d/src/kernel/RTMFiniteDifferencesKernel.cpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
null
null
null
source/rtm-3d/src/kernel/RTMFiniteDifferencesKernel.cpp
liang-xilinx/rtm3d-demo
540d8ce3f53b6675acb11cccd64502c3be369d11
[ "Apache-2.0" ]
null
null
null
#include <cstdlib> #include <cassert> #include <iostream> #include <fstream> #include <RTM.hpp> RTMFiniteDifferencesKernel::RTMFiniteDifferencesKernel(RTMParam &_param, RTMProcessLimits &_pLimits) : RTMDistributedGridKernel{_param, _pLimits} { // create kernel defaultPlatform instance accPlatform = new RTM...
37.683333
166
0.585416
liang-xilinx
0220a166ad92b36bb4141daf25844d00fec736cb
3,533
hpp
C++
src/lk/core.hpp
heshu-by/likelib
76a06b0df7dea5520d5b43e6cf9ef4b9e81dad83
[ "Apache-2.0" ]
1
2020-10-23T19:09:27.000Z
2020-10-23T19:09:27.000Z
src/lk/core.hpp
heshu-by/likelib
76a06b0df7dea5520d5b43e6cf9ef4b9e81dad83
[ "Apache-2.0" ]
null
null
null
src/lk/core.hpp
heshu-by/likelib
76a06b0df7dea5520d5b43e6cf9ef4b9e81dad83
[ "Apache-2.0" ]
1
2020-12-08T11:16:30.000Z
2020-12-08T11:16:30.000Z
#pragma once #include "base/crypto.hpp" #include "base/property_tree.hpp" #include "base/utility.hpp" #include "bc/block.hpp" #include "bc/blockchain.hpp" #include "lk/eth_adapter.hpp" #include "lk/managers.hpp" #include "lk/protocol.hpp" #include "net/host.hpp" #include <shared_mutex> namespace lk { class EthAdapt...
34.300971
107
0.60317
heshu-by
0221884603d9ef9ff9de25ed0b8c8c9217a126c7
3,425
cpp
C++
c2_utils/src/mfx_msdk_debug.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
6
2020-09-22T01:36:58.000Z
2022-03-15T05:33:36.000Z
c2_utils/src/mfx_msdk_debug.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
26
2021-11-01T07:01:04.000Z
2022-03-11T03:02:47.000Z
c2_utils/src/mfx_msdk_debug.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
6
2020-06-12T21:49:48.000Z
2022-01-17T09:32:18.000Z
/********************************************************************************** Copyright (C) 2005-2016 Intel Corporation. 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 sourc...
45.666667
83
0.792117
zhangyichix
0225463c039dabaa92e4563808ada42e62dcf4a5
239,172
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs157.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs157.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs157.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.IDictionary`2<System.String,UnityEngine.InputSystem.Layouts.InputControlLayout/ControlItem> struc...
48.405586
283
0.826978
JBrentJ
02262e22dc80fff5852f90e15630d05fa81c79f5
10,489
cpp
C++
cflib/net/websocketservice.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
cflib/net/websocketservice.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
cflib/net/websocketservice.cpp
fishbach/cflib
fa7a69c5962a73cf822435a67207ffc34badd0d4
[ "MIT" ]
null
null
null
/* Copyright (C) 2013-2022 Christian Fischbach <cf@cflib.de> * * This file is part of cflib. * * Licensed under the MIT License. */ #include "websocketservice.h" #include <cflib/crypt/util.h> #include <cflib/net/request.h> #include <cflib/net/tcpconn.h> #include <cflib/util/evtimer.h> #include <cflib/util/log.h>...
27.103359
106
0.662694
fishbach
022a4d907c4b250cc64598c5c5bc5ddfb27d2750
463
hpp
C++
src/Gui/Interface/SignalsBlocker.hpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
17
2020-08-13T03:23:27.000Z
2022-02-04T00:17:53.000Z
src/Gui/Interface/SignalsBlocker.hpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
2
2021-09-05T21:00:31.000Z
2021-09-12T07:46:53.000Z
src/Gui/Interface/SignalsBlocker.hpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
2
2021-09-08T10:37:34.000Z
2021-09-09T00:35:44.000Z
/* * Copyright (C) 2020 Smirnov Vladimir / mapron1@gmail.com * SPDX-License-Identifier: MIT * See LICENSE file for details. */ #pragma once #include <QSignalBlocker> #include <vector> class QSignalBlocker; namespace FreeHeroes::Gui { class SignalBlocker { std::vector<QSignalBlocker> blockers; public: ...
16.535714
58
0.673866
heroesiiifan
022a975c05a770a3cf7f0dcdd440e8a86ea508b4
108
cpp
C++
example/src/cpp_prod.cpp
nyquist-h/premock
6f6eda64bb84951705b9ffd341852c8540bd1b70
[ "BSL-1.0" ]
34
2016-09-26T12:36:22.000Z
2021-07-11T08:36:17.000Z
example/src/cpp_prod.cpp
nyquist-h/premock
6f6eda64bb84951705b9ffd341852c8540bd1b70
[ "BSL-1.0" ]
10
2016-10-13T18:30:44.000Z
2020-03-30T15:21:48.000Z
example/src/cpp_prod.cpp
nyquist-h/premock
6f6eda64bb84951705b9ffd341852c8540bd1b70
[ "BSL-1.0" ]
7
2017-08-09T14:30:38.000Z
2020-04-24T16:43:20.000Z
#include "cpp_prod.hpp" #include "cpp_other.hpp" int prod_twice(int i, int j) { return twice(i + j); }
15.428571
30
0.657407
nyquist-h
022d88be21d9d8d0a2790e4af1995e0be39636d6
4,044
cpp
C++
test/constructor.cpp
nabijaczleweli/cpp-localiser
9dfd4c59b9fa673f91cc49a6ac1f2e0c09da9485
[ "MIT" ]
null
null
null
test/constructor.cpp
nabijaczleweli/cpp-localiser
9dfd4c59b9fa673f91cc49a6ac1f2e0c09da9485
[ "MIT" ]
null
null
null
test/constructor.cpp
nabijaczleweli/cpp-localiser
9dfd4c59b9fa673f91cc49a6ac1f2e0c09da9485
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2016 nabijaczleweli // 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...
36.432432
138
0.717854
nabijaczleweli
022e2829a5f8a5a14e13bf1f46287d1829133fbe
1,289
hpp
C++
include/ads/util/multi_array/wrapper.hpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
7
2018-01-19T00:19:19.000Z
2021-06-22T00:53:00.000Z
include/ads/util/multi_array/wrapper.hpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
66
2021-06-22T22:44:21.000Z
2022-03-16T15:18:00.000Z
include/ads/util/multi_array/wrapper.hpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
6
2017-04-13T19:42:27.000Z
2022-03-26T18:46:24.000Z
// SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #ifndef ADS_UTIL_MULTI_ARRAY_WRAPPER_HPP #define ADS_UTIL_MULTI_ARRAY_WRAPPER_HPP #include "ads/util/multi_array/base.hpp" #include "ads/util/multi_array/ordering/standard.hpp" namespace ads { template < ...
31.439024
80
0.618309
Pan-Maciek
022fcee922f10508800f7244895735899517fac9
6,651
cpp
C++
Tetris/main/game/field.cpp
byteManiak/ESP32_TV_programs
c1a64b53067e379fb590847f16c1ed11985bef44
[ "MIT" ]
null
null
null
Tetris/main/game/field.cpp
byteManiak/ESP32_TV_programs
c1a64b53067e379fb590847f16c1ed11985bef44
[ "MIT" ]
null
null
null
Tetris/main/game/field.cpp
byteManiak/ESP32_TV_programs
c1a64b53067e379fb590847f16c1ed11985bef44
[ "MIT" ]
null
null
null
/* Author: Mihai Daniel Ivanescu, Coventry University */ #include <game/field.h> #include <memory/alloc.h> #include <util/log.h> #include <util/numeric.h> static const char *TAG = "field"; Field::Field(VGAExtended *vga) : vga{vga} { field = heap_caps_malloc_cast<PieceType*>(MALLOC_CAP_PREFERRED, ROWS); for(int ...
20.719626
121
0.631935
byteManiak
02306e172b72fb55d627b4f01f41141d5e8773c3
5,212
cpp
C++
duds/hardware/devices/instruments/TSL2591.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/devices/instruments/TSL2591.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/devices/instruments/TSL2591.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
/* * This file is part of the DUDS project. It is subject to the BSD-style * license terms in the LICENSE file found in the top-level directory of this * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE. * No part of DUDS, including this file, may be copied, modified, propagated, * or dis...
25.674877
81
0.679969
jjackowski
0231f4e1cc496dd2e62859a7b7062eeaa42e8ae3
2,928
cpp
C++
tests/InstructionUT/ArithAndLogicUT/CmpUT.cpp
KaravolisL/ARM-ISA-Simulator
cc5b927ff40054d912e208a469545089125e6911
[ "MIT" ]
null
null
null
tests/InstructionUT/ArithAndLogicUT/CmpUT.cpp
KaravolisL/ARM-ISA-Simulator
cc5b927ff40054d912e208a469545089125e6911
[ "MIT" ]
81
2020-04-17T21:10:19.000Z
2020-09-11T13:07:06.000Z
tests/InstructionUT/ArithAndLogicUT/CmpUT.cpp
KaravolisL/ARM-ISA-Simulator
cc5b927ff40054d912e208a469545089125e6911
[ "MIT" ]
null
null
null
///////////////////////////////// /// @file CmpUT.cpp /// /// @brief Unit Test for CMPInstruction /// /// @author Luke Karavolis ///////////////////////////////// // SYSTEM INCLUDES // (None) // C PROJECT INCLUDES // (None) // C++ PROJECT INCLUDES #include <catch2/catch.hpp> #include "Process.hpp" #include "Instruct...
36.148148
69
0.694331
KaravolisL
023dc38555deabdd39e5f92c2d82c07359a12b71
57
hpp
C++
src/boost_test_utils_runtime_argument_factory.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_utils_runtime_argument_factory.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_utils_runtime_argument_factory.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/utils/runtime/argument_factory.hpp>
28.5
56
0.824561
miathedev
023f57356cec64a202441dfcf4c80cb6c4e253dc
1,809
cpp
C++
src/header_tags.cpp
Wittmaxi/webcpp
cbd91577bc429401b91293c03322a75202f1ce98
[ "MIT" ]
32
2018-10-22T15:59:55.000Z
2021-06-08T19:32:06.000Z
src/header_tags.cpp
Wittmaxi/webcpp
cbd91577bc429401b91293c03322a75202f1ce98
[ "MIT" ]
null
null
null
src/header_tags.cpp
Wittmaxi/webcpp
cbd91577bc429401b91293c03322a75202f1ce98
[ "MIT" ]
3
2018-10-25T05:39:43.000Z
2019-09-05T00:16:07.000Z
#include "header/basic_tags.hpp" #include "header/output.hpp" namespace WCP { void Head::outputOpening() const { wcpout << "<head> "; } void Head::outputClosing() const { wcpout << "</head>"; } Title::Title() {} Title::Title(WCP::Text arg) { unpacker(arg); } void Title::outputOpening() const { wcpout...
21.795181
135
0.63958
Wittmaxi
0240f1d6915d1f65c9961021e87f8786ccd02aa0
927
cpp
C++
notespp/notespp/status.cpp
Chiburu/notespp
6f8ead96890bf82f2c0c006e31e6050c312a3aa8
[ "MIT" ]
null
null
null
notespp/notespp/status.cpp
Chiburu/notespp
6f8ead96890bf82f2c0c006e31e6050c312a3aa8
[ "MIT" ]
null
null
null
notespp/notespp/status.cpp
Chiburu/notespp
6f8ead96890bf82f2c0c006e31e6050c312a3aa8
[ "MIT" ]
null
null
null
#include "notespp/status.h" #include "notespp/string.h" #if defined(NT) #pragma pack(push, 1) #endif #include <osmisc.h> #include <misc.h> #if defined(NT) #pragma pack(pop) #endif namespace notespp { Status::Status(STATUS status) : value_(status) {} STATUS Status::error() const { return...
15.45
55
0.604099
Chiburu
02468ead0e3967c17e2f8bb3cd332309846eb58a
6,346
cpp
C++
SDKs/CryCode/3.8.1/CryEngine/CryAction/FlowSystem/Nodes/FlowConditionNode.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.8.1/CryEngine/CryAction/FlowSystem/Nodes/FlowConditionNode.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.8.1/CryEngine/CryAction/FlowSystem/Nodes/FlowConditionNode.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
#include "StdAfx.h" #include "FlowConditionNode.h" void CFlowNode_Condition::GetConfiguration( SFlowNodeConfig &config ) { static const SInputPortConfig in_config[] = { InputPortConfig<bool>( "condition", _HELP("Setting this input to TRUE sends the value [value] to the [true] port, otherwise to [false]") ), Input...
29.110092
174
0.712417
amrhead
0247f2ec1ff56df2d2275d31139a2ffbbbfb3cdc
1,749
cpp
C++
Demos/VerveTutorialBase/source/Verve/Extension/ParticleEffect/VParticleEffectToggleEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
1
2021-01-02T09:17:18.000Z
2021-01-02T09:17:18.000Z
Templates/Verve/source/Verve/Extension/ParticleEffect/VParticleEffectToggleEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
null
null
null
Templates/Verve/source/Verve/Extension/ParticleEffect/VParticleEffectToggleEvent.cpp
AnteSim/Verve
22a55d182f86e3d7684fdc52f628ca57837cac8a
[ "MIT" ]
4
2015-05-16T17:35:07.000Z
2021-01-02T09:17:26.000Z
//----------------------------------------------------------------------------- // Verve // Copyright (C) - Violent Tulip //----------------------------------------------------------------------------- #include "Verve/Extension/ParticleEffect/VParticleEffectToggleEvent.h" #include "console/consoleTypes.h" //--------...
33
100
0.449971
AnteSim
024a09e201a6767d6ee64381b95891ca2aed1647
668
cpp
C++
solutions/1040.cpp
likewind1993/codeOfPAT
febf5ff64de9bd4dc4fc5d4ddfa6a5cece7581d8
[ "Apache-2.0" ]
3
2017-02-05T09:45:38.000Z
2019-07-02T11:35:28.000Z
solutions/1040.cpp
likewind1993/codeOfPAT
febf5ff64de9bd4dc4fc5d4ddfa6a5cece7581d8
[ "Apache-2.0" ]
null
null
null
solutions/1040.cpp
likewind1993/codeOfPAT
febf5ff64de9bd4dc4fc5d4ddfa6a5cece7581d8
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #define MAX 10000 int dp[MAX][MAX]; char arr[MAX]; int main() { gets(arr); int max = 1; int len = strlen(arr); for(int i = 0; i<len; i++) { dp[i][i] = 1; if(arr[i] == arr[i+1] && i<len-1) { dp[i][i+1] = 1; max = 2;...
18.555556
53
0.329341
likewind1993
0251e8511c03815217b8202f3bcfb5926086c97a
1,569
cpp
C++
codeforces/B - Mahmoud and a Triangle/Compilation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - Mahmoud and a Triangle/Compilation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - Mahmoud and a Triangle/Compilation error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Mar/22/2017 17:05 * solution_verdict: Compilation error language: GNU C++14 * run...
26.59322
111
0.289994
kzvd4729
0253a47e93f9fedfb12db884622de1b154bc7959
418
hpp
C++
lib/stdutils/stdutils/identifiers.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
8
2018-07-13T07:07:08.000Z
2021-05-18T17:56:59.000Z
lib/stdutils/stdutils/identifiers.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
lib/stdutils/stdutils/identifiers.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
/** * \file stdutils/identifiers.hpp * \brief Structure for generating identifiers * \author Yanis Sellami * \date 2019 */ #ifndef LIB_STANDARD_UTILS__IDENTIFIERS_HPP #define LIB_STANDARD_UTILS__IDENTIFIERS_HPP namespace stdutils { template <typename V> class id_box { V curr; public: ...
18.173913
46
0.662679
sellamiy
025e71919a077603e6a0e4999fb91e2b71d0d466
352
cpp
C++
4 - Vacc book list/4 - Vacc book list.cpp
vergildamyanoff/FirstCodingLabEx
6cd798de560ed2e2751328eca6de9260a621ee7c
[ "MIT" ]
null
null
null
4 - Vacc book list/4 - Vacc book list.cpp
vergildamyanoff/FirstCodingLabEx
6cd798de560ed2e2751328eca6de9260a621ee7c
[ "MIT" ]
null
null
null
4 - Vacc book list/4 - Vacc book list.cpp
vergildamyanoff/FirstCodingLabEx
6cd798de560ed2e2751328eca6de9260a621ee7c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int bookPages; int readedPagesForHour; int daysNeeded; cin >> bookPages >> readedPagesForHour >> daysNeeded; int hoursNeededForBook = bookPages / readedPagesForHour; int hoursEveryDay = hoursNeededForBook / daysNeeded; cout << hoursEv...
19.555556
60
0.696023
vergildamyanoff
02619a04afceaa8fce21411946e6de32e8bc7062
486
cpp
C++
src/ofxRelaysBase.cpp
LYHSH/ofxRelayFactory
ee949af67612dbe67982d74aae6e6eb8bde270b3
[ "MIT" ]
null
null
null
src/ofxRelaysBase.cpp
LYHSH/ofxRelayFactory
ee949af67612dbe67982d74aae6e6eb8bde270b3
[ "MIT" ]
null
null
null
src/ofxRelaysBase.cpp
LYHSH/ofxRelayFactory
ee949af67612dbe67982d74aae6e6eb8bde270b3
[ "MIT" ]
null
null
null
#include "ofxRelaysBase.h" ofxRelaysBase::ofxRelaysBase() { } ofxRelaysBase::~ofxRelaysBase() { } void ofxRelaysBase::setSingleOn(int _id) { vector<int> arrs; arrs.push_back(_id); setSingleOn(arrs); } void ofxRelaysBase::setAddress(unsigned char _addressCode) { address = _addressCode; } unsigned char ofxRelay...
12.789474
58
0.742798
LYHSH
026425e5bf694408934d36889dcfe50e11a829e1
23,744
cpp
C++
artifact/storm/src/storm-parsers/parser/DirectEncodingParser.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm-parsers/parser/DirectEncodingParser.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm-parsers/parser/DirectEncodingParser.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm-parsers/parser/DirectEncodingParser.h" #include <iostream> #include <string> #include <regex> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp> #include "storm/adapters/RationalFunctionAdapter.h" #include "storm/exceptions/AbortException.h" #include "storm/exceptio...
56.668258
217
0.508886
glatteis
02669c3565b71cdfe92d768d4fc7400606e8be47
890
cxx
C++
sphere.cxx
sgumhold/implicit
0832fe7984dd3987724553c4dcd52d89f5633231
[ "BSD-3-Clause" ]
null
null
null
sphere.cxx
sgumhold/implicit
0832fe7984dd3987724553c4dcd52d89f5633231
[ "BSD-3-Clause" ]
1
2020-04-23T19:22:46.000Z
2020-04-23T19:22:46.000Z
sphere.cxx
sgumhold/implicit
0832fe7984dd3987724553c4dcd52d89f5633231
[ "BSD-3-Clause" ]
null
null
null
#include "implicit_primitive.h" template <typename T> struct sphere : public implicit_primitive<T> { bool use_euclidean_distance; sphere() : use_euclidean_distance(true) { gui_color = 0xFF8888; } std::string get_type_name() const { return "sphere"; } /// evaluate the implicit function itself, this must be ove...
25.428571
86
0.697753
sgumhold
0268532eb807825cf61cc0aec17a4c86d00f5a8a
967
hpp
C++
cpp-course/8_puzzle/solver.hpp
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
null
null
null
cpp-course/8_puzzle/solver.hpp
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
null
null
null
cpp-course/8_puzzle/solver.hpp
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
4
2021-02-19T01:08:57.000Z
2021-11-21T14:41:53.000Z
#pragma once #include "board.hpp" #include <unordered_set> #include <functional> struct solver { explicit solver(const board &board); solver(const solver &other); solver &operator=(const solver &other); int moves() const; const __gnu_cxx::__normal_iterator <const board *, std::vector <board, s...
24.175
114
0.660807
Lascor22
026a09fb3f5add620b85a4bea2b579fa5e003e41
6,371
cpp
C++
Source/SupportGLUT/Viewer/Timer.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/Timer.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/Timer.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file Timer.cpp * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See http...
28.190265
79
0.385654
CCSEPBVR
026b3f713fc061a45a1941f18b982a2f59354e9e
2,791
cpp
C++
arm/src/dynamixel_controller.cpp
AvatarQuest/AVA-ros
3e945d859155f559761f47040b1431e0e9ee8da1
[ "MIT" ]
null
null
null
arm/src/dynamixel_controller.cpp
AvatarQuest/AVA-ros
3e945d859155f559761f47040b1431e0e9ee8da1
[ "MIT" ]
null
null
null
arm/src/dynamixel_controller.cpp
AvatarQuest/AVA-ros
3e945d859155f559761f47040b1431e0e9ee8da1
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/String.h" #include "std_msgs/Float64.h" #include "DynamixelHelper.hpp" #include <iostream> #include <sstream> MotorIdentifier elbow1; MotorIdentifier elbow2; MotorIdentifier wrist; MotorIdentifier claw; DynamixelHelper helper; void elbowCallback(const std_msgs::Float64::Const...
31.359551
97
0.667144
AvatarQuest
026da1c4673bb782df370ee1a1a6cbd5d4fcd5cf
2,300
hh
C++
decoders/ClassIPDecoder.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
decoders/ClassIPDecoder.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
decoders/ClassIPDecoder.hh
aalto-speech/wdecoder
096225714558d1f97a5d3f4814408ad4efaa3788
[ "BSD-2-Clause" ]
null
null
null
#ifndef CLASS_INTERPOLATED_DECODER_HH #define CLASS_INTERPOLATED_DECODER_HH #include <array> #include <map> #include <fstream> #include <vector> #include <set> #include "Decoder.hh" #include "Lookahead.hh" #include "defs.hh" #include "Hmm.hh" #include "Ngram.hh" #include "LnaReaderCircular.hh" class ClassIPDecoder ...
30.263158
97
0.671304
aalto-speech
0272661ccd04f5bebf6afccf1d346ee3e096f70b
3,165
cpp
C++
src/Core/External/unsw/unsw/motion/generator/StandGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
3
2018-09-18T18:05:05.000Z
2019-10-23T17:47:07.000Z
src/Core/External/unsw/unsw/motion/generator/StandGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
1
2020-06-08T18:48:32.000Z
2020-06-19T21:41:16.000Z
src/Core/External/unsw/unsw/motion/generator/StandGenerator.cpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
9
2018-09-11T17:19:16.000Z
2019-07-30T16:43:56.000Z
#include "motion/generator/StandGenerator.hpp" #include "motion/generator/ActionGenerator.hpp" #include "utils/angles.hpp" #include "utils/body.hpp" #include "utils/Logger.hpp" using boost::program_options::variables_map; StandGenerator::StandGenerator() : phi(DEG2RAD(0.0f)) { //was 15, using 20 knee bend to pr...
43.958333
108
0.624961
pedrohsreis
0272c6704c3df5abfcb5ffdd86d668089db1e532
9,033
cpp
C++
src/view/ModalitaGioco.cpp
lohathe/monopoliMoralista
8c7df0a01bfb62ba37e81a9a6ecccba4f94b6cf3
[ "MIT" ]
null
null
null
src/view/ModalitaGioco.cpp
lohathe/monopoliMoralista
8c7df0a01bfb62ba37e81a9a6ecccba4f94b6cf3
[ "MIT" ]
null
null
null
src/view/ModalitaGioco.cpp
lohathe/monopoliMoralista
8c7df0a01bfb62ba37e81a9a6ecccba4f94b6cf3
[ "MIT" ]
null
null
null
/* * Copyright (c) 2009-2016 Marco Ziccardi, Luca Bonato * Licensed under the MIT license. */ #include"ModalitaGioco.h" #include<iostream> #include<fstream> #include<QFile> #include<QTextStream> using namespace std; QString string2QString(string); //-------------Metodi di ModalitaGioco----------------------- Modal...
30.72449
250
0.666335
lohathe
0279d665e7992dd7fdd29177c8ff8396eb36bd8d
4,140
cpp
C++
Phoenix/core/EventManager.cpp
everettcaleb/phoenix
be4de983b4d1c44b76e71ec11e934948b9b28617
[ "MIT" ]
null
null
null
Phoenix/core/EventManager.cpp
everettcaleb/phoenix
be4de983b4d1c44b76e71ec11e934948b9b28617
[ "MIT" ]
null
null
null
Phoenix/core/EventManager.cpp
everettcaleb/phoenix
be4de983b4d1c44b76e71ec11e934948b9b28617
[ "MIT" ]
null
null
null
#include "EventManager.h" //======================================================================================================== EventManager::EventManager() { activeQueue_ = 0; firstEvent_[0] = 0; firstEvent_[1] = 0; lastEvent_[0] = 0; lastEvent_[1] = 0; firstNode_ = 0; lastNode_ = 0;...
24.069767
106
0.422222
everettcaleb
0281933fb26a9e879f2526627c25ec9524ab533f
2,990
cpp
C++
fuse/devices/gps.cpp
badbot-v1/motion-controller
560a8dfc19d628a7f474d26d0cbdf0426f683020
[ "Apache-2.0" ]
null
null
null
fuse/devices/gps.cpp
badbot-v1/motion-controller
560a8dfc19d628a7f474d26d0cbdf0426f683020
[ "Apache-2.0" ]
null
null
null
fuse/devices/gps.cpp
badbot-v1/motion-controller
560a8dfc19d628a7f474d26d0cbdf0426f683020
[ "Apache-2.0" ]
null
null
null
#include <yaml-cpp/yaml.h> #include "gps.hpp" #include "shared/system/sysevents.hpp" #include "shared/utils/sharedstrings.hpp" #define CONFIG_SECTION_NAME "sensors_gps" GpsSensor::GpsSensor() :SensorBase("GpsSensor") { } GpsSensor::~GpsSensor() { } void GpsSensor::thread_proc() { while(_keep_running...
25.338983
96
0.565552
badbot-v1
0283139e17444d46dc112c2f7716249fc1b119a1
1,892
hpp
C++
trunk/src/mcore/mconf.hpp
almondyoung/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
141
2015-01-07T15:54:55.000Z
2021-09-21T13:56:30.000Z
trunk/src/mcore/mconf.hpp
mol310/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
5
2015-03-02T09:22:26.000Z
2018-10-18T08:13:50.000Z
trunk/src/mcore/mconf.hpp
mol310/Bull-Live-Server
b2ad5ad0968318c2821f63adedbc83286a6d7c22
[ "BSD-2-Clause" ]
84
2015-01-15T07:04:25.000Z
2020-08-09T16:14:58.000Z
/* * Copyright (C) wenjie.zhao */ #ifndef MCONFPARSER_HPP #define MCONFPARSER_HPP #include <vector> #include "mstring.hpp" #include "mstringlist.hpp" enum MEE_TYPE { UNKNOWN = -1, LINE = 0, BLOCK_START, BLOCK_END, Comment }; // MEE Element class MEE { public: ...
22
94
0.630021
almondyoung
02840e87f0dcf599f59eb9f53f1a312bb4f121c4
3,471
hpp
C++
Kernel/include/generic_interrupt_dispatcher.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/generic_interrupt_dispatcher.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/generic_interrupt_dispatcher.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#ifndef FLAPJACKOS_KERNEL_INCLUDE_GENERIC_INTERRUPT_DISPATCHER_HPP #define FLAPJACKOS_KERNEL_INCLUDE_GENERIC_INTERRUPT_DISPATCHER_HPP #include <common/shared_pointer.hpp> #include <common/lock_guard.hpp> #include <common/interrupt_lock.hpp> #include <panic.h> #include <cstddef> #include "generic_interrupt_handler.hpp"...
33.699029
90
0.715644
foxostro
02857328ec279bc19e8c670127787caf35a96a0d
1,900
hpp
C++
src/platform/linux/include/platform/type.hpp
KNpTrue/shome-common
ebb032344ad485fe763000dcf8ff600361b2fcbc
[ "MIT" ]
2
2020-03-11T13:51:48.000Z
2020-03-11T13:52:47.000Z
src/platform/linux/include/platform/type.hpp
KNpTrue/common
ebb032344ad485fe763000dcf8ff600361b2fcbc
[ "MIT" ]
null
null
null
src/platform/linux/include/platform/type.hpp
KNpTrue/common
ebb032344ad485fe763000dcf8ff600361b2fcbc
[ "MIT" ]
null
null
null
/** * Copyright (c) 2020 KNpTrue * * 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, publish, d...
36.538462
81
0.708421
KNpTrue
02857d8cdd117fef29e1c96d86592e2f7472bea3
3,482
hpp
C++
include/UnityEngine/SetupCoroutine.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/SetupCoroutine.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/UnityEngine/SetupCoroutine.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/typedefs-string....
49.742857
190
0.744687
v0idp
028ede6f98f3b730ce72a5347fce2659e2b2e333
515
hpp
C++
common/CNetProtocol.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
common/CNetProtocol.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
common/CNetProtocol.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <QDataStream> #include "common/NTypes.hpp" namespace NNet { class CNetProtocol { public: enum class ANSVER { IMAGE_ID = 0, BUFFER_SIZE = 1, CONFIG = 2, CODE_PARSE_FAIL = 3, BUFFER_INDEX_OUT_OF_RANGE = 4, BUFFER_EMPTY = 5, MAT_NULL_...
15.147059
38
0.568932
ymuv
029177ea4d19fe1c287189e8ccaafa2ff4655072
3,713
cpp
C++
tools/wikiParser/wikic.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
5
2021-01-15T16:59:59.000Z
2022-02-28T15:41:00.000Z
tools/wikiParser/wikic.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
null
null
null
tools/wikiParser/wikic.cpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
1
2021-06-22T04:53:38.000Z
2021-06-22T04:53:38.000Z
// // Created by Blum Thomas on 2020-09-01. // #include <fstream> #include <iostream> #include "gflags/gflags.h" #include "wikiParser/WikiParser.hpp" DEFINE_string(in, "" , "Wiki file"); static bool ValidateReadable(const char *flagname, const std::string &value) { std::ifstream in(value); return in.good(); ...
35.701923
210
0.51387
josefschmeisser
0295e635df3f4faedd11d0c179c665fa5c34d4d6
6,001
cpp
C++
omni_driver/src/omniethernet.cpp
jdrew1303/ros_geomagic_touch_phantom_omni
fada3eae2d6249112b9566ff43dfd6144ea0a959
[ "MIT" ]
9
2020-11-13T06:49:50.000Z
2022-03-03T22:35:04.000Z
omni_driver/src/omniethernet.cpp
jdrew1303/ros_geomagic_touch_phantom_omni
fada3eae2d6249112b9566ff43dfd6144ea0a959
[ "MIT" ]
7
2021-05-22T19:32:29.000Z
2021-12-10T03:59:05.000Z
omni_driver/src/omniethernet.cpp
jdrew1303/ros_geomagic_touch_phantom_omni
fada3eae2d6249112b9566ff43dfd6144ea0a959
[ "MIT" ]
4
2021-03-19T02:30:29.000Z
2022-03-03T22:35:12.000Z
#include "../include/omniethernet.h" int OmniEthernet::calibrationStyle = 0; OmniEthernet::OmniEthernet(const std::string &name, const std::string &path_urdf, const std::string &path_srdf) : OmniBase(name, path_urdf, path_srdf) { this->resetTorque(); } OmniEthernet::~OmniEthernet() { this->disconnect(); ...
31.584211
113
0.63856
jdrew1303
029be09f9206121864bf68312ee17ed85e817dec
1,630
hpp
C++
src/server/Server.hpp
LesGameDevToolsMagique/MagiqueMessenger
66c502b9b97f0a8761114f7b601216005a73e907
[ "MIT" ]
null
null
null
src/server/Server.hpp
LesGameDevToolsMagique/MagiqueMessenger
66c502b9b97f0a8761114f7b601216005a73e907
[ "MIT" ]
null
null
null
src/server/Server.hpp
LesGameDevToolsMagique/MagiqueMessenger
66c502b9b97f0a8761114f7b601216005a73e907
[ "MIT" ]
null
null
null
// // Created by Jean-Antoine Dupont on 07/04/2016. // #ifndef __SERVER_HPP__ #define __SERVER_HPP__ #include "../interfaces/IServer.hpp" class Server : public IServer { public: Server(const std::string &ip_address, const unsigned int port = 12321); virtual ~Serve...
38.809524
117
0.482822
LesGameDevToolsMagique
02a0a50a92667220b3d7a770e30a3f49f391efae
84
cpp
C++
tests/nostdlib/SinkCommonCodeFromPredecessors/test2.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
tests/nostdlib/SinkCommonCodeFromPredecessors/test2.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
tests/nostdlib/SinkCommonCodeFromPredecessors/test2.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
int external_1(int x) { return ++x; } int external_2(int x) { return ++x; }
9.333333
21
0.571429
TomWeaver18
02a67f331541e8b52b3a4ddd7074846ad2f25289
3,385
cpp
C++
src/LicenceDialog.cpp
Erwan28250/GameSorting
4c591ed90a974b9e9627d2112b008cb77346848e
[ "MIT" ]
1
2021-02-14T08:57:28.000Z
2021-02-14T08:57:28.000Z
src/LicenceDialog.cpp
Erwan28250/GameSorting
4c591ed90a974b9e9627d2112b008cb77346848e
[ "MIT" ]
null
null
null
src/LicenceDialog.cpp
Erwan28250/GameSorting
4c591ed90a974b9e9627d2112b008cb77346848e
[ "MIT" ]
null
null
null
/* * MIT Licence * * This file is part of the GameSorting * * Copyright © 2021 Erwan Saclier de la Bâtie * * 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...
49.779412
170
0.725554
Erwan28250
02ad50c37aa02a431969565344e97a275890efe0
5,663
cpp
C++
src/core/detector/Detector.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
src/core/detector/Detector.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
src/core/detector/Detector.cpp
simonspa/corryvreckan
ffa5d1f7a47341ab6eb1b6208c9e0c472a58f436
[ "MIT" ]
null
null
null
/** @file * @brief Implementation of the detector model * @copyright Copyright (c) 2017-2022 CERN and the Corryvreckan authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges and immunities...
31.814607
122
0.673495
simonspa
02afafd78feb886f1d809d304bccc646af61e505
4,343
cpp
C++
dispatcher/main.cpp
lcmonteiro/space-helper
6147a8befd25b764e23113505d446db98900b2cb
[ "MIT" ]
null
null
null
dispatcher/main.cpp
lcmonteiro/space-helper
6147a8befd25b764e23113505d446db98900b2cb
[ "MIT" ]
null
null
null
dispatcher/main.cpp
lcmonteiro/space-helper
6147a8befd25b764e23113505d446db98900b2cb
[ "MIT" ]
null
null
null
/** * ------------------------------------------------------------------------------------------------ * File: main.cpp * Author: Luis Monteiro * * Created on February 3, 2020, 22:11 PM * ------------------------------------------------------------------------------------------------ ** * std */ #include <me...
30.159722
99
0.313608
lcmonteiro
02b43a20f8bd708b9889b3c8a31f595437efdd3a
459
cpp
C++
leetcode/528. Random Pick with Weight/s3.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/528. Random Pick with Weight/s3.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/528. Random Pick with Weight/s3.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/random-pick-with-weight/ // Author: github.com/lzl124631x // Time: // Solution: O(W) // pickIndex: O(log(W)) // Space: O(W) class Solution { private: vector<int> sums; public: Solution(vector<int> w): sums(w) { partial_sum(sums.begin(), sums.end(), sums.beg...
25.5
90
0.588235
zhuohuwu0603
02b5574a077811b6fb9524f387da6d50d69c5982
3,285
cpp
C++
TopCoderSRM/SRM670/Bracket107.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM670/Bracket107.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM670/Bracket107.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <bitset> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cm...
20.277778
86
0.545814
zombiecry
02b59c94fd22a60c2885d8cc5a90837dd6b79bf6
350
cpp
C++
p414/p414.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p414/p414.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p414/p414.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: int thirdMax(vector<int>& nums) { set<int> s; for (int i = 0; i < nums.size(); ++i) s.insert(nums[i]); set<int>::reverse_iterator rit = s.rbegin(); if (s.size() < 3) return *rit; ++rit; ++rit; ...
20.588235
52
0.411429
suzyz
02baa0511ad8f4c7fd2c2db4f7f1efc397e42e34
1,037
cpp
C++
SPOJ/SPOJ - NAJPWG/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
SPOJ/SPOJ - NAJPWG/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
SPOJ/SPOJ - NAJPWG/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2019-02-26 21:03:58 * solution_verdict: Accepted language: C++ * run...
30.5
111
0.362584
kzvd4729
02c01b63d0835df107800caef2f8d29d7a93bab3
9,556
cpp
C++
lib/Parser/NamespaceParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
lib/Parser/NamespaceParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
lib/Parser/NamespaceParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#include <locic/AST.hpp> #include <locic/Frontend/Diagnostics.hpp> #include <locic/Parser/FunctionParser.hpp> #include <locic/Parser/NamespaceBuilder.hpp> #include <locic/Parser/NamespaceParser.hpp> #include <locic/Parser/PredicateParser.hpp> #include <locic/Parser/TemplateInfo.hpp> #include <locic/Parser/TemplateParse...
30.825806
91
0.655714
scross99
02c14fa91ad897a13bc5e3aaf8cd082f1179d383
12,876
cpp
C++
GpuRamDrive/GpuRamGui.cpp
TotalCaesar659/GpuRamDrive
4e853528ea74edc85dca0ece6db93cf8375c4b99
[ "MIT" ]
null
null
null
GpuRamDrive/GpuRamGui.cpp
TotalCaesar659/GpuRamDrive
4e853528ea74edc85dca0ece6db93cf8375c4b99
[ "MIT" ]
null
null
null
GpuRamDrive/GpuRamGui.cpp
TotalCaesar659/GpuRamDrive
4e853528ea74edc85dca0ece6db93cf8375c4b99
[ "MIT" ]
null
null
null
/* GpuRamDrive proxy for ImDisk Virtual Disk Driver. Copyright (C) 2016 Syahmi Azhar. 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...
31.101449
176
0.704567
TotalCaesar659
02c2e3f422970e1ba3f492d09d18c319db64165e
4,815
hpp
C++
libs/boost_1_72_0/boost/locale/boundary/facets.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/boundary/facets.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/boundary/facets.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // 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) // #ifndef BOOST_LOCALE_BOUNDARY_FACETS_HPP_INCLUDED #define BOOST_LOCALE_BOUNDARY_FACETS_HPP_INCLUDED ...
25.887097
80
0.685981
henrywarhurst
02c2f05d223676d41545005d0136a51576b6ea30
2,300
hpp
C++
include/UnityEngine/Experimental/Animations/IAnimationWindowPreview.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Experimental/Animations/IAnimationWindowPreview.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Experimental/Animations/IAnimationWindowPreview.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin forward declares // Forward declaring namespace: UnityEngi...
53.488372
270
0.754348
Fernthedev
02c6ff7e67b88bd24750c48306b49d0c04484157
566
hpp
C++
src/grid/physblock.hpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
1
2021-12-01T22:12:56.000Z
2021-12-01T22:12:56.000Z
src/grid/physblock.hpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
src/grid/physblock.hpp
vanreeslab/murphy
01c9c56171fcee33cb3c1c93c25617ccf7b8ff83
[ "BSD-3-Clause" ]
null
null
null
#ifndef SRC_PHYSBLOCK_HPP_ #define SRC_PHYSBLOCK_HPP_ #include "core/macros.hpp" #include "core/types.hpp" #include "ghostblock.hpp" /** * @brief Physical block: a @ref SubBlock that will be used to apply a physical boundary condition * */ class PhysBlock : public GhostBlock { protected: const iface_t ifac...
23.583333
98
0.706714
vanreeslab
02c878735035cd5baee5ba3989244690834899a5
3,239
hh
C++
src/linac/rfgap/SuperFishFieldSource.hh
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
1
2018-03-02T13:42:16.000Z
2018-03-02T13:42:16.000Z
src/linac/rfgap/SuperFishFieldSource.hh
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
null
null
null
src/linac/rfgap/SuperFishFieldSource.hh
elisabethrenner/py-orbit
02ccfc291157218d40450f7c75302ab93fecb69e
[ "MIT" ]
2
2019-05-16T09:34:04.000Z
2019-10-07T11:37:05.000Z
/** This class is a source of the electric and magnetic fields in the RF cavity. The field has axial symmetry and generated by the SuperFish code. This class is a subclass of the BaseFieldSource class from OrbitUtils. The class can represent several RF gaps. */ #ifndef SUPER_FISH_RF_FIELD_SOURCE_H #define SU...
23.302158
86
0.69188
elisabethrenner
c49b2c9e90b6752592fb3072fd546b8fa97124fe
3,258
cpp
C++
examples/UrlEncodingBenchmark/url_coding.cpp
brewmanz/AceCommon
69079d47e4834a4a3b36327b4054b16acdf16985
[ "MIT" ]
15
2020-11-02T19:04:03.000Z
2022-02-03T19:49:35.000Z
examples/UrlEncodingBenchmark/url_coding.cpp
brewmanz/AceCommon
69079d47e4834a4a3b36327b4054b16acdf16985
[ "MIT" ]
5
2021-02-09T23:45:04.000Z
2022-01-24T02:59:44.000Z
examples/UrlEncodingBenchmark/url_coding.cpp
brewmanz/AceCommon
69079d47e4834a4a3b36327b4054b16acdf16985
[ "MIT" ]
3
2021-02-04T15:03:31.000Z
2022-01-11T22:42:41.000Z
/* From https://github.com/zenmanenergy/ESP8266-Arduino-Examples/blob/master/helloWorld_urlencoded/urlencode.ino From https://github.com/TwilioDevEd/twilio_esp8266_arduino_example Modified by Brian T. Park 2020 to compare the runtime of these routines to the AceUtils UrlEncoding utilities which use the PrintStr utili...
22.163265
109
0.498158
brewmanz
c4b2a709a889e7df756d8cc9911c693d5c1da7eb
570
cc
C++
src/core/ev_loop.cc
AraragiHokuto/Izumo
73a313023f20d547a854b20a0dc65255bde2b1a8
[ "MIT" ]
null
null
null
src/core/ev_loop.cc
AraragiHokuto/Izumo
73a313023f20d547a854b20a0dc65255bde2b1a8
[ "MIT" ]
null
null
null
src/core/ev_loop.cc
AraragiHokuto/Izumo
73a313023f20d547a854b20a0dc65255bde2b1a8
[ "MIT" ]
null
null
null
#include <core/ev_loop.hh> #include <core/exception.hh> #include <core/clock.hh> #include <sys/epoll.h> #include <errno.h> #include <unistd.h> #include <vector> #include <queue> #include <cassert> #include <buildconfig.h> #include "ev_loop.in.cc" IMPL_MAP_DEF; namespace izumo::core { void ev_loop::run_forev...
16.285714
60
0.680702
AraragiHokuto
c4b479f0a0ee4de18243cd77835e2a9b9bdbc578
1,557
cpp
C++
practice/stoneDivisionRevisited.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
practice/stoneDivisionRevisited.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
practice/stoneDivisionRevisited.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (int i = a; i <= b ; ++i) #define ford(i,a,b) for(int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define ll long long #define MAXN 100001 #define rnd mt19937_64 rng(chrono::high_resolution_clock::now().time_s...
20.486842
98
0.497752
xenowits
c4bb27de4a400382b7501034c2e2ae68ab8c9f05
25,751
cpp
C++
fireworks/skyrocket.cpp
fullrange-interactive/pmw-modules
e6b676bd5b22cb3fea821b7f1436b2bab6d80f94
[ "MIT" ]
null
null
null
fireworks/skyrocket.cpp
fullrange-interactive/pmw-modules
e6b676bd5b22cb3fea821b7f1436b2bab6d80f94
[ "MIT" ]
null
null
null
fireworks/skyrocket.cpp
fullrange-interactive/pmw-modules
e6b676bd5b22cb3fea821b7f1436b2bab6d80f94
[ "MIT" ]
1
2021-09-15T08:00:13.000Z
2021-09-15T08:00:13.000Z
/* * Copyright (C) 2002 Terence M. Welsh * Ported to Linux by Tugrul Galatali <tugrul@galatali.com> * * Skyrocket is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Skyrocket is distribute...
29.838934
120
0.481146
fullrange-interactive
c4bb2c07cd28f2325252935cd7573e2d86ed3ef2
2,144
hpp
C++
klofi/include/keyboard_optimizer/serializer_detail.hpp
RudenkoRNK/keyboard_optimizer
016d228a448001493e2b27ca8ad342d9e2ff0e21
[ "MIT" ]
null
null
null
klofi/include/keyboard_optimizer/serializer_detail.hpp
RudenkoRNK/keyboard_optimizer
016d228a448001493e2b27ca8ad342d9e2ff0e21
[ "MIT" ]
null
null
null
klofi/include/keyboard_optimizer/serializer_detail.hpp
RudenkoRNK/keyboard_optimizer
016d228a448001493e2b27ca8ad342d9e2ff0e21
[ "MIT" ]
null
null
null
#pragma once #define TOML11_USE_UNRELEASED_TOML_FEATURES #define TOML11_COLORIZE_ERROR_MESSAGE #include "keyboard_optimizer/invalid_user_input.hpp" #include "keyboard_optimizer/keyboard.hpp" #include <toml.hpp> namespace toml { template <> struct into<std::optional<uint32_t>> { static value into_toml(std::optional...
26.469136
74
0.661847
RudenkoRNK
c4bf31db8aa5698388ba389de7fe9d1a7697e4a7
691
cc
C++
music/no_midi.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
292
2015-01-04T20:33:57.000Z
2022-03-21T21:36:25.000Z
music/no_midi.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
32
2018-01-31T11:11:16.000Z
2022-03-03T14:37:58.000Z
music/no_midi.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
126
2015-01-05T10:27:14.000Z
2022-03-05T14:08:50.000Z
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include "music.h" // Dummy midi routines - only provide interface, does nothing /** * sets midi playback volume */ void dr_set_midi_volume(int) { } /** * Loads a MIDI file */ int dr_load_midi(const char *) { ...
10.313433
73
0.65123
BradenButler
c4cb5d7df83a13f4d29c39f567fef58c69931210
819
cpp
C++
bai_tap_chuong_4_bai_1/main.cpp
thuanpham2311/ky_thuat_lap_trinh
764bcb383d1c4ec1f61d7f9b264a8028cbba7fe9
[ "Unlicense" ]
null
null
null
bai_tap_chuong_4_bai_1/main.cpp
thuanpham2311/ky_thuat_lap_trinh
764bcb383d1c4ec1f61d7f9b264a8028cbba7fe9
[ "Unlicense" ]
null
null
null
bai_tap_chuong_4_bai_1/main.cpp
thuanpham2311/ky_thuat_lap_trinh
764bcb383d1c4ec1f61d7f9b264a8028cbba7fe9
[ "Unlicense" ]
null
null
null
// 1) Cho một dãy số nguyên.: // – Tìm giá trị của phần tử lớn nhất trong dãy số. // – Tìm vị trí đầu tiên của phần tử nhỏ nhất trong dãy số. // – Tính tổng các phần tử là số hoàn thiện trong dãy số. // – Tìm vị trí đầu tiên của phần tử dương trong dãy số. #include "header.h" int main() { DaySo array; nhapDaySo(...
28.241379
65
0.650794
thuanpham2311
c4ce0da16d4066e98a866a6223a74b6f146e6ac3
24,008
cpp
C++
Experiences/Programming/C++/DataStructureAndAlgorithm/Link Puzzle Game Template/main.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
2
2021-05-03T18:25:02.000Z
2021-07-14T14:06:19.000Z
Experiences/Programming/C++/DataStructureAndAlgorithm/Link Puzzle Game Template/main.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
null
null
null
Experiences/Programming/C++/DataStructureAndAlgorithm/Link Puzzle Game Template/main.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
null
null
null
#include <iostream> #include <ctime> #include "windows.h" #include <cmath> #include <limits> #include <vector> #include "conio_yp.h" #include <string> #include "highscore.h" using namespace std; enum DIRECTION { NORTH = 0, EAST, SOUTH, WEST, NONE, TOTAL_DIRECTION }; enum GRID_TYPE { SOURCE = 0, TARGET, EMPT...
19.345689
162
0.586596
FJinn
c4d280c29b0a2fec37e3deb5878db56dfa5976d9
4,757
cc
C++
arcane/src/arcane/mesh/CommonItemGroupFilterer.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/mesh/CommonItemGroupFilterer.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/mesh/CommonItemGroupFilterer.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
34.471014
86
0.479083
JeromeDuboisPro
c4d2cc3a8465b2563d0dac43488a9e60fd8597ce
514
hpp
C++
DisplayConfig.hpp
allexks/smart-lock
f70cc5b86cfd00120c88d7d41d3e204580a4e468
[ "MIT" ]
5
2021-04-21T04:48:04.000Z
2021-07-16T02:25:01.000Z
DisplayConfig.hpp
allexks/smart-lock
f70cc5b86cfd00120c88d7d41d3e204580a4e468
[ "MIT" ]
2
2021-04-26T05:39:32.000Z
2021-05-26T21:19:18.000Z
DisplayConfig.hpp
allexks/smart-lock
f70cc5b86cfd00120c88d7d41d3e204580a4e468
[ "MIT" ]
2
2021-06-10T14:53:55.000Z
2021-06-10T17:19:42.000Z
#ifndef __DISPLAYCONFIG__HPP__ #define __DISPLAYCONFIG__HPP__ #include "Display.hpp" class DisplayConfig { public: static void displayTemperatureAndHumidity(Display& display, int temperature, int humidity); static void displayAdminKeyMessage(Display& display); static void displayNewKeyAuthMessage(Display& disp...
30.235294
93
0.819066
allexks
c4db05d33d68bec19933943668be55d6c3f50120
988
cpp
C++
1091-shortest-path-in-binary-matrix/1091-shortest-path-in-binary-matrix.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1091-shortest-path-in-binary-matrix/1091-shortest-path-in-binary-matrix.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
1091-shortest-path-in-binary-matrix/1091-shortest-path-in-binary-matrix.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { struct state { int x,y; }; public: int dist[100][100]; int shortestPathBinaryMatrix(vector<vector<int>>& grid) { int dx[8] = { 1, 0, -1, 0, -1, 1, -1, 1 }; int dy[8] = { 0, 1, 0, -1, -1, -1, 1, 1 }; int N = grid.size(); if(grid[0][0] == 1 || grid[N-1][N-1] ==...
34.068966
78
0.361336
SouvikChan