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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3c03d579d96684f14e60de1b01d9acd73e641d35 | 5,334 | hpp | C++ | include/UnityEngine/Experimental/Audio/AudioSampleProvider.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/UnityEngine/Experimental/Audio/AudioSampleProvider.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/UnityEngine/Experimental/Audio/AudioSampleProvider.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Completed includes
// Begin forward declares
// For... | 63.5 | 226 | 0.784589 | v0idp |
3c1603c7aa2deadfb8fc2f33c0fed591484e4e7d | 22,986 | cc | C++ | library/src/blockclass/subclasses/BPSC_SSHIntegrityChecker.cc | jason-medeiros/blockparty | 4b1aabe66b13ceac70d6e42feb796909f067df9a | [
"MIT"
] | 1 | 2018-05-31T11:51:43.000Z | 2018-05-31T11:51:43.000Z | library/src/blockclass/subclasses/BPSC_SSHIntegrityChecker.cc | jason-medeiros/blockparty | 4b1aabe66b13ceac70d6e42feb796909f067df9a | [
"MIT"
] | null | null | null | library/src/blockclass/subclasses/BPSC_SSHIntegrityChecker.cc | jason-medeiros/blockparty | 4b1aabe66b13ceac70d6e42feb796909f067df9a | [
"MIT"
] | null | null | null | /*
* BPSC_SSHIntegrityChecker.cc
* ------------------------------------------
* Used to run integrity checks against remote hosts using nothing but
* SSH. This is very useful for environments that are sensitive, but
* are only running SSH.
*
*
-- SQL FOR HOST INFO TABLE ----
SET SQL_MODE="NO_AUTO_VALUE_ON_... | 30.771084 | 166 | 0.688158 | jason-medeiros |
3c1e3ff65788347e1c724daf10d9e1af75f5c10d | 12,588 | cpp | C++ | Extern/JUCE/extras/Introjucer/Source/Utility/jucer_MiscUtilities.cpp | vinniefalco/SimpleDJ | 30cf1929eaaf0906a1056a33378e8b330062c691 | [
"MIT"
] | 27 | 2015-05-07T02:10:39.000Z | 2021-06-22T14:52:50.000Z | Extern/JUCE/extras/Introjucer/Source/Utility/jucer_MiscUtilities.cpp | JoseDiazRohena/SimpleDJ | 30cf1929eaaf0906a1056a33378e8b330062c691 | [
"MIT"
] | null | null | null | Extern/JUCE/extras/Introjucer/Source/Utility/jucer_MiscUtilities.cpp | JoseDiazRohena/SimpleDJ | 30cf1929eaaf0906a1056a33378e8b330062c691 | [
"MIT"
] | 14 | 2015-09-12T12:00:22.000Z | 2022-03-08T22:24:24.000Z | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | 28.479638 | 128 | 0.537655 | vinniefalco |
3c240209d44936dbab0ec98dda3e431ad187df11 | 4,552 | cpp | C++ | src/Resource/ResourceManager.cpp | Strife-AI/Strife.Engine | 6b83e762f28acb3f4440d5b7763beccfd08dfc8f | [
"NCSA"
] | 12 | 2020-12-27T22:13:58.000Z | 2021-03-14T09:03:02.000Z | src/Resource/ResourceManager.cpp | Strife-AI/Strife.Engine | 6b83e762f28acb3f4440d5b7763beccfd08dfc8f | [
"NCSA"
] | 10 | 2021-01-14T15:14:31.000Z | 2021-05-24T22:01:09.000Z | src/Resource/ResourceManager.cpp | Strife-AI/Strife.Engine | 6b83e762f28acb3f4440d5b7763beccfd08dfc8f | [
"NCSA"
] | null | null | null | #include <fstream>
#include "ResourceManager.hpp"
#include "SpriteResource.hpp"
#include "TilemapResource.hpp"
#include "SpriteFontResource.hpp"
#include "ShaderResource.hpp"
#include "FileResource.hpp"
#include "Tools/Console.hpp"
#include "ResourceSettings.hpp"
#include "System/FileSystem.hpp"
#include "SpriteAtlasR... | 29.947368 | 92 | 0.64565 | Strife-AI |
3c27655473afa3725b0af9a7464d7665e2a22fbf | 2,547 | cpp | C++ | src/Component.cpp | crocdialer/crocore | f07d1b65832f63ac5b1dcd25fa33f9e824e4e678 | [
"MIT"
] | null | null | null | src/Component.cpp | crocdialer/crocore | f07d1b65832f63ac5b1dcd25fa33f9e824e4e678 | [
"MIT"
] | null | null | null | src/Component.cpp | crocdialer/crocore | f07d1b65832f63ac5b1dcd25fa33f9e824e4e678 | [
"MIT"
] | null | null | null | // __ ___ ____ _____ ______ _______ ________ _______ ______ _____ ____ ___ __
//
// Copyright (C) 2012-2016, Fabian Schmidt <crocdialer@googlemail.com>
//
// It is 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
// ... | 24.490385 | 83 | 0.691794 | crocdialer |
3c27adaaf792b38bdf6d0077877ae4f9365baf36 | 2,543 | cpp | C++ | lib/sfml/src/SceneHowToPlay/SceneHowToPlay.cpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | lib/sfml/src/SceneHowToPlay/SceneHowToPlay.cpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | lib/sfml/src/SceneHowToPlay/SceneHowToPlay.cpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** arcade
** File description:
** SceneHowToPlay
*/
#include "sfml/SceneHowToPlay.hpp"
arc::SceneHowToPlay::SceneHowToPlay()
{
initBg();
initCase();
}
arc::SceneHowToPlay::~SceneHowToPlay()
{
}
void arc::SceneHowToPlay::display(sf::RenderWindow &window)
{
window.draw(_bg);
... | 24.68932 | 105 | 0.649233 | Brukols |
3c28cbe5c1e047374d91ed5f890ca9569a63ac79 | 5,057 | hpp | C++ | src/geometry/Mesh.hpp | bwiberg/position-based-dynamics | cde7665df830f2e4625aad8ec1e76247c7ae5623 | [
"WTFPL"
] | 33 | 2016-11-18T02:37:31.000Z | 2021-11-13T10:00:35.000Z | src/geometry/Mesh.hpp | bwiberg/position-based-dynamics | cde7665df830f2e4625aad8ec1e76247c7ae5623 | [
"WTFPL"
] | null | null | null | src/geometry/Mesh.hpp | bwiberg/position-based-dynamics | cde7665df830f2e4625aad8ec1e76247c7ae5623 | [
"WTFPL"
] | 3 | 2017-10-24T17:36:12.000Z | 2019-03-21T07:21:32.000Z | #pragma once
#include <vector>
#include <functional>
#include <geometry/geometry.hpp>
#include <simulation/geometry.hpp>
#include <bwgl/bwgl.hpp>
#include <nanogui/opengl.h>
#include "rendering/Texture.hpp"
#include "rendering/BaseShader.hpp"
#include <CL/cl.hpp>
namespace pbd {
typedef unsigned int uint;
... | 30.648485 | 104 | 0.599565 | bwiberg |
3c29a1779e5c7624cc427a10eea48d6507842a2a | 1,176 | cpp | C++ | test/WhiteListTest.cpp | rock-cpp/new_rock_replay | bc24c181b589533037e626b9361597bf1bf1170f | [
"BSD-3-Clause"
] | null | null | null | test/WhiteListTest.cpp | rock-cpp/new_rock_replay | bc24c181b589533037e626b9361597bf1bf1170f | [
"BSD-3-Clause"
] | null | null | null | test/WhiteListTest.cpp | rock-cpp/new_rock_replay | bc24c181b589533037e626b9361597bf1bf1170f | [
"BSD-3-Clause"
] | null | null | null | #include "LogFileHelper.hpp"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(TestWhiteListStreamWithoutRegEx)
{
const std::vector<std::string> whitelist = {"trajectory_follower.state"};
const std::string streamName = "trajectory_follower.state";
BOOST_TEST(LogFileHelper::isWhiteListed(streamName... | 32.666667 | 120 | 0.732993 | rock-cpp |
3c2c0798ed65dec67fcf3f8026c4c1184a9eee84 | 680 | cpp | C++ | merge.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 9 | 2021-09-15T09:48:49.000Z | 2021-12-28T09:52:18.000Z | merge.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 3 | 2019-10-07T04:35:44.000Z | 2020-12-07T23:18:41.000Z | merge.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 54 | 2019-10-04T10:45:52.000Z | 2021-06-09T09:57:52.000Z | /* C++ Program - Merge Two Arrays */
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int arr1[50], arr2[50], size1, size2, size, i, j, k, merge[100];
cout<<"Enter Array 1 Size : ";
cin>>size1;
cout<<"Enter Array 1 Elements : ";
for(i=0; i<size1; i++)
{
cin>>arr1[i];
}
cout<<"Enter Array 2 S... | 17.435897 | 65 | 0.552941 | razat2199 |
3c2fee50cf5497cb8b7b82f0584215dd9f78f046 | 83 | hpp | C++ | sdk/wpp5/include/dbcException.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/wpp5/include/dbcException.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/wpp5/include/dbcException.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #ifndef WPP_DBCEXCEPTION_H
#define WPP_DBCEXCEPTION_H
#endif //WPP_DBCEXCEPTION_H | 16.6 | 27 | 0.855422 | qianxj |
3c3230b0b2d83cc3ff4ca868755214eaadee34fe | 2,420 | cpp | C++ | Morse translate/source/translator.cpp | dzmitryZhuk/Morse_translate | 557d3928a39d66a2fc730195cef9f0af5fe8de10 | [
"MIT"
] | null | null | null | Morse translate/source/translator.cpp | dzmitryZhuk/Morse_translate | 557d3928a39d66a2fc730195cef9f0af5fe8de10 | [
"MIT"
] | null | null | null | Morse translate/source/translator.cpp | dzmitryZhuk/Morse_translate | 557d3928a39d66a2fc730195cef9f0af5fe8de10 | [
"MIT"
] | null | null | null | #include "translator.h"
Translator::Translator()
{
initDictionary();
}
void Translator::initDictionary()
{
// latin
dictionary.insert("a", ".-");
dictionary.insert("b", "-...");
dictionary.insert("c", "-.-.");
dictionary.insert("d", "-..");
... | 29.512195 | 95 | 0.464876 | dzmitryZhuk |
3c33015a5bde59b586340e7fc5155ed3166c4c84 | 19,819 | cxx | C++ | Modules/Visualization/MonteverdiGui/src/mvdQtWidgetView.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | Modules/Visualization/MonteverdiGui/src/mvdQtWidgetView.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | null | null | null | Modules/Visualization/MonteverdiGui/src/mvdQtWidgetView.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-01-17T10:36:14.000Z | 2019-12-03T02:54:36.000Z | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 25.705577 | 220 | 0.603764 | lfyater |
3c346689e9a9e18cb7f8e763a2549cc1e51f3f86 | 2,222 | hh | C++ | rl/gui.hh | Seegnify/Seegnify | f20742743e237fa53b7450436e35cd8c80066d4c | [
"Apache-2.0"
] | null | null | null | rl/gui.hh | Seegnify/Seegnify | f20742743e237fa53b7450436e35cd8c80066d4c | [
"Apache-2.0"
] | null | null | null | rl/gui.hh | Seegnify/Seegnify | f20742743e237fa53b7450436e35cd8c80066d4c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020-2021 Greg Padiasek and Seegnify <http://www.seegnify.org>
*
* 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
*
* Un... | 20.766355 | 75 | 0.69757 | Seegnify |
3c3fae2e14a480f527da468cd0d58274765acdc8 | 9,761 | cpp | C++ | ExampleApps/main/codelets/D2Q9Codelets.cpp | thorbenlouw/structured-grids-stencils-on-ipu | 9f0dbac4a8083e41ef561b7536c108ce7e145e4f | [
"MIT"
] | 1 | 2021-02-09T05:57:42.000Z | 2021-02-09T05:57:42.000Z | ExampleApps/main/codelets/D2Q9Codelets.cpp | thorbenlouw/structured-grids-stencils-on-ipu | 9f0dbac4a8083e41ef561b7536c108ce7e145e4f | [
"MIT"
] | null | null | null | ExampleApps/main/codelets/D2Q9Codelets.cpp | thorbenlouw/structured-grids-stencils-on-ipu | 9f0dbac4a8083e41ef561b7536c108ce7e145e4f | [
"MIT"
] | 1 | 2022-03-05T23:29:03.000Z | 2022-03-05T23:29:03.000Z | #include <poplar/Vertex.hpp>
#include <cstddef>
#include <print.h>
#include <math.h>
#include <ipudef.h>
/*
* Slightly unintuitively we are using (0,0) as the bottom left corner
*/
using namespace poplar;
/**
* The output array of summed velocities is spread throughout the distributed memories. We give each
* ... | 36.286245 | 123 | 0.557627 | thorbenlouw |
3c46a2cb2858e23808bbee71f509d7e9f1014617 | 313 | cpp | C++ | DriverlessCar/Calculator/Data/Blob.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | null | null | null | DriverlessCar/Calculator/Data/Blob.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | null | null | null | DriverlessCar/Calculator/Data/Blob.cpp | phuctm97/driverless-car-2 | ce9c8b0bf83da20a9b2d856d257b0ddfd10e8531 | [
"MIT"
] | 3 | 2020-03-04T16:00:05.000Z | 2022-02-24T11:29:52.000Z | #include "Blob.h"
void sb::release( Blob* blob )
{
if ( blob == nullptr ) return;
for ( auto cit_childblob = blob->childBlobs.cbegin(); cit_childblob != blob->childBlobs.cend(); ++cit_childblob ) {
sb::release( *cit_childblob );
delete *cit_childblob;
}
blob->childBlobs.clear();
blob->rows.clear();
}
| 22.357143 | 116 | 0.667732 | phuctm97 |
3c5b5b746bbcff62ecaf60e0e5bd12b3f201f5ef | 7,649 | cpp | C++ | Beeftext/Group/Group.cpp | sharpsteve/Beeftext | 9f4c7abfe6f33914cd49956f9c576ab5b10ff660 | [
"MIT"
] | 546 | 2017-12-19T15:44:56.000Z | 2022-03-29T20:38:01.000Z | Beeftext/Group/Group.cpp | sharpsteve/Beeftext | 9f4c7abfe6f33914cd49956f9c576ab5b10ff660 | [
"MIT"
] | 455 | 2017-12-30T07:47:49.000Z | 2022-03-24T15:53:14.000Z | Beeftext/Group/Group.cpp | sharpsteve/Beeftext | 9f4c7abfe6f33914cd49956f9c576ab5b10ff660 | [
"MIT"
] | 45 | 2018-03-04T15:07:22.000Z | 2022-03-16T22:13:58.000Z | /// \file
/// \author Xavier Michelon
///
/// \brief Implementation of combo group class
///
/// Copyright (c) Xavier Michelon. All rights reserved.
/// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#include "stdafx.h"
#include "Group.h"
#include <utility>
#inc... | 41.570652 | 124 | 0.403059 | sharpsteve |
3c5c6a1dde12f3d8a83d34caeae2bc0d8f06f558 | 4,006 | cpp | C++ | Assigment1/Game/Source/ModuleParticles.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | 1 | 2021-12-11T22:51:20.000Z | 2021-12-11T22:51:20.000Z | Assigment1/Game/Source/ModuleParticles.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | null | null | null | Assigment1/Game/Source/ModuleParticles.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | null | null | null | #include "ModuleParticles.h"
#include "App.h"
#include "Particle.h"
#include "Animation.h"
#include "Render.h"
#include "ModuleCollisions.h"
#include "textures.h"
#include "Player.h"
#include "ModuleEnemies.h"
#include "SDL/include/SDL_timer.h"
ModuleParticles::ModuleParticles() : Module()
{
for(uint i = 0; i < MA... | 25.194969 | 211 | 0.65327 | Xavierlm11 |
3c5e291e95eb1d25d746e1f0f69294885b06cd33 | 5,701 | cpp | C++ | driver/src/common/Scope.cpp | pranavsubramani/Birch | 0a4bb698ed44353c8e8b93d234f2941d7511683c | [
"Apache-2.0"
] | null | null | null | driver/src/common/Scope.cpp | pranavsubramani/Birch | 0a4bb698ed44353c8e8b93d234f2941d7511683c | [
"Apache-2.0"
] | null | null | null | driver/src/common/Scope.cpp | pranavsubramani/Birch | 0a4bb698ed44353c8e8b93d234f2941d7511683c | [
"Apache-2.0"
] | null | null | null | /**
* @file
*/
#include "src/common/Scope.hpp"
#include "src/expression/Parameter.hpp"
#include "src/expression/Generic.hpp"
#include "src/statement/GlobalVariable.hpp"
#include "src/statement/MemberVariable.hpp"
#include "src/statement/LocalVariable.hpp"
#include "src/statement/Function.hpp"
#include "src/statement... | 30.650538 | 84 | 0.669532 | pranavsubramani |
3c61a628f14528ef0bc5b57490199abf272f1ff3 | 1,008 | cpp | C++ | aws-cpp-sdk-wellarchitected/source/model/DisassociateLensesRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-wellarchitected/source/model/DisassociateLensesRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-wellarchitected/source/model/DisassociateLensesRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/wellarchitected/model/DisassociateLensesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::WellArchitected::Model;
using namespace Aws::... | 24 | 109 | 0.762897 | perfectrecall |
3c61bf4cac710c435d728b83078abe321ed95b09 | 1,070 | hpp | C++ | kernel/window.hpp | drop-stones/Shakyo-mikanos | 22adf9a859d2438998b262b5beea7ebda2429646 | [
"Apache-2.0"
] | null | null | null | kernel/window.hpp | drop-stones/Shakyo-mikanos | 22adf9a859d2438998b262b5beea7ebda2429646 | [
"Apache-2.0"
] | null | null | null | kernel/window.hpp | drop-stones/Shakyo-mikanos | 22adf9a859d2438998b262b5beea7ebda2429646 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <vector>
#include <optional>
#include "graphics.hpp"
class Window {
public:
class WindowWriter : public PixelWriter {
public:
WindowWriter(Window& window) : window_{window} {}
virtual void Write(int x, int y, const PixelColor& c) override {
window_.At(x, y) = c;
}
virtu... | 26.097561 | 68 | 0.685981 | drop-stones |
3c67b52625c54749331ccbceabf1b9918c077543 | 183 | hh | C++ | report/share/liblzw/lzw.hh | CaffeineViking/tsbk08 | ff943c3bf24dba61f2238b34d77e2c3d5a6b96a9 | [
"MIT"
] | 6 | 2019-06-04T07:31:12.000Z | 2020-09-06T10:36:53.000Z | report/share/liblzw/lzw.hh | CaffeineViking/lzw | ff943c3bf24dba61f2238b34d77e2c3d5a6b96a9 | [
"MIT"
] | null | null | null | report/share/liblzw/lzw.hh | CaffeineViking/lzw | ff943c3bf24dba61f2238b34d77e2c3d5a6b96a9 | [
"MIT"
] | null | null | null | #ifndef LZW_LZW_HH
#define LZW_LZW_HH
#include "lzw/buffer.hh"
#include "lzw/definitions.hh"
#include "lzw/dictionary.hh"
#include "lzw/encoder.hh"
#include "lzw/decoder.hh"
#endif
| 16.636364 | 29 | 0.754098 | CaffeineViking |
3c700a626fd58fc44ed0ec69dc645ccfdbbce674 | 1,235 | hpp | C++ | externals/boost/boost/uuid/name_generator.hpp | YuukiTsuchida/v8_embeded | c6e18f4e91fcc50607f8e3edc745a3afa30b2871 | [
"MIT"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | jeff/common/include/boost/uuid/name_generator.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | jeff/common/include/boost/uuid/name_generator.hpp | jeffphi/advent-of-code-2018 | 8e54bd23ebfe42fcbede315f0ab85db903551532 | [
"MIT"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | // Boost name_generator.hpp header file -----------------------------//
// Copyright 2010 Andy Tompkins.
// Copyright 2017 James E. King III
// 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 B... | 31.666667 | 73 | 0.716599 | YuukiTsuchida |
3c707dcb59834f53ddfc767e9e727feb6bc3611a | 1,962 | cpp | C++ | MainBrain/src/Model/CoolingSystem/CoolingSystem.cpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 10 | 2017-07-30T21:26:32.000Z | 2021-05-04T14:33:29.000Z | MainBrain/src/Model/CoolingSystem/CoolingSystem.cpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 122 | 2017-07-30T15:55:55.000Z | 2019-05-19T20:29:13.000Z | MainBrain/src/Model/CoolingSystem/CoolingSystem.cpp | smit-happens/YCP_EVOS | cecfa8aaa3c73945106786c44aa78d4fe872e3c3 | [
"MIT"
] | 3 | 2018-03-10T20:01:10.000Z | 2019-06-07T18:02:38.000Z | /** A one line description of the class.
*
* CoolingSystem.cpp
* Created 12-20-17 By: Smitty
*
* A longer description.
*/
#include "CoolingSystem.hpp"
/**
* @brief CoolingSystem constructor
*/
CoolingSystem::CoolingSystem(void)
{
//Cooling pump control
pinMode(MB_PUMP_CTRL, OUTPU... | 20.226804 | 83 | 0.655454 | smit-happens |
3c741df7256c46b7ad7bfa93ca2833c7f31441b2 | 2,185 | hpp | C++ | source/test/test_iterator.hpp | ThatGuyMike7/masonc | 43a3a69cd64f52fda8a629360c52a222549d6368 | [
"BSL-1.0"
] | 3 | 2020-08-10T13:37:48.000Z | 2021-07-06T10:14:39.000Z | source/test/test_iterator.hpp | ThatGuyMike7/masonc | 43a3a69cd64f52fda8a629360c52a222549d6368 | [
"BSL-1.0"
] | null | null | null | source/test/test_iterator.hpp | ThatGuyMike7/masonc | 43a3a69cd64f52fda8a629360c52a222549d6368 | [
"BSL-1.0"
] | null | null | null | #ifndef MASONC_TEST_ITERATOR_HPP
#define MASONC_TEST_ITERATOR_HPP
#include <iterator.hpp>
namespace masonc::test::iterator
{
struct test_container : public iterable<int>
{
private:
int* data;
int count;
public:
test_container(int count);
~test_container();
mas... | 22.295918 | 81 | 0.564302 | ThatGuyMike7 |
3c7c6d3a1b4d2929be2188ea6b22c54fa90c67e3 | 115,459 | cpp | C++ | src/cpu/executer/execute.cpp | logicworldzju/X86Emulator | d822978ac46495da18b4df5095b6f51038d77c23 | [
"MIT"
] | 15 | 2016-03-11T11:02:25.000Z | 2020-08-13T02:15:41.000Z | src/cpu/executer/execute.cpp | logicworldzju/X86Emulator | d822978ac46495da18b4df5095b6f51038d77c23 | [
"MIT"
] | null | null | null | src/cpu/executer/execute.cpp | logicworldzju/X86Emulator | d822978ac46495da18b4df5095b6f51038d77c23 | [
"MIT"
] | 5 | 2016-03-27T03:29:12.000Z | 2021-12-07T09:28:42.000Z | #include "execute.h"
#include <iostream>
#include <stdlib.h>
#include "operand/execmemoryoperand.h"
#include <QDebug>
//---------------------------Set Flags Function----------------------------------
inline u8 getCarryFlag(u8 msbOpt1,u8 msbOpt2,bool isPlus,u8 msbResult)
{
u8 CF=0;
if(isPlus)
{
if(ms... | 32.884933 | 199 | 0.65082 | logicworldzju |
3c7fd07cdf3082755d480cf3d1e1895af9417956 | 23,829 | cpp | C++ | src/modules/SD3/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp | buttlerkid/avalon | 30edc18b9ecd7f4604249dac1056c6c935681cfe | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/modules/SD3/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp | buttlerkid/avalon | 30edc18b9ecd7f4604249dac1056c6c935681cfe | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | 20 | 2017-04-10T18:41:58.000Z | 2017-04-10T19:01:12.000Z | src/modules/SD3/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp | buttlerkid/avalon | 30edc18b9ecd7f4604249dac1056c6c935681cfe | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | /**
* ScriptDev3 is an extension for mangos providing enhanced features for
* area triggers, creatures, game objects, instances, items, and spells beyond
* the default database scripting in mangos.
*
* Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/>
* Copyright (C) 2014-2017 MaNGOS <https://get... | 31.729694 | 169 | 0.531285 | buttlerkid |
3c8509295b54de1ad6442629b45f7366ee6446bc | 73,954 | cpp | C++ | CapabilitiesDelegate/test/CapabilitiesDelegateTest.cpp | noveto-com/avs-device-sdk | f2dab7ee26e59caa41fa861e04df256fa8563ef1 | [
"Apache-2.0"
] | null | null | null | CapabilitiesDelegate/test/CapabilitiesDelegateTest.cpp | noveto-com/avs-device-sdk | f2dab7ee26e59caa41fa861e04df256fa8563ef1 | [
"Apache-2.0"
] | null | null | null | CapabilitiesDelegate/test/CapabilitiesDelegateTest.cpp | noveto-com/avs-device-sdk | f2dab7ee26e59caa41fa861e04df256fa8563ef1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | 50.584131 | 120 | 0.736417 | noveto-com |
3c851ce61de003420398e4e089583bb4a5cb1a71 | 9,355 | cpp | C++ | Infinity Runner/Motor2D/j1Scene.cpp | DavidTello1/IDI-game | db242c47389a6219f50fde68a4b475fe9262033e | [
"MIT"
] | null | null | null | Infinity Runner/Motor2D/j1Scene.cpp | DavidTello1/IDI-game | db242c47389a6219f50fde68a4b475fe9262033e | [
"MIT"
] | null | null | null | Infinity Runner/Motor2D/j1Scene.cpp | DavidTello1/IDI-game | db242c47389a6219f50fde68a4b475fe9262033e | [
"MIT"
] | null | null | null | #include "p2Defs.h"
#include "p2Log.h"
#include "j1Input.h"
#include "j1Textures.h"
#include "j1Render.h"
#include "j1Window.h"
#include "j1Map.h"
#include "j1Scene.h"
#include "j1EntityController.h"
#include "j1Fonts.h"
#include "j1Entity.h"
#include "j1Audio.h"
#include <stdio.h>
#include <time.h>
#include "SDL_mixe... | 22.596618 | 128 | 0.582042 | DavidTello1 |
3c8a4e03beca902394c1217b8f8cd99fa529bbe1 | 4,128 | cpp | C++ | testsuites/unittest/fs/jffs/pressure/It_fs_jffs_pressure_304.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 175 | 2020-10-21T15:15:18.000Z | 2022-03-31T04:59:30.000Z | testsuites/unittest/fs/jffs/pressure/It_fs_jffs_pressure_304.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 1 | 2020-12-20T11:41:53.000Z | 2020-12-21T04:49:33.000Z | testsuites/unittest/fs/jffs/pressure/It_fs_jffs_pressure_304.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 39 | 2020-10-26T03:23:18.000Z | 2022-03-28T16:23:03.000Z | /*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist... | 34.689076 | 120 | 0.720688 | qdsxinyee4 |
3c8a70ddb6f92927c95dba5e91834174c5f7657f | 445 | cpp | C++ | tests/Hashes/sha224.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 99 | 2015-01-06T01:53:26.000Z | 2022-01-31T18:18:27.000Z | tests/Hashes/sha224.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 27 | 2015-03-09T05:46:53.000Z | 2020-05-06T02:52:18.000Z | tests/Hashes/sha224.cpp | httese/OpenPGP | 7dce08dc8b72eeb0dcbf3df56d64606a6b957938 | [
"MIT"
] | 42 | 2015-03-18T03:44:43.000Z | 2022-03-31T21:34:06.000Z | #include <gtest/gtest.h>
#include "Hashes/Hashes.h"
#include "testvectors/sha/sha224shortmsg.h"
TEST(SHA224, short_msg) {
ASSERT_EQ(SHA224_SHORT_MSG.size(), SHA224_SHORT_MSG_HEXDIGEST.size());
for ( unsigned int i = 0; i < SHA224_SHORT_MSG.size(); ++i ) {
auto sha224 = OpenPGP::Hash::use(OpenPGP::H... | 27.8125 | 100 | 0.692135 | httese |
3c8ad5cf47482ff28b63b8c8e8ab4f5d1639563a | 3,125 | hpp | C++ | src/Illusion/Graphics/DescriptorPool.hpp | Simmesimme/illusion-3d | 48520d87ea0677bb8852b20bb6fbfbe1a49402d2 | [
"MIT"
] | 8 | 2019-12-05T15:57:23.000Z | 2022-01-19T19:37:23.000Z | src/Illusion/Graphics/DescriptorPool.hpp | Schneegans/illusion | 48520d87ea0677bb8852b20bb6fbfbe1a49402d2 | [
"MIT"
] | null | null | null | src/Illusion/Graphics/DescriptorPool.hpp | Schneegans/illusion | 48520d87ea0677bb8852b20bb6fbfbe1a49402d2 | [
"MIT"
] | 1 | 2019-01-15T10:35:13.000Z | 2019-01-15T10:35:13.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// _) | | _) This code may be used and modified under the terms //
// | | | |... | 49.603175 | 100 | 0.5472 | Simmesimme |
3c8cb314c60eb70974f107f016bb9c03596c61d3 | 1,692 | cc | C++ | src/game/Tactical/LoadSaveBasicSoldierCreateStruct.cc | flex-lab/ja2-stracciatella | 61f8f0445112c5d5ec80d7b3502ac24505f3d20c | [
"BSD-Source-Code"
] | null | null | null | src/game/Tactical/LoadSaveBasicSoldierCreateStruct.cc | flex-lab/ja2-stracciatella | 61f8f0445112c5d5ec80d7b3502ac24505f3d20c | [
"BSD-Source-Code"
] | null | null | null | src/game/Tactical/LoadSaveBasicSoldierCreateStruct.cc | flex-lab/ja2-stracciatella | 61f8f0445112c5d5ec80d7b3502ac24505f3d20c | [
"BSD-Source-Code"
] | null | null | null | #include "Debug.h"
#include "FileMan.h"
#include "LoadSaveBasicSoldierCreateStruct.h"
#include "LoadSaveData.h"
#include "Soldier_Create.h"
void ExtractBasicSoldierCreateStructFromFile(HWFILE const f, BASIC_SOLDIERCREATE_STRUCT& b)
{
BYTE data[52];
FileRead(f, data, sizeof(data));
DataReader d{data};
EXTR_BOOL(d... | 26.4375 | 96 | 0.732861 | flex-lab |
3c911e30986b993945849f4a8bda53c847b43dea | 312 | cpp | C++ | test.cpp | kiranmsv/SPOJ-cpp-solutions | 28b73b518d55fe739e48d6b7f2f0df276c6c75d5 | [
"Apache-2.0"
] | null | null | null | test.cpp | kiranmsv/SPOJ-cpp-solutions | 28b73b518d55fe739e48d6b7f2f0df276c6c75d5 | [
"Apache-2.0"
] | null | null | null | test.cpp | kiranmsv/SPOJ-cpp-solutions | 28b73b518d55fe739e48d6b7f2f0df276c6c75d5 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int prime[200001]={0};
main(){
long long sum=0;
for(int i=2;i<2000000/2;i++){
if(prime[i]==1) continue;
for(int j=i*2;j<=2000000;j+=i){
prime[j]=1;
}
}
for(int i=2;i<2000000;i++) if(prime[i]==0) sum+=i;
cout<<sum<<"hello ds";
} | 20.8 | 51 | 0.541667 | kiranmsv |
3c92b1834482f1f7cdbe578405132a90949e161a | 1,116 | hpp | C++ | engine/src/vulkan/module/overlay/element/elements/PasswordTextBox.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | engine/src/vulkan/module/overlay/element/elements/PasswordTextBox.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | engine/src/vulkan/module/overlay/element/elements/PasswordTextBox.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | #pragma once
#include <pch.hpp>
#include <vulkan/module/overlay/element/elements/TextBoxElement.hpp>
class cPasswordTextBox : public cTextBoxElement
{
private:
uint puiCharWidth = 0;
uint puiMaxChars = 0;
public:
cPasswordTextBox(const tElementInfo& tSize, uint uiPadding, cTexture* pTexture, cFont* ppFon... | 30.162162 | 115 | 0.689068 | Velikss |
3c96cc5ed8feb69f0ec3ffd00d8fdc22ec8646b6 | 32,441 | cpp | C++ | test/Develop/testOperators.cpp | ssoft-hub/model-kit | 23a712194756978b785afd045ff7203d19d29d91 | [
"MIT"
] | null | null | null | test/Develop/testOperators.cpp | ssoft-hub/model-kit | 23a712194756978b785afd045ff7203d19d29d91 | [
"MIT"
] | null | null | null | test/Develop/testOperators.cpp | ssoft-hub/model-kit | 23a712194756978b785afd045ff7203d19d29d91 | [
"MIT"
] | null | null | null | #include "ModelKit.h"
#include <iostream>
#include <map>
#include <string>
using namespace ::ScL;
using ::std::move;
#if defined( __GNUC__ )
# define DATA_FUNC_INFO __PRETTY_FUNCTION__
#elif defined( _MSC_VER )
# define DATA_FUNC_INFO __FUNCSIG__
#endif
#define DATA_UNARY_OPERATOR_INT_PROTOTYPE( symbol, refer ) ... | 38.4828 | 122 | 0.648285 | ssoft-hub |
3c986069f3f34f797c6492fcb43d0618586fc916 | 4,874 | cc | C++ | src/atlas/domain/detail/RectangularDomain.cc | wdeconinck/atlas | 8949d2b362b9b5431023a967bcf4ca84f6b8ce05 | [
"Apache-2.0"
] | 3 | 2020-04-28T20:07:25.000Z | 2020-05-01T19:07:00.000Z | src/atlas/domain/detail/RectangularDomain.cc | pmarguinaud/atlas | 7e0a1251685e07a5dcccc84f4d9251d5a066e2ee | [
"Apache-2.0"
] | null | null | null | src/atlas/domain/detail/RectangularDomain.cc | pmarguinaud/atlas | 7e0a1251685e07a5dcccc84f4d9251d5a066e2ee | [
"Apache-2.0"
] | null | null | null | /*
* (C) Copyright 2013 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergo... | 29.185629 | 117 | 0.63295 | wdeconinck |
3ca09ff119fac637c8c069035a348b0a3fc6169b | 1,078 | inl | C++ | src/QtControls/QtControls/src/ControlFont.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | 3 | 2019-11-26T05:33:47.000Z | 2020-05-18T06:49:41.000Z | src/QtControls/QtControls/src/ControlFont.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | src/QtControls/QtControls/src/ControlFont.inl | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | #ifndef CONTROLFONT_INL__
#define CONTROLFONT_INL__
//#pragma once
#include "ControlFont.h"
template<class QBase>
ControlFont<QBase>::~ControlFont()
{
}
template<class QBase>
void ControlFont<QBase>::setFontFace(const QString& fontName, bool rePaint)
{
ControlBase<QBase>::setFontFace(fontName.toStdWSt... | 23.955556 | 76 | 0.730983 | xylsxyls |
3ca0a2e3c91a0066195218778a8ddee37ec4faaf | 5,408 | cpp | C++ | audio/common/yas_audio_types.cpp | objective-audio/audio_engine | e98d3265f15dbf716c36ddfecc6ce1f0e5c22eb0 | [
"MIT"
] | 6 | 2016-05-24T14:25:41.000Z | 2021-05-29T02:53:26.000Z | audio/common/yas_audio_types.cpp | objective-audio/audio_engine | e98d3265f15dbf716c36ddfecc6ce1f0e5c22eb0 | [
"MIT"
] | null | null | null | audio/common/yas_audio_types.cpp | objective-audio/audio_engine | e98d3265f15dbf716c36ddfecc6ce1f0e5c22eb0 | [
"MIT"
] | null | null | null | //
// yas_audio_types.cpp
//
#include "yas_audio_types.h"
#import <AudioToolbox/AudioToolbox.h>
using namespace yas;
using namespace yas::audio;
uint32_t yas::to_uint32(direction const &dir) {
return static_cast<uint32_t>(dir);
}
std::string yas::to_string(pcm_format const &pcm_format) {
switch (pcm_forma... | 31.44186 | 82 | 0.63443 | objective-audio |
3ca5f2e2d214dd4900799aff6d124f97c43ce325 | 1,554 | cpp | C++ | DATA STRUCTURE/LinkedListSTACK.cpp | Rakeshducs/SOFTWARE-ENGINEER | a9c06a167992ecd643bfe56113f3ef1d158d42c4 | [
"Unlicense"
] | 1 | 2020-09-19T05:37:38.000Z | 2020-09-19T05:37:38.000Z | DATA STRUCTURE/LinkedListSTACK.cpp | Rakeshducs/SOFTWARE-ENGINEER | a9c06a167992ecd643bfe56113f3ef1d158d42c4 | [
"Unlicense"
] | null | null | null | DATA STRUCTURE/LinkedListSTACK.cpp | Rakeshducs/SOFTWARE-ENGINEER | a9c06a167992ecd643bfe56113f3ef1d158d42c4 | [
"Unlicense"
] | 1 | 2020-09-19T05:37:38.000Z | 2020-09-19T05:37:38.000Z | #include<iostream>
using namespace std;
class LinkedListStack
{
public:
int top;
struct Node
{
int data;
Node *next;
Node *prev;
}*temp,*first,*last;
LinkedListStack()
{
temp=NULL;
first=NULL;
last=NULL;
top=-1;
}
void PUSH(int);
int POP();
void Display();
};
void LinkedListSt... | 15.087379 | 53 | 0.602317 | Rakeshducs |
3ca84a26443b4f04a1d52047bb1caca2ce448040 | 2,505 | cpp | C++ | src/cast_core/src/actors/Insert.cpp | henrikingo/genny | 2dd90fb244cfdacff5e4e88265a45a784fae2abe | [
"Apache-2.0"
] | null | null | null | src/cast_core/src/actors/Insert.cpp | henrikingo/genny | 2dd90fb244cfdacff5e4e88265a45a784fae2abe | [
"Apache-2.0"
] | null | null | null | src/cast_core/src/actors/Insert.cpp | henrikingo/genny | 2dd90fb244cfdacff5e4e88265a45a784fae2abe | [
"Apache-2.0"
] | null | null | null | // Copyright 2019-present MongoDB Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 34.315068 | 98 | 0.671856 | henrikingo |
3cac34bfd9007c0cfb259cff1482789e06d583b7 | 17,143 | hpp | C++ | src/hitomi_measurement/powerspec.hpp | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | 6 | 2021-09-28T04:00:56.000Z | 2022-03-23T03:49:19.000Z | src/hitomi_measurement/powerspec.hpp | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | null | null | null | src/hitomi_measurement/powerspec.hpp | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | null | null | null | #ifndef __powerspec__
#define __powerspec__
int calcPowerSpectrum(
ParticleBOSSClass & P_D, ParticleBOSSClass & P_R,
ParameterClass & param, double alpha, double * kbin, double Vsurvey) {
/*************************************************************************************************/
/* Th... | 32.715649 | 133 | 0.57277 | naonori |
3caeeeff44204141a3228a96da4eee231fa5b452 | 2,808 | cpp | C++ | cssmh/hooks/DrawModelExecute.cpp | rdbo/cssmh | d936ba45aab1f57ffb2bbbf329125386f4df0a41 | [
"MIT"
] | 4 | 2021-09-21T03:12:18.000Z | 2021-12-17T17:41:34.000Z | cssmh/hooks/DrawModelExecute.cpp | rdbo/cssmh | d936ba45aab1f57ffb2bbbf329125386f4df0a41 | [
"MIT"
] | null | null | null | cssmh/hooks/DrawModelExecute.cpp | rdbo/cssmh | d936ba45aab1f57ffb2bbbf329125386f4df0a41 | [
"MIT"
] | null | null | null | #include <cssmh.hpp>
typedef void (*DrawModelExecuteFn)(IVModelRender *thisptr, const DrawModelState_t &state, const ModelRenderInfo_t &pInfo, matrix3x4_t *pCustomBoneToWorld);
void CSSMH::Hooks::DrawModelExecute(IVModelRender *thisptr, const DrawModelState_t &state, const ModelRenderInfo_t &pInfo, matrix3x4_t *pCust... | 46.032787 | 155 | 0.71688 | rdbo |
3cb0c7a930c7217aa40729ba1367ed829b52794f | 7,239 | hpp | C++ | mac.hpp | cbrl/finn-hlslib | 495749519c2bfc26b70d60b7bbd97c802f75baca | [
"BSD-3-Clause"
] | null | null | null | mac.hpp | cbrl/finn-hlslib | 495749519c2bfc26b70d60b7bbd97c802f75baca | [
"BSD-3-Clause"
] | null | null | null | mac.hpp | cbrl/finn-hlslib | 495749519c2bfc26b70d60b7bbd97c802f75baca | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* Copyright (c) 2019, Xilinx, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributio... | 40.216667 | 126 | 0.656306 | cbrl |
3cb20f68f9a2647521815be3979062969c6bc254 | 977 | hpp | C++ | include/apex/detail/prelude/trivial.hpp | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | null | null | null | include/apex/detail/prelude/trivial.hpp | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | null | null | null | include/apex/detail/prelude/trivial.hpp | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | null | null | null | #ifndef APEX_DETAIL_PRELUDE_TRIVIAL_HPP
#define APEX_DETAIL_PRELUDE_TRIVIAL_HPP
#include <apex/detail/prelude/reference.hpp>
namespace apex::detail {
template <class T> concept trivially_destructible = ::std::is_trivially_destructible_v<T>;
template <class T> concept trivially_copy_constructible = ::std::is_trivial... | 36.185185 | 102 | 0.812692 | slurps-mad-rips |
3cb280aac3af3d9dc5eeaf80a836b24262edd7cd | 23,764 | cpp | C++ | src/game/client/swarm/vgui/asw_vgui_computer_mail.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | src/game/client/swarm/vgui/asw_vgui_computer_mail.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | src/game/client/swarm/vgui/asw_vgui_computer_mail.cpp | BlueNovember/alienswarm-reactivedrop | ffaca58157f9fdd36e5c48e8d7d34d8ca958017e | [
"CC0-1.0"
] | null | null | null | #include "cbase.h"
#include "asw_vgui_computer_mail.h"
#include "asw_vgui_computer_menu.h"
#include "vgui/ISurface.h"
#include "c_asw_hack_computer.h"
#include "c_asw_computer_area.h"
#include <vgui/IInput.h>
#include <vgui_controls/AnimationController.h>
#include <vgui_controls/ImagePanel.h>
#include "vgui_co... | 34.192806 | 169 | 0.708467 | BlueNovember |
3cb67a461b8a59e177e2ff751fdecbaac968ef22 | 2,038 | hpp | C++ | qubus/include/qubus/qtl/pattern/tensor.hpp | qubusproject/Qubus | 0feb8d6df00459c5af402545dbe7c82ee3ec4b7c | [
"BSL-1.0"
] | null | null | null | qubus/include/qubus/qtl/pattern/tensor.hpp | qubusproject/Qubus | 0feb8d6df00459c5af402545dbe7c82ee3ec4b7c | [
"BSL-1.0"
] | null | null | null | qubus/include/qubus/qtl/pattern/tensor.hpp | qubusproject/Qubus | 0feb8d6df00459c5af402545dbe7c82ee3ec4b7c | [
"BSL-1.0"
] | null | null | null | #ifndef QUBUS_QTL_PATTERN_TENSOR_HPP
#define QUBUS_QTL_PATTERN_TENSOR_HPP
#include <qubus/IR/type.hpp>
#include <qubus/IR/variable_ref_expr.hpp>
#include <qubus/pattern/any.hpp>
#include <qubus/pattern/type.hpp>
#include <qubus/pattern/variable.hpp>
#include <functional>
#include <utility>
namespace qubus
{
namespac... | 22.395604 | 116 | 0.628557 | qubusproject |
3cb76804df8525deb2fb290c353b92e3cd6a8428 | 1,399 | cpp | C++ | Source/Core/FileFormat/BDML/XYZSequenceTag.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/Core/FileFormat/BDML/XYZSequenceTag.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/Core/FileFormat/BDML/XYZSequenceTag.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************/
/**
* @file XYZSequenceTag.cpp
* @author Naohisa Sakamoto
*/
/*----------------------------------------------------------------------------
*
* Copyright (c) Visualization Laboratory, Kyoto University.
* All rights reserved.
* ... | 22.934426 | 79 | 0.512509 | CCSEPBVR |
3cbb4992ce520028257871fbde1b450e98d5e41d | 4,631 | cpp | C++ | sources/IatHook.cpp | Macweese/PolyHook_2_0 | 95573a3b2fba16d46d6f77d16aac1925c8253947 | [
"MIT"
] | null | null | null | sources/IatHook.cpp | Macweese/PolyHook_2_0 | 95573a3b2fba16d46d6f77d16aac1925c8253947 | [
"MIT"
] | null | null | null | sources/IatHook.cpp | Macweese/PolyHook_2_0 | 95573a3b2fba16d46d6f77d16aac1925c8253947 | [
"MIT"
] | null | null | null | #include "polyhook2/PE/IatHook.hpp"
PLH::IatHook::IatHook(const std::string& dllName, const std::string& apiName, const char* fnCallback, uint64_t* userOrigVar, const std::wstring& moduleName)
: IatHook(dllName, apiName, (uint64_t)fnCallback, userOrigVar, moduleName)
{}
PLH::IatHook::IatHook(const std::string& dllN... | 34.559701 | 160 | 0.722306 | Macweese |
3cc026028f81518e8b13d2a4396219cabbc0863e | 657 | hpp | C++ | include/ecfw/detail/buffer.hpp | N-A-D/ecfw | e46ca38b2f9440cb6d2a2ff7f76410dc4dbad8a7 | [
"MIT"
] | null | null | null | include/ecfw/detail/buffer.hpp | N-A-D/ecfw | e46ca38b2f9440cb6d2a2ff7f76410dc4dbad8a7 | [
"MIT"
] | null | null | null | include/ecfw/detail/buffer.hpp | N-A-D/ecfw | e46ca38b2f9440cb6d2a2ff7f76410dc4dbad8a7 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <type_traits>
#include <boost/container/vector.hpp>
#include <boost/dynamic_bitset.hpp>
namespace ecfw
{
namespace detail
{
template <typename T>
using buffer = boost::container::vector<T>;
using buffer_ptr = std::unique_ptr<void, void(*)(const void*)>;
/... | 23.464286 | 67 | 0.65449 | N-A-D |
3cc175988cc5072faef642d1957b8efba3b94efd | 1,284 | cpp | C++ | src/boxfilter.cpp | DavidePistilli173/cloud_visualiser | abb11ca11eb3cd6ee5f81ea0bca0323e2649f33b | [
"Apache-2.0"
] | null | null | null | src/boxfilter.cpp | DavidePistilli173/cloud_visualiser | abb11ca11eb3cd6ee5f81ea0bca0323e2649f33b | [
"Apache-2.0"
] | null | null | null | src/boxfilter.cpp | DavidePistilli173/cloud_visualiser | abb11ca11eb3cd6ee5f81ea0bca0323e2649f33b | [
"Apache-2.0"
] | null | null | null | #include <cloud_visualiser/boxfilter.hpp>
#include <ros/ros.h>
namespace cloud_viz {
BoxFilter::BoxFilter() { init_(); }
BoxFilter::BoxFilter(const Box<float>& box)
: box_(box)
{
init_();
}
const Box<float>& BoxFilter::box() const { return box_; }
void BoxFilter::setBox(const Box<float>& box)
{... | 27.913043 | 96 | 0.695483 | DavidePistilli173 |
3cd08e3c0d9980b4a441b8247bc0ce554bf43cbc | 2,967 | cc | C++ | algorithms/ceres-error-terms/src/parameterization/quaternion-param-eigen.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 1,936 | 2017-11-27T23:11:37.000Z | 2022-03-30T14:24:14.000Z | algorithms/ceres-error-terms/src/parameterization/quaternion-param-eigen.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 353 | 2017-11-29T18:40:39.000Z | 2022-03-30T15:53:46.000Z | algorithms/ceres-error-terms/src/parameterization/quaternion-param-eigen.cc | AdronTech/maplab | 1340e01466fc1c02994860723b8117daf9ad226d | [
"Apache-2.0"
] | 661 | 2017-11-28T07:20:08.000Z | 2022-03-28T08:06:29.000Z | #include <ceres-error-terms/parameterization/quaternion-param-eigen.h>
#include <maplab-common/quaternion-math.h>
namespace ceres_error_terms {
bool EigenQuaternionParameterization::Plus(
const double* x, const double* delta, double* x_plus_delta) const {
const Eigen::Map<const Eigen::Vector4d> q_current(x);
... | 37.556962 | 113 | 0.658578 | AdronTech |
3cd44e718cfcc53bf2ef7e1a9a12520f711eb09b | 435 | cpp | C++ | raytracer/ray.cpp | bdolinar/ray_tracer_challenge_cpp | 96e746b58ca4a173583ecbccfcde714a22b12935 | [
"BSD-2-Clause"
] | null | null | null | raytracer/ray.cpp | bdolinar/ray_tracer_challenge_cpp | 96e746b58ca4a173583ecbccfcde714a22b12935 | [
"BSD-2-Clause"
] | null | null | null | raytracer/ray.cpp | bdolinar/ray_tracer_challenge_cpp | 96e746b58ca4a173583ecbccfcde714a22b12935 | [
"BSD-2-Clause"
] | null | null | null | #include <raytracer/ray.h>
#include <raytracer/matrix.h>
//------------------------------------------------------------------------------
Tuple Ray::position(double a_t) const
{
return origin() + direction() * a_t;
}
//------------------------------------------------------------------------------
Ray Ray::transfo... | 24.166667 | 80 | 0.429885 | bdolinar |
3cdc7efe1def91b4989faaca402b1b322e7fb4bc | 14,201 | cpp | C++ | QuoteVerification/QVL/Src/AttestationParsers/test/UnitTests/TcbInfoV2UT.cpp | dpuzikox/SGXDataCenterAttestationPrimitives | 88c8bb619db0945623256138a980f950139e6013 | [
"BSD-3-Clause"
] | 156 | 2018-09-06T07:19:23.000Z | 2022-03-30T19:01:40.000Z | QuoteVerification/QVL/Src/AttestationParsers/test/UnitTests/TcbInfoV2UT.cpp | dpuzikox/SGXDataCenterAttestationPrimitives | 88c8bb619db0945623256138a980f950139e6013 | [
"BSD-3-Clause"
] | 136 | 2018-10-02T00:58:26.000Z | 2022-03-21T08:45:25.000Z | QuoteVerification/QVL/Src/AttestationParsers/test/UnitTests/TcbInfoV2UT.cpp | dpuzikox/SGXDataCenterAttestationPrimitives | 88c8bb619db0945623256138a980f950139e6013 | [
"BSD-3-Clause"
] | 109 | 2018-10-01T19:09:58.000Z | 2022-03-29T13:33:51.000Z | /*
* Copyright (C) 2011-2021 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | 39.667598 | 207 | 0.699458 | dpuzikox |
3cdd52f033a959bb456a914153e5bb51714a2452 | 1,241 | cpp | C++ | Methods/Stromer_number.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | Methods/Stromer_number.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | Methods/Stromer_number.cpp | Reactor11/Data-Structures-Practice | 30d758aaece930e27585f9f7a2f904e74925516b | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
// N -> N*N + 1 should be (max. prime factor of n*n+1) >= 2*N
// Approach 1:
bool isPrime(long long int n){
if (n<2) return false;
for(int i=2;i*i<=n;i++)
if(n%i==0) return false;
return true;
}
bool StromerNumber(long long int n){
long long int t,x;... | 17.478873 | 61 | 0.420629 | Reactor11 |
3cde7789b1dba6b30a2e2cba437897ce7f9e1023 | 19,832 | cc | C++ | framework/render/dx11/dx_renderer.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | 1 | 2020-12-30T23:50:01.000Z | 2020-12-30T23:50:01.000Z | framework/render/dx11/dx_renderer.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | framework/render/dx11/dx_renderer.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | // *************************************************************
// File: dx_renderer.cc
// Author: Novoselov Anton @ 2018
// URL: https://github.com/ans-hub/gdm_framework
// *************************************************************
#include "dx_renderer.h"
#include <system/bits_utils.h>
#include <system/... | 33.843003 | 118 | 0.737545 | ans-hub |
3cde837eeaece697209069a15df7a5ef3597e8cf | 14,875 | cpp | C++ | test/3rdparty/opponents/Steamhammer/Steamhammer/Source/MapTools.cpp | ratiotile/StardustDevEnvironment | 15c512b81579d8bd663db3fa8e0847d4c27f17e8 | [
"MIT"
] | 8 | 2020-09-29T17:11:15.000Z | 2022-01-29T20:41:33.000Z | test/3rdparty/opponents/Steamhammer/Steamhammer/Source/MapTools.cpp | ratiotile/StardustDevEnvironment | 15c512b81579d8bd663db3fa8e0847d4c27f17e8 | [
"MIT"
] | 1 | 2021-03-08T17:43:05.000Z | 2021-03-09T06:35:04.000Z | test/3rdparty/opponents/Steamhammer/Steamhammer/Source/MapTools.cpp | ratiotile/StardustDevEnvironment | 15c512b81579d8bd663db3fa8e0847d4c27f17e8 | [
"MIT"
] | 1 | 2021-03-01T04:31:30.000Z | 2021-03-01T04:31:30.000Z | #include "MapTools.h"
#include "Bases.h"
#include "BuildingPlacer.h"
#include "InformationManager.h"
#include "The.h"
using namespace UAlbertaBot;
MapTools & MapTools::Instance()
{
static MapTools instance;
return instance;
}
MapTools::MapTools()
: the(The::Root())
{
// Figure out which tiles are walkable... | 31.716418 | 137 | 0.630655 | ratiotile |
3cdfdf5dfc5bc358607baf13a8fead55b407bcb0 | 1,774 | cpp | C++ | tests/nostdlib/llvm_passes/SimplifyCFG/ConstCmpGather/constcmpgather.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | tests/nostdlib/llvm_passes/SimplifyCFG/ConstCmpGather/constcmpgather.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | tests/nostdlib/llvm_passes/SimplifyCFG/ConstCmpGather/constcmpgather.cpp | jmorse/dexter | 79cefa890d041dfc927aea2a84737aa704ddd35c | [
"MIT"
] | null | null | null | // RUN: %dexter
#include <stdio.h>
// This gets threaded into being a switch; should have very little effect on
// debuggability
int
look(int val, int pony, int *nou) // DexWatch('val', 'pony', '*nou')
{
int frob = 0; // DexWatch('val', 'pony', '*nou', 'frob', 'out')
int out = 0; // DexWa... | 32.851852 | 77 | 0.550169 | jmorse |
c9e3dadb6b2a7d9ff626b1989fd1180b78861dcc | 12,748 | cpp | C++ | 3dtiles/mesh.cpp | Melown/lib3dtiles | de746e027b132eff24fc9da19ac4a3909e5b1c4a | [
"BSD-2-Clause"
] | 12 | 2019-09-03T21:52:15.000Z | 2021-11-16T11:39:40.000Z | 3dtiles/mesh.cpp | Melown/lib3dtiles | de746e027b132eff24fc9da19ac4a3909e5b1c4a | [
"BSD-2-Clause"
] | null | null | null | 3dtiles/mesh.cpp | Melown/lib3dtiles | de746e027b132eff24fc9da19ac4a3909e5b1c4a | [
"BSD-2-Clause"
] | 5 | 2019-09-26T06:53:09.000Z | 2021-01-15T06:06:31.000Z | /**
* Copyright (c) 2019 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 31.168704 | 78 | 0.599153 | Melown |
c9e432c93f167b827cfacc208f6eb2bc31d1c539 | 748 | cpp | C++ | CC/febLong/subsets.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2020-10-09T11:25:19.000Z | 2021-02-15T10:40:08.000Z | CC/febLong/subsets.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | null | null | null | CC/febLong/subsets.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2021-02-10T16:29:04.000Z | 2021-02-21T16:33:01.000Z | #include<bits/stdc++.h>
using namespace std;
vector<int> v, res;
vector<vector<int>> result;
void subset(int arr[],int k,int n,int idx){
if(idx==n)
return;
if(k==1){
for(int i=idx;i<n;i++){
v.push_back(arr[i]);
result.push_back(v);
v.pop_back();
}
... | 19.684211 | 53 | 0.463904 | saurav-07 |
c9e5fb3adfc3cbd18fb30e01a9968c5ad5bd8dcb | 3,420 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcCurveStyleFontPattern.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcCurveStyleFontPattern.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcCurveStyleFontPattern.cpp | yorikvanhavre/ifcplusplus | eec5160bfb07de66ad40db48bb7eca66e9351b85 | [
"MIT"
] | null | null | null | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include... | 57 | 242 | 0.774854 | yorikvanhavre |
c9e7f297aa32cdf8b73c70a9073839b8cdf92c32 | 3,050 | cpp | C++ | aws-cpp-sdk-apigateway/source/model/PutMethodRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2020-07-16T19:03:13.000Z | 2020-07-16T19:03:13.000Z | aws-cpp-sdk-apigateway/source/model/PutMethodRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 18 | 2018-05-15T16:41:07.000Z | 2018-05-21T00:46:30.000Z | aws-cpp-sdk-apigateway/source/model/PutMethodRequest.cpp | woohoou/aws-sdk-cpp | a42835a8aad2eac1e334d899a3fbfedcaa341d51 | [
"Apache-2.0"
] | 1 | 2019-10-31T11:19:50.000Z | 2019-10-31T11:19:50.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 26.754386 | 141 | 0.769836 | woohoou |
c9e8619f89ca564bf79ea8f3a0c599e7c6356ded | 736 | cpp | C++ | codejam/2020/qualification/parenting_partnering_returns.cpp | larc/competitive_programming | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | 1 | 2019-05-23T19:05:39.000Z | 2019-05-23T19:05:39.000Z | codejam/2020/qualification/parenting_partnering_returns.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | codejam/2020/qualification/parenting_partnering_returns.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <algorithm>
struct activity
{
int s, e, i;
bool operator < (const activity & a)
{
return s == a.s ? e < a.e : s < a.s;
}
};
int main()
{
int T, N, J, C;
activity A[1001];
char ans[1001];
scanf("%d", &T);
for(int x = 1; x <= T; ++x)
{
scanf("%d", &N);
for(int i = 0; i < N; ... | 12.266667 | 57 | 0.404891 | larc |
c9e8e9449e0ace810d6e3e7e47a71c572631e09e | 58 | cpp | C++ | Unreal/CtaCpp/Runtime/Scripts/Scenario/ScenarioObject.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | 3 | 2021-06-02T16:44:02.000Z | 2022-01-24T20:20:10.000Z | Unreal/CtaCpp/Runtime/Scripts/Scenario/ScenarioObject.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | Unreal/CtaCpp/Runtime/Scripts/Scenario/ScenarioObject.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | #include "ScenarioObject.h"
namespace Cta::Scenario
{
}
| 9.666667 | 28 | 0.724138 | areilly711 |
c9f085a9e2b803e305811c154a43c21fabd9a38f | 142,035 | cpp | C++ | ssc/cmod_tcsmolten_salt_tcs_solver.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 61 | 2017-08-09T15:10:59.000Z | 2022-02-15T21:45:31.000Z | ssc/cmod_tcsmolten_salt_tcs_solver.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 462 | 2017-07-31T21:26:46.000Z | 2022-03-30T22:53:50.000Z | ssc/cmod_tcsmolten_salt_tcs_solver.cpp | JordanMalan/ssc | cadb7a9f3183d63c600b5c33f53abced35b6b319 | [
"BSD-3-Clause"
] | 73 | 2017-08-24T17:39:31.000Z | 2022-03-28T08:37:47.000Z | /**
BSD-3-Clause
Copyright 2019 Alliance for Sustainable Energy, LLC
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... | 101.092527 | 274 | 0.44125 | JordanMalan |
c9f384b65f9ab217cf7c6f9d738924d72f92f6af | 1,429 | cpp | C++ | tests/cthread/test_for_fcall_fail.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 86 | 2020-10-23T15:59:47.000Z | 2022-03-28T18:51:19.000Z | tests/cthread/test_for_fcall_fail.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 18 | 2020-12-14T13:11:26.000Z | 2022-03-14T05:34:20.000Z | tests/cthread/test_for_fcall_fail.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 17 | 2020-10-29T16:19:43.000Z | 2022-03-11T09:51:05.000Z | /******************************************************************************
* Copyright (c) 2020, Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception.
*
*****************************************************************************/
#include "systemc.h"
#include <sc... | 21.014706 | 83 | 0.456963 | hachetman |
c9f77073dd2708cd37fdb14e14e3388ed14d4541 | 2,915 | cpp | C++ | tests/Writer.cpp | wnewbery/cpp-json | 3f4edf99ca67847c6a32ce09cc9ae48c9477d550 | [
"MIT"
] | null | null | null | tests/Writer.cpp | wnewbery/cpp-json | 3f4edf99ca67847c6a32ce09cc9ae48c9477d550 | [
"MIT"
] | null | null | null | tests/Writer.cpp | wnewbery/cpp-json | 3f4edf99ca67847c6a32ce09cc9ae48c9477d550 | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include "Writer.hpp"
#include <unordered_map>
#include <vector>
using namespace json;
BOOST_AUTO_TEST_SUITE(TestWriter)
template<typename T> std::string write_single(const T &val)
{
Writer writer;
writer.value(val);
return writer.str();
}
BOOST_AUTO_TEST_CASE(single)
... | 22.083333 | 103 | 0.602744 | wnewbery |
c9fda6cc4da20e175f01204d60c11a9ede6cea01 | 18,461 | hpp | C++ | general/communication.hpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 969 | 2015-07-10T02:28:17.000Z | 2022-03-31T17:28:02.000Z | general/communication.hpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 2,604 | 2015-07-14T08:22:22.000Z | 2022-03-31T23:51:41.000Z | general/communication.hpp | ajithvallabai/mfem | 5920fbf645f328c29a9d6489f2474d989f808451 | [
"BSD-3-Clause"
] | 407 | 2015-08-26T14:14:22.000Z | 2022-03-31T03:32:16.000Z | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | 35.570328 | 80 | 0.66264 | ajithvallabai |
c9ff7aa574827894f5cb3bb69e37607b292bcc38 | 2,156 | cpp | C++ | Cracking Fenwick Tree to the root V1/Solutions/red_maple/I/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | null | null | null | Cracking Fenwick Tree to the root V1/Solutions/red_maple/I/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | 5 | 2019-04-30T22:31:36.000Z | 2019-05-07T00:15:23.000Z | Cracking Fenwick Tree to the root V1/Solutions/red_maple/I/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | 5 | 2019-05-01T05:08:43.000Z | 2019-05-07T18:13:18.000Z |
#include <bits/stdc++.h>
#include <limits.h>
#include <algorithm>
#include <numeric>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
#define endl '\n'
using ll = long long;
const int precision = 16;
cons... | 22.226804 | 68 | 0.439703 | gmeligio |
a0031c0383cd38157c720a06c7ff83e7acadeb15 | 783 | cpp | C++ | src/test/src/string_tests.cpp | DavidSlayback/megaverse | 6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc | [
"MIT"
] | 149 | 2021-06-09T01:28:57.000Z | 2022-03-30T20:31:25.000Z | src/test/src/string_tests.cpp | DavidSlayback/megaverse | 6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc | [
"MIT"
] | 4 | 2021-06-30T17:06:18.000Z | 2022-02-17T21:58:13.000Z | src/test/src/string_tests.cpp | DavidSlayback/megaverse | 6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc | [
"MIT"
] | 13 | 2021-07-10T06:49:24.000Z | 2022-03-08T05:11:35.000Z | #include <gtest/gtest.h>
#include <util/string_utils.hpp>
using namespace Megaverse;
TEST(str, startsWith)
{
EXPECT_TRUE(startsWith("abc", "a"));
EXPECT_TRUE(startsWith("abc", "ab"));
EXPECT_TRUE(startsWith("abc", "abc"));
EXPECT_TRUE(startsWith("abc", ""));
EXPECT_FALSE(startsWith("abc", "abcd... | 24.46875 | 44 | 0.619413 | DavidSlayback |
a005cf6e55f87812d68442dcca505bb1ed093e90 | 710 | hpp | C++ | hvlov-server/utils/include/IFileSystemLister.hpp | FranckRJ/HVlov-server | 5ae9131452fbad06405b157169337501346a75a1 | [
"Zlib"
] | null | null | null | hvlov-server/utils/include/IFileSystemLister.hpp | FranckRJ/HVlov-server | 5ae9131452fbad06405b157169337501346a75a1 | [
"Zlib"
] | null | null | null | hvlov-server/utils/include/IFileSystemLister.hpp | FranckRJ/HVlov-server | 5ae9131452fbad06405b157169337501346a75a1 | [
"Zlib"
] | null | null | null | #pragma once
#include <filesystem>
#include <vector>
#include "BaseInterface.hpp"
#include "FileInfo.hpp"
namespace hvlov
{
/*!
* Interface used to list entries on the file system depending on some criteria.
*/
class IFileSystemLister : public BaseInterface
{
public:
/*!
* ... | 27.307692 | 116 | 0.664789 | FranckRJ |
a00f5e740b2d063a1edb31a6ff654dad484c2c5c | 87 | cpp | C++ | docs/atl/codesnippet/CPP/ccomcurrency-class_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/atl/codesnippet/CPP/ccomcurrency-class_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/atl/codesnippet/CPP/ccomcurrency-class_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | CComCurrency cur(10, 5000);
cur /= 10;
ATLASSERT(cur == CComCurrency(1, 500)); | 29 | 42 | 0.62069 | bobbrow |
a010bbe631734269ae7efcdd4783b2d58c14380b | 24,985 | cpp | C++ | src/Plugins/BulletPhysics/BulletPhysicsBindings/PhysicsWorldBindings.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 13 | 2015-02-25T02:42:38.000Z | 2018-07-31T11:40:56.000Z | src/Plugins/BulletPhysics/BulletPhysicsBindings/PhysicsWorldBindings.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 8 | 2015-02-12T22:27:05.000Z | 2017-01-21T15:59:17.000Z | src/Plugins/BulletPhysics/BulletPhysicsBindings/PhysicsWorldBindings.cpp | realXtend/tundra-urho3d | 436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8 | [
"Apache-2.0"
] | 12 | 2015-03-25T21:10:50.000Z | 2019-04-10T09:03:10.000Z | // For conditions of distribution and use, see copyright notice in LICENSE
// This file has been autogenerated with BindingsGenerator
#include "StableHeaders.h"
#include "CoreTypes.h"
#include "JavaScriptInstance.h"
#include "LoggingFunctions.h"
#include "PhysicsWorld.h"
#ifdef _MSC_VER
#pragma warning(disa... | 43.003442 | 186 | 0.745367 | realXtend |
a012cdf5ec469393e65480081f44bcf3afe5b284 | 1,589 | cpp | C++ | lq/12/province2/C/12.cpp | StableAgOH/solution-codes | 1fde9424a40f989570e05d7340ddd5497a0d390d | [
"CC0-1.0"
] | null | null | null | lq/12/province2/C/12.cpp | StableAgOH/solution-codes | 1fde9424a40f989570e05d7340ddd5497a0d390d | [
"CC0-1.0"
] | null | null | null | lq/12/province2/C/12.cpp | StableAgOH/solution-codes | 1fde9424a40f989570e05d7340ddd5497a0d390d | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <ctime>
using namespace std;
//==========================================
#include <cmath>
const int maxn = 1e6+5;
const int mod = 1e9+7;
typedef long long ll;
ll qpow(ll a,ll k)
{
ll res = 1;
for(;k;k>>=1,a=a*a%mod)
if(k&1) res=res*a%mod;
return res;
}
ll fct[maxn]={0,1... | 24.828125 | 71 | 0.451857 | StableAgOH |
a015359878e1dfc07ee772ba43caa570cc4bfd32 | 3,339 | hpp | C++ | examples/17_winchat/chatter/services/NetworkSetup.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 70 | 2021-07-20T11:26:16.000Z | 2022-03-27T11:17:43.000Z | examples/17_winchat/chatter/services/NetworkSetup.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 32 | 2021-07-31T05:20:44.000Z | 2022-03-20T10:11:52.000Z | examples/17_winchat/chatter/services/NetworkSetup.hpp | Ali-Nasrolahi/areg-sdk | 4fbc2f2644220196004a31672a697a864755f0b6 | [
"Apache-2.0"
] | 40 | 2021-11-02T09:45:38.000Z | 2022-03-27T11:17:46.000Z | #pragma once
#include "generated/ConnectionManagerClientBase.hpp"
class Component;
class ConnectionHandler;
class NetworkSetup : public ConnectionManagerClientBase
{
public:
NetworkSetup( const char * roleName, Component & owner, ConnectionHandler & handlerConnection );
virtual ~NetworkSetup( );
void Di... | 48.391304 | 155 | 0.536688 | Ali-Nasrolahi |
a01613a973cf289e5fd36615089a086048c3b6d1 | 1,195 | hh | C++ | src/ast/all.hh | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | src/ast/all.hh | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | src/ast/all.hh | MrMaDGaME/Tiger | f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f | [
"MIT"
] | null | null | null | /**
** \file ast/all.hh
** \brief Include all the exported headers.
*/
#pragma once
#include <ast/fwd.hh>
#include <ast/chunk.hh>
#include <ast/array-exp.hh>
#include <ast/array-ty.hh>
#include <ast/assign-exp.hh>
#include <ast/ast.hh>
#include <ast/break-exp.hh>
#include <ast/call-exp.hh>
#include <ast/cast-exp... | 23.431373 | 44 | 0.702929 | MrMaDGaME |
a01656631c80dd9b00c7110a541f5020f94650c6 | 86,949 | cpp | C++ | src/types/WideString.cpp | DNS-OARC/pplib | f7a479a1049e859cd0c97380a134d7e8f22939f0 | [
"BSD-2-Clause"
] | null | null | null | src/types/WideString.cpp | DNS-OARC/pplib | f7a479a1049e859cd0c97380a134d7e8f22939f0 | [
"BSD-2-Clause"
] | null | null | null | src/types/WideString.cpp | DNS-OARC/pplib | f7a479a1049e859cd0c97380a134d7e8f22939f0 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* This file is part of "Patrick's Programming Library", Version 7 (PPL7).
* Web: http://www.pfp.de/ppl/
*
* $Author$
* $Revision$
* $Date$
* $Id$
*
*******************************************************************************
*... | 26.276519 | 119 | 0.708277 | DNS-OARC |
a01e3e49c6be5be50f0e9207267b4d608a2ef21e | 12,747 | cpp | C++ | smnchai/src/smnchai_utils.cpp | sduerr85/OpenBuildNet | 126feb4d17558e7bfe1e2e6f081bbfbf1514496f | [
"MIT"
] | null | null | null | smnchai/src/smnchai_utils.cpp | sduerr85/OpenBuildNet | 126feb4d17558e7bfe1e2e6f081bbfbf1514496f | [
"MIT"
] | null | null | null | smnchai/src/smnchai_utils.cpp | sduerr85/OpenBuildNet | 126feb4d17558e7bfe1e2e6f081bbfbf1514496f | [
"MIT"
] | null | null | null | /* -*- mode: C++; indent-tabs-mode: nil; -*- */
/** \file
* \brief Utility Chaiscrip API for SMNChai.
*
* This file is part of the openBuildNet simulation framework
* (OBN-Sim) developed at EPFL.
*
* \author Truong X. Nghiem (xuan.nghiem@epfl.ch)
*/
#include <cstdlib>
#include <smnchai_api.h>
#include <csvpars... | 30.063679 | 120 | 0.58704 | sduerr85 |
a0224ea8e393555a90a573b7127fe83b798d29f0 | 14,086 | cpp | C++ | Source/CyberStealth2021/Core/Player/StealthPlayerMovement.cpp | MatthewZelriche/CyberStealth2021 | fd3dbf4d7ab17ad13d9bf22b2fe0df49df694cd8 | [
"MIT"
] | null | null | null | Source/CyberStealth2021/Core/Player/StealthPlayerMovement.cpp | MatthewZelriche/CyberStealth2021 | fd3dbf4d7ab17ad13d9bf22b2fe0df49df694cd8 | [
"MIT"
] | null | null | null | Source/CyberStealth2021/Core/Player/StealthPlayerMovement.cpp | MatthewZelriche/CyberStealth2021 | fd3dbf4d7ab17ad13d9bf22b2fe0df49df694cd8 | [
"MIT"
] | null | null | null | // Copyright 2021 MatthewZelriche. Licensed under the MIT License. See the included LICENSE.md file for details.
#include "StealthPlayerMovement.h"
#include "GameFramework/Character.h"
#include "Components/CapsuleComponent.h"
#include "GameFramework/SpringArmComponent.h"
#include "StealthPlayerCharacter.h"
#include "... | 39.456583 | 183 | 0.776374 | MatthewZelriche |
a02348aa74fc828235e58cf8bc940f098823a35a | 392 | cpp | C++ | 4_queues/C++/Concepts/queue_stl.cpp | emashutosh/dsa-with-python-and-cpp | 6f4c36f8a1a2152d598af49fa21fb5ad22a443c7 | [
"Apache-2.0"
] | 4 | 2020-08-10T16:34:16.000Z | 2021-05-20T11:48:59.000Z | 4_queues/C++/Concepts/queue_stl.cpp | emashutosh/dsa-with-python-and-cpp | 6f4c36f8a1a2152d598af49fa21fb5ad22a443c7 | [
"Apache-2.0"
] | 1 | 2020-10-29T12:56:53.000Z | 2020-10-29T12:56:53.000Z | 4_queues/C++/Concepts/queue_stl.cpp | emashutosh/dsa-with-python-and-cpp | 6f4c36f8a1a2152d598af49fa21fb5ad22a443c7 | [
"Apache-2.0"
] | 1 | 2020-10-15T16:11:05.000Z | 2020-10-15T16:11:05.000Z | #include <iostream>
#include <queue>
using namespace std;
void print(queue<int> q){
while(!q.empty()){
cout << q.front() << " ";
q.pop();
}
cout << "\n";
}
int main(){
queue <int> q;
// PUSH
q.push(5);
q.push(10);
q.push(15);
q.push(20);
print(q);
// POP
... | 13.517241 | 33 | 0.446429 | emashutosh |
a02383f5ba40e6412e93fd988de348c35052d478 | 5,109 | cpp | C++ | kernel/src/system/input/keyboardmanager.cpp | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 87 | 2019-03-04T21:16:20.000Z | 2022-01-30T15:10:44.000Z | kernel/src/system/input/keyboardmanager.cpp | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 5 | 2019-04-24T10:33:55.000Z | 2021-06-13T09:46:28.000Z | kernel/src/system/input/keyboardmanager.cpp | Remco123/CactusOS | de4c61211c2908cf1a27d8ccbeb6340133772454 | [
"MIT"
] | 2 | 2020-11-13T08:56:09.000Z | 2021-08-01T06:38:31.000Z | #include <system/input/keyboardmanager.h>
#include <../../lib/include/shared.h>
#include <system/system.h>
using namespace CactusOS;
using namespace CactusOS::common;
using namespace CactusOS::system;
KeyboardManager::KeyboardManager()
{
MemoryOperations::memset(&this->sharedStatus, 0, sizeof(this->sharedStatus)... | 34.755102 | 150 | 0.606968 | Remco123 |
a028c40c87754103c1238ce80f827a92c6be8590 | 3,966 | hpp | C++ | include/ocilibcpp/detail/CollectionIterator.hpp | AdamRossWalker/ocilib-1 | 1ca96d2797dce1c9b562707166e4fb3ce576fe56 | [
"Apache-2.0"
] | 290 | 2015-07-07T12:53:43.000Z | 2022-02-19T13:17:56.000Z | include/ocilibcpp/detail/CollectionIterator.hpp | RekGRpth/ocilib | 4a3a860e3106c320aef4a5bc9f9f7b88da062ac0 | [
"Apache-2.0"
] | 270 | 2015-06-25T10:04:02.000Z | 2022-03-29T11:48:19.000Z | include/ocilibcpp/detail/CollectionIterator.hpp | RekGRpth/ocilib | 4a3a860e3106c320aef4a5bc9f9f7b88da062ac0 | [
"Apache-2.0"
] | 135 | 2015-06-24T05:38:34.000Z | 2022-03-12T06:58:55.000Z | /*
* OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2021 Vincent ROGIER <vince.rogier@ocilib.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | 23.192982 | 131 | 0.735502 | AdamRossWalker |
a02efc4e5823f03d85de491cac37d1ebae7b7813 | 2,156 | cpp | C++ | Autopilot/TelemetryManager/Src/CommsWithPathManager.cpp | YashrajN/ZeroPilot-SW | 3418f7050443af86bc0e7cc8e58177a95adc40eb | [
"BSD-4-Clause"
] | null | null | null | Autopilot/TelemetryManager/Src/CommsWithPathManager.cpp | YashrajN/ZeroPilot-SW | 3418f7050443af86bc0e7cc8e58177a95adc40eb | [
"BSD-4-Clause"
] | null | null | null | Autopilot/TelemetryManager/Src/CommsWithPathManager.cpp | YashrajN/ZeroPilot-SW | 3418f7050443af86bc0e7cc8e58177a95adc40eb | [
"BSD-4-Clause"
] | null | null | null | /**
* Implements methods for sending commands to the path manager from telemetry.
* Author: Anthony Bertnyk, messed with by Gordon Fountain to co-opt for Telemetry
*/
#include "CommsWithPathManager.hpp"
extern "C"
{
#include "cmsis_os.h"
}
osMailQDef(PIGOMailQ, PATH_TELEM_MAIL_Q_SIZE, Telemetry_PIGO_t);
osMailQId... | 23.434783 | 89 | 0.640538 | YashrajN |
a02feb22e9cb19cdd8e676f1c158cf36f92c4246 | 2,342 | cpp | C++ | src/Surface.cpp | engelmarkus/RescueHim | 866c4bd159a27ea7c87af0a0295864efe521f457 | [
"MIT"
] | null | null | null | src/Surface.cpp | engelmarkus/RescueHim | 866c4bd159a27ea7c87af0a0295864efe521f457 | [
"MIT"
] | null | null | null | src/Surface.cpp | engelmarkus/RescueHim | 866c4bd159a27ea7c87af0a0295864efe521f457 | [
"MIT"
] | null | null | null | #include "Surface.h"
#include <utility>
#include <SDL.h>
#include "SdlError.h"
#include "Size.h"
#include "Rect.h"
namespace RescueHim {
namespace Sdl {
Surface::Surface(Geom::Size const& size, uint8_t r, uint8_t g, uint8_t b, uint8_t a)
: surface{nullptr, SDL_FreeSurface}
{
... | 25.736264 | 112 | 0.524338 | engelmarkus |
a0332e60ece68266abc9492a59edac0f6ab20780 | 3,376 | cpp | C++ | src/qt/voting/pollwizardprojectpage.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 366 | 2015-02-01T13:39:21.000Z | 2018-05-24T15:30:57.000Z | src/qt/voting/pollwizardprojectpage.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 1,055 | 2017-01-30T14:43:29.000Z | 2022-03-30T20:20:14.000Z | src/qt/voting/pollwizardprojectpage.cpp | barton2526/Gridcoin-Research | 636935836245be3ed9a5131e31a5029e95c0567a | [
"MIT"
] | 226 | 2015-01-05T07:44:32.000Z | 2018-05-25T18:28:46.000Z | // Copyright (c) 2014-2021 The Gridcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or https://opensource.org/licenses/mit-license.php.
#include "qt/decoration.h"
#include "qt/forms/voting/ui_pollwizardprojectpage.h"
#include "qt/voting/pollwizard.h"
#include "qt/... | 29.614035 | 90 | 0.640107 | barton2526 |
a03976dfc12a9ba1c9a6dddb63ac1a9d97606a5b | 190 | inl | C++ | common/src/util/HashUtil.inl | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 24 | 2015-10-05T00:13:57.000Z | 2020-05-06T20:14:06.000Z | common/src/util/HashUtil.inl | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 1 | 2019-11-01T08:00:55.000Z | 2019-11-01T08:00:55.000Z | common/src/util/HashUtil.inl | petitg1987/UrchinEngine | 32d4b62b1ab7e2aa781c99de11331e3738078b0c | [
"MIT"
] | 10 | 2015-11-25T07:33:13.000Z | 2020-03-02T08:21:10.000Z | template <typename... Args> void HashUtil::combine(std::size_t& seed, const Args&... args) {
((seed = seed ^ (std::hash<Args>{}(args) + 0x9e3779b9 + (seed << 6) + (seed >> 2))), ...);
}
| 47.5 | 94 | 0.568421 | petitg1987 |
a039effbe990d9ba72f7e7a88a4b2a9d5f7cbefb | 1,726 | cc | C++ | src/base/symbolic_predicate.cc | westwind2013/compi-z3.1.0 | 16046cfcb7982857dd1ea48111b0e8c23c737988 | [
"BSD-2-Clause"
] | null | null | null | src/base/symbolic_predicate.cc | westwind2013/compi-z3.1.0 | 16046cfcb7982857dd1ea48111b0e8c23c737988 | [
"BSD-2-Clause"
] | 1 | 2021-06-29T12:42:34.000Z | 2021-06-29T12:42:34.000Z | src/base/symbolic_predicate.cc | westwind2013/compi-z3.1.0 | 16046cfcb7982857dd1ea48111b0e8c23c737988 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2008, Jacob Burnim (jburnim@cs.berkeley.edu)
// Copyright (c) 2018, Hongbo Li (hli035@cs.ucr.edu)
//
// This file is part of CREST, which is distributed under the revised
// BSD license. A copy of this license can be found in the file LICENSE.
//
// This program is distributed in the hope that it will... | 25.761194 | 73 | 0.6292 | westwind2013 |
a03a6252ac655a1ea50714773680c222c9caac10 | 962,878 | cpp | C++ | test/bidi_test_611.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_test_611.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_test_611.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
std::vector<int> expected_levels;
std::vector<int> expected_reordered_indices;
TEST(bidi, bidi_611_000)
{
expected_levels = { 2, -1, 2, 1 };
expected_reo... | 32.959471 | 77 | 0.403975 | eightysquirrels |
a03c7bd1682998c3930054036fb568dc80ec9006 | 1,013 | hpp | C++ | src/benchmarklib/file_based_table_generator.hpp | mrcl-tst/hyrise | eec50b39de9f530b0a1732ceb5822b7222f3fe17 | [
"MIT"
] | 583 | 2015-01-10T00:55:32.000Z | 2022-03-25T12:24:30.000Z | src/benchmarklib/file_based_table_generator.hpp | mrcl-tst/hyrise | eec50b39de9f530b0a1732ceb5822b7222f3fe17 | [
"MIT"
] | 1,573 | 2015-01-07T15:47:22.000Z | 2022-03-31T11:48:03.000Z | src/benchmarklib/file_based_table_generator.hpp | mrcl-tst/hyrise | eec50b39de9f530b0a1732ceb5822b7222f3fe17 | [
"MIT"
] | 145 | 2015-03-09T16:26:07.000Z | 2022-02-15T12:53:23.000Z | #pragma once
#include <filesystem>
#include <string>
#include <unordered_map>
#include "abstract_table_generator.hpp"
namespace opossum {
class FileBasedTableGenerator : virtual public AbstractTableGenerator {
public:
FileBasedTableGenerator(const std::shared_ptr<BenchmarkConfig>& benchmark_config, const std::st... | 32.677419 | 116 | 0.780849 | mrcl-tst |
a044726d960ed157edaa9db001c43d516b893e47 | 3,436 | cpp | C++ | tau/TauEngine/src/dx/dx10/DX10ResourceTexture.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | 1 | 2020-04-22T04:07:01.000Z | 2020-04-22T04:07:01.000Z | tau/TauEngine/src/dx/dx10/DX10ResourceTexture.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | tau/TauEngine/src/dx/dx10/DX10ResourceTexture.cpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | #include "dx/dx10/DX10ResourceTexture.hpp"
#ifdef _WIN32
#include "TauConfig.hpp"
static constexpr u64 Alignment = static_cast<u64>(DX10TransferResource::Alignment);
void DX10ResourceTransferTexture1D::transferMapping(void* const ptr) noexcept
{
#if TAU_NULL_CHECK
if(!ptr)
{ return; }
#endif
DX10Transfe... | 36.168421 | 227 | 0.784051 | hyfloac |
a0461276d8625c20f7cfa0e5a22b781a35b72539 | 3,280 | cpp | C++ | lib/abc/src/info/Trait.cpp | Athesdrake/swflib | b901136e646451d269c1cafd0ceee57928e7c12d | [
"MIT"
] | 3 | 2021-06-19T23:05:55.000Z | 2021-06-22T11:53:42.000Z | lib/abc/src/info/Trait.cpp | Athesdrake/swflib | b901136e646451d269c1cafd0ceee57928e7c12d | [
"MIT"
] | null | null | null | lib/abc/src/info/Trait.cpp | Athesdrake/swflib | b901136e646451d269c1cafd0ceee57928e7c12d | [
"MIT"
] | null | null | null | #include "abc/info/Trait.h"
#include "abc/AbcFile.h"
#include <stdexcept>
namespace swf::abc {
Trait::Trait(AbcFile* abc) : abc(abc) {
name = 0;
attr = 0;
index = 0;
kind = TraitKind::Slot;
slot_id = 0;
slot.kind = 0;
slot.type = 0;
}
void Trait::read(StreamReader& stream) {
uint... | 23.597122 | 90 | 0.557317 | Athesdrake |
a049fa6126523526093f1ee40f4ac35d042112d6 | 10,360 | hpp | C++ | atomics/include/desul/atomics/Compare_Exchange_CUDA.hpp | tepperly/desul | ff988193d62b819ae0c54f7f3c13abbf1e027724 | [
"BSD-3-Clause"
] | null | null | null | atomics/include/desul/atomics/Compare_Exchange_CUDA.hpp | tepperly/desul | ff988193d62b819ae0c54f7f3c13abbf1e027724 | [
"BSD-3-Clause"
] | 1 | 2021-06-11T16:47:45.000Z | 2021-07-02T21:39:04.000Z | atomics/include/desul/atomics/Compare_Exchange_CUDA.hpp | JohnHynes/desul | d049fcbb8ee7cf3451849ed507a170600f5f8725 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2019, Lawrence Livermore National Security, LLC
and DESUL project contributors. See the COPYRIGHT file for details.
Source: https://github.com/desul/desul
SPDX-License-Identifier: (BSD-3-Clause)
*/
#ifndef DESUL_ATOMICS_COMPARE_EXCHANGE_CUDA_HPP_
#define DESUL_ATOMICS_COMPARE_EXCHANGE_CUDA_HPP_
#inc... | 42.285714 | 111 | 0.740347 | tepperly |
a04da02e8b3b819da4a4255dfafdb7b1b11aecc8 | 935 | cpp | C++ | Matrix.cpp | osamaayub/LinkedList.cpp | 3dcf5b79d5c3ffe9ee537ae7b2071a6fff6c0ec5 | [
"Apache-2.0"
] | null | null | null | Matrix.cpp | osamaayub/LinkedList.cpp | 3dcf5b79d5c3ffe9ee537ae7b2071a6fff6c0ec5 | [
"Apache-2.0"
] | 1 | 2021-09-17T12:51:01.000Z | 2021-09-17T12:51:01.000Z | Matrix.cpp | osamaayub/LinkedList.cpp | 3dcf5b79d5c3ffe9ee537ae7b2071a6fff6c0ec5 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<fstream>
using namespace std;
void Read(int Matrix[][4], ifstream &fin);
void display(int Matrix[][4]);
int main()
{
int Matrix[4][4] = { 0 };
int array[4] = { 0 };
ifstream fin;
fin.open("input.txt", ios::in);
if (!fin.is_open())
{
cout << "file not found" << endl;
... | 16.696429 | 47 | 0.491979 | osamaayub |
a055e8eadbbd6fd25e6ec98614c0e60985fb2916 | 822 | cpp | C++ | CtCI-6th-Edition-cpp/03_Stacks_and_Queues/01_Three_In_One/threeInOne.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | CtCI-6th-Edition-cpp/03_Stacks_and_Queues/01_Three_In_One/threeInOne.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | CtCI-6th-Edition-cpp/03_Stacks_and_Queues/01_Three_In_One/threeInOne.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | #include "threeInOne.hpp"
static const int SIZE = 9;
static int buffer[SIZE];
ThreeInOneStack::ThreeInOneStack(int* buffer, int size)
: myBegin(buffer), myEnd(buffer+size), myTop(buffer) {}
void ThreeInOneStack::push(int v) {
if (myTop != myEnd) {
*myTop = v;
myTop += 1;
}
}
int ThreeInOneStack::pop() {... | 19.571429 | 66 | 0.649635 | longztian |
a0585138ff2f38972353d24a91dec1da7d78a7dd | 4,506 | cpp | C++ | VSDataReduction/VSCutsEvaluator.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | 1 | 2018-04-17T14:03:36.000Z | 2018-04-17T14:03:36.000Z | VSDataReduction/VSCutsEvaluator.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | VSDataReduction/VSCutsEvaluator.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSCutsEvaluator.cpp
Class responsible for evaluating whether an event passes cuts.
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\author Matthew Wood \n
... | 27.644172 | 73 | 0.695073 | sfegan |
a05cf74d427fc8cf7b77ef54fec096223870b3bf | 858 | cpp | C++ | src/LevScene/LevStateUpdaterVisitor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | 3 | 2019-03-05T13:05:30.000Z | 2019-12-16T05:56:21.000Z | src/LevScene/LevStateUpdaterVisitor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | src/LevScene/LevStateUpdaterVisitor.cpp | wakare/Leviathan | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | [
"MIT"
] | null | null | null | #include "LevStateUpdaterVisitor.h"
#include "LevSceneObject.h"
#include "Node.h"
namespace Leviathan
{
namespace Scene
{
LevStateUpdaterVisitor::LevStateUpdaterVisitor(LevStateUpdateCallback updater)
{
SetStateUpdateCallback(updater);
}
void LevStateUpdaterVisitor::SetStateUpdateCallback(LevStateUpdateC... | 17.875 | 85 | 0.680653 | wakare |
a05f34189e7211583b2b8a471a729dcf6343d512 | 611 | hpp | C++ | src/GraphAlgorithm/SpanningTree/Prim.hpp | YanagiAyame/AlgorithmLibrary | 2769c41e0e51218072f78772d1f11a92465838e4 | [
"Unlicense"
] | null | null | null | src/GraphAlgorithm/SpanningTree/Prim.hpp | YanagiAyame/AlgorithmLibrary | 2769c41e0e51218072f78772d1f11a92465838e4 | [
"Unlicense"
] | null | null | null | src/GraphAlgorithm/SpanningTree/Prim.hpp | YanagiAyame/AlgorithmLibrary | 2769c41e0e51218072f78772d1f11a92465838e4 | [
"Unlicense"
] | 1 | 2020-02-09T17:22:04.000Z | 2020-02-09T17:22:04.000Z | #pragma once
#include "template.hpp"
#include <queue>
#include <utility>
std::pair<long long, Edges> Prim(const Graph &g, int s) {
int n = g.size();
Edges tree;
long long total = 0;
std::vector<int> visited(n, 0);
std::priority_queue<Edge> q;
q.emplace(-1, s, 0);
while (!q.empty()) {
Edge e = q.top(... | 20.366667 | 57 | 0.554828 | YanagiAyame |
a060182eadf1b92ecd43e49548545ab789ce2adc | 35,517 | cpp | C++ | dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/MotionWindow/MotionWindowPlugin.cpp | raghnarx/lumberyard | 1c52b941dcb7d94341fcf21275fe71ff67173ada | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/MotionWindow/MotionWindowPlugin.cpp | 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard | 1c52b941dcb7d94341fcf21275fe71ff67173ada | [
"AML"
] | null | null | null | dev/Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/MotionWindow/MotionWindowPlugin.cpp | 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard | 1c52b941dcb7d94341fcf21275fe71ff67173ada | [
"AML"
] | 4 | 2019-08-05T07:25:46.000Z | 2020-12-07T05:12:55.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 39.245304 | 241 | 0.624208 | raghnarx |
a06201954491152f96b707afa3f8f99592c7b7f5 | 1,023 | cpp | C++ | algorithms/Searching/binary_search/binary_search.cpp | kesari007/algorithms_with_git | 810b7b917b62fc8da8b1fd1a8a70d3d221d35a9d | [
"MIT"
] | 19 | 2018-11-27T14:45:24.000Z | 2022-03-29T10:36:31.000Z | algorithms/Searching/binary_search/binary_search.cpp | mridullpandey/algorithms_with_git | a05f7dc9f3cd10ed7b4d21f3c3f223470b65f960 | [
"MIT"
] | 83 | 2018-12-01T19:44:08.000Z | 2019-01-08T19:20:32.000Z | algorithms/Searching/binary_search/binary_search.cpp | mridullpandey/algorithms_with_git | a05f7dc9f3cd10ed7b4d21f3c3f223470b65f960 | [
"MIT"
] | 93 | 2018-11-22T18:46:33.000Z | 2020-10-28T11:09:44.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
int N, index = 0, index1 = 0, index2 = 0, key, flag = 0, beg, end, mid;
cout << "Enter the no of items in the list: ";
cin >> N;
int arr[N];
beg = 0;
end = N - 1;
while(index < N)
{
cout << "Enter the value: ";
cin >> arr[index];
index++;
}
... | 14.208333 | 72 | 0.498534 | kesari007 |
a06cbe976ea1b0c655a54de6838970ed836e73dc | 2,285 | cpp | C++ | Chapter09/unordered/main.cpp | pzz2011/lec | 8abfd91ee4f41076454bb8669ad7d15e9fc6bb38 | [
"BSL-1.0"
] | 33 | 2017-10-29T23:05:20.000Z | 2022-03-07T09:36:42.000Z | Chapter09/unordered/main.cpp | pzz2011/lec | 8abfd91ee4f41076454bb8669ad7d15e9fc6bb38 | [
"BSL-1.0"
] | null | null | null | Chapter09/unordered/main.cpp | pzz2011/lec | 8abfd91ee4f41076454bb8669ad7d15e9fc6bb38 | [
"BSL-1.0"
] | 18 | 2017-09-07T18:47:49.000Z | 2022-03-07T09:37:39.000Z | #include <boost/unordered_map.hpp>
#include <string>
#include <map>
#include <iostream>
#include <assert.h>
#include <boost/lexical_cast.hpp>
#include <boost/unordered_set.hpp>
void example() {
boost::unordered_set<std::string> strings;
strings.insert("This");
strings.insert("is");
strings.insert("an... | 22.85 | 120 | 0.579431 | pzz2011 |
a06ccf7c932f426b72b425409f0f79b18faa8abc | 2,358 | hpp | C++ | bftengine/src/bftengine/DynamicUpperLimitWithSimpleFilter2.hpp | ashsek/concord-rcanopus | f979821f40433cf62ad0afa5bdc507e372e1367d | [
"Apache-2.0"
] | null | null | null | bftengine/src/bftengine/DynamicUpperLimitWithSimpleFilter2.hpp | ashsek/concord-rcanopus | f979821f40433cf62ad0afa5bdc507e372e1367d | [
"Apache-2.0"
] | null | null | null | bftengine/src/bftengine/DynamicUpperLimitWithSimpleFilter2.hpp | ashsek/concord-rcanopus | f979821f40433cf62ad0afa5bdc507e372e1367d | [
"Apache-2.0"
] | 1 | 2021-12-11T00:27:46.000Z | 2021-12-11T00:27:46.000Z | //Concord
//
//Copyright (c) 2018 VMware, Inc. All Rights Reserved.
//
//This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in compliance with the Apache 2.0 License.
//
//This product may include a number of subcomponents with separate copyright notices ... | 27.103448 | 235 | 0.704411 | ashsek |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.