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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e80a9802a6da3e55f48cc892d3fb160a30b62aa7 | 544 | cpp | C++ | polymorphism/crtp/crtp.cpp | google/cpp-from-the-sky-down | 10c8d16e877796f2906bedbd3a66fb6469b3a211 | [
"Apache-2.0"
] | 219 | 2018-08-15T22:01:07.000Z | 2022-03-23T11:46:54.000Z | polymorphism/crtp/crtp.cpp | sthagen/cpp-from-the-sky-down | 72114a17a659e5919b4cbe3363e35c04f833d9d9 | [
"Apache-2.0"
] | 5 | 2018-09-11T06:15:28.000Z | 2022-01-05T15:27:31.000Z | polymorphism/crtp/crtp.cpp | sthagen/cpp-from-the-sky-down | 72114a17a659e5919b4cbe3363e35c04f833d9d9 | [
"Apache-2.0"
] | 27 | 2018-09-11T06:14:40.000Z | 2022-03-20T09:46:14.000Z | #include <iostream>
#include <vector>
template<typename Child>
struct shape {
void draw()const {
std::cout << "Preparing screen\n";
static_cast<const Child*>(this)->draw_implementation();
}
};
struct square : shape<square> {
void draw_implementation() const { std::cout << "square::draw\n"; }
};
struct circle ... | 16.484848 | 68 | 0.665441 | google |
e80e829eed92f0153300cb9a252f84846b85801d | 1,561 | cpp | C++ | c/src/algorithm/sunday.cpp | jc1995wade/dwadelib | 06fa17e4687f6a1cd8503d5804c49ca924f9cfb7 | [
"Apache-2.0"
] | 2 | 2020-04-15T15:04:21.000Z | 2022-03-30T06:22:00.000Z | c/src/algorithm/sunday.cpp | jc1995wade/dwadelib | 06fa17e4687f6a1cd8503d5804c49ca924f9cfb7 | [
"Apache-2.0"
] | null | null | null | c/src/algorithm/sunday.cpp | jc1995wade/dwadelib | 06fa17e4687f6a1cd8503d5804c49ca924f9cfb7 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
int * getStep(int *step, char *a, char *b)
{
int i, sublen;
for (i=0; i<256; i++) {
step[i] = strlen(b) + 1;
}
sublen = strlen(b);
for (i=0; i<sublen; i++) {
step... | 19.036585 | 56 | 0.497758 | jc1995wade |
e8113bbda77d9398b18189514ce6c1cda9b48fb6 | 2,873 | hpp | C++ | src/gdx-cpp/graphics/glutils/ShapeRenderer.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 77 | 2015-01-28T17:21:49.000Z | 2022-02-17T17:59:21.000Z | src/gdx-cpp/graphics/glutils/ShapeRenderer.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 5 | 2015-03-22T23:14:54.000Z | 2020-09-18T13:26:03.000Z | src/gdx-cpp/graphics/glutils/ShapeRenderer.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 24 | 2015-02-12T04:34:37.000Z | 2021-06-19T17:05:23.000Z |
/*
Copyright 2011 Aevum Software aevum @ aevumlab.com
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 app... | 29.618557 | 76 | 0.693352 | aevum |
e81623645f421694a44219a552a36c088809f45a | 1,679 | cpp | C++ | halide/box-blur-across-arch/box-blur.cpp | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | null | null | null | halide/box-blur-across-arch/box-blur.cpp | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | 4 | 2019-11-15T16:36:04.000Z | 2021-02-01T20:28:17.000Z | halide/box-blur-across-arch/box-blur.cpp | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | null | null | null | #include "Halide.h"
#include "halide_image_io.h"
#include <iostream>
#include <string>
using namespace Halide;
using namespace Halide::Tools;
using namespace std;
void blur_image(string input_filename, string output_filename){
// taken from halide tutorial 7, available at
// https://github.com/halide/Halide/blob/... | 28.457627 | 94 | 0.606313 | rileyweber13 |
e81c02646867d6da4a89210f6d311d383264ef7f | 2,561 | cc | C++ | felicia/core/master/tool/topic_publish_command_dispatcher.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 17 | 2018-10-28T13:58:01.000Z | 2022-03-22T07:54:12.000Z | felicia/core/master/tool/topic_publish_command_dispatcher.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 2 | 2018-11-09T04:15:58.000Z | 2018-11-09T06:42:57.000Z | felicia/core/master/tool/topic_publish_command_dispatcher.cc | chokobole/felicia | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | [
"BSD-3-Clause"
] | 5 | 2019-10-31T06:50:05.000Z | 2022-03-22T07:54:30.000Z | // Copyright (c) 2019 The Felicia 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 "felicia/core/master/tool/topic_publish_command_dispatcher.h"
#include "felicia/core/master/master_proxy.h"
#include "felicia/core/node/dynam... | 31.231707 | 79 | 0.711831 | chokobole |
e81ec3c4d0aeb319af81acb7fd418a3da15970d9 | 9,666 | cpp | C++ | examples/rapidxml_example.cpp | zlecky/gamecell | 309c4e094ed214f79183429e2d2ae9a1464f9b45 | [
"MIT"
] | null | null | null | examples/rapidxml_example.cpp | zlecky/gamecell | 309c4e094ed214f79183429e2d2ae9a1464f9b45 | [
"MIT"
] | null | null | null | examples/rapidxml_example.cpp | zlecky/gamecell | 309c4e094ed214f79183429e2d2ae9a1464f9b45 | [
"MIT"
] | null | null | null | #include <string>
#include <fstream>
#include <iostream>
#include <string>
#include <cmath>
#include "rapidxml/rapidxml.hpp"
#include "rapidxml/rapidxml_utils.hpp"
#include "rapidxml/rapidxml_print.hpp"
namespace {
void write_doc_to_xml(const std::string& file, rapidxml::xml_document<>& doc) {
// write it... | 35.667897 | 134 | 0.545003 | zlecky |
e8205f2d64eea0c48d1c378993430260508df213 | 2,841 | cpp | C++ | src/Framework/Entities/Components/MeshComponent.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null | src/Framework/Entities/Components/MeshComponent.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null | src/Framework/Entities/Components/MeshComponent.cpp | xcasadio/casaengine | 19e34c0457265435c28667df7f2e5c137d954b98 | [
"MIT"
] | null | null | null |
#include "Entities/BaseEntity.h"
#include "Entities/ComponentTypeEnum.h"
#include "Base.h"
#include "Game/Game.h"
#include "Assets/AssetManager.h"
#include "Maths/Matrix4.h"
#include "MeshComponent.h"
#include "StringUtils.h"
#include "TransformComponent.h"
#include "Game/MeshRendererGameComponent.h"
namespace Cas... | 18.095541 | 143 | 0.698698 | xcasadio |
e82374536f7a46934b251770f446679b13c4779b | 2,962 | cpp | C++ | src/sdb/sdbexception.cpp | raghunayak/libaws | e62cbf2887e7b4177ff72df2e50468ab228edfac | [
"Apache-2.0"
] | null | null | null | src/sdb/sdbexception.cpp | raghunayak/libaws | e62cbf2887e7b4177ff72df2e50468ab228edfac | [
"Apache-2.0"
] | null | null | null | src/sdb/sdbexception.cpp | raghunayak/libaws | e62cbf2887e7b4177ff72df2e50468ab228edfac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008 28msec, 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 to in ... | 26.212389 | 105 | 0.753545 | raghunayak |
e8238e722daf2da016a799333e05fab06d5629d1 | 1,296 | hpp | C++ | src/app/widgets/hex_view.hpp | Rexagon/stm32-emulator | 4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb | [
"Apache-2.0"
] | null | null | null | src/app/widgets/hex_view.hpp | Rexagon/stm32-emulator | 4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb | [
"Apache-2.0"
] | 2 | 2021-04-01T21:31:55.000Z | 2021-04-06T07:35:04.000Z | src/app/widgets/hex_view.hpp | Rexagon/stm32-emulator | 4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <QTextEdit>
#include "../utils/general.hpp"
namespace app
{
class HexView final : public QAbstractScrollArea {
Q_OBJECT
public:
explicit HexView(QWidget* parent);
~HexView() override = default;
void setData(uint32_t addressOffset, QByteArray newData);
void reset();
voi... | 22.344828 | 61 | 0.698302 | Rexagon |
e82566042e055fb3cd4de8673fd2a6eb4a0e2bd8 | 3,013 | hpp | C++ | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/Core/ConsoleFmt/ConsoleFmt.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | // Copyright (c) 2013-2014 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#ifndef SSVU_CORE_CONSOLEFMT
#define SSVU_CORE_CONSOLEFMT
namespace ssvu
{
namespace Console
{
/// @brief Number of styles.
constexpr SizeT styleCount{13};
//... | 28.158879 | 98 | 0.689346 | questor |
e82a1c5555a09c8b60d36c37239e3a96bcd7d380 | 1,967 | hpp | C++ | search/search_engine.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-01-11T05:02:05.000Z | 2019-01-11T05:02:05.000Z | search/search_engine.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | null | null | null | search/search_engine.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:21:09.000Z | 2019-08-09T21:21:09.000Z | #pragma once
#include "params.hpp"
#include "result.hpp"
#include "search_query_factory.hpp"
#include "geometry/rect2d.hpp"
#include "coding/reader.hpp"
#include "base/mutex.hpp"
#include "std/unique_ptr.hpp"
#include "std/string.hpp"
#include "std/function.hpp"
#include "std/atomic.hpp"
class Index;
namespace ... | 23.141176 | 100 | 0.737163 | bowlofstew |
e82f4a12e54a57a96ed43b5bab19981b6d0f88c5 | 1,123 | cpp | C++ | data/dailyCodingProblem987.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | 2 | 2020-09-04T20:56:23.000Z | 2021-06-11T07:42:26.000Z | data/dailyCodingProblem987.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | data/dailyCodingProblem987.cpp | vidit1999/daily_coding_problem | b90319cb4ddce11149f54010ba36c4bd6fa0a787 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
Given an array of numbers and an index i, return the index of
the nearest larger number of the number at index i, where distance is measured in array indices.
For example, given [4, 1, 3, 5, 6] and index 0, you should return 3.
If two distances to larger numbers are t... | 28.075 | 96 | 0.647373 | vidit1999 |
e83283e63ec6602d7edfa256e4288b4ee4cc5634 | 9,619 | cpp | C++ | TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: ServerApp.cpp 84563 2009-02-23 08:13:54Z johnnyw $
#include "ServerApp.h"
#include "OrbTask.h"
#include "FooServantList.h"
#include "ClientTask.h"
#include "OrbShutdownTask.h"
#include "ace/Get_Opt.h"
#include "tao/CSD_ThreadPool/CSD_TP_Strategy.h"
#include "tao/Intrusive_Ref_Count_Handle_T.h"
// To force stati... | 28.291176 | 102 | 0.544027 | cflowe |
e832d4fb2d0fe78dc887506718cabdfaeda2dd4b | 503 | cpp | C++ | JammaLib/src/actions/DoubleAction.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/actions/DoubleAction.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | JammaLib/src/actions/DoubleAction.cpp | malisimo/Jamma | 69831e79a64e652e82aa41f8141e082c3899896b | [
"MIT"
] | null | null | null | #include "DoubleAction.h"
using namespace actions;
using base::ActionSender;
using base::ActionReceiver;
DoubleAction::DoubleAction(double value) :
_value(value),
Action()
{
}
DoubleAction::~DoubleAction()
{
}
double DoubleAction::Value() const
{
return _value;
}
DoubleActionUndo::DoubleActionUndo(double value,... | 13.594595 | 48 | 0.747515 | malisimo |
e83551b6fccba0088ef3735bd74e8ac99ca171e6 | 287 | cc | C++ | material.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | material.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | material.cc | KXue/CLRT | 2b2dcb3addf5f638cda86fb03322779e0a33aee1 | [
"MIT"
] | null | null | null | #include "material.hpp"
Material::Material(float r, float g, float b, int computeColorType): computeColorType(computeColorType){
color[0] = r;
color[1] = g;
color[2] = b;
}
int Material::getComputeColorType(){
return computeColorType;
}
float* Material::GetColor(){
return color;
} | 22.076923 | 104 | 0.724739 | KXue |
e838091afc5d9e4b405895d692f78c1121b5c18a | 15,878 | cpp | C++ | Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | 1 | 2022-03-22T14:41:15.000Z | 2022-03-22T14:41:15.000Z | Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | Visual Studio/Others/Calculateur d'adresses IP/IP_CalculatorDlg.cpp | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | // IP_CalculatorDlg.cpp : implementation file
//
#include "stdafx.h"
#include "IP_Calculator.h"
#include "IP_CalculatorDlg.h"
#include "IP_Properties.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////////////... | 28.053004 | 77 | 0.659466 | Jeanmilost |
e83c52514866dc6a83663fc12008a7ea911212b2 | 4,785 | cpp | C++ | src/Chronicles/entity/item.cpp | gregtour/chronicles-game | 813a33c6d484bff59f210d81a3252bef2e0d3ea2 | [
"CC0-1.0"
] | 1 | 2015-04-28T15:12:14.000Z | 2015-04-28T15:12:14.000Z | src/Chronicles/entity/item.cpp | gregtour/chronicles-game | 813a33c6d484bff59f210d81a3252bef2e0d3ea2 | [
"CC0-1.0"
] | null | null | null | src/Chronicles/entity/item.cpp | gregtour/chronicles-game | 813a33c6d484bff59f210d81a3252bef2e0d3ea2 | [
"CC0-1.0"
] | null | null | null | #include "item.h"
#include "../../engine/engine.h"
#include "../main.h"
#include <string>
#include <sstream>
#include "particles/spark.h"
CItem::CItem()
{
#ifdef LOW_RESOLUTION_TEXTURES
mTexture = CManagedTexture::Load( &gResourceManager, "data/low/crate.bmp" );
#else
mTexture = CManagedTexture::Load( &g... | 29.720497 | 99 | 0.597492 | gregtour |
e83e4cfc9d55a52aef101d9e4b082195740796cf | 2,052 | cpp | C++ | Pandemic/Sources/Markers.cpp | prince-chrismc/Pandemic | 7f25b4c3af9451f16c50230a643db496a768f393 | [
"MIT"
] | null | null | null | Pandemic/Sources/Markers.cpp | prince-chrismc/Pandemic | 7f25b4c3af9451f16c50230a643db496a768f393 | [
"MIT"
] | 15 | 2017-03-17T20:06:19.000Z | 2017-10-16T21:31:32.000Z | Pandemic/Sources/Markers.cpp | prince-chrismc/Pandemic | 7f25b4c3af9451f16c50230a643db496a768f393 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2017 Chris McArthur, prince.chrismc(at)gmail(dot)com
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 u... | 21.829787 | 89 | 0.71345 | prince-chrismc |
e83ed40c166d0e8869269544d9cdf9e547d9491d | 2,518 | cc | C++ | ash/system/tracing_notification_controller.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ash/system/tracing_notification_controller.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ash/system/tracing_notification_controller.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 "ash/system/tracing_notification_controller.h"
#include "ash/public/cpp/ash_features.h"
#include "ash/resources/vector_icons/vector_icons.h"
#in... | 32.701299 | 80 | 0.727164 | zipated |
e83f3a74126459b24d57a9a5d57ab38fa32ac0e0 | 2,470 | cpp | C++ | mainapp/Classes/Common/Components/RawTouchBody.cpp | JaagaLabs/GLEXP-Team-KitkitSchool | f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0 | [
"Apache-2.0"
] | 45 | 2019-05-16T20:49:31.000Z | 2021-11-05T21:40:54.000Z | mainapp/Classes/Common/Components/RawTouchBody.cpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 123 | 2019-05-28T14:03:04.000Z | 2019-07-12T04:23:26.000Z | pehlaschool/Classes/Common/Components/RawTouchBody.cpp | maqsoftware/Pehla-School-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 29 | 2019-05-16T17:49:26.000Z | 2021-12-30T16:36:24.000Z | //
// RawTouchBody.cpp on Aug 16, 2016
// TodoSchool
//
// Copyright (c) 2016 Enuma, Inc. All rights reserved.
// See LICENSE.md for more details.
//
#include "RawTouchBody.h"
using namespace std;
RawTouchBody::RawTouchBody()
: Listener(nullptr)
{
}
bool RawTouchBody::init() {
if (!Super::init()) { r... | 24.7 | 103 | 0.516599 | JaagaLabs |
e83f40a8a2af17a5c25da13f190872a94202a862 | 1,912 | cpp | C++ | example/example.cpp | bobsayshilol/tser | 5d7bd971bbf8837f3d4d67005565b21a1ede8bfd | [
"BSL-1.0"
] | null | null | null | example/example.cpp | bobsayshilol/tser | 5d7bd971bbf8837f3d4d67005565b21a1ede8bfd | [
"BSL-1.0"
] | null | null | null | example/example.cpp | bobsayshilol/tser | 5d7bd971bbf8837f3d4d67005565b21a1ede8bfd | [
"BSL-1.0"
] | null | null | null | // Licensed under the Boost License <https://opensource.org/licenses/BSL-1.0>.
// SPDX-License-Identifier: BSL-1.0
#include <cassert>
#include <optional>
#include <tser/tser.hpp>
enum class Item : char { NONE = 0, RADAR = 'R', TRAP = 'T', ORE = 'O' };
namespace x
{
struct Point {
DEFINE_SERIALIZABLE(Point,... | 39.833333 | 121 | 0.630753 | bobsayshilol |
e84050b7842f238712585081c2b3e9f79308eeac | 1,234 | cpp | C++ | src/ecs/components/CurseComponent.cpp | Gegel85/IndieStudio | 63e58c61416b3c16885d35d75d126e3db5ed3cc8 | [
"MIT"
] | null | null | null | src/ecs/components/CurseComponent.cpp | Gegel85/IndieStudio | 63e58c61416b3c16885d35d75d126e3db5ed3cc8 | [
"MIT"
] | 12 | 2019-05-22T12:22:44.000Z | 2019-06-15T17:31:04.000Z | src/ecs/components/CurseComponent.cpp | Gegel85/IndieStudio | 63e58c61416b3c16885d35d75d126e3db5ed3cc8 | [
"MIT"
] | 1 | 2019-06-18T12:57:58.000Z | 2019-06-18T12:57:58.000Z | /*
** EPITECH PROJECT, 2019
** bomberman
** File description:
** CurseComponent.cpp
*/
#include <iostream>
#include "CurseComponent.hpp"
#include "../Exceptions.hpp"
ECS::CurseComponent::CurseComponent(Sound::SoundSystem &soundSystem):
Component("Curse"),
soundSystem(soundSystem),
effect(NONE),
timeL... | 25.708333 | 100 | 0.679092 | Gegel85 |
e840ec70db85f7c504f638759011e6799d264b1d | 1,485 | hpp | C++ | framework/renderer.hpp | Montag55/Das-raytracer | 356eac6a2ad6fe4f09015a94df9bbafe490f9585 | [
"MIT"
] | null | null | null | framework/renderer.hpp | Montag55/Das-raytracer | 356eac6a2ad6fe4f09015a94df9bbafe490f9585 | [
"MIT"
] | null | null | null | framework/renderer.hpp | Montag55/Das-raytracer | 356eac6a2ad6fe4f09015a94df9bbafe490f9585 | [
"MIT"
] | null | null | null | #ifndef BUW_RENDERER_HPP
#define BUW_RENDERER_HPP
#include "color.hpp"
#include "pixel.hpp"
#include "ppmwriter.hpp"
#include <string>
#include <glm/glm.hpp>
#include "scene.hpp"
#include "hit.hpp"
#include "ray.hpp"
class Renderer
{
public:
Renderer(Scene const& scene, unsigned int width, unsigned int height, std:... | 32.282609 | 127 | 0.731313 | Montag55 |
e84142438f26ecbc346c8d53dbba0b938e61eea8 | 11,594 | cpp | C++ | vpp/vaapipostprocess_scaler_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 89 | 2015-01-09T10:31:13.000Z | 2018-01-18T12:48:21.000Z | vpp/vaapipostprocess_scaler_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 626 | 2015-01-12T00:01:26.000Z | 2018-01-23T18:58:58.000Z | vpp/vaapipostprocess_scaler_unittest.cpp | genisysram/libyami | 08d3ecbbfe1f5d23d433523f747a7093a0b3a13a | [
"Apache-2.0"
] | 104 | 2015-01-12T04:02:09.000Z | 2017-12-28T08:27:42.000Z | /*
* Copyright 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 34.608955 | 130 | 0.727273 | genisysram |
e84314662841bfc5ff1becb4c52ec4f15c329cf7 | 3,924 | cc | C++ | modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc | cedricga91/alien_legacy_plugins-1 | 459701026d76dbe1e8a6b20454f6b50ec9722f7f | [
"Apache-2.0"
] | 4 | 2021-12-02T09:06:38.000Z | 2022-01-10T14:22:35.000Z | modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc | cedricga91/alien_legacy_plugins-1 | 459701026d76dbe1e8a6b20454f6b50ec9722f7f | [
"Apache-2.0"
] | null | null | null | modules/external_packages/src/alien/kernels/petsc/data_structure/PETScMatrix.cc | cedricga91/alien_legacy_plugins-1 | 459701026d76dbe1e8a6b20454f6b50ec9722f7f | [
"Apache-2.0"
] | 7 | 2021-11-23T14:50:58.000Z | 2022-03-17T13:23:07.000Z | #include "PETScMatrix.h"
/* Author : havep at Wed Jul 18 14:46:45 2012
* Generated by createNew
*/
#include "petscmat.h"
#include <alien/kernels/petsc/data_structure/PETScVector.h>
#include <alien/kernels/petsc/PETScBackEnd.h>
#include <alien/kernels/petsc/data_structure/PETScInternal.h>
#include <alien/core/impl/M... | 31.645161 | 88 | 0.579001 | cedricga91 |
e8478ad4a2fc4afe2d3df14414bc84c4fec3ada9 | 3,207 | cpp | C++ | vendor/ZMQ/tests/test_stream_exceeds_buffer.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 10 | 2018-06-12T17:56:02.000Z | 2020-04-06T12:02:16.000Z | vendor/ZMQ/tests/test_stream_exceeds_buffer.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 45 | 2016-06-19T09:31:22.000Z | 2020-04-16T08:54:13.000Z | vendor/ZMQ/tests/test_stream_exceeds_buffer.cpp | theKAKAN/SqMod | 0c4c78da6e5f2741b0f65215fe08b84232a02fec | [
"MIT"
] | 16 | 2016-07-07T06:48:35.000Z | 2020-05-24T09:43:52.000Z | /*
Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | 35.241758 | 79 | 0.720299 | theKAKAN |
e848d5692fdcd65984e89793ebd611ed9f7627f7 | 1,516 | hpp | C++ | headers/permutations.hpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | headers/permutations.hpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | headers/permutations.hpp | DouglasSherk/project-euler | f3b188b199ff31671c6d7683b15675be7484c5b8 | [
"MIT"
] | null | null | null | #ifndef __EULER_PERMUTATIONS_INCLUDED_
#define __EULER_PERMUTATIONS_INCLUDED_
#include <string>
#include <utility>
#include <algorithm>
#include <climits>
#include "types.hpp"
namespace euler {
bool nextPermutation(std::string& n) {
// 1. Find largest x s.t. P[x]<P[x+1]
int x = -1;
for (int i = n.length() - 2... | 18.95 | 67 | 0.574538 | DouglasSherk |
e84ac2b511865e84a1a899443b0702db763b0b3b | 3,795 | cc | C++ | stapl_release/test/containers/heap/heap_view.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/test/containers/heap/heap_view.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/test/containers/heap/heap_view.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 30.853659 | 77 | 0.655336 | parasol-ppl |
e84c4df6e679a44c7a091eac3534e0115d1dc8cb | 523 | cpp | C++ | mainRun.cpp | LvWenHan/lwh | 7f7a219623433e5c06cecbaab72b3cd658e1b94b | [
"Apache-2.0"
] | 2 | 2021-03-20T04:25:41.000Z | 2021-03-20T06:52:36.000Z | mainRun.cpp | LvWenHan/lwh | 7f7a219623433e5c06cecbaab72b3cd658e1b94b | [
"Apache-2.0"
] | null | null | null | mainRun.cpp | LvWenHan/lwh | 7f7a219623433e5c06cecbaab72b3cd658e1b94b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int main(){
int a, b, t,sumA = 0,i = 1;
cin >> a >> b >> t;
// sumA += a;
while(true) {
if (sumA + a >= t) {
//xxx
}
if (b * i + b >= t) {
//xx
}
}
for(;!(sumA + a >= t || b * i + b >= t);i++){
if(sumA <= b * i){
sumA += a;
}
cou... | 14.135135 | 46 | 0.414914 | LvWenHan |
e84fcb0f450d6c2671513615d0c92097e748bdd6 | 426 | cpp | C++ | llvm-7.0.0.src/tools/clang/test/CodeGenCXX/override-bit-field-layout.cpp | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 115 | 2018-02-01T18:56:44.000Z | 2022-03-21T13:23:00.000Z | llvm-7.0.0.src/tools/clang/test/CodeGenCXX/override-bit-field-layout.cpp | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 51 | 2019-10-23T11:55:08.000Z | 2021-12-21T06:32:11.000Z | llvm-7.0.0.src/tools/clang/test/CodeGenCXX/override-bit-field-layout.cpp | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | // RUN: %clang_cc1 -w -fdump-record-layouts-simple -foverride-record-layout=%S/Inputs/override-bit-field-layout.layout %s | FileCheck %s
// CHECK: Type: struct S1
// CHECK: FieldOffsets: [0, 11]
struct S1 {
short a : 3;
short b : 5;
};
// CHECK: Type: struct S2
// CHECK: FieldOffsets: [64]
struct S2 {
virtu... | 20.285714 | 136 | 0.63615 | sillywalk |
e8564601e804a4e213b9d08e0b77a3bcde4722e6 | 4,318 | hpp | C++ | gamess/libqc/src/distributed/slice.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | gamess/libqc/src/distributed/slice.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | gamess/libqc/src/distributed/slice.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | #ifndef _DISTRIBUTED_SLICE_HPP_
#define _DISTRIBUTED_SLICE_HPP_
#include <boost/utility.hpp>
#include "util/slice.hpp"
namespace distributed {
namespace slice {
template<typename T>
struct range {
typedef T index_type;
typedef std::vector<index_type> index_vector;
typedef size_t size_type;
... | 31.064748 | 82 | 0.656786 | andremirt |
e85698e645281a827f2098348550bbb3389e507e | 271 | cpp | C++ | library/Methods/Maths/combinatorics/montmort.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 127 | 2019-07-22T03:52:01.000Z | 2022-03-11T07:20:21.000Z | library/Methods/Maths/combinatorics/montmort.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 39 | 2019-09-16T12:04:53.000Z | 2022-03-29T15:43:35.000Z | library/Methods/Maths/combinatorics/montmort.cpp | sarafanshul/KACTL | fa14ed34e93cd32d8625ed3729ba2eee55838340 | [
"MIT"
] | 29 | 2019-08-10T11:27:06.000Z | 2022-03-11T07:02:43.000Z | /**
* @brief Montmort-Number(モンモール数)
* @docs docs/montmort.md
*/
template< typename T >
vector< T > montmort(int N) {
vector< T > dp(N + 1);
for(int k = 2; k <= N; k++) {
dp[k] = dp[k - 1] * k;
if(k & 1) dp[k] -= 1;
else dp[k] += 1;
}
return dp;
}
| 18.066667 | 33 | 0.490775 | sarafanshul |
e8572eeb790963169619fe590f6c05beb3d79ffc | 9,995 | cpp | C++ | src/InstantInterface/WebInterface.cpp | matthieu-ft/InstantInterface | b27212df6769be6e9a5d168a2b0ed49e0130ce42 | [
"MIT"
] | null | null | null | src/InstantInterface/WebInterface.cpp | matthieu-ft/InstantInterface | b27212df6769be6e9a5d168a2b0ed49e0130ce42 | [
"MIT"
] | null | null | null | src/InstantInterface/WebInterface.cpp | matthieu-ft/InstantInterface | b27212df6769be6e9a5d168a2b0ed49e0130ce42 | [
"MIT"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 27.610497 | 130 | 0.634317 | matthieu-ft |
e8581417aec80175e89a355b031613e636ba7577 | 1,496 | hpp | C++ | src/ndnSIM/tests/unit-tests/tests-common.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2021-09-07T04:12:15.000Z | 2021-09-07T04:12:15.000Z | src/ndnSIM/tests/unit-tests/tests-common.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | null | null | null | src/ndnSIM/tests/unit-tests/tests-common.hpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2020-07-15T06:21:03.000Z | 2020-07-15T06:21:03.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2011-2015 Regents of the University of California.
*
* This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and
* contributors.
*
* ndnSIM is free software: you can redistribute it and/or modify it under... | 28.769231 | 86 | 0.738636 | NDNLink |
e859ada3637cdae6ad9d53c476e3ceea2404e1f8 | 903 | cpp | C++ | codeforces/D - Riverside Curio/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/D - Riverside Curio/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/D - Riverside Curio/Accepted (2).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Mar/26/2018 18:41
* solution_verdict: Accepted language: GNU C++14
* run... | 47.526316 | 111 | 0.369878 | kzvd4729 |
e85bc666455c7d89246688864cd3f712c3447a25 | 1,586 | cpp | C++ | codeforces/538div2/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | codeforces/538div2/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | 19 | 2016-05-04T02:46:31.000Z | 2021-11-27T06:18:33.000Z | codeforces/538div2/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "... | 26.433333 | 144 | 0.516393 | Johniel |
e863ad2e1c232badb3e1b5fbf9cf5747017be7ff | 1,325 | cc | C++ | thirdparty/rnd/gcd.cc | wilseypa/warped-models | 3b43934ab0de69d776df369d1fd010360b1ea0b2 | [
"MIT"
] | 2 | 2015-09-21T20:26:05.000Z | 2017-11-12T01:05:45.000Z | thirdparty/rnd/gcd.cc | wilseypa/warped-models | 3b43934ab0de69d776df369d1fd010360b1ea0b2 | [
"MIT"
] | null | null | null | thirdparty/rnd/gcd.cc | wilseypa/warped-models | 3b43934ab0de69d776df369d1fd010360b1ea0b2 | [
"MIT"
] | null | null | null | /*
Copyright (C) 1990 Free Software Foundation
written by Doug Lea (dl@rocky.oswego.edu)
This file is part of the GNU C++ Library. This library is free
software; you can redistribute it and/or modify it under the terms of
the GNU Library General Public License as published by the Free
Software Foundation; either... | 22.844828 | 70 | 0.66717 | wilseypa |
e868aa9e796d41c5026061c65ac4e2e0fa7d4719 | 8,370 | cpp | C++ | stromx/cvml/test/SvmTest.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | stromx/cvml/test/SvmTest.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | stromx/cvml/test/SvmTest.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015 Matthias Fuchs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 40.631068 | 109 | 0.583751 | uboot |
e869a68c1dfab6c471406d9ed2739ea46a018bd4 | 751 | cpp | C++ | llarp/link/encoder.cpp | defcon201/llarp | ff07fb118486a0cd646d004ea33d0786972e3061 | [
"Zlib"
] | null | null | null | llarp/link/encoder.cpp | defcon201/llarp | ff07fb118486a0cd646d004ea33d0786972e3061 | [
"Zlib"
] | null | null | null | llarp/link/encoder.cpp | defcon201/llarp | ff07fb118486a0cd646d004ea33d0786972e3061 | [
"Zlib"
] | 1 | 2020-12-16T16:32:40.000Z | 2020-12-16T16:32:40.000Z | #include "encoder.hpp"
namespace llarp
{
/// encode Link Introduce Message onto a buffer
/// if router is nullptr then the LIM's r member is omitted.
bool
EncodeLIM(llarp_buffer_t* buff, llarp_rc* router)
{
if(!bencode_start_dict(buff))
return false;
// message type
if(!bencode_write_bytes... | 21.457143 | 62 | 0.636485 | defcon201 |
e86c708436fe4f50479c49c8adda64e688fec8a1 | 26,264 | cc | C++ | soa/service/zmq_endpoint.cc | oktal/rtbkit | 1b1b3b76ab211111c20b2957634619b3ba2813f4 | [
"Apache-2.0"
] | 1 | 2019-02-12T10:40:08.000Z | 2019-02-12T10:40:08.000Z | soa/service/zmq_endpoint.cc | oktal/rtbkit | 1b1b3b76ab211111c20b2957634619b3ba2813f4 | [
"Apache-2.0"
] | null | null | null | soa/service/zmq_endpoint.cc | oktal/rtbkit | 1b1b3b76ab211111c20b2957634619b3ba2813f4 | [
"Apache-2.0"
] | null | null | null | /* zmq_endpoint.cc
Jeremy Barnes, 9 November 2012
Copyright (c) 2012 Datacratic Inc. All rights reserved.
*/
#include "zmq_endpoint.h"
#include "jml/utils/smart_ptr_utils.h"
#include <sys/utsname.h>
#include <thread>
#include "jml/arch/timers.h"
#include "jml/arch/info.h"
using namespace std;
namespace Data... | 29.410974 | 91 | 0.563585 | oktal |
e86fa29433ef1ba27d0011d69c29eb071d1e5777 | 19,559 | cpp | C++ | src/sgcmc.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 3 | 2018-06-06T05:43:36.000Z | 2020-07-18T14:31:37.000Z | src/sgcmc.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | null | null | null | src/sgcmc.cpp | sinamoeini/mapp4py | 923ef57ee5bdb6231bec2885c09a58993b6c0f1f | [
"MIT"
] | 7 | 2018-01-16T03:21:20.000Z | 2020-07-20T19:36:13.000Z | /*--------------------------------------------
Created by Sina on 06/05/13.
Copyright (c) 2013 MIT. All rights reserved.
--------------------------------------------*/
#include "elements.h"
#include "sgcmc.h"
#include "memory.h"
#include "random.h"
#include "neighbor_md.h"
#include "ff_md.h"
#include "xmath.h"
#incl... | 28.387518 | 132 | 0.448029 | sinamoeini |
e87069c3a6cb3b029eef4ede77dc8578c9729216 | 813 | cpp | C++ | Interviewbit/two-pointers/intersection-of-sorted-arrays.cpp | jatin69/Revision-cpp | 52742ea76ee2440d92b116252399360fef46e0c7 | [
"MIT"
] | 4 | 2020-01-16T14:49:46.000Z | 2021-08-23T12:45:19.000Z | Interviewbit/two-pointers/intersection-of-sorted-arrays.cpp | jatin69/coding-practice | 52742ea76ee2440d92b116252399360fef46e0c7 | [
"MIT"
] | 2 | 2018-06-06T13:08:11.000Z | 2018-10-02T19:07:32.000Z | Interviewbit/two-pointers/intersection-of-sorted-arrays.cpp | jatin69/coding-practice | 52742ea76ee2440d92b116252399360fef46e0c7 | [
"MIT"
] | 5 | 2018-10-02T13:49:16.000Z | 2021-08-11T07:29:50.000Z | /*
* Author : Jatin Rohilla
* Date : 8-5-2019
*
* Editor : Dev c++ 5.11
* Compiler : g++ 5.1.0
* flags : -std=c++14
*
* link - https://www.interviewbit.com/problems/intersection-of-sorted-arrays/
*/
#include<bits/stdc++.h>
using namespace std;
vector<int> intersect(const vector<int> &A, const vector<... | 16.26 | 78 | 0.463715 | jatin69 |
e871800708f2bfcd67139cb614c0a8abff434087 | 2,214 | cpp | C++ | source/procedural_objects/triangulate_geometry.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 12 | 2019-04-16T17:35:53.000Z | 2020-04-12T14:37:27.000Z | source/procedural_objects/triangulate_geometry.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | 47 | 2019-05-27T15:24:43.000Z | 2020-04-27T17:54:54.000Z | source/procedural_objects/triangulate_geometry.cpp | diegoarjz/selector | 976abd0d9e721639e6314e2599ef7e6f3dafdc4f | [
"MIT"
] | null | null | null | #include "triangulate_geometry.h"
#include "procedural_object_system.h"
#include "geometry_component.h"
#include "geometry_system.h"
#include "hierarchical_component.h"
#include "hierarchical_system.h"
#include "procedural_component.h"
#include "geometry_operations/ear_clipping.h"
#include <memory>
namespace pagod... | 32.558824 | 116 | 0.81617 | diegoarjz |
e873a9d0c68d138b93eb8fe0f84ce9aed2359aa6 | 1,135 | cpp | C++ | yard/skills/66-cpp/apr-demo/apr-md5-test.cpp | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 1 | 2016-03-29T02:01:58.000Z | 2016-03-29T02:01:58.000Z | yard/skills/66-cpp/apr-demo/apr-md5-test.cpp | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 18 | 2019-02-13T09:15:25.000Z | 2021-12-09T21:32:13.000Z | yard/skills/66-cpp/apr-demo/apr-md5-test.cpp | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 2 | 2020-07-05T01:01:30.000Z | 2020-07-08T22:33:06.000Z | /*
* =====================================================================================
*
* Filename: apr-md5-test.cpp
*
* Description: apr md5 test
*
* Version: 1.0
* Created: 2014/08/14 22时06分07秒
* Revision: none
* Compiler: gcc/g++
*
* Author: bbxyard... | 24.148936 | 88 | 0.38326 | paser4se |
e879e044c1fb4a7718bef0bd74098249eb26ddd2 | 5,067 | cpp | C++ | QuantExt/qle/models/projectedcrossassetmodel.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | QuantExt/qle/models/projectedcrossassetmodel.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | QuantExt/qle/models/projectedcrossassetmodel.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2020 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 41.195122 | 117 | 0.600947 | mrslezak |
e87b6f023edd43aad0befbe7aec559d135808a55 | 5,116 | cpp | C++ | NativeCode/Plugin_SpatializerReverb.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | 58 | 2020-03-05T09:20:59.000Z | 2022-03-31T10:06:20.000Z | NativeCode/Plugin_SpatializerReverb.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | 5 | 2021-01-18T12:47:27.000Z | 2022-03-08T08:41:06.000Z | NativeCode/Plugin_SpatializerReverb.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | 13 | 2020-09-14T09:50:41.000Z | 2022-02-08T15:53:33.000Z | // Simple Velvet-noise based reverb just to demonstrate how to send data from Spatializer to a common mix buffer that is routed into the mixer.
#include "AudioPluginUtil.h"
float reverbmixbuffer[65536] = { 0 };
namespace SpatializerReverb
{
const int MAXTAPS = 1024;
enum
{
P_DELAYTIME,
P... | 31.006061 | 184 | 0.561572 | PStewart95 |
e87bffa2d3aa6a268a397a246e9eafc797be18e9 | 1,005 | cpp | C++ | src/ctypes/annotation_optional.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | src/ctypes/annotation_optional.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | src/ctypes/annotation_optional.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file src/ctypes/annotation_optional.cpp
* @brief Implementation of @c optional annotation.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <cassert>
#include "retdec/ctypes/annotation_optional.h"
#include "retdec/ctypes/context.h"
namespace retdec {
namespace ctypes {
/**
* @... | 22.333333 | 76 | 0.744279 | mehrdad-shokri |
e87d53d3851d9e31961506fc18709be8060bb742 | 16,313 | hpp | C++ | include/gb/cpu.inc.hpp | nfsu/gb | bfbed4c0effa541fac1ed48e79544f054b8c7376 | [
"MIT"
] | null | null | null | include/gb/cpu.inc.hpp | nfsu/gb | bfbed4c0effa541fac1ed48e79544f054b8c7376 | [
"MIT"
] | null | null | null | include/gb/cpu.inc.hpp | nfsu/gb | bfbed4c0effa541fac1ed48e79544f054b8c7376 | [
"MIT"
] | null | null | null |
namespace gb {
//Debugging
template<bool isCb, typename ...args>
_inline_ void Emulator::operation(const args &...arg) {
oic::System::log()->debug(oic::Log::concat(std::hex, arg...), "\t\t; $", oic::Log::concat(std::hex, pc - 1 - isCb));
}
const char *crName[] = { "b", "c", "d", "e", "h", "l", "(hl)", "a" };... | 19.443385 | 118 | 0.518482 | nfsu |
e87e40bb54d3ff3333c68a07c392b39b4763d71b | 4,492 | cpp | C++ | commandsFonts.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 7 | 2018-04-24T22:11:58.000Z | 2021-09-10T22:12:35.000Z | commandsFonts.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 36 | 2018-02-24T18:34:18.000Z | 2021-08-08T10:33:29.000Z | commandsFonts.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 2 | 2018-10-22T18:47:30.000Z | 2020-09-16T06:10:52.000Z |
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <string>
#include <iostream>
#include <vector>
#include <string>
#ifdef __amigaos4__
#include <proto/exec.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/diskfont.h>
#include <proto/graphics.... | 18.716667 | 111 | 0.645147 | SamuraiCrow |
e88370976cedbfad1e32e280b392f31c1c9f4233 | 22,540 | cc | C++ | ash/message_center/notifier_settings_view.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ash/message_center/notifier_settings_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ash/message_center/notifier_settings_view.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 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 "ash/message_center/notifier_settings_view.h"
#include <stddef.h>
#include <set>
#include <string>
#include <utility>
#include "ash/messag... | 36.296296 | 80 | 0.73811 | zipated |
e88e8c7a26dee04f4f1b5749a556d436496df34e | 1,614 | cpp | C++ | sentutil/chat.cpp | surrealwaffle/thesurrealwaffle | 6937d8e2604628a5c9141feef837d89e81f68165 | [
"BSL-1.0"
] | 3 | 2018-07-20T23:04:45.000Z | 2021-07-09T04:16:42.000Z | sentutil/chat.cpp | surrealwaffle/thesurrealwaffle | 6937d8e2604628a5c9141feef837d89e81f68165 | [
"BSL-1.0"
] | null | null | null | sentutil/chat.cpp | surrealwaffle/thesurrealwaffle | 6937d8e2604628a5c9141feef837d89e81f68165 | [
"BSL-1.0"
] | 1 | 2018-07-21T06:32:13.000Z | 2018-07-21T06:32:13.000Z |
// Copyright surrealwaffle 2018 - 2020.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <sentutil/chat.hpp>
#include <cstdarg> // std::va_list
#include <cstring> // std:... | 24.830769 | 76 | 0.639405 | surrealwaffle |
e895368d7b727dd0fcc78181bc264e55667dd1ed | 907 | cpp | C++ | sicxe/sim/device.cpp | blaz-r/SIC-XE-simulator | c148657a120331eea26e137db219c0f60662a1e8 | [
"MIT"
] | null | null | null | sicxe/sim/device.cpp | blaz-r/SIC-XE-simulator | c148657a120331eea26e137db219c0f60662a1e8 | [
"MIT"
] | null | null | null | sicxe/sim/device.cpp | blaz-r/SIC-XE-simulator | c148657a120331eea26e137db219c0f60662a1e8 | [
"MIT"
] | null | null | null | #include "device.h"
#include <iostream>
uint8_t InputDevice::read()
{
return inputStream.get();
}
void OutputDevice::write(uint8_t value)
{
outputStream.write(reinterpret_cast<char*>(&value), 1);
outputStream.flush();
}
FileDevice::FileDevice(std::string file)
{
fileStream.open(file, std::fstream::i... | 16.490909 | 64 | 0.628445 | blaz-r |
e8999ac0e209fb7bb469a1ebd6d497d3929d8e97 | 6,515 | cc | C++ | homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc | 0xBachmann/NPDECODES | 70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea | [
"MIT"
] | 1 | 2022-02-22T10:59:19.000Z | 2022-02-22T10:59:19.000Z | homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc | 0xBachmann/NPDECODES | 70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea | [
"MIT"
] | null | null | null | homeworks/HierarchicalErrorEstimator/mastersolution/hierarchicalerrorestimator.cc | 0xBachmann/NPDECODES | 70a9d251033ab3d8719f0e221de4c2f4e9e8f4ea | [
"MIT"
] | null | null | null | /**
* @ file
* @ brief NPDE homework on hierarchical error estimation
* @ author Ralf Hiptmair
* @ date July 2021
* @ copyright Developed at SAM, ETH Zurich
*/
#include "hierarchicalerrorestimator.h"
namespace HEST {
/* SAM_LISTING_BEGIN_3 */
Eigen::VectorXd trfLinToQuad(
std::shared_ptr<const lf::uscalfe::... | 46.205674 | 80 | 0.666616 | 0xBachmann |
e89edf4bc15b80365ab3ef7cc4313005917998e8 | 996 | cpp | C++ | sdl/Hypergraph/src/UseOpenFst.cpp | sdl-research/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 29 | 2015-01-26T21:49:51.000Z | 2021-06-18T18:09:42.000Z | sdl/Hypergraph/src/UseOpenFst.cpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 1 | 2015-12-08T15:03:15.000Z | 2016-01-26T14:31:06.000Z | sdl/Hypergraph/src/UseOpenFst.cpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 4 | 2015-11-21T14:25:38.000Z | 2017-10-30T22:22:00.000Z | // Copyright 2014-2015 SDL plc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing,... | 31.125 | 75 | 0.767068 | sdl-research |
e89fe7ec6cc06a497dbc6c11ed45b36c858ee463 | 598 | cpp | C++ | src/window_with_linux_gamepad.cpp | hissingshark/game-window | 7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4 | [
"MIT"
] | 4 | 2019-03-10T02:35:16.000Z | 2021-02-20T17:57:17.000Z | src/window_with_linux_gamepad.cpp | hissingshark/game-window | 7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4 | [
"MIT"
] | 2 | 2020-06-28T09:28:37.000Z | 2021-04-17T10:35:49.000Z | src/window_with_linux_gamepad.cpp | hissingshark/game-window | 7d270d3ffc711ae4c66a014cd18ad5276cdbc0a4 | [
"MIT"
] | 7 | 2019-06-12T00:03:25.000Z | 2021-07-29T13:06:32.000Z | #include "window_with_linux_gamepad.h"
#include "joystick_manager_linux_gamepad.h"
WindowWithLinuxJoystick::WindowWithLinuxJoystick(std::string const& title, int width, int height, GraphicsApi api) :
GameWindow(title, width, height, api) {
}
WindowWithLinuxJoystick::~WindowWithLinuxJoystick() {
LinuxGamep... | 33.222222 | 116 | 0.799331 | hissingshark |
e8a426d4b092a2a3bad7dd0e7f1f17ab34287675 | 3,363 | hpp | C++ | uActor/include/remote/remote_connection.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | 1 | 2021-09-15T12:41:37.000Z | 2021-09-15T12:41:37.000Z | uActor/include/remote/remote_connection.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | null | null | null | uActor/include/remote/remote_connection.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | null | null | null | #pragma once
extern "C" {
#include <arpa/inet.h>
}
#include <atomic>
#include <cstdint>
#include <cstring>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "forwarder_api.hpp"
#include "forwarding_s... | 27.120968 | 79 | 0.749926 | uActor |
e8aab68527a7cd0ffa9fc714daad51ea18c92a75 | 134 | hpp | C++ | src/hardware/chips/stm32/stm32f103c4.hpp | xenris/nblib | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | 3 | 2016-03-31T04:41:32.000Z | 2017-07-17T02:50:38.000Z | src/hardware/chips/stm32/stm32f103c4.hpp | xenris/nbavr | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | 18 | 2015-08-12T12:13:16.000Z | 2017-05-10T12:55:55.000Z | src/hardware/chips/stm32/stm32f103c4.hpp | xenris/nblib | 72bf25b6d086bf6f6f3003d709f92a9975bfddaf | [
"MIT"
] | null | null | null | #ifndef NBLIB_STM32F103C4_HPP
#define NBLIB_STM32F103C4_HPP
#include "stm32f103t4.hpp"
#undef CHIP
#define CHIP stm32f103c4
#endif
| 13.4 | 29 | 0.820896 | xenris |
e8aae74fc176487bb56981bc58fab4197dd93a2a | 8,390 | hpp | C++ | ufora/core/Logging.hpp | ufora/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 571 | 2015-11-05T20:07:07.000Z | 2022-01-24T22:31:09.000Z | ufora/core/Logging.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 218 | 2015-11-05T20:37:55.000Z | 2021-05-30T03:53:50.000Z | ufora/core/Logging.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 40 | 2015-11-07T21:42:19.000Z | 2021-05-23T03:48:19.000Z | /***************************************************************************
Copyright 2015 Ufora 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/licen... | 34.958333 | 147 | 0.682598 | ufora |
e8adbb3f0a9d4440e2df99ab9fc61d91f8c494a8 | 498 | cpp | C++ | Online Judges/URI/1789/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/URI/1789/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/URI/1789/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
using namespace std;
int main()
{
int quant, lesmas, maior;
while(cin >> quant) {
maior = 0;
for ( int i = 0; i < quant; i++) {
cin >> lesmas;
if(lesmas > maior)
maior = lesmas;
}
if(maior > 0 && maior < 10)
... | 20.75 | 43 | 0.415663 | AnneLivia |
e8b2900874ba5e1051d5ec24b7bce0678f782276 | 2,633 | cc | C++ | src/base/threading/scoped_blocking_call.cc | goochen/naiveproxy | 1d0682ee5bae6e648cd43c65f49b4eefd224f206 | [
"BSD-3-Clause"
] | 1 | 2020-06-02T02:28:34.000Z | 2020-06-02T02:28:34.000Z | src/base/threading/scoped_blocking_call.cc | goochen/naiveproxy | 1d0682ee5bae6e648cd43c65f49b4eefd224f206 | [
"BSD-3-Clause"
] | null | null | null | src/base/threading/scoped_blocking_call.cc | goochen/naiveproxy | 1d0682ee5bae6e648cd43c65f49b4eefd224f206 | [
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2017 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 "base/threading/scoped_blocking_call.h"
#include "base/lazy_instance.h"
#include "base/threading/thread_local.h"
#include "base/threading/thread... | 31.345238 | 80 | 0.726168 | goochen |
e8b958959daf1290263a0cee7a98315e0e567f90 | 5,497 | cpp | C++ | Final Project 2/Final Project 2/DoubleList_Shounak.cpp | ShounakNR/Programming-for-Finance-16-332-503 | 56048c67179d98ab519fcb4e9df4d8dfc323266a | [
"Apache-2.0"
] | null | null | null | Final Project 2/Final Project 2/DoubleList_Shounak.cpp | ShounakNR/Programming-for-Finance-16-332-503 | 56048c67179d98ab519fcb4e9df4d8dfc323266a | [
"Apache-2.0"
] | null | null | null | Final Project 2/Final Project 2/DoubleList_Shounak.cpp | ShounakNR/Programming-for-Finance-16-332-503 | 56048c67179d98ab519fcb4e9df4d8dfc323266a | [
"Apache-2.0"
] | null | null | null | //
// DoubleList.cpp
// Final Project
//
// Created by Shounak Rangwala on 11/24/19.
// Copyright © 2019 Shounak Rangwala. All rights reserved.
//
#include <iostream>
#include <string>
#include "DoubleList.h"
#include <fstream>
#include <iomanip>
DoubleList::DoubleList(){
listsize = 0;
head= NULL;
ta... | 25.100457 | 203 | 0.524468 | ShounakNR |
e8ba1a2fb6a73ff12564cd09de787c50e025df4f | 3,625 | cpp | C++ | test/sandbox/test_digraph.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | test/sandbox/test_digraph.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | test/sandbox/test_digraph.cpp | wataro/midso | 8190ac06b2cf391d69c3db49f32147831ba39f5d | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <algorithm>
#include <memory>
#include <vector>
template<typename T_>
using Vector = std::vector<T_>;
template<typename T1_, typename T2_>
using Pair = std::pair<T1_, T2_>;
template<typename T_>
using Pointer = std::shared_ptr<T_>;
template<typename T_>
class Layer
{
public:
... | 26.459854 | 86 | 0.543448 | wataro |
e8c1780e18d20c5b439240af585541cf69438cb1 | 6,089 | cpp | C++ | STEPVis.cpp | steptools/STEPGraph | e35712e9572e836ca8a7c4db40e54c97c9f08079 | [
"Apache-2.0"
] | 10 | 2015-07-23T14:51:11.000Z | 2021-06-11T17:37:27.000Z | STEPVis.cpp | steptools/STEPGraph | e35712e9572e836ca8a7c4db40e54c97c9f08079 | [
"Apache-2.0"
] | null | null | null | STEPVis.cpp | steptools/STEPGraph | e35712e9572e836ca8a7c4db40e54c97c9f08079 | [
"Apache-2.0"
] | 4 | 2015-09-08T01:55:18.000Z | 2017-12-24T15:14:36.000Z | #include <rose.h>
#include <stp_schema.h>
using namespace System;
void markme(RoseObject * obj);
void graphaddnode(Microsoft::Msagl::Drawing::Graph^ graph, String^ out, String^ in, String^ name="");
void graphatts(RoseObject* obj, Microsoft::Msagl::Drawing::Graph^ graph);
void parsetonode(RoseObject*parent, RoseObject... | 31.066327 | 160 | 0.629824 | steptools |
e8c22bf8af4daf96ece0f21a30578992f4291cf8 | 253 | cpp | C++ | Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp | SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War | cecf72dd6f0982d03b1b01c2fff15cdd07028f11 | [
"MIT"
] | 15 | 2022-02-16T00:20:21.000Z | 2022-03-21T14:40:37.000Z | Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp | SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War | cecf72dd6f0982d03b1b01c2fff15cdd07028f11 | [
"MIT"
] | 1 | 2022-03-06T20:41:06.000Z | 2022-03-08T18:21:41.000Z | Wind_Vegetation_GOW4/Source/Wind_Vegetation_GOW4/Wind_Vegetation_GOW4.cpp | SungJJinKang/UE4_Interactive_Wind_and_Vegetation_in_God_of_War | cecf72dd6f0982d03b1b01c2fff15cdd07028f11 | [
"MIT"
] | 1 | 2022-03-25T02:09:14.000Z | 2022-03-25T02:09:14.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "Wind_Vegetation_GOW4.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Wind_Vegetation_GOW4, "Wind_Vegetation_GOW4" );
| 36.142857 | 102 | 0.83004 | SungJJinKang |
e8c23c1a1ef9d468819e1ac045e7f0b522b2d841 | 28,136 | hpp | C++ | lib/dmitigr/pgfe/array_conversions.hpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 121 | 2018-05-23T19:51:00.000Z | 2022-03-12T13:05:34.000Z | lib/dmitigr/pgfe/array_conversions.hpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 36 | 2019-11-11T03:25:10.000Z | 2022-03-28T21:54:07.000Z | lib/dmitigr/pgfe/array_conversions.hpp | dmitigr/pgfe | c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a | [
"Zlib"
] | 17 | 2018-05-24T04:01:28.000Z | 2022-01-16T13:22:26.000Z | // -*- C++ -*-
// Copyright (C) Dmitry Igrishin
// For conditions of distribution and use, see files LICENSE.txt or pgfe.hpp
#ifndef DMITIGR_PGFE_ARRAY_CONVERSIONS_HPP
#define DMITIGR_PGFE_ARRAY_CONVERSIONS_HPP
#include "dmitigr/pgfe/basic_conversions.hpp"
#include "dmitigr/pgfe/conversions_api.hpp"
#include "dmitigr... | 33.140165 | 125 | 0.681902 | dmitigr |
e8c64818f81bb22edcb898ba35b7f60f1e9530d5 | 843 | cpp | C++ | cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp | ggaaaff/think_like_a_programmer--test_code | fb081d24d70db6dd503608562625b84607c7a3ab | [
"MIT"
] | 1 | 2020-12-08T10:54:39.000Z | 2020-12-08T10:54:39.000Z | cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp | ggaaaff/think_like_a_programmer--test_code | fb081d24d70db6dd503608562625b84607c7a3ab | [
"MIT"
] | null | null | null | cap04/cap04-ex4_3-00-dinamic_array-replaceString.cpp | ggaaaff/think_like_a_programmer--test_code | fb081d24d70db6dd503608562625b84607c7a3ab | [
"MIT"
] | null | null | null | //2014.03.28 Gustaf - CTG.
/* EXERCISE 4-3 :
For our dynamically allocated strings, create a function replaceString that takes
three parameters, each of type arrayString: source, target, and replaceText.
The function replaces every occurrence of target in source with replaceText.
For example,
if source points to... | 18.326087 | 105 | 0.729537 | ggaaaff |
e8c737caea08dc08f30b761194ab66c7955ee9ac | 2,843 | cpp | C++ | dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp | PixPh/kaleido3d | 8a8356586f33a1746ebbb0cfe46b7889d0ae94e9 | [
"MIT"
] | 38 | 2019-01-10T03:10:12.000Z | 2021-01-27T03:14:47.000Z | dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp | fuqifacai/kaleido3d | ec77753b516949bed74e959738ef55a0bd670064 | [
"MIT"
] | null | null | null | dev/Mobile/PerfMonitor/Views/ToolBoxView.cpp | fuqifacai/kaleido3d | ec77753b516949bed74e959738ef55a0bd670064 | [
"MIT"
] | 8 | 2019-04-16T07:56:27.000Z | 2020-11-19T02:38:37.000Z | #include "ToolBoxView.h"
#include <MobileDeviceBridge.h>
#include <QBoxLayout>
#include <QPushButton>
#include <QLabel>
#include <QLineEdit>
#include <QFileDialog>
#include <QListWidget>
ToolBoxView::ToolBoxView(QWidget* parent)
: QWidget(parent)
, m_Device(nullptr)
{
CreateUI();
}
ToolBoxView::~ToolBoxVi... | 28.148515 | 76 | 0.673584 | PixPh |
e8c8213bc7b85fa2a94f92f355d3ea213c0e593a | 1,511 | cpp | C++ | Hacker_Rank_Challenges/C++/Sets-STL.cpp | anishacharya/Cracking-Coding-Interviews | f94e70c240ad9a76eddf22b8f4d5b4185c611a71 | [
"MIT"
] | 1 | 2019-03-24T12:35:43.000Z | 2019-03-24T12:35:43.000Z | Hacker_Rank_Challenges/C++/Sets-STL.cpp | anishacharya/Cracking-Coding-Interviews | f94e70c240ad9a76eddf22b8f4d5b4185c611a71 | [
"MIT"
] | null | null | null | Hacker_Rank_Challenges/C++/Sets-STL.cpp | anishacharya/Cracking-Coding-Interviews | f94e70c240ad9a76eddf22b8f4d5b4185c611a71 | [
"MIT"
] | null | null | null | /*
you will be give Q queries.Each query is of one of the three types:
1 x:Add an element x to the set.
2 x:Delete an element x from the set. (If the number x is not present in the set then do nothing).
3 x:If the number x is present in the set then print "Yes"(without quotes) else print "No"(without quotes).
Input F... | 24.370968 | 209 | 0.604236 | anishacharya |
e8c98b346df12bf53ae3a3a51e720e1baedd0486 | 2,536 | cpp | C++ | webkit/WebCore/plugins/Plugin.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/plugins/Plugin.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/plugins/Plugin.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) a... | 27.565217 | 82 | 0.682177 | s1rcheese |
e8cd32226646c8f0e83a040e7344d0c1989634cf | 12,725 | cpp | C++ | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Graphics/Rendering/GraphicsRenderer2D.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | using namespace RSLib;
//-------------------------------------------------------------------------------------------------
// class rsGraphicsRenderer2D (the abstract baseclass):
// construction/destruction:
rsGraphicsRenderer2D::rsGraphicsRenderer2D()
{
}
rsGraphicsRenderer2D::~rsGraphicsRenderer2D()
{
}
// set... | 30.442584 | 140 | 0.627741 | RobinSchmidt |
e8d05c7655dd1149727b26b9f7b175237253d9a1 | 5,861 | cpp | C++ | vaca/FileDialog.cpp | picrap/vaca | 377070c2124bb71649313f6a144c6bd40fdee723 | [
"MIT"
] | null | null | null | vaca/FileDialog.cpp | picrap/vaca | 377070c2124bb71649313f6a144c6bd40fdee723 | [
"MIT"
] | null | null | null | vaca/FileDialog.cpp | picrap/vaca | 377070c2124bb71649313f6a144c6bd40fdee723 | [
"MIT"
] | null | null | null | // Vaca - Visual Application Components Abstraction
// Copyright (c) 2005-2010 David Capello
//
// This file is distributed under the terms of the MIT license,
// please read LICENSE.txt for more information.
#include "vaca/FileDialog.h"
#include "vaca/Widget.h"
#include "vaca/Application.h"
#include "vaca/Sy... | 23.257937 | 100 | 0.651254 | picrap |
e8d08ef24eb9f7d4ac4cb5a186b0765686e35d40 | 6,595 | cpp | C++ | GD_HW/hw5/Game.cpp | HKhademian/UniGameDev | 0abfe552ce863338a04e4efc38d3e87c31a99013 | [
"Unlicense"
] | null | null | null | GD_HW/hw5/Game.cpp | HKhademian/UniGameDev | 0abfe552ce863338a04e4efc38d3e87c31a99013 | [
"Unlicense"
] | null | null | null | GD_HW/hw5/Game.cpp | HKhademian/UniGameDev | 0abfe552ce863338a04e4efc38d3e87c31a99013 | [
"Unlicense"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <cstdlib>
#include <cstdio>
#include <chrono>
#include <thread>
#include "Scene.h"
using namespace glm;
namespace Game {
Scene *scene;
GLFWwindow *window;
glm::vec2 press_mouse_posi... | 27.365145 | 110 | 0.636694 | HKhademian |
e8d1613538e38d128d0daab9ba655f80d012d907 | 13,633 | cpp | C++ | ext/pronto-v1.1/src/nvm_manager.cpp | rvs314/Montage | d4c49e66addefe947c03ff2bd0c463ebd2c34436 | [
"MIT"
] | 9 | 2020-10-04T22:03:31.000Z | 2021-10-08T01:52:57.000Z | ext/pronto-v1.1/src/nvm_manager.cpp | rvs314/Montage | d4c49e66addefe947c03ff2bd0c463ebd2c34436 | [
"MIT"
] | 18 | 2020-10-20T02:39:12.000Z | 2021-08-30T00:23:32.000Z | ext/pronto-v1.1/src/nvm_manager.cpp | rvs314/Montage | d4c49e66addefe947c03ff2bd0c463ebd2c34436 | [
"MIT"
] | 9 | 2020-10-04T22:06:11.000Z | 2021-02-19T17:23:17.000Z | #include <pthread.h>
#include <list>
#include <queue>
#include "nv_factory.hpp"
#include "nv_object.hpp"
#include "nvm_manager.hpp"
#include "nv_catalog.hpp"
#include "recovery_context.hpp"
#include "snapshot.hpp"
using namespace std;
NVManager::NVManager() {
PRINT("Initializing manager object\n");
pthread_mu... | 35.688482 | 86 | 0.611017 | rvs314 |
e8d473761c3328e29927eddb682114201b63f940 | 302 | cpp | C++ | SimpleLearn/99.Learn/Test2.cpp | codeworkscn/learn-cpp | c72b2330934bdead2489509cd89343e666e631b4 | [
"Apache-2.0"
] | null | null | null | SimpleLearn/99.Learn/Test2.cpp | codeworkscn/learn-cpp | c72b2330934bdead2489509cd89343e666e631b4 | [
"Apache-2.0"
] | null | null | null | SimpleLearn/99.Learn/Test2.cpp | codeworkscn/learn-cpp | c72b2330934bdead2489509cd89343e666e631b4 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<string>
using namespace std;
int Test2(void)
{
const int n = 9 ;
for(int i=1 ; i!= n+1 ; ++i)
{
for(int j=1 ; j!= i+1 ; ++j)
{
cout << i << "*" << j << "=" << i*j << "\t";
if(! (j%10) && j)
{
cout << endl ;
}
}
cout << endl ;
}
return 0 ;
}
| 12.583333 | 47 | 0.427152 | codeworkscn |
e8d76f278c8b413083732ba9463daecbb233465e | 2,991 | cpp | C++ | test/TestReadIterator.cpp | RPG-18/QMiniZip | aba71ec55e05e4a67e9ece81ca1aa16f825e438e | [
"MIT"
] | null | null | null | test/TestReadIterator.cpp | RPG-18/QMiniZip | aba71ec55e05e4a67e9ece81ca1aa16f825e438e | [
"MIT"
] | null | null | null | test/TestReadIterator.cpp | RPG-18/QMiniZip | aba71ec55e05e4a67e9ece81ca1aa16f825e438e | [
"MIT"
] | 2 | 2018-05-23T14:46:30.000Z | 2018-06-23T02:04:32.000Z | #include <gtest/gtest.h>
#include <config.h>
#include <QtCore/QDir>
#include <QtCore/QDebug>
#include <QtCore/QVector>
#include <QtCore/QStringList>
#include "ZipFile.h"
#include "ZipReadIterator.h"
using namespace QMiniZip;
TEST(ZipReadIterator, next)
{
QDir dir(TEST_SOURCE_DIR);
ASSERT_TRUE(dir.cd("data")... | 22.320896 | 65 | 0.646272 | RPG-18 |
e8d851c4449252672d946d6bec0cf8cefaa24526 | 1,306 | cpp | C++ | kernel/arch/x86_64/avx.cpp | heatd/Onyx | 404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d | [
"MIT"
] | 44 | 2017-02-16T20:48:09.000Z | 2022-03-14T17:58:57.000Z | kernel/arch/x86_64/avx.cpp | heatd/Onyx | 404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d | [
"MIT"
] | 72 | 2017-02-16T20:22:10.000Z | 2022-03-31T21:17:06.000Z | kernel/arch/x86_64/avx.cpp | heatd/Onyx | 404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d | [
"MIT"
] | 10 | 2017-04-07T19:20:14.000Z | 2021-12-16T03:31:14.000Z | /*
* Copyright (c) 2017 - 2021 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*
* SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <cpuid.h>
#include <stdio.h>
#include <onyx/x86/avx.h>
#include ... | 21.409836 | 83 | 0.696784 | heatd |
e8dcef6aadbf15c7a345a97f6cb187c6164a23fd | 779 | cpp | C++ | source/src/Tensors.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 14 | 2017-03-24T12:38:08.000Z | 2022-02-21T05:00:57.000Z | source/src/Tensors.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 10 | 2019-03-08T18:48:42.000Z | 2022-03-22T11:59:48.000Z | source/src/Tensors.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 11 | 2017-03-23T15:29:58.000Z | 2022-02-21T05:03:57.000Z | // ============================================================================
// Include files
// ============================================================================
// LoKi
// ============================================================================
#include "Ostap/Tensors.h"
// =========================... | 41 | 79 | 0.192555 | TatianaOvsiannikova |
e8e050b4cda28176096b6e8f3f9bdaff02d15143 | 8,011 | cpp | C++ | tools/ctmconv.cpp | SaeedTaghavi/OpenCTM | d6c1138eb39632244e6b5d133a100f431c5c5082 | [
"Zlib"
] | 80 | 2015-04-08T08:48:06.000Z | 2022-03-23T10:36:55.000Z | tools/ctmconv.cpp | rasata/OpenCTM | 243a343bd23bbeef8731f06ed91e3996604e1af4 | [
"Zlib"
] | 7 | 2015-09-25T21:11:59.000Z | 2021-11-09T00:22:18.000Z | tools/ctmconv.cpp | rasata/OpenCTM | 243a343bd23bbeef8731f06ed91e3996604e1af4 | [
"Zlib"
] | 36 | 2015-05-21T16:34:42.000Z | 2021-12-29T06:41:52.000Z | //-----------------------------------------------------------------------------
// Product: OpenCTM tools
// File: ctmconv.cpp
// Description: 3D file format conversion tool. The program can be used to
// convert various 3D file formats to and from the OpenCTM file
// format, and al... | 33.801688 | 99 | 0.536887 | SaeedTaghavi |
e8e0b1207f2100452fb7a6b11af67b52b01d04d0 | 480 | hpp | C++ | llarp/exit/policy.hpp | killvxk/loki-network | 3715c28616fac132f622a80d5d0e8e794166315a | [
"Zlib"
] | 1 | 2019-05-01T11:06:52.000Z | 2019-05-01T11:06:52.000Z | llarp/exit/policy.hpp | majestrate/m | 8b83651c8d0dddb03ca016bf0645e23514e9e41d | [
"Zlib"
] | null | null | null | llarp/exit/policy.hpp | majestrate/m | 8b83651c8d0dddb03ca016bf0645e23514e9e41d | [
"Zlib"
] | 1 | 2019-04-21T17:53:56.000Z | 2019-04-21T17:53:56.000Z | #ifndef LLARP_EXIT_POLICY_HPP
#define LLARP_EXIT_POLICY_HPP
#include <util/bencode.hpp>
namespace llarp
{
namespace exit
{
struct Policy final : public llarp::IBEncodeMessage
{
~Policy();
uint64_t proto;
uint64_t port;
uint64_t drop;
bool
DecodeKey(const llarp_buffer_... | 17.142857 | 71 | 0.664583 | killvxk |
e8e1fb670c240b9729731cfaa920aaa970c460eb | 227 | cpp | C++ | Engine/Source/Runtime/Engine/Private/MatineeAnimInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Private/MatineeAnimInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Private/MatineeAnimInterface.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Matinee/MatineeAnimInterface.h"
UMatineeAnimInterface::UMatineeAnimInterface(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
| 25.222222 | 89 | 0.814978 | windystrife |
e8e38af016bc84b4fc3e2d4aa970e8b440599a8e | 339 | cc | C++ | project/src/package_factory.cc | WileyBui/Package-Delivery-System | dd7bb15366623ddeb86a305cc8dfa50ed94f0cad | [
"MIT"
] | null | null | null | project/src/package_factory.cc | WileyBui/Package-Delivery-System | dd7bb15366623ddeb86a305cc8dfa50ed94f0cad | [
"MIT"
] | null | null | null | project/src/package_factory.cc | WileyBui/Package-Delivery-System | dd7bb15366623ddeb86a305cc8dfa50ed94f0cad | [
"MIT"
] | null | null | null | #include "entity_base.h"
#include "json_helper.h"
#include "package_factory.h"
#include "package.h"
namespace csci3081 {
IEntity* PackageFactory::CreateEntity(const picojson::object& val){
if (JsonHelper::GetString(val, "type") == "package") {
return new Package(val);
}
return NULL;
}
} // end of... | 22.6 | 67 | 0.690265 | WileyBui |
e8e907277d26798fc44242b4d2f30dde38835985 | 12,350 | cpp | C++ | UnitTest/Basic.cpp | akfreed/CppSocketsXPlatform | 06be7da54e4ac29ac87c6e68626bbc3226217f4e | [
"Apache-2.0"
] | null | null | null | UnitTest/Basic.cpp | akfreed/CppSocketsXPlatform | 06be7da54e4ac29ac87c6e68626bbc3226217f4e | [
"Apache-2.0"
] | null | null | null | UnitTest/Basic.cpp | akfreed/CppSocketsXPlatform | 06be7da54e4ac29ac87c6e68626bbc3226217f4e | [
"Apache-2.0"
] | null | null | null | // ==================================================================
// Copyright 2018 Alexander K. Freed
//
// 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/... | 23.434535 | 85 | 0.570202 | akfreed |
e8ecdaba33e0129890adb674a80dc6aedd1a59a4 | 564 | hpp | C++ | src/breakout/ball_object.hpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | src/breakout/ball_object.hpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | src/breakout/ball_object.hpp | clsrfish/learnogl | 3e1cc42a595dd12779268ba587ef68fa4991e1f5 | [
"Apache-2.0"
] | null | null | null | #if !defined(BALL_OBJECT_H)
#define BALL_OBJECT_H
#include "./game_object.hpp"
namespace breakout
{
class BallObject : public GameObject
{
public:
// ball state
float Radius;
bool Stuck;
BallObject();
BallObject(glm::vec2 pos, float radius, glm::vec2 velocity, Text... | 19.448276 | 86 | 0.613475 | clsrfish |
e8ef2e7dfc0e4b9073b3f91f0947ba70037b8eff | 7,739 | cc | C++ | src/metrics_filter_interpreter.cc | mxzeng/gestures | 4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/metrics_filter_interpreter.cc | mxzeng/gestures | 4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/metrics_filter_interpreter.cc | mxzeng/gestures | 4d354c4fa38e74fcb8f8a88a903e6fc080f83bc1 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2013 The Chromium OS 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 "gestures/include/metrics_filter_interpreter.h"
#include <cmath>
#include "gestures/include/filter_interpreter.h"
#include "gestures/inc... | 37.206731 | 79 | 0.68032 | mxzeng |
e8f0448702ac73515827890272e5aa25ccd4980b | 12,860 | cpp | C++ | core/cc/scratch_allocator_test.cpp | cdotstout/gapid | a729b0ca72b2a9fffa208577578725345695ed72 | [
"Apache-2.0"
] | 1 | 2021-02-26T16:08:00.000Z | 2021-02-26T16:08:00.000Z | core/cc/scratch_allocator_test.cpp | cdotstout/gapid | a729b0ca72b2a9fffa208577578725345695ed72 | [
"Apache-2.0"
] | 25 | 2017-04-25T20:39:25.000Z | 2018-06-14T17:10:48.000Z | core/cc/scratch_allocator_test.cpp | cdotstout/gapid | a729b0ca72b2a9fffa208577578725345695ed72 | [
"Apache-2.0"
] | 1 | 2017-06-27T02:17:50.000Z | 2017-06-27T02:17:50.000Z | /*
* Copyright (C) 2017 Google 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 agree... | 37.935103 | 80 | 0.646345 | cdotstout |
e8f1e771a41dd05d5ac23c8f7ba8886f641d2b04 | 344 | hpp | C++ | src/searches/benchmarks.hpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/searches/benchmarks.hpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/searches/benchmarks.hpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | #ifndef REMAINDERTREE_SRC_SEARCHES_BENCHMARKS_H_
#define REMAINDERTREE_SRC_SEARCHES_BENCHMARKS_H_
//std::function< std::vector<bool> (long N)> remember this is what is being passed in!
#include <vector>
std::vector<bool> constant_slow(long);
std::vector<bool> random_zz(long, long, long);
#endif //REMAINDERTREE_SR... | 26.461538 | 86 | 0.802326 | adienes |
e8f5f70763191c62774bcfa9b7cf1762cfdefa57 | 3,473 | cpp | C++ | src/commandline.cpp | flopp/gol-sat | 40a92d6c9e32bcdaf2d83b8f317f8be955e378fb | [
"MIT"
] | 1 | 2020-01-10T23:08:00.000Z | 2020-01-10T23:08:00.000Z | src/commandline.cpp | flopp/gol-sat | 40a92d6c9e32bcdaf2d83b8f317f8be955e378fb | [
"MIT"
] | 1 | 2020-01-12T10:27:36.000Z | 2020-01-12T10:27:36.000Z | src/commandline.cpp | flopp/gol-sat | 40a92d6c9e32bcdaf2d83b8f317f8be955e378fb | [
"MIT"
] | null | null | null | /*******************************************************************************
* gol-sat
*
* Copyright (c) 2015 Florian Pigorsch
*
* 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 wit... | 36.177083 | 80 | 0.59142 | flopp |
e8f637ad13bb661a9253fcf598c2c0e248e03ae3 | 2,193 | hpp | C++ | include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Oculus/Platform/MessageWithMatchmakingEnqueueResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:07 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: Oculus.Platform.Message`1
#include "Oculus/Platform/Message_1.hpp"
#include "utils/il2cp... | 48.733333 | 137 | 0.760146 | Futuremappermydud |
e8fc5928349f4b930c3d40219bd4f5a2ea1a92c5 | 4,699 | cpp | C++ | src/soundproducer-track-manager.cpp | adct-the-experimenter/Binaural-Audio-Editor | 213e37f6cfe0530f0091b82a700085159ee7babe | [
"BSD-3-Clause"
] | 42 | 2019-05-20T12:54:14.000Z | 2022-03-18T01:01:56.000Z | src/soundproducer-track-manager.cpp | adct-the-experimenter/Binaural-Audio-Editor | 213e37f6cfe0530f0091b82a700085159ee7babe | [
"BSD-3-Clause"
] | 21 | 2019-05-13T18:40:32.000Z | 2021-05-03T20:17:44.000Z | src/soundproducer-track-manager.cpp | adct-the-experimenter/Binaural-Audio-Editor | 213e37f6cfe0530f0091b82a700085159ee7babe | [
"BSD-3-Clause"
] | 5 | 2020-05-08T06:02:07.000Z | 2021-04-17T12:15:41.000Z | #include "soundproducer-track-manager.h"
SoundProducerTrackManager::SoundProducerTrackManager(const wxString& title,ALCdevice* thisAudioDevice,ALCcontext* thisAudioContext) : Track(title)
{
//initialize audio player
audioPlayer = new OpenALSoftPlayer();
audioPlayer->SetReferenceToAudioContext(thisAudioContext);
au... | 31.75 | 152 | 0.816557 | adct-the-experimenter |
e8fe95714a081e8571f376df9faa294761282073 | 710 | cpp | C++ | common_helper_functions.cpp | pintotomas/tp3 | dd319ec583a73b931a0751b3b4f15e7e6b04b245 | [
"MIT"
] | null | null | null | common_helper_functions.cpp | pintotomas/tp3 | dd319ec583a73b931a0751b3b4f15e7e6b04b245 | [
"MIT"
] | null | null | null | common_helper_functions.cpp | pintotomas/tp3 | dd319ec583a73b931a0751b3b4f15e7e6b04b245 | [
"MIT"
] | null | null | null | #include "helper_functions.h"
#include <iostream>
const bool contains_unique_numbers(const std::string &str) {
bool numbers[DIGITS] = { 0 };
for (unsigned int i = 0; i < str.length(); i++) {
int n = (int) str[i] - ASCII_DIGITS_START;
if (numbers[n] == true)
return false;
nu... | 23.666667 | 60 | 0.585915 | pintotomas |
3303637c5e2acc2df4f0a2d0e8178adf6ae95540 | 264 | cc | C++ | codes/cpp/cpp-concurrency/ch03/test_stack_s.cc | zhoujiagen/learning-system-programming | 2a18e9f8558433708837ba4bd0fae5d7c11bf110 | [
"MIT"
] | null | null | null | codes/cpp/cpp-concurrency/ch03/test_stack_s.cc | zhoujiagen/learning-system-programming | 2a18e9f8558433708837ba4bd0fae5d7c11bf110 | [
"MIT"
] | null | null | null | codes/cpp/cpp-concurrency/ch03/test_stack_s.cc | zhoujiagen/learning-system-programming | 2a18e9f8558433708837ba4bd0fae5d7c11bf110 | [
"MIT"
] | null | null | null | #include "stack_s.h"
#include <iostream>
stack_s<int> stack;
// TODO
// void work_push()
// {
// }
// void work_pop()
// {
// }
int main(int argc, char const *argv[])
{
stack.push(0);
stack.push(1);
std::cout << stack.pop() << std::endl;
return 0;
}
| 11 | 40 | 0.568182 | zhoujiagen |
33062b0624f425e8eef0c18b7ff4dfb3b67ef0eb | 8,298 | cxx | C++ | third-party/libstudxml/xml/serializer.cxx | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 8 | 2019-02-28T14:49:56.000Z | 2022-03-29T06:32:09.000Z | third-party/libstudxml/xml/serializer.cxx | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 2 | 2021-04-09T15:36:05.000Z | 2021-11-17T22:38:10.000Z | third-party/libstudxml/xml/serializer.cxx | haquocviet/xlnt | 8f39375f4c29e7f7590efaeb6ce8c56490560c1f | [
"Unlicense"
] | 3 | 2019-12-31T14:04:17.000Z | 2022-03-18T11:44:49.000Z | // file : xml/serializer.cxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <new> // std::bad_alloc
#include <cstring> // std::strlen
#include <xml/serializer>
using namespace std;
namespace xml
{
// serialization
//
void seri... | 25.453988 | 78 | 0.600265 | haquocviet |
3306cd5d1317baed6256f45ba3c47e4b0136ae61 | 2,700 | hpp | C++ | SOLVER/src/core/element/material/elastic/Elastic.hpp | nicklinyi/AxiSEM-3D | cd11299605cd6b92eb867d4109d2e6a8f15e6b4d | [
"MIT"
] | 8 | 2020-06-05T01:13:20.000Z | 2022-02-24T05:11:50.000Z | SOLVER/src/core/element/material/elastic/Elastic.hpp | nicklinyi/AxiSEM-3D | cd11299605cd6b92eb867d4109d2e6a8f15e6b4d | [
"MIT"
] | 24 | 2020-10-21T19:03:38.000Z | 2021-11-17T21:32:02.000Z | SOLVER/src/core/element/material/elastic/Elastic.hpp | nicklinyi/AxiSEM-3D | cd11299605cd6b92eb867d4109d2e6a8f15e6b4d | [
"MIT"
] | 5 | 2020-06-21T11:54:22.000Z | 2021-06-23T01:02:39.000Z | //
// Elastic.hpp
// AxiSEM3D
//
// Created by Kuangdai Leng on 2/26/19.
// Copyright © 2019 Kuangdai Leng. All rights reserved.
//
// elastic material
#ifndef Elastic_hpp
#define Elastic_hpp
#include "Attenuation.hpp"
class Elastic {
public:
// constructor
Elastic(bool is1D, std::unique_ptr<Attenuatio... | 26.213592 | 77 | 0.537778 | nicklinyi |
3309cc0da29dc3c26c30407a3edf49d8790ac209 | 4,472 | cpp | C++ | BCC55/Examples/StdLib/memfunc.cpp | C14427818/CollegeYr1 | 2b551d70ae3cc14a354c49657d476515466ca66f | [
"MIT"
] | null | null | null | BCC55/Examples/StdLib/memfunc.cpp | C14427818/CollegeYr1 | 2b551d70ae3cc14a354c49657d476515466ca66f | [
"MIT"
] | null | null | null | BCC55/Examples/StdLib/memfunc.cpp | C14427818/CollegeYr1 | 2b551d70ae3cc14a354c49657d476515466ca66f | [
"MIT"
] | null | null | null | #include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* memfunc.cpp - Example program for mem_fun and other member function
* pointer wrappers. See Class Reference Section.
*
*********************************************************... | 32.642336 | 79 | 0.635733 | C14427818 |
331012ad1f9182cfb56eee2c8fb656a32fc7dc7a | 1,642 | cpp | C++ | src/platform/testing/alchemy/audio.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 11 | 2015-03-02T07:43:00.000Z | 2021-12-04T04:53:02.000Z | src/platform/testing/alchemy/audio.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 1 | 2015-03-28T17:17:13.000Z | 2016-10-10T05:49:07.000Z | src/platform/testing/alchemy/audio.cpp | mokoi/luxengine | 965532784c4e6112141313997d040beda4b56d07 | [
"MIT"
] | 3 | 2016-11-04T01:14:31.000Z | 2020-05-07T23:42:27.000Z | /****************************
Copyright © 2006-2011 Luke Salisbury
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, includi... | 26.063492 | 243 | 0.732643 | mokoi |
33109be627e39e30e59be26f77467aa853c51efe | 16,952 | cpp | C++ | MarlinClient/TestsetClient/TestWS.cpp | zYg-sys/Marlin | eeabb4d324c5f8d253a50c106208bb833cb824e8 | [
"MIT"
] | 23 | 2016-09-16T11:25:54.000Z | 2022-03-03T07:18:57.000Z | MarlinClient/TestsetClient/TestWS.cpp | zYg-sys/Marlin | eeabb4d324c5f8d253a50c106208bb833cb824e8 | [
"MIT"
] | 26 | 2016-10-21T11:07:54.000Z | 2022-03-05T18:27:03.000Z | MarlinClient/TestsetClient/TestWS.cpp | zYg-sys/Marlin | eeabb4d324c5f8d253a50c106208bb833cb824e8 | [
"MIT"
] | 7 | 2018-09-11T12:17:46.000Z | 2021-07-08T09:10:04.000Z | /////////////////////////////////////////////////////////////////////////////////
//
// SourceFile: TestWS.cpp
//
// Marlin Server: Internet server/client
//
// Copyright (c) 2015-2018 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this ... | 33.044834 | 114 | 0.611137 | zYg-sys |
3310fc883d5290508e50010a44d7806fa2bfeaae | 8,092 | cpp | C++ | rwa2_group_2/src/rwa2_node_mack.cpp | siddharthtelang/ARIAC_Robotics | 158bb49edfce650a5c442b48b5df3955e378ea06 | [
"MIT"
] | null | null | null | rwa2_group_2/src/rwa2_node_mack.cpp | siddharthtelang/ARIAC_Robotics | 158bb49edfce650a5c442b48b5df3955e378ea06 | [
"MIT"
] | null | null | null | rwa2_group_2/src/rwa2_node_mack.cpp | siddharthtelang/ARIAC_Robotics | 158bb49edfce650a5c442b48b5df3955e378ea06 | [
"MIT"
] | 2 | 2022-02-19T01:34:06.000Z | 2022-03-06T21:56:50.000Z | // Copyright 2016 Open Source Robotics Foundation, 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 appli... | 32.111111 | 207 | 0.700445 | siddharthtelang |
33129146cb1044846470f9ed6329c2a1e51be0a9 | 3,522 | cpp | C++ | PrettyEngine/src/engine/Networking/Client.cpp | cristi191096/Pretty_Engine | 53a5d305b3de5786223e3ad6775199dbc7b5e90c | [
"Apache-2.0"
] | null | null | null | PrettyEngine/src/engine/Networking/Client.cpp | cristi191096/Pretty_Engine | 53a5d305b3de5786223e3ad6775199dbc7b5e90c | [
"Apache-2.0"
] | null | null | null | PrettyEngine/src/engine/Networking/Client.cpp | cristi191096/Pretty_Engine | 53a5d305b3de5786223e3ad6775199dbc7b5e90c | [
"Apache-2.0"
] | 1 | 2021-04-16T09:10:46.000Z | 2021-04-16T09:10:46.000Z | #include "pepch.h"
#include "Client.h"
namespace PrettyEngine
{
Client::Client(bool isHost)
: m_IsHost(isHost)
{
if (isHost)
{
m_Address.host = ENET_HOST_ANY;
m_Address.port = 1234;
m_Host = enet_host_create(&m_Address, 32, 2, 0, 0);
if (m_Host == NULL)
PE_ERROR("Host could not be initialis... | 23.797297 | 90 | 0.638842 | cristi191096 |
33135cc07e32c6a3d5c92fe5b3273e2978f26d72 | 2,387 | cpp | C++ | src/piper-token-to-cst.cpp | PiperLang/piper | 7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1 | [
"MIT"
] | null | null | null | src/piper-token-to-cst.cpp | PiperLang/piper | 7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1 | [
"MIT"
] | null | null | null | src/piper-token-to-cst.cpp | PiperLang/piper | 7b2dc57793fca7f3bb153e399e36b0ad0ec33ca1 | [
"MIT"
] | null | null | null | #include <array>
#include <cassert>
#include <cerrno>
#include <cstring>
#include <vector>
#include <iostream>
#include <scanner.hpp>
#include <tokentype.hpp>
#define INIT_BUFFER_SIZE 1024
int main(int argc, char *argv[]) {
std::freopen(nullptr, "rb", stdin);
if (std::ferror(stdin)) {
throw std::ru... | 27.125 | 86 | 0.528697 | PiperLang |
33151018fbd0bfd906ad5aacba9d5df3dcf8857c | 2,077 | cpp | C++ | source/CompilerState.cpp | Time0o/CPPBind | 88dafba49d366fd96f9d7367dd7c20ead5fac20d | [
"MIT"
] | 3 | 2021-04-16T21:14:51.000Z | 2022-03-07T18:42:35.000Z | source/CompilerState.cpp | Time0o/CPPBind | 88dafba49d366fd96f9d7367dd7c20ead5fac20d | [
"MIT"
] | 2 | 2020-12-21T14:47:25.000Z | 2021-09-23T19:10:31.000Z | source/CompilerState.cpp | Time0o/CPPBind | 88dafba49d366fd96f9d7367dd7c20ead5fac20d | [
"MIT"
] | null | null | null | #include <cassert>
#include <string>
#include "boost/filesystem.hpp"
#include "clang/Basic/SourceLocation.h"
#include "CompilerState.hpp"
namespace fs = boost::filesystem;
namespace cppbind
{
void
CompilerStateRegistry::updateFileEntry(std::string const &File)
{
fs::path Path(File);
FilesByStem_.emplace(Path... | 18.219298 | 80 | 0.675975 | Time0o |