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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee5163f6688dce211845577c668c980e453285fd | 3,737 | cpp | C++ | src/backends/cl/test/Fp16SupportTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | src/backends/cl/test/Fp16SupportTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | src/backends/cl/test/Fp16SupportTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <armnn/Descriptors.hpp>
#include <armnn/IRuntime.hpp>
#include <armnn/INetwork.hpp>
#include <Half.hpp>
#include <Graph.hpp>
#include <Optimizer.hpp>
#include <backendsCommon/CpuTensorHandle.hpp>
#include <boost/core/ign... | 33.666667 | 107 | 0.732138 | korabelnikov |
ee517b57c817336d7f94399562147e452ef994d1 | 340 | hh | C++ | include/utils.hh | Stalker2106x/Mini8BVM | d384ad30f6c870b32aa8e4b9d00705a1406779ad | [
"MIT"
] | 1 | 2021-11-30T06:52:58.000Z | 2021-11-30T06:52:58.000Z | include/utils.hh | Stalker2106x/Mini8BVM | d384ad30f6c870b32aa8e4b9d00705a1406779ad | [
"MIT"
] | null | null | null | include/utils.hh | Stalker2106x/Mini8BVM | d384ad30f6c870b32aa8e4b9d00705a1406779ad | [
"MIT"
] | null | null | null | #ifndef UTILS_HH_
#define UTILS_HH_
#include <string>
#include "config.h"
#define HEX_DELIM 'x'
#define BIN_DELIM 'b'
long long int int128FromString(std::string str);
template <wordSizeType WordSize>
std::string binStringFromInt128(long long int value)
{
return (std::bitset<WordSize>(value).to_string());
}
#en... | 18.888889 | 54 | 0.738235 | Stalker2106x |
ee52224c99fdfec2563dad899f89884ef4240be6 | 6,017 | cpp | C++ | source/EvalVar.cpp | xzrunner/shadergraph | a5bf002b40738010ef4d9870f507d4faf07ba893 | [
"MIT"
] | 1 | 2018-12-04T15:32:42.000Z | 2018-12-04T15:32:42.000Z | source/EvalVar.cpp | xzrunner/shadergraph | a5bf002b40738010ef4d9870f507d4faf07ba893 | [
"MIT"
] | null | null | null | source/EvalVar.cpp | xzrunner/shadergraph | a5bf002b40738010ef4d9870f507d4faf07ba893 | [
"MIT"
] | null | null | null | #include "shadergraph/EvalVar.h"
#include "shadergraph/Variant.h"
#include "shadergraph/ValueImpl.h"
#include "shadergraph/block/Float2.h"
#include <cpputil/StringHelper.h>
#include <assert.h>
namespace shadergraph
{
std::shared_ptr<Value>
EvalVar::ValueTrans(const Variant& var, VarType type)
{
if (var.type ==... | 28.516588 | 156 | 0.551105 | xzrunner |
ee55f79803751596b833422ab0647a76385770d0 | 78 | hpp | C++ | src/boost_numeric_odeint_stepper_generation_generation_rosenbrock4.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_numeric_odeint_stepper_generation_generation_rosenbrock4.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_numeric_odeint_stepper_generation_generation_rosenbrock4.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp>
| 39 | 77 | 0.858974 | miathedev |
ee563871c9ed5e0de6c33f102232f6084ec6c980 | 3,111 | cc | C++ | test/data_serialize/main.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | test/data_serialize/main.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | test/data_serialize/main.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | /*
* Copyright 2013 Stanford University.
* 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 co... | 31.11 | 72 | 0.697525 | schinmayee |
ee587dffa973ab80e44909d551edc1a0508fa814 | 4,402 | cpp | C++ | clicache/src/Objects.cpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 48 | 2017-02-08T22:24:07.000Z | 2022-02-06T02:47:56.000Z | clicache/src/Objects.cpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 388 | 2017-02-13T17:09:45.000Z | 2022-03-29T22:18:39.000Z | clicache/src/Objects.cpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 68 | 2017-02-09T18:43:15.000Z | 2022-03-14T22:59:13.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 27.006135 | 79 | 0.689232 | rhoughton-pivot |
ee5a71d6030465c1a479905f845f5fe986fa4be9 | 10,563 | cpp | C++ | src/shape2d.cpp | myociss/pathfinder | 4c0b14e074cfc8f0e41836abc056989f2d465c12 | [
"MIT"
] | null | null | null | src/shape2d.cpp | myociss/pathfinder | 4c0b14e074cfc8f0e41836abc056989f2d465c12 | [
"MIT"
] | null | null | null | src/shape2d.cpp | myociss/pathfinder | 4c0b14e074cfc8f0e41836abc056989f2d465c12 | [
"MIT"
] | null | null | null | #include "shape2d.hpp"
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
//#include <sort.h>
using namespace Eigen;
using namespace std;
Shape2d::Shape2d(unsigned long int _id, int _numVertices, double _weight){
id=_id;
numVertices=_numVertices;
weight=_weight;
vertices.reserve(numVerti... | 26.809645 | 168 | 0.673672 | myociss |
ee5bff431b78418152a18d87387fdf6e5eebe22e | 1,147 | cpp | C++ | Day6_EvenOddString.cpp | Dkaban/30DaysOfCodePractice | a07bbefbd29fab22728402e2de25b2c086ed3749 | [
"MIT"
] | null | null | null | Day6_EvenOddString.cpp | Dkaban/30DaysOfCodePractice | a07bbefbd29fab22728402e2de25b2c086ed3749 | [
"MIT"
] | null | null | null | Day6_EvenOddString.cpp | Dkaban/30DaysOfCodePractice | a07bbefbd29fab22728402e2de25b2c086ed3749 | [
"MIT"
] | null | null | null | // THE PROBLEM
// ***************************
// Given a string, S , of length N that is indexed from 0 to N-1, print its even-indexed
// and odd-indexed characters as 2 space-separated strings on a single line.
// Note: 0 is considered to be an even index.
// Solution Created By: Dustin Kaban
// Date: June 1st, 2020
... | 20.482143 | 89 | 0.523104 | Dkaban |
ee5dc5830dbf201725bed848402eadf34cc54fae | 2,343 | hpp | C++ | Siv3D/src/Siv3D/Shader/GL/CShader_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/Shader/GL/CShader_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | null | null | null | Siv3D/src/Siv3D/Shader/GL/CShader_GL.hpp | Fuyutsubaki/OpenSiv3D | 4370f6ebe28addd39bfdd75915c5a18e3e5e9273 | [
"MIT"
] | 1 | 2019-10-06T17:09:26.000Z | 2019-10-06T17:09:26.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2018 Ryo Suzuki
// Copyright (c) 2016-2018 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Platform.hpp>
# ... | 24.925532 | 109 | 0.724285 | Fuyutsubaki |
ee602ff754eb713f5ee5f40e7faee640222c1d93 | 5,633 | cpp | C++ | extras/DemFiles/src/GridLib/RecordA.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | extras/DemFiles/src/GridLib/RecordA.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | extras/DemFiles/src/GridLib/RecordA.cpp | jebreimo/GridLib | a90a5299512eb01623881c62a1e5f73b9f2c2513 | [
"BSD-2-Clause"
] | null | null | null | //****************************************************************************
// Copyright © 2020 Jan Erik Breimo. All rights reserved.
// Created by Jan Erik Breimo on 2020-09-27.
//
// This file is distributed under the BSD License.
// License text is included with the source distribution.
//************************... | 39.391608 | 78 | 0.644239 | jebreimo |
ee621943b6e50ddee2c12886a961aba64ef11a73 | 1,528 | cpp | C++ | fxjs/xfa/cjx_area.cpp | aosp-caf-upstream/platform_external_pdfium | c8a0db7d7c3e0017de4eeeb69e434b5f3b6ee386 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | fxjs/xfa/cjx_area.cpp | aosp-caf-upstream/platform_external_pdfium | c8a0db7d7c3e0017de4eeeb69e434b5f3b6ee386 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | fxjs/xfa/cjx_area.cpp | aosp-caf-upstream/platform_external_pdfium | c8a0db7d7c3e0017de4eeeb69e434b5f3b6ee386 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "fxjs/xfa/cjx_area.h"
#include "xfa/fxfa/parser/cxfa_area.h"
CJX_Ar... | 30.56 | 80 | 0.657723 | aosp-caf-upstream |
ee63df5b7532e903b35e11f31434233845efc52c | 7,464 | cpp | C++ | src/linux/PeripheralBase.cpp | fidoriel/SimpleBLE | 6ffb6bec0624913c47d3bac36370bdd3e2744a15 | [
"MIT"
] | 2 | 2021-07-20T06:27:08.000Z | 2021-07-28T05:47:11.000Z | third_party/SimpleBLE/src/linux/PeripheralBase.cpp | HDPNC/brainflow | ede79fbd5fcc823c1c64bcc3af3e88b4d12177bf | [
"MIT"
] | null | null | null | third_party/SimpleBLE/src/linux/PeripheralBase.cpp | HDPNC/brainflow | ede79fbd5fcc823c1c64bcc3af3e88b4d12177bf | [
"MIT"
] | null | null | null | #include "PeripheralBase.h"
#include <simpleble/Exceptions.h>
#include "Bluez.h"
#include <iostream>
using namespace SimpleBLE;
using namespace std::chrono_literals;
PeripheralBase::PeripheralBase(std::shared_ptr<BluezDevice> device) {
device_ = device;
// NOTE: As Bluez will delete the object if it was ad... | 35.042254 | 113 | 0.703108 | fidoriel |
ee6516faf70ef7cc7b34e4633d03baa835bd3fd2 | 866 | cpp | C++ | QtQuickPlotScene/utils.cpp | pwuertz/QtQuickPlotScene | 6afb0f99132e29b705d991dfce6107f6732ffcbd | [
"MIT"
] | 10 | 2021-12-23T12:07:24.000Z | 2022-01-15T09:20:22.000Z | QtQuickPlotScene/utils.cpp | pwuertz/QtQuickPlotScene | 6afb0f99132e29b705d991dfce6107f6732ffcbd | [
"MIT"
] | null | null | null | QtQuickPlotScene/utils.cpp | pwuertz/QtQuickPlotScene | 6afb0f99132e29b705d991dfce6107f6732ffcbd | [
"MIT"
] | 2 | 2021-12-24T04:03:45.000Z | 2022-01-15T08:08:34.000Z | #include "utils.hpp"
#include <cmath>
Utils::Utils(QObject *parent) : QObject {parent} { }
std::pair<qreal, qreal> Utils::calcNiceNum(const qreal number, const bool logMode) noexcept
{
const auto exponent = std::floor(std::log10(number));
const auto fraction = number / std::pow(qreal(10), exponent);
auto niceP... | 33.307692 | 92 | 0.635104 | pwuertz |
ee65d7cba452972cc0e47752543c8e8f9f0383e6 | 2,491 | cpp | C++ | snapshotable_allocator_test.cpp | jyaif/snapshotable_allocator | 711dff8d6414265476bf8eb83eece563c0c183a8 | [
"MIT"
] | null | null | null | snapshotable_allocator_test.cpp | jyaif/snapshotable_allocator | 711dff8d6414265476bf8eb83eece563c0c183a8 | [
"MIT"
] | null | null | null | snapshotable_allocator_test.cpp | jyaif/snapshotable_allocator | 711dff8d6414265476bf8eb83eece563c0c183a8 | [
"MIT"
] | null | null | null | #include "application/memory/snapshotable_allocator.h"
#include "application/memory/snapshotable_allocator_impl.h"
#include "third_party/nex_test/src/test.h"
#include <cassert>
#include <cstdio>
template <class T>
void SnapshotTest() {
T sm;
auto snapshot1 = sm.NewEmptySnapshot();
sm.SaveMemoryIntoSnapshot(*sn... | 23.5 | 77 | 0.676435 | jyaif |
ee687c5ca3d58fe09e5bbd2c5682e697ca462a58 | 5,530 | cpp | C++ | Labirinto_AStar/mainwindow.cpp | Bernardo1411/Programacao_Avancada | 5005b60155648872ca9d4f374b3d9ea035aa33a3 | [
"MIT"
] | null | null | null | Labirinto_AStar/mainwindow.cpp | Bernardo1411/Programacao_Avancada | 5005b60155648872ca9d4f374b3d9ea035aa33a3 | [
"MIT"
] | null | null | null | Labirinto_AStar/mainwindow.cpp | Bernardo1411/Programacao_Avancada | 5005b60155648872ca9d4f374b3d9ea035aa33a3 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "labirinto.h"
#include <QFileDialog>
#include <QMessageBox>
#include <chrono>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
status = new QLabel("");
statusBar()->addWidget(stat... | 28.95288 | 95 | 0.55009 | Bernardo1411 |
ee6911d5e489b2224f74a0a45bc6f6287b928219 | 1,712 | cpp | C++ | examples/sapp/src/cpp/QRCodeScannerPage.cpp | emarc99/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 146 | 2017-03-21T07:50:43.000Z | 2022-03-19T03:32:22.000Z | examples/sapp/src/cpp/QRCodeScannerPage.cpp | Crasader/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 50 | 2017-03-22T04:08:15.000Z | 2019-10-21T16:55:48.000Z | examples/sapp/src/cpp/QRCodeScannerPage.cpp | Crasader/SLib | 4e492d6c550f845fd1b3f40bf10183097eb0e53c | [
"MIT"
] | 55 | 2017-03-21T07:52:58.000Z | 2021-12-27T13:02:08.000Z | /*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | 41.756098 | 82 | 0.728972 | emarc99 |
ee6bc87d34b309446f6f27f37856c10c4747d49f | 781 | cpp | C++ | src/application/gui/propertyeditor/EvSpiceNumberDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | 2 | 2017-02-01T11:05:26.000Z | 2017-07-10T13:26:29.000Z | src/application/gui/propertyeditor/EvSpiceNumberDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | null | null | null | src/application/gui/propertyeditor/EvSpiceNumberDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | null | null | null | #include "EvSpiceNumberDelegate.h"
#include "EvSpiceNumber.h"
#include <QLineEdit>
QWidget *EvSpiceNumberDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &) const
{
return new QLineEdit(parent);
}
void EvSpiceNumberDelegate::setEditorData(QWidget *editor, const QModelIndex... | 30.038462 | 118 | 0.75032 | kaabimg |
ee7367f08f54b7d91a1620b3461b3aa2538901c7 | 3,416 | cpp | C++ | test/coind_tests/data_test.cpp | frstrtr/cp2pool | 13a65a8c809fe559a52c6ca270b3646b38941a30 | [
"MIT"
] | 1 | 2020-02-01T12:39:08.000Z | 2020-02-01T12:39:08.000Z | test/coind_tests/data_test.cpp | frstrtr/cpool | 13a65a8c809fe559a52c6ca270b3646b38941a30 | [
"MIT"
] | null | null | null | test/coind_tests/data_test.cpp | frstrtr/cpool | 13a65a8c809fe559a52c6ca270b3646b38941a30 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <tuple>
#include <string>
#include <sstream>
#include <iostream>
#include <btclibs/uint256.h>
#include <btclibs/arith_uint256.h>
#include <libcoind/data.h>
using namespace std;
uint256 CreateUINT256(string _hex){
uint256 result;
result.SetHex(_hex);
return result;
}
TES... | 48.112676 | 141 | 0.780738 | frstrtr |
ee7520ad663d352625dd18ec50c6c4a6f7de3337 | 5,754 | hpp | C++ | cpp/Autogarden/include/pins/factory.hpp | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | cpp/Autogarden/include/pins/factory.hpp | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | cpp/Autogarden/include/pins/factory.hpp | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | #pragma once
#include <functional>
#include <pins/logic_input.hpp>
#include <pins/logic_input_pinset.hpp>
#include <pins/logic_output.hpp>
#include <pins/logic_output_pinset.hpp>
#include <pins/terminal.hpp>
#include <pins/terminal_pinset.hpp>
class IPinFactory {
public:
virtual ~IPinFactory() = default;
vir... | 49.603448 | 120 | 0.648766 | e-dang |
ee7667a329239c078ab356a01f4b4b182a551bbf | 978 | cpp | C++ | BeautifulCPPKateGregory/finding.cpp | przet/CppProgramming | 042aff253988b74db47659d36806912ce84dd8bc | [
"MIT"
] | null | null | null | BeautifulCPPKateGregory/finding.cpp | przet/CppProgramming | 042aff253988b74db47659d36806912ce84dd8bc | [
"MIT"
] | null | null | null | BeautifulCPPKateGregory/finding.cpp | przet/CppProgramming | 042aff253988b74db47659d36806912ce84dd8bc | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<vector>
#include<string>
int main ()
{
std::vector<int> v{1,2,3,5,100,4,7,4};
auto result = std::find(begin(v),end(v),100);
auto resultDeref = *result;
//STL find's return an iterator for generality: not everything
// can be nicely indexed
std::cout<< resultDeref ... | 32.6 | 128 | 0.668712 | przet |
ee77501335aab0a7dadba9907bbc0d0c49be8a6a | 926 | hpp | C++ | opengl_renderer/model.hpp | Learko/opengl_renderer | fa930fa0ebf739295f93b0b6ca44568805bf0943 | [
"MIT"
] | null | null | null | opengl_renderer/model.hpp | Learko/opengl_renderer | fa930fa0ebf739295f93b0b6ca44568805bf0943 | [
"MIT"
] | null | null | null | opengl_renderer/model.hpp | Learko/opengl_renderer | fa930fa0ebf739295f93b0b6ca44568805bf0943 | [
"MIT"
] | 1 | 2018-10-29T15:54:16.000Z | 2018-10-29T15:54:16.000Z | #pragma once
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <filesystem>
#include "mesh.hpp"
#include "primitives.hpp"
#include "shader.hpp"
namespace opengl {
class Model {
public:
using path = ... | 20.577778 | 90 | 0.719222 | Learko |
ee7962fd9b84f426a40056e2b612d38de1b0d3a2 | 10,239 | hpp | C++ | XMPCore/source/XMPUtils.hpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 88 | 2020-01-29T08:47:33.000Z | 2022-03-10T06:26:24.000Z | XMPCore/source/XMPUtils.hpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 40 | 2020-03-27T05:25:53.000Z | 2022-03-22T20:00:58.000Z | XMPCore/source/XMPUtils.hpp | LaudateCorpus1/XMP-Toolkit-SDK | a3c578859d0c6f6388059f7d6667a266647ef612 | [
"BSD-3-Clause"
] | 54 | 2020-01-29T05:38:09.000Z | 2022-03-31T11:03:09.000Z | #ifndef __XMPUtils_hpp__
#define __XMPUtils_hpp__
// =================================================================================================
// Copyright 2003 Adobe
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe li... | 33.135922 | 179 | 0.693818 | LaudateCorpus1 |
ee7a054aa84f0da0ef691965f7dd37607b2c6777 | 74,489 | cpp | C++ | src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | 1 | 2019-11-14T04:18:32.000Z | 2019-11-14T04:18:32.000Z | src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | /*
* $Id: DX9AllocatorPresenter.cpp 2691 2013-05-13 01:53:19Z aleksoid $
*
* (C) 2003-2006 Gabest
* (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | 29.606121 | 328 | 0.693592 | chinajeffery |
ee7a9c9c80b5703369dee510031a19daa3c35be2 | 2,228 | hpp | C++ | src/beast/include/beast/http/status.hpp | gcbpay/R9Ripple | 98f878cf10a32e26021b6a6ed44990bccbbc92c2 | [
"BSL-1.0"
] | 2 | 2017-06-09T10:56:26.000Z | 2021-05-28T12:58:33.000Z | include/beast/http/status.hpp | somayeghahari/beast | 999e2fa0318b5982736d3ea01a418770ea802671 | [
"BSL-1.0"
] | 1 | 2016-06-22T17:13:44.000Z | 2016-06-22T17:13:44.000Z | include/beast/http/status.hpp | somayeghahari/beast | 999e2fa0318b5982736d3ea01a418770ea802671 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BEAST_HTTP_STATUS_HPP
#define BEAST_HTTP_STATUS_HPP
namespace beast {
na... | 30.944444 | 79 | 0.678636 | gcbpay |
ee7c8f75e654c1e71fc25e7215f53e3ad4ccd233 | 1,157 | cpp | C++ | src/sleek/driver/context.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | src/sleek/driver/context.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | src/sleek/driver/context.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | #include "context.h"
#include "ogl3/ogl3_context.h"
//#include "ogl4/ogl4_context.h"
//#include "dx11/dx11_context.h"
//#include "dx12/dx12_context.h"
//#include "vk/vk_context.h"
//#include "metal/metal_context.h"
namespace sleek
{
namespace driver
{
context::context(std::shared_ptr<device::Device> ... | 26.295455 | 146 | 0.52204 | Phirxian |
ee803a602c550602de8f126b3584ff31694e58b1 | 1,957 | cpp | C++ | Modules/REPlatform/Sources/REPlatform/Scene/Private/Systems/EditorVegetationSystem.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Modules/REPlatform/Sources/REPlatform/Scene/Private/Systems/EditorVegetationSystem.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Modules/REPlatform/Sources/REPlatform/Scene/Private/Systems/EditorVegetationSystem.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "REPlatform/Scene/Systems/EditorVegetationSystem.h"
#include <Debug/DVAssert.h>
#include <Entity/Component.h>
#include <Render/Highlevel/RenderObject.h>
#include <Render/Highlevel/Vegetation/VegetationRenderObject.h>
#include <Scene3D/Components/ComponentHelpers.h>
#include <Scene3D/Components/RenderComponent... | 28.362319 | 112 | 0.729688 | stinvi |
ee83b226b0bab9d284ba20e45397de2342f52711 | 529 | cpp | C++ | src/L/L1338.cpp | wlhcode/lscct | 7fd112a9d1851ddcf41886d3084381a52e84a3ce | [
"MIT"
] | null | null | null | src/L/L1338.cpp | wlhcode/lscct | 7fd112a9d1851ddcf41886d3084381a52e84a3ce | [
"MIT"
] | null | null | null | src/L/L1338.cpp | wlhcode/lscct | 7fd112a9d1851ddcf41886d3084381a52e84a3ce | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define int long long
#define double long double
using namespace std;
int digitsum(int a){
if(a==0) return 0;
return a%10+digitsum(a/10);
}
bool prime(int n){
if(n==1) return false;
int m=sqrt(n);
for(int i=2;i<=m;i++){
if(n%i==0) return false;
}
return true;
}
main(){
ios::sync_with_s... | 16.53125 | 46 | 0.603025 | wlhcode |
ee84b193983e035a20452ea38a8474309ada0906 | 654,902 | cpp | C++ | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_3.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_3.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | openconfig/ydk/models/openconfig/fragmented/openconfig_network_instance_3.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "openconfig_network_instance_3.hpp"
#include "openconfig_network_instance_4.hpp"
using namespace ydk;
namespace openconfig {
namespace openconfig_network_instance {
Networ... | 40.205169 | 495 | 0.726898 | CiscoDevNet |
ee85b17c677c5a923ca6f8f0e30e43f6f6c21a77 | 847 | cpp | C++ | luogu/cxx/src/P1551.cpp | HoshinoTented/Solutions | 96fb200c7eb5bce17938aec5ae6efdc43b3fe494 | [
"WTFPL"
] | 1 | 2019-09-13T13:06:27.000Z | 2019-09-13T13:06:27.000Z | luogu/cxx/src/P1551.cpp | HoshinoTented/Solutions | 96fb200c7eb5bce17938aec5ae6efdc43b3fe494 | [
"WTFPL"
] | null | null | null | luogu/cxx/src/P1551.cpp | HoshinoTented/Solutions | 96fb200c7eb5bce17938aec5ae6efdc43b3fe494 | [
"WTFPL"
] | null | null | null | #include <iostream>
struct union_find {
int *arr;
const int length;
union_find(const int &len): arr(new int[len]), length(len) {
for (size_t i = 0; i < len; ++ i) {
arr[i] = i;
}
}
auto ask(const int &x) -> int {
if (arr[x] == x) return x;
return arr[x]... | 18.822222 | 74 | 0.420307 | HoshinoTented |
ee87c6ead491a6fd9f4ae0d17bfe195c8c15039b | 39,084 | cpp | C++ | tests/src/astro/propagators/unitTestHybridArcVariationalEquations.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | tests/src/astro/propagators/unitTestHybridArcVariationalEquations.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | tests/src/astro/propagators/unitTestHybridArcVariationalEquations.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
* ... | 52.391421 | 170 | 0.647426 | kimonito98 |
ee8ab28b4c34f9b1e139f140a46912e4b7e09cee | 2,387 | cpp | C++ | FreeNOS/lib/libnet/ICMPSocket.cpp | magic428/src_code_read | 2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a | [
"MIT"
] | null | null | null | FreeNOS/lib/libnet/ICMPSocket.cpp | magic428/src_code_read | 2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a | [
"MIT"
] | null | null | null | FreeNOS/lib/libnet/ICMPSocket.cpp | magic428/src_code_read | 2db267cb86bfb62f7343ac7590a0ab1fe43f9b2a | [
"MIT"
] | 1 | 2018-11-18T06:41:11.000Z | 2018-11-18T06:41:11.000Z | /*
* Copyright (C) 2015 Niek Linnenbank
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
* This program is di... | 22.518868 | 72 | 0.654378 | magic428 |
ee8c871c1518234b8f19b592978657bff6813768 | 1,786 | hpp | C++ | bindings/python/crocoddyl/multibody/data/multibody.hpp | imaroger/crocoddyl | 3d3b9470563e6b7c860679d72ee220642658cc68 | [
"BSD-3-Clause"
] | 1 | 2020-04-25T13:17:23.000Z | 2020-04-25T13:17:23.000Z | bindings/python/crocoddyl/multibody/data/multibody.hpp | Capri2014/crocoddyl | 341874fbad4507d6ed4e05e18e4a9cedf5470d01 | [
"BSD-3-Clause"
] | null | null | null | bindings/python/crocoddyl/multibody/data/multibody.hpp | Capri2014/crocoddyl | 341874fbad4507d6ed4e05e18e4a9cedf5470d01 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2018-2020, University of Edinburgh
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
////////////////////////////////////////////////////////////////////... | 44.65 | 107 | 0.634938 | imaroger |
ee8cc82e9f122e8699662d2dcb490b093cd614d1 | 2,484 | cpp | C++ | Uva/Uva_AC/11063 - B2-Sequence.cpp | Saikat-S/acm-problems-solutions | 921c0f3e508e1ee8cd14be867587952d5f67bbb9 | [
"MIT"
] | 3 | 2018-05-11T07:33:20.000Z | 2020-08-30T11:02:02.000Z | Uva/Uva_AC/11063 - B2-Sequence.cpp | Saikat-S/acm-problems-solutions | 921c0f3e508e1ee8cd14be867587952d5f67bbb9 | [
"MIT"
] | 1 | 2018-05-11T18:10:26.000Z | 2018-05-12T18:00:28.000Z | Uva/Uva_AC/11063 - B2-Sequence.cpp | Saikat-S/acm-problems-solutions | 921c0f3e508e1ee8cd14be867587952d5f67bbb9 | [
"MIT"
] | null | null | null | /***************************************************
* Problem name : 11063 - B2-Sequence.cpp
* Problem Link : https://uva.onlinejudge.org/external/110/11063.pdf
* OJ : Uva
* Verdict : AC
* Date : 2017-07-29
* Problem Type : AdHoc
* Author Name : Saikat Sharma
* University : CSE,MBSTU
... | 26.147368 | 109 | 0.449678 | Saikat-S |
ee8fddf09fb08b761d3fb16e4c3c586edd1e6435 | 5,448 | cpp | C++ | Plain/src/Runtime/Rendering/Techniques/Bloom.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | 9 | 2021-04-09T14:07:45.000Z | 2022-03-06T07:51:14.000Z | Plain/src/Runtime/Rendering/Techniques/Bloom.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | 14 | 2021-04-10T11:06:06.000Z | 2021-05-07T14:20:34.000Z | Plain/src/Runtime/Rendering/Techniques/Bloom.cpp | Gaukler/PlainRenderer | cf0f41a2300bee9f29a886230c061776cb29ba5e | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Bloom.h"
#include "Utilities/GeneralUtils.h"
#include "Utilities/MathUtils.h"
const int bloomMipCount = 6;
void Bloom::init(const int textureWidth, const int textureHeight) {
// bloom downsample
for (int i = 0; i < bloomMipCount - 1; i++) {
ComputePassDescription desc;
... | 37.833333 | 104 | 0.66116 | Gaukler |
ee90319edee5692142accdcca88e9493ac3c307f | 283 | cpp | C++ | Part1/Chapter1/L1-9.cpp | HarmioneF/LuoguBook_Base | 65637085e951574823749ef2b2584d08aa8e08d6 | [
"MIT"
] | null | null | null | Part1/Chapter1/L1-9.cpp | HarmioneF/LuoguBook_Base | 65637085e951574823749ef2b2584d08aa8e08d6 | [
"MIT"
] | null | null | null | Part1/Chapter1/L1-9.cpp | HarmioneF/LuoguBook_Base | 65637085e951574823749ef2b2584d08aa8e08d6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
int main() {
double r = 5;
const double PI = 3.141593;
// # define PI 3.14125953
cout << 2 * PI * r << endl;
cout << PI * pow(r, 2) << endl;
cout << 4.0 / 3 * PI * pow(r, 3) << endl;
return 0;
}
| 18.866667 | 45 | 0.522968 | HarmioneF |
ee904debfddbf375b39451bbbe8cb470f732d65e | 108 | cpp | C++ | src/OpenCvSharpExtern/stitching.cpp | kakashasha/opencvsharp | c1f6652cec7ae211e642ae66d17c19b77abc52e7 | [
"BSD-3-Clause"
] | 3,886 | 2015-01-02T15:12:37.000Z | 2022-03-31T02:30:51.000Z | src/OpenCvSharpExtern/stitching.cpp | kakashasha/opencvsharp | c1f6652cec7ae211e642ae66d17c19b77abc52e7 | [
"BSD-3-Clause"
] | 1,110 | 2015-01-15T06:18:25.000Z | 2022-03-30T14:57:26.000Z | src/OpenCvSharpExtern/stitching.cpp | kakashasha/opencvsharp | c1f6652cec7ae211e642ae66d17c19b77abc52e7 | [
"BSD-3-Clause"
] | 1,047 | 2015-01-08T07:14:48.000Z | 2022-03-30T08:54:30.000Z | // ReSharper disable CppUnusedIncludeDirective
#include "stitching.h"
#include "stitching_detail_Matchers.h" | 36 | 46 | 0.842593 | kakashasha |
ee909d77451d31374898118b7f80a71723d2f0f3 | 5,955 | hpp | C++ | include/GlobalNamespace/LiteNetLibConnectionManager_LiteNetLibConnectionParamsBase.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LiteNetLibConnectionManager_LiteNetLibConnectionParamsBase.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LiteNetLibConnectionManager_LiteNetLibConnectionParamsBase.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: LiteNetLibConnectionManager
... | 48.024194 | 198 | 0.743913 | RedBrumbler |
ee91dc1e388d4dc31cfdcddda141e1f95f92952f | 3,793 | cpp | C++ | modules/box2d/shiva/box2d/system-box2d.cpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 176 | 2018-06-06T12:20:21.000Z | 2022-01-27T02:54:34.000Z | modules/box2d/shiva/box2d/system-box2d.cpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 11 | 2018-06-09T21:30:02.000Z | 2019-09-14T16:03:12.000Z | modules/box2d/shiva/box2d/system-box2d.cpp | Milerius/rs_engine | d25b54147f2f9a4710e3015c4eed7d076e3de04b | [
"MIT"
] | 19 | 2018-08-15T11:40:02.000Z | 2020-08-31T11:00:44.000Z | //
// Created by roman Sztergbaum on 16/08/2018.
//
#include <boost/dll.hpp>
#include <shiva/box2d/system-box2d.hpp>
#include <shiva/ecs/components/physics_2d.hpp>
#include "system-box2d.hpp"
#include "box2d_component.hpp"
namespace shiva::plugins
{
//! Constructor
box2d_system::box2d_system(shiva::entt::disp... | 38.704082 | 119 | 0.568416 | Milerius |
ee91e8b7868a10b400c49927434077d2a90b87f4 | 1,258 | cpp | C++ | Source/ViewRoutes.cpp | DhirajWishal/DeliveryPlanningTool | 6715f7c4a661bbbd4fa2cdafa14e708e74c2d65e | [
"MIT"
] | null | null | null | Source/ViewRoutes.cpp | DhirajWishal/DeliveryPlanningTool | 6715f7c4a661bbbd4fa2cdafa14e708e74c2d65e | [
"MIT"
] | null | null | null | Source/ViewRoutes.cpp | DhirajWishal/DeliveryPlanningTool | 6715f7c4a661bbbd4fa2cdafa14e708e74c2d65e | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Dhiraj Wishal
// Copyright (c) 2021 Scopic Software
#include "ViewRoutes.h"
#include "../ui_ViewRoutes.h"
#include "ManageRoutes.h"
ViewRoutes::ViewRoutes(const std::shared_ptr<ApplicationState>& pApplicationState, QWidget* parent)
: QWidget(parent)
, pApplicationState(pApplicationState)
, p... | 28.590909 | 137 | 0.736884 | DhirajWishal |
ee92657535fbdba39d2e31b5aaf073fac1ae2bc4 | 1,844 | cc | C++ | blimp/client/core/contents/blimp_contents_view_impl_android.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | blimp/client/core/contents/blimp_contents_view_impl_android.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | blimp/client/core/contents/blimp_contents_view_impl_android.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "blimp/client/core/contents/blimp_contents_view_impl_android.h"
#include "base/memory/ptr_util.h"
#include "blimp/client/core/contents/android/b... | 34.148148 | 75 | 0.759219 | xzhan96 |
ee970101ada6acb51203aae3f54385a5da9b3f8d | 57 | hpp | C++ | tests/core/generator.hpp | jschmold/icarus-prototype | 162a180dc9b9f7db5695480f5b3adff37de8248a | [
"Apache-2.0"
] | null | null | null | tests/core/generator.hpp | jschmold/icarus-prototype | 162a180dc9b9f7db5695480f5b3adff37de8248a | [
"Apache-2.0"
] | null | null | null | tests/core/generator.hpp | jschmold/icarus-prototype | 162a180dc9b9f7db5695480f5b3adff37de8248a | [
"Apache-2.0"
] | null | null | null | #pragma once
namespace GeneratorTests {
void run();
}
| 9.5 | 26 | 0.701754 | jschmold |
ee9f115c374b83c4f3ca07d27df3c7d285e7ed7a | 6,402 | cc | C++ | chrome/browser/web_applications/components/policy/web_app_policy_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/web_applications/components/policy/web_app_policy_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/web_applications/components/policy/web_app_policy_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/web_applications/components/policy/web_app_policy_manager.h"
#include <algorithm>
#include <utility>
#include <vector>
#include... | 35.566667 | 87 | 0.749297 | sarang-apps |
eea0321ca981c8b59873da342e9c902423b2cac2 | 885 | cpp | C++ | docs/examples/SampleMapping.cpp | Aschratt/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 11 | 2019-05-17T12:23:12.000Z | 2020-11-12T14:03:23.000Z | docs/examples/SampleMapping.cpp | crud89/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 2 | 2019-04-01T08:37:36.000Z | 2019-04-01T08:49:15.000Z | docs/examples/SampleMapping.cpp | crud89/Texturize | bba688d1afd60363f03e02d28e642a63845591d6 | [
"MIT"
] | 1 | 2019-06-25T01:04:35.000Z | 2019-06-25T01:04:35.000Z | #include <analysis.hpp>
int main(int argc, const char** argv)
{
// Read an image using OpenCV. The name of the image is provided within the first command line parameter.
cv::Mat img = cv::imread(argv[0]);
// Read the uv map, provided by the second command line parameter. Note that uv maps must contain... | 36.875 | 113 | 0.671186 | Aschratt |
eea12b353475f283a6f93b54e0ba46fd6b845413 | 67 | hpp | C++ | src/boost_geometry_strategies_concepts_distance_concept.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_geometry_strategies_concepts_distance_concept.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_geometry_strategies_concepts_distance_concept.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/geometry/strategies/concepts/distance_concept.hpp>
| 33.5 | 66 | 0.850746 | miathedev |
eea725725d18401a09d00238ffb1578ad1e4c11a | 493 | cpp | C++ | my_work/10_sayidan_tek_cift.cpp | korayyalcin1903/c-_work | 1a5f6103aa68ae9a16077d972bfeba1a4272789f | [
"MIT"
] | null | null | null | my_work/10_sayidan_tek_cift.cpp | korayyalcin1903/c-_work | 1a5f6103aa68ae9a16077d972bfeba1a4272789f | [
"MIT"
] | null | null | null | my_work/10_sayidan_tek_cift.cpp | korayyalcin1903/c-_work | 1a5f6103aa68ae9a16077d972bfeba1a4272789f | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
using namespace std;
int main(int argc, char const *argv[])
{
int sayi,teksayac=0,ciftsayac=0;
for(int i=1;i<=10;i++)
{
cout << "Sayi Giriniz=";
cin >> sayi;
if(sayi%2==0)
{
ciftsayac++;
}
else
... | 19.72 | 55 | 0.452333 | korayyalcin1903 |
eea83bc0e81c47b91791c9600adca502cc4921d3 | 4,950 | cpp | C++ | src/libs/object/object.cpp | kamranshamaei/tarsim | dcb0f28f7b1422ba125c85cd53a1420d69d466eb | [
"Apache-2.0"
] | 22 | 2019-03-01T01:41:53.000Z | 2022-02-28T03:57:40.000Z | src/libs/object/object.cpp | kamranshamaei/tarsim | dcb0f28f7b1422ba125c85cd53a1420d69d466eb | [
"Apache-2.0"
] | 5 | 2020-01-08T19:21:48.000Z | 2021-07-15T20:39:17.000Z | src/libs/object/object.cpp | kamranshamaei/tarsim | dcb0f28f7b1422ba125c85cd53a1420d69d466eb | [
"Apache-2.0"
] | 7 | 2019-03-01T02:59:11.000Z | 2022-02-17T14:08:11.000Z | /**
* @file: object.cpp
*
* @Created on: March 31, 2018
* @Author: Kamran Shamaei
*
*
* @brief -
* <Requirement Doc Reference>
* <Design Doc Reference>
*
* @copyright Copyright [2017-2018] Kamran Shamaei .
* All Rights Reserved.
*
* This file is subject to the terms and conditions defined in
* file 'LICE... | 26.052632 | 82 | 0.611313 | kamranshamaei |
eeaa82546c579db997933219ce1d466c1bf0d147 | 11,230 | cpp | C++ | applications/ParticlesEditor/src/Objects/EmitterObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | applications/ParticlesEditor/src/Objects/EmitterObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | applications/ParticlesEditor/src/Objects/EmitterObject.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | #include <chrono>
#include <Objects/EmitterObject.h>
const std::map<EmitterObject::Shape, QString> EmitterObject::shapeNames =
{ {EmitterObject::CIRCLE_SHAPE, QT_TR_NOOP("Circle")},
{EmitterObject::SPHERE_SHAPE, QT_TR_NOOP("Sphere")}};
const std::map<EmitterObject::Distribution, QString>
... | 32.085714 | 80 | 0.664648 | AluminiumRat |
eeac7c521bbafd63790d785ccef9fec00aaeb23d | 8,242 | cpp | C++ | TFLcam/file.cpp | maarten-pennings/TFLcam | ebdb7755789f36edf854b570086c6d7fc3a4570e | [
"MIT"
] | 4 | 2021-09-24T19:36:19.000Z | 2022-01-21T11:47:41.000Z | TFLcam/file.cpp | maarten-pennings/TFLcam | ebdb7755789f36edf854b570086c6d7fc3a4570e | [
"MIT"
] | null | null | null | TFLcam/file.cpp | maarten-pennings/TFLcam | ebdb7755789f36edf854b570086c6d7fc3a4570e | [
"MIT"
] | null | null | null | // file.cpp - operations on sd card files
// See eg https://randomnerdtutorials.com/esp32-microsd-card-arduino/
#include "SD_MMC.h"
#include "cmd.h" // for run command
#include "file.h"
// Prints SD card properties to Serial.
void file_sdprops() {
Serial.printf("card: type ");
sdcard_type_t cardtype=SD_... | 38.877358 | 147 | 0.634433 | maarten-pennings |
eeafbd7ec7d5309edc6a0a7eec8f79befd5c3a3f | 13,536 | cpp | C++ | lib/src/AMRElliptic/PetscCompGridVTO.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 10 | 2018-02-01T20:57:36.000Z | 2022-03-17T02:57:49.000Z | lib/src/AMRElliptic/PetscCompGridVTO.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 19 | 2018-10-04T21:37:18.000Z | 2022-02-25T16:20:11.000Z | lib/src/AMRElliptic/PetscCompGridVTO.cpp | rmrsk/Chombo-3.3 | f2119e396460c1bb19638effd55eb71c2b35119e | [
"BSD-3-Clause-LBNL"
] | 11 | 2019-01-12T23:33:32.000Z | 2021-08-09T15:19:50.000Z | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
#include "PetscCompGridVTO.H"
#include "FluxBox.H"
#include "IntVectSet.H"
#... | 36.192513 | 126 | 0.507018 | rmrsk |
eeb4c7525e77153e9597c4d9737d1b6da2e99324 | 9,657 | hpp | C++ | src/cola/parser/AstBuilder.hpp | Wolff09/seal | c0560204743d1c5f602cfc206ffac32531ea2c06 | [
"MIT"
] | 7 | 2019-10-18T07:24:13.000Z | 2022-01-07T14:01:17.000Z | src/cola/parser/AstBuilder.hpp | Wolff09/seal | c0560204743d1c5f602cfc206ffac32531ea2c06 | [
"MIT"
] | null | null | null | src/cola/parser/AstBuilder.hpp | Wolff09/seal | c0560204743d1c5f602cfc206ffac32531ea2c06 | [
"MIT"
] | 1 | 2019-11-30T01:45:41.000Z | 2019-11-30T01:45:41.000Z | #pragma once
#include <memory>
#include <deque>
#include <unordered_map>
// TODO: import string
#include "antlr4-runtime.h"
#include "CoLaVisitor.h"
#include "cola/ast.hpp"
namespace cola {
class AstBuilder : public cola::CoLaVisitor { // TODO: should this be a private subclass to avoid misuse?
private:
const... | 68.007042 | 170 | 0.780988 | Wolff09 |
eeb8135a7ed1b1e4f17369e512764a2c50870acc | 1,092 | cpp | C++ | 0213/test0213.cpp | Insofan/ExerciseRepo | 6ab830c30a8863078699d4f0c8bf28db2140495c | [
"BSD-3-Clause"
] | null | null | null | 0213/test0213.cpp | Insofan/ExerciseRepo | 6ab830c30a8863078699d4f0c8bf28db2140495c | [
"BSD-3-Clause"
] | null | null | null | 0213/test0213.cpp | Insofan/ExerciseRepo | 6ab830c30a8863078699d4f0c8bf28db2140495c | [
"BSD-3-Clause"
] | null | null | null | //
// @ClassName test0213
// @Description TODO
// @Date 2019/2/13 3:09 PM
// @Created by Insomnia
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
string largestNumber(vector<int>& nums) {
string res;
if (nums.empty()) {
retu... | 19.854545 | 77 | 0.529304 | Insofan |
eebe45928db19e68e33f304681ba250d82f9c2fb | 2,280 | cpp | C++ | exercises/Perception-Driven_Manipulation/solution_ws/src/collision_avoidance_pick_and_place/src/tasks/detect_box_pick.cpp | JonathanPlasse/industrial_training | 2de2ecbc8d1f7d2b4b724cc6badd003ca2d653d7 | [
"Apache-2.0"
] | 324 | 2015-01-31T07:35:37.000Z | 2022-03-27T09:30:14.000Z | exercises/Perception-Driven_Manipulation/ros1/solution_ws/src/collision_avoidance_pick_and_place/src/tasks/detect_box_pick.cpp | AhmedMounir/industrial_training | e6761c7bee65d3802fee6cf7c99e3113d3dc1af2 | [
"Apache-2.0"
] | 226 | 2015-01-20T17:15:56.000Z | 2022-01-19T04:55:23.000Z | exercises/Perception-Driven_Manipulation/ros1/solution_ws/src/collision_avoidance_pick_and_place/src/tasks/detect_box_pick.cpp | AhmedMounir/industrial_training | e6761c7bee65d3802fee6cf7c99e3113d3dc1af2 | [
"Apache-2.0"
] | 219 | 2015-03-29T03:05:11.000Z | 2022-03-23T11:12:43.000Z | #include <collision_avoidance_pick_and_place/pick_and_place.h>
/* DETECTING BOX PICK POSE
Goal:
- Find the box's position in the world frame using the transform listener.
* this transform is published by the kinect AR-tag perception node
- Save the pose into 'box_pose'.
*/
geometry_msgs::Pose collisi... | 31.232877 | 87 | 0.710965 | JonathanPlasse |
eec0672afc0d69351a2c4dff6f4edaed157d62e5 | 4,490 | hpp | C++ | include/ensmallen_bits/scd/scd_impl.hpp | ElianeBriand/ensmallen | 0f634056d054d100b2a70cb8f15ea9fa38680d10 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-04-07T18:50:10.000Z | 2020-04-07T18:50:10.000Z | include/ensmallen_bits/scd/scd_impl.hpp | ElianeBriand/ensmallen | 0f634056d054d100b2a70cb8f15ea9fa38680d10 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | include/ensmallen_bits/scd/scd_impl.hpp | ElianeBriand/ensmallen | 0f634056d054d100b2a70cb8f15ea9fa38680d10 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2019-01-16T16:21:59.000Z | 2019-01-16T16:21:59.000Z | /**
* @file scd_impl.hpp
* @author Shikhar Bhardwaj
*
* Implementation of stochastic coordinate descent.
*
* ensmallen is free software; you may redistribute it and/or modify it under
* the terms of the 3-clause BSD license. You should have received a copy of
* the 3-clause BSD license along with ensmallen. I... | 33.014706 | 79 | 0.69755 | ElianeBriand |
eec071a2cbddfd37d6f8b4116d2e6ad8fd4b5f75 | 15,143 | cpp | C++ | adaptors/emscripten/egl-implementation-emscripten.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | adaptors/emscripten/egl-implementation-emscripten.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | adaptors/emscripten/egl-implementation-emscripten.cpp | pwisbey/dali-adaptor | 21d5e77316e53285fa1e210a93b13cf9889e3b54 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2000-2013 Samsung Electronics Co., Ltd All Rights Reserved
This file is part of Dali Adaptor
PROPRIETARY/CONFIDENTIAL
This software is the confidential and proprietary information of
SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
disclose such Confidential Information and shall use ... | 26.94484 | 263 | 0.695107 | pwisbey |
eec15276b1aab1e9f2edefa5349c45b7307fc894 | 8,553 | cpp | C++ | ivs/src/v2/IvsClient.cpp | huaweicloud/huaweicloud-sdk-cpp-v3 | d3b5e07b0ee8367d1c7f6dad17be0212166d959c | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | ivs/src/v2/IvsClient.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null | ivs/src/v2/IvsClient.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z | #include <huaweicloud/ivs/v2/IvsClient.h>
#include <huaweicloud/core/utils/MultipartFormData.h>
#include <unordered_set>
#include <boost/algorithm/string/replace.hpp>
template <typename T>
std::string toString(const T value)
{
std::ostringstream out;
out << std::setprecision(std::numeric_limits<T>::digits10)... | 36.395745 | 151 | 0.736934 | huaweicloud |
eec2bae48f0462bba7ca403aec542caa2c837a6d | 9,479 | cpp | C++ | tests/YGAlignSelfTest.cpp | emilsjolander/yoga | 02a2309b2a8208e652e351cf8a195c17694b1f01 | [
"MIT"
] | null | null | null | tests/YGAlignSelfTest.cpp | emilsjolander/yoga | 02a2309b2a8208e652e351cf8a195c17694b1f01 | [
"MIT"
] | null | null | null | tests/YGAlignSelfTest.cpp | emilsjolander/yoga | 02a2309b2a8208e652e351cf8a195c17694b1f01 | [
"MIT"
] | null | null | null | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>
T... | 37.916 | 78 | 0.805992 | emilsjolander |
eec324e25d1f9716216d09e009c391beb70f1f50 | 3,279 | cpp | C++ | src/caffe/layers/cudnn_batch_norm_layer.cpp | madiken/caffe-CUDNN-fork | 6fdbbe9ae7fa0165feb864d122ac92a6a0d0a2f1 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/cudnn_batch_norm_layer.cpp | madiken/caffe-CUDNN-fork | 6fdbbe9ae7fa0165feb864d122ac92a6a0d0a2f1 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/layers/cudnn_batch_norm_layer.cpp | madiken/caffe-CUDNN-fork | 6fdbbe9ae7fa0165feb864d122ac92a6a0d0a2f1 | [
"BSD-2-Clause"
] | null | null | null | #ifdef USE_CUDNN
#include <vector>
#include "caffe/filler.hpp"
#include "caffe/layer.hpp"
#include "caffe/util/im2col.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void CuDNNBatchNormLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>... | 33.459184 | 78 | 0.681 | madiken |
eec60c3b6bb4f4c06d192c556d259874e31714e6 | 17,049 | cpp | C++ | rgcmidcpp/src/midi/smf.cpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | 8 | 2017-09-20T20:24:29.000Z | 2019-08-10T22:55:13.000Z | rgcmidcpp/src/midi/smf.cpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | null | null | null | rgcmidcpp/src/midi/smf.cpp | mdsitton/rhythmChartFormat | 1e53aaff34603bee258582293d11d29e0bf53bde | [
"BSD-2-Clause"
] | 1 | 2018-08-28T19:28:20.000Z | 2018-08-28T19:28:20.000Z | // Copyright (c) 2015-2017 Matthew Sitton <matthewsitton@gmail.com>
// See LICENSE in the RhythmGameChart root for license information.
#include "smf.hpp"
#include <iostream>
#include <cstring>
#include <cmath>
namespace RGCCPP::Midi
{
SmfReader::SmfReader(std::string filename)
:m_smfFile(filename, std::ios_b... | 38.659864 | 141 | 0.557217 | mdsitton |
eec853019dbecfe80a98045780511b34cc572681 | 49,447 | cc | C++ | src/chirpstack_client.cc | chungphb/chirpstack-client | 6a0f80f887776d6270ef821be1ccf99d87aca146 | [
"MIT"
] | 1 | 2022-01-20T02:44:29.000Z | 2022-01-20T02:44:29.000Z | src/chirpstack_client.cc | chungphb/chirpstack-cpp-client | 6a0f80f887776d6270ef821be1ccf99d87aca146 | [
"MIT"
] | null | null | null | src/chirpstack_client.cc | chungphb/chirpstack-cpp-client | 6a0f80f887776d6270ef821be1ccf99d87aca146 | [
"MIT"
] | null | null | null | //
// Created by chungphb on 2/6/21.
//
#include <chirpstack_client/chirpstack_client.h>
#include <utility>
using namespace api;
using namespace grpc;
namespace chirpstack_cpp_client {
chirpstack_client::chirpstack_client(const std::string& server_address, chirpstack_client_config config) {
_channel = CreateCh... | 41.517212 | 161 | 0.745647 | chungphb |
eec9dd2390af11b86e3b6602d5e1f1a80813dcd1 | 8,315 | cpp | C++ | src/NIfValid.cpp | justinmann/sj | 24d0a75723b024f17de6dab9070979a4f1bf1a60 | [
"Apache-2.0"
] | 2 | 2017-01-04T02:27:10.000Z | 2017-01-22T05:36:41.000Z | src/NIfValid.cpp | justinmann/sj | 24d0a75723b024f17de6dab9070979a4f1bf1a60 | [
"Apache-2.0"
] | null | null | null | src/NIfValid.cpp | justinmann/sj | 24d0a75723b024f17de6dab9070979a4f1bf1a60 | [
"Apache-2.0"
] | 1 | 2020-06-15T12:17:26.000Z | 2020-06-15T12:17:26.000Z | #include <sjc.h>
bool CIfValidVar::getReturnThis() {
return false;
}
shared_ptr<CType> CIfValidVar::getType(Compiler* compiler) {
if (ifVar && elseVar) {
return ifVar->getType(compiler);
}
return compiler->typeVoid;
}
void CIfValidVar::transpile(Compiler* compiler, TrOutput* trOutput, T... | 37.968037 | 194 | 0.638364 | justinmann |
eecb4134aea370716825d9bada28733a869d85bc | 214 | cpp | C++ | Ejercicio 17 by Braulio.cpp | Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final | 2f9b823dc1ba2a5276472b4c850f25e7b39b830d | [
"MIT"
] | null | null | null | Ejercicio 17 by Braulio.cpp | Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final | 2f9b823dc1ba2a5276472b4c850f25e7b39b830d | [
"MIT"
] | null | null | null | Ejercicio 17 by Braulio.cpp | Charlie-Ramirez-Animation-Studios-de-MX/Proyecto-Final | 2f9b823dc1ba2a5276472b4c850f25e7b39b830d | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
float cal;
int main(){
printf("Digite su calificacion: "); scanf("%f",&cal);
if(cal>=8){
puts("Aprobado");
}
else{
puts("Reprobado");
}
return 0;
}
| 13.375 | 55 | 0.560748 | Charlie-Ramirez-Animation-Studios-de-MX |
eed0022b11768f6e55a13ec9bb78d4c45a30cee6 | 19,556 | cpp | C++ | test/json_printer_stream_test.cpp | gsbecerrag/cppagent | f64b1906be32b43656b905e1f5d17c4e7ccbf094 | [
"Apache-2.0"
] | null | null | null | test/json_printer_stream_test.cpp | gsbecerrag/cppagent | f64b1906be32b43656b905e1f5d17c4e7ccbf094 | [
"Apache-2.0"
] | null | null | null | test/json_printer_stream_test.cpp | gsbecerrag/cppagent | f64b1906be32b43656b905e1f5d17c4e7ccbf094 | [
"Apache-2.0"
] | null | null | null | //
// Copyright Copyright 2009-2019, AMT – The Association For Manufacturing Technology (“AMT”)
// 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
//
// ... | 41.344609 | 100 | 0.724637 | gsbecerrag |
eed13e45da5d43e75b7c41ca58c48e87d262cb48 | 8,963 | cpp | C++ | src/renamer/renamerwindow.cpp | shuhari/shuhari.toolbox | 99110c253bceea9233d30d681a6b2d360e3e3a99 | [
"Apache-2.0"
] | null | null | null | src/renamer/renamerwindow.cpp | shuhari/shuhari.toolbox | 99110c253bceea9233d30d681a6b2d360e3e3a99 | [
"Apache-2.0"
] | null | null | null | src/renamer/renamerwindow.cpp | shuhari/shuhari.toolbox | 99110c253bceea9233d30d681a6b2d360e3e3a99 | [
"Apache-2.0"
] | null | null | null | #include "precompiled.h"
#include "renamerwindow.h"
#include "resources.h"
#include "resources.h"
#include "app.h"
#include "findthread.h"
RenamerWindow::RenamerWindow()
: ToolWindow() {
}
ToolItem* RenamerWindow::define() {
return new ToolItem("renamer",
strings::renamer_name(),
... | 35.709163 | 98 | 0.677229 | shuhari |
eed2c2ad7ccba18ad7c415414aa2bb80fcaedb7e | 4,607 | hpp | C++ | src/boost/spirit/home/qi/auxiliary/confix.hpp | cpmech/vismatrix | a4994864d3592cfa2db24119427fad096303fb4f | [
"BSD-3-Clause"
] | 4 | 2018-12-06T00:55:34.000Z | 2022-02-06T03:05:51.000Z | src/boost/spirit/home/qi/auxiliary/confix.hpp | cpmech/vismatrix | a4994864d3592cfa2db24119427fad096303fb4f | [
"BSD-3-Clause"
] | 1 | 2016-03-31T20:56:08.000Z | 2016-04-18T08:56:40.000Z | src/boost/spirit/home/qi/auxiliary/confix.hpp | cpmech/vismatrix | a4994864d3592cfa2db24119427fad096303fb4f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2001-2008 Hartmut Kaiser
//
// 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)
#if !defined(BOOST_SPIRIT_QI_CONFIX_AUG_26_2008_1012AM)
#define BOOST_SPIRIT_QI_CONFIX_AUG_26_2008_1012AM
#include ... | 35.992188 | 81 | 0.546125 | cpmech |
eed47df01d02a26282fc50caeb87e17cb9d2c418 | 1,080 | cpp | C++ | app/src/timer.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | app/src/timer.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | app/src/timer.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | #include "timer.h"
#include "ui_timer.h"
#include "mainwindow.h"
Timer::Timer(QWidget *parent) : QDialog(parent), ui(new Ui::Timer) {
ui->setupUi(this);
m_count = new QTimer(this);
m_count->setInterval(60000);
ui->Time->setAttribute(Qt::WA_MacShowFocusRect, 0);
connect(m_count, &QTimer::timeout, [t... | 26.341463 | 68 | 0.561111 | yohrudkov |
eed7914c708cfaeaf85f381439b09d47cab05242 | 128 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_isZero.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_isZero.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/doc/snippets/MatrixBase_isZero.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:f7a925aa9d7164224342edf4003f9b299e76ea9cc9f40ba9ef2440665f648ae3
size 215
| 32 | 75 | 0.882813 | initialz |
eedb073fc66e4c3fa270a97cb658a1fd92a11e99 | 10,054 | cxx | C++ | inetcore/winhttp/v5/httpcache/httpcache.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/winhttp/v5/httpcache/httpcache.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/winhttp/v5/httpcache/httpcache.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 2001 Microsoft Corporation
Module Name:
httpcache.cxx
Abstract:
Contains API implementation of the WinHTTP-UrlCache interaction layer
Environment:
Win32 user-level
Revision History:
--*/
/*++
- TODO: All functions assume that parameter validation has b... | 25.647959 | 121 | 0.49443 | npocmaka |
4abcd527fecef56501d75df85e2698c148bd3712 | 3,852 | cpp | C++ | tests/ECMQtDeclareLoggingCategoryTest/testmain.cpp | pfultz2/extra-cmake-modules | 42cbdc856588ac4adc79f28c3c91123aa5a7a307 | [
"BSD-3-Clause"
] | null | null | null | tests/ECMQtDeclareLoggingCategoryTest/testmain.cpp | pfultz2/extra-cmake-modules | 42cbdc856588ac4adc79f28c3c91123aa5a7a307 | [
"BSD-3-Clause"
] | null | null | null | tests/ECMQtDeclareLoggingCategoryTest/testmain.cpp | pfultz2/extra-cmake-modules | 42cbdc856588ac4adc79f28c3c91123aa5a7a307 | [
"BSD-3-Clause"
] | null | null | null | /*
* 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 copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binar... | 35.33945 | 100 | 0.65784 | pfultz2 |
4ac2b1ca5e1f408cb9e6083823a14ef312cad5d3 | 997 | cc | C++ | Contests/CodeForces/Codeforces Round #579 (Div. 3)/a.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/CodeForces/Codeforces Round #579 (Div. 3)/a.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/CodeForces/Codeforces Round #579 (Div. 3)/a.cc | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
ios::sync_with_stdio(0);
int Q; cin >> Q;
while (Q--)
{
int n, minn = 1 << 30, minid = -1; cin >> n;
vector<int> a(n + 5);
for (int i = 1; i <= n; i++)
{
cin >> a[i];
... | 20.346939 | 52 | 0.284855 | DCTewi |
4ac41fce61fc7bfdcd9a080a0c89b65b0b6803c7 | 1,943 | hpp | C++ | mlog/reference_counter.hpp | Lowdham/mlog | 034134ec2048fb78084f4772275b5f67efeec433 | [
"MIT"
] | 2 | 2021-06-19T04:14:14.000Z | 2021-08-30T15:39:49.000Z | mlog/reference_counter.hpp | Lowdham/mlog | 034134ec2048fb78084f4772275b5f67efeec433 | [
"MIT"
] | 1 | 2021-06-21T15:58:19.000Z | 2021-06-22T02:04:39.000Z | mlog/reference_counter.hpp | Lowdham/mlog | 034134ec2048fb78084f4772275b5f67efeec433 | [
"MIT"
] | null | null | null | // This file is part of mlog.
#ifndef MLOG_REFERENCE_COUNTER_HPP_
#define MLOG_REFERENCE_COUNTER_HPP_
#include <atomic> // std::atomic<>
#include <exception> // std::terminate()
#include "assert.hpp"
#include "fwd.hpp"
namespace mlog {
template <typename ValueT = long>
class ReferenceCounter;
template <typena... | 24.2875 | 76 | 0.678332 | Lowdham |
4ac44eb10d7f3af54a7688f5587a4c13cbce985c | 6,484 | cpp | C++ | src/AFQMC/Numerics/detail/HIP/Kernels/ajw_to_waj.hip.cpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | null | null | null | src/AFQMC/Numerics/detail/HIP/Kernels/ajw_to_waj.hip.cpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | 11 | 2020-05-09T20:57:21.000Z | 2020-06-10T00:00:17.000Z | src/AFQMC/Numerics/detail/HIP/Kernels/ajw_to_waj.hip.cpp | Hyeondeok-Shin/qmcpack | 2b853b6eaa15a795eee9d92085e74b97bd69abc7 | [
"NCSA"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source
// License. See LICENSE file in top directory for details.
//
// Copyright (c) 2020 QMCPACK developers.
//
// File developed by: Fionn Malone, malone14@llnl.gov,... | 37.264368 | 120 | 0.564004 | Hyeondeok-Shin |
4ac839b8ac1fdd48b9ae1b449f6b6d498f48d3f9 | 7,582 | cc | C++ | core/resource-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | core/resource-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | core/resource-manager.cc | bourdenas/troll | 0c00a993ecca95fa33a2a1bc39f912be1cfff960 | [
"MIT"
] | null | null | null | #include "core/resource-manager.h"
#include <experimental/filesystem>
#include <fstream>
#include <absl/strings/str_cat.h>
#include <glog/logging.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/text_format.h>
#include <range/v3/action/insert.hpp>
#include <range/v3/view/filter.hpp>
... | 34.463636 | 79 | 0.651543 | bourdenas |
4acb231bbc01af0ebcc6259b488d1ae469c25748 | 1,933 | cpp | C++ | imgui_markup/src/objects/panel.cpp | FluxxCode/imgui_layer | 0b0b73b132160d483259d88c9b024fdb2e1d3e63 | [
"MIT"
] | null | null | null | imgui_markup/src/objects/panel.cpp | FluxxCode/imgui_layer | 0b0b73b132160d483259d88c9b024fdb2e1d3e63 | [
"MIT"
] | null | null | null | imgui_markup/src/objects/panel.cpp | FluxxCode/imgui_layer | 0b0b73b132160d483259d88c9b024fdb2e1d3e63 | [
"MIT"
] | null | null | null | #include "impch.h"
#include "imgui_markup/objects/panel.h"
namespace imgui_markup
{
Panel::Panel(std::string id, Object* parent)
: Object("Panel", id, parent)
{
this->AddAttribute("title", &this->title_);
this->AddAttribute("position", &this->global_position_);
this->AddAttribute("size", &this->size_)... | 22.476744 | 78 | 0.630109 | FluxxCode |
4acedb3a7c286f671ca14090aed2c0c14d44b05b | 20,208 | cpp | C++ | source/Lib/TLibDecoder/TDecGop.cpp | AjayKumarSahu20/SHVC_2 | 2ce6fe131ab12eadf8d51b3408081529b5ad9366 | [
"BSD-3-Clause"
] | 2 | 2019-12-25T07:41:29.000Z | 2021-11-25T11:50:12.000Z | source/Lib/TLibDecoder/TDecGop.cpp | AjayKumarSahu20/SHVC_2 | 2ce6fe131ab12eadf8d51b3408081529b5ad9366 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/TLibDecoder/TDecGop.cpp | AjayKumarSahu20/SHVC_2 | 2ce6fe131ab12eadf8d51b3408081529b5ad9366 | [
"BSD-3-Clause"
] | null | null | null | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2014, ITU/ISO/IEC
* All rights reser... | 38.345351 | 197 | 0.627771 | AjayKumarSahu20 |
4acf7674a4fb807fc1275ee6743ec09e4eb55cf4 | 3,207 | cpp | C++ | demo/main.cpp | jfcameron/jfc-thread_group | 279a7867d038b5cbae857d4332487d2b17e632c3 | [
"MIT"
] | 1 | 2019-12-16T15:20:05.000Z | 2019-12-16T15:20:05.000Z | demo/main.cpp | jfcameron/jfc-thread_group | 279a7867d038b5cbae857d4332487d2b17e632c3 | [
"MIT"
] | null | null | null | demo/main.cpp | jfcameron/jfc-thread_group | 279a7867d038b5cbae857d4332487d2b17e632c3 | [
"MIT"
] | 1 | 2019-12-16T15:20:51.000Z | 2019-12-16T15:20:51.000Z | #include <jfc/thread_group.h>
#include <atomic>
#include <chrono>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <unordered_map>
using namespace jfc;
std::unordered_map<std::thread::id, size_t> work_log;
void add_to_log(const std::thread::id id)
{
work_log[id] = work_log[id] + 1;
}
static c... | 27.886957 | 239 | 0.633302 | jfcameron |
4ad005afbeab88f64885417b22a8a55be6ef4387 | 6,396 | cpp | C++ | Resources/SVP/lab1/submissions/main.cpp | rishitsaiya/CS312-AI-Lab | 30489e07a71f04b47d38139937a7229fbc4c6185 | [
"MIT"
] | 2 | 2021-12-24T16:43:43.000Z | 2022-02-01T03:49:55.000Z | Resources/SVP/lab1/submissions/main.cpp | rishitsaiya/CS312-AI-Lab | 30489e07a71f04b47d38139937a7229fbc4c6185 | [
"MIT"
] | null | null | null | Resources/SVP/lab1/submissions/main.cpp | rishitsaiya/CS312-AI-Lab | 30489e07a71f04b47d38139937a7229fbc4c6185 | [
"MIT"
] | 6 | 2021-04-23T08:37:14.000Z | 2022-02-27T15:21:54.000Z | #include<bits/stdc++.h>
using namespace std;
#define pii pair<int, int>
struct Node{
static int stamp;
char value;
int visited;
int depth;
pii parent;
Node(){
depth = INT32_MAX;
value = ' ';
visited = false;
parent = make_pair(-1, -1);
}
// int getColor(... | 26 | 114 | 0.528768 | rishitsaiya |
4ad45318918416fe8d6e9b0f6e03f7fae5c120dc | 151 | cc | C++ | UnitTests/LoopHelixBFieldTest_unit.cc | brownd1978/KinKal | e7bf9dc4d793e9f089c30ae9defb4add8bf1657b | [
"Apache-1.1"
] | null | null | null | UnitTests/LoopHelixBFieldTest_unit.cc | brownd1978/KinKal | e7bf9dc4d793e9f089c30ae9defb4add8bf1657b | [
"Apache-1.1"
] | null | null | null | UnitTests/LoopHelixBFieldTest_unit.cc | brownd1978/KinKal | e7bf9dc4d793e9f089c30ae9defb4add8bf1657b | [
"Apache-1.1"
] | null | null | null | #include "KinKal/LoopHelix.hh"
#include "UnitTests/BFieldMapTest.hh"
int main(int argc, char **argv) {
return BFieldMapTest<LoopHelix>(argc,argv);
}
| 25.166667 | 45 | 0.748344 | brownd1978 |
4ad576b8bc66773e1114ebac32ae19b8e18ee3d7 | 1,667 | hpp | C++ | include/toy/math/Vector4.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 4 | 2017-07-06T22:18:41.000Z | 2021-05-24T21:28:37.000Z | include/toy/math/Vector4.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | null | null | null | include/toy/math/Vector4.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 1 | 2020-08-02T13:00:38.000Z | 2020-08-02T13:00:38.000Z |
#pragma once
#include "toy/math/General.hpp"
namespace toy{
namespace math{
template <typename Type>
class Vector4
{
public:
union
{
struct
{
Type x,y,z,w;
};
Type data[4];
};
Vector4():x(Type(0)),y(Type(0)),z(Type(0)),w(Type(0)){}
Vector4(const Type xx,const Type yy,const Type z... | 14.752212 | 92 | 0.460708 | ToyAuthor |
4ad95451b82cd4bc441327ee4c8e9bfc376b8596 | 6,005 | cpp | C++ | manager/src/app_profile_frame.cpp | lunixoid/sys-clk | 731d0de5f580a7fa853804e0c776ba2f1623c932 | [
"Beerware"
] | 492 | 2019-02-14T16:10:55.000Z | 2022-03-31T00:01:27.000Z | manager/src/app_profile_frame.cpp | lunixoid/sys-clk | 731d0de5f580a7fa853804e0c776ba2f1623c932 | [
"Beerware"
] | 51 | 2019-02-14T17:31:08.000Z | 2022-03-24T00:10:09.000Z | manager/src/app_profile_frame.cpp | lunixoid/sys-clk | 731d0de5f580a7fa853804e0c776ba2f1623c932 | [
"Beerware"
] | 75 | 2019-02-14T17:46:32.000Z | 2022-03-28T07:19:25.000Z | /*
sys-clk manager, a sys-clk frontend homebrew
Copyright (C) 2019 natinusala
Copyright (C) 2019 p-sam
Copyright (C) 2019 m4xw
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 Found... | 35.958084 | 162 | 0.675271 | lunixoid |
4ad9ce4c75b84db5a099b4379c339793d290d8b1 | 542 | cpp | C++ | tests/ClassFactoryTestInterface.cpp | duhone/core | 16b1880a79ce53f8e132a9d576d5c0b64788d865 | [
"MIT"
] | null | null | null | tests/ClassFactoryTestInterface.cpp | duhone/core | 16b1880a79ce53f8e132a9d576d5c0b64788d865 | [
"MIT"
] | null | null | null | tests/ClassFactoryTestInterface.cpp | duhone/core | 16b1880a79ce53f8e132a9d576d5c0b64788d865 | [
"MIT"
] | null | null | null | #include "ClassFactoryTestInterface.h"
#include "core/ClassFactory.h"
using namespace CR::Core;
using namespace std;
auto& GetInstance() {
static ClassFactory<unique_ptr<TestInterface>, TestClasses, int> instance;
return instance;
}
bool RegisterCreator(TestClasses classType, function<unique_ptr<TestInterface>(in... | 27.1 | 95 | 0.787823 | duhone |
4adc3f1e3030018504a4cad9666c434b403d91d3 | 3,013 | cpp | C++ | Uva-OnlineJudge/ACMContestAndBlackout.cpp | Maqui-LP/resolucion-de-problemas | e3c81e0f1230bf609fe2ee30f978265a9a97465c | [
"MIT"
] | null | null | null | Uva-OnlineJudge/ACMContestAndBlackout.cpp | Maqui-LP/resolucion-de-problemas | e3c81e0f1230bf609fe2ee30f978265a9a97465c | [
"MIT"
] | null | null | null | Uva-OnlineJudge/ACMContestAndBlackout.cpp | Maqui-LP/resolucion-de-problemas | e3c81e0f1230bf609fe2ee30f978265a9a97465c | [
"MIT"
] | null | null | null | /*
* name: ACM Contest And Blackout
* link: https://vjudge.net/problem/UVA-10600
* status: Wrong Answer
* date: 15/11/2020
*/
#include <iostream>
#include <string>
#include <vector>
#include <utility>
#include <algorithm>
using namespace std;
const int INF = 1 << 30;
struct UFDS {
vector<int> p, rank; //también p... | 22.825758 | 87 | 0.538666 | Maqui-LP |
4adce75d5329154c2834c66a217d6df01afb2170 | 753 | cpp | C++ | solutions/29.divide-two-integers.377323112.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/29.divide-two-integers.377323112.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/29.divide-two-integers.377323112.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
int divide(int dividend, int divisor) {
if (dividend == -2147483648 && divisor == -1)
return 2147483647;
int lol = (divisor < 0);
divisor = abs(divisor);
lol ^= (dividend < 0);
dividend = abs(dividend);
int lol2 = 1;
if (lol)
lol2 = -1;
vector<long... | 23.53125 | 49 | 0.501992 | satu0king |
4add36f2996fc65352c43865c3335e1cca07c0e1 | 12,278 | cpp | C++ | src/linear_systems.cpp | RandalJBarnes/Webinan | 4f0f73eca4d03edcb7ca7d78ea0fa91d32c92868 | [
"BSD-3-Clause"
] | null | null | null | src/linear_systems.cpp | RandalJBarnes/Webinan | 4f0f73eca4d03edcb7ca7d78ea0fa91d32c92868 | [
"BSD-3-Clause"
] | null | null | null | src/linear_systems.cpp | RandalJBarnes/Webinan | 4f0f73eca4d03edcb7ca7d78ea0fa91d32c92868 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================
// linear_systems.cpp
//
// A minimal set of decomposition and solution routines for systems of
// linear equations.
//
// references:
// o Golub, G.H., and Van Loan, C.F., 1996, MATRIX COMPUTATIONS, 3rd Edition,
// Johns Hopkins ... | 29.443645 | 97 | 0.52419 | RandalJBarnes |
4adea21a79066b39ce09308f975d069782bb3957 | 62 | cpp | C++ | 25mt/test/src/cppunit/TestHeader-neural_net_vector.h.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 3 | 2015-08-26T17:14:02.000Z | 2015-11-17T04:18:56.000Z | 25mt/test/src/cppunit/TestHeader-neural_net_vector.h.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 10 | 2015-08-20T00:51:05.000Z | 2016-11-16T19:14:48.000Z | 25mt/test/src/cppunit/TestHeader-neural_net_vector.h.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 3 | 2016-11-16T00:52:23.000Z | 2021-09-10T02:17:40.000Z | #include "neural_net_vector.h"
#include "neural_net_vector.h"
| 20.666667 | 30 | 0.806452 | johnoel |
4adf65195fe875e638756800ed672043045ce38c | 931 | hpp | C++ | old_projects/SuspendedPlotterIoT/UploadHandler.hpp | renato-grottesi/microbit | 728df27704211397b27a098445e68f8de52e8e4e | [
"Apache-2.0"
] | 3 | 2018-10-26T09:32:57.000Z | 2018-11-04T18:15:03.000Z | old_projects/SuspendedPlotterIoT/UploadHandler.hpp | renato-grottesi/microbit | 728df27704211397b27a098445e68f8de52e8e4e | [
"Apache-2.0"
] | null | null | null | old_projects/SuspendedPlotterIoT/UploadHandler.hpp | renato-grottesi/microbit | 728df27704211397b27a098445e68f8de52e8e4e | [
"Apache-2.0"
] | null | null | null | #ifndef UPLOAD_HANDLER_H
#define UPLOAD_HANDLER_H
#include "HTTPRequestHandler.h"
#include "SuspendedPlotter.h"
class UploadHandler : public HTTPRequestHandler
{
public:
UploadHandler(const char* rootPath, const char* path, TCPSocket* pTcpSocket);
virtual ~UploadHandler();
static inline HTTPReque... | 25.861111 | 105 | 0.692803 | renato-grottesi |
4ae0370dbe3021ef55b83f3070b77d7df0637ce5 | 4,470 | cpp | C++ | src/MentalPitchShift.cpp | miRackModular/Strums_Mental_VCV_Modules | 1660a55bfc1c2df098bcf028713e1f7ffbe110ab | [
"BSD-3-Clause"
] | 76 | 2017-10-13T10:39:48.000Z | 2021-12-20T14:15:45.000Z | src/MentalPitchShift.cpp | miRackModular/Strums_Mental_VCV_Modules | 1660a55bfc1c2df098bcf028713e1f7ffbe110ab | [
"BSD-3-Clause"
] | 54 | 2017-10-13T14:40:07.000Z | 2022-02-01T14:48:46.000Z | src/MentalPitchShift.cpp | miRackModular/Strums_Mental_VCV_Modules | 1660a55bfc1c2df098bcf028713e1f7ffbe110ab | [
"BSD-3-Clause"
] | 27 | 2017-10-21T15:45:12.000Z | 2021-01-15T12:27:51.000Z | ///////////////////////////////////////////////////
//
// Mental Plugin
// Pitch Shifter - shift pitch by octaves or semitones
//
// Strum 2017-19
// strum@softhome.net
//
///////////////////////////////////////////////////
#include "mental.hpp"
//////////////////////////////////////////////////////
struct M... | 41.775701 | 187 | 0.707606 | miRackModular |
4ae062c357f69cb35ddcc76a3cca5261a114e2f5 | 2,049 | cpp | C++ | Examples/CPP/WorkingWithProjects/ImportingAndExporting/ImportDataFromMPXFileFormats.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithProjects/ImportingAndExporting/ImportDataFromMPXFileFormats.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithProjects/ImportingAndExporting/ImportDataFromMPXFileFormats.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n... | 37.254545 | 164 | 0.781357 | aspose-tasks |
4ae0befef910ae6f16a4f0ce916bca5d5c30bfb0 | 1,017 | cpp | C++ | Src/MapEditor/lightedit.cpp | vox-1/MapEditor | f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e | [
"MIT"
] | 23 | 2018-12-02T01:08:39.000Z | 2022-03-19T02:28:56.000Z | Src/MapEditor/lightedit.cpp | vox-1/MapEditor | f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e | [
"MIT"
] | null | null | null | Src/MapEditor/lightedit.cpp | vox-1/MapEditor | f1b8a3df64c91e9c3aef7ee21e997f4f1163fa0e | [
"MIT"
] | 15 | 2018-12-07T06:33:55.000Z | 2022-03-26T13:27:25.000Z |
#include "stdafx.h"
#include "lightedit.h"
using namespace graphic;
cLightEdit::cLightEdit()
: m_showLightDir(true)
, m_openLightEdit(false)
{
}
cLightEdit::~cLightEdit()
{
}
bool cLightEdit::Init(graphic::cRenderer &renderer)
{
m_lightDir = GetMainLight().m_direction;
return true;
}
void cLightEdit::Rende... | 19.941176 | 68 | 0.702065 | vox-1 |
4ae281caf0afe4adb10a5aba5ad5b9af692c6b8e | 1,633 | cpp | C++ | src/interprocess/basic_publisher/publisher.cpp | ashish-boss/goby3-examples | 686b290bf84a10f02ba169a8f1363dba43c9ed95 | [
"MIT"
] | 3 | 2017-08-03T19:00:29.000Z | 2019-12-15T04:47:26.000Z | src/interprocess/basic_publisher/publisher.cpp | ashish-boss/goby3-examples | 686b290bf84a10f02ba169a8f1363dba43c9ed95 | [
"MIT"
] | 3 | 2020-05-14T15:49:57.000Z | 2021-04-15T19:02:07.000Z | src/interprocess/basic_publisher/publisher.cpp | ashish-boss/goby3-examples | 686b290bf84a10f02ba169a8f1363dba43c9ed95 | [
"MIT"
] | 2 | 2020-04-27T20:12:17.000Z | 2021-08-17T01:58:56.000Z | #include <goby/middleware/marshalling/protobuf.h> // provides serializer / parser for Google Protocol Buffers
#include <goby/zeromq/application/single_thread.h> // provides SingleThreadApplication
#include "messages/groups.h" // defines publish/subscribe groups
#include "messages/nav.pb.h" // Protobuf, defines Naviga... | 39.829268 | 109 | 0.699939 | ashish-boss |
4ae3a86d26c2cde441c1badddcdadaddd01c7205 | 10,639 | cc | C++ | v0_1_5/lib/marisa_alpha/trie-build.cc | AdvantechRISC/apq8016_external_marisa-trie | 629ed059b1e85cd8e4de363d8b3dc53c15c3e08a | [
"BSD-3-Clause"
] | null | null | null | v0_1_5/lib/marisa_alpha/trie-build.cc | AdvantechRISC/apq8016_external_marisa-trie | 629ed059b1e85cd8e4de363d8b3dc53c15c3e08a | [
"BSD-3-Clause"
] | null | null | null | v0_1_5/lib/marisa_alpha/trie-build.cc | AdvantechRISC/apq8016_external_marisa-trie | 629ed059b1e85cd8e4de363d8b3dc53c15c3e08a | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include <functional>
#include <queue>
#include <stdexcept>
#include "range.h"
#include "trie.h"
namespace marisa_alpha {
void Trie::build(const char * const *keys, std::size_t num_keys,
const std::size_t *key_lengths, const double *key_weights,
UInt32 *key_ids, int flags) {
MARISA_ALP... | 31.017493 | 79 | 0.632014 | AdvantechRISC |
4ae4332272da3f90a2734c73e6e5212de96ef9ce | 420 | cpp | C++ | sources/GameEngine/getColor.cpp | gillioa/Bomberman | 5e21c317a4b3d00533acdddb99b98c08b102fe45 | [
"MIT"
] | null | null | null | sources/GameEngine/getColor.cpp | gillioa/Bomberman | 5e21c317a4b3d00533acdddb99b98c08b102fe45 | [
"MIT"
] | null | null | null | sources/GameEngine/getColor.cpp | gillioa/Bomberman | 5e21c317a4b3d00533acdddb99b98c08b102fe45 | [
"MIT"
] | null | null | null |
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
glm::vec4 getColor(unsigned int num, unsigned int total) {
unsigned int ec1 = 2 * (total / (num + 1) + 1 + (total % (num + 1)) * 55) % 0xFF;
unsigned int ec2 = 3 * (ec1 + total % (num + ((num + 1) % 8))) % 0xFF;
unsigned int ec3 = 4 * (ec2 + total /... | 38.181818 | 83 | 0.571429 | gillioa |
4ae64fcf8e513067035e685aeeab745c10aac43f | 8,142 | cc | C++ | dms-enterprise/src/model/ListDDLPublishRecordsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | dms-enterprise/src/model/ListDDLPublishRecordsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | dms-enterprise/src/model/ListDDLPublishRecordsResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 62.152672 | 181 | 0.842545 | aliyun |
4aeb1785c46d095ced534989f8487601767d32dd | 838 | inl | C++ | gle/vao.inl | zacklukem/gle | b643eb9f418df7c80c96abf5521a92589fa17ab3 | [
"MIT"
] | null | null | null | gle/vao.inl | zacklukem/gle | b643eb9f418df7c80c96abf5521a92589fa17ab3 | [
"MIT"
] | null | null | null | gle/vao.inl | zacklukem/gle | b643eb9f418df7c80c96abf5521a92589fa17ab3 | [
"MIT"
] | null | null | null | GLE_NAMESPACE_BEGIN
inline VAO::VAO() : handle(0) {}
inline VAO::~VAO() {
if (handle) glDeleteVertexArrays(1, &handle);
}
inline void VAO::init() { glGenVertexArrays(1, &handle); }
inline void VAO::bind() const { glBindVertexArray(handle); }
template <class T>
inline void VAO::attr(GLuint index, const VBO<T> &vbo)... | 24.647059 | 79 | 0.649165 | zacklukem |
4aefbdbfec1a0f6e01531a949db249d0bc6430f4 | 3,424 | hpp | C++ | dev/Basic/long/config/LT_Config.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | dev/Basic/long/config/LT_Config.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | dev/Basic/long/config/LT_Config.hpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | /*
* Copyright Singapore-MIT Alliance for Research and Technology
*
* File: LT_Config.hpp
* Author: Pedro Gandola <pedrogandola@smart.mit.edu>
*
* Created on November 6, 2013, 11:26 AM
*/
#pragma once
#include <string>
#include "Common.hpp"
#include "conf/PropertyLoader.hpp"
#include "util/SingletonHolder.hp... | 27.612903 | 79 | 0.530374 | gusugusu1018 |
4af346b95b3a14a669b8279e25f9dd35987fe323 | 69,496 | cxx | C++ | com/rpc/ndr20/asyncu.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/rpc/ndr20/asyncu.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/rpc/ndr20/asyncu.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 1996 - 2000 Microsoft Corporation
Module Name :
asyncu.c
Abstract :
This file contains the ndr async uuid implementation.
Author :
Ryszard K. Kott (ryszardk) Oct 1997
Revision History :
--... | 30.804965 | 114 | 0.545082 | npocmaka |
4af6680708c7bd5e558fad69c48cb12838f14704 | 936 | cpp | C++ | lang/C++/sort-disjoint-sublist-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | lang/C++/sort-disjoint-sublist-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/sort-disjoint-sublist-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | #include <algorithm>
#include <iostream>
#include <iterator>
#include <vector>
template <typename ValueIterator, typename IndicesIterator>
void sortDisjoint(ValueIterator valsBegin, IndicesIterator indicesBegin,
IndicesIterator indicesEnd) {
std::vector<int> temp;
for (IndicesIterator i = indicesBegin; i ... | 26.742857 | 78 | 0.633547 | ethansaxenian |
4af6e6a094f9a6f96cedd586bcbd8da1a1d29c71 | 1,329 | cc | C++ | src/idt/targets/typescript_cpp_v8/templates/CppV8.stache.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | 6 | 2020-05-19T21:35:10.000Z | 2021-06-22T15:49:04.000Z | src/idt/targets/typescript_cpp_v8/templates/CppV8.stache.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | 26 | 2020-05-24T20:56:39.000Z | 2021-09-04T04:46:30.000Z | src/idt/targets/typescript_cpp_v8/templates/CppV8.stache.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | null | null | null | // {{!
// clang-format off
// }}
#include "{{v8HeaderFile}}"
#include <cassert>
#include <v8.h>
#include "{{immutableRefCountedHeaderFile}}"
#include "context_environment.h"
namespace reify_v8 {
using namespace {{namespace}};
{{#convertToImmRefCntFunctions}}
{{{.}}}
{{/convertToImmRefCntFunctions}}
} // namespac... | 27.6875 | 103 | 0.748683 | aabtop |
4af8d081198c7c4c9b7fc7d459c97d99e072afba | 1,322 | cpp | C++ | sum-of-subarray-minimums/sum-of-subarray-minimums.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 13 | 2019-10-12T14:36:32.000Z | 2021-06-08T04:26:30.000Z | sum-of-subarray-minimums/sum-of-subarray-minimums.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 1 | 2020-02-29T14:02:39.000Z | 2020-02-29T14:02:39.000Z | sum-of-subarray-minimums/sum-of-subarray-minimums.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 3 | 2020-02-08T12:04:28.000Z | 2020-03-17T11:53:00.000Z | class Solution {
const int mod = 1e9 + 7;
public:
int sumSubarrayMins(vector<int>& arr) {
int n = arr.size();
int area[n][2];
// ple
stack<int> s;
for(int i = 0; i < n; i++){
while(!s.empty() and arr[s.top()] > arr[i]) s.pop();
... | 29.377778 | 96 | 0.323752 | JanaSabuj |
4afa402b8081d189304bac4848788fbd9d0852c0 | 24,891 | cpp | C++ | oss_src/fileio/oss_webstor/asyncurl.cpp | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 493 | 2016-07-11T13:35:24.000Z | 2022-02-15T13:04:29.000Z | oss_src/fileio/oss_webstor/asyncurl.cpp | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 27 | 2016-07-13T20:01:07.000Z | 2022-02-01T18:55:28.000Z | oss_src/fileio/oss_webstor/asyncurl.cpp | venkattgg/venkey | 796b9bdfb2fa1b881d82080754643c7e68629cd2 | [
"BSD-3-Clause"
] | 229 | 2016-07-12T10:39:54.000Z | 2022-02-15T13:04:31.000Z | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2013, OblakSoft 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
//
// http://www... | 28.544725 | 130 | 0.599092 | venkattgg |
4afc58bd3678ce6f61cfd0fbc7cedaa91bbc8af6 | 2,481 | cxx | C++ | event/cyan/event.cxx | sayan-chaliha/cyan | 4e653d08ecfec0f2b4c6c077359f5a66787197a4 | [
"MIT"
] | 3 | 2021-10-30T14:59:38.000Z | 2022-02-21T03:17:48.000Z | event/cyan/event.cxx | sayan-chaliha/cyan | 4e653d08ecfec0f2b4c6c077359f5a66787197a4 | [
"MIT"
] | null | null | null | event/cyan/event.cxx | sayan-chaliha/cyan | 4e653d08ecfec0f2b4c6c077359f5a66787197a4 | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2020, Sayan Chaliha
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | 29.891566 | 81 | 0.742846 | sayan-chaliha |