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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ef60977c3acc029e6540d17f9aef44f5f3376c5 | 13,949 | cpp | C++ | source/test/mp-integer-unsigned-arithmetic-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | source/test/mp-integer-unsigned-arithmetic-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | source/test/mp-integer-unsigned-arithmetic-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | #include "rs-sci/mp-integer.hpp"
#include "rs-format/format.hpp"
#include "rs-unit-test.hpp"
#include <string>
#include <vector>
using namespace RS::Format;
using namespace RS::Sci;
namespace {
using ByteVector = std::vector<uint8_t>;
std::string hexdump(const ByteVector& v) {
std::string s(reinterp... | 43.590625 | 105 | 0.577246 | CaptainCrowbar |
8ef7b6a4a6cc310bccf1b00824337df2b9ff2966 | 411 | hpp | C++ | libs/parse/include/fcppt/parse/tag.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | libs/parse/include/fcppt/parse/tag.hpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | libs/parse/include/fcppt/parse/tag.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// 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_PARSE_TAG_HPP_INCLUDED
#define FCPPT_PARSE_TAG_HPP_INCLUDED
namespace fcppt::parse
{... | 18.681818 | 61 | 0.717762 | freundlich |
8ef8d27920731249682d2403bb0520863b51bbcd | 2,849 | hpp | C++ | lib/libcpp/Perulangan/Perulangan/iterativesolvervisitorinterface.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | lib/libcpp/Perulangan/Perulangan/iterativesolvervisitorinterface.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | 1 | 2019-01-31T10:59:11.000Z | 2019-01-31T10:59:11.000Z | lib/libcpp/Perulangan/Perulangan/iterativesolvervisitorinterface.hpp | beckerrh/simfemsrc | d857eb6f6f8627412d4f9d89a871834c756537db | [
"MIT"
] | null | null | null | #ifndef __Perulangan_IterativeSolverVisitorInterface_h
#define __Perulangan_IterativeSolverVisitorInterface_h
#include "Alat/interfacebase.hpp"
#include "Alat/armadillo.hpp"
/*--------------------------------------------------------------------------*/
namespace alat
{
class GhostLinearSolver;
class GhostMatrix... | 47.483333 | 192 | 0.724465 | beckerrh |
8eff0a67d91b7eb211ff45a1703d34d455e17e9e | 3,951 | cpp | C++ | duds/data/Unit.cpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | duds/data/Unit.cpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | duds/data/Unit.cpp | jjackowski/duds | 0fc4eec0face95c13575672f2a2d8625517c9469 | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of the DUDS project. It is subject to the BSD-style
* license terms in the LICENSE file found in the top-level directory of this
* distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
* No part of DUDS, including this file, may be copied, modified, propagated,
* or dis... | 24.69375 | 78 | 0.632498 | jjackowski |
f102ceb88409595e3e0ee48f71065afc42677212 | 829 | hpp | C++ | PrEngineSwitch/Game_Engine/include/SpriteLayer.hpp | aprithul/Prengine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | 1 | 2019-10-08T05:20:30.000Z | 2019-10-08T05:20:30.000Z | PrEngineSwitch/Game_Engine/include/SpriteLayer.hpp | aprithul/PrEngine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | null | null | null | PrEngineSwitch/Game_Engine/include/SpriteLayer.hpp | aprithul/PrEngine | 7aff20bb73ab21e9e11dda1985e6b22992479f0d | [
"BSD-3-Clause"
] | null | null | null | #ifndef SPRITE_LAYER_HPP
#define SPRITE_LAYER_HPP
#include "GlAssert.hpp"
#include "RenderLayer.hpp"
#include "Graphics.hpp"
#include "EntityManagementSystemModule.hpp"
#include "DirectionalLight.hpp"
#include "Camera3D.hpp"
#include "Matrix4x4f.hpp"
#include <vector>
#include "Sprite.hpp"
#include "Transform3D.hpp"
... | 21.815789 | 61 | 0.670688 | aprithul |
f10648e5e4555887d3f3edb4cf771ecf7b04e628 | 13,938 | inl | C++ | source/bsys/geometry/geometry_vertex_3.inl | bluebackblue/brownie | 917fcc71e5b0a807c0a8dab22a9ca7f3b0d60917 | [
"MIT"
] | null | null | null | source/bsys/geometry/geometry_vertex_3.inl | bluebackblue/brownie | 917fcc71e5b0a807c0a8dab22a9ca7f3b0d60917 | [
"MIT"
] | null | null | null | source/bsys/geometry/geometry_vertex_3.inl | bluebackblue/brownie | 917fcc71e5b0a807c0a8dab22a9ca7f3b0d60917 | [
"MIT"
] | null | null | null | #pragma once
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/brownie/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief ジオメトリ。
*/
/** include
*/
#pragma warning(push)
#pragma warning(disable:4464)
#include "../ty... | 21.054381 | 134 | 0.617305 | bluebackblue |
f1064af791209147bd47565f3703d6aeab1c6d83 | 914 | cpp | C++ | ststring.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 264 | 2015-01-08T10:07:01.000Z | 2022-03-26T04:11:51.000Z | ststring.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 17 | 2016-04-15T03:38:07.000Z | 2020-10-30T00:33:57.000Z | ststring.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 127 | 2015-01-08T04:56:44.000Z | 2022-02-25T18:40:37.000Z | // 2008-10-22
#include <iostream>
#include <algorithm>
#include <cstring>
using namespace std;
void inc(char* s)
{
int cur=0;
bool ok=false;
while (!ok)
{
s[cur]++;
if (s[cur]=='K')
s[cur++]='A';
else
ok=true;
}
if (s[cur]==1)
{
s[cur]='A';
s[cur+1]=0;
}
}
int ok(char* s)
{
int i=1;
while (s[i... | 13.057143 | 59 | 0.514223 | ohmyjons |
f1071f2a2259d40223c641fdcc79d9d6fc9e2942 | 1,700 | cpp | C++ | leetcode_0721_unionfind.cpp | xiaoxiaoxiang-Wang/01-leetcode | 5a9426dd70c3dd6725444783aaa8cefc27196779 | [
"MIT"
] | 3 | 2021-01-18T06:26:10.000Z | 2021-01-29T07:52:49.000Z | leetcode_0721_unionfind.cpp | xiaoxiaoxiang-Wang/leetcode | 5a9426dd70c3dd6725444783aaa8cefc27196779 | [
"MIT"
] | null | null | null | leetcode_0721_unionfind.cpp | xiaoxiaoxiang-Wang/leetcode | 5a9426dd70c3dd6725444783aaa8cefc27196779 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<string>> accountsMerge(vector<vector<string>>& accounts) {
vector<pair<string, int>> emails;
for (int i = 0; i < accounts.size(); i++) {
for (int j = 1; j < accounts[i].size(); j++) {
emails.push_back({ accounts[i][j],i });
}
}
sort(emails.begin(), emails.end())... | 23.943662 | 76 | 0.545294 | xiaoxiaoxiang-Wang |
f1088921c111614dc731eba6e955608389cbe272 | 982 | cpp | C++ | src/Utils.cpp | bsmithcompsci/Experiment-EmbedSystems-Playground | fcf72d6e3500c8cfea9446fcbc777be3e28cd86f | [
"MIT"
] | null | null | null | src/Utils.cpp | bsmithcompsci/Experiment-EmbedSystems-Playground | fcf72d6e3500c8cfea9446fcbc777be3e28cd86f | [
"MIT"
] | null | null | null | src/Utils.cpp | bsmithcompsci/Experiment-EmbedSystems-Playground | fcf72d6e3500c8cfea9446fcbc777be3e28cd86f | [
"MIT"
] | null | null | null | #include "global/Utils.h"
std::vector<std::string> splitStrs(const std::string &_str, char _delimiter)
{
std::vector<std::string> output;
std::string::size_type prev_pos = 0, cur_pos = 0;
while ((cur_pos = _str.find(_delimiter, cur_pos)) != std::string::npos)
{
std::string substring(_str.substr(prev_pos, cur_po... | 30.6875 | 99 | 0.705703 | bsmithcompsci |
f1094fbea6cdbe832dff1f5bd659025df443c301 | 1,970 | hpp | C++ | src/registry.hpp | rcabot/codscape | 5619b40d7857066818c8409d3db4371d3c8f758c | [
"Unlicense"
] | null | null | null | src/registry.hpp | rcabot/codscape | 5619b40d7857066818c8409d3db4371d3c8f758c | [
"Unlicense"
] | null | null | null | src/registry.hpp | rcabot/codscape | 5619b40d7857066818c8409d3db4371d3c8f758c | [
"Unlicense"
] | null | null | null | #ifndef REGISTRY_H
#define REGISTRY_H
#pragma once
#include "dialogue_initiator.hpp"
#include "Map.h"
#include "Person.h"
#include "interactable.hpp"
#include "dialogue_ui.hpp"
#include "rect_transform.hpp"
#include <sstream>
#include <limits>
template<typename T>
using uvector = std::vector<std::unique_ptr<T>>;
cla... | 25.25641 | 102 | 0.744162 | rcabot |
f10cd8557ccd76ef1c08f38c105009ce9e26196e | 650 | cpp | C++ | Spline/Source.cpp | Fahersto/Spline | cbe4645aedd9b6e53c9c3393b1c7f2fc0040666d | [
"MIT"
] | null | null | null | Spline/Source.cpp | Fahersto/Spline | cbe4645aedd9b6e53c9c3393b1c7f2fc0040666d | [
"MIT"
] | null | null | null | Spline/Source.cpp | Fahersto/Spline | cbe4645aedd9b6e53c9c3393b1c7f2fc0040666d | [
"MIT"
] | null | null | null | #include "ParametricSpline.h"
int main()
{
ParametricSpline parametricSpline = ParametricSpline();
const int VALUE_COUNT = 3;
double* x = new double[VALUE_COUNT]{ 0, 1, 2 };
double* y = new double[VALUE_COUNT]{ 0, 3, 0 };
double* z = new double[VALUE_COUNT]{ 1, 2, 3 };
parametricSpline.Compute(x, y, z, VALU... | 21.666667 | 82 | 0.629231 | Fahersto |
f10f1c8509669062f615ca8b59fe48ba8955c30e | 1,443 | cc | C++ | project/core/id/test/SequentialIdGenerator.cc | letsmake-games/engine | b40559037353e000adf2f18ca9ead16529f932c6 | [
"MIT"
] | null | null | null | project/core/id/test/SequentialIdGenerator.cc | letsmake-games/engine | b40559037353e000adf2f18ca9ead16529f932c6 | [
"MIT"
] | null | null | null | project/core/id/test/SequentialIdGenerator.cc | letsmake-games/engine | b40559037353e000adf2f18ca9ead16529f932c6 | [
"MIT"
] | null | null | null | //
// (c) LetsMakeGames 2019
// http://www.letsmake.games
//
#include "core/id/IdClass.hh"
#include "core/id/SequentialIdGenerator.hh"
#include "gtest/gtest.h"
//
// types //////////////////////////////////////////////////////////////////////
//
DECLARE_IDCLASS(BasicId, uint8_t);
//
// Generator //////////////////... | 21.220588 | 79 | 0.559252 | letsmake-games |
f111b50b2ed434352fe1d8198b05939082989892 | 1,215 | cpp | C++ | Tree/589-n-ary-tree-preorder-traversal.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | Tree/589-n-ary-tree-preorder-traversal.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | Tree/589-n-ary-tree-preorder-traversal.cpp | wandsX/LeetCodeExperience | 8502e6e8ce911045f45f0075bcf3ee751a4558c7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
//leetcode submit region begin(Prohibit modification and deletion)
class Solution
{
public:
vector<int> preorder(Node *root)
{
stack < Node * > s;
std::vector<int> ans;
Node *cur = nullptr;
... | 19.596774 | 67 | 0.443621 | wandsX |
47dbd807a98370edc068e9a4687d752e159c0fea | 2,389 | cpp | C++ | LeetCode/200/148.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/200/148.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/200/148.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct ListNode {
int val;
ListNode* next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode* next) : val(x), next(next) {}
};
class Solution {
tuple<ListNode*, ListNode*> partition(ListNode* begin, Lis... | 23.421569 | 74 | 0.518627 | K-ona |
47e158798760a23cd391c2952c00eed2e8f5ee4c | 265 | cpp | C++ | libs/core/render/src/vulkan/detail/bksge_core_render_vulkan_detail_cull_mode.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/core/render/src/vulkan/detail/bksge_core_render_vulkan_detail_cull_mode.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/core/render/src/vulkan/detail/bksge_core_render_vulkan_detail_cull_mode.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file bksge_core_render_vulkan_detail_cull_mode.cpp
*
* @brief CullMode クラスの定義
*
* @author myoukaku
*/
#include <bksge/fnd/config.hpp>
#if !defined(BKSGE_HEADER_ONLY)
#include <bksge/core/render/vulkan/detail/inl/cull_mode_inl.hpp>
#endif
| 20.384615 | 65 | 0.713208 | myoukaku |
47e22f8b52fb7c6425212e051080062f04e3f07e | 5,905 | cpp | C++ | src/mercury.cpp | darkedge/mercury | 5bdf857b38f68b2a8c6ae1455f7623313ad0af71 | [
"MIT"
] | null | null | null | src/mercury.cpp | darkedge/mercury | 5bdf857b38f68b2a8c6ae1455f7623313ad0af71 | [
"MIT"
] | null | null | null | src/mercury.cpp | darkedge/mercury | 5bdf857b38f68b2a8c6ae1455f7623313ad0af71 | [
"MIT"
] | null | null | null | #include <codeanalysis/warnings.h>
#pragma warning( push, 0 )
#pragma warning( disable : ALL_CODE_ANALYSIS_WARNINGS )
#include "glad/glad.h"
#include "glad.c"
#include "GLFW/glfw3.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <stdint.h>
// ImGui
#include "imgui.cpp"
... | 25.343348 | 105 | 0.695512 | darkedge |
47e9bfdb27625f3517d82ddced901e0cc185a5da | 182 | cpp | C++ | docs/mfc/codesnippet/CPP/cfontdialog-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/codesnippet/CPP/cfontdialog-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/codesnippet/CPP/cfontdialog-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-11-01T12:33:08.000Z | 2021-11-16T13:21:19.000Z | // Is the selected font bold?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
BOOL bold = dlg.IsBold();
TRACE(_T("Is the selected font bold? %d\n"), bold);
} | 26 | 57 | 0.56044 | jmittert |
47ea935abdcb6cafecbcd071877e2c7547f5d0c5 | 17,028 | cpp | C++ | partman/loader.cpp | XplosiveLugnut/3d-pinball-space-cadet | 5bf9b86f379a3d28321a4d29df03965ff1245fad | [
"MIT"
] | 1 | 2021-04-23T12:50:21.000Z | 2021-04-23T12:50:21.000Z | partman/loader.cpp | XplosiveLugnut/3d-pinball-space-cadet | 5bf9b86f379a3d28321a4d29df03965ff1245fad | [
"MIT"
] | null | null | null | partman/loader.cpp | XplosiveLugnut/3d-pinball-space-cadet | 5bf9b86f379a3d28321a4d29df03965ff1245fad | [
"MIT"
] | null | null | null | //
// Created by neo on 2019-08-15.
//
#include "../pinball.h"
//----- (01008F7A) --------------------------------------------------------
signed int loader_error(int a1, int a2)
{
int v2; // eax
const CHAR *v3; // esi
const CHAR *v4; // edi
int v5; // edx
int v6; // ecx
v2 = loader_errors[0]... | 26.4 | 109 | 0.401926 | XplosiveLugnut |
47ed68f919d084e86deeb009c4dcdffcbf520811 | 50,330 | cpp | C++ | includes/mfbt/tests/TestTextUtils.cpp | gregtatum/spec-cpp | ebd40fa119a302f82ab10a2b8ddd52671f92e2ef | [
"MIT"
] | 5 | 2018-02-01T18:25:35.000Z | 2018-02-12T14:09:22.000Z | includes/mfbt/tests/TestTextUtils.cpp | gregtatum/spec-cpp | ebd40fa119a302f82ab10a2b8ddd52671f92e2ef | [
"MIT"
] | null | null | null | includes/mfbt/tests/TestTextUtils.cpp | gregtatum/spec-cpp | ebd40fa119a302f82ab10a2b8ddd52671f92e2ef | [
"MIT"
] | 1 | 2019-03-15T06:01:40.000Z | 2019-03-15T06:01:40.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0... | 47.258216 | 80 | 0.63638 | gregtatum |
47f21e4f6679cab3af02c95b4f10ba36b13abc46 | 1,280 | cpp | C++ | src/Example/CubeExample.cpp | slicgun/ray_tracing | 913f8a03887c20ca4fbad1fb38395b9f70fe54d4 | [
"Apache-2.0"
] | null | null | null | src/Example/CubeExample.cpp | slicgun/ray_tracing | 913f8a03887c20ca4fbad1fb38395b9f70fe54d4 | [
"Apache-2.0"
] | null | null | null | src/Example/CubeExample.cpp | slicgun/ray_tracing | 913f8a03887c20ca4fbad1fb38395b9f70fe54d4 | [
"Apache-2.0"
] | null | null | null | #include "CubeExample.h"
#include<vector>
#include<glm/geometric.hpp>
#include"Log.h"
std::vector<Material> mat;
Vertex v1 = {0, {0, 1, -3}, {0, 0, 1}, {0, 0}};
Vertex v2 = {0, {-1, 1, -3}, {0, 0, 1}, {0, 0}};
Vertex v3 = {0, {0, 0, -3}, {0, 0, 1}, {0, 0}};
CubeExample::CubeExample(Image& img)
:Exam... | 28.444444 | 133 | 0.585938 | slicgun |
47f22170c5228eac4b407b78897ae5c4e93e9d35 | 3,772 | cpp | C++ | source/common/lua/performance.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | 1 | 2020-08-13T08:10:15.000Z | 2020-08-13T08:10:15.000Z | source/common/lua/performance.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | null | null | null | source/common/lua/performance.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | 1 | 2017-04-30T14:25:25.000Z | 2017-04-30T14:25:25.000Z | /*
* zsummerX License
* -----------
*
* zsummerX is licensed under the terms of the MIT license reproduced below.
* This means that zsummerX is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ============================================================... | 30.176 | 118 | 0.595175 | xiaobodu |
47f7e140f4798a78082e3cbee4103984473522bd | 1,021 | cpp | C++ | src/atomic.cpp | sriramch/thirdparty-libcxx | a97a7380c76346c22bb67b93695bed19592afad2 | [
"Apache-2.0"
] | 2 | 2020-09-03T03:36:36.000Z | 2020-09-03T08:09:10.000Z | src/atomic.cpp | sriramch/thirdparty-libcxx | a97a7380c76346c22bb67b93695bed19592afad2 | [
"Apache-2.0"
] | 1 | 2019-12-27T02:42:26.000Z | 2019-12-27T02:42:26.000Z | src/atomic.cpp | sriramch/thirdparty-libcxx | a97a7380c76346c22bb67b93695bed19592afad2 | [
"Apache-2.0"
] | 3 | 2019-09-25T21:43:35.000Z | 2020-03-27T19:12:47.000Z | //===------------------------- atomic.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 26.868421 | 96 | 0.676787 | sriramch |
47fbba07d41575b11562d65477c18a9b23314a7b | 173 | cpp | C++ | assec-renderer/src/renderer/shader.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | assec-renderer/src/renderer/shader.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | assec-renderer/src/renderer/shader.cpp | TeamVistic/assec-renderer | 5c6fc9a46fc3f6302471a22bfd2bdf2942b794db | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "shader.h"
namespace assec::renderer
{
shader::shader(const std::wstring& source, SHADER_TYPE type) : m_source(source), m_shader_type(type) {}
} | 21.625 | 104 | 0.728324 | TeamVistic |
9a0df3b530d67be768a82f6b0b440593cccdff56 | 11,699 | hpp | C++ | src/vanillaswap.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 27 | 2016-11-19T16:51:21.000Z | 2021-09-08T16:44:15.000Z | src/vanillaswap.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 1 | 2016-12-28T16:38:38.000Z | 2017-02-17T05:32:13.000Z | src/vanillaswap.hpp | quantlibnode/quantlibnode | b50348131af77a2b6c295f44ef3245daf05c4afc | [
"MIT"
] | 10 | 2016-12-28T02:31:38.000Z | 2021-06-15T09:02:07.000Z | /*
Copyright (C) 2016 -2017 Jerry Jin
*/
#ifndef vanillaswap_h
#define vanillaswap_h
#include <nan.h>
#include <string>
#include <queue>
#include <utility>
#include "../quantlibnode.hpp"
#include <oh/objecthandler.hpp>
using namespace node;
using namespace v8;
using namespace std;
class VanillaSwapWorker : pub... | 17.409226 | 70 | 0.651081 | quantlibnode |
9a18a9a0f986855045c83f581bcf07ec3460d0a4 | 7,376 | cpp | C++ | server.cpp | AnuragDPawar/Centralized-Multi-User-Concurrent-Bank-Account-Manager | c7a8f0b7a61636855c1207f50f82ab554fe89a5f | [
"MIT"
] | null | null | null | server.cpp | AnuragDPawar/Centralized-Multi-User-Concurrent-Bank-Account-Manager | c7a8f0b7a61636855c1207f50f82ab554fe89a5f | [
"MIT"
] | null | null | null | server.cpp | AnuragDPawar/Centralized-Multi-User-Concurrent-Bank-Account-Manager | c7a8f0b7a61636855c1207f50f82ab554fe89a5f | [
"MIT"
] | null | null | null | #include <arpa/inet.h>
#include <libexplain/read.h>
#include <netdb.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <fstream>
#include <iomanip> //to format the float value
#include <iostream>
#include <sstream> //... | 30.229508 | 119 | 0.50583 | AnuragDPawar |
9a1a2b02e904868e53e4ad156e1936048ba7c46c | 1,050 | cpp | C++ | libs/camera/src/camera/coordinate_system/identity.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/camera/src/camera/coordinate_system/identity.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/camera/src/camera/coordinate_system/identity.cpp | 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)
#include <sge/camera/coordinate_system/forward.hpp>
#include <sge/camera/coordinate_system/identity... | 47.727273 | 90 | 0.730476 | cpreh |
9a2386687d9ee5240b21cf272e063af465e06284 | 1,097 | cpp | C++ | ConsoleGameEngine/KeyEvents.cpp | sirjavlux/ConsoleGameEngine | 04ece4053d7ad4566aef356fdb6e76233e8dd714 | [
"MIT"
] | 3 | 2021-01-03T12:44:08.000Z | 2021-01-08T14:02:50.000Z | ConsoleGameEngine/KeyEvents.cpp | sirjavlux/ConsoleGameEngine | 04ece4053d7ad4566aef356fdb6e76233e8dd714 | [
"MIT"
] | null | null | null | ConsoleGameEngine/KeyEvents.cpp | sirjavlux/ConsoleGameEngine | 04ece4053d7ad4566aef356fdb6e76233e8dd714 | [
"MIT"
] | null | null | null | #include <iostream>
#include "SEngine.h"
using namespace std;
void keyAUpdateEvent(KeyState state, SEngine* engine) {
if (state == KeyState::down) {
if (engine->hasCameraObjectAttatched()) {
GameObject* obj = engine->getCameraFollowObject();
Vector2D vel(-1, 0);
obj->addForce(vel);
}
}
}
void keyWUpd... | 22.387755 | 59 | 0.68186 | sirjavlux |
9a25fd85c68799a05aab142cdb513e6773fda2da | 10,852 | hpp | C++ | src/compiler/lib/Solution.hpp | gperrotta/yask | a35aa5a6f52bb5a11c182045c469a55a84fa9b36 | [
"MIT"
] | null | null | null | src/compiler/lib/Solution.hpp | gperrotta/yask | a35aa5a6f52bb5a11c182045c469a55a84fa9b36 | [
"MIT"
] | null | null | null | src/compiler/lib/Solution.hpp | gperrotta/yask | a35aa5a6f52bb5a11c182045c469a55a84fa9b36 | [
"MIT"
] | null | null | null | /*****************************************************************************
YASK: Yet Another Stencil Kit
Copyright (c) 2014-2019, Intel Corporation
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 Soft... | 38.34629 | 109 | 0.588555 | gperrotta |
9a263a6528831a76724fa8d442bd37b186de73c3 | 15,769 | cpp | C++ | CurrencyRecognition/src/ImageAnalysis/ImageDetector.cpp | vogt31337/Currency-Recognition | 05198cb002d854d650479d97d6b4e7538f670965 | [
"MIT"
] | 42 | 2015-08-20T06:57:50.000Z | 2021-04-30T17:52:27.000Z | CurrencyRecognition/src/ImageAnalysis/ImageDetector.cpp | vogt31337/Currency-Recognition | 05198cb002d854d650479d97d6b4e7538f670965 | [
"MIT"
] | 3 | 2016-11-17T14:55:43.000Z | 2019-05-20T21:01:19.000Z | CurrencyRecognition/src/ImageAnalysis/ImageDetector.cpp | vogt31337/Currency-Recognition | 05198cb002d854d650479d97d6b4e7538f670965 | [
"MIT"
] | 27 | 2016-01-29T05:41:26.000Z | 2020-11-09T12:58:42.000Z | #include "ImageDetector.h"
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <ImageDetector> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ImageDetector::ImageDetector(Ptr<FeatureDetector> featureDetector, Ptr<DescriptorExtractor>... | 42.850543 | 251 | 0.722684 | vogt31337 |
9a2c88ddbed7605526dca4235c577809eba1b6b2 | 28,057 | cpp | C++ | Src/Value.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | 1 | 2016-08-28T18:29:17.000Z | 2016-08-28T18:29:17.000Z | Src/Value.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | null | null | null | Src/Value.cpp | draede/cx | f3ce4aec9b99095760481b1507e383975b2827e3 | [
"MIT"
] | null | null | null | /*
* CX - C++ framework for general purpose development
*
* https://github.com/draede/cx
*
* Copyright (C) 2014 - 2021 draede - draede [at] outlook [dot] com
*
* Released under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associate... | 14.651175 | 112 | 0.602559 | draede |
9a2fb0628aefad8b7f0559296a58049cf8c5d057 | 1,245 | hpp | C++ | include/Pomdog/Graphics/InputLayoutHelper.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | include/Pomdog/Graphics/InputLayoutHelper.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | include/Pomdog/Graphics/InputLayoutHelper.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_INPUTLAYOUTHELPER_A6C6ACE6_HPP
#define POMDOG_INPUTLAYOUTHELPER_A6C6ACE6_HPP
#include "detail/ForwardDeclarations.hpp"
#include "InputElementFormat.hpp"
#include "InputElement.hpp"
#include "Inpu... | 24.9 | 72 | 0.759839 | bis83 |
9a2fb48bc643b588adf33c4b65b984ac3fbbd498 | 7,800 | cpp | C++ | include/et/rendering/vulkan/vulkan_textureset.cpp | sergeyreznik/et-engine | a95fe4b9c5db0e873361f36908de284d0ae4b6d6 | [
"BSD-3-Clause"
] | 55 | 2015-01-13T22:50:36.000Z | 2022-02-26T01:55:02.000Z | include/et/rendering/vulkan/vulkan_textureset.cpp | sergeyreznik/et-engine | a95fe4b9c5db0e873361f36908de284d0ae4b6d6 | [
"BSD-3-Clause"
] | 4 | 2015-01-17T01:57:42.000Z | 2016-07-29T07:49:27.000Z | include/et/rendering/vulkan/vulkan_textureset.cpp | sergeyreznik/et-engine | a95fe4b9c5db0e873361f36908de284d0ae4b6d6 | [
"BSD-3-Clause"
] | 10 | 2015-01-17T18:46:44.000Z | 2021-05-21T09:19:13.000Z | /*
* This file is part of `et engine`
* Copyright 2009-2016 by Sergey Reznik
* Please, modify content only if you know what are you doing.
*
*/
#pragma once
#include <et/rendering/vulkan/vulkan_textureset.h>
#include <et/rendering/vulkan/vulkan_texture.h>
#include <et/rendering/vulkan/vulkan_sampler.h>
#include ... | 38.613861 | 120 | 0.782821 | sergeyreznik |
9a317db3c774b45f8f4c3e1a3770092005b5f11b | 2,482 | cpp | C++ | lab_01/lab1_fixed.cpp | pwestrich/csc_2110 | ed56c0ccdc7aeb55e6f0711a958b8c1fff691bd5 | [
"MIT"
] | null | null | null | lab_01/lab1_fixed.cpp | pwestrich/csc_2110 | ed56c0ccdc7aeb55e6f0711a958b8c1fff691bd5 | [
"MIT"
] | null | null | null | lab_01/lab1_fixed.cpp | pwestrich/csc_2110 | ed56c0ccdc7aeb55e6f0711a958b8c1fff691bd5 | [
"MIT"
] | null | null | null | // -------------------------------------------------------
//
// lab1.cpp
//
// Program to read a 3 X 3 matrix of integers mat and an integer item, and
// search mat to see if it contains item.
//
// Add your name here and other info requested by your instructor.
//
// -------------------------------------... | 30.641975 | 76 | 0.485093 | pwestrich |
9a389690742920a2c94fc47c069346cc422bf1d7 | 4,502 | cpp | C++ | tests/manipulating_values.cpp | whiterabbit963/tomlplusplus | 6b8fa1bef546664b1031d4f0d32c77df5d8d94c1 | [
"MIT"
] | null | null | null | tests/manipulating_values.cpp | whiterabbit963/tomlplusplus | 6b8fa1bef546664b1031d4f0d32c77df5d8d94c1 | [
"MIT"
] | null | null | null | tests/manipulating_values.cpp | whiterabbit963/tomlplusplus | 6b8fa1bef546664b1031d4f0d32c77df5d8d94c1 | [
"MIT"
] | null | null | null | // This file is a part of toml++ and is subject to the the terms of the MIT license.
// Copyright (c) 2019-2020 Mark Gillard <mark.gillard@outlook.com.au>
// See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
#include "tests.h"
#ifdef _WIN32
TOML_... | 33.849624 | 92 | 0.683696 | whiterabbit963 |
9a3ba4e009c36026703baa2c7cd1c15a6daabbd1 | 530 | cpp | C++ | uva/11889_0.cpp | larc/competitive_programming | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | 1 | 2019-05-23T19:05:39.000Z | 2019-05-23T19:05:39.000Z | uva/11889_0.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | uva/11889_0.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | // 11889 - Benefit
#include <cstdio>
int gcd(const int & a, const int & b)
{
if(!b) return a;
return gcd(b, a % b);
}
// gcd and lcm solution
int main()
{
int a, b, c, n;
scanf("%d", &n);
while(n-- && scanf("%d %d", &a, &c))
{
if(c % a != 0) printf("NO SOLUTION\n");
else
{
b = c;
for(int i = 1; i ... | 13.25 | 44 | 0.40566 | larc |
9a4001b994da872b3f169344c8f06a215cecc3ec | 1,058 | cpp | C++ | MovieRental/main.cpp | SonicYeager/CppPractice | 05b80ac918648ba733ec5fce969eac4b2ae79b58 | [
"MIT"
] | null | null | null | MovieRental/main.cpp | SonicYeager/CppPractice | 05b80ac918648ba733ec5fce969eac4b2ae79b58 | [
"MIT"
] | 9 | 2020-10-26T10:14:46.000Z | 2020-10-27T12:13:51.000Z | MovieRental/main.cpp | SonicYeager/CppPractice | 05b80ac918648ba733ec5fce969eac4b2ae79b58 | [
"MIT"
] | null | null | null | #include "Customer.h"
#include <iostream>
#include <sstream>
int main()
{
Customer paul("Paul"), jana("Jana");
paul.AddRental({{"Planet Erde", Movie::REGULAR}, 3});
paul.AddRental({{"Planet der Affen", Movie::NEW_RELEASE}, 5});
paul.AddRental({{"HowTo MAGIX", Movie::NEW_RELEASE}, 1});
jana.AddRental({{"... | 26.45 | 82 | 0.643667 | SonicYeager |
9a422b4a5bfcbd31df6cd0e7cb09e588cd3e83cc | 8,902 | cpp | C++ | apps/ncv_benchmark_optimizers.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | apps/ncv_benchmark_optimizers.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | null | null | null | apps/ncv_benchmark_optimizers.cpp | 0x0all/nanocv | dc58dea6b4eb7be2089b168d39c2b02aa2730741 | [
"MIT"
] | 1 | 2018-08-02T02:41:37.000Z | 2018-08-02T02:41:37.000Z | #include "nanocv/timer.h"
#include "nanocv/logger.h"
#include "nanocv/minimize.h"
#include "nanocv/tabulator.h"
#include "nanocv/math/abs.hpp"
#include "nanocv/math/clamp.hpp"
#include "nanocv/math/stats.hpp"
#include "nanocv/math/random.hpp"
#include "nanocv/math/numeric.hpp"
#include "nanocv/math/epsilon.hpp"
#includ... | 36.040486 | 106 | 0.526174 | 0x0all |
9a487b9a7ccac9f34b2618dcad4491cc3fcc14ec | 5,047 | cpp | C++ | ares/fc/cartridge/board/konami-vrc2.cpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/fc/cartridge/board/konami-vrc2.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/fc/cartridge/board/konami-vrc2.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | struct KonamiVRC2 : Interface {
Memory::Readable<uint8> programROM;
Memory::Writable<uint8> programRAM;
Memory::Readable<uint8> characterROM;
Memory::Writable<uint8> characterRAM;
using Interface::Interface;
auto load(Markup::Node document) -> void override {
auto board = document["game/board"];
I... | 36.05 | 93 | 0.644938 | moon-chilled |
9a487e6564783f51cf469c2a1abd163251228c67 | 8,829 | cpp | C++ | QuantLib-Ext/qlext/termstructures/yield/ratehelpers.cpp | ChinaQuants/qlengine | 6f40f8204df9b5c46eec6c6bb5cae6cde9b1455d | [
"BSD-3-Clause"
] | 17 | 2017-09-24T13:25:43.000Z | 2021-08-31T13:14:45.000Z | QuantLib-Ext/qlext/termstructures/yield/ratehelpers.cpp | Bralzer/ExoticOptionPriceEngine | 55650eee29b054b2e3d5083eb42a81419960901f | [
"BSD-3-Clause"
] | null | null | null | QuantLib-Ext/qlext/termstructures/yield/ratehelpers.cpp | Bralzer/ExoticOptionPriceEngine | 55650eee29b054b2e3d5083eb42a81419960901f | [
"BSD-3-Clause"
] | 6 | 2017-09-25T01:29:35.000Z | 2021-09-01T05:14:17.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2017 Cheng Li
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or mod... | 42.859223 | 126 | 0.680372 | ChinaQuants |
9a4d816ed7e9a880ed798674b6969d2a8b5aa9a7 | 4,079 | cpp | C++ | user/tests/wiring/no_fixture/system.cpp | zsoltmazlo/indoor-controller2 | 5fde9f40b30d087af03f6cccdb97821719941955 | [
"MIT"
] | 1 | 2019-02-24T07:13:51.000Z | 2019-02-24T07:13:51.000Z | user/tests/wiring/no_fixture/system.cpp | zsoltmazlo/indoor-controller2 | 5fde9f40b30d087af03f6cccdb97821719941955 | [
"MIT"
] | 1 | 2018-05-29T19:27:53.000Z | 2018-05-29T19:27:53.000Z | user/tests/wiring/no_fixture/system.cpp | zsoltmazlo/indoor-controller2 | 5fde9f40b30d087af03f6cccdb97821719941955 | [
"MIT"
] | null | null | null |
#include "application.h"
#include "unit-test/unit-test.h"
#if PLATFORM_ID >= 3
test(SYSTEM_01_freeMemory)
{
// this test didn't work on the core attempting to allocate the current value of
// freeMemory(), presumably because of fragmented heap from
// relatively large allocations during the handshake, so... | 31.137405 | 164 | 0.683256 | zsoltmazlo |
9a51c4f477a971b0aac14e517d23c8ae2cd5a1a5 | 6,234 | hpp | C++ | ModelData/InstableCPUcoreOperationDetection.hpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | null | null | null | ModelData/InstableCPUcoreOperationDetection.hpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | null | null | null | ModelData/InstableCPUcoreOperationDetection.hpp | st-gb/CPUinfoAndControl | 5e93d4a195b4692d147bb05cfef534e38d7f8b64 | [
"MIT"
] | 1 | 2021-07-16T21:01:26.000Z | 2021-07-16T21:01:26.000Z | /*
* InstableCPUcoreOperationDetection.hpp
*
* Created on: 22.04.2012
* Author: Stefan
*/
#ifndef INSTABLECPUCOREVOLTAGEDETECTION_HPP_
#define INSTABLECPUCOREVOLTAGEDETECTION_HPP_
//#include "VoltageAndFreq.hpp" //class VoltageAndFreq
#include <Controller/multithread/thread_type.hpp>
//THREAD_PROC_CALLING_... | 34.441989 | 88 | 0.796118 | st-gb |
9a5463c61acadf9034e5c0698b86f19004fbdeb8 | 949 | cpp | C++ | graphics-library/src/illumination/directional_light.cpp | thetorine/opengl3-library | 3904d857fd1085ba2c57c4289eb0e0d123f11a14 | [
"MIT"
] | null | null | null | graphics-library/src/illumination/directional_light.cpp | thetorine/opengl3-library | 3904d857fd1085ba2c57c4289eb0e0d123f11a14 | [
"MIT"
] | null | null | null | graphics-library/src/illumination/directional_light.cpp | thetorine/opengl3-library | 3904d857fd1085ba2c57c4289eb0e0d123f11a14 | [
"MIT"
] | null | null | null | #include <string>
#include "engine/shader_controller.hpp"
#include "illumination/directional_light.hpp"
namespace gl::illumination {
DirectionalLight::DirectionalLight(const glm::vec3 &dir, const glm::vec3 &color, float intensity)
: m_dir(dir), m_color(color), m_intensity(intensity) {
}
... | 36.5 | 102 | 0.667018 | thetorine |
9a5bea3fff59bbd804be55fc3bae91234f087268 | 267 | cpp | C++ | Day2/zadanie2.cpp | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | 1 | 2022-03-03T14:07:57.000Z | 2022-03-03T14:07:57.000Z | Day2/zadanie2.cpp | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | 2 | 2020-05-22T22:01:52.000Z | 2020-05-30T09:24:42.000Z | Day2/zadanie2.cpp | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | null | null | null | #include <iostream>
void foo(int* ptr) {
*ptr = 10;
}
void bar(int* ptr) {
*ptr = 20;
}
int main() {
int number = 5;
std::cout << number << '\n';
foo(&number);
std::cout << number << '\n';
bar(&number);
std::cout << number << '\n';
return 0;
}
| 12.714286 | 30 | 0.505618 | majkel84 |
9a5c8fa10db7b514eb5979e451ad60d3e6ff69a5 | 4,060 | cpp | C++ | ImdViewerV2/plugins/efbbox/efbbox.cpp | olivierchatry/iri3d | cae98c61d9257546d0fc81e69709297d04a17a14 | [
"MIT"
] | 2 | 2022-01-02T08:12:29.000Z | 2022-02-12T22:15:11.000Z | ImdViewerV2/plugins/efbbox/efbbox.cpp | olivierchatry/iri3d | cae98c61d9257546d0fc81e69709297d04a17a14 | [
"MIT"
] | null | null | null | ImdViewerV2/plugins/efbbox/efbbox.cpp | olivierchatry/iri3d | cae98c61d9257546d0fc81e69709297d04a17a14 | [
"MIT"
] | 1 | 2022-01-02T08:09:51.000Z | 2022-01-02T08:09:51.000Z | #include "stdafx.h"
#include "efbbox.h"
#include "magic/MgcBox3.h"
#include "magic/MgcVector3.h"
static imdviewer_plugin_info_t plugins_info =
{
"Epifighter BoundingBox generator.",
"Generate bounding box around bones.",
"Chatry Oliver, Julien Barbier.",
true // display box for octr... | 25.061728 | 92 | 0.599015 | olivierchatry |
9a5e005d2f388ea2c62ff109bd5bc7fc4f0d0c44 | 8,320 | cpp | C++ | source/examples/states/main.cpp | citron0xa9/globjects | 53a1de45f3c177fbd805610f274d3ffb1b97843a | [
"MIT"
] | null | null | null | source/examples/states/main.cpp | citron0xa9/globjects | 53a1de45f3c177fbd805610f274d3ffb1b97843a | [
"MIT"
] | null | null | null | source/examples/states/main.cpp | citron0xa9/globjects | 53a1de45f3c177fbd805610f274d3ffb1b97843a | [
"MIT"
] | 2 | 2020-10-01T04:10:51.000Z | 2021-07-01T07:45:45.000Z |
#include <iostream>
#include <algorithm>
#include <cpplocate/cpplocate.h>
#include <cpplocate/ModuleInfo.h>
#include <glm/vec2.hpp>
#include <glbinding/gl/gl.h>
#include <glbinding/ContextInfo.h>
#include <glbinding/Version.h>
#include <GLFW/glfw3.h>
#include <globjects/globjects.h>
#include <glob... | 32.885375 | 105 | 0.683774 | citron0xa9 |
9a5f5c33216fd13f253f598c1e49cd75cc8c66df | 559 | cpp | C++ | dev/assem.cpp | jordanjohnston/manseglib | 00723792c9b16f6518e25095569d77f2ed7b6d22 | [
"MIT"
] | null | null | null | dev/assem.cpp | jordanjohnston/manseglib | 00723792c9b16f6518e25095569d77f2ed7b6d22 | [
"MIT"
] | null | null | null | dev/assem.cpp | jordanjohnston/manseglib | 00723792c9b16f6518e25095569d77f2ed7b6d22 | [
"MIT"
] | 1 | 2020-06-09T18:48:14.000Z | 2020-06-09T18:48:14.000Z | #include <iostream>
#include "../manseglib.hpp"
int main()
{
constexpr int size = 1000;
ManSeg::ManSegArray a(size);
ManSeg::ManSegArray b(size);
// double a[size];
// double b[size];
std::cout << "filling\n";
for(int i = 0; i < size; ++i)
{
b.pairs[i] = 0;
a.pairs[i] = i;
}
std::cout << "now copying\n... | 17.46875 | 57 | 0.543828 | jordanjohnston |
9a602f9f5123a3670e8b693e3b9852c589b22c54 | 30 | cpp | C++ | src/expression.cpp | koraxkorakos/mv | b5f589bd089fd05fde7a0837f39746e2e343499e | [
"BSD-2-Clause"
] | null | null | null | src/expression.cpp | koraxkorakos/mv | b5f589bd089fd05fde7a0837f39746e2e343499e | [
"BSD-2-Clause"
] | null | null | null | src/expression.cpp | koraxkorakos/mv | b5f589bd089fd05fde7a0837f39746e2e343499e | [
"BSD-2-Clause"
] | null | null | null | //#include <mv/expression.hpp> | 30 | 30 | 0.733333 | koraxkorakos |
9a6070ae0d84e05add8020fe843e371cff24d5a0 | 16,062 | cpp | C++ | src/cpm_BaseParaManager_MPI.cpp | jorji/CPMlib | 7ba683d1abc60f11bafcc5732da831278b002afa | [
"BSD-2-Clause"
] | 4 | 2015-03-17T17:30:10.000Z | 2019-01-31T15:13:59.000Z | src/cpm_BaseParaManager_MPI.cpp | jorji/CPMlib | 7ba683d1abc60f11bafcc5732da831278b002afa | [
"BSD-2-Clause"
] | null | null | null | src/cpm_BaseParaManager_MPI.cpp | jorji/CPMlib | 7ba683d1abc60f11bafcc5732da831278b002afa | [
"BSD-2-Clause"
] | 4 | 2015-12-09T02:42:29.000Z | 2022-03-18T09:03:28.000Z | /*
###################################################################################
#
# CPMlib - Computational space Partitioning Management library
#
# Copyright (c) 2012-2014 Institute of Industrial Science (IIS), The University of Tokyo.
# All rights reserved.
#
# Copyright (c) 2014-2016 Advanced Institute for Co... | 23.86627 | 119 | 0.577886 | jorji |
9a666e5b485039da1cb223c3e70bf30f808f2da4 | 28 | cpp | C++ | DataStructures/Src/Precompiled.cpp | ikarusx/ModernCpp | 8c0111dec2d0a2a183250e2f9594573b99687ec5 | [
"MIT"
] | null | null | null | DataStructures/Src/Precompiled.cpp | ikarusx/ModernCpp | 8c0111dec2d0a2a183250e2f9594573b99687ec5 | [
"MIT"
] | null | null | null | DataStructures/Src/Precompiled.cpp | ikarusx/ModernCpp | 8c0111dec2d0a2a183250e2f9594573b99687ec5 | [
"MIT"
] | null | null | null |
#include "Precompiled.hpp"
| 9.333333 | 26 | 0.75 | ikarusx |
9a6726017803c35221f177ec07786cb6a428563f | 10,074 | cpp | C++ | coh2_rgt_extractor/Rainman_src/CRgdHashTable.cpp | tranek/coh2_rgt_extractor | dba2db9a06d3f31fb815ca865181d8f631306522 | [
"MIT"
] | 1 | 2016-09-24T14:57:56.000Z | 2016-09-24T14:57:56.000Z | coh2_rgt_extractor/Rainman_src/CRgdHashTable.cpp | tranek/coh2_rgt_extractor | dba2db9a06d3f31fb815ca865181d8f631306522 | [
"MIT"
] | null | null | null | coh2_rgt_extractor/Rainman_src/CRgdHashTable.cpp | tranek/coh2_rgt_extractor | dba2db9a06d3f31fb815ca865181d8f631306522 | [
"MIT"
] | null | null | null | /*
Rainman Library
Copyright (C) 2006 Corsix <corsix@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This ... | 23.105505 | 123 | 0.571074 | tranek |
9a6b74f17a9d9e386a1fb0d561ea3f9cb5dada08 | 1,518 | hpp | C++ | include/pichi/common/endpoint.hpp | imuzi/pichi | 5ad1372bff4c3bffd201ccfb41df6c839c83c506 | [
"BSD-3-Clause"
] | 164 | 2018-09-28T09:41:05.000Z | 2021-11-13T09:17:07.000Z | include/pichi/common/endpoint.hpp | imuzi/pichi | 5ad1372bff4c3bffd201ccfb41df6c839c83c506 | [
"BSD-3-Clause"
] | 5 | 2018-12-21T13:40:02.000Z | 2021-07-24T04:23:44.000Z | include/pichi/common/endpoint.hpp | imuzi/pichi | 5ad1372bff4c3bffd201ccfb41df6c839c83c506 | [
"BSD-3-Clause"
] | 14 | 2018-12-18T09:35:42.000Z | 2021-07-06T12:16:34.000Z | #ifndef PICHI_COMMON_ENDPOINT_HPP
#define PICHI_COMMON_ENDPOINT_HPP
#include <algorithm>
#include <functional>
#include <iterator>
#include <pichi/common/buffer.hpp>
#include <pichi/common/enumerations.hpp>
#include <string>
#include <string_view>
#include <type_traits>
namespace std {
inline string to_string(string... | 27.107143 | 88 | 0.746377 | imuzi |
9a7253aa706747c7104c81bf942ca292d57d6aa9 | 1,303 | cpp | C++ | src/trace/GLLib/Texture/TextureTarget.cpp | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 23 | 2016-01-14T04:47:13.000Z | 2022-01-13T14:02:08.000Z | src/trace/GLLib/Texture/TextureTarget.cpp | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 2 | 2018-03-25T14:39:20.000Z | 2022-03-18T05:11:21.000Z | src/trace/GLLib/Texture/TextureTarget.cpp | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 17 | 2016-02-13T05:35:35.000Z | 2022-03-24T16:05:40.000Z | /**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... | 30.302326 | 90 | 0.604758 | attila-sim |
9a77b287a6fd0647a604244033677071702b2567 | 187,010 | cpp | C++ | libs/graph_parallel/test/performance_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | 1 | 2021-09-03T10:22:04.000Z | 2021-09-03T10:22:04.000Z | libs/graph_parallel/test/performance_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | libs/graph_parallel/test/performance_test.cpp | thejkane/AGM | 4d5cfe9522461d207ceaef7d90c1cd10ce9b469c | [
"BSL-1.0"
] | null | null | null | // Copyright (C) 2014 The Trustees of Indiana University.
// Use, modification and distribution is subject to 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)
// Authors: Nicholas Edmonds
// Andrew Lumsdaine
// ... | 31.594864 | 637 | 0.650848 | thejkane |
9a830a8865590c235673400e4b769f04a41dc433 | 4,625 | cpp | C++ | android-28/org/xml/sax/helpers/AttributesImpl.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/org/xml/sax/helpers/AttributesImpl.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/org/xml/sax/helpers/AttributesImpl.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../../../JArray.hpp"
#include "../../../../JString.hpp"
#include "./AttributesImpl.hpp"
namespace org::xml::sax::helpers
{
// Fields
// QJniObject forward
AttributesImpl::AttributesImpl(QJniObject obj) : JObject(obj) {}
// Constructors
AttributesImpl::AttributesImpl()
: JObject(
"org.xml.sax... | 21.118721 | 121 | 0.663568 | YJBeetle |
9a87f30402171d900d7ba8421b2866e86d6d186f | 61,766 | cpp | C++ | src/shell/shell_misc.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | 3 | 2022-02-20T11:06:29.000Z | 2022-03-11T08:16:55.000Z | src/shell/shell_misc.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | null | null | null | src/shell/shell_misc.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2002-2021 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | 36.853222 | 230 | 0.531862 | mediaexplorer74 |
893c71e6fee5711ebd8b2e222cd3c594e69455d9 | 1,925 | cpp | C++ | firmware/examples/PinConfigure/source/main.cpp | 2721Aperez/SJSU-Dev2 | 87052080d2754803dbd1dae2864bd9024d123086 | [
"Apache-2.0"
] | 1 | 2018-07-07T01:41:34.000Z | 2018-07-07T01:41:34.000Z | firmware/examples/PinConfigure/source/main.cpp | 2721Aperez/SJSU-Dev2 | 87052080d2754803dbd1dae2864bd9024d123086 | [
"Apache-2.0"
] | null | null | null | firmware/examples/PinConfigure/source/main.cpp | 2721Aperez/SJSU-Dev2 | 87052080d2754803dbd1dae2864bd9024d123086 | [
"Apache-2.0"
] | 1 | 2018-09-19T01:58:48.000Z | 2018-09-19T01:58:48.000Z | #include <cstdarg>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include "config.hpp"
#include "L0_LowLevel/LPC40xx.h"
#include "L1_Drivers/pin_configure.hpp"
#include "L2_Utilities/debug_print.hpp"
int main(void)
{
// This application assumes that all pins are set to function 0 (GPIO)
DEBUG_PRINT(... | 40.104167 | 80 | 0.714805 | 2721Aperez |
893dfb6e98893ed83575b82458c15e8f2a1ae6a6 | 3,405 | cpp | C++ | Source/Components/MenuComponent.cpp | Aavu/MIDI-Editor | 4991beec683e75d5867117230dcafb2709192c81 | [
"MIT"
] | 5 | 2020-06-06T02:14:00.000Z | 2020-12-03T12:54:57.000Z | Source/Components/MenuComponent.cpp | Aavu/MIDI-Editor | 4991beec683e75d5867117230dcafb2709192c81 | [
"MIT"
] | 9 | 2020-03-28T22:26:10.000Z | 2020-04-29T04:55:08.000Z | Source/Components/MenuComponent.cpp | Aavu/MIDI-Editor | 4991beec683e75d5867117230dcafb2709192c81 | [
"MIT"
] | 1 | 2020-12-01T22:42:48.000Z | 2020-12-01T22:42:48.000Z | /*
==============================================================================
MenuComponent.cpp
Created: 12 Jan 2020 12:28:18pm
Author: Raghavasimhan Sankaranarayanan
==============================================================================
*/
#include "../JuceLibraryCode/JuceHeader.h"
#inc... | 31.238532 | 107 | 0.636417 | Aavu |
8947090d3e9a56d48781d56c2698dc154885bdf0 | 420 | cpp | C++ | hackerrank/sansa-and-xor/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/sansa-and-xor/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/sansa-and-xor/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
typedef signed long long ll;
typedef unsigned long long ull;
#define FOR(x, to) for (x = 0; x < (to); ++x)
#define FORR(x, arr) for (auto &x : arr)
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int n, i, x, ans;
ans = 0;
cin >> n;
FOR(i, n) {
c... | 16.153846 | 45 | 0.485714 | SamProkopchuk |
894745f19fa7a9f07ecace1540adf076cd461e69 | 2,180 | hpp | C++ | src/avatar.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/avatar.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | src/avatar.hpp | tilnewman/halloween | 7cea37e31b2e566be76707cd8dc48527cec95bc5 | [
"MIT"
] | null | null | null | #ifndef AVATAR_HPP_INCLUDED
#define AVATAR_HPP_INCLUDED
//
// avatar.hpp
//
#include "avatar-anim.hpp"
#include "blood.hpp"
#include <vector>
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Graphics/Texture.hpp>
namespace halloween
{
struct Settings;
struct Context;
enum class Action
{
Id... | 27.25 | 77 | 0.649083 | tilnewman |
89475fdf52859e38581f578ec22f6a95c93fd0e6 | 61,755 | cpp | C++ | lighthub/main.cpp | anklimov/lighthub | 99e9c1a27aca52bf38efec000547720fb8f82860 | [
"Apache-2.0"
] | 83 | 2017-11-05T14:05:16.000Z | 2022-02-21T16:34:53.000Z | lighthub/main.cpp | anklimov/lighthub | 99e9c1a27aca52bf38efec000547720fb8f82860 | [
"Apache-2.0"
] | 27 | 2018-03-12T21:49:33.000Z | 2022-01-20T19:06:05.000Z | lighthub/main.cpp | anklimov/lighthub | 99e9c1a27aca52bf38efec000547720fb8f82860 | [
"Apache-2.0"
] | 20 | 2017-11-20T08:27:17.000Z | 2022-03-28T02:26:17.000Z | /* Copyright © 2017-2018 Andrey Klimov. 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 required by applicable law or a... | 28.160055 | 146 | 0.580147 | anklimov |
8947c0699f9f8d747a3eea649857d17fb32f2382 | 284 | hpp | C++ | include/Pomdog/Math/Vector3.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | include/Pomdog/Math/Vector3.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | include/Pomdog/Math/Vector3.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#pragma once
#include "Pomdog/Math/detail/FloatingPointVector3.hpp"
namespace Pomdog {
///@brief vector in three-dimensional space.
using Vector3 = Detail::FloatingPointVector3<float>;
} // namespace Pomdog
| 21.846154 | 71 | 0.767606 | ValtoForks |
894e2e35083a65042d02fb0e8fae5f3caef5d4e8 | 1,749 | cpp | C++ | code/client/src/core/hooks/camera.cpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 16 | 2021-10-08T17:47:04.000Z | 2022-03-28T13:26:37.000Z | code/client/src/core/hooks/camera.cpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 4 | 2022-01-19T08:11:57.000Z | 2022-01-29T19:02:24.000Z | code/client/src/core/hooks/camera.cpp | mufty/MafiaMP | 2dc0e3362c505079e26e598bd4a7f4b5de7400bc | [
"OpenSSL"
] | 4 | 2021-10-09T11:15:08.000Z | 2022-01-27T22:42:26.000Z | #include <MinHook.h>
#include <utils/hooking/hook_function.h>
#include <utils/hooking/hooking.h>
#include <logging/logger.h>
typedef int64_t(__fastcall *C_Camera__ModeChangeImmediate_t)(void *_this, int, void *, bool, bool, bool);
C_Camera__ModeChangeImmediate_t C_Camera__ModeChangeImmediate_original = nullptr;
type... | 58.3 | 152 | 0.748428 | mufty |
8955f6a271f64452ec97e572e655f66fc1c54a7f | 2,488 | cpp | C++ | libs/fnd/algorithm/test/src/ranges/unit_test_fnd_algorithm_ranges_set_union.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/algorithm/test/src/ranges/unit_test_fnd_algorithm_ranges_set_union.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/algorithm/test/src/ranges/unit_test_fnd_algorithm_ranges_set_union.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file unit_test_fnd_algorithm_ranges_set_union.cpp
*
* @brief ranges::set_union のテスト
*
* @author myoukaku
*/
#include <bksge/fnd/algorithm/ranges/set_union.hpp>
#include <bksge/fnd/algorithm/ranges/equal.hpp>
#include <bksge/fnd/functional/ranges/greater.hpp>
#include <bksge/fnd/iterator/ranges... | 26.189474 | 71 | 0.62701 | myoukaku |
895d8d8fa1e492c2c93fb1b44909c01965beb426 | 2,147 | cpp | C++ | src/bonefish/roles/wamp_role_type.cpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 58 | 2015-08-24T18:43:56.000Z | 2022-01-09T00:55:06.000Z | src/bonefish/roles/wamp_role_type.cpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 47 | 2015-08-25T11:04:51.000Z | 2018-02-28T22:38:12.000Z | src/bonefish/roles/wamp_role_type.cpp | aiwc/extlib-bonefish | 2f0d15960b5178d2ab24fd8e11965a80ace2cb5a | [
"Apache-2.0"
] | 32 | 2015-08-25T15:14:45.000Z | 2020-03-23T09:35:31.000Z | /**
* Copyright (C) 2015 Topology LP
*
* 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... | 25.258824 | 76 | 0.607825 | aiwc |
89602bfa213172311b2146bed903d2192a822b2f | 397 | cpp | C++ | MOS_6502_Emulator/ProcessingUnit_Shift.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/ProcessingUnit_Shift.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/ProcessingUnit_Shift.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | #include "ProcessingUnit.h"
BYTE ProcessingUnit::ASL(BYTE value)
{
BYTE result = value << 1;
m_negative = (result & 0x80) != 0;
m_zero = result == 0;
m_carry = (value & 0x80) != 0;
return result;
}
BYTE ProcessingUnit::LSR(BYTE value)
{
BYTE result = value >> 1;
m_zero = result == 0;
m_carry = (value & 0x0... | 17.26087 | 49 | 0.639798 | yu830425 |
89632196bcc20b530d1612c02a82d34e5a9764cd | 2,086 | cpp | C++ | Phoenix/Server/Source/Server.cpp | NicolasRicard/Phoenix | 5eae2bd716a933fd405487d93c0e91e5ca56b3e4 | [
"BSD-3-Clause"
] | 1 | 2020-05-02T14:46:39.000Z | 2020-05-02T14:46:39.000Z | Phoenix/Server/Source/Server.cpp | NicolasRicard/Phoenix | 5eae2bd716a933fd405487d93c0e91e5ca56b3e4 | [
"BSD-3-Clause"
] | null | null | null | Phoenix/Server/Source/Server.cpp | NicolasRicard/Phoenix | 5eae2bd716a933fd405487d93c0e91e5ca56b3e4 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019-20 Genten Studios
//
// 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 following disclai... | 40.901961 | 80 | 0.719559 | NicolasRicard |
896328db15c7251956079514284a32b07b515624 | 311 | cpp | C++ | package/standalone_kr_usn/lib/nvs_flash/src/cpp_config.cpp | teledatics/nrc7292_sdk | d0ba3f17e1bef3d6fec7370e7f0ffa77db56e3a4 | [
"MIT"
] | 7 | 2020-07-20T03:58:40.000Z | 2022-03-15T13:29:18.000Z | package/standalone_kr_usn/lib/nvs_flash/src/cpp_config.cpp | teledatics/nrc7292_sdk | d0ba3f17e1bef3d6fec7370e7f0ffa77db56e3a4 | [
"MIT"
] | 3 | 2021-07-16T12:39:36.000Z | 2022-02-02T18:19:51.000Z | package/standalone_kr_usn/lib/nvs_flash/src/cpp_config.cpp | teledatics/nrc7292_sdk | d0ba3f17e1bef3d6fec7370e7f0ffa77db56e3a4 | [
"MIT"
] | 4 | 2020-09-19T18:03:04.000Z | 2022-02-02T13:17:34.000Z | /* below parameters defined to get around build error */
/* must check if there's any side effect */
void *__dso_handle = 0;
extern "C" int __aeabi_atexit(void *object,
void (*destructor)(void *),
void *dso_handle)
{
return 0;
}
namespace __gnu_cxx {
void __verbose_terminate_handler()
{
while(1);
}
}
| 17.277778 | 56 | 0.700965 | teledatics |
8966877555ac45ef7737404533a0b76718f8289b | 2,530 | cpp | C++ | ModelViewer/ViewerFoundation/Utilities/Mac/NuoMathVectorMac.cpp | erpapa/NuoModelViewer | 0dcb8bf99cb49c6e2c9535ed178e01674fa26824 | [
"MIT"
] | 265 | 2017-03-15T17:11:27.000Z | 2022-03-30T07:50:00.000Z | ModelViewer/ViewerFoundation/Utilities/Mac/NuoMathVectorMac.cpp | erpapa/NuoModelViewer | 0dcb8bf99cb49c6e2c9535ed178e01674fa26824 | [
"MIT"
] | 6 | 2017-07-03T01:57:49.000Z | 2020-01-24T19:28:22.000Z | ModelViewer/ViewerFoundation/Utilities/Mac/NuoMathVectorMac.cpp | erpapa/NuoModelViewer | 0dcb8bf99cb49c6e2c9535ed178e01674fa26824 | [
"MIT"
] | 39 | 2016-09-30T03:26:44.000Z | 2022-01-24T07:37:20.000Z | //
// NuoMathVectorMac.cpp
// ModelViewer
//
// Created by Dong on 5/11/18.
// Copyright © 2018 middleware. All rights reserved.
//
#include "NuoMathVector.h"
NuoMatrix<float, 4> NuoMatrixPerspective(float aspect, float fovy, float near, float far)
{
// NOT use OpenGL persepctive!
// Metal uses a 2x2x1 ... | 32.025316 | 108 | 0.574308 | erpapa |
89767ac7fa89a5fa716a4ebbcc997fddb5c791c1 | 674 | cpp | C++ | Source/DemoScene/Vector2.cpp | ookumaneko/PC-Psp-Cross-Platform-Demoscene | 0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e | [
"MIT"
] | null | null | null | Source/DemoScene/Vector2.cpp | ookumaneko/PC-Psp-Cross-Platform-Demoscene | 0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e | [
"MIT"
] | null | null | null | Source/DemoScene/Vector2.cpp | ookumaneko/PC-Psp-Cross-Platform-Demoscene | 0c192f9ecf5a4fd9db3c9a2c9998b365bf480c1e | [
"MIT"
] | null | null | null | #include "Vector2.h"
//--------------------------------------//
//---------------Common Methods---------//
//--------------------------------------//
Vector2::Vector2(void)
{
_vec.x = 0;
_vec.y = 0;
}
Vector2::Vector2(float x, float y)
{
_vec.x = x;
_vec.y = y;
}
Vector2::~Vector2(void)
{
}
float& Vector2::X(... | 10.369231 | 42 | 0.510386 | ookumaneko |
8977a8c6504a2a0c971d8880dbe16757ec3d590f | 297 | cpp | C++ | getdate.cpp | eqvpkbz/old.eqvpkbz.github.io | 0adb4b7400248d3caf4a8e12525279d19c2ba83f | [
"MIT"
] | null | null | null | getdate.cpp | eqvpkbz/old.eqvpkbz.github.io | 0adb4b7400248d3caf4a8e12525279d19c2ba83f | [
"MIT"
] | null | null | null | getdate.cpp | eqvpkbz/old.eqvpkbz.github.io | 0adb4b7400248d3caf4a8e12525279d19c2ba83f | [
"MIT"
] | null | null | null | #include<iostream>
#include<ctime>
#include<cstdio>
using namespace std;
int main()
{
time_t tt;time(&tt);
tt = tt + 8*3600;
tm* t= gmtime(&tt);
printf("%d-%02d-%02d %02d:%02d:%02d\n",t->tm_year + 1900,t->tm_mon + 1,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
return 0;
}
| 17.470588 | 118 | 0.599327 | eqvpkbz |
897d147d0850d676513a5ba5caea01cb3371d90d | 2,007 | cpp | C++ | DiscoveryService.cpp | jambamamba/DiscoveryService | 0eae060bb9ac43ee91ca7c5596862588d130a4f6 | [
"Apache-2.0"
] | null | null | null | DiscoveryService.cpp | jambamamba/DiscoveryService | 0eae060bb9ac43ee91ca7c5596862588d130a4f6 | [
"Apache-2.0"
] | null | null | null | DiscoveryService.cpp | jambamamba/DiscoveryService | 0eae060bb9ac43ee91ca7c5596862588d130a4f6 | [
"Apache-2.0"
] | null | null | null | #include "DiscoveryService.h"
#include <arpa/inet.h>
#include <iostream>
#include <netinet/in.h>
#include <regex>
#include <string>
#include <sys/socket.h>
#include <sys/stat.h>
#include "Utils.h"
namespace {
}//namespace
//---------------------------------------------------------------------------... | 35.839286 | 139 | 0.567015 | jambamamba |
89869fe4cb06b29a57c1a2e7077528ea2a55a90d | 12,463 | cpp | C++ | test/OpenDDLIntegrationTest.cpp | lerppana/openddl-parser | a9bc8a5dee880d546136e33a5977d7a0a28eaa20 | [
"MIT"
] | 24 | 2015-02-08T23:16:05.000Z | 2021-07-15T07:31:08.000Z | test/OpenDDLIntegrationTest.cpp | lerppana/openddl-parser | a9bc8a5dee880d546136e33a5977d7a0a28eaa20 | [
"MIT"
] | 64 | 2015-01-28T21:42:06.000Z | 2021-11-01T07:49:24.000Z | test/OpenDDLIntegrationTest.cpp | lerppana/openddl-parser | a9bc8a5dee880d546136e33a5977d7a0a28eaa20 | [
"MIT"
] | 10 | 2015-11-17T09:18:57.000Z | 2021-10-06T18:59:05.000Z | /*-----------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2014-2020 Kim Kulling
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 ... | 43.425087 | 340 | 0.569686 | lerppana |
898a9117b2f5593cd6a8e6350897187ab58b7a28 | 6,746 | cpp | C++ | ProjectEuler+/euler-0058.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0058.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | null | null | null | ProjectEuler+/euler-0058.cpp | sarvekash/HackerRank_Solutions | 8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8 | [
"Apache-2.0"
] | 1 | 2021-05-28T11:14:34.000Z | 2021-05-28T11:14:34.000Z | // ////////////////////////////////////////////////////////
// # Title
// Spiral primes
//
// # URL
// https://projecteuler.net/problem=58
// http://euler.stephan-brumme.com/58/
//
// # Problem
// Starting with 1 and spiralling anticlockwise in the following way, a square spiral with side length 7 is formed.
//
// ''__... | 29.203463 | 151 | 0.589386 | sarvekash |
898b35ac17755bdec68108bcf95660ead020c425 | 499 | cpp | C++ | ch1/Babylonian_sqr/algorithm.cpp | omar659/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | 2 | 2020-02-19T09:27:20.000Z | 2020-02-19T09:28:21.000Z | ch1/Babylonian_sqr/algorithm.cpp | omar-3/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | null | null | null | ch1/Babylonian_sqr/algorithm.cpp | omar-3/Algorithms-Sequential-Parallel-Distributed | 3543631139a20625f413cea2ba1f013f3a40d123 | [
"MIT"
] | null | null | null | /*
sqrt(a) * sqrt(a) = a
so sqrt(a) is the side of square with area a
and we keep two numbers as the side of a polygon with area a
and make them get closer together by averaging <3
*/
#include <iostream>
using namespace std;
typedef long double number; //you need to use double so t... | 24.95 | 107 | 0.607214 | omar659 |
89909eaa0da1334b197f4a98dac4e37d652b9dbe | 6,066 | cpp | C++ | nohotspot-skiplist/skiplist.cpp | jyizheng/hydralist | 910dad17eab4815057e3ea3e46b02f6ce45d7e46 | [
"Apache-2.0"
] | 17 | 2020-11-25T17:45:21.000Z | 2021-12-24T06:18:33.000Z | nohotspot-skiplist/skiplist.cpp | jyizheng/hydralist | 910dad17eab4815057e3ea3e46b02f6ce45d7e46 | [
"Apache-2.0"
] | null | null | null | nohotspot-skiplist/skiplist.cpp | jyizheng/hydralist | 910dad17eab4815057e3ea3e46b02f6ce45d7e46 | [
"Apache-2.0"
] | 6 | 2020-11-20T17:21:46.000Z | 2022-01-21T04:35:24.000Z | /*
* skiplist.c: definitions of the skip list data stucture
*
* Author: Ian Dick, 2013
*
*/
/*
Module overview
This module provides the basic structures used to create the
skip list data structure, as described in:
Crain, T., Gramoli, V., Raynal, M. (2013)
"No Hot-Spot Non-Blocking Skip List", to appear in
T... | 25.487395 | 77 | 0.5788 | jyizheng |
8993ddc93dcddec9532c3760f4c4a6294eb18841 | 2,032 | cpp | C++ | Blake2/Blake2/MacDescription.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | 1 | 2016-11-09T05:34:58.000Z | 2016-11-09T05:34:58.000Z | Blake2/Blake2/MacDescription.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | null | null | null | Blake2/Blake2/MacDescription.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | null | null | null | #include "MacDescription.h"
#include "StreamWriter.h"
NAMESPACE_PROCESSING
MacDescription MacDescription::HMACSHA256()
{
return MacDescription(64, Digests::SHA256);
}
MacDescription MacDescription::HMACSHA512()
{
return MacDescription(128, Digests::SHA512);
}
MacDescription MacDescription::CMACAES256()
{
return ... | 22.086957 | 66 | 0.745079 | Steppenwolfe65 |
8997b298451bb1e58de3c8a7830040160a7c6ace | 2,028 | cpp | C++ | Src/Plugin/Wonderland/WonderlandPlugin.cpp | prophecy/Pillar | a60b07857e66312ee94d69678b1ca8c97b1a19eb | [
"MIT"
] | 2 | 2017-07-19T03:23:27.000Z | 2018-01-16T04:26:53.000Z | Src/Plugin/Wonderland/WonderlandPlugin.cpp | prophecy/Pillar | a60b07857e66312ee94d69678b1ca8c97b1a19eb | [
"MIT"
] | null | null | null | Src/Plugin/Wonderland/WonderlandPlugin.cpp | prophecy/Pillar | a60b07857e66312ee94d69678b1ca8c97b1a19eb | [
"MIT"
] | null | null | null | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 Adawat Chanchua
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of... | 34.965517 | 85 | 0.751972 | prophecy |
89a3b1a7c81e269e6830dee582b3d8210e6fa052 | 315 | cxx | C++ | example/wake_ptr.cxx | usagi/usagi | 2d57d21eeb92eadfdf4154a3e470aebfc3e388e5 | [
"MIT"
] | 2 | 2016-11-20T04:59:17.000Z | 2017-02-13T01:44:37.000Z | example/wake_ptr.cxx | usagi/usagi | 2d57d21eeb92eadfdf4154a3e470aebfc3e388e5 | [
"MIT"
] | 3 | 2015-09-28T12:00:02.000Z | 2015-09-28T12:03:21.000Z | example/wake_ptr.cxx | usagi/usagi | 2d57d21eeb92eadfdf4154a3e470aebfc3e388e5 | [
"MIT"
] | 3 | 2017-07-02T06:09:47.000Z | 2018-07-09T01:00:57.000Z | #include <usagi/memory/wake_ptr.hxx>
#include <vector>
#include <iostream>
auto main() -> int
{
using t = std::vector<int>;
auto b = std::make_shared< t >();
using namespace usagi::memory;
wake_ptr< t > a = b;
a->emplace_back( 123 );
a->emplace_back( 456 );
std::cout << a->front() << (*a)[1];
}
| 18.529412 | 37 | 0.6 | usagi |
89aa380bf9a9743deae08388709215a54b70e8cb | 12,846 | cpp | C++ | MACHINATH/MACHINATH/sound.cpp | susajin/MACHINATH | 1e75097f86218f143411885240bbcf211a6e9c99 | [
"MIT"
] | null | null | null | MACHINATH/MACHINATH/sound.cpp | susajin/MACHINATH | 1e75097f86218f143411885240bbcf211a6e9c99 | [
"MIT"
] | null | null | null | MACHINATH/MACHINATH/sound.cpp | susajin/MACHINATH | 1e75097f86218f143411885240bbcf211a6e9c99 | [
"MIT"
] | null | null | null | //=============================================================================
//
// �T�E���h���� [sound.cpp]
//
//=============================================================================
#include <XAudio2.h>
#include <mmsystem.h>
#include "sound.h"
#include "common.h"
#pragma comment (lib, "xaudio2.li... | 27.74514 | 114 | 0.553324 | susajin |
89af011de156c8e203dc82c575ccc2e901652609 | 1,993 | hpp | C++ | src/tests/sequential/cusum.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null | src/tests/sequential/cusum.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null | src/tests/sequential/cusum.hpp | ropufu/aftermath | ab9364c41672a188879d84ebebb5a23f2d6641ec | [
"MIT"
] | null | null | null |
#ifndef ROPUFU_AFTERMATH_TESTS_SEQUENTIAL_CUSUM_HPP_INCLUDED
#define ROPUFU_AFTERMATH_TESTS_SEQUENTIAL_CUSUM_HPP_INCLUDED
#include <doctest/doctest.h>
#include "../core.hpp"
#include "../../ropufu/random/binomial_sampler.hpp"
#include "../../ropufu/random/normal_sampler_512.hpp"
#include "../../ropufu/random/uniform... | 31.634921 | 85 | 0.690416 | ropufu |
89b2197cab272b06bd62ceea4dbd7ab38ed77dc4 | 1,774 | cc | C++ | archetype/TestWrappedOutput.cc | gitosaurus/archetype | 849cd50e653adab6e5ca6f23d5350217a8a4d025 | [
"MIT"
] | 6 | 2015-05-04T17:18:54.000Z | 2021-01-24T16:23:56.000Z | archetype/TestWrappedOutput.cc | gitosaurus/archetype | 849cd50e653adab6e5ca6f23d5350217a8a4d025 | [
"MIT"
] | null | null | null | archetype/TestWrappedOutput.cc | gitosaurus/archetype | 849cd50e653adab6e5ca6f23d5350217a8a4d025 | [
"MIT"
] | null | null | null | //
// TestWrappedOutput.cpp
// archetype
//
// Created by Derek Jones on 9/21/14.
// Copyright (c) 2014 Derek Jones. All rights reserved.
//
#include <iostream>
#include <string>
#include <sstream>
#include <deque>
#include <iterator>
#include "TestWrappedOutput.hh"
#include "TestRegistry.hh"
#include "StringOutp... | 31.122807 | 99 | 0.654453 | gitosaurus |
89b5081b750a5e5ac1fcd4fe39900575790b25e8 | 404 | cpp | C++ | pow_sha1/src/_main.cpp | mzk84/phi | 69c0535eff9f301daaa67e80aa01f39d7ace2b4b | [
"Unlicense"
] | null | null | null | pow_sha1/src/_main.cpp | mzk84/phi | 69c0535eff9f301daaa67e80aa01f39d7ace2b4b | [
"Unlicense"
] | null | null | null | pow_sha1/src/_main.cpp | mzk84/phi | 69c0535eff9f301daaa67e80aa01f39d7ace2b4b | [
"Unlicense"
] | null | null | null | #include "_includes.h"
#include "mzk84_commons.h"
#include "PoW_SHA1.h"
int main() {
std::cout << "\n************************************************************\n";
std::cout << "Proof of Work SHA1 Test\n\n";
size_t prefix_len = 64;
size_t difficulty = 6;
for (auto i = 0; i < 5; i++) {
std::string prefix = ... | 23.764706 | 81 | 0.554455 | mzk84 |
89b63e39c6bf70d33d9364c1447d494aaa788823 | 971 | hpp | C++ | src/LoadInformations.hpp | jkalter11/freeshop | c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3 | [
"MIT"
] | 1 | 2021-05-11T10:40:14.000Z | 2021-05-11T10:40:14.000Z | src/LoadInformations.hpp | jkalter11/freeshop | c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3 | [
"MIT"
] | null | null | null | src/LoadInformations.hpp | jkalter11/freeshop | c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3 | [
"MIT"
] | 2 | 2021-06-05T15:51:05.000Z | 2022-02-03T20:44:33.000Z | #ifndef FREESHOP_LOADINFORMATIONS_HPP
#define FREESHOP_LOADINFORMATIONS_HPP
#include <cpp3ds/Graphics/Drawable.hpp>
#include <cpp3ds/Graphics/Text.hpp>
#include <cpp3ds/Window/Event.hpp>
#include "TweenObjects.hpp"
#include <TweenEngine/Tween.h>
#include <TweenEngine/TweenManager.h>
namespace FreeShop {
class LoadIn... | 23.119048 | 109 | 0.797116 | jkalter11 |
89b846212984ab98ac5310f8acd9ec1139074a7c | 1,978 | cpp | C++ | src/tt.cpp | am1w1zz/CppLearn | 16db21cb5cc9ca14e488f4f40923b756de18e354 | [
"MIT"
] | null | null | null | src/tt.cpp | am1w1zz/CppLearn | 16db21cb5cc9ca14e488f4f40923b756de18e354 | [
"MIT"
] | null | null | null | src/tt.cpp | am1w1zz/CppLearn | 16db21cb5cc9ca14e488f4f40923b756de18e354 | [
"MIT"
] | null | null | null | #include<iostream>
#include <vector>
#include "tt.h"
struct aa {
void f(int x ,int y) {
std::cout<<"void"<<std::endl;
return ;
}
void f(int x,int y )const {
std::cout<<"int"<<std::endl;
return ;
}
~aa() {
std::cout<<"aa"<<std::endl;
}
};
struct bb : a... | 18.314815 | 80 | 0.455005 | am1w1zz |
89bdb539249e2db4bad0da72bebba8cbc08e72fc | 2,550 | hpp | C++ | src/solvers/temporal/point_algebra/QualitativeTimePoint.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T12:15:15.000Z | 2022-03-31T12:15:15.000Z | src/solvers/temporal/point_algebra/QualitativeTimePoint.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | null | null | null | src/solvers/temporal/point_algebra/QualitativeTimePoint.hpp | tomcreutz/planning-templ | 55e35ede362444df9a7def6046f6df06851fe318 | [
"BSD-3-Clause"
] | 1 | 2021-12-29T10:38:07.000Z | 2021-12-29T10:38:07.000Z | #ifndef TEMPL_SOLVERS_TEMPORAL_POINT_ALGEBRA_QUALITATIVE_TIME_POINT_HPP
#define TEMPL_SOLVERS_TEMPORAL_POINT_ALGEBRA_QUALITATIVE_TIME_POINT_HPP
#include <graph_analysis/VertexRegistration.hpp>
#include "TimePoint.hpp"
namespace templ {
namespace solvers {
namespace temporal {
namespace point_algebra {
/**
* \class ... | 29.651163 | 113 | 0.717255 | tomcreutz |
89c1670532dfc7e5456bbf05a770a97ea580a086 | 16,394 | cc | C++ | network/slirp/bootp.cc | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | null | null | null | network/slirp/bootp.cc | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | null | null | null | network/slirp/bootp.cc | rahimazizarab/sand-dyn75 | f5462445ce53b9b769e295928cc1e9203bce78b1 | [
"BSD-2-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////
// $Id: bootp.cc 12269 2014-04-02 17:38:09Z vruppert $
/////////////////////////////////////////////////////////////////////////
/*
* BOOTP/DHCP server (ported from Qemu)
* Bochs additions: parameter list and some other options
*
* Copyright ... | 34.22547 | 107 | 0.485909 | rahimazizarab |
89c340ae80e58b5779e1aa36976412f7276cfd8d | 3,389 | cpp | C++ | VC2010Samples/MFC/general/dlgcbr32/Dlgcbar.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/MFC/general/dlgcbr32/Dlgcbar.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/MFC/general/dlgcbr32/Dlgcbar.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // Dlgcbar.cpp : Defines the class behaviors for the application.
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// el... | 27.552846 | 77 | 0.643848 | alonmm |
89cc12b6fd4de91b2c89b339bf96667e19205a32 | 7,018 | cpp | C++ | HiveCore/src/Buffer/BufferVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | /**
* @file BufferVolumeData.cpp
* BufferVolumeDataクラス
*/
#include "BufferVolumeData.h"
#include "Buffer.h"
#include <vector>
#include <algorithm>
namespace {
inline float remap(float x, const float *table, int n) {
int idx = x * n;
idx = (std::max)((std::min)(n - 1, idx), 0);
return table[idx];
}
} // na... | 20.051429 | 105 | 0.568681 | digirea |
89d1b96a977fae6664c2cb09355c1dd481fa1b41 | 336 | hpp | C++ | inode.hpp | macdice/ds9fs | d6676d7996a2f3b5722b7d37f3aa58233a397aa5 | [
"BSD-2-Clause"
] | 3 | 2021-05-18T18:45:47.000Z | 2021-05-24T14:31:21.000Z | inode.hpp | macdice/dsfs | d6676d7996a2f3b5722b7d37f3aa58233a397aa5 | [
"BSD-2-Clause"
] | null | null | null | inode.hpp | macdice/dsfs | d6676d7996a2f3b5722b7d37f3aa58233a397aa5 | [
"BSD-2-Clause"
] | null | null | null | #ifndef INODE_HPP
#define INODE_HPP
#include <cstddef>
#include <sys/types.h>
struct inode {
virtual ~inode() {}
virtual void write(int fd, const char *data, std::size_t size, off_t offset) = 0;
virtual void truncate(int fd, std::size_t size) = 0;
virtual void synchronize(int fd) = 0;
virtual void lose_power() ... | 19.764706 | 82 | 0.699405 | macdice |
89d4a4127f21642f4525fc464e4f8db5a0456a86 | 6,216 | cpp | C++ | 11_CPP/02_CPP02/ex03/main.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/main.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | 11_CPP/02_CPP02/ex03/main.cpp | tderwedu/42cursus | 2f56b87ce87227175e7a297d850aa16031acb0a8 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | 56.509091 | 80 | 0.42471 | tderwedu |
89d8899149f99a2917ad76d922e6428c5e7a10cd | 5,161 | cpp | C++ | Akel/src/Renderer/Buffers/vk_buffer.cpp | NurissGames/Akel | 9580f7eb1d4a0dbe20459bd83a5e681a040c29de | [
"MIT"
] | 3 | 2021-12-01T17:59:30.000Z | 2022-01-22T20:29:08.000Z | Akel/src/Renderer/Buffers/vk_buffer.cpp | NurissGames/Akel | 9580f7eb1d4a0dbe20459bd83a5e681a040c29de | [
"MIT"
] | null | null | null | Akel/src/Renderer/Buffers/vk_buffer.cpp | NurissGames/Akel | 9580f7eb1d4a0dbe20459bd83a5e681a040c29de | [
"MIT"
] | 1 | 2021-12-01T17:59:32.000Z | 2021-12-01T17:59:32.000Z | // This file is a part of Akel
// Authors : @kbz_8
// Created : 10/04/2022
// Updated : 08/05/2022
#include "vk_buffer.h"
namespace Ak
{
void Buffer::create(Buffer::kind type, VkDeviceSize size, VkBufferUsageFlags usage, const void* data)
{
if(type == Buffer::kind::constant)
{
if(data == nullptr)
{
Co... | 30.720238 | 140 | 0.757605 | NurissGames |
89e1274278a0bff99a3783c7779dbe8b65955b92 | 339 | cpp | C++ | src/Interface/Handling/JsonAPIResourceBuilder.cpp | korenandr/poco_restful_webservice | 864b02fb0cd500c9c74fb2f6931c44ecd6f4d019 | [
"Apache-2.0"
] | 1 | 2021-07-01T18:45:35.000Z | 2021-07-01T18:45:35.000Z | src/Interface/Handling/JsonAPIResourceBuilder.cpp | korenandr/poco_restful_webservice | 864b02fb0cd500c9c74fb2f6931c44ecd6f4d019 | [
"Apache-2.0"
] | null | null | null | src/Interface/Handling/JsonAPIResourceBuilder.cpp | korenandr/poco_restful_webservice | 864b02fb0cd500c9c74fb2f6931c44ecd6f4d019 | [
"Apache-2.0"
] | null | null | null | #include "Interface/Handling/JsonAPIResourceBuilder.h"
namespace Interface::Handling {
JsonAPIResourceBuilder::JsonAPIResourceBuilder()
: JsonAPIAbstractRootResourceBuilder("")
{ }
JsonAPIResourceBuilder::JsonAPIResourceBuilder(const std::string & url)
: JsonAPIAbstractRootResourceBuild... | 21.1875 | 75 | 0.734513 | korenandr |
89e394cf4d0768c3326a5aa7ca1bf8345abddfc5 | 1,494 | cpp | C++ | src/client/sdl/drawables/drawable_text_entry_button.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | 9 | 2021-12-22T02:10:34.000Z | 2021-12-30T17:14:25.000Z | src/client/sdl/drawables/drawable_text_entry_button.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | null | null | null | src/client/sdl/drawables/drawable_text_entry_button.cpp | Santoi/quantum-chess | a2f5a0f322c6aa51488c52c8ebacbe0ad75ca9f9 | [
"MIT"
] | null | null | null | #include "drawable_text_entry_button.h"
#include <utility>
#include <string>
DrawableTextEntryButton::DrawableTextEntryButton(
TextSpriteRepository &text_repository,
ButtonSpriteRepository &button_repository,
std::string default_text) :
text_repository(text_repository),
button_repository(button_re... | 31.125 | 80 | 0.668675 | Santoi |
89e7a7d2a32ad560b594975537a29bb715877bda | 5,001 | cpp | C++ | srcdll/cdc.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | srcdll/cdc.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | srcdll/cdc.cpp | HPC-Factor/232usb | aaf0e43e20e7e7ea9d5f8b0a2c0ba37bcf0d1567 | [
"BSD-3-Clause"
] | null | null | null | // 232usb Copyright (c) 03-04 Zoroyoshi, Japan
// See source.txt for detail
#include <windows.h>
#include "usbdi.h"
#include "common.h"
#include "file.h"
#include "device.h"
#include "cdc.h"
int cdc_extension::
classissue()
{
if(classut) return -1; //issued
int pkt= classendp->Descriptor.wMaxPacketS... | 27.327869 | 98 | 0.667666 | HPC-Factor |
89e8aa346df247c24ff451f5559150e4d972bc32 | 8,291 | hpp | C++ | rgcmidcpp/src/binutils.hpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | 8 | 2017-09-20T20:24:29.000Z | 2019-08-10T22:55:13.000Z | rgcmidcpp/src/binutils.hpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | null | null | null | rgcmidcpp/src/binutils.hpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | 1 | 2018-08-28T19:28:20.000Z | 2018-08-28T19:28:20.000Z | // Copyright (c) 2015-2017 Matthew Sitton <matthewsitton@gmail.com>
// See LICENSE in the RhythmGameChart root for license information.
#pragma once
#include <cstdint>
#include <istream>
#include <ostream>
#include <vector>
#include <stdexcept>
#include <algorithm>
#include <string>
#include <string_view>
// This is ... | 24.457227 | 92 | 0.569051 | mdsitton |
89e9eb41496407e950fa2e4dfa325f03fbd589ab | 1,064 | hpp | C++ | test/mock/src/runtime/block_builder_api_mock.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | 1 | 2021-07-10T21:25:03.000Z | 2021-07-10T21:25:03.000Z | test/mock/src/runtime/block_builder_api_mock.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | null | null | null | test/mock/src/runtime/block_builder_api_mock.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | null | null | null |
#ifndef SUPERGENIUS_TEST_MOCK_SRC_RUNTIME_BLOCK_BUILDER_API_MOCK_HPP
#define SUPERGENIUS_TEST_MOCK_SRC_RUNTIME_BLOCK_BUILDER_API_MOCK_HPP
#include <gmock/gmock.h>
#include "runtime/block_builder.hpp"
namespace sgns::runtime {
class BlockBuilderApiMock : public BlockBuilder {
public:
MOCK_METHOD1(apply_extr... | 36.689655 | 77 | 0.696429 | GeniusVentures |
8852a42eff8e4b8e8846aa31b40a7b2a69c52a73 | 1,299 | cpp | C++ | ex00/srcs/megaphone.cpp | JonathanDUFOUR/cpp_modul_00 | d7ebbf1a42b0af46309ed835644e2d2f8897ad06 | [
"MIT"
] | null | null | null | ex00/srcs/megaphone.cpp | JonathanDUFOUR/cpp_modul_00 | d7ebbf1a42b0af46309ed835644e2d2f8897ad06 | [
"MIT"
] | null | null | null | ex00/srcs/megaphone.cpp | JonathanDUFOUR/cpp_modul_00 | d7ebbf1a42b0af46309ed835644e2d2f8897ad06 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* megaphone.cpp :+: :+: :+: ... | 40.59375 | 80 | 0.277136 | JonathanDUFOUR |
885a29976d90fc532e7db7e3dd64f5ba1ce0a8e1 | 958 | cpp | C++ | codechef/MAY COOK 15/REARRSTR.cpp | DevGithub007/My_Codes | e506050b97abc058fa8b1e24b3b936cc2315c664 | [
"MIT"
] | null | null | null | codechef/MAY COOK 15/REARRSTR.cpp | DevGithub007/My_Codes | e506050b97abc058fa8b1e24b3b936cc2315c664 | [
"MIT"
] | null | null | null | codechef/MAY COOK 15/REARRSTR.cpp | DevGithub007/My_Codes | e506050b97abc058fa8b1e24b3b936cc2315c664 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int N = 1234567;
char s[N], res[N];
pair <int, int> e[42];
int main() {
int tt;
scanf("%d", &tt);
while (tt--) {
scanf("%s", s);
int n = strlen(s);
int cnt[42];
for (int j = 0; j < 26; j++) {
cnt[j] = 0;
}
for (int i = 0; i ... | 17.740741 | 44 | 0.368476 | DevGithub007 |
8860acc08b23db785b649ae1f4d3e9bf23e03462 | 1,612 | cpp | C++ | test/math/vector/hypersphere_to_cartesian.cpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | test/math/vector/hypersphere_to_cartesian.cpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | test/math/vector/hypersphere_to_cartesian.cpp | 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)
#include <fcppt/math/vector/componentwise_equal.hpp>
#include <fcppt/math/vector/hypersphere_to_ca... | 13.777778 | 61 | 0.597395 | pmiddend |
8865092e6cbea3b4d4128f0e80fc9c5da9a14a20 | 6,309 | cpp | C++ | examples/tutorial/dynatype.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | examples/tutorial/dynatype.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | examples/tutorial/dynatype.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | /**************************************************************************
*
* dynatype.cpp - Example program of map. See Class Reference Section
*
* $Id: //stdlib/dev/examples/stdlib/tutorial/dynatype.cpp#11 $
*
***************************************************************************
*
* Copyright (c) 1994... | 27.430435 | 76 | 0.574735 | Hower91 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.