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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f79074dc39521a9e99547f493895a7136242a1ce | 6,262 | cpp | C++ | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_ThreadedDrawingComponent.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z |
//-------------------------------------------------------------------------------------------------
// construction/destruction:
ThreadedDrawingComponent::ThreadedDrawingComponent(TimeSliceThread* newThreadToUse)
{
ScopedLock scopedLock(clientAreaImageLock);
clientAreaImage = NULL;
clientAreaImage ... | 27.108225 | 103 | 0.65634 | RobinSchmidt |
f7924030e405fc5eb3e8c2c5321f540a2ca9b896 | 380 | cpp | C++ | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | null | null | null | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | null | null | null | 214A.cpp | basuki57/Codeforces | 5227c3deecf13d90e5ea45dab0dfc16b44bd028c | [
"MIT"
] | 2 | 2020-10-03T04:52:14.000Z | 2020-10-03T05:19:12.000Z | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve(){
ll n, m, cnt = 0;
cin >> n >> m;
for(ll i = 0; i < 1001; i++)
for(ll j = 0; j < 1001; j++) if(i*i + j == n && i + j*j == m) ++cnt;
cout << cnt << endl;
}
int main(){
ios_base::sync_with_stdio(false);
cin.t... | 19 | 76 | 0.507895 | basuki57 |
f792dc3c1a4a5d4cb59bd31a3d3a899731bd1bfb | 316 | cpp | C++ | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | January Challenges/Day28-Smallest String With A Given Numeric Value.cpp | kaushalk844/leetcode | c9497a1cf36e4d7f84161cf8d12e2cfc4a6b937d | [
"MIT"
] | null | null | null | class Solution {
public:
string getSmallestString(int n, int k) {
string res(n, 'a');
k -= n;
int i = res.size()-1;
while(k > 0){
int t = min(25,k);
res[i] += t;
k -= t;
i--;
}
return res;
}
};
| 17.555556 | 44 | 0.344937 | kaushalk844 |
f79a47959bf7218d42e245e17725206e2d6250c8 | 4,982 | cpp | C++ | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | 2 | 2018-01-28T20:07:52.000Z | 2018-03-01T22:41:39.000Z | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | 6 | 2017-08-26T10:24:48.000Z | 2018-01-28T13:45:34.000Z | PathFinding.cpp | TheNewBob/IMS2 | 572dcfd4c3621458f01278713437c2aca526d2e6 | [
"MIT"
] | null | null | null | #include "Common.h"
#include <queue>
#include <deque>
#include <stack>
#include "SimpleTreeNode.h"
#include "SimplePathNode.h"
#include "PathFinding.h"
PathFinding::PathFinding()
{
}
PathFinding::~PathFinding()
{
}
/* algorithm description:
* A breadth-first search in concept (i.e. nodes of the same level are a... | 39.539683 | 136 | 0.73324 | TheNewBob |
f7a42a648e47142381fb6ecd7e9cddaeaf3a9802 | 1,870 | cpp | C++ | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/src/type_id.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 46.75 | 80 | 0.389305 | jsiwek |
f7ab5ff71871d1c348648ef6484f0bff047b4a38 | 51,722 | cc | C++ | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | 1 | 2022-03-21T07:35:46.000Z | 2022-03-21T07:35:46.000Z | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | src/xenia/ui/window_win.cc | amessier/xenia | 6b45cf84472c26436d4a5db61a7b50dab301e398 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2022 Ben Vanik. All rights reserved. ... | 38.569724 | 80 | 0.680059 | amessier |
f7acb0cf43b566c72b3399e639d41bdf13fbf701 | 2,424 | hpp | C++ | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | null | null | null | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | 2 | 2017-01-17T16:24:59.000Z | 2017-06-08T17:39:26.000Z | allocgc/include/liballocgc/details/utils/math.hpp | eucpp/allocgc | 8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef | [
"Apache-2.0"
] | null | null | null | #ifndef ALLOCGC_UTIL_H
#define ALLOCGC_UTIL_H
#include <cassert>
#include <cstddef>
#include <climits>
namespace allocgc { namespace details {
constexpr bool check_pow2(size_t n)
{
return (n != 0) && !(n & (n - 1));
}
constexpr size_t pow2(size_t n)
{
return ((size_t) 1) << n;
}
// returns log2 if argument... | 24.484848 | 78 | 0.496287 | eucpp |
f7af5f27538917636a5d0e6b9212b0dfd9841f4a | 2,157 | hpp | C++ | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | 10 | 2015-02-12T02:42:06.000Z | 2021-06-03T13:14:29.000Z | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | null | null | null | include/nginxconfig/parse.hpp | tgockel/nginxconfig | 57a4a4c00ee4f47b617ba2d7eaceab14ee20fa44 | [
"Apache-2.0"
] | 4 | 2015-08-04T21:02:53.000Z | 2021-08-05T07:20:38.000Z | /** \file nginxconfig/parse.hpp
* Include this file if you're trying to parse an nginx configuration file.
*
* Copyright (c) 2014 by Travis Gockel. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the Apache License
* as published by the Apa... | 30.814286 | 119 | 0.707464 | tgockel |
f7b0273836636363af823cae001b5197c9f95934 | 849 | cc | C++ | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD- | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | 24 | 2018-11-20T14:45:57.000Z | 2021-12-30T13:38:42.000Z | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | null | null | null | sample_addon/8_passing_wrapped/node_0.12/addon.cc | Cereceres/SVD | bac3b8cce5b958aaccc1081ec60ecc5c81b3b2f9 | [
"MIT"
] | 11 | 2018-11-29T00:09:14.000Z | 2021-11-23T08:13:17.000Z | #include <node.h>
#include <node_object_wrap.h>
#include "myobject.h"
using namespace v8;
void CreateObject(const FunctionCallbackInfo<Value>& args) {
Isolate* isolate = Isolate::GetCurrent();
HandleScope scope(isolate);
MyObject::NewInstance(args);
}
void Add(const FunctionCallbackInfo<Value>& args) {
Isola... | 24.970588 | 60 | 0.709069 | Cereceres |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
1fc9874e28b560c0716ca47cf04fcab29e04ea94 | 3,486 | cpp | C++ | leetcode/2157/solution_4_1.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/2157/solution_4_1.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/2157/solution_4_1.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | /*
author: mark@mkmark.net
time: O()
space: O()
Runtime: 1270 ms, faster than 64.18% of C++ online submissions for Groups of Strings.
Memory Usage: 68.5 MB, less than 69.73% of C++ online submissions for Groups of Strings.
*/
// profiled
#include <bits/stdc++.h>
using namespace std;
class disjoint_set {
public:
... | 24.208333 | 100 | 0.468158 | mkmark |
1fca9e88a75f99b52e4f3db97003bff3fe704254 | 151,337 | cpp | C++ | cslbuild/generated-c/u37.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null | cslbuild/generated-c/u37.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null | cslbuild/generated-c/u37.cpp | arthurcnorman/general | 5e8fef0cc7999fa8ab75d8fdf79ad5488047282b | [
"BSD-2-Clause"
] | null | null | null |
// $destdir/u37.c Machine generated C code
// $Id: 1fca9e88a75f99b52e4f3db97003bff3fe704254 $
#include "config.h"
#include "headers.h"
// Code for lessppair
static LispObject CC_lessppair(LispObject env,
LispObject v_2, LispObject v_3)
{
env = qenv(env);
#if 0 // Start of trac... | 26.065622 | 123 | 0.576819 | arthurcnorman |
1fcc7e469e970f97ae9d90ed18bb7ae530a941e9 | 5,453 | cpp | C++ | src/Cube/CubePlayer.cpp | austinkinross/rubiks-cube-solver | dac8c375502a2c002e3797a549d04b4e31e9e9c2 | [
"MIT"
] | 25 | 2015-09-02T10:25:51.000Z | 2022-02-26T03:50:51.000Z | src/Cube/CubePlayer.cpp | austinkinross/rubiks-cube-solver | dac8c375502a2c002e3797a549d04b4e31e9e9c2 | [
"MIT"
] | 1 | 2018-02-13T12:59:04.000Z | 2018-02-13T12:59:04.000Z | src/Cube/CubePlayer.cpp | austinkinross/rubiks-cube-solver | dac8c375502a2c002e3797a549d04b4e31e9e9c2 | [
"MIT"
] | 11 | 2017-05-06T09:40:21.000Z | 2021-04-21T04:09:15.000Z | #include "pch.h"
#include "CubePlayer.h"
CubePlayer::CubePlayer(CubePlayerDesc* desc)
{
mCube = new Cube();
mDesc = *desc;
Reset();
bPaused = false;
if (mDesc.populateColors)
{
mPlaybackState = PLAYBACK_STATE_POPULATING_COLORS;
mFoldingAngle = 3.141592653f / 2;
// Set all the faces to be nearly black... | 33.048485 | 203 | 0.537502 | austinkinross |
1fcdd8cfaef7342c56d5f667712a70cc23694a8a | 3,749 | cc | C++ | agenda.cc | Ralusama19/AgendaPRO2 | fcbf56a4ef28d06b85845671c847725deb4e8ed0 | [
"MIT"
] | 1 | 2016-01-16T10:17:20.000Z | 2016-01-16T10:17:20.000Z | agenda.cc | Ralusama19/Agenda | fcbf56a4ef28d06b85845671c847725deb4e8ed0 | [
"MIT"
] | null | null | null | agenda.cc | Ralusama19/Agenda | fcbf56a4ef28d06b85845671c847725deb4e8ed0 | [
"MIT"
] | null | null | null | /** @file agenda.cc
@brief Codi de la classe Agenda
*/
#include "agenda.hh"
void Agenda::escriu(string expressio, map<Rellotge,Activitat>::iterator& principi,
map<Rellotge,Activitat>::iterator& final, bool passat){
//Buidem el menu abans de cada consulta
menu.clear();
int i = 1;
for(map<Rello... | 28.618321 | 117 | 0.656175 | Ralusama19 |
1fd019f5eae961b527c7274325f4a3aa76ad6f4b | 476 | hpp | C++ | libs/media/impl/include/sge/media/impl/log_name.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/media/impl/include/sge/media/impl/log_name.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/media/impl/include/sge/media/impl/log_name.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_MEDIA_IMPL_LOG_NAME_HPP_INCLUDED
#define SGE_MEDIA_IMPL_LOG_NAME_HPP_INCLUDED
#include... | 22.666667 | 61 | 0.743697 | cpreh |
1fd2c78f8f8cb0adda77f14cbe70d968e5983560 | 7,815 | hpp | C++ | Code/Libs/Math/Bits.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | null | null | null | Code/Libs/Math/Bits.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | 8 | 2016-11-17T00:39:03.000Z | 2016-11-29T14:46:27.000Z | Code/Libs/Math/Bits.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | null | null | null | #pragma once
#include "../Platform/Platform.hpp"
#include "../Core/TypeTraits.hpp"
namespace Ax { namespace Math {
/// Unsigned bit-shift right
template< typename tInt >
inline tInt BitShiftRightU( tInt x, tInt y )
{
static_assert( TIsInt< tInt >::value, "Integer type required" );
typedef typename TMakeUnsig... | 22.456897 | 74 | 0.595777 | NotKyon |
1fdadc0b7096a0bea6af82390e209a511cde7b36 | 299 | cpp | C++ | Library/Library.prj/TBButton.cpp | rrvt/RWracesDB | 4f01fed973df7dfb7ec516b2969b20fc6744d7fe | [
"MIT"
] | null | null | null | Library/Library.prj/TBButton.cpp | rrvt/RWracesDB | 4f01fed973df7dfb7ec516b2969b20fc6744d7fe | [
"MIT"
] | 1 | 2020-05-01T00:37:31.000Z | 2020-05-01T00:37:31.000Z | Library/Library.prj/TBButton.cpp | rrvt/RWracesDB | 4f01fed973df7dfb7ec516b2969b20fc6744d7fe | [
"MIT"
] | 1 | 2020-02-25T09:11:37.000Z | 2020-02-25T09:11:37.000Z | // Toolbar Button (i.e. MFC Tool Bar Button)
#include "stdafx.h"
#include "TBButton.h"
TBButton::TBButton(uint id) : CMFCToolBarButton(id, -1) { }
void TBButton::install(TCchar* caption)
{m_nStyle = TBBS_BUTTON | TBBS_AUTOSIZE; m_strText = caption; m_bText = true; m_bImage = false;}
| 21.357143 | 104 | 0.692308 | rrvt |
1fde1f386c04c4a1f8a36b5e634b98ea9cd96fbe | 2,788 | hh | C++ | LiteCore/RevTrees/RevID.hh | cedseat/couchbase-lite-core | 451cdfcf527073c595c7cc389f1bd70694e215fb | [
"Apache-2.0"
] | 1 | 2019-04-17T07:41:04.000Z | 2019-04-17T07:41:04.000Z | LiteCore/RevTrees/RevID.hh | cedseat/couchbase-lite-core | 451cdfcf527073c595c7cc389f1bd70694e215fb | [
"Apache-2.0"
] | 1 | 2020-03-17T11:11:30.000Z | 2020-03-17T11:11:30.000Z | LiteCore/RevTrees/RevID.hh | cedseat/couchbase-lite-core | 451cdfcf527073c595c7cc389f1bd70694e215fb | [
"Apache-2.0"
] | null | null | null | //
// RevID.hh
//
// Copyright (c) 2014 Couchbase, Inc All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | 32.8 | 95 | 0.607245 | cedseat |
1fe04dedb05770bc65276832e1c58bef77e13ee6 | 21,489 | cpp | C++ | source/Lib/TLibEncoder/SEIEncoder.cpp | henryhuang329/h266 | ff05b4a10abe3e992a11e5481fa86bc671574a3b | [
"BSD-3-Clause"
] | 9 | 2019-10-30T06:29:33.000Z | 2021-11-19T08:34:08.000Z | source/Lib/TLibEncoder/SEIEncoder.cpp | hexiaoyi95/DL-HM-16.6-JEM-7.0-dev | 80206bf91a2be1c62589bee0af4ca4251d0a7e09 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/TLibEncoder/SEIEncoder.cpp | hexiaoyi95/DL-HM-16.6-JEM-7.0-dev | 80206bf91a2be1c62589bee0af4ca4251d0a7e09 | [
"BSD-3-Clause"
] | 2 | 2019-03-29T15:14:34.000Z | 2019-04-27T10:46:40.000Z | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2015, ITU/ISO/IEC
* All rights r... | 46.014989 | 236 | 0.742799 | henryhuang329 |
1fe2bb489e8d44f5d70bbf26d34f9a9dfb270ddb | 17,794 | hpp | C++ | include/System/TermInfoDriver.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/TermInfoDriver.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/TermInfoDriver.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.IConsoleDriver
#include "System/IConsoleDriver.hpp"
// Includi... | 41.189815 | 2,128 | 0.664943 | darknight1050 |
1fe62d70db20f26857b21e63f7bd5509d9cfa45e | 1,854 | cpp | C++ | src/Text.cpp | Alissa0101/CI628 | f3401e9ea6a90d59572c4f079d27461148aab075 | [
"MIT"
] | null | null | null | src/Text.cpp | Alissa0101/CI628 | f3401e9ea6a90d59572c4f079d27461148aab075 | [
"MIT"
] | null | null | null | src/Text.cpp | Alissa0101/CI628 | f3401e9ea6a90d59572c4f079d27461148aab075 | [
"MIT"
] | null | null | null | #include "Text.h"
void Text::init(int xInit, int yInit, int fontSizeInit, bool boundRightInit, SDL_Color colorInit){
color = colorInit;
x = xInit;
y = yInit;
fontSize = fontSizeInit;
boundRight = boundRightInit;
font = TTF_OpenFont("Assets/pong.ttf", fontSize);
}
void Text::setText(std::stri... | 25.39726 | 116 | 0.612729 | Alissa0101 |
1fe766bf3be4e0571c3110346d7aaef3306c4513 | 979 | cpp | C++ | 27_remove/remove.cpp | neojou/leetcode_cplusplus | 760232172c1e753ee13c376038c8e7b41f6cded7 | [
"MIT"
] | null | null | null | 27_remove/remove.cpp | neojou/leetcode_cplusplus | 760232172c1e753ee13c376038c8e7b41f6cded7 | [
"MIT"
] | null | null | null | 27_remove/remove.cpp | neojou/leetcode_cplusplus | 760232172c1e753ee13c376038c8e7b41f6cded7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <functional>
#include <algorithm>
#include <vector>
#include <unordered_map>
#include <thread>
#include <mutex>
#include <condition_variable>
using namespace std;
template <typename T>
void print_vector(vector<T> const &v)
{
cout << "[";
for (auto it = v.begin(); it != v.end(); i... | 18.471698 | 52 | 0.52094 | neojou |
1fea83f0b0aee856dcf4f75f6cfbd3c63c033ec7 | 3,309 | cpp | C++ | src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp | rturrado/TheModernCppChallenge | 648284fb417b6aaa43c21ea2b12a5a21c8cb9269 | [
"MIT"
] | null | null | null | src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp | rturrado/TheModernCppChallenge | 648284fb417b6aaa43c21ea2b12a5a21c8cb9269 | [
"MIT"
] | null | null | null | src/chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.cpp | rturrado/TheModernCppChallenge | 648284fb417b6aaa43c21ea2b12a5a21c8cb9269 | [
"MIT"
] | null | null | null | #include "chapter_06_algorithms_and_data_structures/problem_051_transforming_a_list_of_phone_numbers.h"
#include "chapter_06_algorithms_and_data_structures/phone_numbers.h"
#include "rtc/print.h"
#include <algorithm> // erase_if, transform
#include <fmt/ostream.h>
#include <fmt/ranges.h>
#include <functional> // re... | 37.602273 | 121 | 0.64249 | rturrado |
1ffd58b46b8d05e4695749e984a01dd8c8b2e5be | 1,707 | cc | C++ | coset.cc | MadPidgeon/Graph-Isomorphism | 30fb35a6faad8bda0663d49aff2fca1f2f69c56d | [
"MIT"
] | null | null | null | coset.cc | MadPidgeon/Graph-Isomorphism | 30fb35a6faad8bda0663d49aff2fca1f2f69c56d | [
"MIT"
] | null | null | null | coset.cc | MadPidgeon/Graph-Isomorphism | 30fb35a6faad8bda0663d49aff2fca1f2f69c56d | [
"MIT"
] | null | null | null | #include <stdexcept>
#include <iostream>
#include "coset.h"
#include "group.h"
#include "permutation.h"
#include "ext.h"
Group Coset::supergroup() const {
return _G;
}
Group Coset::subgroup() const {
return _H;
}
bool Coset::isRightCoset() const {
return _right;
}
const Permutation& Coset::representative() const... | 25.477612 | 137 | 0.674282 | MadPidgeon |
1fffb3f0211b6425028dd3500cab786e788a2019 | 7,950 | cpp | C++ | src/calibrationfilter.cpp | elvisdukaj/calibration_filter | 2c2c0e9023994977d3d5550f3673e60baadf16eb | [
"BSD-2-Clause"
] | null | null | null | src/calibrationfilter.cpp | elvisdukaj/calibration_filter | 2c2c0e9023994977d3d5550f3673e60baadf16eb | [
"BSD-2-Clause"
] | null | null | null | src/calibrationfilter.cpp | elvisdukaj/calibration_filter | 2c2c0e9023994977d3d5550f3673e60baadf16eb | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2017 Elvis Dukaj
//
// 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, publis... | 30.113636 | 122 | 0.619623 | elvisdukaj |
95019acff0b42b3b77a730c4be4450b8d3b45c09 | 4,117 | cpp | C++ | bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp | cowlicks/library-physics | dd314011132430fcf074a9a1633b24471745cf92 | [
"Apache-2.0"
] | null | null | null | bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp | cowlicks/library-physics | dd314011132430fcf074a9a1633b24471745cf92 | [
"Apache-2.0"
] | null | null | null | bindings/python/src/LibraryPhysicsPy/Environment/Objects/Celestial.cpp | cowlicks/library-physics | dd314011132430fcf074a9a1633b24471745cf92 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @project Library ▸ Physics
/// @file LibraryPhysicsPy/Environment/Objects/Celestial.cpp
/// @author Lucas Brémond <lucas@loftorbi... | 44.268817 | 282 | 0.564732 | cowlicks |
9506265b265d32b0372b9e77ce96ec2d9806cdc4 | 10,239 | cc | C++ | src/table_file_iterator.cc | tobecontinued/Jungle | d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4 | [
"Apache-2.0"
] | 157 | 2019-12-27T18:12:19.000Z | 2022-03-27T13:34:52.000Z | src/table_file_iterator.cc | tobecontinued/Jungle | d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4 | [
"Apache-2.0"
] | 11 | 2020-01-02T18:30:33.000Z | 2021-09-28T03:10:09.000Z | src/table_file_iterator.cc | tobecontinued/Jungle | d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4 | [
"Apache-2.0"
] | 32 | 2019-12-28T18:17:27.000Z | 2021-12-24T02:05:10.000Z | /************************************************************************
Copyright 2017-2019 eBay Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2... | 28.600559 | 82 | 0.589608 | tobecontinued |
9507904b1fb189149a19d72c8f53d83af78b66a9 | 547 | hpp | C++ | src/canvas.hpp | kalsipp/SDL-turbo-enigma | f5883e5b766ea701a5343bc36d21d078eeba0e79 | [
"MIT"
] | null | null | null | src/canvas.hpp | kalsipp/SDL-turbo-enigma | f5883e5b766ea701a5343bc36d21d078eeba0e79 | [
"MIT"
] | null | null | null | src/canvas.hpp | kalsipp/SDL-turbo-enigma | f5883e5b766ea701a5343bc36d21d078eeba0e79 | [
"MIT"
] | null | null | null | #pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>
#include "logger.hpp"
#include "texture.hpp"
class Texture;
class Canvas{
public:
Canvas();
~Canvas();
void addTexture(Texture * );
void paint();
void clear();
SDL_Surface * getSurface();
SDL_Rend... | 21.038462 | 34 | 0.709324 | kalsipp |
950ab831ac04f4f87452086c91d9aa28a35b4d4a | 341 | cpp | C++ | Sandbox/test.cpp | pr0me7heu2/CSCI_121 | 001cdb29b94b94b29417a494e4d0fca4af38c138 | [
"Apache-2.0"
] | 2 | 2020-09-15T04:03:40.000Z | 2020-10-14T01:37:32.000Z | Sandbox/test.cpp | pr0me7heu2/CSCI_121 | 001cdb29b94b94b29417a494e4d0fca4af38c138 | [
"Apache-2.0"
] | null | null | null | Sandbox/test.cpp | pr0me7heu2/CSCI_121 | 001cdb29b94b94b29417a494e4d0fca4af38c138 | [
"Apache-2.0"
] | null | null | null | //
// Created by bryan on 2/10/19.
//
#include <iostream>
#include <cassert>
int main()
{
using namespace std;
int n1, n2;
cout << "how many" << endl;
cin >> n1 >> n2;
//assert(n1 > 0);
cout <<"n1 is not bigger than zero." << endl;
cout << "here they are." << endl;
cout << n1 << ... | 12.62963 | 49 | 0.513196 | pr0me7heu2 |
950f5165090f49a1c8c9e98b5fc7957bac9ab7b0 | 749 | hpp | C++ | Feather/src/Feather.hpp | pedrolmcastro/feather | e4581fb119706505dfcb25b5d982b47ee21e0746 | [
"Apache-2.0"
] | null | null | null | Feather/src/Feather.hpp | pedrolmcastro/feather | e4581fb119706505dfcb25b5d982b47ee21e0746 | [
"Apache-2.0"
] | null | null | null | Feather/src/Feather.hpp | pedrolmcastro/feather | e4581fb119706505dfcb25b5d982b47ee21e0746 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Precompiled.hpp"
#include "Core/Time.hpp"
#include "Core/Event.hpp"
#include "Core/Layer.hpp"
#include "Core/Application.hpp"
#include "Debug/Log.hpp"
#include "Debug/Assert.hpp"
#include "Input/Key.hpp"
#include "Input/Input.hpp"
#include "Input/Mouse.hpp"
#include "Math/Bool.hpp"
#include... | 20.243243 | 33 | 0.740988 | pedrolmcastro |
95118a49614bed4fafb6a6e67d39fc851ec2076e | 2,230 | cpp | C++ | 201804/dec201804_1.cpp | jibsen/aocpp2018 | fdaa1adfd12963ef8f530bbe3f8542843486e1c9 | [
"MIT"
] | 2 | 2020-04-26T17:31:29.000Z | 2020-10-03T00:54:15.000Z | 201804/dec201804_1.cpp | jibsen/aocpp2018 | fdaa1adfd12963ef8f530bbe3f8542843486e1c9 | [
"MIT"
] | null | null | null | 201804/dec201804_1.cpp | jibsen/aocpp2018 | fdaa1adfd12963ef8f530bbe3f8542843486e1c9 | [
"MIT"
] | null | null | null | //
// Advent of Code 2018, day 4, part one
//
#include <algorithm>
#include <array>
#include <cstdio>
#include <iostream>
#include <map>
#include <numeric>
#include <string>
#include <vector>
using Event = std::pair<long long, std::string>;
using SleepSchedule = std::vector<std::pair<int, int>>;
bool get_timestamp(l... | 20.09009 | 98 | 0.638565 | jibsen |
951782d3d7d71d56e25e75b5d02271395d29c296 | 812 | cc | C++ | LeetCode/Hard/waterTrap.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | LeetCode/Hard/waterTrap.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | LeetCode/Hard/waterTrap.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Solution
{
public:
int trap(vector<int> &height)
{
int left = 0, right = height.size() - 1;
int ans = 0;
int left_max = 0, right_max = 0;
while (left < right)
{
if (height[left] < height[right]... | 26.193548 | 110 | 0.439655 | ChakreshSinghUC |
951908950b6eb51f9420cfd4e39482a835803e3a | 3,169 | cc | C++ | whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc | QiYueColdRain/whale | ab62303c8146d7a79f89c7b26a6625cbcf65b0f9 | [
"Apache-2.0"
] | 1,333 | 2019-01-27T03:46:51.000Z | 2022-03-31T05:28:23.000Z | whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc | QiYueColdRain/whale | ab62303c8146d7a79f89c7b26a6625cbcf65b0f9 | [
"Apache-2.0"
] | 59 | 2019-02-01T09:57:25.000Z | 2022-03-09T09:40:33.000Z | whale/src/dbi/x86_64/instruction_rewriter_x86_64.cc | QiYueColdRain/whale | ab62303c8146d7a79f89c7b26a6625cbcf65b0f9 | [
"Apache-2.0"
] | 309 | 2019-01-29T11:41:14.000Z | 2022-03-31T06:10:38.000Z | #include "dbi/x86/instruction_rewriter_x86.h"
#include "instruction_rewriter_x86_64.h"
#include "dbi/x86/distorm/distorm.h"
#include "dbi/x86/distorm/mnemonics.h"
#define __ masm_->
namespace whale {
namespace x86_64 {
constexpr static const unsigned kRIP_index = 74;
void X86_64InstructionRewriter::Rewrite() {
... | 28.294643 | 84 | 0.561691 | QiYueColdRain |
951a7b5a163b16a75c84f4de27a1baff6d6ef171 | 3,697 | cpp | C++ | src/Subsystems/Mechanisms.cpp | 3197Software/2018Season | 5454ea97234ee5bf63b434302744c40785262356 | [
"MIT"
] | 3 | 2018-04-06T14:28:50.000Z | 2018-04-06T14:33:27.000Z | src/Subsystems/Mechanisms.cpp | 3197Software/2018Season | 5454ea97234ee5bf63b434302744c40785262356 | [
"MIT"
] | null | null | null | src/Subsystems/Mechanisms.cpp | 3197Software/2018Season | 5454ea97234ee5bf63b434302744c40785262356 | [
"MIT"
] | 1 | 2019-01-20T07:57:38.000Z | 2019-01-20T07:57:38.000Z | #include "Mechanisms.h"
#include "../Commands/AuxiliaryMotors.h"
#include "../RobotMap.h"
#include <math.h>
#include "WPILib.h"
#include "ctre/Phoenix.h"
#define MAXRPM 534
#define LARGE_AMOUNT_OF_CURRENT 50
#define PEAK_CLAW_CURRENT 5
Mechanisms::Mechanisms() :
Subsystem("AuxiliaryMotors") {
winchA = new WPI... | 29.34127 | 79 | 0.760887 | 3197Software |
951d9f59a64e608eb91f1ff4f913522fd8eed1db | 1,701 | hpp | C++ | src/Data/GradedNote.hpp | Subject38/jujube | 664b995cc65fa6045433b4837d765c62fe6490b4 | [
"MIT"
] | 19 | 2020-02-28T20:34:12.000Z | 2022-01-28T20:18:25.000Z | src/Data/GradedNote.hpp | Subject38/jujube | 664b995cc65fa6045433b4837d765c62fe6490b4 | [
"MIT"
] | 7 | 2019-10-22T09:43:16.000Z | 2022-03-12T00:15:13.000Z | src/Data/GradedNote.hpp | Subject38/jujube | 664b995cc65fa6045433b4837d765c62fe6490b4 | [
"MIT"
] | 5 | 2019-10-22T08:14:57.000Z | 2021-03-13T06:32:04.000Z | #pragma once
#include <optional>
#include <SFML/System/Time.hpp>
#include "../Resources/Marker.hpp"
#include "Note.hpp"
namespace Data {
enum class Judgement {
Perfect,
Great,
Good,
Poor,
Miss,
};
bool judgement_breaks_combo(Judgement j);
Resources::MarkerAn... | 32.711538 | 120 | 0.623163 | Subject38 |
9525abcbf47687d65ffc49ab5cfe3f1b1fc363cd | 8,377 | cpp | C++ | Tests/Source/UnitTests/ElementDocument.cpp | aquawicket/RmlUi | d56f17e49ca2ee88aadeb304228cd1eae14e3f51 | [
"MIT"
] | null | null | null | Tests/Source/UnitTests/ElementDocument.cpp | aquawicket/RmlUi | d56f17e49ca2ee88aadeb304228cd1eae14e3f51 | [
"MIT"
] | null | null | null | Tests/Source/UnitTests/ElementDocument.cpp | aquawicket/RmlUi | d56f17e49ca2ee88aadeb304228cd1eae14e3f51 | [
"MIT"
] | null | null | null | /*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... | 28.886207 | 87 | 0.694282 | aquawicket |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.