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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3759e3a804dce73d189f0e9dda534bb93ff88c0 | 1,609 | cpp | C++ | day20/load.cpp | bcafuk/AoC-2019 | 5ff9b86f8483cd7a6e229d572ae9e34b894eb574 | [
"Zlib"
] | null | null | null | day20/load.cpp | bcafuk/AoC-2019 | 5ff9b86f8483cd7a6e229d572ae9e34b894eb574 | [
"Zlib"
] | null | null | null | day20/load.cpp | bcafuk/AoC-2019 | 5ff9b86f8483cd7a6e229d572ae9e34b894eb574 | [
"Zlib"
] | 2 | 2020-11-02T09:24:35.000Z | 2020-12-02T09:46:27.000Z | #include <queue>
#include <string>
#include "day20.hpp"
Maze load(std::istream &stream) {
const std::string startPortal = "AA";
const std::string endPortal = "ZZ";
Maze maze{0, 0};
while (true) {
std::string line;
std::getline(stream, line);
if (stream.eof()) {
break;
}
maze.m_width = line.size()... | 22.347222 | 71 | 0.523928 | bcafuk |
c9667a0dfb661760eb362e1b4134f00986ebabc3 | 493 | hpp | C++ | libs/options/include/fcppt/options/parse_error.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/options/include/fcppt/options/parse_error.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/options/include/fcppt/options/parse_error.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// 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 FCPPT_OPTIONS_PARSE_ERROR_HPP_INCLUDED
#define FCPPT_OPTIONS_PARSE_ERROR_HPP_INCLUDED
#in... | 29 | 61 | 0.764706 | pmiddend |
c96f38806d285844ee4228c89112622d11d5bd62 | 611 | cpp | C++ | GameState.cpp | naiIs/VillainTycoon | 5eff5197b147419588b4f92b4f292039b2194b43 | [
"MIT"
] | null | null | null | GameState.cpp | naiIs/VillainTycoon | 5eff5197b147419588b4f92b4f292039b2194b43 | [
"MIT"
] | null | null | null | GameState.cpp | naiIs/VillainTycoon | 5eff5197b147419588b4f92b4f292039b2194b43 | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: GameState.cpp
* Author: logan
*
* Created on May 17, 2017, 11:43 AM
*/
#include "GameState.h"
GameState::GameSta... | 15.666667 | 79 | 0.666121 | naiIs |
c9732d53ebfb71b216ad4cff5a536e0895d48f5b | 1,738 | hpp | C++ | include/codegen/include/NUnit/Framework/Internal/ParameterizedMethodSuite.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/NUnit/Framework/Internal/ParameterizedMethodSuite.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/NUnit/Framework/Internal/ParameterizedMethodSuite.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:57 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: NUnit.Framework.Internal.TestSuite
#include "NUnit/Framework... | 42.390244 | 134 | 0.73015 | Futuremappermydud |
c9758ac0087a8ce8566974f46f98e098d40b34fd | 3,082 | cpp | C++ | core123/ut/ut_mulhilo.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 22 | 2019-04-10T18:05:35.000Z | 2021-12-30T12:26:39.000Z | core123/ut/ut_mulhilo.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 13 | 2019-04-09T00:19:29.000Z | 2021-11-04T15:57:13.000Z | core123/ut/ut_mulhilo.cpp | fennm/fs123 | 559b97659352620ce16030824f9acd26f590f4e1 | [
"BSD-3-Clause"
] | 4 | 2019-04-07T16:33:44.000Z | 2020-07-02T02:58:51.000Z | /** @page LICENSE
Copyright 2010-2012, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of condit... | 33.868132 | 131 | 0.703764 | fennm |
c977a1984f371910059768a0747ce8b1f2296673 | 9,928 | cpp | C++ | NightEngine2/src/Editor/RenderSettingEditor.cpp | rittikornt/NightEngine2 | 14004b48d1708736373010a3fe47d05d876e0baa | [
"MIT"
] | 2 | 2020-03-09T06:24:46.000Z | 2022-02-04T23:09:23.000Z | NightEngine2/src/Editor/RenderSettingEditor.cpp | rittikornt/NightEngine2 | 14004b48d1708736373010a3fe47d05d876e0baa | [
"MIT"
] | null | null | null | NightEngine2/src/Editor/RenderSettingEditor.cpp | rittikornt/NightEngine2 | 14004b48d1708736373010a3fe47d05d876e0baa | [
"MIT"
] | 2 | 2020-09-07T03:04:36.000Z | 2022-02-04T23:09:24.000Z |
/*!
@file RenderSettingEditor.cpp
@author Rittikorn Tangtrongchit
@brief Contain the Implementation of RenderSettingEditor
*/
#include "Editor/RenderSettingEditor.hpp"
#include "Editor/MemberSerializerEditor.hpp"
#include "Editor/GameObjectHierarchy.hpp"
#include "Editor/ConfirmationBox.hpp"
#include "imgui/img... | 36.907063 | 125 | 0.554795 | rittikornt |
c97845305ed19800abe28fceb0845c4431cef6f2 | 620 | cpp | C++ | competitive_programming/programming_contests/uri/counting_crow.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/counting_crow.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/counting_crow.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1848
#include <iostream>
#include <string>
using namespace std;
int main() {
int scream_counter = 0, blink_counter = 0;
string s;
while (scream_counter < 3) {
cin >> s;
if (s == "caw") {
scream_counter++;
cin >> s;
cout << ... | 18.787879 | 64 | 0.503226 | LeandroTk |
c97884cc021e94fc49050e68b8d10bdbee9b74da | 4,424 | cpp | C++ | VS/Utils/VS_Menu.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 19 | 2017-04-03T09:06:21.000Z | 2022-03-05T19:06:07.000Z | VS/Utils/VS_Menu.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 2 | 2019-05-24T14:40:07.000Z | 2020-04-15T01:10:23.000Z | VS/Utils/VS_Menu.cpp | vectorstorm/vectorstorm | 7306214108b23fa97d4a1a598197bbaa52c17d3a | [
"Zlib"
] | 2 | 2020-03-08T07:14:49.000Z | 2020-03-09T10:39:52.000Z | /*
* UT_Menu.cpp
* VectorStorm
*
* Created by Trevor Powell on 29/12/07.
* Copyright 2007 Trevor Powell. All rights reserved.
*
*/
#include "VS_Menu.h"
#include "VS_DisplayList.h"
#include "VS_BuiltInFont.h"
#include "VS_Sprite.h"
#include "Core.h"
#include "CORE_Game.h"
#include "VS_Input.h"
#define PU... | 21.371981 | 107 | 0.674503 | vectorstorm |
c97f9c9f74a0ec4738878c19343af85506cf9307 | 933 | cpp | C++ | client/src/responses/RemoveDailyPlanTaskResponseHandler.cpp | Hvvang/uTracker | f865d969ca7d550ac2d4b20b4fd1f834f90578b2 | [
"MIT"
] | null | null | null | client/src/responses/RemoveDailyPlanTaskResponseHandler.cpp | Hvvang/uTracker | f865d969ca7d550ac2d4b20b4fd1f834f90578b2 | [
"MIT"
] | null | null | null | client/src/responses/RemoveDailyPlanTaskResponseHandler.cpp | Hvvang/uTracker | f865d969ca7d550ac2d4b20b4fd1f834f90578b2 | [
"MIT"
] | null | null | null | //
// Created by Artem Shemidko on 18.03.2021.
//
#include "RemoveDailyPlanTaskResponseHandler.h"
#include <QJsonDocument>
#include <QJsonObject>
#include "Client.h"
RemoveDailyPlanTaskResponseHandler::RemoveDailyPlanTaskResponseHandler(QObject *parent)
: AbstractResponseHandler(parent) {
connect(this, &A... | 34.555556 | 87 | 0.729904 | Hvvang |
c985af7dbc4dd1f4f8e9e7366c70d04336142e6f | 938 | cpp | C++ | Source/anchorGrabberSuites.cpp | shspage/anchorGrabber_aip | bbd335a9fb47e90b142c90768bdccbc1b9446c69 | [
"MIT"
] | 2 | 2022-03-14T00:04:54.000Z | 2022-03-14T01:32:39.000Z | Source/anchorGrabberSuites.cpp | shspage/anchorGrabber_aip | bbd335a9fb47e90b142c90768bdccbc1b9446c69 | [
"MIT"
] | null | null | null | Source/anchorGrabberSuites.cpp | shspage/anchorGrabber_aip | bbd335a9fb47e90b142c90768bdccbc1b9446c69 | [
"MIT"
] | null | null | null | #include "IllustratorSDK.h"
#include "anchorGrabberSuites.h"
// Suite externs
extern "C"
{
SPBlocksSuite* sSPBlocks = NULL;
AIUnicodeStringSuite* sAIUnicodeString = NULL;
AIToolSuite* sAITool = nullptr;
AIArtSuite* sAIArt = NULL;
AIPathSuite* sAIPath = NULL;
AIHitTestSuite* sAIHitTest = NULL;
AID... | 31.266667 | 72 | 0.771855 | shspage |
c98ce15c8279dbcef4e4315146b23f3cdbc26e93 | 21,525 | cpp | C++ | Seagull-Core/Core/Source/Text/FontStash.cpp | CrystaLamb/SeagullEngine | 2a4d776ff525dcfef1eb5d8ea53abe3aa2f9a462 | [
"MIT"
] | 4 | 2021-12-10T10:28:19.000Z | 2021-12-29T05:39:17.000Z | Seagull-Core/Core/Source/Text/FontStash.cpp | ILLmew/SeagullEngine | 2a4d776ff525dcfef1eb5d8ea53abe3aa2f9a462 | [
"MIT"
] | null | null | null | Seagull-Core/Core/Source/Text/FontStash.cpp | ILLmew/SeagullEngine | 2a4d776ff525dcfef1eb5d8ea53abe3aa2f9a462 | [
"MIT"
] | null | null | null | #include "FontStash.h"
#define FONTSTASH_IMPLEMENTATION
#ifdef SG_PLATFORM_WINDOWS
#include <windows.h>
#endif
#include <include/fontstash.h>
#include "include/IRenderer.h"
#include "include/IResourceLoader.h"
#include "Interface/IFileSystem.h"
#include <include/tinyimageformat_query.h>
#include <include/EASTL/ve... | 33.791209 | 238 | 0.735703 | CrystaLamb |
c9915c20252c5c149bf9bb65ec1eb3000fd667dd | 2,649 | cpp | C++ | base/file_handle.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | null | null | null | base/file_handle.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | null | null | null | base/file_handle.cpp | clarfonthey/laf | 305592194e3d89dfe6d16648bf84576a2f7b05a5 | [
"MIT"
] | null | null | null | // LAF Base Library
// Copyright (c) 2020 Igara Studio S.A.
// Copyright (c) 2001-2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/file_handle.h"
#include "base/string.h"
#inclu... | 21.362903 | 103 | 0.705172 | clarfonthey |
c9941ffb64d8cc6ed9e9e3bb7c73abe1c1a4e87a | 456 | cpp | C++ | source/03_Dynamic Programming/02_DP DNC.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | 1 | 2021-06-25T05:46:11.000Z | 2021-06-25T05:46:11.000Z | source/03_Dynamic Programming/02_DP DNC.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | null | null | null | source/03_Dynamic Programming/02_DP DNC.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | null | null | null | void f(int rem, int l, int r, int optl, int optr) {
if(l > r)
return;
int mid = l + r >> 1;
int opt = MOD, optid = mid;
for(int i = optl; i <= mid && i <= optr; ++i) {
if(dp[rem - 1][i] + c[i][mid] < opt) {
opt = dp[rem - 1][i] + c[i][mid];
optid = i;
}
}
dp[rem][mid] = opt;
f(rem,... | 24 | 51 | 0.451754 | KerakTelor86 |
c995a477d5ae6a2b0eddd2896d07fe36d71fc814 | 1,031 | cpp | C++ | timerCPU.cpp | SwarthmoreCS-PDC/CUDAVis | 33090cfad734d0104670ebc7aae50b6416cf5a04 | [
"Apache-2.0"
] | 5 | 2019-04-22T20:29:22.000Z | 2022-01-17T20:49:56.000Z | timerCPU.cpp | SwarthmoreCS-PDC/CUDAVis | 33090cfad734d0104670ebc7aae50b6416cf5a04 | [
"Apache-2.0"
] | null | null | null | timerCPU.cpp | SwarthmoreCS-PDC/CUDAVis | 33090cfad734d0104670ebc7aae50b6416cf5a04 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2016-2018
* Swarthmore College Computer Science, Swarthmore PA
* T. Newhall, A. Danner
*/
#include "timerCPU.h"
#include <cstdio>
CPUTimer::CPUTimer() {
gettimeofday(&startTime, NULL);
gettimeofday(&stopTime, NULL);
}
void CPUTimer::start() { gettimeofday(&startTime, NULL); }
void CPUTimer::stop(... | 24.547619 | 69 | 0.678952 | SwarthmoreCS-PDC |
c99fa90c5c5c41bb8e0da2f24cd80289328283b2 | 1,348 | cpp | C++ | owl/color/gamma_correction.cpp | soerenkoenig/owl | ab10054514a7a5b12a6b81665b3b264cfe37b0f3 | [
"MIT"
] | null | null | null | owl/color/gamma_correction.cpp | soerenkoenig/owl | ab10054514a7a5b12a6b81665b3b264cfe37b0f3 | [
"MIT"
] | null | null | null | owl/color/gamma_correction.cpp | soerenkoenig/owl | ab10054514a7a5b12a6b81665b3b264cfe37b0f3 | [
"MIT"
] | null | null | null | #include "owl/color/gamma_correction.hpp"
namespace owl
{
namespace color
{
double linear_2_gamma_corrected(double u, gamma_correction_model::s_rgb cm)
{
constexpr double a = 1.055;
constexpr double b = -0.055;
constexpr double c = 12.92;
constexpr double d = 0.0031308;
conste... | 25.433962 | 83 | 0.60905 | soerenkoenig |
c9a1b4f69a63b196484bd96a0c5597626e93da5a | 3,409 | cpp | C++ | framework/box.cpp | neyustudies/programmiersprachen-raytracer | 220a979fb67c6179ceffc4172c721c4338f5e90e | [
"MIT"
] | null | null | null | framework/box.cpp | neyustudies/programmiersprachen-raytracer | 220a979fb67c6179ceffc4172c721c4338f5e90e | [
"MIT"
] | null | null | null | framework/box.cpp | neyustudies/programmiersprachen-raytracer | 220a979fb67c6179ceffc4172c721c4338f5e90e | [
"MIT"
] | 1 | 2022-01-05T13:55:17.000Z | 2022-01-05T13:55:17.000Z | #include "box.hpp"
#include <algorithm>
#include <cmath>
#include <vector>
#include "hitpoint.hpp"
#include "util.hpp"
Box::Box() : Box{{}, {}, "Unnamed Box", {}} {}
Box::Box(glm::vec3 const& min, glm::vec3 const& max)
: Box{min, max, "Unnamed Box", {}} {}
Box::Box(glm::vec3 const& min, glm::vec3 const& max, std... | 31.275229 | 80 | 0.536814 | neyustudies |
c9a5c13ad593c56da57f74231ddca1a2b5f822bf | 2,827 | cpp | C++ | tc 160+/MinDifference.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/MinDifference.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/MinDifference.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
using namespace std;
class MinDifference {
public:
int closestElements(int A0, int X, int Y, int M, int n) {
vector<int> v;
v.reserve(n);
... | 44.873016 | 317 | 0.569508 | ibudiselic |
c9ac7bb3b9eed2b73424734ace5480cb6de4271c | 1,596 | cpp | C++ | Codeforces/C - Classy Numbers .cpp | Harry-kp/Cp | 94e687a3a5256913467f50d8f757b12640529513 | [
"MIT"
] | 2 | 2020-11-19T19:21:24.000Z | 2021-04-22T10:53:16.000Z | Codeforces/C - Classy Numbers .cpp | Harry-kp/Cp | 94e687a3a5256913467f50d8f757b12640529513 | [
"MIT"
] | null | null | null | Codeforces/C - Classy Numbers .cpp | Harry-kp/Cp | 94e687a3a5256913467f50d8f757b12640529513 | [
"MIT"
] | 1 | 2021-12-02T06:03:17.000Z | 2021-12-02T06:03:17.000Z | #include <bits/stdc++.h>
using namespace std;
#define fastio \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
cout.tie(NULL)
#define PI(a, b) pair<a, b>
#define MP make_pair
#define EB emplace_back
#define MOD 1000000007
#define int long long int
#define S second
#define... | 19.228916 | 80 | 0.447368 | Harry-kp |
c9ae759dbd4a33d2fbd9ca8bcd9938db6d7e7282 | 2,617 | hh | C++ | src/angle/AzimuthalQuadrature.hh | baklanovp/libdetran | 820efab9d03ae425ccefb9520bdb6c086fdbf939 | [
"MIT"
] | 4 | 2015-03-07T16:20:23.000Z | 2020-02-10T13:40:16.000Z | src/angle/AzimuthalQuadrature.hh | baklanovp/libdetran | 820efab9d03ae425ccefb9520bdb6c086fdbf939 | [
"MIT"
] | 3 | 2018-02-27T21:24:22.000Z | 2020-12-16T00:56:44.000Z | src/angle/AzimuthalQuadrature.hh | baklanovp/libdetran | 820efab9d03ae425ccefb9520bdb6c086fdbf939 | [
"MIT"
] | 9 | 2015-03-07T16:20:26.000Z | 2022-01-29T00:14:23.000Z | //----------------------------------*-C++-*-----------------------------------//
/**
* @file AzimuthalQuadrature.hh
* @brief AzimuthalQuadrature class definition
* @note Copyright (C) 2013 Jeremy Roberts
*/
//----------------------------------------------------------------------------//
#ifndef detran_angle_A... | 30.430233 | 80 | 0.587696 | baklanovp |
c9af57acaf292d9e5dded59e15a94507fd51e092 | 3,568 | hpp | C++ | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) Andrey Pikas
*/
#pragma once
#include "delete_defaults.hpp"
#include "forward.hpp"
#include "impexp.hpp"
typedef struct CassIterator_ CassIterator;
namespace cass {
class CASSA_IMPEXP iterator : delete_defaults {
public:
static iterator * ptr(::CassIterator *p);
::CassIterator * backe... | 27.446154 | 70 | 0.716928 | API92 |
c9bac0dfcabc1430d6ca3e5a4f613c339bdb21de | 4,402 | hpp | C++ | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | null | null | null | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | 6 | 2019-05-29T21:11:03.000Z | 2021-07-01T10:47:02.000Z | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | 1 | 2019-05-13T11:55:39.000Z | 2019-05-13T11:55:39.000Z | //
//
//
#pragma once
#include "IteratorRecognition/Config.hpp"
#include "IteratorRecognition/Support/Utils/Extras.hpp"
#include "IteratorRecognition/Support/Utils/DebugInfo.hpp"
#include "IteratorRecognition/Support/CondensationGraph.hpp"
#include "IteratorRecognition/Analysis/GraphUpdater.hpp"
#include "Iterat... | 25.593023 | 78 | 0.714448 | robcasloz |
c9bdf38f640c35fba71055c1b023061cfc1190b5 | 2,117 | cc | C++ | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | 9 | 2015-04-27T11:54:19.000Z | 2022-01-30T23:42:00.000Z | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | null | null | null | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | 3 | 2019-12-18T21:11:57.000Z | 2020-05-28T17:30:03.000Z | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "NXHit.hh"
#include "G4UnitsTable.hh"
#include "G4VVisManager.hh"
#include "G4Circle.hh"
#include "G4Colour.hh"
#include "G4VisAttributes.hh"
G4All... | 27.141026 | 80 | 0.58479 | maxwell-herrmann |
c9c01d9391098e84726256cf59347d89fb4ed591 | 1,132 | cpp | C++ | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | #include "utils.hpp"
#include "ListCells.hpp"
#include "Crypt.hpp"
Crypt::Crypt(){
this->rate = -1;
}
Crypt::Crypt(Cell cellCrypt) {
this->cell = cellCrypt;
this->rate = 0.0;
this->listCells = ListCells();
this->meanIntensity = 0.0;
this->meanRawIntensity = 0.0;
}
double Crypt::getMeanIntensity() {
retu... | 18.258065 | 118 | 0.675795 | wolframtheta |
c9c4d5fa82d61f0418e3b3411dec22be8bf588fe | 1,066 | hpp | C++ | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <_personal_automine_uninstall_circle_zocl.hpp>
START_ATF_NAMESPACE
namespace Info
{
using _personal_automine_uninstall_circle_zoclctor... | 59.222222 | 266 | 0.839587 | lemkova |
c9d2d6f7e2aae925899a9b18fde73b32451fed98 | 2,123 | cpp | C++ | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | 5 | 2019-03-08T11:26:35.000Z | 2022-01-15T12:53:57.000Z | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | null | null | null | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | 6 | 2019-03-07T08:46:33.000Z | 2022-02-15T17:38:18.000Z | // Task data
// Author: Evgeniy Sukhomlinov
// 2018
// Licensed under GNU General Public License, Version 3. See the LICENSE file.
#include "XTaskWrapper.h"
#include "Core/Log.h"
#include "Utils/Utils.h"
#include "Utils/Random.h"
#include "Hash/sha256_mod.h"
#define bytereverse(x) ( ((x) << 24) | (((x) <... | 31.220588 | 110 | 0.651908 | swordlet |
c9d983f1ac0e5afdc7de86f2ec2f35749dcded16 | 96,717 | cpp | C++ | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_nape_constraint_Constraint
#include <hxinc/nape/constraint/Constraint.h>
#endif
#ifndef INCLUDED_nape_constraint_LineJoint
#include <hxinc/nape/constraint/LineJoint.h>
#endif
#ifndef INCLUDED_nape_geom_MatMN
#include <hxinc/nape/geom/MatMN.h>
#en... | 41.349722 | 241 | 0.570169 | HedgehogFog |
c9e0859e598a2be5cb4d3bef0e9a451794c877ba | 1,321 | cpp | C++ | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | 1 | 2017-09-26T07:15:19.000Z | 2017-09-26T07:15:19.000Z | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | 5 | 2017-07-01T22:43:09.000Z | 2017-10-02T22:18:22.000Z | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2_ros/transform_broadcaster.h>
#include <geometry_msgs/TransformStamped.h>
class BroadcasterNode
{
public:
BroadcasterNode()
: tf2_br_() {}
void broadcast_robot_pose(double x, double y, double theta)
{
geometry_msgs::TransformStampe... | 24.018182 | 61 | 0.696442 | davidmball |
c9e0d00a9b69f145b2e0c116fc58f3d65ed095de | 3,689 | hpp | C++ | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// AnimBlueprintGeneratedClass SK_M_Med_Soldier_04_... | 63.603448 | 208 | 0.765248 | Milxnor |
51870a2f12b4852111ca8ae3f50067e51cd9929f | 697 | cpp | C++ | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 42 | 2015-07-24T23:05:07.000Z | 2022-03-16T01:31:04.000Z | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 4 | 2015-03-17T05:42:49.000Z | 2020-08-09T15:21:45.000Z | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 29 | 2015-01-03T05:56:32.000Z | 2021-10-05T15:28:33.000Z | /****************************************************************************/
/**
* @file Vector3.cpp
* @author Naohisa Sakamoto
*/
/****************************************************************************/
#include "Vector3.h"
#include <kvs/Type>
namespace kvs
{
// Template instantiation.
template class... | 25.814815 | 78 | 0.571019 | X1aoyueyue |
518958fd446c4f34d0736d90e32e6f3cf68a2a65 | 5,515 | cpp | C++ | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | //===----------- RtMemRef.cpp - Dynamic MemRef Implementation ------------===//
//
// Copyright 2019-2020 The IBM Research Authors.
//
// =============================================================================
//
// This file contains implementations of Dynamic MemRef data structures and
// helper functions.
//
/... | 32.063953 | 80 | 0.682684 | gperrotta |
5196b437b54d2d77be1f81d5f74bf370d5cabb38 | 7,547 | cxx | C++ | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 29.365759 | 88 | 0.619054 | sharugupta |
519c6b3abe3e2cd2428dde8de641453fe9b49c0d | 11,793 | cpp | C++ | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | 1 | 2022-03-19T11:52:44.000Z | 2022-03-19T11:52:44.000Z | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | null | null | null | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | null | null | null | #include <QtWidgets>
#include "keyconfigdialog.h"
#include "shortcutbutton.h"
#include "ui_keyconfigdialog.h"
static int translateModifiers(Qt::KeyboardModifiers state,
const QString &text)
{
int result = 0;
// The shift modifier only counts when it is not used to type... | 36.968652 | 171 | 0.642669 | SAT1226 |
51aaf6f4b44684083721281ac37c12423528dac2 | 2,313 | cpp | C++ | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 34 | 2019-09-22T15:52:29.000Z | 2022-01-16T16:14:15.000Z | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 3 | 2020-03-28T15:12:56.000Z | 2021-02-08T09:25:29.000Z | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 8 | 2020-03-20T13:15:33.000Z | 2022-01-15T03:43:58.000Z | #include <common.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <io.h>
#include <dma.hpp>
#include <mdec.h>
#include <gpu.h>
#include "bad_apple.h"
#define SCR_W 256
#define SCR_H 240
uint32_t* buffer = nullptr;
void decodeAndDisplayFrame(uint8_t* frame, size_t frameLen, uint16_t frameWidth, ... | 27.211765 | 106 | 0.65067 | ggrtk |
51b0bc5023b24223395db4d64ca1adbbb8738c5a | 1,256 | cpp | C++ | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 4 | 2018-12-26T11:10:21.000Z | 2021-02-05T10:31:30.000Z | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | null | null | null | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 2 | 2021-02-05T10:31:37.000Z | 2021-04-04T17:25:07.000Z | #include <stdio.h>
#include<stdlib.h>
#include <string>
#include <iostream>
#include <QProcess>
#pragma comment( linker, “/subsystem:windows /entry:mainCRTStartup” )
//"C:\Program Files\TortoiseSVN\bin\svn_wrapper.exe" diff System/WMPS/DIS/UI/DisEventVariationUI/DisEventVariationUI.cpp
//C:\WtgeoProducts: "C:\Progra... | 24.153846 | 120 | 0.55414 | ZYV037 |
51b28c7a4ec3d325b98b22d50a9c84f2f6f40bd0 | 110 | cpp | C++ | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | null | null | null | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | 37 | 2020-03-02T18:31:57.000Z | 2020-05-20T07:18:14.000Z | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | 2 | 2020-03-10T17:35:27.000Z | 2020-04-24T10:51:47.000Z | #ifdef UNIX
#include "Mesh.h"
#include <stdio.h>
int main(void)
{
printf("MAIN MAIN\n");
return 0;
}
#endif
| 11 | 23 | 0.654545 | payano |
51b8a7338093cc50265f302911d9b11b6fca5810 | 207 | cpp | C++ | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | 4 | 2018-04-07T11:04:51.000Z | 2018-12-27T15:34:14.000Z | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | null | null | null | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | 3 | 2018-04-07T06:44:15.000Z | 2018-10-27T08:15:49.000Z | #include "VerifEye.h"
#include <direct.h>
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
_mkdir("./data-db");
QApplication a(argc, argv);
VerifEye w;
w.show();
return a.exec();
}
| 15.923077 | 33 | 0.666667 | sanket26jadhav |
51b90dfb14d924ecafc66fe11b4134cdcfc78a8a | 903 | hpp | C++ | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 35 | 2018-01-07T02:34:38.000Z | 2022-02-09T05:19:03.000Z | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 111 | 2017-09-20T09:12:36.000Z | 2020-12-27T12:52:03.000Z | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 5 | 2020-02-11T11:17:37.000Z | 2021-01-08T17:55:43.000Z | #ifndef GEAROENIX_GLC3_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP
#define GEAROENIX_GLC3_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP
#include "../../core/gx-cr-build-configuration.hpp"
#ifdef GX_USE_OPENGL_CLASS_3
#include "../../core/sync/gx-cr-sync-end-caller.hpp"
#include "../../gl/gx-gl-types.hpp"
#include "../../render/pipel... | 33.444444 | 122 | 0.781838 | Hossein-Noroozpour |
51b95da646c64f4066b8b497711aab313801eafb | 363 | hpp | C++ | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2018-07-04T16:44:04.000Z | 2021-01-03T07:26:27.000Z | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | #pragma once
// #include <iostream>
#include "AMDiS_fwd.hpp"
#include "FixVec.hpp"
#include "MatrixVector.hpp"
#include "traits/basic.hpp"
#include "traits/category.hpp"
#include "traits/meta_basic.hpp"
#include "traits/num_cols.hpp"
#include "traits/num_rows.hpp"
#include "traits/size.hpp"
#include "traits/tag.hpp"
... | 21.352941 | 41 | 0.746556 | spraetor |
51c58ff0cb05e1a6ccc41dd496e0e79b871e4ed7 | 817 | cpp | C++ | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 139 | 2020-08-17T20:10:24.000Z | 2022-03-28T12:22:44.000Z | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 89 | 2020-08-28T16:41:01.000Z | 2022-03-28T19:10:49.000Z | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 19 | 2020-10-19T00:54:40.000Z | 2022-02-28T05:34:17.000Z | #include "rive/shapes/cubic_asymmetric_vertex.hpp"
#include "rive/math/vec2d.hpp"
#include <cmath>
using namespace rive;
void CubicAsymmetricVertex::computeIn()
{
Vec2D::add(m_InPoint,
Vec2D(x(), y()),
Vec2D(cos(rotation()) * -inDistance(),
sin(rotation()) * -inDistance()));... | 21.5 | 52 | 0.651163 | kariem2k |
51c93424fa96d9fa33a4d095bd18aed41d89f8fc | 1,295 | cpp | C++ | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | /**
* @author Nikita Mochalov (github.com/tralf-strues)
* @file insets.cpp
* @date 2021-11-06
*
* @copyright Copyright (c) 2021
*/
#include "paint/insets.h"
namespace Sgl
{
const Insets Insets::EMPTY = Insets{0, 0, 0, 0};
Insets::Insets(int32_t top, int32_t right, int32_t bottom, int32_t left)
... | 21.949153 | 76 | 0.573745 | tralf-strues |
51c938dfefd58fca698bbb36b0f5270cf09aa717 | 383 | cpp | C++ | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | 2 | 2021-05-29T20:34:50.000Z | 2021-05-29T20:39:25.000Z | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | #include "file.hpp"
namespace os {
#ifdef PLATFORM_LINUX
#include "linux/file.cpp"
#endif
#ifdef PLATFORM_WINDOWS
#include "windows/file.cpp"
#endif
#ifdef PLATFORM_APPLE
#error "Path for APPLE is not implemented!"
// #include "apple/path.cpp"
#endif
template <>
i32 file::writer::write (i32 value) {
ASSERT(descr... | 13.678571 | 43 | 0.710183 | JustSlavic |
51ce6e0d46e3a89ff529abb7b3055475b78c418e | 481 | cpp | C++ | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 7 | 2022-03-08T08:47:54.000Z | 2022-03-29T15:08:36.000Z | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 12 | 2022-03-10T13:04:42.000Z | 2022-03-24T01:40:23.000Z | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 5 | 2022-03-13T17:46:16.000Z | 2022-03-31T07:28:26.000Z | #include "natalie.hpp"
namespace Natalie {
bool FalseObject::and_method(Env *env, Value other) {
return false;
}
bool FalseObject::or_method(Env *env, Value other) {
return other->is_truthy();
}
Value FalseObject::to_s(Env *env) {
if (!s_string)
s_string = new StringObject { "false" };
retur... | 18.5 | 53 | 0.671518 | scwfri |
51d599938510d83224a340bd109409d3271930ce | 12,216 | cpp | C++ | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | null | null | null | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | 1 | 2015-07-25T13:26:42.000Z | 2015-07-25T13:26:42.000Z | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2010 - 2015 Leonid Kostrykin
*
* Chair of Medical Engineering (mediTEC)
* RWTH Aachen University
* Pauwelsstr. 20
* 52074 Aachen
* Germany
*
*/
#include <Carna/dicom/CarnaDICOM.h>
#if !CARNAQT_DISABLED
#include <Carna/dicom/DICOMBrowser.h>
#include <Carna/dicom/DICOMBrowserDetails.h>... | 32.75067 | 134 | 0.597168 | RWTHmediTEC |
51e44bc7aadacc1bf880a5918a0445670103cc49 | 64,352 | cpp | C++ | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | 39.167377 | 309 | 0.805445 | PaulDixon |
51e61c57b7bfbcdfaea86939ab4f66a62ac79872 | 714 | hpp | C++ | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Quantum Script Extension XML
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef QUANTUM_SCRIPT_EXTENSION_XML__EXPORT_HPP
#define QUANTUM_SCRIPT_EXTENSION_XML__EXPORT_... | 24.62069 | 70 | 0.761905 | g-stefan |
51e6260b89be41930cab597106f0898fbed3c605 | 13,422 | cpp | C++ | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | #include "Processor.h"
#include <iostream>
Processor::Processor()
{
m_stack = make_shared<Stack>();
m_processingUnit = make_shared<ProcessingUnit>();
m_processingUnit->setStackController(m_stack);
m_commandTable = createCommandMap();
m_commandMap = std::unordered_map<string, any>{
{"LDA", std::function<void(... | 35.321053 | 103 | 0.64886 | yu830425 |
51e72748504e4c3436128bf341d152c17a7ea10e | 2,755 | cpp | C++ | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | // Author: b1tank
// Email: b1tank@outlook.com
//=================================
/*
134_gas-station LeetCode
Solution:
- one pass: return the index after the index where the lowest possible tank is reached (total gas >= total cost)
- better draw graph to show the trend to understand the algori... | 29.308511 | 117 | 0.476225 | b1tank |
51ea15502305cb5ec3b07b5b3cd9e3353652fc0f | 2,406 | hpp | C++ | legion/engine/core/ecs/filters/filter_info.hpp | Legion-Engine/Legion-Engine | a2b898e1cc763b82953c6990dde0b379491a30d0 | [
"MIT"
] | 258 | 2020-10-22T07:09:57.000Z | 2021-09-09T05:47:09.000Z | legion/engine/core/ecs/filters/filter_info.hpp | LeonBrands/Legion-Engine | 40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c | [
"MIT"
] | 51 | 2020-11-17T13:02:10.000Z | 2021-09-07T18:19:39.000Z | legion/engine/core/ecs/filters/filter_info.hpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 13 | 2020-12-08T08:06:48.000Z | 2021-09-09T05:47:19.000Z | #pragma once
#include <array>
#include <unordered_set>
#include <functional>
#include <core/common/hash.hpp>
/**
* @file filter_info.hpp
*/
namespace legion::core::ecs
{
/**@struct filter_info_base
* @brief Common base class of all filter_info variants.
*/
struct filter_info_base
{
/*... | 31.657895 | 123 | 0.657107 | Legion-Engine |
51edc2f253669ad6caa3ee9c29458c91e32d7b16 | 7,889 | cpp | C++ | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | 2 | 2020-11-05T12:38:35.000Z | 2021-03-19T06:02:03.000Z | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | null | null | null | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | null | null | null | #include "libunittest/utilities.hpp"
#include <thread>
#include <iostream>
#include <mutex>
#include <cstdlib>
#ifdef _MSC_VER
#include <windows.h>
#include <iomanip>
#else
#include "config.hpp"
#endif
#if HAVE_GCC_ABI_DEMANGLE==1
#include <cxxabi.h>
#endif
namespace unittest {
namespace core {
#if defined(_MSC_VER) ... | 25.285256 | 121 | 0.610724 | bloomen |
51ef02ea8aecd9d9cd738cd6892119e1c6ed9b6a | 17,497 | hpp | C++ | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | #ifndef KGD_UTILS_DICE_HPP
#define KGD_UTILS_DICE_HPP
/******************************************************************************//**
* \file
* \brief Contains the logic for random number generation.
*
* Provides aliases for commonly used types as well as the main class Dice.
*/
#include <random>
#include <c... | 33.138258 | 113 | 0.643482 | dubkois |
51ef7de9fa709713a2d3867f94be08202fd61df3 | 5,948 | cpp | C++ | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 31 | 2021-01-20T08:12:48.000Z | 2022-03-29T16:47:50.000Z | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 118 | 2021-02-04T17:57:48.000Z | 2022-03-31T13:03:21.000Z | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 13 | 2021-01-21T01:43:19.000Z | 2022-03-15T04:51:19.000Z | #include <interface.h>
#include <vstdlib/IKeyValuesSystem.h>
#include <tier1/KeyValues.h>
#include <tier1/mempool.h>
#include <tier1/utlsymbol.h>
#include <tier0/threadtools.h>
#include <tier1/memstack.h>
#include <vgui/ILocalize.h>
#include <tier0/memdbgon.h>
using namespace vgui;
#if 0
#ifdef NO_SBH
#define KE... | 20.797203 | 206 | 0.733524 | anchurcn |
51efbb8c8b48f317d727dad4a7ab1065b7afad6c | 1,638 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | 1 | 2020-07-15T12:43:02.000Z | 2020-07-15T12:43:02.000Z | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "EngineClasses/SpatialNetBitWriter.h"
#include "UObject/WeakObjectPtr.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "EngineClasses/SpatialPackageMapClient.h"
#include "Schema/UnrealObjectRef.h"
#include "SpatialConstants.h"
#include "Util... | 26 | 112 | 0.783272 | cyberbibby |
51f60f4d28b37309b7d4d0eb515edb9dea2e292a | 7,504 | hpp | C++ | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#... | 52.111111 | 221 | 0.74467 | RedBrumbler |
51fa446c6ceb10537b11092cd9baae2c077487ab | 25,583 | cpp | C++ | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 43 | 2020-10-29T18:05:40.000Z | 2022-03-29T03:47:01.000Z | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 1 | 2021-12-31T01:36:49.000Z | 2021-12-31T15:21:54.000Z | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 6 | 2020-11-07T07:31:27.000Z | 2022-01-09T18:48:19.000Z | // ecc.cpp -- NIST B571 ECC over F_2^571
// DMcClain/Acudora 11/11
// ---------------------------------------------
#include "ecc.h"
// ------------------------------------------------------------
static const int lmask = sizeof(ulong)-1;
// ------------------------------------------------------------
s... | 21.643824 | 176 | 0.562092 | dbmcclain |
a4036081cd6c02d2ad4c99f6385f457cef1a1cac | 3,274 | hpp | C++ | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 651 | 2015-03-14T23:18:44.000Z | 2022-01-19T14:08:28.000Z | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 362 | 2015-01-26T16:20:28.000Z | 2022-01-26T06:19:23.000Z | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 169 | 2015-09-28T17:06:28.000Z | 2021-12-18T16:02:49.000Z | /******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... | 32.098039 | 139 | 0.587355 | abhisek-kundu |
a4112ccdd7b540b87efcad658abfece69fc896ef | 8,746 | cpp | C++ | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 18 | 2020-07-30T11:55:23.000Z | 2022-02-25T02:39:15.000Z | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 34 | 2021-01-13T02:02:12.000Z | 2022-03-23T12:09:55.000Z | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 3 | 2021-03-18T12:53:58.000Z | 2021-10-02T20:24:41.000Z | /*
LICENSE
-------
Copyright 2005 Nullsoft, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditio... | 20.627358 | 102 | 0.570089 | semiessessi |
a4119f4812509d12b78f711dcc2f5ad1c2e82575 | 10,107 | hh | C++ | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | /* -*- C++ -*- */
/** @file "SharedVar.hh"
* @brief utilities for multi-thread shared variable
*
* This header declare classes and utilities to easily
* share a variable between multiple threads.
*
* @author Frederic Py <fpy@mbari.org>
* @ingroup utils
*/
/*******************************************************... | 32.498392 | 84 | 0.598793 | miatauro |
a414043fb3a5a0513723c8bb5f357577414d4000 | 1,279 | cpp | C++ | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <string>
#include <unordered_set>
#include <unordered_map>
#include <vector>
#include <map>
std::vector<std::pair<int,int>> moves(int x, int y ){
std::vector<std::pair<int,int>> v = { {x-2,y+1},{x-2,y-1},{x+1,y-2},{x-1,y-2} };
auto it_end = std::remove_if( v.begin(... | 21.677966 | 82 | 0.577795 | exbibyte |
a415d87375ae54df280b10cc84c3a54e0627b4db | 64 | hpp | C++ | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp>
| 32 | 63 | 0.828125 | miathedev |
a417330acf645dc86bbc4a6be5d8b97a9a2b8612 | 2,132 | cpp | C++ | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 531 | 2016-10-19T14:04:55.000Z | 2022-03-28T06:34:25.000Z | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | null | null | null | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 172 | 2016-10-18T14:53:11.000Z | 2022-03-22T10:39:44.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "JsonParser.h"
#include "JsonUtilities.h"
// Sets default values
AJsonParser::AJsonParser()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bC... | 31.352941 | 115 | 0.735929 | devilmhzx |
a417cc08b00e9e4d6b81a70df83aba4b4b8c5b1d | 306 | hpp | C++ | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 11 | 2021-03-15T07:06:21.000Z | 2021-09-27T13:54:25.000Z | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | null | null | null | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 1 | 2021-06-24T10:46:46.000Z | 2021-06-24T10:46:46.000Z | #pragma once
//------------------------------------------------------------------------------
namespace bitset_tests {
//------------------------------------------------------------------------------
void run_mini();
//------------------------------------------------------------------------------
}
| 21.857143 | 80 | 0.140523 | olegpublicprofile |
a429b28c9c8bcd72bcf2f4fe31d909beb30482f5 | 2,517 | cpp | C++ | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | /* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... | 38.723077 | 151 | 0.556218 | phong-phuong |
a431cf3bc2de93a61f30ca7162436681d69c84f8 | 416 | cpp | C++ | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | null | null | null | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | null | null | null | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | 1 | 2019-04-05T20:26:27.000Z | 2019-04-05T20:26:27.000Z | //
// Created by Patryk Kacperski on 09/07/2018.
//
#include "Piece.h"
namespace pkchessengine {
MoveResult Piece::validate(Move move) {
return MoveResult::kValid;
}
Piece::Piece(Side side, PieceType type)
{ }
Side Piece::getSide() {
return info.side;
}
PieceType Piece:... | 15.407407 | 45 | 0.59375 | patryk-kacperski |
bf9a838e65ef8b5bb31cf4d8b4342cc210a88ab3 | 914 | cc | C++ | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | // solves a std::tuple problem in vs2012
#define GTEST_HAS_TR1_TUPLE 0
#define GTEST_USE_OWN_TR1_TUPLE 1
#include <gtest/gtest.h>
#include "tilebase.h"
#include "plugins/meta-protobuf-v4/config.h"
struct FetchProtobufV4: public testing::Test
{
void SetUp()
{ ndioAddPluginPath(ND_ROOT_DIR"/bin/plugins");
}
}... | 25.388889 | 96 | 0.756018 | TeravoxelTwoPhotonTomography |
bf9aca021d9566d860a6dbad176073dd0ae0a500 | 8,213 | hpp | C++ | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | 2 | 2018-12-03T13:17:31.000Z | 2020-04-08T07:00:02.000Z | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | namespace gv
{
struct gv_renderable_tex_d3d_info
{
gv_renderable_tex_d3d_info()
{
}
gv_renderable_tex_d3d_info(const gv_renderable_tex_d3d_info& info)
{
(*this) = info;
}
~gv_renderable_tex_d3d_info()
{
}
gv_renderable_tex_d3d_info&
operator=(const gv_renderable_tex_d3d_info& info)
{
texture = info.tex... | 28.32069 | 94 | 0.725435 | dragonsn |
bf9bed6c3562413a9f578e2ce8d0efd59540ca5b | 1,132 | cpp | C++ | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 5 | 2018-10-04T09:49:19.000Z | 2019-06-12T05:32:24.000Z | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 5 | 2018-10-04T09:54:55.000Z | 2020-10-15T20:31:46.000Z | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 38 | 2018-10-04T09:48:17.000Z | 2020-12-10T08:52:47.000Z | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
bool prime[202];
void isprime(ll n)
{ memset(prime,true,sizeof(prime));
prime[0]=false;
prime[1]=false;
for(ll i=2;i*i<=n;i++)
{
if(prime[i]==true)
{
for(ll p=i*2;p<=n;p+=i)
prime[p]=false;
... | 14.512821 | 48 | 0.382509 | Khush-Ramdev |
bf9f980348503b6b26163a33c586bcbcd399f62e | 652 | hpp | C++ | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | null | null | null | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | null | null | null | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 1 | 2022-03-11T10:28:21.000Z | 2022-03-11T10:28:21.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_STATUS_HPP
#define IROHA_STATUS_HPP
#include <rapidjson/stringbuffer.h>
#include <cstdint>
#include <optional>
#include <string>
#include "consensus/round.hpp"
namespace iroha {
struct IrohaStatus {... | 19.757576 | 53 | 0.726994 | Insafin |
bfa04fb4013ddfe07f30f237c48d1cdd8a59cea7 | 1,508 | hpp | C++ | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | 1 | 2021-11-24T16:49:48.000Z | 2021-11-24T16:49:48.000Z | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | null | null | null | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | null | null | null | //
// Created by Adam on 13/12/2021.
//
#pragma once
#include <iostream>
#include "vector"
#include "LibCraft/renderEngine/include/Vertex.hpp"
#include "LibCraft/renderEngine/include/Cube.hpp"
#include "LibCraft/renderEngine/include/vbo.hpp"
#include "LibCraft/renderEngine/include/vao.hpp"
#include "LibCraft/renderEng... | 28.45283 | 94 | 0.615385 | leodlplq |
bfa225823a119b760369311b30ffbc2824170b88 | 4,957 | cpp | C++ | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
#include "StdAfx.h"
#include "Game.h"
#include "IGameRulesPlayerStatsModule.h"
#include "GameRulesObjectiveVictoryConditionsIndividualScore.h"
#include "GameRules.h"
#include "IGameRulesStateModule.h"
#include "IGameRulesObjectivesModule.h"
#inclu... | 28.819767 | 247 | 0.731693 | IvarJonsson |
bfb4e21289f3158c867588c70d0e27e5810d8e6a | 302 | cpp | C++ | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | 2 | 2021-01-31T23:44:54.000Z | 2021-03-15T07:27:30.000Z | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | null | null | null | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | null | null | null |
#include <iostream>
#include <Foundation/Types/Types.hpp>
#include <Foundation/Strings/String.hpp>
using namespace PANN::TYPES;
int main(int, char**)
{
PANN_UInt8 x='B';
PANNString str;
str.print_a_string();
std::cout << "\nHello, world!"<<x<<std::endl;
return 0;
}
| 15.1 | 49 | 0.629139 | MoeidHeidari |
bfb7d54b086a538137da0bc456e2c65a249a0bac | 385 | hpp | C++ | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | cpu.hpp | AVasK/core | e8f73f2b92be1ac0a98bda2824682181c5575748 | [
"MIT"
] | null | null | null | #pragma once
#if __APPLE__
#include "device_info/apple_platform.hpp"
#elif defined __has_include && __has_include(<sys/param.h>) && __has_include(<sys/sysctl.h>)
#include "device_info/sysctl_info.hpp"
// #elif __WIN32__
//! TODO: Add support for windows
// #elif (__x86_64__ || __amd64__)
//! TODO: Use x86 cpuid to que... | 27.5 | 92 | 0.750649 | AVasK |
bfbedea09206a5cbc8ace6bc31ac9907bc5fd537 | 10,067 | hpp | C++ | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | include/gp/problem/problem.hpp | ho-ri1991/genetic-programming | 06d0c1f0719f4d2ddcf9c066d9de1d0bb67772b0 | [
"MIT"
] | null | null | null | #ifndef GP_PROBLEM_PROBLEM
#define GP_PROBLEM_PROBLEM
#include <any>
#include <algorithm>
#include <gp/utility/type.hpp>
#include <gp/utility/variable.hpp>
#include <gp/utility/result.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <limits>
namespace gp::problem {
... | 61.012121 | 206 | 0.548525 | ho-ri1991 |
bfbf097838dfd1611e2eba0f63106220413f9729 | 26,642 | cpp | C++ | App/EZDefaultAction.cpp | ouxianghui/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 12 | 2021-03-26T03:23:30.000Z | 2021-12-31T10:05:44.000Z | App/EZDefaultAction.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | null | null | null | App/EZDefaultAction.cpp | 15831944/ezcam | 195fb402202442b6d035bd70853f2d8c3f615de1 | [
"MIT"
] | 9 | 2021-06-23T08:26:40.000Z | 2022-01-20T07:18:10.000Z | #include "EZDefaultAction.h"
#include "RMouseEvent.h"
#include "RSettings.h"
#include "RMath.h"
#include "RGraphicsViewQt.h"
#include <QSharedPointer>
#include "REntity.h"
#include "REntityData.h"
#include "RBlock.h"
#include "RBlockReferenceEntity.h"
#include "RBlockReferenceData.h"
#include "RSnapFree.h"
... | 34.15641 | 135 | 0.525073 | ouxianghui |
bfbf430d78da0096edb13b212a1b93be77a3ec01 | 2,044 | hpp | C++ | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 31 | 2017-12-29T16:39:07.000Z | 2022-03-25T03:26:29.000Z | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 7 | 2018-06-29T07:30:14.000Z | 2021-02-16T23:19:20.000Z | RUNETag/include/markerpose.hpp | GeReV/RUNEtag | e8319a132e325d73cdd7759a0d8a5f45f26dd129 | [
"MIT"
] | 13 | 2018-09-27T13:19:12.000Z | 2022-03-02T08:48:42.000Z | /**
* RUNETag fiducial markers library
*
* -----------------------------------------------------------------------------
* The MIT License (MIT)
*
* Copyright (c) 2015 Filippo Bergamasco
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docume... | 34.644068 | 189 | 0.695695 | GeReV |
bfc1fab970eb48f9eda9f80945f7bbee62921438 | 2,787 | hpp | C++ | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | libraries/chain/include/infrablockchain/chain/received_transaction_votes_object.hpp | YosemiteLabs/infrablockchain | da05af17a9bfb1c02dafca9d8033c9e1b00e92b3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /**
* @file infrablockchain/chain/received_transaction_votes_object.hpp
* @author bezalel@infrablockchain.com
* @copyright defined in infrablockchain/LICENSE.txt
*/
#pragma once
#include <eosio/chain/database_utils.hpp>
#include <eosio/chain/multi_index_includes.hpp>
namespace infrablockchain { namespace chain... | 50.672727 | 194 | 0.759598 | YosemiteLabs |
bfc2b5b536ec8501beae3f71d4f36065bb826ddf | 2,017 | hpp | C++ | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | src/runtime/gpu/gpu_call_frame.hpp | pqLee/ngraph | ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | 36.672727 | 95 | 0.57412 | pqLee |
bfc81a43b20d46752d4363393f543e00c1950721 | 576 | cpp | C++ | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | test/spring2d/test-spring2d.cpp | sathyamvellal/learnopengl | 54e9fd6193c6dc970b0802bc31c5b558c46586d5 | [
"MIT"
] | null | null | null | //
// Created by Sathyam Vellal on 19/03/2018.
//
#include <cmath>
#include <glm/glm.hpp>
#include "utils/logger.h"
#include "spring2d/spring2d.h"
#include "spring2d/spring2dsim.h"
int main(int argc, char **argv)
{
Spring2DSim spring2DSim(Spring2DSim(5.0));
spring2DSim.init();
glm::vec2 a(2, 3);
... | 18.580645 | 51 | 0.604167 | sathyamvellal |
bfccffb0592842178fb180a8dfabee277730d4dd | 7,029 | cpp | C++ | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | 2 | 2018-05-13T05:27:29.000Z | 2018-05-29T06:35:57.000Z | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | src/AbstractComponent.cpp | benzap/Kampf | 9cf4fb0d6ec22bc35ade9b476d29df34902c6689 | [
"Zlib"
] | null | null | null | #include "AbstractComponent.hpp"
#include <iostream>
#include <cassert>
AbstractComponent::AbstractComponent(stringType name, enumComponentFamily family, bool bIsParent) :
name(name),
family(family),
bIsParent(bIsParent) {
}
AbstractComponent::~AbstractComponent() {
}
const stringType& AbstractComponent::... | 26.625 | 99 | 0.762982 | benzap |
bfd8545519f23831a646f62db06fe9cf80d3cc8a | 4,438 | cpp | C++ | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | src/GamePanel.cpp | MCRewind/Ludum-Dare-40 | cac9d17adbba69cf3b26eb36155d002a499bdf06 | [
"MIT"
] | null | null | null | #include "GamePanel.h"
#include <string>
int keyOneState = 0;
int keyTwoState = 0;
int keyThreeState = 0;
int buyOneTime = 20;
int buyTwoTime = 20;
int buyThreeTime = 20;
GamePanel::GamePanel(Window * window, Camera * camera) : Panel(window, camera) {
state = 0;
this->window = window;
this->camera = camera;
map ... | 23.73262 | 127 | 0.646462 | MCRewind |
bfd8c471bf8e2b3d9249588c4719e70fa46d37ed | 837 | cpp | C++ | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null | code/shader_light_types.cpp | Ihaa21/ToonShading | f6f8e6037273b36d57e96ab7ee109957058e1992 | [
"MIT"
] | null | null | null |
struct directional_light
{
vec3 Color;
vec3 Dir;
vec3 AmbientLight;
mat4 VPTransform;
};
struct point_light
{
vec3 Color;
vec3 Pos; // NOTE: Camera Space Position
float MaxDistance; // TODO: Rename to radius
};
vec3 PointLightAttenuate(vec3 SurfacePos, point_light Light)
{
vec3 Result... | 23.25 | 88 | 0.671446 | Ihaa21 |
bfde7de1ca20fb0c77ea0b9dc6d8de9cdf2afce1 | 2,137 | hpp | C++ | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | src/common/minhook.hpp | PragmaTwice/proxinject | 3de394b110301c2d04eb4bc83c1f7bbabc214531 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 PragmaTwice
//
// Licensed under the Apache License,
// Version 2.0(the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 28.493333 | 75 | 0.689752 | PragmaTwice |
bfdfe590b733a58fd999394f876eaacce78bb14f | 1,828 | hpp | C++ | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null | MultiDimensionalArray.hpp | astrowar/SuperNovaeOpenCL | 7fd322d289f642feb4e4b8d8a09e92086c76f5e7 | [
"MIT"
] | null | null | null |
#ifndef MULTIDIMENSIONALARRAY_HPP
#define MULTIDIMENSIONALARRAY_HPP
#include <utility>
#include <vector>
template < typename N>
class Interval
{
const double start;
const double end;
const double delta;
const size_t num_divs;
Interval(double _start, double _end , double _delta): start(_start),end(_end), delta(... | 17.245283 | 138 | 0.640044 | astrowar |
bfdffb4899ad724bc8b51b47528bd63999f9b2b5 | 2,500 | cpp | C++ | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | 2 | 2019-12-21T00:53:47.000Z | 2020-01-01T10:36:30.000Z | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | cpp/library/boost/program_options.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | //
// Created by kaiser on 2020/4/27.
//
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/positional_options.hpp>
#include <boost/program_o... | 29.761905 | 80 | 0.6184 | KaiserLancelot |
bfe5d64bcf1ad3b32a9d06e5260bf4592f089e62 | 5,325 | cpp | C++ | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 28 | 2021-02-08T01:22:52.000Z | 2022-01-19T08:01:48.000Z | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 2 | 2020-06-06T09:07:48.000Z | 2020-06-06T09:13:07.000Z | src/coreclr/src/ToolBox/superpmi/superpmi-shared/hash.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 4 | 2021-05-27T08:39:33.000Z | 2021-06-24T09:17:05.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//----------------------------------------------------------
// hash.cpp - Class for hashing a text stream using MD5 hashing
//
// Note that on Windows, acquiring... | 26.625 | 119 | 0.640376 | swaroop-sridhar |
bfed30eb3fcd79467864bbd129d8632444fe54bc | 906 | cpp | C++ | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 2 | 2017-03-19T22:33:44.000Z | 2018-01-30T20:25:12.000Z | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 6 | 2016-03-15T14:46:39.000Z | 2016-04-13T17:50:17.000Z | 1_gestion_proyectos/src/central.cpp | antcc/practicas-mp | 20496b899bdb2af87aa3fbef2f972d3bd1989c1c | [
"MIT"
] | 3 | 2016-03-11T15:54:31.000Z | 2019-11-06T01:56:30.000Z | /**
* @file central.cpp
* @brief Calcula círculo con centro en medio de dos círculos y radio la mitad de la distancia
* @author Agarrido
*
* Un ejemplo de ejecución es:
* Introduzca un circulo en formato radio-(x,y): 3-(0,0)
* Introduzca otro circulo: 4-(5,0)
* El círculo que pasa por los dos cent... | 24.486486 | 95 | 0.618102 | antcc |
bfed9448d265f2b453f58869b659b3270cc6b1c1 | 44 | cpp | C++ | SRC/GekkoCore/JitcX86/JitcInteger.cpp | ogamespec/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 107 | 2015-09-07T21:28:32.000Z | 2022-02-14T03:13:01.000Z | SRC/GekkoCore/JitcX86/JitcInteger.cpp | emu-russia/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 116 | 2020-03-11T16:42:02.000Z | 2021-05-27T17:05:40.000Z | SRC/GekkoCore/JitcX86/JitcInteger.cpp | ogamespec/dolwin | 7aaa864f9070ec14193f39f2e387087ccd5d0a93 | [
"CC0-1.0"
] | 8 | 2017-05-18T21:01:19.000Z | 2021-04-30T11:28:14.000Z | // Integer Instructions
#include "../pch.h"
| 14.666667 | 23 | 0.681818 | ogamespec |
bfef2e950f0dd234a9e947041efd41525a4daa62 | 1,945 | cpp | C++ | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | trainingregional2018/training1/H.cpp | Victoralin10/ACMSolutions | 6d6e50da87b2bc455e953629737215b74b10269c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define REP(i, n) for(int i = 0; i < n; i++)
#define FOR(i, a, b) for (int i = a; i < b; i++)
#define CLR(t, value) memset(t, value, sizeof(t))
#define ALL(v) v.begin(), v.end()
#define SZ(v) ((int)(v).size())
#define TEST(x) cerr << "test " << #x << " " << x << endl;
#define sc(x) scanf("%d",... | 20.913978 | 72 | 0.462725 | Victoralin10 |
bffc22fa97a3105c5c606529d88d6839cbb1532b | 9,339 | cpp | C++ | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 13 | 2019-11-28T16:33:10.000Z | 2021-12-10T12:03:35.000Z | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 8 | 2020-05-04T14:32:49.000Z | 2021-12-09T13:10:07.000Z | src/EquationSet.cpp | gjo11/causaloptim | 81155ff1aeef5cd2618f2498ba6b779d5a944cff | [
"MIT"
] | 3 | 2020-04-22T23:18:06.000Z | 2020-12-10T09:32:05.000Z | //#include <afx.h>
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include "CustomFormat.h"
#include "SymbolSet.h"
#include "Equation.h"
#include "EquationSet.h"
#define VAR_NOT_ELIMINATED ((WORD) 0xFFFF)
#define VAR_ELIMINATED ((WORD) 0xFFFE)
CEquationSet_ :: CEquationSet_
(
CSymbolSet_ * p_pVa... | 24.641161 | 74 | 0.613663 | gjo11 |
bffe4a9cb95f40aaf3031addca697e5da918be28 | 3,213 | cpp | C++ | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | semana1/E.cpp | AllanNozomu/MC521 | 92e44eaee36b6adf4c4655e3b32d3ca2948ee03a | [
"MIT"
] | null | null | null | bool debug = false;
#include<vector>
#include<stack>
#include<queue>
#include<deque>
#include<bitset>
#include<set>
#include<string>
#include<iostream>
#include<algorithm>
#include<map>
#include<unordered_map>
#include<stdlib.h>
#include<string.h>
#include<stdio.h>
#include<math.h>
#include<time.h>
using namespace st... | 22.3125 | 77 | 0.540305 | AllanNozomu |
8700a75d7725b91ba46ff1f6be19a7e88575bff5 | 704 | cpp | C++ | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2021-06-11T06:41:29.000Z | 2021-06-11T06:41:29.000Z | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | 1 | 2022-02-25T07:46:54.000Z | 2022-02-25T07:46:54.000Z | Code/Engine/Renderer/IndexBuffer.cpp | yixuan-wei/PersonalEngine | 6f3b1df3ddeb662fbf65ca8b3ea7ddb446ef5a20 | [
"MIT"
] | null | null | null | #include "Engine/Renderer/IndexBuffer.hpp"
//////////////////////////////////////////////////////////////////////////
IndexBuffer::IndexBuffer(RenderContext* ctx, eRenderMemoryHint hint)
:RenderBuffer(ctx,INDEX_BUFFER_BIT,hint)
{
}
//////////////////////////////////////////////////////////////////////////
void In... | 33.52381 | 87 | 0.507102 | yixuan-wei |
870fe268a7302179531faf63d726107929c090f0 | 7,843 | hpp | C++ | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 2 | 2020-04-30T22:12:06.000Z | 2020-05-01T07:06:26.000Z | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | 9 | 2020-04-26T01:52:21.000Z | 2020-05-20T21:10:28.000Z | src/open_viii/graphics/Ppm.hpp | Sebanisu/VIIIcppTest | 59565ae2d32ea302401402544a70d3b37fab7351 | [
"MIT"
] | null | null | null | // 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 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be usefu... | 32.8159 | 80 | 0.563687 | Sebanisu |
8710f2c2d2d282fdd1ff8231c80279a8f57c0cd1 | 1,889 | hpp | C++ | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null | Engine/Events/EventSource.hpp | ryanvanrooyen/GameFramework | 56ec1fe66964b2963cbdb2ba04640be47de59cc7 | [
"Apache-2.0"
] | null | null | null |
#pragma once
#include "EngineCommon.h"
#include "Listeners.hpp"
namespace Game
{
class Window;
class EventSource
{
public:
virtual ~EventSource() = default;
void PushListener(WindowListener* listener);
void PushListener(MouseListener* listener);
void PushListener(Key... | 33.732143 | 82 | 0.677078 | ryanvanrooyen |
8713fa7a6b4895b12f501e015478608f65f2734a | 226 | hpp | C++ | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | 3 | 2019-07-12T23:12:24.000Z | 2019-09-05T07:57:45.000Z | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | PP/get_std.hpp | Petkr/PP | 646cc156603a6a9461e74d8f54786c0d5a9c32d2 | [
"MIT"
] | null | null | null | #pragma once
#include <PP/size_t.hpp>
#include <PP/tuple/concept.hpp>
namespace PP
{
namespace tuple
{
template <size_t I>
constexpr decltype(auto) get(concepts::tuple auto&& t) noexcept
{
return PP_F(t)[value<I>];
}
}
}
| 14.125 | 63 | 0.70354 | Petkr |
87165bdd762ebcc49d346f43ddd68e4476e22fca | 8,073 | cpp | C++ | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 4 | 2020-01-25T04:20:07.000Z | 2022-01-14T02:59:28.000Z | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | null | null | null | Source/Player.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 1 | 2020-04-01T04:36:48.000Z | 2020-04-01T04:36:48.000Z | /******************************************************************************
Author: Matthew Nolan OrangeMUD Codebase
Date: January 2001 [Crossplatform]
License: MIT License
Permission is hereby granted, free of charge, to any pers... | 30.123134 | 98 | 0.50799 | nolancs |
8716c7cb8cc02338de1bacf526833b346fb525d6 | 1,525 | cpp | C++ | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | 1 | 2022-03-06T08:31:11.000Z | 2022-03-06T08:31:11.000Z | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | null | null | null | src/programs/pthreads/pthreads.cpp | isaaclimdc/cachemulator | bcd0d330431df4dae9a7e1c61d2a61c4a0b3ffec | [
"MIT"
] | null | null | null | #include <sched.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#define MAXTHREADS 1000
void *threadFunc(void *arg) {
// for (int i=0; i<100; i++) {
int *p = (int *)arg;
// printf("p is %p\n", p);
*p = 20;
int x = *p;
... | 18.154762 | 50 | 0.510164 | isaaclimdc |
871a64882c43829827e0c64911606a13cce4fc94 | 1,510 | cpp | C++ | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | null | null | null | ADT-SET-MULTIset/Sort-AlgoAcedemy-Oct2015-RTF2-byMAP.cpp | kilarionov/cppTopics | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | [
"MIT"
] | 1 | 2019-05-24T03:44:06.000Z | 2019-05-24T03:44:06.000Z | // http://bgcoder.com/Contests/268/Telerik-Algo-Academy-October-2015
// https://github.com/TelerikAcademy/AlgoAcademy/tree/master/2015-10-Algorithms-on-String/Problems
#include <iostream>
//#include <set>
#include <map>
const int D = (int)('a'-'A') ;
using namespace std ;
int main ()
{
long n, k;
int asciiCode;
char... | 24.354839 | 98 | 0.56755 | kilarionov |
26b5a05d6e863f6b2dd1301fd01f508c7480d495 | 9,733 | cc | C++ | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | cc/chart/v3/grid-test.cc | skepner/ae | d53336a561df1a46a39debb143c9f9496b222a46 | [
"MIT"
] | null | null | null | #include "ext/omp.hh"
#include "chart/v3/grid-test.hh"
#include "chart/v3/chart.hh"
#include "chart/v3/stress.hh"
#include "chart/v3/area.hh"
// ----------------------------------------------------------------------
namespace ae::chart::v3::grid_test
{
static void test(result_t& result, const Projection& projecti... | 47.710784 | 160 | 0.624062 | skepner |
26bb2b988cc1c098f20659b0d69cc4e9be331446 | 2,454 | cpp | C++ | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | tech/Game/DebugMeshRenderStep.cpp | nbtdev/teardrop | fa9cc8faba03a901d1d14f655a04167e14cd08ee | [
"MIT"
] | null | null | null | /******************************************************************************
Copyright (c) 2015 Teardrop Games
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 wit... | 37.753846 | 93 | 0.645884 | nbtdev |
26bc26648f90f85257140905192ca7b2dbd91cb4 | 2,026 | cpp | C++ | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/miniping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "example/report.hpp"
#include "network.hpp"
#include "ping.hpp"
#define PING_HOST "google.com"
#ifdef __IPV6__
# define TITLE "miniping(+IPV6), by Oskari Rauta\nMIT License\n"
#else
# define TITLE "miniping, by Oskari Rauta\nMIT License\n"
#endif
int main(int argc, char... | 31.169231 | 99 | 0.631787 | oskarirauta |
26bc382621bcfec8958270649fd407da9b245e72 | 2,807 | hpp | C++ | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Extensions/Gameplay/SplineParticles.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file ParticleEmitters.hpp
/// Declaration of the Particle emitters.
///
/// Authors: Chris Peters
/// Copyright 2010-2012, DigiPen Institute of Technology
///
////////////////////////////////////////////////////////////////... | 28.353535 | 86 | 0.646242 | RachelWilSingh |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.