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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38375b298c283f117312a93cd5ba2de0967c1ad7 | 4,395 | cpp | C++ | proxygen/lib/http/session/test/HQStreamLookupTest.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/session/test/HQStreamLookupTest.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/session/test/HQStreamLookupTest.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 31.847826 | 79 | 0.733561 | rohitm17 |
3838067ce2e25b045bdd306d364dc71434689c37 | 657 | cpp | C++ | CodeChef/LongChallenge/JuneLongChallenge2020B/PRICECON.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | 1 | 2019-04-19T13:06:33.000Z | 2019-04-19T13:06:33.000Z | CodeChef/LongChallenge/JuneLongChallenge2020B/PRICECON.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | CodeChef/LongChallenge/JuneLongChallenge2020B/PRICECON.cpp | ysumit99/Compi-Coding | d0e96c4f024328b0bfb799fab927919dae367f7a | [
"MIT"
] | null | null | null | //https://www.codechef.com/JUNE20B/problems/PRICECON
//Accepted
#include <bits/stdc++.h>
using namespace std;
int main()
{
#ifdef DEBUG
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
ios_base ::sync_with_stdio(false);
cin.tie(0);
int t;
cin >> t;
while (t--... | 16.846154 | 58 | 0.491629 | ysumit99 |
383a0bc9a73cc2e76b475ada46752d46d4ae36e3 | 1,468 | cpp | C++ | Shoot/src/Music.cpp | franticsoftware/starports | d723404b20383949874868c251c60cfa06120fde | [
"MIT"
] | 5 | 2016-11-13T08:13:57.000Z | 2019-03-31T10:22:38.000Z | Shoot/src/Music.cpp | franticsoftware/starports | d723404b20383949874868c251c60cfa06120fde | [
"MIT"
] | null | null | null | Shoot/src/Music.cpp | franticsoftware/starports | d723404b20383949874868c251c60cfa06120fde | [
"MIT"
] | 1 | 2016-12-23T11:25:35.000Z | 2016-12-23T11:25:35.000Z | /*
Amine Rehioui
Created: August 28th 2013
*/
#include "Shoot.h"
#include "Music.h"
#ifndef SHOOT_NO_SOUND
#if SHOOT_PLATFORM == SHOOT_PLATFORM_WP8
#include "File.h"
#endif
#include "ck/sound.h"
namespace shoot
{
DEFINE_OBJECT(Music);
//! constructor
Music::Music(const char* strOGG)
: m_bStartedPlaying(fa... | 15.956522 | 75 | 0.647139 | franticsoftware |
383b0ea51fe35d783dac4511f0418e5e94af967c | 3,325 | cpp | C++ | src/QtFTP/FTP/nIpFile.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | src/QtFTP/FTP/nIpFile.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | src/QtFTP/FTP/nIpFile.cpp | Vladimir-Lin/QtFTP | a297ac9cd3dd44407a39adcd87953fb4d2d90f1f | [
"MIT"
] | null | null | null | #include <qtftp.h>
N::IpFile:: IpFile ( const FtpUserID & uid ,
const QString & filename )
: fileID ( 0 )
, bOpen ( false )
, uid ( uid )
{
QStringList path = filename.split(FtpPath::sep... | 34.278351 | 81 | 0.403308 | Vladimir-Lin |
383b9c3f3a8627ea944fe622d5b0057ac5a0b063 | 171 | cpp | C++ | judge-site/src/test/resources/sample/program/re/invalid_memory.cpp | zhanhb/poj-judge | 292a437b4b344ca7643c5c24edba8342a28ad8da | [
"Apache-2.0"
] | 20 | 2016-01-06T14:21:41.000Z | 2021-06-28T06:45:14.000Z | judge-site/src/test/resources/sample/program/re/invalid_memory.cpp | zhanhb/poj-judge | 292a437b4b344ca7643c5c24edba8342a28ad8da | [
"Apache-2.0"
] | 11 | 2015-09-18T19:48:06.000Z | 2019-05-14T02:40:32.000Z | judge-site/src/test/resources/sample/program/re/invalid_memory.cpp | zhanhb/poj-judge | 292a437b4b344ca7643c5c24edba8342a28ad8da | [
"Apache-2.0"
] | 33 | 2015-09-22T15:55:51.000Z | 2019-12-10T02:42:52.000Z | #include<stdio.h>
#include<stdint.h>
int main() {
typedef void *pointer;
int i = 1;
pointer p = (pointer) (uintptr_t) i;
puts((char*) p);
return 0;
}
| 15.545455 | 40 | 0.573099 | zhanhb |
383c157f0bf31bc75a182a3e4cd567bfefca4ee0 | 1,313 | cpp | C++ | VosVideo.MediaFile/MediaFileManifest.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | 19 | 2017-11-24T05:18:27.000Z | 2021-06-25T19:34:17.000Z | VosVideo.MediaFile/MediaFileManifest.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | null | null | null | VosVideo.MediaFile/MediaFileManifest.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | 9 | 2017-10-02T03:42:49.000Z | 2020-09-17T07:59:04.000Z | #include "stdafx.h"
#include "MediaFileManifest.h"
using namespace std;
using namespace vosvideo::mediafile;
MediaFileManifest::MediaFileManifest(int64_t totalSize, int64_t duration_ns, const std::wstring& filename) :
totalSize_(totalSize), duration_ns_(duration_ns), filename_(filename)
{
}
MediaFileManif... | 27.354167 | 109 | 0.718964 | atelyshev |
3846908ef028e07905baa68f04adb17f48187172 | 43 | hpp | C++ | src/boost_log_support_xpressive.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_log_support_xpressive.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_log_support_xpressive.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/log/support/xpressive.hpp>
| 21.5 | 42 | 0.790698 | miathedev |
3846948f64f1366ad09c0ef196187856c13e8fcd | 2,759 | cc | C++ | 2020/d4s1.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | 2020/d4s1.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | 2020/d4s1.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <set>
using namespace std;
struct Passport {
vector<string> keys;
vector<string> values;
void Parse(const string& input) {
string::size_type start_pos = 0;
string::size_type end_pos;
while (true) {
// Fi... | 27.868687 | 90 | 0.517216 | danielrayali |
3848bd9432183ce800c92fa3c5dc60bcc747f2fc | 4,174 | cpp | C++ | src/detail/SamplerCache.cpp | JuanDiegoMontoya/g | 57a4f44ddea0299e6c6f056592e0b126a67ed8ec | [
"MIT"
] | 2 | 2022-02-04T10:14:49.000Z | 2022-03-01T23:45:22.000Z | src/detail/SamplerCache.cpp | JuanDiegoMontoya/g | 57a4f44ddea0299e6c6f056592e0b126a67ed8ec | [
"MIT"
] | null | null | null | src/detail/SamplerCache.cpp | JuanDiegoMontoya/g | 57a4f44ddea0299e6c6f056592e0b126a67ed8ec | [
"MIT"
] | null | null | null | #include "fwog/detail/SamplerCache.h"
#include "fwog/detail/ApiToEnum.h"
#include "fwog/detail/Hash.h"
#include "glad/gl.h"
#include "fwog/Common.h"
namespace Fwog::detail
{
TextureSampler SamplerCache::CreateOrGetCachedTextureSampler(const SamplerState& samplerState)
{
if (auto it = samplerCache_.find(sampler... | 30.918519 | 132 | 0.703642 | JuanDiegoMontoya |
384efb671b55ba781652c53d82c137b205b31594 | 1,592 | cpp | C++ | reatrix/src/Reatrix.cpp | PocoyoChow/Reatrix | 17e4ea852df11f3e52417e3b1c4977d6a4050744 | [
"MIT"
] | 2 | 2019-08-09T11:46:56.000Z | 2019-08-11T02:06:38.000Z | reatrix/src/Reatrix.cpp | PocoyoChow/Reatrix | 17e4ea852df11f3e52417e3b1c4977d6a4050744 | [
"MIT"
] | null | null | null | reatrix/src/Reatrix.cpp | PocoyoChow/Reatrix | 17e4ea852df11f3e52417e3b1c4977d6a4050744 | [
"MIT"
] | 1 | 2021-08-13T08:13:04.000Z | 2021-08-13T08:13:04.000Z | //
// Reatrix.cpp
// Reatrix
//
// Created by Lyn on 2019/5/30.
// Copyright © 2019 Vin-Ex. All rights reserved.
//
#include "Reatrix.h"
#include "World.h"
#include "time/Timer.h"
NAMESPACE_REATRIX_ENGINE_BEGIN
class ReatrixImpl
{
public:
ReatrixImpl()
{
}
bool loadWorld(SharedPtr<W... | 13.843478 | 49 | 0.523869 | PocoyoChow |
3851f9e8d6d3a528343a0b42cbb9a75c08a4aa1f | 2,537 | cpp | C++ | Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/ReadProjectOnline.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/ReadProjectOnline.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithProjects/CreatingReadingAndSaving/ReadProjectOnline.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | #include "WorkingWithProjects/CreatingReadingAndSaving/ReadProjectOnline.h"
#include <system/type_info.h>
#include <system/string.h>
#include <system/shared_ptr.h>
#include <system/console.h>
#include <system/reflection/method_base.h>
#include <system/object.h>
#include <system/collections/list.h>
#include <system/enu... | 42.283333 | 178 | 0.583366 | aspose-tasks |
38529ce342bbea7897087760bc788e243513c288 | 831 | cpp | C++ | pgm14_03.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | 1 | 2021-07-13T03:58:36.000Z | 2021-07-13T03:58:36.000Z | pgm14_03.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | null | null | null | pgm14_03.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | null | null | null | //
// This file contains the C++ code from Program 14.3 of
// "Data Structures and Algorithms
// with Object-Oriented Design Patterns in C++"
// by Bruno R. Preiss.
//
// Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved.
//
// http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/programs... | 26.806452 | 80 | 0.677497 | neharkarvishal |
3854462ff5d6eb4b3b21b2aa742fb5e05f562e14 | 3,662 | cpp | C++ | cpp_names/database.cpp | paullasarev/cpp-names | 9feffd94f8e28008748bef1a9c875466ebe2c097 | [
"BSD-2-Clause"
] | null | null | null | cpp_names/database.cpp | paullasarev/cpp-names | 9feffd94f8e28008748bef1a9c875466ebe2c097 | [
"BSD-2-Clause"
] | null | null | null | cpp_names/database.cpp | paullasarev/cpp-names | 9feffd94f8e28008748bef1a9c875466ebe2c097 | [
"BSD-2-Clause"
] | null | null | null | #include "cppnames.h"
#include "cpp_scanner.h"
#include <algorithm>
#include <fstream>
#include <map>
namespace CppNames
{
Database::Database()
{
Files.ExcludeDirectories(".svn");
Files.IncludeFiles(".cpp");
Files.IncludeFiles(".h");
}
Database::~Database()
{
}
void Dat... | 19.688172 | 108 | 0.567996 | paullasarev |
ee30ec4e5e2e1dd42fd4aac75ae7154f5a112e2e | 3,729 | cc | C++ | benchmarks/bench.cc | QiumingLu/voyager | dc84c88384977b649be190b8a1ccf308b515a562 | [
"BSD-3-Clause"
] | 10 | 2016-10-31T13:14:53.000Z | 2021-07-21T13:09:56.000Z | benchmarks/bench.cc | QiumingLu/Voyager | dc84c88384977b649be190b8a1ccf308b515a562 | [
"BSD-3-Clause"
] | 1 | 2018-06-11T13:47:19.000Z | 2018-06-12T09:30:51.000Z | benchmarks/bench.cc | QiumingLu/Voyager | dc84c88384977b649be190b8a1ccf308b515a562 | [
"BSD-3-Clause"
] | 3 | 2017-04-17T07:48:29.000Z | 2018-01-31T07:07:25.000Z | // Copyright (c) 2016 Mirants Lu. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#inc... | 22.737805 | 76 | 0.597479 | QiumingLu |
ee375c5e826ab899869a4bfb255d8b15e6ef3c46 | 629 | cpp | C++ | scratch/src/entity/entity.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | scratch/src/entity/entity.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | scratch/src/entity/entity.cpp | jaideng123/Scratch | 91ff6de4f9f1e4f801441d3da45a4a001871a7ac | [
"MIT",
"Unlicense"
] | null | null | null | //
// Created by JJJai on 1/1/2022.
//
#include "entity.h"
std::shared_ptr<scratch::Renderable> scratch::Entity::getRenderable() {
return _renderable;
}
scratch::Entity::Entity(const unsigned int id, std::shared_ptr<scratch::Renderable> renderable) {
_renderable = std::move(renderable);
_id = id;
}
void... | 23.296296 | 97 | 0.694754 | jaideng123 |
ee3bf06d219c332aae69159be8d6b3088a76134c | 3,499 | cpp | C++ | Game/Source/Enemy.cpp | Landama01/GameDev | 4feff29eb84c94cf465aae4a088f873656b69ed6 | [
"MIT"
] | null | null | null | Game/Source/Enemy.cpp | Landama01/GameDev | 4feff29eb84c94cf465aae4a088f873656b69ed6 | [
"MIT"
] | null | null | null | Game/Source/Enemy.cpp | Landama01/GameDev | 4feff29eb84c94cf465aae4a088f873656b69ed6 | [
"MIT"
] | null | null | null | #include "App.h"
#include "Input.h"
#include "Textures.h"
#include "Audio.h"
#include "Render.h"
#include "Window.h"
#include "Map.h"
#include "Player.h"
#include "Enemy.h"
#include "Scene.h"
#include "Arrow.h"
#include "Defs.h"
#include "Log.h"
Enemy::Enemy() : Module()
{
name.Create("enemy");
position.x = 1800... | 17.582915 | 121 | 0.627608 | Landama01 |
ee3d8a52cb9324493a19bb9fe22280cff09c8f93 | 856 | cpp | C++ | XYShape/xycanvasgraphicsitem.cpp | dependon/Draw-Tool | 3c62091706bbd14b5134f273dc56b82c6fb53ecd | [
"Apache-2.0"
] | 23 | 2018-07-25T13:56:55.000Z | 2022-01-13T10:24:38.000Z | XYShape/xycanvasgraphicsitem.cpp | dependon/Draw-Tool | 3c62091706bbd14b5134f273dc56b82c6fb53ecd | [
"Apache-2.0"
] | null | null | null | XYShape/xycanvasgraphicsitem.cpp | dependon/Draw-Tool | 3c62091706bbd14b5134f273dc56b82c6fb53ecd | [
"Apache-2.0"
] | 18 | 2018-01-20T15:30:09.000Z | 2021-12-22T07:33:59.000Z | #include <QPainter>
#include <QGraphicsScene>
#include "xycanvasgraphicsitem.h"
#include "xyrectgraphicsitem.h"
#include "xypathgraphicsitem.h"
#include "xyellipsegraphicsitem.h"
XYCanvasGraphicsItem::XYCanvasGraphicsItem(const QPixmap &pixmap, QGraphicsItem *parent)
: XYShapeGraphicsItem(parent), backImage(pix... | 23.135135 | 102 | 0.733645 | dependon |
ee3ebdee1f7263739649c18ee6a4206ca7b2aefd | 994 | cpp | C++ | D2/1959.cpp | SkydevilK/SWEA | c5b60840ee04bb7155f56c160dc45ec2e543af41 | [
"MIT"
] | null | null | null | D2/1959.cpp | SkydevilK/SWEA | c5b60840ee04bb7155f56c160dc45ec2e543af41 | [
"MIT"
] | null | null | null | D2/1959.cpp | SkydevilK/SWEA | c5b60840ee04bb7155f56c160dc45ec2e543af41 | [
"MIT"
] | null | null | null | #include<limits.h> //using INT_MAX
#include<stdio.h>
int main()
{
int T = 0;
scanf("%d", &T);
for (int t = 1; t <= T; ++t)
{
int N, M;
int max = -INT_MAX; // minus int max
scanf("%d %d", &N, &M);
int * Narr = new int[N];
int * Marr = new int[M];
for (int i = 0; i... | 16.295082 | 57 | 0.37827 | SkydevilK |
ee3f88fccda8409245f38462636905741749238e | 196 | cpp | C++ | NWNXLib/API/Mac/API/NameContext.cpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/NameContext.cpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/NameContext.cpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | #include "NameContext.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
#include "Parse.hpp"
#include "Select.hpp"
#include "SrcList.hpp"
namespace NWNXLib {
namespace API {
}
}
| 12.25 | 28 | 0.719388 | Qowyn |
ee426a9336bcc00d8d71eef86299d9f779f3dff2 | 650 | cpp | C++ | BZOJ/4590/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/4590/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/4590/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#define maxn 100010
#define LL long long
using namespace std;
int a,b,x[maxn];
LL ll,rr;
LL sum;
LL getNum(LL n){
LL tmp=0,sum=0;
for(int i=1;i<=a;++i){
sum+=x[i];
if(sum<0)sum=0;
if(sum>=n)sum=0,++tmp;
}
return tmp;
}
int main(){
scanf("%d%d",&a,&b);
for(int i=1;i<=a;... | 16.25 | 70 | 0.552308 | sjj118 |
ee4318b24a1e66df27b95fe56ea118f58745bb6e | 968 | cpp | C++ | test/TestAruco.cpp | mtszkw/foosball | 764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3 | [
"MIT"
] | 23 | 2018-07-06T07:37:03.000Z | 2020-05-10T05:35:09.000Z | test/TestAruco.cpp | mtszkw/foosball | 764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3 | [
"MIT"
] | 1 | 2018-12-13T14:07:37.000Z | 2018-12-13T16:21:01.000Z | test/TestAruco.cpp | mtszkw/foosball | 764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3 | [
"MIT"
] | 9 | 2018-10-02T19:19:30.000Z | 2021-01-18T15:30:28.000Z | #include "catch.hpp"
#include "aruco/aruco.hpp"
// Nice, no double test macro in this lib?
#define REQUIRE_DOUBLE(a, b) REQUIRE(std::abs(a - b) <= 10e-8)
TEST_CASE( "Load configuration from default", "[aruco Configuration]" ) {
cv::Ptr<cv::aruco::DetectorParameters> p = aruco::loadParametersFromFile("test/TestAru... | 53.777778 | 107 | 0.741736 | mtszkw |
ee4983a8c666de5e5f94cf2c1d229a31bedfdd8e | 215 | hpp | C++ | Cons.hpp | IllogicalMagic/packed-named-tuple | 6249a846baf54e2f927d73711ba6322161112107 | [
"MIT"
] | null | null | null | Cons.hpp | IllogicalMagic/packed-named-tuple | 6249a846baf54e2f927d73711ba6322161112107 | [
"MIT"
] | null | null | null | Cons.hpp | IllogicalMagic/packed-named-tuple | 6249a846baf54e2f927d73711ba6322161112107 | [
"MIT"
] | null | null | null | #ifndef META_CONS_HPP__
#define META_CONS_HPP__
// Construct {{
template<typename E, typename L>
struct Cons;
template<typename E, typename L>
using ConsT = typename Cons<E, L>::Type;
// }} Construct list
#endif
| 16.538462 | 40 | 0.739535 | IllogicalMagic |
ee4e2ff37af09235fa69ee060bdeb7ddce8ce130 | 17,307 | cpp | C++ | src/parser/antlr_input.cpp | HasibShakur/CVC4 | 7a303390a65fd395a53085833d504acc312dc6a6 | [
"BSL-1.0"
] | null | null | null | src/parser/antlr_input.cpp | HasibShakur/CVC4 | 7a303390a65fd395a53085833d504acc312dc6a6 | [
"BSL-1.0"
] | null | null | null | src/parser/antlr_input.cpp | HasibShakur/CVC4 | 7a303390a65fd395a53085833d504acc312dc6a6 | [
"BSL-1.0"
] | null | null | null | /********************* */
/*! \file antlr_input.cpp
** \verbatim
** Original author: Christopher L. Conway
** Major contributors: Morgan Deters
** Minor contributors (to current version): Francois Bobot, Kshitij Bansal
** This file is part of the CVC4 project.... | 34.271287 | 156 | 0.641128 | HasibShakur |
ee506807ff50e3ca439230e8cf7e0d0db08999ea | 640 | cpp | C++ | src/main.cpp | behnamasadi/planar_3_link_robot | b10b5b0f9b1b5af89b9a9278dab32b18380d66c6 | [
"BSD-3-Clause"
] | 2 | 2021-08-11T02:34:02.000Z | 2021-08-11T05:15:08.000Z | src/main.cpp | behnamasadi/planar_3_link_robot | b10b5b0f9b1b5af89b9a9278dab32b18380d66c6 | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | behnamasadi/planar_3_link_robot | b10b5b0f9b1b5af89b9a9278dab32b18380d66c6 | [
"BSD-3-Clause"
] | null | null | null | #include "task.hpp"
int main()
{
vector_t q_start(3);
q_start.setConstant(-0.1);
trafo2d_t goal = trafo2d_t::Identity();
goal.translation()(0) = 1.0;
Eigen::VectorXd goalJointValues(3);
std::cout <<"goal:\n" <<transformationMatrixToPose(goal) << std::endl;
vector_t result = inverse_kinem... | 32 | 118 | 0.6625 | behnamasadi |
ee53871bbee26e6120075851e735d30b13b14387 | 6,397 | cpp | C++ | Kreator/implementation/Editor/EditorCamera.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/Editor/EditorCamera.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/Editor/EditorCamera.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | //
// EditorCamera.cpp
// Kreator
//
// Created by iKan on 13/04/22.
//
#include "EditorCamera.hpp"
#include <Core/Input.hpp>
#include <Editor/PropertyGrid.hpp>
#include <Gui/ImguiAPI.hpp>
using namespace Kreator;
/// Create shared intance pointer of Editor camera
std::shared_ptr<EditorCamera> EditorCamera::Creat... | 32.974227 | 123 | 0.676098 | ashish1009 |
ee54eb204e8391a7b32e6c7bee7b3b72e6c006ad | 2,378 | cpp | C++ | virtio-gpu-win-icd/state_helpers.cpp | Keenuts/virtio-gpu-win-icd | e1b567503f1987268bcf95da1312bec4729f9c9a | [
"BSD-2-Clause"
] | 64 | 2017-05-08T10:26:41.000Z | 2022-03-13T19:51:36.000Z | virtio-gpu-win-icd/state_helpers.cpp | Keenuts/virtio-gpu-win-icd | e1b567503f1987268bcf95da1312bec4729f9c9a | [
"BSD-2-Clause"
] | 5 | 2018-03-22T02:30:17.000Z | 2021-08-09T09:19:15.000Z | virtio-gpu-win-icd/state_helpers.cpp | Keenuts/virtio-gpu-win-icd | e1b567503f1987268bcf95da1312bec4729f9c9a | [
"BSD-2-Clause"
] | 12 | 2017-12-01T04:36:40.000Z | 2021-08-18T14:33:07.000Z | #include "debug.h"
#include "driver_api.h"
#include "GLtypes.h"
#include "state.h"
#include "tmp_const.h"
#include "uniform_buffer.h"
#include "virgl.h"
#include "virgl_command.h"
#include "win_types.h"
namespace State
{
extern UINT32 current_sub_ctx;
extern UINT32 current_vgl_ctx;
extern OpenGLState *stat... | 25.847826 | 82 | 0.624054 | Keenuts |
ee58832ace80fa25fbc7196d6d30c69439ca48d1 | 2,976 | hpp | C++ | develop/v0.3/Ngen/include/Ngen.Calculator.hpp | archendian/ngensdk | 0d8b8e21e00ba71f0596e228dd073017e1c785ed | [
"MIT"
] | 1 | 2017-01-29T09:27:32.000Z | 2017-01-29T09:27:32.000Z | develop/v0.3/Ngen/include/Ngen.Calculator.hpp | archendian/ngensdk | 0d8b8e21e00ba71f0596e228dd073017e1c785ed | [
"MIT"
] | 15 | 2017-01-29T05:49:51.000Z | 2018-08-12T22:17:04.000Z | develop/v0.3/Ngen/include/Ngen.Calculator.hpp | archendian/ngensdk | 0d8b8e21e00ba71f0596e228dd073017e1c785ed | [
"MIT"
] | null | null | null | /* _______ ________
\ \ / _____/ ____ ___
/ | \/ \ ____/ __ \ / \
/ | \ \_\ \ ___/| | \
\____|__ /\______ /\___ >___| /
\/ \/ \/ \/
The MIT License (MIT)
COPYRIGHT (C) 2016 RAZORWARE, LLC
Permission is hereby granted, free of charge, to any... | 31.659574 | 95 | 0.667675 | archendian |
ee5d87e70954b795ce8c2a70e792baf787bdbbe9 | 10,434 | cpp | C++ | common/util/diff.cpp | doctashay/jak-project | bc0d2b0105518dd260144719cb6ac1f97e5624ad | [
"0BSD"
] | 602 | 2020-08-23T22:52:42.000Z | 2022-02-07T23:36:14.000Z | common/util/diff.cpp | romatthe/jak-project | 35bdc9b1d3a0a89cff072deb57844aa0e73d15e7 | [
"ISC"
] | 970 | 2020-08-27T03:25:21.000Z | 2022-02-08T01:27:11.000Z | common/util/diff.cpp | romatthe/jak-project | 35bdc9b1d3a0a89cff072deb57844aa0e73d15e7 | [
"ISC"
] | 34 | 2020-08-26T03:23:50.000Z | 2022-02-03T18:49:06.000Z | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | 33.876623 | 98 | 0.606575 | doctashay |
ee5dbd2d288ce8fff4dbfc4be28e1cab64f7689d | 12,244 | cpp | C++ | src/app/UiSignalNodeBoard.cpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | 2 | 2021-01-31T10:06:33.000Z | 2021-03-10T13:20:15.000Z | src/app/UiSignalNodeBoard.cpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | null | null | null | src/app/UiSignalNodeBoard.cpp | Lut1n/QuasarBell | c5b5052ac1db94d0a97fd07e512883a9fd244fd5 | [
"MIT"
] | null | null | null | #include "UiSignalNodeBoard.hpp"
#include "Core/Factory.h"
#include "Audio/WavExporter.hpp"
#include "App/SignalNode.hpp"
#include "App/ImageNode.hpp"
#include "ReaderWriter/FileIO.hpp"
#include "ReaderWriter/RwHelpers.hpp"
#include "ReaderWriter/SignalOperationsRW.hpp"
#include "SignalOperation/Opera... | 37.558282 | 134 | 0.589595 | Lut1n |
ee633fc30b10a8771cfd3199b399b015bc4cf9d5 | 1,424 | cpp | C++ | Basic Level/1012/pta1012.cpp | justidle2012/Solution_PAT | a51f710f879774ba794f611304e8a2532cd6332a | [
"MIT"
] | 1 | 2019-11-09T05:23:12.000Z | 2019-11-09T05:23:12.000Z | Basic Level/1012/pta1012.cpp | justidle2012/PATSolution | a51f710f879774ba794f611304e8a2532cd6332a | [
"MIT"
] | null | null | null | Basic Level/1012/pta1012.cpp | justidle2012/PATSolution | a51f710f879774ba794f611304e8a2532cd6332a | [
"MIT"
] | 1 | 2020-02-13T04:01:53.000Z | 2020-02-13T04:01:53.000Z | #include <cstdio>
int main() {
int n;
scanf("%d", &n);
long long ans1 = 0;
long long ans2 = 0;
long long ans3 = 0;
long long ans4 = 0;
long long ans5 = 0;
int cnt1 = 0;
int cnt2 = 0;
int cnt3 = 0;
int cnt4 = 0;
int cnt5 = 0;
int i;
int num;
for (i=0; i<n; i++... | 19.243243 | 44 | 0.337079 | justidle2012 |
ee65640e79feb31b74b56b039f5050db4c1cb154 | 2,911 | cpp | C++ | ego_libs/pa_utils/pa_utils.cpp | frameworklabs/ego | a830dad5a243fa0267870b7f9713c1f174566447 | [
"MIT"
] | null | null | null | ego_libs/pa_utils/pa_utils.cpp | frameworklabs/ego | a830dad5a243fa0267870b7f9713c1f174566447 | [
"MIT"
] | null | null | null | ego_libs/pa_utils/pa_utils.cpp | frameworklabs/ego | a830dad5a243fa0267870b7f9713c1f174566447 | [
"MIT"
] | null | null | null | // Copyright (c) 2022, Framework Labs.
#include "pa_utils.h"
#include <utility/Button.h>
// Timing
pa_activity_def (Delay, unsigned n) {
pa_self.i = n;
while (pa_self.i > 0) {
pa_pause;
pa_self.i -= 1;
}
} pa_end;
// Button
pa_activity_def (ButtonUpdater, Button& button) {
pa_alway... | 23.288 | 96 | 0.558227 | frameworklabs |
ee67897ff0b82bb3b146593350ecbcf3088285b0 | 11,001 | cpp | C++ | controller/lib/src/osx/system_layer2_multithreaded_callback.cpp | RikusW/avdecc-lib | eb73e2a1151920d954443425ba67adfe1d8d9819 | [
"MIT"
] | 2 | 2020-03-03T12:38:32.000Z | 2020-06-01T02:22:48.000Z | controller/lib/src/osx/system_layer2_multithreaded_callback.cpp | Avnu/avdecc-lib | eb73e2a1151920d954443425ba67adfe1d8d9819 | [
"MIT"
] | 1 | 2016-05-24T14:02:42.000Z | 2016-05-24T14:02:42.000Z | controller/lib/src/osx/system_layer2_multithreaded_callback.cpp | Avnu/avdecc-lib | eb73e2a1151920d954443425ba67adfe1d8d9819 | [
"MIT"
] | 7 | 2016-05-24T07:41:28.000Z | 2019-04-03T03:40:42.000Z | /*
* Licensed under the MIT License (MIT)
*
* Copyright (c) 2013 AudioScience Inc.
*
* 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 t... | 29.103175 | 139 | 0.653032 | RikusW |
ee6c7988ee4099b202faf6a8cba16ebb1a40e71a | 2,649 | cpp | C++ | src/textInputpad.cpp | rainstormstudio/AsciiEditor | ea6a089cd1edf087cb086295ad6268af0ed37c65 | [
"MIT"
] | 1 | 2020-08-06T02:43:50.000Z | 2020-08-06T02:43:50.000Z | src/textInputpad.cpp | rainstormstudio/AsciiEditor | ea6a089cd1edf087cb086295ad6268af0ed37c65 | [
"MIT"
] | null | null | null | src/textInputpad.cpp | rainstormstudio/AsciiEditor | ea6a089cd1edf087cb086295ad6268af0ed37c65 | [
"MIT"
] | null | null | null | #include "textInputpad.hpp"
#include "application.hpp"
#include "quitException.hpp"
#include "button.hpp"
TextInputpad::TextInputpad(Application* app, unsigned int top, unsigned int left, unsigned int width, unsigned int height, std::string title)
: Panel(app, top, left, width, height), title{title} {
text = "... | 32.304878 | 173 | 0.516799 | rainstormstudio |
ee714bb405a8a33437963c227608c1eb3bf2b389 | 556 | hpp | C++ | src/targets/gpu/include/migraphx/gpu/device/pad.hpp | aaronenyeshi/AMDMIGraphX | 87528938188f0247f3dfcc6ab9b83c22187109fd | [
"MIT"
] | 72 | 2018-12-06T18:31:17.000Z | 2022-03-30T15:01:02.000Z | src/targets/gpu/include/migraphx/gpu/device/pad.hpp | aaronenyeshi/AMDMIGraphX | 87528938188f0247f3dfcc6ab9b83c22187109fd | [
"MIT"
] | 1,006 | 2018-11-30T16:32:33.000Z | 2022-03-31T22:43:39.000Z | src/targets/gpu/include/migraphx/gpu/device/pad.hpp | aaronenyeshi/AMDMIGraphX | 87528938188f0247f3dfcc6ab9b83c22187109fd | [
"MIT"
] | 36 | 2019-05-07T10:41:46.000Z | 2022-03-28T15:59:56.000Z |
#ifndef MIGRAPHX_GUARD_RTGLIB_DEVICE_PAD_HPP
#define MIGRAPHX_GUARD_RTGLIB_DEVICE_PAD_HPP
#include <migraphx/argument.hpp>
#include <migraphx/config.hpp>
#include <hip/hip_runtime_api.h>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace gpu {
namespace device {
argument pad(hipStream_t stream,
... | 21.384615 | 45 | 0.719424 | aaronenyeshi |
ee75ded47c43abcfd1b9d0701e757eb233e26b4c | 5,033 | cpp | C++ | src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp | Frankenhooker/ArkCORE | 0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d | [
"OpenSSL"
] | 1 | 2020-03-27T15:13:49.000Z | 2020-03-27T15:13:49.000Z | src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp | Frankenhooker/ArkCORE | 0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d | [
"OpenSSL"
] | null | null | null | src/server/scripts/Northrend/Naxxramas/boss_razuvious.cpp | Frankenhooker/ArkCORE | 0a7be7fc0b67e9ef3de421ab5de6012eac7dec6d | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2012... | 35.443662 | 118 | 0.612955 | Frankenhooker |
ee769c44f06017157e376458bde973e36355adba | 1,637 | hpp | C++ | node_modules/node-sass/src/libsass/src/memory_manager.hpp | Hooseman/juston_perkins_portfolio | 1eea0d745eb928544993b26f2879f9b20bff4354 | [
"MIT"
] | 118 | 2016-04-01T11:38:27.000Z | 2021-11-13T10:38:37.000Z | node_modules/node-sass/src/libsass/src/memory_manager.hpp | Hooseman/juston_perkins_portfolio | 1eea0d745eb928544993b26f2879f9b20bff4354 | [
"MIT"
] | 109 | 2020-04-24T01:54:44.000Z | 2022-03-14T01:39:27.000Z | node_modules/node-sass/src/libsass/src/memory_manager.hpp | Hooseman/juston_perkins_portfolio | 1eea0d745eb928544993b26f2879f9b20bff4354 | [
"MIT"
] | 298 | 2016-04-01T06:32:33.000Z | 2022-03-03T08:49:16.000Z | #ifndef SASS_MEMORY_MANAGER_H
#define SASS_MEMORY_MANAGER_H
#include <vector>
namespace Sass {
class Memory_Object {
friend class Memory_Manager;
long refcount;
public:
Memory_Object() { refcount = 0; };
virtual ~Memory_Object() {};
};
//////////////////////////////////////////////////////////... | 33.408163 | 90 | 0.547343 | Hooseman |
ee77790bb37c8e6f691056a0023737072ec0b62b | 1,659 | cpp | C++ | acmASCIS Level 1 Training '22 Mirror/Week 4 Sheet A/C.cpp | ZiadSheriif/Problem-Solving | 662a32c465005e094cfe06f4353a735384e58627 | [
"MIT"
] | null | null | null | acmASCIS Level 1 Training '22 Mirror/Week 4 Sheet A/C.cpp | ZiadSheriif/Problem-Solving | 662a32c465005e094cfe06f4353a735384e58627 | [
"MIT"
] | null | null | null | acmASCIS Level 1 Training '22 Mirror/Week 4 Sheet A/C.cpp | ZiadSheriif/Problem-Solving | 662a32c465005e094cfe06f4353a735384e58627 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <iostream>
#include <vector>
#include <unordered_map>
#include <climits>
#include <map>
#include <set>
#include <limits.h>
#include <iomanip>
using namespace std;
#include <string>
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef vector<pair<ll, ... | 19.517647 | 78 | 0.561181 | ZiadSheriif |
ee77b57684c40abb9ceeb90ac8847e25f582d316 | 985 | cpp | C++ | niceday-2.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 264 | 2015-01-08T10:07:01.000Z | 2022-03-26T04:11:51.000Z | niceday-2.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 17 | 2016-04-15T03:38:07.000Z | 2020-10-30T00:33:57.000Z | niceday-2.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 127 | 2015-01-08T04:56:44.000Z | 2022-02-25T18:40:37.000Z | // 2009-08-18
// corrected 2014-01-29
// The simple solution to NICEDAY. Doesn't generalize to LIS2 though;
// see niceday-1.cpp for another idea
#include <iostream>
using namespace std;
int in() //INPUT HACK FOR EXTREME SPEED
{
int x=0;
char c;
for(;;)
{
c=getchar_unlocked();
if (c<=32) return x;
x=(x<<1)+(x... | 16.147541 | 69 | 0.569543 | ohmyjons |
ee7dcfa6565ee6d635fc66501bb7cfc276e912b1 | 126 | cpp | C++ | src/messages/MessageContainer.cpp | xHeaveny/chatterino2 | 4f4b52e1a350bf41d715f164873afba6903bbf4d | [
"MIT"
] | 1,145 | 2019-05-18T22:51:52.000Z | 2022-03-31T22:12:39.000Z | src/messages/MessageContainer.cpp | xHeaveny/chatterino2 | 4f4b52e1a350bf41d715f164873afba6903bbf4d | [
"MIT"
] | 2,034 | 2019-05-18T22:28:54.000Z | 2022-03-31T22:24:21.000Z | src/messages/MessageContainer.cpp | xHeaveny/chatterino2 | 4f4b52e1a350bf41d715f164873afba6903bbf4d | [
"MIT"
] | 397 | 2019-05-18T22:45:51.000Z | 2022-03-31T22:12:39.000Z | #include "MessageContainer.hpp"
namespace chatterino {
MessageContainer::MessageContainer()
{
}
} // namespace chatterino
| 12.6 | 36 | 0.761905 | xHeaveny |
ee808f98f94f90d5851321d90fb446cadab716a6 | 856 | cpp | C++ | Lab5/RectangleLawn.cpp | devtedlee/cppStudyProjects | 65c7504773a332b32b473058b273fe1356d0b7b5 | [
"MIT"
] | null | null | null | Lab5/RectangleLawn.cpp | devtedlee/cppStudyProjects | 65c7504773a332b32b473058b273fe1356d0b7b5 | [
"MIT"
] | null | null | null | Lab5/RectangleLawn.cpp | devtedlee/cppStudyProjects | 65c7504773a332b32b473058b273fe1356d0b7b5 | [
"MIT"
] | null | null | null | #include "RectangleLawn.h"
namespace lab5
{
RectangleLawn::RectangleLawn(unsigned int width, unsigned int height)
: Lawn()
, mWidth(width)
, mHeight(height)
{
}
RectangleLawn::~RectangleLawn()
{
}
unsigned int RectangleLawn::GetArea() const
{
return mHeight * mWidth;
}
unsigned int RectangleLawn::... | 20.380952 | 98 | 0.725467 | devtedlee |
ee8426e219edf56f335e2c78d1ba46431470c0a5 | 8,553 | cpp | C++ | third_party/katana/usdKatana/readBasisCurves.cpp | mistafunk/USD | be1a80f8cb91133ac75e1fc2a2e1832cd10d91c8 | [
"BSD-2-Clause"
] | 2 | 2020-02-17T11:13:02.000Z | 2020-02-17T14:51:01.000Z | third_party/katana/usdKatana/readBasisCurves.cpp | mistafunk/USD | be1a80f8cb91133ac75e1fc2a2e1832cd10d91c8 | [
"BSD-2-Clause"
] | null | null | null | third_party/katana/usdKatana/readBasisCurves.cpp | mistafunk/USD | be1a80f8cb91133ac75e1fc2a2e1832cd10d91c8 | [
"BSD-2-Clause"
] | null | null | null | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 32.645038 | 88 | 0.607623 | mistafunk |
ee86ebe21bc63e5bf0d8882766d977b93b56b77f | 1,882 | hpp | C++ | xr3core/h/xr/memory/memdebug.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | 7 | 2018-11-13T09:44:56.000Z | 2022-01-12T02:22:41.000Z | xr3core/h/xr/memory/memdebug.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | 2 | 2018-10-30T08:19:02.000Z | 2018-12-31T18:48:13.000Z | xr3core/h/xr/memory/memdebug.hpp | zyndor/xrhodes | 15017c2ba6499b19e1dd327608ffb44dbaba7a4e | [
"BSD-2-Clause"
] | null | null | null | #ifndef XR_MEMDEBUG_HPP
#define XR_MEMDEBUG_HPP
//==============================================================================
//
// XRhodes
//
// copyright (c) Gyorgy Straub. All rights reserved.
//
// License: https://github.com/zyndor/xrhodes#License-bsd-2-clause
//
//==============================================... | 40.913043 | 93 | 0.611052 | zyndor |
ee89b5efca4a3fa905de243843c6d3e256f27369 | 273 | cpp | C++ | cpp/nft-store/test/main.cpp | HunterSun2018/violas-client-sdk | e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67 | [
"MIT"
] | null | null | null | cpp/nft-store/test/main.cpp | HunterSun2018/violas-client-sdk | e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67 | [
"MIT"
] | null | null | null | cpp/nft-store/test/main.cpp | HunterSun2018/violas-client-sdk | e44b0ecbdcd1096f21ab6f7cc8bd717e10e9fd67 | [
"MIT"
] | 2 | 2021-12-28T06:50:27.000Z | 2022-02-15T09:28:36.000Z | #include <gtest/gtest.h>
TEST(MyTestSuitName, MyTestCaseName)
{
int actual = 1;
EXPECT_GT(actual, 0);
EXPECT_EQ(1, actual) << "Should be equal to one";
}
int main(int argc, char **argv)
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
} | 19.5 | 53 | 0.659341 | HunterSun2018 |
ee8fd6689176d51800e2e2cc76c44fe77da905b6 | 4,514 | cpp | C++ | src/lib/Actions/GestureAction.cpp | romoadri21/boi | deef8e7148b50fbb36886ba4ff491a6c0e18ad67 | [
"BSD-3-Clause"
] | null | null | null | src/lib/Actions/GestureAction.cpp | romoadri21/boi | deef8e7148b50fbb36886ba4ff491a6c0e18ad67 | [
"BSD-3-Clause"
] | null | null | null | src/lib/Actions/GestureAction.cpp | romoadri21/boi | deef8e7148b50fbb36886ba4ff491a6c0e18ad67 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010, Piet Hein Schouten. All rights reserved.
* This code is licensed under a BSD-style license that can be
* found in the LICENSE file. The license can also be found at:
* http://www.boi-project.org/license
*/
#include <QtGlobal>
#include "math.h"
#include "ASI.h"
#include "ActionArgs.h"
#includ... | 21.806763 | 92 | 0.55782 | romoadri21 |
ee90b48ebf1448b878ca83d190e2f8b94c526cb7 | 2,259 | cc | C++ | tests/wampcc/test_evthread_wamp_session_destructor.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 70 | 2017-03-09T12:45:30.000Z | 2021-12-31T20:34:40.000Z | tests/wampcc/test_evthread_wamp_session_destructor.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 54 | 2017-04-15T23:02:08.000Z | 2021-04-13T08:44:25.000Z | tests/wampcc/test_evthread_wamp_session_destructor.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 30 | 2017-06-02T14:12:28.000Z | 2021-12-06T07:28:48.000Z | /*
* Copyright (c) 2017 Darren Smith
*
* wampcc is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "test_common.h"
#include "mini_test.h"
using namespace wampcc;
using namespace std;
int global_port;
int global_loops = 500;
void... | 24.290323 | 98 | 0.600708 | vai-hhn |
ee91587373cf1b76d0f374ec12f607be581382bd | 25,363 | inl | C++ | win7/csmisc/addons/amxmodx/scripting/war3ft/constants.inl | charlike/blankr | e137584ab9790057a10a0bdb51dd2ac035e46a2d | [
"MIT"
] | 6 | 2015-01-30T22:12:14.000Z | 2020-05-01T19:46:53.000Z | win7/csmisc/addons/amxmodx/scripting/war3ft/constants.inl | tunnckoCore/blankr | e137584ab9790057a10a0bdb51dd2ac035e46a2d | [
"MIT"
] | 41 | 2015-01-01T20:29:53.000Z | 2017-07-24T09:38:04.000Z | win7/csmisc/addons/amxmodx/scripting/war3ft/constants.inl | olstenlarck/blankr | e137584ab9790057a10a0bdb51dd2ac035e46a2d | [
"MIT"
] | 1 | 2020-05-01T19:44:17.000Z | 2020-05-01T19:44:17.000Z | // ***************************************************************************
// Author: B. Josh Becker
// Description: This page contains defines as well as the variables used
// in this plugin
// ***************************************************************************
#define TASK_ITEMS 0 // Showing ite... | 35.823446 | 136 | 0.679415 | charlike |
ee9aa64ce244198ca174d3f02ad2b827680aeac9 | 77 | cpp | C++ | examples/ex1/target_1/modules/mod_1/source/mod_1.cpp | lucianodasilva/treemake | 1397de3a78d6eb0659dad331ee2acade5849d915 | [
"MIT"
] | null | null | null | examples/ex1/target_1/modules/mod_1/source/mod_1.cpp | lucianodasilva/treemake | 1397de3a78d6eb0659dad331ee2acade5849d915 | [
"MIT"
] | null | null | null | examples/ex1/target_1/modules/mod_1/source/mod_1.cpp | lucianodasilva/treemake | 1397de3a78d6eb0659dad331ee2acade5849d915 | [
"MIT"
] | 1 | 2019-08-07T11:29:55.000Z | 2019-08-07T11:29:55.000Z | #include "mod_1.h"
int this_super_mod_function (int x) {
return x * 2;
} | 15.4 | 37 | 0.662338 | lucianodasilva |
eea129e1ab586f9fd5b6dfd6164305b527c544b9 | 1,804 | cpp | C++ | zxing/src/zxing/qrcode/detector/AlignmentPattern.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | 1 | 2019-12-13T05:51:34.000Z | 2019-12-13T05:51:34.000Z | zxing/src/zxing/qrcode/detector/AlignmentPattern.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | null | null | null | zxing/src/zxing/qrcode/detector/AlignmentPattern.cpp | h7ga40/LycheeCam | 10ee0ed948a02ccbe5f9a008e7c371ba5bd84478 | [
"Apache-2.0"
] | 1 | 2021-09-17T15:41:36.000Z | 2021-09-17T15:41:36.000Z | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* AlignmentPattern.cpp
* zxing
*
* Created by Christian Brunschen on 13/05/2008.
* Copyright 2008 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this... | 35.372549 | 101 | 0.717849 | h7ga40 |
eea2e1352b3f57f8f7552e176d3703c9fc5d7a33 | 1,168 | cpp | C++ | silkrpc/types/execution_payload_test.cpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | null | null | null | silkrpc/types/execution_payload_test.cpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | null | null | null | silkrpc/types/execution_payload_test.cpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2022 The Silkrpc Authors
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... | 29.948718 | 83 | 0.717466 | enriavil1 |
eea6f6a4dc0c946b1f691289f5bce8ab02e43496 | 9,664 | cpp | C++ | src/NetCorruptLibrary/regfac.cpp | SecurityInnovation/Holodeck | 54b97675a73b668f8eec8d9c8a8c7733e1a53db3 | [
"MIT"
] | 35 | 2015-05-16T06:36:47.000Z | 2021-08-31T15:32:09.000Z | src_2_8/NetCorruptLibrary/regfac.cpp | crypticterminal/Holodeck | 54b97675a73b668f8eec8d9c8a8c7733e1a53db3 | [
"MIT"
] | 3 | 2015-06-18T06:16:51.000Z | 2017-11-16T23:23:59.000Z | src_2_8/NetCorruptLibrary/regfac.cpp | crypticterminal/Holodeck | 54b97675a73b668f8eec8d9c8a8c7733e1a53db3 | [
"MIT"
] | 10 | 2015-04-07T14:45:48.000Z | 2021-11-14T15:14:45.000Z | /*
*
* Copyright (c) 1998-9
* Dr John Maddock
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission no... | 28.174927 | 154 | 0.588162 | SecurityInnovation |
eea92db75fcfe2f6d645928cf4e257ca6bef2b5c | 2,290 | cc | C++ | src/core/mul.cc | inordeng/TASO | 17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3 | [
"Apache-2.0"
] | 529 | 2019-10-01T00:01:08.000Z | 2022-03-17T12:56:01.000Z | src/core/mul.cc | inordeng/TASO | 17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3 | [
"Apache-2.0"
] | 68 | 2019-10-10T18:41:40.000Z | 2022-03-17T07:42:49.000Z | src/core/mul.cc | inordeng/TASO | 17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3 | [
"Apache-2.0"
] | 81 | 2019-10-04T23:48:12.000Z | 2022-03-17T13:04:25.000Z | /* Copyright 2019 Stanford
*
* 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 wri... | 24.891304 | 75 | 0.630131 | inordeng |
eea9e17cf2c27ba80d2519c294ef46434d789eca | 1,665 | cpp | C++ | coursera/quick_union.cpp | sebastienivanez/Algorithms | 63c39ab1f86a9f4c8473637f646011c68629b525 | [
"MIT"
] | null | null | null | coursera/quick_union.cpp | sebastienivanez/Algorithms | 63c39ab1f86a9f4c8473637f646011c68629b525 | [
"MIT"
] | null | null | null | coursera/quick_union.cpp | sebastienivanez/Algorithms | 63c39ab1f86a9f4c8473637f646011c68629b525 | [
"MIT"
] | null | null | null | /*! \file
* Description
*/
/* INCLUDES */
//#include <cstdlib> // To call atoi()
//#include <fcntl.h> // To call open()
//#include <iomanip> // To call setw()
//#include <iostream> // To call cout/cin
//#include <sstream> // To call stringstream
//#include <stdint.h> // To use uint8_t
//#include <stdlib.h> // To ca... | 21.346154 | 99 | 0.608408 | sebastienivanez |
eeaa4e32ef55a8e4bac19bda774be14173632b95 | 3,659 | cpp | C++ | src/duplicate.cpp | galvusdamor/pandaPIgrounder | 07cd7a1cb8743497c1571eeec6f9efca181995f2 | [
"BSD-3-Clause"
] | 2 | 2021-07-21T22:08:38.000Z | 2022-03-30T12:16:07.000Z | src/duplicate.cpp | galvusdamor/pandaPIgrounder | 07cd7a1cb8743497c1571eeec6f9efca181995f2 | [
"BSD-3-Clause"
] | 1 | 2021-07-22T09:27:54.000Z | 2021-07-22T11:04:50.000Z | src/duplicate.cpp | galvusdamor/pandaPIgrounder | 07cd7a1cb8743497c1571eeec6f9efca181995f2 | [
"BSD-3-Clause"
] | 2 | 2021-07-21T19:39:53.000Z | 2021-08-17T06:54:52.000Z | #include <iostream>
#include "debug.h"
#include "duplicate.h"
void unify_duplicates(const Domain & domain, const Problem & problem,
std::vector<Fact> & reachableFacts,
std::vector<GroundedTask> & reachableTasks,
std::vector<GroundedMethod> & reachableMethods,
std::vector<bool> & prunedTasks,
std::vector<boo... | 38.925532 | 147 | 0.689806 | galvusdamor |
eeaa8c46b779b86fddb47d27d2557e2e515d997e | 423 | cpp | C++ | Engine/Source/Sapphire/Rendering/Framework/System/IRenderInstance.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | 2 | 2020-03-18T09:06:21.000Z | 2020-04-09T00:07:56.000Z | Engine/Source/Sapphire/Rendering/Framework/System/IRenderInstance.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | Engine/Source/Sapphire/Rendering/Framework/System/IRenderInstance.cpp | SapphireSuite/Sapphire | f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47 | [
"MIT"
] | null | null | null | // Copyright 2020 Sapphire development team. All Rights Reserved.
#include <Rendering/Framework/System/IRenderInstance.hpp>
#include <Rendering/Vulkan/System/VkRenderInstance.hpp>
namespace Sa
{
void IRenderInstance::Init()
{
#if SA_RENDERING_API == SA_VULKAN
Vk::RenderInstance::Init();
#endif
}
void IRende... | 15.666667 | 65 | 0.742317 | SapphireSuite |
eead49add3eb1f2ae4174a953bd4bd9804070da5 | 8,127 | cpp | C++ | Source/DBHandler/index.cpp | Iskeletu/SimpleDB | 73429b63bb7c05617e2258c2bd33510044c1746c | [
"MIT"
] | 3 | 2021-12-10T03:09:01.000Z | 2021-12-27T17:24:22.000Z | Source/DBHandler/index.cpp | Iskeletu/SimpleDB | 73429b63bb7c05617e2258c2bd33510044c1746c | [
"MIT"
] | null | null | null | Source/DBHandler/index.cpp | Iskeletu/SimpleDB | 73429b63bb7c05617e2258c2bd33510044c1746c | [
"MIT"
] | null | null | null | /*
Index management file.
This file is resposible for Index management.
Index is a dictory that contais references to
data stored in the database, it's pupose is
to make file operations on the database much
faster an painless.
Important Note: the first member of the Index
vector is reserved for header information, ... | 37.451613 | 155 | 0.52787 | Iskeletu |
eeb31399b283ca9bce228f06f5abe173483d12c4 | 19,452 | cpp | C++ | src/materialsystem/stdshaders_old/eye_refract_helper.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/materialsystem/stdshaders_old/eye_refract_helper.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/materialsystem/stdshaders_old/eye_refract_helper.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
#include "BaseVSShader.h"
#include "mathlib/vmatrix.h"
#include "eye_refract_helper.h"
#include "cpp_shader_constant_register_map.h"
#include "eyes_flashlight_vs11.inc"
#include "eyes_flashlight_ps11.inc"
#include "eye_refract_vs20.inc"
#... | 42.103896 | 197 | 0.758277 | cstom4994 |
eeb8fcf02d90c02788048103bb3deafb7384f4e2 | 185 | hpp | C++ | source/SnAIk/Objects/SegmentObject.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | null | null | null | source/SnAIk/Objects/SegmentObject.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | 8 | 2017-02-23T23:49:24.000Z | 2018-01-06T13:11:25.000Z | source/SnAIk/Objects/SegmentObject.hpp | mkulagowski/snAIk | 9a4d2a9cb4190b93952979a0c4e0670ac6a23869 | [
"MIT"
] | null | null | null | #pragma once
#include "Primitives/BoxObject.hpp"
#define SNAKE_TAG 13
class SegmentObject : public BoxObject
{
public:
SegmentObject(btVector3 halfSize);
~SegmentObject();
};
| 15.416667 | 38 | 0.745946 | mkulagowski |
eeb920bf8d0f0ca93c62f914f3284f4a882fba62 | 7,832 | hpp | C++ | NonOpt/src/NonOptSymmetricMatrixLimitedMemory.hpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | 4 | 2021-06-27T18:13:59.000Z | 2022-01-25T00:36:56.000Z | NonOpt/src/NonOptSymmetricMatrixLimitedMemory.hpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | null | null | null | NonOpt/src/NonOptSymmetricMatrixLimitedMemory.hpp | frankecurtis/NonOpt | f81ff1c818dcde382cf6045a671bf8bc1d3a3467 | [
"MIT"
] | 1 | 2021-06-27T18:14:02.000Z | 2021-06-27T18:14:02.000Z | // Copyright (C) 2022 Frank E. Curtis
//
// This code is published under the MIT License.
//
// Author(s) : Frank E. Curtis
#ifndef __NONOPTSYMMETRICMATRIXLIMITEDMEMORY_HPP__
#define __NONOPTSYMMETRICMATRIXLIMITEDMEMORY_HPP__
#include "NonOptSymmetricMatrix.hpp"
namespace NonOpt
{
/**
* SymmetricMatrixLimitedMemor... | 33.758621 | 139 | 0.620403 | frankecurtis |
eebffb29068accc069a281d81a5d50a3f657a4ff | 654 | hpp | C++ | include/cppurses/system/events/resize_event.hpp | nkoturovic/CPPurses | 6dce457b5d4fec6d7f9ad8023cdd9f556874a597 | [
"MIT"
] | null | null | null | include/cppurses/system/events/resize_event.hpp | nkoturovic/CPPurses | 6dce457b5d4fec6d7f9ad8023cdd9f556874a597 | [
"MIT"
] | null | null | null | include/cppurses/system/events/resize_event.hpp | nkoturovic/CPPurses | 6dce457b5d4fec6d7f9ad8023cdd9f556874a597 | [
"MIT"
] | null | null | null | #ifndef CPPURSES_SYSTEM_EVENTS_RESIZE_EVENT_HPP
#define CPPURSES_SYSTEM_EVENTS_RESIZE_EVENT_HPP
#include <cppurses/system/event.hpp>
#include <cppurses/widget/area.hpp>
namespace cppurses {
class Widget;
class Resize_event : public Event {
public:
Resize_event(Widget& receiver, Area new_size, Area old_size = A... | 25.153846 | 77 | 0.744648 | nkoturovic |
eec17cc30e308e7169b7d8c394c0e47eee0c1c3e | 4,235 | cc | C++ | lite/api/cxx_api_bin.cc | peblue12345/Paddle-Lite | 3176ffcf9e0c9fec07f1a9d3f53efed5bb177696 | [
"Apache-2.0"
] | 6 | 2020-07-01T02:52:16.000Z | 2021-06-22T12:15:59.000Z | lite/api/cxx_api_bin.cc | peblue12345/Paddle-Lite | 3176ffcf9e0c9fec07f1a9d3f53efed5bb177696 | [
"Apache-2.0"
] | 1 | 2020-10-15T15:19:34.000Z | 2020-10-15T15:19:34.000Z | lite/api/cxx_api_bin.cc | peblue12345/Paddle-Lite | 3176ffcf9e0c9fec07f1a9d3f53efed5bb177696 | [
"Apache-2.0"
] | 2 | 2021-02-10T13:37:56.000Z | 2021-02-25T07:32:30.000Z | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 33.085938 | 78 | 0.715702 | peblue12345 |
eec4a5ddb74a352034764ee2557ffaa00fcc708e | 508 | hpp | C++ | Application/include/ui/frame/settings/AppAdvanced.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 106 | 2020-11-01T09:58:37.000Z | 2022-03-26T10:44:26.000Z | Application/include/ui/frame/settings/AppAdvanced.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 30 | 2020-11-01T11:21:48.000Z | 2022-02-01T23:09:47.000Z | Application/include/ui/frame/settings/AppAdvanced.hpp | RoutineFree/TriPlayer | 4e5ee19c992eba033b57444b7f4b312acf339163 | [
"MIT"
] | 15 | 2020-11-02T12:06:03.000Z | 2021-08-05T14:22:39.000Z | #ifndef FRAME_SETTINGS_APPADVANCED
#define FRAME_SETTINGS_APPADVANCED
#include "ui/frame/settings/Frame.hpp"
namespace Frame::Settings {
// This frame contains 'advanced' settings (who woulda guessed?)
class AppAdvanced : public Frame {
private:
// Helper called by 'Remove Images' to clean... | 26.736842 | 79 | 0.661417 | RoutineFree |
eec55bd664c728e70f3e411fa60b8349b03a2e58 | 247 | cc | C++ | sudoku/fitsRow.cc | Luca-Mueller/SudokuSolverCPP | 61879603562b875b6a7b96b123ef27d398699e39 | [
"MIT"
] | null | null | null | sudoku/fitsRow.cc | Luca-Mueller/SudokuSolverCPP | 61879603562b875b6a7b96b123ef27d398699e39 | [
"MIT"
] | null | null | null | sudoku/fitsRow.cc | Luca-Mueller/SudokuSolverCPP | 61879603562b875b6a7b96b123ef27d398699e39 | [
"MIT"
] | null | null | null | #include "sudoku.h"
using namespace std;
bool fitsRow(Grid const &grid, size_t row, size_t num)
{
for (size_t col = 1; col <= Sudoku::COLS; ++col)
if (grid.at(make_pair(row, col)) == num)
return false;
return true;
}
| 20.583333 | 54 | 0.603239 | Luca-Mueller |
eec61e34f246d35e567413ff132d7ae3777afbcd | 13,211 | cpp | C++ | gameboy_lib/video.cpp | kaini/gameboy | 4e13842c2c354ef41d8bb12f81c4fb8dc78e9343 | [
"BSD-3-Clause"
] | null | null | null | gameboy_lib/video.cpp | kaini/gameboy | 4e13842c2c354ef41d8bb12f81c4fb8dc78e9343 | [
"BSD-3-Clause"
] | null | null | null | gameboy_lib/video.cpp | kaini/gameboy | 4e13842c2c354ef41d8bb12f81c4fb8dc78e9343 | [
"BSD-3-Clause"
] | null | null | null | #include "video.hpp"
#include "debug.hpp"
#include "z80.hpp"
#include "bits.hpp"
#include <bitset>
#include <algorithm>
const gb::cputime gb::video::dma_time(std::chrono::duration_cast<gb::cputime>(std::chrono::microseconds(160)));
gb::video::video() :
_vram_bank(0),
_mode_time(0),
_hblanks(0),
_check_ly(false),
... | 23.932971 | 111 | 0.619938 | kaini |
eec6d101347061e68365e80f0006fe9ebeb1ae37 | 7,800 | cpp | C++ | TP1 - C++/data/models/clinic.cpp | gabrielscota/bcc221-tp1 | 8573794406a047fe231043fce637643664bf8c6e | [
"MIT"
] | 2 | 2021-02-18T18:39:30.000Z | 2021-02-19T03:05:24.000Z | TP1 - C++/data/models/clinic.cpp | gabrielscota/bcc221-tp1 | 8573794406a047fe231043fce637643664bf8c6e | [
"MIT"
] | 5 | 2021-02-18T23:53:55.000Z | 2021-03-17T03:00:29.000Z | TP1 - C++/data/models/clinic.cpp | gabrielscota/bcc221-tp1 | 8573794406a047fe231043fce637643664bf8c6e | [
"MIT"
] | null | null | null | #include "../../domain/entities/clinic.hpp"
Clinic::Clinic(string id, vector<Orthodontist> orthodontists, vector<Assistent> assistents,
vector<Patient> patients, vector<Expense> expenses, Receptionist receptionist, Admin admin)
{
this->id = id;
this->orthodontists = orthodontists;
this->assi... | 26.174497 | 107 | 0.682564 | gabrielscota |
eec7df8516f369a5028c928f35201b74205ddc87 | 693 | hpp | C++ | color/palette.hpp | uncommoncode/color_cpp | 0f9ee85b872faf77b959628cdf5ae999096e4e7f | [
"BSD-2-Clause"
] | 5 | 2016-05-30T19:57:27.000Z | 2020-12-09T13:24:49.000Z | color/palette.hpp | uncommoncode/color_cpp | 0f9ee85b872faf77b959628cdf5ae999096e4e7f | [
"BSD-2-Clause"
] | 3 | 2016-05-30T21:52:12.000Z | 2016-06-17T05:36:12.000Z | color/palette.hpp | uncommoncode/color_cpp | 0f9ee85b872faf77b959628cdf5ae999096e4e7f | [
"BSD-2-Clause"
] | 1 | 2020-09-05T20:06:10.000Z | 2020-09-05T20:06:10.000Z | #pragma once
#include "space.hpp"
#include <vector>
namespace color {
// NOTE(emmett): Use a vector rather than array because it would require templating or autoing all
// usages of a palette which sucks. The array length isn't a super relevant type trait here as long
// as functions use the .size() routine appro... | 30.130435 | 99 | 0.750361 | uncommoncode |
eecd0dfeae26d0ed393816d187d8bec9769bf74d | 638 | cpp | C++ | practice/trees/connect_nodes.cpp | sidgairo18/Programming-Practice | 348ad38452fa9fa7b7302161455d3b3f697734da | [
"MIT"
] | 2 | 2018-06-26T09:52:14.000Z | 2018-07-12T15:02:01.000Z | practice/trees/connect_nodes.cpp | sidgairo18/Programming-Practice | 348ad38452fa9fa7b7302161455d3b3f697734da | [
"MIT"
] | null | null | null | practice/trees/connect_nodes.cpp | sidgairo18/Programming-Practice | 348ad38452fa9fa7b7302161455d3b3f697734da | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef struct Node
{
int data;
Node *left, *right;
Node *nextRight; // This has garbage value in input trees
} Node;
void connect(Node *p){
queue<Node*> q;
q.push(p);
q.push(NULL);
while(!q.empty()){
Node *curr = q.front();
... | 16.358974 | 60 | 0.476489 | sidgairo18 |
eecf217952ac664974832b9ea79e3e6d4967f5c4 | 596 | cpp | C++ | Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_02.cpp | hyller/GladiatorLibrary | 38d99f345db80ebb00116e54c91eada7968fa447 | [
"Unlicense"
] | 7 | 2018-07-22T14:29:58.000Z | 2021-05-03T04:40:13.000Z | Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_02.cpp | hyller/GladiatorLibrary | 38d99f345db80ebb00116e54c91eada7968fa447 | [
"Unlicense"
] | null | null | null | Ivor_Horton_Beginning_Visual_C++_2010/Ch03/Ex3_02.cpp | hyller/GladiatorLibrary | 38d99f345db80ebb00116e54c91eada7968fa447 | [
"Unlicense"
] | 5 | 2019-02-13T14:50:51.000Z | 2020-07-24T09:05:22.000Z | // Ex3_02.cpp
// Using the extended if
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main()
{
long number(0L); // Store input here
cout << endl
<< "Enter an integer number less than 2 billion: ";
cin >> number;
if(number % 2L) ... | 24.833333 | 72 | 0.503356 | hyller |
eed46de426b8416f5e801b915e0e6ae35cf3a93e | 317 | cpp | C++ | Math/palindrome_int.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | Math/palindrome_int.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | Math/palindrome_int.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int isPalindrome(int A) {
if(A < 0)
return 0;
int num = 0;
int tmp = A;
while(tmp) {
num = (num * 10) + (tmp % 10);
tmp /= 10;
}
if(num == A) return 1;
else return 0;
}
int main(void) {
int n;
cin >> n;
cout << isPalindrome(n) << endl;
return 0;
} | 11.740741 | 33 | 0.548896 | aneesh001 |
eed7327f39620344f3e92e1ee20e57b59a276225 | 3,062 | cpp | C++ | src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/import_table_json_getter.cpp | nimeshvaghasiya/retdec | 30b3cb3402fe59d992bf0558681f051bcd7f7849 | [
"MIT",
"BSD-3-Clause"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/import_table_json_getter.cpp | nimeshvaghasiya/retdec | 30b3cb3402fe59d992bf0558681f051bcd7f7849 | [
"MIT",
"BSD-3-Clause"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/import_table_json_getter.cpp | nimeshvaghasiya/retdec | 30b3cb3402fe59d992bf0558681f051bcd7f7849 | [
"MIT",
"BSD-3-Clause"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /**
* @file src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/import_table_json_getter.cpp
* @brief Methods of ImportTableJsonGetter class.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"
#... | 30.62 | 146 | 0.777596 | nimeshvaghasiya |
eed8b7f470238bc1886e2805783ed521120c2d60 | 571 | hpp | C++ | lkCommon/include/lkCommon/Utils/ArenaObject.hpp | lookeypl/lkCommon | efd08396f2b151a320e103bd8111b745246b44e8 | [
"WTFPL"
] | 1 | 2020-11-11T20:05:19.000Z | 2020-11-11T20:05:19.000Z | lkCommon/include/lkCommon/Utils/ArenaObject.hpp | lookeypl/lkCommon | efd08396f2b151a320e103bd8111b745246b44e8 | [
"WTFPL"
] | null | null | null | lkCommon/include/lkCommon/Utils/ArenaObject.hpp | lookeypl/lkCommon | efd08396f2b151a320e103bd8111b745246b44e8 | [
"WTFPL"
] | null | null | null | #pragma once
#include "lkCommon/Utils/ArenaAllocator.hpp"
#include <cstring>
#include <memory>
namespace lkCommon {
namespace Utils {
class ArenaObject
{
static void* operator new(size_t size) { return malloc(size); };
static void operator delete(void* p) { free(p); };
public:
static void* operator new... | 19.033333 | 69 | 0.676007 | lookeypl |
eed987f8550dc4d8a3ca179a2706afb010402fe4 | 916 | cpp | C++ | package/statistics/statistics_gateway/statistics_gateway_multiton.cpp | mambaru/wfc_core | 0c3e7fba82a9bb1580582968efae02ef7fabc87a | [
"MIT"
] | null | null | null | package/statistics/statistics_gateway/statistics_gateway_multiton.cpp | mambaru/wfc_core | 0c3e7fba82a9bb1580582968efae02ef7fabc87a | [
"MIT"
] | 5 | 2019-12-06T01:01:01.000Z | 2021-04-20T21:16:34.000Z | package/statistics/statistics_gateway/statistics_gateway_multiton.cpp | mambaru/wfc_core | 0c3e7fba82a9bb1580582968efae02ef7fabc87a | [
"MIT"
] | null | null | null | //
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2015
//
// Copyright: See COPYING file that comes with this distribution
//
#include "statistics_gateway_multiton.hpp"
#include "statistics_gateway.hpp"
#include <wfc/module/multiton.hpp>
#include <wfc/module/instance.hpp>
#include <wfc/name.hpp>
namespa... | 22.341463 | 127 | 0.717249 | mambaru |
eed9fe1053fe1d4813ee552837a1e9d6ed9c4218 | 2,054 | hpp | C++ | include/stack.hpp | LabradorWithShades/lab-05-stack | 91e12096fb1f8ce29f2e93c3fdbf6ad9cecc1f11 | [
"MIT"
] | null | null | null | include/stack.hpp | LabradorWithShades/lab-05-stack | 91e12096fb1f8ce29f2e93c3fdbf6ad9cecc1f11 | [
"MIT"
] | null | null | null | include/stack.hpp | LabradorWithShades/lab-05-stack | 91e12096fb1f8ce29f2e93c3fdbf6ad9cecc1f11 | [
"MIT"
] | null | null | null | // Copyright 2020 LabradorWithShades
// 70892548+LabradorWithShades@users.noreply.github.com
#ifndef INCLUDE_STACK_HPP_
#define INCLUDE_STACK_HPP_
#include <stdexcept>
#include <utility>
template <typename T>
class Stack {
public:
Stack() = default;
Stack(const Stack&) = delete;
Stack& operator=(const Stack&)... | 23.883721 | 78 | 0.636806 | LabradorWithShades |
eedcb25499150f40cc8013793a5e950e0f901f02 | 19 | cpp | C++ | src/Server.cpp | lawsonfulton/SimpleRPC | 829223314a1dda0dbc0b01b625cccd34d5620758 | [
"MIT"
] | 1 | 2020-09-11T00:52:11.000Z | 2020-09-11T00:52:11.000Z | src/Server.cpp | lawsonfulton/SimpleRPC | 829223314a1dda0dbc0b01b625cccd34d5620758 | [
"MIT"
] | null | null | null | src/Server.cpp | lawsonfulton/SimpleRPC | 829223314a1dda0dbc0b01b625cccd34d5620758 | [
"MIT"
] | null | null | null | #include "Server.h" | 19 | 19 | 0.736842 | lawsonfulton |
4abc69b593297fdb3d9a64c3fdde77898cd8fdf9 | 31,973 | cpp | C++ | FEBioFluid/FEFluidSolver.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | FEBioFluid/FEFluidSolver.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | FEBioFluid/FEFluidSolver.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining a... | 31.845618 | 111 | 0.56923 | Scriptkiddi |
4ac29fa40273ec395f4592b3b70f4d3961c5887f | 1,818 | cpp | C++ | aws-cpp-sdk-proton/source/model/RepositorySyncEvent.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-proton/source/model/RepositorySyncEvent.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-proton/source/model/RepositorySyncEvent.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/proton/model/RepositorySyncEvent.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
na... | 17.480769 | 72 | 0.705171 | perfectrecall |
4ac371df15c904bc7dc8fec74474340a8e43e32d | 2,914 | hpp | C++ | include/geometry2D/primitives/rect.hpp | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | include/geometry2D/primitives/rect.hpp | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | include/geometry2D/primitives/rect.hpp | TheTryton/linear_algebra | 1975bab581e56451e2a7e45749374f11274248a5 | [
"MIT"
] | null | null | null | #pragma once
#include "../geometry2D_common.hpp"
NAMESPACE_GEOMETRY2D_BEGIN
template<class T>
class rect
{
private:
std::array<point_type<T>, 2> _points;
public:
using calculation_type = T;
public:
rect();
rect(const point_type<T>& bottom_left, const point_type<T>& top_right);
rect(const T& x, co... | 27.233645 | 80 | 0.642759 | TheTryton |
4ac8e914f5d1134d513c383b95e305c6b8279be9 | 11,347 | cpp | C++ | src/database/overlay/SoXipLutColorBar.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/database/overlay/SoXipLutColorBar.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/database/overlay/SoXipLutColorBar.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.... | 29.169666 | 97 | 0.667225 | OpenXIP |
4ac9e01c1bbe89b9ec3fefe1d0d2db8a45b4d929 | 1,455 | cpp | C++ | NeuralNetwork/TrainingData.cpp | platinum1998/Neural-Network | 1ddbd0ed2f8e3483ee47976218693fd1ba381ac2 | [
"Apache-2.0"
] | 2 | 2019-11-30T16:34:19.000Z | 2020-02-20T21:24:38.000Z | NeuralNetwork/TrainingData.cpp | platinum1998/Neural-Network | 1ddbd0ed2f8e3483ee47976218693fd1ba381ac2 | [
"Apache-2.0"
] | null | null | null | NeuralNetwork/TrainingData.cpp | platinum1998/Neural-Network | 1ddbd0ed2f8e3483ee47976218693fd1ba381ac2 | [
"Apache-2.0"
] | null | null | null | #include "TrainingData.h"
TrainingData::TrainingData(const std::string filename)
{
m_trainingDataFile.open(filename.c_str());
}
void TrainingData::getTopology(std::vector<unsigned>& topology)
{
std::string line;
std::string label;
std::getline(m_trainingDataFile, line);
std::stringstream ss(line);
ss >> label;... | 18.1875 | 78 | 0.663918 | platinum1998 |
4aca429a7a5ccc0450aa532adf738ea7623bb94a | 2,763 | hpp | C++ | src/include/XEngine/Controller/InputCmd.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XEngine/Controller/InputCmd.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XEngine/Controller/InputCmd.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | #ifndef __INPUTCMD_HPP__
#define __INPUTCMD_HPP__
//#include <sfml/Config.hpp>
//#include <sfml/System/Vector2.hpp>
namespace InputCmd
{
// Enumeration for user-defined actions
//enum MyAction
//{
// None,
// //Steuerung
// Forward, ///< move forward
// ForwardLeft, ///< move ForwardL... | 21.755906 | 74 | 0.512125 | devxkh |
4acc89e505debe488ed8f92b3fca4acca7d3e38d | 2,817 | cpp | C++ | livedisplay/sdm/AdaptiveBacklight.cpp | Evervolv/android_device_moto_sdm632-common | f6a76ef57b35ddf09633706a150e03e377fbbedd | [
"FTL"
] | null | null | null | livedisplay/sdm/AdaptiveBacklight.cpp | Evervolv/android_device_moto_sdm632-common | f6a76ef57b35ddf09633706a150e03e377fbbedd | [
"FTL"
] | null | null | null | livedisplay/sdm/AdaptiveBacklight.cpp | Evervolv/android_device_moto_sdm632-common | f6a76ef57b35ddf09633706a150e03e377fbbedd | [
"FTL"
] | null | null | null | /*
* Copyright (C) 2019-2020 The LineageOS Project
*
* 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 applicab... | 26.575472 | 96 | 0.661342 | Evervolv |
4ace9e6ec00c0e99ce5991303479972bf4c6de66 | 727 | cpp | C++ | src/elona/data/types/type_fish.cpp | XrosFade/ElonaFoobar | c33880080e0b475103ae3ea7d546335f9d4abd02 | [
"MIT"
] | null | null | null | src/elona/data/types/type_fish.cpp | XrosFade/ElonaFoobar | c33880080e0b475103ae3ea7d546335f9d4abd02 | [
"MIT"
] | null | null | null | src/elona/data/types/type_fish.cpp | XrosFade/ElonaFoobar | c33880080e0b475103ae3ea7d546335f9d4abd02 | [
"MIT"
] | 1 | 2020-02-24T18:52:19.000Z | 2020-02-24T18:52:19.000Z | #include "type_fish.hpp"
namespace elona
{
FishDB the_fish_db;
const constexpr char* data::LuaLazyCacheTraits<FishDB>::type_id;
FishData FishDB::convert(const lua::ConfigTable& data, const std::string& id)
{
auto legacy_id = data.required<int>("legacy_id");
DATA_OPT_OR(no_generate, bool, false);
DATA... | 19.131579 | 77 | 0.628611 | XrosFade |
4ad2f4c8944858eeae0bf680c148e5a8c393bea2 | 41,850 | cpp | C++ | exiv2-0.24/src/preview.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | 6 | 2016-10-04T10:12:11.000Z | 2021-09-18T22:37:29.000Z | exiv2-0.24/src/preview.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | null | null | null | exiv2-0.24/src/preview.cpp | sdrpa/Exiv2Framework | 76b2dd9a906ab08d39bf97c8f3d97037eb39c69d | [
"MIT"
] | 2 | 2018-05-20T08:32:40.000Z | 2019-07-06T18:27:19.000Z | // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2013 Andreas Huggel <ahuggel@gmx.net>
*
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | 35.891938 | 131 | 0.560263 | sdrpa |
4ad625419e2403e56733dd48f12afb505c3ea93f | 2,161 | cpp | C++ | SystemC/Tutorial/fir_main.cpp | jsochacki/CoDec_Development | a918b235a53eef2d30c0c42dd5bee2238c90b824 | [
"BSD-3-Clause"
] | 2 | 2018-05-29T18:49:52.000Z | 2021-11-23T13:57:35.000Z | SystemC/Tutorial/fir_main.cpp | jsochacki/CoDec_Development | a918b235a53eef2d30c0c42dd5bee2238c90b824 | [
"BSD-3-Clause"
] | null | null | null | SystemC/Tutorial/fir_main.cpp | jsochacki/CoDec_Development | a918b235a53eef2d30c0c42dd5bee2238c90b824 | [
"BSD-3-Clause"
] | 1 | 2021-04-04T08:37:00.000Z | 2021-04-04T08:37:00.000Z |
#include "fir.h"
// Coefficients for the FIR filter
const sc_uint<9> coef[5] =
{
18,
77,
107,
77,
18
};
//fir_main thread
//Since we are defining the function outside of the fir module declaration we need some way
//to associate this fit_main function with the module fir as
//We could have multiple modules with the... | 23.747253 | 92 | 0.583526 | jsochacki |
4ad999f4c37ae1f31a1c32e53bbecd932a66b4cd | 10,825 | cpp | C++ | molecular/gfx/opengl/GlCommandSinkProgram.cpp | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | null | null | null | molecular/gfx/opengl/GlCommandSinkProgram.cpp | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | 1 | 2019-10-23T14:33:25.000Z | 2019-10-23T14:33:25.000Z | molecular/gfx/opengl/GlCommandSinkProgram.cpp | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | 2 | 2020-09-24T13:33:39.000Z | 2022-03-29T13:17:47.000Z | /* GlCommandSinkProgram.cpp
MIT License
Copyright (c) 2019-2020 Fabian Herb
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, c... | 29.657534 | 162 | 0.728776 | petrarce |
4adae72891ce7b1404b6510057c3ee954274bd30 | 805 | cpp | C++ | src/tests/test_vector/main.cpp | Ibujah/derivative | 7f1187323e23ea84ce719b7b539390b0d58940e3 | [
"MIT"
] | null | null | null | src/tests/test_vector/main.cpp | Ibujah/derivative | 7f1187323e23ea84ce719b7b539390b0d58940e3 | [
"MIT"
] | null | null | null | src/tests/test_vector/main.cpp | Ibujah/derivative | 7f1187323e23ea84ce719b7b539390b0d58940e3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <basic_operands/Integers.hpp>
#include <basic_operands/Parameters.hpp>
#include <basic_operands/Arguments.hpp>
#include <basic_operations/Plus.hpp>
#include <basic_operations/Mult.hpp>
#include <basic_operands/Vector2.hpp>
#include <simplification/Simplify.hpp>
#include <output/Print.hp... | 20.125 | 40 | 0.650932 | Ibujah |
4adf687afd4b2b3b87670463afc5c697ea4a8c14 | 1,205 | cpp | C++ | src/function/aggregate/distributive/max.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/function/aggregate/distributive/max.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/function/aggregate/distributive/max.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | #include "duckdb/function/aggregate/distributive_functions.hpp"
#include "duckdb/common/exception.hpp"
#include "duckdb/common/types/null_value.hpp"
#include "duckdb/common/vector_operations/vector_operations.hpp"
using namespace std;
using namespace duckdb;
static void max_update(Vector inputs[], index_t input_count... | 29.390244 | 110 | 0.739419 | RelationalAI-oss |
4ae6a01ee055955a197629c3320858243a4faa45 | 14,121 | cpp | C++ | Casino_Inc/Source/Casino_Inc/AI/CI_AIManager_CPP.cpp | matthieu1345/CasinoInc | 3f6db9038c191fb5037219dbd8db5c7041b8292e | [
"Apache-2.0"
] | 1 | 2019-11-22T14:52:37.000Z | 2019-11-22T14:52:37.000Z | Casino_Inc/Source/Casino_Inc/AI/CI_AIManager_CPP.cpp | matthieu1345/CasinoInc | 3f6db9038c191fb5037219dbd8db5c7041b8292e | [
"Apache-2.0"
] | 1 | 2019-11-21T03:58:03.000Z | 2019-11-21T03:58:03.000Z | Casino_Inc/Source/Casino_Inc/AI/CI_AIManager_CPP.cpp | matthieu1345/CasinoInc | 3f6db9038c191fb5037219dbd8db5c7041b8292e | [
"Apache-2.0"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "CI_AIManager_CPP.h"
#include "Casino_Inc.h"
#include "Components/BillboardComponent.h"
#include "MainGameMode/CI_GameStateBase_CPP.h"
#include "DebugMacros.h"
#include "Tasks/BuildTask.h"
#include "TileMap/CI_BaseTileDataComponent... | 23.225329 | 137 | 0.73805 | matthieu1345 |
4ae747dcf657d0e693745aa519cd06bc43a27262 | 1,822 | cc | C++ | src/core/util/proc.cc | RobertSparadrap/biodynamo | 846b7fc8ce38bbf0b3a9bb69189a8b188aab389f | [
"Apache-2.0"
] | null | null | null | src/core/util/proc.cc | RobertSparadrap/biodynamo | 846b7fc8ce38bbf0b3a9bb69189a8b188aab389f | [
"Apache-2.0"
] | null | null | null | src/core/util/proc.cc | RobertSparadrap/biodynamo | 846b7fc8ce38bbf0b3a9bb69189a8b188aab389f | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------
//
// Copyright (C) The BioDynaMo Project.
// 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.
//
// See the LICENSE file distrib... | 24.293333 | 80 | 0.618002 | RobertSparadrap |
4aea13cec0bddfacbd5b8cb214490edeecc050c2 | 2,640 | cpp | C++ | src/operators/kernel/fpga/KD/feed_kernel.cpp | flying1999/paddle-mobile | a9ad824933015d8383d1978efe81e7ce4c583ca9 | [
"Apache-2.0"
] | null | null | null | src/operators/kernel/fpga/KD/feed_kernel.cpp | flying1999/paddle-mobile | a9ad824933015d8383d1978efe81e7ce4c583ca9 | [
"Apache-2.0"
] | null | null | null | src/operators/kernel/fpga/KD/feed_kernel.cpp | flying1999/paddle-mobile | a9ad824933015d8383d1978efe81e7ce4c583ca9 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 32.592593 | 80 | 0.683712 | flying1999 |
4aeb591a0b4d25c295a99458db894ea49c9da8e1 | 17,011 | hxx | C++ | src/openlcb/BroadcastTime.hxx | rilull/openmrn | f562c9957d4df2cbde7af6b9ebc70e190bd5f80c | [
"BSD-2-Clause"
] | 7 | 2019-03-03T22:15:01.000Z | 2021-12-17T13:09:21.000Z | src/openlcb/BroadcastTime.hxx | rilull/openmrn | f562c9957d4df2cbde7af6b9ebc70e190bd5f80c | [
"BSD-2-Clause"
] | 3 | 2019-10-17T20:51:59.000Z | 2020-07-20T20:28:53.000Z | src/openlcb/BroadcastTime.hxx | rilull/openmrn | f562c9957d4df2cbde7af6b9ebc70e190bd5f80c | [
"BSD-2-Clause"
] | 7 | 2020-05-22T21:19:40.000Z | 2021-05-30T08:19:55.000Z | /** @copyright
* Copyright (c) 2018, Stuart W. Baker
* 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,
* thi... | 32.46374 | 80 | 0.581741 | rilull |
4aee7036aa572821adee85acd1d0d90249af8fe7 | 3,387 | hpp | C++ | hessian2/reader.hpp | yun1129/hessian2-codec | 8e61255ebe0b257173da7d5f78950f6d776c5c3d | [
"Apache-2.0"
] | 1 | 2021-01-07T13:24:34.000Z | 2021-01-07T13:24:34.000Z | hessian2/reader.hpp | yun1129/hessian2-codec | 8e61255ebe0b257173da7d5f78950f6d776c5c3d | [
"Apache-2.0"
] | null | null | null | hessian2/reader.hpp | yun1129/hessian2-codec | 8e61255ebe0b257173da7d5f78950f6d776c5c3d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
#include "byte_order.h"
namespace hessian2 {
class Reader {
public:
Reader() = default;
virtual ~Reader() = default;
// Returns the current position that has been read.
virtual uint64_t Offset() const { return initial_offset_; }
// Returns the current entire buffer size, co... | 35.28125 | 80 | 0.651019 | yun1129 |
4aee92a5efa865a29a404c9e4a6839ad8e40ee87 | 32,675 | cp | C++ | MacOS/Sources/Application/Server/CServerTable.cp | mbert/mulberry-main | 6b7951a3ca56e01a7be67aa12e55bfeafc63950d | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | MacOS/Sources/Application/Server/CServerTable.cp | SpareSimian/mulberry-main | e868f3f4d86efae3351000818a3cb2d72ae5eac3 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | MacOS/Sources/Application/Server/CServerTable.cp | SpareSimian/mulberry-main | e868f3f4d86efae3351000818a3cb2d72ae5eac3 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless re... | 25.527344 | 133 | 0.721347 | mbert |
4af3d00b2b41b37012442eaab6738731ed88ba8d | 886 | cpp | C++ | src/Loop/LoopListener.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 14 | 2020-03-22T13:21:46.000Z | 2021-12-10T04:28:44.000Z | src/Loop/LoopListener.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 5 | 2020-04-14T19:35:16.000Z | 2021-08-30T03:02:36.000Z | src/Loop/LoopListener.cpp | G-o-T-o/CircuitOS | 383bd4794b4f3f55f8249d602f1f7bd10b336a84 | [
"MIT"
] | 5 | 2021-02-10T09:02:43.000Z | 2021-08-24T04:56:04.000Z | #include "LoopListener.h"
#include "LoopManager.h"
#ifdef CIRCUITOS_TASK
#include <Util/Task.h>
#include <utility>
#endif
LoopListener::LoopListener(){
// LoopManager::addListener(this);
}
LoopListener::~LoopListener(){
LoopManager::removeListener(this);
}
#ifdef CIRCUITOS_TASK
void LoopListener::startTask(std::s... | 19.688889 | 80 | 0.713318 | G-o-T-o |
4af6f5e652b8063fc89a324e1e96f8f290c33186 | 760 | cpp | C++ | Source/Voxel/Private/VoxelTools/VoxelHardnessHandler.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelTools/VoxelHardnessHandler.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelTools/VoxelHardnessHandler.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | // Copyright 2020 Phyronnaz
#include "VoxelTools/VoxelHardnessHandler.h"
FVoxelHardnessHandler::FVoxelHardnessHandler(const AVoxelWorld& World)
: MaterialConfig(World.MaterialConfig)
, RGBHardness(World.RGBHardness)
{
for (float& It : Hardness)
{
It = 1;
}
for (auto& It : World.MaterialsHardness)
... | 22.352941 | 104 | 0.678947 | SolarStormInteractive |
4af843aca9b872b3317209d56ea41449d88b83a8 | 3,660 | inl | C++ | rGWB/csmsetopcom.inl | mfernba/rGWB | 346de75519b1752c1ac9bea8ad7e5526096506ca | [
"MIT"
] | 10 | 2017-11-23T14:14:04.000Z | 2022-03-14T20:22:30.000Z | rGWB/csmsetopcom.inl | mfernba/rGWB | 346de75519b1752c1ac9bea8ad7e5526096506ca | [
"MIT"
] | null | null | null | rGWB/csmsetopcom.inl | mfernba/rGWB | 346de75519b1752c1ac9bea8ad7e5526096506ca | [
"MIT"
] | 1 | 2020-11-30T14:35:09.000Z | 2020-11-30T14:35:09.000Z | // Commons operations for Set Operators...
#include "csmfwddecl.hxx"
// Vertexs...
void csmsetopcom_append_vertex_if_not_exists(struct csmvertex_t *vertex, csmArrayStruct(csmvertex_t) *set_of_on_vertices);
// Hedges...
CSMBOOL csmsetopcom_is_edge_on_cycle_of_edges_with_a_side_on_a_hole(struct csmedge_t... | 44.634146 | 146 | 0.730874 | mfernba |
4af95c91186560acdad501ed131d107acdf6f44f | 901 | cpp | C++ | DEM/Game/src/Game/Interaction/Ability.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 15 | 2019-05-07T11:26:13.000Z | 2022-01-12T18:26:45.000Z | DEM/Game/src/Game/Interaction/Ability.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 16 | 2021-10-04T17:15:31.000Z | 2022-03-20T09:34:29.000Z | DEM/Game/src/Game/Interaction/Ability.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 2 | 2019-04-28T23:27:48.000Z | 2019-05-07T11:26:18.000Z | #include "Ability.h"
#include <Game/Interaction/AbilityInstance.h>
#include <Game/ECS/GameWorld.h>
namespace DEM::Game
{
bool CAbility::PushStandardExecuteAction(CGameWorld& World, HEntity Actor, const CInteractionContext& Context, bool Enqueue, bool PushChild) const
{
if (auto pQueue = World.FindComponent<CActionQu... | 29.064516 | 146 | 0.690344 | niello |
4af9e764ecd78416f695a0e91cad939e9ac0966c | 6,342 | cpp | C++ | Shogi/src/Sikou.cpp | mak1a/Shogi | ac8a2d37737ad07dedf7696920839fdd6984ab26 | [
"MIT"
] | 1 | 2020-10-29T19:54:10.000Z | 2020-10-29T19:54:10.000Z | Shogi/src/Sikou.cpp | mak1a/Shogi | ac8a2d37737ad07dedf7696920839fdd6984ab26 | [
"MIT"
] | null | null | null | Shogi/src/Sikou.cpp | mak1a/Shogi | ac8a2d37737ad07dedf7696920839fdd6984ab26 | [
"MIT"
] | null | null | null | #include "Sikou.hpp"
uint32 Sikou::MakeMoveFirst(const uint32 isSelfOrEnemy_, const uint32 depth_, s3d::Array<Te>& teValids_, Kyokumen k_) {
if (m_hashTable[k_.GetHashVal()].GetHashVal() != k_.GetHashVal()) {
/// <summary>
/// 局面が一致してない
/// </summary>
return 0;
}
if (m_ha... | 32.357143 | 179 | 0.571113 | mak1a |
4afaa5a53beec31ae3073a4a9a3286aea15be0c9 | 731 | cpp | C++ | brian2/codegen/runtime/weave_rt/templates/summed_variable.cpp | moritzaugustin/brian2 | d98ea0cb4af0c9426e71c8ee7659ddb13aea8593 | [
"BSD-2-Clause"
] | null | null | null | brian2/codegen/runtime/weave_rt/templates/summed_variable.cpp | moritzaugustin/brian2 | d98ea0cb4af0c9426e71c8ee7659ddb13aea8593 | [
"BSD-2-Clause"
] | 13 | 2015-10-05T15:33:42.000Z | 2015-11-18T08:31:42.000Z | brian2/codegen/runtime/weave_rt/templates/summed_variable.cpp | moritzaugustin/brian2 | d98ea0cb4af0c9426e71c8ee7659ddb13aea8593 | [
"BSD-2-Clause"
] | null | null | null | {% extends 'common_group.cpp' %}
{% block maincode %}
{# USES_VARIABLES { _synaptic_post, N_post } #}
//// MAIN CODE ////////////
{% set _target_var_array = get_array_name(_target_var) %}
const int _N_post = {{constant_or_scalar('N_post', variables['N_post'])}};
// Set all the target variable values to zer... | 29.24 | 78 | 0.660739 | moritzaugustin |
4afc586e7b73e972ee2807aa6307dfa0c896bbd5 | 588 | hpp | C++ | PolyEngine/Core/Src/UniqueID.hpp | MuniuDev/PolyEngine | 9389537e4f551fa5dd621ebd3704e55b04c98792 | [
"MIT"
] | 1 | 2017-04-30T13:55:54.000Z | 2017-04-30T13:55:54.000Z | PolyEngine/Core/Src/UniqueID.hpp | MuniuDev/PolyEngine | 9389537e4f551fa5dd621ebd3704e55b04c98792 | [
"MIT"
] | null | null | null | PolyEngine/Core/Src/UniqueID.hpp | MuniuDev/PolyEngine | 9389537e4f551fa5dd621ebd3704e55b04c98792 | [
"MIT"
] | 3 | 2017-11-22T16:37:26.000Z | 2019-04-24T17:47:58.000Z | #pragma once
#include "Defines.hpp"
namespace Poly {
//TODO write propper UniqueID
class CORE_DLLEXPORT UniqueID : public BaseObject<>
{
public:
UniqueID();
static UniqueID Generate();
bool operator==(const UniqueID& rhs) const;
bool operator!=(const UniqueID& rhs) const;
explicit operator bool() con... | 18.967742 | 123 | 0.688776 | MuniuDev |
4afcf926552f9d842d0dbb68e36b957b8d7aa210 | 11,943 | tpp | C++ | cml/matrix/writable_matrix.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 125 | 2015-07-22T11:39:51.000Z | 2022-03-06T13:41:44.000Z | cml/matrix/writable_matrix.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 45 | 2015-06-03T15:50:08.000Z | 2021-05-26T01:35:01.000Z | cml/matrix/writable_matrix.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 28 | 2015-06-03T09:26:26.000Z | 2022-03-06T13:42:06.000Z | /* -*- C++ -*- ------------------------------------------------------------
@@COPYRIGHT@@
*-----------------------------------------------------------------------*/
/** @file
*/
#ifndef __CML_MATRIX_WRITABLE_MATRIX_TPP
#error "matrix/writable_matrix.tpp not included correctly"
#endif
#include <random>
#include <cm... | 24.88125 | 78 | 0.691032 | egorodet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.