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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82c372258db90a8bb6ad993843f33ed140153e3a | 1,560 | cc | C++ | pb/protobuf_dump.cc | corrupt-stack/protobuf-super-lite | c9c0c90721756b9208f6bfccfdc40838316edf2c | [
"BSD-3-Clause"
] | null | null | null | pb/protobuf_dump.cc | corrupt-stack/protobuf-super-lite | c9c0c90721756b9208f6bfccfdc40838316edf2c | [
"BSD-3-Clause"
] | null | null | null | pb/protobuf_dump.cc | corrupt-stack/protobuf-super-lite | c9c0c90721756b9208f6bfccfdc40838316edf2c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2022 Yuri Wiitala. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdint>
#include <fstream>
#include <iostream>
#include <limits>
#include <vector>
#include "pb/codec/limits.h"
#include "pb/inspection.h"
int main(i... | 26.896552 | 79 | 0.605128 | corrupt-stack |
82c45ea309c8a36f6dda9ef3cdc760ea092e1a67 | 54 | cc | C++ | tests/data/test-diff-filter/test19-enum-v0.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 3 | 2021-01-29T20:26:44.000Z | 2021-04-28T07:49:48.000Z | tests/data/test-diff-filter/test19-enum-v0.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 2 | 2021-03-07T19:31:56.000Z | 2021-03-07T23:26:13.000Z | tests/data/test-diff-filter/test19-enum-v0.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 1 | 2021-03-07T19:14:08.000Z | 2021-03-07T19:14:08.000Z | typedef enum {
v0,
v1,
v2
} E;
void
foo(E)
{
}
| 4.909091 | 14 | 0.481481 | insilications |
82c851fe3f10a27336cd8670fcb72b466a71e0f1 | 647 | hpp | C++ | include/chesham/cppext/functional.hpp | Chesham/cppext | 9fb0326fcfcb737797ed9ece4a88688d996ec615 | [
"MIT"
] | 3 | 2020-05-25T03:39:05.000Z | 2022-01-11T16:55:18.000Z | include/chesham/cppext/functional.hpp | Chesham/cppext | 9fb0326fcfcb737797ed9ece4a88688d996ec615 | [
"MIT"
] | null | null | null | include/chesham/cppext/functional.hpp | Chesham/cppext | 9fb0326fcfcb737797ed9ece4a88688d996ec615 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <cctype>
#include <functional>
namespace chesham
{
template<class T>
struct string_no_case_comparer
{
T& to_lower(T& s) const
{
transform(s.begin(), s.end(), s.begin(), [](const auto& i) { return ::tolower(i); });
... | 23.962963 | 98 | 0.483771 | Chesham |
82c931d036489bb1edf04731319c35afa727d4b3 | 1,805 | cpp | C++ | CardGame/Classes/Social/SocialJNI.cpp | GuruDev0807/CardGame | e14c71b9833b38d97266678810d1800cb7880ea6 | [
"MIT"
] | 2 | 2022-03-10T00:18:44.000Z | 2022-03-26T12:26:19.000Z | CardGame/Classes/Social/SocialJNI.cpp | GuruDev0807/CardGame | e14c71b9833b38d97266678810d1800cb7880ea6 | [
"MIT"
] | null | null | null | CardGame/Classes/Social/SocialJNI.cpp | GuruDev0807/CardGame | e14c71b9833b38d97266678810d1800cb7880ea6 | [
"MIT"
] | 2 | 2019-12-18T15:55:48.000Z | 2020-02-16T15:02:10.000Z |
#include "../Common/Common.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include <jni.h>
#include "platform/android/jni/JniHelper.h"
#include <android/log.h>
#endif
#include "SocialJni.h"
#include "../Layer/SettingLayer.h"
#define CLASS_NAME "com/mcmahon/cardgame/AppActivity"
extern "C"
{
std::string get... | 27.769231 | 117 | 0.693075 | GuruDev0807 |
82cb697fa829ffbb50bf5892b434d01a7efef170 | 116 | hh | C++ | src/Environment.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | src/Environment.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | src/Environment.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #pragma once
#include <glow/fwd.hh>
#include <typed-geometry/tg.hh>
namespace gamedev
{
class Environment
{
};
}
| 8.923077 | 31 | 0.706897 | rovedit |
82cc6a56b7b9256e3173193140429ab1d6d4272f | 1,335 | cpp | C++ | src/cmd/ActivateLayer.cpp | felipemanga/Dotto | 61be3e7be083cca5ba16fc8c181799830f6f7d47 | [
"MIT"
] | 151 | 2021-12-28T21:22:42.000Z | 2022-03-30T13:53:28.000Z | src/cmd/ActivateLayer.cpp | felipemanga/Dotto | 61be3e7be083cca5ba16fc8c181799830f6f7d47 | [
"MIT"
] | 9 | 2021-12-29T13:20:00.000Z | 2022-03-18T12:47:19.000Z | src/cmd/ActivateLayer.cpp | felipemanga/Dotto | 61be3e7be083cca5ba16fc8c181799830f6f7d47 | [
"MIT"
] | 18 | 2021-12-28T19:58:49.000Z | 2022-03-31T16:38:14.000Z | // Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md)
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include <cmd/Command.hpp>
#include <common/Messages.hpp>
#include <common/PubSub.hpp>
#include <doc/Document.hpp>
#include <doc/Timeline.hpp>
#include <doc/... | 27.8125 | 60 | 0.592509 | felipemanga |
82ce374c5d2af4739797f042689a752c146e0e4d | 694 | cpp | C++ | main.cpp | vvroul/Graphics_Solar_System | a6c35c73fa708faea1caf07648c609aa0acef6fc | [
"MIT"
] | null | null | null | main.cpp | vvroul/Graphics_Solar_System | a6c35c73fa708faea1caf07648c609aa0acef6fc | [
"MIT"
] | null | null | null | main.cpp | vvroul/Graphics_Solar_System | a6c35c73fa708faea1caf07648c609aa0acef6fc | [
"MIT"
] | null | null | null | #include "visuals.h"
//********** STATE VARIABLES **********
float t = 0.0;
//********** MAIN PROGRAM **********
int main(int argc, char* argv[])
{
//Initialize GLUT library state
glutInit(&argc, argv);
cout << "GLUT library initialized successfully!" << endl;
//Setup display
glutInitDisplayMode(GLUT_RGBA... | 19.828571 | 59 | 0.678674 | vvroul |
82d38d5722252f23dcd2c1cfd3ecebcf36cb67b1 | 1,239 | cpp | C++ | leetcode/binarytreepostordertravesal.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | 1 | 2016-01-20T08:26:34.000Z | 2016-01-20T08:26:34.000Z | leetcode/binarytreepostordertravesal.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | 1 | 2015-10-21T05:38:17.000Z | 2015-11-02T07:42:55.000Z | leetcode/binarytreepostordertravesal.cpp | WIZARD-CXY/pl | 22b7f5d81804f4e333d3cff6433364ba1a0ac7ef | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> postorderTraversal(TreeNode* root) {
vector<int> res;
//p ... | 23.377358 | 70 | 0.357546 | WIZARD-CXY |
82d3ac8d867034cc2cb7d3130b467bad0970d0bb | 130 | inl | C++ | Blob_Lib/Include/glm/gtx/euler_angles.inl | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/Include/glm/gtx/euler_angles.inl | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/Include/glm/gtx/euler_angles.inl | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:a9d9bdd6e8fa3b6aa17d8364d2ef16a76950b06feadea874cc740f3ade5e1601
size 23652
| 32.5 | 75 | 0.884615 | antholuo |
82d3bc212ad95a120c275f453620497077efc0ec | 100,172 | cpp | C++ | B2G/gecko/widget/windows/nsTextStore.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/widget/windows/nsTextStore.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/widget/windows/nsTextStore.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <olectl.h>
#ifdef MOZ_LO... | 34.542069 | 84 | 0.648135 | wilebeast |
82d6a6123fcf3664d4a8f2e930bda06514fdff6f | 320 | cpp | C++ | vs_plrlsght_cpp_fndmntls/vs_plrlsght_cpp_fndmntls/Resource.cpp | mugofjoe/cpp-journal | 8b9f4d14343a2241ebe7def8b1f03062dae9caf6 | [
"MIT"
] | null | null | null | vs_plrlsght_cpp_fndmntls/vs_plrlsght_cpp_fndmntls/Resource.cpp | mugofjoe/cpp-journal | 8b9f4d14343a2241ebe7def8b1f03062dae9caf6 | [
"MIT"
] | null | null | null | vs_plrlsght_cpp_fndmntls/vs_plrlsght_cpp_fndmntls/Resource.cpp | mugofjoe/cpp-journal | 8b9f4d14343a2241ebe7def8b1f03062dae9caf6 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Resource.h"
#include <iostream>
using std::cout;
using std::endl;
using std::string;
Resource::Resource(string n) :name(n)
{
cout << "constructing Resource object: " << name << endl;
}
Resource::~Resource(void)
{
cout << "destructing Resource object: " << name << endl;
} | 20 | 59 | 0.64375 | mugofjoe |
82d78efdc9af1a0230545fa4003afdc2c0bb975c | 912 | cpp | C++ | ProjectEuler/ProjectEuler#1.cpp | ChameleonTartu/competitive_programming | f8658ba99e7d188c99692d03d52fe9652092ffc6 | [
"Apache-2.0"
] | 1 | 2016-08-19T12:14:07.000Z | 2016-08-19T12:14:07.000Z | ProjectEuler/ProjectEuler#1.cpp | ChameleonTartu/competitive_programming | f8658ba99e7d188c99692d03d52fe9652092ffc6 | [
"Apache-2.0"
] | null | null | null | ProjectEuler/ProjectEuler#1.cpp | ChameleonTartu/competitive_programming | f8658ba99e7d188c99692d03d52fe9652092ffc6 | [
"Apache-2.0"
] | null | null | null | /*
* =====================================================================================
*
* Filename: ProjectEuler#1.cpp
*
* Description:
*
* Version: 1.0
* Created: 07/11/2016 12:27:05 PM
* Revision: none
* Compiler: gcc
*
* Author: DMYTRO CHASOVSKYI ()... | 21.714286 | 88 | 0.416667 | ChameleonTartu |
82d8ba2a0cc8c64558242fe0159ce3cf81b413fc | 28,976 | cc | C++ | storage/perfschema/table_events_waits.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | storage/perfschema/table_events_waits.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | storage/perfschema/table_events_waits.cc | hervewenjie/mysql | 49a37eda4e2cc87e20ba99e2c29ffac2fc322359 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the h... | 27.969112 | 97 | 0.671211 | hervewenjie |
82d9ec8e2f7e34826104e47fa7794f403330e2cd | 6,048 | cpp | C++ | Tests/UnitTests/Sources/FunctionTest/BroadcastTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 6 | 2021-07-06T10:52:33.000Z | 2021-12-30T11:30:04.000Z | Tests/UnitTests/Sources/FunctionTest/BroadcastTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 1 | 2022-01-07T12:18:03.000Z | 2022-01-08T12:23:13.000Z | Tests/UnitTests/Sources/FunctionTest/BroadcastTest.cpp | sukim96/Sapphire | 7eba047a376d2bfa6cc3182daa143cbe659a1c18 | [
"MIT"
] | 3 | 2021-12-05T06:21:50.000Z | 2022-01-09T12:44:23.000Z | // Copyright (c) 2021, Justin Kim
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <FunctionTest/BroadcastTest.hpp>
#include <Sapphire/compute/BasicOps.hpp>
#include <Sapphir... | 29.647059 | 85 | 0.636409 | sukim96 |
82dae90f2be355927b6f9fec6a8e6c65ada1a099 | 526 | cpp | C++ | src/core/menu/default_behaviour.cpp | miguelalexbt/FEUP-CAL | ee417df5bb0150c2a289b100324b1f8d0086f634 | [
"MIT"
] | null | null | null | src/core/menu/default_behaviour.cpp | miguelalexbt/FEUP-CAL | ee417df5bb0150c2a289b100324b1f8d0086f634 | [
"MIT"
] | null | null | null | src/core/menu/default_behaviour.cpp | miguelalexbt/FEUP-CAL | ee417df5bb0150c2a289b100324b1f8d0086f634 | [
"MIT"
] | null | null | null |
#include "trip_planner/core/menu/default_behaviour.h"
using namespace std;
namespace trip_planner {
int default_behaviour::display() {
cout << " -- Trip Planner --" << endl << endl;
cout << " [1] Start " << endl;
cout << " [0] Exit. " << endl;
cout << endl << " Input: ";
string input;
getline(cin, inp... | 15.470588 | 53 | 0.585551 | miguelalexbt |
82e1671d75e2ef454b2c17af1df7a2ffcab632f9 | 4,118 | cpp | C++ | discoFever/main.cpp | oskrs111/pimcw | 6b40830b97ca7b6d2e5e7c50227ac7b2f5981749 | [
"MIT"
] | 2 | 2017-11-01T01:18:12.000Z | 2017-12-13T06:04:00.000Z | discoFever/main.cpp | oskrs111/pimcw | 6b40830b97ca7b6d2e5e7c50227ac7b2f5981749 | [
"MIT"
] | null | null | null | discoFever/main.cpp | oskrs111/pimcw | 6b40830b97ca7b6d2e5e7c50227ac7b2f5981749 | [
"MIT"
] | 1 | 2019-12-01T23:40:25.000Z | 2019-12-01T23:40:25.000Z | #include "main.h"
#include "networkthread.h"
#include "../qtkVirtualMIDI/qtkvirtualmidi.h"
void debugLogger(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
QByteArray localMsg = msg.toLocal8Bit();
switch (type) {
default:
case QtInfoMsg:
case QtDebugMsg:
localMsg.p... | 38.849057 | 126 | 0.63356 | oskrs111 |
82e247eeecf88645ed78f119061fa3b1cf88ce6e | 1,970 | cpp | C++ | src/test.cpp | tonyganchev/stoyozipxx | a19493d53a8c118e06003480b1614e5fa1cacb72 | [
"Apache-2.0"
] | 1 | 2019-11-25T17:02:51.000Z | 2019-11-25T17:02:51.000Z | src/test.cpp | tonyganchev/stoyozipxx | a19493d53a8c118e06003480b1614e5fa1cacb72 | [
"Apache-2.0"
] | null | null | null | src/test.cpp | tonyganchev/stoyozipxx | a19493d53a8c118e06003480b1614e5fa1cacb72 | [
"Apache-2.0"
] | 1 | 2019-11-11T11:11:02.000Z | 2019-11-11T11:11:02.000Z | #include <iostream>
#include <sstream>
#include "buffer.hpp"
#include "oligorithm.hpp"
using namespace std;
void test_find_longest_match(string needle,
string haystack,
size_t expected_length,
size_t expected_start_idx) {
auto m ... | 32.833333 | 82 | 0.614721 | tonyganchev |
82e2cb8aaacffae8dbcfa3f9c0fb6cd461f1f59e | 1,031 | cpp | C++ | Development_Platformer/Development_Platformer/GUIThumb.cpp | vsRushy/Development_Platformer | b9b6d3ce1611bd3e83d0dab2485c55d5acb32afe | [
"MIT"
] | 1 | 2018-10-10T12:09:31.000Z | 2018-10-10T12:09:31.000Z | Development_Platformer/Development_Platformer/GUIThumb.cpp | vsRushy/Development_Platformer | b9b6d3ce1611bd3e83d0dab2485c55d5acb32afe | [
"MIT"
] | null | null | null | Development_Platformer/Development_Platformer/GUIThumb.cpp | vsRushy/Development_Platformer | b9b6d3ce1611bd3e83d0dab2485c55d5acb32afe | [
"MIT"
] | null | null | null | #include "j1App.h"
#include "j1Input.h"
#include "j1GUIManager.h"
#include "GUIElement.h"
#include "GUIThumb.h"
#include "p2Log.h"
GUIThumb::GUIThumb(int x, int y, SDL_Rect image_area, SDL_Rect image_area_hover, SDL_Rect image_area_pressed, GUIElement* son) : GUIElement(type, x, y, area, son)
{
type = GUI_ELEMENT_TYP... | 20.62 | 162 | 0.691562 | vsRushy |
82e5b49b726d3270932472e1c9c1a2ce689f8f6f | 3,097 | cpp | C++ | alignmentstats.cpp | egafni/glia | 700da972bf119284da8df868546e0034ebd79910 | [
"MIT"
] | 33 | 2015-03-03T22:33:07.000Z | 2022-02-02T10:40:43.000Z | alignmentstats.cpp | egafni/glia | 700da972bf119284da8df868546e0034ebd79910 | [
"MIT"
] | 2 | 2017-07-09T16:36:44.000Z | 2021-08-16T19:43:37.000Z | alignmentstats.cpp | egafni/glia | 700da972bf119284da8df868546e0034ebd79910 | [
"MIT"
] | 7 | 2016-04-21T12:23:28.000Z | 2022-02-27T21:54:49.000Z | #include "alignmentstats.h"
void countMismatchesAndGaps(
BamAlignment& alignment,
Cigar& cigar,
string& referenceSequence,
long int& referenceStart,
AlignmentStats& stats,
bool debug
) {
int sp = alignment.Position - referenceStart;
int rp = 0;
int softclip_start = (cigar.beg... | 39.202532 | 134 | 0.497578 | egafni |
82e5e7c61a71dae841dd78c1880c78673b750b27 | 7,789 | cpp | C++ | CCDFDataModel/CCDFDataModel.cpp | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | 1 | 2019-08-21T11:03:09.000Z | 2019-08-21T11:03:09.000Z | CCDFDataModel/CCDFDataModel.cpp | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | CCDFDataModel/CCDFDataModel.cpp | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Project: Generic common data format
* Purpose: Generic Data model to read netcdf and hdf5
* Author: Maarten Plieger, plieger "at" knmi.nl
* Date: 2013-06-01
*
*************************************************************... | 43.513966 | 137 | 0.650019 | ernstdevreede |
82e7dfaa6b8e56ed5cda49b057e9012cb81bbe82 | 14,113 | cpp | C++ | src/temporal_diff.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | null | null | null | src/temporal_diff.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | 2 | 2020-11-06T19:45:34.000Z | 2020-11-07T03:22:25.000Z | src/temporal_diff.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | null | null | null | /************************************************
3D Wavlet Libraries for pcvipr.e
Initial Author: Kevin M. Johnson
Description: This code controls transfroms in the non-spatial dimensions
*************************************************/
#include "temporal_diff.h"
using namespace NDarray;
using arma::cx_mat;
usin... | 24.416955 | 78 | 0.489124 | uwmri |
82e9519183a5fb683af7b80b261fdcc518f15543 | 12,327 | cpp | C++ | src/wrapper/store/provider_cryptopro.cpp | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | null | null | null | src/wrapper/store/provider_cryptopro.cpp | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | null | null | null | src/wrapper/store/provider_cryptopro.cpp | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | 1 | 2020-07-01T16:32:57.000Z | 2020-07-01T16:32:57.000Z | #include "../stdafx.h"
#include "provider_cryptopro.h"
ProviderCryptopro::ProviderCryptopro(){
LOGGER_FN();
try{
type = new std::string("CRYPTOPRO");
providerItemCollection = new PkiItemCollection();
init();
}
catch (Handle<Exception> e){
THROW_EXCEPTION(0, ProviderCryptopro, e, "Cannot be constructed P... | 26.739696 | 125 | 0.699602 | microshine |
82e96104ae37f5d80d98a84276832cef5cb47420 | 6,893 | cc | C++ | mindspore/lite/src/runtime/kernel/arm/int8/fullconnection_int8.cc | HappyKL/mindspore | 479cb89e8b5c9d859130891567038bb849a30bce | [
"Apache-2.0"
] | 1 | 2020-10-18T12:27:45.000Z | 2020-10-18T12:27:45.000Z | mindspore/lite/src/runtime/kernel/arm/int8/fullconnection_int8.cc | ReIadnSan/mindspore | c3d1f54c7f6d6f514e5748430d24b16a4f9ee9e5 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/runtime/kernel/arm/int8/fullconnection_int8.cc | ReIadnSan/mindspore | c3d1f54c7f6d6f514e5748430d24b16a4f9ee9e5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 44.185897 | 120 | 0.709996 | HappyKL |
82ea8dd36206e5b09d557281591a37ecd9cfdd00 | 560 | hpp | C++ | src/utils/hittable.hpp | Kingfish404/ray-tracing-cpp | d4c2e3d32df0febd028e7e0ba36d21c3abc25664 | [
"MIT"
] | 1 | 2022-03-25T10:46:34.000Z | 2022-03-25T10:46:34.000Z | src/utils/hittable.hpp | Kingfish404/ray-tracing-cpp | d4c2e3d32df0febd028e7e0ba36d21c3abc25664 | [
"MIT"
] | null | null | null | src/utils/hittable.hpp | Kingfish404/ray-tracing-cpp | d4c2e3d32df0febd028e7e0ba36d21c3abc25664 | [
"MIT"
] | null | null | null | #pragma once
#ifndef HITTABLE_HPP
#define HITTABLE_HPP
#include "../common.hpp"
class material;
struct hit_record
{
point3 p;
vec3 normal;
shared_ptr<material> mat_ptr;
double t;
bool front_face;
inline void set_face_normal(const ray &r, const vec3 &outward_normal)
{
front_face =... | 18.666667 | 90 | 0.680357 | Kingfish404 |
82efaacf949fc75362d7bcbca2c0dc2e6c935856 | 24,115 | cxx | C++ | src/openlcb/EventHandlerTemplates.cxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | src/openlcb/EventHandlerTemplates.cxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | src/openlcb/EventHandlerTemplates.cxx | TrainzLuvr/openmrn | b3bb9d4995e49aa39856740d292d38cf4a99845b | [
"BSD-2-Clause"
] | null | null | null | /** \copyright
* Copyright (c) 2013, Balazs Racz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this li... | 30.758929 | 107 | 0.612109 | TrainzLuvr |
82f1902a27eef2878a10b22fbe3abbddd49a5e4e | 4,366 | cpp | C++ | src/shadereditor/src/shadereditor/nodes/vnode_matrices.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/shadereditor/src/shadereditor/nodes/vnode_matrices.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/shadereditor/src/shadereditor/nodes/vnode_matrices.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z |
#include "cbase.h"
#include "editorCommon.h"
CNodeMatrix_MVP::CNodeMatrix_MVP(CNodeView *p) : BaseClass("Matrix MVP", p) {
GenerateJacks_Output(1);
LockJackOutput_Flags(0, HLSLVAR_MATRIX4X4, "Model View Projection");
}
bool CNodeMatrix_MVP::CreateSolvers(GenericShaderData *ShaderData) {
CJack *pJ_Out =... | 29.70068 | 86 | 0.72721 | cstom4994 |
82f4383c4b8b94f7530e5383d774075ffc28df0d | 634 | cpp | C++ | Nowcoder/64J/implementation.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | Nowcoder/64J/implementation.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | Nowcoder/64J/implementation.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
#include <iomanip>
#include <climits>
using namespace std;
int mapping[26];
int main()
{
ios::sync_with_stdio(false);
for (int i = 0; i < 26; i++)
{
mapping[i] = i;
}
string s;
... | 17.135135 | 49 | 0.498423 | codgician |
82fc7cf3155ac30eb2a42e2d690d5be36b76e689 | 1,816 | cpp | C++ | trainings/2015-11-03-Changsha-2013/I.cpp | HcPlu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 9 | 2017-10-07T13:35:45.000Z | 2021-06-07T17:36:55.000Z | trainings/2015-11-03-Changsha-2013/I.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | null | null | null | trainings/2015-11-03-Changsha-2013/I.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 3 | 2018-04-24T05:27:21.000Z | 2019-04-25T06:06:00.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
using namespace std;
const int N = 100005;
int n, X, Y, tot = 0;
int value[N], S[N], P[N], F[N];
int start[N];
pair<int, int> f[N][2];
struct Node {
int x, y, next;
} road[N << 1];
void build(int x, int y) {
tot++;... | 20.873563 | 80 | 0.467511 | HcPlu |
82fccde8b90c432f1a32fadf9a0ec364c7aeb791 | 8,385 | cpp | C++ | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | #include "player.h"
#include "scene.h"
#include "road.h"
#include "Pipe.h"
#include "Monster.h"
#include "shadow.h"
#include <shaders/diffuse_vert_glsl.h>
#include <shaders/diffuse_frag_glsl.h>
// shared resources
std::unique_ptr<ppgso::Mesh> Player::mesh;
std::unique_ptr<ppgso::Texture> Player::texture;
... | 35.231092 | 339 | 0.545021 | andsulavik |
82fd78c9bf8f1f535b4665f06a6c897b2ea7553f | 2,646 | cpp | C++ | ogsr_engine/xrCore/cpuid.cpp | WarezzK/OGSE-WarezzKCZ-Engine | 9d5a594edd7d8f2edf5e1d831f380bc817400e17 | [
"Apache-2.0"
] | 3 | 2019-09-10T13:37:08.000Z | 2021-05-18T14:53:29.000Z | ogsr_engine/xrCore/cpuid.cpp | Rikoshet-234/rebirth_engine | 7ad4e8a711434e8346b7c97b3a82447695418344 | [
"Apache-2.0"
] | null | null | null | ogsr_engine/xrCore/cpuid.cpp | Rikoshet-234/rebirth_engine | 7ad4e8a711434e8346b7c97b3a82447695418344 | [
"Apache-2.0"
] | 2 | 2020-06-26T11:50:59.000Z | 2020-12-30T11:07:31.000Z | #include "stdafx.h"
#include "cpuid.h"
#include <intrin.h>
decltype(auto) countSetBits(ULONG_PTR bitMask) {
DWORD LSHIFT = sizeof(ULONG_PTR) * 8 - 1;
DWORD bitSetCount = 0;
auto bitTest = static_cast<ULONG_PTR>(1) << LSHIFT;
DWORD i;
for (i = 0; i <= LSHIFT; ++i) {
bitSetCount += ((bitMask & bitTest) ? 1 : 0);... | 25.442308 | 86 | 0.685563 | WarezzK |
82ffd34e6213c3599aab61f248440f88097cc972 | 252 | cpp | C++ | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | #include "while.h"
#include<iostream>
using std::cout; using std::cin;
int main()
{
char choice = 'y';
while (choice == 'y' || choice == 'Y')
{
cout << "Enter y to continue, any other char to exit: ";
cin >> choice;
}
return 0;
} | 14 | 60 | 0.563492 | acc-cosc-1337-fall-2020 |
d2016de542aef1d6c665c2f8b9aa17391c792f1a | 12,458 | hpp | C++ | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 176 | 2020-07-25T19:11:23.000Z | 2021-10-04T17:11:32.000Z | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #pragma once
//Hitachi SH7604
//struct SH2 {
enum : u32 { Byte, Word, Long };
struct Area { enum : u32 {
Cached = 0,
Uncached = 1,
Purge = 2,
Address = 3,
Data = 6,
IO = 7,
};};
//bus.cpp
auto readByte(u32 address) -> u32;
auto readWord(u32 address) -> u32;
auto... | 32.025707 | 70 | 0.581153 | CasualPokePlayer |
d203bf517b9b61576aa40c7c8c7f8827b60d7bb8 | 12,034 | cpp | C++ | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | umariqb/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 47 | 2016-07-25T00:48:59.000Z | 2021-02-17T09:19:03.000Z | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | umariqb/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 5 | 2016-09-17T19:40:46.000Z | 2018-11-07T06:49:02.000Z | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | iqbalu/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 35 | 2016-07-21T09:13:15.000Z | 2019-05-13T14:11:37.000Z | /*
* self_similarity.cpp
*
* Created on: Jan 25, 2012
* Author: lbossard
*/
#include "self_similarity.hpp"
#include <boost/math/constants/constants.hpp>
#include <boost/foreach.hpp>
namespace vision
{
namespace features
{
SelfSimilarityExtractor::SelfSimilarityExtractor(
bool color_ssd,
u... | 32.524324 | 135 | 0.575453 | umariqb |
d2083f4db1d876becc56a5bad6bee2ad78e4305a | 1,491 | hpp | C++ | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | 7 | 2020-12-21T02:16:33.000Z | 2022-03-18T23:57:05.000Z | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | null | null | null | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | null | null | null | //
// Created by Asmei on 11/25/2020.
//
#ifndef TINYCORO_ALGORITHMS_HPP
#define TINYCORO_ALGORITHMS_HPP
#include "FireAndForget.hpp"
#include "Generator.hpp"
namespace tinycoro
{
/*
* Create endless stream, yielding objects from begin (inclusive).
*/
template <std::incrementable T>
tinycoro::Gen... | 21.926471 | 81 | 0.564051 | asmei1 |
d20b2cb8304b6b684bfa429f9574104307dd5698 | 202 | cpp | C++ | FrameLib_Max_Objects/Complex_Unary/fl.complex.tanh~.cpp | AlexHarker/FrameLib | 04b9882561c83d3240c6cb07f14861244d1d6272 | [
"BSD-3-Clause"
] | 33 | 2017-08-13T00:02:41.000Z | 2022-03-10T23:02:17.000Z | FrameLib_Max_Objects/Complex_Unary/fl.complex.tanh~.cpp | AlexHarker/FrameLib | 04b9882561c83d3240c6cb07f14861244d1d6272 | [
"BSD-3-Clause"
] | 60 | 2018-02-01T23:33:36.000Z | 2022-03-23T23:25:13.000Z | FrameLib_Max_Objects/Complex_Unary/fl.complex.tanh~.cpp | AlexHarker/FrameLib | 04b9882561c83d3240c6cb07f14861244d1d6272 | [
"BSD-3-Clause"
] | 8 | 2018-02-01T20:18:46.000Z | 2020-07-03T12:53:04.000Z |
#include "FrameLib_Complex_Unary_Objects.h"
#include "FrameLib_MaxClass.h"
extern "C" int C74_EXPORT main(void)
{
FrameLib_MaxClass_Expand<FrameLib_Complex_Tanh>::makeClass("fl.complex.tanh~");
}
| 22.444444 | 83 | 0.782178 | AlexHarker |
d20de518295a56f0fefa5c15bd74d41f867164d3 | 1,282 | cpp | C++ | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | 2 | 2020-06-01T00:30:12.000Z | 2020-06-05T18:41:48.000Z | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | null | null | null | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | 1 | 2020-06-05T18:33:28.000Z | 2020-06-05T18:33:28.000Z | #include "catch2/catch.hpp"
// Project includes
#include "echd/jsonrpc/eth_client.hpp"
using namespace ech;
using Catch::Matchers::Equals;
TEST_CASE("eth jsonrpc client leading zeroes empty", "[daemon][jsonrpc]")
{
const auto s = eth::JsonHelper::removeLeadingZeroes(std::string(""));
REQUIRE(std::string_view("0")... | 26.163265 | 83 | 0.697348 | adlerjohn |
d20f99fe44a1a5a905bd94ecf7da6d4ec4d8bbbf | 403 | cpp | C++ | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | //
// Created by rahul on 17/8/19.
//
#include <iostream>
#include <string>
using namespace std;
template <class T>
void display(T x)
{
cout<<"template display" << x<< '\n';
}
void display(int x)
{
cout<<"explicit display"<<x<<'\n';
}
void ccode(char ch)
{
int code;
code=ch;
cout<<code<<endl;
}
int ... | 13.896552 | 41 | 0.575682 | jattramesh |
d210bf388a3ab5fc8635810fef0e3cb8fd428009 | 2,195 | cpp | C++ | code/test/inverted_index.cpp | mbeckem/msc | 93e71ba163a7ffef4eec3e83934fa793f3f50ff6 | [
"MIT"
] | null | null | null | code/test/inverted_index.cpp | mbeckem/msc | 93e71ba163a7ffef4eec3e83934fa793f3f50ff6 | [
"MIT"
] | null | null | null | code/test/inverted_index.cpp | mbeckem/msc | 93e71ba163a7ffef4eec3e83934fa793f3f50ff6 | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include "geodb/irwi/inverted_index.hpp"
#include "geodb/irwi/inverted_index_internal.hpp"
#include "geodb/irwi/inverted_index_external.hpp"
#include "geodb/utility/temp_dir.hpp"
using namespace geodb;
using internal = inverted_index_internal_storage;
using external = inverted_index_external<409... | 25.823529 | 73 | 0.573576 | mbeckem |
d210dfdab9fff4b7cffd630368c58ae205af467c | 39,299 | cpp | C++ | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | null | null | null | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | null | null | null | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | 2 | 2021-07-04T19:41:36.000Z | 2021-07-29T12:59:47.000Z | /*
* Copyright (C) 2010 The Android Open Source 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 app... | 30.702344 | 113 | 0.600906 | DrDoubt |
d2153e7df539f5c2633bd75befe4fdc6f23dd8ab | 2,123 | cpp | C++ | Jx3Full/Source/Source/Common/SO3Represent/Src/case/actionobject/krlridesmgr.cpp | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | 2 | 2021-07-31T15:35:01.000Z | 2022-02-28T05:54:54.000Z | Jx3Full/Source/Source/Common/SO3Represent/Src/case/actionobject/krlridesmgr.cpp | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | null | null | null | Jx3Full/Source/Source/Common/SO3Represent/Src/case/actionobject/krlridesmgr.cpp | RivenZoo/FullSource | cfd7fd7ad422fd2dae5d657a18839c91ff9521fd | [
"MIT"
] | 5 | 2021-02-03T10:25:39.000Z | 2022-02-23T07:08:37.000Z | #include "stdafx.h"
#include "./krlrides.h"
#include "./krlridesmgr.h"
KRLRidesMgr::KRLRidesMgr()
{
}
KRLRidesMgr::~KRLRidesMgr()
{
}
HRESULT KRLRidesMgr::Append(DWORD dwRides, KRLRides* pRLRides)
{
ASSERT(pRLRides);
KPtrMap::iterator it = m_aRides.find(dwRides);
KGLOG_PROCESS_ERROR(it == m_aRid... | 17.401639 | 90 | 0.628356 | RivenZoo |
d217ed7d6d8c307a61fe6d63d5cb54093fe7051e | 136 | cpp | C++ | pizza/tomatosauce.cpp | StevenHPham/CS-2150-Program-and-Data-Representation | 044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90 | [
"CC-BY-4.0"
] | null | null | null | pizza/tomatosauce.cpp | StevenHPham/CS-2150-Program-and-Data-Representation | 044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90 | [
"CC-BY-4.0"
] | null | null | null | pizza/tomatosauce.cpp | StevenHPham/CS-2150-Program-and-Data-Representation | 044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90 | [
"CC-BY-4.0"
] | null | null | null | #include <iostream>
using namespace std;
#include "tomatosauce.h"
TomatoSauce::TomatoSauce(int amount) {
quantity=amount;
}
| 17 | 39 | 0.705882 | StevenHPham |
d21ab982d94cac4650779f3d51a8af4dfa20f686 | 19,814 | cpp | C++ | dev/AppNotifications/AppNotificationManager.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | dev/AppNotifications/AppNotificationManager.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | dev/AppNotifications/AppNotificationManager.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | #include "pch.h"
#include "AppNotificationManager.h"
#include "Microsoft.Windows.AppNotifications.AppNotificationManager.g.cpp"
#include <winrt/Windows.ApplicationModel.Core.h>
#include <winrt/Windows.Storage.h>
#include <winrt/base.h>
#include "externs.h"
#include "PushNotificationUtility.h"
#include "AppNoti... | 38.548638 | 285 | 0.621581 | G-arj |
d21b6e9713f457b6ccad2501eca75d468f16fc84 | 4,072 | cc | C++ | HLTrigger/Muon/plugins/HLTMuonTrackSelector.cc | sebwieland/cmssw | 431e2fdfedec052e73c16e9f06de98ade41ebc56 | [
"Apache-2.0"
] | 1 | 2021-04-13T13:26:16.000Z | 2021-04-13T13:26:16.000Z | HLTrigger/Muon/plugins/HLTMuonTrackSelector.cc | sebwieland/cmssw | 431e2fdfedec052e73c16e9f06de98ade41ebc56 | [
"Apache-2.0"
] | null | null | null | HLTrigger/Muon/plugins/HLTMuonTrackSelector.cc | sebwieland/cmssw | 431e2fdfedec052e73c16e9f06de98ade41ebc56 | [
"Apache-2.0"
] | null | null | null | /*
* class HLTMuonTrackSelector
*
* See header file for documentation
*
* Author: Kyeongpil Lee (kplee@cern.ch)
*
*/
#include "HLTMuonTrackSelector.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
#inclu... | 33.377049 | 109 | 0.698183 | sebwieland |
d21cbd4864f9361dc157fa57ac57f019c1a708fa | 20,839 | cxx | C++ | dev/ese/src/os/event.cxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | 1 | 2021-02-02T07:04:07.000Z | 2021-02-02T07:04:07.000Z | dev/ese/src/os/event.cxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | null | null | null | dev/ese/src/os/event.cxx | augustoproiete-forks/microsoft--Extensible-Storage-Engine | a38945d2147167e3fa749594f54dae6c7307b8da | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "osstd.hxx"
ULONG g_cbEventHeapMax;
#include <malloc.h>
LOCAL CRITICAL_SECTION g_csEventCache;
LOCAL BOOL g_fcsEventCacheInit;
#ifdef DISABLE_EVENT_LOG
void COSLayerPreInit::SetEventLogCache( ULONG cbEventCache ) {}
#else
NTO... | 32.40902 | 193 | 0.478574 | augustoproiete-forks |
d21f36e288f9158449eec0a8719f3bb6bfe590ec | 337 | cpp | C++ | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 24 | 2018-01-24T22:05:14.000Z | 2022-03-28T00:46:09.000Z | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 106 | 2020-11-09T01:25:33.000Z | 2022-03-15T08:32:26.000Z | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 18 | 2020-10-09T20:15:53.000Z | 2022-03-27T07:29:20.000Z | #include "RadioHandler.h"
bool RadioHardware::FX3SetGPIO(uint32_t mask)
{
gpios |= mask;
return Fx3->Control(GPIOFX3, gpios);
}
bool RadioHardware::FX3UnsetGPIO(uint32_t mask)
{
gpios &= ~mask;
return Fx3->Control(GPIOFX3, gpios);
}
RadioHardware::~RadioHardware()
{
if (Fx3) {
FX3SetGPI... | 15.318182 | 47 | 0.652819 | ji3gab |
d22068426ebeea0934b49c935dde4027ca611721 | 1,144 | cpp | C++ | Emissions/Set_Link_List.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | Emissions/Set_Link_List.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | Emissions/Set_Link_List.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Set_Link_List.cpp - process the link equivalence data
//*********************************************************
#include "Emissions.hpp"
//---------------------------------------------------------
// Set_Link_List
//-------------------------------------... | 20.8 | 66 | 0.447552 | kravitz |
d221f39e2027e747d0dd2236eeee8d3c71a3e497 | 483 | hpp | C++ | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | // Copyright (c) 2018 The Open-Transactions developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "Internal.hpp"
#include "opentxs/crypt... | 26.833333 | 70 | 0.73913 | nopdotcom |
d2220f308dcec53eeb3d7d6538278fbad7c7e71f | 209 | cpp | C++ | FlappyBird/src/FlappyBirdApp.cpp | HSadeghein/FlappyBird | 749f60fd27dd881736ac55b73826d43f74f71332 | [
"MIT"
] | 1 | 2019-11-06T10:03:11.000Z | 2019-11-06T10:03:11.000Z | FlappyBird/src/FlappyBirdApp.cpp | HSadeghein/FlappyBird | 749f60fd27dd881736ac55b73826d43f74f71332 | [
"MIT"
] | null | null | null | FlappyBird/src/FlappyBirdApp.cpp | HSadeghein/FlappyBird | 749f60fd27dd881736ac55b73826d43f74f71332 | [
"MIT"
] | null | null | null | #include<Immortal.h>
class FlappyBird : public Immortal::Application
{
public:
FlappyBird()
{
}
~FlappyBird()
{
}
};
Immortal::Application* Immortal::CreateApplication()
{
return new FlappyBird();
} | 11 | 52 | 0.69378 | HSadeghein |
d2267f043aec24676ea34be8e9b74b96faefc809 | 1,849 | cc | C++ | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : samplegrp_test.cc
* Description : Unit testing for Sample group class
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
****************************************************************************... | 29.349206 | 80 | 0.581395 | NTUHEP-Tstar |
d22896ef2b14f1c790d7a201fd476e336b53d5a5 | 14,888 | cpp | C++ | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | #include "Source.hpp"
#include <iostream>
#include <fstream>
#include <ctype.h>
#include <algorithm>
#include <string>
#include <string_view>
#include "CompileContext.hpp"
#include "Error.hpp"
#include "ConstantManager.hpp"
#include "Compiler.hpp"
#include "Ast.hpp"
#include "Statement.hpp"
#ifdef WINDOWS
#include <wi... | 24.12966 | 123 | 0.592558 | fencl |
d22b970154e210c38ed25204a58b0638e7f62605 | 458 | cpp | C++ | libraries/networking/src/NodeData.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 272 | 2021-01-07T03:06:08.000Z | 2022-03-25T03:54:07.000Z | libraries/networking/src/NodeData.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 1,021 | 2020-12-12T02:33:32.000Z | 2022-03-31T23:36:37.000Z | libraries/networking/src/NodeData.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 77 | 2020-12-15T06:59:34.000Z | 2022-03-23T22:18:04.000Z | //
// NodeData.cpp
// libraries/networking/src
//
// Created by Stephen Birarda on 2/19/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "NodeData.h"
NodeData::No... | 21.809524 | 88 | 0.696507 | Darlingnotin |
d22e959e01a66ccdc2bd90337a1e1e811f83ffaf | 2,119 | hpp | C++ | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | /* Boost interval/compare/set.hpp template implementation file
*
* Copyright Guillaume Melquiond 2002-2003
* Permission to use, copy, modify, sell, and distribute this software
* is hereby granted without fee provided that the above copyright notice
* appears in all copies and that both that copyright notice and t... | 29.84507 | 81 | 0.754129 | OLR-xray |
d23000c42aac906690a6ab1287bf9f5559acfe05 | 843 | cpp | C++ | CodeForces/Solutions/1015D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/1015D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/1015D.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long
vector <ll> ans;
int main()
{
ll n, k, s;
cin >> n >> k >> s;
ll mx = n - 1;
if(s > (n - 1) * k || (s < k) ) {
printf("NO\n");
return 0;
}
ll prv = 1, pls = 0;
ll per = s / k;
if(s % k != 0) {
... | 17.204082 | 43 | 0.376038 | Shefin-CSE16 |
d231b6981bb75c523f0276942d2e2144eaa5505a | 9,857 | cpp | C++ | inetsrv/msmq/src/mqsec/certifct/cmqcert.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/msmq/src/mqsec/certifct/cmqcert.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/msmq/src/mqsec/certifct/cmqcert.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
cmqcert.cpp
Abstract:
Implement the methods of class CMQSigCertificate
Author:
Doron Juster (DoronJ) 04-Dec-1997
Revision History:
--*/
#include <stdh_sec.h>
#include "certifct.h"
#include "cmqcert.tmh"
static WCHAR ... | 27.456825 | 115 | 0.530587 | npocmaka |
d2339c2a2e67c474fcc62c9003793232129366b0 | 355 | cpp | C++ | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | null | null | null | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | 1 | 2018-04-05T15:06:04.000Z | 2018-04-15T21:46:44.000Z | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | null | null | null | #include <iostream>
#include "A.h"
#include "B.h"
#include "C.h"
using namespace std;
int main(){
ClassA msg_a;
msg_a = ClassA();
ClassB msg_b;
msg_b = ClassB();
ClassC msg_c;
msg_c = ClassC();
cout<<msg_a.getA()<<endl;
cout<<msg_b.getB()<<endl;
cout<<msg_c.... | 14.2 | 30 | 0.535211 | matbentancur |
d2398630f54d13522c03b861d8d20976fa9aebdb | 5,937 | hpp | C++ | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | /********************************************************************
Sorting/Selection functions for the Go-ICP Algorithm
Last modified: Jan 27, 2015
"Go-ICP: Solving 3D Registration Efficiently and Globally Optimally"
Jiaolong Yang, Hongdong Li, Yunde Jia
International Conference on Computer Vision (ICCV), 2013
Cop... | 18.787975 | 95 | 0.593397 | MrJia1997 |
d23e8ce8d08e98652ed7d04b5bdfdd9855ff24b6 | 407 | hpp | C++ | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #ifndef COMPARE_VERSION_NUMBERS_HPP_
#define COMPARE_VERSION_NUMBERS_HPP_
#include <string>
#include <vector>
using namespace std;
class CompareVersionNumbers {
public:
int compareVersion(string version1, string version2);
private:
int compareDigitsString(string num1, string num2);
void tokenize(const ... | 20.35 | 67 | 0.786241 | yanzhe-chen |
d23f2d248759fa2add0110a18f9f9abaa7614df5 | 31,150 | cc | C++ | src/connectivity/bluetooth/core/bt-host/l2cap/bredr_command_handler_unittest.cc | EnderNightLord-ChromeBook/fuchsia-pine64-pinephone | 05e2c059b57b6217089090a0315971d1735ecf57 | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | src/connectivity/bluetooth/core/bt-host/l2cap/bredr_command_handler_unittest.cc | EnderNightLord-ChromeBook/fuchsia-pine64-pinephone | 05e2c059b57b6217089090a0315971d1735ecf57 | [
"BSD-3-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/l2cap/bredr_command_handler_unittest.cc | EnderNightLord-ChromeBook/fuchsia-pine64-pinephone | 05e2c059b57b6217089090a0315971d1735ecf57 | [
"BSD-3-Clause"
] | 2 | 2020-10-25T01:13:49.000Z | 2020-10-26T02:32:13.000Z | // Copyright 2018 The Fuchsia 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 "src/connectivity/bluetooth/core/bt-host/l2cap/bredr_command_handler.h"
#include <lib/async/cpp/task.h>
#include <memory>
#include <unordered_ma... | 37.127533 | 100 | 0.71923 | EnderNightLord-ChromeBook |
d240095031c8d3e133801299163fc595b6244045 | 1,090 | cpp | C++ | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 42 | 2017-09-21T16:51:12.000Z | 2020-03-12T09:44:32.000Z | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 32 | 2017-09-21T06:31:08.000Z | 2017-10-20T00:52:58.000Z | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 3 | 2018-10-30T11:29:18.000Z | 2019-07-18T08:19:51.000Z | // Copyright 2017 Francois Chabot
// (francois.chabot.dev@gmail.com)
//
// 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 "abulafia/abulafia.h"
#include "gtest/gtest.h"
using namespace abu;
static_assert(c... | 31.142857 | 80 | 0.704587 | FrancoisChabot |
d240ed2bde9c335bdd5f4a52c127bd3a9fa677eb | 4,246 | hpp | C++ | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | 3 | 2015-04-30T15:41:51.000Z | 2018-12-28T05:47:18.000Z | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | null | null | null | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | null | null | null | #ifndef __SHZ_MATH_FRUSTUM__
#define __SHZ_MATH_FRUSTUM__
#include <array>
#include <shz/math/matrix.hpp>
#include <shz/math/plane.hpp>
namespace shz{ namespace math{
template <typename T> struct frustum {
static const size_t num_planes = 6;
frustum(){}
frustum(const shz::math::matrix<T, 4, 4>& clip){
gen... | 20.512077 | 68 | 0.537447 | TraxNet |
d240f6b09f2be76740fce5c84508a4a01ed2a6e3 | 664 | hpp | C++ | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | #include <sfc/coprocessor/icd2/icd2.hpp>
#include <sfc/coprocessor/mcc/mcc.hpp>
#include <sfc/coprocessor/nss/nss.hpp>
#include <sfc/coprocessor/event/event.hpp>
#include <sfc/coprocessor/sa1/sa1.hpp>
#include <sfc/coprocessor/superfx/superfx.hpp>
#include <sfc/coprocessor/armdsp/armdsp.hpp>
#include <sfc/coprocessor... | 31.619048 | 52 | 0.789157 | mp-lee |
d243a9b2d12fb0c76112ad0168a366771c23cfbe | 37,072 | cpp | C++ | applis/OLD-MICMAC-OLD/SaisieLiaisons.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 451 | 2016-11-25T09:40:28.000Z | 2022-03-30T04:20:42.000Z | applis/OLD-MICMAC-OLD/SaisieLiaisons.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 143 | 2016-11-25T20:35:57.000Z | 2022-03-01T11:58:02.000Z | applis/OLD-MICMAC-OLD/SaisieLiaisons.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 139 | 2016-12-02T10:26:21.000Z | 2022-03-10T19:40:29.000Z | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... | 27.178886 | 119 | 0.502563 | kikislater |
d2440f26f0465d0ebef1db5e21cbdd7ce5349b8a | 2,725 | cpp | C++ | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | 1 | 2017-11-19T17:02:34.000Z | 2017-11-19T17:02:34.000Z | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | null | null | null | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | null | null | null | /*
* MemoryManager.cpp
*
* Created on: Jan 24, 2018
* Author: Jordan Richards
*/
#include <trainer/MemoryManager.h>
#include <algorithm>
#include <vector>
#include <exception>
#include <functional>
namespace xtrainer{
Page::Page(PageInfo&& p, int expiration): expirationTime(expiration){
size = p.size();
add... | 24.772727 | 98 | 0.659817 | thefinalstarman |
d24465231e656c2308669981180c36530374d81f | 14,271 | cpp | C++ | Unix/samples/Providers/TestClass_MethodProvider_Calc/TestClass_MethodProvider_Calc.cpp | HydAu/omi | d5329f01f826430b4148264e64aa11ebeede1bf8 | [
"MIT"
] | null | null | null | Unix/samples/Providers/TestClass_MethodProvider_Calc/TestClass_MethodProvider_Calc.cpp | HydAu/omi | d5329f01f826430b4148264e64aa11ebeede1bf8 | [
"MIT"
] | null | null | null | Unix/samples/Providers/TestClass_MethodProvider_Calc/TestClass_MethodProvider_Calc.cpp | HydAu/omi | d5329f01f826430b4148264e64aa11ebeede1bf8 | [
"MIT"
] | null | null | null | /*
**==============================================================================
**
** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE
** for license information.
**
**==============================================================================
*/
/* @statikgen@ */
#include "MI.h"
#incl... | 32.731651 | 148 | 0.701563 | HydAu |
d2447e0884454edf39881ca6dfc42381c63e3d72 | 16,498 | cpp | C++ | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | /**
* @file main.cpp
* @author Faaux (github.com/Faaux)
* @date 11 February 2018
*/
#include "main.h"
#include <ImGuizmo.h>
#include <SDL.h>
#include "components/SceneComponent.h"
#include "components/StaticMeshComponent.h"
#include "engine/Messaging.h"
#include "engine/Types.h"
#include "engine/WorldEd... | 35.403433 | 100 | 0.582798 | Faaux |
d244ca6df6310dae68ec5d4d358bbb96b796fe5e | 7,257 | hxx | C++ | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 14 | 2017-10-26T08:45:54.000Z | 2021-04-06T11:44:17.000Z | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 17 | 2017-10-09T20:11:58.000Z | 2018-11-08T22:05:14.000Z | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 1 | 2018-09-26T23:10:06.000Z | 2018-09-26T23:10:06.000Z | #pragma once
#ifndef MIRRAGE_ASSETMANAGER_INCLUDED
#include "asset_manager.hpp"
#endif
#ifndef __clang_analyzer__
#include <async++.h>
#endif
namespace mirrage::asset {
template <class R>
auto Ptr<R>::get_blocking() const -> const R&
{
if(_cached_result)
return *_cached_result;
return *(_cached_result = ... | 27.384906 | 103 | 0.668596 | lowkey42 |
d248323b3cd912d5d4b11c311addd99d0b59a569 | 593 | hpp | C++ | multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/config.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/config.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/perceive/calibration/position-scene-cameras/config.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#pragma once
namespace perceive::calibration::position_scene_cameras
{
// ---------------------------------------------------------------------- config
struct Config
{
bool show_help = false;
bool has_error = false;
string outdir = "/tmp"s;
string scene_id = ""s;
string man... | 23.72 | 80 | 0.58516 | prcvlabs |
d24aa6ef3cc44a99bd9fb72d93286b63ff625193 | 2,605 | cpp | C++ | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | //TestEuropeanOptionPriceCurve.cpp
//purpose: source file to display European Put and Call option prices on one Excel sheet
//author: bondxue
//version: 1.0 21/01/2017
#include <iostream>
#include <cmath>
#include <list>
#include <string>
#include <iostream>
#include "EuropeanOption.hpp"
#include "Mesher.hpp"
#include... | 28.626374 | 121 | 0.667946 | bondxue |
d24c668e49c2c6fadf027cfe75345dc94e38326a | 1,000 | cpp | C++ | SDL/Game9/SpriteComponent.cpp | blAs1N/C-programming | 3ab83a00dab6e3d9cfe97c514115308ad2333387 | [
"MIT"
] | 4 | 2018-06-17T11:47:16.000Z | 2018-10-01T14:01:55.000Z | SDL/Game9/SpriteComponent.cpp | blAs1N/TIL | 3ab83a00dab6e3d9cfe97c514115308ad2333387 | [
"MIT"
] | null | null | null | SDL/Game9/SpriteComponent.cpp | blAs1N/TIL | 3ab83a00dab6e3d9cfe97c514115308ad2333387 | [
"MIT"
] | null | null | null | #include "SpriteComponent.h"
#include "Actor.h"
#include "Game.h"
#include "Renderer.h"
#include "Shader.h"
#include "Texture.h"
SpriteComponent::SpriteComponent(Actor* inOwner, const int inDrawOrder)
: Component(inOwner),
texture(nullptr),
drawOrder(inDrawOrder),
width(0),
height(0) {
owner->GetGame()->GetRend... | 23.809524 | 71 | 0.73 | blAs1N |
d24d90941574c88a92f21570307214a2bf5acb18 | 4,903 | cpp | C++ | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | #include "path.hpp"
#include "config.hpp"
#include "miller.hpp"
#include <filesystem>
#include <set>
#include <ncurses.h>
#include "libft-detect.hpp"
/**
* Populate the content of a directory
*
* @param content: content to populate
* @param path: path tracked by the content
*/
static void populateContent(Con... | 24.034314 | 95 | 0.587599 | Ocisra |
d2523be15dde118f8aa468c90dec363da08d3d01 | 12,971 | cpp | C++ | ContextNotify/src/Drawer.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | ContextNotify/src/Drawer.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | ContextNotify/src/Drawer.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | // Copyright (c) 2007-2009 Google Inc.
// Copyright (c) 2006-2007 Jaiku Ltd.
// Copyright (c) 2002-2006 Mika Raento and Renaud Petit
//
// This software is licensed at your choice under either 1 or 2 below.
//
// 1. MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of thi... | 24.24486 | 97 | 0.704726 | crutchwalkfactory |
d25542995768c153bea9ec40493608959bf66467 | 11,764 | hpp | C++ | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------... | 116.475248 | 231 | 0.562734 | 2bite |
d259620e891f8515d136f8a63fab93fdf75ca5c7 | 902 | cpp | C++ | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 22 | 2019-08-27T13:59:26.000Z | 2022-02-18T07:40:36.000Z | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 2 | 2021-04-14T13:07:48.000Z | 2021-10-16T16:32:20.000Z | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 2 | 2019-10-10T00:14:08.000Z | 2022-02-03T03:42:36.000Z | #include "stdafx.h"
#include "WriteStream.h"
HRESULT WriteStream::write( const void* lpBuffer, int nNumberOfBytesToWrite )
{
if( nullptr == m_file )
return OLE_E_BLANK;
if( nNumberOfBytesToWrite < 0 )
return E_INVALIDARG;
const size_t cb = (size_t)nNumberOfBytesToWrite;
const size_t written = fwrite( lpBuffer,... | 22.55 | 77 | 0.694013 | Const-me |
d25c22d9c0902ad11ab22ba6494471bb44d17a26 | 1,077 | cpp | C++ | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | /**
* CSC232 - Data Structures
* Missouri State University, Fall 2020
*
* Quiz 1
*
* @author Jim Daehn <jdaehn@missouristate.edu>
* @file quiz01.cpp
*/
#include <cstdlib>
#include <iostream>
#define FALSE 0
#define TRUE 1
#define USE_CODE_ON_QUIZ TRUE
#define USE_ANSWER FALSE
int main()
{
// These we... | 18.568966 | 61 | 0.581244 | msu-csc232-fa20 |
d25e979d9a463a3a6bc35fa187d2422758fffb77 | 1,067 | cc | C++ | third_party/blink/renderer/core/execution_context/agent.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/execution_context/agent.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/execution_context/agent.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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/core/execution_context/agent.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blin... | 32.333333 | 76 | 0.743205 | sarang-apps |
d25f4202a845b7f46bcef8f818fcce2d9267fe50 | 21,886 | cpp | C++ | apiwznm/PnlWznmSteAAction.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | 3 | 2020-09-20T16:24:48.000Z | 2021-12-01T19:44:51.000Z | apiwznm/PnlWznmSteAAction.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | apiwznm/PnlWznmSteAAction.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | /**
* \file PnlWznmSteAAction.cpp
* API code for job PnlWznmSteAAction (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#include "PnlWznmSteAAction.h"
using namespace std;
using namespace S... | 33.984472 | 209 | 0.674861 | mpsitech |
d25f7144b9c0a7df5bf6730782097d00adeb27ee | 779 | cpp | C++ | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2020-08-27 18:48:19
* @Last Modified by: gpinchon
* @Last Modified time: 2021-01-11 08:42:39
*/
#include "Common.hpp"
#include <glm/vec3.hpp>
static glm::vec3 s_up(0, 1, 0);
static glm::vec3 s_forward(0, 0, -1);
static glm::vec3 s_right(1, 0, 0);
static glm::vec3 s_gravity(0, -9.81... | 14.425926 | 42 | 0.634146 | Gpinchon |
d26095c87fa7d7e53d68bdb03faed399795558f5 | 81,548 | cpp | C++ | Source/ThirdParty/ANGLE/src/libANGLE/renderer/glslang_wrapper_utils.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/ThirdParty/ANGLE/src/libANGLE/renderer/glslang_wrapper_utils.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/ThirdParty/ANGLE/src/libANGLE/renderer/glslang_wrapper_utils.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | //
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Wrapper for Khronos glslang compiler.
//
#include "libANGLE/renderer/glslang_wrapper_utils.h"
// glslang has issues with some specific warn... | 40.591339 | 100 | 0.646969 | jacadcaps |
d921e987a4979cd17b7dbbe1bed47efc0f2d1827 | 9,434 | cc | C++ | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | // src/Scanner.cc generated by reflex 2.1.5 from src/lexer.l
#define REFLEX_VERSION "2.1.5"
////////////////////////////////////////////////////////////////////////////////
// //
// OPTIONS USED ... | 36.42471 | 1,015 | 0.321391 | avartak |
d92409824eee962a1b00965b618371f31ac842cf | 5,311 | cpp | C++ | octopi/library/tests_octopus/t_entity.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2019-01-22T23:34:37.000Z | 2021-10-31T15:44:15.000Z | octopi/library/tests_octopus/t_entity.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | 2 | 2020-06-01T16:35:46.000Z | 2021-10-05T21:02:09.000Z | octopi/library/tests_octopus/t_entity.cpp | fredhamster/feisty_meow | 66dc4221dc485a5cf9e28b724fe36268e8843043 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************\
* *
* Name : octopus_entity tester *
* Author : Chris Koeritz *
... | 39.634328 | 100 | 0.588778 | fredhamster |
d928f48d649ebe372fe54378d0f88e54c952de03 | 576 | cpp | C++ | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | /**
* @file abc247-a.cpp
* @brief ABC247 Problem A - Move Right
* @author Keitaro Naruse
* @date 2022-04-10
* @copyright MIT License
* @details https://atcoder.jp/contests/abc247/tasks/abc247_a
*/
// # Solution
#include <iostream>
#include <string>
int main()
{
// Read | S | = [ 1, 10^6 ]
std::string S;
... | 17.454545 | 60 | 0.508681 | keitaronaruse |
d92a44e01d39b0743eb29ac2627ba0403bbe3358 | 1,155 | cpp | C++ | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | //-------------------- svmHistory.cpp --------------------------
//-----------------------------------------------------------
#include "precHeader.h"
//-----------------------------------------------------------
#include "svmHistory.h"
#include "svmObject.h"
//----------------------------------------------------------... | 35 | 84 | 0.401732 | NPaolini |
d92a876c94c41878cba040efe46b2fcd5c82c175 | 40,970 | cc | C++ | chrome/browser/views/toolbar_view.cc | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | chrome/browser/views/toolbar_view.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/views/toolbar_view.cc | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 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/views/toolbar_view.h"
#include <string>
#include "app/drag_drop_types.h"
#include "app/gfx/canvas.h"
#include "app/l10n_uti... | 37.144152 | 80 | 0.689041 | zachlatta |
d92c489965639b23cace54c0d5c25c0e87a5cb4f | 16,839 | cpp | C++ | mainapp/Classes/Games/Counting/CountingScene.cpp | JaagaLabs/GLEXP-Team-KitkitSchool | f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0 | [
"Apache-2.0"
] | 45 | 2019-05-16T20:49:31.000Z | 2021-11-05T21:40:54.000Z | mainapp/Classes/Games/Counting/CountingScene.cpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 123 | 2019-05-28T14:03:04.000Z | 2019-07-12T04:23:26.000Z | pehlaschool/Classes/Games/Counting/CountingScene.cpp | maqsoftware/Pehla-School-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 29 | 2019-05-16T17:49:26.000Z | 2021-12-30T16:36:24.000Z | //
// CountingScene.cpp
//
// Created by Gunho Lee on 6/26/16.
//
//
#include "CountingScene.hpp"
#include <string>
#include <vector>
#include <numeric>
#include <algorithm>
#include "ui/CocosGUI.h"
#include "Managers/GameSoundManager.h"
#include "Managers/LanguageManager.hpp"
#include "Managers/StrictLogManager.h... | 31.952562 | 155 | 0.59285 | JaagaLabs |
d92ca35877a6024fce9849069d63a77850dcb12c | 11,476 | cpp | C++ | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | 1 | 2019-01-12T15:30:46.000Z | 2019-01-12T15:30:46.000Z | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | null | null | null | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | null | null | null | #include "Devcon.h"
#include "DevconDump.h"
#include "DevconDumpMsg.h"
#include "DevconCmd.h"
int CmdClassDeviceList(LPCTSTR BaseName, LPCTSTR Machine, int argc, TCHAR* argv[], LPTSTR* rslts[])
/*++
Routine Description:
LISTCLASS <name>....
lists all devices for each specified class
there can be more than o... | 28.834171 | 133 | 0.629313 | bhbk |
d92ef2f2876440f6b057ff0051e235de10df37d9 | 6,724 | cpp | C++ | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | 4 | 2015-03-04T19:22:55.000Z | 2020-01-06T02:31:48.000Z | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | null | null | null | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | null | null | null | #include "renderer.h"
#include "engine.h"
#include "enums.h"
#include "config.h"
#include "cli.h"
#include "texture.h"
#include "sampler.h"
#include <math.h>
#include <climits>
#define GLM_FORCE_RADIANS
#include <glm/gtc/matrix_transform.hpp>
Renderer::Renderer(Engine& e, const char* name)
: renderables ()
, rend... | 26.896 | 96 | 0.654819 | baines |
d930dfa0ae50ab72dc0a28bebcfb5395332b81d0 | 3,029 | hh | C++ | src/bugengine/filesystem/api/bugengine/filesystem/file.script.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | src/bugengine/filesystem/api/bugengine/filesystem/file.script.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | src/bugengine/filesystem/api/bugengine/filesystem/file.script.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | /* BugEngine <bugengine.devel@gmail.com>
see LICENSE for detail */
#ifndef BE_FILESYSTEM_FILE_FILE_SCRIPT_HH_
#define BE_FILESYSTEM_FILE_FILE_SCRIPT_HH_
/**************************************************************************************************/
#include <bugengine/filesystem/stdafx.h>
#include <bugengine/c... | 25.453782 | 100 | 0.522615 | bugengine |
d9317204781e2433c47d7c13b28a2a0544a4f8d9 | 3,049 | cc | C++ | ui/app_list/views/contents_switcher_view.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-16T03:57:28.000Z | 2021-01-23T15:29:45.000Z | ui/app_list/views/contents_switcher_view.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/app_list/views/contents_switcher_view.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | // Copyright 2014 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 "ui/app_list/views/contents_switcher_view.h"
#include "ui/app_list/app_list_constants.h"
#include "ui/app_list/views/contents_view.h"
#include "... | 30.79798 | 77 | 0.706789 | shaochangbin |
d931b4bb767b99e5cae981643443bc7174c7d905 | 14,119 | cc | C++ | chrome/browser/ui/popup_browsertest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/browser/ui/popup_browsertest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/browser/ui/popup_browsertest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 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 <string>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrom... | 45.692557 | 80 | 0.69148 | DamieFC |
d936b766a505e6cd6421edc87ac30e7780876df4 | 2,501 | cpp | C++ | shiva20rapidjson/Plugins/com.tris.rjson/Sources/Plugin.cpp | broozar/ShiVaRapidJSON | ab54f2bdfe9cd5a4e32406b550a625b1c00d19be | [
"Apache-2.0"
] | null | null | null | shiva20rapidjson/Plugins/com.tris.rjson/Sources/Plugin.cpp | broozar/ShiVaRapidJSON | ab54f2bdfe9cd5a4e32406b550a625b1c00d19be | [
"Apache-2.0"
] | null | null | null | shiva20rapidjson/Plugins/com.tris.rjson/Sources/Plugin.cpp | broozar/ShiVaRapidJSON | ab54f2bdfe9cd5a4e32406b550a625b1c00d19be | [
"Apache-2.0"
] | null | null | null | //-----------------------------------------------------------------------------
#include "PrecompiledHeader.h"
//-----------------------------------------------------------------------------
#include <string.h>
//-----------------------------------------------------------------------------
S3DX_IMPLEMENT_AIVARIABL... | 39.698413 | 175 | 0.390244 | broozar |
d9377566991fcc98197f718a02819e663ee27093 | 855 | cpp | C++ | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/Util.h"
#include <sstream>
#include <string>
#include <vector>
#include <imgui.h>
void sysid::CreateT... | 23.108108 | 74 | 0.676023 | KyleQ1 |
d937915bb1a35782e9a8914bb04dc600518feb56 | 6,423 | cpp | C++ | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2022, the Ginkgo authors
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 co... | 38.005917 | 78 | 0.656391 | JakubTrzcskni |
d93834ddbaa5d939a8a4385aa2883b48255053a7 | 3,367 | cpp | C++ | TAO/examples/AMI/FL_Callback/progress.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/examples/AMI/FL_Callback/progress.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/examples/AMI/FL_Callback/progress.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: progress.cpp 97190 2013-06-05 20:13:29Z mesnier_p $
#include "Progress_i.h"
#include "ace/Get_Opt.h"
#include "ace/OS_NS_stdio.h"
#include "tao/FlResource/FlResource_Loader.h"
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
const ACE_TCHAR *ior_output_file = ACE_TEXT("progress.ior");
int n_iterations = 1000;
in... | 25.70229 | 77 | 0.50995 | cflowe |
d938e18befaae9e3bd7f86f42559caa27dbb0250 | 36,655 | cpp | C++ | inetsrv/iis/svcs/cmp/asp/debugger.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/cmp/asp/debugger.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/cmp/asp/debugger.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*===================================================================
Microsoft Denali
Microsoft Confidential.
Copyright 1997 Microsoft Corporation. All Rights Reserved.
Component: misc
File: util.cpp
Owner: DGottner
This file contains debugger utility functions
=======================================... | 31.571921 | 140 | 0.517801 | npocmaka |
d9399880189f27bd5e1d4eb31ece04c6f4fd198e | 1,820 | cc | C++ | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <string>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 1309.
* Decrypt String from Alphabet to Integer Mapping
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* You are given a string ‘s’ for... | 25.277778 | 75 | 0.535165 | vNaonLu |
d93f27f778a565a45c114b985a25a601b82867f6 | 3,865 | hpp | C++ | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------... | 42.944444 | 161 | 0.686158 | 2bite |
d93fdb9f6e0fdeebf1f4d05913e9536ebe9b383c | 1,055 | hpp | C++ | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | 1 | 2021-08-30T18:02:49.000Z | 2021-08-30T18:02:49.000Z | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | /*
* 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)
*
* Copyright (c) 2020 Andrey Semashev
*/
/*!
* \file atomic/detail/wait_caps_dragonfly_umtx.hpp
*
* This header defines waiting/notifying operations cap... | 34.032258 | 146 | 0.824645 | 107-systems |
d9409cbbe2b6fa384db0888d8d6ee9a87ab578d0 | 42,365 | cpp | C++ | framework/hpp_api_vulkan_sample.cpp | jwinarske/Vulkan-Samples | 11a0eeffa223e3c049780fd783900da0bfe50431 | [
"Apache-2.0"
] | 20 | 2020-03-25T17:57:32.000Z | 2022-03-12T08:16:10.000Z | framework/hpp_api_vulkan_sample.cpp | JasonWinston/Vulkan-Samples | fe3fd6435e5f209b00d72a85004f189d01debee4 | [
"Apache-2.0"
] | 1 | 2020-02-18T07:08:52.000Z | 2020-02-18T07:08:52.000Z | framework/hpp_api_vulkan_sample.cpp | JasonWinston/Vulkan-Samples | fe3fd6435e5f209b00d72a85004f189d01debee4 | [
"Apache-2.0"
] | 1 | 2020-04-12T16:23:18.000Z | 2020-04-12T16:23:18.000Z | /* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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/lic... | 38.063792 | 164 | 0.734167 | jwinarske |
d9457793291e785a08605435946b202f9931092b | 3,219 | hh | C++ | silo/masstree/hashcode.hh | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 579 | 2019-02-24T20:58:06.000Z | 2022-03-31T08:56:48.000Z | silo/masstree/hashcode.hh | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 64 | 2019-02-25T02:48:31.000Z | 2022-03-30T03:38:40.000Z | silo/masstree/hashcode.hh | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 86 | 2019-02-28T01:40:50.000Z | 2022-02-23T08:02:26.000Z | /* Masstree
* Eddie Kohler, Yandong Mao, Robert Morris
* Copyright (c) 2012-2013 President and Fellows of Harvard College
* Copyright (c) 2012-2013 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation... | 26.825 | 77 | 0.726313 | anshsarkar |
d947e3baf055e1e080d2544c76a3526f6d37bcff | 5,232 | cpp | C++ | service/resource-container/android/resource-container/src/main/jni/JniRcsResourceAttributes.cpp | jongsunglee/test_iotivity | 809ccf01cc31e663e177e0292e17099dc06502bd | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | service/resource-container/android/resource-container/src/main/jni/JniRcsResourceAttributes.cpp | jongsunglee/test_iotivity | 809ccf01cc31e663e177e0292e17099dc06502bd | [
"Apache-2.0"
] | 21 | 2019-10-02T08:31:36.000Z | 2021-12-09T21:46:49.000Z | service/resource-container/android/resource-container/src/main/jni/JniRcsResourceAttributes.cpp | jongsunglee/test_iotivity | 809ccf01cc31e663e177e0292e17099dc06502bd | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | /******************************************************************
*
* Copyright 2015 Samsung Electronics 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
*
... | 29.897143 | 98 | 0.687882 | jongsunglee |