hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58e353a0160167535f5ffddfb4f21c049eec11bc | 9,729 | cpp | C++ | src/coreclr/src/vm/exinfo.cpp | davidsh/runtime | e5274e41fe13a8cfeeb4e87e39a1452cf8968f8c | [
"MIT"
] | 2 | 2020-05-27T10:46:24.000Z | 2020-05-27T10:46:27.000Z | src/coreclr/src/vm/exinfo.cpp | witchakorn1999/runtime | cfd0172f89d237f79c47de51b64d5778c440bbc6 | [
"MIT"
] | 2 | 2020-06-06T09:07:48.000Z | 2020-06-06T09:13:07.000Z | src/coreclr/src/vm/exinfo.cpp | witchakorn1999/runtime | cfd0172f89d237f79c47de51b64d5778c440bbc6 | [
"MIT"
] | 1 | 2020-08-04T14:01:38.000Z | 2020-08-04T14:01:38.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
#include "common.h"
#include "exinfo.h"
#include "dbginterface.h"
#ifndef FEATURE_EH_FUNCLETS
#ifndef DACCES... | 31.898361 | 158 | 0.687429 | davidsh |
58e39b090824caa2296db363e3210b40126cde16 | 2,898 | hpp | C++ | include/LightBulbApp/Repositories/TrainingPlanRepository.hpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 5 | 2016-02-04T06:14:42.000Z | 2017-02-06T02:21:43.000Z | include/LightBulbApp/Repositories/TrainingPlanRepository.hpp | domin1101/ANNHelper | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | 41 | 2015-04-15T21:05:45.000Z | 2015-07-09T12:59:02.000Z | include/LightBulbApp/Repositories/TrainingPlanRepository.hpp | domin1101/LightBulb | 50acb5746d6dad6777532e4c7da4983a7683efe0 | [
"Zlib"
] | null | null | null | #pragma once
#ifndef _TRAININGPLANREPOSITORY_H_
#define _TRAININGPLANREPOSITORY_H_
// Library includes
#include <vector>
#include <memory>
// Includes
#include "LightBulb/Event/Observable.hpp"
namespace LightBulb
{
class AbstractTrainingPlan;
/**
* \brief All events the training plan repository can throw.
*/
... | 31.5 | 114 | 0.722222 | domin1101 |
58e3c50f3103af4afd1da0237a20460b57faf4cc | 831 | cc | C++ | openssl-examples/lib/openssl++/certificate_stack.cc | falk-werner/playground | 501b425d4c8161bdd89ad92b78a4741d81af9acb | [
"MIT"
] | null | null | null | openssl-examples/lib/openssl++/certificate_stack.cc | falk-werner/playground | 501b425d4c8161bdd89ad92b78a4741d81af9acb | [
"MIT"
] | null | null | null | openssl-examples/lib/openssl++/certificate_stack.cc | falk-werner/playground | 501b425d4c8161bdd89ad92b78a4741d81af9acb | [
"MIT"
] | null | null | null | /* 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 https://mozilla.org/MPL/2.0/. */
#include <openssl++/certificate_stack.hpp>
#include <openssl++/exception.hpp>
namespace openssl
{
CertificateSt... | 20.775 | 74 | 0.685921 | falk-werner |
58e494b05e6f6f66ea3c8f2bc66f07a8795c3bd9 | 1,889 | cpp | C++ | Source/FishEngine/Component/Rigidbody.cpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-12-20T02:38:44.000Z | 2018-12-20T02:38:44.000Z | Source/FishEngine/Component/Rigidbody.cpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | null | null | null | Source/FishEngine/Component/Rigidbody.cpp | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-10-25T19:40:22.000Z | 2018-10-25T19:40:22.000Z | #include <FishEngine/Component/Rigidbody.hpp>
#include <FishEngine/Transform.hpp>
#include <FishEngine/GameObject.hpp>
#include <FishEngine/Component/BoxCollider.hpp>
#include <FishEngine/Component/SphereCollider.hpp>
#include <FishEngine/Physics/PhysxAPI.hpp>
using namespace physx;
inline physx::PxVec3 PxVec3(const ... | 27.376812 | 111 | 0.712546 | yushroom |
58e7c849efc2e4c6af1e6793bc4ed54321b23997 | 6,475 | cc | C++ | wasp_exec/src/waspexecutor.cc | tuloski/wasp_exec | 00ac1e3d00e974c380a9d498a346b50996bee2e7 | [
"MIT"
] | null | null | null | wasp_exec/src/waspexecutor.cc | tuloski/wasp_exec | 00ac1e3d00e974c380a9d498a346b50996bee2e7 | [
"MIT"
] | null | null | null | wasp_exec/src/waspexecutor.cc | tuloski/wasp_exec | 00ac1e3d00e974c380a9d498a346b50996bee2e7 | [
"MIT"
] | null | null | null | #include "ros/ros.h"
#include <boost/thread.hpp>
#include "std_msgs/String.h"
#include <iostream>
#include <sstream>
#include <queue>
#include "lrs_msgs_tst/ConfirmReq.h"
#include "mms_msgs/Cmd.h"
#include "lrs_srvs_exec/TSTCreateExecutor.h"
#include "lrs_msgs_tst/OperatorRequest.h"
#include "executors/flyto.h"
#... | 32.375 | 125 | 0.707181 | tuloski |
58ea53943e8075e73f722610a62f77ff657ad16a | 1,446 | hpp | C++ | cho_util/vis/vtk_viewer/include/cho_util/vis/vtk_viewer/handler/poly_point_source.hpp | yycho0108/ChoUtils | ce701d4c7bb21c6b17e218d584ad68bbb63fba0a | [
"MIT"
] | null | null | null | cho_util/vis/vtk_viewer/include/cho_util/vis/vtk_viewer/handler/poly_point_source.hpp | yycho0108/ChoUtils | ce701d4c7bb21c6b17e218d584ad68bbb63fba0a | [
"MIT"
] | null | null | null | cho_util/vis/vtk_viewer/include/cho_util/vis/vtk_viewer/handler/poly_point_source.hpp | yycho0108/ChoUtils | ce701d4c7bb21c6b17e218d584ad68bbb63fba0a | [
"MIT"
] | null | null | null | #pragma once
#include <vtkPolyDataAlgorithm.h>
class vtkPoints;
class vtkUnsignedCharArray;
namespace cho {
namespace vis {
/**
* @brief Adaptation of vtkPolyPointSource that also enables vertex-wise color
* assignment.
*/
class ColoredPolyPointSource : public vtkPolyDataAlgorithm {
public:
vtkTypeMacro(Color... | 25.821429 | 78 | 0.771093 | yycho0108 |
58ebde0ceaa882d8d5f0035f5039c41409d992aa | 524 | cpp | C++ | Easing/PolygonEquation.cpp | DiegoSLTS/EasingFunctions | 38951f19a3069c9ac20aee482dfe1f8c0953408d | [
"MIT"
] | null | null | null | Easing/PolygonEquation.cpp | DiegoSLTS/EasingFunctions | 38951f19a3069c9ac20aee482dfe1f8c0953408d | [
"MIT"
] | null | null | null | Easing/PolygonEquation.cpp | DiegoSLTS/EasingFunctions | 38951f19a3069c9ac20aee482dfe1f8c0953408d | [
"MIT"
] | null | null | null | #include "PolygonEquation.h"
#include <math.h>
PolygonEquation::PolygonEquation(int grade) : grade(grade) {}
PolygonEquation::~PolygonEquation() {}
double PolygonEquation::Evaluate() const {
float temp = GetTime();
switch(this->ease) {
case EasingType::IN:
return pow(temp, grade);
case EasingType::OUT:
retur... | 22.782609 | 61 | 0.652672 | DiegoSLTS |
58ef2e13fb05b3a6506e4dd43ff1752365fc36cd | 1,271 | cc | C++ | src/base/tests/Exception_unittest.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | 2 | 2019-07-15T08:34:38.000Z | 2019-08-07T12:27:23.000Z | src/base/tests/Exception_unittest.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | null | null | null | src/base/tests/Exception_unittest.cc | plantree/Slack | 469fff18792a6d4d20c409f0331e3c93117c5ddf | [
"MIT"
] | null | null | null | /*
* @Author: py.wang
* @Date: 2019-06-06 17:19:02
* @Last Modified by: py.wang
* @Last Modified time: 2019-06-06 18:34:59
*/
#include "src/base/Exception.h"
#include "src/base/CurrentThread.h"
#include <vector>
#include <string>
#include <functional>
#include <stdio.h>
class Bar
{
public:
void test(std:... | 19.859375 | 100 | 0.543666 | plantree |
58efcb8552b7f549b1bf3d88b2254a589dbcb3f7 | 22,079 | cpp | C++ | released_plugins/v3d_plugins/terastitcher/src/core/stitcher/StackRestorer.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/terastitcher/src/core/stitcher/StackRestorer.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/terastitcher/src/core/stitcher/StackRestorer.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------------------------
// Copyright (c) 2012 Alessandro Bria and Giulio Iannello (University Campus Bio-Medico of Rome).
// All rights reserved.
//-------------------------------------------------------------------------------------------... | 35.269968 | 190 | 0.617782 | zzhmark |
58f34ecd609e36c29fc423ba6154ebfa776c18a3 | 1,282 | cpp | C++ | Example/serialization_13/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | Example/serialization_13/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | Example/serialization_13/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | #include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/serialization/export.hpp>
#include <iostream>
#include <sstream>
std::stringstream ss;
class animal
{
public:
animal() = default;
animal(int legs) : legs_{legs} {}
virtual int legs() const { return legs_; }
v... | 18.314286 | 73 | 0.664587 | KwangjoJeong |
58f5e87c88fc029411d0193072ec526dc6ec06db | 894 | cpp | C++ | numeric/modulo.cpp | ankushkhanna1998/competitive-programming | 97c772f3bc029dcd9f573f2e3d616ba068eab8b5 | [
"MIT"
] | 3 | 2020-06-02T07:39:24.000Z | 2020-09-02T14:04:52.000Z | numeric/modulo.cpp | ankushkhanna1998/competitive-programming | 97c772f3bc029dcd9f573f2e3d616ba068eab8b5 | [
"MIT"
] | null | null | null | numeric/modulo.cpp | ankushkhanna1998/competitive-programming | 97c772f3bc029dcd9f573f2e3d616ba068eab8b5 | [
"MIT"
] | null | null | null | const int64_t MOD = static_cast<int64_t>(1e9 + 7);
inline int64_t add(int64_t a, const int64_t b, const int64_t M = MOD) {
return ((a += b) >= M ? a - M : a);
}
inline int64_t sub(int64_t a, const int64_t b, const int64_t M = MOD) {
return ((a -= b) < 0 ? a + M : a);
}
inline int64_t mul(const int64_t a, con... | 23.526316 | 77 | 0.506711 | ankushkhanna1998 |
58f696aa6218731be901e86298876227be963492 | 17,565 | cpp | C++ | src/Physics/Vehicle.cpp | NotCamelCase/Grad-Project-Arcade-Sim | 4574cf1a11878829c75dec1aaa9834d40221cdbc | [
"MIT"
] | 7 | 2015-01-12T21:46:22.000Z | 2021-11-19T19:15:37.000Z | src/Physics/Vehicle.cpp | NotCamelCase/Grad-Project-Arcade-Sim | 4574cf1a11878829c75dec1aaa9834d40221cdbc | [
"MIT"
] | null | null | null | src/Physics/Vehicle.cpp | NotCamelCase/Grad-Project-Arcade-Sim | 4574cf1a11878829c75dec1aaa9834d40221cdbc | [
"MIT"
] | 3 | 2015-07-28T08:32:19.000Z | 2021-02-19T11:16:48.000Z | /*
The MIT License (MIT)
Copyright (c) 2015 Tayfun Kayhan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | 28.842365 | 167 | 0.728779 | NotCamelCase |
58fa12fcd221fec27eca3ae7f5202804d6b04b2a | 3,172 | hpp | C++ | src/libblockchain/transaction_sponsoring.hpp | publiqnet/publiq.pp | 0865494edaa22ea2e3238aaf01cdb9e457535933 | [
"MIT"
] | 4 | 2019-11-20T17:27:57.000Z | 2021-01-05T09:46:20.000Z | src/libblockchain/transaction_sponsoring.hpp | publiqnet/publiq.pp | 0865494edaa22ea2e3238aaf01cdb9e457535933 | [
"MIT"
] | null | null | null | src/libblockchain/transaction_sponsoring.hpp | publiqnet/publiq.pp | 0865494edaa22ea2e3238aaf01cdb9e457535933 | [
"MIT"
] | 2 | 2019-01-10T14:10:26.000Z | 2020-03-01T05:55:05.000Z | #pragma once
#include "global.hpp"
#include "message.hpp"
#include "node.hpp"
#include "state.hpp"
#include <string>
#include <vector>
namespace publiqpp
{
// sponsoring stuff
std::vector<std::string> action_owners(BlockchainMessage::SponsorContentUnit const& sponsor_content_unit);
std::vector<std::string> action_pa... | 48.8 | 125 | 0.728247 | publiqnet |
58fbaa3a1b2267f5ad48045b5966096805c1ac18 | 601 | cpp | C++ | 999_Practice_Set_2/Day_012/074_pair_sum_problem.cpp | Binamra7/Data-Structure-and-Algorithms | 1232fdeba041c678b4c651f6a702d50b344ed4cc | [
"MIT"
] | 126 | 2019-12-22T17:49:08.000Z | 2021-12-14T18:45:51.000Z | 999_Practice_Set_2/Day_012/074_pair_sum_problem.cpp | Divyanshi-03/Data-Structure-and-Algorithms | 21b02dd312105411621242731106411defbd6ddb | [
"MIT"
] | 7 | 2019-12-25T18:03:41.000Z | 2021-02-20T06:25:27.000Z | 999_Practice_Set_2/Day_012/074_pair_sum_problem.cpp | Divyanshi-03/Data-Structure-and-Algorithms | 21b02dd312105411621242731106411defbd6ddb | [
"MIT"
] | 54 | 2019-12-26T06:28:39.000Z | 2022-02-01T05:04:43.000Z | // Check if there exists two elements in an array such that their sum is equal to given k.
#include <iostream>
using namespace std;
bool pairSum(int arr[], int n, int k)
{
for(int i=0; i<n-1; i++)
{
for(int j=i+1; j<n; j++)
{
if(arr[i] + arr[j] == k)
{
... | 15.410256 | 90 | 0.432612 | Binamra7 |
58fff242aa8aa3db3d4faceb6c54aa4fac6556f2 | 966 | hpp | C++ | utils/resource_loader.hpp | UnnamedOrange/osu-kps | b893d1fb75f001ac6bb5951182590dc0096a1e0e | [
"MIT"
] | 21 | 2021-02-15T17:10:50.000Z | 2022-01-23T05:02:12.000Z | utils/resource_loader.hpp | UnnamedOrange/osu-kps | b893d1fb75f001ac6bb5951182590dc0096a1e0e | [
"MIT"
] | 4 | 2021-02-15T16:23:52.000Z | 2021-12-30T14:04:01.000Z | utils/resource_loader.hpp | UnnamedOrange/osu-kps | b893d1fb75f001ac6bb5951182590dc0096a1e0e | [
"MIT"
] | 2 | 2021-07-23T02:29:11.000Z | 2021-09-05T04:09:55.000Z | // Copyright (c) UnnamedOrange. Licensed under the MIT Licence.
// See the LICENSE file in the repository root for full licence text.
#pragma once
#include <vector>
#include <string_view>
#include <stdexcept>
#include <Windows.h>
#undef min
#undef max
class resource_loader
{
public:
static auto load(const wchar_t*... | 26.833333 | 73 | 0.736025 | UnnamedOrange |
4502d349f350bfdd903d9c815ad937a7a387f148 | 1,547 | cpp | C++ | src/source/zombye/gameplay/states/play_state.cpp | kasoki/project-zombye | 30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05 | [
"MIT"
] | 1 | 2019-05-29T01:37:44.000Z | 2019-05-29T01:37:44.000Z | src/source/zombye/gameplay/states/play_state.cpp | atomicptr/project-zombye | 30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05 | [
"MIT"
] | 1 | 2015-08-31T22:44:27.000Z | 2015-08-31T22:44:27.000Z | src/source/zombye/gameplay/states/play_state.cpp | kasoki/project-zombye | 30d3dc0b7e6a929162fa0ddfb77dd10bc9bf4f05 | [
"MIT"
] | null | null | null | #include <cmath>
#include <glm/gtc/matrix_transform.hpp>
#include <SDL2/SDL.h>
#include <zombye/core/game.hpp>
#include <zombye/ecs/entity_manager.hpp>
#include <zombye/gameplay/states/play_state.hpp>
#include <zombye/input/input_manager.hpp>
#include <zombye/input/input_system.hpp>
#include <zombye/input/joystick.hp... | 31.571429 | 77 | 0.740142 | kasoki |
450499a351910ff7c5892fd42be79f0ddd030383 | 6,340 | cpp | C++ | src/third_party/swiftshader/third_party/subzero/pnacl-llvm/NaClBitcodeDecoders.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/third_party/swiftshader/third_party/subzero/pnacl-llvm/NaClBitcodeDecoders.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/third_party/swiftshader/third_party/subzero/pnacl-llvm/NaClBitcodeDecoders.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | //===- NaClBitcodeDecoders.cpp --------------------------------------------===//
// Internal implementation of decoder functions for PNaCl Bitcode files.
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT... | 27.68559 | 80 | 0.677445 | rhencke |
4505cdbd048ad5797de47fbbefcacffec70c99d9 | 3,815 | cpp | C++ | tests/test_queries.cpp | sinkarl/asp_db | 8dc5b40257b438872a689f5894416ae80db7d7ca | [
"MIT"
] | null | null | null | tests/test_queries.cpp | sinkarl/asp_db | 8dc5b40257b438872a689f5894416ae80db7d7ca | [
"MIT"
] | null | null | null | tests/test_queries.cpp | sinkarl/asp_db | 8dc5b40257b438872a689f5894416ae80db7d7ca | [
"MIT"
] | null | null | null | #include "asp_db/db_queries_setup.h"
#include "asp_db/db_queries_setup_select.h"
#include "asp_db/db_tables.h"
#include "asp_db/db_where.h"
#include "library_tables.h"
#include "gtest/gtest.h"
#include <filesystem>
#include <iostream>
#include <numeric>
#include <assert.h>
LibraryDBTables ldb;
TEST(db_where_tree, ... | 37.772277 | 80 | 0.630406 | sinkarl |
450634b23083e5eadbd140eda6fe4f83cbf77aaf | 4,278 | cpp | C++ | Lab3/src/Utils.cpp | Farmijo/VA | 3a62ef2e3e2f30d97f3dad55a5e0aa8a118d8c1b | [
"MIT"
] | null | null | null | Lab3/src/Utils.cpp | Farmijo/VA | 3a62ef2e3e2f30d97f3dad55a5e0aa8a118d8c1b | [
"MIT"
] | null | null | null | Lab3/src/Utils.cpp | Farmijo/VA | 3a62ef2e3e2f30d97f3dad55a5e0aa8a118d8c1b | [
"MIT"
] | null | null | null | #include "Utils.h"
#include <sstream>
#ifdef WIN32
#include <windows.h>
#else
#include <sys/time.h>
#endif
#include "includes.h"
#include "Application.h"
#include "Camera.h"
long getTime()
{
#ifdef WIN32
return GetTickCount();
#else
struct timeval tv;
gettimeofday( &tv, NULL );
return (int)( tv.tv_sec * 1000 +... | 21.826531 | 119 | 0.625993 | Farmijo |
4508cb48c16844eb379ebe2492f4d32313d48d1b | 9,011 | cpp | C++ | src/BldRecons/DualContouring/HistGrid.cpp | liuxinren/UrbanReconstruction | 079d9b0c9089aa9cdb15d31d76155e50a5e72f00 | [
"MIT"
] | 94 | 2017-07-20T05:32:07.000Z | 2022-03-02T03:38:54.000Z | src/BldRecons/DualContouring/HistGrid.cpp | GucciPrada/UrbanReconstruction | 8b058349fd860ea9029623a92d705dd93a4e4878 | [
"MIT"
] | 3 | 2017-09-12T00:07:05.000Z | 2020-03-08T21:12:36.000Z | src/BldRecons/DualContouring/HistGrid.cpp | GucciPrada/UrbanReconstruction | 8b058349fd860ea9029623a92d705dd93a4e4878 | [
"MIT"
] | 38 | 2017-07-25T06:00:52.000Z | 2022-03-19T10:01:06.000Z | #include "StdAfx.h"
#include "HistGrid.h"
#include "Grid\StreamingGrid.h"
#include "Streaming\SPBReader.h"
#include "nr\nr.h"
#include "nr\nrutil.h"
CHistGrid::CHistGrid(void)
{
m_nGridNumber[ 0 ] = m_nGridNumber[ 1 ] = 0;
}
CHistGrid::~CHistGrid(void)
{
}
void CHistGrid::Init( char filename[], char histfilename[] ... | 31.506993 | 177 | 0.577183 | liuxinren |
4509d3c0968ba0bba96943f5365a8882fdc6d99b | 11,188 | cpp | C++ | view/src/dialogs/create_strategy_dialog.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 21 | 2020-06-07T20:34:47.000Z | 2021-08-10T20:19:59.000Z | view/src/dialogs/create_strategy_dialog.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | null | null | null | view/src/dialogs/create_strategy_dialog.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 4 | 2020-07-13T10:19:44.000Z | 2022-03-11T12:15:43.000Z | /*
* Copyright (c) 2020, Rapprise.
* All rights reserved.
*
* 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 condition... | 44.752 | 99 | 0.734448 | Rapprise |
45101effd84ca56fc730178726b7cfc86c423223 | 2,961 | hxx | C++ | main/chart2/source/controller/dialogs/res_LegendPosition.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/chart2/source/controller/dialogs/res_LegendPosition.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/chart2/source/controller/dialogs/res_LegendPosition.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.269663 | 82 | 0.602837 | Grosskopf |
4510d4458aa07eb868185955251224615ae7b445 | 2,034 | cpp | C++ | sandbox-app/source/camera_controller.cpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | sandbox-app/source/camera_controller.cpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | sandbox-app/source/camera_controller.cpp | Kostu96/k2d-engine | 8150230034cf4afc862fcc1a3c262c27d544feed | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021-2022 Konstanty Misiak
*
* SPDX-License-Identifier: MIT
*/
#include "camera_controller.hpp"
CameraController::CameraController(float aspectRatio) :
m_aspectRatio(aspectRatio),
m_zoomLevel(1.f),
m_camera(-aspectRatio*2.f, aspectRatio*2.f, -2.f, 2.f),
m_cameraPosition(0.f, 0.f... | 29.478261 | 103 | 0.666175 | Kostu96 |
451269f6cda1663e1fe712d02e3fa2eb39c1f1c0 | 546 | cpp | C++ | hackerrank/algorithms/2-implementation/047.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | null | null | null | hackerrank/algorithms/2-implementation/047.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | null | null | null | hackerrank/algorithms/2-implementation/047.cpp | him1411/algorithmic-coding-and-data-structures | 685aa95539692daca68ce79c20467c335aa9bb7f | [
"MIT"
] | 2 | 2018-10-04T19:01:52.000Z | 2018-10-05T08:49:57.000Z | #include<stdio.h>
#include<time.h>
int ackerman(int m, int n){
int result;
if(m == 0){
result = n + 1;
}
else if(n == 0){
result = ackerman(m - 1, 1);
}
else{
result = ackerman(m - 1, ackerman(m, n - 1));
}
return result;
}
int main(void){
int i,j;
clock_t... | 21.84 | 126 | 0.454212 | him1411 |
451303bf0bff68686094fb1683725c2755543be8 | 11,453 | hpp | C++ | include/snowflake/ecs/component_storage.hpp | robclu/glow | 4f14f4c43ecb29cbb8a75aad50cc3b776519a7a2 | [
"MIT"
] | 1 | 2021-12-08T09:23:55.000Z | 2021-12-08T09:23:55.000Z | include/snowflake/ecs/component_storage.hpp | robclu/snowflake | 4f14f4c43ecb29cbb8a75aad50cc3b776519a7a2 | [
"MIT"
] | null | null | null | include/snowflake/ecs/component_storage.hpp | robclu/snowflake | 4f14f4c43ecb29cbb8a75aad50cc3b776519a7a2 | [
"MIT"
] | null | null | null | //==--- snowflake/ecs/component_storage.hpp ---------------- -*- C++ -*- ---==//
//
// Snowflake
//
// Copyright (c) 2020 Rob Clucas
//
// This file is distributed under the MIT License. See LICENSE for details.
//
//==--------------------------------------------------... | 33.985163 | 80 | 0.660788 | robclu |
4516c247599a1f56ec33c0806ba26fb381f3d9b2 | 11,413 | hpp | C++ | src/lapack_like/spectral/HessenbergSchur/Util/Gather.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 473 | 2015-01-11T03:22:11.000Z | 2022-03-31T05:28:39.000Z | src/lapack_like/spectral/HessenbergSchur/Util/Gather.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 205 | 2015-01-10T20:33:45.000Z | 2021-07-25T14:53:25.000Z | src/lapack_like/spectral/HessenbergSchur/Util/Gather.hpp | pjt1988/Elemental | 71d3e2b98829594e9f52980a8b1ef7c1e99c724b | [
"Apache-2.0"
] | 109 | 2015-02-16T14:06:42.000Z | 2022-03-23T21:34:26.000Z | /*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#ifndef EL_HESS_SCHUR_UTIL_GATHER_HPP
#define EL_HESS_SCH... | 36.003155 | 77 | 0.520021 | pjt1988 |
4516faa79538976d1b92aa56906527ee1f50373a | 777 | cpp | C++ | Basic Structure/UniformInitialization.cpp | JhonatanGuilherme/LearningCpp | 7b641357a8a934fc5672c03f0381c4d801f13649 | [
"MIT"
] | null | null | null | Basic Structure/UniformInitialization.cpp | JhonatanGuilherme/LearningCpp | 7b641357a8a934fc5672c03f0381c4d801f13649 | [
"MIT"
] | null | null | null | Basic Structure/UniformInitialization.cpp | JhonatanGuilherme/LearningCpp | 7b641357a8a934fc5672c03f0381c4d801f13649 | [
"MIT"
] | null | null | null | #include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
struct Pessoa {
int idade;
string nome;
};
class Veiculo {
public:
int tipo;
string nome;
};
int main() {
int num = 10; // Inicialização antiga;
int num2 {10}; // Inicialização uniforme (C++11);
string n... | 18.069767 | 60 | 0.585586 | JhonatanGuilherme |
931d42551fb51e265e6a60e0d6555d15cbe5056b | 467 | cpp | C++ | minggu-2/Modul_3/tugas-2(3.5).cpp | samuelbudi03/praktikum_algoritma_1 | cf359ec3ad84399f90d3e39207e7d1feb95b4fa9 | [
"MIT"
] | null | null | null | minggu-2/Modul_3/tugas-2(3.5).cpp | samuelbudi03/praktikum_algoritma_1 | cf359ec3ad84399f90d3e39207e7d1feb95b4fa9 | [
"MIT"
] | null | null | null | minggu-2/Modul_3/tugas-2(3.5).cpp | samuelbudi03/praktikum_algoritma_1 | cf359ec3ad84399f90d3e39207e7d1feb95b4fa9 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int x,y,z,m,n;
x = 9 + 4; /* menghitung 9+4 */
y = 9 -4; /* menghitung 9-4 */
z = 9 * 4; /* menghitung 9*4 */
m = 9 / 4; /* menghitung 9/4 */
m2 = 9.0 / 4.0; /* menghitung 9/4 */
n = 9 % 4; /* menghitung 9%4 */
clrscr();
cout << "Nilai dari 9 + 4 = "<< x;
cout << "\n... | 24.578947 | 37 | 0.513919 | samuelbudi03 |
931eecdd1ec71cbf5845a36e58701fff3e6b2dfd | 4,704 | cpp | C++ | Pattern - 2 Pointers/Pattern - 2 or 3 or 4 Sum Related Problems/3 Sum.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Pattern - 2 Pointers/Pattern - 2 or 3 or 4 Sum Related Problems/3 Sum.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Pattern - 2 Pointers/Pattern - 2 or 3 or 4 Sum Related Problems/3 Sum.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Problem: https://leetcode.com/problems/3sum/
// Ref: https://www.youtube.com/watch?v=onLoX6Nhvmg
// https://www.geeksforgeeks.org/find-triplets-array-whose-sum-equal-zero/
/****************************************************************************************************/
// METHOD - 1 (Using Hashing)
#incl... | 22.188679 | 103 | 0.533376 | Edith-3000 |
9324f514a998255d1a37ccd9a54f9373ad40f265 | 503 | cc | C++ | primer-answer/chapter11/11.11.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | 1 | 2018-02-23T11:12:17.000Z | 2018-02-23T11:12:17.000Z | primer-answer/chapter11/11.11.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | null | null | null | primer-answer/chapter11/11.11.cc | Becavalier/playground-cpp | 0fce453f769111698f813852238f933e326ed441 | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
using namespace std;
// using compareFuncType = bool(*)(const int, const int);
using compareFuncType = function<bool(const int, const int)>;
// descending;
bool compareFunc(const int x, const int y) {
cout << x << " " << y << endl;
return x > y;
}
int main(int argc, char **argv)... | 17.964286 | 61 | 0.634195 | Becavalier |
9327459ab1deac943ba7022292b56483e3032554 | 395 | cpp | C++ | sdktools/debuggers/oca/oca_tools/ocadata/ocadata.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | sdktools/debuggers/oca/oca_tools/ocadata/ocadata.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | sdktools/debuggers/oca/oca_tools/ocadata/ocadata.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // OCAData.cpp : Implementation of DLL Exports.
#include "stdafx.h"
#include "resource.h"
// The module attribute causes DllMain, DllRegisterServer and DllUnregisterServer to be automatically implemented for you
[ module(dll, uuid = "{D264DB42-7095-489E-B84D-404CBB3FF668}",
name = "OCAData",
helpstrin... | 30.384615 | 122 | 0.708861 | npocmaka |
932a0d7c5d3ce6e1df92a4b6caeaa2412214f2a8 | 3,676 | cpp | C++ | src/Column.cpp | raincheque/qwelk | e78ee0ccf7a7f1af91d823d0563b0af360933237 | [
"MIT"
] | 25 | 2017-11-22T13:48:05.000Z | 2021-12-29T05:49:01.000Z | src/Column.cpp | netboy3/qwelk-vcvrack-plugins | e78ee0ccf7a7f1af91d823d0563b0af360933237 | [
"MIT"
] | 12 | 2017-11-20T20:45:27.000Z | 2021-12-08T20:35:06.000Z | src/Column.cpp | netboy3/qwelk-vcvrack-plugins | e78ee0ccf7a7f1af91d823d0563b0af360933237 | [
"MIT"
] | 4 | 2018-01-11T21:02:12.000Z | 2019-09-29T12:32:50.000Z | #include "qwelk.hpp"
#define CHANNELS 4
struct ModuleColumn : Module {
enum ParamIds {
PARAM_MASTER,
PARAM_AVG,
PARAM_WEIGHTED,
NUM_PARAMS
};
enum InputIds {
IN_SIG,
IN_UPSTREAM = IN_SIG + CHANNELS,
NUM_INPUTS = IN_UPSTREAM + CHANNELS
};
enum... | 29.886179 | 113 | 0.613983 | raincheque |
932e4ac2c56cf29fda71c25188d7f8d7af643ffe | 4,501 | hpp | C++ | samplecode/MarkedObjects/Source/MarkedObjectsPreferences.hpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | 1 | 2021-10-09T18:23:44.000Z | 2021-10-09T18:23:44.000Z | samplecode/MarkedObjects/Source/MarkedObjectsPreferences.hpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | null | null | null | samplecode/MarkedObjects/Source/MarkedObjectsPreferences.hpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | null | null | null | //========================================================================================
//
// $File: //ai/ai13/devtech/sdk/public/samplecode/MarkedObjects/Source/MarkedObjectsPreferences.hpp $
//
// $Revision: #3 $
//
// Copyright 1987-2007 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adob... | 36.008 | 122 | 0.723617 | btempleton |
932f1cbf474b4015b56963583ef5ad5986f56a70 | 17,324 | cc | C++ | content/browser/web_package/signed_exchange_certificate_chain_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/browser/web_package/signed_exchange_certificate_chain_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/browser/web_package/signed_exchange_certificate_chain_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/web_package/signed_exchange_certificate_chain.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "... | 37.742919 | 78 | 0.68206 | zipated |
932f2c75359c94129abe01a1e6953136184ff83b | 2,907 | cpp | C++ | trie/src/node.cpp | Arghnews/wordsearch_solver | cf25db64ca3d1facd9191aad075654f124f0d580 | [
"MIT"
] | null | null | null | trie/src/node.cpp | Arghnews/wordsearch_solver | cf25db64ca3d1facd9191aad075654f124f0d580 | [
"MIT"
] | null | null | null | trie/src/node.cpp | Arghnews/wordsearch_solver | cf25db64ca3d1facd9191aad075654f124f0d580 | [
"MIT"
] | null | null | null | #include "wordsearch_solver/trie/node.hpp"
#include <algorithm>
#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <bitset>
#include <cassert>
#include <cstddef>
#include <limits>
#include <memory>
#include <ostream>
#include <string_view>
namespace trie {
const Node* search(const Node&... | 28.223301 | 78 | 0.631579 | Arghnews |
932f521504f0babcf1b37c09669703f82bee9981 | 8,154 | hpp | C++ | include/RootMotion/FinalIK/IKExecutionOrder.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/IKExecutionOrder.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/IKExecutionOrder.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.Mo... | 50.645963 | 226 | 0.719034 | marksteward |
93304097224c1c3b55474e6a5746b7978d452391 | 4,853 | cpp | C++ | Core/logging/src/Logger.cpp | ChewyGumball/bengine | a993471b1b135bcfe848de25ec539d93ed97445f | [
"MIT"
] | null | null | null | Core/logging/src/Logger.cpp | ChewyGumball/bengine | a993471b1b135bcfe848de25ec539d93ed97445f | [
"MIT"
] | null | null | null | Core/logging/src/Logger.cpp | ChewyGumball/bengine | a993471b1b135bcfe848de25ec539d93ed97445f | [
"MIT"
] | null | null | null | #include "Core/Logging/Logger.h"
#define SPDLOG_FMT_EXTERNAL
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <thread>
// We don't use the Core contaienrs here so that we don't have any external dependencies, allowing this library to be
// used by any other library.
#include <unorder... | 30.522013 | 117 | 0.650319 | ChewyGumball |
9330ecd5ab8c292836145ebf50f8b8ea1be465e9 | 2,406 | hpp | C++ | libs/GFX/ResourceManager.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | 1 | 2019-08-14T12:31:50.000Z | 2019-08-14T12:31:50.000Z | libs/GFX/ResourceManager.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | libs/GFX/ResourceManager.hpp | KillianG/R-Type | e3fd801ae58fcea49ac75c400ec0a2837cb0da2e | [
"MIT"
] | null | null | null | #include <utility>
//
// Created by nhyarlathotep on 14/11/18.
//
#pragma once
#include <memory>
#include <iostream>
#include <type_traits>
#include <unordered_map>
#include <experimental/filesystem>
#include <SFML/Audio/Music.hpp>
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Texture.hpp>
#include "../L... | 29.341463 | 106 | 0.674564 | KillianG |
933122662c79f3b7e7e0b405a5d2253f8845e3d0 | 1,053 | hpp | C++ | organism.hpp | piero0/myNEAT | b2c5a4e98274d20fd18765a624ad5f8347ffaaa1 | [
"MIT"
] | null | null | null | organism.hpp | piero0/myNEAT | b2c5a4e98274d20fd18765a624ad5f8347ffaaa1 | [
"MIT"
] | 1 | 2018-02-14T20:48:18.000Z | 2018-03-18T15:04:03.000Z | organism.hpp | piero0/myNEAT | b2c5a4e98274d20fd18765a624ad5f8347ffaaa1 | [
"MIT"
] | null | null | null | #pragma once
#include "genome.hpp"
namespace pneat {
class Organism {
Genome g;
float fitness;
float thresh;
float normFitness;
public:
Organism(const Genome& g);
Genome& getGenome() { return g; }
void setFitness(float fitn... | 28.459459 | 76 | 0.509972 | piero0 |
93312b905894c3538918f697647bbd1046298c92 | 311 | cpp | C++ | TestApp/src/TestApp/TestApp.cpp | Critteros/DataReforged | 891dbbd2ae0648d25d10ab95cb017e1e5991f28f | [
"Apache-2.0"
] | null | null | null | TestApp/src/TestApp/TestApp.cpp | Critteros/DataReforged | 891dbbd2ae0648d25d10ab95cb017e1e5991f28f | [
"Apache-2.0"
] | null | null | null | TestApp/src/TestApp/TestApp.cpp | Critteros/DataReforged | 891dbbd2ae0648d25d10ab95cb017e1e5991f28f | [
"Apache-2.0"
] | null | null | null | #include <DataReforged.h>
#include <iostream>
#define print(x) std::cout << x << std::endl
using namespace DataReforged;
int main()
{
Test();
ArrayList<int> a(1);
for (int i = 1; i < 11; i++)
{
a.push(i);
}
for (int i = 0; i < 10; i++)
{
print(a.get(i));
}
print(a.getLast());
return 0;
} | 11.107143 | 44 | 0.55627 | Critteros |
933161e885e42bba10c87e925d9a00badb801cc5 | 357 | cpp | C++ | src/executor/executor_ProcessResource.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 5 | 2019-02-24T06:42:52.000Z | 2021-04-09T19:16:24.000Z | src/executor/executor_ProcessResource.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 40 | 2019-02-24T15:25:54.000Z | 2021-05-17T04:22:43.000Z | src/executor/executor_ProcessResource.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 2 | 2019-02-23T22:58:36.000Z | 2019-02-27T01:27:42.000Z |
#include "executor/executor_ProcessResource.h"
namespace mutgos
{
namespace executor
{
// ----------------------------------------------------------------------
ProcessResource::ProcessResource(void)
{
}
// ----------------------------------------------------------------------
ProcessResource... | 18.789474 | 77 | 0.380952 | hyena |
9333962cfc5a2abed5e0c24f03a19472267d6447 | 5,210 | cpp | C++ | src/ServerMsg.cpp | FenomenCoyote/ProyectoRedes | 4db4434c964d6afe089e8f752eb59e2cfcf66267 | [
"MIT"
] | null | null | null | src/ServerMsg.cpp | FenomenCoyote/ProyectoRedes | 4db4434c964d6afe089e8f752eb59e2cfcf66267 | [
"MIT"
] | null | null | null | src/ServerMsg.cpp | FenomenCoyote/ProyectoRedes | 4db4434c964d6afe089e8f752eb59e2cfcf66267 | [
"MIT"
] | null | null | null | #include "ServerMsg.h"
namespace ServerMsg
{
void ServerMsg::to_bin()
{
size_t totalSize = sizeof(size_t); //totalSize
uint8_t numOfAsteroids = (asPool == nullptr) ? 0 : asPool->getNumOfAsteroid();
uint8_t numOfBullets = (buPool == nullptr) ? 0 :buPool->getNumOfBullets();
tot... | 31.011905 | 111 | 0.556814 | FenomenCoyote |
9338808403d50b9feeba727c2b0840807a4d42be | 16,112 | hpp | C++ | src/rynx/math/vector.hpp | Apodus/rynx | 3e1babc2f2957702ba2b09d78be3a959f2f4ea18 | [
"MIT"
] | 11 | 2019-08-19T08:44:14.000Z | 2020-09-22T20:04:46.000Z | src/rynx/math/vector.hpp | Apodus/rynx | 3e1babc2f2957702ba2b09d78be3a959f2f4ea18 | [
"MIT"
] | null | null | null | src/rynx/math/vector.hpp | Apodus/rynx | 3e1babc2f2957702ba2b09d78be3a959f2f4ea18 | [
"MIT"
] | null | null | null | #pragma once
#ifdef _WIN32
#include <intrin.h>
#endif
#include <rynx/system/assert.hpp>
#include <rynx/math/math.hpp>
#include <rynx/tech/serialization.hpp>
#include <cinttypes>
#include <cmath>
#include <limits>
#include <string>
#pragma warning (disable : 4201) // language extension used, anonymous structs
#defi... | 35.964286 | 152 | 0.614883 | Apodus |
933a197141578a972f34ef9ff332cfd44ceb90ff | 24,621 | hpp | C++ | applications/FSIApplication/custom_utilities/mvqn_recursive_convergence_accelerator.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/FSIApplication/custom_utilities/mvqn_recursive_convergence_accelerator.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/FSIApplication/custom_utilities/mvqn_recursive_convergence_accelerator.hpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ \.
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Original author: Ruben Zorrilla
//
#if !defined(KRATOS_MVQN_RECURSIVE_CONVERGENCE_ACCELERATOR)
#define KRATOS... | 36.260677 | 178 | 0.627594 | ma6yu |
933a3eba09ee7058ecbf4375bc4bbd7a39214df4 | 2,082 | cpp | C++ | foobar2000/SDK/console.cpp | ttsping/foo_fix | 4a0b950ccb8c10c912a9abeeffdd85e777463309 | [
"Info-ZIP"
] | 294 | 2017-11-20T17:42:08.000Z | 2022-03-31T04:15:13.000Z | foobar2000/SDK/console.cpp | ttsping/foo_fix | 4a0b950ccb8c10c912a9abeeffdd85e777463309 | [
"Info-ZIP"
] | 108 | 2021-04-08T10:57:27.000Z | 2022-03-27T08:02:15.000Z | foobar2000/SDK/console.cpp | ttsping/foo_fix | 4a0b950ccb8c10c912a9abeeffdd85e777463309 | [
"Info-ZIP"
] | 14 | 2018-03-10T12:47:03.000Z | 2021-11-11T09:00:08.000Z | #include "foobar2000.h"
void console::info(const char * p_message) {print(p_message);}
void console::error(const char * p_message) {complain("Error", p_message);}
void console::warning(const char * p_message) {complain("Warning", p_message);}
void console::info_location(const playable_location & src) {print_l... | 25.084337 | 82 | 0.690202 | ttsping |
933ce72b5fe5ab5c82eb4813b347590d5c28c7da | 4,816 | cpp | C++ | Source/V2World/V2Localisation.cpp | Zemurin/EU3ToVic2 | 7df6de2039986ed46683d792ec0c72bbdf6a2f18 | [
"MIT"
] | 114 | 2015-06-07T20:27:45.000Z | 2020-08-16T05:05:56.000Z | EU3ToV2/Source/V2World/V2Localisation.cpp | iamdafu/paradoxGameConverters | 674364a22917155642ade923e5dfbe38a5fa9610 | [
"MIT"
] | 553 | 2015-07-20T23:58:26.000Z | 2019-06-13T21:45:56.000Z | EU3ToV2/Source/V2World/V2Localisation.cpp | iamdafu/paradoxGameConverters | 674364a22917155642ade923e5dfbe38a5fa9610 | [
"MIT"
] | 106 | 2015-07-27T00:21:16.000Z | 2020-06-10T10:13:13.000Z | /*Copyright (c) 2014 The Paradox Game Converters Project
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, mer... | 28.497041 | 161 | 0.670473 | Zemurin |
933db5aeb9fa89518a14f7f027f19c2f902cb16c | 7,014 | hpp | C++ | cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp | msobkow/cfint_2_13 | 63ff9dfc85647066d0c8d61469ada572362e2b48 | [
"Apache-2.0"
] | null | null | null | #pragma once
// Description: C++18 Table Object interface for CFInt.
/*
* org.msscf.msscf.CFInt
*
* Copyright (c) 2020 Mark Stephen Sobkow
*
* MSS Code Factory CFInt 2.13 Internet Essentials
*
* Copyright 2020-2021 Mark Stephen Sobkow
*
* This file is part of MSS Code Factory.
*
* MSS Code Factory is... | 32.929577 | 101 | 0.795979 | msobkow |
933ed79568df20fbe3b6c80e554625477769863e | 5,289 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/ScrollerItem.cc,v 1.4 1992/09/08 16:40:43 lewis Exp $
*
* TODO:
*
* Changes:
* $Log: ScrollerItem.cc,v $
* Revision 1.4 1992/09/08 16:40:43 lewis
* Renamed NULL -> Nil.
*
* Revision 1.3 1992/09/01 ... | 22.896104 | 114 | 0.656646 | SophistSolutions |
9343eddb8090e93ce379fe6e757a74f1c43adb29 | 53,922 | cpp | C++ | Matrix4f.cpp | PankeyCR/aMonkeyEngine | 83e631a6185a65e88d6eea95c73475b0da59ea54 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T11:47:10.000Z | 2021-07-02T11:47:10.000Z | Matrix4f.cpp | PankeyCR/aMonkeyEngine | 83e631a6185a65e88d6eea95c73475b0da59ea54 | [
"BSD-3-Clause"
] | null | null | null | Matrix4f.cpp | PankeyCR/aMonkeyEngine | 83e631a6185a65e88d6eea95c73475b0da59ea54 | [
"BSD-3-Clause"
] | null | null | null |
#ifndef Matrix4f_cpp
#define Matrix4f_cpp
#include "Matrix4f.h"
ame::Matrix4f *ame::Matrix4f::ZERO = new ame::Matrix4f(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
ame::Matrix4f *ame::Matrix4f::IDENTITY = new ame::Matrix4f();
ame::Matrix4f::Matrix4f() {
//this->loadIdentity();
}
ame::Matrix4... | 31.944313 | 125 | 0.473109 | PankeyCR |
9344a6ad1befd9f84148b291e984f69434968892 | 8,354 | cpp | C++ | src/hpglopenglparser.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | 2 | 2021-07-09T14:13:55.000Z | 2022-02-11T06:41:03.000Z | src/hpglopenglparser.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | null | null | null | src/hpglopenglparser.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | 2 | 2022-02-11T06:41:05.000Z | 2022-03-17T09:29:46.000Z | /* -*- coding: utf-8-unix -*-
*
* File: src/hpglparser.cpp
*
* Copyright (C) 2021 Jukka Sirkka
*
* 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
* (a... | 26.605096 | 84 | 0.645918 | jusirkka |
9348ac4b6b5ccb7f5f9c9bbb26cafb7bccfa9571 | 692 | cpp | C++ | src/getenv.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | src/getenv.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | src/getenv.cpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// 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/getenv.hpp>
#include <fcppt/optional_std_string.hpp>
#include <fcppt/config/extern... | 17.3 | 61 | 0.669075 | vinzenz |
934930d25543e1a3a1034663733da437300199c0 | 1,161 | cpp | C++ | 2021.09.08-Lesson-1/Project3/Source.cpp | 021213/programming-c-eng--2021-autumn | 84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348 | [
"Apache-2.0"
] | null | null | null | 2021.09.08-Lesson-1/Project3/Source.cpp | 021213/programming-c-eng--2021-autumn | 84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348 | [
"Apache-2.0"
] | null | null | null | 2021.09.08-Lesson-1/Project3/Source.cpp | 021213/programming-c-eng--2021-autumn | 84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
int a = 3;
int b = 5;
int c = 0;
c = a + b;
c = a - b;
c = a * b;
c = a / b;
c = a % b;
a += b;
a *= b;
a /= b; // a = a / b;
a %= b; // a = a / b;
a -= b; // a = a - b;
float f = 0;
a = 5;
b = 2;
f = a / b; // 2.0
f = (float)a / b;
f = 1.0f * ... | 12.619565 | 31 | 0.356589 | 021213 |
934c600d122f6a3511d7502524cfc3b75b81f64c | 1,039 | cpp | C++ | IA/C++/7.4/3.cpp | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | 1 | 2022-02-23T12:47:00.000Z | 2022-02-23T12:47:00.000Z | IA/C++/7.4/3.cpp | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | IA/C++/7.4/3.cpp | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | #include <iostream>
class NrComplex{
public:
NrComplex(int real, int imaginar) : re(real), im(imaginar) { instante++; }
NrComplex() {}
//aparent nu
//~NrComplex() { instante--; }
static NrComplex Adunare(NrComplex& a, NrComplex& b) {
return NrComplex(a.re+b.re,a.im+b.im);
}
void... | 18.890909 | 86 | 0.578441 | worthl3ss |
934e5aef93fda065b64434dfaa69269c0db2d171 | 16,781 | cpp | C++ | iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp | River707/iree | 09b7742466ce7fb48742fd900e6c1f66cf51d3f3 | [
"Apache-2.0"
] | 1 | 2020-08-16T17:38:25.000Z | 2020-08-16T17:38:25.000Z | iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp | georgemitenkov/iree | 77d2f8b4fd53f1dbe7ef03b4b4a7ba7be06f2416 | [
"Apache-2.0"
] | null | null | null | iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp | georgemitenkov/iree | 77d2f8b4fd53f1dbe7ef03b4b4a7ba7be06f2416 | [
"Apache-2.0"
] | 1 | 2021-01-29T09:30:09.000Z | 2021-01-29T09:30:09.000Z | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 39.954762 | 80 | 0.663012 | River707 |
9350f8ba18aa434405f0b4cf415cf2e97241f204 | 152 | hpp | C++ | src/tokenizer.hpp | sischkg/nxnsattack | c20896e40187bbcacb5c0255ff8f3cc7d0592126 | [
"MIT"
] | 5 | 2020-05-22T10:01:51.000Z | 2022-01-01T04:45:14.000Z | src/tokenizer.hpp | sischkg/dns-fuzz-server | 6f45079014e745537c2f564fdad069974e727da1 | [
"MIT"
] | 1 | 2020-06-07T14:09:44.000Z | 2020-06-07T14:09:44.000Z | src/tokenizer.hpp | sischkg/dns-fuzz-server | 6f45079014e745537c2f564fdad069974e727da1 | [
"MIT"
] | 2 | 2020-03-10T03:06:20.000Z | 2021-07-25T15:07:45.000Z | #ifndef TOKENIZER_HPP
#define TOKENIZER_HPP
#include <string>
#include <vector>
std::vector<std::string> tokenize( const std::string &line );
#endif
| 15.2 | 61 | 0.743421 | sischkg |
93512b9e6cb0fef8ac747c2a714e04b563eddf0b | 1,569 | cpp | C++ | src/graphics/texture.cpp | luihabl/tinysdl | 5159577b4d7dd58d42df4f6790fabcd86e78491b | [
"MIT"
] | 2 | 2021-09-10T20:34:55.000Z | 2021-11-27T11:25:23.000Z | src/graphics/texture.cpp | luihabl/tinysdl | 5159577b4d7dd58d42df4f6790fabcd86e78491b | [
"MIT"
] | 1 | 2021-10-21T19:23:23.000Z | 2021-10-21T21:25:29.000Z | src/graphics/texture.cpp | luihabl/tinysdl | 5159577b4d7dd58d42df4f6790fabcd86e78491b | [
"MIT"
] | null | null | null | #include <glad/glad.h>
#include "tinysdl/graphics/texture.h"
#include "tinysdl/platform/log.h"
#include "tinysdl/platform/file.h"
using namespace TinySDL;
Image::Image(const char * path) {
this->data = File::load_image(path, &this->w, &this->h, &this->n_comp);
if(!data) Log::error("File does not exist: %s", ... | 27.051724 | 84 | 0.684512 | luihabl |
9351f495baae43d2bac2e71d00a05116e4ae57f3 | 1,972 | cpp | C++ | src/main/_2018/day11.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | src/main/_2018/day11.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | 6 | 2018-12-03T04:43:00.000Z | 2020-12-12T12:42:02.000Z | src/main/_2018/day11.cpp | Namdrib/adventofcode | c9479eb85326bcf9881396626523fb2a5524bf87 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include "../util/helpers.cpp"
using namespace std;
// http://adventofcode.com/2018/day/11
int get_power(int x, int y, int grid_serial_number) {
int rack = x + 10;
int power = rack * y;
power += grid_serial_number;
power *= rack;
int hundreds = (power / 100) % 10;
return hundreds - 5;
}... | 24.345679 | 85 | 0.590771 | Namdrib |
9355019fd7bcf514e4ac35bbedb784badb1fad57 | 4,892 | cpp | C++ | examples/project3/src/rrt.cpp | harsha336/rrt_sig | 1afa8ad45562f20850360d691c2cc29faf18565b | [
"Apache-2.0"
] | null | null | null | examples/project3/src/rrt.cpp | harsha336/rrt_sig | 1afa8ad45562f20850360d691c2cc29faf18565b | [
"Apache-2.0"
] | null | null | null | examples/project3/src/rrt.cpp | harsha336/rrt_sig | 1afa8ad45562f20850360d691c2cc29faf18565b | [
"Apache-2.0"
] | null | null | null | #include "rrt.h"
RRTGraph::RRTGraph()
{
walls_ = new Walls;
alpha_ = 1;
maxi_ = 3000;
}
void RRTGraph::init(GsPnt2 start, float rt, float win_w, float win_h, GsMat *pos)
{
gsout << "RRTGraph::init: Got the matrix: " << gsnl;
position_ = pos;
root_ = new Node;
path_computed_ = false;
root_->parent = NULL;
roo... | 23.295238 | 81 | 0.591578 | harsha336 |
935927654a534a8a0ca4c10ca582ee2d59074ad8 | 3,520 | cpp | C++ | ScriptingProject/Item_Timer.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 3 | 2017-04-02T19:37:52.000Z | 2018-11-06T13:37:33.000Z | ScriptingProject/Item_Timer.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 74 | 2017-04-03T14:32:09.000Z | 2017-06-08T10:12:56.000Z | ScriptingProject/Item_Timer.cpp | CITMProject3/Project3 | 5076dbaf4eced4eb69bb43b811684206e62eded4 | [
"MIT"
] | 3 | 2017-06-06T17:10:46.000Z | 2019-10-28T16:25:27.000Z | #include "stdafx.h"
#include <string>
#include <map>
#include "../ModuleScripting.h"
#include "../GameObject.h"
#include "../ComponentScript.h"
#include "../ComponentCollider.h"
#include "../ComponentCar.h"
#include "../ComponentMesh.h"
#include "../ComponentAudioSource.h"
#include "../ComponentParticleSystem.h"
#inclu... | 26.074074 | 222 | 0.70483 | CITMProject3 |
935a367f373c8b72d2d75dee4d2023c3bda40867 | 7,702 | cpp | C++ | test/map/HashMapProbingTest.cpp | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | test/map/HashMapProbingTest.cpp | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | test/map/HashMapProbingTest.cpp | zpooky/sputil | 3eddf94655fe4ec5bc2a3b5e487a86d772b038ae | [
"Apache-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include <map/HashMapProbing.h>
#include <map/HashMapTree.h>
#include <test/gcstruct.h>
template <typename MAP>
static void
test_simple(MAP &map) {
using TK = typename MAP::key_type;
using TV = typename MAP::value_type;
const std::size_t c_key_one = 1;
std::size_t key_one = 1;
const... | 20.3219 | 62 | 0.589977 | zpooky |
93612d7e4efc504ab2aa8a024bc874af40d6b4ba | 2,202 | hpp | C++ | CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp | Khoronus/CmnUniverse | 9cf9b4297f2fcb49330126aa1047b422144045e1 | [
"MIT"
] | null | null | null | // Geometric Tools LLC, Redmond WA 98052
// Copyright (c) 1998-2015
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 1.0.2 (2014/12/13)
// The TVector template parameter allows you to cr... | 33.363636 | 78 | 0.619437 | Khoronus |
9361b0b8990a7777692301a3bd08e43f4979bf0a | 8,409 | cpp | C++ | third_party/vss/GoogleVssAgent/VssAgent.cpp | playplay/compute-image-windows | 9f45829af870e7801ac9b9cdb2e3fe9820244e84 | [
"Apache-2.0"
] | 97 | 2015-06-03T03:05:10.000Z | 2021-11-13T13:52:20.000Z | third_party/vss/GoogleVssAgent/VssAgent.cpp | playplay/compute-image-windows | 9f45829af870e7801ac9b9cdb2e3fe9820244e84 | [
"Apache-2.0"
] | 112 | 2015-06-04T00:37:34.000Z | 2022-03-25T10:39:02.000Z | third_party/vss/GoogleVssAgent/VssAgent.cpp | playplay/compute-image-windows | 9f45829af870e7801ac9b9cdb2e3fe9820244e84 | [
"Apache-2.0"
] | 70 | 2015-06-01T23:57:45.000Z | 2022-02-22T06:15:20.000Z | // The VssAgent service logs the service start and stop information to
// the application event log, and runs the main function of the
// service in a thread pool worker thread.
#include "stdafx.h"
#include "VssAgent.h"
#include "../snapshot.h"
#include "GoogleVssClient.h"
#include "util.h"
VssService::VssService(PWS... | 40.23445 | 92 | 0.649899 | playplay |
93625416414a0d18b63cb3cde4c761b162ba849a | 982 | cpp | C++ | tournaments/subsetsSequence/subsetsSequence.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 5 | 2020-02-06T09:51:22.000Z | 2021-03-19T00:18:44.000Z | tournaments/subsetsSequence/subsetsSequence.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | null | null | null | tournaments/subsetsSequence/subsetsSequence.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 3 | 2019-09-27T13:06:21.000Z | 2021-04-20T23:13:17.000Z | bool subsetsSequence(std::vector<std::vector<int>> sets) {
struct Helper {
bool isSubset(std::vector<int>& setA, std::vector<int>& setB) {
int j = 0;
for (int i = 0; i < setB.size(); i++) {
if (j < setA.size() && setA[j] == setB[i]) {
j++;
}
}
if (j == setA.size(... | 20.040816 | 67 | 0.453157 | gurfinkel |
936418de8bc21450a377175496bf3bbe5f36d4f5 | 984 | cpp | C++ | arc.cpp | hepeidong/Graph | f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9 | [
"Apache-2.0"
] | null | null | null | arc.cpp | hepeidong/Graph | f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9 | [
"Apache-2.0"
] | null | null | null | arc.cpp | hepeidong/Graph | f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9 | [
"Apache-2.0"
] | null | null | null | #include "arc.h"
#include <algorithm>
template<typename Tp>
Arc<Tp>::Arc():m_adjVertex(-1)
{
}
template<typename Tp>
Arc<Tp>::~Arc()
{
}
template<typename Tp>
Arc<Tp>* Arc<Tp>::CreateArc(value_t weight, site_t adjVertex)
{
Arc<Tp>* arc = new (std::nothrow) Arc();
if (arc->InitArc(weight, adjVertex))
{
... | 15.870968 | 61 | 0.661585 | hepeidong |
9364706c8ae59aca17b5e39ea17a8bebb360734e | 4,315 | cpp | C++ | src/count_kmers_per_bin.cpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | src/count_kmers_per_bin.cpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | src/count_kmers_per_bin.cpp | Felix-Droop/Chopper | 5cc214103b2d088ae400bec0fde8973e03dd3095 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <chrono>
#include <numeric>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <seqan3/argument_parser/all.hpp>
#include <seqan3/io/sequence_file/input.hpp>
#include <seqan3/search/views/kmer_hash.hpp>
#include <chopper/build/read_chopper_sp... | 35.081301 | 113 | 0.609502 | Felix-Droop |
936719eb694d275d2b3d1a7acad921e888c92889 | 10,453 | cp | C++ | Win32/Sources/Application/Speech/CSpeechSynthesis.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Win32/Sources/Application/Speech/CSpeechSynthesis.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Win32/Sources/Application/Speech/CSpeechSynthesis.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007-2009 Cyrus Daboo. 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
... | 22.923246 | 110 | 0.647565 | mulberry-mail |
9368165cf6fefe25843710913b94afec7f6edb5d | 1,539 | cpp | C++ | test_mbed/src/main.cpp | chris3069/BLDC_Project | 69f6b7ed810d091dd430d93554056e34af130d2d | [
"BSL-1.0"
] | null | null | null | test_mbed/src/main.cpp | chris3069/BLDC_Project | 69f6b7ed810d091dd430d93554056e34af130d2d | [
"BSL-1.0"
] | null | null | null | test_mbed/src/main.cpp | chris3069/BLDC_Project | 69f6b7ed810d091dd430d93554056e34af130d2d | [
"BSL-1.0"
] | null | null | null | #include <mbed.h>
#define MAXIMUM_BUFFER_SIZE 32
// Open Loop Betrieb
// Timer lauft, y Values verändern sich alle 100ms
// y-Value in pulsewidth laden
// IN2 startet von Value 20,
// IN3 starte von Value 40
// mit Poti einstellbar
InterruptIn button_stop(D7); // Stop Taster, Falling Edge glaub ich
InterruptIn b... | 24.046875 | 250 | 0.647823 | chris3069 |
9368e8d205917185bb5283b5357ee477c0ac22f5 | 1,878 | cpp | C++ | frameworks/native/hitrace.cpp | openharmony-gitee-mirror/hiviewdfx_hitrace | a8efefe3894dda36857d6a5bf2db43c81490a5e5 | [
"Apache-2.0"
] | null | null | null | frameworks/native/hitrace.cpp | openharmony-gitee-mirror/hiviewdfx_hitrace | a8efefe3894dda36857d6a5bf2db43c81490a5e5 | [
"Apache-2.0"
] | null | null | null | frameworks/native/hitrace.cpp | openharmony-gitee-mirror/hiviewdfx_hitrace | a8efefe3894dda36857d6a5bf2db43c81490a5e5 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:28.000Z | 2021-09-13T11:21:28.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 23.475 | 105 | 0.671991 | openharmony-gitee-mirror |
9369612ad0aefa91d8096ef96145ae7b170b1650 | 10,170 | cpp | C++ | flight-simulator/hackflight/sim/indoors/msppg.cpp | CobraPi/Gesture-Controled-Drone | 94053b27f1ecd4d667ea603d45a5e29ffbfe2787 | [
"CC0-1.0"
] | 1 | 2020-03-02T16:38:21.000Z | 2020-03-02T16:38:21.000Z | flight-simulator/hackflight/sim/indoors/msppg.cpp | CobraPi/Gesture-Controled-Drone | 94053b27f1ecd4d667ea603d45a5e29ffbfe2787 | [
"CC0-1.0"
] | null | null | null | flight-simulator/hackflight/sim/indoors/msppg.cpp | CobraPi/Gesture-Controled-Drone | 94053b27f1ecd4d667ea603d45a5e29ffbfe2787 | [
"CC0-1.0"
] | null | null | null | // AUTO-GENERATED CODE: DO NOT EDIT!!!
#include "msppg.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
static byte CRC8(byte * data, int n) {
byte crc = 0x00;
for (int k=0; k<n; ++k) {
crc ^= data[k];
}
return crc;
}
byte MSP_Message::start() {
this->pos = 0;
retu... | 23.651163 | 126 | 0.505506 | CobraPi |
936af9b8ad9566e2240c331bcde20230fb73b7dd | 614 | cc | C++ | src/code_writen_when_learning/standard_grammer/cpp17/declaration/member_operator_overload/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | 1 | 2019-04-02T04:38:15.000Z | 2019-04-02T04:38:15.000Z | src/code_writen_when_learning/standard_grammer/cpp17/declaration/member_operator_overload/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | src/code_writen_when_learning/standard_grammer/cpp17/declaration/member_operator_overload/main.cc | NobodyXu/snippet | 8f0308e48dab1d166dc9e5ff43b00db2d35b616b | [
"MIT"
] | null | null | null | template <class T>
struct wrapper {
using self = wrapper;
T obj;
auto operator + () const noexcept { return *this; }
auto operator - () const noexcept { return self{0} - *this; }
auto operator + (const self &other) const noexcept { return self{*this} += other; }
auto operator - (const self &o... | 25.583333 | 87 | 0.592834 | NobodyXu |
936f3d5cb6bac5250cb89fa26c545896ab356914 | 4,160 | cpp | C++ | utils/ShaderUtil.cpp | sarahayu/Fibonacci-Spring-Tree | bf6809d5d8b7f9d13e1acf6af29edb14cec0805a | [
"MIT"
] | null | null | null | utils/ShaderUtil.cpp | sarahayu/Fibonacci-Spring-Tree | bf6809d5d8b7f9d13e1acf6af29edb14cec0805a | [
"MIT"
] | null | null | null | utils/ShaderUtil.cpp | sarahayu/Fibonacci-Spring-Tree | bf6809d5d8b7f9d13e1acf6af29edb14cec0805a | [
"MIT"
] | null | null | null | #include "ShaderUtil.h"
#include <SFML\Graphics.hpp>
namespace
{
void load(const GLenum & shaderType, const std::string & file, unsigned int & shader)
{
int success;
char infoLog[512];
std::ifstream shaderFile;
shaderFile.exceptions(std::ifstream::failbit | std::ifstream::badbit);
std::stringstream shader... | 34.666667 | 175 | 0.740865 | sarahayu |
9370df570a0ad5b979edcff5c6b44d9018735660 | 4,660 | cpp | C++ | src/svLibrary/src/resource/ResourceFolderPC.cpp | sevanspowell/sev | c678aaab3a9e6bd4e5b98774205c8775c9a3291d | [
"MIT"
] | null | null | null | src/svLibrary/src/resource/ResourceFolderPC.cpp | sevanspowell/sev | c678aaab3a9e6bd4e5b98774205c8775c9a3291d | [
"MIT"
] | 1 | 2017-06-11T06:34:50.000Z | 2017-06-11T06:34:50.000Z | src/svLibrary/src/resource/ResourceFolderPC.cpp | sevanspowell/sev | c678aaab3a9e6bd4e5b98774205c8775c9a3291d | [
"MIT"
] | null | null | null | #include <sv/System.h>
#if SV_PLATFORM_POSIX
#include <cstdio>
#include <dirent.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#endif
#include <fstream>
#include <sstream>
#include <sv/resource/ResourceFolderPC.h>
namespace sv {
bool ResourceFolderPC::open() {
isFolderOpen = true;
// No... | 27.251462 | 82 | 0.550429 | sevanspowell |
93710bca8319031063d93ccf1a196ae4359500c4 | 1,381 | hpp | C++ | lib/why3cpp/private/whyml-lextract-listener.hpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | 8 | 2018-07-13T07:07:08.000Z | 2021-05-18T17:56:59.000Z | lib/why3cpp/private/whyml-lextract-listener.hpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | null | null | null | lib/why3cpp/private/whyml-lextract-listener.hpp | sellamiy/GPiD-Framework | f6ed1abb2da6d51639f5ee410b1f9b143a200465 | [
"BSD-3-Clause"
] | null | null | null | #ifndef LIB_WHY3CPP__LOCAL_INCLUDE__L_EXTRACT_LISTENER_HPP
#define LIB_WHY3CPP__LOCAL_INCLUDE__L_EXTRACT_LISTENER_HPP
#include <WhyMLBaseListener.h>
#include "whyml-type-visitor.hpp"
class LextractWhyMLListener : public WhyMLBaseListener {
map<string, string> literals;
stack<pair<string, string>> lstack;
pub... | 30.021739 | 103 | 0.645185 | sellamiy |
9373fe179f73403d0d7e13d85b99cb7a94c7332b | 3,797 | hpp | C++ | libs/renderer/include/Skybox.hpp | Sharpyfile/WARdrobe | 7842d486f65c7a045771f9ef78c0655eda2d346a | [
"DOC"
] | null | null | null | libs/renderer/include/Skybox.hpp | Sharpyfile/WARdrobe | 7842d486f65c7a045771f9ef78c0655eda2d346a | [
"DOC"
] | null | null | null | libs/renderer/include/Skybox.hpp | Sharpyfile/WARdrobe | 7842d486f65c7a045771f9ef78c0655eda2d346a | [
"DOC"
] | 1 | 2021-03-21T16:52:22.000Z | 2021-03-21T16:52:22.000Z | #ifndef SKYBOX_H
#define SKYBOX_H
#include <glad/glad.h> // holds all OpenGL type declarations
#include <glm/glm.hpp>
#include <vector>
class Skybox
{
public:
Skybox()
{
}
Skybox(vector<std::string> faces)
{
LoadCubemap(faces);
SetupSkybox();
}
void DrawSkybox(unsi... | 28.765152 | 126 | 0.51725 | Sharpyfile |
93740f1fd09685bf8a244b2c138b953501436c45 | 4,389 | cpp | C++ | src/mfx/cmd/lat/TreeList.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 69 | 2017-01-17T13:17:31.000Z | 2022-03-01T14:56:32.000Z | src/mfx/cmd/lat/TreeList.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 1 | 2020-11-03T14:52:45.000Z | 2020-12-01T20:31:15.000Z | src/mfx/cmd/lat/TreeList.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 8 | 2017-02-08T13:30:42.000Z | 2021-12-09T08:43:09.000Z | /*****************************************************************************
TreeList.cpp
Author: Laurent de Soras, 2019
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the te... | 21.945 | 78 | 0.57553 | mikelange49 |
9374a2124793d3532000d617cc30248de7baefb5 | 13,428 | hxx | C++ | c++/laolrt/laol/rt/primitives.hxx | gburdell/laol | 4ba457b2d4fa25525173cd045aa57ff4485ef7ae | [
"MIT"
] | null | null | null | c++/laolrt/laol/rt/primitives.hxx | gburdell/laol | 4ba457b2d4fa25525173cd045aa57ff4485ef7ae | [
"MIT"
] | null | null | null | c++/laolrt/laol/rt/primitives.hxx | gburdell/laol | 4ba457b2d4fa25525173cd045aa57ff4485ef7ae | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright 2017 kpfalzer.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 33.994937 | 96 | 0.524873 | gburdell |
9374f01b5eaee6710c7a94d56f031e5a5859ed9f | 48,416 | cpp | C++ | src/CX_Synth.cpp | hardmanko/ofxCX | 0d1276e4ba8c25a0803da7b03088da24d8871f38 | [
"MIT"
] | 7 | 2015-02-19T21:21:34.000Z | 2022-03-18T13:38:20.000Z | src/CX_Synth.cpp | hardmanko/ofxCX | 0d1276e4ba8c25a0803da7b03088da24d8871f38 | [
"MIT"
] | null | null | null | src/CX_Synth.cpp | hardmanko/ofxCX | 0d1276e4ba8c25a0803da7b03088da24d8871f38 | [
"MIT"
] | 4 | 2018-02-16T12:56:13.000Z | 2022-03-23T01:27:33.000Z | #include "CX_Synth.h"
namespace CX {
namespace Synth {
// Initial id is 0.
uint64_t ModuleControlData::_nextId = 1;
/*! The sinc function, defined as `sin(x)/x`. */
double sinc(double x) {
return sin(x) / x;
}
/*! This function returns the frequency that is `semitoneDifference` semitones from `f`.
\param f The sta... | 29.026379 | 149 | 0.696278 | hardmanko |
9375f66abfa2e3c35ae19cf772d5988fef14ac83 | 1,248 | cpp | C++ | harfang/platform/win32/shared_library.cpp | harfang3dadmin/harfang3d | b4920c18fd53cdab6b3a08f262bd4844364829b4 | [
"BSD-2-Clause"
] | 43 | 2021-10-16T06:33:48.000Z | 2022-03-25T07:55:46.000Z | harfang/platform/win32/shared_library.cpp | harfang3dadmin/harfang3d | b4920c18fd53cdab6b3a08f262bd4844364829b4 | [
"BSD-2-Clause"
] | 1 | 2022-01-25T09:21:47.000Z | 2022-01-25T20:50:01.000Z | harfang/platform/win32/shared_library.cpp | harfang3dadmin/harfang3d | b4920c18fd53cdab6b3a08f262bd4844364829b4 | [
"BSD-2-Clause"
] | 8 | 2021-10-14T08:49:20.000Z | 2022-03-04T21:54:33.000Z | // HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.
#include "platform/shared_library.h"
#include "platform/platform.h"
#include "foundation/format.h"
#include "foundation/log.h"
#include "foundation/string.h"
#include "platform/win... | 29.714286 | 136 | 0.735577 | harfang3dadmin |
937826ce082e414a4045cbb7aa1e028ee32805d2 | 955 | hpp | C++ | src/tools/tools.hpp | InspectorSolaris/nd-engine | a8d63fe4bc0e57a96317adf015534d2e779ffcbb | [
"WTFPL"
] | null | null | null | src/tools/tools.hpp | InspectorSolaris/nd-engine | a8d63fe4bc0e57a96317adf015534d2e779ffcbb | [
"WTFPL"
] | null | null | null | src/tools/tools.hpp | InspectorSolaris/nd-engine | a8d63fe4bc0e57a96317adf015534d2e779ffcbb | [
"WTFPL"
] | null | null | null | #pragma once
#include "pch.hpp"
#include "types.hpp"
#include "scope.hpp"
#if defined(NDEBUG)
#define ND_ASSERT_NOTHROW (true)
#else
#define ND_ASSERT_NOTHROW (false)
#endif
#define ND_DECLARE_BUILDER_FIELD(field) decltype(Type::field) field
#define ND_DEFINE_BUILDER_SET(field) \
... | 28.088235 | 68 | 0.464921 | InspectorSolaris |
937a04039a3c3b06f33d76e0bc6442a8980d670c | 1,747 | hpp | C++ | include/Factory/Module/Decoder/RA/Decoder_RA.hpp | FredrikBlomgren/aff3ct | fa616bd923b2dcf03a4cf119cceca51cf810d483 | [
"MIT"
] | 315 | 2016-06-21T13:32:14.000Z | 2022-03-28T09:33:59.000Z | include/Factory/Module/Decoder/RA/Decoder_RA.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 153 | 2017-01-17T03:51:06.000Z | 2022-03-24T15:39:26.000Z | include/Factory/Module/Decoder/RA/Decoder_RA.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 119 | 2017-01-04T14:31:58.000Z | 2022-03-21T08:34:16.000Z | /*!
* \file
* \brief Class factory::Decoder_RA.
*/
#ifndef FACTORY_DECODER_RA_HPP
#define FACTORY_DECODER_RA_HPP
#include <vector>
#include <string>
#include <map>
#include <cli.hpp>
#include "Tools/Factory/Header.hpp"
#include "Tools/auto_cloned_unique_ptr.hpp"
#include "Module/Encoder/Encoder.hpp"
#include "Modu... | 30.12069 | 116 | 0.655982 | FredrikBlomgren |
937b13734bffb857defc4114a0f1bbee1512662c | 3,197 | cpp | C++ | Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp | calidrelle/Gamecodeur | 4449ea1dce02b8f08e39d258d864546fcc9b2fc6 | [
"CC0-1.0"
] | 29 | 2016-05-04T08:22:46.000Z | 2022-01-27T10:20:55.000Z | Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp | calidrelle/Gamecodeur | 4449ea1dce02b8f08e39d258d864546fcc9b2fc6 | [
"CC0-1.0"
] | 1 | 2018-11-25T14:12:39.000Z | 2018-11-25T14:12:39.000Z | Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp | calidrelle/Gamecodeur | 4449ea1dce02b8f08e39d258d864546fcc9b2fc6 | [
"CC0-1.0"
] | 49 | 2016-04-29T19:43:42.000Z | 2022-02-19T16:13:35.000Z | /*
* Scene_Egypt_Mazeentry.cpp
* enigma
*
* Created by MEKERSA David on 24/11/10.
* Copyright 2010 Casual Games France. All rights reserved.
*
*/
#include "EScene.h"
#include "Scene_Egypt_Mazeentry.h"
#include "ESceneDirector.h"
#include "GlobalBank.h"
/* Constructeur */
Scene_Egypt_Mazeentry::Scene_Egypt_... | 27.324786 | 137 | 0.699093 | calidrelle |
938936970416a05ff2ebb471131e86bcf9a0b165 | 14 | cpp | C++ | src/test.cpp | xpack/xpm-develop-test-xpack | c8f60e64324f751d3848dad12f4add838fa9da8c | [
"MIT"
] | null | null | null | src/test.cpp | xpack/xpm-develop-test-xpack | c8f60e64324f751d3848dad12f4add838fa9da8c | [
"MIT"
] | null | null | null | src/test.cpp | xpack/xpm-develop-test-xpack | c8f60e64324f751d3848dad12f4add838fa9da8c | [
"MIT"
] | null | null | null | // Test file.
| 7 | 13 | 0.571429 | xpack |
93896c5f265e702f4c7628ca39b30322980dde21 | 452 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx | TeoZosa/ITK | bc989624d640b30ee047634eda6acfc4cdd3f39b | [
"Apache-2.0"
] | 1 | 2019-12-10T21:26:08.000Z | 2019-12-10T21:26:08.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx | TeoZosa/ITK | bc989624d640b30ee047634eda6acfc4cdd3f39b | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx | TeoZosa/ITK | bc989624d640b30ee047634eda6acfc4cdd3f39b | [
"Apache-2.0"
] | null | null | null | #include "vnl/vnl_vector_fixed.hxx"
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,2);
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,3);
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,4);
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,5);
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,6);
VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,7);
VNL_VEC... | 37.666667 | 46 | 0.862832 | TeoZosa |
938a824ddd54e2dee3118af9fc48a77be7451d1b | 23,704 | cc | C++ | components/arc/net/arc_net_host_impl.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | components/arc/net/arc_net_host_impl.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/arc/net/arc_net_host_impl.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/arc/net/arc_net_host_impl.h"
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/location.... | 35.48503 | 80 | 0.69676 | xzhan96 |
938a9b3b4735eff7b5e0f2e76ff57f3c9bc2e92e | 24,094 | cpp | C++ | reg-apps/reg_resample.cpp | Barnonewdm/NiftyReg | 99d584e2b8ea0bffe7e65e40c8dc818751782d92 | [
"BSD-3-Clause"
] | 59 | 2018-06-11T11:21:47.000Z | 2022-02-18T05:33:21.000Z | reg-apps/reg_resample.cpp | Barnonewdm/NiftyReg | 99d584e2b8ea0bffe7e65e40c8dc818751782d92 | [
"BSD-3-Clause"
] | 67 | 2018-05-21T17:17:21.000Z | 2022-03-21T17:17:57.000Z | reg-apps/reg_resample.cpp | Barnonewdm/NiftyReg | 99d584e2b8ea0bffe7e65e40c8dc818751782d92 | [
"BSD-3-Clause"
] | 26 | 2018-11-27T16:41:20.000Z | 2022-02-22T21:05:09.000Z | /**
* @file reg_resample.cpp
* @author Marc Modat
* @date 18/05/2009
*
* Created by Marc Modat on 18/05/2009.
* Copyright (c) 2009, University College London. All rights reserved.
* Centre for Medical Image Computing (CMIC)
* See the LICENSE.txt file in the nifty_reg root folder
*
*/
#include "_reg_ReadW... | 38.123418 | 151 | 0.558521 | Barnonewdm |
938cf719dbd42d5ca3727e460f1042314873a7bb | 3,075 | cpp | C++ | codes/tool/Project.cpp | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | 3 | 2016-04-16T06:24:20.000Z | 2018-09-29T13:36:51.000Z | codes/tool/Project.cpp | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | null | null | null | codes/tool/Project.cpp | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | 3 | 2016-04-29T11:46:08.000Z | 2019-09-16T03:27:30.000Z | #include "Project.h"
#include <QAction>
#include <QFileDialog>
#include "modelimport/port.h"
#include "core/binary_reader_writer.h"
namespace tng
{
void ProjectMain::Init()
{
tng::Log* log = new tng::ConsoleLog;
tng::Log::SetLog(log);
string exename, exepath, exeext;
Path::GetExePath().Split(exepath, exename,... | 25.204918 | 93 | 0.682602 | liangpengcheng |
938d563efe409da780ef3115ba532f41ac67a326 | 1,136 | cpp | C++ | liberty/support/specpriv-profile/escape.cpp | righier/cpf | 0a9d7c2cde6676be519c490d98197eb5283520b4 | [
"MIT"
] | 18 | 2020-08-14T21:19:59.000Z | 2022-02-22T12:43:52.000Z | liberty/support/specpriv-profile/escape.cpp | righier/cpf | 0a9d7c2cde6676be519c490d98197eb5283520b4 | [
"MIT"
] | 23 | 2020-08-17T21:04:36.000Z | 2022-03-02T19:29:27.000Z | liberty/support/specpriv-profile/escape.cpp | righier/cpf | 0a9d7c2cde6676be519c490d98197eb5283520b4 | [
"MIT"
] | 2 | 2020-09-17T17:25:19.000Z | 2021-05-21T11:21:43.000Z | #include "escape.h"
void EscapeTable::report_escape(const AUHolder &au, const CtxHolder &ctx)
{
Escape key(au,ctx);
++escapeFrequencies[key];
}
void EscapeTable::report_local(const AUHolder &au, const CtxHolder &ctx)
{
for(CtxHolder cc=ctx; !cc.is_null(); cc=cc->parent)
{
Escape key(au,cc);
++localFre... | 22.72 | 106 | 0.629401 | righier |
938ed5ee46e822eb997eee1f0ece1885b921cc16 | 9,515 | cpp | C++ | src/filesiconv/IconvWorker.cpp | hufuman/filesiconv | 1443469db1a37571c984b64027f8936c87dc3e3d | [
"MIT"
] | 2 | 2015-07-01T01:24:15.000Z | 2017-07-13T14:54:29.000Z | src/filesiconv/IconvWorker.cpp | hufuman/filesiconv | 1443469db1a37571c984b64027f8936c87dc3e3d | [
"MIT"
] | null | null | null | src/filesiconv/IconvWorker.cpp | hufuman/filesiconv | 1443469db1a37571c984b64027f8936c87dc3e3d | [
"MIT"
] | 3 | 2015-02-08T15:24:43.000Z | 2018-03-08T05:18:05.000Z | #include "StdAfx.h"
#include "IconvWorker.h"
#include "FileMap.h"
#include <cassert>
#include <Shlwapi.h>
BYTE g_byUtf8BOM[] = {0xEF, 0xBB, 0xBF};
BYTE g_byUnicodeBOM[] = {0xFF, 0xFE};
BOOL WriteFileHelper(HANDLE hFile, LPCVOID pBuffer, int nSize)
{
DWORD dwWritten = 0;
BOOL bResult = ::WriteFile(hFile, pB... | 24.714286 | 133 | 0.548292 | hufuman |
9390d396b3f0a13d8508cb8226a5b36d5ac6bff4 | 3,493 | hpp | C++ | Source/boost/scoped_ptr.hpp | Negrutiu/nsis | 14eed5608d44e998309892fe8226aeb5252b9ab9 | [
"BSD-3-Clause"
] | 19 | 2018-09-21T09:44:42.000Z | 2022-03-26T03:37:02.000Z | Source/boost/scoped_ptr.hpp | Negrutiu/nsis | 14eed5608d44e998309892fe8226aeb5252b9ab9 | [
"BSD-3-Clause"
] | 3 | 2019-07-19T08:58:50.000Z | 2021-02-03T19:42:00.000Z | Source/boost/scoped_ptr.hpp | Negrutiu/nsis | 14eed5608d44e998309892fe8226aeb5252b9ab9 | [
"BSD-3-Clause"
] | 1 | 2021-08-23T02:44:27.000Z | 2021-08-23T02:44:27.000Z | #ifndef BOOST_SCOPED_PTR_HPP_INCLUDED
#define BOOST_SCOPED_PTR_HPP_INCLUDED
// (C) Copyright Greg Colvin and Beman Dawes 1998, 1999.
// Copyright (c) 2001, 2002 Peter Dimov
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
/... | 23.761905 | 101 | 0.643287 | Negrutiu |
939156ea6f4f5d734f26f71d3a7ddbda91b228a6 | 1,868 | cpp | C++ | gui/canvas.cpp | Krzysztof-Ambroziak/Game-of-Life | 41f6aa6814a227bb882f4a84a24e092b66564a4e | [
"MIT"
] | null | null | null | gui/canvas.cpp | Krzysztof-Ambroziak/Game-of-Life | 41f6aa6814a227bb882f4a84a24e092b66564a4e | [
"MIT"
] | null | null | null | gui/canvas.cpp | Krzysztof-Ambroziak/Game-of-Life | 41f6aa6814a227bb882f4a84a24e092b66564a4e | [
"MIT"
] | null | null | null | #include "canvas.h"
#include <QPainter>
#include <QMouseEvent>
Canvas::Canvas(const AbstractModel* const model, QWidget* parent):
QWidget(parent),
model(model) {
const int width = (model->getCellSize() + 1) * model->getColumns() + 1;
const int height = (model->getCellSize() + 1) * model->getRow... | 30.129032 | 112 | 0.625803 | Krzysztof-Ambroziak |
9394342d562e3af978f12e87fe18354ce2633bc2 | 2,475 | cpp | C++ | src/utilities/utility_MemoryBuffer.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 5 | 2019-02-24T06:42:52.000Z | 2021-04-09T19:16:24.000Z | src/utilities/utility_MemoryBuffer.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 40 | 2019-02-24T15:25:54.000Z | 2021-05-17T04:22:43.000Z | src/utilities/utility_MemoryBuffer.cpp | hyena/mutgos_server | 855c154be840f70c3b878fabde23d2148ad028b3 | [
"MIT"
] | 2 | 2019-02-23T22:58:36.000Z | 2019-02-27T01:27:42.000Z | /*
* MemoryBuffer.cpp
*/
#include "utility_MemoryBuffer.h"
#include <string.h>
#include <stddef.h>
#include <streambuf>
#define INITIAL_BUFFER_SIZE_BYTES 4096
namespace mutgos
{
namespace utility
{
// ----------------------------------------------------------------------
MemoryBuffer::MemoryBuffer(const v... | 26.052632 | 79 | 0.460202 | hyena |
9394c693572d896b65a9953bc534cba9690a82eb | 2,749 | cxx | C++ | panda/src/pgraph/loaderFileTypeBam.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/pgraph/loaderFileTypeBam.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/pgraph/loaderFileTypeBam.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file loaderFileTypeBam.cxx
... | 21.645669 | 84 | 0.697344 | sean5470 |
9394c96f6fac255fc668b2770bcecf5f8b8a67a6 | 1,016 | cpp | C++ | src/QtFTP/FTP/nBonjourRecord.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | src/QtFTP/FTP/nBonjourRecord.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | src/QtFTP/FTP/nBonjourRecord.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | #include <qtftp.h>
N::BonjourRecord:: BonjourRecord(void)
{
}
N::BonjourRecord:: BonjourRecord (
const QString & name ,
const QString & regType ,
const QString & domain )
: serviceName ( name )
, re... | 27.459459 | 70 | 0.515748 | Vladimir-Lin |
93966166dcfeeb1355a91268734307e26950ffea | 11,525 | cpp | C++ | src/clp/FileCompressor.cpp | NITROGENousFish/clp-core | 2dcc58aae66a97fca43a139a4ff637005c0f9065 | [
"Apache-2.0"
] | null | null | null | src/clp/FileCompressor.cpp | NITROGENousFish/clp-core | 2dcc58aae66a97fca43a139a4ff637005c0f9065 | [
"Apache-2.0"
] | null | null | null | src/clp/FileCompressor.cpp | NITROGENousFish/clp-core | 2dcc58aae66a97fca43a139a4ff637005c0f9065 | [
"Apache-2.0"
] | null | null | null | #include "FileCompressor.hpp"
// C++ standard libraries
#include <algorithm>
#include <iostream>
#include <set>
// Boost libraries
#include <boost/filesystem/path.hpp>
// libarchive
#include <archive_entry.h>
// Project headers
#include "utils.hpp"
using std::cout;
using std::endl;
using std::set;
using std::strin... | 47.427984 | 158 | 0.653189 | NITROGENousFish |
939766ed756a9cf44e433c592abc0ba7a57e6518 | 4,308 | cpp | C++ | mock-eye-module/main.cpp | hogaku/azure-percept-advanced-development | 90177b9f1ec96dee1e7c436af5471007c4092655 | [
"MIT"
] | 52 | 2021-03-02T14:28:37.000Z | 2022-02-07T20:27:52.000Z | mock-eye-module/main.cpp | hogaku/azure-percept-advanced-development | 90177b9f1ec96dee1e7c436af5471007c4092655 | [
"MIT"
] | 29 | 2021-03-03T09:36:33.000Z | 2022-03-12T00:59:10.000Z | mock-eye-module/main.cpp | hogaku/azure-percept-advanced-development | 90177b9f1ec96dee1e7c436af5471007c4092655 | [
"MIT"
] | 30 | 2021-03-02T14:09:14.000Z | 2022-03-11T05:58:54.000Z | /**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*
* Use this application as a test bed for adding new AI models to the Azure Percept DK azureeyemodule.
* This application is small and easy to extend, so can be used for debugging and proving that a model
* works before porting it to th... | 35.02439 | 115 | 0.639044 | hogaku |
9397a1566ba2f8b4d802fe9b27344fc1e0dac58f | 1,323 | cpp | C++ | shared_mutex.cpp | opensvn/boost_learning | 7f21551a7f3db38bea2c31d95d0c8b4e00f4537e | [
"BSL-1.0"
] | null | null | null | shared_mutex.cpp | opensvn/boost_learning | 7f21551a7f3db38bea2c31d95d0c8b4e00f4537e | [
"BSL-1.0"
] | null | null | null | shared_mutex.cpp | opensvn/boost_learning | 7f21551a7f3db38bea2c31d95d0c8b4e00f4537e | [
"BSL-1.0"
] | 1 | 2021-10-01T04:27:44.000Z | 2021-10-01T04:27:44.000Z | #include <iostream>
#include <boost/thread.hpp>
using namespace std;
boost::mutex io_mu;
class rw_data
{
private:
int m_x;
boost::shared_mutex rw_mu;
public:
rw_data() : m_x(0)
{ }
void write()
{
boost::unique_lock<boost::shared_mutex> ul(rw_mu);
++m_x;
}
void read(i... | 18.633803 | 83 | 0.543462 | opensvn |
939ac781007d93639b949611cab142451205015c | 5,313 | cpp | C++ | libraries/PION/src/PION_Network.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 17 | 2021-07-28T21:57:26.000Z | 2022-02-28T20:32:04.000Z | libraries/PION/src/PION_Network.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 7 | 2021-08-07T23:20:14.000Z | 2022-03-20T15:05:21.000Z | libraries/PION/src/PION_Network.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 10 | 2021-08-11T13:47:36.000Z | 2022-03-26T02:41:45.000Z | #include <Arduino.h>
#include <ESPAsyncWebServer.h>
#include <ArduinoJson.h>
#include "_config.h"
#include "_types.h"
#include "webpage.h"
#include "PION_System.h"
#include "PION_Network.h"
#include "PION_Sensors.h"
#include "PION_Storage.h"
#include "PION_Interface.h"
// External Objects
AsyncWebServer server(80)... | 30.534483 | 125 | 0.678336 | joaopedrovbs |
4d34bfb49b84429f084a6ffb47759ba06fecac7f | 5,457 | hpp | C++ | heart/src/problem/AbstractOutputModifier.hpp | AvciRecep/chaste_2019 | 1d46cdac647820d5c5030f8a9ea3a1019f6651c1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-04-05T12:11:54.000Z | 2020-04-05T12:11:54.000Z | heart/src/problem/AbstractOutputModifier.hpp | AvciRecep/chaste_2019 | 1d46cdac647820d5c5030f8a9ea3a1019f6651c1 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | heart/src/problem/AbstractOutputModifier.hpp | AvciRecep/chaste_2019 | 1d46cdac647820d5c5030f8a9ea3a1019f6651c1 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-04-05T14:26:13.000Z | 2021-03-09T08:18:17.000Z | /*
Copyright (c) 2005-2019, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 40.422222 | 149 | 0.741067 | AvciRecep |
4d3760308ef4831c1a67e90b12f03528116f8323 | 2,699 | cpp | C++ | lib/database.cpp | ml4ai/delphi | 9294d2d491f10c297c84f1cd5fdc9b55b6f866d9 | [
"Apache-2.0"
] | 25 | 2018-03-03T11:57:57.000Z | 2022-01-16T21:19:54.000Z | lib/database.cpp | ml4ai/delphi | 9294d2d491f10c297c84f1cd5fdc9b55b6f866d9 | [
"Apache-2.0"
] | 385 | 2018-02-21T16:52:06.000Z | 2022-02-17T07:44:56.000Z | lib/database.cpp | ml4ai/delphi | 9294d2d491f10c297c84f1cd5fdc9b55b6f866d9 | [
"Apache-2.0"
] | 19 | 2018-03-20T01:08:11.000Z | 2021-09-29T01:04:49.000Z | #include "AnalysisGraph.hpp"
#include <nlohmann/json.hpp>
using namespace std;
using namespace delphi::utils;
using json = nlohmann::json;
sqlite3* AnalysisGraph::open_delphi_db(int mode) {
char* pPath;
pPath = getenv ("DELPHI_DB");
if (pPath == NULL) {
cout << "\n\nERROR: DELPHI_DB environment variable co... | 26.722772 | 105 | 0.647647 | ml4ai |
4d39fe83633baa3d63db21cd6ab8fff3b5811f85 | 3,792 | cc | C++ | cloud_print/gcp20/prototype/printer.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cloud_print/gcp20/prototype/printer.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cloud_print/gcp20/prototype/printer.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cloud_print/gcp20/prototype/printer.h"
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/strings/string_number... | 28.727273 | 78 | 0.678006 | pozdnyakov |