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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffc33ffe362865453ca5d4e153cd433cf9efa726 | 10,393 | cpp | C++ | Alien Engine/Alien Engine/ComponentCollider.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 7 | 2020-02-20T15:11:11.000Z | 2020-05-19T00:29:04.000Z | Alien Engine/Alien Engine/ComponentCollider.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 125 | 2020-02-29T17:17:31.000Z | 2020-05-06T19:50:01.000Z | Alien Engine/Alien Engine/ComponentCollider.cpp | OverPowered-Team/Alien-GameEngine | 713a8846a95fdf253d0869bdcad4ecd006b2e166 | [
"MIT"
] | 1 | 2020-05-19T00:29:06.000Z | 2020-05-19T00:29:06.000Z | #include "Globals.h"
#include "Application.h"
#include "ModuleRenderer3D.h"
#include "ComponentCollider.h"
#include "ComponentTransform.h"
#include "ComponentRigidBody.h"
#include "ComponentPhysics.h"
#include "ComponentMesh.h"
#include "GameObject.h"
#include "ReturnZ.h"
#include "Time.h"
#include "Event.h"
#include ... | 25.917706 | 179 | 0.726354 | OverPowered-Team |
ffc483e828e43b5cd7168ca66b6513cbd138755e | 5,251 | cpp | C++ | RNAstructure_Source/src/phmm/phmm.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | RNAstructure_Source/src/phmm/phmm.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | RNAstructure_Source/src/phmm/phmm.cpp | mayc2/PseudoKnot_research | 33e94b84435d87aff3d89dbad970c438ac173331 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "phmm.h"
#include <string.h>
#include "structure/structure_object.h"
#include "utils/xmath/log/xlog_math.h"
#include "utils/file/utils.h"
char t_phmm::state_names[N_STATES][100] = {"STATE_INS1", "STATE_INS2", "STATE_ALN"};
t_phmm::t_phmm(double new_emission_probs[N_OUT... | 24.886256 | 106 | 0.665397 | mayc2 |
ffc975dfb2fceab0e6ea001deaaf8b8d47844430 | 54,616 | cpp | C++ | XMLPullParser.cpp | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | XMLPullParser.cpp | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | XMLPullParser.cpp | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | // Copyright 2000-2021 Mark H. P. Lord
// TODO: have more information in error messages
// TODO: have some way of plugging in proper Unicode support for identifiers, whitespace, etc.
#include "XMLPullParser.h"
#include "NumberUtils.h"
#include "ScopedPtr.h"
#include "StringUtils.h"
#include "TextEncoding.h"
#include ... | 26.397293 | 162 | 0.534587 | malord |
ffc979b01d6bfe8c61531f6e775cb1c8fa1a36df | 9,168 | cpp | C++ | Gems/PhysX/Code/Editor/EditorSubComponentModeSnap.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-19T23:54:05.000Z | 2021-07-19T23:54:05.000Z | Gems/PhysX/Code/Editor/EditorSubComponentModeSnap.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/PhysX/Code/Editor/EditorSubComponentModeSnap.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <PhysX_precompiled.h>
#include <AzCore/Component/TransformBus.h>
#include <AzToolsFramew... | 42.444444 | 132 | 0.673757 | Schneidex69 |
ffcbfd889ee9e227f648268446c050fbe2c9a90f | 3,403 | cpp | C++ | src/options.cpp | caetanosauer/fineline | 03423d7f926435a01c2f0f2264763a11c8f332ce | [
"MIT"
] | null | null | null | src/options.cpp | caetanosauer/fineline | 03423d7f926435a01c2f0f2264763a11c8f332ce | [
"MIT"
] | null | null | null | src/options.cpp | caetanosauer/fineline | 03423d7f926435a01c2f0f2264763a11c8f332ce | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2016 Caetano Sauer
*
* 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, modif... | 36.98913 | 100 | 0.702615 | caetanosauer |
ffcca59c0d434917aacb28c47ea980f3a3328fa1 | 2,382 | cc | C++ | src/minion/executor_reduce.cc | abael/Baidu-Bigdata-shuttle | 32bf24cf74d4cd47587436ea96050aa795fd92cd | [
"BSD-3-Clause"
] | 69 | 2015-10-23T04:16:24.000Z | 2021-09-10T09:49:36.000Z | src/minion/executor_reduce.cc | abael/Baidu-Bigdata-shuttle | 32bf24cf74d4cd47587436ea96050aa795fd92cd | [
"BSD-3-Clause"
] | 3 | 2015-11-13T11:43:20.000Z | 2016-05-19T10:34:24.000Z | src/minion/executor_reduce.cc | fxsjy/shuttle | d421d7248376cdb5fbd1ea9bd5de556d0c63cc70 | [
"BSD-3-Clause"
] | 33 | 2015-10-20T17:10:34.000Z | 2021-10-12T11:48:22.000Z | #include "executor.h"
#include <unistd.h>
#include <errno.h>
#include <boost/scoped_ptr.hpp>
#include "common/filesystem.h"
namespace baidu {
namespace shuttle {
ReduceExecutor::ReduceExecutor() {
::setenv("mapred_task_is_map", "false", 1);
}
ReduceExecutor::~ReduceExecutor() {
}
TaskState ReduceExecutor::Exec... | 31.76 | 90 | 0.616289 | abael |
ffceb64ad0844a4e19e637c4f1f6311104cdfb74 | 10,308 | cpp | C++ | raygame/Player.cpp | DynashEtvala/Splat2D | 44a296a834e5f1def9ef100f1b650174fcfe0d05 | [
"MIT"
] | null | null | null | raygame/Player.cpp | DynashEtvala/Splat2D | 44a296a834e5f1def9ef100f1b650174fcfe0d05 | [
"MIT"
] | null | null | null | raygame/Player.cpp | DynashEtvala/Splat2D | 44a296a834e5f1def9ef100f1b650174fcfe0d05 | [
"MIT"
] | null | null | null | #include "Player.h"
#include "Math.h"
#include "Controller.h"
#include "FloorTile.h"
#include "SpawnPad.h"
#include <math.h>
Player::Player()
{
weap = BASE_GUN;
speed = weap.walkSpeed;
teamColor = BLACK;
playerNumber = 0;
}
Player::Player(Vector2 start, Weapon w, Color tcol, Color ecol, int pnum)
{
static Text... | 26.162437 | 351 | 0.617385 | DynashEtvala |
ffd11be073bb8c2c76d0c3ee2ae642530a73ba20 | 8,268 | cpp | C++ | endless-tunnel/app/src/main/cpp/shader.cpp | jiangkang/ndk-samples | 0ae8b60d9920753b17bac9da40752eda87154a86 | [
"Apache-2.0"
] | 2,727 | 2019-09-26T02:10:17.000Z | 2022-03-31T20:12:09.000Z | endless-tunnel/app/src/main/cpp/shader.cpp | jiangkang/ndk-samples | 0ae8b60d9920753b17bac9da40752eda87154a86 | [
"Apache-2.0"
] | 161 | 2019-10-27T13:59:36.000Z | 2022-03-18T02:02:31.000Z | endless-tunnel/app/src/main/cpp/shader.cpp | jiangkang/ndk-samples | 0ae8b60d9920753b17bac9da40752eda87154a86 | [
"Apache-2.0"
] | 1,210 | 2019-09-26T14:03:49.000Z | 2022-03-30T07:00:51.000Z | /*
* Copyright (C) Google 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 ... | 28.608997 | 95 | 0.620827 | jiangkang |
ffd4728dab690c58d52b3740b01e5c33e0c09047 | 556 | cpp | C++ | Competitive Programming/3rd day/sportMafia.cpp | Adrian-Garcia/CppLeetCodeSolutions | 0b85d02fe60063655cb4f9118e829b17c9bc1ed4 | [
"MIT"
] | null | null | null | Competitive Programming/3rd day/sportMafia.cpp | Adrian-Garcia/CppLeetCodeSolutions | 0b85d02fe60063655cb4f9118e829b17c9bc1ed4 | [
"MIT"
] | null | null | null | Competitive Programming/3rd day/sportMafia.cpp | Adrian-Garcia/CppLeetCodeSolutions | 0b85d02fe60063655cb4f9118e829b17c9bc1ed4 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
bool search(long long int val, long long int n, long long int k) {
long long int total = 0;
for(int i=0; i<n-val; i++)
total += i+1;
if(total-val > k)
return true;
else
return false;
}
int main() {
long long int n, k;
cin >> n >> k;
long long int low =... | 13.238095 | 66 | 0.552158 | Adrian-Garcia |
ffd7390f9b8f9ab2cf776fbcd187b4a6a79d3a4b | 458 | cpp | C++ | C++/Maximizing XOR.cpp | karunagatiyala/hackerrank_problems-or-hackerearth_problems | 645bb30465ee962733433a9a30fd5873b9fe33c2 | [
"MIT"
] | 1 | 2019-10-15T09:14:29.000Z | 2019-10-15T09:14:29.000Z | C++/Maximizing XOR.cpp | karunagatiyala/hackerrank_problems-or-hackerearth_problems | 645bb30465ee962733433a9a30fd5873b9fe33c2 | [
"MIT"
] | 5 | 2019-10-30T05:24:27.000Z | 2019-10-30T05:28:03.000Z | C++/Maximizing XOR.cpp | karunagatiyala/hackerrank_problems-or-hackerearth_problems | 645bb30465ee962733433a9a30fd5873b9fe33c2 | [
"MIT"
] | 10 | 2019-10-15T03:04:17.000Z | 2019-10-29T18:39:11.000Z | #include <bits/stdc++.h>
using namespace std;
// Complete the maximizingXor function below.
int maximizingXor(int l, int r) {
}
int main()
{
ofstream fout(getenv("OUTPUT_PATH"));
int l;
cin >> l;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
int r;
cin >> r;
cin.ignore(numeric_... | 14.774194 | 56 | 0.591703 | karunagatiyala |
ffd7c5611d117c634e03300d639e4bca0455cf49 | 2,140 | cpp | C++ | drape_frontend/metaline_manager.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | drape_frontend/metaline_manager.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | drape_frontend/metaline_manager.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #include "drape_frontend/metaline_manager.hpp"
#include "drape_frontend/map_data_provider.hpp"
#include "drape_frontend/message_subclasses.hpp"
#include "drape_frontend/threads_commutator.hpp"
#include "base/logging.hpp"
#include <functional>
namespace df
{
MetalineManager::MetalineManager(ref_ptr<ThreadsCommutator... | 25.47619 | 84 | 0.690654 | smartyw |
ffda05a12aae3a915f386d16577289974c4d811f | 10,998 | cpp | C++ | SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp | tjca1/MSI-Afterburner | 5bbac4a0af16be326b1f2886ae016ca0a54487e8 | [
"MIT"
] | null | null | null | SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp | tjca1/MSI-Afterburner | 5bbac4a0af16be326b1f2886ae016ca0a54487e8 | [
"MIT"
] | 1 | 2021-11-21T01:40:59.000Z | 2021-11-21T01:40:59.000Z | SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp | tjca1/MSI-Afterburner | 5bbac4a0af16be326b1f2886ae016ca0a54487e8 | [
"MIT"
] | 1 | 2021-12-25T03:40:50.000Z | 2021-12-25T03:40:50.000Z | // AIDA64SetupSourceDlg.cpp : implementation file
//
// created by Unwinder
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "AIDA64SetupSourceDlg.h"
#include "AIDA64Globals.h"
#include "MAHMSharedMemory.h"
//////////////////////////////////////////////////////... | 34.914286 | 81 | 0.619476 | tjca1 |
ffda1739c238bdf51674219dada669155ad4e950 | 3,737 | cpp | C++ | sycl/source/detail/kernel_impl.cpp | MochalovaAn/llvm | 528aa5ca4aa9df447dc3497ef19da3b124e88d7d | [
"Apache-2.0"
] | 61 | 2019-04-12T18:49:57.000Z | 2022-03-19T22:23:16.000Z | sycl/source/detail/kernel_impl.cpp | MochalovaAn/llvm | 528aa5ca4aa9df447dc3497ef19da3b124e88d7d | [
"Apache-2.0"
] | 127 | 2019-04-09T00:55:50.000Z | 2022-03-21T15:35:41.000Z | sycl/source/detail/kernel_impl.cpp | MochalovaAn/llvm | 528aa5ca4aa9df447dc3497ef19da3b124e88d7d | [
"Apache-2.0"
] | 10 | 2019-04-02T18:25:40.000Z | 2022-02-15T07:11:37.000Z | //==------- kernel_impl.cpp --- SYCL kernel implementation -----------------==//
//
// 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
//
//===---------------------------... | 38.927083 | 80 | 0.694675 | MochalovaAn |
ffdabdd4f68355ce6317c319adc23e98a1eb726e | 1,852 | cpp | C++ | Gardenino_Sketch/SensorLogger.cpp | Diebanez/gardenino | 88ce597e47dcaecbe1a99eb962bdc95a30bd5932 | [
"MIT"
] | null | null | null | Gardenino_Sketch/SensorLogger.cpp | Diebanez/gardenino | 88ce597e47dcaecbe1a99eb962bdc95a30bd5932 | [
"MIT"
] | 4 | 2021-12-31T13:22:59.000Z | 2022-01-03T10:36:22.000Z | Gardenino_Sketch/SensorLogger.cpp | Diebanez/gardenino | 88ce597e47dcaecbe1a99eb962bdc95a30bd5932 | [
"MIT"
] | null | null | null | #include "SensorLogger.h"
#include <SD.h>
#include "Debug.h"
SensorLogger::SensorLogger(Clock *logClock)
: PrintLogSpan(0, 1, 0, 0), LogClock(logClock)
{
}
void SensorLogger::AddSensorToLog(Sensor *target)
{
SensorToLog.AddElement(target);
}
void SensorLogger::Init(TimeSpan LogSpan)
{
PrintLogSpan = Log... | 24.368421 | 152 | 0.577214 | Diebanez |
ffdc05012f1d21cf3bb26478b72da3fff8839626 | 72,493 | cxx | C++ | Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | /*==============================================================================
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
Queen's University, Kingston, ON, Canada. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by appl... | 43.279403 | 202 | 0.708179 | forfullstack |
ffde21b56ac873665291a65e9a9c13bcb998a662 | 1,064 | cpp | C++ | rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp | VitorNevess/Rabbits-Life | 24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46 | [
"Apache-2.0"
] | null | null | null | rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp | VitorNevess/Rabbits-Life | 24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46 | [
"Apache-2.0"
] | 1 | 2019-11-16T00:54:00.000Z | 2019-11-16T00:54:00.000Z | rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp | VitorNevess/Rabbits-Life | 24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46 | [
"Apache-2.0"
] | null | null | null | //
// DrawTruckYellow.cpp
// rabbitsLife
//
// Created by joao.vitor.f.naves on 13/10/19.
// Copyright © 2019 vitor.neves. All rights reserved.
//
#define GL_SILENCE_DEPRECATION
#include <GLUT/GLUT.h>
class DrawTruckYellow {
//public
public:
float xCloser = 0;//mais perto
float xFurther = 0;//mais lo... | 19.703704 | 54 | 0.620301 | VitorNevess |
ffe014718f2000d4a9a9296dacc787a66d5e5db0 | 5,003 | cpp | C++ | runtime/class.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-09T03:17:23.000Z | 2021-09-09T03:17:23.000Z | runtime/class.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | null | null | null | runtime/class.cpp | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:57.000Z | 2021-09-13T11:21:57.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 29.958084 | 113 | 0.59984 | openharmony-gitee-mirror |
ffe0ead6be26d6b7242ca321c59d350efa7b43b7 | 309 | cpp | C++ | GeneratorType.cpp | Xecutor/paparl | fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc | [
"MIT"
] | null | null | null | GeneratorType.cpp | Xecutor/paparl | fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc | [
"MIT"
] | null | null | null | GeneratorType.cpp | Xecutor/paparl | fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc | [
"MIT"
] | null | null | null | #include "GeneratorType.hpp"
std::string getGeneratorNameByType(GeneratorType gt)
{
using GT=GeneratorType;
switch(gt)
{
case GT::downtown:return "Downtown";
case GT::seaport:return "Seaport";
case GT::suburbs:return "Suburbs";
case GT::warehouse:return "Warehouse";
}
return "";
}
| 20.6 | 52 | 0.68932 | Xecutor |
ffe2da45917417d1bbc4c7e6d2fda4cb68ccf694 | 60,493 | cpp | C++ | c++/src/algo/blast/api/blast_options_cxx.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/algo/blast/api/blast_options_cxx.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/algo/blast/api/blast_options_cxx.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #ifndef SKIP_DOXYGEN_PROCESSING
static char const rcsid[] =
"$Id: blast_options_cxx.cpp 371842 2012-08-13 13:56:38Z fongah2 $";
#endif /* SKIP_DOXYGEN_PROCESSING */
/* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* ... | 23.257593 | 98 | 0.609277 | OpenHero |
ffe40f7d4488ee495de9bd09bb1b3f7358dff1b2 | 5,528 | cpp | C++ | src/Main/calculateEvec.cpp | pmu2022/lsms | 3c5f266812cad0b6d570bef9f5abb590d044ef92 | [
"BSD-3-Clause"
] | 1 | 2022-01-27T14:45:51.000Z | 2022-01-27T14:45:51.000Z | src/Main/calculateEvec.cpp | pmu2022/lsms | 3c5f266812cad0b6d570bef9f5abb590d044ef92 | [
"BSD-3-Clause"
] | 3 | 2021-09-14T01:30:26.000Z | 2021-09-25T14:05:10.000Z | src/Main/calculateEvec.cpp | pmu2022/lsms | 3c5f266812cad0b6d570bef9f5abb590d044ef92 | [
"BSD-3-Clause"
] | 1 | 2022-01-03T18:16:26.000Z | 2022-01-03T18:16:26.000Z | #include "calculateEvec.hpp"
void calculateEvec(LSMSSystemParameters &lsms, LocalTypeInfo &local)
{
const Real tolerance = 1.0e-8;
for (int i=0; i<local.num_local; i++)
{
// Small part in mufind_c.f from LSMS 1.9
if (lsms.n_spin_cant == 2) // nspin >=3
{
// Calculate moment
Real ... | 38.124138 | 154 | 0.516281 | pmu2022 |
ffe4485adf577a78dbafbdce23b9b679fdd896f5 | 774 | cpp | C++ | libsnes/bsnes/snes/chip/msu1/serialization.cpp | ircluzar/BizhawkLegacy-Vanguard | cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e | [
"MIT"
] | null | null | null | libsnes/bsnes/snes/chip/msu1/serialization.cpp | ircluzar/BizhawkLegacy-Vanguard | cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e | [
"MIT"
] | null | null | null | libsnes/bsnes/snes/chip/msu1/serialization.cpp | ircluzar/BizhawkLegacy-Vanguard | cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e | [
"MIT"
] | null | null | null | #ifdef MSU1_CPP
void MSU1::serialize(serializer &s) {
Processor::serialize(s);
s.integer(mmio.data_offset);
s.integer(mmio.audio_offset);
s.integer(mmio.audio_loop_offset);
s.integer(mmio.audio_track);
s.integer(mmio.audio_volume);
s.integer(mmio.data_busy);
s.integer(mmio.audio_busy);
s.integer(m... | 25.8 | 132 | 0.697674 | ircluzar |
ffe60ac81a3223be2a12b8dce2baa45abd78a8f1 | 3,982 | cpp | C++ | src/core/physics/body_template.cpp | texel-sensei/eversim | 187262756186add9ee8583cbaa1d3ef9e6d0aa53 | [
"Apache-2.0"
] | null | null | null | src/core/physics/body_template.cpp | texel-sensei/eversim | 187262756186add9ee8583cbaa1d3ef9e6d0aa53 | [
"Apache-2.0"
] | 72 | 2017-07-18T16:38:29.000Z | 2020-09-01T15:25:22.000Z | src/core/physics/body_template.cpp | texel-sensei/eversim | 187262756186add9ee8583cbaa1d3ef9e6d0aa53 | [
"Apache-2.0"
] | null | null | null | #include "core/physics/body_template.h"
#include "core/physics/errors.h"
#include <fstream>
#include <sstream>
using namespace std;
namespace eversim { namespace core { namespace physics {
void body_template_loader::register_factory(std::string const& type, factory_ptr factory)
{
constraint_loaders[type] = move... | 22 | 102 | 0.670517 | texel-sensei |
ffe7144243e30615abcc8e67abda78cfd1699428 | 448 | cpp | C++ | src/statusbar.cpp | roediger/tableau-log-viewer | 4c63f8f91e71ebc0a1524f103a40459f9808bb06 | [
"MIT"
] | 133 | 2016-10-14T04:36:10.000Z | 2022-03-10T21:27:15.000Z | src/statusbar.cpp | Tableau-projects/tableau-log-viewer | 4c63f8f91e71ebc0a1524f103a40459f9808bb06 | [
"MIT"
] | 39 | 2016-10-14T06:28:35.000Z | 2020-07-24T00:42:40.000Z | src/statusbar.cpp | Tableau-projects/tableau-log-viewer | 4c63f8f91e71ebc0a1524f103a40459f9808bb06 | [
"MIT"
] | 46 | 2016-10-18T15:38:10.000Z | 2021-11-17T07:51:33.000Z | #include "statusbar.h"
StatusBar::StatusBar(QMainWindow* parent) :
m_qbar(parent->statusBar()),
m_statusLabel(new QLabel(parent))
{
m_statusLabel->setContentsMargins(0, 0, 8, 0);
m_qbar->addPermanentWidget(m_statusLabel);
}
void StatusBar::ShowMessage(const QString& message, int timeout)
{
m_qbar-... | 22.4 | 64 | 0.729911 | roediger |
ffe79cd49638447df53aa245cbc54edf31ef1b49 | 683 | cpp | C++ | tests/library/OpLibraryCoupler.cpp | mmore500/signalgp-lite | 1b95f43b5e8f57de6ca062db4e0049f9d75f6928 | [
"MIT"
] | 1 | 2021-07-21T23:34:45.000Z | 2021-07-21T23:34:45.000Z | tests/library/OpLibraryCoupler.cpp | mmore500/signalgp-lite | 1b95f43b5e8f57de6ca062db4e0049f9d75f6928 | [
"MIT"
] | 9 | 2020-10-07T05:17:48.000Z | 2021-11-16T21:08:14.000Z | tests/library/OpLibraryCoupler.cpp | mmore500/signalgp-lite | 1b95f43b5e8f57de6ca062db4e0049f9d75f6928 | [
"MIT"
] | 2 | 2020-10-10T19:36:31.000Z | 2020-12-10T00:10:48.000Z | #include "Catch/single_include/catch2/catch.hpp"
#include "Empirical/include/emp/math/Random.hpp"
#include "sgpl/library/OpLibraryCoupler.hpp"
#include "sgpl/library/prefab/CompleteOpLibrary.hpp"
struct ExampleOp {
template<typename Spec>
static void run(
sgpl::Core<Spec>&,
const sgpl::Instruction<Spec>... | 19.514286 | 78 | 0.696925 | mmore500 |
ffee4de2ae3d9b280dac966a1ffced153c8a454c | 11,699 | cpp | C++ | Engine/source/scene/zones/sceneZoneSpace.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/scene/zones/sceneZoneSpace.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/scene/zones/sceneZoneSpace.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 32.22865 | 127 | 0.578511 | vbillet |
ffefedcba791021cbd75d2aeb98d576ae1bc6cee | 1,493 | cpp | C++ | src/core/testing/plg_python27_ui_test/python_panel.cpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/testing/plg_python27_ui_test/python_panel.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/testing/plg_python27_ui_test/python_panel.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | #include "python_panel.hpp"
#include "core_logging/logging.hpp"
#include "core_reflection/reflected_object.hpp"
#include "core_reflection/i_definition_manager.hpp"
#include "core_reflection/reflection_macros.hpp"
#include "core_reflection/metadata/meta_types.hpp"
#include "core_reflection/function_property.hpp"
#includ... | 24.883333 | 112 | 0.77361 | wgsyd |
fff098f07b243bc508116a069c4da83d1a40d185 | 44,300 | cc | C++ | src/redis_strings.cc | WyattJia/blackwidow | 5d070e2970f68fafde8105d358acd09c571ea398 | [
"BSD-3-Clause"
] | 67 | 2018-08-01T05:52:25.000Z | 2022-03-22T04:08:22.000Z | src/redis_strings.cc | WyattJia/blackwidow | 5d070e2970f68fafde8105d358acd09c571ea398 | [
"BSD-3-Clause"
] | 7 | 2018-11-30T01:48:07.000Z | 2022-02-10T12:17:07.000Z | src/redis_strings.cc | WyattJia/blackwidow | 5d070e2970f68fafde8105d358acd09c571ea398 | [
"BSD-3-Clause"
] | 30 | 2018-08-15T06:34:31.000Z | 2022-03-20T09:04:27.000Z | // Copyright (c) 2017-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "src/redis_st... | 30.785268 | 101 | 0.599797 | WyattJia |
fff3a9a001b1d1a1190b0de3d9c5570bc8cface2 | 67 | cpp | C++ | test/com/facebook/buck/cxx/testdata/step_test/source_full_header.cpp | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/cxx/testdata/step_test/source_full_header.cpp | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/cxx/testdata/step_test/source_full_header.cpp | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | #include "prefix/source_full_header.h"
int main() {
return 0;
}
| 11.166667 | 38 | 0.686567 | Unknoob |
fff3c70ae2abda3d5d44cc736ac9dc25e5b28f4b | 499 | cpp | C++ | BinarySearch/BinarySearch/BinarySearchIterative.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | BinarySearch/BinarySearch/BinarySearchIterative.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | BinarySearch/BinarySearch/BinarySearchIterative.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int binarySearchIterative(vector<int> vctr, int target)
{
int min = 0;
int max = vctr.size() - 1;
while (min < max)
{
int guess = (min + max) / 2;
if (vctr.at(guess) == target)
{
return guess;
}... | 16.633333 | 56 | 0.442886 | gabrieltavares0123 |
fff433d8a1669eab3c752b3bad20b40baf5674ae | 14,013 | cpp | C++ | dev/MRTCore/mrt/mrm/UnitTests/ResourcePackMerge.UnitTests.cpp | Andrea-MariaDB-2/WindowsAppSDK | 5a6b4064f7dc23a548c9f3a4065c12a5ee9f15c7 | [
"CC-BY-4.0",
"MIT"
] | 2,002 | 2020-05-19T15:16:02.000Z | 2021-06-24T13:28:05.000Z | dev/MRTCore/mrt/mrm/UnitTests/ResourcePackMerge.UnitTests.cpp | oldnewthing/WindowsAppSDK | e82f072c131807765efd84f4d55ab4de3ecbb75c | [
"CC-BY-4.0",
"MIT"
] | 1,065 | 2021-06-24T16:08:11.000Z | 2022-03-31T23:12:32.000Z | dev/MRTCore/mrt/mrm/UnitTests/ResourcePackMerge.UnitTests.cpp | oldnewthing/WindowsAppSDK | e82f072c131807765efd84f4d55ab4de3ecbb75c | [
"CC-BY-4.0",
"MIT"
] | 106 | 2020-05-19T15:20:00.000Z | 2021-06-24T15:03:57.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "StdAfx.h"
#include "Helpers.h"
#include "mrm/build/Base.h"
#include "mrm/readers/MrmReaders.h"
#include "mrm/build/MrmBuilders.h"
#include "mrm/bu... | 38.078804 | 141 | 0.717691 | Andrea-MariaDB-2 |
fff809952b508086fcae4b643b9104c6d1842cf6 | 5,520 | cpp | C++ | src/friMonitoringMessageDecoder.cpp | KCL-BMEIS/fri | ed70c51bb3cbc3047673888d05a562371b8e91ce | [
"MIT"
] | null | null | null | src/friMonitoringMessageDecoder.cpp | KCL-BMEIS/fri | ed70c51bb3cbc3047673888d05a562371b8e91ce | [
"MIT"
] | 3 | 2021-02-05T14:23:19.000Z | 2022-02-28T10:10:57.000Z | src/friMonitoringMessageDecoder.cpp | KCL-BMEIS/fri | ed70c51bb3cbc3047673888d05a562371b8e91ce | [
"MIT"
] | 2 | 2021-05-14T06:07:59.000Z | 2022-01-19T15:02:19.000Z | /**
The following license terms and conditions apply, unless a redistribution
agreement or other license is obtained by KUKA Roboter GmbH, Augsburg, Germany.
SCOPE
The software "KUKA Sunrise.Connectivity FRI Client SDK" is targeted to work in
conjunction with the "KUKA Sunrise.Connectivity FastRobotInterface" toolki... | 37.808219 | 97 | 0.733696 | KCL-BMEIS |
fffa5e882f086e22a2285b40d3032c15c0a7c0ee | 96 | cpp | C++ | engine/tile.cpp | jarreed0/ArchGE | c995caf86b11f89f45fcfe1027c6068662dfcde0 | [
"Apache-2.0"
] | 12 | 2017-02-09T21:03:41.000Z | 2021-04-26T14:50:20.000Z | engine/tile.cpp | jarreed0/ArchGE | c995caf86b11f89f45fcfe1027c6068662dfcde0 | [
"Apache-2.0"
] | null | null | null | engine/tile.cpp | jarreed0/ArchGE | c995caf86b11f89f45fcfe1027c6068662dfcde0 | [
"Apache-2.0"
] | null | null | null | #include "tile.h"
Tile::Tile() {}
Tile::~Tile() {}
void Tile::setValue(int v) {
value = v;
}
| 12 | 28 | 0.5625 | jarreed0 |
fffd62bbb6e1b8264051b74822bb0478aceb7ad0 | 1,159 | cpp | C++ | leetcode/_190_reverse_bits.cpp | WindyDarian/OJ_Submissions | a323595c3a32ed2e07af65374ef90c81d5333f96 | [
"Apache-2.0"
] | 3 | 2017-02-19T14:38:32.000Z | 2017-07-22T17:06:55.000Z | leetcode/_190_reverse_bits.cpp | WindyDarian/OJ_Submissions | a323595c3a32ed2e07af65374ef90c81d5333f96 | [
"Apache-2.0"
] | null | null | null | leetcode/_190_reverse_bits.cpp | WindyDarian/OJ_Submissions | a323595c3a32ed2e07af65374ef90c81d5333f96 | [
"Apache-2.0"
] | null | null | null | //==============================================================================
// Copyright 2016 Windy Darian (Ruoyu Fan)
//
// 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:... | 37.387097 | 80 | 0.572908 | WindyDarian |
fffe8b330a6e5fcd721da4dd534bc318934d6e1c | 6,889 | cc | C++ | cc/jwt/jwt_object.cc | iambrosie/tink | 33accb5bcdff71f34d7551a669831ec9a52674aa | [
"Apache-2.0"
] | 2 | 2020-11-09T11:25:34.000Z | 2022-03-04T06:21:44.000Z | cc/jwt/jwt_object.cc | iambrosie/tink | 33accb5bcdff71f34d7551a669831ec9a52674aa | [
"Apache-2.0"
] | null | null | null | cc/jwt/jwt_object.cc | iambrosie/tink | 33accb5bcdff71f34d7551a669831ec9a52674aa | [
"Apache-2.0"
] | 1 | 2020-08-11T04:52:46.000Z | 2020-08-11T04:52:46.000Z | // 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 writing, software
// distributed ... | 30.082969 | 79 | 0.710553 | iambrosie |
fffe9f8d48a97a626d0f8198b81a118d0ea08a58 | 9,071 | cpp | C++ | externals/IBKMK/src/IBKMK_3DCalculations.cpp | ghorwin/IFC2BESplusplus | 0c8e6d735faf56c84ff9c741773da92bc82b23dd | [
"MIT"
] | null | null | null | externals/IBKMK/src/IBKMK_3DCalculations.cpp | ghorwin/IFC2BESplusplus | 0c8e6d735faf56c84ff9c741773da92bc82b23dd | [
"MIT"
] | null | null | null | externals/IBKMK/src/IBKMK_3DCalculations.cpp | ghorwin/IFC2BESplusplus | 0c8e6d735faf56c84ff9c741773da92bc82b23dd | [
"MIT"
] | null | null | null | /* IBK Math Kernel Library
Copyright (c) 2001-today, Institut fuer Bauklimatik, TU Dresden, Germany
Written by A. Nicolai, A. Paepcke, H. Fechner, St. Vogelsang
All rights reserved.
This file is part of the IBKMK Library.
Redistribution and use in source and binary forms, with or without modification,
are perm... | 33.349265 | 130 | 0.709514 | ghorwin |
ffff16f67e2c31036540669161cfba4f91fd25a9 | 1,093 | hpp | C++ | agency/cuda/detail/concurrency/heterogeneous_barrier.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/cuda/detail/concurrency/heterogeneous_barrier.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/cuda/detail/concurrency/heterogeneous_barrier.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | #include <agency/detail/config.hpp>
namespace agency
{
namespace cuda
{
namespace detail
{
template<class HostBarrier, class DeviceBarrier>
class heterogeneous_barrier
{
public:
using host_barrier_type = HostBarrier;
using device_barrier_type = DeviceBarrier;
__agency_exec_check_disable__
__AGENC... | 17.078125 | 48 | 0.732845 | nerikhman |
0800547f1460cf6d60e590ab2d6519d50a0acb5c | 7,602 | cpp | C++ | wallet/api/v6_3/v6_3_api_parse.cpp | unwaz/beam | a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0 | [
"Apache-2.0"
] | null | null | null | wallet/api/v6_3/v6_3_api_parse.cpp | unwaz/beam | a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0 | [
"Apache-2.0"
] | null | null | null | wallet/api/v6_3/v6_3_api_parse.cpp | unwaz/beam | a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 The Beam Team
//
// 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... | 30.408 | 136 | 0.549724 | unwaz |
08015cfc4fb0c74687667d358446a4aa478dd6b8 | 21,417 | hpp | C++ | source/utils/ImageCopiers.hpp | bobvodka/GameTextureLoader3 | 47db5781eb650b9746ffed327786c7e73410cbe0 | [
"MIT"
] | null | null | null | source/utils/ImageCopiers.hpp | bobvodka/GameTextureLoader3 | 47db5781eb650b9746ffed327786c7e73410cbe0 | [
"MIT"
] | null | null | null | source/utils/ImageCopiers.hpp | bobvodka/GameTextureLoader3 | 47db5781eb650b9746ffed327786c7e73410cbe0 | [
"MIT"
] | null | null | null | // A series of templated routines to copy image objects between memory buffers
#ifndef GTL_IMAGECOPIERS_HPP
#define GTL_IMAGECOPIERS_HPP
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include "Utils.hpp"
#include "memoryIterators.hpp"
//CHECK ALL THE OFFSET MATHS!!!
//IT FEELS LIKE BAD BAD VOODOO!!!
//
na... | 33.780757 | 150 | 0.673344 | bobvodka |
0801e69aabfd892b207c36f3d04c8b5c070f3df5 | 280 | cpp | C++ | lib/AST/Break.cpp | yangzh1998/purpo | 87cdf981580fa25f5b7062e5fd90c920c49ff116 | [
"MIT"
] | 4 | 2021-11-25T14:26:39.000Z | 2021-11-25T19:22:38.000Z | lib/AST/Break.cpp | yangzh1998/purpo | 87cdf981580fa25f5b7062e5fd90c920c49ff116 | [
"MIT"
] | null | null | null | lib/AST/Break.cpp | yangzh1998/purpo | 87cdf981580fa25f5b7062e5fd90c920c49ff116 | [
"MIT"
] | null | null | null | //
// Created by YANG Zehai on 2021/11/11.
//
#include "AST/Break.h"
using namespace pur;
using namespace pur::ast;
Break::Break(const pars::Location& loc): Stmt(ASTNodeType::kBreak, loc) {
/* empty */
}
void Break::Accept(Visitor& visitor) {
visitor.VisitBreak(*this);
}
| 16.470588 | 73 | 0.678571 | yangzh1998 |
0803804b40f4c17f08a295bce2e3497e4ed0407b | 5,577 | cpp | C++ | src/tests/conduit/t_conduit_node_update.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 120 | 2015-12-09T00:58:22.000Z | 2022-03-25T00:14:39.000Z | src/tests/conduit/t_conduit_node_update.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 808 | 2016-02-27T22:25:15.000Z | 2022-03-30T23:42:12.000Z | src/tests/conduit/t_conduit_node_update.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 49 | 2016-02-12T17:19:16.000Z | 2022-02-01T14:36:21.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other Conduit
// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
// other details. No copyright assignment is required to contribute to Conduit.
//-----------------------------------------------------------------------------
///... | 22.950617 | 79 | 0.511027 | adrienbernede |
0806dfd15fb0d6a556746c8cf7be22daca89549b | 3,965 | cc | C++ | reading-notes/PythonCore/pysmall/main.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 22 | 2015-05-18T07:04:36.000Z | 2021-08-02T03:01:43.000Z | reading-notes/PythonCore/pysmall/main.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 1 | 2017-08-31T22:13:57.000Z | 2017-09-05T15:00:25.000Z | reading-notes/PythonCore/pysmall/main.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 6 | 2015-06-06T07:16:12.000Z | 2021-07-06T13:45:56.000Z | // Copyright (c) 2018 ASMlover. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list ofconditions and... | 31.72 | 77 | 0.657503 | ASMlover |
080ab7fa5adf4750d4a44aa398d617ffea615351 | 2,605 | cc | C++ | tests/test.cc | sv1990/automatic-differentiation | b2eb0685c0bb31086a57957464641965a5b6ae0c | [
"MIT"
] | null | null | null | tests/test.cc | sv1990/automatic-differentiation | b2eb0685c0bb31086a57957464641965a5b6ae0c | [
"MIT"
] | null | null | null | tests/test.cc | sv1990/automatic-differentiation | b2eb0685c0bb31086a57957464641965a5b6ae0c | [
"MIT"
] | null | null | null | #include "ad/ad.hh"
#include "ad/ostream.hh"
#include <cassert>
#undef NDEBUG
template <typename T, typename U>
constexpr bool same_type(T, U) noexcept {
return std::is_same_v<T, U>;
}
template <typename T>
constexpr bool is_static_expression(T) {
return ad::detail::is_static_v<T>;
}
int main() {
using names... | 34.733333 | 78 | 0.619578 | sv1990 |
080d328b2ae90baa12db3ff3a8778a02da56280c | 133 | cpp | C++ | recursive/tests/failing_test.cpp | PhilipDaniels/autotools-template | e11ee788c7ca9f9b941778330cac4e562b23d8fe | [
"MIT"
] | 20 | 2016-02-01T13:07:45.000Z | 2020-08-30T18:59:39.000Z | recursive/tests/failing_test.cpp | PhilipDaniels/autotools-template | e11ee788c7ca9f9b941778330cac4e562b23d8fe | [
"MIT"
] | null | null | null | recursive/tests/failing_test.cpp | PhilipDaniels/autotools-template | e11ee788c7ca9f9b941778330cac4e562b23d8fe | [
"MIT"
] | 4 | 2018-05-13T19:05:28.000Z | 2021-12-29T18:08:46.000Z | #define CATCH_CONFIG_MAIN
#include "mycatch.hpp"
#include "foo.hpp"
TEST_CASE("Testing works", "[works]")
{
REQUIRE(2 > 3);
}
| 12.090909 | 37 | 0.661654 | PhilipDaniels |
080e32a0c1261e77869375530610f956681a9dda | 2,283 | cpp | C++ | gym/101190/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/101190/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/101190/E.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#ifdef DGC
#include "debug.h"
#else
#define debug(...)
#endif
typedef long long ll;
typedef long double ld;
typedef complex<ll> point;
#define F first
#define S second
struct info
{
ll a, b;
};
int main()
{
#ifdef DGC
freopen("a.txt", "r", stdin);
//freopen("b.txt... | 17.037313 | 73 | 0.505475 | albexl |
080ef9b7d80aaaad57c68515a6eeeef80697a3cb | 545 | cpp | C++ | algorithm/kmp.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | algorithm/kmp.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | algorithm/kmp.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<string>
using namespace std;
string s1, s2;
void kmp()
{
string new_s = s2+"#"+s1;
vector<int> prefix_func(new_s.size());
for(int i = 1; i < new_s.size(); i++)
{
int j = prefix_func[i-1];
while(j>0&&new_s[j]!=new_s[i]) j=prefix_func[j-1];
... | 18.166667 | 58 | 0.522936 | freedomDR |
0812f9fe0d02c6d8e4cfe9bb47c354b503f81d57 | 1,294 | cpp | C++ | uva.onlinejudge.org/TheTwinTowers.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | uva.onlinejudge.org/TheTwinTowers.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | uva.onlinejudge.org/TheTwinTowers.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1007
Name: The Twin Towers
Number: 10066
Date: 22/08/2014
*/
#include <bits/stdc++.h>
#define MAX_INT 2147483647
#define MAX_LONG 9223372036854775807ll
... | 23.962963 | 114 | 0.564142 | facug91 |
081396bdef5c61cb3eccd6f19a0c2fe9e838fed5 | 8,925 | cpp | C++ | test/omp/test_omp_external_distance_interaction.cpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | null | null | null | test/omp/test_omp_external_distance_interaction.cpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 2 | 2020-04-07T11:41:45.000Z | 2020-04-08T10:01:38.000Z | test/omp/test_omp_external_distance_interaction.cpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | null | null | null | #define BOOST_TEST_MODULE "test_omp_external_distance_interaction"
#ifdef BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#else
#include <boost/test/included/unit_test.hpp>
#endif
#include <mjolnir/math/math.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#includ... | 41.901408 | 132 | 0.643249 | yutakasi634 |
0819301c98d806c431bdf1c95c36fa35d20f7475 | 3,400 | hpp | C++ | IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | 1 | 2020-09-03T17:11:47.000Z | 2020-09-03T17:11:47.000Z | IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#pragma once
#include "Compiler/MetaDataUtilsWrapper.h"
#include "common/LLVMWarn... | 35.789474 | 88 | 0.632059 | ConiKost |
08196178478447608c42dee8386ed18a7bd59944 | 26,759 | hpp | C++ | src/sframe/sframe.hpp | karthikdash/turicreate | 86a6d9a339a77b7b55f67233352da0e7471400bc | [
"BSD-3-Clause"
] | 1 | 2018-04-11T19:06:57.000Z | 2018-04-11T19:06:57.000Z | src/sframe/sframe.hpp | karthikdash/turicreate | 86a6d9a339a77b7b55f67233352da0e7471400bc | [
"BSD-3-Clause"
] | null | null | null | src/sframe/sframe.hpp | karthikdash/turicreate | 86a6d9a339a77b7b55f67233352da0e7471400bc | [
"BSD-3-Clause"
] | 1 | 2019-01-12T01:07:34.000Z | 2019-01-12T01:07:34.000Z | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef TURI_UNITY_LIB_SFRAME_HPP
#define TURI_UNITY_LIB_SFRAME_HPP
#include <iostream>
#include <al... | 34.394602 | 96 | 0.630704 | karthikdash |
081fb04b87b9bf4a565b7e4702c1a2608373d1cc | 67 | cpp | C++ | core/Instruments/AnalogDrums/AnalogDrum.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | core/Instruments/AnalogDrums/AnalogDrum.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | core/Instruments/AnalogDrums/AnalogDrum.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | 1 | 2022-03-29T19:45:51.000Z | 2022-03-29T19:45:51.000Z | //
// Created by ibelikov on 23.12.19.
//
#include "AnalogDrum.h"
| 11.166667 | 35 | 0.641791 | ferluht |
0827622e6748b8e62d1effaf51041b021fb28ab8 | 794 | cpp | C++ | src/diff/deltas/asset_type_2_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | 3 | 2017-07-02T08:33:22.000Z | 2019-03-16T00:48:11.000Z | src/diff/deltas/asset_type_2_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | null | null | null | src/diff/deltas/asset_type_2_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | null | null | null | #include "asset_type_2_delta.hpp"
#include "../../json_writer.hpp"
namespace zizany {
asset_type_2_delta::asset_type_2_delta(const int asset_id_, const int old_type_2_, const int new_type_2_)
: asset_id(asset_id_), old_type_2(old_type_2_), new_type_2(new_type_2_) {
}
void
asset_type_2_del... | 29.407407 | 109 | 0.675063 | kmichel |
082764dadca0c252f699262421dec95cb44715f2 | 1,438 | hpp | C++ | libobs-for-HQ-Windows/libobs/util/dstr.hpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 45 | 2019-01-09T01:50:12.000Z | 2021-08-09T20:51:22.000Z | libobs-for-HQ-Windows/libobs/util/dstr.hpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 8 | 2019-01-14T10:30:55.000Z | 2021-06-16T11:38:39.000Z | Agora-Live-Shop-Windows/obs-studio/include/util/dstr.hpp | AgoraIO/Live-Shop-Use-Case | 75b27587d282ad99f3d072e2ec7a2569705083a8 | [
"MIT"
] | 24 | 2019-02-15T17:24:23.000Z | 2021-09-09T23:45:19.000Z | /*
* Copyright (c) 2014 Hugh Bailey <obs.jim@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... | 28.76 | 75 | 0.697497 | jayliu1989 |
082a0dec5a4414f0ce972588177e96140b513227 | 1,130 | cpp | C++ | libsnn/src/loss/hillinger.cpp | rahulsrma26/simpleNN | 4a8858df503336ce5cf00850d89015e93e07cb36 | [
"MIT"
] | 11 | 2019-11-02T13:48:36.000Z | 2020-03-06T22:57:40.000Z | libsnn/src/loss/hillinger.cpp | rahulsrma26/simpleAI | 4a8858df503336ce5cf00850d89015e93e07cb36 | [
"MIT"
] | 1 | 2019-12-13T15:08:55.000Z | 2019-12-15T17:16:08.000Z | libsnn/src/loss/hillinger.cpp | rahulsrma26/simpleAI | 4a8858df503336ce5cf00850d89015e93e07cb36 | [
"MIT"
] | null | null | null | #include "snn/loss/hillinger.hpp"
namespace snn {
namespace losses {
constexpr real h_eps = 1e-5f;
hillinger::hillinger(const kwargs& args) { std::ignore = args; }
std::string hillinger::type() { return TEXT::HILLINGER; }
std::string hillinger::name() const { return this->type(); }
real hillinger::f(... | 28.974359 | 81 | 0.567257 | rahulsrma26 |
082bf53f1d88f591ebf74b485c0f627e0453b678 | 527 | cpp | C++ | Source/restrict.cpp | mikeeq/devilution-nx | d59170c5f1ab884b0539ec38bbfc8655ea9866b8 | [
"Unlicense"
] | 878 | 2019-07-01T11:52:52.000Z | 2022-02-20T21:31:45.000Z | Source/restrict.cpp | mikeeq/devilution-nx | d59170c5f1ab884b0539ec38bbfc8655ea9866b8 | [
"Unlicense"
] | 29 | 2019-07-01T22:43:59.000Z | 2021-12-06T09:32:17.000Z | Source/restrict.cpp | mikeeq/devilution-nx | d59170c5f1ab884b0539ec38bbfc8655ea9866b8 | [
"Unlicense"
] | 79 | 2019-07-01T13:01:43.000Z | 2021-12-06T08:52:52.000Z | #include "diablo.h"
DEVILUTION_BEGIN_NAMESPACE
BOOL SystemSupported()
{
return TRUE;
}
BOOL RestrictedTest()
{
#ifndef SWITCH
FILE *f;
char Buffer[MAX_PATH];
BOOL ret = FALSE;
if (SystemSupported() && GetWindowsDirectory(Buffer, sizeof(Buffer))) {
strcat(Buffer, "\\Diablo1RestrictedTest.foo");
f = f... | 12.853659 | 72 | 0.664137 | mikeeq |
082ccc3a9c7bcc14fa687824a82bb5879e39d530 | 1,099 | cpp | C++ | pwiz/utility/bindings/SWIG/python_pwiz_RAMPAdapter.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | pwiz/utility/bindings/SWIG/python_pwiz_RAMPAdapter.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | pwiz/utility/bindings/SWIG/python_pwiz_RAMPAdapter.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 4 | 2016-02-03T09:41:16.000Z | 2021-08-01T18:42:36.000Z | //
// python_pwiz_RAMPAdapter.cpp
//
// $Id: python_pwiz_RAMPAdapter.cpp 3300 2012-02-15 22:38:20Z chambm $
//
// a lightweight wrapper allowing SWIG to wrap some useful pwiz code
// Q: why a wrapper wrapper? A: SWIG can't handle namespaces
//
//
// Original author: Brian Pratt <Brian.Pratt@insilicos.com>
//... | 35.451613 | 77 | 0.720655 | edyp-lab |
082de51b2466a3d550828e03f9ba9d304e9ae335 | 6,537 | cpp | C++ | heart/src/components/hEntityFactory.cpp | JoJo2nd/Heart | 4b50dfa6cbf87d32768f6c01b578bc1b23c18591 | [
"BSD-3-Clause"
] | 1 | 2016-05-14T09:22:26.000Z | 2016-05-14T09:22:26.000Z | heart/src/components/hEntityFactory.cpp | JoJo2nd/Heart | 4b50dfa6cbf87d32768f6c01b578bc1b23c18591 | [
"BSD-3-Clause"
] | null | null | null | heart/src/components/hEntityFactory.cpp | JoJo2nd/Heart | 4b50dfa6cbf87d32768f6c01b578bc1b23c18591 | [
"BSD-3-Clause"
] | null | null | null | /********************************************************************
Written by James Moran
Please see the file HEART_LICENSE.txt in the source's root directory.
*********************************************************************/
#pragma once
#include "components/hEntityFactory.h"
#include "base/hUUID.h"
#... | 43.58 | 157 | 0.707052 | JoJo2nd |
082e073c4a0e6203ee39e170ddc5f4e8270d6d2c | 926 | cpp | C++ | Tareas/Tarea #2/Factura.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | Tareas/Tarea #2/Factura.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | Tareas/Tarea #2/Factura.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, char** argv) {
double subtotal = 0;
double total = 0;
double impuesto = 0.15;
int descuento = 0;
char facturaExenta;
double calculoDescuento = 0;
double calculoImpuesto = 0;
cout << " Ingrese el subtotal de la factura: ";
... | 23.15 | 63 | 0.588553 | JDaniel1010 |
0831e05a3c32abd2ae33c73902806a15beda0125 | 3,199 | cpp | C++ | a1022/main.cpp | Ji-Yuhang/pat_cpp | 100525878db4119eaa4be25ef192af9a3b9543bd | [
"MIT"
] | null | null | null | a1022/main.cpp | Ji-Yuhang/pat_cpp | 100525878db4119eaa4be25ef192af9a3b9543bd | [
"MIT"
] | null | null | null | a1022/main.cpp | Ji-Yuhang/pat_cpp | 100525878db4119eaa4be25ef192af9a3b9543bd | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <map>
#include <set>
#include <algorithm>
using namespace std;
// 1022 Digital Library
struct Book{
string id;
string title;
string author;
vector<string> keys;
string publisher;
string year;
};
//Line #1: the 7... | 30.179245 | 157 | 0.538918 | Ji-Yuhang |
0832797a2656e085e8c60dd8f647e1b5ca1e84c9 | 6,486 | hxx | C++ | include/itkRSHReconImageFilter.hxx | bloyl/DiffusionImagingTK | 0516d32b7b0d41ed161134812746ef02aab000de | [
"Apache-2.0"
] | 4 | 2016-01-09T19:02:28.000Z | 2017-07-31T19:41:32.000Z | include/itkRSHReconImageFilter.hxx | bloyl/DiffusionImagingTK | 0516d32b7b0d41ed161134812746ef02aab000de | [
"Apache-2.0"
] | null | null | null | include/itkRSHReconImageFilter.hxx | bloyl/DiffusionImagingTK | 0516d32b7b0d41ed161134812746ef02aab000de | [
"Apache-2.0"
] | 2 | 2016-08-06T00:58:26.000Z | 2019-02-18T01:03:13.000Z | /*=========================================================================
*
* Copyright Section of Biomedical Image Analysis
* University of Pennsylvania
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 34.136842 | 110 | 0.721708 | bloyl |
0832acd08611e58252d192cd7d9a5636aafd0d2a | 10,212 | cc | C++ | components/download/public/task/task_manager_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/download/public/task/task_manager_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/download/public/task/task_manager_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/download/public/task/task_manager_impl.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/bind.h"
#include ... | 36.733813 | 80 | 0.749608 | chromium |
083840e8fbd13209fa104b0f4668efe7d663d3a0 | 472 | hpp | C++ | src/utils/nd_bool_array.hpp | ut-amrl/pips | 1f553dc850f8c27a460f020d91b35c8a18c479bb | [
"MIT"
] | null | null | null | src/utils/nd_bool_array.hpp | ut-amrl/pips | 1f553dc850f8c27a460f020d91b35c8a18c479bb | [
"MIT"
] | null | null | null | src/utils/nd_bool_array.hpp | ut-amrl/pips | 1f553dc850f8c27a460f020d91b35c8a18c479bb | [
"MIT"
] | null | null | null | // Copyright (c) Jarrett Holtz. All rights reserved.
// Licensed under the MIT License.
#include <vector>
class nd_bool_array {
const std::vector<size_t> dims_;
std::vector<bool> data_;
public:
nd_bool_array(const std::vector<size_t>& dims);
bool get(const std::vector<size_t>& coords) const;
void set(cons... | 24.842105 | 66 | 0.720339 | ut-amrl |
083b5eb371943035be1536423b5f9d70620737f3 | 2,133 | cpp | C++ | tools/export/export.cpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | tools/export/export.cpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | tools/export/export.cpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- tools/export/export.cpp --------------------------------------------===//
//* _ *
//* _____ ___ __ ___ _ __| |_ *
//* / _ \ \/ / '_ \ / _ \| '__| __| *
//* | __/> <| |_) | (_) | | | |_ *
//* \___/_/\_\ .__/ \___/|_| \__| *
//* |_| *
//===... | 33.857143 | 94 | 0.534459 | paulhuggett |
083c40e6225df441704e84f55c2af4808fcb9257 | 1,496 | cpp | C++ | legacy/tools/dtkDistributedServer/main.cpp | papadop/dtk | 5d5bd7234987f01a23fbc6c7414a21c15e1455ab | [
"BSD-3-Clause"
] | null | null | null | legacy/tools/dtkDistributedServer/main.cpp | papadop/dtk | 5d5bd7234987f01a23fbc6c7414a21c15e1455ab | [
"BSD-3-Clause"
] | null | null | null | legacy/tools/dtkDistributedServer/main.cpp | papadop/dtk | 5d5bd7234987f01a23fbc6c7414a21c15e1455ab | [
"BSD-3-Clause"
] | 1 | 2020-04-21T14:41:52.000Z | 2020-04-21T14:41:52.000Z | /* @(#)main.cpp ---
*
* Author: Nicolas Niclausse
* Copyright (C) 2012 - Nicolas Niclausse, Inria.
* Created: 2012/04/03 14:41:29
* Version: $Id$
* Last-Updated: mer. avril 25 13:08:30 2012 (+0200)
* By: Nicolas Niclausse
* Update #: 13
*/
/* Commentary:
*
*/
/* Change log:
*
*/
#include ... | 23.746032 | 93 | 0.644385 | papadop |
083da310246009436e6aa707c20423d5e1019167 | 7,616 | cpp | C++ | tests/integration/pipelining_tests/pipeline_recompute_ir_test_2.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/pipelining_tests/pipeline_recompute_ir_test_2.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/pipelining_tests/pipeline_recompute_ir_test_2.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#define BOOST_TEST_MODULE PipelineRecomputeIrTest2
#include <memory>
#include "pipeline_recompute_string.hpp"
#include <boost/test/unit_test.hpp>
#include <filereader.hpp>
#include <popart/builder.hpp>
#include <popart/dataflow.hpp>
#include <popart/graph.hpp>... | 35.423256 | 79 | 0.481749 | gglin001 |
083eb282c9bfcfe896f58fd64a0b9a969b60addd | 437 | hpp | C++ | AddinCfy/utils.hpp | eehlers/QuantLibAddin | bcbd9d1c0e7a4f4ce608470c6576d6e772305980 | [
"BSD-3-Clause"
] | 5 | 2016-07-13T14:05:01.000Z | 2022-01-24T15:15:17.000Z | AddinCfy/utils.hpp | eehlers/QuantLibAddin | bcbd9d1c0e7a4f4ce608470c6576d6e772305980 | [
"BSD-3-Clause"
] | null | null | null | AddinCfy/utils.hpp | eehlers/QuantLibAddin | bcbd9d1c0e7a4f4ce608470c6576d6e772305980 | [
"BSD-3-Clause"
] | 12 | 2016-01-28T07:18:28.000Z | 2021-11-15T03:48:52.000Z |
#ifndef addincfy_utils_hpp
#define addincfy_utils_hpp
#include <vector>
#include "FlyLib/FlyLib_Types.h"
#include <rp/property.hpp>
namespace QuantLib {
class Date;
};
std::vector<bool> f6(FLYLIB_OPAQUE);
std::vector<long> f2(FLYLIB_OPAQUE);
std::vector<double> f1(FLYLIB_OPAQUE);
std::vector<std::string> f4(FLYLIB_... | 19.863636 | 51 | 0.764302 | eehlers |
083f7f46147b7fa40de49d41801d7fd0945af81a | 1,481 | hpp | C++ | include/eschaton/eschaton.hpp | ortfero/eschaton | abc1ce77dd96105208a4563edba7550880ca8530 | [
"MIT"
] | null | null | null | include/eschaton/eschaton.hpp | ortfero/eschaton | abc1ce77dd96105208a4563edba7550880ca8530 | [
"MIT"
] | null | null | null | include/eschaton/eschaton.hpp | ortfero/eschaton | abc1ce77dd96105208a4563edba7550880ca8530 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <chrono>
#include <tuple>
#ifndef HAS_UNCAUGHT_EXCEPTIONS
#define HAS_UNCAUGHT_EXCEPTIONS 1
#endif
#include <date/date.h>
namespace eschaton {
using system_time = std::chrono::system_clock::time_point;
using system_duration = std::chrono::system_clock::duration;
using tim... | 25.534483 | 91 | 0.713032 | ortfero |
08422fbda571158a4d48978ee6f2f69cc524da80 | 26,750 | cpp | C++ | lib/Greenspun/Interpreter.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | lib/Greenspun/Interpreter.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | lib/Greenspun/Interpreter.cpp | LLcat1217/arangodb | 67c51272915699e0a489e1f8d9da786f4226221a | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 31.032483 | 80 | 0.608037 | LLcat1217 |
084279133dea1dbd01db23f8ca48ac8d9ac4b95a | 3,075 | cpp | C++ | include/Lexer.cpp | Thomilist/math-converter | d0028f5096921fa34e9b4b1ddd086812ec5732f5 | [
"MIT"
] | null | null | null | include/Lexer.cpp | Thomilist/math-converter | d0028f5096921fa34e9b4b1ddd086812ec5732f5 | [
"MIT"
] | null | null | null | include/Lexer.cpp | Thomilist/math-converter | d0028f5096921fa34e9b4b1ddd086812ec5732f5 | [
"MIT"
] | null | null | null | #include "Lexer.hpp"
namespace mcon
{
Lexer::Lexer(
std::unique_ptr<CharacterStream> const &a_character_stream,
std::unique_ptr<CharacterSet> const &a_character_set
):
character_set(a_character_set),
character_stream(a_character_stream)
{
}
Lexer::~Lexer()... | 34.166667 | 100 | 0.541138 | Thomilist |
0842810492eff06872223655a9a0dfdbe6244c76 | 3,632 | cpp | C++ | DotNetLibrary/src/Int32Value.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | DotNetLibrary/src/Int32Value.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | DotNetLibrary/src/Int32Value.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 LLambert
//
// 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,
// publish, dist... | 31.582609 | 94 | 0.71696 | lambertlb |
36b041859da7a7627fafaa9f402e464b40a6cd3e | 744 | hpp | C++ | Sources/etwprof/OS/ETW/ETWSessionCommon.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 38 | 2018-06-11T19:09:16.000Z | 2022-03-17T04:15:15.000Z | Sources/etwprof/OS/ETW/ETWSessionCommon.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 12 | 2018-06-12T20:24:05.000Z | 2021-07-31T18:28:48.000Z | Sources/etwprof/OS/ETW/ETWSessionCommon.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 5 | 2019-02-23T04:11:03.000Z | 2022-03-17T04:15:18.000Z | #ifndef ETWP_ETW_SESSION_COMMON_HPP
#define ETWP_ETW_SESSION_COMMON_HPP
#include <windows.h>
#include <evntrace.h>
#include <memory>
#include <string>
namespace ETWP {
bool StopETWSession (TRACEHANDLE hSession, const std::wstring& name, PEVENT_TRACE_PROPERTIES pProperties);
bool StartRealTimeETWSession (const std::... | 32.347826 | 106 | 0.685484 | Donpedro13 |
36b2393fa5390cb0fefe620a0ab3f3b823039779 | 535 | cpp | C++ | testsuite/tests/alldatadisposedlistener_dds1619/dds1619_A_proc1.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | testsuite/tests/alldatadisposedlistener_dds1619/dds1619_A_proc1.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | testsuite/tests/alldatadisposedlistener_dds1619/dds1619_A_proc1.cpp | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z | #include "CPPProc1.h"
int main (int argc, char *argv[])
{
int test_result = 0;
// default the process name to exe name
CPPProc1 dds1619_A_proc1 ("ccpp_alldatadisposedlistener_dds1619_proc1");
dds1619_A_proc1.set_other_process_name ("ccpp_alldatadisposedlistener_dds1619_proc2");
try
{
... | 19.814815 | 90 | 0.663551 | brezillon |
36b242d03dbd8b79c3f56e6b06612b0750f3981b | 1,190 | cpp | C++ | Sorting/quick.cpp | fossabot/Algorithms | 53a2abb8e9b47a84ead93f84cbff31352d0f6668 | [
"MIT"
] | null | null | null | Sorting/quick.cpp | fossabot/Algorithms | 53a2abb8e9b47a84ead93f84cbff31352d0f6668 | [
"MIT"
] | null | null | null | Sorting/quick.cpp | fossabot/Algorithms | 53a2abb8e9b47a84ead93f84cbff31352d0f6668 | [
"MIT"
] | 1 | 2020-04-17T04:55:06.000Z | 2020-04-17T04:55:06.000Z | /* Quick Sort = O(n log n) */
#include<iostream>
using namespace std;
template <typename T>
void quick(T arr[],int f,int l){
int left, right, t, pivot = 0;
if (f < l) {
pivot = f;
left = f;
right = l;
while (left < right) {
while (arr[left] <= arr[pivot] && left ... | 18.030303 | 59 | 0.453782 | fossabot |
36b55ce1816fe3c54955cef0595b31d4653ca121 | 2,542 | cpp | C++ | apps/Quant/quantcontroller.cpp | ekoeppen/RDCL | bc8efd0577f8ee231ebdab1e330dde106ff92b15 | [
"BSD-3-Clause"
] | 3 | 2016-01-09T11:40:36.000Z | 2018-04-07T18:12:13.000Z | apps/Quant/quantcontroller.cpp | ekoeppen/RDCL | bc8efd0577f8ee231ebdab1e330dde106ff92b15 | [
"BSD-3-Clause"
] | null | null | null | apps/Quant/quantcontroller.cpp | ekoeppen/RDCL | bc8efd0577f8ee231ebdab1e330dde106ff92b15 | [
"BSD-3-Clause"
] | null | null | null | #include <QFileDialog>
#include <QDebug>
#include "mainwindow.h"
#include "quantcontroller.h"
#include "settingsdialog.h"
#ifdef Q_WS_WIN
#include "quantcontrollerwindows.h"
#else
#include "quantcontrollerposix.h"
#endif
QuantController *QuantController::controllerFactory(MainWindow *aMainWindow)
{
#ifdef... | 21.542373 | 104 | 0.684894 | ekoeppen |
36b64d7611223a2a607e21c7d71612ab1baa01ec | 391 | cpp | C++ | poprithms/poprithms/src/poprithms/memory/chain/logging.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | 24 | 2020-07-06T17:11:30.000Z | 2022-01-01T07:39:12.000Z | poprithms/poprithms/src/poprithms/memory/chain/logging.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | null | null | null | poprithms/poprithms/src/poprithms/memory/chain/logging.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | 2 | 2020-07-15T12:33:22.000Z | 2021-07-27T06:07:16.000Z | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#include <poprithms/logging/logging.hpp>
#include <poprithms/memory/chain/logging.hpp>
namespace poprithms {
namespace memory {
namespace chain {
poprithms::logging::Logger &log() {
static poprithms::logging::Logger logger("memory::chain");
return logger;
... | 23 | 60 | 0.73913 | graphcore |
36b8f1075415da3e489d32e067cffbcf25828afd | 5,438 | hpp | C++ | src/rule/tile-type.hpp | drelatgithub/mahjong-calc | fee7a938ebbc4952ab703d95c628890a48d5125a | [
"MIT"
] | null | null | null | src/rule/tile-type.hpp | drelatgithub/mahjong-calc | fee7a938ebbc4952ab703d95c628890a48d5125a | [
"MIT"
] | null | null | null | src/rule/tile-type.hpp | drelatgithub/mahjong-calc | fee7a938ebbc4952ab703d95c628890a48d5125a | [
"MIT"
] | null | null | null | #ifndef MAHJCALC_RULE_TILE_TYPE_HPP
#define MAHJCALC_RULE_TILE_TYPE_HPP
#include <cstdint>
#include <type_traits>
#include "common.hpp"
namespace mahjcalc {
constexpr size_t num_tile_types_total = 35; // Including Undefined
// Red Doras are not considered here
enum class TileType {
M1, M2, M3, M4, M5, M6, M7, ... | 33.9875 | 105 | 0.622839 | drelatgithub |
36b9a7bef0b30507baeef49c4f709dc360c6f002 | 1,433 | cpp | C++ | Tree/Lowestcommonancestor.cpp | Anirban166/GeeksforGeeks | 3b0f4a5a5c9476477e5920692258c097b20b64a0 | [
"MIT"
] | 19 | 2019-07-22T06:23:36.000Z | 2021-09-12T13:01:41.000Z | Tree/Lowestcommonancestor.cpp | Anirban166/GeeksforGeeks | 3b0f4a5a5c9476477e5920692258c097b20b64a0 | [
"MIT"
] | null | null | null | Tree/Lowestcommonancestor.cpp | Anirban166/GeeksforGeeks | 3b0f4a5a5c9476477e5920692258c097b20b64a0 | [
"MIT"
] | 3 | 2019-10-10T03:41:06.000Z | 2020-05-05T08:27:46.000Z | #include<bits/stdc++.h>
using namespace std;
struct Node {
int data;
Node* right;
Node* left;
Node(int x){
data = x;
right = NULL;
left = NULL;
}
};
void insert(Node ** tree, int val)
{
Node *temp = NULL;
if(!(*tree))
{
*tree = new Node(val);
... | 17.47561 | 81 | 0.486392 | Anirban166 |
36bc0edc5c1e7019d82cda76f0c173923b325d24 | 3,249 | hh | C++ | src/GroupDomain_cube.hh | lucjaulmes/FaultSim-A-Memory-Reliability-Simulator | fac1cee8780c5cb783f2ffcc25682b9e0172b11e | [
"BSD-3-Clause"
] | null | null | null | src/GroupDomain_cube.hh | lucjaulmes/FaultSim-A-Memory-Reliability-Simulator | fac1cee8780c5cb783f2ffcc25682b9e0172b11e | [
"BSD-3-Clause"
] | null | null | null | src/GroupDomain_cube.hh | lucjaulmes/FaultSim-A-Memory-Reliability-Simulator | fac1cee8780c5cb783f2ffcc25682b9e0172b11e | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2015, Advanced Micro Devices, Inc. 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 list of conditions and t... | 33.153061 | 120 | 0.794398 | lucjaulmes |
36be82a2802978cfdc56bac2ee6566f55d8d96e8 | 1,653 | hpp | C++ | Offer_015/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null | Offer_015/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null | Offer_015/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null | #ifndef __SOLUTION_HPP__
#define __SOLUTION_HPP__
#include "./ListNode.hpp"
class Solution {
public:
ListNode* Merge(ListNode* pHead1, ListNode* pHead2);
};
ListNode* Solution::Merge(ListNode* pHead1, ListNode* pHead2)
{
ListNode *pCurr1=nullptr,*pCurr2=nullptr;
ListNode* pHead=nullptr;
ListNode* pT... | 19.678571 | 76 | 0.502722 | DreamWaterFound |
36c0ce9909908ed6fa6008b8453fd840eee0cc2e | 3,434 | cc | C++ | mindspore/ccsrc/minddata/dataset/kernels/ir/vision/random_posterize_ir.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | 1 | 2021-11-19T14:21:45.000Z | 2021-11-19T14:21:45.000Z | mindspore/ccsrc/minddata/dataset/kernels/ir/vision/random_posterize_ir.cc | LaiYongqiang/mindspore | 1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/minddata/dataset/kernels/ir/vision/random_posterize_ir.cc | LaiYongqiang/mindspore | 1b7a38ccd86b55af50a0ea55c7f2f43813ed3e0e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020-2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 38.155556 | 115 | 0.752475 | Greatpanc |
36c244ea95072445e74ec096bb4a6e850690009c | 1,704 | cpp | C++ | src/Viewer/tst/Segment2DSubsegments.unit.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/Viewer/tst/Segment2DSubsegments.unit.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/Viewer/tst/Segment2DSubsegments.unit.cpp | bakonyidani/Windows-CalcEngine | afa4c4a9f88199c6206af8bc994a073931fc8b91 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <memory>
#include <gtest/gtest.h>
#include <memory>
#include <vector>
#include "WCEViewer.hpp"
using namespace Viewer;
class TestSegment2DSubsegments : public testing::Test {
protected:
virtual void SetUp() {
}
};
TEST_F( TestSegment2DSubsegments, Segment2DTest1 ) {
SCOPED_TRACE( "Begin Test: Segme... | 27.934426 | 110 | 0.664906 | bakonyidani |
36c782d74d02e318d5d59adadd72f5184bddca75 | 1,782 | cpp | C++ | Upsolving/URI/1025.cpp | rodrigoAMF7/Notebook---Maratonas | 06b38197a042bfbd27b20f707493e0a19fda7234 | [
"MIT"
] | 4 | 2019-01-25T21:22:55.000Z | 2019-03-20T18:04:01.000Z | Upsolving/URI/1025.cpp | rodrigoAMF/competitive-programming-notebook | 06b38197a042bfbd27b20f707493e0a19fda7234 | [
"MIT"
] | null | null | null | Upsolving/URI/1025.cpp | rodrigoAMF/competitive-programming-notebook | 06b38197a042bfbd27b20f707493e0a19fda7234 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
// Nome de Tipos
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
// Valores
#define INF 0x3F3F3F3F
#define LINF 0x3F3F3F3F3F3F3F3FLL
#define DINF (double)1e+30
#define EPS (double)1e-9
#define RAD(x) (double)(x*PI)/180.0
#define PCT(x,y) (double)x*100.0/y
// Ata... | 19.16129 | 54 | 0.570146 | rodrigoAMF7 |
36cd25104f9088fa3393b26bea86e5da5d2075f7 | 329 | cpp | C++ | livro/cap_03 (finalizado)/02_ano_bissexto.cpp | sueyvid/Atividade_de_programacao_cpp | 691941fc94125eddd4e5466862d5a1fe04dfb520 | [
"MIT"
] | null | null | null | livro/cap_03 (finalizado)/02_ano_bissexto.cpp | sueyvid/Atividade_de_programacao_cpp | 691941fc94125eddd4e5466862d5a1fe04dfb520 | [
"MIT"
] | null | null | null | livro/cap_03 (finalizado)/02_ano_bissexto.cpp | sueyvid/Atividade_de_programacao_cpp | 691941fc94125eddd4e5466862d5a1fe04dfb520 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int ano;
bool eh_bissexto;
cin >> ano;
eh_bissexto = ((ano%4 == 0 && !(ano%100 == 0)) || ano%400 == 0);
if(eh_bissexto){
cout << ano << " e um ano bissexto";
}
else{
cout << ano << " nao e um ano bissexto";
}
re... | 17.315789 | 68 | 0.50152 | sueyvid |
36d33c3f56c0b85d99f4e4671415bd696e0d01d1 | 19,061 | cpp | C++ | source/loonyland/endgame.cpp | AutomaticFrenzy/HamSandwich | d991c840fd688cb2541806a33f152ba9aac41a1a | [
"MIT"
] | null | null | null | source/loonyland/endgame.cpp | AutomaticFrenzy/HamSandwich | d991c840fd688cb2541806a33f152ba9aac41a1a | [
"MIT"
] | null | null | null | source/loonyland/endgame.cpp | AutomaticFrenzy/HamSandwich | d991c840fd688cb2541806a33f152ba9aac41a1a | [
"MIT"
] | null | null | null | #include "endgame.h"
#include "display.h"
#include "player.h"
#include "fireworks.h"
#include "badge.h"
#include "bossbash.h"
#include "highscore.h"
#include "log.h"
char rankText[][32]={
"Scalliwag",
"Cad",
"Ruffian",
"Weenie",
"Peon",
"Peasant",
"Citizen",
"Upper Crust",
"High Class",
"Knight",
"Baron",
... | 23.132282 | 87 | 0.627826 | AutomaticFrenzy |
36d3addf468bd4ab1783ae5b617426e702dfe553 | 3,039 | hh | C++ | src/clang_tu.hh | SysRay/ccls | daac41a52be06822f2c93407bd5ff8384b0329f8 | [
"Apache-2.0"
] | null | null | null | src/clang_tu.hh | SysRay/ccls | daac41a52be06822f2c93407bd5ff8384b0329f8 | [
"Apache-2.0"
] | null | null | null | src/clang_tu.hh | SysRay/ccls | daac41a52be06822f2c93407bd5ff8384b0329f8 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017-2018 ccls Authors
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 writing, software... | 32.677419 | 80 | 0.654163 | SysRay |
36d5280e189a823721c5bd19846b120eb11d98ba | 12,656 | cc | C++ | src/game/Strategic/QuestText.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 346 | 2016-02-16T11:17:25.000Z | 2022-03-28T18:18:14.000Z | src/game/Strategic/QuestText.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 1,119 | 2016-02-14T23:19:56.000Z | 2022-03-31T21:57:58.000Z | src/game/Strategic/QuestText.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 90 | 2016-02-17T22:17:11.000Z | 2022-03-12T11:59:56.000Z | #include "Types.h"
#include "QuestText.h"
#include "Quests.h"
const ST::string QuestDescText[] =
{
"Deliver Letter",
"Food Route",
"Terrorists",
"Kingpin Chalice",
"Kingpin Money",
"Runaway Joey",
"Rescue Maria",
"Chitzena Chalice",
"Held in Alma",
"Interogation",
"Hillbilly Problem", //10
"Find S... | 21.093333 | 90 | 0.591182 | FluffyQuack |
36d7a391b698a64e5b35e2b5024bc8b651ea9e3e | 14,085 | cpp | C++ | osquery/tables/manual/filesystem.cpp | bowlofstew/osquery | 77d4777eedc9a63329ce5dd9a5142eaab1b4cda0 | [
"BSD-3-Clause"
] | null | null | null | osquery/tables/manual/filesystem.cpp | bowlofstew/osquery | 77d4777eedc9a63329ce5dd9a5142eaab1b4cda0 | [
"BSD-3-Clause"
] | null | null | null | osquery/tables/manual/filesystem.cpp | bowlofstew/osquery | 77d4777eedc9a63329ce5dd9a5142eaab1b4cda0 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2004-present Facebook. All Rights Reserved.
#include "osquery/tables/manual/filesystem.h"
#include <string>
#include <vector>
#include <iostream>
#include <cstring>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
namespace fs = boost::filesystem;
/*
** Definition of the... | 33.615752 | 80 | 0.69322 | bowlofstew |
36d89906b5ba9e66ffcae5b71fc944eb4c5a5d4a | 28,876 | cpp | C++ | third_party/occmapping/src/robustoctree.cpp | SRI-IPS/general-tools | b3113cbcf83c3a430c630d050d1b96e722dfb043 | [
"BSD-3-Clause"
] | null | null | null | third_party/occmapping/src/robustoctree.cpp | SRI-IPS/general-tools | b3113cbcf83c3a430c630d050d1b96e722dfb043 | [
"BSD-3-Clause"
] | null | null | null | third_party/occmapping/src/robustoctree.cpp | SRI-IPS/general-tools | b3113cbcf83c3a430c630d050d1b96e722dfb043 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2013-2014, Konstantin Schauwecker
*
* This code is based on the original OctoMap implementation. The original
* copyright notice and source code license are as follows:
*
* Copyright (c) 2009-2013, K.M. Wurm and A. Hornung, University of Freiburg
* All rights reserved.
* License: New BSD
*
... | 38.968961 | 100 | 0.659717 | SRI-IPS |
36d8a1efb7fd96f399a9902441662899f9db2bfe | 1,301 | cxx | C++ | Src/Neill3d_Archive/userobject_normalSolver/solver_normals.cxx | musterchef/OpenMoBu | b98e9f8d6182d84e54da1b790bbe69620ea818de | [
"BSD-3-Clause"
] | 53 | 2018-04-21T14:16:46.000Z | 2022-03-19T11:27:37.000Z | Src/Neill3d_Archive/userobject_normalSolver/solver_normals.cxx | musterchef/OpenMoBu | b98e9f8d6182d84e54da1b790bbe69620ea818de | [
"BSD-3-Clause"
] | 6 | 2019-06-05T16:37:29.000Z | 2021-09-20T07:17:03.000Z | Src/Neill3d_Archive/userobject_normalSolver/solver_normals.cxx | musterchef/OpenMoBu | b98e9f8d6182d84e54da1b790bbe69620ea818de | [
"BSD-3-Clause"
] | 10 | 2019-02-22T18:43:59.000Z | 2021-09-02T18:53:37.000Z |
/////////////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the "New" BSD License.
// License page - https://github.com/Neill3d/MoBu/blob/master/LICENSE
//
// GitHub repository - https://github.com/Neill3d/MoBu
//
// Author Sergey Solokhin (Neill3d) 2014-2017
// e-... | 26.02 | 89 | 0.567256 | musterchef |
36d964a0571b9bdec37447907b20634637c26a4f | 862 | cpp | C++ | cse419/CodeForces/349A/22273399_AC_218ms_8kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 2 | 2020-09-02T12:07:47.000Z | 2020-11-17T11:17:16.000Z | cse419/CodeForces/349A/22273399_AC_218ms_8kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | null | null | null | cse419/CodeForces/349A/22273399_AC_218ms_8kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 4 | 2020-08-11T14:23:34.000Z | 2020-11-17T10:52:31.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
map<int,int>t;
bool check = true;
int n,v;
cin>>n;
for(int i=0;i<n;i++){
cin>>v;
if(v==100){
if(t[50]>=1 && t[25]>=1){
t[50]--;
t[25]--;
}
else if(t[25]>=3... | 18.73913 | 37 | 0.267981 | cosmicray001 |
36dfd3e497e94478162e3edbe06481d562332f35 | 4,189 | cpp | C++ | src/ui/VKUMainForm.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/VKUMainForm.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | src/ui/VKUMainForm.cpp | igorglotov/tizen-vk-client | de213ede7185818285f78abad36592bc864f76cc | [
"Unlicense"
] | null | null | null | #include "VKUMainForm.h"
#include "AppResourceId.h"
#include "SceneRegister.h"
#include "VKUColors.h"
#include "VKUContactsPanel.h"
#include "VKUApi.h"
#include "JsonParseUtils.h"
#include "ObjectCounter.h"
using namespace Tizen::Base;
using namespace Tizen::App;
using namespace Tizen::Ui;
using namespace Tizen::Ui::C... | 25.387879 | 129 | 0.752208 | igorglotov |
36e1ba9d1e4a83cd1fdbe3e9dbda6d6a2ca76b1c | 3,145 | cpp | C++ | Signal Flow Simulation/truetime-2.0/kernel/matlab/ttCreateTask.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | 1 | 2019-08-31T08:06:48.000Z | 2019-08-31T08:06:48.000Z | Signal Flow Simulation/truetime-2.0/kernel/matlab/ttCreateTask.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | null | null | null | Signal Flow Simulation/truetime-2.0/kernel/matlab/ttCreateTask.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | 1 | 2020-01-07T10:46:23.000Z | 2020-01-07T10:46:23.000Z | /*
* Copyright (c) 2016 Lund University
*
* Written by Anton Cervin, Dan Henriksson and Martin Ohlin,
* Department of Automatic Control LTH, Lund University, Sweden.
*
* This file is part of TrueTime 2.0.
*
* TrueTime 2.0 is free software: you can redistribute it and/or
* modify it under the terms of the GN... | 29.392523 | 100 | 0.66868 | raulest50 |
36e3e5670a02fcd3c2516626898c3f536877befe | 117 | cpp | C++ | testing/kvstore/exp_throughput.cpp | fengggli/comanche | 035f2a87e0236e9ff744c10331250dcfab835ee1 | [
"Apache-2.0"
] | null | null | null | testing/kvstore/exp_throughput.cpp | fengggli/comanche | 035f2a87e0236e9ff744c10331250dcfab835ee1 | [
"Apache-2.0"
] | 13 | 2019-06-12T17:50:29.000Z | 2019-08-08T21:15:16.000Z | testing/kvstore/exp_throughput.cpp | fengggli/comanche | 035f2a87e0236e9ff744c10331250dcfab835ee1 | [
"Apache-2.0"
] | 1 | 2019-07-26T21:39:13.000Z | 2019-07-26T21:39:13.000Z | #include "exp_throughput.h"
std::mutex ExperimentThroughput::_iops_lock;
unsigned long ExperimentThroughput::_iops;
| 23.4 | 44 | 0.82906 | fengggli |
36e70d0faa5b99e46248dc857d0fba598422590b | 1,764 | cpp | C++ | src/mbgl/shaders/collision_box.cpp | sp0n-7/mapbox-gl-native | 0df37421faeaffb83564a81a469faa099434b767 | [
"BSL-1.0",
"Apache-2.0"
] | 2 | 2018-11-28T21:38:52.000Z | 2019-04-04T19:17:05.000Z | src/mbgl/shaders/collision_box.cpp | sp0n-7/mapbox-gl-native | 0df37421faeaffb83564a81a469faa099434b767 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/shaders/collision_box.cpp | sp0n-7/mapbox-gl-native | 0df37421faeaffb83564a81a469faa099434b767 | [
"BSL-1.0",
"Apache-2.0"
] | 1 | 2020-12-26T06:09:50.000Z | 2020-12-26T06:09:50.000Z | // NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
#include <mbgl/shaders/collision_box.hpp>
#include <mbgl/shaders/source.hpp>
namespace mbgl {
namespace shaders {
const char* collision_box::name = "collision_box";
const char* collision_box::vertexSource = source() + 14428;
const char* collision_box::... | 24.84507 | 96 | 0.697279 | sp0n-7 |
36e74399e6af9a3055b96e2b58bf83365a6611c2 | 3,314 | hpp | C++ | PlayRho/Common/Real.hpp | Hexlord/PlayRho | a3a91554cf9b267894d06a996c5799a0479c5b5f | [
"Zlib"
] | 88 | 2017-07-13T18:12:40.000Z | 2022-03-23T03:43:11.000Z | PlayRho/Common/Real.hpp | Hexlord/PlayRho | a3a91554cf9b267894d06a996c5799a0479c5b5f | [
"Zlib"
] | 388 | 2017-07-13T04:32:09.000Z | 2021-11-10T20:59:23.000Z | PlayRho/Common/Real.hpp | Hexlord/PlayRho | a3a91554cf9b267894d06a996c5799a0479c5b5f | [
"Zlib"
] | 18 | 2017-07-20T16:14:57.000Z | 2021-06-20T07:17:23.000Z | /*
* Copyright (c) 2021 Louis Langholtz https://github.com/louis-langholtz/PlayRho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this... | 45.39726 | 94 | 0.742004 | Hexlord |
36e750b9077beed22edab1cb202f2df8794fb31d | 1,000 | cpp | C++ | codeforces/A - Fancy Fence/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - Fancy Fence/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - Fancy Fence/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Oct/09/2017 21:27
* solution_verdict: Accepted language: GNU C++14
* run... | 33.333333 | 111 | 0.337 | kzvd4729 |
36e76fa676db29ff8af7e32fd96821479a2873e4 | 1,038 | cpp | C++ | Miscellaneous/Dynamic Programming/wildcard.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | 24 | 2021-02-09T17:59:54.000Z | 2022-03-11T07:30:38.000Z | Miscellaneous/Dynamic Programming/wildcard.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | null | null | null | Miscellaneous/Dynamic Programming/wildcard.cpp | chirag-singhal/-Data-Structures-and-Algorithms | 9f01b5cc0f382ed59bcd74444a0be1c3aa6cd1a3 | [
"MIT"
] | 3 | 2021-06-22T03:09:49.000Z | 2022-03-09T18:25:14.000Z | #include <iostream>
int main() {
int n, m;
std::cout<<"Enter length of string : ";
std::cin>>n;
char str[n + 1];
std::cout<<"Enter string : ";
std::cin>>str;
std::cout<<"Enter length of pattern : ";
std::cin>>m;
char pat[m + 1];
std::cout<<"Enter pattern : ";
std::cin>>pa... | 22.085106 | 66 | 0.381503 | chirag-singhal |
36e77dc424ba1f1b76f4c450deba1d04c17567b9 | 1,452 | cpp | C++ | usaco/section2.4/comehome.cpp | chasingegg/Online_Judge | 8a3f4b5b207cbeda921c743a527a25bf9c7b6248 | [
"MIT"
] | 1 | 2017-10-13T10:34:46.000Z | 2017-10-13T10:34:46.000Z | usaco/section2.4/comehome.cpp | chasingegg/Online_Judge | 8a3f4b5b207cbeda921c743a527a25bf9c7b6248 | [
"MIT"
] | null | null | null | usaco/section2.4/comehome.cpp | chasingegg/Online_Judge | 8a3f4b5b207cbeda921c743a527a25bf9c7b6248 | [
"MIT"
] | null | null | null | /*
PROG: comehome
LANG: C++
*/
//2017.5.12
//承接上题 用floyd算法求出最短路径
#include<iostream>
#include<fstream>
using namespace std;
#define oo 1047400000
ifstream fin("comehome.in");
ofstream fout("comehome.out");
int P;
int a[55][55], f[55];
int cha(char x)
{
if(x >= 'a' && x <= 'z')
return x - 'a';
else if... | 18.379747 | 48 | 0.356749 | chasingegg |
36e84838eea8780afe1b2e460e0675b0a94a633f | 1,661 | cpp | C++ | Source/Magneto/Magnet/Magnet.cpp | AlecLafita/Magneto | 8b7f1aab34572e9991717ffb7484b45ccecabe20 | [
"MIT"
] | null | null | null | Source/Magneto/Magnet/Magnet.cpp | AlecLafita/Magneto | 8b7f1aab34572e9991717ffb7484b45ccecabe20 | [
"MIT"
] | null | null | null | Source/Magneto/Magnet/Magnet.cpp | AlecLafita/Magneto | 8b7f1aab34572e9991717ffb7484b45ccecabe20 | [
"MIT"
] | null | null | null | #include "Magnet.h"
#include "MagnetRay.h"
#include "Components/StaticMeshComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/PlayerController.h"
#include "Kismet/KismetMathLibrary.h"
AMagnet::AMagnet()
{
PrimaryActorTick.bCanEverTick = true;
mMeshComponent = CreateDefaultSubobject<UStaticMe... | 24.791045 | 103 | 0.771222 | AlecLafita |
36ed6a0238d1d1e593ef14937f6cb965cbe08ebc | 247 | cpp | C++ | kontrolnya-rabota-1/task2/task2.cpp | MuKaTiR/orazbaev-timur-2021 | 2e44f1d336fbe87a0d096e0d9f56cfef6b98104f | [
"Apache-2.0"
] | null | null | null | kontrolnya-rabota-1/task2/task2.cpp | MuKaTiR/orazbaev-timur-2021 | 2e44f1d336fbe87a0d096e0d9f56cfef6b98104f | [
"Apache-2.0"
] | null | null | null | kontrolnya-rabota-1/task2/task2.cpp | MuKaTiR/orazbaev-timur-2021 | 2e44f1d336fbe87a0d096e0d9f56cfef6b98104f | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
main()
{
int x, max, min, i = 2;
cin >> min >> max;
while (cin >> x)
{
i++;
if (i % 2)
{
if (x < min)
{
min = x;
}
}
else if (x > max)
{
max = x;
}
}
cout << max + min;
} | 10.73913 | 24 | 0.425101 | MuKaTiR |
36fa294236a47a5d466d1326caf0c40ee7ff8f93 | 1,372 | cpp | C++ | GripPoints/DbDgnUnderlayGripPoints.cpp | terry-texas-us/Eo | 5652b68468c0bacd8e8da732befa2374360a4bbd | [
"MIT"
] | 1 | 2020-09-07T07:06:19.000Z | 2020-09-07T07:06:19.000Z | GripPoints/DbDgnUnderlayGripPoints.cpp | terry-texas-us/Eo | 5652b68468c0bacd8e8da732befa2374360a4bbd | [
"MIT"
] | null | null | null | GripPoints/DbDgnUnderlayGripPoints.cpp | terry-texas-us/Eo | 5652b68468c0bacd8e8da732befa2374360a4bbd | [
"MIT"
] | 2 | 2019-10-24T00:36:58.000Z | 2020-09-30T16:45:56.000Z | #include <OdaCommon.h>
#include "DbDgnUnderlayGripPoints.h"
#include <DbUnderlayReference.h>
#include <DbUnderlayDefinition.h>
#include <Gi/GiDummyGeometry.h>
#include <Ge/GeNurbCurve3d.h>
OdResult OdDbDgnUnderlayGripPointsPE::getOsnapPoints(const OdDbEntity* entity, const OdDb::OsnapMode objectSnapMode, const OdGsMar... | 57.166667 | 289 | 0.815598 | terry-texas-us |