hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
fc8e259de934fd2bba8d8d85b352f2742268e755
2,214
cpp
C++
pure_pursuit_core/src/PathTracker.cpp
EricWang1hitsz/se2_navigation
081ef6700d58a2fcb81164013bf8ee309f7e202b
[ "BSD-3-Clause" ]
null
null
null
pure_pursuit_core/src/PathTracker.cpp
EricWang1hitsz/se2_navigation
081ef6700d58a2fcb81164013bf8ee309f7e202b
[ "BSD-3-Clause" ]
null
null
null
pure_pursuit_core/src/PathTracker.cpp
EricWang1hitsz/se2_navigation
081ef6700d58a2fcb81164013bf8ee309f7e202b
[ "BSD-3-Clause" ]
null
null
null
/* * PathTracker.cpp * * Created on: Mar 20, 2020 * Author: jelavice */ #include "pure_pursuit_core/path_tracking/PathTracker.hpp" #include <iostream> #include "pure_pursuit_core/heading_control/HeadingController.hpp" #include "pure_pursuit_core/math.hpp" #include "pure_pursuit_core/path_tracking/PathPrep...
28.025316
109
0.765583
EricWang1hitsz
fc92983a4fbc4cadfe22630b95519c852898c683
2,125
cpp
C++
trunk/ProjectFootball/src/audio/CPlayListSystem.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
trunk/ProjectFootball/src/audio/CPlayListSystem.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
trunk/ProjectFootball/src/audio/CPlayListSystem.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2007 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or ...
25.60241
80
0.448
dividio
fc975fd192fac032affddf4be65010af4b7edcbf
1,369
cpp
C++
gstreaming/source/server/src/rtsp_server_util.cpp
hofbi/telecarla
020704a3b7087bc426f5ff97655c7e676c8b01bf
[ "MIT" ]
26
2020-06-09T18:28:07.000Z
2022-03-19T01:27:40.000Z
gstreaming/source/server/src/rtsp_server_util.cpp
hofbi/telecarla
020704a3b7087bc426f5ff97655c7e676c8b01bf
[ "MIT" ]
15
2020-06-21T21:04:44.000Z
2022-02-20T17:24:58.000Z
gstreaming/source/server/src/rtsp_server_util.cpp
hofbi/telecarla
020704a3b7087bc426f5ff97655c7e676c8b01bf
[ "MIT" ]
7
2020-06-21T11:55:53.000Z
2021-12-18T09:16:06.000Z
#include "rtsp_server_util.h" #include <glib.h> #include <ros/console.h> #include <sensor_msgs/image_encodings.h> #include "gst_server_context.h" namespace lmt { namespace server { void needData(GstElement* appSrc, guint /*unused*/, GstServerContext* context) { context->app->bufferNewData(appSrc); } void mediaC...
37
118
0.745069
hofbi
fc981c53fabc0c784fc498dab6ff4051d4f55b06
28,217
cpp
C++
dist/wcjukebox/src/main.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
14
2015-01-13T18:33:37.000Z
2022-01-10T22:17:41.000Z
dist/wcjukebox/src/main.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
5
2020-07-12T22:54:11.000Z
2022-01-30T12:18:56.000Z
dist/wcjukebox/src/main.cpp
Bekenn/wcdx
148bda0c17b9a977e2ef90f27d48b206f89498da
[ "MIT" ]
1
2019-05-24T22:18:10.000Z
2019-05-24T22:18:10.000Z
#include "wcaudio_stream.h" #include "wave.h" #include <stdext/array_view.h> #include <stdext/file.h> #include <stdext/scope_guard.h> #include <stdext/string.h> #include <stdext/utility.h> #include <filesystem> #include <iomanip> #include <iostream> #include <sstream> #include <stdexcept> #include <string_view> #incl...
45.806818
126
0.543077
Bekenn
fc9e4fa4dc39218ba8c4752be64df8309dee6445
1,604
cc
C++
Codeforces/731-DIV3/B.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/731-DIV3/B.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/731-DIV3/B.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ...
20.05
67
0.413342
aajjbb
fc9eaf83c17806a7332ea13b23900f0c24b80566
1,396
hpp
C++
include/builtins.hpp
samcoppini/Glass-Interpreter
373d1bf9d5fbed144b7198da1b065ded533f99cd
[ "BSL-1.0" ]
null
null
null
include/builtins.hpp
samcoppini/Glass-Interpreter
373d1bf9d5fbed144b7198da1b065ded533f99cd
[ "BSL-1.0" ]
null
null
null
include/builtins.hpp
samcoppini/Glass-Interpreter
373d1bf9d5fbed144b7198da1b065ded533f99cd
[ "BSL-1.0" ]
null
null
null
#ifndef BUILTINS_HPP #define BUILTINS_HPP #include "class.hpp" #include "variable.hpp" #include <map> #include <string> // An enumeration of all of the built-in functions enum class Builtin: int { // Functions in the built-in I class InputLine, // I.l InputChar, // I.c InputEof, // I.e // Funct...
24.928571
81
0.570917
samcoppini
fc9fd6a682038a09ad1ff2cb82ae7c7ffeb9e855
2,192
cpp
C++
examples/RpgDemo/fireball.cpp
RonenNess/ness-engine
5e6ea6c2fb59c2ccaef8cebcd133e717aec7d739
[ "Zlib" ]
30
2015-05-03T21:30:59.000Z
2022-01-12T04:25:06.000Z
examples/RpgDemo/fireball.cpp
RonenNess/ness-engine
5e6ea6c2fb59c2ccaef8cebcd133e717aec7d739
[ "Zlib" ]
1
2015-08-20T14:35:06.000Z
2015-08-20T21:17:21.000Z
examples/RpgDemo/fireball.cpp
RonenNess/ness-engine
5e6ea6c2fb59c2ccaef8cebcd133e717aec7d739
[ "Zlib" ]
5
2015-02-05T11:53:51.000Z
2020-03-08T10:57:24.000Z
#include "fireball.h" #include "character.h" #define FIREBALL_ANIM_STEPS 3 #define FIREBALL_DIRECTIONS_COUNT 4 Fireball::Fireball(Ness::LightNodePtr& lightNode, Ness::NodePtr& parent, const Ness::Point& position, const int direction) { // create sprite and animator m_direction = direction; m_parent = parent; m_sp...
32.716418
147
0.74635
RonenNess
fca225d128299273e9c10512d3605b9a118b9324
129
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/bench/btl/libs/BLAS/main.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/bench/btl/libs/BLAS/main.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/bench/btl/libs/BLAS/main.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:cd4a0e77cbc83e004385d988fa1135793c26b4f6a51cb6be3764696a721e007d size 2963
32.25
75
0.883721
initialz
fca29685edccd4fc21a8a33358f81729eab0c509
8,845
cpp
C++
obelus/client/math/math.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
36
2021-07-08T01:30:44.000Z
2022-03-25T13:16:59.000Z
obelus/client/math/math.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
2
2021-09-11T05:11:55.000Z
2022-01-28T07:49:39.000Z
obelus/client/math/math.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
14
2021-07-08T00:11:12.000Z
2022-03-20T11:10:17.000Z
#include "../utilities/csgo.hpp" #include "../../hack/features/visuals/esp.h" bool math::GetBoundingBox(BaseEntity* entity, bbox_t& box) { const auto collideable = entity->Collideables(); if (collideable == nullptr) return false; vec3_t top, down, air, s[2]; vec3_t adjust = vec3_t(0, 0, -15) * entity->DuckAmo...
32.638376
181
0.625438
monthyx1337
fca2dcab8b0d5d7d76124ae2a81cb36384774487
12,242
cc
C++
chrome/credential_provider/extension/task_manager_unittests.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/credential_provider/extension/task_manager_unittests.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/credential_provider/extension/task_manager_unittests.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include <atlcomcli.h> #include <windows.h> #include "base/bind.h" #include "base/guid.h" #include "base/strings/string_number_convers...
36.434524
80
0.740974
iridium-browser
fca51743d38453ae21af19365b6a2abe635f8d6d
2,655
cpp
C++
DungeonScene.cpp
kaitokidi/ChamanClickerBattle
248ca07c80a2ab3ee6376c8262e6c120e4650051
[ "MIT" ]
1
2016-01-27T17:02:03.000Z
2016-01-27T17:02:03.000Z
DungeonScene.cpp
kaitokidi/ChamanClickerBattle
248ca07c80a2ab3ee6376c8262e6c120e4650051
[ "MIT" ]
null
null
null
DungeonScene.cpp
kaitokidi/ChamanClickerBattle
248ca07c80a2ab3ee6376c8262e6c120e4650051
[ "MIT" ]
null
null
null
#include "DungeonScene.hpp" #include "Game.hpp" DungeonScene::DungeonScene(Game* g, sf::RenderWindow* w, sceneTypes sT, std::string name, std::string description) : ScenePlayable(g,w,sT,name,description), _topDoor(0,sf::Vector2f(120,16),directions::up), _botDoor(0,sf::Vector2f(120,144),directions::down), ...
31.987952
116
0.699435
kaitokidi
fca760afd3e25385bd40abc1797bfb0dfacc7e7b
11,996
cpp
C++
raptor/external/hypre_wrapper.cpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
25
2017-11-20T21:45:43.000Z
2019-01-27T15:03:25.000Z
raptor/external/hypre_wrapper.cpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
3
2017-11-21T01:20:20.000Z
2018-11-16T17:33:06.000Z
raptor/external/hypre_wrapper.cpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
5
2017-11-20T22:03:57.000Z
2018-12-05T10:30:22.000Z
// Copyright (c) 2015-2017, RAPtor Developer Team // License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause #include "hypre_wrapper.hpp" HYPRE_IJVector convert(raptor::ParVector& x_rap, RAPtor_MPI_Comm comm_mat) { int num_procs, rank; RAPtor_MPI_Comm_rank(comm_mat, &rank); RAPtor_MPI_Comm_s...
35.808955
133
0.652634
lukeolson
fca76201a8f28c73583fc244019de92973547be7
221
cpp
C++
chapter 2/2.cpp
lyhlyhl/cpp_Primer_Plus_tasks
0b966ec8216ac9bb8baffe462e15317c2d98c5de
[ "MIT" ]
null
null
null
chapter 2/2.cpp
lyhlyhl/cpp_Primer_Plus_tasks
0b966ec8216ac9bb8baffe462e15317c2d98c5de
[ "MIT" ]
null
null
null
chapter 2/2.cpp
lyhlyhl/cpp_Primer_Plus_tasks
0b966ec8216ac9bb8baffe462e15317c2d98c5de
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int distance; cout << "please input the distance(long):"; cin >> distance; cout << distance * 220 << " yard" << endl; cin.get(); cin.get(); }
17
47
0.570136
lyhlyhl
fca99119511fb7fafa00f4c442f6614a3b157465
1,553
cpp
C++
private/shell/shell32/unicpp/admover.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/shell32/unicpp/admover.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/shell32/unicpp/admover.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// ADMover.cpp : Implementation of DLL Exports. // Note: Proxy/Stub Information // To build a separate proxy/stub DLL, // run nmake -f ADMoverps.mk in the project directory. #include "stdafx.h" #pragma hdrstop #include "deskmovr.h" #ifdef POSTSPLIT CComModule _Module; BEGIN_OBJECT_MAP(...
27.732143
122
0.670959
King0987654
fcaecfedb90217f34201526356e1650d389b8c20
952
cpp
C++
engine/src/common/clock.cpp
justinvh/raptr
b6f8c9badbf2731f555ec05d54d5865627af6022
[ "MIT" ]
3
2018-07-03T16:08:26.000Z
2018-07-15T01:18:15.000Z
engine/src/common/clock.cpp
justinvh/raptr
b6f8c9badbf2731f555ec05d54d5865627af6022
[ "MIT" ]
null
null
null
engine/src/common/clock.cpp
justinvh/raptr
b6f8c9badbf2731f555ec05d54d5865627af6022
[ "MIT" ]
null
null
null
#include <chrono> #include <raptr/common/clock.hpp> #include <raptr/common/logging.hpp> namespace { auto logger = raptr::_get_logger(__FILE__); }; namespace raptr::clock { namespace { auto clock_last = Time::now(); auto paused_time = Time::now(); int64_t offset_us = 0; bool paused = false; using us = std::chrono::mi...
17
84
0.591387
justinvh
fcb27c2e5c398e88e00d3d801cf7b69940818caa
6,942
hpp
C++
src/restio_api_mapper.hpp
Ri0n/restio
20e0324645fece1cbef43a740e52023c9e255c15
[ "BSD-2-Clause" ]
null
null
null
src/restio_api_mapper.hpp
Ri0n/restio
20e0324645fece1cbef43a740e52023c9e255c15
[ "BSD-2-Clause" ]
null
null
null
src/restio_api_mapper.hpp
Ri0n/restio
20e0324645fece1cbef43a740e52023c9e255c15
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2021, Sergei Ilinykh <rion4ik@gmail.com> 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 and the followin...
39
119
0.612215
Ri0n
fcb4b834718298760214e85fa27f2830f9835767
1,823
hpp
C++
includes/eeros/control/SignalChecker.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/SignalChecker.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/SignalChecker.hpp
RicoPauli/eeros
3cc2802253c764b16c6368ad7bdaef1e3c683367
[ "Apache-2.0" ]
null
null
null
#ifndef ORG_EEROS_SIGNAL_CHECKER_HPP_ #define ORG_EEROS_SIGNAL_CHECKER_HPP_ #include <eeros/control/Block1i.hpp> #include <eeros/safety/SafetyLevel.hpp> #include <eeros/safety/SafetySystem.hpp> #include <eeros/logger/Logger.hpp> namespace eeros { namespace control { using namespace safety; templ...
25.319444
116
0.625343
RicoPauli
fcb8ea4db8b19c244bd8788132101f9b0777f038
2,385
cpp
C++
Sethi/DivisionWithSubraction.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
Sethi/DivisionWithSubraction.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
Sethi/DivisionWithSubraction.cpp
przet/CppProgramming
042aff253988b74db47659d36806912ce84dd8bc
[ "MIT" ]
null
null
null
// m div n #include <iostream> int main() { // initialise the two integers to be stored from input int m = 0, n = 0; std::cout << "Please enter two integers \n"; // read in two inputs std::cin >> m; std::cin >> n; // store m - n. Will be useful for the loop later on, and some preliminary...
41.842105
258
0.568134
przet
fcbf95c0792d9a2c75c07942340771c0d80af552
24,990
cpp
C++
src/contours.cpp
jvo203/FITSWebQL
59a98bc1916ce5b5d88ec1ee1986009f47a76e8b
[ "MIT" ]
1
2022-03-09T07:21:48.000Z
2022-03-09T07:21:48.000Z
src/contours.cpp
jvo203/FITSWebQL
59a98bc1916ce5b5d88ec1ee1986009f47a76e8b
[ "MIT" ]
1
2020-06-04T08:12:36.000Z
2020-06-08T06:20:06.000Z
src/contours.cpp
jvo203/FITSWebQL
59a98bc1916ce5b5d88ec1ee1986009f47a76e8b
[ "MIT" ]
null
null
null
/*************************************************************************** * Copyright (C) 2007 by Bjorn Harpe,,, * * bjorn@ouelong.com * * * * This program is free software; you can redistribute it and/or modify * * it under th...
34.326923
125
0.461024
jvo203
fcbfffa36fef185d08542e75b888b743f179cb7c
562
hpp
C++
LeetCode/C++/1150._Check_If_a_Number_Is_Majority_Element_in_a_Sorted_Array/solution.hpp
icgw/LeetCode
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
4
2018-09-12T09:32:17.000Z
2018-12-06T03:17:38.000Z
LeetCode/C++/1150._Check_If_a_Number_Is_Majority_Element_in_a_Sorted_Array/solution.hpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
LeetCode/C++/1150._Check_If_a_Number_Is_Majority_Element_in_a_Sorted_Array/solution.hpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
/* * solution.hpp * Copyright (C) 2019 Guowei Chen <icgw@outlook.com> * * Distributed under terms of the GPL license. */ #ifndef _SOLUTION_HPP_ #define _SOLUTION_HPP_ #include <vector> using std::vector; #include <algorithm> using std::equal_range; #include <iterator> using std::distance; class Solution { pub...
19.37931
72
0.706406
icgw
fcc8ff13d2044831c93f6a11cd4f8cf07c051dc0
752
hpp
C++
include/ParseEntry.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
include/ParseEntry.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
include/ParseEntry.hpp
astrowar/Cinform
f7fb7fcc3c3f83e1ee2691d968086e37faed038b
[ "MIT" ]
null
null
null
#ifndef PARSEENTRY_HPP #define PARSEENTRY_HPP #include <preprocess.hpp> #include <pmatch_baseClass.hpp> #include <list> using namespace std; namespace CInform { using namespace Match; namespace CodeParser { class MatchedParagraph { public: SParagraph* paragraph; list< MatchResult > mList; Matc...
14.745098
74
0.712766
astrowar
fcc95daaf86110f91a6d4456599568060fc64b4d
1,242
cpp
C++
Game/Source/ThroneAngel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
null
null
null
Game/Source/ThroneAngel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
7
2022-03-19T21:14:34.000Z
2022-03-19T21:53:13.000Z
Game/Source/ThroneAngel.cpp
aNnAm2606/PROJECT-II-BAKARA-SAN
84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f
[ "MIT" ]
1
2022-03-08T12:25:02.000Z
2022-03-08T12:25:02.000Z
#include "ThroneAngel.h" #include "App.h" #include "Textures.h" #include "Render.h" #include "ATearsInHeaven.h" #include "AAngeleyes.h" #include "Audio.h" ThroneAngel::ThroneAngel(iPoint g_pos) : Enemy(g_pos) { p_CharacterName = "throne angel"; p_CharacterId = ECharacterType::ECHARACTER_MIPHARESH; p_Stats.health = ...
24.352941
85
0.714976
aNnAm2606
fccfe36132cf37ca81ba1440cf3ce6cc63e27f79
12,137
cpp
C++
tools/manager/src/user_config_descriptions.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
5
2018-03-02T04:02:39.000Z
2018-08-07T19:36:50.000Z
tools/manager/src/user_config_descriptions.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
27
2018-03-10T20:37:38.000Z
2018-10-08T11:10:34.000Z
tools/manager/src/user_config_descriptions.cpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
null
null
null
#include "framework.hpp" #include "user_config_descriptions.hpp" using namespace std::literals; auto load_user_config_descriptions() -> std::unordered_map<std::wstring_view, std::wstring_view> { return { // clang-format off { L"Display"sv, LR"(Settings for controlling the display of the game.)"sv ...
40.456667
347
0.7445
SleepKiller
fcd2cf26083ee49eefd2636c16d5414e6467837c
2,089
hpp
C++
include/ezdxf/acdb/object.hpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
2
2021-02-10T08:14:59.000Z
2021-12-09T08:55:01.000Z
include/ezdxf/acdb/object.hpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
null
null
null
include/ezdxf/acdb/object.hpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
1
2021-02-10T08:25:20.000Z
2021-02-10T08:25:20.000Z
// Copyright (c) 2021, Manfred Moitzi // License: MIT License // #ifndef EZDXF_OBJECT_HPP #define EZDXF_OBJECT_HPP #include <stdexcept> #include "ezdxf/type.hpp" namespace ezdxf::acdb { using ezdxf::Handle; // acdb::Object is the base class for all DXF entities in a DXF Document // which have a handle. ...
28.616438
80
0.589756
mozman
fcd35c88697a8f366574654be0f2823e1a878233
8,815
cc
C++
misc/slowlink/slowlink.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
4
2015-06-12T05:08:56.000Z
2017-11-13T11:34:27.000Z
misc/slowlink/slowlink.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
null
null
null
misc/slowlink/slowlink.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
1
2021-10-20T02:04:53.000Z
2021-10-20T02:04:53.000Z
#include "LockWait.h" #include "thread_slinger.h" #include "pfkposix.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <inttypes.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include...
32.054545
79
0.5789
flipk
fcd423355edaa0699203c38ccaf8674ee876b34d
3,699
cpp
C++
src/bullet.cpp
hanss314/PyDanmaku
4c6c27d1fa1c687bfa1f356f66f0ee006d6911f3
[ "MIT" ]
null
null
null
src/bullet.cpp
hanss314/PyDanmaku
4c6c27d1fa1c687bfa1f356f66f0ee006d6911f3
[ "MIT" ]
13
2018-01-29T02:00:26.000Z
2018-11-05T05:36:27.000Z
src/bullet.cpp
hanss314/PyDanmaku
4c6c27d1fa1c687bfa1f356f66f0ee006d6911f3
[ "MIT" ]
8
2018-01-29T04:47:55.000Z
2018-10-15T11:49:11.000Z
#include <stdbool.h> #include <math.h> #include <cstdio> #include <iostream> #include "../include/bullet.h" bool Bullet::run(double timestep, Bullet ref){ lx = x; ly = y; la = angle; lc = c; ls = s; //leave old reference frame double nx, ny; if (_ref_applied){ x -= ref.lx; y -= ref.ly; angle -...
28.236641
88
0.546364
hanss314
fcd47b2b032bd3c6cb3ff077f8124968c2d8b4a5
5,206
hpp
C++
src/include/duckdb/function/table/arrow.hpp
taniabogatsch/duckdb
dbb043b1149bdd70feec5cce131222d7897a3b91
[ "MIT" ]
null
null
null
src/include/duckdb/function/table/arrow.hpp
taniabogatsch/duckdb
dbb043b1149bdd70feec5cce131222d7897a3b91
[ "MIT" ]
null
null
null
src/include/duckdb/function/table/arrow.hpp
taniabogatsch/duckdb
dbb043b1149bdd70feec5cce131222d7897a3b91
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/function/table/arrow.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/function/table_function.hpp" #include "duckdb/co...
39.439394
117
0.673838
taniabogatsch
fcd918f9674ae48735def26586888e3eac1c701a
3,018
cpp
C++
Source/AsteroidShooter/Laser.cpp
goatryder/asteroidShooter
501b181ab7ccfe98f77b2426e858f3d68aba0b8b
[ "MIT" ]
null
null
null
Source/AsteroidShooter/Laser.cpp
goatryder/asteroidShooter
501b181ab7ccfe98f77b2426e858f3d68aba0b8b
[ "MIT" ]
null
null
null
Source/AsteroidShooter/Laser.cpp
goatryder/asteroidShooter
501b181ab7ccfe98f77b2426e858f3d68aba0b8b
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Laser.h" #include "UObject/ConstructorHelpers.h" #include "Components/StaticMeshComponent.h" #include "Components/AudioComponent.h" // Sets default values ALaser::ALaser() { // Set this actor to call Tick() every frame. You ...
27.944444
121
0.765408
goatryder
fcd97e4cf10acbe5abf8b388a2c35d5f4e63d5f2
8,818
cpp
C++
src/nyx/features/caliper_feret.cpp
sameeul/nyxus
46210ac218b456f822139e884dfed4bd2fdbbfce
[ "MIT" ]
null
null
null
src/nyx/features/caliper_feret.cpp
sameeul/nyxus
46210ac218b456f822139e884dfed4bd2fdbbfce
[ "MIT" ]
6
2022-02-09T20:42:43.000Z
2022-03-24T20:14:47.000Z
src/nyx/features/caliper_feret.cpp
sameeul/nyxus
46210ac218b456f822139e884dfed4bd2fdbbfce
[ "MIT" ]
4
2022-02-03T20:26:23.000Z
2022-02-17T02:59:27.000Z
#include "caliper.h" #include "../parallel.h" #include "rotation.h" CaliperFeretFeature::CaliperFeretFeature() : FeatureMethod("CaliperFeretFeature") { // Letting the feature dependency manager know provide_features({ MIN_FERET_DIAMETER, MAX_FERET_DIAMETER, MIN_FERET_ANGLE, MAX_FERET_ANGLE, ...
31.492857
159
0.634838
sameeul
fcd9ec6cbf5478073b2597d02abc03fea35aff22
973
hpp
C++
inc/shader_program.hpp
tuxerr/lvr
16555daf7c52d10c16243b0e1b30cccee4e306a5
[ "MIT" ]
null
null
null
inc/shader_program.hpp
tuxerr/lvr
16555daf7c52d10c16243b0e1b30cccee4e306a5
[ "MIT" ]
null
null
null
inc/shader_program.hpp
tuxerr/lvr
16555daf7c52d10c16243b0e1b30cccee4e306a5
[ "MIT" ]
null
null
null
#ifndef DEF_SHADER_PROGRAM #define DEF_SHADER_PROGRAM #include <iostream> #include <map> #include <list> #include <string> #define GLFW_INCLUDE_GLCOREARB //#include <GLFW/glfw3.h> #include <stdio.h> #include <string.h> #include "matrix4.hpp" #include "uniform.hpp" #include "uniformblock.hpp" class Program { public: ...
25.605263
212
0.736896
tuxerr
fcdc43ad4ea14d6e37156ec1f8d3f2ba83726154
1,231
hpp
C++
third_party/boost/simd/function/ceil.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/function/ceil.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/function/ceil.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //=========================...
23.673077
100
0.594639
SylvainCorlay
fcdf07281d87a6fb2dbc66af290b8c63a6d78166
340
cpp
C++
codeforces/helpmaths.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
codeforces/helpmaths.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
codeforces/helpmaths.cpp
dhwanisanmukhani/competitive-coding
5392dea65b6ac370ac641c993120d7f252f5b1ac
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { string s; cin>>s; int f=0; int n=s.length(); std::vector<char> v(0); for(int i=0;i<n;i=i+2) { v.push_back(s[i]); } sort(v.begin(),v.end()); for(int k=0;k<((n+1)/2-1);k++) cout<<v[k]<<"+"; cout<<v[(n+1)/2-1]<<e...
14.782609
32
0.555882
dhwanisanmukhani
fcdf9b78850292ca27b80d06b170c601df129373
7,773
cpp
C++
libs/renderer/src/pass.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/renderer/src/pass.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/renderer/src/pass.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include "pass.h" #include <yttrium/base/buffer_appender.h> #include <yttrium/base/string.h> #include <yttrium/geometry/line.h> #include <yttrium/geometry/matrix.h> #include <yttrium/geometry/quad.h...
31.216867
177
0.726875
blagodarin
fcdfe4d385d44b2bce4f9af8b28af515c744ae9f
3,672
hpp
C++
source/application/plugins/qcan-peak/qcan_plugin_peak.hpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
36
2016-08-23T13:05:02.000Z
2022-02-13T07:11:05.000Z
source/application/plugins/qcan-peak/qcan_plugin_peak.hpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
19
2017-01-30T08:59:40.000Z
2018-10-30T07:55:33.000Z
source/application/plugins/qcan-peak/qcan_plugin_peak.hpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
16
2016-06-02T11:15:02.000Z
2020-07-10T11:49:12.000Z
//============================================================================// // File: qcan_plugin_peak.hpp // // Description: CAN plugin for PEAK devices // // ...
37.85567
80
0.498911
canpie
fce26744053549d6ee11415c3e2d63ff64ac9fac
19,171
cpp
C++
libnaucrates/src/statistics/CJoinStatsProcessor.cpp
acmnu/gporca
22e0442576c7e9c578a2a7d6182007ca045baedd
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-05T10:08:56.000Z
2019-03-05T10:08:56.000Z
libnaucrates/src/statistics/CJoinStatsProcessor.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libnaucrates/src/statistics/CJoinStatsProcessor.cpp
ppmht/gporca
7131e3e134e6e608f7e9fef9152a8b5d71e6a59e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright 2018 Pivotal, Inc. // // @filename: // CJoinStatsProcessor.cpp // // @doc: // Statistics helper routines for processing all join types //--------------------------------------------------------------------...
31.583196
163
0.728496
acmnu
fce55c2356000aeaf2a0e541199038c14ec5ffd6
4,268
cpp
C++
src/othello/stats/StatisticsManager.cpp
Orfby/Othello-MMP
72be0ee38a329eff536b17d1e5334353cfd58c6f
[ "MIT" ]
null
null
null
src/othello/stats/StatisticsManager.cpp
Orfby/Othello-MMP
72be0ee38a329eff536b17d1e5334353cfd58c6f
[ "MIT" ]
null
null
null
src/othello/stats/StatisticsManager.cpp
Orfby/Othello-MMP
72be0ee38a329eff536b17d1e5334353cfd58c6f
[ "MIT" ]
null
null
null
//Standard C++: #include <iostream> #include <iomanip> //Othello headers: #include <othello/stats/StatisticsManager.hpp> namespace othello { namespace stats { //////////////////////////////////////////////////////////////// StatisticsManager::StatisticsManager(const std::string& outF...
36.793103
113
0.446579
Orfby
fce9b6716cd99f2f7391f9b784c3db6ec681a619
52,617
cpp
C++
blades/xbmc/xbmc/utils/test/TestDatabaseUtils.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/utils/test/TestDatabaseUtils.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/utils/test/TestDatabaseUtils.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
38.975556
96
0.71055
krattai
fcefdd9ebef6a8c97be2492bdc4d718aaabff697
8,847
hpp
C++
test/io/rgba_test_pixels.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
test/io/rgba_test_pixels.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
test/io/rgba_test_pixels.hpp
cynodelic/tesela
3b86a7b9501c7136d5168c7e314740fa7f72f7a7
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2019 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #ifndef CYNODLEIC_TESELA_TEST_IO_RGBA_TEST_PIXELS_HPP #define CYNODLEIC_TESELA_TEST_IO_RGBA_TEST_PIXELS_HPP std::uint8_t png_rgba_test_p...
176.94
281
0.602464
cynodelic
fcf04f7ac5bb72d29befbcdf4528f6127e1387be
29,879
cc
C++
Grpc/serverfeatures.pb.cc
tomasruizr/EventStoreDb
645fefe9fa5be274e6f61abe59708458620b8047
[ "MIT" ]
null
null
null
Grpc/serverfeatures.pb.cc
tomasruizr/EventStoreDb
645fefe9fa5be274e6f61abe59708458620b8047
[ "MIT" ]
null
null
null
Grpc/serverfeatures.pb.cc
tomasruizr/EventStoreDb
645fefe9fa5be274e6f61abe59708458620b8047
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: serverfeatures.proto #include "serverfeatures.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor.h>...
44.796102
188
0.762174
tomasruizr
fcf1f2c2bed21bae8cdb17c1e2ba7079cc585529
381
cpp
C++
problems/283.Move_Zeroes/AC_stl_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/283.Move_Zeroes/AC_stl_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/283.Move_Zeroes/AC_stl_n.cpp
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
/* * Author: illuz <iilluzen[at]gmail.com> * File: AC_stl_n.cpp * Create Date: 2015-09-24 11:13:56 * Descripton: */ #include <bits/stdc++.h> using namespace std; const int N = 0; class Solution { public: void moveZeroes(vector<int>& nums) { return fill(remove(nums.begin(), nums.end(), ...
15.24
72
0.582677
subramp-prep
fcf2817896184b8d46c955b637352d3b4478438f
3,357
cpp
C++
ace/tao/orbsvcs/tests/Event/lib/Counting_Consumer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/orbsvcs/tests/Event/lib/Counting_Consumer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/tests/Event/lib/Counting_Consumer.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// Counting_Consumer.cpp,v 1.4 2000/03/24 05:20:21 coryan Exp #include "Counting_Consumer.h" ACE_RCSID(EC_Tests, EC_Count_Consumer, "Counting_Consumer.cpp,v 1.4 2000/03/24 05:20:21 coryan Exp") EC_Counting_Consumer::EC_Counting_Consumer (const char* name) : event_count (0), disconnect_count (0), n...
27.743802
101
0.615133
tharindusathis
fcf3782388b4ce54e3dc0a01cb1de31eac9b64e8
13,861
cpp
C++
src/Samples/src/samples/animations/pump_jack_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/animations/pump_jack_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/animations/pump_jack_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/animations/animation.h> #include <babylon/animations/easing/bezier_curve_ease.h> #include <babylon/animations/easing/easing_function.h> #include <babylon/animations/ianimation_key.h> #include <babylon/cameras/free_camera.h> #include <babylon/engines/scene.h> #include <babylon/interfaces/irenderable_sc...
37.665761
100
0.635236
sacceus
fcf57ec8a6e88185c93dc3f764ba1e14a4140ece
5,242
cpp
C++
src/editor/graph_ed.cpp
geoo89/Lix
47dfd2317509ed5cb39b7b230b2de138dc613a6d
[ "CC0-1.0" ]
1
2015-08-29T05:22:40.000Z
2015-08-29T05:22:40.000Z
src/editor/graph_ed.cpp
carvalhomb/AdaptiveLix
d7054c5f96fae54dccef23e48760851b4981a109
[ "CC0-1.0" ]
null
null
null
src/editor/graph_ed.cpp
carvalhomb/AdaptiveLix
d7054c5f96fae54dccef23e48760851b4981a109
[ "CC0-1.0" ]
null
null
null
/* * editor/graph_ed.cpp * * Hatches are always drawn with a rotation of 0. Instead, rotation means * if lixes should walk to the left (!= 0) instead of the right (== 0). * Thus, some functions must override those in Graphic:: to implement this. * */ #include "graph_ed.h" #include "../gameplay/lookup.h" #inclu...
28.48913
79
0.57459
geoo89
fcf641ad6349c31321ed91a8b6f670f1547414e2
546
hpp
C++
include/termui/window_resize.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
1
2020-07-31T01:34:47.000Z
2020-07-31T01:34:47.000Z
include/termui/window_resize.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
include/termui/window_resize.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
#ifndef WINDOW_RESIZE_H #define WINDOW_RESIZE_H #include "dimensions.hpp" namespace bandwit { namespace termui { class WindowResizeReceiver { public: WindowResizeReceiver() = default; virtual ~WindowResizeReceiver() = default; CLASS_DISABLE_COPIES(WindowResizeReceiver) CLASS_DISABLE_MOVES(WindowRe...
21.84
69
0.723443
numerodix
fcf71d6ac87384ad228ec4341fc7cf4cd88174f9
792
cpp
C++
awesome/c_cpp/cpp-cheat/cpp/cast_operator.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
3
2021-01-06T03:01:18.000Z
2022-03-21T03:02:55.000Z
awesome/c_cpp/cpp-cheat/cpp/cast_operator.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
null
null
null
awesome/c_cpp/cpp-cheat/cpp/cast_operator.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
null
null
null
/* Allows to convert objects to primitives and other objects. http://en.cppreference.com/w/cpp/language/cast_operator */ #include "common.hpp" class ToInt { public: int i; ToInt(int i) : i(i) {} operator int() { return this->i; } }; class ToToInt { public: ...
18.418605
64
0.537879
liujiamingustc
fcf760b3897709d7b29603449f5a87cbabfcc694
117
cpp
C++
lang/Library.cpp
gizmomogwai/cpplib
a09bf4d3f2a312774d3d85a5c65468099a1797b0
[ "MIT" ]
null
null
null
lang/Library.cpp
gizmomogwai/cpplib
a09bf4d3f2a312774d3d85a5c65468099a1797b0
[ "MIT" ]
null
null
null
lang/Library.cpp
gizmomogwai/cpplib
a09bf4d3f2a312774d3d85a5c65468099a1797b0
[ "MIT" ]
null
null
null
#include <lang/Library.h> #ifdef LINUX #include <lang/Library.Linux> #elif WIN32 #include <lang/Library.W32> #endif
14.625
29
0.74359
gizmomogwai
1e02cb66d96eafdf12b13d7df22a6c3997f42770
23,078
cpp
C++
rw_ray_tracing_lib/bvh_builder.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
rw_ray_tracing_lib/bvh_builder.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
rw_ray_tracing_lib/bvh_builder.cpp
HermanLederer/gtaRenderHook
2ce53ce954c2d298717119dd6d02a2e58fff3aed
[ "MIT" ]
null
null
null
#include "bvh_builder.h" #include <DebugUtils/DebugLogger.h> #include <Engine/Common/IRenderingContext.h> #include <Engine/IRenderer.h> #include <algorithm> #include <chrono> #include <limits> #include <sstream> #include <ray_tracing_texture_cache.h> #include <rw_engine/global_definitions.h> #include <rw_engine/rw_rh_p...
39.858377
101
0.580943
HermanLederer
1e042b146202b0bb3b0b41544c871b7995b30b11
679
hpp
C++
src/sdk/data/LimitedTupleDatabase.hpp
psettle/sudoku
ea0040f3a9c1c093fa9ece851d2ec4104760e97a
[ "MIT" ]
1
2020-10-11T06:54:04.000Z
2020-10-11T06:54:04.000Z
src/sdk/data/LimitedTupleDatabase.hpp
psettle/sudoku
ea0040f3a9c1c093fa9ece851d2ec4104760e97a
[ "MIT" ]
null
null
null
src/sdk/data/LimitedTupleDatabase.hpp
psettle/sudoku
ea0040f3a9c1c093fa9ece851d2ec4104760e97a
[ "MIT" ]
null
null
null
/** * LimitedTupleDatabase.hpp - Limit Tuple Database * * Collection of limited tuples that have been identified */ #ifndef _SDK_LIMITEDTUPLEDATABASE #define _SDK_LIMITEDTUPLEDATABASE #include <memory> #include <vector> #include "sdk/data/LimitedTuple.hpp" namespace sdk { namespace data { class LimitedTupleDataba...
24.25
70
0.756996
psettle
1e0553cd57ddb4ac7a88abd158009dae1bea4015
6,495
cc
C++
src/cross_point_detect/cross_points_detector.cc
FlyAlCode/RCLGeolocalization-2.0
2325fd11b23789630b6c12ecd0258c9dec84644a
[ "MIT" ]
4
2021-02-06T07:59:14.000Z
2022-02-22T10:58:27.000Z
src/cross_point_detect/cross_points_detector.cc
FlyAlCode/RCLGeolocalization-2.0
2325fd11b23789630b6c12ecd0258c9dec84644a
[ "MIT" ]
null
null
null
src/cross_point_detect/cross_points_detector.cc
FlyAlCode/RCLGeolocalization-2.0
2325fd11b23789630b6c12ecd0258c9dec84644a
[ "MIT" ]
1
2021-09-15T13:48:00.000Z
2021-09-15T13:48:00.000Z
#include "cross_points_detector.h" // debug #include <iostream> namespace rcll{ CrossPointDetector::CrossPointDetector(int min_cross_point_distance){ min_cross_point_distance_ = min_cross_point_distance; } CrossPointDetector::~CrossPointDetector(){ } int CrossPointDetector::CountDisconnectPoints(const...
40.092593
165
0.529484
FlyAlCode
1e08a1480140ffd104e047a84a24dea75d5ebaa7
1,110
cpp
C++
codes/HDU/hdu4462.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4462.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4462.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <set> #include <bitset> #include <algorithm> using namespace std; const int maxn = 55; const int maxm = 15; const int inf = 0x3f3f3f3f; bitset<maxn * maxn> s, p[maxm]; int N, K, R[maxm], C[maxm], D[maxm]; int g[maxn][maxn]; void init () { memset(g, 0...
16.086957
46
0.452252
JeraKrs
1e0b264189a1521697792d610ec30c1f37317b0f
2,369
cpp
C++
HackerEarth/Graph/Just shortest distance problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
3
2017-12-27T04:58:16.000Z
2018-02-05T14:11:06.000Z
HackerEarth/Graph/Just shortest distance problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
4
2018-10-04T07:45:07.000Z
2018-11-23T17:36:20.000Z
HackerEarth/Graph/Just shortest distance problem.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
8
2018-10-02T20:34:58.000Z
2018-10-07T14:27:53.000Z
/* You are given an empty graph of N vertices and M queries of two types: Given a number X answer what is the shortest distance from the vertex 1 to the vertex X. Given two integers X, Y add the new oriented edge from X to Y. Input The first line contains two integers N and M. The following M lines describe ...
18.952
191
0.493879
Gmaurya
1f6122f5bc91ab037013e19755482a73b47ef2d8
7,034
hpp
C++
src/Matrices/SPointArray.hpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
7
2019-01-16T06:35:10.000Z
2022-03-21T16:55:25.000Z
src/Matrices/SPointArray.hpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
1
2022-03-18T21:05:13.000Z
2022-03-18T21:05:13.000Z
src/Matrices/SPointArray.hpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
5
2019-01-16T04:17:12.000Z
2022-03-21T22:01:30.000Z
// The SPointArray class implements a set of sparse data points; see // the SPoint class for an individual sparse data point. The point set // is treated as a sparse matrix, which is represented by three // numbers and three arrays. Let the matrix have a size N*d with nnz // nonzero elements, where N is the number of p...
38.437158
80
0.688797
ahbarnett
1f63afd604f068b46005bd634af66015ac2795ba
3,904
cpp
C++
cli/src/sync_dat.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
cli/src/sync_dat.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
cli/src/sync_dat.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
#include <exodus/program.h> programinit() var last_sync_date; var last_sync_time; function main() { var datpath = COMMAND.a(2); if (not datpath) { //datpath = osgetenv("EXO_HOME") ^ "/dat"; if (not datpath.osgetenv("EXO_HOME")) datpath = osgetenv("HOME"); datpath ^= "/dat"; } var force = index(OPTIO...
23.238095
106
0.633453
BOBBYWY
1f65131beb18d615a01ac1fa1c699cb7042bee92
533
hpp
C++
sgreader/exception/RuntimeException.hpp
Vinorcola/citybuilding-tools
df91d8106987af45f1d11a34470acadb3873a91a
[ "MIT" ]
null
null
null
sgreader/exception/RuntimeException.hpp
Vinorcola/citybuilding-tools
df91d8106987af45f1d11a34470acadb3873a91a
[ "MIT" ]
null
null
null
sgreader/exception/RuntimeException.hpp
Vinorcola/citybuilding-tools
df91d8106987af45f1d11a34470acadb3873a91a
[ "MIT" ]
null
null
null
#ifndef RUNTIMEEXCEPTION_HPP #define RUNTIMEEXCEPTION_HPP #include <QtCore/QException> class RuntimeException : public QException { private: const QString message; const std::string standardFormatMessage; public: RuntimeException(const QString& message); const QString& getMes...
23.173913
59
0.707317
Vinorcola
1f66dc48db47223011f4cdfb964f8fd0c97c0073
32,836
cpp
C++
SimTKcommon/tests/TestScalar.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
SimTKcommon/tests/TestScalar.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
SimTKcommon/tests/TestScalar.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
43.606906
103
0.644811
e-schumann
1f670fa59096390aa78f4f05c0360763b39347a4
25,751
cpp
C++
src/libs/plugins/pokey/pokeyDevice.cpp
mteichtahl/simhub
4c409c61e38bb5deeb58a09c6cb89730d38280e1
[ "MIT" ]
3
2018-03-19T18:09:12.000Z
2021-06-17T03:56:05.000Z
src/libs/plugins/pokey/pokeyDevice.cpp
mteichtahl/simhub
4c409c61e38bb5deeb58a09c6cb89730d38280e1
[ "MIT" ]
19
2017-04-29T11:25:52.000Z
2021-05-07T14:48:59.000Z
src/libs/plugins/pokey/pokeyDevice.cpp
mteichtahl/simhub
4c409c61e38bb5deeb58a09c6cb89730d38280e1
[ "MIT" ]
9
2017-04-26T22:45:06.000Z
2022-02-27T01:08:54.000Z
#include <string.h> #include "elements/attributes/attribute.h" #include "main.h" #include "pokeyDevice.h" using namespace std::chrono_literals; PokeyDevice::PokeyDevice(PokeyDevicePluginStateManager *owner, sPoKeysNetworkDeviceSummary deviceSummary, uint8_t index) { _callbackArg = NULL; _enqueueCallback = NU...
33.972296
174
0.597841
mteichtahl
1f685bfe9060adfa2833fb81f48d6f6b2ca4fb54
421
hpp
C++
src/serialization/spatial.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
716
2015-03-30T16:26:45.000Z
2022-03-30T12:26:58.000Z
src/serialization/spatial.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
1,130
2015-02-21T17:30:44.000Z
2022-03-30T09:06:22.000Z
src/serialization/spatial.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
239
2015-02-05T14:15:14.000Z
2022-03-14T23:51:47.000Z
// // Copyright (c) 2019 INRIA // #ifndef __pinocchio_serialization_spatial_hpp__ #define __pinocchio_serialization_spatial_hpp__ #include "pinocchio/serialization/se3.hpp" #include "pinocchio/serialization/motion.hpp" #include "pinocchio/serialization/force.hpp" #include "pinocchio/serialization/symmetric3.hpp" #inc...
28.066667
56
0.831354
thanhndv212
1f6ad8649c57098ed589225627b04f177fad1348
12,610
cc
C++
wrappers/7.0.0/vtkUniformGridAMRDataIteratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkUniformGridAMRDataIteratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkUniformGridAMRDataIteratorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkCompositeDataIteratorWrap.h" #include "vtkUniformGridAMRDataIteratorWrap.h" #include "vtkObjectWrap.h" #include "vtkInformationWrap.h" #incl...
35.72238
124
0.765583
axkibe
1f6d1c213f0ae2f58da5b768a4b9c8c9b8aeab83
1,204
cpp
C++
Greed-is-Good.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
Greed-is-Good.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
Greed-is-Good.cpp
EdvinAlvarado/Code-Wars
a3a06a44cda004052b5c0930f3693678c5c92e21
[ "BSD-2-Clause" ]
null
null
null
#include <vector> #include <map> #include <iostream> int score(const std::vector<int>& dice) { std::map<int,int> dvalue_counter; int result = 0; for (const int& dvalue: dice) { std::cout << dvalue << " "; dvalue_counter[dvalue]++; } for (auto it = dvalue_counter.begin(); it != dvalue_counter.end(); it++) { ...
25.083333
75
0.542359
EdvinAlvarado
1f718d971c81e0fdf3cf645269132c27308f8042
20,284
cpp
C++
silkopter/fc/src/simulator/Multirotor_Simulator.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
silkopter/fc/src/simulator/Multirotor_Simulator.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
silkopter/fc/src/simulator/Multirotor_Simulator.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "FCStdAfx.h" #include "Multirotor_Simulator.h" #include "uav_properties/IMultirotor_Properties.h" #include "hal.def.h" #include "messages.def.h" //#include "sz_Multirotor_Simulator.hpp" //#include "sz_Multirotor_Simulator_Structs.hpp" namespace silk { namespace node { Multirotor_Simulator::Multirotor_Simula...
41.650924
186
0.659288
jeanleflambeur
1f724206e509b40fb4649375e29fdf9d04580c76
836
cpp
C++
example/thread_pool_example.cpp
yksz/cpp-concurrent-library
c8943b21d9e578673199f29ff8316109445fe93d
[ "MIT" ]
null
null
null
example/thread_pool_example.cpp
yksz/cpp-concurrent-library
c8943b21d9e578673199f29ff8316109445fe93d
[ "MIT" ]
null
null
null
example/thread_pool_example.cpp
yksz/cpp-concurrent-library
c8943b21d9e578673199f29ff8316109445fe93d
[ "MIT" ]
null
null
null
#include <iostream> #include <mutex> #include "ccl/thread_pool.h" static const int kNthreads = 2; static const int kDispatchCount = 5; int main(void) { std::mutex mutex; int count = 0; { ccl::ThreadPool pool(kNthreads); for (int i = 0; i < kDispatchCount; i++) { pool.Dispatch(...
23.885714
72
0.473684
yksz
1f73b02e82ecf6ec931d8604e11cc837e47ace7d
6,897
hh
C++
core/include/milan/core/Histogram.hh
matt-komm/milan-alpha
b6affa5541ca6b01384ab57256983a9fe7e1689c
[ "MIT" ]
null
null
null
core/include/milan/core/Histogram.hh
matt-komm/milan-alpha
b6affa5541ca6b01384ab57256983a9fe7e1689c
[ "MIT" ]
null
null
null
core/include/milan/core/Histogram.hh
matt-komm/milan-alpha
b6affa5541ca6b01384ab57256983a9fe7e1689c
[ "MIT" ]
null
null
null
#ifndef __MILAN_CORE_HISTOGRAM_H__ #define __MILAN_CORE_HISTOGRAM_H__ #include "milan/core/Types.hh" #include "milan/core/Binning.hh" #include "milan/core/Exception.hh" #include "milan/core/HistogramInterface.hh" #include "milan/core/Parameter.hh" #include "milan/core/Ptr.hh" #include "milan/core/HistogramFunction.hh"...
29.348936
95
0.521676
matt-komm
1f76750029ddeb8f5cbc496a2c559c72fafceb3d
452
hpp
C++
cpp-projects/nodes/nodes/ConnectionPainter.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/nodes/nodes/ConnectionPainter.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/nodes/nodes/ConnectionPainter.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
1
2021-07-06T14:47:41.000Z
2021-07-06T14:47:41.000Z
#pragma once // Qt #include <QtGui/QPainter> #include <QIcon> namespace QtNodes{ class ConnectionGeometry; class ConnectionState; class Connection; class ConnectionPainter{ public: static void paint(QPainter* painter, Connection const& connection); static QPainterPath getPainterStroke(ConnectionGeometry con...
20.545455
73
0.75885
FlorianLance
1f7774d46f44223449aabf9c5a31c523abc5ae16
27,947
cpp
C++
EncodePNG/main.cpp
cdyk/debris
cb820b54f5d541d18fb9c3058afbe0dd7670da8b
[ "MIT" ]
null
null
null
EncodePNG/main.cpp
cdyk/debris
cb820b54f5d541d18fb9c3058afbe0dd7670da8b
[ "MIT" ]
null
null
null
EncodePNG/main.cpp
cdyk/debris
cb820b54f5d541d18fb9c3058afbe0dd7670da8b
[ "MIT" ]
null
null
null
#if 0 // FIXME: add zlib dependency. #include <vector> #include <zlib.h> #include <fstream> #include <iostream> #include <cstdlib> #include <cmath> #include <stdexcept> #include <time.h> #include <xmmintrin.h> #include <smmintrin.h> #define WIDTH 1024 //6 #define HEIGHT 768 class TimeStamp { public: TimeStamp() {...
26.872115
115
0.482198
cdyk
1f78534c6ac29c1c1f4ff42b8aa284c7e0d7c508
8,886
cpp
C++
miniapps/mhd/imScale.cpp
fanronghong/mfem
5bc8d5ea1b7e3a0b377423773e78428bf7160612
[ "BSD-3-Clause" ]
1
2020-04-28T05:08:24.000Z
2020-04-28T05:08:24.000Z
miniapps/mhd/imScale.cpp
fanronghong/mfem
5bc8d5ea1b7e3a0b377423773e78428bf7160612
[ "BSD-3-Clause" ]
null
null
null
miniapps/mhd/imScale.cpp
fanronghong/mfem
5bc8d5ea1b7e3a0b377423773e78428bf7160612
[ "BSD-3-Clause" ]
null
null
null
// MFEM modified from Example 10 and 16 // // Compile with: make imMHDp // // Description: It solves a time dependent resistive MHD problem // There three versions: // 1. explicit scheme // 2. implicit scheme using a very simple linear precondit...
30.641379
87
0.609498
fanronghong
1f7a6452665d1c909389e6c7dee21c9904679c9c
595
cpp
C++
src/UnitTest/TUTTest.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/UnitTest/TUTTest.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/UnitTest/TUTTest.cpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/UnitTest/TUTTest.cpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights reserved. See the LICENSE file f...
37.1875
80
0.489076
franjgonzalez
1f7bae902416c708bb6939558da5541394e3c1ac
403
cpp
C++
advance/structWithCpp.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
2
2020-06-02T17:32:09.000Z
2020-11-29T01:24:52.000Z
advance/structWithCpp.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
null
null
null
advance/structWithCpp.cpp
slowy07/c-lesson
89f3b90c75301d59f64a6659eb8da8a3f8be1582
[ "MIT" ]
2
2020-09-23T14:40:28.000Z
2020-11-26T12:32:44.000Z
#include <iostream> using namespace std; struct Rumah { int houseCode; char houseName[100]; //length }; int main() { Rumah rumah; //declaration struct Rumah cout<<"houseCode :"; cin>>rumah.houseCode; cout<<"houseName :"; cin>>rumah.houseName; //create ouput cout<<"data created "<<endl; cout<<"house ...
20.15
47
0.665012
slowy07
1f7f12a6ffe15a419b2ba405037cef94db2ad0de
383
cpp
C++
0049 - Product of consecutive Fib numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
0049 - Product of consecutive Fib numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
0049 - Product of consecutive Fib numbers/solution.cpp
dimitri-dev/CodeWars
da428b2f9da4e56080aac6196575e101b1395c6d
[ "MIT" ]
null
null
null
#include <vector> typedef unsigned long long ull; class ProdFib { public: static std::vector<ull> productFib(ull prod) { ull t1 = 0, t2 = 1, nextTerm = t1 + t2; while(t1*t2 <= prod) { if (t1 * t2 == prod) return {t1, t2, true}; t1 = t2; t2 = nextTerm; nextTerm = t1 + t2; ...
22.529412
51
0.524804
dimitri-dev
1f80a338bc0065be2bd8d75ceae76182a17c9c92
2,360
cpp
C++
scratch/projects/basics/xReciprocalFrames.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
scratch/projects/basics/xReciprocalFrames.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
scratch/projects/basics/xReciprocalFrames.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
/* * ===================================================================================== * * Filename: xReciprocalFrames.cpp * * Description: some calculus tests * * Version: 1.0 * Created: 02/05/2014 12:39:59 * Revision: none * Compiler: gcc * * Author: P...
18.015267
88
0.425847
tingelst
1f8208304eb52691a62fd8f33e1ea34ad00b43a4
2,634
cpp
C++
src/posix/time.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
3
2019-05-20T14:21:11.000Z
2019-05-21T19:09:13.000Z
src/posix/time.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
null
null
null
src/posix/time.cpp
abdes/asap_filesystem
44b8ab19900db6ce58a8802817a5b42d6ab6a4b3
[ "BSD-3-Clause" ]
null
null
null
// Copyright The Authors 2018. // Distributed under the 3-Clause BSD License. // (See accompanying file LICENSE or copy at // https://opensource.org/licenses/BSD-3-Clause) #include "../fs_portability.h" #if defined(ASAP_POSIX) // ------------------------------------------------------------------------...
32.518519
80
0.667046
abdes
1f84070f51d4c926b76df27f24cee448ed1ce071
917
cpp
C++
sorting/quick-sort/quick-sort-tcgen.cpp
zakee94/algorithms
abacc85bf8bda06796b283bae3452f6dbd1897d1
[ "MIT" ]
3
2017-12-14T14:21:37.000Z
2019-07-01T05:51:32.000Z
sorting/quick-sort/quick-sort-tcgen.cpp
zakee94/algorithms
abacc85bf8bda06796b283bae3452f6dbd1897d1
[ "MIT" ]
null
null
null
sorting/quick-sort/quick-sort-tcgen.cpp
zakee94/algorithms
abacc85bf8bda06796b283bae3452f6dbd1897d1
[ "MIT" ]
1
2019-03-04T22:38:49.000Z
2019-03-04T22:38:49.000Z
#include <iostream> #include <fstream> #include <stdlib.h> #include <time.h> using namespace std; #define SIZE 100000000 void swap(int *a, int *b) { int temp; temp = *a; *a = *b; *b = temp; } void printArray(int arr[], int size) { int i; ofstream outFile; outFile.open("input.txt"); ...
15.810345
46
0.513631
zakee94
1f875975a55ca02fc65efe05f5900c797901f749
3,355
cpp
C++
Engine/source/util/catmullRom.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/util/catmullRom.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/util/catmullRom.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platform/platform.h" #include "util/catmullRom.h" #include "math/mMathFn.h" const F32 CatmullRomBase::smX[] = { 0.0000000000f, 0.5384693101f, -0.5384693101f, 0.9061798459f, -0.90617984...
21.645161
94
0.569001
fr1tz
1f8989f008bd2186682b99ccb5577861cd3c9cc3
1,637
hpp
C++
include/StateInGame.hpp
nqbinh47/Maze-Runner
f8bd2ad1c39154676f9b49d0285464396adbcf80
[ "MIT" ]
4
2022-01-18T02:47:11.000Z
2022-01-19T13:04:59.000Z
include/StateInGame.hpp
phphuc62/Maze-Runner
f8bd2ad1c39154676f9b49d0285464396adbcf80
[ "MIT" ]
null
null
null
include/StateInGame.hpp
phphuc62/Maze-Runner
f8bd2ad1c39154676f9b49d0285464396adbcf80
[ "MIT" ]
1
2022-01-18T02:52:53.000Z
2022-01-18T02:52:53.000Z
#pragma once #include "StateGame.hpp" #define SCREEN_TITLE_WIDTH (SCREEN_WIDTH - 2 * SPACE) #define SCREEN_TITLE_HEIGHT (OFFSET_MAZE_Y - 2 * SPACE) #define OFFSET_TITLE_X (SPACE + SCREEN_TITLE_WIDTH / 2) #define OFFSET_TITLE_Y (SPACE + SCREEN_TITLE_HEIGHT / 2) #define NUMBER_OF_BOXES 3 #define NUMBER_OF_BUTTONS 3...
40.925
96
0.808186
nqbinh47
1f8b36183b039cad25ae480f4b2be6b17518b860
2,048
cpp
C++
BasiliskII/src/uae_cpu/fpu/rounding.cpp
jvernet/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
940
2015-01-04T12:20:10.000Z
2022-03-29T12:35:27.000Z
BasiliskII/src/uae_cpu/fpu/rounding.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
163
2015-02-10T09:08:10.000Z
2022-03-13T05:48:10.000Z
BasiliskII/src/uae_cpu/fpu/rounding.cpp
Seanpm2001-virtual-machines/macemu
c616a0dae0f451fc15016765c896175fae3f46cf
[ "Intel", "X11" ]
188
2015-01-07T19:46:11.000Z
2022-03-26T19:06:00.000Z
/* * fpu/rounding.cpp - system-dependant FPU rounding mode and precision * * Basilisk II (C) 1997-2008 Christian Bauer * * MC68881/68040 fpu emulation * * Original UAE FPU, copyright 1996 Herman ten Brugge * Rewrite for x86, copyright 1999-2000 Lauri Pesonen * New framework, copyright 2000 Gwenole Beau...
31.507692
80
0.587402
jvernet
1f8cda7fa9d89777f6f1368265cfe2be5fd45d95
27,457
cpp
C++
DryadVertex/VertexHost/system/channel/src/recorditem.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
242
2015-01-04T08:08:04.000Z
2022-03-31T02:00:14.000Z
DryadVertex/VertexHost/system/channel/src/recorditem.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
2
2015-04-30T07:44:42.000Z
2015-05-19T06:24:31.000Z
DryadVertex/VertexHost/system/channel/src/recorditem.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
50
2015-01-13T20:39:53.000Z
2022-01-09T20:42:34.000Z
/* Copyright (c) Microsoft Corporation All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED *AS IS* BASIS, W...
24.063979
100
0.62953
TheWhiteEagle
1f912a21fa0f0ff1efadb3bd28be31f267a9c009
1,802
cpp
C++
components/arduino/libraries/UC20/call.cpp
pornpol/enres_logger_idf
b3024594e94d70e9c83f7738261fb70696521188
[ "Apache-2.0" ]
null
null
null
components/arduino/libraries/UC20/call.cpp
pornpol/enres_logger_idf
b3024594e94d70e9c83f7738261fb70696521188
[ "Apache-2.0" ]
null
null
null
components/arduino/libraries/UC20/call.cpp
pornpol/enres_logger_idf
b3024594e94d70e9c83f7738261fb70696521188
[ "Apache-2.0" ]
null
null
null
#include "call.h" #include "TEE_UC20.h" CALL:: CALL(){} unsigned char CALL:: Call(String call_number) /* return 0 = Timeout return 1 = OK return 2 = NO CARRIER return 3 = BUSY */ { gsm.print(F("ATD")); gsm.print(call_number); gsm.println(F(";")); while(!gs...
16.381818
70
0.523307
pornpol
1f94657cfbb6f826615438c0587ea187ddfb0a8c
695
cpp
C++
codeforces/1185c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1185c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1185c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { int n, M; cin >> n >> M; vector<int> cnt(101, 0); auto remain = [&](int lim){ int r = 0; int have = 0; for (int i = 1; i <= 100; i++) { if (have + i*cnt[i] <= lim) { have += i*cnt[i]; ...
18.289474
45
0.371223
sogapalag
1f9539cd13ceae2303e02e48b7735be4cf82c190
7,190
cpp
C++
src/atta/graphicsSystem/renderers/phongRenderer.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-06-18T00:48:13.000Z
2021-06-18T00:48:13.000Z
src/atta/graphicsSystem/renderers/phongRenderer.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
6
2021-03-11T21:01:27.000Z
2021-09-06T19:41:46.000Z
src/atta/graphicsSystem/renderers/phongRenderer.cpp
Brenocq/Atta
e29e01067e06b97bc58165bca7351723174c6fc4
[ "MIT" ]
1
2021-09-04T19:54:41.000Z
2021-09-04T19:54:41.000Z
//-------------------------------------------------- // Atta Graphics System // phongRenderer.cpp // Date: 2021-09-18 // By Breno Cunha Queiroz //-------------------------------------------------- #include <atta/graphicsSystem/renderers/phongRenderer.h> #include <atta/graphicsSystem/graphicsManager.h> #include <atta/gr...
43.841463
120
0.581224
Brenocq
1f962f82b1838e00f1496520f9adc39e5113eb16
830
cpp
C++
AIC/AIC'20 - Level 1 Training/Week #9/P.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training/Week #9/P.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training/Week #9/P.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/Rv2Qzg0DgK/contest/287283/problem/P #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); int x = 2, i = 1; strin...
23.714286
75
0.459036
MaGnsio
1f98a5a6eabe784a86ee75b9401b51f7c8434f21
307
cpp
C++
test/ControlTest.cpp
lipk/hadamer-cpp
e2905d0a11ea89ed9991dbb4293ed203ae003a26
[ "MIT" ]
1
2020-11-08T02:29:13.000Z
2020-11-08T02:29:13.000Z
test/ControlTest.cpp
lipk/hadamer-cpp
e2905d0a11ea89ed9991dbb4293ed203ae003a26
[ "MIT" ]
null
null
null
test/ControlTest.cpp
lipk/hadamer-cpp
e2905d0a11ea89ed9991dbb4293ed203ae003a26
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <Control.hpp> #include <iostream> #include <limits> TEST_CASE("mapTuple", "[control]") { auto y = mapTuple(std::make_tuple(1, 2.0), [](auto x) { return x+1;}); CHECK(std::get<0>(y) == 2); CHECK(std::get<1>(y) == 3.0); } TEST_CASE("Loop::simple", "[control]") { }
19.1875
74
0.589577
lipk
1f9cd668d29757d4bfd08fd128d8589975358c4a
120
hpp
C++
lib/thing/include/ge/thing.hpp
snailbaron/ge
a3859d944c1d2534caaf2e9c52b90181e181aef3
[ "MIT" ]
null
null
null
lib/thing/include/ge/thing.hpp
snailbaron/ge
a3859d944c1d2534caaf2e9c52b90181e181aef3
[ "MIT" ]
null
null
null
lib/thing/include/ge/thing.hpp
snailbaron/ge
a3859d944c1d2534caaf2e9c52b90181e181aef3
[ "MIT" ]
null
null
null
#pragma once #include "ge/thing/entity.hpp" #include "ge/thing/entity_manager.hpp" #include "ge/thing/entity_pool.hpp"
20
38
0.766667
snailbaron
1f9e78bcc4ce09c6837b9ebcb0fc1bcc349ce947
939
hpp
C++
include/awl/backends/x11/window/original_class_hint.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
include/awl/backends/x11/window/original_class_hint.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
include/awl/backends/x11/window/original_class_hint.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#ifndef AWL_BACKENDS_X11_WINDOW_ORIGINAL_CLASS_HINT_HPP_INCLUDED #define AWL_BACKENDS_X11_WINDOW_ORIGINAL_CLASS_HINT_HPP_INCLUDED #include <awl/backends/x11/window/class_hint.hpp> #include <awl/detail/symbol.hpp> #include <fcppt/nonmovable.hpp> #include <fcppt/unique_ptr_impl.hpp> #include <fcppt/config/external_begin...
22.902439
93
0.783813
freundlich
1f9fd45b0ceda7f28f2186de522daa432e9a94e1
6,850
cc
C++
online_belief_propagation/side_info_ssbm.cc
xxdreck/google-research
dac724bc2b9362d65c26747a8754504fe4c615f8
[ "Apache-2.0" ]
2
2022-01-21T18:15:34.000Z
2022-01-25T15:21:34.000Z
online_belief_propagation/side_info_ssbm.cc
xxdreck/google-research
dac724bc2b9362d65c26747a8754504fe4c615f8
[ "Apache-2.0" ]
110
2021-10-01T18:22:38.000Z
2021-12-27T22:08:31.000Z
online_belief_propagation/side_info_ssbm.cc
admariner/google-research
7cee4b22b925581d912e8d993625c180da2a5a4f
[ "Apache-2.0" ]
1
2022-02-10T10:43:10.000Z
2022-02-10T10:43:10.000Z
// Copyright 2021 The Google Research Authors. // // 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...
34.59596
80
0.60365
xxdreck
1fa22d5bc9102f5063e86fbaa6bc1a06f6f6bf15
5,239
cc
C++
src/_Meddly/src/storage/ct_styles.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
6
2018-05-30T23:02:14.000Z
2022-01-19T07:30:46.000Z
src/_Meddly/src/storage/ct_styles.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
null
null
null
src/_Meddly/src/storage/ct_styles.cc
asminer/smart
269747c4578b670e5c3973f93a1e6ec71d95be78
[ "Apache-2.0" ]
2
2018-07-13T18:53:27.000Z
2021-04-12T17:54:02.000Z
/* Meddly: Multi-terminal and Edge-valued Decision Diagram LibrarY. Copyright (C) 2009, Iowa State University Research Foundation, Inc. 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 Softwar...
31
113
0.493033
asminer
1fa7dcb5c61b14ca782a826f60f4a615aa8757f8
3,504
cpp
C++
SGCore/sgwin.cpp
mohemam/SGL
8d2b76bb199b8745b4c58fc39ad48e6b443da5e9
[ "MIT" ]
null
null
null
SGCore/sgwin.cpp
mohemam/SGL
8d2b76bb199b8745b4c58fc39ad48e6b443da5e9
[ "MIT" ]
null
null
null
SGCore/sgwin.cpp
mohemam/SGL
8d2b76bb199b8745b4c58fc39ad48e6b443da5e9
[ "MIT" ]
null
null
null
#include "sgwin.h" #include <iostream> #include <Windows.h> namespace sgl { void SetConsoleWindowSize(int width, int height) { HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); if (h == INVALID_HANDLE_VALUE) throw std::runtime_error("Unable to get stdout handle."); // If either dimension is greater than the lar...
28.721311
116
0.704909
mohemam
1faa37a286d85e09b150c0ff75dc229e3fc5c739
496
cpp
C++
bucket_AE/tinyxml2/patches/patch-tinyxml2.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_AE/tinyxml2/patches/patch-tinyxml2.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_AE/tinyxml2/patches/patch-tinyxml2.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- tinyxml2.cpp.orig 2021-06-08 18:04:12.223152000 +0200 +++ tinyxml2.cpp 2021-06-08 18:04:35.876513000 +0200 @@ -103,7 +103,7 @@ #if defined(_WIN64) #define TIXML_FSEEK _fseeki64 #define TIXML_FTELL _ftelli64 -#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__) +#elif defined(__APPLE__) || d...
41.333333
99
0.743952
jrmarino
1fabee3e53ef182cee547c25c1f48a2f9050197d
128
cpp
C++
math/Trig.cpp
nfoste82/engine
9b64077778bf3548a8d1a53bddcaabada7a2957e
[ "MIT" ]
1
2017-02-17T07:15:49.000Z
2017-02-17T07:15:49.000Z
math/Trig.cpp
nfoste82/engine
9b64077778bf3548a8d1a53bddcaabada7a2957e
[ "MIT" ]
null
null
null
math/Trig.cpp
nfoste82/engine
9b64077778bf3548a8d1a53bddcaabada7a2957e
[ "MIT" ]
null
null
null
#include <math.h> #include "Trig.hpp" void Trig::SinCos(float x, float& sn, float& cs) { sn = sinf(x); cs = cosf(x); }
14.222222
48
0.578125
nfoste82
1fb0297c2a3e42e4d568c8d133d5badc83c02700
3,776
cpp
C++
sources/Panel/src/Hardware/HAL/HAL.cpp
Sasha7b9Work/S8-57M
24531cf6d285a400e8be20a939acb842a775a989
[ "MIT" ]
null
null
null
sources/Panel/src/Hardware/HAL/HAL.cpp
Sasha7b9Work/S8-57M
24531cf6d285a400e8be20a939acb842a775a989
[ "MIT" ]
null
null
null
sources/Panel/src/Hardware/HAL/HAL.cpp
Sasha7b9Work/S8-57M
24531cf6d285a400e8be20a939acb842a775a989
[ "MIT" ]
null
null
null
// 2022/04/20 16:52:11 (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by #include "defines.h" #include "Hardware/HAL/HAL.h" #include "Hardware/HAL/HAL_PINS.h" namespace HAL { static void SystemClockConfig(); } void HAL::Init() { SystemClockConfig(); HAL_Init(); HAL_NVIC_SetPriorityGrouping(NVIC_PR...
27.97037
120
0.727225
Sasha7b9Work
1fb729683d50a1300d855f1baf5a597308eca89a
122
hh
C++
dead_pixel/gfx/graphics_context.hh
ErrorOnUsername/dead-pixel
a13dba2a5be60c1b0d4112fc3557639d6d5af29a
[ "BSD-2-Clause" ]
null
null
null
dead_pixel/gfx/graphics_context.hh
ErrorOnUsername/dead-pixel
a13dba2a5be60c1b0d4112fc3557639d6d5af29a
[ "BSD-2-Clause" ]
null
null
null
dead_pixel/gfx/graphics_context.hh
ErrorOnUsername/dead-pixel
a13dba2a5be60c1b0d4112fc3557639d6d5af29a
[ "BSD-2-Clause" ]
null
null
null
#pragma once namespace DP::GraphicsContext { void init(void* window_handle); void swap_buffers(void* window_handle); }
13.555556
39
0.770492
ErrorOnUsername
1fb9879d7534cbfebe84c694c658ef790d5a7510
1,161
cpp
C++
pysrc/enumer-test.cpp
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
1,261
2016-12-16T14:29:30.000Z
2022-03-30T20:21:25.000Z
pysrc/enumer-test.cpp
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
190
2016-12-17T13:44:09.000Z
2022-03-27T09:28:13.000Z
pysrc/enumer-test.cpp
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
155
2016-12-16T22:17:20.000Z
2022-02-16T20:53:59.000Z
/// @file enumer-test.cpp // This file was automatically generated. // Do not edit this file. #include <string.h> #include <assert.h> #include "enumer-test.H" typedef struct { const char* name; test_type_t value; } name_table_test_type_t; static const name_table_test_type_t name_array_test_type_t[] = { {"aaa...
18.428571
64
0.680448
CrackerCat
1fbb772427aa4066aea9fd2f1f85b9f133bea4ea
1,536
cpp
C++
unittests/VMRuntime/JSTypedArrayTest.cpp
ScriptBox99/microsoft-hermes-windows
c7eb49152bcb5fa6812c3413a80ffc5bb937bb0c
[ "MIT" ]
3
2022-01-03T20:57:16.000Z
2022-01-26T06:25:58.000Z
unittests/VMRuntime/JSTypedArrayTest.cpp
0xgpapad/hermes
903ca2b44ae0434a5d548af1ec1c10e34bc31836
[ "MIT" ]
null
null
null
unittests/VMRuntime/JSTypedArrayTest.cpp
0xgpapad/hermes
903ca2b44ae0434a5d548af1ec1c10e34bc31836
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/JSTypedArray.h" #include "TestHelpers.h" using namespace hermes::vm; namespace { using JSTypedArrayTest =...
38.4
79
0.527344
ScriptBox99
1fbbf6cf2d744c821120b32717568211da71711a
2,820
cpp
C++
src/renderer/base/fontinfo.cpp
RifasM/terminal
a5f31f77bc77068ba1eb3e3deec56c5a2e9e4513
[ "MIT" ]
7
2021-02-18T01:15:39.000Z
2022-03-22T07:08:34.000Z
src/renderer/base/fontinfo.cpp
RifasM/terminal
a5f31f77bc77068ba1eb3e3deec56c5a2e9e4513
[ "MIT" ]
116
2019-07-08T21:28:45.000Z
2021-07-28T21:12:21.000Z
src/renderer/base/fontinfo.cpp
RifasM/terminal
a5f31f77bc77068ba1eb3e3deec56c5a2e9e4513
[ "MIT" ]
1
2019-11-25T00:13:17.000Z
2019-11-25T00:13:17.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "precomp.h" #include "..\inc\FontInfo.hpp" bool operator==(const FontInfo& a, const FontInfo& b) { return (static_cast<FontInfoBase>(a) == static_cast<FontInfoBase>(b) && a._coordSize == b._coordSize && ...
28.2
120
0.591844
RifasM
1fbca0d907aacafaa7b89b23eebdfd582b681432
30,967
cpp
C++
dali-toolkit/internal/text/cursor-helper-functions.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
dali-toolkit/internal/text/cursor-helper-functions.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
dali-toolkit/internal/text/cursor-helper-functions.cpp
tizenorg/platform.core.uifw.dali-toolkit
146486a8c7410a2f2a20a6d670145fe855672b96
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * 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...
37.764634
174
0.646204
tizenorg
1fbde727811706eeb19098090723ce3acecdd2e1
2,827
cpp
C++
smolengine/src/ECS/Systems/AudioSystem.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
3
2021-05-18T00:01:06.000Z
2021-07-09T15:39:23.000Z
smolengine/src/ECS/Systems/AudioSystem.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
smolengine/src/ECS/Systems/AudioSystem.cpp
Floritte/Game-Engine-Samples
2b5dfc9a998963614e6d25fbbeaa05dbe1d214f9
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "ECS/Systems/AudioSystem.h" #include "ECS/Components/Include/Components.h" #include "ECS/Components/Singletons/WorldAdminStateSComponent.h" #include "ECS/Components/Singletons/AudioEngineSComponent.h" #include "Audio/AudioSource.h" #include <soloud.h> #include <soloud_speech.h> #include ...
26.92381
104
0.719844
Floritte
1fbeb569a364140abc915a83425a610afe7bbed9
1,537
cc
C++
solutions/mrJudge/foodchain/main.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/mrJudge/foodchain/main.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/mrJudge/foodchain/main.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
// #include <bits/stdc++.h> #include <algorithm> #include <cmath> #include <deque> #include <iostream> #include <map> #include <queue> #include <set> #include <unordered_map> #include <vector> using namespace std; #define FOR(i, j, k, l) for (s32 i = j; i < k; i += l) #define RFOR(i, j, k, l) for (s32 i = j; i >= k; ...
20.223684
56
0.591412
zwliew
1fc140e0344d796bfb98ba148510cf2fc30e46df
5,960
cpp
C++
C-Plus-Plus/Circular_Queue_Cpp.cpp
MjCode01/DS-Algo-Point
79d826fa63090014dfaab281e5170c25b86c6bbf
[ "MIT" ]
1,148
2020-09-28T15:06:16.000Z
2022-03-17T16:30:08.000Z
C-Plus-Plus/Circular_Queue_Cpp.cpp
MjCode01/DS-Algo-Point
79d826fa63090014dfaab281e5170c25b86c6bbf
[ "MIT" ]
520
2020-09-28T18:34:26.000Z
2021-10-30T17:06:43.000Z
C-Plus-Plus/Circular_Queue_Cpp.cpp
MjCode01/DS-Algo-Point
79d826fa63090014dfaab281e5170c25b86c6bbf
[ "MIT" ]
491
2020-09-28T18:40:14.000Z
2022-03-20T13:41:44.000Z
//Implementation of Circular Queue in C++ #include <iostream> using namespace std; //Defined class CircularQueue class CircularQueue{ private: int * circular_queue; int front, rear, queue_size; public: // Parameterized constructor CircularQueue(int Qsize){ front = ...
26.371681
106
0.478188
MjCode01
1fc6d6891fc73a425c1f17efc58be62205d79ce2
3,359
cpp
C++
grante/RBFNetwork.cpp
pantonante/grante-bazel
e3f22ec111463a7ae0686494422ab09f86b4d39a
[ "DOC" ]
null
null
null
grante/RBFNetwork.cpp
pantonante/grante-bazel
e3f22ec111463a7ae0686494422ab09f86b4d39a
[ "DOC" ]
null
null
null
grante/RBFNetwork.cpp
pantonante/grante-bazel
e3f22ec111463a7ae0686494422ab09f86b4d39a
[ "DOC" ]
null
null
null
#include <numeric> #include <iostream> #include <cmath> #include <cassert> #include "RBFNetwork.h" namespace Grante { RBFNetwork::RBFNetwork(unsigned int N, unsigned int d) : N(N), d(d), has_proto(false), has_beta(false) { } RBFNetwork::RBFNetwork(const std::vector<std::vector<double> >& prototypes) : prototypes...
26.872
75
0.645132
pantonante
1fc70bd75f208da0095ccc98daaaf6136f1263ab
7,920
cpp
C++
src/global/LogHandler.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
src/global/LogHandler.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
src/global/LogHandler.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
/* * \copyright Copyright (c) 2014-2018 Governikus GmbH & Co. KG, Germany */ #include "LogHandler.h" #include "BreakPropertyBindingDiagnosticLogFilter.h" #include "SingletonHelper.h" #include <QDir> using namespace governikus; defineSingleton(LogHandler) #if !defined(Q_OS_ANDROID) && !defined(QT_USE_JOURNALD) ...
22.890173
226
0.729293
misery
1fc7bc5ed907c5771ecf46d3bfaf2c743dfe094b
9,994
cpp
C++
src/map/StateMap.cpp
Streetwalrus/WalrusRPG
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
12
2015-06-30T19:38:06.000Z
2017-11-27T20:26:32.000Z
src/map/StateMap.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
18
2015-06-26T01:44:48.000Z
2016-07-01T16:26:17.000Z
src/map/StateMap.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
1
2016-12-12T05:15:46.000Z
2016-12-12T05:15:46.000Z
#include "StateMap.h" #include "DoorEntity.h" #include "Graphics.h" #include "Logger.h" #include "TalkEntity.h" #include "collision/Collision.h" #include "input/Input.h" #include "piaf/Archive.h" #include "render/Text.h" #include "render/TileRenderer.h" #include <cmath> using WalrusRPG::States::StateMap; using namespa...
32.983498
90
0.510206
Streetwalrus
1fc89fece79685cbbc1f5e32122218216bc32778
7,498
cpp
C++
Opal Prospect/OpenGL/ArrayTexture.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
2
2018-06-06T02:01:08.000Z
2020-07-25T18:10:32.000Z
Opal Prospect/OpenGL/ArrayTexture.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
10
2018-07-27T01:56:45.000Z
2019-02-23T01:49:36.000Z
Opal Prospect/OpenGL/ArrayTexture.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
null
null
null
//class header #include "ArrayTexture.hpp" //std lib includes #include <iostream> #include <sstream> //other includes #include "glew.h" #include "OGLHelpers.hpp" /* MIT License Copyright (c) 2018 Scott Bengs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
31.241667
216
0.674713
swbengs