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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7d57ea775a493ae0c3d98bd36ba96118ff0b9eb7 | 1,434 | cpp | C++ | code/engine.vc2008/xrGame/autosave_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrGame/autosave_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrGame/autosave_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : autosave_manager.cpp
// Created : 04.11.2004
// Modified : 04.11.2004
// Author : Dmitriy Iassenev
// Description : Autosave manager
////////////////////////////////////////////////////////////////////////////
#include "stda... | 25.157895 | 105 | 0.656206 | Rikoshet-234 |
7d5a2e1d415c9db70ec9fbe0cbcce50dcf3b9933 | 12,540 | cpp | C++ | test/validators/validators_factory_test.cpp | itzaayush/jwt-cpp | d892ac9e6caa4ca6b7de546ccfe8a9f8764c0763 | [
"MIT"
] | 102 | 2016-09-02T03:57:05.000Z | 2022-03-22T12:23:59.000Z | test/validators/validators_factory_test.cpp | itzaayush/jwt-cpp | d892ac9e6caa4ca6b7de546ccfe8a9f8764c0763 | [
"MIT"
] | 41 | 2017-01-26T14:57:40.000Z | 2020-10-16T11:28:49.000Z | test/validators/validators_factory_test.cpp | itzaayush/jwt-cpp | d892ac9e6caa4ca6b7de546ccfe8a9f8764c0763 | [
"MIT"
] | 55 | 2017-02-11T22:27:14.000Z | 2022-03-31T08:29:22.000Z | #include <fstream>
#include <memory>
#include <string>
#include "./constants.h"
#include "gtest/gtest.h"
#include "jwt/hmacvalidator.h"
#include "jwt/jwt.h"
#include "jwt/messagevalidatorfactory.h"
#include "jwt/nonevalidator.h"
#include "jwt/rsavalidator.h"
// Test for the various validators.
TEST(parse_test, proper_... | 35.625 | 93 | 0.589394 | itzaayush |
7d5d6898d50e1481b8849485887fa8d1a9f5aa9c | 6,065 | cpp | C++ | tengine/tools/toyviewer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | tengine/tools/toyviewer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | tengine/tools/toyviewer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "toyviewer.h"
#include <tinker_platform.h>
#include <files.h>
#include <glgui/rootpanel.h>
#include <glgui/menu.h>
#include <glgui/filedialog.h>
#include <glgui/checkbox.h>
#include <models/models.h>
#include <tinker/application.h>
#include <renderer/game_renderingcontext.h>
#include <renderer/game_renderer.... | 23.060837 | 107 | 0.716076 | BSVino |
7d5f50a48f7e26b4301ed55a2c8703c9ffafe22b | 2,428 | cpp | C++ | SiteData.cpp | RCjig/pw_manager | ed4da0ebccb6ab20813598ecf5731f0411f274e6 | [
"Apache-2.0"
] | null | null | null | SiteData.cpp | RCjig/pw_manager | ed4da0ebccb6ab20813598ecf5731f0411f274e6 | [
"Apache-2.0"
] | null | null | null | SiteData.cpp | RCjig/pw_manager | ed4da0ebccb6ab20813598ecf5731f0411f274e6 | [
"Apache-2.0"
] | null | null | null | #include "SiteData.h"
#include <ios>
#include <iostream>
using namespace std;
static int callback(void * used, int argc, char ** argv, char ** szColName) {
// set pointer structs values
select_wrapper * encSelect = (select_wrapper *) used;
encSelect->password = string(argv[0]);
// get rid of warning
if (0 ... | 25.291667 | 92 | 0.645387 | RCjig |
7d5f54a7c49337653bb4f4e20ceed3b0b7ae30ed | 6,300 | cpp | C++ | src/orbital/graphics/Graphics.cpp | JohannesMP/orbital | 9dca53deb6989fbe4c5171c4e9517c2e548ea3fa | [
"MIT"
] | null | null | null | src/orbital/graphics/Graphics.cpp | JohannesMP/orbital | 9dca53deb6989fbe4c5171c4e9517c2e548ea3fa | [
"MIT"
] | null | null | null | src/orbital/graphics/Graphics.cpp | JohannesMP/orbital | 9dca53deb6989fbe4c5171c4e9517c2e548ea3fa | [
"MIT"
] | 1 | 2018-10-23T23:53:00.000Z | 2018-10-23T23:53:00.000Z | //
// Created by jim on 24.01.18.
//
#include "Graphics.h"
#include <glm/gtx/matrix_transform_2d.hpp>
#include <orbital/math/elementary.h>
#include <orbital/common/convert.h>
Graphics::Graphics(
size_t const rows,
size_t cols
)
{
if (0 == rows)
{
throw std::runtime_error{"graphics cann... | 20.257235 | 115 | 0.61 | JohannesMP |
7d661387415c9fd340937d5049995710e681adb0 | 2,017 | inl | C++ | Common/DyMath/Include/Math/Common/Inline/XGlobalUtilities/GetBiggerType.inl | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 4 | 2019-03-17T19:46:54.000Z | 2019-12-09T20:11:01.000Z | Common/DyMath/Include/Math/Common/Inline/XGlobalUtilities/GetBiggerType.inl | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 11 | 2019-06-09T13:53:27.000Z | 2020-02-09T09:47:28.000Z | Common/DyMath/Include/Math/Common/Inline/XGlobalUtilities/GetBiggerType.inl | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 1 | 2019-06-04T15:20:18.000Z | 2019-06-04T15:20:18.000Z | #pragma once
///
/// MIT License
/// Copyright (c) 2018-2019 Jongmin Yun
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
/// AUT... | 38.056604 | 86 | 0.752603 | liliilli |
de094bae004ab2fc038364a3977bd8bbea023726 | 622 | cpp | C++ | Qt/EARC/app/EARC/App/draganddroplabel.cpp | argama147/zetprogratv | fbe0b7f4390df5ce581e11860d5f6142cdb3fdb7 | [
"MIT"
] | 1 | 2022-03-22T17:46:39.000Z | 2022-03-22T17:46:39.000Z | Qt/EARC/app/EARC/App/draganddroplabel.cpp | argama147/zetprogratv | fbe0b7f4390df5ce581e11860d5f6142cdb3fdb7 | [
"MIT"
] | 15 | 2022-02-20T05:10:23.000Z | 2022-03-26T23:49:32.000Z | Qt/EARC/app/EARC/App/draganddroplabel.cpp | argama147/zetprogratv | fbe0b7f4390df5ce581e11860d5f6142cdb3fdb7 | [
"MIT"
] | null | null | null | #include "draganddroplabel.h"
#include <QDropEvent>
#include <QMimeData>
DragAndDropLabel::DragAndDropLabel(QWidget *parent)
: QLabel(parent)
{
setAcceptDrops(true);
}
void DragAndDropLabel::dragEnterEvent(QDragEnterEvent *event)
{
Q_ASSERT(event);
if (event->mimeData()->hasUrls()) {
event->... | 20.064516 | 61 | 0.673633 | argama147 |
de097b69e3439a94ca773bf913638ce2add4e97a | 115,226 | cpp | C++ | Source/Decoda/Decoda/LuaInject/LuaDll.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | null | null | null | Source/Decoda/Decoda/LuaInject/LuaDll.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | null | null | null | Source/Decoda/Decoda/LuaInject/LuaDll.cpp | KoSukeWork/BabeLua | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | [
"MIT"
] | 1 | 2020-12-07T13:47:47.000Z | 2020-12-07T13:47:47.000Z | /*
Decoda
Copyright (C) 2007-2013 Unknown Worlds Entertainment, Inc.
This file is part of Decoda.
Decoda is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any... | 31.534209 | 185 | 0.63523 | KoSukeWork |
de0b01b7a122dc6a5665f7aa8c2ea7043f687258 | 1,065 | cpp | C++ | backends/mysql/factory.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | backends/mysql/factory.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | backends/mysql/factory.cpp | staticlibs/lookaside_soci | b3326cff7d4cf2dc122179eb8b988f2521944550 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton
// MySQL backend copyright (C) 2006 Pawel Aleksander Fedorynski
// 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 SOCI_MYSQL_SOURCE
... | 23.152174 | 68 | 0.728638 | staticlibs |
de12667519ef6601b38b263514b401342e376889 | 384 | cpp | C++ | CP-Algorithms/Algebra/3_Number-theoretic functions/N_2_spoj_DIVSUM - Divisor Summation.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | 5 | 2021-02-14T17:48:21.000Z | 2022-01-24T14:29:44.000Z | CP-Algorithms/Algebra/3_Number-theoretic functions/N_2_spoj_DIVSUM - Divisor Summation.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | CP-Algorithms/Algebra/3_Number-theoretic functions/N_2_spoj_DIVSUM - Divisor Summation.cpp | Sowmik23/All-Codes | 212ef0d940fa84624bb2972a257768a830a709a3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mx = 5e6+1;
ll ans[mx];
void D(int n){
ll sum = 0;
for(int i=1;i*i<=n;i++){
if(n%i==0){
sum+=i;
if(n/i!=i) sum+=(n/i);
}
}
ans[n] =sum;
}
int main(){
int t, n;
scanf("%d", &t);
while(t--){
scanf("%d", &n);
if(a... | 10.666667 | 29 | 0.484375 | Sowmik23 |
de1512531606f78f11f625dbbea6669b2579e2e4 | 1,843 | cpp | C++ | CK2ToEU4/Source/Mappers/MonumentsMapper/BuildTriggerBuilder.cpp | Zemurin/CK2ToEU4 | f28971fb877497cc4117689d1600a8721466c365 | [
"MIT"
] | 3 | 2020-05-06T21:50:00.000Z | 2022-03-15T19:16:19.000Z | CK2ToEU4/Source/Mappers/MonumentsMapper/BuildTriggerBuilder.cpp | Zemurin/CK2ToEU4 | f28971fb877497cc4117689d1600a8721466c365 | [
"MIT"
] | 3 | 2022-02-01T19:35:02.000Z | 2022-03-02T17:34:16.000Z | CK2ToEU4/Source/Mappers/MonumentsMapper/BuildTriggerBuilder.cpp | Zemurin/CK2ToEU4 | f28971fb877497cc4117689d1600a8721466c365 | [
"MIT"
] | 1 | 2020-05-06T21:50:04.000Z | 2020-05-06T21:50:04.000Z | #include "BuildTriggerBuilder.h"
#include "CommonRegexes.h"
#include "ParserHelpers.h"
#include <iomanip>
mappers::BuildTriggerBuilder::BuildTriggerBuilder()
{
registerKeys();
clearRegisteredKeywords();
}
mappers::BuildTriggerBuilder::BuildTriggerBuilder(std::istream& theStream)
{
registerKeys();
parseStream(theS... | 37.612245 | 120 | 0.708627 | Zemurin |
de1762591476a9ae30810597e9db0c6e6f0d2d72 | 3,001 | hpp | C++ | include/paal/greedy/knapsack_unbounded_two_app.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | include/paal/greedy/knapsack_unbounded_two_app.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | include/paal/greedy/knapsack_unbounded_two_app.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | 1 | 2021-02-24T06:23:56.000Z | 2021-02-24T06:23:56.000Z | //=======================================================================
// Copyright (c) 2013 Piotr Wygocki
//
// 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)
//=================================================... | 37.049383 | 99 | 0.682439 | Kommeren |
de186757d5f211e9eefcc8284dab4f7f0f29630d | 1,920 | hpp | C++ | include/clotho/cuda/sampling/random_sample_sequence.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-06-16T21:27:57.000Z | 2022-01-25T23:26:54.000Z | include/clotho/cuda/sampling/random_sample_sequence.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-06-16T21:12:42.000Z | 2015-06-23T12:41:00.000Z | include/clotho/cuda/sampling/random_sample_sequence.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright 2015 Patrick Putnam
//
// 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 o... | 32.542373 | 80 | 0.657292 | putnampp |
de1b873ac8cff20111a6c634b943f4765b8106c7 | 1,964 | hpp | C++ | modules/trustchain/include/Tanker/Trustchain/Actions/UserGroupAddition.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 19 | 2018-12-05T12:18:02.000Z | 2021-07-13T07:33:22.000Z | modules/trustchain/include/Tanker/Trustchain/Actions/UserGroupAddition.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 3 | 2020-03-16T15:52:06.000Z | 2020-08-01T11:14:30.000Z | modules/trustchain/include/Tanker/Trustchain/Actions/UserGroupAddition.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 3 | 2020-01-07T09:55:32.000Z | 2020-08-01T01:29:28.000Z | #pragma once
#include <Tanker/Crypto/Hash.hpp>
#include <Tanker/Crypto/PrivateSignatureKey.hpp>
#include <Tanker/Crypto/Signature.hpp>
#include <Tanker/Serialization/SerializedSource.hpp>
#include <Tanker/Trustchain/Actions/Nature.hpp>
#include <Tanker/Trustchain/Actions/UserGroupAddition/v1.hpp>
#include <Tanker/Trus... | 31.677419 | 75 | 0.775458 | TankerHQ |
de1bc3d98cf3febde5e05f2ab8b3ce6f4fabfdc4 | 2,739 | cpp | C++ | src/ssd/NVM_Transaction_Flash.cpp | rakeshnadig/MQSIM_Fine_Grained_Mapping_Reference | 61546ccbae3ecd4312757cb54ac9af5a0d01e9ae | [
"MIT"
] | null | null | null | src/ssd/NVM_Transaction_Flash.cpp | rakeshnadig/MQSIM_Fine_Grained_Mapping_Reference | 61546ccbae3ecd4312757cb54ac9af5a0d01e9ae | [
"MIT"
] | null | null | null | src/ssd/NVM_Transaction_Flash.cpp | rakeshnadig/MQSIM_Fine_Grained_Mapping_Reference | 61546ccbae3ecd4312757cb54ac9af5a0d01e9ae | [
"MIT"
] | null | null | null | #include "NVM_Transaction_Flash.h"
#include "assert.h"
namespace SSD_Components
{
NVM_Transaction_Flash::NVM_Transaction_Flash(
Transaction_Source_Type source,
Transaction_Type type,
stream_id_type stream_id,
unsigned int data_size_in_byte,
LPA_type lpa,
PPA_type ppa,
User_Request* user_requ... | 22.08871 | 70 | 0.700256 | rakeshnadig |
de1cad88979b70e2929438d25bd08990d0b61807 | 571 | cpp | C++ | Hackerrank/Ice Cream Parlor.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 14 | 2016-02-11T09:26:13.000Z | 2022-03-27T01:14:29.000Z | Hackerrank/Ice Cream Parlor.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | null | null | null | Hackerrank/Ice Cream Parlor.cpp | SurgicalSteel/Competitive-Programming | 3662b676de94796f717b25dc8d1b93c6851fb274 | [
"MIT"
] | 7 | 2016-10-25T19:29:35.000Z | 2021-12-05T18:31:39.000Z | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int tc,m,n,temp;
scanf("%d",&tc);
for(int i=0;i<tc;i++)
{
vector<int> v;
cin>>m>>n;
for(int x=0;x<n;x++)
{
cin>>temp;
v.... | 19.033333 | 42 | 0.401051 | SurgicalSteel |
de1d06e0de9697325f3340fbd3fbeb80b7bd7893 | 499 | cpp | C++ | app/src/main/cpp/src/meshes/sphere.cpp | danielesteban/GLTest | 62f9e45adc1073d3d8ad5072266dc8a353f6e421 | [
"MIT"
] | 3 | 2018-01-01T14:27:29.000Z | 2019-01-20T03:14:41.000Z | app/src/main/cpp/src/meshes/sphere.cpp | danielesteban/GLTest | 62f9e45adc1073d3d8ad5072266dc8a353f6e421 | [
"MIT"
] | null | null | null | app/src/main/cpp/src/meshes/sphere.cpp | danielesteban/GLTest | 62f9e45adc1073d3d8ad5072266dc8a353f6e421 | [
"MIT"
] | null | null | null | #include "sphere.hpp"
void Sphere::init(btDiscreteDynamicsWorld *world, Model *model, const btVector3 position) {
Mesh::init(world, model, position, btQuaternion(0.0f, 0.0f, 0.0f, 1.0f), btScalar(5.0f));
albedo = glm::vec4(
(float) rand() / (float) RAND_MAX,
(float) rand() / (float) RAND_MAX,
(float) r... | 29.352941 | 91 | 0.661323 | danielesteban |
de20076bcede28ced3262762f5efb7d754b21b9f | 2,441 | cpp | C++ | ICPC/UESTC_kanna_prpr training - 2017-11-21 /h.cpp | emengdeath/acmcode | cc1b0e067464e754d125856004a991d6eb92a2cd | [
"MIT"
] | null | null | null | ICPC/UESTC_kanna_prpr training - 2017-11-21 /h.cpp | emengdeath/acmcode | cc1b0e067464e754d125856004a991d6eb92a2cd | [
"MIT"
] | null | null | null | ICPC/UESTC_kanna_prpr training - 2017-11-21 /h.cpp | emengdeath/acmcode | cc1b0e067464e754d125856004a991d6eb92a2cd | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<cstdio>
#define N 1000000
using namespace std;
int f[N][2],size[N];
int n,tot;
int g[N],d[N],a[N][4],fa[N],b[N];
struct node{
int x,l,r;
}c[N];
int sum;
void ins(int x,int y){
a[++sum][0]=y,a[sum][1]=g[x],g[x]=sum;
}
void dfs(int x){
size[x]=1;
for (int i=g[x];i;i=a[... | 19.373016 | 74 | 0.436706 | emengdeath |
de24e400710212eb9a22f123a370205a326213a9 | 1,424 | cpp | C++ | src/States/Menu/MainMenu.cpp | BertilBraun/MyClone | 9573084e9a561b91995683ba016088174414a545 | [
"MIT"
] | 4 | 2019-01-10T18:39:53.000Z | 2022-01-15T21:38:28.000Z | src/States/Menu/MainMenu.cpp | BOTOrtwin/MyClone | 9573084e9a561b91995683ba016088174414a545 | [
"MIT"
] | 14 | 2018-09-30T21:48:35.000Z | 2018-10-05T08:46:40.000Z | src/States/Menu/MainMenu.cpp | BOTOrtwin/MyClone | 9573084e9a561b91995683ba016088174414a545 | [
"MIT"
] | 1 | 2019-12-23T19:35:54.000Z | 2019-12-23T19:35:54.000Z | #include "MainMenu.h"
#include "Utils/ToggleKey.h"
#include "Application.h"
#include "MenuWorldSelect.h"
MainMenu::MainMenu(Application& applic) :
StateBase(applic),
background(glm::vec2(0.5f, 0.5f), glm::vec2(1, 1), "GUI/background.jpg", (*app->getWindow()))
{
buttons.emplace_back(glm::vec2(0.5f, 0.4f), glm::vec2... | 27.921569 | 172 | 0.67486 | BertilBraun |
de27a6c8f9bbc73849ed220220a0e518f1332b0c | 10,225 | cpp | C++ | OpenGL3DRendering/src/Renderer/Renderer.cpp | Sarius587/OpenGL3DRendering | fb87593a2c36c473ae5665fba6f16cfb55461b21 | [
"Apache-2.0"
] | 1 | 2020-06-01T06:35:39.000Z | 2020-06-01T06:35:39.000Z | OpenGL3DRendering/src/Renderer/Renderer.cpp | Sarius587/OpenGL3DRendering | fb87593a2c36c473ae5665fba6f16cfb55461b21 | [
"Apache-2.0"
] | null | null | null | OpenGL3DRendering/src/Renderer/Renderer.cpp | Sarius587/OpenGL3DRendering | fb87593a2c36c473ae5665fba6f16cfb55461b21 | [
"Apache-2.0"
] | null | null | null | #include "oglpch.h"
#include "Renderer.h"
#include "RendererAPI.h"
#include "Framebuffer.h"
namespace OpenGLRendering {
struct MeshInfo
{
Ref<VertexArray> VertexArray;
Ref<Material> Material;
glm::mat4 ModelMatrix;
};
struct RendererData
{
Ref<Camera> Camera;
Ref<Cubemap> Cubemap;
Ref<Shader> PBR... | 36.3879 | 200 | 0.757653 | Sarius587 |
de2e81e9973c5234f6acbefde666cdf584e596e1 | 6,211 | cc | C++ | src/STP.cc | VadimNvr/SDN_RunOS | 74df09f78f8672f144a283823b24de3106f8e419 | [
"Apache-2.0"
] | null | null | null | src/STP.cc | VadimNvr/SDN_RunOS | 74df09f78f8672f144a283823b24de3106f8e419 | [
"Apache-2.0"
] | null | null | null | src/STP.cc | VadimNvr/SDN_RunOS | 74df09f78f8672f144a283823b24de3106f8e419 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015 Applied Research Center for Computer Networks
*
* 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 b... | 28.62212 | 88 | 0.596844 | VadimNvr |
de31df2261416a611d50658fdd5be19ba732839f | 30,008 | hpp | C++ | src/libraries/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModel.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModel.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModel.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2014 Applied CCM
Copyright (C) 2011-2017 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redist... | 27.304823 | 80 | 0.532391 | MrAwesomeRocks |
de3396e97f0d814930a807af6bb63b9a8a60cd56 | 427 | cpp | C++ | notes/examples/chapter09/indirectionOperator.cpp | jay3ss/co-sci-140 | 2751bd12bcd8a24bf15fba656e086f1b0615b4a9 | [
"BSD-3-Clause"
] | null | null | null | notes/examples/chapter09/indirectionOperator.cpp | jay3ss/co-sci-140 | 2751bd12bcd8a24bf15fba656e086f1b0615b4a9 | [
"BSD-3-Clause"
] | 1 | 2019-03-02T06:10:13.000Z | 2019-03-06T19:17:14.000Z | notes/examples/chapter09/indirectionOperator.cpp | jay3ss/co-sci-140 | 2751bd12bcd8a24bf15fba656e086f1b0615b4a9 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
int main()
{
int x = 25;
int *ptr = nullptr;
ptr = &x;
std::cout << "Here is the value in x, printed twice:\n"
<< x << std::endl
<< *ptr << std::endl;
*ptr = 100;
std::cout << "Once again, here is the value in x:... | 20.333333 | 60 | 0.386417 | jay3ss |
de34ff8b488ff7be459e0a16654816f1a8d561ff | 4,147 | cc | C++ | vos/gui/sub/gui/si_save/SiSaveAsCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/si_save/SiSaveAsCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/si_save/SiSaveAsCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | ////////////////////////////////////////////////////////////
// SiSaveAsCmd.h: Saves the image according to the SiSaveCmdValue
// CmdValue passed in.
//
//!!!! NOTE: THIS IS A HACK CURRENTLY! The command derives from
//!!!! SiRunStretchScriptCmd, adding the SiSaveCmdValue parameters to
//!!!! the file, then running ... | 31.9 | 78 | 0.565228 | NASA-AMMOS |
de373ff000311a4e3f0865cd47eb9259491d7c0b | 557 | hpp | C++ | src/view/cogbutton.hpp | severin-lemaignan/boxology | 08b592b315c0e7960ed5d7f8385f2702c0443013 | [
"MIT"
] | 9 | 2015-11-03T11:46:01.000Z | 2021-11-18T08:38:30.000Z | src/view/cogbutton.hpp | severin-lemaignan/boxology | 08b592b315c0e7960ed5d7f8385f2702c0443013 | [
"MIT"
] | 2 | 2016-04-11T16:24:23.000Z | 2017-04-06T14:19:31.000Z | src/view/cogbutton.hpp | severin-lemaignan/boxology | 08b592b315c0e7960ed5d7f8385f2702c0443013 | [
"MIT"
] | 4 | 2015-10-23T08:24:27.000Z | 2018-06-27T19:09:44.000Z | #ifndef LABEL_BUTTON_HPP
#define LABEL_BUTTON_HPP
#include <string>
#include <QPushButton>
#include <QMouseEvent>
#include <QColor>
#include "../label.hpp"
class CogButton : public QPushButton {
Q_OBJECT
public:
CogButton() = delete;
CogButton(Label label, QWidget *parent = 0);
// QColor color(... | 16.382353 | 48 | 0.685817 | severin-lemaignan |
de3d806a2ca4d876c343358a63de74ae59c8d1e9 | 1,096 | hpp | C++ | Octree/OctreeLeaf.hpp | kashinoleg/Octree | 3eef96c1dc2b0369eb72e56b20e8fc7feca9d1e5 | [
"ICU"
] | null | null | null | Octree/OctreeLeaf.hpp | kashinoleg/Octree | 3eef96c1dc2b0369eb72e56b20e8fc7feca9d1e5 | [
"ICU"
] | null | null | null | Octree/OctreeLeaf.hpp | kashinoleg/Octree | 3eef96c1dc2b0369eb72e56b20e8fc7feca9d1e5 | [
"ICU"
] | null | null | null | #pragma once
#include "OctreeArray.hpp"
#include "OctreeCell.hpp"
#include "OctreeBranch.hpp"
/**
* outer node implementation of an octree cell.stores pointers to items.
*/
namespace hxa {
class OctreeLeaf : public OctreeCell {
private:
OctreeArray<const void*> items_m;
public:
OctreeLeaf();
OctreeLeaf(const ... | 34.25 | 130 | 0.75365 | kashinoleg |
de432f1072702f047a9ff38adc61b3285afe52ba | 412 | hpp | C++ | src/Generator.hpp | ageorgiev97/yat | 293adda152025d7c7bfbb2e982aa9d2ff5a461d9 | [
"Apache-2.0"
] | 1 | 2019-12-11T21:50:13.000Z | 2019-12-11T21:50:13.000Z | src/Generator.hpp | ageorgiev97/yat | 293adda152025d7c7bfbb2e982aa9d2ff5a461d9 | [
"Apache-2.0"
] | 4 | 2019-11-30T21:55:18.000Z | 2019-11-30T23:00:08.000Z | src/Generator.hpp | ageorgiev97/yat | 293adda152025d7c7bfbb2e982aa9d2ff5a461d9 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <memory>
#include <unordered_map>
#include "Llvm.hpp"
#include "Expressions.hpp"
#include "Statements.hpp"
#include "Scope.hpp"
#include "Function.hpp"
namespace yat
{
extern llvm::LLVMContext GlobalContext;
extern std::unique_ptr<llvm::Module> GlobalModule;
extern std::unordered_... | 19.619048 | 63 | 0.742718 | ageorgiev97 |
de43e22d76b73a49cbfe76e8f08efcf00e7cedbe | 3,766 | cpp | C++ | python/src/distance/edge_edge.cpp | ipc-sim/ipc-toolk | 81873d0288810e30166d871419da4104329860e3 | [
"MIT"
] | 61 | 2020-08-04T21:08:25.000Z | 2022-02-25T02:24:31.000Z | python/src/distance/edge_edge.cpp | dbelgrod/ipc-toolkit | 0b7ca9b5f867db63bd68dd02ce54a9d00b0fc337 | [
"MIT"
] | 2 | 2020-10-12T05:54:40.000Z | 2021-10-10T18:39:30.000Z | python/src/distance/edge_edge.cpp | dbelgrod/ipc-toolkit | 0b7ca9b5f867db63bd68dd02ce54a9d00b0fc337 | [
"MIT"
] | 7 | 2020-11-26T12:47:38.000Z | 2022-03-25T04:55:49.000Z | #include <pybind11/pybind11.h>
#include <pybind11/eigen.h>
#include <ipc/distance/distance_type.hpp>
#include <ipc/distance/edge_edge.hpp>
#include "../utils.hpp"
namespace py = pybind11;
using namespace ipc;
void define_edge_edge_distance_functions(py::module_& m)
{
m.def(
"edge_edge_distance",
... | 34.87037 | 78 | 0.568508 | ipc-sim |
de453dff328feddf3b3e01648695ad3c1c04d789 | 8,250 | cc | C++ | tests/unit/bcache_test.cc | pombredanne/forestdb | 37c787a7a6947a876d8609a3f70840b5da19b728 | [
"Apache-2.0"
] | 992 | 2015-02-28T11:55:28.000Z | 2022-03-28T03:17:50.000Z | tests/unit/bcache_test.cc | pombredanne/forestdb | 37c787a7a6947a876d8609a3f70840b5da19b728 | [
"Apache-2.0"
] | 16 | 2015-04-07T19:35:52.000Z | 2022-02-21T22:40:58.000Z | tests/unit/bcache_test.cc | pombredanne/forestdb | 37c787a7a6947a876d8609a3f70840b5da19b728 | [
"Apache-2.0"
] | 173 | 2015-03-04T13:17:41.000Z | 2022-03-28T13:17:55.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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
*
* h... | 30.783582 | 91 | 0.567879 | pombredanne |
de482e891dd8980943bd4795b5fc8ae7b524f6ad | 3,105 | cpp | C++ | integ/sync-interop/syncps-ind.cpp | yoursunny/ndn-ts | 1b8163ac43b2c2754a62e0724350ddb67714f095 | [
"0BSD"
] | null | null | null | integ/sync-interop/syncps-ind.cpp | yoursunny/ndn-ts | 1b8163ac43b2c2754a62e0724350ddb67714f095 | [
"0BSD"
] | null | null | null | integ/sync-interop/syncps-ind.cpp | yoursunny/ndn-ts | 1b8163ac43b2c2754a62e0724350ddb67714f095 | [
"0BSD"
] | null | null | null | #include "syncps.hpp"
#include <iostream>
/** @brief Timestamp naming convention (rev3). */
namespace Timestamp {
using TlvType = std::integral_constant<int, 0x38>;
inline uint64_t
now()
{
::timespec tp;
::clock_gettime(CLOCK_REALTIME, &tp);
return static_cast<uint64_t>(tp.tv_sec) * 1000000 + static_cast<uint6... | 30.441176 | 95 | 0.649919 | yoursunny |
de49013ba0bb5819c9de5d827f8a9f5731b10d95 | 1,843 | cpp | C++ | SGPLibraryCode/modules/sgp_particle/core/sgp_SPARK_Emitter.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 11 | 2017-03-03T03:31:15.000Z | 2019-03-01T17:09:12.000Z | SGPLibraryCode/modules/sgp_particle/core/sgp_SPARK_Emitter.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | null | null | null | SGPLibraryCode/modules/sgp_particle/core/sgp_SPARK_Emitter.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 2 | 2017-03-03T03:31:17.000Z | 2021-05-27T21:50:43.000Z |
Emitter::Emitter() : Registerable(), Transformable(),
zone( &getDefaultZone() ),
full(true),
tank(-1),
flow(0.0f),
forceMin(0.0f),
forceMax(0.0f),
fraction( random(0.0f,1.0f) ),
active(true)
{}
Zone& Emitter::getDefaultZone()
{
static PointZone defaultZone;
return defaultZone;
}
void Emitter::registerChil... | 17.721154 | 71 | 0.689094 | phoenixzz |
de4b3c28b3615706104c07e23521a23d4b51738b | 15,008 | cc | C++ | mysql-server/router/tests/helpers/router_test_helpers.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/tests/helpers/router_test_helpers.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/router/tests/helpers/router_test_helpers.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain ... | 30.566191 | 80 | 0.63666 | silenc3502 |
de4bb4c00d0cac29cdc3be2ad9870fa1e1ae63dc | 1,414 | hpp | C++ | src/meshInfo/geometry.hpp | guhanfeng/HSF | d2f091e990bb5a18473db0443872e37de6b6a83f | [
"Apache-2.0"
] | null | null | null | src/meshInfo/geometry.hpp | guhanfeng/HSF | d2f091e990bb5a18473db0443872e37de6b6a83f | [
"Apache-2.0"
] | null | null | null | src/meshInfo/geometry.hpp | guhanfeng/HSF | d2f091e990bb5a18473db0443872e37de6b6a83f | [
"Apache-2.0"
] | null | null | null | /**
* @file: compute.hpp
* @author: Liu Hongbin
* @brief:
* @date: 2019-11-28 10:39:09
* @last Modified by: lenovo
* @last Modified time: 2019-11-28 16:13:43
*/
#ifndef GEOMETRY_HPP
#define GEOMETRY_HPP
#include <cmath>
#include "utilities.hpp"
namespace HSF
{
// face area
scalar calculateQUADArea(const Array<s... | 27.72549 | 73 | 0.729137 | guhanfeng |
de4c177e70eb47fb3e186b53997edc25947c1045 | 3,455 | cpp | C++ | Laburi/Lab12/p2/lab11p2.cpp | teodutu/PA | 9abaf9f0ebbce8beac274edd672473a17575fe03 | [
"MIT"
] | 7 | 2019-02-12T15:14:12.000Z | 2020-05-05T13:48:52.000Z | Laburi/Lab12/p2/lab11p2.cpp | teodutu/PA | 9abaf9f0ebbce8beac274edd672473a17575fe03 | [
"MIT"
] | null | null | null | Laburi/Lab12/p2/lab11p2.cpp | teodutu/PA | 9abaf9f0ebbce8beac274edd672473a17575fe03 | [
"MIT"
] | 7 | 2020-03-22T09:46:19.000Z | 2021-03-11T20:53:19.000Z | #include <iostream>
#include <fstream>
#include <algorithm>
#include <cassert>
#include <set>
#include <queue>
#include <vector>
#include "State2.h"
class StateComparator {
public:
/* Determina algoritmul folosit. */
enum Algorithm {
AStar,
};
StateComparator(Algorithm algorithm)
: algorithm_(algo... | 25.592593 | 77 | 0.611288 | teodutu |
de4dc80505f378ad0c688b4bd30bc1c4e8f56282 | 21,265 | cpp | C++ | hackathon/zhi/mapping3D_swc/mapping3D_swc_plugin.cpp | RivuletStudio/vaa3d_tools | 58c267d4731df9a71e596200c45e9634aea8491c | [
"MIT"
] | null | null | null | hackathon/zhi/mapping3D_swc/mapping3D_swc_plugin.cpp | RivuletStudio/vaa3d_tools | 58c267d4731df9a71e596200c45e9634aea8491c | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | hackathon/zhi/mapping3D_swc/mapping3D_swc_plugin.cpp | RivuletStudio/vaa3d_tools | 58c267d4731df9a71e596200c45e9634aea8491c | [
"MIT"
] | null | null | null | /* mapping3D_swc_plugin.cpp
* This is a test plugin, you can use it as a demo.
* 2015-6-25 : by Zhi Zhou
*/
#include "v3d_message.h"
#include <vector>
#include "mapping3D_swc_plugin.h"
#include "openSWCDialog.h"
#include "../neurontracing_mip/my_surf_objs.h"
#include "../neurontracing_mip/smooth_curve.h"
#include ... | 33.541009 | 162 | 0.452104 | RivuletStudio |
de4df49971dab4e1d1dcbad2f659886611e8b928 | 4,998 | cpp | C++ | libs/numeric/interval/examples/io.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | libs/numeric/interval/examples/io.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | libs/numeric/interval/examples/io.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /* Boost examples/io.cpp
* show some exampleso of i/o operators
* thanks to all the people who commented on this point, particularly on
* the Boost mailing-list
*
* Copyright 2003 Guillaume Melquiond
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or
* co... | 28.890173 | 83 | 0.627251 | cpp-pm |
de4f2c08e0ce27edb82f5bf71f7a60466fea9d61 | 3,530 | cpp | C++ | android-31/java/security/cert/CertificateFactory.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/security/cert/CertificateFactory.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/security/cert/CertificateFactory.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../io/InputStream.hpp"
#include "../../../JString.hpp"
#include "../Provider.hpp"
#include "./CRL.hpp"
#include "./CertPath.hpp"
#include "./Certificate.hpp"
#include "./CertificateFactorySpi.hpp"
#include "./CertificateFactory.hpp"
namespace java::security::cert
{
// Fields
// QJniObject forward
Cer... | 27.364341 | 118 | 0.724363 | YJBeetle |
de53b158c280826d87aad3d27c95fcec1b745b1a | 4,999 | cc | C++ | modules/canbus/vehicle/wey/protocol/fail_241.cc | Shokoofeh/apollo | 71d6ea753b4595eb38cc54d6650c8de677b173df | [
"Apache-2.0"
] | 2 | 2019-02-21T05:52:59.000Z | 2019-07-27T03:24:16.000Z | modules/canbus/vehicle/wey/protocol/fail_241.cc | Shokoofeh/apollo | 71d6ea753b4595eb38cc54d6650c8de677b173df | [
"Apache-2.0"
] | null | null | null | modules/canbus/vehicle/wey/protocol/fail_241.cc | Shokoofeh/apollo | 71d6ea753b4595eb38cc54d6650c8de677b173df | [
"Apache-2.0"
] | 1 | 2021-12-03T23:30:00.000Z | 2021-12-03T23:30:00.000Z | /******************************************************************************
* Copyright 2019 The Apollo 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
... | 41.658333 | 80 | 0.625925 | Shokoofeh |
de576798f01f3efa2af2b716f5add56391ca2b8f | 951 | cpp | C++ | accelerator/stats/test/MonitorTest.cpp | Yeolar/accelerator | 04d36eac69490df9ae71c7cfd71481d83ca51914 | [
"Apache-2.0"
] | 2 | 2019-05-13T02:34:51.000Z | 2019-11-14T06:52:44.000Z | accelerator/stats/test/MonitorTest.cpp | Yeolar/accelerator | 04d36eac69490df9ae71c7cfd71481d83ca51914 | [
"Apache-2.0"
] | null | null | null | accelerator/stats/test/MonitorTest.cpp | Yeolar/accelerator | 04d36eac69490df9ae71c7cfd71481d83ca51914 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Yeolar
*
* 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 in wr... | 28.818182 | 75 | 0.737119 | Yeolar |
de584d8d2205e07aa38d7dcf7a51f33f803960b8 | 4,690 | cpp | C++ | drivers/I2C_SPI/AusExGroveI2cTouchSensor/src/AusExGroveI2cTouchSensor.cpp | houtbrion/AusEx | fd74cbab4281da6ba4f285412f2d1f53f40206c9 | [
"Apache-1.1"
] | null | null | null | drivers/I2C_SPI/AusExGroveI2cTouchSensor/src/AusExGroveI2cTouchSensor.cpp | houtbrion/AusEx | fd74cbab4281da6ba4f285412f2d1f53f40206c9 | [
"Apache-1.1"
] | null | null | null | drivers/I2C_SPI/AusExGroveI2cTouchSensor/src/AusExGroveI2cTouchSensor.cpp | houtbrion/AusEx | fd74cbab4281da6ba4f285412f2d1f53f40206c9 | [
"Apache-1.1"
] | null | null | null | #include "AusExGroveI2cTouchSensor.h"
/*
*
*/
AUSEX_GROVE_I2C_TOUCH_SENSOR_CLASS::AUSEX_GROVE_I2C_TOUCH_SENSOR_CLASS(TwoWire *theWire, int32_t sensorID ){
_i2c_if=theWire;
_sensorID=sensorID;
}
bool AUSEX_GROVE_I2C_TOUCH_SENSOR_CLASS::begin(uint32_t addr){
_i2c_addr=addr;
_i2c_if->begin();
mpr121Setup();... | 30.258065 | 142 | 0.724733 | houtbrion |
de5b72aaeb5f997dd3537633617d4e1a3bcdc334 | 533 | hpp | C++ | src/include/XESystem.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XESystem.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XESystem.hpp | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | #ifndef XE_INTERFACE_SYSTEM_HPP
#define XE_INTERFACE_SYSTEM_HPP
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
//#include <XESystem/gkDebugger.h>
#include <XESystem/SystemConfig.hpp>
//#include <ThirdParty/plog/Log.h>
//
//INITIALIZE... | 28.052632 | 60 | 0.420263 | devxkh |
de5c5a7736c29df104cb288dff1dc23cc7a93454 | 1,294 | cpp | C++ | webrtc-jni/src/main/cpp/src/api/DataBufferFactory.cpp | hhgyu/webrtc-java | 572c3814c94a407cfacdee1e2bc898522063731f | [
"Apache-2.0"
] | 110 | 2019-12-25T11:54:02.000Z | 2022-03-16T06:27:05.000Z | webrtc-jni/src/main/cpp/src/api/DataBufferFactory.cpp | hhgyu/webrtc-java | 572c3814c94a407cfacdee1e2bc898522063731f | [
"Apache-2.0"
] | 54 | 2020-04-09T06:57:10.000Z | 2022-03-28T16:29:39.000Z | webrtc-jni/src/main/cpp/src/api/DataBufferFactory.cpp | internet-of-presence/webrtc-java | 26ab2091f962533288e2267a16980008d7008528 | [
"Apache-2.0"
] | 37 | 2019-12-26T10:12:11.000Z | 2022-03-10T18:06:23.000Z | /*
* Copyright 2019 Alex Andres
*
* 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 ... | 34.052632 | 126 | 0.742658 | hhgyu |
de5ce2395e0a1a352fadf0042b3eec426822b9f2 | 1,106 | hh | C++ | nel/src/memory.hh | jwebb68/nel | a5bfe9038921448da52cdeeba45984a54d79423c | [
"MIT"
] | null | null | null | nel/src/memory.hh | jwebb68/nel | a5bfe9038921448da52cdeeba45984a54d79423c | [
"MIT"
] | null | null | null | nel/src/memory.hh | jwebb68/nel | a5bfe9038921448da52cdeeba45984a54d79423c | [
"MIT"
] | null | null | null | #ifndef NEL_MEMORY_HH
#define NEL_MEMORY_HH
#include <cstdint> // uint8_t
#include <cstddef> // size_t
#include <utility> // std::move, std::swap
namespace nel {
void memcpy(uint8_t *const d, uint8_t const *const s, size_t const n) noexcept;
void memset(uint8_t *const d, uint8_t const s, size_t const n) noexcept;
v... | 20.109091 | 79 | 0.618445 | jwebb68 |
de60633e2d2eb8f8099ed123e45c1e17d7d1892b | 227 | hpp | C++ | CCP4M_Old/include/ProjectManagement/ProjectFileGenerator.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 6 | 2019-08-29T23:31:17.000Z | 2021-11-14T20:35:47.000Z | CCP4M_Old/include/ProjectManagement/ProjectFileGenerator.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | null | null | null | CCP4M_Old/include/ProjectManagement/ProjectFileGenerator.hpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 1 | 2019-09-01T12:22:58.000Z | 2019-09-01T12:22:58.000Z | #ifndef PROJECTFILEGENERATOR_HPP
#define PROJECTFILEGENERATOR_HPP
#include "ProjectData.hpp"
#include "FSFuncs.hpp"
#include "ConfigMgr.hpp"
int GenerateProjectFiles( ProjectData & data );
#endif // PROJECTFILEGENERATOR_HPP
| 20.636364 | 47 | 0.810573 | Electrux |
de6207b4dcb7fcfddaae34e792c0b597dfc72b3a | 3,378 | hpp | C++ | include/RaZ/Math/MathUtils.hpp | Sausty/RaZ | 211cc1c0c4a7374520a3141fc069b7717e2e5e0f | [
"MIT"
] | null | null | null | include/RaZ/Math/MathUtils.hpp | Sausty/RaZ | 211cc1c0c4a7374520a3141fc069b7717e2e5e0f | [
"MIT"
] | null | null | null | include/RaZ/Math/MathUtils.hpp | Sausty/RaZ | 211cc1c0c4a7374520a3141fc069b7717e2e5e0f | [
"MIT"
] | null | null | null | #pragma once
#ifndef RAZ_MATHUTILS_HPP
#define RAZ_MATHUTILS_HPP
#include <algorithm>
#include <cassert>
#include <type_traits>
namespace Raz::MathUtils {
/// Computes the linear interpolation between two values, according to a coefficient.
/// \tparam T Type to compute the interpolation with.
/// \param min Minimu... | 43.87013 | 149 | 0.65897 | Sausty |
de62423217435b714daacef3ad51497d1a4d690a | 3,286 | hpp | C++ | Axis.CommonLibrary/domain/elements/DoF.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.CommonLibrary/domain/elements/DoF.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.CommonLibrary/domain/elements/DoF.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | /// <summary>
/// Contains the definition for the class axis::domain::elements::DoF.
/// </summary>
/// <author>Renato T. Yamassaki</author>
#pragma once
#include "foundation/Axis.CommonLibrary.hpp"
#include "foundation/memory/pointer.hpp"
#include "nocopy.hpp"
namespace axis { namespace domain {
namespace boundary_... | 30.146789 | 101 | 0.673767 | renato-yuzup |
de62e7a84d0185142b4b94cd7fa40b3d72c289f3 | 677 | cpp | C++ | model/mosesdecoder/moses/Syntax/S2T/PChart.cpp | saeedesm/UNMT_AH | cc171bf66933b5c0ad8a0ab87e57f7364312a7df | [
"Apache-2.0"
] | 3 | 2020-02-28T21:42:44.000Z | 2021-03-12T13:56:16.000Z | tools/mosesdecoder-master/moses/Syntax/S2T/PChart.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-11-06T14:40:10.000Z | 2020-12-29T19:03:11.000Z | tools/mosesdecoder-master/moses/Syntax/S2T/PChart.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2019-11-26T05:27:16.000Z | 2019-12-17T01:53:43.000Z | #include "PChart.h"
#include "moses/FactorCollection.h"
namespace Moses
{
namespace Syntax
{
namespace S2T
{
PChart::PChart(std::size_t width, bool maintainCompressedChart)
{
m_cells.resize(width);
for (std::size_t i = 0; i < width; ++i) {
m_cells[i].resize(width);
}
if (maintainCompressedChart) {
m_... | 19.342857 | 67 | 0.67356 | saeedesm |
de654ee37cfebeb17bfec97b1a696cd8a99c9e97 | 473 | cpp | C++ | cpp/zigzag_conversion.cpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 3 | 2021-11-12T09:20:21.000Z | 2022-02-18T11:34:33.000Z | cpp/zigzag_conversion.cpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 1 | 2019-05-15T10:55:59.000Z | 2019-05-15T10:56:31.000Z | cpp/zigzag_conversion.cpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | null | null | null | class Solution
{
public:
string convert(string s, int nRows)
{
if (nRows <= 1 || s.size() <= 1) return s;
string result;
for (int i = 0; i < nRows; i++)
{
for (int j = 0, index = i; index < s.size();j++, index = (2 * nRows - 2) * j + i)
{
result.append(1, s[index]);
if (i == 0 || i == nRows... | 23.65 | 85 | 0.488372 | jieyaren |
de6621476f54d243bfc11625bbc9c7bc8ebcd59b | 95,558 | cc | C++ | fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/prompt/static_prompt.pb.cc | kashiish/vespa | 307de4bb24463d0f36cd8391a7b8df75bd0949b2 | [
"Apache-2.0"
] | null | null | null | fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/prompt/static_prompt.pb.cc | kashiish/vespa | 307de4bb24463d0f36cd8391a7b8df75bd0949b2 | [
"Apache-2.0"
] | null | null | null | fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/prompt/static_prompt.pb.cc | kashiish/vespa | 307de4bb24463d0f36cd8391a7b8df75bd0949b2 | [
"Apache-2.0"
] | null | null | null | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/actions/sdk/v2/interactionmodel/prompt/static_prompt.proto
#include "google/actions/sdk/v2/interactionmodel/prompt/static_prompt.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream... | 50.188025 | 332 | 0.761757 | kashiish |
de66df5d745f37310b3cd581a149e17024a1f60e | 8,355 | cpp | C++ | net/ias/policy/dll_bld/request.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/ias/policy/dll_bld/request.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/ias/policy/dll_bld/request.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Microsoft Corporation.
//
// SYNOPSIS
//
// Defines the class Request.
//
///////////////////////////////////////////////////////////////////////////////
#include <polcypch.h>
#include <iasattr.h>
#includ... | 21.589147 | 80 | 0.520766 | npocmaka |
de69117248769fece90923ed8a531e23e9866066 | 316 | cpp | C++ | atcoder/abc116/A.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | 1 | 2019-08-03T13:42:16.000Z | 2019-08-03T13:42:16.000Z | atcoder/abc116/A.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | atcoder/abc116/A.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MOD = 1e9 + 7;
typedef vector<ll> vll;
int main() {
vector<int> nums(3);
for (int i = 0; i < 3; ++i) {
cin >> nums[i];
}
sort(nums.begin(), nums.end());
cout << nums[0] * nums[1] / 2 << endl;
return 0;
}
| 18.588235 | 42 | 0.53481 | SashiRin |
de69d155868cb9b451780809dc5173551ad2facf | 1,188 | cpp | C++ | 洛谷/模拟/P1042.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | 洛谷/模拟/P1042.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | 洛谷/模拟/P1042.cpp | codehuanglei/- | 933a55b5c5a49163f12e0c39b4edfa9c4f01678f | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
const int MAX = 65535;
int arr[MAX] = {0};
char ch;
int main(){
for(int i = 1;cin >> ch && ch != 'E'; i++){
if(ch == 'W'){
arr[i] = 1;
}
if(ch == 'L'){
arr[i] = 2;
}
}
int w = 0, l = 0;
for(int i = 1; 1;... | 20.842105 | 47 | 0.244108 | codehuanglei |
de6a14af5c852ebfe2b51977061ef15749adf264 | 1,662 | hpp | C++ | Source/wali/include/wali/LongestSaturatingPathSemiring.hpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 15 | 2015-03-07T17:25:57.000Z | 2022-02-04T20:17:00.000Z | Source/wali/include/wali/LongestSaturatingPathSemiring.hpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 1 | 2018-03-03T05:58:55.000Z | 2018-03-03T12:26:10.000Z | Source/wali/include/wali/LongestSaturatingPathSemiring.hpp | jusito/WALi-OpenNWA | 2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99 | [
"MIT"
] | 15 | 2015-09-25T17:44:35.000Z | 2021-07-18T18:25:38.000Z | #ifndef WALI_LONGESTSATURATING_PATH_SEMIRING_HPP
#define WALI_LONGESTSATURATING_PATH_SEMIRING_HPP
#include "wali/SemElem.hpp"
#include "wali/MergeFn.hpp"
#include "wali/ref_ptr.hpp"
#include "wali/Key.hpp"
#include <set>
namespace wali {
/// This is a funny domain. But maybe it'll be useful? I just use it for
... | 24.086957 | 93 | 0.561372 | jusito |
de6b176e78f826c786378659d8757f9f98fae5fa | 560 | cpp | C++ | Chapter_9/overloading_variadic_non-template.cpp | wagnerhsu/packt-CPP-Templates-Up-and-Running | 2dcede8bb155d609a1b8d9765bfd4167e3a57289 | [
"MIT"
] | null | null | null | Chapter_9/overloading_variadic_non-template.cpp | wagnerhsu/packt-CPP-Templates-Up-and-Running | 2dcede8bb155d609a1b8d9765bfd4167e3a57289 | [
"MIT"
] | null | null | null | Chapter_9/overloading_variadic_non-template.cpp | wagnerhsu/packt-CPP-Templates-Up-and-Running | 2dcede8bb155d609a1b8d9765bfd4167e3a57289 | [
"MIT"
] | null | null | null | #include <iostream>
void foo(int val1, int val2)
{
std::cout << "From non-template" << std::endl;
std::cout << val1 << " " << val2 << std::endl;
}
template<typename T>
void foo(T val1, T val2)
{
std::cout << "From non-variadic" << std::endl;
std::cout << val1 << " " << val2 << std::endl;
}
template<typ... | 19.310345 | 50 | 0.55 | wagnerhsu |
de6bec73380ead55000e692d1463d900d1472f4a | 12,254 | cc | C++ | src/trace_processor/args_table_unittest.cc | zakerinasab/perfetto | 7f86589d1522ce8bfc59f6b569ca52496a53eb79 | [
"Apache-2.0"
] | null | null | null | src/trace_processor/args_table_unittest.cc | zakerinasab/perfetto | 7f86589d1522ce8bfc59f6b569ca52496a53eb79 | [
"Apache-2.0"
] | null | null | null | src/trace_processor/args_table_unittest.cc | zakerinasab/perfetto | 7f86589d1522ce8bfc59f6b569ca52496a53eb79 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.025478 | 80 | 0.71952 | zakerinasab |
de6d301d3637b7189e571f714ed564941bae1ff9 | 127,143 | cpp | C++ | src/plugProjectKandoU/vsGameSection.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectKandoU/vsGameSection.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectKandoU/vsGameSection.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "Game/VsGameSection.h"
#include "types.h"
/*
Generated from dpostproc
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
.4byte __sinit_vsGameSection_cpp
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_8047FF98
lbl_8047FF98:
.4byte 0x00000000
.4byte 0x00000000
... | 21.726418 | 109 | 0.596313 | projectPiki |
de6d3617beacfb1559a28d796d311db01954a766 | 687 | cpp | C++ | CastleDoctrine/gameSource/sharedServerSecret.cpp | PhilipLudington/CastleDoctrine | 443f2b6b0215a6d71515c8887c99b4322965622e | [
"Unlicense"
] | 1 | 2020-01-16T00:07:11.000Z | 2020-01-16T00:07:11.000Z | CastleDoctrine/gameSource/sharedServerSecret.cpp | PhilipLudington/CastleDoctrine | 443f2b6b0215a6d71515c8887c99b4322965622e | [
"Unlicense"
] | null | null | null | CastleDoctrine/gameSource/sharedServerSecret.cpp | PhilipLudington/CastleDoctrine | 443f2b6b0215a6d71515c8887c99b4322965622e | [
"Unlicense"
] | 2 | 2019-09-17T12:08:20.000Z | 2020-09-26T00:54:48.000Z |
// you can replace this string before building the client in order to
// match the shared secret that the server is expecting.
// Please don't abuse your power to do this.
// Remember that this is an indie game made entirely by one guy and being
// run on a shoestring budget server. Making a truly "secure" game, whe... | 36.157895 | 134 | 0.755459 | PhilipLudington |
de70f85d4eeb1240a8026a6a5965668e45e018c7 | 4,633 | cpp | C++ | Samples/Simple.cpp | QtExcel/QSimpleXlsxWriter | da96975bfd089fcb779fd871c9075e097a8373c0 | [
"MIT"
] | 13 | 2019-02-15T06:16:30.000Z | 2022-02-17T04:58:49.000Z | Samples/Simple.cpp | umaysahan/QSimpleXlsxWriter | da96975bfd089fcb779fd871c9075e097a8373c0 | [
"MIT"
] | 1 | 2019-01-13T07:12:26.000Z | 2019-01-13T09:58:27.000Z | Samples/Simple.cpp | umaysahan/QSimpleXlsxWriter | da96975bfd089fcb779fd871c9075e097a8373c0 | [
"MIT"
] | 6 | 2019-07-19T01:45:48.000Z | 2021-03-17T09:57:59.000Z | #include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <vector>
#include <Xlsx/Workbook.h>
#ifdef _WIN32
#include <windows.h>
#endif
#ifdef QT_CORE_LIB
#include <QDateTime>
#endif
using namespace SimpleXlsx;
int main()
{
setlocale( LC_ALL, "" );
time_t CurTime = time( NULL );
... | 37.666667 | 103 | 0.690481 | QtExcel |
de73b5485234ba8ed43297cd580bd6f40f60d4bd | 572 | cc | C++ | atcoder/arc/007/b_maigo_no_cd_case.cc | boobam0618/competitive-programming | 0341bd8bb240b1ed0d84cc60db91508242fc867b | [
"MIT"
] | null | null | null | atcoder/arc/007/b_maigo_no_cd_case.cc | boobam0618/competitive-programming | 0341bd8bb240b1ed0d84cc60db91508242fc867b | [
"MIT"
] | 32 | 2019-08-15T09:16:48.000Z | 2020-02-09T16:23:30.000Z | atcoder/arc/007/b_maigo_no_cd_case.cc | boobam0618/competitive-programming | 0341bd8bb240b1ed0d84cc60db91508242fc867b | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
int main() {
int cd_case_num, listen_cd_num;
std::cin >> cd_case_num >> listen_cd_num;
std::vector<int> cds(cd_case_num);
for (int i = 0; i < cd_case_num; ++i) {
cds.at(i) = i + 1;
}
int current = 0;
for (int i = 0; i < listen_cd_num; ++i) {
int listen_cd;
... | 22 | 43 | 0.536713 | boobam0618 |
de742378fbcc59e333009e743335a1b22585d443 | 2,594 | cpp | C++ | outdated/tests/io_copy.cpp | pjsaksa/x0 | 96b69e5a54b006e3d929b9934c2708f7967371bb | [
"MIT"
] | 24 | 2016-07-10T08:05:11.000Z | 2021-11-16T10:53:48.000Z | outdated/tests/io_copy.cpp | pjsaksa/x0 | 96b69e5a54b006e3d929b9934c2708f7967371bb | [
"MIT"
] | 14 | 2015-04-12T10:45:26.000Z | 2016-06-28T22:27:50.000Z | outdated/tests/io_copy.cpp | pjsaksa/x0 | 96b69e5a54b006e3d929b9934c2708f7967371bb | [
"MIT"
] | 4 | 2016-10-05T17:51:38.000Z | 2020-04-20T07:45:23.000Z | // This file is part of the "x0" project, http://xzero.io/
// (c) 2009-2018 Christian Parpart <christian@parpart.family>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/... | 30.162791 | 80 | 0.543562 | pjsaksa |
de779371a7cf848da1afcdcfd9208f0abfc7a65d | 1,931 | cc | C++ | runtime/vm/datastream.cc | wennyyustalim/sdk | e6ffc0b285fb393ba04c4afa35f9a7eae0e05793 | [
"BSD-3-Clause"
] | 3 | 2020-04-20T00:11:34.000Z | 2022-01-24T20:43:43.000Z | runtime/vm/datastream.cc | wennyyustalim/sdk | e6ffc0b285fb393ba04c4afa35f9a7eae0e05793 | [
"BSD-3-Clause"
] | 4 | 2020-04-20T11:16:42.000Z | 2020-04-20T11:18:30.000Z | runtime/vm/datastream.cc | wennyyustalim/sdk | e6ffc0b285fb393ba04c4afa35f9a7eae0e05793 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/datastream.h"
namespace dart {
StreamingWriteStream::StreamingWriteStream(intptr_t initi... | 27.985507 | 80 | 0.683584 | wennyyustalim |
de77a51807f0b0b0d4e3577cd24d13557acf9458 | 324 | cpp | C++ | pgf+/src/reader/Expr.cpp | egladil/mscthesis | d6f0c9b1b1e73b749894405372f2edf01e746920 | [
"BSD-2-Clause"
] | 1 | 2019-05-03T18:00:39.000Z | 2019-05-03T18:00:39.000Z | pgf+/src/reader/Expr.cpp | egladil/mscthesis | d6f0c9b1b1e73b749894405372f2edf01e746920 | [
"BSD-2-Clause"
] | null | null | null | pgf+/src/reader/Expr.cpp | egladil/mscthesis | d6f0c9b1b1e73b749894405372f2edf01e746920 | [
"BSD-2-Clause"
] | null | null | null | //
// Expr.cpp
// pgf+
//
// Created by Emil Djupfeldt on 2012-06-26.
// Copyright (c) 2012 Chalmers University of Technology. All rights reserved.
//
#include <gf/reader/Expr.h>
namespace gf {
namespace reader {
Expr::Expr() {
}
Expr::~Expr() {
}
... | 15.428571 | 78 | 0.509259 | egladil |
de7b08cf91b5e5aaed7f68e56832ea58dac9d4de | 6,995 | cpp | C++ | src/Ainur/AinurState1.cpp | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 8 | 2015-08-19T16:06:52.000Z | 2021-12-05T02:37:47.000Z | src/Ainur/AinurState1.cpp | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 5 | 2016-02-02T20:28:21.000Z | 2019-07-08T22:56:12.000Z | src/Ainur/AinurState1.cpp | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 5 | 2016-04-29T17:28:00.000Z | 2019-11-22T03:33:19.000Z | #include "AinurState.h"
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include "AinurDoubleOrFloat.h"
namespace PsimagLite {
struct MyProxyFor {
static void convert(long unsigne... | 26.396226 | 94 | 0.59371 | g1257 |
de7e28964c63dffd7045225e1a0544cf61653e85 | 1,539 | cpp | C++ | Algorithms/Search/SherlockandArray/Solution.cpp | 4ngelica/HackerRank | 61c4269168a9b35c98840e40637fe87c9735356c | [
"MIT"
] | 1,122 | 2017-03-22T03:52:28.000Z | 2022-03-31T06:01:39.000Z | Algorithms/Search/SherlockandArray/Solution.cpp | 4ngelica/HackerRank | 61c4269168a9b35c98840e40637fe87c9735356c | [
"MIT"
] | 100 | 2017-03-15T20:01:28.000Z | 2021-07-12T14:42:21.000Z | Algorithms/Search/SherlockandArray/Solution.cpp | 4ngelica/HackerRank | 61c4269168a9b35c98840e40637fe87c9735356c | [
"MIT"
] | 799 | 2017-03-19T21:28:30.000Z | 2022-03-26T16:58:54.000Z | /*
Problem : https://www.hackerrank.com/challenges/sherlock-and-array
C++ 14
Approach :
This is quite a straight forward problem. All elements of the input array is
set to the sum of all the elements upto that point of the input array, i.e.
arr[i] = Sum(arr[j]) for 0 <= j <=i < n
... | 27 | 84 | 0.492528 | 4ngelica |
de80f917f17f259dc54dffe14f6d3605eb249fb5 | 17,753 | cpp | C++ | src/drivers/liberatr.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 33 | 2015-08-10T11:13:47.000Z | 2021-08-30T10:00:46.000Z | src/drivers/liberatr.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 13 | 2015-08-25T03:53:08.000Z | 2022-03-30T18:02:35.000Z | src/drivers/liberatr.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 40 | 2015-08-25T05:09:21.000Z | 2022-02-08T05:02:30.000Z | #include "../vidhrdw/liberatr.cpp"
/***************************************************************************
Liberator Memory Map (for the main set, the other one is rearranged)
(from the schematics/manual)
HEX R/W D7 D6 D5 D4 D3 D2 D2 D0 function
---------+-----+------------------------+----------... | 38.260776 | 129 | 0.506788 | gameblabla |
de84b2b4c1ef18125a077ec4c9571b8af9eef504 | 2,453 | cpp | C++ | parallel-libs/acxxel/examples/opencl_example.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | parallel-libs/acxxel/examples/opencl_example.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | parallel-libs/acxxel/examples/opencl_example.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===--- opencl_example.cpp - Example of using Acxxel with OpenCL ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 35.042857 | 81 | 0.578475 | medismailben |
de8502cf617a9e2c2736d3751817269a7292a8a9 | 12,174 | cpp | C++ | PeerIOSerialControl.cpp | TGit-Tech/PeerIOSerialControl | cdb79f906e359fbc7fab934b918cb54dc61b1810 | [
"MIT"
] | null | null | null | PeerIOSerialControl.cpp | TGit-Tech/PeerIOSerialControl | cdb79f906e359fbc7fab934b918cb54dc61b1810 | [
"MIT"
] | null | null | null | PeerIOSerialControl.cpp | TGit-Tech/PeerIOSerialControl | cdb79f906e359fbc7fab934b918cb54dc61b1810 | [
"MIT"
] | null | null | null | /************************************************************************//**
* @file PeerIOSerialControl.cpp
* @brief Arduino Peer IO-Control through Serial Port Communications.
* @authors
* tgit23 1/2017 Original
******************************************************************************/
#in... | 38.894569 | 107 | 0.496632 | TGit-Tech |
de8726d230ba89163f05f0b03924340a6d8bb824 | 23,188 | cc | C++ | Source/Util/sort.cc | AryaFaramarzi/CS220-dmfb-synthesis-skeleton | 6b592516025f6c2838f269dcf2ca1696d9de5ab8 | [
"MIT"
] | 3 | 2018-11-03T06:17:08.000Z | 2020-08-12T05:26:47.000Z | Source/Util/sort.cc | AryaFaramarzi/CS220-dmfb-synthesis-skeleton | 6b592516025f6c2838f269dcf2ca1696d9de5ab8 | [
"MIT"
] | null | null | null | Source/Util/sort.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. *
* ___ ___ ___ *
* /__/\ / /\ / /\ *
* \ \:\ / /:/ / /::\ *
* ... | 40.048359 | 161 | 0.522684 | AryaFaramarzi |
de881f7d037ca8a76ffc7fc942e14eab26df3e32 | 1,996 | hpp | C++ | src/backend/vm/value_type.hpp | korelang/kore | 9fc06176406c2de2524382dff7e0d7d8e619c457 | [
"BSD-3-Clause"
] | null | null | null | src/backend/vm/value_type.hpp | korelang/kore | 9fc06176406c2de2524382dff7e0d7d8e619c457 | [
"BSD-3-Clause"
] | null | null | null | src/backend/vm/value_type.hpp | korelang/kore | 9fc06176406c2de2524382dff7e0d7d8e619c457 | [
"BSD-3-Clause"
] | null | null | null | #ifndef KORE_VALUE_TYPE_HPP
#define KORE_VALUE_TYPE_HPP
#include <ostream>
#include "frontend/internal_value_types.hpp"
namespace kore {
enum class ValueTag {
Bool,
I32,
I64,
F32,
F64,
Str,
};
/// The types for the vm's runtime values implemented
/// a... | 21.695652 | 68 | 0.483467 | korelang |
de88adce28026525092d49cd981443c7d9361375 | 3,707 | cpp | C++ | printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // OutboxDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ConfigTest.h"
#include "OutboxDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
typedef unsigned long ULONG_PTR, *PULONG_PTR;
typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR;
#includ... | 30.891667 | 92 | 0.639601 | npocmaka |
de8b7b339304acb3c0cc2938b1ed2a592a83c50b | 1,010 | cpp | C++ | HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <bits/stdc++.h>
using namespace std;
bool ratInAMaze(char maze[1001][1001],bool path[1001][1001], int n, int m,int i, int j){
if(i==n-1 && j==m-1){
path[i][j]=1;
return true;
}
if(maze[i][j]=='X')
return false;
if(i>=n || j>=m){
return false;
}
path[i][j]=1;
... | 18.035714 | 88 | 0.464356 | Ashwanigupta9125 |
de8c886e2035c324bea7a1866f17e9a904d69b14 | 1,252 | cpp | C++ | Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | /*=============================================================================
GLSLShaderSystem.cpp
Project: Sonata Engine
Author: Julien Delezenne
=============================================================================*/
#include "GLSLShaderSystem.h"
#include "GLSLShaderProgram.h"
namespace SE_GL
{
GLSLShade... | 16.25974 | 79 | 0.654952 | jdelezenne |
de8e04438ca08bec9df7cb3a061fa0504539a8dc | 166 | hxx | C++ | src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_POLICYREPOSITORYINPOLICYREPOSITORY_PRIVATE_H
#define __UNIX_POLICYREPOSITORYINPOLICYREPOSITORY_PRIVATE_H
#endif
#endif
| 13.833333 | 59 | 0.885542 | brunolauze |
de8eef4f62e1f6780b1848fb0668b12182336276 | 2,211 | hpp | C++ | source/LibFgBase/src/FgPlatform.hpp | denim2x/FaceGenBaseLibrary | 52317cf96984a47d7f2d0c5471230d689404101c | [
"MIT"
] | null | null | null | source/LibFgBase/src/FgPlatform.hpp | denim2x/FaceGenBaseLibrary | 52317cf96984a47d7f2d0c5471230d689404101c | [
"MIT"
] | null | null | null | source/LibFgBase/src/FgPlatform.hpp | denim2x/FaceGenBaseLibrary | 52317cf96984a47d7f2d0c5471230d689404101c | [
"MIT"
] | null | null | null | //
// Copyright (c) 2019 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
// Compile target platform and compiler specific definitions.
//
// ANSI defines:
// _DATE_
// _FI... | 28.346154 | 107 | 0.645862 | denim2x |
de91c2e73247de3d5093113de661c21b50f7cb2f | 3,937 | cpp | C++ | core/sql/common/ComExtents.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/sql/common/ComExtents.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/sql/common/ComExtents.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | /* -*-C++-*-
*****************************************************************************
*
* File: ComExtents.C
* Description: Provides conversion functions to convert Maxsize and Allocate
* attributes to primary-extents, secondary-extents and max-extents
*
* Created: 11/28/94
* La... | 31.496 | 81 | 0.583947 | CoderSong2015 |
de93720a3eeb3d97501c06306f636429ddda6bfa | 1,743 | cpp | C++ | utils/logging.cpp | XMrVertigoX/xXx_CPP | 550f04ccb2ff772e5c8cd632c9a748a001533077 | [
"MIT"
] | null | null | null | utils/logging.cpp | XMrVertigoX/xXx_CPP | 550f04ccb2ff772e5c8cd632c9a748a001533077 | [
"MIT"
] | null | null | null | utils/logging.cpp | XMrVertigoX/xXx_CPP | 550f04ccb2ff772e5c8cd632c9a748a001533077 | [
"MIT"
] | null | null | null | #include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <FreeRTOS.h>
#include <task.h>
#include "logging.hpp"
static const size_t bytesPerLine = 16;
static inline uint32_t ticks2ms(TickType_t ticks) {
return (ticks * portTICK_PERIOD_MS);
}
static inline uint32_t getSeconds(TickTy... | 21.256098 | 58 | 0.526104 | XMrVertigoX |
de93d083a1eae37fafb327e120403acd2775ec90 | 2,004 | cpp | C++ | blast/src/dbapi/err_handler.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | blast/src/dbapi/err_handler.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | blast/src/dbapi/err_handler.cpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: err_handler.cpp 343796 2011-11-09 18:12:57Z ivanovp $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" u... | 31.3125 | 77 | 0.673154 | mycolab |
de98e12d8bc29f2ed4f60ea0119381148c43614b | 2,249 | cpp | C++ | libi3/get_colorpixel.cpp | andreatulimiero/i3pp | 3e1268ec690bce1821d47df11a985145c289573c | [
"BSD-3-Clause"
] | null | null | null | libi3/get_colorpixel.cpp | andreatulimiero/i3pp | 3e1268ec690bce1821d47df11a985145c289573c | [
"BSD-3-Clause"
] | null | null | null | libi3/get_colorpixel.cpp | andreatulimiero/i3pp | 3e1268ec690bce1821d47df11a985145c289573c | [
"BSD-3-Clause"
] | null | null | null | /*
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
*/
#include "libi3.hpp"
#include "queue.hpp"
#include "memory.hpp"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
struct Colorpixel {
char hex[8];
... | 26.77381 | 108 | 0.623833 | andreatulimiero |
de9e74434fd6c5d27832ea6734411238fe56fa67 | 3,741 | cpp | C++ | src/lib/adatafield.cpp | leaderit/ananas-qt4 | 6830bf5074b316582a38f6bed147a1186dd7cc95 | [
"MIT"
] | 1 | 2021-03-16T21:47:41.000Z | 2021-03-16T21:47:41.000Z | src/lib/adatafield.cpp | leaderit/ananas-qt4 | 6830bf5074b316582a38f6bed147a1186dd7cc95 | [
"MIT"
] | null | null | null | src/lib/adatafield.cpp | leaderit/ananas-qt4 | 6830bf5074b316582a38f6bed147a1186dd7cc95 | [
"MIT"
] | null | null | null | /****************************************************************************
** $Id: adatafield.cpp,v 1.1 2008/11/05 21:16:28 leader Exp $
**
** Code file of the Ananas database field of Ananas
** Designer and Engine applications
**
** Created : 20031201
**
** Copyright (C) 2003-2004 Leader InfoTech. All rights reser... | 17.481308 | 83 | 0.636995 | leaderit |
dea3383bbe1211dcd2b00cfdb3f8141f81f6f04d | 1,841 | cpp | C++ | src/r3.endlesss/endlesss/toolkit.exchange.cpp | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | 6 | 2022-01-27T20:33:17.000Z | 2022-02-16T18:29:43.000Z | src/r3.endlesss/endlesss/toolkit.exchange.cpp | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | 4 | 2022-01-30T16:16:53.000Z | 2022-02-20T20:07:25.000Z | src/r3.endlesss/endlesss/toolkit.exchange.cpp | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | null | null | null | // _______ _______ ______ _______ ___ ___ _______ _______ _______
// | | | | __ \ | | | ___| | | |
// | - | | | < - | | | ___| - | |
// |_______|_______|___|__|_______|\_____/|_______|_______|__|____|
// ishani.org 2022 e.t.c. ... | 30.180328 | 100 | 0.568169 | Unbundlesss |
dea4093891cf1c0ad10fac75f2675e11f486d4f5 | 596 | cpp | C++ | src/src/clonetest.cpp | yangkaioppen/imgpp | 2212e8c80fc770a9bb24fed396ca43031de9e10f | [
"MIT"
] | 1 | 2020-05-12T07:35:39.000Z | 2020-05-12T07:35:39.000Z | src/src/clonetest.cpp | yangkaioppen/imgpp | 2212e8c80fc770a9bb24fed396ca43031de9e10f | [
"MIT"
] | 2 | 2020-04-22T05:27:47.000Z | 2020-12-26T07:38:45.000Z | src/src/clonetest.cpp | yangkaioppen/imgpp | 2212e8c80fc770a9bb24fed396ca43031de9e10f | [
"MIT"
] | 2 | 2020-04-20T05:55:12.000Z | 2020-05-25T16:41:16.000Z | #include <imgpp/imgpp.hpp>
int main() {
// Test clone
{
imgpp::Img image(2, 2, 1, 1, 32, true, true, 1);
image.ROI().At<float>(0, 0) = 1.0f;
image.ROI().At<float>(0, 1) = 2.0f;
image.ROI().At<float>(1, 0) = 3.0f;
image.ROI().At<float>(1, 1) = 4.0f;
imgpp::Img clone = image.Clone();
// M... | 25.913043 | 100 | 0.541946 | yangkaioppen |
dea758c747e2934278a76f5efd5c994b144cad92 | 7,613 | cpp | C++ | svntrunk/src/bgfe/obsolete_pk/bgl/test/torusdevloop.cpp | Bhaskers-Blu-Org1/BlueMatter | 1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e | [
"BSD-2-Clause"
] | 7 | 2020-02-25T15:46:18.000Z | 2022-02-25T07:04:47.000Z | svntrunk/src/pk/bgl/test/torusdevloop.cpp | IBM/BlueMatter | 5243c0ef119e599fc3e9b7c4213ecfe837de59f3 | [
"BSD-2-Clause"
] | null | null | null | svntrunk/src/pk/bgl/test/torusdevloop.cpp | IBM/BlueMatter | 5243c0ef119e599fc3e9b7c4213ecfe837de59f3 | [
"BSD-2-Clause"
] | 5 | 2019-06-06T16:30:21.000Z | 2020-11-16T19:43:01.000Z | /* Copyright 2001, 2019 IBM Corporation
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following d... | 34.139013 | 118 | 0.6217 | Bhaskers-Blu-Org1 |
dea7bc77e719900abb506b3e47c937bd055b51e0 | 791 | cpp | C++ | 9/969. Pancake Sorting.cpp | eagleoflqj/LeetCode | ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9 | [
"MIT"
] | null | null | null | 9/969. Pancake Sorting.cpp | eagleoflqj/LeetCode | ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9 | [
"MIT"
] | 1 | 2021-12-25T10:33:23.000Z | 2022-02-16T00:34:05.000Z | 9/969. Pancake Sorting.cpp | eagleoflqj/LeetCode | ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> pancakeSort(vector<int>& arr) {
int n = arr.size();
vector<int> index(n), ret;
for(int i = 0; i < n; ++i)
index[arr[i] - 1] = i;
for(int i = n - 1; i > 0; --i)
if(index[i] != i) { // AxBy
ret.push_back(index... | 31.64 | 53 | 0.380531 | eagleoflqj |
dea890b1088b8e9d87cf6f932a9ff74797b5ec5a | 11,237 | cc | C++ | vos/gui/sub/gui/sg_components/SgAxisView.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/sg_components/SgAxisView.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/sg_components/SgAxisView.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | ///////////////////////////////////////////////////////
// SgAxisView.C: A component class to show a plot axis.
////////////////////////////////////////////////////////
#include "SgAxisView.h"
#include "ErrorManager.h"
#include <Xm/DrawingA.h>
#include <Xm/Form.h>
#include <iostream>
using namespace std;
#include <asse... | 22.70101 | 79 | 0.595444 | NASA-AMMOS |
dea90f86cda37aa2bb0754da13db164130a9c547 | 8,776 | cpp | C++ | PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | 1 | 2019-12-09T16:03:55.000Z | 2019-12-09T16:03:55.000Z | PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 43.231527 | 126 | 0.697015 | RyanTorant |
deacc28df8e4bcbba836c34c03bcf73c69eb7f6c | 12,706 | cpp | C++ | src/Device/VertexProcessor.cpp | opersys/bbb-platform_external_swiftshader | 54561baf5b7bd68e572326bf99a0c7ae1ecd76a2 | [
"Apache-2.0"
] | null | null | null | src/Device/VertexProcessor.cpp | opersys/bbb-platform_external_swiftshader | 54561baf5b7bd68e572326bf99a0c7ae1ecd76a2 | [
"Apache-2.0"
] | null | null | null | src/Device/VertexProcessor.cpp | opersys/bbb-platform_external_swiftshader | 54561baf5b7bd68e572326bf99a0c7ae1ecd76a2 | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 The SwiftShader 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 b... | 27.681917 | 171 | 0.730364 | opersys |
deaf554618da92450e0202f4888b0d80121c7d80 | 8,133 | cpp | C++ | PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp | CdecPGL/PlanetaMatchMaker | 59ade243cc3fab23a88edd10e2ef6d6238dcfcbe | [
"MIT"
] | 6 | 2019-08-15T09:48:55.000Z | 2021-07-25T14:40:59.000Z | PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp | CdecPGL/PlanetaMatchMaker | 59ade243cc3fab23a88edd10e2ef6d6238dcfcbe | [
"MIT"
] | 43 | 2019-12-25T14:54:52.000Z | 2022-02-24T17:22:48.000Z | PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp | CdecPGL/PlanetaMatchMaker | 59ade243cc3fab23a88edd10e2ef6d6238dcfcbe | [
"MIT"
] | 2 | 2020-05-06T20:14:44.000Z | 2020-06-02T21:21:10.000Z | #include <vector>
#include <boost/asio.hpp>
#include "server/server_setting.hpp"
#include "session/session_data.hpp"
#include "logger/log.hpp"
#include "../message_parameter_validator.hpp"
#include "connection_test_request_message_handler.hpp"
using namespace std;
using namespace boost;
namespace pgl {
bool test_c... | 43.491979 | 169 | 0.708595 | CdecPGL |
deafa692f4c074bed1d56cb11e90a761f0a6982f | 8,569 | hpp | C++ | InstructionSets/M50740/Instruction.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 674 | 2016-05-05T18:47:48.000Z | 2022-03-30T01:48:53.000Z | InstructionSets/M50740/Instruction.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 223 | 2016-05-11T13:45:11.000Z | 2022-03-27T08:20:26.000Z | InstructionSets/M50740/Instruction.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | 36 | 2017-11-24T18:07:52.000Z | 2022-03-17T23:30:14.000Z | //
// Instruction.hpp
// Clock Signal
//
// Created by Thomas Harte on 15/01/21.
// Copyright © 2021 Thomas Harte. All rights reserved.
//
#ifndef InstructionSets_M50740_Instruction_h
#define InstructionSets_M50740_Instruction_h
#include <cstdint>
#include <iomanip>
#include <string>
#include <sstream>
#include "... | 35.263374 | 157 | 0.672541 | laurentd75 |
deafac069c99f42491d0e3ac4d2d6c262a1bdb97 | 1,985 | cpp | C++ | lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp | nitinneet/test23 | c44df1a3290195cd3fc59d3483ef640ca8aaeb1e | [
"BSD-3-Clause"
] | 1 | 2021-08-08T15:49:05.000Z | 2021-08-08T15:49:05.000Z | lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp | nitinneet/test23 | c44df1a3290195cd3fc59d3483ef640ca8aaeb1e | [
"BSD-3-Clause"
] | 151 | 2020-09-03T20:44:13.000Z | 2022-03-31T20:28:52.000Z | lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp | nitinneet/test23 | c44df1a3290195cd3fc59d3483ef640ca8aaeb1e | [
"BSD-3-Clause"
] | 2 | 2021-05-27T18:15:16.000Z | 2021-05-27T18:41:39.000Z | /**
* Copyright 2020 The Magma Authors.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
... | 32.540984 | 77 | 0.738035 | nitinneet |
deb01d3a6b355ab470ed94ce35a2df080e5f3df1 | 160 | cpp | C++ | system/system.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | system/system.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | system/system.cpp | firngrod/firnlibs | a8fbdd22ec3b0a9497b809e8b86092e0affea995 | [
"MIT"
] | null | null | null | #include "system.hpp"
#include <thread>
namespace FirnLibs{ namespace System{
int GetProcessorCount()
{
return std::thread::hardware_concurrency();
}
}}
| 11.428571 | 45 | 0.725 | firngrod |
deb21c7ff38d279093e60fc31fdf79e46e950c16 | 7,714 | cpp | C++ | media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp | xinfengz/media-driver | 310104a4693c476a215de13e7e9fabdf2afbad0a | [
"Intel",
"BSD-3-Clause",
"MIT"
] | 1 | 2019-09-26T23:48:34.000Z | 2019-09-26T23:48:34.000Z | media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp | xinfengz/media-driver | 310104a4693c476a215de13e7e9fabdf2afbad0a | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp | xinfengz/media-driver | 310104a4693c476a215de13e7e9fabdf2afbad0a | [
"Intel",
"BSD-3-Clause",
"MIT"
] | 1 | 2017-12-11T03:28:35.000Z | 2017-12-11T03:28:35.000Z | /*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publis... | 39.558974 | 112 | 0.717267 | xinfengz |
deb2487da9f4648a10b685865133c036e41c6b66 | 2,191 | cpp | C++ | src/application_item.cpp | haiziyan/mayo | 330099948bb8626a56d138c62509d85f7f0e1d94 | [
"BSD-2-Clause"
] | null | null | null | src/application_item.cpp | haiziyan/mayo | 330099948bb8626a56d138c62509d85f7f0e1d94 | [
"BSD-2-Clause"
] | null | null | null | src/application_item.cpp | haiziyan/mayo | 330099948bb8626a56d138c62509d85f7f0e1d94 | [
"BSD-2-Clause"
] | 1 | 2022-03-10T03:28:53.000Z | 2022-03-10T03:28:53.000Z | /****************************************************************************
** Copyright (c) 2019, Fougue Ltd. <http://www.fougue.pro>
** All rights reserved.
** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt
****************************************************************************/
#includ... | 26.083333 | 77 | 0.63487 | haiziyan |
deb3ad230da2eba329dbd4910d6daf30c08d8689 | 2,017 | cc | C++ | StRoot/StMcEvent/StMcIstLadderHitCollection.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StMcEvent/StMcIstLadderHitCollection.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StMcEvent/StMcIstLadderHitCollection.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | /***************************************************************************
*
*
* Author: Amilkar Quintero, Feb 2015
***************************************************************************
*
* Description: Monte Carlo Ist Ladder Hit Collection class
*
*******************************************************... | 34.186441 | 103 | 0.648488 | xiaohaijin |
deb3f64aa62ff8b78015a35cd2871c9c185f0ac7 | 250 | inl | C++ | node_modules/lzz-gyp/lzz-source/util_GetIdent.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/util_GetIdent.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/util_GetIdent.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // util_GetIdent.inl
//
#ifdef LZZ_ENABLE_INLINE
#define LZZ_INLINE inline
#else
#define LZZ_INLINE
#endif
namespace util
{
LZZ_INLINE util::Ident getIdent (util::String const & str)
{
return getIdent (str.c_str ());
}
}
#undef LZZ_INLINE
| 14.705882 | 60 | 0.72 | SuperDizor |
630c2a572b4cfece5fbe93d893400196dc33c44d | 870 | cpp | C++ | Chapter10/chapter10-7.cpp | kozborn/programing-principles-and-practise-using-cpp | 7fefba8765e26af83f138e660861fe5b90adcda4 | [
"MIT"
] | null | null | null | Chapter10/chapter10-7.cpp | kozborn/programing-principles-and-practise-using-cpp | 7fefba8765e26af83f138e660861fe5b90adcda4 | [
"MIT"
] | null | null | null | Chapter10/chapter10-7.cpp | kozborn/programing-principles-and-practise-using-cpp | 7fefba8765e26af83f138e660861fe5b90adcda4 | [
"MIT"
] | null | null | null | #include "../std_lib_facilities.h"
void skip_to_int() {
if (cin.fail())
{
cin.clear();
char ch;
while (cin >> ch && !isdigit(ch));
if (!cin) error("Brak danych");
cin.unget();
}
}
int get_int() {
int n = 0;
while(true) {
if(cin >> n) return n;
cout << "That was n... | 19.333333 | 95 | 0.472414 | kozborn |
630c477e15b064e58df18997b45b2ffc5d52c4b4 | 5,703 | cpp | C++ | main.cpp | SirDifferential/minimal_movidius | 73dc436c6151c022963108fb82b9262a838b0d95 | [
"MIT"
] | 1 | 2017-10-02T17:32:32.000Z | 2017-10-02T17:32:32.000Z | main.cpp | SirDifferential/minimal_movidius | 73dc436c6151c022963108fb82b9262a838b0d95 | [
"MIT"
] | null | null | null | main.cpp | SirDifferential/minimal_movidius | 73dc436c6151c022963108fb82b9262a838b0d95 | [
"MIT"
] | null | null | null | #include <mvnc.h>
#include <vector>
#include <stdio.h>
#include <string>
#include <chrono>
#include <unistd.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "movidiusdevice.h"
const int req_width = 227;
const int req_height = 227;
const bool show_perfs = false;
const bool show_results = false;
int... | 28.373134 | 108 | 0.568122 | SirDifferential |
630ccbb7fa7933f8ff764374dfe0fcdd3e185951 | 866 | cpp | C++ | algorithms/cpp/328.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | 3 | 2016-10-01T10:15:09.000Z | 2017-07-09T02:53:36.000Z | algorithms/cpp/328.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | algorithms/cpp/328.cpp | viing937/leetcode | e21ca52c98bddf59e43522c0aace5e8cf84350eb | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution
{
public:
ListNode* oddEvenList(ListNode* head)
{
if ( !head )
return head;
ListNode *even = NULL, *tail = NULL;
ListNod... | 18.826087 | 51 | 0.415704 | viing937 |
630dd83cf0445f77c13c3331f0456ccd41b83ff1 | 22,529 | cpp | C++ | src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2001-2005, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Lotz <mmlr@mlotz.ch>
* DarkWyrm <bpmagic@columbus.rr.com>
* Stephan Aßmus <superstippi@gmx.de>
*/
/** Accelerant based HWInterface implementation */
#include <new>
#include <malloc.h>
#include <stdio.h... | 25.256726 | 143 | 0.731502 | Kirishikesan |
63142be5ffcd345413fc26a2e08c6b0ada98a8dd | 2,474 | hpp | C++ | expression.hpp | 910JQK/EasyCalculator | 412904f6a28e10f409f723061638718941412919 | [
"MIT"
] | null | null | null | expression.hpp | 910JQK/EasyCalculator | 412904f6a28e10f409f723061638718941412919 | [
"MIT"
] | null | null | null | expression.hpp | 910JQK/EasyCalculator | 412904f6a28e10f409f723061638718941412919 | [
"MIT"
] | null | null | null | #ifndef EASY_CALCULATOR_EXPRESSION_PARSER_HPP
#define EASY_CALCULATOR_EXPRESSION_PARSER_HPP
#include <regex>
#include <string>
#include <vector>
#include <unordered_map>
namespace Expr {
extern const std::regex BLANK;
enum Associativity {
L, R
};
template <class T>
struct Operator {
Associativity as... | 33.432432 | 177 | 0.694422 | 910JQK |
63167cdbb65ffc9ba73e31706bb4da5db6ed509d | 360 | hpp | C++ | include/uitsl/mpi/MpiGuard.hpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | null | null | null | include/uitsl/mpi/MpiGuard.hpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | 1 | 2020-10-22T20:41:05.000Z | 2020-10-22T20:41:05.000Z | include/uitsl/mpi/MpiGuard.hpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | null | null | null | #pragma once
#ifndef UITSL_MPI_MPIGUARD_HPP_INCLUDE
#define UITSL_MPI_MPIGUARD_HPP_INCLUDE
#include <functional>
#include "audited_routines.hpp"
#include "mpi_utils.hpp"
namespace uitsl {
struct MpiGuard {
MpiGuard() { uitsl::mpi_init(); }
~MpiGuard() { UITSL_Finalize(); }
};
} // namespace uitsl
#endif //... | 15.652174 | 48 | 0.75 | perryk12 |