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
cf608bec139d8ca2f0bb8a828a1b05ab3f822182
1,903
cpp
C++
vnpy/api/xtp/pyscript/td/xtp_td_wrap.cpp
tanzedan/vnpy
16c616ece1597a5766bf2fb3529f5789958330b6
[ "MIT" ]
4
2018-04-05T15:35:02.000Z
2022-01-04T11:23:19.000Z
vnpy/api/xtp/pyscript/td/xtp_td_wrap.cpp
motw2014/vnpy
16c616ece1597a5766bf2fb3529f5789958330b6
[ "MIT" ]
null
null
null
vnpy/api/xtp/pyscript/td/xtp_td_wrap.cpp
motw2014/vnpy
16c616ece1597a5766bf2fb3529f5789958330b6
[ "MIT" ]
1
2019-03-17T14:36:08.000Z
2019-03-17T14:36:08.000Z
virtual void onDisconnected() { try { this->get_override("onDisconnected")(); } catch (error_already_set const &) { PyErr_Print(); } }; virtual void onError(dict data) { try { this->get_override("onError")(data); } catch (error_already_set const &) { ...
17.458716
70
0.575933
tanzedan
cf64d57c0d7e1d8d50f24da7f252d8716a7050ad
729
cpp
C++
ares/msx/cartridge/board/super-lode-runner.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/msx/cartridge/board/super-lode-runner.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/msx/cartridge/board/super-lode-runner.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
//Super Lode Runner //(not working: requires MSX BASIC) struct SuperLodeRunner : Interface { using Interface::Interface; Memory::Readable<n8> rom; auto load() -> void override { Interface::load(rom, "program.rom"); } auto save() -> void override { } auto unload() -> void override { } auto rea...
19.702703
90
0.611797
CasualPokePlayer
cf6948ccff79c9e64eb5f1ed40341ca8d67abcf0
1,960
cpp
C++
src/App.cpp
bubba169/moja-game
f99f353f6f8d45e2af26b1a505eb08121164823b
[ "Apache-2.0" ]
null
null
null
src/App.cpp
bubba169/moja-game
f99f353f6f8d45e2af26b1a505eb08121164823b
[ "Apache-2.0" ]
null
null
null
src/App.cpp
bubba169/moja-game
f99f353f6f8d45e2af26b1a505eb08121164823b
[ "Apache-2.0" ]
null
null
null
#include <Mojagame.h> App::App( AppConfig* config ) : _config(config) { _grapevine = new Grapevine(); _platform = new Platform(); _scene = new Scene(); App::_current = this; } App::~App() { delete _platform; delete _grapevine; delete _scene; } App* App::_current; App* App::current() { ...
18.666667
64
0.612755
bubba169
cf6a6a6d9bf04a7fc286aab8c0200cd082c7d3b6
1,701
cpp
C++
Scripts/GameLoop/LoopStateWin.cpp
solidajenjo/Engine
409516f15e0f083e79b749b9c9184f2f04184325
[ "MIT" ]
10
2019-02-25T11:36:23.000Z
2021-11-03T22:51:30.000Z
Scripts/GameLoop/LoopStateWin.cpp
solidajenjo/Engine
409516f15e0f083e79b749b9c9184f2f04184325
[ "MIT" ]
146
2019-02-05T13:57:33.000Z
2019-11-07T16:21:31.000Z
Scripts/GameLoop/LoopStateWin.cpp
FractalPuppy/Engine
409516f15e0f083e79b749b9c9184f2f04184325
[ "MIT" ]
3
2019-11-17T20:49:12.000Z
2020-04-19T17:28:28.000Z
#include "LoopStateWin.h" #include "Application.h" #include "ModuleTime.h" #include "ModuleScene.h" #include "ModuleInput.h" #include "ComponentAudioSource.h" #include "ComponentImage.h" #include "GameLoop.h" #include "GameObject.h" #define MENU_SCENE "MenuScene" LoopStateWin::LoopStateWin(GameLoop* GL) : LoopStat...
21
110
0.703704
solidajenjo
cf6cd1a0c64297f7bbb38e71b6df9c875e1d7b5b
560
cpp
C++
LittleBearDllNew/function/MessageBoxProc.cpp
satadriver/LittleBear
ad3939f971b1c3ac4a97d2c228e52b4eb1f388e5
[ "Apache-2.0" ]
null
null
null
LittleBearDllNew/function/MessageBoxProc.cpp
satadriver/LittleBear
ad3939f971b1c3ac4a97d2c228e52b4eb1f388e5
[ "Apache-2.0" ]
null
null
null
LittleBearDllNew/function/MessageBoxProc.cpp
satadriver/LittleBear
ad3939f971b1c3ac4a97d2c228e52b4eb1f388e5
[ "Apache-2.0" ]
null
null
null
#include <windows.h> #include "../network/NetWorkData.h" int __stdcall MessageBoxProc(char * msgparam){ char * param = msgparam; int caplen = *(int*)param; param += sizeof(int); char *szcap = new char[caplen + 4]; memset(szcap,0,caplen + 4); memmove(szcap,param,caplen); param += caplen; int textlen = *(...
17.5
46
0.675
satadriver
cf71987536faba6b3dffd0ab446b58c52cd5bbd1
244
cpp
C++
contests/UnBalloon/2-maratona/c-complexo-demais/complexo_demais.cpp
XatubaPox/programming-competitive
f5fe512266de7109f45259a82a74035ed19d9474
[ "MIT" ]
1
2022-01-25T13:11:45.000Z
2022-01-25T13:11:45.000Z
contests/UnBalloon/2-maratona/c-complexo-demais/complexo_demais.cpp
XatubaPox/programming-competitive
f5fe512266de7109f45259a82a74035ed19d9474
[ "MIT" ]
null
null
null
contests/UnBalloon/2-maratona/c-complexo-demais/complexo_demais.cpp
XatubaPox/programming-competitive
f5fe512266de7109f45259a82a74035ed19d9474
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main (){ int a, b, c, d, com1, com2; cin >> a >> b >> c >> d; com1 = (a * c) - (b * d); com2 = (a * d) + (b * c); printf("(%i) + (%ii)\n", com1, com2); return 0; }
14.352941
41
0.422131
XatubaPox
cf79c6deb54ab67715ce12a04a4e39c542afc31f
17,493
cc
C++
src/oxli/assembler.cc
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
558
2015-05-22T15:03:21.000Z
2022-03-23T04:49:17.000Z
src/oxli/assembler.cc
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
1,057
2015-05-14T20:27:04.000Z
2022-03-08T09:29:36.000Z
src/oxli/assembler.cc
sadeepdarshana/khmer
bee54c4f579611d970c59367323d31d3545cafa6
[ "CNRI-Python" ]
193
2015-05-18T10:13:34.000Z
2021-12-10T11:58:01.000Z
/* This file is part of khmer, https://github.com/dib-lab/khmer/, and is Copyright (C) 2015-2016, The Regents of the University of California. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source ...
32.758427
99
0.63231
sadeepdarshana
cf79d84525dbac544bc9cf6a6930997cbb1ab8a6
9,972
hpp
C++
src/imgui/imgui_impl_dx11_shaders.hpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
13
2019-03-25T09:40:12.000Z
2022-03-13T16:12:39.000Z
src/imgui/imgui_impl_dx11_shaders.hpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
110
2018-10-16T09:05:43.000Z
2022-03-16T23:32:28.000Z
src/imgui/imgui_impl_dx11_shaders.hpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
1
2020-02-06T20:32:50.000Z
2020-02-06T20:32:50.000Z
constexpr inline static unsigned char imgui_impl_dx11_vs_shader[] = {68, 88, 66, 67, 193, 41, 206, 126, 110, 128, 143, 52, 233, 167, 187, 47, 111, 86, 223, 148, 1, 0, 0, 0, 80, 4, 0, 0, 6, 0, 0, 0, 56, 0, 0, 0, 24, 1, 0, 0, 32, 2, 0, 0, 156, 2, 0, 0,...
74.977444
78
0.286502
SleepKiller
cf7d1141ef88a7242dd538b4f82daa4596954eb6
607
cpp
C++
98.validate-binary-search-tree.159689697.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
98.validate-binary-search-tree.159689697.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
98.validate-binary-search-tree.159689697.ac.cpp
blossom2017/Leetcode
8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: bool isValid(TreeNode * root, TreeNode * &prev) { if(!root)return true; if(...
23.346154
59
0.560132
blossom2017
cf7dc474ebd427220acf680c83be738994184d17
3,920
cpp
C++
hi_dsp_library/dywapitchtrack/PitchDetection.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_dsp_library/dywapitchtrack/PitchDetection.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_dsp_library/dywapitchtrack/PitchDetection.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation,...
28.405797
129
0.713265
Matt-Dub
cf7fa47cfadeb082783b387895eac6395ed54bac
5,121
cpp
C++
tab/tools/tab_com.cpp
constcut/mtherapp
20b8e32361ef492d5b7cb4ff150f0956e952fdef
[ "MIT" ]
2
2022-03-04T17:54:48.000Z
2022-03-28T06:20:31.000Z
tab/tools/tab_com.cpp
constcut/aurals
bb00fac92a3a919867fe2e482c37fc0abe5e6984
[ "MIT" ]
null
null
null
tab/tools/tab_com.cpp
constcut/aurals
bb00fac92a3a919867fe2e482c37fc0abe5e6984
[ "MIT" ]
null
null
null
#include "tab/Tab.hpp" #include "midi/MidiFile.hpp" #include "GmyFile.hpp" #include "TabLoader.hpp" #include "GtpFiles.hpp" #include <fstream> #include <QDebug> using namespace aurals; //TODO prepare undo operations //They have to be for all possible commands void Tab::setSignsTillEnd(size_t num, size_t denom) {...
25.605
124
0.629369
constcut
cf869f7a2b62a398c965eb211f3d2ccc82f9018e
1,012
cpp
C++
Week 4/Week 4 Sample Programs/Pr7-1.cpp
sugamkarki/NAMI-Year-II-Term-I-Software_Engineering
39182816b670dcb75ec322e24b346a4cfeb80be0
[ "Apache-2.0" ]
null
null
null
Week 4/Week 4 Sample Programs/Pr7-1.cpp
sugamkarki/NAMI-Year-II-Term-I-Software_Engineering
39182816b670dcb75ec322e24b346a4cfeb80be0
[ "Apache-2.0" ]
null
null
null
Week 4/Week 4 Sample Programs/Pr7-1.cpp
sugamkarki/NAMI-Year-II-Term-I-Software_Engineering
39182816b670dcb75ec322e24b346a4cfeb80be0
[ "Apache-2.0" ]
null
null
null
/** * @file Pr7-1.cpp * @author your name (you@domain.com) * @brief * @version 0.1 * @date 2020-12-14 * * @copyright Copyright (c) 2020 * */ #include <iostream> /** * @brief * */ using namespace std; int main() { /** * @brief * */ const int NUM_EMPLOYEES = ...
17.152542
45
0.4417
sugamkarki
cf89a29bc26a7caa9493f3cd67ef36d25d5eecd7
4,419
hh
C++
include/upnpdevice.hh
vbtdung/h-box
9d39aef2adee5384d556a4dcf991d6af262ca92e
[ "MIT" ]
1
2018-09-16T06:13:12.000Z
2018-09-16T06:13:12.000Z
include/upnpdevice.hh
vbtdung/h-box
9d39aef2adee5384d556a4dcf991d6af262ca92e
[ "MIT" ]
null
null
null
include/upnpdevice.hh
vbtdung/h-box
9d39aef2adee5384d556a4dcf991d6af262ca92e
[ "MIT" ]
null
null
null
/* Copyright (c) 2010-2012 Aalto University 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, distr...
29.657718
143
0.742476
vbtdung
cf89b08d967eeaa4b97f2f80785b3611011af143
1,567
cpp
C++
module_05/ex03/ShrubberyCreationForm.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_05/ex02/ShrubberyCreationForm.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_05/ex02/ShrubberyCreationForm.cpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
#include "ShrubberyCreationForm.hpp" #include <iostream> #include <fstream> # define V_CYAN "\e[0;38;5;44m" # define RESET "\e[0m" ShrubberyCreationForm::ShrubberyCreationForm(std::string target) : AForm("ShrubberyCreationForm", 145, 137) { this->setTarget(target); std::cout << *this << std::endl; return ; } ...
23.742424
136
0.64582
paulahemsi
cf9043d6181db83caf01cf8750abc169b60d67b9
1,983
cpp
C++
update-client-hub/modules/pal-blockdevice/source/arm_uc_pal_blockdevice_mbed.cpp
linlingao/mbed-cloud-client
13e0cef7f9508c10d50f3beb049eafea2af6f17b
[ "Apache-2.0" ]
null
null
null
update-client-hub/modules/pal-blockdevice/source/arm_uc_pal_blockdevice_mbed.cpp
linlingao/mbed-cloud-client
13e0cef7f9508c10d50f3beb049eafea2af6f17b
[ "Apache-2.0" ]
null
null
null
update-client-hub/modules/pal-blockdevice/source/arm_uc_pal_blockdevice_mbed.cpp
linlingao/mbed-cloud-client
13e0cef7f9508c10d50f3beb049eafea2af6f17b
[ "Apache-2.0" ]
null
null
null
//---------------------------------------------------------------------------- // The confidential and proprietary information contained in this file may // only be used by a person authorised under and to the extent permitted // by a subsisting licensing agreement from ARM Limited or its affiliates. // // ...
33.05
84
0.655572
linlingao
cf9c90ec735a4cfa1930fc220d98f50ac5d81adb
1,062
cpp
C++
src/XML/XMLConfigMarkISection.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
1
2019-04-29T05:31:32.000Z
2019-04-29T05:31:32.000Z
src/XML/XMLConfigMarkISection.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
src/XML/XMLConfigMarkISection.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
/* * XMLConfigMarkISection.cpp * * Created on: Feb 11, 2014 * Author: clustro */ #include "XMLConfigMarkISection.h" #include <stdexcept> namespace Lazarus { XMLConfigMarkISection::XMLConfigMarkISection(const std::string& name) { m_name = name; } XMLConfigMarkISection::~XMLConfigMarkISection() { for(au...
17.409836
83
0.731638
dmalysiak
cfa513fb403af0c1b44258b41759fa11b473937c
11,545
cpp
C++
uav_interface/OLED.cpp
NHLStenden-CVDS/TwirreArduino
2832c6d7fa0f46e41bac3bf4124b24446f8dcde8
[ "MIT" ]
null
null
null
uav_interface/OLED.cpp
NHLStenden-CVDS/TwirreArduino
2832c6d7fa0f46e41bac3bf4124b24446f8dcde8
[ "MIT" ]
null
null
null
uav_interface/OLED.cpp
NHLStenden-CVDS/TwirreArduino
2832c6d7fa0f46e41bac3bf4124b24446f8dcde8
[ "MIT" ]
null
null
null
/* * Twirre: architecture for autonomous UAVs using interchangeable commodity components * * Copyright© 2017 Centre of expertise in Computer Vision & Data Science, NHL Stenden University of applied sciences * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
29.678663
463
0.661758
NHLStenden-CVDS
cfa6559ed374df5ed9d3535040d86d09a4e33776
1,810
hpp
C++
extlibs/include/Jopnal/Utility/DateTime.hpp
Jopnal/Jopmodel
cfd50b9fd24eaf63497bf5bed883f0b831d9ad65
[ "Zlib" ]
2
2016-07-16T17:21:10.000Z
2016-08-09T11:41:33.000Z
extlibs/include/Jopnal/Utility/DateTime.hpp
Jopnal/Jopmodel
cfd50b9fd24eaf63497bf5bed883f0b831d9ad65
[ "Zlib" ]
null
null
null
extlibs/include/Jopnal/Utility/DateTime.hpp
Jopnal/Jopmodel
cfd50b9fd24eaf63497bf5bed883f0b831d9ad65
[ "Zlib" ]
null
null
null
// Jopnal Engine C++ Library // Copyright (c) 2016 Team Jopnal // // 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 for any pur...
24.133333
77
0.61105
Jopnal
cfa6e83d21638c08d9c9441c4e5b89bbed2ebb51
302
cpp
C++
src/main.cpp
z3t0/Game
cda8dccebd488519d4a018c0d11cccc69e5e5859
[ "MIT" ]
null
null
null
src/main.cpp
z3t0/Game
cda8dccebd488519d4a018c0d11cccc69e5e5859
[ "MIT" ]
null
null
null
src/main.cpp
z3t0/Game
cda8dccebd488519d4a018c0d11cccc69e5e5859
[ "MIT" ]
null
null
null
// Main file // Copyright (C) Rafi Khan 2016 // Includes #include "Game.hpp" #include <iostream> // Defines #define WINDOW_WIDTH 800 #define WINDOW_HEIGHT 600 #define WINDOW_TITLE "Game" int main() { Game game (WINDOW_WIDTH, WINDOW_HEIGHT, WINDOW_TITLE); game.update(); return 0; }
13.130435
58
0.688742
z3t0
bbc1bbb95bd10f881dd3d39f332bc8700fff32ce
3,881
cpp
C++
test/unit_test/sql_test.cpp
KaiserLancelot/klib
5fe789c24dae999ab3512e5882f14a194dd34699
[ "MIT" ]
1
2022-02-28T12:31:44.000Z
2022-02-28T12:31:44.000Z
test/unit_test/sql_test.cpp
KaiserLancelot/klib
5fe789c24dae999ab3512e5882f14a194dd34699
[ "MIT" ]
null
null
null
test/unit_test/sql_test.cpp
KaiserLancelot/klib
5fe789c24dae999ab3512e5882f14a194dd34699
[ "MIT" ]
1
2021-11-06T14:23:21.000Z
2021-11-06T14:23:21.000Z
#include <cstdint> #include <filesystem> #include <iostream> #include <string> #include <vector> #include <catch2/catch.hpp> #include "klib/sql.h" #include "klib/util.h" TEST_CASE("sql", "[sql]") { { klib::SqlDatabase db("test.db", klib::SqlDatabase::ReadWrite, "6K4VpQY5&b*WRR^Y"); ...
33.456897
76
0.605514
KaiserLancelot
bbc7b559c1c6530d70446f6bd8bd5d7db83e2534
950
cpp
C++
LeetCode/100/78.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/78.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/100/78.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
// created by Kona @VSCode #include <algorithm> #include <iostream> #include <map> #include <string> #include <queue> #include <vector> #include <string.h> #define LOCAL_TEST typedef long long ll; using std::cin; using std::cout; using std::endl; using std::map; using std::queue; using std::string; using std::vector;...
19.791667
53
0.578947
K-ona
bbcab6e5eb97ed4e4c7d6b2bca67ec20f072dc1f
1,690
tcc
C++
ulmblas/level2/hpur2.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
95
2015-05-14T15:21:44.000Z
2022-03-17T08:02:08.000Z
ulmblas/level2/hpur2.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
4
2020-06-25T14:59:49.000Z
2022-02-16T12:45:00.000Z
ulmblas/level2/hpur2.tcc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
40
2015-09-14T02:43:43.000Z
2021-12-26T11:43:36.000Z
#ifndef ULMBLAS_LEVEL2_HPUR2_TCC #define ULMBLAS_LEVEL2_HPUR2_TCC 1 #include <ulmblas/auxiliary/conjugate.h> #include <ulmblas/auxiliary/real.h> #include <ulmblas/level1extensions/axpy2v.h> #include <ulmblas/level2/hpur2.h> namespace ulmBLAS { template <typename IndexType, typename Alpha, typename TX, typename TY, ...
23.802817
71
0.478107
sneha0401
bbcb7f036369bf66a496a344ac3d96e25f6c73be
6,964
cpp
C++
common/Uart.cpp
loliot/lot-API
cec96c68450c1f3730480a8c142dc98e0fd35f17
[ "MIT" ]
2
2021-03-07T22:54:42.000Z
2021-07-07T23:56:10.000Z
common/Uart.cpp
loliot/lot-API
cec96c68450c1f3730480a8c142dc98e0fd35f17
[ "MIT" ]
16
2019-10-10T06:37:59.000Z
2020-01-29T09:56:06.000Z
common/Uart.cpp
loliot/lot-API
cec96c68450c1f3730480a8c142dc98e0fd35f17
[ "MIT" ]
20
2019-10-08T11:16:11.000Z
2020-01-05T13:26:45.000Z
/* * MIT License * Copyright (c) 2019-2020 Hyeonki Hong <hhk7734@gmail.com> * * 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 righ...
27.309804
97
0.572229
loliot
bbd3b343fce753023dfc6462e0fb3caa48a0136e
1,415
cpp
C++
src/frontend/Gui/Gui_textures.cpp
bpapaspyros/RobSim
b126e892910085fde4d14f50380b8db44fa7cd24
[ "MIT" ]
null
null
null
src/frontend/Gui/Gui_textures.cpp
bpapaspyros/RobSim
b126e892910085fde4d14f50380b8db44fa7cd24
[ "MIT" ]
null
null
null
src/frontend/Gui/Gui_textures.cpp
bpapaspyros/RobSim
b126e892910085fde4d14f50380b8db44fa7cd24
[ "MIT" ]
null
null
null
#include <iostream> #include <SOIL/SOIL.h> #include "frontend/Gui/Gui_textures.h" Gui_textures::Gui_textures(){ background = "../res/world/moon.jpg"; } /*- -------------------------------------------------------------- -*/ GLuint Gui_textures::loadEpicTex(std::string filename){ GLuint tex; tex = S...
24.824561
91
0.475618
bpapaspyros
bbd6b046403f207d4c30199808bc32c1844dd87a
462
cpp
C++
Smallest_Numbers_of_Notes.cpp
omkarugale7/codechef-questions
05cb8f4f9e5bded9ca3b8ee4e913bdd314cb0585
[ "MIT" ]
null
null
null
Smallest_Numbers_of_Notes.cpp
omkarugale7/codechef-questions
05cb8f4f9e5bded9ca3b8ee4e913bdd314cb0585
[ "MIT" ]
null
null
null
Smallest_Numbers_of_Notes.cpp
omkarugale7/codechef-questions
05cb8f4f9e5bded9ca3b8ee4e913bdd314cb0585
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int t; cin >> t; for (int i = 0; i < t; i++) { int n, ans = 0, j = 0; cin >> n; int re[6] = {100, 50, 10, 5, 2, 1}; while (n > 0) { int b = n / re[j]; if (b != 0) { ...
17.111111
43
0.292208
omkarugale7
bbd98f5647e0f85eb95a40172c343e4062d678b9
3,683
cpp
C++
src/src/CVDecoder.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
1
2020-06-22T08:48:51.000Z
2020-06-22T08:48:51.000Z
src/src/CVDecoder.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
null
null
null
src/src/CVDecoder.cpp
AydinyanNarek/OpenCV
202551bd10cbd66f77e8dc008808cb499be21cc3
[ "MIT" ]
null
null
null
#include "../include/CVDecoder.h" #include "opencv2/videoio/legacy/constants_c.h" #include "opencv2/video/background_segm.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/video.hpp" #include <future> void BaseVideo::registerErrors() { Errors::ErrorRegister::registerErrors({ {"FileOpenError", ...
29.230159
130
0.609014
AydinyanNarek
bbda226ea166b485f1acf2d086c965e59642a6ae
1,815
cpp
C++
Source/Scene/CommonTool.cpp
hipiPan/effects
d9003f71e6fb485d054fb198cfdf5b944e2e158f
[ "MIT" ]
2
2019-10-14T14:48:29.000Z
2019-10-14T15:45:25.000Z
Source/Scene/CommonTool.cpp
hipiPan/effects
d9003f71e6fb485d054fb198cfdf5b944e2e158f
[ "MIT" ]
null
null
null
Source/Scene/CommonTool.cpp
hipiPan/effects
d9003f71e6fb485d054fb198cfdf5b944e2e158f
[ "MIT" ]
null
null
null
#include "CommonTool.h" #include "Core/Utility/Log.h" #include "UI/UISystem.h" EFFECTS_NAMESPACE_BEGIN Camera::Camera(glm::vec3 position, float yaw, float pitch) { m_position = position; m_front = glm::vec3(0, 0, -1); m_up = glm::vec3(0, 1, 0); m_yaw = yaw; m_pitch = pitch; } Camera::~Camera() { } void Camera::Mo...
20.862069
94
0.699174
hipiPan
bbdd15c899c408ad89073c84f54de3654bf7bdec
131
hh
C++
src/Exception/StopPropagationUnsafeException.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
src/Exception/StopPropagationUnsafeException.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
src/Exception/StopPropagationUnsafeException.hh
GroovyCarrot/hhvm-event-dispatcher
0140f298c06ce60eeb2f07e7cc1f95aeca5ca853
[ "MIT" ]
null
null
null
<?hh // strict namespace GroovyCarrot\Event\Exception; final class StopPropagationUnsafeException extends \RuntimeException { }
14.555556
68
0.80916
GroovyCarrot
bbde5f10bf85a778b7cc6e6582601b3d1b8ab41b
1,522
cpp
C++
src/minoru_driver.cpp
srv/minoru_driver
24718626df4856546c92ba67ec1aa614f10d63f9
[ "MIT" ]
null
null
null
src/minoru_driver.cpp
srv/minoru_driver
24718626df4856546c92ba67ec1aa614f10d63f9
[ "MIT" ]
null
null
null
src/minoru_driver.cpp
srv/minoru_driver
24718626df4856546c92ba67ec1aa614f10d63f9
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include "opencv2/opencv.hpp" using namespace std; class MinoruDriver { ros::NodeHandle nh_; ros::NodeHandle nh_private_; int left_dev_idx_, right_dev_idx_; public: MinoruDriver() : nh_private_("~") { nh_private_.param("left_dev_idx", left_dev_idx_, 0); nh_private_.param("righ...
20.293333
135
0.632063
srv
bbe2dceeb3a33c2ad9ec4e423208ef9ccfbd0662
677
cpp
C++
core/fxcodec/jpeg/jpeg_common.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
25
2019-05-07T16:16:40.000Z
2022-03-30T09:04:00.000Z
core/fxcodec/jpeg/jpeg_common.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
4
2020-10-20T13:09:56.000Z
2021-04-10T00:23:35.000Z
core/fxcodec/jpeg/jpeg_common.cpp
sanarea/pdfium
632a6cb844457a97dd48b97ad69ab365aeb17491
[ "Apache-2.0" ]
11
2019-09-11T20:43:10.000Z
2022-03-30T09:04:01.000Z
// Copyright 2020 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcodec/jpeg/jpeg_common.h" extern "C" { void src_do_nothing(...
24.178571
80
0.763663
sanarea
bbe62e6c7c990f0e77c045f19f8681629a5d5230
1,112
cpp
C++
1st/binary_tree_maximum_path_sum.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/binary_tree_maximum_path_sum.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/binary_tree_maximum_path_sum.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: int maxPathSum(TreeNode* root) { if (!root) return 0; int max = root->val; ma...
20.981132
80
0.530576
buptlxb
bbec70110e809c6967064542c7d91bb44ba9dd5a
345
hpp
C++
src/engine/effects/transition.hpp
Blackhawk-TA/32blit-rpg
eaad46e1eeab6765a6b8f6e31a2d196aeeaba6f9
[ "MIT" ]
1
2021-12-31T23:52:57.000Z
2021-12-31T23:52:57.000Z
src/engine/effects/transition.hpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
src/engine/effects/transition.hpp
Blackhawk-TA/GateKeeper
49a260bf7ba2304f1649b5ed487bc1e55028e672
[ "MIT" ]
null
null
null
// // Created by daniel on 04.09.21. // #pragma once #include "../../utils/utils.hpp" namespace transition { enum TransitionState { INACTIVE = 0, FADING_IN = 1, BLACKED_OUT = 2, CALLBACK_EXECUTED = 3, FADING_OUT = 4, }; bool in_process(); void draw(); void update(uint32_t time); void start(std::funct...
15.681818
44
0.657971
Blackhawk-TA
bbedf375e29f6763894e3215a28d18a7eeb1c5ac
622
cpp
C++
EJERCICIOS/EJERCICIO C++/Examen II parcial/main.cpp
dianaM182/cpp
45b0e688b00f5a6f4483aba13904b5d760806726
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO C++/Examen II parcial/main.cpp
dianaM182/cpp
45b0e688b00f5a6f4483aba13904b5d760806726
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO C++/Examen II parcial/main.cpp
dianaM182/cpp
45b0e688b00f5a6f4483aba13904b5d760806726
[ "MIT" ]
null
null
null
#include <iostream> #include <windows.h> #include <conio.h> #include <stdlib.h> #include <time.h> #include "juego.h" using namespace std; int main () { char tecla; int puntos = 0 ; int xPos = 30 , yPos = 20 ; inicializarArreglo (); dificultad (); gotoxy(50,2); cout << puntos; pintar ...
16.810811
63
0.533762
dianaM182
bbf0a7a66b0ee02ead8c4c703ec62112b95514a8
880
hpp
C++
src/config.hpp
niclasr/crosswrench
6853721d4915bda559daa8941fcbf268230959e6
[ "MIT" ]
null
null
null
src/config.hpp
niclasr/crosswrench
6853721d4915bda559daa8941fcbf268230959e6
[ "MIT" ]
null
null
null
src/config.hpp
niclasr/crosswrench
6853721d4915bda559daa8941fcbf268230959e6
[ "MIT" ]
null
null
null
#if !defined(_SRC_CONFIG_HPP_) #define _SRC_CONFIG_HPP_ #include <cxxopts.hpp> #include <map> #include <string> namespace crosswrench { class config { public: static config *instance(); bool setup(cxxopts::ParseResult &); bool setup(std::map<std::string, std::string> &); std::string get_value(std:...
24.444444
64
0.6875
niclasr
bbf5b2c4c0f9c577a3cf2e2b567844544922714c
2,615
cpp
C++
solved_problems/276D.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
1
2021-01-27T16:37:31.000Z
2021-01-27T16:37:31.000Z
solved_problems/276D.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
null
null
null
solved_problems/276D.cpp
archit-1997/codeforces
6f78a3ed5930531159ae22f7b70dc56e37a9e240
[ "MIT" ]
null
null
null
/*A little girl loves problems on bitwise operations very much. Here's one of them. You are given two integers l and r. Let's consider the values of for all pairs of integers a and b (l ≤ a ≤ b ≤ r). Your task is to find the maximum value among all considered ones. Expression means applying bitwise excluding o...
19.810606
81
0.555641
archit-1997
bbf775190e7cb605a20e6a75a4f952682d6c5ab7
2,597
cc
C++
tests/si/rendering.cc
juliusnehring/arcana-samples
b5d71c114f353b278323b96450b1bfcd947336b7
[ "MIT" ]
null
null
null
tests/si/rendering.cc
juliusnehring/arcana-samples
b5d71c114f353b278323b96450b1bfcd947336b7
[ "MIT" ]
null
null
null
tests/si/rendering.cc
juliusnehring/arcana-samples
b5d71c114f353b278323b96450b1bfcd947336b7
[ "MIT" ]
null
null
null
#include <nexus/app.hh> #include <resource-system/res.hh> #include <phantasm-renderer/pr.hh> #include <structured-interface/element_tree.hh> #include <structured-interface/gui.hh> #include <structured-interface/layout/aabb_layout.hh> #include <structured-interface/si.hh> #include <arcana-incubator/device-abstractio...
32.873418
93
0.471698
juliusnehring
bbf8a32a55fd0365ced4e6755b380389560f0481
239
cpp
C++
Sources/Core/cpp_cli/LinguisticsKernel/AnaphoraResolution.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
2
2021-07-07T19:39:11.000Z
2021-12-02T15:54:15.000Z
Sources/Core/cpp_cli/LinguisticsKernel/AnaphoraResolution.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
null
null
null
Sources/Core/cpp_cli/LinguisticsKernel/AnaphoraResolution.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
1
2021-12-01T17:48:20.000Z
2021-12-01T17:48:20.000Z
#include "StdAfx.h" #include "AnaphoraResolution.h" namespace SS { namespace LinguisticProcessor { System::String* CAnaphoraResolution::ResovleAnaphoras(System::String* xmlData) { //System::Xml::XmlDocument* xdoc = return ""; } } }
13.277778
78
0.732218
elzin
bbf8daeb17bf1b808e9e5fcdc0a99a7314a4bba0
342
cpp
C++
alignment/format/CompareSequencesPrinter.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/format/CompareSequencesPrinter.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/format/CompareSequencesPrinter.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <alignment/format/CompareSequencesPrinter.hpp> void CompareSequencesOutput::PrintHeader(std::ostream &out) { out << "qName qLength qStart qEnd qStrand " << "tName tLength tStart tEnd tStrand " << "score numMatch numMismatch numIns numDel " << "mapQV qAlignedSeq matchPattern tAligne...
34.2
69
0.704678
ggraham
bbfb4ef8311162faaec0768c6d394198f212dd38
1,934
hpp
C++
include/codegen/include/UnityEngine/Playables/ScriptPlayableBinding.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/Playables/ScriptPlayableBinding.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/Playables/ScriptPlayableBinding.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:32 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
40.291667
140
0.751293
Futuremappermydud
0107174051aedc2d3deca281915d982f230b7543
51
cpp
C++
grafi/mst.cpp
malorubiuz/tutorato_olimpiadi2021
86736147af5f47da5cc3276bd9a894977bdee073
[ "Unlicense" ]
null
null
null
grafi/mst.cpp
malorubiuz/tutorato_olimpiadi2021
86736147af5f47da5cc3276bd9a894977bdee073
[ "Unlicense" ]
null
null
null
grafi/mst.cpp
malorubiuz/tutorato_olimpiadi2021
86736147af5f47da5cc3276bd9a894977bdee073
[ "Unlicense" ]
null
null
null
// https://training.olinfo.it/#/task/mst/statement
25.5
50
0.72549
malorubiuz
010d96856a034d744699b0f519c2b53f6f22f4f2
1,949
cpp
C++
examples/BlockOut3000/src/BlockOut.cpp
iboB/maibo
df43ddf82b3c79e00f3d2c8b38db181e5edae264
[ "MIT" ]
4
2015-08-07T09:11:15.000Z
2018-01-03T15:47:04.000Z
examples/BlockOut3000/src/BlockOut.cpp
iboB/maibo
df43ddf82b3c79e00f3d2c8b38db181e5edae264
[ "MIT" ]
null
null
null
examples/BlockOut3000/src/BlockOut.cpp
iboB/maibo
df43ddf82b3c79e00f3d2c8b38db181e5edae264
[ "MIT" ]
null
null
null
// MaiBo - BlockOut3000 // Copyright(c) 2015 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // http://opensource.org/licenses/MIT // #include "BlockOut.h" #include <maibo/Resources/ResourceManager.h> #include <maibo/Common/high_res_clock.h> #include...
18.740385
64
0.675731
iboB
012a9a9a9d63054e55210b2b055421000c502c34
12,570
cpp
C++
Attic/AtomicEditorReference/Source/UI/UIResourceFrame.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/UIResourceFrame.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/UIResourceFrame.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/Container/ArrayPtr.h> #include <Atomic/UI/UI.h> #include <Atomic/IO/Log.h> #incl...
25.705521
97
0.626571
honigbeutler123
012e389215c245c995bada2c7188cf25d9b0c1c2
758
cpp
C++
examples/cat.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/cat.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/cat.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
#include <rudiments/file.h> #include <rudiments/stdio.h> int main(int argc, const char **argv) { file f; char buffer[1024]; // for each file specified on the command line... for (int32_t i=1; i<argc; i++) { // open the file if (!f.open(argv[i],O_RDONLY)) { continue; } // read chunks from the file an...
20.486486
53
0.649077
davidwed
01365e9f3734e85a8a8317b257856a288f23c9aa
278
cpp
C++
src/guiobject.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
src/guiobject.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
src/guiobject.cpp
Groogy/derelict
5ca82ae5a5a553e292e388706a27b53840cf3afa
[ "Zlib" ]
null
null
null
#include "guiobject.hpp" GuiObject::~GuiObject() { } void GuiObject::update() { for(auto& hook : myUpdateHooks) { hook(*this); } } void GuiObject::processEvent(const sf::Event&) { } void GuiObject::attachUpdateHook(UpdateHook hook) { myUpdateHooks.push_back(hook); }
11.583333
49
0.697842
Groogy
0136a96208f2b3890c4d90590887df753d7e3658
118
cpp
C++
app/src/app_main.cpp
Darckore/CmakeTemplate
f2d5ba1a17fd7304518e3b8ededfea1d638f8dc8
[ "Unlicense" ]
null
null
null
app/src/app_main.cpp
Darckore/CmakeTemplate
f2d5ba1a17fd7304518e3b8ededfea1d638f8dc8
[ "Unlicense" ]
null
null
null
app/src/app_main.cpp
Darckore/CmakeTemplate
f2d5ba1a17fd7304518e3b8ededfea1d638f8dc8
[ "Unlicense" ]
null
null
null
#include "libsomething/libsource.h" int main() { something::derpy::init(); something::derpy::msg(); return 0; }
14.75
35
0.661017
Darckore
013dc4f0bac66a539b63e706331a85a7f75971f9
1,461
cpp
C++
NetworkManager/SynchrounousTcp/SyncTcpClient.cpp
lahmer/lbcms
5910aecae63082f838c7be28316764c3ed3a08f1
[ "MIT" ]
null
null
null
NetworkManager/SynchrounousTcp/SyncTcpClient.cpp
lahmer/lbcms
5910aecae63082f838c7be28316764c3ed3a08f1
[ "MIT" ]
null
null
null
NetworkManager/SynchrounousTcp/SyncTcpClient.cpp
lahmer/lbcms
5910aecae63082f838c7be28316764c3ed3a08f1
[ "MIT" ]
null
null
null
// // Created by lahmer on 8/12/16. // #include "SyncTcpClient.h" namespace lbcms{ namespace network{ SyncTcpClient::SyncTcpClient(std::string ipv4, int port){ m_ios = new boost::asio::io_service(); m_endPoint = new boost::asio::ip::tcp::endpoint(boost::asio::ip::address_v4::from_s...
32.466667
113
0.540041
lahmer
0149eb6a10551bf132bfad7527c9f751d3a9a640
1,936
cpp
C++
src/Evel/Signal.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
src/Evel/Signal.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
src/Evel/Signal.cpp
hleclerc/Evel
c607adda555f417dfc9fb4de310c07c48ea3642f
[ "Apache-2.0" ]
null
null
null
#include "System/SocketUtil.h" #include "EvLoop.h" #include "Signal.h" #include <sys/signalfd.h> #include <string.h> #include <signal.h> #include <unistd.h> #include <errno.h> namespace Evel { static int make_signal_fd( const int *sigs ) { // set up a mask sigset_t mask; sigemptyset( &mask ); for( in...
22
96
0.496384
hleclerc
014bc0069b9e903f3dac59f1bcb180f4f51c96e5
2,258
cpp
C++
core/unittest/wrapper/test_knowhere.cpp
Gracieeea/milvus
e44e455acd2731ad7c8f645e6fd13dd8f0eeea86
[ "Apache-2.0" ]
null
null
null
core/unittest/wrapper/test_knowhere.cpp
Gracieeea/milvus
e44e455acd2731ad7c8f645e6fd13dd8f0eeea86
[ "Apache-2.0" ]
null
null
null
core/unittest/wrapper/test_knowhere.cpp
Gracieeea/milvus
e44e455acd2731ad7c8f645e6fd13dd8f0eeea86
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
38.271186
75
0.741364
Gracieeea
014caf9301b4fcc559a661bf05d0866733468fc2
32,217
cpp
C++
src/interpreter/instructions/integer.cpp
lioncash/riscv-emu
e903baf122cbbc2b40f58f4c50ff970893ffe746
[ "MIT" ]
1
2021-09-17T04:07:26.000Z
2021-09-17T04:07:26.000Z
src/interpreter/instructions/integer.cpp
lioncash/riscv-emu
e903baf122cbbc2b40f58f4c50ff970893ffe746
[ "MIT" ]
null
null
null
src/interpreter/instructions/integer.cpp
lioncash/riscv-emu
e903baf122cbbc2b40f58f4c50ff970893ffe746
[ "MIT" ]
null
null
null
#include <riscy/interpreter/state.hpp> #include <algorithm> #include <array> #include <bit> #include <type_traits> #include "common/bit_util.hpp" #include "interpreter/instructions/helper.hpp" #include "interpreter/instructions/instructions.hpp" namespace riscy { using UnaryBitFn = RISCVState::GPRType (*)(RISCVStat...
34.236982
118
0.660055
lioncash
015443921d65bc1db235a2359a9a93972df22e2d
1,232
cpp
C++
examples/future_types/promises.cpp
alandefreitas/futures
326957b2bc4238716faecd7a5bff4616d967b4ce
[ "MIT" ]
10
2022-01-07T02:20:54.000Z
2022-03-11T05:24:13.000Z
examples/future_types/promises.cpp
alandefreitas/futures
326957b2bc4238716faecd7a5bff4616d967b4ce
[ "MIT" ]
null
null
null
examples/future_types/promises.cpp
alandefreitas/futures
326957b2bc4238716faecd7a5bff4616d967b4ce
[ "MIT" ]
null
null
null
#include <futures/algorithm.hpp> #include <futures/futures.hpp> #include <futures/executor/new_thread_executor.hpp> #include <iostream> int main() { using namespace futures; //[inline Inline promise promise<int> p1; cfuture<int> f1 = p1.get_future(); p1.set_value(2); std::cout << f1.get() << '...
23.245283
57
0.553571
alandefreitas
0158305873ffccd56f72565a3b3ed3305923a407
370
cpp
C++
OJ/PT/PT16.cpp
doan201203/truong_doan
68350b7a24ea266320cd41e1a4878e8a58b3f707
[ "Apache-2.0" ]
null
null
null
OJ/PT/PT16.cpp
doan201203/truong_doan
68350b7a24ea266320cd41e1a4878e8a58b3f707
[ "Apache-2.0" ]
null
null
null
OJ/PT/PT16.cpp
doan201203/truong_doan
68350b7a24ea266320cd41e1a4878e8a58b3f707
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> int main(){ int N[100000], n, count = 0, kt; scanf("%d", &n); for(int i = 1 ; i <= n ; i++ ){ scanf("%d", &N[i]); } for(int i = 1 ; i <= n ; i++){ kt = N[i] % 19; if(kt == 0 || kt == 3 || kt == 6 || kt == 9 || kt == 11 || kt == 14 || kt == 17){ c...
24.666667
89
0.337838
doan201203
0158d2856b65209b7976459ad302259436420369
2,278
hpp
C++
include/game.hpp
vvbv/AlphaZero-Univalle
eb4ba2253ea266e3c5cad2cee24401ff95073c23
[ "MIT" ]
null
null
null
include/game.hpp
vvbv/AlphaZero-Univalle
eb4ba2253ea266e3c5cad2cee24401ff95073c23
[ "MIT" ]
null
null
null
include/game.hpp
vvbv/AlphaZero-Univalle
eb4ba2253ea266e3c5cad2cee24401ff95073c23
[ "MIT" ]
1
2018-06-20T19:15:14.000Z
2018-06-20T19:15:14.000Z
#ifndef GAME_HPP_ #define GAME_HPP_ #include "board.hpp" #include "state_game.hpp" #include <climits> #include <tuple> class Game{ private: int max_depth; struct minmax_game_elements { int pos_max_row; int pos_max_column; int pos_min_row; ...
36.741935
108
0.64662
vvbv
015fb70636b9c7727e0ce79f8acaa0cb0e1496e4
5,398
cpp
C++
engine/src/Core/AppStatus.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
engine/src/Core/AppStatus.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
engine/src/Core/AppStatus.cpp
MajesticShekel/Strontium
e672e4f7ee0338ef4e29ac61dad3f10905e8d105
[ "MIT" ]
null
null
null
#include "Core/AppStatus.h" appStatus defaultEditorStatus = { { { "KEY_UNKNOWN", -1 }, { "KEY_SPACE", 32 }, { "KEY_APOSTROPHE", 39 }, { "KEY_COMMA", 44 }, { "KEY_MINUS", 45 }, { "KEY_PERIOD", 46 }, { "KEY_SLASH", 47 }, { "KEY_0", 48 }, { "KEY_1", 49 }, { "KEY_2", 50 }, { "KEY_3", 51 }, { "K...
22.491667
79
0.524639
MajesticShekel
0162b501d7b3cd246245f560572d30c8091d75cc
1,101
cpp
C++
LeetCode/Problems/Algorithms/#658_FindKClosestElements_sol1_binary_search_and_two_pointers_approach_O(logN+K)_time_O(1)_extra_space_32ms_30.8MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#658_FindKClosestElements_sol1_binary_search_and_two_pointers_approach_O(logN+K)_time_O(1)_extra_space_32ms_30.8MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#658_FindKClosestElements_sol1_binary_search_and_two_pointers_approach_O(logN+K)_time_O(1)_extra_space_32ms_30.8MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> findClosestElements(vector<int>& arr, int k, int x) { const int N = arr.size(); // Step 1: binary search the (lower_bound) position of x in arr int xPos = lower_bound(arr.begin(), arr.end(), x) - arr.begin(); xPos = min(N - 1, xPos...
35.516129
92
0.448683
Tudor67
0166081927ed5e32c9e1002953709b8a5d537a90
437
cpp
C++
PAT/B1008.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
PAT/B1008.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
PAT/B1008.cpp
iphelf/Programming-Practice
2a95bb7153957b035427046b250bf7ffc6b00906
[ "WTFPL" ]
null
null
null
#include<stdio.h> #include<algorithm> using namespace std; const int MAXN=100; int a[MAXN]; int main(void) { // freopen("in.txt","r",stdin); int N; long long M; scanf("%d%lld",&N,&M); for(int i=0;i<N;i++) scanf("%d",&a[i]); M=M%N; reverse(a,a+N-M); reverse(a+N-M,a+N); reverse(a,a+N)...
15.068966
61
0.510297
iphelf
0166fb1d2f6af68b9d32f6594b2a0ce4cdfa1be2
1,041
hpp
C++
EasyFramework3d/core/gui/ButtonEvent.hpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/core/gui/ButtonEvent.hpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/core/gui/ButtonEvent.hpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
/** * @file ButtonEvent.hpp * @author sizilium * @date 26.12.2007 * @brief This file is part of the Vision Synthesis Easy Framework.\n * This file has no copyright; you can change everything. * Visit www.vision-synthesis.de or www.easy-framework.de for further informations.\n * If there is a bug please send a ma...
18.263158
89
0.68684
sizilium
016803f139985567256a115aae95e6d70b3971f6
550
hpp
C++
include/Particles/TriangularPrism.hpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
2
2018-01-03T09:33:09.000Z
2019-06-14T13:29:37.000Z
include/Particles/TriangularPrism.hpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
null
null
null
include/Particles/TriangularPrism.hpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
null
null
null
#ifndef TRIANGULAR_PRISM_HPP_ #define TRIANGULAR_PRISM_HPP_ #include "rapid2/RAPID.H" #include "BaseParticle.hpp" template<typename number> class TriangularPrism: public BaseParticle<number> { public: TriangularPrism(); ~TriangularPrism() {delete Mesh;} RAPID_model* Mesh; void Build(int) override; void Tess...
16.666667
56
0.747273
mtortora
6c69bc5b037960781c1885b8ba02cc6577ef3ff3
885
hpp
C++
stringify/container_traits.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
4
2015-06-25T02:06:13.000Z
2018-07-11T13:20:24.000Z
stringify/container_traits.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
14
2015-03-29T10:32:21.000Z
2018-01-25T16:45:08.000Z
stringify/container_traits.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
2
2017-07-16T09:43:22.000Z
2020-08-30T09:33:40.000Z
#pragma once // and iterator traits :D #include <iterator> #include <type_traits> template <typename T, template <typename, class = std::allocator <T> > class ContainerT> struct has_random_access_iterator : std::is_same < typename std::iterator_traits<typename ContainerT<T>::iterator>::iterator_category , st...
35.4
88
0.757062
5cript
6c6aaa6a485e39b792983c293ac84c7384ebb0bd
3,427
hpp
C++
include/jwt/error_codes.hpp
ValBaturin/cpp-jwt
8272256dd0105e2e66838dc081e30e638966ca12
[ "MIT" ]
324
2017-12-27T09:57:20.000Z
2022-03-30T15:43:27.000Z
include/jwt/error_codes.hpp
ValBaturin/cpp-jwt
8272256dd0105e2e66838dc081e30e638966ca12
[ "MIT" ]
68
2018-01-28T15:08:11.000Z
2021-10-16T15:59:06.000Z
include/jwt/error_codes.hpp
ValBaturin/cpp-jwt
8272256dd0105e2e66838dc081e30e638966ca12
[ "MIT" ]
100
2018-01-04T08:09:14.000Z
2021-12-02T13:37:37.000Z
/* Copyright (c) 2017 Arun Muralidharan 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, distribut...
25.014599
78
0.753137
ValBaturin
6c735b5cb0eae44b95032cc897c039a77ac1fa01
12,875
cpp
C++
Doom/src/Doom/Components/Render3D.cpp
Shturm0weak/OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
126
2020-10-20T21:39:53.000Z
2022-01-25T14:43:44.000Z
Doom/src/Doom/Components/Render3D.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
2
2021-01-07T17:29:19.000Z
2021-08-14T14:04:28.000Z
Doom/src/Doom/Components/Render3D.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
16
2021-01-09T09:08:40.000Z
2022-01-25T14:43:46.000Z
#include "../pch.h" #include "Render3D.h" #include "../Core/Editor.h" #include "../Render/Instancing.h" #include "../Components/PointLight.h" using namespace Doom; void Renderer3D::ChangeRenderTechnic(RenderTechnic rt) { if (m_IsTransparent) return; if (rt == RenderTechnic::Instancing) { for (auto i = Instancing...
33.881579
134
0.71666
Shturm0weak
6c739e683ffe3061b2d448fc2a33a103f268d058
59,679
cpp
C++
source/TheoremProver/ProverExpression.cpp
ubavic/gclc
bf28e4317d4c7a73d39ce3bbdb6f73ea4c6f0c44
[ "MIT" ]
null
null
null
source/TheoremProver/ProverExpression.cpp
ubavic/gclc
bf28e4317d4c7a73d39ce3bbdb6f73ea4c6f0c44
[ "MIT" ]
null
null
null
source/TheoremProver/ProverExpression.cpp
ubavic/gclc
bf28e4317d4c7a73d39ce3bbdb6f73ea4c6f0c44
[ "MIT" ]
null
null
null
#include "ProverExpression.h" #include "TheoremProver.h" #include <assert.h> #include <cmath> #define EPSILON 0.00001 static unsigned idCounter=0; Rules CGCLCProverExpression::mRules; unsigned arity(enum GCLCexperssion_type type) { switch (type) { case ep_number: case ep_point: case ep_consta...
29.67628
83
0.516027
ubavic
6c787aec2dc1230e4601300a1359407f33d1a329
711
cxx
C++
reflex/test/implementation/members/GetTest.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
reflex/test/implementation/members/GetTest.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
reflex/test/implementation/members/GetTest.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
// Check getting of members #include "util/HelperMacros.hpp" #include "Reflex/Type.h" #include "Reflex/Member.h" #include "Get.hpp" using namespace Reflex; REFLEX_TEST(test001) { // See e.g. https://savannah.cern.ch/bugs/?65759 Type tT = Type::ByName("St<int>::T"); CPPUNIT_ASSERT(tT); St<int>::A::s = 43; ...
20.911765
51
0.652602
paulwratt
6c7b4c7e3d4e289295807145a6830bde246f7f86
4,130
cpp
C++
Map/LRUCache.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
Map/LRUCache.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
3
2020-05-08T18:02:51.000Z
2020-05-09T08:37:35.000Z
Map/LRUCache.cpp
UltraProton/PlacementPrep
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef struct node{ int key; int val; node *left; node *right; node(int k,int v): key(k), val(v),left(NULL), right(NULL) {}; } Node; class LRU_Cache{ public: Node *dummy_head; Node *dummy_tail; int size; int curr_size; unorde...
19.389671
71
0.528814
UltraProton
6c868f01888df62407a66e1492ca2df9ca24907b
176
cc
C++
proc/display-env.cc
DavidCai1993/APUE-exercises
5c5b74d8042176cc07a73380149c831d20da407e
[ "MIT" ]
null
null
null
proc/display-env.cc
DavidCai1993/APUE-exercises
5c5b74d8042176cc07a73380149c831d20da407e
[ "MIT" ]
null
null
null
proc/display-env.cc
DavidCai1993/APUE-exercises
5c5b74d8042176cc07a73380149c831d20da407e
[ "MIT" ]
null
null
null
#include <iostream> #include "../common.h" int main (int argc, char** argv, char** envp) { for (char** env = envp; *env != NULL; env++) { PRINT(*env) } return 0; }
16
48
0.556818
DavidCai1993
6c89545aac41622e2766c1afe06c61c43012ea11
6,396
cpp
C++
isaac_variant_caller/src/lib/blt_common/blt_arg_parse_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
21
2015-01-09T01:11:28.000Z
2019-09-04T03:48:21.000Z
isaac_variant_caller/src/lib/blt_common/blt_arg_parse_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
4
2015-07-23T09:38:39.000Z
2018-02-01T05:37:26.000Z
isaac_variant_caller/src/lib/blt_common/blt_arg_parse_util.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
13
2015-01-29T16:41:26.000Z
2021-06-25T02:42:32.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2013 Illumina, Inc. // // This software is provided under the terms and conditions of the // Illumina Open Source Software License 1. // // You should have received a copy of the Illumina Open Source // Software License 1 along with this program. If ...
27.568966
113
0.601001
sequencing
6c8aa1b3180a2b61d132ea2cf5ffd4c304c7be91
480
cpp
C++
oops/objectAsArgument.cpp
misrapk/C-Basic-Codes
4d959576a15b3846f3c1fd5c870c6821d8a90ecc
[ "MIT" ]
null
null
null
oops/objectAsArgument.cpp
misrapk/C-Basic-Codes
4d959576a15b3846f3c1fd5c870c6821d8a90ecc
[ "MIT" ]
null
null
null
oops/objectAsArgument.cpp
misrapk/C-Basic-Codes
4d959576a15b3846f3c1fd5c870c6821d8a90ecc
[ "MIT" ]
null
null
null
// pass object as argument #include<iostream> using namespace std; class test{ int var; public: test(int i){ var = i; cout<<"CONSTRUCTING "<<var<<"\n"; } ~test(){ cout<<"Destructing "<<var<<"\n"; } int get(){ return var; } }; void f(test t); int main(){ test ob1(10); cout<<"In LO...
12.307692
43
0.54375
misrapk
6c991a9eb542b7004cce5341ba54b95256aa5e2d
48
cpp
C++
Dechetterie-Librairie/ControlIPBox.cpp
Norskel/Dechetterie
343c4b97b7ea5f0dbb3394168e2a75d2a6b538e6
[ "Apache-2.0" ]
2
2018-04-05T11:02:00.000Z
2019-01-26T17:55:20.000Z
Dechetterie-Librairie/ControlIPBox.cpp
Norskel/Dechetterie
343c4b97b7ea5f0dbb3394168e2a75d2a6b538e6
[ "Apache-2.0" ]
null
null
null
Dechetterie-Librairie/ControlIPBox.cpp
Norskel/Dechetterie
343c4b97b7ea5f0dbb3394168e2a75d2a6b538e6
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "ControlIPBox.h"
16
26
0.708333
Norskel
6c9d79ab3ba2a98cbf2dcb57dcf62896e9e7db5e
1,239
cpp
C++
src/IContentProcessor.cpp
RudiBik/flexgrep
d7bb07350693f129481572f41639df95f8a03261
[ "BSD-3-Clause" ]
4
2022-02-11T18:43:55.000Z
2022-02-19T09:50:09.000Z
src/IContentProcessor.cpp
RudiBik/flexgrep
d7bb07350693f129481572f41639df95f8a03261
[ "BSD-3-Clause" ]
null
null
null
src/IContentProcessor.cpp
RudiBik/flexgrep
d7bb07350693f129481572f41639df95f8a03261
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2022, Rudi Bikschentajew // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <ContentProcessors/IContentProcessor.hpp> // filters #include <PathFilter/ContentRegexFilter.hpp> // proces...
29.5
82
0.722357
RudiBik
6c9e5c1b0893a9b1645b1c62b4dde6594351c532
25,694
cpp
C++
src/compile/BrainfuckCompiler.cpp
nbozidarevic/freud
d16f1930abef0360a8cd0f863a6c003f080b11c3
[ "MIT" ]
null
null
null
src/compile/BrainfuckCompiler.cpp
nbozidarevic/freud
d16f1930abef0360a8cd0f863a6c003f080b11c3
[ "MIT" ]
null
null
null
src/compile/BrainfuckCompiler.cpp
nbozidarevic/freud
d16f1930abef0360a8cd0f863a6c003f080b11c3
[ "MIT" ]
null
null
null
#include "BrainfuckCompiler.h" using namespace antlr4; BrainfuckCompiler::BrainfuckCompiler( istream& input, ostream& output ):input(input), output(output) { pointer = 0; } void BrainfuckCompiler::run() { ANTLRInputStream antlrInput(input); SimpleCLexer lexer(&antlrInput); CommonTokenStream tokens(&lexer...
29.533333
159
0.625866
nbozidarevic
6c9fc41e386bca87f22fcff5268fa39d7a5403ec
67,288
cpp
C++
RenderCore/LightingEngine/SunSourceConfiguration.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
RenderCore/LightingEngine/SunSourceConfiguration.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
RenderCore/LightingEngine/SunSourceConfiguration.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "SunSourceConfiguration.h" #include "ShadowPreparer.h" #include "ShadowUniforms.h" // for the attach driver infrastructure #include "../Techniques/TechniqueUtils.h...
55.518152
273
0.64918
djewsbury
6ca0c40ea75d9eb9f0aa57c35c1debc98de28fc0
236
cpp
C++
hexmap_qt/hexmap_widgets/layers_widget.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
hexmap_qt/hexmap_widgets/layers_widget.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
hexmap_qt/hexmap_widgets/layers_widget.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
#include "layers_widget.h" #include "ui_layers_widget.h" layers_widget::layers_widget(QWidget *parent) : QWidget(parent), ui(new Ui::layers_widget) { ui->setupUi(this); } layers_widget::~layers_widget() { delete ui; }
15.733333
47
0.694915
mflagel
6ca180b6b8021c8ae97a451a9e5e3b0b9c7135cf
3,132
cpp
C++
aws-cpp-sdk-discovery/source/model/ConfigurationItemType.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-discovery/source/model/ConfigurationItemType.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-discovery/source/model/ConfigurationItemType.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
32.968421
92
0.650383
ploki
6ca55b8172df1983bf31dab2fb2ed597fb9e16f7
3,015
cpp
C++
src/sigevent.cpp
drcforbin/rwte
e1527369fa46c8ae92cd92269d3820c631771a8b
[ "MIT" ]
9
2017-06-25T03:01:04.000Z
2022-01-01T19:03:26.000Z
src/sigevent.cpp
drcforbin/rwte
e1527369fa46c8ae92cd92269d3820c631771a8b
[ "MIT" ]
null
null
null
src/sigevent.cpp
drcforbin/rwte
e1527369fa46c8ae92cd92269d3820c631771a8b
[ "MIT" ]
2
2019-03-07T21:18:44.000Z
2019-08-27T08:44:14.000Z
#include "rw/logging.h" #include "rwte/sigevent.h" #include <array> #include <atomic> #include <cassert> #include <cstddef> #include <errno.h> #include <signal.h> #include <sys/eventfd.h> #include <unistd.h> #define LOGGER() (rw::logging::get("sigevent")) // todo: clean up all these exposed errors static std::atomi...
25.991379
97
0.6
drcforbin
6ca7a614a69203b0a2b9898b8243b576ad16ad4e
726
cpp
C++
Dynamic Programming/integer-knapsack.cpp
chaitanyarahalkar/Algorithms
27c7f952645afccab12d89c025d69a427c36550f
[ "MIT" ]
3
2021-07-22T12:43:59.000Z
2021-07-23T16:34:54.000Z
Dynamic Programming/integer-knapsack.cpp
chaitanyarahalkar/Algorithms
27c7f952645afccab12d89c025d69a427c36550f
[ "MIT" ]
null
null
null
Dynamic Programming/integer-knapsack.cpp
chaitanyarahalkar/Algorithms
27c7f952645afccab12d89c025d69a427c36550f
[ "MIT" ]
1
2020-05-03T13:56:55.000Z
2020-05-03T13:56:55.000Z
#include <iostream> using std::cout; using std::max; int integer_knapsack(int capacity,int weights[],int values[],int n){ int table[n+1][capacity+1]; for(int i = 0; i <= n;i++){ for(int w = 0; w <= capacity; w++){ if(i == 0 || w == 0) table[i][w] = 0; else if(weights[i-1] <= w) table[i][w] = max...
19.105263
80
0.57989
chaitanyarahalkar
6ca9045f3755a0df5d5a0703cf04eb202eb500a9
11,222
cc
C++
src/formats/bddbinary.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/formats/bddbinary.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/formats/bddbinary.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the ...
35.178683
101
0.652825
nerdling
6cbcef723672032c7692adc6bfce02f9b30c4a79
2,116
cpp
C++
Solutions/jumpGame.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
1
2020-10-30T07:10:23.000Z
2020-10-30T07:10:23.000Z
Solutions/jumpGame.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
null
null
null
Solutions/jumpGame.II.cpp
VenkataAnilKumar/LeetCode
df6d9e4b7172266bef4bc1f771fce3abb2216298
[ "Fair" ]
null
null
null
// Source : https://oj.leetcode.com/problems/jump-game-ii/ // Author : Venkata Anil Kumar /********************************************************************************** * * Given an array of non-negative integers, you are initially positioned at the first index of the array. * * Each element in the array repre...
23.511111
104
0.469754
VenkataAnilKumar
6cbd9aff77171b28f395acf889c57e13e4cc803c
18,513
hpp
C++
TestFile.hpp
tyson3822/IdentifyCardNumberRecognition
ce7885e0de1529d9360427380119b6df49d4cfb9
[ "Apache-2.0" ]
null
null
null
TestFile.hpp
tyson3822/IdentifyCardNumberRecognition
ce7885e0de1529d9360427380119b6df49d4cfb9
[ "Apache-2.0" ]
null
null
null
TestFile.hpp
tyson3822/IdentifyCardNumberRecognition
ce7885e0de1529d9360427380119b6df49d4cfb9
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <fstream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <string> #include <iomanip> using namespace std; #define PRINT_COUNT 0 #define PRINT_RESULT 1 #include "opencv2/core/utility.hpp" #include "opencv2/core/ocl.hpp" #include "opencv2/video/tracking.hpp" #include "ope...
30.499176
147
0.50975
tyson3822
6cc325f6c9e6a7d552dc0e5498b82c313c0c38fd
75
cpp
C++
render/RenderTest/Main.cpp
don-reba/colors-visualization
fe3937087be79715307127591a06f38b4647254f
[ "BSD-3-Clause" ]
null
null
null
render/RenderTest/Main.cpp
don-reba/colors-visualization
fe3937087be79715307127591a06f38b4647254f
[ "BSD-3-Clause" ]
null
null
null
render/RenderTest/Main.cpp
don-reba/colors-visualization
fe3937087be79715307127591a06f38b4647254f
[ "BSD-3-Clause" ]
null
null
null
#define BOOST_TEST_MODULE Offline Test #include <boost/test/unit_test.hpp>
37.5
39
0.826667
don-reba
6cc4ecc5555f7d2798d120ec5260f5544e4061b6
1,967
cpp
C++
salmap_rv/src/exec_graph.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
1
2022-02-17T03:05:40.000Z
2022-02-17T03:05:40.000Z
salmap_rv/src/exec_graph.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
salmap_rv/src/exec_graph.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
#include <salmap_rv/include/exec_graph.hpp> #include <salmap_rv/include/featfilterimpl.hpp> using namespace salmap_rv; void salmap_rv::exec_graph::fill_atomic_filters() { atomic_filters = deps.atomic_filters(); } void salmap_rv::exec_graph::clear() { deps.clear(); atomic_filters.clear(); avail_filters.cle...
17.5625
77
0.683274
flyingfalling
6cc8ff9a7f7b11f987c8e7bcaf228de007838138
1,188
cpp
C++
min_steps.cpp
Nik404/Dynamic-Prograamming
e6ba4901107332189d78fb8c426ee6f82bfc99c8
[ "MIT" ]
1
2020-09-11T05:22:37.000Z
2020-09-11T05:22:37.000Z
min_steps.cpp
Nik404/Dynamic-Prograamming
e6ba4901107332189d78fb8c426ee6f82bfc99c8
[ "MIT" ]
null
null
null
min_steps.cpp
Nik404/Dynamic-Prograamming
e6ba4901107332189d78fb8c426ee6f82bfc99c8
[ "MIT" ]
null
null
null
#include <iostream> #include <climits> using namespace std; int minSteps2(int n,int *arr){ if(n == 1){ return 0; } if(arr[n] > 0){ return arr[n]; } int ans = 1 + minSteps2(n-1,arr); if(n % 2 == 0){ ans = min(ans,1 + minSteps2(n/2,arr)); } if(n %3 == 0){ ans = min(ans,1 + minSteps2(n...
17.470588
73
0.508418
Nik404
6cdd0700835acce3b9f0a7eecc334691a0caa36b
1,418
cpp
C++
master/master_thread.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
7
2019-04-09T16:25:49.000Z
2021-12-07T10:29:52.000Z
master/master_thread.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
null
null
null
master/master_thread.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
4
2019-08-07T07:43:27.000Z
2021-05-21T07:54:14.000Z
// // Created by aiyongbiao on 2018/11/10. // #include <base/node.hpp> #include "master_thread.hpp" #include "glog/logging.h" namespace minips { void MasterThread::Main() { Init(); while (serving_) { Message msg; work_queue_.WaitAndPop(&msg); if (msg.meta.fl...
30.170213
96
0.483075
RickAi
6cdd5dc76cd908597ac166ac042fbb769a0e0e65
3,338
cpp
C++
debugger/cinder/blocks/PretzelGui/src/modules/PretzelTextField.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
2
2019-03-05T09:57:54.000Z
2022-02-14T12:42:01.000Z
src/cinder/blocks/PretzelGui/src/modules/PretzelTextField.cpp
VincentPT/buzz
edaaf4b60e8ef94eda63471ddfb1afd285b6ab38
[ "MIT" ]
null
null
null
src/cinder/blocks/PretzelGui/src/modules/PretzelTextField.cpp
VincentPT/buzz
edaaf4b60e8ef94eda63471ddfb1afd285b6ab38
[ "MIT" ]
1
2019-12-24T22:24:01.000Z
2019-12-24T22:24:01.000Z
#include "PretzelTextField.h" #include "cinder/app/App.h" #include "cinder/app/Window.h" #include "cinder/Utilities.h" //#include "NSCursor.h" using namespace ci; using namespace ci::app; using namespace std; namespace pretzel{ PretzelTextField::PretzelTextField(BasePretzel *parent, std::string labelText, std::strin...
31.490566
135
0.632415
VincentPT
6ce8248920b7bd8fbccc61129ee19c620424980a
27,192
cxx
C++
dune/xt/data/spherical_quadratures/octant_quadrature/data/order_12.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:11.000Z
2020-02-08T04:09:11.000Z
dune/xt/data/spherical_quadratures/octant_quadrature/data/order_12.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
40
2018-08-26T08:34:34.000Z
2021-09-28T13:01:55.000Z
dune/xt/data/spherical_quadratures/octant_quadrature/data/order_12.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:14.000Z
2020-02-08T04:10:14.000Z
// This file is part of the dune-xt-data project: // https://github.com/dune-community/dune-xt-data // Copyright 2009-2018 dune-xt-data developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensou...
103
117
0.585613
dune-community
6cf8cefd2d510fe6e1c474dec747ec11b2703926
2,006
cpp
C++
DeepSpace/src/main/cpp/commands/LineTrackerFollowLine.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
3
2019-01-08T00:09:56.000Z
2020-03-12T03:05:20.000Z
DeepSpace/src/main/cpp/commands/LineTrackerFollowLine.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
12
2019-01-17T00:33:54.000Z
2019-06-27T01:56:18.000Z
DeepSpace/src/main/cpp/commands/LineTrackerFollowLine.cpp
NorthernForce/DeepSpace
b8446f0fb732e7df030970332574e13d94e79df9
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
36.472727
84
0.631605
NorthernForce
6cfa2729a6fedef36192edd39ecd2ceebf9fb4b9
22,521
cpp
C++
Game/ShipElectricSparks.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
44
2018-07-08T16:44:53.000Z
2022-02-06T14:07:30.000Z
Game/ShipElectricSparks.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
31
2019-03-24T16:00:38.000Z
2022-02-24T20:23:18.000Z
Game/ShipElectricSparks.cpp
sjohal21/Floating-Sandbox
0170e3696ed4f012f5f17fdbbdaef1af4117f495
[ "CC-BY-4.0" ]
24
2018-11-08T21:58:53.000Z
2022-01-12T12:04:42.000Z
/*************************************************************************************** * Original Author: Gabriele Giuseppini * Created: 2021-05-29 * Copyright: Gabriele Giuseppini (https://github.com/GabrieleGiuseppini) ***************************************************************************************/ ...
39.719577
175
0.588828
sjohal21
6cfe6905c1e4bad62314e1e2b671e04c14fa71fa
1,009
hpp
C++
code/source/game/devlogic.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/game/devlogic.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/game/devlogic.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_DEVLOGIC_HPP #define CLOVER_DEVLOGIC_HPP #include "build.hpp" #include "game/editor/editor.hpp" #include "ui/hid/actionlistener.hpp" #include "util/dyn_array.hpp" #include "util/profiler.hpp" #include "util/string.hpp" namespace clover { namespace game { /// Handles developer-only logic which can be c...
20.18
121
0.751239
crafn
9f072564830d0c41c8991fbd4e0106f0aa6bf766
430
cpp
C++
FullBright.cpp
Apflmus/Rust-Cheat
7b4a1212cc1b0f46ff8cf510e83ca358b58aeb72
[ "Apache-2.0" ]
36
2017-10-31T21:52:47.000Z
2020-01-19T02:32:27.000Z
FullBright.cpp
J0hnDark/Rust-Cheat
7b4a1212cc1b0f46ff8cf510e83ca358b58aeb72
[ "Apache-2.0" ]
2
2018-01-03T17:22:53.000Z
2019-09-25T19:25:29.000Z
FullBright.cpp
J0hnDark/Rust-Cheat
7b4a1212cc1b0f46ff8cf510e83ca358b58aeb72
[ "Apache-2.0" ]
19
2020-02-22T02:25:22.000Z
2022-03-31T15:08:50.000Z
#include "Globals.h" #include "Utils.h" float origvalue1; float origvalue2; DWORD64 lightColorOrig; void setToDay() { ULONG_PTR objectClass = read<ULONG_PTR>(entity[1].gameObject + 0x30); ULONG_PTR entityPtr = read<ULONG_PTR>(objectClass + 0x18); ULONG_PTR skyDome = read<ULONG_PTR>(entityPtr + 0x28); UL...
25.294118
71
0.711628
Apflmus
9f079944d0af5b6fee82b73ec3940bde0ff085d1
536
cpp
C++
HaloTAS/TASDLL/halo_map_data.cpp
s3anyboy/HaloTAS
9584786f19e1475399298fda2d5783d47623cccd
[ "MIT" ]
6
2019-09-10T19:47:04.000Z
2020-11-26T08:32:36.000Z
HaloTAS/TASDLL/halo_map_data.cpp
s3anyboy/HaloTAS
9584786f19e1475399298fda2d5783d47623cccd
[ "MIT" ]
13
2018-11-24T09:37:49.000Z
2021-10-22T02:29:11.000Z
HaloTAS/TASDLL/halo_map_data.cpp
s3anyboy/HaloTAS
9584786f19e1475399298fda2d5783d47623cccd
[ "MIT" ]
3
2020-07-28T09:19:14.000Z
2020-09-02T04:48:49.000Z
#include "halo_map_data.h" std::string halo::mapdata::tag_entry::tag_class_to_str(uint32_t tag_class) { char c[4]; memcpy(&c, &tag_class, 4); std::reverse(c, c + 4); std::string str(c, 4); return str; } std::string halo::mapdata::tag_entry::tag_class_str() { return tag_class_to_str(tag_class); } std::string ha...
20.615385
74
0.744403
s3anyboy
9f0e1a3c89311ca1a68579fabbe0185299ead107
320
cpp
C++
Programmers/src/12906/solution.cpp
lstar2397/algorithms
686ea882079e26111f86b5bd5a7ab1b14ccf0fa2
[ "MIT" ]
null
null
null
Programmers/src/12906/solution.cpp
lstar2397/algorithms
686ea882079e26111f86b5bd5a7ab1b14ccf0fa2
[ "MIT" ]
null
null
null
Programmers/src/12906/solution.cpp
lstar2397/algorithms
686ea882079e26111f86b5bd5a7ab1b14ccf0fa2
[ "MIT" ]
null
null
null
#include <vector> using namespace std; vector<int> solution(vector<int> arr) { int prevElement = -1; vector<int> answer; for (size_t i = 0; i < arr.size(); i++) { int curElement = arr.at(i); if (prevElement != curElement) { answer.push_back(arr.at(i)); prevElement = curElement; } } return answer; }
18.823529
40
0.640625
lstar2397
9f0ffd9712abd9144dc8796567667d9dc8e64b22
613
hpp
C++
src/atmosphere/Generator.hpp
dat14jpe/mulen
33beeb8a38e5556ddd44efba909e18aab9a3d401
[ "MIT" ]
5
2020-01-15T12:49:45.000Z
2021-11-24T05:15:59.000Z
src/atmosphere/Generator.hpp
dat14jpe/mulen
33beeb8a38e5556ddd44efba909e18aab9a3d401
[ "MIT" ]
null
null
null
src/atmosphere/Generator.hpp
dat14jpe/mulen
33beeb8a38e5556ddd44efba909e18aab9a3d401
[ "MIT" ]
null
null
null
#pragma once #include "Common.hpp" #include "util/Shader.hpp" namespace Mulen::Atmosphere { // Atmosphere generator. class Generator { const std::string shaderName; Util::Shader shader; // brick generation shader public: const std::string& GetShaderName() { return shaderName; }...
26.652174
79
0.628059
dat14jpe
9f10972fa8ea326ad5479dd176c28e5e637b17e2
1,755
cpp
C++
projects/solutions/03/driveController.cpp
RoboJackets-Software-Training-Test/test-project-1-oswinso
45b8f82477106bae739069f594ff8711cfc47981
[ "MIT" ]
null
null
null
projects/solutions/03/driveController.cpp
RoboJackets-Software-Training-Test/test-project-1-oswinso
45b8f82477106bae739069f594ff8711cfc47981
[ "MIT" ]
null
null
null
projects/solutions/03/driveController.cpp
RoboJackets-Software-Training-Test/test-project-1-oswinso
45b8f82477106bae739069f594ff8711cfc47981
[ "MIT" ]
null
null
null
#include <STSL/RJRobot.h> #include "pid.h" #include <ctime> #include <unistd.h> #include <cstdlib> int main() { PID controller_left(10.0, 0.1, 0, .01, 0.5, 0.25); PID controller_right(10.0, 0.1, 0, .01, 0.5, 0.25); float target = 0.5; float current = 0; float controller_effort_left, controller...
35.816327
121
0.622792
RoboJackets-Software-Training-Test
2f57ada990ace2990d12d4e8e9443c6c78a2c7ee
1,978
cpp
C++
cpp/visual studio/CalculatorServer/RerollBotConsole/debug_main.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
27
2020-03-29T16:02:09.000Z
2021-12-18T20:08:51.000Z
cpp/visual studio/CalculatorServer/RerollBotConsole/debug_main.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
22
2020-04-03T03:40:59.000Z
2022-03-29T15:55:28.000Z
cpp/visual studio/CalculatorServer/RerollBotConsole/debug_main.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
2
2021-10-17T16:15:46.000Z
2022-01-10T18:56:49.000Z
#pragma once #include "reader_trading.hpp" using namespace reader; template<typename T> void print(const std::map<unsigned int, T>& map, const std::map<unsigned int, std::string>& dictionary = std::map<unsigned int, std::string>()) { for (const auto& entry : map) { if (dictionary.find(entry.first) != dictionar...
39.56
211
0.708291
NiHoel
2f58f8aec3cf2d351f8cdbc2b76cc4c3a3130f4b
1,736
cpp
C++
source/Library.Shared/DirectXHelper.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
source/Library.Shared/DirectXHelper.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
source/Library.Shared/DirectXHelper.cpp
ssshammi/real-time-3d-rendering-with-directx-and-hlsl
05a05c5c26784dafa9a89747276f385252951f2f
[ "MIT" ]
null
null
null
#include "pch.h" #include "DirectXHelper.h" #include "GameException.h" using namespace std; using namespace gsl; namespace Library { void CreateIndexBuffer(not_null<ID3D11Device*> device, const span<const uint16_t>& indices, not_null<ID3D11Buffer**> indexBuffer) { D3D11_BUFFER_DESC indexBufferDesc{ 0 }; indexBu...
41.333333
132
0.797811
ssshammi
2f6d66246269188a6ee76958fbda89c343bee662
9,206
cc
C++
compiler/verify/access_test.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
compiler/verify/access_test.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
compiler/verify/access_test.cc
asoffer/icarus
5c9af79d1a39e14d95da1adacbdd7392908eedc5
[ "Apache-2.0" ]
null
null
null
#include "compiler/compiler.h" #include "compiler/module.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "test/module.h" namespace compiler { namespace { using ::testing::ElementsAre; using ::testing::Eq; using ::testing::IsEmpty; using ::testing::Pair; using ::testing::SizeIs; using ::testing::Unordere...
30.084967
80
0.645449
asoffer
2f71342ed59b3d5ff423a16576635f4b488dde86
2,591
hpp
C++
pass/lgraph_to_lnast/pass_lgraph_to_lnast.hpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
pass/lgraph_to_lnast/pass_lgraph_to_lnast.hpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
pass/lgraph_to_lnast/pass_lgraph_to_lnast.hpp
maximiliantiao/livehd
88215f0d6fc395db96e6ed058f00b9205454bd0c
[ "BSD-3-Clause" ]
null
null
null
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #pragma once #include "pass.hpp" #include "lnast.hpp" #include "lgraph.hpp" class Pass_lgraph_to_lnast : public Pass { protected: uint64_t temp_var_count = 0; uint64_t seq_count = 0; void do_trans(L...
49.826923
105
0.708221
maximiliantiao
2f726f13dfbfcaa829a1d4fd3067f2c66e0e51ae
15,367
cpp
C++
OpenMMPlugin/OpenMMPlugin.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
null
null
null
OpenMMPlugin/OpenMMPlugin.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
null
null
null
OpenMMPlugin/OpenMMPlugin.cpp
MadCatX/molmodel
5abde979e1780dcc61a4b05affcba6e116250585
[ "MIT" ]
null
null
null
/* -------------------------------------------------------------------------- * * SimTK Molmodel(tm): OpenMM Plugin * * -------------------------------------------------------------------------- * * This is part of the SimTK Core biosimulation toolkit originating from ...
45.599407
113
0.573437
MadCatX
2f736a6ce93bac0581e2d3fe130792a513fccd8e
277
cpp
C++
5.14/5_14.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
5.14/5_14.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
5.14/5_14.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
1
2018-08-29T07:40:20.000Z
2018-08-29T07:40:20.000Z
#include<iostream> #include<ctime> int main() { using namespace std; cout<<"Enter the time of seconds"; float secs; cin>>secs; clock_t delay=secs*CLOCKS_PER_SEC; cout<<"starting\a\n"; clock_t start=clock(); while(clock()-start<delay) ; cout<<"done\a\n"; return 0; }
17.3125
35
0.685921
dengxianglong
2f74f7047801223f3c2f19e655a7f430ae9e28f9
6,947
cpp
C++
source/tm/pokemon/substitute.cpp
davidstone/technical-machine
fea3306e58cd026846b8f6c71d51ffe7bab05034
[ "BSL-1.0" ]
7
2021-03-05T16:50:19.000Z
2022-02-02T04:30:07.000Z
source/tm/pokemon/substitute.cpp
davidstone/technical-machine
fea3306e58cd026846b8f6c71d51ffe7bab05034
[ "BSL-1.0" ]
47
2021-02-01T18:54:23.000Z
2022-03-06T19:06:16.000Z
source/tm/pokemon/substitute.cpp
davidstone/technical-machine
fea3306e58cd026846b8f6c71d51ffe7bab05034
[ "BSL-1.0" ]
1
2021-01-28T13:10:41.000Z
2021-01-28T13:10:41.000Z
// Copyright David Stone 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <tm/pokemon/substitute.hpp> #include <tm/move/moves.hpp> #include <tm/move/target.hpp> #include <tm/generation.hpp> name...
24.810714
103
0.727508
davidstone
2f7beda12553d4f4497978504718c5f2d671ed2e
1,462
hpp
C++
input/InputHandler.hpp
CaDS-Studentprojects/PixelGames
a1d7b57bdd9699fc36a64f8a86b92fbd61a3c3df
[ "MIT" ]
null
null
null
input/InputHandler.hpp
CaDS-Studentprojects/PixelGames
a1d7b57bdd9699fc36a64f8a86b92fbd61a3c3df
[ "MIT" ]
null
null
null
input/InputHandler.hpp
CaDS-Studentprojects/PixelGames
a1d7b57bdd9699fc36a64f8a86b92fbd61a3c3df
[ "MIT" ]
null
null
null
/* * InputHandler.hpp * * Created on: Mar 5, 2018 * Author: daniel */ #ifndef INPUTHANDLER_HPP_ #define INPUTHANDLER_HPP_ #include <iostream> #include <thread> #include <memory> //#include <ncurses.h> #include "Input.hpp" using namespace std; namespace pixelgames { namespace input { class InputHandler ...
19.756757
95
0.559508
CaDS-Studentprojects
2f7cc82989ef7d05398699e3de5904c6d30beaa0
7,505
cpp
C++
wpb_mani_bringup/src/wpb_mani_dummy.cpp
6-robot/wpb_mani
6aa6e2d8713c8d018a422e4665ff8fcd7e299ad0
[ "BSD-3-Clause" ]
4
2021-02-08T03:55:26.000Z
2021-12-13T12:06:34.000Z
wpb_mani_bringup/src/wpb_mani_dummy.cpp
6-robot/wpb_mani
6aa6e2d8713c8d018a422e4665ff8fcd7e299ad0
[ "BSD-3-Clause" ]
null
null
null
wpb_mani_bringup/src/wpb_mani_dummy.cpp
6-robot/wpb_mani
6aa6e2d8713c8d018a422e4665ff8fcd7e299ad0
[ "BSD-3-Clause" ]
1
2021-06-08T01:17:54.000Z
2021-06-08T01:17:54.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017-2020, Waterplus http://www.6-robot.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
33.959276
139
0.619853
6-robot