hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e0f1c6eb87b82cea1b56682a957f6a7adb696b1 | 245 | cc | C++ | Emscripten/em_asm_/em_asm_.cc | stephenfire/Book-DISO-WebAssembly | 35054b59caa4284680d7dd73bf2637de5631caa7 | [
"MIT"
] | 57 | 2018-02-14T02:12:00.000Z | 2022-03-04T09:12:26.000Z | Emscripten/em_asm_/em_asm_.cc | stephenfire/Book-DISO-WebAssembly | 35054b59caa4284680d7dd73bf2637de5631caa7 | [
"MIT"
] | 15 | 2018-08-23T12:37:53.000Z | 2021-05-09T10:22:27.000Z | Emscripten/em_asm_/em_asm_.cc | stephenfire/Book-DISO-WebAssembly | 35054b59caa4284680d7dd73bf2637de5631caa7 | [
"MIT"
] | 15 | 2019-01-27T09:35:19.000Z | 2022-02-03T13:56:03.000Z | #include <emscripten.h>
#include <iostream>
using namespace std;
int main (int argc, char **argv) {
int x = 100;
int y = EM_ASM_({
console.log("This value is from C++: ", $0);
return 10;
}, x);
cout << y << endl;
return 0;
}
| 16.333333 | 48 | 0.579592 | stephenfire |
4e1b0734caad480a361ef9049621f122aed0c125 | 876 | hpp | C++ | include/elasty/cloth-sim-object.hpp | 0x0c/elasty | 3995cacbefa8d7f39249e9f75fa291828e2e7c2d | [
"MIT"
] | null | null | null | include/elasty/cloth-sim-object.hpp | 0x0c/elasty | 3995cacbefa8d7f39249e9f75fa291828e2e7c2d | [
"MIT"
] | null | null | null | include/elasty/cloth-sim-object.hpp | 0x0c/elasty | 3995cacbefa8d7f39249e9f75fa291828e2e7c2d | [
"MIT"
] | null | null | null | #ifndef cloth_sim_object_hpp
#define cloth_sim_object_hpp
#include <elasty/sim-object.hpp>
#include <string>
#include <Eigen/Core>
#include <Eigen/Geometry>
namespace elasty
{
class ClothSimObject : public SimObject
{
public:
enum class Strategy
{
Bending,
Isometri... | 25.028571 | 88 | 0.606164 | 0x0c |
4e206c705787e9fb8d030f1e407867ad49c4d54c | 226,423 | cpp | C++ | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_1_2.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_1_2.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | bnn/src/network/output/hls-syn/lfcW1A1-pynqZ1-Z2/sol1/syn/systemc/Matrix_Vector_Activa_1_2.cpp | IceyFong/Lutification | 3e42d34d6840d5deb84407aad5c58216527a4b0a | [
"BSD-3-Clause"
] | null | null | null | #include "Matrix_Vector_Activa_1.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void Matrix_Vector_Activa_1::thread_ap_clk_no_reset_() {
if ( ap_rst.read() == ap_const_logic_1) {
ap_CS_fsm = ap_ST_fsm_state1;
} else {
ap_CS_fsm = ap_NS_fsm.read();
}
if ( ap_rst.read(... | 94.06855 | 341 | 0.713828 | IceyFong |
89ed9c9b2bee0a2efa6d1784ae4b2c1a3cc5f598 | 2,548 | cpp | C++ | tests/methodTask.cpp | DylanZA/eslang | 341ed66b3c1a5cfbb0f859bfe1146e88697f59fd | [
"MIT"
] | 15 | 2017-09-19T02:12:04.000Z | 2021-05-01T13:12:51.000Z | tests/methodTask.cpp | DylanZA/eslang | 341ed66b3c1a5cfbb0f859bfe1146e88697f59fd | [
"MIT"
] | null | null | null | tests/methodTask.cpp | DylanZA/eslang | 341ed66b3c1a5cfbb0f859bfe1146e88697f59fd | [
"MIT"
] | null | null | null | #include <eslang/Context.h>
#include <eslang/Logging.h>
#include <gtest/gtest.h>
#include "TestCommon.h"
namespace s {
class MethodCounter : public Process {
public:
int const kMax;
MethodCounter(ProcessArgs i, int m = 256) : Process(std::move(i)), kMax(m) {}
LIFETIMECHECK;
MethodTask<int> subRun(int n) {
... | 19.751938 | 79 | 0.628728 | DylanZA |
89f43b6498c438f50f0e47087ae9536bb2b23999 | 6,209 | cpp | C++ | AntiAirborne/Sources/battle/ParatrooperNode.cpp | beardog-ukr/ubiquitous-spork | 7f75d8f40dff70a965e901a4190dd35d64599441 | [
"Unlicense"
] | null | null | null | AntiAirborne/Sources/battle/ParatrooperNode.cpp | beardog-ukr/ubiquitous-spork | 7f75d8f40dff70a965e901a4190dd35d64599441 | [
"Unlicense"
] | null | null | null | AntiAirborne/Sources/battle/ParatrooperNode.cpp | beardog-ukr/ubiquitous-spork | 7f75d8f40dff70a965e901a4190dd35d64599441 | [
"Unlicense"
] | null | null | null | #include "ParatrooperNode.h"
using namespace anti_airborne;
#include "ZOrderConstTypes.h"
#include "ZOrderConstValues.h"
#include "SixCatsLogger.h"
#include "SixCatsLoggerMacro.h"
#include <sstream>
USING_NS_CC;
using namespace std;
//static const int kAngleManipulationActionTag = 21;
//static const int kDistanceMa... | 29.708134 | 99 | 0.57626 | beardog-ukr |
89fea8d9c89cbe560fa72909fff68fc44e8052f9 | 943 | cpp | C++ | source/EvaluationChain.cpp | vt4a2h/prcxx | 04794048f21cec548fa750b78239f920eef1bb60 | [
"MIT"
] | 1 | 2022-01-04T17:55:55.000Z | 2022-01-04T17:55:55.000Z | source/EvaluationChain.cpp | vt4a2h/prcxx | 04794048f21cec548fa750b78239f920eef1bb60 | [
"MIT"
] | null | null | null | source/EvaluationChain.cpp | vt4a2h/prcxx | 04794048f21cec548fa750b78239f920eef1bb60 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright (c) 2020-present Vitaly Fanaskov
//
// prcxx -- Yet another C++ property library
// Project home: https://github.com/vt4a2h/prcxx
//
// See LICENSE file for the further details.
//
#include "prcxx/EvaluationChain.hpp"
namespace prcxx {
bool EvaluationChain::empty() const
{
return... | 16.258621 | 50 | 0.700954 | vt4a2h |
89ff92912fe7e51166d943cc1a89b652ff4b53c1 | 3,866 | cpp | C++ | GraphicsMagick.NET/Drawables/DrawableAffine.cpp | dlemstra/GraphicsMagick.NET | 332718f2315c3752eaeb84f4a6a30a553441e79e | [
"ImageMagick",
"Apache-2.0"
] | 35 | 2015-10-18T19:49:52.000Z | 2022-01-18T05:30:46.000Z | GraphicsMagick.NET/Drawables/DrawableAffine.cpp | elyor0529/GraphicsMagick.NET | 332718f2315c3752eaeb84f4a6a30a553441e79e | [
"ImageMagick",
"Apache-2.0"
] | 12 | 2016-07-22T16:05:03.000Z | 2020-02-26T15:21:03.000Z | GraphicsMagick.NET/Drawables/DrawableAffine.cpp | elyor0529/GraphicsMagick.NET | 332718f2315c3752eaeb84f4a6a30a553441e79e | [
"ImageMagick",
"Apache-2.0"
] | 12 | 2016-02-24T12:11:50.000Z | 2021-07-12T18:20:12.000Z | //=================================================================================================
// Copyright 2014-2015 Dirk Lemstra <https://graphicsmagick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may ob... | 40.694737 | 100 | 0.38955 | dlemstra |
d60020f0254390e3b1d98b622875861c7b262861 | 10,521 | cpp | C++ | src/Scheme.cpp | nizikawa-worms/wkTerrainSync | 676bcb981b2cc1bba80e8928fceb3731d40beb63 | [
"WTFPL"
] | 7 | 2021-04-19T14:30:03.000Z | 2022-01-14T16:44:47.000Z | src/Scheme.cpp | nizikawa-worms/wkTerrainSync | 676bcb981b2cc1bba80e8928fceb3731d40beb63 | [
"WTFPL"
] | 1 | 2022-01-27T09:09:05.000Z | 2022-01-27T10:17:41.000Z | src/Scheme.cpp | nizikawa-worms/wkTerrainSync | 676bcb981b2cc1bba80e8928fceb3731d40beb63 | [
"WTFPL"
] | null | null | null |
#include "Scheme.h"
#include "Hooks.h"
#include "Missions.h"
#include "Packets.h"
#include "LobbyChat.h"
#include "Utils.h"
#include "Config.h"
#include "WaLibc.h"
#include "Frontend.h"
#include "Debugf.h"
namespace fs = std::filesystem;
void Scheme::dumpSchemeFromResources(int id, std::filesystem::path path) {
// i... | 36.658537 | 332 | 0.719323 | nizikawa-worms |
d600c8b96bfa216bb9a9f73f08857aa103979207 | 6,786 | cpp | C++ | src/main.cpp | jclc/tiralabra-compression | 1b4a2375d006e10718ff7887ba36d94e5f7a3c1f | [
"MIT"
] | null | null | null | src/main.cpp | jclc/tiralabra-compression | 1b4a2375d006e10718ff7887ba36d94e5f7a3c1f | [
"MIT"
] | 2 | 2017-04-15T16:06:11.000Z | 2017-05-11T21:50:58.000Z | src/main.cpp | jclc/tiralabra-compression | 1b4a2375d006e10718ff7887ba36d94e5f7a3c1f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <memory>
#include <chrono>
#include "input.hpp"
#include "output.hpp"
#include <thread>
#include <cmath>
#include "encoder.hpp"
#include "decoder.hpp"
#include "progressbar.hpp"
#include "tempfilenames.hpp"
void printHelp() {
std::cout << "tiralabra-co... | 30.294643 | 89 | 0.595933 | jclc |
d601747ccb7268afd879de7522813e6ef338ef4f | 3,178 | cpp | C++ | src/editor/Widgets/VerbWidget.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | src/editor/Widgets/VerbWidget.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | src/editor/Widgets/VerbWidget.cpp | tedvalson/NovelTea | f731951f25936cb7f5ff23e543e0301c1b5bfe82 | [
"MIT"
] | null | null | null | #include "VerbWidget.hpp"
#include "ui_VerbWidget.h"
#include <NovelTea/ProjectData.hpp>
#include <NovelTea/Verb.hpp>
#include <QDebug>
VerbWidget::VerbWidget(const std::string &idName, QWidget *parent)
: EditorTabWidget(parent)
, ui(new Ui::VerbWidget)
{
m_idName = idName;
ui->setupUi(this);
load();
MODIFIER(u... | 26.483333 | 97 | 0.724984 | tedvalson |
d604d7002f6c58f71ac7b27100e2897d237ce421 | 36,020 | cc | C++ | tesseract-recognize.cc | mauvilsa/tesseract-recognize | 5bace16f3201565264e058bd594df43cfaca9fd4 | [
"MIT"
] | 34 | 2017-04-13T16:12:14.000Z | 2021-09-13T18:12:25.000Z | tesseract-recognize.cc | mauvilsa/tesseract-recognize | 5bace16f3201565264e058bd594df43cfaca9fd4 | [
"MIT"
] | 7 | 2017-07-17T12:16:53.000Z | 2021-08-10T06:07:14.000Z | tesseract-recognize.cc | mauvilsa/tesseract-recognize | 5bace16f3201565264e058bd594df43cfaca9fd4 | [
"MIT"
] | 7 | 2017-07-24T09:11:47.000Z | 2021-06-15T17:21:26.000Z | /**
* Tool that does layout analysis and OCR using tesseract providing results in Page XML format
*
* @version $Version: 2021.02.09$
* @author Mauricio Villegas <mauricio_ville@yahoo.com>
* @copyright Copyright (c) 2015-present, Mauricio Villegas <mauricio_ville@yahoo.com>
* @link https://github.com/mauvilsa/tess... | 40.931818 | 209 | 0.598751 | mauvilsa |
d607276feed1876d7426297fa7dd6a9fab4b7381 | 1,561 | cpp | C++ | src/c++/methods/CommentsInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/methods/CommentsInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/methods/CommentsInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | #include "c++/ModIOInstance.h"
namespace modio
{
void Instance::getAllModComments(u32 mod_id, modio::FilterCreator &filter, const std::function<void(const modio::Response &response, const std::vector<modio::Comment> &comments)> &callback)
{
const struct GetAllModCommentsCall *get_all_mod_comments_call = new GetAll... | 44.6 | 189 | 0.778988 | TestingTravis |
d61a1cca8333efa64a7526312a72713da091f7a9 | 2,567 | hpp | C++ | OfferReview/OfferReview/01_38/26_SubstructureInTree/SubstructureInTree.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | 2 | 2021-06-26T08:07:04.000Z | 2021-08-03T06:05:40.000Z | OfferReview/OfferReview/01_38/26_SubstructureInTree/SubstructureInTree.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | OfferReview/OfferReview/01_38/26_SubstructureInTree/SubstructureInTree.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | //
// SubstructureInTree.hpp
// OfferReview
//
// Created by CHM on 2020/7/29.
// Copyright © 2020 CHM. All rights reserved.
//
#ifndef SubstructureInTree_hpp
#define SubstructureInTree_hpp
#include <stdio.h>
namespace SubstructureInTree {
// 26:树的子结构
// 题目:输入两棵二叉树A和B,判断B是不是A的子结构。
struct BinaryTreeNode {
do... | 23.550459 | 94 | 0.3806 | chm994483868 |
d61dfb0f234a9e2d183888452ae7a80373d8809d | 742 | cpp | C++ | Codeforces/Codeforces 1200 1400/1178B.cpp | Superdanby/YEE | 49a6349dc5644579246623b480777afbf8031fcd | [
"MIT"
] | 1 | 2019-09-07T15:56:05.000Z | 2019-09-07T15:56:05.000Z | Codeforces/Codeforces 1200 1400/1178B.cpp | Superdanby/YEE | 49a6349dc5644579246623b480777afbf8031fcd | [
"MIT"
] | null | null | null | Codeforces/Codeforces 1200 1400/1178B.cpp | Superdanby/YEE | 49a6349dc5644579246623b480777afbf8031fcd | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(int argc, char const *argv[]) {
string inp;
cin >> inp;
vector<ll> left(inp.length(), 0), right(inp.length(), 0);
for (size_t i = 2, j = inp.length() - 3; i < inp.length(); ++i, --j)
{
if (inp[i - 1] == 'v' && in... | 24.733333 | 72 | 0.421833 | Superdanby |
d6202244b11c5b42952b1c447fa48887abbc05fd | 2,521 | cpp | C++ | src/ssl/Exception.cpp | Good-Pudge/OkHttpFork | b179350d6262f281c1c27d69d944c62f536fe1ba | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 10 | 2019-02-21T06:21:48.000Z | 2022-02-22T08:01:24.000Z | src/ssl/Exception.cpp | Good-Pudge/OkHttpFork | b179350d6262f281c1c27d69d944c62f536fe1ba | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 2 | 2018-02-04T20:16:46.000Z | 2018-02-04T20:19:00.000Z | src/ssl/Exception.cpp | Good-Pudge/OkHttpFork | b179350d6262f281c1c27d69d944c62f536fe1ba | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 10 | 2018-10-15T10:17:00.000Z | 2022-02-17T02:28:51.000Z | //
// Created by Good_Pudge.
//
#include "Util.hpp"
#include <ohf/ssl/Exception.hpp>
namespace ohf {
namespace ssl {
std::string get_error(Exception::Code code) {
std::string m_what;
switch(code) {
case ohf::Exception::Code::SSL_CREATE_ERROR:
m_w... | 36.536232 | 108 | 0.503372 | Good-Pudge |
d62036c96de9ba6e8889edad3ab32b8b439d6f04 | 1,106 | cpp | C++ | FrameWorkCode/TreeItem.cpp | sans-sehgal/OpenOCR_Correct | 18424cd4d887a25c7cfc1743f1f975196b749deb | [
"BSD-3-Clause"
] | 6 | 2021-12-03T05:42:26.000Z | 2022-03-09T01:25:16.000Z | FrameWorkCode/TreeItem.cpp | sans-sehgal/OpenOCR_Correct | 18424cd4d887a25c7cfc1743f1f975196b749deb | [
"BSD-3-Clause"
] | 101 | 2021-08-18T04:12:43.000Z | 2022-03-27T17:31:20.000Z | FrameWorkCode/TreeItem.cpp | sans-sehgal/OpenOCR_Correct | 18424cd4d887a25c7cfc1743f1f975196b749deb | [
"BSD-3-Clause"
] | 4 | 2021-08-21T13:37:21.000Z | 2022-02-26T06:00:27.000Z | #pragma once
#include "TreeItem.h"
#include "Filters.h"
TreeItem::~TreeItem()
{
qDeleteAll(mChildItems);
}
void TreeItem::append_child(TreeItem * child)
{
mChildItems.append(child);
}
TreeItem * TreeItem::child(int row)
{
if(row < 0 || row >= mChildItems.size())
return nullptr;
return mChildItems.at(row);
}
in... | 16.507463 | 71 | 0.659132 | sans-sehgal |
d621d41f5406af4cac6f7bf1158e7c7047acf386 | 1,496 | cc | C++ | test/log_stream_unittest.cc | Mercy1101/my_log | 593dddc9cc4d7b6f2fa51176c7f83429fe43c266 | [
"MIT"
] | null | null | null | test/log_stream_unittest.cc | Mercy1101/my_log | 593dddc9cc4d7b6f2fa51176c7f83429fe43c266 | [
"MIT"
] | null | null | null | test/log_stream_unittest.cc | Mercy1101/my_log | 593dddc9cc4d7b6f2fa51176c7f83429fe43c266 | [
"MIT"
] | null | null | null | /// Copyright (c) 2019,2020 Lijiancong. All rights reserved.
///
/// Use of this source code is governed by a MIT license
/// that can be found in the License file.
#include "log_stream.hpp"
#include <catch2/catch.hpp>
#include "profiler.hpp"
TEST_CASE("log_stream 简单测试", "log") {
LOG(TRACE) << "string"
... | 27.2 | 60 | 0.407754 | Mercy1101 |
d6230b0105f396a22f3275ea218d38487a4e3995 | 3,607 | hpp | C++ | include/Org/BouncyCastle/Crypto/Parameters/DesParameters.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Crypto/Parameters/DesParameters.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Crypto/Parameters/DesParameters.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: Org.BouncyCastle.Crypto.Parameters.KeyParameter
#include "Org/BouncyCa... | 56.359375 | 134 | 0.712503 | darknight1050 |
d624b48f9cc20fcb15c28a498237a6c04a8fa8d6 | 4,204 | cpp | C++ | src/base/ossimAdjustableParameterInfo.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/base/ossimAdjustableParameterInfo.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/base/ossimAdjustableParameterInfo.cpp | IvanLJF/ossim | 2e0143f682b9884a09ff2598ef8737f29e44fbdf | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimAdjustableParameterInfo.cpp 11347 2007-07-2... | 27.298701 | 89 | 0.596575 | vladislav-horbatiuk |
d62745605e1ad49759010b0e6da70446dda2987e | 938 | cpp | C++ | Problem/src/SimpleProblem.cpp | tut-cc/DiceTilingMeu | d07d6e27370385ff7b4bce48f34f64bb1caa41ee | [
"MIT"
] | 8 | 2015-10-12T05:39:06.000Z | 2016-08-20T06:12:26.000Z | Problem/src/SimpleProblem.cpp | tut-cc/DiceTilingMeu | d07d6e27370385ff7b4bce48f34f64bb1caa41ee | [
"MIT"
] | null | null | null | Problem/src/SimpleProblem.cpp | tut-cc/DiceTilingMeu | d07d6e27370385ff7b4bce48f34f64bb1caa41ee | [
"MIT"
] | null | null | null | #include "SimpleProblem.hpp"
#include <string>
#include <iostream>
SimpleProblem::SimpleProblem() : field([](){
std::vector<std::string> list;
for (int i = 0; i < 32; ++i) {
std::string str;
std::cin >> str;
list.push_back( str );
}
return list;
}()), stones([this](){
std::vector<std::vector<std:... | 19.142857 | 75 | 0.614072 | tut-cc |
d628b15b7336c5d05c275d4421ee0aa981992da8 | 234 | cpp | C++ | solved/11054.cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | solved/11054.cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | solved/11054.cpp | goutomroy/uva.onlinejudge | 5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<math.h>
void main( )
{
long n,work,prework,i,wine;
while(scanf("%ld",&n)==1 && n!=0)
{
work=prework=0;
for(i=0;i<n;i++)
{
scanf("%ld",&wine);
work+=abs(prework);
prework+=wine;
}
printf("%ld\n",work);
}
}
| 12.315789 | 34 | 0.594017 | goutomroy |
d62b88a1c0df56df0d339305aee9f48e8cfcafcb | 45,230 | cpp | C++ | tsim_example/hardware/chisel/build/verilator/VTestAccel.cpp | BenjaminTu/TsimTest | 4874af4130b32cfb7af522f0f7718c7ded1572a7 | [
"Apache-2.0"
] | null | null | null | tsim_example/hardware/chisel/build/verilator/VTestAccel.cpp | BenjaminTu/TsimTest | 4874af4130b32cfb7af522f0f7718c7ded1572a7 | [
"Apache-2.0"
] | null | null | null | tsim_example/hardware/chisel/build/verilator/VTestAccel.cpp | BenjaminTu/TsimTest | 4874af4130b32cfb7af522f0f7718c7ded1572a7 | [
"Apache-2.0"
] | null | null | null | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestAccel.h for the primary calling header
#include "VTestAccel.h"
#include "VTestAccel__Syms.h"
#include "verilated_dpi.h"
//--------------------
void VTestAccel::eval() {
VL_DEBUG_IF(VL_DBG_MSGF("+++++TOP Eval... | 55.70197 | 408 | 0.775525 | BenjaminTu |
d63017b15ecaa6d29a1338a6d85bc3750a226912 | 1,812 | hpp | C++ | interpreter/IDuckPro_AST/src/interpreter/Token.hpp | PS-Group/compiler-theory-samples | c916af50eb42020024257ecd17f9be1580db7bf0 | [
"MIT"
] | null | null | null | interpreter/IDuckPro_AST/src/interpreter/Token.hpp | PS-Group/compiler-theory-samples | c916af50eb42020024257ecd17f9be1580db7bf0 | [
"MIT"
] | null | null | null | interpreter/IDuckPro_AST/src/interpreter/Token.hpp | PS-Group/compiler-theory-samples | c916af50eb42020024257ecd17f9be1580db7bf0 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
struct TokenPos
{
size_t line;
size_t column;
TokenPos()
:line(0), column(0)
{
}
TokenPos(size_t vLine, size_t vColumn)
:line(vLine), column(vColumn)
{
}
};
class Token
{
public:
enum Type {
Type_EOF,
Type_LBRACKET,
... | 17.09434 | 62 | 0.509934 | PS-Group |
d630bdf3a014147a45ffdf8137e1ee9f87d00937 | 441 | cpp | C++ | Mini lista para Iniciantes/aula01-Ex01.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | Mini lista para Iniciantes/aula01-Ex01.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | Mini lista para Iniciantes/aula01-Ex01.cpp | Suricat0Br/Programacao-em-C | a04b5b8e3dbbf82fcec4888d7bdf888bdc53d715 | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include <iostream>
#include<stdio.h>
//Faça um Programa que peça as 4 notas bimestrais e mostre a média.
int main()
{
int i;
float nota, media;
printf("Ola, Bem vindo(a) ao software de cadastro de notas!\n\n");
for(i = 0; i<4; i++){
printf("Insira sua %d nota:\n",(i+1));
sc... | 23.210526 | 70 | 0.582766 | Suricat0Br |
d63744912ee0b717d77967f1755ba91f73670b46 | 13,220 | cpp | C++ | VGP334/02_HelloModel/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | 1 | 2021-04-23T19:18:12.000Z | 2021-04-23T19:18:12.000Z | VGP334/02_HelloModel/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | null | null | null | VGP334/02_HelloModel/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | 1 | 2021-06-15T10:42:08.000Z | 2021-06-15T10:42:08.000Z | #include "GameState.h"
#include "GameState.h"
#include <ImGui/Inc/imgui.h>
using namespace Omega::Graphics;
using namespace Omega::Input;
using namespace Omega::Math;
namespace
{
void SimpleDrawCamera(const Camera& camera)
{
auto defaultMatView = camera.GetViewMatrix();
Vector3 cameraPosition = c... | 31.778846 | 113 | 0.710287 | CyroPCJr |
d63c01f88d79ba06c15e4f77dd4f2423c0380760 | 2,376 | hpp | C++ | c/src/xkms/XKMSKeyBinding.hpp | douglascrp/xmlsec-mityc-sinadura | cf63024481914be33ae3a06ef1cc7629dd59aa0f | [
"Apache-2.0"
] | null | null | null | c/src/xkms/XKMSKeyBinding.hpp | douglascrp/xmlsec-mityc-sinadura | cf63024481914be33ae3a06ef1cc7629dd59aa0f | [
"Apache-2.0"
] | null | null | null | c/src/xkms/XKMSKeyBinding.hpp | douglascrp/xmlsec-mityc-sinadura | cf63024481914be33ae3a06ef1cc7629dd59aa0f | [
"Apache-2.0"
] | 2 | 2018-08-10T18:54:23.000Z | 2018-08-10T18:56:27.000Z | /*
* Copyright 2004-2005 The Apache Software Foundation.
*
* 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... | 22.846154 | 75 | 0.690236 | douglascrp |
d647597753feac195611ad369ff8b913dba5c048 | 2,235 | cpp | C++ | FindCriticalProcess.cpp | chk141/Homework-of-C-Language | b2d0d2b67abd55d51febb21c3eb6ce4a682e2cff | [
"BSD-3-Clause"
] | 255 | 2018-07-06T08:59:32.000Z | 2022-03-31T07:54:53.000Z | FindCriticalProcess.cpp | chk141/Homework-of-C-Language | b2d0d2b67abd55d51febb21c3eb6ce4a682e2cff | [
"BSD-3-Clause"
] | 4 | 2019-08-25T06:21:44.000Z | 2021-12-20T03:07:15.000Z | FindCriticalProcess.cpp | chk141/Homework-of-C-Language | b2d0d2b67abd55d51febb21c3eb6ce4a682e2cff | [
"BSD-3-Clause"
] | 105 | 2018-08-31T16:51:51.000Z | 2022-03-10T22:10:34.000Z | #include <stdio.h>
#include <Windows.h>
#include <Psapi.h>
#pragma comment(lib, "Psapi.lib")
#pragma comment(lib,"Advapi32.lib")
#define ProcessBreakOnTermination 29
typedef int ProcessInformationClass;
typedef NTSTATUS(NTAPI * _NtQueryInformationProcess)(
HANDLE ProcessHandle,
ProcessInformationClass information... | 25.988372 | 159 | 0.725727 | chk141 |
d649c297cb189aab00fe797a913a428155e44923 | 1,485 | hh | C++ | src/include/meadow/dhalia.hh | cagelight/meadow | 9638ce5a1f18be3da3ace157b937e41cd65c6ec1 | [
"MIT"
] | null | null | null | src/include/meadow/dhalia.hh | cagelight/meadow | 9638ce5a1f18be3da3ace157b937e41cd65c6ec1 | [
"MIT"
] | null | null | null | src/include/meadow/dhalia.hh | cagelight/meadow | 9638ce5a1f18be3da3ace157b937e41cd65c6ec1 | [
"MIT"
] | null | null | null | #pragma once
/*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--------------------------------------------------------------------------------------------------------------------------------
=============================================... | 49.5 | 128 | 0.040404 | cagelight |
d6504513e7835627bac13803c23aedb0f90dc74a | 355 | cpp | C++ | src/11000/11399.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/11000/11399.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/11000/11399.cpp14.cpp | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int no_person, ans=0;
cin>>no_person;
int *line=new int[no_person];
for(int i=0; i<no_person; i++)
cin>>line[i];
sort(line, line+no_person);
for(int i=0; i<no_person; i++)
ans+=line[i]*(no_person-i);
... | 16.136364 | 35 | 0.585915 | upple |
d65780e66d8d03a36e25019eac73196f8c759a69 | 25,659 | cpp | C++ | src/RcppExports.cpp | hillarykoch/CLIMB | da6cc77ff8be48ceeb63247506467911d6130ac2 | [
"Artistic-2.0"
] | 3 | 2021-11-29T08:05:48.000Z | 2022-01-08T16:16:35.000Z | src/RcppExports.cpp | hillarykoch/CLIMB | da6cc77ff8be48ceeb63247506467911d6130ac2 | [
"Artistic-2.0"
] | null | null | null | src/RcppExports.cpp | hillarykoch/CLIMB | da6cc77ff8be48ceeb63247506467911d6130ac2 | [
"Artistic-2.0"
] | 2 | 2020-02-24T19:18:06.000Z | 2020-09-08T14:29:27.000Z | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// cgetPaths
arma::mat cgetPaths(std::string filepath);
RcppExport SEXP _CLIMB_cgetPaths(SEXP filepathSEXP) {
BEGIN_RCPP
... | 49.439306 | 233 | 0.735921 | hillarykoch |
d66816f61036fa557cbba4ecf6912b1e6481e942 | 2,635 | hpp | C++ | src/log.hpp | j-martina/machinate | 145d8df7a6ccf085a625805dc745f5afd9f5c9c6 | [
"MIT"
] | null | null | null | src/log.hpp | j-martina/machinate | 145d8df7a6ccf085a625805dc745f5afd9f5c9c6 | [
"MIT"
] | null | null | null | src/log.hpp | j-martina/machinate | 145d8df7a6ccf085a625805dc745f5afd9f5c9c6 | [
"MIT"
] | null | null | null | /**
* @file log.hpp
* @brief Quill-based logger, shortcut macros, related symbols.
*/
#pragma once
#include "preproc.hpp"
#include <quill/Quill.h>
namespace mxn
{
extern quill::Logger* qlog;
/**
* @brief Prepare for logging via Quill.
*
* Calls `quill::enable_console_colours()`, `quill::start()`,
* an... | 34.220779 | 79 | 0.702467 | j-martina |
69953ecd401a7ac62deaa84853f5c226ffadeddd | 1,409 | cpp | C++ | test/dioptre/application.cpp | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | 2 | 2015-05-14T16:07:30.000Z | 2015-07-27T21:08:48.000Z | test/dioptre/application.cpp | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | null | null | null | test/dioptre/application.cpp | tobscher/rts | 7f30faf6a13d309e4db828be8be3c05d28c05364 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "dioptre/application.h"
#include "test_object.h"
#include "another_test_object.h"
TEST(Application, IsRunning) {
char empty[1] = {0};
char *argv[] = {empty, 0};
int argc = 1;
dioptre::Application application(argc, argv);
EXPECT_FALSE(application.isRunning());
}
TEST(Appli... | 26.092593 | 77 | 0.723208 | tobscher |
69960d798e7064a10ca53671299c21fce929820f | 841 | cpp | C++ | src/format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/format.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | 1 | 2021-06-23T08:02:03.000Z | 2021-06-23T08:02:03.000Z | #include "../include/aspose.h"
#include "../include/format.h"
#include "../include/fill-format.h"
#include <phpcpp.h>
#include "../include/line-format.h"
using namespace Aspose::Slides::Charts;
using namespace std;
namespace AsposePhp
{
/**
* @brief Returns fill style properties of a chart
*
* @r... | 24.735294 | 138 | 0.638526 | dashboardvision |
69966892be1942dae20ef69d1cbb666dcaf702e9 | 11,356 | cpp | C++ | examples/ecies-example.cpp | istepic/MoCOCrW | db7d291cec2d85566a6f34a19f6120974c021e73 | [
"Apache-2.0"
] | 19 | 2018-05-15T09:01:13.000Z | 2022-02-16T16:36:16.000Z | examples/ecies-example.cpp | istepic/MoCOCrW | db7d291cec2d85566a6f34a19f6120974c021e73 | [
"Apache-2.0"
] | 39 | 2018-05-28T10:22:04.000Z | 2021-07-26T11:27:36.000Z | examples/ecies-example.cpp | istepic/MoCOCrW | db7d291cec2d85566a6f34a19f6120974c021e73 | [
"Apache-2.0"
] | 26 | 2018-05-15T10:08:18.000Z | 2022-03-31T08:33:03.000Z | /*
* #%L
* %%
* Copyright (C) 2020 BMW Car IT GmbH
* %%
* 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... | 42.85283 | 120 | 0.642568 | istepic |
699943947100979ae07aefc1d5143c60e6b59993 | 13,446 | cpp | C++ | Desktop/piMASS/piMASScmplrSLN/backup/gpcpic.cpp | AliveMOon/piMASSpub | 5b87752b9d224f4033e33635f527b842b454f012 | [
"MIT"
] | 2 | 2019-06-17T10:40:53.000Z | 2019-06-18T12:50:29.000Z | Desktop/piMASS/piMASScmplrSLN/backup/gpcpic.cpp | AliveMOon/piMASSpub | 5b87752b9d224f4033e33635f527b842b454f012 | [
"MIT"
] | 3 | 2019-06-17T10:20:46.000Z | 2019-06-18T18:10:41.000Z | Desktop/piMASS/piMASScmplrSLNpi4/backup/gpcpic.cpp | AliveMOon/piMASSpub | 5b87752b9d224f4033e33635f527b842b454f012 | [
"MIT"
] | null | null | null | #include "gpcpic.h"
#include "gpcSRC.h"
bool gpfSRFjpgSAVE( U1* pFILE, SDL_Surface* pSRF, I4 q )
{
if( pSRF ? (pFILE ? !*pFILE : false ) : true )
return false;
struct jpeg_compress_struct cinfo;
struct jpeg_error_mgr jerr;
FILE* pOUT;
JSAMPROW aROW[1];
cinfo.err = jpeg_std_error(&jerr);
jpeg_create_compr... | 27.163636 | 141 | 0.548118 | AliveMOon |
69a1943f68b8ee73fa1cce852fe4b6edf8d5fb36 | 1,231 | cc | C++ | src/input/config_ctl.cc | frzifus/sfml-rpic-desktop | c112ed66a711f62ecf1198a221e7a914e413a92b | [
"MIT"
] | null | null | null | src/input/config_ctl.cc | frzifus/sfml-rpic-desktop | c112ed66a711f62ecf1198a221e7a914e413a92b | [
"MIT"
] | null | null | null | src/input/config_ctl.cc | frzifus/sfml-rpic-desktop | c112ed66a711f62ecf1198a221e7a914e413a92b | [
"MIT"
] | null | null | null | /**
* Copyright(c) [2017] <Frzifus> All Rights Reserved.
* Distributed under MIT license.
* See file LICENSE for detail at LICENSE file.
*/
#include "./input/config_ctl.h"
#include "./screen/config.h"
#include "./screen/screen_digits.h"
Input::ConfigCtl::ConfigCtl(::Screen::Config *config_instance) {
config_ins... | 30.02439 | 68 | 0.669374 | frzifus |
69a70a2e93ed3a12b83d33857adda993fa1c7743 | 468 | cpp | C++ | src/shm/single_producer.cpp | AMDS123/SharedMQ | d58c09c32a45822e4a473b6d6d51d1a51ce3681a | [
"BSD-2-Clause"
] | 4 | 2019-03-19T08:14:35.000Z | 2021-05-25T08:51:54.000Z | src/shm/single_producer.cpp | AMDS123/SharedMQ | d58c09c32a45822e4a473b6d6d51d1a51ce3681a | [
"BSD-2-Clause"
] | null | null | null | src/shm/single_producer.cpp | AMDS123/SharedMQ | d58c09c32a45822e4a473b6d6d51d1a51ce3681a | [
"BSD-2-Clause"
] | 3 | 2019-04-05T10:23:26.000Z | 2021-07-22T01:26:01.000Z | #include "errors.h"
#include "configreader.h"
#include "single_producer.h"
Producer::Producer(const char *conf_path)
{
shmmq_notifier = new ShmBase::ShmMQNotify(conf_path, ShmBase::ShmMQNotify::WRITER);
exit_if(shmmq_notifier == NULL, "new ShmMQNotify");
}
Producer::~Producer()
{
delete shmmq_notifier;
}
... | 23.4 | 87 | 0.735043 | AMDS123 |
69aab84ff423b7f54992bd732cfdec60413d46bd | 1,697 | cpp | C++ | modules/core/container/table/unit/table/release.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/container/table/unit/table/release.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/container/table/unit/table/release.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 25.712121 | 80 | 0.516205 | psiha |
69ad11e7a6690ad55c9987a8efd262d42e53bcdb | 4,344 | cpp | C++ | local/codes/c1086_2.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | local/codes/c1086_2.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | local/codes/c1086_2.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | /*************************************************************
* > File Name : c1086_2.cpp
* > Author : Tony
* > Created Time : 2019/11/07 15:32:56
* > Algorithm :
**************************************************************/
#include <bits/stdc++.h>
using namespace std;
inline ... | 28.392157 | 78 | 0.35244 | Tony031218 |
69b33e9b2d61a2f538bbd88d6c45c51304a2990e | 448 | inl | C++ | engine/include/xe/serialization/node_view.inl | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | engine/include/xe/serialization/node_view.inl | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | engine/include/xe/serialization/node_view.inl | trbflxr/xe | 13123869a848972e064cb8c6838c4215f034f3d9 | [
"MIT"
] | null | null | null | //
// Created by trbflxr on 3/7/2020.
//
#ifndef XE_NODE_VIEW_INL
#define XE_NODE_VIEW_INL
namespace xe {
template<typename T>
void NodeView::setName(const T &value) {
return getNode()->setName<T>(value);
}
template<typename T>
void NodeView::set(const T &value) {
getNode()->set<T>(value);
}
... | 16 | 43 | 0.65625 | trbflxr |
69b36f2bf6b05a7a19fc71f5965b6a77b8612532 | 15,698 | cpp | C++ | src/coreclr/src/jit/jitconfig.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 6 | 2016-07-25T08:33:10.000Z | 2022-02-10T10:10:51.000Z | src/coreclr/src/jit/jitconfig.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 15 | 2017-01-27T20:18:50.000Z | 2019-11-14T00:52:58.000Z | src/coreclr/src/jit/jitconfig.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 3 | 2021-02-10T16:20:05.000Z | 2021-03-12T07:55:36.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "jitpch.h"
#ifdef _MSC_VER
#pragma hdrstop
#endif
#include "jitconfig.h"
JitConfigValues JitConfig;
void... | 36.849765 | 120 | 0.459485 | abock |
69c10b4698fbd8b0ec8bfd85a487868575b9a719 | 4,632 | cpp | C++ | scene.cpp | LuanQBarbosa/ray-tracer-university-project | 9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b | [
"MIT"
] | null | null | null | scene.cpp | LuanQBarbosa/ray-tracer-university-project | 9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b | [
"MIT"
] | null | null | null | scene.cpp | LuanQBarbosa/ray-tracer-university-project | 9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b | [
"MIT"
] | null | null | null | #include "scene.h"
Scene::Scene( void )
{}
Scene::~Scene( void )
{
if ( bvh_ )
{
delete bvh_;
bvh_ = nullptr;
}
}
// bool Scene::intersect( const Ray &ray,
// IntersectionRecord &intersection_record ) const
// {
// bool intersection_result = false;
// Intersect... | 38.280992 | 178 | 0.626295 | LuanQBarbosa |
69c588a34ad6018a8ba04f265c76749673132a96 | 1,679 | cpp | C++ | c++/program.cpp | foxtrotzulu94/LanguageBenchmarkGame | 29c92c47c860d426409047a8408eaa52284a0cff | [
"MIT"
] | null | null | null | c++/program.cpp | foxtrotzulu94/LanguageBenchmarkGame | 29c92c47c860d426409047a8408eaa52284a0cff | [
"MIT"
] | null | null | null | c++/program.cpp | foxtrotzulu94/LanguageBenchmarkGame | 29c92c47c860d426409047a8408eaa52284a0cff | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "argument_holder.hpp"
#include "file_result.hpp"
#include "worker.hpp"
#include "utils.hpp"
void PrintUsage(){
using namespace std;
cout << endl;
cout << " Usage: program.out <dir_a> <dir_b> [options]" << endl << endl;
... | 34.979167 | 120 | 0.622394 | foxtrotzulu94 |
69c63bdf96afc38e8fe7fba0b9e752be7677271e | 1,145 | cpp | C++ | math/EXCRT.cpp | jasonfan0328/algorithm | 3769a03c5c530381e3ee08c416c3593c96ee966c | [
"CC0-1.0"
] | 3 | 2021-05-03T01:14:04.000Z | 2021-05-05T05:47:56.000Z | math/EXCRT.cpp | jason-fxz/algorithm | 3769a03c5c530381e3ee08c416c3593c96ee966c | [
"CC0-1.0"
] | null | null | null | math/EXCRT.cpp | jason-fxz/algorithm | 3769a03c5c530381e3ee08c416c3593c96ee966c | [
"CC0-1.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 100010;
ll a[N], b[N]; int n;
ll mul(ll a, ll b, ll mod) {
ll r = 0;
a = (a % mod + mod) % mod;
b = (b % mod + mod) % mod;
while (b) {
if (b & 1) r = (r + a) % mod;
a = (a << 1) % mod; b >>= 1;
} return... | 27.261905 | 92 | 0.385153 | jasonfan0328 |
69ccc19cb17a6de0aeb0dc8a1c7c6b06b421becf | 33,356 | cpp | C++ | Source/GameJoltAPI/gjAPI.cpp | Sasurai/Dodge | bb7233b20bb1f8f0e6cae2d53c3993aea486109c | [
"MIT"
] | 1 | 2020-01-08T05:36:59.000Z | 2020-01-08T05:36:59.000Z | Source/GameJoltAPI/gjAPI.cpp | Sasurai/Dodge | bb7233b20bb1f8f0e6cae2d53c3993aea486109c | [
"MIT"
] | null | null | null | Source/GameJoltAPI/gjAPI.cpp | Sasurai/Dodge | bb7233b20bb1f8f0e6cae2d53c3993aea486109c | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////
//*-------------------------------------------------------------*//
//| Part of the Game Jolt API C++ Library (http://gamejolt.com) |//
//*-------------------------------------------------------------*//
//| Released under the zlib License ... | 28.172297 | 131 | 0.536575 | Sasurai |
69cdb8f40a274b41ceea595d55c8979ef8edd28f | 1,272 | cpp | C++ | src/Logger.cpp | cbaron3/chip8-emulator | b218fa40c03d950713d41f32ca08b709a69bcc84 | [
"MIT"
] | null | null | null | src/Logger.cpp | cbaron3/chip8-emulator | b218fa40c03d950713d41f32ca08b709a69bcc84 | [
"MIT"
] | 10 | 2019-02-04T17:00:20.000Z | 2019-05-31T01:44:39.000Z | src/Logger.cpp | cbaron3/chip8-emulator | b218fa40c03d950713d41f32ca08b709a69bcc84 | [
"MIT"
] | null | null | null | // Project includes
#include "../include/Logger.h"
// C++ includes
#include <iostream>
namespace util{
// Initial value of static object
Logger* Logger::m_logger = NULL;
// Singleton instance function
Logger* Logger::get_instance( void )
{
if(m_logger == NULL)
{
m_logger = new Logger();
}
return m_logge... | 19.272727 | 74 | 0.624214 | cbaron3 |
69d077a4ee3c776e43f12161838888d2b98d6c3c | 4,160 | tpp | C++ | signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 181 | 2020-01-17T13:49:59.000Z | 2022-03-17T03:23:12.000Z | signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 22 | 2020-01-16T23:37:02.000Z | 2021-09-08T23:51:12.000Z | signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp | qubka/signals | 6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c | [
"MIT"
] | 16 | 2020-01-28T15:40:18.000Z | 2022-02-25T08:32:15.000Z | /*
Copyright 2018-present IsCool Entertainment
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | 30.144928 | 80 | 0.613702 | qubka |
69d6b6c5973d7684a866996ab5ab2c47545fc681 | 2,195 | hpp | C++ | src/VirtWebPage.hpp | taleroangel/ProxyServer | be1433be7b332a9d901964087591c5908450733a | [
"Apache-2.0"
] | 1 | 2022-03-07T02:43:05.000Z | 2022-03-07T02:43:05.000Z | src/VirtWebPage.hpp | taleroangel/ProxyServer | be1433be7b332a9d901964087591c5908450733a | [
"Apache-2.0"
] | null | null | null | src/VirtWebPage.hpp | taleroangel/ProxyServer | be1433be7b332a9d901964087591c5908450733a | [
"Apache-2.0"
] | null | null | null | /**
* @file Server.hpp
* @author Angel D. Talero (angelgotalero@outlook.com)
* @brief Clase encargada de manejar los sitios web virtuales
*
* @copyright Copyright (c) 2021. All rights reserved.
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE... | 28.506494 | 69 | 0.663781 | taleroangel |
69d795cc6a368819e3a9697657a3c8dccfaef222 | 14,833 | cpp | C++ | src/jitcat/ExpressionBase.cpp | mvhooren/JitCat | 8e05b51c5feda8fa9258ba443854b23c4ad8bf7c | [
"MIT"
] | 14 | 2019-03-16T07:00:44.000Z | 2021-10-20T23:36:51.000Z | src/jitcat/ExpressionBase.cpp | mvhooren/JitCat | 8e05b51c5feda8fa9258ba443854b23c4ad8bf7c | [
"MIT"
] | 13 | 2019-11-22T12:43:55.000Z | 2020-05-25T13:09:08.000Z | src/jitcat/ExpressionBase.cpp | mvhooren/JitCat | 8e05b51c5feda8fa9258ba443854b23c4ad8bf7c | [
"MIT"
] | 1 | 2019-11-23T17:59:58.000Z | 2019-11-23T17:59:58.000Z | /*
This file is part of the JitCat library.
Copyright (C) Machiel van Hooren 2018
Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
#include "jitcat/ExpressionBase.h"
#include "jitcat/CatArgumentList.h"
#include "jitcat/CatAssignableExpression.h"
#include "jitcat/C... | 34.656542 | 309 | 0.750826 | mvhooren |
69df1ad7d8614d697c0432d2810ec8b3c2393d6b | 1,172 | cpp | C++ | official sample codes/GenIRanger/private/DatAndXmlFiles.cpp | novitec/ranger3 | 5ba831c2ddd500685f5e3940ab725c005c975c1c | [
"MIT"
] | null | null | null | official sample codes/GenIRanger/private/DatAndXmlFiles.cpp | novitec/ranger3 | 5ba831c2ddd500685f5e3940ab725c005c975c1c | [
"MIT"
] | null | null | null | official sample codes/GenIRanger/private/DatAndXmlFiles.cpp | novitec/ranger3 | 5ba831c2ddd500685f5e3940ab725c005c975c1c | [
"MIT"
] | 1 | 2020-03-25T04:49:40.000Z | 2020-03-25T04:49:40.000Z | // Copyright 2018 SICK AG. All rights reserved.
#include "DatAndXmlFiles.h"
namespace GenIRanger {
DatAndXmlFiles::DatAndXmlFiles(std::string filePathWithNoEnding)
: mDataStream(filePathWithNoEnding + ".dat", openMode)
, mXmlStream(filePathWithNoEnding + ".xml", openMode)
{
mDataStream.exceptions(std::ios::fai... | 23.44 | 72 | 0.744881 | novitec |
69dfaaecaff7c2aa2914a68e33bc8a59d61cc116 | 388 | cpp | C++ | chai.cpp | faede/Daily | 45d2cbdca9a63c956df066fb596317ae4a6137b3 | [
"MIT"
] | null | null | null | chai.cpp | faede/Daily | 45d2cbdca9a63c956df066fb596317ae4a6137b3 | [
"MIT"
] | null | null | null | chai.cpp | faede/Daily | 45d2cbdca9a63c956df066fb596317ae4a6137b3 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int a[20];
void chai(int n,int pos,int temp_sum,int last){
if(temp_sum == n){
cout<<n<<"=";
cout<<a[1];
for(int i = 2; i < pos ; ++i){
cout<<"+"<<a[i];
}
cout<<endl;
return;
}
for(int i = last; i != n && i <= n - temp_sum ; ++i){
a[pos] = i;
chai(n,pos+1,te... | 15.52 | 54 | 0.515464 | faede |
69e434b50feeab8f249da755c6ef7022179f84bd | 354 | cpp | C++ | knapsack/main.cpp | ryanmcdermott/katas | d23b8c131f03e4df0a3a5268de4b63c5b35058a1 | [
"MIT"
] | 46 | 2017-06-26T15:09:10.000Z | 2022-03-19T04:21:32.000Z | knapsack/main.cpp | ryanmcdermott/katas | d23b8c131f03e4df0a3a5268de4b63c5b35058a1 | [
"MIT"
] | null | null | null | knapsack/main.cpp | ryanmcdermott/katas | d23b8c131f03e4df0a3a5268de4b63c5b35058a1 | [
"MIT"
] | 13 | 2017-10-18T05:30:18.000Z | 2021-10-04T22:46:35.000Z | #include "./knapsack.hpp"
#include <assert.h>
#include <iostream>
using std::cout;
int main() {
int values[] = {60, 100, 120};
int weights[] = {10, 20, 30};
int max_weight = 50;
int item_count = sizeof(values) / sizeof(values[0]);
int result = knapsack(max_weight, weights, values, item_count);
assert(re... | 19.666667 | 65 | 0.641243 | ryanmcdermott |
69e4f5d578fc88afbea1e11cfa1cbbd196cd3345 | 4,943 | cpp | C++ | Library/Source/Nano/Time/NTimeUtils.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 23 | 2019-11-12T09:31:11.000Z | 2021-09-13T08:59:37.000Z | Library/Source/Nano/Time/NTimeUtils.cpp | refnum/nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 1 | 2020-10-30T09:54:12.000Z | 2020-10-30T09:54:12.000Z | Library/Source/Nano/Time/NTimeUtils.cpp | refnum/Nano | dceb0907061f7845d8a3c662f309ca164e932e6f | [
"BSD-3-Clause"
] | 3 | 2015-09-08T11:00:02.000Z | 2017-09-11T05:42:30.000Z | /* NAME:
NTimeUtils.cpp
DESCRIPTION:
Time utilities.
COPYRIGHT:
Copyright (c) 2006-2021, refNum Software
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 sourc... | 28.738372 | 79 | 0.560388 | refnum |
69e5c583543bdf0c7e2be6f9de29fb1e20a78129 | 41,321 | cpp | C++ | src/core/callers/trio_caller.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | 1 | 2018-08-21T23:34:28.000Z | 2018-08-21T23:34:28.000Z | src/core/callers/trio_caller.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | null | null | null | src/core/callers/trio_caller.cpp | alimanfoo/octopus | f3cc3f567f02fafe33f5a06e5be693d6ea985ee3 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2018 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "trio_caller.hpp"
#include <typeinfo>
#include <functional>
#include <iterator>
#include <algorithm>
#include <numeric>
#include <map>
#include <utility>
#include "basics/... | 42.775362 | 135 | 0.654703 | alimanfoo |
69e7c7f74bc79ccac4886ec37eaff73dbf6343cb | 4,538 | cpp | C++ | RompLib/src/QueryFuncs.cpp | World-Worst-Detector/romp | d45cf33bd233eef4cd475a8dd328d19a3ae27c24 | [
"MIT"
] | 5 | 2018-11-15T16:44:06.000Z | 2022-03-01T05:39:54.000Z | RompLib/src/QueryFuncs.cpp | World-Worst-Detector/romp | d45cf33bd233eef4cd475a8dd328d19a3ae27c24 | [
"MIT"
] | 5 | 2019-03-12T16:03:13.000Z | 2022-01-15T01:23:59.000Z | RompLib/src/QueryFuncs.cpp | World-Worst-Detector/romp | d45cf33bd233eef4cd475a8dd328d19a3ae27c24 | [
"MIT"
] | 6 | 2019-01-03T22:19:14.000Z | 2021-06-23T18:10:49.000Z | #include "QueryFuncs.h"
#include <glog/logging.h>
#include <glog/raw_logging.h>
#include <pthread.h>
namespace romp {
/*
* Helper function to determine if the query function get available result.
*/
bool infoIsAvailable(const int retVal) {
if (retVal == 0) {
// task does not exist
return false;
} e... | 29.660131 | 81 | 0.675408 | World-Worst-Detector |
69ece13f49b984a83383566514ce4983f0932571 | 546 | hpp | C++ | src/texture_create_info.hpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | src/texture_create_info.hpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | src/texture_create_info.hpp | zfccxt/calcium | 9cc3a00904c05e675bdb5d35eef0f5356796e564 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include "colour.hpp"
#include "texture_filter.hpp"
#include "texture_wrap.hpp"
namespace cl {
// TODO: Name these better
struct TextureCreateInfo {
std::string file_path;
TextureFilter filter = TextureFilter::kLinear;
TextureWrap wrap = TextureWrap::kRepeat;
bool flip_vertic... | 18.827586 | 49 | 0.74359 | zfccxt |
69f1f8c7be5e684596c57065c80b22c0db0e137d | 2,504 | cpp | C++ | Toolbox/Win32_utilities/win32_stdDialogBox.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | Toolbox/Win32_utilities/win32_stdDialogBox.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | Toolbox/Win32_utilities/win32_stdDialogBox.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | // win32_stdDialogBox.cpp
//
// Win32_utilities
#include "stdafx.h"
#include <sstream>
#include "win32_util.h"
#include "win32_util_resource.h"
#include "win32_stdDialogBox.h"
using std::wostringstream;
static float m_fValue; // the value to be edited in the dialog
static wstring m_wstrUnit; // the text to b... | 21.586207 | 94 | 0.70647 | pk1954 |
69f986fb0137e3a90cdec1ccda4505ab528f959b | 585 | cpp | C++ | tests/adjacent_loop/tests/generator.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | tests/adjacent_loop/tests/generator.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | tests/adjacent_loop/tests/generator.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "generator.hpp"
#include "constraints.hpp"
void gen_random(stringstream &ss, const map<string, boost::any> &args) {
int n = any_cast<int>(args.at("n"));
int y = any_cast<int>(args.at("y"));
int x = any_cast<int>(args.at("x"));
ss << n << " " << y << " " << x << " " << 10 << " " << 10 << endl;
}
int m... | 30.789474 | 72 | 0.57094 | not522 |
69facbb96269bdbf16fdb4a385318085e2be31ee | 621 | cpp | C++ | cpp-main-big/src/main.cpp | dksmiffs/gnatmake-examples | 237c0cd9fe8d4788f8898509319a3a665d2233b1 | [
"MIT"
] | null | null | null | cpp-main-big/src/main.cpp | dksmiffs/gnatmake-examples | 237c0cd9fe8d4788f8898509319a3a665d2233b1 | [
"MIT"
] | null | null | null | cpp-main-big/src/main.cpp | dksmiffs/gnatmake-examples | 237c0cd9fe8d4788f8898509319a3a665d2233b1 | [
"MIT"
] | null | null | null | #include <iostream>
#include "i_am_c.h"
#include "i_am_cpp.hpp"
extern "C" void adainit();
extern "C" void adafinal();
extern "C" void ada_procedure();
extern "C" void ada_procedure_too();
int main()
{
std::cout << "Starting C++ main." << std::endl;
adainit();
std::cout << "Calling external C++ code from C++ m... | 24.84 | 71 | 0.628019 | dksmiffs |
69fe0386c91b1531c34533d61f21a49c2766ce5c | 1,954 | cpp | C++ | luogu/codes/P1514.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | luogu/codes/P1514.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | luogu/codes/P1514.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | /*************************************************************
* > File Name : P1514.cpp
* > Author : Tony
* > Created Time : 2019/06/21 15:10:31
* > Algorithm : [Dfs]Ex
**************************************************************/
#include <bits/stdc++.h>
using namespace std;
in... | 24.734177 | 89 | 0.351586 | Tony031218 |
69ff0364c09954f0a2975f8033527c51556d1c65 | 6,754 | cc | C++ | src/openclx/compiler.cc | igankevich/openclx | 5063635392619eef84e536f24f8252ea41a5ffe6 | [
"Unlicense"
] | null | null | null | src/openclx/compiler.cc | igankevich/openclx | 5063635392619eef84e536f24f8252ea41a5ffe6 | [
"Unlicense"
] | null | null | null | src/openclx/compiler.cc | igankevich/openclx | 5063635392619eef84e536f24f8252ea41a5ffe6 | [
"Unlicense"
] | null | null | null | #include <dirent.h>
#include <fstream>
#include <iomanip>
#include <sstream>
#include <openclx/binary>
#include <openclx/compiler>
#include <openclx/kernel>
#include <openclx/platform>
#define CLX_SYS_THROW() \
throw ::std::system_error(errno, ::std::system_category())
#define CLX_SYS_CHECK(ret) \
if (ret =... | 28.378151 | 94 | 0.563222 | igankevich |
0e02a28495bfdadba7ff2ee589b6d410b729d4af | 2,294 | hpp | C++ | src/include/XERenderer/GUI/RenderableLayer.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XERenderer/GUI/RenderableLayer.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XERenderer/GUI/RenderableLayer.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | #ifndef _RENDERABLELAYER_HPP
#define _RENDERABLELAYER_HPP
#include <XESystem/SystemConfig.hpp>
#include <XERenderer/private/ScreenRenderable.hpp>
//#include <Ogre/OgreMain/include/OgreManualObject2.h>
#include <Ogre/OgreMain/include/OgreMovableObject.h>
#include <Ogre/OgreMain/include/OgreRenderable.h>
//Ogre::v1
#... | 26.068182 | 103 | 0.767655 | devxkh |
0e058e34350ce6e5f8d9c6c68ffce88ec81eea64 | 1,895 | cc | C++ | tensorflow/core/grappler/optimizers/debug_stripper.cc | zhangyujing/tensorflow | c7a04561fb8972fb64907acc5f10f3c6d4cef9f2 | [
"Apache-2.0"
] | 3 | 2019-04-15T13:59:41.000Z | 2020-04-25T21:09:33.000Z | tensorflow/core/grappler/optimizers/debug_stripper.cc | zhangyujing/tensorflow | c7a04561fb8972fb64907acc5f10f3c6d4cef9f2 | [
"Apache-2.0"
] | 1 | 2018-02-23T03:17:44.000Z | 2018-02-23T03:17:44.000Z | tensorflow/core/grappler/optimizers/debug_stripper.cc | zhangyujing/tensorflow | c7a04561fb8972fb64907acc5f10f3c6d4cef9f2 | [
"Apache-2.0"
] | 1 | 2019-06-24T17:57:20.000Z | 2019-06-24T17:57:20.000Z | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 35.092593 | 80 | 0.675462 | zhangyujing |
0e0a55ae47d3eca06c6b80dcdddee6ebea0ffd63 | 21,073 | cc | C++ | ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2018-03-05T15:23:27.000Z | 2018-03-05T15:23:27.000Z | ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2019-01-20T17:35:23.000Z | 2019-01-22T21:41:38.000Z | ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2021-09-29T16:06:57.000Z | 2021-09-29T16:06:57.000Z | /*******************************************************************************
* *
* M-DART Routing Protocol *
* ... | 40.839147 | 234 | 0.631472 | nitishk017 |
0e0ceb72e77c4782d9e004faeb4b11acc9674d8a | 40,072 | cpp | C++ | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2021-07-05T17:59:01.000Z | 2022-03-31T12:46:25.000Z | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | null | null | null | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2020-03-25T16:21:25.000Z | 2021-07-05T16:37:34.000Z | #include "buzz_slam_dataset.h"
#include <iostream>
#include <stdlib.h>
#include <time.h>
#include <cmath>
#include "boost/filesystem.hpp"
namespace buzz_slam {
/****************************************/
/****************************************/
BuzzSLAMDataset::BuzzSLAMDataset() {
}
/******************************... | 49.655514 | 292 | 0.647784 | SnowCarter |
97c0da6cbda64060a988e4b5a102a8446fb342aa | 1,465 | hpp | C++ | Runtime/MP1/CCredits.hpp | RetroView/RetroCommon | a413a010b50a53ebc6b0c726203181fc179d3370 | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | Runtime/MP1/CCredits.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | Runtime/MP1/CCredits.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #pragma once
#include "Runtime/CIOWin.hpp"
#include "Runtime/CToken.hpp"
#include "Runtime/Audio/CStaticAudioPlayer.hpp"
#include "Runtime/Camera/CCameraFilter.hpp"
#include "zeus/CVector2i.hpp"
namespace metaforce {
class CGuiTextSupport;
class CStringTable;
class CRasterFont;
class CMoviePlayer;
struct CFinalInput... | 27.12963 | 86 | 0.750853 | RetroView |
97c8e05a5d28adae9c8b1bc238d66655da40cea0 | 11,432 | cpp | C++ | src/Plugins/napoleon/NearestEnemyComponent.cpp | pgruenbacher/Menge | efd577bf5d318b01b2888d281258c8b7b0a7e4fe | [
"Apache-2.0"
] | null | null | null | src/Plugins/napoleon/NearestEnemyComponent.cpp | pgruenbacher/Menge | efd577bf5d318b01b2888d281258c8b7b0a7e4fe | [
"Apache-2.0"
] | null | null | null | src/Plugins/napoleon/NearestEnemyComponent.cpp | pgruenbacher/Menge | efd577bf5d318b01b2888d281258c8b7b0a7e4fe | [
"Apache-2.0"
] | null | null | null | /*
License
Menge
Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement is hereby granted... | 39.285223 | 131 | 0.627362 | pgruenbacher |
97d56573185cbbc365c051f39548cc52558e750f | 5,477 | cpp | C++ | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 834 | 2017-06-24T10:40:36.000Z | 2022-03-31T19:48:51.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 7,042 | 2017-06-23T22:34:47.000Z | 2022-03-31T23:05:23.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1,640 | 2017-06-23T22:31:39.000Z | 2022-03-31T02:45:37.000Z | // This sample can go in ComboBoxRenderer class overview.
// - Snippet2 can go in IsSupported
// - Snippet4 can go in DrawTextBox and DrawDropDownButton
// It renders the pieces of a combo box with visual styles, provided
// that visual styles are enabled in the Display Panel.
// For simplicity, this sample does not h... | 31.65896 | 79 | 0.554135 | BohdanMosiyuk |
97d684525c44125b4ffe7639b450893155f795ef | 4,021 | cpp | C++ | android-31/android/hardware/camera2/params/OutputConfiguration.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/hardware/camera2/params/OutputConfiguration.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/hardware/camera2/params/OutputConfiguration.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../MultiResolutionImageReader.hpp"
#include "../../../os/Parcel.hpp"
#include "../../../util/Size.hpp"
#include "../../../view/Surface.hpp"
#include "../../../../JClass.hpp"
#include "../../../../JObject.hpp"
#include "../../../../JString.hpp"
#include "./OutputConfiguration.hpp"
namespace android::hardware:... | 23.377907 | 130 | 0.700323 | YJBeetle |
97d9ad30730abddd9eb15b1bd9081357a0f6ad56 | 532 | cpp | C++ | tests/unit_tests/Entity/Tools.cpp | Allaeddineattia/Valravn | 7afa00bfe3c6f0c8357209601a67508a35b466b5 | [
"MIT"
] | null | null | null | tests/unit_tests/Entity/Tools.cpp | Allaeddineattia/Valravn | 7afa00bfe3c6f0c8357209601a67508a35b466b5 | [
"MIT"
] | null | null | null | tests/unit_tests/Entity/Tools.cpp | Allaeddineattia/Valravn | 7afa00bfe3c6f0c8357209601a67508a35b466b5 | [
"MIT"
] | 2 | 2021-05-07T20:35:55.000Z | 2021-07-08T15:14:43.000Z | //
// Created by ismail on 22/11/2020.
//
#include "gtest/gtest.h"
#include <string>
#include "Shared/Tools.h"
using namespace std ;
TEST(Tools, Valid_remove_blanks) {
string str = "120 : 120";
Tools::remove_blanks(str);
ASSERT_EQ(str,"120:120");
}
TEST(Tools,Throw_error_on_check_resolution){
string s... | 25.333333 | 79 | 0.714286 | Allaeddineattia |
97ddccd4a66f13f721b7c89c02251856ff2b74d2 | 1,267 | cpp | C++ | build/design/clock.cpp | laxtools/lax | 4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b | [
"MIT"
] | 2 | 2018-09-27T11:45:06.000Z | 2019-06-28T10:41:59.000Z | build/design/clock.cpp | laxtools/lax | 4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b | [
"MIT"
] | 1 | 2017-08-28T07:39:31.000Z | 2018-01-26T05:03:29.000Z | build/design/clock.cpp | laxtools/lax | 4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b | [
"MIT"
] | 1 | 2018-09-27T11:45:26.000Z | 2018-09-27T11:45:26.000Z | #include "stdafx.h"
#include "catch.hpp"
#include <chrono>
#include <iostream>
#include <thread>
#include <map>
namespace ex
{
struct perf_span
{
perf_span()
: begin_(std::chrono::high_resolution_clock::now())
{
}
void reset()
{
begin_ = std::chrono::high_resolution_clock::now();
}
... | 18.362319 | 90 | 0.615627 | laxtools |
97e3066692a37f0a44eae8486f3dae71e9edcea4 | 200,714 | inl | C++ | 2d_samples/pmj02_135.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | 1 | 2021-12-10T23:35:04.000Z | 2021-12-10T23:35:04.000Z | 2d_samples/pmj02_135.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | 2d_samples/pmj02_135.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | {std::array<float,2>{0.203858882f, 0.797032833f},
std::array<float,2>{0.892523766f, 0.441579163f},
std::array<float,2>{0.407151997f, 0.0233917385f},
std::array<float,2>{0.644022763f, 0.690212846f},
std::array<float,2>{0.334998846f, 0.524249792f},
std::array<float,2>{0.555751503f, 0.192193568f},
std::array<float,2>{0.02... | 49.002441 | 52 | 0.734702 | st-ario |
97e44e0a09f0f6cba84334a9a869ab7feedaa76d | 187 | cpp | C++ | structural/main.cpp | eivinsam/structural | f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e | [
"MIT"
] | null | null | null | structural/main.cpp | eivinsam/structural | f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e | [
"MIT"
] | null | null | null | structural/main.cpp | eivinsam/structural | f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e | [
"MIT"
] | null | null | null | #include <oui_window.h>
oui::window::Description oui::window::initialize()
{
return { "structural", 1280, 720 };
}
void oui::window::update(oui::Rectangle area, oui::Input& input)
{
} | 17 | 64 | 0.684492 | eivinsam |
97e4abe74f762aa913105d17f6871450252b07ee | 2,598 | cpp | C++ | test/run_test_xuanwu.cpp | chnlkw/xuanwu | f796e9a851d8fad289ac5a625679e7db6c090a04 | [
"MIT"
] | 1 | 2018-04-09T01:45:17.000Z | 2018-04-09T01:45:17.000Z | test/run_test_xuanwu.cpp | chnlkw/xuanwu | f796e9a851d8fad289ac5a625679e7db6c090a04 | [
"MIT"
] | null | null | null | test/run_test_xuanwu.cpp | chnlkw/xuanwu | f796e9a851d8fad289ac5a625679e7db6c090a04 | [
"MIT"
] | 1 | 2020-04-14T03:39:20.000Z | 2020-04-14T03:39:20.000Z | #include <iostream>
#include <vector>
#include <random>
#include <map>
#include <functional>
#include <set>
#include <xuanwu.hpp>
#include <gtest/gtest.h>
#include "Kernels.h"
#include <boost/di.hpp>
namespace di = boost::di;
using namespace Xuanwu;
namespace std {
template<class K, class V>
std::ostream &op... | 25.223301 | 100 | 0.583526 | chnlkw |
97e7033444b4adf50f216f36412f793fe70e3533 | 1,328 | cpp | C++ | tests/job/test_jobsystem.cpp | grandmaster789/bop | 909d4156503f83b66de3f7e3284e086bd98905eb | [
"MIT"
] | null | null | null | tests/job/test_jobsystem.cpp | grandmaster789/bop | 909d4156503f83b66de3f7e3284e086bd98905eb | [
"MIT"
] | null | null | null | tests/job/test_jobsystem.cpp | grandmaster789/bop | 909d4156503f83b66de3f7e3284e086bd98905eb | [
"MIT"
] | null | null | null | #include <iostream>
#include <memory>
#include "../../src/job/job_system.h"
#include <catch2/catch.hpp>
namespace testing {
// because of the statics and one-time initialization, we're kind of limited
// in setup/teardown of the scheduler. Hence, we only have a single file
// with a single scheduler conf... | 26.56 | 81 | 0.600904 | grandmaster789 |
97e8378eec4b6b95d002b74990d743da679d5325 | 32,738 | cpp | C++ | src/backend/vulkan/VulkanTexture.cpp | Shimmen/ArkoseRenderer | d39e1b3d5f5b669370b8aeed5cd1cfada5216763 | [
"MIT"
] | 7 | 2020-11-02T22:27:27.000Z | 2022-01-11T04:25:48.000Z | src/backend/vulkan/VulkanTexture.cpp | Shimmen/ArkoseRenderer | d39e1b3d5f5b669370b8aeed5cd1cfada5216763 | [
"MIT"
] | null | null | null | src/backend/vulkan/VulkanTexture.cpp | Shimmen/ArkoseRenderer | d39e1b3d5f5b669370b8aeed5cd1cfada5216763 | [
"MIT"
] | 2 | 2020-12-09T03:40:05.000Z | 2021-09-14T03:12:40.000Z | #include "VulkanTexture.h"
#include "backend/vulkan/VulkanBackend.h"
#include "utility/Profiling.h"
#include "utility/Logging.h"
#include <stb_image.h>
VulkanTexture::VulkanTexture(Backend& backend, TextureDescription desc)
: Texture(backend, desc)
{
SCOPED_PROFILE_ZONE_GPURESOURCE();
// HACK: Now we lon... | 40.070991 | 174 | 0.668581 | Shimmen |
97e90f3bdcbc8371608e10bf9bf69f4535f6f780 | 766 | cpp | C++ | linked_list/19_remove_Nth_node_from_end_of_list.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | 1 | 2019-08-21T21:25:34.000Z | 2019-08-21T21:25:34.000Z | linked_list/19_remove_Nth_node_from_end_of_list.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | null | null | null | linked_list/19_remove_Nth_node_from_end_of_list.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | null | null | null | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* removeNthFromEnd(ListNode* head, int n)
{
ListNode* p1 = head;
ListNode* p2 = head;
... | 19.15 | 54 | 0.362924 | rspezialetti |
97f00d5ac2bf65e3e4ea704afc2d160f16c51781 | 608 | cpp | C++ | 1. White/Week 2/04. Maximizer/main.cpp | AmaterasuOmikami/The-art-of-modern-Cpp-development | 4f0958197da92d216ee526384a6f7386a0fe62a0 | [
"MIT"
] | 1 | 2022-02-17T10:58:58.000Z | 2022-02-17T10:58:58.000Z | 1. White/Week 2/04. Maximizer/main.cpp | AmaterasuOmikami/The-art-of-modern-Cpp-development | 4f0958197da92d216ee526384a6f7386a0fe62a0 | [
"MIT"
] | null | null | null | 1. White/Week 2/04. Maximizer/main.cpp | AmaterasuOmikami/The-art-of-modern-Cpp-development | 4f0958197da92d216ee526384a6f7386a0fe62a0 | [
"MIT"
] | null | null | null | /*
* Напишите функцию UpdateIfGreater, которая принимает два целочисленных
* аргумента: first и second. Если first оказался больше second, Ваша функция
* должна записывать в second значение параметра first. При этом указанная
* функция не должна ничего возвращать, а изменение параметра second должно
* быть видно н... | 26.434783 | 77 | 0.674342 | AmaterasuOmikami |
97f71d19eb120b707987701e910827a7e00c84a3 | 2,700 | hpp | C++ | simann.hpp | CISMM/SimulatedAnnealing | cd25cc58ced18a0df8e93fde32dc7a8107a1eca7 | [
"BSD-3-Clause"
] | 4 | 2018-02-07T05:13:05.000Z | 2019-04-02T06:02:12.000Z | simann.hpp | CISMM/SimulatedAnnealing | cd25cc58ced18a0df8e93fde32dc7a8107a1eca7 | [
"BSD-3-Clause"
] | null | null | null | simann.hpp | CISMM/SimulatedAnnealing | cd25cc58ced18a0df8e93fde32dc7a8107a1eca7 | [
"BSD-3-Clause"
] | 5 | 2015-07-16T23:44:29.000Z | 2019-02-05T20:33:43.000Z | // simanneal.hpp A general purpose Simulated Annealing Class
// This version allows vector data
// (c) Copyright 1994, Everett F. Carter Jr.
// Permission is granted by the author to use
// this software for any application provided this
// copyright notice is preserved.
... | 21.259843 | 82 | 0.604444 | CISMM |
97fcbfd529b53be65bb88383dd8f4218fde858cf | 473 | cpp | C++ | codeforces/869/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | codeforces/869/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | codeforces/869/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#define MX 4000007
bool vis[MX];
using namespace std;
int main(int argc, char const *argv[]) {
int n;
cin>>n;
int a1[n];
int a2[n];
for(int i=0;i<n;i++) {cin>>a1[i];vis[a1[i]]=1;}
for(int i=0;i<n;i++) {cin>>a2[i];vis[a2[i]]=1;}
int ans=... | 18.92 | 48 | 0.579281 | AadityaJ |
97fd58fb15fb351383d1aef7d733cf6e639eaee9 | 896 | cpp | C++ | Cpp/fost-core/exception-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-core/exception-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-core/exception-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2010-2019 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include "fost-core-test.hpp"
#include <boost/asio.hpp>
FSL_TEST_SUITE(exceptions);
FSL_TEST_FUNCTION(not_implemented) {
FSL_CHECK_EXCEPTIO... | 29.866667 | 77 | 0.639509 | KayEss |
3f019b33403af683c7a70cfc690aaa208092aa10 | 1,584 | hpp | C++ | PnC/NaoPnC/NaoInterface.hpp | BharathMasetty/PnC | 3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f | [
"MIT"
] | null | null | null | PnC/NaoPnC/NaoInterface.hpp | BharathMasetty/PnC | 3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f | [
"MIT"
] | null | null | null | PnC/NaoPnC/NaoInterface.hpp | BharathMasetty/PnC | 3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f | [
"MIT"
] | null | null | null | #pragma once
#include "PnC/EnvInterface.hpp"
#include "PnC/NaoPnC/NaoDefinition.hpp"
class NaoStateProvider;
class NaoStateEstimator;
class NaoSensorData {
public:
NaoSensorData() {
q = Eigen::VectorXd::Zero(Nao::n_adof);
qdot = Eigen::VectorXd::Zero(Nao::n_adof);
virtual_q = Eigen::VectorXd::Zero(Na... | 21.12 | 67 | 0.700126 | BharathMasetty |
3f02733f3611ed3dd1fb6964ceba2b89ca2cb1bf | 2,712 | cpp | C++ | RoboRePair/ProgressTracker.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/ProgressTracker.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | RoboRePair/ProgressTracker.cpp | erwinbonsma/RoboRePairGB | 202308220d7bc320a8c228f7a7372545c3e97559 | [
"MIT"
] | null | null | null | /*
* Bumble Bots Re-Pair, a Gamebuino game
*
* Copyright 2020, Erwin Bonsma
*/
#include "ProgressTracker.h"
#include "Levels.h"
//-----------------------------------------------------------------------------
// ProgressTracker implementation
constexpr uint8_t VMAJOR = 1;
constexpr uint8_t VMINOR = 0;
constexpr... | 24.432432 | 110 | 0.696165 | erwinbonsma |
3f0607721528a5aee61a3387de5b23ec8f3939de | 1,343 | cpp | C++ | Codeforces Online Judge Solve/Candies-1343A.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | Codeforces Online Judge Solve/Candies-1343A.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | Codeforces Online Judge Solve/Candies-1343A.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define ff first
#define ss second
#define int long long
#define pb push_back
#define mp make_pair
#define pii pair<int... | 25.339623 | 94 | 0.55175 | Remonhasan |
3f073cd0a1f4afd7e3437dbfacaf8772a15623cb | 188 | cpp | C++ | Hackerearth/Practice/birthday_party.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Hackerearth/Practice/birthday_party.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | null | null | null | Hackerearth/Practice/birthday_party.cpp | Pankajcoder1/Competitive_programming | 72ee0d41f3f72f43a5c2a232255eb84a04b14df9 | [
"MIT"
] | 1 | 2020-10-02T04:51:22.000Z | 2020-10-02T04:51:22.000Z | #include<iostream>
using namespace std;
int main()
{
int T,M,N;
cin>>T;
for(int i=0;i<T;i++)
{
cin>>N>>M;
if(M%N==0)
{
cout<<"Yes"<<endl;
}
else
cout<<"No"<<endl;
}
} | 10.444444 | 21 | 0.505319 | Pankajcoder1 |
3f0f71fce0263087f932fb0c7c8d3c60fc737810 | 5,003 | cpp | C++ | SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_AIStateWanderOnLand_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------... | 27.489011 | 140 | 0.728763 | 2bite |
3f15e00d26b36a61117962310d3d3f10965be55c | 2,777 | cpp | C++ | krypto/krypto_main.cpp | unigoetheradaw/prg2-pr_milestone1-master | a376d4f2fe5b830a6d1b04ebe50088c506599270 | [
"MIT"
] | null | null | null | krypto/krypto_main.cpp | unigoetheradaw/prg2-pr_milestone1-master | a376d4f2fe5b830a6d1b04ebe50088c506599270 | [
"MIT"
] | null | null | null | krypto/krypto_main.cpp | unigoetheradaw/prg2-pr_milestone1-master | a376d4f2fe5b830a6d1b04ebe50088c506599270 | [
"MIT"
] | null | null | null | //
// Created by Niels Heissel on 30.10.18.
//
#include <iostream>
#include <fstream>
#include <vector>
#include <tuple>
//#include "file_handler_class.h"
#include "NBild.h"
#include "CBild.h"
#include "interface.h"
#include <random>
#include <iostream>
using namespace std;
void create_rand_key(int height, int widt... | 34.7125 | 161 | 0.655384 | unigoetheradaw |
3f16a2fcc89d143e6a8b430eaca6dd672bb7932a | 1,453 | cpp | C++ | CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Library/Script/CsScriptLibrary_StaticMesh.h"
#include "CsCore.h"
// Types
#include "Types/CsTypes_Macro.h"
// Library
#include "Library/CsLibrary_StaticMesh.h"
// Cached
#pragma region
namespace NCsScriptLibraryStaticMesh
{
namespace NCach... | 25.491228 | 115 | 0.80936 | closedsum |
3f198c4d47c235a57dba098a41c9dc2c308c512a | 698 | cpp | C++ | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 14 | 2016-02-11T09:26:13.000Z | 2022-03-27T01:14:29.000Z | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | null | null | null | Kattis-Solutions/Encoded Message.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 7 | 2016-10-25T19:29:35.000Z | 2021-12-05T18:31:39.000Z | #include <bits/stdc++.h>
using namespace std;
string solve(string enc)
{
int res =(int) sqrt((double) enc.length());
int curr,counter=0;
string builder="";
int pos=res-1;
int awal=pos;
while(counter<enc.length())
{
while(pos<enc.length())
{
builder+=e... | 18.864865 | 47 | 0.469914 | SurgicalSteel |
3f1cc7f38155b2ff1e00ccc8d620991997fe9338 | 1,448 | cpp | C++ | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | 1 | 2020-03-27T23:31:30.000Z | 2020-03-27T23:31:30.000Z | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | null | null | null | rect.cpp | tonymiceli/tinymfc | 68a5fbbaecf07a038d8e46cfc9a96d62480b12b5 | [
"MIT"
] | null | null | null | //#include "stdafx.h"
#include "rect.h"
void CRect::SetRect(LONG nLeft, LONG nTop, LONG nRight, LONG nBottom)
{
left = nLeft;
top = nTop;
right = nRight;
bottom = nBottom;
}
POINT CRect::GetTopLeft()
{
POINT pt;
pt.x = left;
pt.y = top;
return pt;
}
POINT CRect::GetBottomLeft... | 15.242105 | 70 | 0.571823 | tonymiceli |
3f2ff5bee1823fa9a0cb46a659aeb463e7ff7e5a | 2,130 | cpp | C++ | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 434 | 2021-11-03T06:03:07.000Z | 2022-03-31T22:52:19.000Z | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 14 | 2021-11-03T12:11:30.000Z | 2022-03-31T16:52:24.000Z | TerraForge3D/src/Shading/ShaderNodes/ShaderOutputNode.cpp | fiplox/TerraForge3D | 940c301a8590d00ea24d966b772478a6cacba115 | [
"MIT"
] | 45 | 2021-11-04T07:34:21.000Z | 2022-03-31T07:06:05.000Z | #include "Shading/ShaderNodes/ShaderOutputNode.h"
#include <iostream>
void ShaderOutputNode::OnEvaluate(GLSLFunction *function, GLSLLine *line)
{
if (inputPins[0]->IsLinked())
{
GLSLLine ln("");
inputPins[0]->other->Evaluate(GetParams(function, &ln));
line->line = ln.line;
}
else
{
function->AddLine(GLS... | 25.058824 | 123 | 0.619249 | fiplox |
3f30da1b7a5853ea1b7bf89005db4e021dc2baed | 1,195 | cpp | C++ | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | 1 | 2020-07-04T11:04:52.000Z | 2020-07-04T11:04:52.000Z | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | null | null | null | Thalassa/Motor2D/j1LifeItem.cpp | xavimarin35/PlatformerDev | 98565270f5c62c1a47103bb413ef377e124b35ec | [
"MIT"
] | 2 | 2019-12-27T12:14:20.000Z | 2020-09-05T16:01:29.000Z | #include "j1LifeItem.h"
#include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Textures.h"
#include "j1Render.h"
#include "j1Input.h"
#include "j1Collisions.h"
#include "j1Window.h"
#include "j1Player.h"
#include "j1Audio.h"
#include "j1Map.h"
#include "j1Scene1.h"
#include "Brofiler/Brofiler.h"
j1Life... | 18.106061 | 131 | 0.701255 | xavimarin35 |
3f3214cefd61d5ced909f28c65f01c228e54d931 | 427 | hpp | C++ | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | 1 | 2021-11-09T13:31:07.000Z | 2021-11-09T13:31:07.000Z | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | null | null | null | src/red4ext/LoadResRef.hpp | jackhumbert/flight_control | 02938f5a26b3a299ef3d9b9e4d40e9294872a7ee | [
"MIT"
] | null | null | null | #include <RED4ext/Addresses.hpp>
#include <RED4ext/NativeTypes.hpp>
// 48 89 5C 24 08 48 89 74 24 10 57 48 83 EC 60 41 0F B6 D8 48 8B FA 48 8B F1 48 C7 44 24 20 00 00
constexpr uintptr_t LoadResRefAddr = 0x140200060 - RED4ext::Addresses::ImageBase;
template<typename T>
RED4ext::RelocFunc<RED4ext::ResourceHandle<T> *(... | 47.444444 | 123 | 0.751756 | jackhumbert |
3f344eafb26b0d3e245293a9b07c7db37b9267dc | 3,129 | cc | C++ | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | cbsasl/scram-sha/stringutils.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2016-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance... | 32.257732 | 79 | 0.549696 | BenHuddleston |
27842da87a9d0ee310e13c10f7f23608a9c9d703 | 965 | cpp | C++ | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | test/mp/remove.cpp | Cleyera/gdv | c89dd24898a58c4f905a4d53b6c2b262f2689b09 | [
"MIT"
] | null | null | null | #include <tuple>
#include <gdv/mp/test/test.h>
template <typename ...Args>
struct packer;
GDV_MP_TEST_CASE(remove) {
using l1 = ::std::tuple<int, char, short>;
using l2 = ::std::tuple<char, short, unsigned>;
using l3 = ::std::tuple<int, int, int>;
using l4 = ::std::tuple<>;
using l5 = packer<int, ... | 38.6 | 80 | 0.662176 | Cleyera |
278573c2e6ee1948ab31f782586df86a67229ec6 | 529 | cpp | C++ | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | MyFiles/ HLPSUG.cpp | manishSRM/solvedProblems | 78492e51488605e46fd19bba472736825a2faf32 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <algorithm>
#include <limits.h>
#include <vector>
using namespace std;
const K = 25;
int main () {
int T;
scanf ("%d", &T);
while (T--) {
int N;
scanf ("%d", &N);
vector <bool> prime (N + 1, true);
for(int i = 2; i <= MAX / i; i++) {
for(int j = i * i; j <= MAX; j += i)... | 17.633333 | 47 | 0.451796 | manishSRM |
2790b02970561906ce1fc2c115f11842d482fd0c | 1,313 | hpp | C++ | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | 18 | 2021-01-24T14:28:15.000Z | 2021-12-02T20:19:09.000Z | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | 1 | 2021-06-21T18:39:56.000Z | 2021-06-22T16:09:18.000Z | include/pch.hpp | KaixoCode/SoundMixr | 6f27c14f596c45debb584925db4e1f45808031a9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <any>
#include <ranges>
#include "GuiCode2/pch.hpp"
#include "GuiCode2/Panel.hpp"
#include "GuiCode2/Menu.hpp"
#include "GuiCode2/Event.hpp"
#include "GuiCode2/Frame.hpp"
#include "GuiCode2/ContextMenu.hpp"
#include "GuiCode2/TextBox.hpp"
#include "GuiCode2/TextArea.hpp"
#define JSON_TRY... | 24.314815 | 81 | 0.657273 | KaixoCode |
2790f2ae01a2407222aa9fc9a81518fb63ab3fa5 | 8,396 | cpp | C++ | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | 3 | 2021-02-22T09:04:25.000Z | 2021-02-22T16:56:36.000Z | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | null | null | null | Source/ModuleParticles.cpp | IconicGIT/NextStage | a6740b64ac40c5f99e6620f98f423da38cb73d7e | [
"MIT"
] | 5 | 2021-02-22T08:50:22.000Z | 2021-10-02T11:02:55.000Z | #include "ModuleParticles.h"
#include "Application.h"
#include "ModuleTextures.h"
#include "ModuleRender.h"
#include "ModuleCollisions.h"
#include "Collider.h"
#include "Globals.h"
#include "SDL/include/SDL_timer.h"
ModuleParticles::ModuleParticles(bool startEnabled) : Module(startEnabled)
{
for(uint i = 0; i < MA... | 25.442424 | 137 | 0.650548 | IconicGIT |
2792555cf9355da77fd105139a32a85f40fb725d | 46 | cpp | C++ | examples/YAJL/boo.cpp | Costallat/hunter | dc0d79cb37b30cad6d6472d7143fe27be67e26d5 | [
"BSD-2-Clause"
] | 2,146 | 2015-01-10T07:26:58.000Z | 2022-03-21T02:28:01.000Z | examples/YAJL/boo.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 1,778 | 2015-01-03T11:50:30.000Z | 2019-12-26T05:31:20.000Z | examples/YAJL/boo.cpp | koinos/hunter | fc17bc391210bf139c55df7f947670c5dff59c57 | [
"BSD-2-Clause"
] | 734 | 2015-03-05T19:52:34.000Z | 2022-02-22T23:18:54.000Z | #include <yajl/yajl_common.h>
int main() {
}
| 9.2 | 29 | 0.652174 | Costallat |
279480253a520924f7aeeedbe05e6518b9434fb3 | 6,535 | cc | C++ | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 10 | 2020-05-27T10:01:26.000Z | 2022-02-12T16:54:54.000Z | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 1 | 2020-09-16T00:50:02.000Z | 2020-09-17T03:53:06.000Z | src/base/time/time.cc | 243286065/cpplib_base | 9c63d556a0097fa5d9893e83c78ce9ebfd401ee0 | [
"BSD-3-Clause"
] | 9 | 2020-06-03T09:40:00.000Z | 2021-12-05T12:43:20.000Z | #include "base/time/time.h"
#include <chrono>
#include <iomanip>
#include "base/log/logging.h"
namespace base {
const int64_t kHoursPerDay = 24;
const int64_t kSecondsPerMinute = 60;
const int64_t kSecondsPerHour = 60 * kSecondsPerMinute;
const int64_t kMillisecondsPerSecond = 1000;
const int64_t kMillisecondsPerDa... | 28.413043 | 76 | 0.695486 | 243286065 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.