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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8dad81a9461aa22bdd61772db76670e3690a294 | 6,325 | cpp | C++ | src/dist/replication/lib/replica_file_provider.cpp | neverchanje/rdsn | 40f432c521686f4e10f172ad89f68d01b72004e4 | [
"MIT"
] | null | null | null | src/dist/replication/lib/replica_file_provider.cpp | neverchanje/rdsn | 40f432c521686f4e10f172ad89f68d01b72004e4 | [
"MIT"
] | null | null | null | src/dist/replication/lib/replica_file_provider.cpp | neverchanje/rdsn | 40f432c521686f4e10f172ad89f68d01b72004e4 | [
"MIT"
] | null | null | null | // Copyright (c) 2017-present, Xiaomi, Inc. All rights reserved.
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.
#include "replica.h"
#include <fstream>
#include <dsn/dist/block_service.h>
#include <dsn/dist/f... | 41.339869 | 99 | 0.532332 | neverchanje |
b8e1e9bca5c0e939259290bf44c591ad70988091 | 98 | hpp | C++ | src/lib/env.hpp | stkw0/i-hate-all-rss-readers | ac2be9f7c6b070aff3b1fe36a9efbcc8095dcafa | [
"Unlicense"
] | null | null | null | src/lib/env.hpp | stkw0/i-hate-all-rss-readers | ac2be9f7c6b070aff3b1fe36a9efbcc8095dcafa | [
"Unlicense"
] | null | null | null | src/lib/env.hpp | stkw0/i-hate-all-rss-readers | ac2be9f7c6b070aff3b1fe36a9efbcc8095dcafa | [
"Unlicense"
] | null | null | null | #pragma once
namespace iharr {
const std::string getenv(const char* name);
} // namespace iharr | 14 | 43 | 0.72449 | stkw0 |
b8e2de30705ffd800b8f2efea1732467b4eb9ebe | 97 | cpp | C++ | test/Heng-Core-Test/killInit.cpp | fitenne/yamc | 26141cb61eff63521cd282389495c8a9b9a1604d | [
"MIT"
] | 1 | 2022-03-27T05:01:04.000Z | 2022-03-27T05:01:04.000Z | test/Heng-Core-Test/killInit.cpp | fitenne/yamc | 26141cb61eff63521cd282389495c8a9b9a1604d | [
"MIT"
] | null | null | null | test/Heng-Core-Test/killInit.cpp | fitenne/yamc | 26141cb61eff63521cd282389495c8a9b9a1604d | [
"MIT"
] | null | null | null | #include <signal.h>
int main(void)
{
kill(1, SIGKILL);
kill(3, SIGKILL);
return 0;
} | 12.125 | 21 | 0.57732 | fitenne |
b8e58df180793b9eb2349f9808e8bc9b28e5aa4c | 4,511 | cpp | C++ | RocketPlugin/MeshmoonUser.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | 4 | 2018-05-09T01:55:14.000Z | 2021-12-19T17:46:29.000Z | RocketPlugin/MeshmoonUser.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | null | null | null | RocketPlugin/MeshmoonUser.cpp | Adminotech/meshmoon-plugins | 32043ef783bdf137860d7d01eb22de564628e572 | [
"Apache-2.0"
] | 2 | 2016-03-15T06:12:05.000Z | 2021-06-06T00:18:38.000Z | /**
@author Adminotech Ltd.
Copyright Adminotech Ltd.
All rights reserved.
@file
@brief */
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "MeshmoonUser.h"
#include "CoreDefines.h"
#include "LoggingFunctions.h"
#include <QTimer>
#include "MemoryLeakCheck.h"
// RocketUse... | 22.112745 | 111 | 0.699401 | Adminotech |
b8e5dce81fdc753437319ec1c71a9dbaaba5ca87 | 5,921 | cpp | C++ | archives/problemset/poj.org/3481.cpp | BoleynSu/CP-CompetitiveProgramming | cc256bf402360fe0f689fdcdc4e898473a9594dd | [
"MIT"
] | 6 | 2019-03-23T21:06:25.000Z | 2021-06-27T05:22:41.000Z | archives/problemset/poj.org/3481.cpp | BoleynSu/CP-CompetitiveProgramming | cc256bf402360fe0f689fdcdc4e898473a9594dd | [
"MIT"
] | 1 | 2020-10-11T08:14:00.000Z | 2020-10-11T08:14:00.000Z | archives/problemset/poj.org/3481.cpp | BoleynSu/CP-CompetitiveProgramming | cc256bf402360fe0f689fdcdc4e898473a9594dd | [
"MIT"
] | 3 | 2019-03-23T21:06:31.000Z | 2021-10-24T01:44:01.000Z | //Boleyn Su's Template for Codeforces
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <deque>
#include <stack>
#include <algorithm>
#include <functional>
#include <utility>
#include <bits... | 24.568465 | 119 | 0.587232 | BoleynSu |
b8e87fdf97bbe484264c61565486b9567ef5961b | 24,283 | cpp | C++ | Engine/src/Buffer.cpp | int-Frank/BSR | 16310147281c76ca37836b07aff2974234e09a47 | [
"Apache-2.0"
] | 1 | 2020-01-04T20:17:42.000Z | 2020-01-04T20:17:42.000Z | Engine/src/Buffer.cpp | int-Frank/BSR | 16310147281c76ca37836b07aff2974234e09a47 | [
"Apache-2.0"
] | null | null | null | Engine/src/Buffer.cpp | int-Frank/BSR | 16310147281c76ca37836b07aff2974234e09a47 | [
"Apache-2.0"
] | null | null | null | //@group Renderer
/*
Original Copyright Yan Chernikov <github.com/TheCherno/Hazel-dev> and contributors.
The following code is a derivative work of the code from the GitHub project 'Hazel-dev',
which is licensed under:
Apache License
Version 2.0, J... | 32.550938 | 104 | 0.604662 | int-Frank |
b8f4ab9146b4e516c55092b6fd022af7f18bc838 | 1,482 | cpp | C++ | src/fsc/object/base/transformer/translate.cpp | nnoell/fsc | 19c6e471fa0712c6fe4817b08d3bf8c6ae2b16fb | [
"BSD-3-Clause"
] | 1 | 2018-11-26T19:06:52.000Z | 2018-11-26T19:06:52.000Z | src/fsc/object/base/transformer/translate.cpp | nnoell/fsc | 19c6e471fa0712c6fe4817b08d3bf8c6ae2b16fb | [
"BSD-3-Clause"
] | null | null | null | src/fsc/object/base/transformer/translate.cpp | nnoell/fsc | 19c6e471fa0712c6fe4817b08d3bf8c6ae2b16fb | [
"BSD-3-Clause"
] | null | null | null | //----------------------------------------------------------------------------------------------------------------------
// Copyright : (c) Julian Bouzas 2018
// License : BSD3-style (see LICENSE)
// Maintainer : Julian Bouzas - nnoell3[at]gmail.com
//------------------------------------------------------... | 26.464286 | 121 | 0.562078 | nnoell |
b8f6913283be1057e744c4d509444281f4870706 | 1,058 | cpp | C++ | interpreter/lox/lox/ASTPrinter.cpp | mandyedi/craftinginterpreters-cpp | fd4ec9a61d9a2640d77fd6f5fa3dc3ee23c22d34 | [
"MIT"
] | null | null | null | interpreter/lox/lox/ASTPrinter.cpp | mandyedi/craftinginterpreters-cpp | fd4ec9a61d9a2640d77fd6f5fa3dc3ee23c22d34 | [
"MIT"
] | null | null | null | interpreter/lox/lox/ASTPrinter.cpp | mandyedi/craftinginterpreters-cpp | fd4ec9a61d9a2640d77fd6f5fa3dc3ee23c22d34 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ASTPrinter.h"
void ASTPrinter::Print( Expr *expr )
{
expr->Accept( this );
}
void ASTPrinter::VisitBinaryExpr( Binary *expr )
{
Parenthesize( expr->Op.Lexeme, { expr->Left, expr->Right } );
}
void ASTPrinter::VisitGroupingExpr( Grouping *expr )
{
Parenthesize( "group", { expr->... | 21.591837 | 89 | 0.574669 | mandyedi |
b8f8f3bd897d3adccc6e03765ca7642ec4650c0c | 3,862 | cpp | C++ | 443-string-compression/string-compression.cpp | nagestx/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | 3 | 2018-12-15T14:07:12.000Z | 2020-07-19T23:18:09.000Z | 443-string-compression/string-compression.cpp | yangyangu/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | null | null | null | 443-string-compression/string-compression.cpp | yangyangu/MyLeetCode | ef2a98b48485a0cebc442bbbbdb2690ba51484e1 | [
"MIT"
] | null | null | null | // Given an array of characters, compress it in-place.
//
// The length after compression must always be smaller than or equal to the original array.
//
// Every element of the array should be a character (not int) of length 1.
//
// After you are done modifying the input array in-place, return the new length of the... | 20.875676 | 103 | 0.50492 | nagestx |
b8f916c75a504318aaa0294561784da8c209d347 | 2,588 | cpp | C++ | test/txpl/lexer/try_dec_number_test.cpp | ptomulik/txpl | 109b5847abe0d46c598ada46f411f98ebe8dc4c8 | [
"BSL-1.0"
] | null | null | null | test/txpl/lexer/try_dec_number_test.cpp | ptomulik/txpl | 109b5847abe0d46c598ada46f411f98ebe8dc4c8 | [
"BSL-1.0"
] | 14 | 2015-03-02T14:02:32.000Z | 2015-05-17T21:50:30.000Z | test/txpl/lexer/try_dec_number_test.cpp | ptomulik/txpl | 109b5847abe0d46c598ada46f411f98ebe8dc4c8 | [
"BSL-1.0"
] | null | null | null | // Copyright (C) 2015, Pawel Tomulik <ptomulik@meil.pw.edu.pl>
//
// 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)
#define BOOST_TEST_MODULE test_txpl_lexer_try_dec_number
#include <txpl/test_config.hpp>
#includ... | 25.623762 | 62 | 0.641808 | ptomulik |
b8f9701d8cfcb7e5ae869cea5a5343fa1facff70 | 1,481 | cpp | C++ | shf-cpp/src/Game/Menu/MemoMenu.cpp | Upwinded/SHF | 797682152234251c9a32692324904c7aa8d90683 | [
"Zlib"
] | 71 | 2018-03-21T08:04:04.000Z | 2022-01-11T09:49:26.000Z | shf-cpp/src/Game/Menu/MemoMenu.cpp | Upwinded/SHF | 797682152234251c9a32692324904c7aa8d90683 | [
"Zlib"
] | 2 | 2018-08-28T08:26:02.000Z | 2019-04-06T14:29:39.000Z | shf-cpp/src/Game/Menu/MemoMenu.cpp | Upwinded/SHF | 797682152234251c9a32692324904c7aa8d90683 | [
"Zlib"
] | 25 | 2018-03-24T03:36:28.000Z | 2021-09-20T06:19:09.000Z | #include "MemoMemu.h"
#include "../GameManager/GameManager.h"
MemoMenu::MemoMenu()
{
init();
visible = false;
}
MemoMenu::~MemoMenu()
{
freeResource();
}
void MemoMenu::reFresh()
{
if (scrollbar != NULL && memoText != NULL)
{
for (int i = 0; i < MEMO_LINE; i++)
{
if (position + i < (int)GameManager::getI... | 17.630952 | 106 | 0.651587 | Upwinded |
b8fda0fb4a0c060ca0ef0700fcefab57e31b9d3f | 11,513 | cpp | C++ | collection/cp/bcw_codebook-master/Contest/XVIIOpenCupEurasia/4.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/bcw_codebook-master/Contest/XVIIOpenCupEurasia/4.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/bcw_codebook-master/Contest/XVIIOpenCupEurasia/4.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | #pragma GCC optimize ("O2")
#include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_s... | 19.546689 | 100 | 0.590289 | daemonslayer |
77013c97ae800b7c22b3e9ed56f79e5122c6bc27 | 1,445 | cpp | C++ | Maze_Lib/Color.cpp | martindubois/Maze | 23026ee0d437edb7b59f39e07bc0f94c100e506f | [
"Apache-2.0"
] | null | null | null | Maze_Lib/Color.cpp | martindubois/Maze | 23026ee0d437edb7b59f39e07bc0f94c100e506f | [
"Apache-2.0"
] | null | null | null | Maze_Lib/Color.cpp | martindubois/Maze | 23026ee0d437edb7b59f39e07bc0f94c100e506f | [
"Apache-2.0"
] | null | null | null |
// Author KMS - Martin Dubois, P. Eng.
// Copyright (C) 2021 KMS
// License http://www.apache.org/licenses/LICENSE-2.0
// Product Maze
// File Maze_Lib/Color.cpp
// CODE REVIEW 2021-12-18 KMS - Martin Dubois, P. Eng.
// TEST COVERAGE 2021-12-18 KMS - Martin Dubois, P. Eng.
#include "Component.h"
// ===... | 26.272727 | 122 | 0.504498 | martindubois |
770654ea3162daa4d87e50df5458ed9afc0df297 | 485 | cpp | C++ | src/cat3d/obj/texture.cpp | sarahkittyy/cat3d | 1b5f15bddb60d1870b23321a9907e7f79547ca1a | [
"MIT"
] | 1 | 2020-09-24T23:11:24.000Z | 2020-09-24T23:11:24.000Z | src/cat3d/obj/texture.cpp | sarahkittyy/cat3d | 1b5f15bddb60d1870b23321a9907e7f79547ca1a | [
"MIT"
] | null | null | null | src/cat3d/obj/texture.cpp | sarahkittyy/cat3d | 1b5f15bddb60d1870b23321a9907e7f79547ca1a | [
"MIT"
] | null | null | null | #include "cat3d/obj/texture.hpp"
namespace cat3d::obj {
texture::texture(const std::string& path)
: m_tex(resource::get().texture(path)),
m_hooked(false) {
}
texture::texture(color col)
: m_hooked(false) {
m_tex.load_color(col);
}
texture::~texture() {
if (m_hooked) {
parent()->unbind(m_hook_id);
}
}
voi... | 16.166667 | 58 | 0.643299 | sarahkittyy |
770ac34cd2aa7c6f561fe07cdc40b36bf830f05a | 1,654 | cpp | C++ | 1101-9999/1801. Number of Orders in the Backlog.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1801. Number of Orders in the Backlog.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1801. Number of Orders in the Backlog.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | class Solution
{
public:
int getNumberOfBacklogOrders(vector<vector<int>> &orders)
{
priority_queue<pair<int, int>, vector<pair<int, int>>> buy;
priority_queue<pair<int, int>, vector<pair<int, int>>, std::greater<pair<int, int>>> sell;
for (auto &order : orders)
{
// buy
if (order[2] ==... | 21.763158 | 94 | 0.403265 | erichuang1994 |
770b566e5a7eeed4d94fbdfd17e7af336c1f12bb | 825 | cpp | C++ | Chroma/src/Chroma/Core/EntryPoint.cpp | ttalexander2/chroma | 0e9946e66158938ebd6497d5bf3acfba8fbe9fee | [
"MIT"
] | 1 | 2022-03-07T01:54:59.000Z | 2022-03-07T01:54:59.000Z | Chroma/src/Chroma/Core/EntryPoint.cpp | ttalexander2/chroma | 0e9946e66158938ebd6497d5bf3acfba8fbe9fee | [
"MIT"
] | 20 | 2021-08-16T16:52:43.000Z | 2022-03-26T02:47:09.000Z | Chroma/src/Chroma/Core/EntryPoint.cpp | ttalexander2/chroma | 0e9946e66158938ebd6497d5bf3acfba8fbe9fee | [
"MIT"
] | null | null | null | #include "chromapch.h"
#include "EntryPoint.h"
#include <physfs.h>
extern "C"
{
__declspec(dllexport) unsigned long NvOptimusEnablement = 0x00000001;
}
extern "C"
{
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
void InitFilesystem()
{
PHYSFS_init(NULL);
}
void DeinitFilesystem()
{
PHYSFS... | 20.625 | 73 | 0.757576 | ttalexander2 |
7710542765aa81b55a7dfa7e8968c10f88a2338b | 4,075 | hpp | C++ | fileutil.hpp | suncloudsmoon/Simple-Library | 84f9e7b51dae942f60e3fb5633cbf041a01a66db | [
"MIT-0"
] | 1 | 2022-01-20T08:24:21.000Z | 2022-01-20T08:24:21.000Z | fileutil.hpp | suncloudsmoon/Simple-Library | 84f9e7b51dae942f60e3fb5633cbf041a01a66db | [
"MIT-0"
] | null | null | null | fileutil.hpp | suncloudsmoon/Simple-Library | 84f9e7b51dae942f60e3fb5633cbf041a01a66db | [
"MIT-0"
] | null | null | null | /*
* Copyright (c) 2022, suncloudsmoon and the Simple-Library contributors.
*
* 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... | 34.533898 | 115 | 0.683436 | suncloudsmoon |
7714f2b49ae4384a84cf9ce5d041c30e47809d8a | 110 | cxx | C++ | osf-to-esf/dborl/Templates/vbl_smart_ptr+dborl_exp-stat-.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | 1 | 2022-01-01T20:43:47.000Z | 2022-01-01T20:43:47.000Z | osf-to-esf/dborl/Templates/vbl_smart_ptr+dborl_exp-stat-.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | null | null | null | osf-to-esf/dborl/Templates/vbl_smart_ptr+dborl_exp-stat-.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | null | null | null | #include "../dborl_evaluation.h"
#include <vbl/vbl_smart_ptr.txx>
VBL_SMART_PTR_INSTANTIATE(dborl_exp_stat);
| 22 | 42 | 0.809091 | wenhanshi |
771a568766cbbae08ee0742983b0be27c1bd657a | 2,951 | cc | C++ | chrome/browser/sync/glue/autofill_wallet_data_type_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/glue/autofill_wallet_data_type_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/glue/autofill_wallet_data_type_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-04-04T13:34:56.000Z | 2020-11-04T07:17:52.000Z | // Copyright 2015 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/sync/glue/autofill_wallet_data_type_controller.h"
#include "base/bind.h"
#include "chrome/browser/autofill/personal_data_manager... | 32.428571 | 78 | 0.781769 | hefen1 |
771bf2082e58d6ff92fd0f40e3579c8b82972c33 | 890 | hpp | C++ | module-apps/application-messages/models/ThreadsSearchResultsModel.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | module-apps/application-messages/models/ThreadsSearchResultsModel.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | module-apps/application-messages/models/ThreadsSearchResultsModel.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "BaseThreadsRecordModel.hpp"
#include "Style.hpp"
namespace gui::model
{
class ThreadsSearchResultsModel : public BaseThreadsRecordModel, public app::Async... | 30.689655 | 102 | 0.696629 | bitigchi |
771f82c0a43fe2433b3733f30e9dd514f855d2f0 | 676 | cpp | C++ | Felix/action_trim_spaces.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | Felix/action_trim_spaces.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | Felix/action_trim_spaces.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "action_trim_spaces.h"
#include "RegisterGlossDlg.h" // trim_spaces
namespace action
{
//! Trims the spaces from all records in the TM.
//! Backs up TM so it can be undone.
void ActionTrimSpaces::redo()
{
using namespace mem_engine;
mem_engine::trans_set records ;
thi... | 24.142857 | 60 | 0.692308 | ultimatezen |
7726635ccb366fe36133a3d365d08c7b355ff83f | 181,138 | cpp | C++ | ace/tao/tao/IFR_Client/IFR_Client_Adapter_Impl.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/tao/IFR_Client/IFR_Client_Adapter_Impl.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/tao/IFR_Client/IFR_Client_Adapter_Impl.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // IFR_Client_Adapter_Impl.cpp,v 1.3 2001/09/25 05:12:33 irfan Exp
#include "IFR_Client_Adapter_Impl.h"
#include "IFR_ExtendedC.h"
#include "tao/ORB_Core.h"
#include "tao/Invocation.h"
ACE_RCSID(IFR_Client, IFR_Client_Adapter_Impl, "IFR_Client_Adapter_Impl.cpp,v 1.3 2001/09/25 05:12:33 irfan Exp")
TAO_IFR_C... | 30.275447 | 114 | 0.628438 | tharindusathis |
77266452e2794ac63f8cad34e193f5af996ca8ad | 618 | cpp | C++ | Algorithm/algorithm-easy/Array/6.cpp | TommyGong08/Leetcode | 5359dfcb6b846e18e21efde07914027e958c0073 | [
"MIT"
] | null | null | null | Algorithm/algorithm-easy/Array/6.cpp | TommyGong08/Leetcode | 5359dfcb6b846e18e21efde07914027e958c0073 | [
"MIT"
] | null | null | null | Algorithm/algorithm-easy/Array/6.cpp | TommyGong08/Leetcode | 5359dfcb6b846e18e21efde07914027e958c0073 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> intersect(vector<int>& nums1, vector<int>& nums2) {
if(nums2.size() < nums1.size()){
return intersect(nums2,nums1);
}
unordered_map<int,int> hash_map;
for(int num:nums1){
hash_map[num]++;
}
vector<int> ans;
... | 26.869565 | 67 | 0.459547 | TommyGong08 |
7726b4e71c31508c7a1cab97d06834f619c6cdf5 | 8,964 | cpp | C++ | Code/Gfx/Source/D3D12/FrameBuffer.cpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 167 | 2020-06-17T06:09:41.000Z | 2022-03-13T20:31:26.000Z | Code/Gfx/Source/D3D12/FrameBuffer.cpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 2 | 2020-07-11T15:12:50.000Z | 2021-06-01T01:45:49.000Z | Code/Gfx/Source/D3D12/FrameBuffer.cpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 22 | 2020-06-12T02:26:10.000Z | 2022-01-02T14:04:32.000Z | // Copyright 2018-2020 JXMaster. All rights reserved.
/*
* @file FrameBuffer.cpp
* @author JXMaster
* @date 2020/3/11
*/
#pragma once
#include "FrameBuffer.hpp"
#ifdef LUNA_GFX_D3D12
namespace Luna
{
namespace Gfx
{
namespace D3D12
{
R<RenderTargetViewDesc> get_default_rtv(Resource* res)
{
ResourceDesc... | 33.573034 | 125 | 0.645694 | Mu-L |
77273a4a6254e68369f07f611c75460b9ef98541 | 15,672 | cc | C++ | Source/Models/expression.cc | AryaFaramarzi/CS220-dmfb-synthesis-skeleton | 6b592516025f6c2838f269dcf2ca1696d9de5ab8 | [
"MIT"
] | 3 | 2018-11-03T06:17:08.000Z | 2020-08-12T05:26:47.000Z | Source/Models/expression.cc | AryaFaramarzi/CS220-dmfb-synthesis-skeleton | 6b592516025f6c2838f269dcf2ca1696d9de5ab8 | [
"MIT"
] | null | null | null | Source/Models/expression.cc | AryaFaramarzi/CS220-dmfb-synthesis-skeleton | 6b592516025f6c2838f269dcf2ca1696d9de5ab8 | [
"MIT"
] | 6 | 2019-09-03T23:58:04.000Z | 2021-07-09T02:33:47.000Z | /*------------------------------------------------------------------------------*
* (c)2016, All Rights Reserved. *
* ___ ___ ___ *
* /__/\ / /\ / /\ *
* \ \:\ / /:/ / /::\ *
* ... | 31.219124 | 150 | 0.515123 | AryaFaramarzi |
7728ebb7cef5baa7c90f4d3be4f977cc1115eb4e | 13,760 | hpp | C++ | src/thread/compute_thread.hpp | huangqundl/af_stream | 178d98feaf403b6947fb0fae3c2bbaedd91f9ab8 | [
"Apache-2.0"
] | 15 | 2017-03-28T13:15:53.000Z | 2022-03-01T08:16:48.000Z | src/thread/compute_thread.hpp | huangqundl/af_stream | 178d98feaf403b6947fb0fae3c2bbaedd91f9ab8 | [
"Apache-2.0"
] | null | null | null | src/thread/compute_thread.hpp | huangqundl/af_stream | 178d98feaf403b6947fb0fae3c2bbaedd91f9ab8 | [
"Apache-2.0"
] | 6 | 2017-10-17T14:10:23.000Z | 2022-03-01T08:16:29.000Z | #ifndef __AFS_COMPUTE_THREAD_HPP_INCLUDED__
#define __AFS_COMPUTE_THREAD_HPP_INCLUDED__
#include <stdio.h>
#include <stdint.h>
#include <string>
#include "../config.hpp"
#include "thread.hpp"
#include "up_thread.hpp"
#include "down_thread.hpp"
#include "../wrap_item.hpp"
#include "router_base.hpp"
#include "../queu... | 32.45283 | 157 | 0.59077 | huangqundl |
77290de4a942a5c405d09fd0daeade9d837e0acd | 568 | cc | C++ | source/global/pyglobals.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 6 | 2021-08-08T08:40:13.000Z | 2022-03-23T03:05:15.000Z | source/global/pyglobals.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-12-01T14:38:06.000Z | 2022-02-10T11:28:28.000Z | source/global/pyglobals.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-07-16T13:57:34.000Z | 2022-02-07T11:17:19.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <G4ThreeVector.hh>
#include <G4TwoVector.hh>
#include <vector>
#include "typecast.hh"
#include "opaques.hh"
namespace py = pybind11;
void export_globals(py::module &m)
{
py::bind_vector<G4intVector>(m, "G4intVector")... | 25.818182 | 66 | 0.741197 | yu22mal |
772e1bbd622c67b57b57052831cfa9d862de4f8c | 448 | cpp | C++ | algorithms/warmup/lcm.cpp | weirdname404/courses | 611443422cc6acc1af563d9d7d07181e9984ddab | [
"MIT"
] | 3 | 2019-05-28T16:53:54.000Z | 2019-08-03T02:45:08.000Z | algorithms/warmup/lcm.cpp | weirdname404/courses | 611443422cc6acc1af563d9d7d07181e9984ddab | [
"MIT"
] | null | null | null | algorithms/warmup/lcm.cpp | weirdname404/courses | 611443422cc6acc1af563d9d7d07181e9984ddab | [
"MIT"
] | null | null | null | // Given two integers a and b, find their least common multiple.
#include <iostream>
using namespace std;
int gcd_euclid(long a, long b) {
if (a % b == 0) {
return b;
}
int gcd = gcd_euclid(b, a % b);
return gcd;
}
long long lcm(long a, long b) {
long long mult = a * b;
return (long ... | 17.230769 | 64 | 0.551339 | weirdname404 |
772f77a9dcaa352bd2c5fa16e8070a2b0ea21c98 | 350 | cpp | C++ | src/modules/transitions/src/tickable.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 4 | 2018-04-16T17:56:25.000Z | 2018-06-22T17:02:26.000Z | src/modules/transitions/src/tickable.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 1 | 2018-05-07T11:05:26.000Z | 2018-05-07T11:06:52.000Z | src/modules/transitions/src/tickable.cpp | P8P-7/core | 820873e7da867392729b2e65922205afe98e41d8 | [
"MIT"
] | 1 | 2018-05-07T11:04:15.000Z | 2018-05-07T11:04:15.000Z | #include <goliath/transitions/tickable.h>
using namespace goliath::transitions;
Tickable::Tickable(const size_t ticksPerSecond)
: duration(0), ticksPerSecond(ticksPerSecond) {}
std::chrono::milliseconds Tickable::getDuration() const {
return duration;
}
const size_t Tickable::getTicksPerSecond() const {... | 23.333333 | 57 | 0.754286 | P8P-7 |
77340bba4020664d5c223067aa5b27e1959c8ac7 | 6,680 | cpp | C++ | RenderCore/render/widget/ScrollerView.cpp | gubaojian/weexuikit | 2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213 | [
"Apache-2.0"
] | 46 | 2019-06-25T11:05:49.000Z | 2021-12-31T04:47:53.000Z | RenderCore/render/widget/ScrollerView.cpp | gubaojian/weexuikit | 2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213 | [
"Apache-2.0"
] | 5 | 2019-10-16T06:54:37.000Z | 2020-02-06T08:22:40.000Z | RenderCore/render/widget/ScrollerView.cpp | gubaojian/weexuikit | 2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213 | [
"Apache-2.0"
] | 18 | 2019-05-22T09:29:23.000Z | 2021-04-28T02:12:42.000Z | //
// Created by furture on 2018/10/29.
//
#include "ScrollerView.h"
#include <render/core/rendering/RenderScrollView.h>
#include <render/platform/common/log.h>
#include <render/core/parser/Screen.h>
#include <render/core/parser/StyleParser.h>
namespace weexuikit{
ScrollerView::ScrollerView(UIContext *context... | 41.234568 | 128 | 0.605838 | gubaojian |
77345f5c3a4a4b61424f48c4c98802d3d63faf62 | 18,745 | cpp | C++ | smacc2_client_library/nav2z_client/custom_planners/undo_path_global_planner/src/undo_path_global_planner/undo_path_global_planner.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 48 | 2021-05-28T01:33:20.000Z | 2022-03-24T03:16:03.000Z | smacc2_client_library/nav2z_client/custom_planners/undo_path_global_planner/src/undo_path_global_planner/undo_path_global_planner.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 75 | 2021-06-25T22:11:21.000Z | 2022-03-30T13:05:38.000Z | smacc2_client_library/nav2z_client/custom_planners/undo_path_global_planner/src/undo_path_global_planner/undo_path_global_planner.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 14 | 2021-06-16T12:10:57.000Z | 2022-03-01T18:23:27.000Z | // Copyright 2021 RobosoftAI Inc.
//
// 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... | 39.630021 | 126 | 0.604961 | reelrbtx |
773549df2e434fc2536cec9b73b891ef39a6a4b2 | 1,304 | cpp | C++ | third_party/libunwindstack/tests/fuzz/PeCoffRuntimeFunctionsFuzzer.cpp | ioperations/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | 716 | 2017-09-22T11:50:40.000Z | 2020-03-14T21:52:22.000Z | third_party/libunwindstack/tests/fuzz/PeCoffRuntimeFunctionsFuzzer.cpp | ioperations/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | 132 | 2017-09-24T11:48:18.000Z | 2020-03-17T17:39:45.000Z | third_party/libunwindstack/tests/fuzz/PeCoffRuntimeFunctionsFuzzer.cpp | ioperations/orbit | c7935085023cce1abb70ce96dd03339f47a1c826 | [
"BSD-2-Clause"
] | 49 | 2017-09-23T10:23:59.000Z | 2020-03-14T09:27:49.000Z | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 33.435897 | 81 | 0.754601 | ioperations |
7737132c2c1eab3f31285311dcca89857655145a | 10,534 | hh | C++ | dune/gdt/operators/oswald-interpolation.hh | pymor/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 4 | 2018-10-12T21:46:08.000Z | 2020-08-01T18:54:02.000Z | dune/gdt/operators/oswald-interpolation.hh | dune-community/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 154 | 2016-02-16T13:50:54.000Z | 2021-12-13T11:04:29.000Z | dune/gdt/operators/oswald-interpolation.hh | dune-community/dune-gdt | fabc279a79e7362181701866ce26133ec40a05e0 | [
"BSD-2-Clause"
] | 5 | 2016-03-02T10:11:20.000Z | 2020-02-08T03:56:24.000Z | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | 46 | 120 | 0.713499 | pymor |
773736cb68535151ce1d93b7e3793323a59a5844 | 1,922 | cpp | C++ | DICE-Evaluation/ARM/Fuzzing/Firmware/Sources/Guitar-Pedal-MBED/flanger.cpp | jeffball55/DICE-DMA-Emulation | 20db20c020940f0df186ec04bca1d3ec64152286 | [
"Apache-2.0"
] | null | null | null | DICE-Evaluation/ARM/Fuzzing/Firmware/Sources/Guitar-Pedal-MBED/flanger.cpp | jeffball55/DICE-DMA-Emulation | 20db20c020940f0df186ec04bca1d3ec64152286 | [
"Apache-2.0"
] | null | null | null | DICE-Evaluation/ARM/Fuzzing/Firmware/Sources/Guitar-Pedal-MBED/flanger.cpp | jeffball55/DICE-DMA-Emulation | 20db20c020940f0df186ec04bca1d3ec64152286 | [
"Apache-2.0"
] | null | null | null | /*******************FLANGER.C******************************/
#include "delay.h"
#include "flanger.h"
static short samp_freq;
static double var_delay;
static short counter;
static short counter_limit;
static short control;
static short max_delay;
static short min_delay;
static double mix_vol;
static double delay_step;... | 20.446809 | 110 | 0.644641 | jeffball55 |
773b2c8561ca9e645ba65407cbd46dd92ab164c5 | 1,674 | cpp | C++ | src/filterbank_test.cpp | kernsuite-debian/peasoup | d542e0b707d797883d7dacbfce8234d2465068de | [
"Apache-2.0"
] | 10 | 2015-10-03T00:17:03.000Z | 2021-05-09T11:29:24.000Z | src/filterbank_test.cpp | kernsuite-debian/peasoup | d542e0b707d797883d7dacbfce8234d2465068de | [
"Apache-2.0"
] | 1 | 2018-03-20T08:37:41.000Z | 2018-03-20T08:50:01.000Z | src/filterbank_test.cpp | kernsuite-debian/peasoup | d542e0b707d797883d7dacbfce8234d2465068de | [
"Apache-2.0"
] | 8 | 2015-10-28T16:01:58.000Z | 2021-11-03T05:53:41.000Z | #include <data_types/filterbank.hpp>
#include <iostream>
#include <stdexcept>
#include <assert.h>
using namespace std;
int main(void){
std::string filename("/lustre/projects/p002_swin/surveys/HTRU/medlat/2009-09-12-01:41:41/11/2009-09-12-01:41:41.fil");
try {
SigprocFilterbank filobj(filename);
} catch (... | 27.9 | 120 | 0.708483 | kernsuite-debian |
773c7908f97f90cedecdc644de87012e01b10b46 | 2,081 | cpp | C++ | MMOCoreORB/src/server/zone/objects/tangible/components/droid/DroidContainerComponent.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/tangible/components/droid/DroidContainerComponent.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/tangible/components/droid/DroidContainerComponent.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* DroidContainerComponent.cpp
*/
#include "DroidContainerComponent.h"
#include "server/zone/objects/scene/SceneObject.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/objects/creature/ai/DroidObject.h"
#include "server/zone/objects/player/PlayerObject.h"
bool DroidContainerCompon... | 31.059701 | 143 | 0.742912 | V-Fib |
773f8b212caca61c6dd726e507fda56f90e39318 | 589 | cpp | C++ | Jarek_przyklady/if_init_raii/if_init_raii.cpp | WektorZabrze/ADV_29_11_2018 | afab03af53cfd47b0cb67c60280259bef2ce1c96 | [
"MIT"
] | null | null | null | Jarek_przyklady/if_init_raii/if_init_raii.cpp | WektorZabrze/ADV_29_11_2018 | afab03af53cfd47b0cb67c60280259bef2ce1c96 | [
"MIT"
] | null | null | null | Jarek_przyklady/if_init_raii/if_init_raii.cpp | WektorZabrze/ADV_29_11_2018 | afab03af53cfd47b0cb67c60280259bef2ce1c96 | [
"MIT"
] | null | null | null | #include <iostream>
#include <mutex>
#include <thread>
std::mutex cout_mutex;
void printThreadId(){
bool success = true;
if(std::unique_lock<std::mutex> lck(cout_mutex, std::try_to_lock); lck.owns_lock()){
std::cout <<"Ten napis nie zostal poszatkowany "<< std::this_thread::get_id()<<std::endl;
}else{
... | 18.40625 | 92 | 0.597623 | WektorZabrze |
773f8f74951d2c6263fc0bf35317c8c35db15f4c | 345 | cpp | C++ | ShaderGLLib/Image.cpp | anirul/ShaderGL-Classroom-2 | f91a354588b09f34f6814e714cad015db2fa51e6 | [
"MIT"
] | null | null | null | ShaderGLLib/Image.cpp | anirul/ShaderGL-Classroom-2 | f91a354588b09f34f6814e714cad015db2fa51e6 | [
"MIT"
] | null | null | null | ShaderGLLib/Image.cpp | anirul/ShaderGL-Classroom-2 | f91a354588b09f34f6814e714cad015db2fa51e6 | [
"MIT"
] | null | null | null | #include "Image.h"
#include <algorithm>
#include <fstream>
#include <vector>
#include <tuple>
#include <assert.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
namespace sgl {
Image::Image(const std::string& file)
{
#pragma message("Fill me up!")
}
Image::~Image()
{
#pragma message("Fill me up!")
}
... | 14.375 | 38 | 0.684058 | anirul |
7745e6dfb999aacc259f50033d856d2aded7d28a | 8,454 | cc | C++ | content/common/gpu/media/vt_video_decode_accelerator.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-01-16T03:57:39.000Z | 2019-01-16T03:57:39.000Z | content/common/gpu/media/vt_video_decode_accelerator.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | content/common/gpu/media/vt_video_decode_accelerator.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <CoreVideo/CoreVideo.h>
#include <OpenGL/CGLIOSurface.h>
#include "base/bind.h"
#include "base/thread_task_runner_handle.h"
#include "content/co... | 35.372385 | 80 | 0.746747 | aranajhonny |
7749b720d095b17c3c61eb5e094b823743fe34c8 | 4,695 | cpp | C++ | sources/Elements/CPS4.cpp | podgorskiy/TinyFEM | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | [
"MIT"
] | 4 | 2017-11-05T14:01:04.000Z | 2019-12-11T15:24:54.000Z | sources/Elements/CPS4.cpp | podgorskiy/TinyFEM | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | [
"MIT"
] | null | null | null | sources/Elements/CPS4.cpp | podgorskiy/TinyFEM | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | [
"MIT"
] | null | null | null | #include "Common.h"
#include "CPS4.h"
#include "PropertiesHolder/PropertiesHolder.h"
#include "Material.h"
#include <Eigen/Dense>
#include "GaussQuadrature.h"
Eigen::Matrix<float, 4, 4> CPS4::m_C;
Eigen::Matrix<float, 4, 4> CPS4::m_IC;
float XI[4] = { -1.0, 1.0, 1.0, -1.0 };
float ETA[4] = { -1.0, -1.0, 1.0, 1.0 };... | 25.796703 | 127 | 0.589563 | podgorskiy |
774a459c11c5b4c69570340ea964d268e3db13b4 | 42,725 | cpp | C++ | src/caffe/test/test_gauss_convolution_layer.cpp | skokec/caffe | f6fd2961b9aa63d818212ee2490620fe0e703cc6 | [
"BSD-2-Clause"
] | 1 | 2021-05-16T08:35:43.000Z | 2021-05-16T08:35:43.000Z | src/caffe/test/test_gauss_convolution_layer.cpp | skokec/caffe | f6fd2961b9aa63d818212ee2490620fe0e703cc6 | [
"BSD-2-Clause"
] | null | null | null | src/caffe/test/test_gauss_convolution_layer.cpp | skokec/caffe | f6fd2961b9aa63d818212ee2490620fe0e703cc6 | [
"BSD-2-Clause"
] | null | null | null | #include <boost/smart_ptr/shared_ptr.hpp>
#include <caffe/blob.hpp>
#include <caffe/common.hpp>
#include <caffe/filler.hpp>
#include <caffe/layers/gauss_conv_layer.hpp>
#include <caffe/proto/caffe.pb.h>
#include <caffe/test/test_caffe_main.hpp>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <vector>
names... | 38.770417 | 202 | 0.71464 | skokec |
774ab34511087ae6ecaef31852ba1522b5386a18 | 1,634 | cpp | C++ | solutions/LeetCode/C++/375.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/375.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/375.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 4 ms submission
class Solution {
public:
int getMoneyAmount(int n) {
vector<vector<int>> cache(n+1, vector<int>(n+1, 0));
return cost(cache, 1, n);
}
int cost(vector<vector<int>>& v,... | 31.423077 | 98 | 0.49082 | timxor |
774abe8746e18e9a0ffd205c8e03c8667447129b | 339 | hpp | C++ | include/esc/detail/is_any_of.hpp | a-n-t-h-o-n-y/Escape | 45ca047bacffbbde768768c6631df6336dd4e03c | [
"MIT"
] | 10 | 2021-06-30T15:10:55.000Z | 2022-03-20T18:34:06.000Z | include/esc/detail/is_any_of.hpp | a-n-t-h-o-n-y/Escape | 45ca047bacffbbde768768c6631df6336dd4e03c | [
"MIT"
] | null | null | null | include/esc/detail/is_any_of.hpp | a-n-t-h-o-n-y/Escape | 45ca047bacffbbde768768c6631df6336dd4e03c | [
"MIT"
] | null | null | null | #ifndef ESC_DETAIL_IS_ANY_OF_HPP
#define ESC_DETAIL_IS_ANY_OF_HPP
#include <type_traits>
namespace esc::detail {
/// Type Trait defined as true if T is_same as any of Us.
template <typename T, typename... Args>
bool constexpr is_any_of = (std::is_same_v<Args, T> || ...);
} // namespace esc::detail
#endif // ESC_DE... | 26.076923 | 60 | 0.743363 | a-n-t-h-o-n-y |
7753c11d29c35ff08d33709109ed7b7643b02d44 | 4,988 | cpp | C++ | src/Entity/Plane.cpp | evanbowman/FLIGHT | cdb06059498efd63d9a94b27e8b9501e90bde86c | [
"BSD-2-Clause"
] | 15 | 2017-03-07T21:42:55.000Z | 2021-05-20T04:28:46.000Z | src/Entity/Plane.cpp | evanbowman/FLIGHT | cdb06059498efd63d9a94b27e8b9501e90bde86c | [
"BSD-2-Clause"
] | null | null | null | src/Entity/Plane.cpp | evanbowman/FLIGHT | cdb06059498efd63d9a94b27e8b9501e90bde86c | [
"BSD-2-Clause"
] | 4 | 2017-02-10T15:47:25.000Z | 2021-05-20T04:27:29.000Z | #include <FLIGHT/Core/Game.hpp>
#include <FLIGHT/Entity/Plane.hpp>
#include <FLIGHT/Entity/Coin.hpp>
namespace FLIGHT {
Plane::Plane(const Blueprint & blueprint, const std::string & blueprintName)
: m_srcBlueprint(blueprintName), m_pitch(0.f), m_roll(0.f), m_thrust(1.f),
m_yVelocity(0.f) {
for (auto & pa... | 33.47651 | 80 | 0.593224 | evanbowman |
775aca3902f0883abd4b97d5055444eb899365ae | 107 | cpp | C++ | docs/assets/playground/choice.cpp | IohannRabeson/lexy | 881beb56f030e8f4761514e70cb50d809ac4ad17 | [
"BSL-1.0"
] | 527 | 2020-12-01T14:23:50.000Z | 2022-03-31T11:30:24.000Z | docs/assets/playground/choice.cpp | ExternalRepositories/lexy | edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d | [
"BSL-1.0"
] | 44 | 2020-12-01T18:39:38.000Z | 2022-03-08T00:22:39.000Z | docs/assets/playground/choice.cpp | ExternalRepositories/lexy | edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d | [
"BSL-1.0"
] | 24 | 2020-12-02T01:45:53.000Z | 2022-03-22T21:31:31.000Z | // INPUT:Hello
struct production
{
static constexpr auto rule = LEXY_LIT("Hello") | LEXY_LIT("Hi");
};
| 17.833333 | 68 | 0.672897 | IohannRabeson |
775c953f1c9d1412519e0d7bddf4c1763db0bccc | 16,384 | cpp | C++ | simpleshell/westeros-simpleshell.cpp | moorthy-bs/westeros | d026756a91333b376d167d9e248e18309a177c95 | [
"MIT"
] | null | null | null | simpleshell/westeros-simpleshell.cpp | moorthy-bs/westeros | d026756a91333b376d167d9e248e18309a177c95 | [
"MIT"
] | null | null | null | simpleshell/westeros-simpleshell.cpp | moorthy-bs/westeros | d026756a91333b376d167d9e248e18309a177c95 | [
"MIT"
] | null | null | null | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 RDK Management
*
* 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 ... | 32.251969 | 126 | 0.659424 | moorthy-bs |
776337ab0c60c5cb11d2528f22f50a174e7683fd | 2,147 | hpp | C++ | MainGame/settings/Settings.hpp | JoaoBaptMG/ReboundTheGame | 48c3d8b81de1f7fa7c622c3f815860257ccdba8e | [
"MIT"
] | 63 | 2017-05-18T16:10:19.000Z | 2022-03-26T18:05:59.000Z | MainGame/settings/Settings.hpp | JoaoBaptMG/ReboundTheGame | 48c3d8b81de1f7fa7c622c3f815860257ccdba8e | [
"MIT"
] | 1 | 2018-02-10T12:40:33.000Z | 2019-01-11T07:33:13.000Z | MainGame/settings/Settings.hpp | JoaoBaptMG/ReboundTheGame | 48c3d8b81de1f7fa7c622c3f815860257ccdba8e | [
"MIT"
] | 4 | 2017-12-31T21:38:14.000Z | 2019-11-20T15:13:00.000Z | //
// Copyright (c) 2016-2018 João Baptista de Paula e Silva.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, cop... | 33.546875 | 81 | 0.755007 | JoaoBaptMG |
776722a74f9267edf4bc43db31704a8270db44d0 | 11,618 | cxx | C++ | Src/Projects/device_faceCap/device_facecap_device.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 53 | 2018-04-21T14:16:46.000Z | 2022-03-19T11:27:37.000Z | Src/Projects/device_faceCap/device_facecap_device.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 6 | 2019-06-05T16:37:29.000Z | 2021-09-20T07:17:03.000Z | Src/Projects/device_faceCap/device_facecap_device.cxx | Mikkelbf/OpenMoBu | c57c41a0908ad7734d48642549758271d11263b8 | [
"BSD-3-Clause"
] | 10 | 2019-02-22T18:43:59.000Z | 2021-09-02T18:53:37.000Z |
/** \file device_facecap_device.cxx
* Developed by Sergei <Neill3d> Solokhin 2019
* e-mail to: s@neill3d.com
* twitter: @Neill3d
*
* OpenMoBu github - https://github.com/Neill3d/OpenMoBu
*/
//--- Class declaration
#include "device_facecap_device.h"
//--- Registration defines
#define CDEVICEFACECAP__CLASS CDEVICEFAC... | 24.771855 | 105 | 0.637545 | Mikkelbf |
777305d41cb6005d0343a95e544d96e23a2161e2 | 5,301 | hpp | C++ | libcore/include/sirikata/core/options/CommonOptions.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | libcore/include/sirikata/core/options/CommonOptions.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | libcore/include/sirikata/core/options/CommonOptions.hpp | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata
* CommonOptions.hpp
*
* Copyright (c) 2009, Ewen Cheslack-Postava
* 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 ... | 40.776923 | 100 | 0.776646 | pathorn |
a55cdb5b46324a3125bcb3c81828b3cb4522773e | 3,730 | hpp | C++ | ysu/node/bootstrap/bootstrap_attempt.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/node/bootstrap/bootstrap_attempt.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | ysu/node/bootstrap/bootstrap_attempt.hpp | lik2129/ysu_coin | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <ysu/node/bootstrap/bootstrap.hpp>
#include <atomic>
#include <future>
namespace ysu
{
class node;
class frontier_req_client;
class bulk_push_client;
class bootstrap_attempt : public std::enable_shared_from_this<bootstrap_attempt>
{
public:
explicit bootstrap_attempt (std::shared_ptr<ysu::nod... | 42.386364 | 137 | 0.755496 | lik2129 |
a55dae0c5398b8b49004260c69bd3c2064099154 | 4,726 | cpp | C++ | src/object_detection.cpp | urastogi885/Supermarket-Cleaning-Robot | 4d7b910458b73cba1c0efaf580e5f4b44ac0246a | [
"MIT"
] | 4 | 2020-05-26T15:53:07.000Z | 2021-03-09T20:35:55.000Z | src/object_detection.cpp | urastogi885/supermarket-cleaning-robot | 4d7b910458b73cba1c0efaf580e5f4b44ac0246a | [
"MIT"
] | 2 | 2020-12-23T04:39:41.000Z | 2020-12-23T04:42:36.000Z | src/object_detection.cpp | urastogi885/supermarket-cleaning-robot | 4d7b910458b73cba1c0efaf580e5f4b44ac0246a | [
"MIT"
] | 5 | 2020-07-03T14:03:53.000Z | 2022-01-20T13:59:59.000Z | /**
* BSD 3-Clause License
*
* @copyright (c) 2019, Umang Rastogi Naman Gupta
* 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 copyrig... | 39.383333 | 81 | 0.724291 | urastogi885 |
a56003e1f0d6423a7ed96b89bac370a374f70cbc | 74,166 | cpp | C++ | Market/Market.cpp | MichaelXanth/RPG_Game | 4ce98fb2b03719dbd026afea7e270b623b09b2a0 | [
"MIT"
] | 3 | 2020-06-22T16:21:03.000Z | 2020-07-05T12:10:29.000Z | Market/Market.cpp | MichaelXanth/RPG_Game | 4ce98fb2b03719dbd026afea7e270b623b09b2a0 | [
"MIT"
] | null | null | null | Market/Market.cpp | MichaelXanth/RPG_Game | 4ce98fb2b03719dbd026afea7e270b623b09b2a0 | [
"MIT"
] | null | null | null | /* File: Market.cpp */
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <limits>
#include <unistd.h>
#include "../Input_Validation/Input_Validation.hpp"
#include "../Items/Armor.hpp"
#include "../Items/Potion.hpp"
#include "../Items/Weapon.hpp"
#include "../Living/Heroes/Hero.hpp"
#incl... | 38.09245 | 524 | 0.436912 | MichaelXanth |
a5639343acaa9d179e3370c34b5aa55147d01427 | 14,059 | cpp | C++ | HTWK_SD_FILTER/SD_FreestyleSchnapsSaufen/Freestyle.cpp | HTWKSmartDriving/aadc-2015 | 95ee77aa0f9ebbb541bbb1e3b99d3f044347d103 | [
"BSD-2-Clause"
] | 2 | 2017-11-29T00:15:26.000Z | 2017-11-29T01:45:54.000Z | HTWK_SD_FILTER/SD_FreestyleSchnapsSaufen/Freestyle.cpp | HTWKSmartDriving/aadc-2015 | 95ee77aa0f9ebbb541bbb1e3b99d3f044347d103 | [
"BSD-2-Clause"
] | null | null | null | HTWK_SD_FILTER/SD_FreestyleSchnapsSaufen/Freestyle.cpp | HTWKSmartDriving/aadc-2015 | 95ee77aa0f9ebbb541bbb1e3b99d3f044347d103 | [
"BSD-2-Clause"
] | 2 | 2017-11-28T23:47:27.000Z | 2019-07-19T08:04:50.000Z | /**
* Copyright (c) 2014-2015, HTWK SmartDriving
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this lis... | 33.47381 | 166 | 0.775375 | HTWKSmartDriving |
a565e2c43ad945daf61e2949305b14d18a01a3ed | 2,599 | cpp | C++ | src/boss/blob.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | 1 | 2017-12-01T14:57:16.000Z | 2017-12-01T14:57:16.000Z | src/boss/blob.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | null | null | null | src/boss/blob.cpp | Lab-RoCoCo/fps_mapper | 376e557c8f5012e05187fe85ee3f4044f99f944a | [
"BSD-3-Clause"
] | null | null | null | /*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2013 <copyright holder> <email>
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 ve... | 26.252525 | 75 | 0.710273 | Lab-RoCoCo |
a569e99c0c0abfab7cdaa89a8d125cf39b96d901 | 786 | cpp | C++ | C++/Playlist Maker/Song.cpp | Andrustn/Andrustn.github.io | 8cc1cf815a20be06373ca61c57bb29ec41ef79f2 | [
"MIT"
] | null | null | null | C++/Playlist Maker/Song.cpp | Andrustn/Andrustn.github.io | 8cc1cf815a20be06373ca61c57bb29ec41ef79f2 | [
"MIT"
] | null | null | null | C++/Playlist Maker/Song.cpp | Andrustn/Andrustn.github.io | 8cc1cf815a20be06373ca61c57bb29ec41ef79f2 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include "Song.h"
void Song::SetSongName(string userSongName) {
songName = userSongName;
}
void Song::SetSongFirstLine(string userSongFirstLine) {
songFirstLine = userSongFirstLine;
}
void Song::SetTimesPlayed(int userTimesPlayed) {
timesPlayed = userTimesPlayed;
}
S... | 22.457143 | 60 | 0.720102 | Andrustn |
a573cd65a101e523428e648128c51c79e2092a58 | 1,127 | cpp | C++ | vulcan_test/debug_stream.cpp | WarlockD/Vulkan2D-Engine | c7808e7d29cd52ba096b03e26839efa781691de7 | [
"MIT"
] | 1 | 2021-07-02T20:35:05.000Z | 2021-07-02T20:35:05.000Z | vulcan_test/debug_stream.cpp | WarlockD/Vulkan2D-Engine | c7808e7d29cd52ba096b03e26839efa781691de7 | [
"MIT"
] | null | null | null | vulcan_test/debug_stream.cpp | WarlockD/Vulkan2D-Engine | c7808e7d29cd52ba096b03e26839efa781691de7 | [
"MIT"
] | null | null | null | #include "dbgstream.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <fstream>
#ifdef DBG_TIMESTAMP
extern "C" {
#include <time.h>
};
#endif /* DBG_TIMESTAMP */
using namespace std;
dbgstream dbg;
dbgbuf::~dbgbuf()
{
flushMsg();
}
void dbgbuf::flushMsg()
{
if (msg.length() > 0) {
#if DBG_TIMESTAMP
... | 15.22973 | 58 | 0.606921 | WarlockD |
a573d91bf5f42ade2faa44b67835c31c0bec6bb2 | 290 | hpp | C++ | font.hpp | 5cript/cairo-wrap | d436eea920496830647a86488c2878a76c1e7479 | [
"MIT"
] | 1 | 2020-11-11T17:19:14.000Z | 2020-11-11T17:19:14.000Z | font.hpp | 5cript/cairo-wrap | d436eea920496830647a86488c2878a76c1e7479 | [
"MIT"
] | null | null | null | font.hpp | 5cript/cairo-wrap | d436eea920496830647a86488c2878a76c1e7479 | [
"MIT"
] | 1 | 2021-03-01T08:53:46.000Z | 2021-03-01T08:53:46.000Z | #pragma once
#include "core.hpp"
#include <string>
namespace Cairo
{
struct Font
{
std::string family = "Arial";
double size = 12;
cairo_font_weight_t weight = CAIRO_FONT_WEIGHT_NORMAL;
cairo_font_slant_t slant = CAIRO_FONT_SLANT_NORMAL;
};
}
| 17.058824 | 62 | 0.648276 | 5cript |
a57b6b80abf97f8922a8e9ccf7804da5b09626ab | 24,902 | cpp | C++ | kratos/processes/assign_scalar_input_to_entities_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | kratos/processes/assign_scalar_input_to_entities_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | kratos/processes/assign_scalar_input_to_entities_process.cpp | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | //
// | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Vicente Mataix Ferrandiz
//
// System include... | 37.559578 | 186 | 0.544053 | ma6yu |
a57dca26601e33459ea64de3041af5be99acb32a | 880 | hh | C++ | simlucid/include/SimLucidSteppingVerbose.hh | CERNatschool/SimLUCID-lite | ccc6000bfbcd70538e60a0d46fe3f2f2ef43653a | [
"MIT"
] | null | null | null | simlucid/include/SimLucidSteppingVerbose.hh | CERNatschool/SimLUCID-lite | ccc6000bfbcd70538e60a0d46fe3f2f2ef43653a | [
"MIT"
] | null | null | null | simlucid/include/SimLucidSteppingVerbose.hh | CERNatschool/SimLUCID-lite | ccc6000bfbcd70538e60a0d46fe3f2f2ef43653a | [
"MIT"
] | null | null | null | /*! \file SimLucidSteppingVerbose.hh
* \brief The header file for the SimLucidSteppingVerbose class.
*/
class SimLucidSteppingVerbose;
#ifndef SimLucidSteppingVerbose_h
#define SimLucidSteppingVerbose_h 1
// GEANT4 includes
#include "G4SteppingVerbose.hh"
/*! \brief Class handling user-defined verbose actions.
@... | 23.783784 | 77 | 0.765909 | CERNatschool |
a57fd356c2bfe0dcabd2affd17d0daae6cb3b0c2 | 829 | cpp | C++ | CFPExercise2.21.2019/CFPExercise2.21.2019/CFPExercise2.21.2019.cpp | cperez604/ITSE-1307-Spring-2019 | c5137d7e6b2785c0eb37df0964ba6d61c7cc7555 | [
"MIT"
] | null | null | null | CFPExercise2.21.2019/CFPExercise2.21.2019/CFPExercise2.21.2019.cpp | cperez604/ITSE-1307-Spring-2019 | c5137d7e6b2785c0eb37df0964ba6d61c7cc7555 | [
"MIT"
] | null | null | null | CFPExercise2.21.2019/CFPExercise2.21.2019/CFPExercise2.21.2019.cpp | cperez604/ITSE-1307-Spring-2019 | c5137d7e6b2785c0eb37df0964ba6d61c7cc7555 | [
"MIT"
] | null | null | null | // CFPExercise2.21.2019.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
using namespace std;
int main()
{
//establish variables
double dblfirstvariable = .0;
double dblsecondvariable = .0;
double dblvariablec = .0;
c... | 29.607143 | 111 | 0.685163 | cperez604 |
a5818f8c8078d29e54b073bb18211c39f0ed474d | 552 | cpp | C++ | PTA_L1/L1_062.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | PTA_L1/L1_062.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | PTA_L1/L1_062.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int main()
{
int N;
cin >> N;
while (N--)
{
string s;
cin >> s;
int sum1 = 0, sum2 = 0;
sum1 = (s[0] - '0') + (s[1] - '0') + (s[2] - '0');
sum2 = (s[3] - '0') + (s[4] - '0') + (s[5] - '0');
... | 21.230769 | 59 | 0.34058 | codehuanglei |
a582f06ceeaa1b13c8acfc0ed0d6b92790f214ff | 5,237 | cpp | C++ | Main.cpp | d0lev/messageboard | 8db6c72bb973981e6078b087f4e2e69e6998ac0d | [
"MIT"
] | null | null | null | Main.cpp | d0lev/messageboard | 8db6c72bb973981e6078b087f4e2e69e6998ac0d | [
"MIT"
] | null | null | null | Main.cpp | d0lev/messageboard | 8db6c72bb973981e6078b087f4e2e69e6998ac0d | [
"MIT"
] | null | null | null | #include <iostream>
#include "Direction.hpp"
#include "Board.hpp"
using namespace std;
using namespace ariel;
int main() {
ariel::Board board;
// declaration of all variables
uint row , column , length;
int func;
int dir;
string message;
Direction direction;
// wellcome line
cout <<... | 56.923913 | 121 | 0.384762 | d0lev |
a584c0e21e636636f4c9c8814415f22a23672567 | 376 | hpp | C++ | mr.Sadman/Classes/GameAct/Objects/Physical/PushPlate/PushPlate.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Physical/PushPlate/PushPlate.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Physical/PushPlate/PushPlate.hpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #ifndef __GAME_ACT_PHYSICAL_PUSH_PLATE_HPP__
#define __GAME_ACT_PHYSICAL_PUSH_PLATE_HPP__
#include "GameAct/Objects/Physical/Button/Button.hpp"
namespace GameAct
{
namespace Physical
{
class PushPlate
: public Button
{
public:
void setRotation( float angle ) override;
void runAction( const st... | 13.925926 | 56 | 0.723404 | 1pkg |
a585088f28f2a6aca4ec849621838d21bdc7e58f | 1,193 | hpp | C++ | src/CmdNodeDisconnect.hpp | Bwar/NebulaBeacon | 4fbb53cd0c56811d25a08c47aaf67a8398e9ecc4 | [
"Apache-2.0"
] | 3 | 2019-01-24T02:49:57.000Z | 2021-06-06T08:40:34.000Z | src/CmdNodeDisconnect.hpp | Bwar/NebulaBeacon | 4fbb53cd0c56811d25a08c47aaf67a8398e9ecc4 | [
"Apache-2.0"
] | 3 | 2021-06-01T03:21:13.000Z | 2021-09-02T04:46:27.000Z | src/CmdNodeDisconnect.hpp | Bwar/NebulaBeacon | 4fbb53cd0c56811d25a08c47aaf67a8398e9ecc4 | [
"Apache-2.0"
] | 3 | 2019-10-05T12:13:03.000Z | 2021-06-06T08:40:20.000Z | /*******************************************************************************
* Project: Beacon
* @file CmdNodeDisconnect.hpp
* @brief
* @author bwar
* @date: Feb 14, 2017
* @note
* Modify history:
******************************************************************************/
#ifndef SRC_CMDNODED... | 26.511111 | 94 | 0.601006 | Bwar |
a58b86ffcbbbc0f9e0057421f95ee69f03cc24a4 | 507 | cpp | C++ | lab3(assignment 3 date).cpp | ahmedtarek26/oop_assignments | a6f334e013dfaef5ca59658f0b2fd8d365902492 | [
"MIT"
] | null | null | null | lab3(assignment 3 date).cpp | ahmedtarek26/oop_assignments | a6f334e013dfaef5ca59658f0b2fd8d365902492 | [
"MIT"
] | null | null | null | lab3(assignment 3 date).cpp | ahmedtarek26/oop_assignments | a6f334e013dfaef5ca59658f0b2fd8d365902492 | [
"MIT"
] | null | null | null |
#include <iostream>
#include<string>
using namespace std;
struct Date {
int day=18 , month=11, year=2020;
};
void Date_next(){
Date current;
for (int i = 1; i < 45; i++) {
if(current.day==31){
current.day=1;
current.day+=1;
current.month+=1;
}
else
current... | 16.354839 | 39 | 0.530572 | ahmedtarek26 |
a58c1e5e82b200b494cf624346a6313435d8266a | 3,006 | cpp | C++ | src/udpbridge_ui.cpp | GFOE/udp_bridge | e845a587b300af802ca310f1df253e03baf32bc4 | [
"BSD-2-Clause"
] | 6 | 2018-12-22T15:32:29.000Z | 2022-03-07T14:56:44.000Z | src/udpbridge_ui.cpp | GFOE/udp_bridge | e845a587b300af802ca310f1df253e03baf32bc4 | [
"BSD-2-Clause"
] | null | null | null | src/udpbridge_ui.cpp | GFOE/udp_bridge | e845a587b300af802ca310f1df253e03baf32bc4 | [
"BSD-2-Clause"
] | 8 | 2018-04-05T19:57:36.000Z | 2022-02-07T15:49:41.000Z | #include <ros/ros.h>
#include <ros/master.h>
#include "udp_bridge/ChannelStatisticsArray.h"
void statisticsCallback(udp_bridge::ChannelStatisticsArray const &stats)
{
std::vector<std::string> headers {"source topic", "remote host", " messages", "message data", " packet data", " compressed", " ratio", "send e... | 34.953488 | 159 | 0.574185 | GFOE |
a591d7ef8bc0fb27ae8c0b8fe4e82791f5fbb499 | 1,497 | cpp | C++ | src/CMessageHeader.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | 1 | 2017-05-18T17:12:00.000Z | 2017-05-18T17:12:00.000Z | src/CMessageHeader.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | null | null | null | src/CMessageHeader.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | null | null | null | #include "CMessageHeader.h"
//
// Message header
// (4) message start
// (12) command
// (4) size
// (4) checksum
extern char pchMessageStart[4];
CMessageHeader::CMessageHeader()
{
memcpy(pchMessageStart, ::pchMessageStart, sizeof(pchMessageStart));
memset(pchCommand, 0, sizeof(pchCommand));
pchCommand[1] = 1... | 22.343284 | 117 | 0.691383 | gasteve |
a5998ad829b04b45d1ad23645e65ab2abde31d6c | 1,834 | cpp | C++ | VME/GBO.cpp | KIKU-O/VME | e87d5d9543d30e5b15f7cf5a04878a32290326df | [
"MIT"
] | null | null | null | VME/GBO.cpp | KIKU-O/VME | e87d5d9543d30e5b15f7cf5a04878a32290326df | [
"MIT"
] | null | null | null | VME/GBO.cpp | KIKU-O/VME | e87d5d9543d30e5b15f7cf5a04878a32290326df | [
"MIT"
] | null | null | null | #include "GBO.h"
void GBO::Load()
{
Shader.Load("Shaders\\Geometry-Buffer.vert", "Shaders\\Geometry-Buffer.frag");
}
void GBO::Initialize()
{
glGenFramebuffers(1, &FBO);
glBindFramebuffer(GL_FRAMEBUFFER, FBO);
// POSITION
glGenTextures(1, &Position);
glBindTexture(GL_TEXTURE_2D, Position);
... | 36.68 | 93 | 0.749182 | KIKU-O |
a59a6eb8901e97195d2f268082101a331396881b | 3,559 | hpp | C++ | retrace.hpp | prahal/apitrace | e9426dd61586757d23d7dddc85b3076f477e7f07 | [
"MIT"
] | 1 | 2020-06-19T12:34:44.000Z | 2020-06-19T12:34:44.000Z | retrace.hpp | prahal/apitrace | e9426dd61586757d23d7dddc85b3076f477e7f07 | [
"MIT"
] | null | null | null | retrace.hpp | prahal/apitrace | e9426dd61586757d23d7dddc85b3076f477e7f07 | [
"MIT"
] | null | null | null | /**************************************************************************
*
* Copyright 2011 Jose Fonseca
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software wit... | 24.047297 | 80 | 0.652711 | prahal |
a59c53b2e48a5327e9f15e69a2fb30db04b85584 | 3,279 | cpp | C++ | firmware-latest/wiring/src/spark_wiring_servo.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | 1 | 2019-02-24T07:13:51.000Z | 2019-02-24T07:13:51.000Z | firmware-latest/wiring/src/spark_wiring_servo.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | 1 | 2018-05-29T19:27:53.000Z | 2018-05-29T19:27:53.000Z | firmware-latest/wiring/src/spark_wiring_servo.cpp | adeeshag/particle_project | 0c2ab278cf902f97d2422c44c008978be58fe6b7 | [
"Unlicense"
] | null | null | null | /**
******************************************************************************
* @file spark_wiring_spi.h
* @author Zach Supalla
* @version V1.0.0
* @date 06-December-2013
* @brief Header for spark_wiring_servo.cpp module
******************************************************************************... | 24.288889 | 80 | 0.623056 | adeeshag |
a59d19d73faa5c2c36046f9d45c426234de83be1 | 8,746 | hpp | C++ | include/ssci/bio/bioseqtree.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | include/ssci/bio/bioseqtree.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | include/ssci/bio/bioseqtree.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | /*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... | 32.756554 | 134 | 0.532815 | syntheticgio |
a5a404d4ecb691b9ef137d35da8ffeffabbfa127 | 1,870 | cxx | C++ | osf-to-esf/dborl/dborl_image_bbox_description.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | 1 | 2022-01-01T20:43:47.000Z | 2022-01-01T20:43:47.000Z | osf-to-esf/dborl/dborl_image_bbox_description.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | null | null | null | osf-to-esf/dborl/dborl_image_bbox_description.cxx | wenhanshi/lemsvxl-shock-computation | 1208e5f6a0c9fddbdffcc20f2c1d914e07015b45 | [
"MIT"
] | null | null | null | //:
// \file
// \brief
// \author Ozge Can Ozcanli (ozge@lems.brown.edu)
// \date 10/03/07
#include "dborl_image_bbox_description.h"
#include <vsol/vsol_box_2d.h>
#include <vcl_iostream.h>
void dborl_image_bbox_description::add_box(vcl_string cat, vsol_box_2d_sptr b)
{
vcl_map<vcl_string, vcl_vector<vs... | 29.68254 | 120 | 0.638503 | wenhanshi |
a5a6d839502a01a11f2720b80fdd3f29eb0587c6 | 2,330 | cpp | C++ | main.cpp | ennis/autograph-shaders-2 | 7b7b91400206409c2fc422b04ab8732093e8b082 | [
"MIT"
] | null | null | null | main.cpp | ennis/autograph-shaders-2 | 7b7b91400206409c2fc422b04ab8732093e8b082 | [
"MIT"
] | null | null | null | main.cpp | ennis/autograph-shaders-2 | 7b7b91400206409c2fc422b04ab8732093e8b082 | [
"MIT"
] | null | null | null | #include "clang/Frontend/FrontendActions.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Tooling.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "clang/AST/ASTConsumer.h"
#i... | 31.917808 | 116 | 0.745923 | ennis |
a5af59e56fb3473c35d2877a58fc811bbac716b9 | 49,201 | hh | C++ | Dimensions.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | Dimensions.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | Dimensions.hh | pirl-lpl/pirlplusplus | d3211b05fc18f11fc66d97d5bcaeabcbd0b8b6e0 | [
"Apache-2.0"
] | null | null | null | /* Dimensions
PIRL CVS ID: $Id: Dimensions.hh,v 1.27 2011/02/18 02:29:28 castalia Exp $
Copyright (C) 2010 Arizona Board of Regents on behalf of the
Planetary Image Research Laboratory, Lunar and Planetary Laboratory at
the University of Arizona.
This library is free software; you can redistribute it and/or modify ... | 30.635741 | 80 | 0.717242 | pirl-lpl |
a5b1aba678b7bd2cf1fedd5310d6b14c6c0247e4 | 1,116 | hpp | C++ | include/dca/phys/dca_step/cluster_solver/ctaux/walker/ct_aux_walker_tools_kernels.hpp | frobnitzem/DCA | 9f5d16cbfe1a4c4df1d4c8353654dd2882671dca | [
"BSD-3-Clause"
] | 27 | 2018-08-02T04:28:23.000Z | 2021-07-08T02:14:20.000Z | include/dca/phys/dca_step/cluster_solver/ctaux/walker/ct_aux_walker_tools_kernels.hpp | frobnitzem/DCA | 9f5d16cbfe1a4c4df1d4c8353654dd2882671dca | [
"BSD-3-Clause"
] | 200 | 2018-08-02T18:19:03.000Z | 2022-03-16T21:28:41.000Z | include/dca/phys/dca_step/cluster_solver/ctaux/walker/ct_aux_walker_tools_kernels.hpp | PDoakORNL/DCA-2 | 5a373f6af5a7d4b5be69199f60ec75a16e58c626 | [
"BSD-3-Clause"
] | 22 | 2018-08-15T15:50:00.000Z | 2021-09-30T13:41:46.000Z | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Peter Staar (taa@zurich.ibm.com)
//
// GPU kernels for walker tools.
#ifndef DCA_... | 32.823529 | 95 | 0.747312 | frobnitzem |
a5b232cf0e41043f2151ecd73a85066b68d773c1 | 78 | cpp | C++ | Source/L2NextCrypto/Private/Utils/Streams/InputStream.cpp | L2Next/L2NextCrypto | 005a893b5d04e8fc522cb0e08f92b39d5411b98c | [
"MIT"
] | 4 | 2020-09-04T21:33:35.000Z | 2021-05-30T14:25:27.000Z | Source/L2NextCrypto/Private/Utils/Streams/InputStream.cpp | L2Next/L2NextCrypto | 005a893b5d04e8fc522cb0e08f92b39d5411b98c | [
"MIT"
] | 9 | 2020-08-15T14:07:12.000Z | 2021-06-25T05:48:58.000Z | Source/L2NextCrypto/Private/Utils/Streams/InputStream.cpp | L2Next/L2NextCrypto | 005a893b5d04e8fc522cb0e08f92b39d5411b98c | [
"MIT"
] | 2 | 2020-11-20T04:03:42.000Z | 2021-03-04T21:46:50.000Z | #include "Utils/Streams/InputStream.h"
using namespace L2NextCryptoStreams;
| 15.6 | 38 | 0.820513 | L2Next |
a5b236b6cb8db861e5fde0f54ae936edf0c32709 | 4,375 | hpp | C++ | experiments/util/benchmark_util.hpp | keszocze/abo | 2d59ac20832b308ef5f90744fc98752797a4f4ba | [
"MIT"
] | null | null | null | experiments/util/benchmark_util.hpp | keszocze/abo | 2d59ac20832b308ef5f90744fc98752797a4f4ba | [
"MIT"
] | null | null | null | experiments/util/benchmark_util.hpp | keszocze/abo | 2d59ac20832b308ef5f90744fc98752797a4f4ba | [
"MIT"
] | 1 | 2020-03-11T14:50:31.000Z | 2020-03-11T14:50:31.000Z | #ifndef BENCHMARK_UTIL_H
#define BENCHMARK_UTIL_H
#include <cudd/cplusplus/cuddObj.hh>
#include <string>
#include <vector>
namespace abo::benchmark {
enum class ErrorMetric
{
WORST_CASE,
WORST_CASE_RELATIVE_APPROX,
WORST_CASE_RELATIVE_BINARY_SEARCH,
WORST_CASE_RELATIVE_RANDOMIZED,
WORST_CASE_RELA... | 28.782895 | 100 | 0.709257 | keszocze |
a5b3bfd9a2e0f91548f241f2dfab0c95df20e437 | 615 | cpp | C++ | DearPyGui/src/ui/AppItems/widget_handlers/mvToggledOpenHandler.cpp | BadSugar/DearPyGui | 95f3f86e2efb7fbe31d76c52a1a7965d96ee9151 | [
"MIT"
] | 7,471 | 2020-08-12T13:36:38.000Z | 2022-03-31T14:50:37.000Z | DearPyGui/src/ui/AppItems/widget_handlers/mvToggledOpenHandler.cpp | BadSugar/DearPyGui | 95f3f86e2efb7fbe31d76c52a1a7965d96ee9151 | [
"MIT"
] | 922 | 2020-08-12T21:03:42.000Z | 2022-03-31T01:19:10.000Z | DearPyGui/src/ui/AppItems/widget_handlers/mvToggledOpenHandler.cpp | BadSugar/DearPyGui | 95f3f86e2efb7fbe31d76c52a1a7965d96ee9151 | [
"MIT"
] | 550 | 2020-08-12T21:58:55.000Z | 2022-03-30T09:09:58.000Z | #include "mvToggledOpenHandler.h"
#include "mvLog.h"
#include "mvItemRegistry.h"
#include "mvPythonExceptions.h"
#include "mvUtilities.h"
namespace Marvel {
mvToggledOpenHandler::mvToggledOpenHandler(mvUUID uuid)
:
mvAppItem(uuid)
{
}
void mvToggledOpenHandler::customAction(void* data)
{
if (static_cast... | 19.83871 | 85 | 0.700813 | BadSugar |
a5b5f6c80e4282aaa7efc01261996209d533ca83 | 10 | cpp | C++ | greedy-algorithms/basic-principles/tempCodeRunnerFile.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | greedy-algorithms/basic-principles/tempCodeRunnerFile.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | greedy-algorithms/basic-principles/tempCodeRunnerFile.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | int min(){ | 10 | 10 | 0.6 | dushimsam |
a5b6f00b1d7d88b4738a8210393a59c3b0c44b3a | 7,048 | cpp | C++ | tests/unit/SummaryBuilder.cpp | keithmendozasr/mimeographer | 84a2b99b27830b8679d4f35f8cc913bf69be842a | [
"Apache-2.0"
] | 1 | 2021-05-01T14:49:09.000Z | 2021-05-01T14:49:09.000Z | tests/unit/SummaryBuilder.cpp | keithmendozasr/mimeographer | 84a2b99b27830b8679d4f35f8cc913bf69be842a | [
"Apache-2.0"
] | null | null | null | tests/unit/SummaryBuilder.cpp | keithmendozasr/mimeographer | 84a2b99b27830b8679d4f35f8cc913bf69be842a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Keith Mendoza
*
* 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 agree... | 33.722488 | 94 | 0.644296 | keithmendozasr |
a5bf5522e582265fcf94446cc08e82e5bceec868 | 4,397 | cpp | C++ | Mirror/event.cpp | Maxul/sgx_vmx_protocol | b18dcdd6cbbf10c7d609649295676f0163dd9a5e | [
"MIT"
] | null | null | null | Mirror/event.cpp | Maxul/sgx_vmx_protocol | b18dcdd6cbbf10c7d609649295676f0163dd9a5e | [
"MIT"
] | null | null | null | Mirror/event.cpp | Maxul/sgx_vmx_protocol | b18dcdd6cbbf10c7d609649295676f0163dd9a5e | [
"MIT"
] | null | null | null | /*
* event.cpp
* This file is part of SVMOS
*
* Copyright (C) 2017 - Ecular, Maxul
*
* VmOs is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | 24.292818 | 77 | 0.634069 | Maxul |
a5c5a1dab21e48bf25ebd79c6dfe1a7301bca52c | 226 | hpp | C++ | examples/05_with_textureManager_and_gameObject/TextureManager.hpp | nathandaven/sdl-vscode-template | 098125e250ede58eeaa6cd06738d76c2983cdb58 | [
"MIT"
] | null | null | null | examples/05_with_textureManager_and_gameObject/TextureManager.hpp | nathandaven/sdl-vscode-template | 098125e250ede58eeaa6cd06738d76c2983cdb58 | [
"MIT"
] | null | null | null | examples/05_with_textureManager_and_gameObject/TextureManager.hpp | nathandaven/sdl-vscode-template | 098125e250ede58eeaa6cd06738d76c2983cdb58 | [
"MIT"
] | null | null | null | #ifndef TextureManager_hpp
#define TextureManager_hpp
#include "Game.hpp"
class TextureManager
{
public:
static SDL_Texture *LoadTexture(const char *textureFile, SDL_Renderer *renderer);
};
#endif /* TextureManager_hpp */ | 18.833333 | 83 | 0.787611 | nathandaven |
a5c5a6788cf7ba5ce88cc1a6fd2fc114b5646aa0 | 2,202 | hpp | C++ | frida/frida-cycript/src/Location.hpp | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | frida/frida-cycript/src/Location.hpp | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | frida/frida-cycript/src/Location.hpp | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /* Cycript - The Truly Universal Scripting Language
* Copyright (C) 2009-2016 Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... | 26.853659 | 93 | 0.634423 | bzxy |
a5cb7df08d1faf5661ca2d65b58cc93300724f23 | 2,150 | cpp | C++ | tests/DataHelpers.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 281 | 2019-06-06T05:58:59.000Z | 2022-03-06T12:20:09.000Z | tests/DataHelpers.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 590 | 2019-09-22T00:26:10.000Z | 2022-03-31T19:21:58.000Z | tests/DataHelpers.cpp | michaelwillis/sfizz | 0461f6e5e288da71aeccf7b7dfd71302bf0ba175 | [
"BSD-2-Clause"
] | 44 | 2019-10-08T08:24:20.000Z | 2022-02-26T04:21:44.000Z | // SPDX-License-Identifier: BSD-2-Clause
// This code is part of the sfizz library and is licensed under a BSD 2-clause
// license. You should have receive a LICENSE.md file along with the code.
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
#include "DataHelpers.h"
#include <string>
#i... | 23.626374 | 78 | 0.506977 | michaelwillis |
a5cf9abc34ce8a74718244dfcdc33bf6f4554973 | 281 | cpp | C++ | OJ/PT/PT23.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | OJ/PT/PT23.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | OJ/PT/PT23.cpp | doan201203/truong_doan | 68350b7a24ea266320cd41e1a4878e8a58b3f707 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
int n;
cin>>n;
for(int i =1 ; i<= n ; i++){
int le = 1 , chan = 0;
for(int j = i-1 ; j >= 0 ; j--){
if(j%2 ==0){
cout<<le;
}else{
cout<<chan;
}
}cout<<"\n";
}
} | 16.529412 | 37 | 0.448399 | doan201203 |
a5d157928cea04d1b8269b374fe29a9686caa95c | 4,506 | cpp | C++ | src/Frodo-core/core/event/eventdispatcher.cpp | JeppeSRC/Frodo | f3229c4601608254f16f4499052d8d03c94c0e86 | [
"MIT"
] | 19 | 2016-04-19T21:31:47.000Z | 2018-02-28T19:28:43.000Z | src/Frodo-core/core/event/eventdispatcher.cpp | JeppeSRC/Frodo | f3229c4601608254f16f4499052d8d03c94c0e86 | [
"MIT"
] | null | null | null | src/Frodo-core/core/event/eventdispatcher.cpp | JeppeSRC/Frodo | f3229c4601608254f16f4499052d8d03c94c0e86 | [
"MIT"
] | null | null | null | #include "eventdispatcher.h"
#include <core/log/log.h>
#include <core/video/context.h>
namespace fd {
namespace core {
namespace event {
using namespace utils;
using namespace log;
using namespace video;
List<EventListener*> EventDispatcher::allListeners;
List<EventListener*> EventDispatcher::windowList... | 24.758242 | 105 | 0.691522 | JeppeSRC |
a5d1707ea6bea6172e65ca2ecb1fe489760f3d30 | 8,011 | cpp | C++ | msj_archives/code/MSJApr97.src/MSN Case Study/container/events.cpp | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | 1 | 2020-10-22T12:58:55.000Z | 2020-10-22T12:58:55.000Z | msj_archives/code/MSJApr97.src/MSN Case Study/container/events.cpp | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | null | null | null | msj_archives/code/MSJApr97.src/MSN Case Study/container/events.cpp | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | 2 | 2020-10-19T23:36:26.000Z | 2020-10-22T12:59:37.000Z | #define STRICT
#include <windows.h>
#include <windowsx.h>
#include <crtdbg.h>
#include <olectl.h>
#include <docobj.h>
#include <servprov.h>
#include <exdisp.h>
#include <exdispid.h>
#include "winmain.h"
#include "events.h"
#include "ctr.h"
//+---------------------------------------------------------------------------... | 25.676282 | 79 | 0.524154 | sarangbaheti |
a5d28068bfb604329d6704855d6019a4f53ef1bd | 11,918 | cpp | C++ | zebROS_ws/src/tf_object_detection/src/depth_algorithms.cpp | FRC900/2020Offseason | 36ccd74667d379b07d9b7a1e937307c6d8119229 | [
"BSD-3-Clause"
] | 2 | 2021-09-23T22:34:11.000Z | 2022-01-13T00:20:12.000Z | zebROS_ws/src/tf_object_detection/src/depth_algorithms.cpp | FRC900/2020Offseason | 36ccd74667d379b07d9b7a1e937307c6d8119229 | [
"BSD-3-Clause"
] | 19 | 2021-03-20T01:10:04.000Z | 2022-01-17T22:51:05.000Z | zebROS_ws/src/tf_object_detection/src/depth_algorithms.cpp | FRC900/2020Offseason | 36ccd74667d379b07d9b7a1e937307c6d8119229 | [
"BSD-3-Clause"
] | null | null | null | #include "depth_algorithms.h"
// Find the median of a continuous cv::Mat
float findMedianOfMat(cv::Mat mat) {
float median = 0;
if (mat.isContinuous()) {
// copy matrix data to a vector
std::vector<float> vec;
mat = mat.reshape(0, 1);
mat.copyTo(vec);
// remove 255 (when this is called, values that are mas... | 42.412811 | 224 | 0.700453 | FRC900 |
a5d5254c6914988a305cd586ace8c47a53a3b9a2 | 23,509 | cc | C++ | lib-src/automata/lexergen2.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | 1 | 2018-03-23T20:32:09.000Z | 2018-03-23T20:32:09.000Z | lib-src/automata/lexergen2.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | null | null | null | lib-src/automata/lexergen2.cc | AaronNGray/prop-cc-new | 3d9660f55c94c5bd260f6b7cc902fa19109d35a9 | [
"BSD-2-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// NOTICE:
//
// ADLib, Prop and their related set of tools and documentation are in the
// public domain. The author(s) of this software reserve no copyrights on
// the source code and any code generated using the tools. You are encour... | 37.978998 | 84 | 0.502914 | AaronNGray |
a5d862c6542161b62284ad873485e857d51b4428 | 280 | cpp | C++ | Kreator/implementation/GUI/ImguiBuild.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/GUI/ImguiBuild.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/GUI/ImguiBuild.cpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | //
// ImguiBuild.cpp
// Kreator
//
// Created by iKan on 10/04/22.
//
/// Include the Imgui example .cpp files for implementation of Imgui functionality
#define IMGUI_IMPL_OPENGL_LOADER_GLAD
#include <examples/imgui_impl_opengl3.cpp>
#include <examples/imgui_impl_glfw.cpp>
| 20 | 82 | 0.757143 | ashish1009 |
a5da5baa671dd355d2e84acfa11c54bd792d1e61 | 302 | cpp | C++ | mod.cpp | Soliders-in-Arms-Arma-3-Group/-SIA-Additional-Factions-V2 | 3631a42eb51e7296d8da40b9b9d088c03ba29dca | [
"MIT"
] | null | null | null | mod.cpp | Soliders-in-Arms-Arma-3-Group/-SIA-Additional-Factions-V2 | 3631a42eb51e7296d8da40b9b9d088c03ba29dca | [
"MIT"
] | 5 | 2022-01-23T01:26:54.000Z | 2022-03-07T21:54:25.000Z | mod.cpp | Soliders-in-Arms-Arma-3-Group/-SIA-Additional-Factions-V2 | 3631a42eb51e7296d8da40b9b9d088c03ba29dca | [
"MIT"
] | null | null | null | name = "SIA Additional Factions v2 (DEV)";
author = "Solders in Arms";
picture = "picture.paa";
logoSmall = "LogoSmall.paa";
logo = "Logo.paa";
logoOver = "LogoOver.paa";
action = "https://github.com/Soliders-in-Arms-Arma-3-Group/SIA-Additional-Factions-V2.git";
overview = "Adds additional factions."; | 37.75 | 91 | 0.718543 | Soliders-in-Arms-Arma-3-Group |
777c4dd8526447fc554e07d6a8d0984956084ba7 | 2,878 | hpp | C++ | csf_workspace/ec/src/device_io/ec_device_io/hi/conf/hisys_conf.hpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | 2 | 2019-12-17T13:16:48.000Z | 2019-12-17T13:16:51.000Z | csf_workspace/ec/src/device_io/ec_device_io/hi/conf/hisys_conf.hpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | csf_workspace/ec/src/device_io/ec_device_io/hi/conf/hisys_conf.hpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
*
*Copyright: armuxinxian@aliyun.com
*
*Author: f
*
*File name: hisys_conf.hpp
*
*Version: 1.0
*
*Date: 03-12月-2019 13:31:48
*
*Description: Class(hisys_conf) 表示海思系统配置信息
*
*Others:
*
*History:
*
*******************************************... | 16.078212 | 81 | 0.548297 | Kitty-Kitty |
777c52e72ebed23d33736a4dcd95a1cf838aaf70 | 1,655 | cc | C++ | src/utils/cpputils/cxxutils.cc | Apraso/iSulad_test | c9bb9b9e2787275f6147c9353f279e49f6a4a086 | [
"MulanPSL-1.0"
] | 34 | 2020-03-09T11:57:08.000Z | 2022-03-29T12:18:33.000Z | src/utils/cpputils/cxxutils.cc | Apraso/iSulad_test | c9bb9b9e2787275f6147c9353f279e49f6a4a086 | [
"MulanPSL-1.0"
] | null | null | null | src/utils/cpputils/cxxutils.cc | Apraso/iSulad_test | c9bb9b9e2787275f6147c9353f279e49f6a4a086 | [
"MulanPSL-1.0"
] | 8 | 2020-03-21T02:36:22.000Z | 2021-11-13T18:15:43.000Z | /******************************************************************************
* Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
* iSulad licensed under the Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan P... | 38.488372 | 99 | 0.626586 | Apraso |
777e920a31b860baa3c65afb6739afcd33ca9ad9 | 15,689 | cpp | C++ | Source/API/Vulkan/RenderPassVk.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-25T05:05:13.000Z | 2022-02-09T09:35:21.000Z | Source/API/Vulkan/RenderPassVk.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-11T09:52:59.000Z | 2021-12-15T13:27:37.000Z | Source/API/Vulkan/RenderPassVk.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | null | null | null | #include "Buma3DPCH.h"
#include "RenderPassVk.h"
namespace buma3d
{
B3D_APIENTRY RenderPassVk::RenderPassVk()
: ref_count { 1 }
, name {}
, device {}
, desc {}
, vkdevice {}
, inspfn {}
, devpfn {}
, render_pass{}
{
}
B3D_APIENTRY RenderPassVk::~RenderPassV... | 36.401392 | 198 | 0.668494 | KawBuma |
7780a2bb3fadcf96cff5553681afeb03cd2d908c | 4,260 | hpp | C++ | include/doll/Core/Defs.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | 1 | 2021-07-19T14:40:15.000Z | 2021-07-19T14:40:15.000Z | include/doll/Core/Defs.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | null | null | null | include/doll/Core/Defs.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | null | null | null | #pragma once
#include "../AxlibConfig.h"
#include "ax_intdatetime.h"
#include "ax_platform.h"
#include "ax_types.h"
#include "ax_printf.h"
#include "ax_string.h"
#include "ax_logger.h"
#include "ax_assert.h"
#include "ax_thread.h"
#include "ax_memory.h"
#include "ax_time.h"
#include "ax_thread.h... | 18.283262 | 71 | 0.594131 | axia-sw |
7781058b8b8d65e96ddce388b2d90d175d7d9928 | 2,858 | hpp | C++ | include/core/p_render/PRender.hpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | include/core/p_render/PRender.hpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | null | null | null | include/core/p_render/PRender.hpp | jabronicus/P-Engine | 7786c2f97d19bd2913b706f6afe5087a392b1a3c | [
"MIT"
] | 1 | 2021-08-24T05:43:01.000Z | 2021-08-24T05:43:01.000Z | #pragma once
#include "./backend/wsi/WindowSystem.hpp"
#include "../../core/thread_pool/job_queue/JobQueue.hpp"
// gui
#include "./backend/gui/VulkanGUIHandler.hpp"
// render graph
#include "./render_graph/RenderGraph.hpp"
// scene (TODO)
#include "./scene/Scene.hpp"
#include "../../imgui/imgui.h"
#include "../../... | 25.070175 | 140 | 0.719384 | jabronicus |
77865066b102246f82e4fae912b640f51938294d | 5,145 | cpp | C++ | src/PihaTime.cpp | jbitoniau/Piha | 9f346066bf09a93abc5753b5dd996c7f598c9d38 | [
"MIT"
] | null | null | null | src/PihaTime.cpp | jbitoniau/Piha | 9f346066bf09a93abc5753b5dd996c7f598c9d38 | [
"MIT"
] | null | null | null | src/PihaTime.cpp | jbitoniau/Piha | 9f346066bf09a93abc5753b5dd996c7f598c9d38 | [
"MIT"
] | null | null | null | #include "PihaTime.h"
#ifdef _WIN32
#include <Windows.h>
#else
#include <cstddef> // For NULL
//#include <sys/time.h>
#include <time.h>
#endif
#include <assert.h>
namespace Piha
{
#ifdef _WIN32
/*
TimeInternals (Windows platform)
On Windows, there are many time functions available.
- the standard ftime fu... | 25.097561 | 126 | 0.762488 | jbitoniau |
778ac59364ca39996a94bab0a60e012c55311fb2 | 3,865 | cc | C++ | build/x86/mem/ruby/network/garnet/fixed-pipeline/GarnetLink_d.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | build/x86/mem/ruby/network/garnet/fixed-pipeline/GarnetLink_d.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | build/x86/mem/ruby/network/garnet/fixed-pipeline/GarnetLink_d.py.cc | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | null | null | null | #include "sim/init.hh"
namespace {
const uint8_t data_m5_objects_GarnetLink_d[] = {
120,156,205,86,89,111,211,64,16,30,59,247,1,173,80,27,
110,225,7,30,44,164,96,14,21,132,4,8,81,33,132,132,
0,185,8,137,188,88,142,119,147,56,241,17,121,183,77,242,
192,83,249,13,252,93,152,25,219,105,10,5,193,83,201,49... | 52.945205 | 113 | 0.670634 | billionshang |
778af2c718d92503d298664a4dc92c936eed001b | 7,306 | cpp | C++ | tests/AnimationManagerTests.cpp | longhorndude08/dhorn | d5a4c26ad1ee5f461fffe6db625d652cd94472cd | [
"MIT"
] | null | null | null | tests/AnimationManagerTests.cpp | longhorndude08/dhorn | d5a4c26ad1ee5f461fffe6db625d652cd94472cd | [
"MIT"
] | null | null | null | tests/AnimationManagerTests.cpp | longhorndude08/dhorn | d5a4c26ad1ee5f461fffe6db625d652cd94472cd | [
"MIT"
] | 1 | 2019-06-22T02:39:23.000Z | 2019-06-22T02:39:23.000Z | /*
* Duncan Horn
*
* UnitsTests.cpp
*
* Tests for the animation_manager.h types/functions
*/
#include "stdafx.h"
#include <dhorn/experimental/animation_manager.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace dhorn
{
namespace tests
{
TEST_CLASS(AnimationManagerTests)... | 35.294686 | 117 | 0.48905 | longhorndude08 |
7792740acaea29b5e23cd242afb692f3945686af | 498 | hpp | C++ | visualisation/sensors/gyroscope.hpp | kwikius/ArduIMU | e741d2896425fa398c9a7ee19b986d1f6b31418f | [
"CC0-1.0"
] | null | null | null | visualisation/sensors/gyroscope.hpp | kwikius/ArduIMU | e741d2896425fa398c9a7ee19b986d1f6b31418f | [
"CC0-1.0"
] | null | null | null | visualisation/sensors/gyroscope.hpp | kwikius/ArduIMU | e741d2896425fa398c9a7ee19b986d1f6b31418f | [
"CC0-1.0"
] | 1 | 2021-12-22T07:01:16.000Z | 2021-12-22T07:01:16.000Z | #ifndef ARDUIMU_VISUALISATION_GYROSCOPE_HPP_INCLUDED
#define ARDUIMU_VISUALISATION_GYROSCOPE_HPP_INCLUDED
#include <quan/three_d/vect.hpp>
#include <quan/reciprocal_time.hpp>
#include <quan/angle.hpp>
quan::three_d::vect<
quan::reciprocal_time_<
quan::angle::deg
>::per_s
> get_gyroscope();
void set_gyro... | 21.652174 | 54 | 0.726908 | kwikius |