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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
09a1db3d62886f85788529fe56a696428bd6d4d2 | 11,674 | cpp | C++ | vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | marnen/rubinius | 05b3f9789d01bada0604a7f09921c956bc9487e7 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T16:58:14.000Z | 2016-05-08T16:58:14.000Z | vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | taf2/rubinius | 493bfa2351fc509ca33d3bb03991c2e9c2b6dafa | [
"BSD-3-Clause"
] | null | null | null | //===-- ValueEnumerator.cpp - Number values and types for bitcode writer --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 35.591463 | 80 | 0.640569 | marnen |
09a3ffc1941a8251858d718e4c97e3e9aa166202 | 533 | cpp | C++ | competitive_programming/programming_contests/spoj_br/bafo.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/spoj_br/bafo.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/spoj_br/bafo.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // BAFO
#include <iostream>
#include <string>
using namespace std;
int main() {
int n, t_beto=0, t_aldo=0, x, y, counter=1;
string result;
cin >> n;
if(n == 0)
return 0;
while(n != 0) {
for (int i = 0; i < n; i++) {
cin >> x >> y;
t_aldo += x;
t_beto += y;
}
if (t_ald... | 13.666667 | 45 | 0.467167 | LeandroTk |
09a8566cd7aedd03a946c8ae8ae2735ad5971a41 | 3,898 | cxx | C++ | src/delegate/HttpRequest.cxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 35 | 2017-08-16T06:52:26.000Z | 2022-03-27T21:49:01.000Z | src/delegate/HttpRequest.cxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 2 | 2017-12-22T15:34:23.000Z | 2022-03-08T04:15:23.000Z | src/delegate/HttpRequest.cxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 8 | 2017-12-22T15:11:47.000Z | 2022-03-15T22:54:04.000Z | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 31.691057 | 89 | 0.729861 | CM4all |
09a93f4f2ec3d6e761c821efe40a8908d8d0a2a0 | 1,632 | hpp | C++ | include/foundation/gameobject.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | 3 | 2015-03-28T02:51:58.000Z | 2018-11-08T16:49:53.000Z | include/foundation/gameobject.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | 39 | 2015-05-18T08:29:16.000Z | 2020-07-18T21:17:44.000Z | include/foundation/gameobject.hpp | namelessvoid/qrwar | bbc4036cd3bab6b0edcaccbc95286379ef51f12b | [
"MIT"
] | null | null | null | #ifndef QRW_GAMEOBJECT_HPP
#define QRW_GAMEOBJECT_HPP
#include <map>
#include <typeinfo>
#include <typeindex>
#include <cassert>
#include <functional>
#include <foundation/gamecomponent.hpp>
#include "meta/reflectable.hpp"
namespace qrw
{
class GameComponent;
class GameObject : public Reflectable
{
public:
GameO... | 24.727273 | 102 | 0.756127 | namelessvoid |
09a994f79ffde40a6455a8f05ceb83d9f5aa9c8a | 421 | cpp | C++ | CodeFourses/A.HelpfulMaths.cpp | Rafat97/RafatProgtammingContest | f39ef6a71511abb91d42c6af469e4b24959be226 | [
"Apache-2.0"
] | null | null | null | CodeFourses/A.HelpfulMaths.cpp | Rafat97/RafatProgtammingContest | f39ef6a71511abb91d42c6af469e4b24959be226 | [
"Apache-2.0"
] | null | null | null | CodeFourses/A.HelpfulMaths.cpp | Rafat97/RafatProgtammingContest | f39ef6a71511abb91d42c6af469e4b24959be226 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main(void)
{
char str[500],str1[500];
int i = 0;
gets(str);
for(int j = 0;j<strlen(str);i++,j = j + 2 )
str1[i] = str[j];
str1[i] = '\0';
sort(str1,str1+strlen(str1));
for(int j... | 13.580645 | 53 | 0.524941 | Rafat97 |
09acab92de7bc049d3b6f4ac9b00aa0877acd311 | 174 | cpp | C++ | unsafe_coerce/unsafe-coerce.cpp | mikesol/purescript-native-cpp-ffi | 3805115716e7f5dfe3b046c2e2967bfbdf2ce19f | [
"MIT"
] | 11 | 2019-07-28T14:19:04.000Z | 2021-06-11T11:40:43.000Z | unsafe_coerce/unsafe-coerce.cpp | andyarvanitis/purescript-cpp-ffi | 268567879eed9a1da8450f07277382a76c658a90 | [
"MIT"
] | 4 | 2018-11-16T07:59:01.000Z | 2019-05-19T01:03:06.000Z | unsafe_coerce/unsafe-coerce.cpp | andyarvanitis/purescript-cpp-ffi | 268567879eed9a1da8450f07277382a76c658a90 | [
"MIT"
] | 4 | 2019-12-22T05:36:30.000Z | 2021-11-08T09:49:59.000Z | #include "purescript.h"
// Tested with package v4.0.0
FOREIGN_BEGIN( Unsafe_Coerce )
exports["unsafeCoerce"] = [](const boxed& x) -> boxed {
return x;
};
FOREIGN_END
| 14.5 | 55 | 0.678161 | mikesol |
09ad28d0d52ed20c83b23d6d45647ed5aafc88b4 | 6,374 | cpp | C++ | apps/Viewer/src/Preferences.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 217 | 2015-01-06T09:26:53.000Z | 2022-03-23T14:03:18.000Z | apps/Viewer/src/Preferences.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 10 | 2015-01-25T12:42:05.000Z | 2017-11-28T16:10:16.000Z | apps/Viewer/src/Preferences.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 44 | 2015-01-13T01:19:41.000Z | 2022-02-21T21:35:08.000Z | // Copyright (c) 2009-2015, NVIDIA CORPORATION. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of con... | 27.239316 | 119 | 0.720427 | asuessenbach |
09add7639eb5ac4f02e6860c199f00c18a66e76e | 834 | cc | C++ | chrome/browser/lite_video/lite_video_navigation_metrics.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/lite_video/lite_video_navigation_metrics.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/lite_video/lite_video_navigation_metrics.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 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 "chrome/browser/lite_video/lite_video_navigation_metrics.h"
namespace lite_video {
LiteVideoNavigationMetrics::LiteVideoNavigationMetrics(
... | 30.888889 | 73 | 0.791367 | mghgroup |
09b0ad0b6b27c21c962625822124d58e14ea0684 | 1,701 | cpp | C++ | src/main/zsystem/Backtrace.cpp | SLukasDE/zsystem | d75d361e5e0226416d1f143051195a30530bc128 | [
"MIT"
] | null | null | null | src/main/zsystem/Backtrace.cpp | SLukasDE/zsystem | d75d361e5e0226416d1f143051195a30530bc128 | [
"MIT"
] | null | null | null | src/main/zsystem/Backtrace.cpp | SLukasDE/zsystem | d75d361e5e0226416d1f143051195a30530bc128 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019-2021 Sven Lukas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | 31.5 | 78 | 0.741329 | SLukasDE |
09b188ab2977012c024f7d11d6a5061d0ddb63f5 | 3,873 | cpp | C++ | src/shader_gl.cpp | google/fplbase | 57c83296659469cf51db142baec3039edd347476 | [
"Apache-2.0"
] | 233 | 2015-11-18T23:24:26.000Z | 2022-01-20T20:44:07.000Z | src/shader_gl.cpp | google/fplbase | 57c83296659469cf51db142baec3039edd347476 | [
"Apache-2.0"
] | 10 | 2017-04-10T00:57:19.000Z | 2022-01-20T20:46:17.000Z | src/shader_gl.cpp | google/fplbase | 57c83296659469cf51db142baec3039edd347476 | [
"Apache-2.0"
] | 56 | 2016-01-04T09:55:19.000Z | 2022-01-20T20:44:14.000Z | // Copyright 2014 Google Inc. 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... | 34.891892 | 81 | 0.731991 | google |
09b1d686c973d57dbff589cd1f60935d614eb813 | 631 | cpp | C++ | platform/android/CCStorePaymentTransactionWrapper.cpp | kpkhxlgy0/cocos2dh-js | d84f76b505ad0f2fdb799721352a4f510795a096 | [
"MIT"
] | 2 | 2017-11-17T02:54:32.000Z | 2018-11-26T08:17:23.000Z | platform/android/CCStorePaymentTransactionWrapper.cpp | kpkhxlgy0/cocos2dh-js | d84f76b505ad0f2fdb799721352a4f510795a096 | [
"MIT"
] | null | null | null | platform/android/CCStorePaymentTransactionWrapper.cpp | kpkhxlgy0/cocos2dh-js | d84f76b505ad0f2fdb799721352a4f510795a096 | [
"MIT"
] | null | null | null |
#include "../../quick/store/CCStorePaymentTransactionWrapper.h"
// #import <StoreKit/StoreKit.h>
NS_CC_H_BEGIN
CCStorePaymentTransactionWrapper* CCStorePaymentTransactionWrapper::createWithTransaction(void* transactionObj)
{
// CCStorePaymentTransactionWrapper* transaction = new CCStorePaymentTransactionWrapper(... | 28.681818 | 111 | 0.787639 | kpkhxlgy0 |
09b245f9822725804c1bba279af9c48adcf4197a | 7,300 | cpp | C++ | src/software/simulation/physics/simulation_contact_listener.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/simulation/physics/simulation_contact_listener.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/simulation/physics/simulation_contact_listener.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | #include "software/simulation/physics/simulation_contact_listener.h"
void SimulationContactListener::BeginContact(b2Contact *contact)
{
if (contact->IsTouching())
{
auto fixture_a = contact->GetFixtureA();
auto fixture_b = contact->GetFixtureB();
PhysicsObjectUserData *user_data_a =
... | 36.5 | 90 | 0.64137 | EvanMorcom |
09b4c813e5c3ad608ea37ed0d4b5b8c93ea9edb8 | 582 | cpp | C++ | 6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp | aTonyXiao/Zybook | 36cd05a436c6ca007cdd14638cf5ee2a7724b889 | [
"MIT"
] | 11 | 2017-11-17T07:31:44.000Z | 2020-12-05T14:46:56.000Z | 6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp | aTonyXiao/Zybook | 36cd05a436c6ca007cdd14638cf5ee2a7724b889 | [
"MIT"
] | null | null | null | 6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp | aTonyXiao/Zybook | 36cd05a436c6ca007cdd14638cf5ee2a7724b889 | [
"MIT"
] | 1 | 2019-10-15T20:58:51.000Z | 2019-10-15T20:58:51.000Z | #include <iostream>
/*
Modify PrintFace() to have three parameters: char eyeChar, char noseChar, char mouthChar. Call the function with arguments 'o', '*', and '#', which should draw this face:
*/
using namespace std;
void PrintFace(char eye, char nose, char mouth) { // FIXME: Support 3 parameters
cout << " " <... | 32.333333 | 171 | 0.568729 | aTonyXiao |
09b5be6958269c0c89eb66cd5aa7d56479d2f59a | 15,550 | cpp | C++ | CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 1 | 2021-05-05T20:42:24.000Z | 2021-05-05T20:42:24.000Z | CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | //This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
//Though not required... | 51.490066 | 179 | 0.668746 | Cwc-Test |
09b681e2e346b95e8f5cf0197356b2b9a8c9b28e | 23,151 | cpp | C++ | source/directxtk/src/skinnedeffect.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/directxtk/src/skinnedeffect.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/directxtk/src/skinnedeffect.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //--------------------------------------------------------------------------------------
// File: SkinnedEffect.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615561
//---------------------------------------------------... | 36.515773 | 174 | 0.735951 | mechasource |
09b73349df2ba20e88ad4f8b2f8c93915cb63fad | 4,788 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 33.71831 | 95 | 0.648496 | kevinlq |
09b7f1f42ab823cf89e9aaf5c5d453e051582626 | 3,155 | cpp | C++ | Drivers/Driver_Lagrange/src/Utils/utilities.cpp | matteofrigo5/HPC_ReverseAugmentedConstrained | d4beca47750177b34da7289f10865fb7043c76e7 | [
"MIT"
] | null | null | null | Drivers/Driver_Lagrange/src/Utils/utilities.cpp | matteofrigo5/HPC_ReverseAugmentedConstrained | d4beca47750177b34da7289f10865fb7043c76e7 | [
"MIT"
] | null | null | null | Drivers/Driver_Lagrange/src/Utils/utilities.cpp | matteofrigo5/HPC_ReverseAugmentedConstrained | d4beca47750177b34da7289f10865fb7043c76e7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <mpi.h>
#include "utilities.hpp"
#define PRINTVALS true
namespace
{
bool compareChar( char const & c1, char const & c2 )
{
if( c1 == c2 )
{
return true;
}
else if( std::toupper( c1 ) == std::toupper( c2 ) )
{
return true;
}
return false;
}
void mpi_print( char con... | 18.892216 | 114 | 0.575594 | matteofrigo5 |
09b8036e41919e4437ddc07e990ee625613ba8d3 | 24,309 | cpp | C++ | ref.neo/tools/compilers/roqvq/roq.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | ref.neo/tools/compilers/roqvq/roq.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | ref.neo/tools/compilers/roqvq/roq.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | 28.398364 | 342 | 0.679378 | Grimace1975 |
09b8eb1a11c791f4a277c56baaa67b3eedd10a97 | 6,621 | cpp | C++ | sys/sync/mutex.cpp | apexrtos/apex | 9538ab2f5b974035ca30ca8750479bdefe153047 | [
"0BSD"
] | 15 | 2020-05-08T06:21:58.000Z | 2021-12-11T18:10:43.000Z | sys/sync/mutex.cpp | apexrtos/apex | 9538ab2f5b974035ca30ca8750479bdefe153047 | [
"0BSD"
] | 11 | 2020-05-08T06:46:37.000Z | 2021-03-30T05:46:03.000Z | sys/sync/mutex.cpp | apexrtos/apex | 9538ab2f5b974035ca30ca8750479bdefe153047 | [
"0BSD"
] | 5 | 2020-08-31T17:05:03.000Z | 2021-12-08T07:09:00.000Z | /*-
* Copyright (c) 2005-2007, Kohsuke Ohtani
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list o... | 24.164234 | 77 | 0.70518 | apexrtos |
09bdec9cac21096c77cf1a697bb159786bbd6dd9 | 3,803 | cxx | C++ | src/translation/AddressSuffixRegistry.cxx | CM4all/beng-proxy | ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159 | [
"BSD-2-Clause"
] | 35 | 2017-08-16T06:52:26.000Z | 2022-03-27T21:49:01.000Z | src/translation/AddressSuffixRegistry.cxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 2 | 2017-12-22T15:34:23.000Z | 2022-03-08T04:15:23.000Z | src/translation/AddressSuffixRegistry.cxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 8 | 2017-12-22T15:11:47.000Z | 2022-03-15T22:54:04.000Z | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 29.48062 | 73 | 0.723639 | CM4all |
09c285942f2d4692bb2914a9e6586c04daa43b61 | 2,703 | cpp | C++ | Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp | fereeh/ezEngine | 14e46cb2a1492812888602796db7ddd66e2b7110 | [
"MIT"
] | null | null | null | #include <SampleGamePluginPCH.h>
#include <Core/WorldSerializer/WorldReader.h>
#include <Core/WorldSerializer/WorldWriter.h>
#include <SampleGamePlugin/Components/RedursiveGrowthComponent.h>
// clang-format off
EZ_BEGIN_COMPONENT_TYPE(RecursiveGrowthComponent, 2, ezComponentMode::Static)
{
EZ_BEGIN_PROPERTIES
{
... | 27.865979 | 141 | 0.748428 | fereeh |
09c3d51599805cfb434d2f62d15b02449c598599 | 1,581 | cpp | C++ | emulator/src/mame/video/ac1.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/video/ac1.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/video/ac1.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
AC1 video driver by Miodrag Milanovic
15/01/2009 Preliminary driver.
****************************************************************************/
#include "emu... | 25.5 | 112 | 0.532574 | rjw57 |
09cc031771e3558dd8d02235bbd5e81a05d66429 | 460,760 | cpp | C++ | Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp | bsgbryan/MinTuts | a1bb11ccee0ff10e6a9594bdeb02d41f965df169 | [
"MIT"
] | 1 | 2021-06-04T18:35:56.000Z | 2021-06-04T18:35:56.000Z | Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp | bsgbryan/MinTuts | a1bb11ccee0ff10e6a9594bdeb02d41f965df169 | [
"MIT"
] | null | null | null | Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp | bsgbryan/MinTuts | a1bb11ccee0ff10e6a9594bdeb02d41f965df169 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | 40.760793 | 473 | 0.799416 | bsgbryan |
09cfd0af802e077f58331b449d3787aa8dbb69a4 | 666 | cpp | C++ | lib/rpkeys/base.cpp | seanhagen/macropad | 3375e427f5606bec0d1b50ca44ac9140e686a6da | [
"MIT"
] | null | null | null | lib/rpkeys/base.cpp | seanhagen/macropad | 3375e427f5606bec0d1b50ca44ac9140e686a6da | [
"MIT"
] | null | null | null | lib/rpkeys/base.cpp | seanhagen/macropad | 3375e427f5606bec0d1b50ca44ac9140e686a6da | [
"MIT"
] | null | null | null | #include "base.h"
/*
Station::Station(void) { _setup(); }
Station::Station(stationConfig conf) {
_config = conf;
_setup();
}
*/
RPKeyboard::RPKeyboard() {
Serial.begin(115200);
// while (!Serial) { delay(10); } // wait till serial port is opened
delay(100); // RP2040 delay is not a bad idea
Serial.p... | 18.5 | 74 | 0.633634 | seanhagen |
09d052200eb4a0a2e2dce198359ddb925f636a40 | 22 | cpp | C++ | Coffee/src/CoffeePCH.cpp | SentientCoffee/HazelnutEngine | b1e9e29d50119a2882d840c47078363db71b266b | [
"Apache-2.0"
] | 1 | 2020-07-19T20:07:25.000Z | 2020-07-19T20:07:25.000Z | Coffee/src/CoffeePCH.cpp | SentientCoffee/CoffeeEngine | b1e9e29d50119a2882d840c47078363db71b266b | [
"Apache-2.0"
] | null | null | null | Coffee/src/CoffeePCH.cpp | SentientCoffee/CoffeeEngine | b1e9e29d50119a2882d840c47078363db71b266b | [
"Apache-2.0"
] | null | null | null | #include "CoffeePCH.h" | 22 | 22 | 0.772727 | SentientCoffee |
09d26388b8b89fbfaa1d1e750faa1902c5880c87 | 897 | cpp | C++ | sources/RandNano.cpp | usernameHed/Worms | 35ee28362b936b46d24e7c911a46a2cfd615128b | [
"MIT"
] | null | null | null | sources/RandNano.cpp | usernameHed/Worms | 35ee28362b936b46d24e7c911a46a2cfd615128b | [
"MIT"
] | null | null | null | sources/RandNano.cpp | usernameHed/Worms | 35ee28362b936b46d24e7c911a46a2cfd615128b | [
"MIT"
] | null | null | null | #include "RandNano.hh"
#include <cstdlib>
#include <ctime>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#ifdef _WIN32
#include <Windows.h>
#endif
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
RandNano::RandNano()
{
this->setRandInNano();
}
RandNano::~RandNano()
{
}
void RandNan... | 18.6875 | 71 | 0.740245 | usernameHed |
09d28960d296bbb22f4969a271c8ac4a9ca05326 | 3,882 | hpp | C++ | src/types/ds/circular_queue.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2020-07-31T14:13:56.000Z | 2021-02-03T09:51:43.000Z | src/types/ds/circular_queue.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 28 | 2015-09-22T07:38:21.000Z | 2018-10-02T11:00:58.000Z | src/types/ds/circular_queue.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2018-10-11T14:10:50.000Z | 2021-02-27T08:53:50.000Z | #ifndef CIRCULAR_QUEUE_HPP
#define CIRCULAR_QUEUE_HPP
/*
https://leetcode.com/problems/design-circular-queue/description/
Design your implementation of the circular queue. The circular queue is
a linear data structure in which the operations are performed based on
FIFO (First In First Out) principle and the last posit... | 27.338028 | 79 | 0.627769 | iamantony |
09d83033574328c83b5c540bf4c080b54efd4fae | 16,526 | cc | C++ | src/mshines_render.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | 1 | 2018-03-20T13:06:16.000Z | 2018-03-20T13:06:16.000Z | src/mshines_render.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | null | null | null | src/mshines_render.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | null | null | null | #include <inttypes.h>
#include <stdlib.h>
#include <phosg/Encoding.hh>
#include <phosg/Filesystem.hh>
#include <phosg/Image.hh>
#include <phosg/Strings.hh>
#include <stdexcept>
#include <vector>
#include "IndexFormats/Formats.hh"
#include "ResourceFile.hh"
using namespace std;
struct MonkeyShinesRoom {
struct E... | 38.432558 | 113 | 0.62084 | fuzziqersoftware |
09dbed8a7f6d0555307598f6c79b491a822cbca0 | 396 | hpp | C++ | src/backgroundParticles.hpp | minhoolee/SaveTheWorld | e9d65092237db38fa475d5e32d7b71c477d303dd | [
"BSD-3-Clause"
] | null | null | null | src/backgroundParticles.hpp | minhoolee/SaveTheWorld | e9d65092237db38fa475d5e32d7b71c477d303dd | [
"BSD-3-Clause"
] | null | null | null | src/backgroundParticles.hpp | minhoolee/SaveTheWorld | e9d65092237db38fa475d5e32d7b71c477d303dd | [
"BSD-3-Clause"
] | null | null | null | #ifndef BACKGROUND_PARTICLES_HPP
#define BACKGROUND_PARTICLES_HPP
#include <SFML/Graphics.hpp>
#include <array>
class BackgroundParticles {
public:
BackgroundParticles(int n);
void animateParticlesIdle();
void animateParticlesMovement();
std::array<sf::CircleShape, 50> backgroundParticles;
... | 18.857143 | 55 | 0.739899 | minhoolee |
09dda72d49223f6f6f3d62cb095ff8988e65c2b8 | 1,489 | cpp | C++ | src/generated/ldb_trooppagecondition_flags.cpp | Albeleon/liblcf | d9dd24d0026b3ab36adb291d205c405122a4332c | [
"MIT"
] | null | null | null | src/generated/ldb_trooppagecondition_flags.cpp | Albeleon/liblcf | d9dd24d0026b3ab36adb291d205c405122a4332c | [
"MIT"
] | null | null | null | src/generated/ldb_trooppagecondition_flags.cpp | Albeleon/liblcf | d9dd24d0026b3ab36adb291d205c405122a4332c | [
"MIT"
] | null | null | null | /* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2017 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright ... | 33.088889 | 77 | 0.709872 | Albeleon |
09df4b2eb1349a31d6bcc3ae7c01a67b8388a4d3 | 6,620 | cpp | C++ | src/models/reviewsmodel.cpp | Maledictus/harbour-sailreads | 2c58aa266ef2dacb790b857c3b6aced937da5c0e | [
"MIT"
] | 3 | 2019-01-05T09:54:19.000Z | 2019-02-26T09:20:23.000Z | src/models/reviewsmodel.cpp | Maledictus/harbour-sailreads | 2c58aa266ef2dacb790b857c3b6aced937da5c0e | [
"MIT"
] | 1 | 2019-01-03T10:02:01.000Z | 2019-01-03T14:08:16.000Z | src/models/reviewsmodel.cpp | Maledictus/harbour-sailreads | 2c58aa266ef2dacb790b857c3b6aced937da5c0e | [
"MIT"
] | null | null | null | /*
Copyright (c) 2018-2019 Oleg Linkin <maledictusdemagog@gmail.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 use, copy, modi... | 25.960784 | 97 | 0.666465 | Maledictus |
09e3574709070a14b73e67e00a07d9f47742019c | 2,328 | cpp | C++ | src/MaterialLibrary/MaterialLibrary.cpp | niiick1/OpenGLScene | 33a99428775e98b4fa3093ff2c481fffffaa974e | [
"MIT"
] | null | null | null | src/MaterialLibrary/MaterialLibrary.cpp | niiick1/OpenGLScene | 33a99428775e98b4fa3093ff2c481fffffaa974e | [
"MIT"
] | null | null | null | src/MaterialLibrary/MaterialLibrary.cpp | niiick1/OpenGLScene | 33a99428775e98b4fa3093ff2c481fffffaa974e | [
"MIT"
] | 1 | 2019-12-03T21:11:13.000Z | 2019-12-03T21:11:13.000Z | #include "MaterialLibrary/MaterialLibrary.h"
#include <iostream>
#include <GL/glew.h>
#include "lodepng/lodepng.h"
MaterialLibrary::MaterialLibrary()
{
//ctor
}
MaterialLibrary::~MaterialLibrary()
{
//dtor
}
void MaterialLibrary::addMaterial(const Material& material)
{
std::string materialName = materia... | 24.765957 | 126 | 0.681701 | niiick1 |
09e46675dfb06c0631712c0b461ef44d4a067078 | 1,179 | hpp | C++ | engine/src/vulkan/mesh/Mesh.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | engine/src/vulkan/mesh/Mesh.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | engine/src/vulkan/mesh/Mesh.hpp | Velikss/Bus-Simulator | 13bf0b66b9b44e3f4cb1375fc363720ea8f23e19 | [
"MIT"
] | null | null | null | #pragma once
#include <pch.hpp>
#include <vulkan/geometry/Geometry.hpp>
#include <vulkan/texture/Texture.hpp>
#include <vulkan/util/Invalidatable.hpp>
class cMesh : public cInvalidatable
{
private:
cGeometry* ppGeometry;
cTexture* ppTexture;
cTexture* ppMaterial;
public:
cMesh(cGeometry* pGeometry, c... | 19.327869 | 93 | 0.706531 | Velikss |
09e46bd9c7d97d85a2cc98e44bbe3466a6f4d569 | 688 | cpp | C++ | EasyFramework3d/base/util/FileException.cpp | sizilium/FlexChess | f12b94e800ddcb00535067eca3b560519c9122e0 | [
"MIT"
] | null | null | null | EasyFramework3d/base/util/FileException.cpp | sizilium/FlexChess | f12b94e800ddcb00535067eca3b560519c9122e0 | [
"MIT"
] | null | null | null | EasyFramework3d/base/util/FileException.cpp | sizilium/FlexChess | f12b94e800ddcb00535067eca3b560519c9122e0 | [
"MIT"
] | null | null | null | #include <vs/base/util/FileException.h>
namespace vs
{
namespace base
{
namespace util
{
FileException::FileException(string fileOfOccuredError, string placeOfOccuredError,
string description, string badFile)
:Exception(fileOfOccuredError, placeOfOccuredError, description), corruptedFile(badFile)
{}
... | 20.235294 | 88 | 0.768895 | sizilium |
09e8b899528544d05f6b13874715477b89dd7648 | 755 | cpp | C++ | 238.cpp | mudit1729/LeetCode | 766929544b1c87ed4afed120f460d5a4053f6a33 | [
"MIT"
] | null | null | null | 238.cpp | mudit1729/LeetCode | 766929544b1c87ed4afed120f460d5a4053f6a33 | [
"MIT"
] | null | null | null | 238.cpp | mudit1729/LeetCode | 766929544b1c87ed4afed120f460d5a4053f6a33 | [
"MIT"
] | null | null | null |
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
vector<int> left;
vector<int> right;
vector<int> sol;
int leftProduct = 1;
int rightProduct = 1;
int sz = nums.size();
left.resize(sz);
right.resize(sz);
for(int i = 0... | 29.038462 | 55 | 0.496689 | mudit1729 |
09ea20c17c26a573a528e218640c675dabbadc80 | 4,543 | cpp | C++ | test/test-str-convert.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | test/test-str-convert.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | test/test-str-convert.cpp | codalogic/cl-utils | 996452272d4c09b8df7928abdaea75b0e786a244 | [
"BSD-3-Clause"
] | null | null | null | //----------------------------------------------------------------------------
// Copyright (c) 2016, Codalogic Ltd (http://www.codalogic.com)
// All rights reserved.
//
// The license for this file is based on the BSD-3-Clause license
// (http://www.opensource.org/licenses/BSD-3-Clause).
//
// Redistribution and use i... | 36.344 | 78 | 0.605107 | codalogic |
09eb7f5938cbac14abae5d1e3a0db7968146c587 | 289 | cpp | C++ | CodeBlocks/Codeforces/Codeforces228A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Codeforces228A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | CodeBlocks/Codeforces/Codeforces228A.cpp | ash1247/DocumentsWindows | 66f65b5170a1ba766cfae08b7104b63ab87331c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main( void )
{
set<long int> collection;
long int s;
int count = 0;
for(int i = 0; i < 4; i++ )
{
cin >> s;
collection.insert( s );
}
cout << 4 - collection.size() << endl;
return 0;
}
| 13.136364 | 42 | 0.49481 | ash1247 |
09ebcc68dfbb4af9f94e0032a83a7b566a3ffa0f | 30,521 | cc | C++ | proto/echo_test.pb.cc | iwtbabc/irpc | 647b126450b986e73b350ed451c90d48ec3a420c | [
"MIT"
] | 1 | 2018-08-28T12:01:01.000Z | 2018-08-28T12:01:01.000Z | proto/echo_test.pb.cc | majianfei/irpc | 647b126450b986e73b350ed451c90d48ec3a420c | [
"MIT"
] | null | null | null | proto/echo_test.pb.cc | majianfei/irpc | 647b126450b986e73b350ed451c90d48ec3a420c | [
"MIT"
] | 1 | 2018-07-28T04:53:12.000Z | 2018-07-28T04:53:12.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: echo_test.proto
#include "echo_test.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google... | 36.683894 | 168 | 0.708135 | iwtbabc |
09ed8ae6f9161309aab513e3acd85580da208796 | 83 | cpp | C++ | Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp | prynix/learning-programming | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 2 | 2017-03-14T16:02:08.000Z | 2017-05-02T13:48:18.000Z | Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp | CajetanP/learning-programming | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 4 | 2021-05-20T21:10:13.000Z | 2022-02-26T09:50:19.000Z | Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp | CajetanP/learning-programming | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 1 | 2021-06-18T01:31:24.000Z | 2021-06-18T01:31:24.000Z |
#include <iostream>
#include "john.hpp"
void john () {
std::cout << "John, ";
}
| 10.375 | 23 | 0.578313 | prynix |
09f1e6a2325353bc86a80ee5418c6718e4dc34e1 | 438,576 | cpp | C++ | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp | DreVinciCode/TEAM-08 | 4f148953a9f492c0fc0db7ee85803212caa1a579 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct Dict... | 43.923485 | 593 | 0.824824 | DreVinciCode |
09f381cac5664aaf463332dd64fec997c03dacee | 1,526 | cc | C++ | merror/domain/defer_test.cc | google/merror | b0bf376e110b66da70c150afddd9d3b8337282d6 | [
"Apache-2.0"
] | 2 | 2021-03-23T19:00:51.000Z | 2022-01-26T06:28:35.000Z | merror/domain/defer_test.cc | google/merror | b0bf376e110b66da70c150afddd9d3b8337282d6 | [
"Apache-2.0"
] | null | null | null | merror/domain/defer_test.cc | google/merror | b0bf376e110b66da70c150afddd9d3b8337282d6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 28.792453 | 75 | 0.684142 | google |
09f394326c41452e3b3348422e9a06929717e413 | 2,279 | cpp | C++ | 2020/day12/main.cpp | bielskij/AOC-2019 | e98d660412037b3fdac4a6b49adcb9230f518c99 | [
"MIT"
] | null | null | null | 2020/day12/main.cpp | bielskij/AOC-2019 | e98d660412037b3fdac4a6b49adcb9230f518c99 | [
"MIT"
] | null | null | null | 2020/day12/main.cpp | bielskij/AOC-2019 | e98d660412037b3fdac4a6b49adcb9230f518c99 | [
"MIT"
] | null | null | null | #include "common/types.h"
#include "utils/file.h"
#include "utils/utils.h"
#define DEBUG_LEVEL 5
#include "common/debug.h"
int main(int argc, char *argv[]) {
auto lines = File::readAllLines(argv[1]);
{
Point<int> position;
int angle = 90;
for (auto &l : lines) {
int distance = utils::toInt(l.substr(1))... | 18.834711 | 82 | 0.523475 | bielskij |
09f547590222a1fc0b109f21a33c9c7a91386b5a | 526 | cpp | C++ | ProjectEuler/66/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | ProjectEuler/66/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | ProjectEuler/66/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
typedef long long LL;
inline LL sqr(LL x){return x*x;}
LL ansd,ansx;
int main(){
int n;scanf("%d",&n);
rep(d,1,n)if(sqr(LL(sqrt(d)))!=d){
for(LL y=1;;++y){... | 21.04 | 48 | 0.553232 | sjj118 |
09f5622660315bdacee42b4d1a8e844860ac2a21 | 7,123 | cpp | C++ | openEAR-0.1.0/src/smileComponent.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | openEAR-0.1.0/src/smileComponent.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | openEAR-0.1.0/src/smileComponent.cpp | trimlab/Voice-Emotion-Detection | c7272dd2f70e2d4b8eee304e68578494d7ef624c | [
"MIT"
] | null | null | null | /*F******************************************************************************
*
* openSMILE - open Speech and Music Interpretation by Large-space Extraction
* the open-source Munich Audio Feature Extraction Toolkit
* Copyright (C) 2008-2009 Florian Eyben, Martin Woellmer, Bjoern Schuller
*
*
* Institu... | 29.928571 | 208 | 0.701249 | trimlab |
09f802dec9f0bc3b642bc1181631a48567eac0e3 | 1,939 | hpp | C++ | include/uvx/method.hpp | keeword/uvx | 7e924d29c8e8d44a49447de0bf93bd60f680311f | [
"MIT"
] | null | null | null | include/uvx/method.hpp | keeword/uvx | 7e924d29c8e8d44a49447de0bf93bd60f680311f | [
"MIT"
] | null | null | null | include/uvx/method.hpp | keeword/uvx | 7e924d29c8e8d44a49447de0bf93bd60f680311f | [
"MIT"
] | null | null | null | #pragma once
#include <any>
#include <unordered_map>
#include <type_traits>
#include "functype.hpp"
namespace utils {
class methods {
private:
using method_type = std::function<std::any(std::any)>;
template <typename R, typename F>
struct invoker {
static R invoke(const F& f, std::any any) {
... | 30.296875 | 115 | 0.621454 | keeword |
09f8408031c24c372dc91a3cdaccaff97849463c | 5,210 | inl | C++ | include/Utopia/Render/details/RenderState_AutoRefl.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | null | null | null | include/Utopia/Render/details/RenderState_AutoRefl.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | null | null | null | include/Utopia/Render/details/RenderState_AutoRefl.inl | Justin-sky/Utopia | 71912290155a469ad578234a1f5e1695804e04a3 | [
"MIT"
] | 1 | 2021-04-24T23:26:09.000Z | 2021-04-24T23:26:09.000Z | // This file is generated by Ubpa::USRefl::AutoRefl
#pragma once
#include <USRefl/USRefl.h>
template<>
struct Ubpa::USRefl::TypeInfo<Ubpa::Utopia::CullMode>
: Ubpa::USRefl::TypeInfoBase<Ubpa::Utopia::CullMode>
{
static constexpr AttrList attrs = {};
static constexpr FieldList fields = {
Field{"NONE", Ubpa::Uto... | 34.966443 | 67 | 0.708445 | Justin-sky |
09f87c36d351e468333e228978c46fdb10cf5348 | 1,157 | cpp | C++ | Gears/SpeedLimiter.cpp | gaybro8777/GTAVManualTransmission | b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6 | [
"Zlib"
] | 144 | 2016-02-01T01:22:24.000Z | 2022-03-29T09:13:12.000Z | Gears/SpeedLimiter.cpp | gaybro8777/GTAVManualTransmission | b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6 | [
"Zlib"
] | 86 | 2016-02-27T14:20:31.000Z | 2022-03-30T08:10:47.000Z | Gears/SpeedLimiter.cpp | gaybro8777/GTAVManualTransmission | b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6 | [
"Zlib"
] | 39 | 2016-02-07T07:57:54.000Z | 2022-03-30T12:41:02.000Z | #include "SpeedLimiter.h"
#include "ScriptSettings.hpp"
#include "VehicleData.hpp"
#include "Input/CarControls.hpp"
#include "Util/MathExt.h"
#include "Util/UIUtils.h"
#include <inc/enums.h>
#include <inc/natives.h>
extern CarControls g_controls;
extern ScriptSettings g_settings;
extern Vehicle g_playerVehicle;
exte... | 27.547619 | 139 | 0.681936 | gaybro8777 |
09f94f2a212b43700813f98a591251bca1801bfb | 390 | cc | C++ | src/Algorithms/algorithm-factory.cc | nandofioretto/GpuDBE | 0722f1f6f0e850795f76825cfaf833997f7fe4af | [
"MIT"
] | null | null | null | src/Algorithms/algorithm-factory.cc | nandofioretto/GpuDBE | 0722f1f6f0e850795f76825cfaf833997f7fe4af | [
"MIT"
] | null | null | null | src/Algorithms/algorithm-factory.cc | nandofioretto/GpuDBE | 0722f1f6f0e850795f76825cfaf833997f7fe4af | [
"MIT"
] | null | null | null | #include "Algorithms/algorithm-factory.hh"
#include "Algorithms/algorithm.hh"
#include "Algorithms/DPOP/dpop.hh"
#include "Kernel/agent.hh"
#include <string>
#include <vector>
Algorithm* AlgorithmFactory::create
(Agent& a, std::string type, std::vector<std::string> params)
{
if (type.compare("DPOP") == 0 or type.co... | 22.941176 | 63 | 0.7 | nandofioretto |
67006f9854b9893fb7ac37adb20133822135a87e | 1,225 | cpp | C++ | WirelessThermometer/TimerSwitchWithServo/DataStore.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | 1 | 2019-11-07T22:44:27.000Z | 2019-11-07T22:44:27.000Z | WirelessThermometer/TimerSwitchWithServo/DataStore.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | null | null | null | WirelessThermometer/TimerSwitchWithServo/DataStore.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | null | null | null | #include <EEPROM.h>
#include "DataStore.h"
DataStore ds;
#define DS_ADDR_SERVO_OFF 0
#define DS_ADDR_SERVO_ON 1
#define DS_ADDR_SERVO_CUR 2
#define DS_ADDR_POWER_ON 3
void DataStore::setup() {
this->setUiStage(UI_STAGE_RUNNING);
uint8_t value;
value = EEPROM.read(DS_ADDR_SERVO_OFF);
this->setServoOffValue(v... | 24.5 | 62 | 0.76898 | anders-liu |
67056af3de6c923955e352a9e7b1c6a52627a03d | 1,120 | cc | C++ | third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.h"
namespace blink {
void DatagramDuplexStream::setIncomingMaxAge(absl:... | 29.473684 | 83 | 0.746429 | zealoussnow |
67059c9fa758079550b6625591ddb4b1ce48a904 | 2,376 | cpp | C++ | 7DRL 2017/Player.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | 37 | 2017-03-26T00:20:49.000Z | 2021-02-11T18:23:22.000Z | 7DRL 2017/Player.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | null | null | null | 7DRL 2017/Player.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | 9 | 2017-03-24T04:38:35.000Z | 2021-08-22T00:02:43.000Z | #include "Player.hpp"
Player::Player()
{
// arrow keys and Home, End, PageUp, PageDn
keyBinding[sf::Keyboard::Left] = Action::MoveLeft;
keyBinding[sf::Keyboard::Right] = Action::MoveRight;
keyBinding[sf::Keyboard::Up] = Action::MoveUp;
keyBinding[sf::Keyboard::Down] = Action::MoveDown;
keyBinding[sf::Ke... | 36 | 61 | 0.703704 | marukrap |
67067bf81c9745b8fed4b21f8815aeb15457a001 | 407 | cpp | C++ | master.cpp | senlinzhan/etcd-service-discovery | 2387aeca3e75b0e525afc6d757d1e13672ca272c | [
"MIT"
] | 2 | 2019-08-15T10:06:57.000Z | 2020-11-04T12:34:03.000Z | master.cpp | senlinzhan/etcd-service-discovery | 2387aeca3e75b0e525afc6d757d1e13672ca272c | [
"MIT"
] | null | null | null | master.cpp | senlinzhan/etcd-service-discovery | 2387aeca3e75b0e525afc6d757d1e13672ca272c | [
"MIT"
] | null | null | null | #include "EtcdManager.h"
#include <unistd.h>
int main(int argc, char *argv[])
{
std::vector<std::string> address;
address.push_back("11.11.11.11:20002");
address.push_back("22.22.22.22:20002");
address.push_back("33.33.33.33:20002");
EtcdManager etcdWatcher(address);
etcdWatcher.startMultiWat... | 18.5 | 46 | 0.621622 | senlinzhan |
6707c0e5e449744b2f81657569421bf1c1b21b86 | 1,716 | cpp | C++ | DevGame/Motor2D/Settings.cpp | MAtaur00/Development-Game | 3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07 | [
"MIT"
] | null | null | null | DevGame/Motor2D/Settings.cpp | MAtaur00/Development-Game | 3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07 | [
"MIT"
] | null | null | null | DevGame/Motor2D/Settings.cpp | MAtaur00/Development-Game | 3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07 | [
"MIT"
] | 5 | 2018-11-07T16:04:35.000Z | 2018-11-12T11:01:05.000Z | #include "Settings.h"
#include "j1Gui.h"
#include "j1Textures.h"
#include "j1Render.h"
#include "p2Log.h"
#include "j1Window.h"
#include "j1App.h"
#include "Menu.h"
#include "Brofiler/Brofiler.h"
Settings::Settings()
{
name.create("credits");
}
Settings::~Settings() {}
bool Settings::Awake(pugi::xml_node& conf)
{
... | 21.721519 | 145 | 0.674825 | MAtaur00 |
671045c2f8eee9555dee45635c71459d9957f643 | 11,909 | cpp | C++ | tools/tool_load_prediction/src/tool.cpp | jusch196/chameleon-apps | b63a6b20a62c450565403b0768551cca9c288156 | [
"BSD-3-Clause"
] | null | null | null | tools/tool_load_prediction/src/tool.cpp | jusch196/chameleon-apps | b63a6b20a62c450565403b0768551cca9c288156 | [
"BSD-3-Clause"
] | null | null | null | tools/tool_load_prediction/src/tool.cpp | jusch196/chameleon-apps | b63a6b20a62c450565403b0768551cca9c288156 | [
"BSD-3-Clause"
] | 2 | 2020-03-30T08:08:53.000Z | 2021-04-16T10:24:50.000Z | #include "tool.h"
//================================================================
// Variables
//================================================================
static cham_t_set_callback_t cham_t_set_callback;
static cham_t_get_rank_data_t cham_t_get_rank_data;
static cham_t_get_thread_data_t cham_t_get_... | 38.169872 | 121 | 0.653287 | jusch196 |
e24d1e8b8a9be0041d7790e11dbee71d320af3e1 | 1,438 | cpp | C++ | src/start.cpp | eostitan/eosio-wps | 02be171c267b35e9be3ef250da706e2e6c972752 | [
"MIT"
] | null | null | null | src/start.cpp | eostitan/eosio-wps | 02be171c267b35e9be3ef250da706e2e6c972752 | [
"MIT"
] | null | null | null | src/start.cpp | eostitan/eosio-wps | 02be171c267b35e9be3ef250da706e2e6c972752 | [
"MIT"
] | null | null | null | [[eosio::action]]
void wps::init()
{
require_auth( get_self() );
const name ram_payer = get_self();
check( !_state.exists(), "already initialized" );
auto state = _state.get_or_default();
auto settings = _settings.get_or_default();
_state.set( state, ram_payer );
_settings.set( settings, ... | 31.26087 | 109 | 0.700974 | eostitan |
e24f9319dc8e4e15a01678d1bc16795557e21cec | 4,057 | hpp | C++ | iRODS/lib/api/include/procStat.hpp | PlantandFoodResearch/irods | 9dfe7ffe5aa0760b7493bd9392ea1270df9335d4 | [
"BSD-3-Clause"
] | null | null | null | iRODS/lib/api/include/procStat.hpp | PlantandFoodResearch/irods | 9dfe7ffe5aa0760b7493bd9392ea1270df9335d4 | [
"BSD-3-Clause"
] | null | null | null | iRODS/lib/api/include/procStat.hpp | PlantandFoodResearch/irods | 9dfe7ffe5aa0760b7493bd9392ea1270df9335d4 | [
"BSD-3-Clause"
] | null | null | null | /*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* procStat.h - This dataObj may be generated by a program or script
*/
#ifndef PROC_STAT_HPP
#define PROC_STAT_HPP
/* This is a Object File I/O API call */
... | 36.881818 | 93 | 0.681538 | PlantandFoodResearch |
e25004596e1839e8068f01d786a042b4b4bc5c32 | 1,624 | cxx | C++ | PerceptualMetric/cython/src/treeio.cxx | PolasekT/ICTree | d13ad603101805bcc288411504ecffd6f2e1f365 | [
"MIT"
] | 3 | 2021-12-09T22:37:03.000Z | 2022-02-16T13:40:44.000Z | PerceptualMetric/cython/src/treeio.cxx | PolasekT/ICTree | d13ad603101805bcc288411504ecffd6f2e1f365 | [
"MIT"
] | null | null | null | PerceptualMetric/cython/src/treeio.cxx | PolasekT/ICTree | d13ad603101805bcc288411504ecffd6f2e1f365 | [
"MIT"
] | 3 | 2021-12-09T22:37:08.000Z | 2022-02-03T14:38:39.000Z | /**
* @author Tomas Polasek
* @date 26.4.2021
* @version 1.0
* @brief Python wrapper for TreeIO.
*/
#include "treeio.h"
#include <iostream>
int testIntegration(const std::string &s)
{ std::cout << "Hello World: " << s << std::endl; return 42; }
treeio::ArrayTree *treeConstruct()
{ return new tre... | 28 | 110 | 0.667488 | PolasekT |
e250f6db4f581914b7d9947082dd2dfd43c27541 | 2,116 | cpp | C++ | Leetcode/res/Remove Invalid Parentheses/1.cpp | AllanNozomu/CompetitiveProgramming | ac560ab5784d2e2861016434a97e6dcc44e26dc8 | [
"MIT"
] | 1 | 2022-03-04T16:06:41.000Z | 2022-03-04T16:06:41.000Z | Leetcode/res/Remove Invalid Parentheses/1.cpp | AllanNozomu/CompetitiveProgramming | ac560ab5784d2e2861016434a97e6dcc44e26dc8 | [
"MIT"
] | null | null | null | Leetcode/res/Remove Invalid Parentheses/1.cpp | AllanNozomu/CompetitiveProgramming | ac560ab5784d2e2861016434a97e6dcc44e26dc8 | [
"MIT"
] | null | null | null | \*
Author: allannozomu
Runtime: 24 ms
Memory: 11.5 MB*\
class Solution {
private:
int minimun_removed;
public:
string buildFromMask(string& s, vector<int>& mask){
string res = "";
for (int i = 0 ; i < mask.size(); ++i){
if (mask[i]){
res += s[i];
}
... | 35.266667 | 138 | 0.547259 | AllanNozomu |
e25489f1fbef7a0c2bb34822f8e953e95351f9e6 | 2,110 | cpp | C++ | samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | #include <fl/Headers.h>
int main(int argc, char** argv){
//Code automatically generated with fuzzylite 6.0.
using namespace fl;
Engine* engine = new Engine;
engine->setName("sltbu_fl");
engine->setDescription("");
InputVariable* distance = new InputVariable;
distance->setName("distance");
distance->setDescription("... | 31.969697 | 87 | 0.759716 | okocsis |
e256b0f147945b96164c23b7a8e0484d18ca5441 | 603 | cpp | C++ | src/TextsHelper.cpp | TB989/Game | 9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51 | [
"MIT"
] | null | null | null | src/TextsHelper.cpp | TB989/Game | 9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51 | [
"MIT"
] | null | null | null | src/TextsHelper.cpp | TB989/Game | 9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include "TextsHelper.h"
std::string getNextToken(std::ifstream &file,char delim){
std::string token;
while(true){
char ch;
file.get(ch);
if(ch==delim){
break;
}
else{
token+=ch;
}
... | 17.735294 | 57 | 0.532338 | TB989 |
e259f83d35e8fd797273e82a11d088e0e4f22297 | 1,218 | hpp | C++ | src/include/duckdb/function/scalar/regexp.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 2,816 | 2018-06-26T18:52:52.000Z | 2021-04-06T10:39:15.000Z | src/include/duckdb/function/scalar/regexp.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 1,310 | 2021-04-06T16:04:52.000Z | 2022-03-31T13:52:53.000Z | src/include/duckdb/function/scalar/regexp.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 270 | 2021-04-09T06:18:28.000Z | 2022-03-31T11:55:37.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/function/scalar/regexp.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/function/function_set.hpp"
#include "re2/re2.h... | 24.36 | 99 | 0.665846 | AldoMyrtaj |
e25d6b3ec6918c719b9450c0d4cb211513cf0d56 | 8,221 | cpp | C++ | test/TestUnicode.cpp | m5knt/Pits | 7f7f9ab3013f446ffc8faee3b832a7b8043d4bed | [
"MIT"
] | null | null | null | test/TestUnicode.cpp | m5knt/Pits | 7f7f9ab3013f446ffc8faee3b832a7b8043d4bed | [
"MIT"
] | null | null | null | test/TestUnicode.cpp | m5knt/Pits | 7f7f9ab3013f446ffc8faee3b832a7b8043d4bed | [
"MIT"
] | null | null | null | #include "Pits/Unicode.hpp"
#include "Pits/Timer.hpp"
#include <uchar.h>
#include <cassert>
#include <string_view>
#include <iostream>
#include <codecvt>
#include <vector>
using namespace std::literals;
#if __cplusplus <= 201703L
namespace std {
using u8string = basic_string<char>;
}
#endif
template <class Job... | 36.537778 | 110 | 0.554069 | m5knt |
e25ed53686e2f3df256950b71982cf2191468168 | 1,160 | cpp | C++ | yumi_dynamics/src/external_force_node.cpp | SebastianGrans/yumi | 14fa92585105d29fbff9c633f93919513a526c79 | [
"Apache-2.0"
] | 4 | 2020-04-04T14:18:12.000Z | 2020-08-05T11:24:03.000Z | yumi_dynamics/src/external_force_node.cpp | SebastianGrans/yumi | 14fa92585105d29fbff9c633f93919513a526c79 | [
"Apache-2.0"
] | 1 | 2021-10-10T19:35:36.000Z | 2022-01-01T23:26:55.000Z | yumi_dynamics/src/external_force_node.cpp | SebastianGrans/yumi | 14fa92585105d29fbff9c633f93919513a526c79 | [
"Apache-2.0"
] | 2 | 2020-08-27T11:02:12.000Z | 2021-08-08T16:53:57.000Z | #include "external_force/external_force.hpp"
#include "kdl_wrapper/kdl_wrapper.h"
#include <urdf/model.h>
#include <rclcpp/rclcpp.hpp>
#include <future>
#include <unistd.h>
// Ctr+C handler
void signal_callback_handler(int signum)
{
std::cout << "Caught signal " << signum << std::endl;
// Terminate ros node
rcl... | 21.481481 | 94 | 0.67069 | SebastianGrans |
e25fb5a1c1f4767600c624b4ed6b0508e58b11f3 | 187 | hh | C++ | macos/cc/WindowDelegate.hh | rgkirch/JWM | 390fc92398758171e402529f8a6da4cce2a3efc6 | [
"Apache-2.0"
] | 177 | 2021-05-13T01:03:45.000Z | 2021-08-30T18:45:58.000Z | macos/cc/WindowDelegate.hh | rgkirch/JWM | 390fc92398758171e402529f8a6da4cce2a3efc6 | [
"Apache-2.0"
] | 130 | 2021-05-18T13:43:08.000Z | 2021-08-30T18:16:01.000Z | macos/cc/WindowDelegate.hh | rgkirch/JWM | 390fc92398758171e402529f8a6da4cce2a3efc6 | [
"Apache-2.0"
] | 13 | 2021-09-16T14:12:08.000Z | 2022-03-21T00:58:01.000Z | #pragma once
#import <Cocoa/Cocoa.h>
#include "WindowMac.hh"
@interface WindowDelegate : NSObject<NSWindowDelegate>
- (WindowDelegate*)initWithWindow:(jwm::WindowMac*)initWindow;
@end
| 18.7 | 62 | 0.775401 | rgkirch |
e26277d11b08f7820dc2270d8b1ab03dc700694a | 5,138 | cpp | C++ | Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp | JessicaGiven/SalBenchmark_Analysis_Given | 0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198 | [
"MIT"
] | 1 | 2018-10-07T00:56:57.000Z | 2018-10-07T00:56:57.000Z | Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp | JessicaGiven/SalBenchmark_Analysis_Given | 0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198 | [
"MIT"
] | null | null | null | Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp | JessicaGiven/SalBenchmark_Analysis_Given | 0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198 | [
"MIT"
] | null | null | null | /*****************************************************************************
* PlanarCut - software to compute MinCut / MaxFlow in a planar graph *
* Version 1.0.2 *
* *
* ... | 24.122066 | 78 | 0.550603 | JessicaGiven |
e267a48b8e237d9e45bb5b4214c264315dabdd82 | 1,771 | hpp | C++ | src/projects/error_correction/edit_distance.hpp | AntonBankevich/LJA | 979d7929bf0b39fd142ec6465dc0c17814465ef9 | [
"BSD-3-Clause"
] | 53 | 2021-10-10T22:16:27.000Z | 2022-03-23T06:21:06.000Z | src/projects/error_correction/edit_distance.hpp | AntonBankevich/LJA | 979d7929bf0b39fd142ec6465dc0c17814465ef9 | [
"BSD-3-Clause"
] | 20 | 2021-05-10T07:44:24.000Z | 2022-03-24T13:23:58.000Z | src/projects/error_correction/edit_distance.hpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | 6 | 2022-01-27T01:45:56.000Z | 2022-03-18T04:23:33.000Z | #pragma once
#include "sequences/sequence.hpp"
inline size_t edit_distance(Sequence s1, Sequence s2) {
size_t left_skip = 0;
while(left_skip < s1.size() && left_skip < s2.size() && s1[left_skip] == s2[left_skip]) {
left_skip++;
}
s1 = s1.Subseq(left_skip, s1.size());
s2 = s2.Subseq(left_sk... | 39.355556 | 129 | 0.508187 | AntonBankevich |
e268f822976e0bb32f98f0c35cab8c0813aef33c | 1,629 | cpp | C++ | src/vpp/bufferOps.cpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 308 | 2016-02-23T11:59:20.000Z | 2022-03-14T18:40:24.000Z | src/vpp/bufferOps.cpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 11 | 2017-01-21T17:33:13.000Z | 2020-08-17T10:33:42.000Z | src/vpp/bufferOps.cpp | nyorain/vpp | ccffafa0b59baa633df779274d7743f169d61c06 | [
"BSL-1.0"
] | 11 | 2016-02-23T10:35:08.000Z | 2021-12-18T16:15:39.000Z | // Copyright (c) 2016-2020 Jan Kelling
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
#include <vpp/bufferOps.hpp>
#include <vpp/queue.hpp>
#include <vpp/vk.hpp>
#include <dlg/dlg.hpp>
#include <cstring>
namespace vpp {
v... | 30.735849 | 80 | 0.698588 | nyorain |
e26c8c4ebcd6d2f696a66d9958ef8a978cbcaa48 | 2,142 | hh | C++ | src/HomologyInference/BlockedProperty.hh | jsb/HomologyInference | a8b6f9ecad375072bd45e96e08c906c8332c3e4f | [
"MIT"
] | 3 | 2021-12-08T06:53:40.000Z | 2022-03-23T09:41:01.000Z | src/HomologyInference/BlockedProperty.hh | jsb/HomologyInference | a8b6f9ecad375072bd45e96e08c906c8332c3e4f | [
"MIT"
] | null | null | null | src/HomologyInference/BlockedProperty.hh | jsb/HomologyInference | a8b6f9ecad375072bd45e96e08c906c8332c3e4f | [
"MIT"
] | null | null | null | /*
* Author: Janis Born
*/
#pragma once
#include <HomologyInference/Types.hh>
#include <HomologyInference/Utils/ExternalProperty.hh>
#include <set>
namespace HomologyInference
{
using BlockedEdgeProperty = ExternalProperty<EH, bool>;
using BlockedVertexProperty = ExternalProperty<VH, bool>;
template<typename M... | 25.2 | 68 | 0.699813 | jsb |
e270f0db65b1608430b2b40a9805bc0d265eece6 | 328 | cpp | C++ | src/14000/14915.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/14000/14915.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/14000/14915.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
char arr[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
int main()
{
int m, n;
string ans, a;
cin >> m >> n;
while (m)
{
a = ans;
ans = arr[m%n];
ans += a;
m /= n;
}
if (ans == "")
ans = "0";
cout <... | 14.26087 | 96 | 0.411585 | upple |
e272fcbb62054f78f2af6813e65dcb7281e8fbf1 | 6,488 | cc | C++ | src/lb_virtual_file_system.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | src/lb_virtual_file_system.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | src/lb_virtual_file_system.cc | snibug/gyp_example | 6bbf1ef53c68df4e5a657e0037cf6c81d2140178 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Google Inc. 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 applica... | 28.835556 | 79 | 0.679408 | snibug |
e272fe434103717fe92a4b9f83d0e9a1808a036c | 3,775 | hpp | C++ | Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 2 | 2019-11-11T21:17:14.000Z | 2019-11-11T22:07:26.000Z | Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | null | null | null | Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 1 | 2020-04-05T03:50:57.000Z | 2020-04-05T03:50:57.000Z | /*
* MIT License
*
* Copyright (c) 2021 Jimmie Bergmann
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 31.458333 | 112 | 0.744901 | jimmiebergmann |
e275ff5046336033409b67fd70dbc06aea8ec7a1 | 822 | cpp | C++ | hwlib/demo/native/native-#0020-string/main.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 46 | 2017-02-15T14:24:14.000Z | 2021-10-01T14:25:57.000Z | hwlib/demo/native/native-#0020-string/main.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 27 | 2017-02-15T15:13:42.000Z | 2021-08-28T15:29:01.000Z | hwlib/demo/native/native-#0020-string/main.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 39 | 2017-05-18T11:51:03.000Z | 2021-09-14T09:07:01.000Z | // ==========================================================================
//
// hwlib::string demo
//
// (c) Wouter van Ooijen (wouter@voti.nl) 2017
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// ... | 27.4 | 77 | 0.457421 | TheBlindMick |
e27a9e517fca9ca546376a68178b0fd26256f754 | 4,145 | cpp | C++ | lib/glimac/src/Controls.cpp | elisacia/World-Imaker | c168521c168336a4be7835a2adeee9cc7a672681 | [
"MIT"
] | null | null | null | lib/glimac/src/Controls.cpp | elisacia/World-Imaker | c168521c168336a4be7835a2adeee9cc7a672681 | [
"MIT"
] | null | null | null | lib/glimac/src/Controls.cpp | elisacia/World-Imaker | c168521c168336a4be7835a2adeee9cc7a672681 | [
"MIT"
] | null | null | null | #include <glimac/Controls.hpp>
namespace glimac {
const void moveCamera(const SDL_Event &e, FreeFlyCamera &camera)
{
switch(e.key.keysym.sym)
{
case SDLK_z:
camera.moveFront(1);
break;
case SDLK_s:
camera.moveFront(-1);
break;
case SDLK... | 24.96988 | 157 | 0.55006 | elisacia |
e27b3021b3d243450a0c23ecbe6fd92f225f1569 | 14,240 | cpp | C++ | Atomic/AtMimeReadWrite.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 4 | 2019-11-10T21:56:40.000Z | 2021-12-11T20:10:55.000Z | Atomic/AtMimeReadWrite.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | null | null | null | Atomic/AtMimeReadWrite.cpp | denisbider/Atomic | 8e8e979a6ef24d217a77f17fa81a4129f3506952 | [
"MIT"
] | 1 | 2019-11-11T08:38:59.000Z | 2019-11-11T08:38:59.000Z | #include "AtIncludes.h"
#include "AtMimeReadWrite.h"
#include "AtImfReadWrite.h"
#include "AtMimeGrammar.h"
#include "AtMimeQuotedPrintable.h"
namespace At
{
namespace Mime
{
// FieldWithParams
void FieldWithParams::ReadParam(ParseNode const& paramNode, PinStore& store)
{
// Name
Pa... | 25.293073 | 157 | 0.630969 | denisbider |
e283e756b3c4851cbdfe690b435ffdf1fa24f275 | 5,504 | cpp | C++ | reporters/html_benchmark_reporter.cpp | Kristian-Popov/opencl-benchmark-and-fractals | b88fe08ea540c5743e9b590b160a995ead272a6e | [
"MIT"
] | null | null | null | reporters/html_benchmark_reporter.cpp | Kristian-Popov/opencl-benchmark-and-fractals | b88fe08ea540c5743e9b590b160a995ead272a6e | [
"MIT"
] | null | null | null | reporters/html_benchmark_reporter.cpp | Kristian-Popov/opencl-benchmark-and-fractals | b88fe08ea540c5743e9b590b160a995ead272a6e | [
"MIT"
] | null | null | null | #include "html_benchmark_reporter.h"
#include <chrono>
#include <unordered_map>
#include <algorithm>
#include <iterator>
#include "html_document.h"
#include "utils.h"
#include "devices/device_interface.h"
#include "devices/platform_interface.h"
#include "fixtures/fixture_id.h"
#include "indicators/duration_indicator.... | 33.560976 | 133 | 0.593932 | Kristian-Popov |
e2857683f842c1b798db84e767486d2327318212 | 9,589 | cpp | C++ | src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp | chihlee/phantomjs | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees hol... | 38.051587 | 122 | 0.724059 | chihlee |
e2893983296a54d0a98e9fe11d5382e26457c54f | 3,731 | cpp | C++ | src/sequence.cpp | liangjin2007/smplxpp | 9a0d1cea136ea924628a9a031fa673fc9531dd85 | [
"Apache-2.0"
] | 73 | 2020-07-10T03:22:14.000Z | 2022-03-02T21:22:18.000Z | src/sequence.cpp | liangjin2007/smplxpp | 9a0d1cea136ea924628a9a031fa673fc9531dd85 | [
"Apache-2.0"
] | 4 | 2020-07-13T05:59:39.000Z | 2021-04-09T03:53:01.000Z | src/sequence.cpp | liangjin2007/smplxpp | 9a0d1cea136ea924628a9a031fa673fc9531dd85 | [
"Apache-2.0"
] | 16 | 2020-07-10T03:22:20.000Z | 2022-02-11T19:09:41.000Z | #include "smplx/sequence.hpp"
#include <fstream>
#include <iostream>
#include <cnpy.h>
#include "smplx/util.hpp"
#include "smplx/util_cnpy.hpp"
namespace smplx {
namespace {
using util::assert_shape;
} // namespace
// AMASS npz structure
// 'trans': (#frames, 3)
// 'gender': str
// 'mocap_framer... | 33.017699 | 80 | 0.551327 | liangjin2007 |
e2897e5886fec358d757012ab5d190e56439589e | 6,020 | cpp | C++ | src/tools/ThreadGestion.cpp | etrange02/Fux | 2f49bcd8ec82eb521092c9162e01c8b0d00222ab | [
"CECILL-B"
] | 2 | 2016-03-21T10:48:34.000Z | 2017-03-17T19:50:34.000Z | src/tools/ThreadGestion.cpp | etrange02/Fux | 2f49bcd8ec82eb521092c9162e01c8b0d00222ab | [
"CECILL-B"
] | null | null | null | src/tools/ThreadGestion.cpp | etrange02/Fux | 2f49bcd8ec82eb521092c9162e01c8b0d00222ab | [
"CECILL-B"
] | null | null | null | /***************************************************************
* Name: ThreadGestion.cpp
* Purpose: Code for Fu(X) 2.0
* Author: David Lecoconnier (david.lecoconnier@free.fr)
* Created: 2010-05-07
* Copyright: David Lecoconnier (http://www.getfux.fr)
* License:
*************************************... | 28 | 146 | 0.634219 | etrange02 |
e289a2a9b7a1347a9de65f3ad3194948f5550a39 | 4,782 | cpp | C++ | src2/freevariablesofterm.cpp | tamaskenez/forrestlang | 76b82803ac435f627ad52f9cfc12fe9c863a8495 | [
"MIT"
] | null | null | null | src2/freevariablesofterm.cpp | tamaskenez/forrestlang | 76b82803ac435f627ad52f9cfc12fe9c863a8495 | [
"MIT"
] | 1 | 2019-03-19T18:11:21.000Z | 2019-03-19T18:11:21.000Z | src2/freevariablesofterm.cpp | tamaskenez/somenewlanguage | 76b82803ac435f627ad52f9cfc12fe9c863a8495 | [
"MIT"
] | null | null | null | #include "freevariablesofterm.h"
#include "store.h"
namespace snl {
FreeVariables GetFreeVariablesCore(Store& store, TermPtr term)
{
using Tag = term::Tag;
const static FreeVariables empty_fvs;
switch (term->tag) {
case Tag::Abstraction: {
auto abstraction = term_cast<term::Abstraction... | 38.564516 | 100 | 0.557716 | tamaskenez |
e28f417b66cf026be331d48c20c12478da28b11a | 5,015 | hpp | C++ | code/include/graphicPrimitives/FrameRenderable.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 4 | 2016-06-24T09:22:18.000Z | 2019-06-13T13:50:53.000Z | code/include/graphicPrimitives/FrameRenderable.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | null | null | null | code/include/graphicPrimitives/FrameRenderable.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 2 | 2016-06-10T12:46:17.000Z | 2018-10-14T06:37:21.000Z | #ifndef FRAME_RENDERABLE_HPP
#define FRAME_RENDERABLE_HPP
/**@file
* @brief Define a class to render the world frame.
*
* This file defines the class FrameRenderable to render the world frame.
*/
#include "../HierarchicalRenderable.hpp"
#include <vector>
#include <glm/glm.hpp>
/**@brief Render the world frame.
*
... | 38.875969 | 87 | 0.698106 | Shutter-Island-Team |
e28fd8c80824fcf123f24759e20ea374f33b9160 | 2,475 | cpp | C++ | src/OrbitGgp/AccountTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,847 | 2020-03-24T19:01:42.000Z | 2022-03-31T13:18:57.000Z | src/OrbitGgp/AccountTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,100 | 2020-03-24T19:41:13.000Z | 2022-03-31T14:27:09.000Z | src/OrbitGgp/AccountTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 228 | 2020-03-25T05:32:08.000Z | 2022-03-31T11:27:39.000Z | // Copyright (c) 2021 The Orbit 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 <gtest/gtest.h>
#include "OrbitGgp/Account.h"
#include "TestUtils/TestUtils.h"
namespace orbit_ggp {
using orbit_test_utils::HasError;
using ... | 35.869565 | 126 | 0.65697 | tufeigunchu |
e2906deeb57926b5ab31789026acd88e800ddb5c | 206,623 | cpp | C++ | clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | /**
* Swaggy Jenkins
* Jenkins API clients generated from Swagger / Open API specification
*
* The version of the OpenAPI document: 1.1.2-pre.0
* Contact: blah@cliffano.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 5.4.0.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
... | 46.100625 | 373 | 0.754819 | cliffano |
e290b27c13bab64d24723a7681fda41b9acd7c83 | 646 | cpp | C++ | data-structure/Raiz.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | data-structure/Raiz.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | data-structure/Raiz.cpp | ejpcr/libs-c | e544e4338ea9f2fe8c57de83045944f38ae06a07 | [
"MIT"
] | null | null | null | //Programa que calcula la raiz de un entero positivo N.
//Sin utilizar la libreria math.h
//Alumno: Castillo Gardea Mariano
//No Control: 01070097
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
void captura(int &);
void validacion(int &);
void raiz(int &);
void main()
{int numero; clrscr();
captura(numer... | 17.459459 | 55 | 0.682663 | ejpcr |
e291803e5fa70e853eda93302bc9bf0651933484 | 4,895 | cc | C++ | chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser... | 45.324074 | 94 | 0.758529 | zealoussnow |
e299e516b3c7bb22b7e0ebcf9328c7fd00722361 | 4,061 | cpp | C++ | RunInBash/RunInBash.cpp | neosmart/RunInBash | 3e2368f95030f1cd39c27001cb21fa50f2e289d1 | [
"MIT"
] | 83 | 2017-04-25T03:39:53.000Z | 2022-03-17T03:37:59.000Z | RunInBash/RunInBash.cpp | benpope82/RunInBash | 3e2368f95030f1cd39c27001cb21fa50f2e289d1 | [
"MIT"
] | 6 | 2017-04-25T20:13:01.000Z | 2021-08-02T05:03:08.000Z | RunInBash/RunInBash.cpp | neosmart/RunInBash | 3e2368f95030f1cd39c27001cb21fa50f2e289d1 | [
"MIT"
] | 11 | 2017-05-13T10:14:58.000Z | 2021-08-12T17:06:27.000Z | #include "stdafx.h"
#include <cassert>
#include <memory>
#include "ArgHelper.h"
template <typename T> //for both const and non-const
T *TrimStart(T *str)
{
assert(str != nullptr);
while (str[0] == _T(' '))
{
++str;
}
return str;
}
//There is no CommandLineToArgvA(), so we rely on the caller t... | 25.067901 | 112 | 0.622014 | neosmart |
e29a4fca305ebb68a4763fc6e8dc443ed826a5e5 | 1,359 | cc | C++ | src/contests/selection-contest-2/E/oldE.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | 2 | 2019-09-07T17:00:26.000Z | 2020-08-05T02:08:35.000Z | src/contests/selection-contest-2/E/oldE.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | src/contests/selection-contest-2/E/oldE.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define FR(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> ii;
ll dp[3][3005];
int n;
vector<ll> C, S;
const ll INF = 10e9;
ll f(int i, int t) {
if (t == 3) return C[i];
if (dp[t][i]) return dp[t][i];
ll... | 16.9875 | 68 | 0.391464 | cbarnson |
e29c1cafb8d6986ad83ffad1dd2ed9726774d92d | 298 | cpp | C++ | src/searchResultsLv.cpp | romdb/romdbLauncher | 492e6d124817b11f16e7d8329d854ed837a76ea0 | [
"Zlib"
] | null | null | null | src/searchResultsLv.cpp | romdb/romdbLauncher | 492e6d124817b11f16e7d8329d854ed837a76ea0 | [
"Zlib"
] | null | null | null | src/searchResultsLv.cpp | romdb/romdbLauncher | 492e6d124817b11f16e7d8329d854ed837a76ea0 | [
"Zlib"
] | null | null | null | #include "searchResultsLv.h"
#include "Resource.h"
LRESULT SearchResultsLv::OnDblClick(DWORD fwKeys, int X, int Y)
{
LVHITTESTINFO hti = {};
hti.pt.x = X;
hti.pt.y = Y;
int idx = HitTest(&hti);
if (idx != -1)
{
SendMessageW(GetParent(Handle), WM_COMMAND, ID_OPENROM, idx);
}
return 0;
}
| 18.625 | 63 | 0.667785 | romdb |
e29c61a78ece73b4be810ef62fefefe8c06ef6e5 | 621 | cc | C++ | src/abc122/c.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc122/c.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc122/c.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | #ifdef _debug
#define _GLIBCXX_DEBUG
#endif
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#ifndef _debug
int main() {
int n, q;
cin >> n >> q;
string s;
cin >> s;
vector<int> l(q), r(q);
for(int i = 0; i < q; i++)
cin >> l[i] >> r[i];
vector<int> sum(n + 1, 0)... | 20.032258 | 44 | 0.429952 | nryotaro |
e29dbfe319d7d92c8e16189da52462af9b78d71d | 998 | cpp | C++ | Classes/ScriptScene.cpp | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 4 | 2015-08-12T01:50:44.000Z | 2021-02-28T04:58:25.000Z | Classes/ScriptScene.cpp | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 1 | 2018-04-06T03:38:06.000Z | 2018-04-06T03:38:06.000Z | Classes/ScriptScene.cpp | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 5 | 2015-04-21T05:22:52.000Z | 2018-02-02T18:12:36.000Z | #include "ScriptScene.h"
#include "Core/MTileManager.h"
USING_NS_CC;
ScriptScene* ScriptScene::create(ScriptPtr script)
{
ScriptScene *pRet = new ScriptScene();
if (pRet && pRet->init(script))
{
pRet->autorelease();
return pRet;
}
else
{
delete pRet;
pRet = NU... | 17.821429 | 55 | 0.597194 | seagullua |
e29e300a0fbccbea4d87c0c7ef05878613e14c66 | 3,112 | cpp | C++ | sdl/main.cpp | bduvenhage/Bits-O-Cpp | a2325978646fd27fc14de99b45c42072447af2db | [
"MIT"
] | 19 | 2018-07-02T17:06:54.000Z | 2021-03-04T18:29:21.000Z | sdl/main.cpp | bduvenhage/Bits-O-Cpp | a2325978646fd27fc14de99b45c42072447af2db | [
"MIT"
] | 1 | 2019-04-06T13:46:41.000Z | 2020-06-15T14:59:26.000Z | sdl/main.cpp | bduvenhage/Bits-O-Cpp | a2325978646fd27fc14de99b45c42072447af2db | [
"MIT"
] | 3 | 2020-04-14T09:19:43.000Z | 2021-03-27T06:40:52.000Z | #include "../defines/tc_defines.h"
#include "../math/tc_math.h"
#include "../sdl/sdl.h"
#include <iostream>
#include <iomanip>
#include <vector>
using Vertex = std::pair<int, int>;
using Line = std::pair<Vertex, Vertex>;
//! Grow the snowflake one level deeper.
std::vector<Line> grow_koch_snowflake(const std::vect... | 27.785714 | 86 | 0.541131 | bduvenhage |
e29ed02de4ad3f403c946707012cff195fa80cdc | 3,714 | cpp | C++ | src/common/containers/trie-pool.cpp | asgerfv/ai_boggle | 7ea541124296e730d10e64de0a7038090a876bb5 | [
"MIT"
] | null | null | null | src/common/containers/trie-pool.cpp | asgerfv/ai_boggle | 7ea541124296e730d10e64de0a7038090a876bb5 | [
"MIT"
] | null | null | null | src/common/containers/trie-pool.cpp | asgerfv/ai_boggle | 7ea541124296e730d10e64de0a7038090a876bb5 | [
"MIT"
] | null | null | null | #include "trie-pool.hpp"
// ----------------------------------------------------------------------------
#define ROTA_USE_CUSTOM_ALLOCATOR 1
// ----------------------------------------------------------------------------
/// Note: Could also have used "__declspec(selectany)" in the header, but this is
... | 24.27451 | 104 | 0.600969 | asgerfv |
e2a1546692645f661d2b57fc2aec06b24dbdc63a | 247 | cpp | C++ | SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp | AyushNathJha007/SDLEngine | ef779884fac9e72c038387f976c6e75eb2dd4187 | [
"MIT"
] | 1 | 2021-03-23T06:15:30.000Z | 2021-03-23T06:15:30.000Z | SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp | AyushNathJha007/SDLEngine | ef779884fac9e72c038387f976c6e75eb2dd4187 | [
"MIT"
] | null | null | null | SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp | AyushNathJha007/SDLEngine | ef779884fac9e72c038387f976c6e75eb2dd4187 | [
"MIT"
] | null | null | null |
#include "Collision.h"
bool Collision::CheckCollisonAABB(const SDL_Rect & RectA, const SDL_Rect & RectB)
{
return (RectA.x + RectA.w >= RectB.x && RectB.x + RectB.w >= RectA.x && RectA.y + RectA.h >= RectB.y && RectB.y + RectB.h >= RectA.y);
}
| 30.875 | 135 | 0.651822 | AyushNathJha007 |
e2a1b19379e49506277b71c350e108a2b1c638b2 | 1,320 | cpp | C++ | test/pprm_irs_integration_test.cpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 54 | 2018-09-28T17:28:02.000Z | 2022-01-25T20:30:32.000Z | test/pprm_irs_integration_test.cpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 2 | 2019-11-21T20:16:26.000Z | 2020-03-27T12:55:31.000Z | test/pprm_irs_integration_test.cpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 27 | 2019-05-15T00:18:46.000Z | 2021-07-30T00:41:37.000Z | #define MPT_LOG_LEVEL WARN
#include "planner_integration_test.hpp"
#include <mpt/pprm_irs.hpp>
#include <nigh/gnat.hpp>
#include <nigh/linear.hpp>
using namespace unc::robotics;
using namespace mpt;
using namespace mpt_test;
TEST(pprm_irs_until_solved) {
testSolvingBasicScenario<PPRMIRS<>>();
}
TEST(pprm_irs_unt... | 27.5 | 97 | 0.758333 | elishafer |
e2a7eb02618e1146d3dcc4face2b43a79ee039dd | 706 | cpp | C++ | examples/keyboard_example.cpp | yamaha-bps/cbr_drivers | 64e971c0a7e79c414e81fe2ac32e6360adb266eb | [
"MIT"
] | null | null | null | examples/keyboard_example.cpp | yamaha-bps/cbr_drivers | 64e971c0a7e79c414e81fe2ac32e6360adb266eb | [
"MIT"
] | null | null | null | examples/keyboard_example.cpp | yamaha-bps/cbr_drivers | 64e971c0a7e79c414e81fe2ac32e6360adb266eb | [
"MIT"
] | null | null | null | // Copyright Yamaha 2021
// MIT License
// https://github.com/yamaha-bps/cbr_drivers/blob/master/LICENSE
#include <cbr_drivers/keyboard.hpp>
#include <thread>
#include <chrono>
#include <iostream>
int main(int argc, char ** argv)
{
if (argc != 2) {
std::cerr << "usage: keyboard_example <device>" << std::endl;
... | 27.153846 | 98 | 0.626062 | yamaha-bps |
e2ab3dfaa11c7ab8c72a35523b37b1b5fedf4220 | 19,759 | cpp | C++ | src/core/impl/StdPlayQueue.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | 1 | 2018-01-07T18:11:04.000Z | 2018-01-07T18:11:04.000Z | src/core/impl/StdPlayQueue.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | null | null | null | src/core/impl/StdPlayQueue.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2014 Varuna L Amachi. All rights reserved.
*
* 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 ... | 30.921753 | 81 | 0.557974 | varunamachi |
e2af05453b217872a1efe228e70abdbbdee2d7c8 | 4,892 | cpp | C++ | csvfix/src/csved_fmerge.cpp | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 4 | 2022-01-25T15:54:29.000Z | 2022-03-18T21:32:16.000Z | csvfix/src/csved_fmerge.cpp | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 1 | 2022-02-08T12:37:47.000Z | 2022-02-08T12:37:47.000Z | csvfix/src/csved_fmerge.cpp | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 5 | 2021-12-14T05:42:52.000Z | 2022-03-11T04:23:47.000Z | //---------------------------------------------------------------------------
// csved_fmerge.cpp
//
// merge multiple sorted csv files
//
// Copyright (C) 20011 Neil Butterworth
//---------------------------------------------------------------------------
#include "a_base.h"
#include "a_collect.h"
#include ... | 26.879121 | 79 | 0.370196 | moissinac |
e2b0a0330d4b18167e55b92eada8b5b067622865 | 6,034 | hpp | C++ | src/layer/common/product_layer-inl.hpp | pl8787/textnet-release | c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f | [
"Apache-2.0"
] | 114 | 2017-06-14T07:05:31.000Z | 2021-06-13T05:30:49.000Z | src/layer/common/product_layer-inl.hpp | pl8787/textnet-release | c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f | [
"Apache-2.0"
] | 7 | 2017-11-17T08:16:55.000Z | 2019-10-05T00:09:20.000Z | src/layer/common/product_layer-inl.hpp | pl8787/textnet-release | c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f | [
"Apache-2.0"
] | 40 | 2017-06-15T03:21:10.000Z | 2021-10-31T15:03:30.000Z | #ifndef TEXTNET_LAYER_PRODUCT_LAYER_INL_HPP_
#define TEXTNET_LAYER_PRODUCT_LAYER_INL_HPP_
#include <mshadow/tensor.h>
#include "../layer.h"
#include "../op.h"
#include "../../utils/utils.h"
namespace textnet {
namespace layer {
// this layer elem-wise products bottom representations on the last 2 dimensions
template... | 36.569697 | 119 | 0.608883 | pl8787 |
e2b91deab820a163ea6533cda2728508541ec8c7 | 402 | cpp | C++ | protocol_lib/ServiceDelegate.cpp | ThoughtWorksIoTGurgaon/nodes | 2973a331b744c7f2abd412b0e0e760f6111ce687 | [
"Apache-2.0"
] | null | null | null | protocol_lib/ServiceDelegate.cpp | ThoughtWorksIoTGurgaon/nodes | 2973a331b744c7f2abd412b0e0e760f6111ce687 | [
"Apache-2.0"
] | 1 | 2015-09-24T02:11:17.000Z | 2015-09-24T02:11:17.000Z | protocol_lib/ServiceDelegate.cpp | ThoughtWorksIoTGurgaon/nodes | 2973a331b744c7f2abd412b0e0e760f6111ce687 | [
"Apache-2.0"
] | null | null | null | /*
* File: ServiceDelegate.cpp
* Author: Anuj
*
* Created on 29 November, 2015, 10:13 AM
*/
#include "ServiceDelegate.h"
ServiceDelegate::ServiceDelegate() {
}
void ServiceDelegate::didWriteToCharacteristic(char id, int len, char * value) {}
void ServiceDelegate::didReadFromCharacteristic(char id, int len,... | 23.647059 | 82 | 0.738806 | ThoughtWorksIoTGurgaon |
e2ba4a8bd05cb9fca6d510aa2b05975d4cfc3e42 | 342 | cc | C++ | src/ast/literals.cc | anurudhp/decaf-compiler | 67a72bb9cf77d46515165074c2ca8786738b02e6 | [
"MIT"
] | null | null | null | src/ast/literals.cc | anurudhp/decaf-compiler | 67a72bb9cf77d46515165074c2ca8786738b02e6 | [
"MIT"
] | null | null | null | src/ast/literals.cc | anurudhp/decaf-compiler | 67a72bb9cf77d46515165074c2ca8786738b02e6 | [
"MIT"
] | null | null | null | #include "literals.hh"
#include "../visitors/visitor.hh"
#include "variables.hh"
void LiteralAST::accept(ASTvisitor &V) { V.visit(*this); }
void IntegerLiteralAST::accept(ASTvisitor &V) { V.visit(*this); }
void BooleanLiteralAST::accept(ASTvisitor &V) { V.visit(*this); }
void StringLiteralAST::accept(ASTvisitor &V... | 26.307692 | 65 | 0.710526 | anurudhp |
e2bc602dd356567c32259d3b2744df18539a54ea | 4,314 | cpp | C++ | Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | 200 | 2021-03-17T11:15:05.000Z | 2022-03-31T23:45:09.000Z | Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | null | null | null | Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | 38 | 2021-03-17T13:29:18.000Z | 2022-03-04T19:32:52.000Z | // Copyright (c) Csaba Molnar & Daniel Butum. All Rights Reserved.
#include "NYLoadingScreenSettings.h"
#include "UObject/ConstructorHelpers.h"
#include "Engine/Font.h"
#include "INYLoadingScreenModule.h"
#define LOCTEXT_NAMESPACE "LoadingScreen"
/////////////////////////////////////////////////////////////////////... | 30.595745 | 120 | 0.573713 | LaudateCorpus1 |