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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2a4e7d339d3f1157e8c5a5277f756f65ad7fec2 | 1,817 | cpp | C++ | Plugins/org.mitk.gui.qt.moviemaker/src/internal/QmitkTimeSliceAnimationItem.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Plugins/org.mitk.gui.qt.moviemaker/src/internal/QmitkTimeSliceAnimationItem.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Plugins/org.mitk.gui.qt.moviemaker/src/internal/QmitkTimeSliceAnimationItem.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 25.591549 | 143 | 0.679141 | zhaomengxiao |
c2a562300dc1fd0978b99a6569abd7cd6b8afb49 | 3,464 | hpp | C++ | src/thread/invoke.hpp | minijackson/IGI-3004 | 8354f40e296cce8735b188dd3ff7406e96d5878e | [
"MIT"
] | 1 | 2017-10-01T02:29:06.000Z | 2017-10-01T02:29:06.000Z | src/thread/invoke.hpp | minijackson/IGI-3004 | 8354f40e296cce8735b188dd3ff7406e96d5878e | [
"MIT"
] | null | null | null | src/thread/invoke.hpp | minijackson/IGI-3004 | 8354f40e296cce8735b188dd3ff7406e96d5878e | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <functional>
#include <type_traits>
// C++17 invoke utility
// http://en.cppreference.com/w/cpp/utility/functional/invoke
namespace detail {
template <class T>
struct is_reference_wrapper : std::false_type {};
template <class U>
struct is_reference_wrapper<std::reference... | 39.816092 | 93 | 0.632506 | minijackson |
c2a66097fec4e896699d314e087ed3a039817cff | 4,954 | cpp | C++ | modbus/MRegExp.cpp | mirkowi/TERANiS-PLC | 2b22f1ebcaa771feb9bcab31b13ee4f6debf3e03 | [
"Apache-2.0"
] | 1 | 2020-04-14T09:59:32.000Z | 2020-04-14T09:59:32.000Z | modbus/MRegExp.cpp | mirkowi/TERANiS-PLC | 2b22f1ebcaa771feb9bcab31b13ee4f6debf3e03 | [
"Apache-2.0"
] | 2 | 2020-04-16T11:49:21.000Z | 2020-06-05T06:36:50.000Z | modbus/MRegExp.cpp | mirkowi/TERANiS-PLC | 2b22f1ebcaa771feb9bcab31b13ee4f6debf3e03 | [
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
#include "MRegExp.h"
#include "platform.h"
// TException wahlweise ausblenden
#define _NO_EXEPTOBJ
#ifdef _NO_EXEPTOBJ
#define MEXCEPTION ;
#else
#include "exeptobj.h"
#endif
//--------------------------------------------------------------... | 25.937173 | 114 | 0.591643 | mirkowi |
c2af81546ea5c4f82129f47a2e7156783866a486 | 535 | cpp | C++ | Impl/post.cpp | TollisK/Forum-Simulator-OOP | 3eb9fc999ac48becdb940fbb81ae8a126addc388 | [
"MIT"
] | 1 | 2022-01-09T17:33:21.000Z | 2022-01-09T17:33:21.000Z | Impl/post.cpp | TollisK/Forum-Simulator-OOP | 3eb9fc999ac48becdb940fbb81ae8a126addc388 | [
"MIT"
] | null | null | null | Impl/post.cpp | TollisK/Forum-Simulator-OOP | 3eb9fc999ac48becdb940fbb81ae8a126addc388 | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include <cstdlib>
#include <ctime>
#include "date.h"
#include "post.h"
using namespace std;
Post::~Post()
{
cout << "Post number:"<< id << " is about to be destroyed" << endl ;
}
Post::Post(string nam ,string nam2,string nam3,Date d,int idd) ////edw vazoyme ta ... | 26.75 | 131 | 0.613084 | TollisK |
c2b534f39e3d067d4e65f3ef89a9cb143274bf4e | 2,018 | cpp | C++ | Core/CStreamTextWriter.cpp | JamesSchumacher10980/James.Cpp | c87d7340dbbca7e86e91b30f29bb9ac0bc1c0c00 | [
"Apache-2.0"
] | null | null | null | Core/CStreamTextWriter.cpp | JamesSchumacher10980/James.Cpp | c87d7340dbbca7e86e91b30f29bb9ac0bc1c0c00 | [
"Apache-2.0"
] | null | null | null | Core/CStreamTextWriter.cpp | JamesSchumacher10980/James.Cpp | c87d7340dbbca7e86e91b30f29bb9ac0bc1c0c00 | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.hpp"
#include "James.Cpp.Api.hpp"
/////////////////////////////////////////////////
//// (C) 2017 James Bernard Schumacher III
/////////////////////////////////////////////////
/*
Copyright (C) 2017 James Bernard Schumacher III
Licensed under the Apache License, Version 2.0 (the "License... | 34.20339 | 120 | 0.530228 | JamesSchumacher10980 |
c2b85db92ee52f8768f77d956c0c5a21f928df9f | 6,745 | cpp | C++ | src/http/HttpHeader.cpp | wanghaEMQ/kuma | 8068bf29906556ca3a6f1fff29237ffff08a7cd1 | [
"MIT"
] | 180 | 2015-07-03T04:56:18.000Z | 2022-03-26T05:49:40.000Z | src/http/HttpHeader.cpp | wanghaEMQ/kuma | 8068bf29906556ca3a6f1fff29237ffff08a7cd1 | [
"MIT"
] | 21 | 2017-02-03T21:41:56.000Z | 2022-02-06T12:59:52.000Z | src/http/HttpHeader.cpp | Jamol/kuma | 72321dec5f0093def839152905fc0e076dc66de0 | [
"MIT"
] | 73 | 2015-12-31T04:03:21.000Z | 2022-02-25T02:15:48.000Z | /* Copyright © 2017, Fengping Bao <jamol@live.com>
*
* 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, ... | 28.459916 | 132 | 0.615864 | wanghaEMQ |
c2b892c660ce47d37db4b6e4ab8243ef95514e8a | 1,019 | cpp | C++ | deep-learning/src/pcc/utility/pcc_copa_ucalc.cpp | chengcheng8632/Aurora | 8471a7e307c360dc0d1234afb18072bde68ac2bd | [
"Apache-2.0"
] | null | null | null | deep-learning/src/pcc/utility/pcc_copa_ucalc.cpp | chengcheng8632/Aurora | 8471a7e307c360dc0d1234afb18072bde68ac2bd | [
"Apache-2.0"
] | null | null | null | deep-learning/src/pcc/utility/pcc_copa_ucalc.cpp | chengcheng8632/Aurora | 8471a7e307c360dc0d1234afb18072bde68ac2bd | [
"Apache-2.0"
] | 2 | 2019-09-05T02:16:09.000Z | 2019-09-17T10:06:27.000Z |
#include <cmath>
#include "pcc_copa_ucalc.h"
float PccCopaUtilityCalculator::CalculateUtility(PccMonitorIntervalAnalysisGroup& past_monitor_intervals,
MonitorInterval& cur_mi) {
float throughput = cur_mi.GetObsThroughput();
float rtt_inflation = cur_mi.GetObsRttInflation();
float avg_rtt = cur_mi.GetO... | 29.970588 | 105 | 0.725221 | chengcheng8632 |
c2bbd1580efe337ef413611cb6311cf6e9b93274 | 4,016 | cpp | C++ | src/GafferDelight/IECoreDelightPreview/CameraAlgo.cpp | mattigruener/gaffer | 8216ba1a884712575a0acae747c51b02f7a99a5d | [
"BSD-3-Clause"
] | null | null | null | src/GafferDelight/IECoreDelightPreview/CameraAlgo.cpp | mattigruener/gaffer | 8216ba1a884712575a0acae747c51b02f7a99a5d | [
"BSD-3-Clause"
] | 2 | 2017-08-23T21:35:45.000Z | 2018-01-29T08:59:33.000Z | src/GafferDelight/IECoreDelightPreview/CameraAlgo.cpp | mattigruener/gaffer | 8216ba1a884712575a0acae747c51b02f7a99a5d | [
"BSD-3-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2017, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistribution... | 42.273684 | 120 | 0.714392 | mattigruener |
c2c1197e209964918dd9fda8f427aa1f41b04c79 | 1,492 | hpp | C++ | include/icp_localization/transform/TfPublisher.hpp | ibrahimhroob/icp_localization | 271d99c59141fcd293190ec935020213783745e5 | [
"BSD-3-Clause"
] | 72 | 2021-07-06T09:05:00.000Z | 2022-03-25T08:21:07.000Z | include/icp_localization/transform/TfPublisher.hpp | ibrahimhroob/icp_localization | 271d99c59141fcd293190ec935020213783745e5 | [
"BSD-3-Clause"
] | 3 | 2021-06-09T20:06:41.000Z | 2022-02-16T09:54:42.000Z | include/icp_localization/transform/TfPublisher.hpp | ibrahimhroob/icp_localization | 271d99c59141fcd293190ec935020213783745e5 | [
"BSD-3-Clause"
] | 22 | 2021-06-23T09:18:01.000Z | 2022-03-11T03:14:10.000Z | /*
* TfPublisher.hpp
*
* Created on: Apr 27, 2021
* Author: jelavice
*/
#pragma once
#include "icp_localization/transform/RigidTransform.hpp"
#include <tf2_ros/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
#include <sensor_msgs/Imu.h>
namespace icp_loco {
class FrameTracker;
class ImuTracker;
c... | 26.642857 | 84 | 0.756702 | ibrahimhroob |
c2c566df81e4f258fb7bfcffc85d13ccafa86055 | 185 | cpp | C++ | mia/medium/pocket-challenge-v2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | mia/medium/pocket-challenge-v2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | mia/medium/pocket-challenge-v2.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | struct PocketChallengeV2 : WonderSwan {
auto name() -> string override { return "Pocket Challenge V2"; }
auto extensions() -> vector<string> override { return {"pcv2", "pc2"}; }
};
| 37 | 74 | 0.675676 | CasualPokePlayer |
c2c6d4cf258c84f49b84b7a8a794909cc48a9bf8 | 211 | cpp | C++ | chapter-6/6.35.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-6/6.35.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-6/6.35.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | // val-- keeps a copy of the original value of val, decreases val by 1, and then return the kept copy.
// this function processing would never meet the end condition statement, exceeds the maximum stack depth.
| 52.75 | 106 | 0.767773 | zero4drift |
c2c7bc3a698c18d19e3138d96302207f0b72e0ed | 3,153 | cpp | C++ | src/tabwidget.cpp | bms/kscope | 3f3fc268574a178ea3cc94205b61ee44f2a242e3 | [
"BSD-2-Clause"
] | 1 | 2019-05-15T03:18:00.000Z | 2019-05-15T03:18:00.000Z | src/tabwidget.cpp | wanghaitang/kscope4-1.8.1 | 72dbb7e9e3b34253c8bd8b25c5d82ebbb8d68358 | [
"BSD-2-Clause"
] | null | null | null | src/tabwidget.cpp | wanghaitang/kscope4-1.8.1 | 72dbb7e9e3b34253c8bd8b25c5d82ebbb8d68358 | [
"BSD-2-Clause"
] | null | null | null | /***************************************************************************
*
* Copyright (C) 2005 Elad Lahav (elad_lahav@users.sourceforge.net)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistr... | 31.53 | 89 | 0.697114 | bms |
c2c7dfd11a18f0d0d2b863aa35617dd8a663068e | 822 | cc | C++ | src/GSPH/Limiters/OspreLimiter.cc | LLNL/spheral | 282a3e6987975cd22c62c11f948da3d5db23faeb | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 19 | 2020-10-21T01:49:17.000Z | 2022-03-15T12:29:17.000Z | src/GSPH/Limiters/OspreLimiter.cc | LLNL/spheral | 282a3e6987975cd22c62c11f948da3d5db23faeb | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/GSPH/Limiters/OspreLimiter.cc | LLNL/spheral | 282a3e6987975cd22c62c11f948da3d5db23faeb | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 5 | 2020-11-03T16:14:26.000Z | 2022-01-03T19:07:24.000Z | #include "OspreLimiter.hh"
namespace Spheral {
//========================================================
// Constructor
//========================================================
template<typename Dimension>
OspreLimiter<Dimension>::
OspreLimiter():
LimiterBase<Dimension>(true,true){
}
//=========================... | 25.6875 | 58 | 0.418491 | LLNL |
c2cd14c35492001dc919d90c6f34d5de1a70289c | 2,174 | hpp | C++ | include/boost/simd/arch/common/simd/function/genmask.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | include/boost/simd/arch/common/simd/function/genmask.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/arch/common/simd/function/genmask.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 2 | 2017-11-17T15:30:36.000Z | 2018-03-01T02:06:25.000Z | //==================================================================================================
/**
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
**/
//====================================... | 33.96875 | 100 | 0.517939 | nickporubsky |
c2ce474d0d43dc78a843523519f923b7ff44a3d7 | 240 | hpp | C++ | DLOCRModel.Calculate/pch.hpp | Frederisk/DeepLearning-OpticalCharacterRecognition-Model | 52998e877cdf1e849cc2648e7d07dee6ae865cc1 | [
"MIT"
] | null | null | null | DLOCRModel.Calculate/pch.hpp | Frederisk/DeepLearning-OpticalCharacterRecognition-Model | 52998e877cdf1e849cc2648e7d07dee6ae865cc1 | [
"MIT"
] | 1 | 2020-12-16T03:32:56.000Z | 2020-12-16T03:32:56.000Z | DLOCRModel.Calculate/pch.hpp | Frederisk/DeepLearning-OpticalCharacterRecognition-Model | 52998e877cdf1e849cc2648e7d07dee6ae865cc1 | [
"MIT"
] | null | null | null | // pch.h: 此為先行編譯的標頭檔。
// 以下所列檔案只會編譯一次,可改善之後組建的組建效能。
// 這也會影響 IntelliSense 效能,包括程式碼完成以及許多程式碼瀏覽功能。
// 但此處所列的檔案,如果其中任一在組建之間進行了更新,即會重新編譯所有檔案。
// 請勿於此處新增會經常更新的檔案,如此將會對於效能優勢產生負面的影響。
#ifndef PCH_H
#define PCH_H
// 請於此新增您要先行編譯的標頭
#endif //PCH_H | 20 | 44 | 0.779167 | Frederisk |
c2cfc850b3bb55e583bca007ea5fce4f4e2f80d5 | 492 | cpp | C++ | codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/h.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/h.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/gym/2019-2020 ACM-ICPC Brazil Subregional Programming Contest/h.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define int long long
#define ii pair<int, int>
#define ff first
#define ss second
#define vi vector<int>
#define vii vector<ii>
#define pb push_back
#define MAX (int32_t(1e6)+1)
#define INF (int32_t(1e9)+1)
using namespace std;
int32_t main(){
int v, n;
cin >> v >> n;
v*=n;
f... | 18.222222 | 45 | 0.554878 | tysm |
c2d11b18eed95f8d26f7200ea60c2d9c07575670 | 4,823 | hxx | C++ | main/chart2/source/inc/RelativePositionHelper.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/chart2/source/inc/RelativePositionHelper.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/chart2/source/inc/RelativePositionHelper.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 41.222222 | 82 | 0.606262 | Grosskopf |
c2d146bebf552b11d604b4ef794e69bb4c8b1cdb | 2,803 | cpp | C++ | TheGame/objectlootcycle.cpp | MiKlTA/game_RPG_project | 9d460e9fb5e0449e457ba94e44a0d6fc5b491012 | [
"MIT"
] | null | null | null | TheGame/objectlootcycle.cpp | MiKlTA/game_RPG_project | 9d460e9fb5e0449e457ba94e44a0d6fc5b491012 | [
"MIT"
] | null | null | null | TheGame/objectlootcycle.cpp | MiKlTA/game_RPG_project | 9d460e9fb5e0449e457ba94e44a0d6fc5b491012 | [
"MIT"
] | null | null | null | #include "allFunctions.h"
void objectLootCycle(BasicHero *hero, BasicObject *object)
{
prepare();
printSeparator();
printBasicObject(object);
printSeparator();
if (!object->getBasicObjectInfo().wasExamined)
{
printCase(0, "Loot");
printCase(1, "Back");
... | 22.97541 | 79 | 0.447021 | MiKlTA |
c2d5c7b6c672bd8aa85a6b4fcde82fe1fd48c77e | 1,099 | cpp | C++ | HW3/ydogukan_Yildirim_Dogukan_hw3.cpp | ydogukan/CS204_Advanced_Programming | 015cb72d42cdaa9eaf335eb8deb0abcfc9a08c84 | [
"MIT"
] | null | null | null | HW3/ydogukan_Yildirim_Dogukan_hw3.cpp | ydogukan/CS204_Advanced_Programming | 015cb72d42cdaa9eaf335eb8deb0abcfc9a08c84 | [
"MIT"
] | null | null | null | HW3/ydogukan_Yildirim_Dogukan_hw3.cpp | ydogukan/CS204_Advanced_Programming | 015cb72d42cdaa9eaf335eb8deb0abcfc9a08c84 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
#include "ydogukan_Yildirim_Dogukan_hw3_SubSeqsList.h"
using namespace std;
int main() {
string line;
cout << "Please enter the numbers in a line: ";
getline(cin, line);
cout << endl;
// Creating temporary stringstream and integer variable to check wheth... | 23.891304 | 129 | 0.702457 | ydogukan |
c2d7a23b4d7cbb5e51069e9b443ffacca9787fd1 | 597 | hpp | C++ | include/universal/native/native.hpp | shikharvashistha/universal | 5c20504504f067412958fa61ea3839cf86c3d6f7 | [
"MIT"
] | 254 | 2017-05-24T16:51:57.000Z | 2022-03-22T13:07:29.000Z | include/universal/native/native.hpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 101 | 2017-11-09T22:57:24.000Z | 2022-03-17T12:44:59.000Z | include/universal/native/native.hpp | jamesquinlan/universal | 3b7e6bf37cbb9123425b634d18af18a409c2eccc | [
"MIT"
] | 55 | 2017-06-09T10:04:38.000Z | 2022-02-01T16:54:56.000Z | #pragma once
// native standard header aggregating all native type introspection and manipulation functionality
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#ifndef _NATIVE_
#define _NATIVE_
#... | 33.166667 | 106 | 0.802345 | shikharvashistha |
c2d7ec02d9a05c4a122057bf8d8f85e8f164bcf6 | 10,999 | inl | C++ | include/Vorb/Vector.inl | ChillstepCoder/Vorb | f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba | [
"MIT"
] | 65 | 2018-06-03T23:09:46.000Z | 2021-07-22T22:03:34.000Z | include/Vorb/Vector.inl | ChillstepCoder/Vorb | f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba | [
"MIT"
] | 8 | 2018-06-20T17:21:30.000Z | 2020-06-30T01:06:26.000Z | include/Vorb/Vector.inl | ChillstepCoder/Vorb | f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba | [
"MIT"
] | 34 | 2018-06-04T03:40:52.000Z | 2022-02-15T07:02:05.000Z | /* This file implements all operators for the Vector types. */
// Helper macro to add assignment operators for the currently defined vector.
#define ADD_COMPOUND_ASSIGNMENT_OPERATORS \
COMPOUND_ASSIGNMENT(+= ); \
COMPOUND_ASSIGNMENT(-= ); \
COMPOUND_ASSIGNMENT(*= ); \
COMPOUND_ASSIGNMENT(/= ); \
COMPOUND_ASSIGNMENT(%=... | 31.697406 | 101 | 0.613965 | ChillstepCoder |
c2dd18cee696bd36df3c87700284d7c56ddbd65a | 4,448 | hh | C++ | src/file/prob/parprobpipeline.hh | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | 2 | 2018-03-06T02:36:25.000Z | 2020-01-13T10:55:35.000Z | src/file/prob/parprobpipeline.hh | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | null | null | null | src/file/prob/parprobpipeline.hh | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | null | null | null | /* <LICENSE>
License for the MULTOVL multiple genomic overlap tools
Copyright (c) 2007-2012, Dr Andras Aszodi,
Campus Science Support Facilities GmbH (CSF),
Dr-Bohr-Gasse 3, A-1030 Vienna, Austria, Europe.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permi... | 37.378151 | 92 | 0.73696 | aaszodi |
c2dfc180cd8f9f7efda4b8623141406eec712921 | 8,956 | cc | C++ | src/dwarf/line_info.cc | warmchang/bloaty | f01ea59bdda11708d74a3826c23d6e2db6c996f0 | [
"Apache-2.0"
] | 3,807 | 2016-11-07T21:30:07.000Z | 2022-03-31T18:24:15.000Z | src/dwarf/line_info.cc | warmchang/bloaty | f01ea59bdda11708d74a3826c23d6e2db6c996f0 | [
"Apache-2.0"
] | 179 | 2016-11-08T08:43:01.000Z | 2022-03-19T19:07:49.000Z | src/dwarf/line_info.cc | warmchang/bloaty | f01ea59bdda11708d74a3826c23d6e2db6c996f0 | [
"Apache-2.0"
] | 321 | 2016-11-08T00:51:12.000Z | 2022-03-25T01:04:43.000Z | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 30.989619 | 81 | 0.622711 | warmchang |
123c985f03fd81575fdcbc2136acde38728375b4 | 3,387 | cc | C++ | ion/portgfx/asmjscontext.cc | isabella232/ion-1 | ef47f3b824050499ce5c6f774b366f6c4dbce0af | [
"Apache-2.0"
] | 1 | 2020-03-12T12:49:31.000Z | 2020-03-12T12:49:31.000Z | ion/portgfx/asmjscontext.cc | isabella232/ion-1 | ef47f3b824050499ce5c6f774b366f6c4dbce0af | [
"Apache-2.0"
] | null | null | null | ion/portgfx/asmjscontext.cc | isabella232/ion-1 | ef47f3b824050499ce5c6f774b366f6c4dbce0af | [
"Apache-2.0"
] | null | null | null | /**
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 31.361111 | 79 | 0.726897 | isabella232 |
123de896206d5746f22aa2b9908819ecfe7e92a8 | 8,264 | cpp | C++ | src/CodeGen_Zynq_C.cpp | kevinkim06/Halide-FIRRTL | e0e64aab1ecbc9c7fce17a929fea765d5412378d | [
"MIT"
] | 1 | 2019-03-03T00:19:21.000Z | 2019-03-03T00:19:21.000Z | src/CodeGen_Zynq_C.cpp | kevinkim06/Halide-FIRRTL | e0e64aab1ecbc9c7fce17a929fea765d5412378d | [
"MIT"
] | null | null | null | src/CodeGen_Zynq_C.cpp | kevinkim06/Halide-FIRRTL | e0e64aab1ecbc9c7fce17a929fea765d5412378d | [
"MIT"
] | 1 | 2019-03-03T00:21:02.000Z | 2019-03-03T00:21:02.000Z | #include <iostream>
#include <limits>
#include "CodeGen_Zynq_C.h"
#include "CodeGen_Internal.h"
#include "IROperator.h"
#include "Simplify.h"
namespace Halide {
namespace Internal {
using std::ostream;
using std::endl;
using std::string;
using std::vector;
using std::pair;
using std::ostringstream;
using std::to_str... | 34.722689 | 158 | 0.584342 | kevinkim06 |
123ec0fb25bcc03033cffc2d9137bfc0bd9993be | 129 | hpp | C++ | deps/opencv/win/include/opencv2/reg/mapperpyramid.hpp | YLiLarry/ggframe | ffb6a7d7d878c155d03830cf6fb6fb8f948084f0 | [
"MIT"
] | null | null | null | deps/opencv/win/include/opencv2/reg/mapperpyramid.hpp | YLiLarry/ggframe | ffb6a7d7d878c155d03830cf6fb6fb8f948084f0 | [
"MIT"
] | null | null | null | deps/opencv/win/include/opencv2/reg/mapperpyramid.hpp | YLiLarry/ggframe | ffb6a7d7d878c155d03830cf6fb6fb8f948084f0 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:86174bf90d9ed9280d77cb38b39041e56c8742dd60eeb77a6275eeea4bc086fb
size 3851
| 32.25 | 75 | 0.883721 | YLiLarry |
12404786494bdb2b0cc9642bf45e7680fc10180a | 6,532 | cpp | C++ | Model/Mesh2D.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Model/Mesh2D.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | Model/Mesh2D.cpp | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////////////////
// //
// Copyright (c) 2003-2017 by The University of Queensland //
// Centre for Geoscience Computing //
// http://earth.uq.edu.au/centre-geoscience-computing //
// ... | 25.920635 | 100 | 0.609308 | danielfrascarelli |
1240768799d3c8df6a3ddacd325bd05de27a6972 | 27,755 | cc | C++ | src/keyValueAdapter.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-06-04T08:08:11.000Z | 2018-06-04T08:08:11.000Z | src/keyValueAdapter.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2019-03-26T11:15:13.000Z | 2019-03-26T11:15:13.000Z | src/keyValueAdapter.cc | onedata/helpers | bf14082d5a8de384c1f126b2fa522c3b360ad500 | [
"MIT"
] | 1 | 2018-02-05T09:19:45.000Z | 2018-02-05T09:19:45.000Z | /**
* @file keyValueAdapter.cc
* @author Krzysztof Trzepla
* @copyright (C) 2016 ACK CYFRONET AGH
* @copyright This software is released under the MIT license cited in
* 'LICENSE.txt'
*/
#include "keyValueAdapter.h"
#include "helpers/logging.h"
#include "keyValueHelper.h"
namespace {
uint64_t getBlockId(off_t ... | 35.132911 | 80 | 0.56044 | onedata |
124133c752dc2371e7834c838c208addfba365f8 | 261 | hpp | C++ | include/jln/mp/smp/list/pop_back.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | include/jln/mp/smp/list/pop_back.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | include/jln/mp/smp/list/pop_back.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #pragma once
#include <jln/mp/smp/algorithm/rotate.hpp>
#include <jln/mp/smp/list/pop_front.hpp>
#include <jln/mp/list/pop_back.hpp>
namespace jln::mp::smp
{
template<class C = listify>
using pop_back = mp::detail::sfinae<mp::pop_back<subcontract<C>>>;
}
| 21.75 | 68 | 0.720307 | jonathanpoelen |
12426a8c585cd8a92ef063b1da53b83438d479e2 | 2,381 | hpp | C++ | libs/core/include/core/byte_array/byte_array.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | 1 | 2019-05-15T17:23:08.000Z | 2019-05-15T17:23:08.000Z | libs/core/include/core/byte_array/byte_array.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | null | null | null | libs/core/include/core/byte_array/byte_array.hpp | AronVanAmmers/ledger | 5cf8b85e5ee42957d9d38fd76b2b3ead0f061954 | [
"Apache-2.0"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018 Fetch.AI Limited
//
// 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... | 31.746667 | 100 | 0.657287 | AronVanAmmers |
124383bd389c07d18bf9868d51eac2e47b98fdfc | 27,867 | cpp | C++ | src/UnivManip.cpp | lhamot/DroneWars | 6f457064395c61e37b8f2c162b7bec64ed6f277b | [
"BSL-1.0"
] | null | null | null | src/UnivManip.cpp | lhamot/DroneWars | 6f457064395c61e37b8f2c162b7bec64ed6f277b | [
"BSL-1.0"
] | null | null | null | src/UnivManip.cpp | lhamot/DroneWars | 6f457064395c61e37b8f2c162b7bec64ed6f277b | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2018 Loïc HAMOT
//
// 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)
//
#include "stdafx.h"
#include <boost/range/numeric.hpp>
#include <boost/range/algorithm/transform.hpp>
#include <bo... | 31.136313 | 105 | 0.676212 | lhamot |
12448aa38ba21c252984b54eff71d070c47e58b7 | 10,983 | cc | C++ | third_party/nucleus/io/bed_reader.cc | ruif2009/deepvariant | c7fd07016577c253f81ef253aed65c416e4c0ef7 | [
"BSD-3-Clause"
] | null | null | null | third_party/nucleus/io/bed_reader.cc | ruif2009/deepvariant | c7fd07016577c253f81ef253aed65c416e4c0ef7 | [
"BSD-3-Clause"
] | null | null | null | third_party/nucleus/io/bed_reader.cc | ruif2009/deepvariant | c7fd07016577c253f81ef253aed65c416e4c0ef7 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T21:54:57.000Z | 2022-02-03T21:54:57.000Z | /*
* Copyright 2018 Google Inc.
*
* 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 disc... | 36.732441 | 80 | 0.693344 | ruif2009 |
12496627ceaf7bf6641f094ad577428e151ccc15 | 358 | cc | C++ | bcd.cc | lamarrr/BCD | 864774d6f95a9d8e6b2dcb771ff29b6e0e7843cf | [
"MIT"
] | 2 | 2019-09-18T22:02:46.000Z | 2019-09-19T21:15:53.000Z | bcd.cc | lamarrr/BCD | 864774d6f95a9d8e6b2dcb771ff29b6e0e7843cf | [
"MIT"
] | null | null | null | bcd.cc | lamarrr/BCD | 864774d6f95a9d8e6b2dcb771ff29b6e0e7843cf | [
"MIT"
] | null | null | null | #include <iostream>
#include "bcd.h"
int main() {
//
auto u = bcd::Encode<int16_t, uint16_t, 8U, 8U>(-17);
bcd::BinPrint<uint16_t, false>(u);
std::cout << std::endl << bcd::BinString<uint32_t>(1U << 30) << std::endl;
bcd::BinPrint(bcd::Decode<int16_t, uint16_t, 8U, 8U>(u));
printf("\n%d", bcd::Decode<uint8... | 23.866667 | 76 | 0.617318 | lamarrr |
124b35725afdb0e5ce9a2bca2d91370ba8ba1aa8 | 143 | cpp | C++ | src/selfie_scheduler/src/clients/client_interface.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 10 | 2019-08-17T14:50:13.000Z | 2021-07-19T17:21:13.000Z | src/selfie_scheduler/src/clients/client_interface.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 16 | 2019-05-27T18:50:09.000Z | 2020-02-11T00:23:50.000Z | src/selfie_scheduler/src/clients/client_interface.cpp | KNR-Selfie/selfie_carolocup2020 | 5d6331962e4752c9e9c4fcc88ebd3093e4d96b85 | [
"BSD-3-Clause"
] | 3 | 2020-01-21T15:03:24.000Z | 2021-05-02T06:40:50.000Z | #include <selfie_scheduler/client_interface.h>
ClientInterface::~ClientInterface()
{
std::cout << "Pure virtual destructor is called";
}
| 17.875 | 53 | 0.741259 | KNR-Selfie |
124bd83394fbb1af01f40c4a7a8a3c8110b6e7f2 | 361 | cpp | C++ | codeforces/235b.cpp | jffifa/algo-solution | af2400d6071ee8f777f9473d6a34698ceef08355 | [
"MIT"
] | 5 | 2015-07-14T10:29:25.000Z | 2016-10-11T12:45:18.000Z | codeforces/235b.cpp | jffifa/algo-solution | af2400d6071ee8f777f9473d6a34698ceef08355 | [
"MIT"
] | null | null | null | codeforces/235b.cpp | jffifa/algo-solution | af2400d6071ee8f777f9473d6a34698ceef08355 | [
"MIT"
] | 3 | 2016-08-23T01:05:26.000Z | 2017-05-28T02:04:20.000Z | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int N;
double p[111111], ans;
int main() {
int i, j, k;
cin>>N;
for (i = 0; i < N; ++i) {
scanf("%lf", p+i);
ans += p[i];
}
double now = 0;
for (i = 1; i < N; ++i) {
now = (now+p[i-1])*p[i];
ans += 2*now;
... | 14.44 | 26 | 0.526316 | jffifa |
124c5604f5c0c68e1195f8ab2c05b7f6eee9a6ff | 390 | hpp | C++ | wechat/models/wx_synckey.hpp | ArkBriar/WxPenguin | ae1cf9719a185b3ecb546e4f0537c6afc77ddb45 | [
"MIT"
] | 1 | 2017-03-13T09:59:30.000Z | 2017-03-13T09:59:30.000Z | wechat/models/wx_synckey.hpp | arkbriar/WxPenguin | ae1cf9719a185b3ecb546e4f0537c6afc77ddb45 | [
"MIT"
] | null | null | null | wechat/models/wx_synckey.hpp | arkbriar/WxPenguin | ae1cf9719a185b3ecb546e4f0537c6afc77ddb45 | [
"MIT"
] | null | null | null | #pragma once
#ifndef WX_SYNCKEY_HPP_1Z6TPOWO
#define WX_SYNCKEY_HPP_1Z6TPOWO
#include <string>
#include "../json/json.hpp"
namespace WebWx {
namespace Model {
class WxSyncKey {
public:
//@no impl/
WxSyncKey() {}
WxSyncKey(const nlohmann::json&) {}
};
... | 15.6 | 58 | 0.597436 | ArkBriar |
124e4540fcb9bd45359e5934698fd2a0c509a125 | 1,353 | cpp | C++ | src/systems/consumable_system.cpp | pkuehne/fortress | 1fac97edcb47b4dd6bf65f553585c22d0cd2e4de | [
"MIT"
] | null | null | null | src/systems/consumable_system.cpp | pkuehne/fortress | 1fac97edcb47b4dd6bf65f553585c22d0cd2e4de | [
"MIT"
] | 118 | 2015-08-03T08:06:53.000Z | 2022-01-13T17:26:00.000Z | src/systems/consumable_system.cpp | pkuehne/fortress | 1fac97edcb47b4dd6bf65f553585c22d0cd2e4de | [
"MIT"
] | null | null | null | #include "consumable_system.h"
#include "../components/consumable_component.h"
#include "../components/health_component.h"
void updateHealth(ConsumableComponent* consumable, HealthComponent* health) {
if (!health) {
return;
}
if (consumable->quenches == THIRST) {
int result = health->thirs... | 31.465116 | 80 | 0.634146 | pkuehne |
1250618f23b7798ec800b533a86113eb044904f4 | 1,910 | cc | C++ | src/relay_tensor_store.cc | PrincetonUniversity/relay-ila | 9c14053f9068c95a73a92253625b7cff118a3751 | [
"MIT"
] | null | null | null | src/relay_tensor_store.cc | PrincetonUniversity/relay-ila | 9c14053f9068c95a73a92253625b7cff118a3751 | [
"MIT"
] | null | null | null | src/relay_tensor_store.cc | PrincetonUniversity/relay-ila | 9c14053f9068c95a73a92253625b7cff118a3751 | [
"MIT"
] | 2 | 2020-04-24T18:29:27.000Z | 2020-04-24T18:31:14.000Z | // =============================================================================
// MIT License
//
// Copyright (c) 2020 Princeton University
//
// 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 Soft... | 36.037736 | 80 | 0.686911 | PrincetonUniversity |
125296dcd01bdd43a61a1ff1ac2c8db7d4c39470 | 2,207 | cpp | C++ | test/std_complex.cpp | rwols/yaml-archive | 4afec73e557c15350c5e068c010f4e378edc95ef | [
"BSL-1.0"
] | 1 | 2018-01-27T23:35:21.000Z | 2018-01-27T23:35:21.000Z | test/std_complex.cpp | rwols/yaml-archive | 4afec73e557c15350c5e068c010f4e378edc95ef | [
"BSL-1.0"
] | 2 | 2019-08-17T05:37:36.000Z | 2019-08-17T22:57:26.000Z | test/std_complex.cpp | rwols/yaml-archive | 4afec73e557c15350c5e068c010f4e378edc95ef | [
"BSL-1.0"
] | 1 | 2021-03-19T11:53:53.000Z | 2021-03-19T11:53:53.000Z | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_complex.cpp
// (C) Copyright 2005 Matthias Troyer .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_... | 31.528571 | 80 | 0.643407 | rwols |
125624723ff8ea429178ef0793673794b8123142 | 11,945 | cpp | C++ | src/Interop.cpp | jparimaa/glvk-interop | 3428cafe5ea0359609fd42d84b87b1900d9ff58f | [
"MIT"
] | null | null | null | src/Interop.cpp | jparimaa/glvk-interop | 3428cafe5ea0359609fd42d84b87b1900d9ff58f | [
"MIT"
] | null | null | null | src/Interop.cpp | jparimaa/glvk-interop | 3428cafe5ea0359609fd42d84b87b1900d9ff58f | [
"MIT"
] | null | null | null | #include "Interop.hpp"
#include "VulkanUtils.hpp"
#include "Utils.hpp"
#include <vulkan/vulkan_win32.h>
#include <array>
Interop::Interop(Context& context) :
m_context(context),
m_device(context.getDevice())
{
createInteropSemaphores();
createInteropTexture();
}
Interop::~Interop()
{
vkDeviceWaitI... | 43.436364 | 170 | 0.787024 | jparimaa |
12569b4cf790d623e6e113bd48c5ec2268b2687e | 67,685 | cc | C++ | tfop/wtoolkit.cc | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 6 | 2019-12-10T17:18:56.000Z | 2022-03-01T01:00:35.000Z | tfop/wtoolkit.cc | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2021-08-25T16:16:01.000Z | 2022-02-10T05:21:19.000Z | tfop/wtoolkit.cc | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2019-12-07T09:57:35.000Z | 2021-09-06T04:58:10.000Z | #include <stdio.h>
#include <cfloat>
#include <list>
#include <cstdlib>
#include <vector>
#include <math.h>
#include <iostream>
#include <algorithm>
#include <future>
#include <assert.h>
#include <boost/algorithm/clamp.hpp>
#include "tensorflow/core/framework/common_shape_fns.h"
#include "third_party/eigen3/unsupported... | 38.240113 | 173 | 0.56856 | vghost2008 |
12582c1c94e65991b001b7c8b821cb886a6f6b74 | 1,715 | cpp | C++ | test/main.cpp | pfeifenheini/cppProjects | c2ffd3e02711af041698ff32a8dd89498f6ee3e5 | [
"MIT"
] | null | null | null | test/main.cpp | pfeifenheini/cppProjects | c2ffd3e02711af041698ff32a8dd89498f6ee3e5 | [
"MIT"
] | null | null | null | test/main.cpp | pfeifenheini/cppProjects | c2ffd3e02711af041698ff32a8dd89498f6ee3e5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <limits>
#include <queue>
#include <math.h>
#include <conio.h>
#include <mingw.thread.h>
#include <mingw.mutex.h>
using namespace std;
int currentNumber = 3;
int primeNumbersPrinted = 0;
int largestPrime = 2;
bool keepWorking = true;
mutex mu_currentNumber, mu_print, mu_keepWorking;
b... | 18.244681 | 50 | 0.53586 | pfeifenheini |
1258d3e6997db21184b803589765e8df01d77019 | 4,622 | cpp | C++ | api/api_autogen/ui_form_extractor.cpp | nickdiorio/SAM | 4288d4261f4f88f44106867b561b81c2ba480c85 | [
"BSD-3-Clause"
] | null | null | null | api/api_autogen/ui_form_extractor.cpp | nickdiorio/SAM | 4288d4261f4f88f44106867b561b81c2ba480c85 | [
"BSD-3-Clause"
] | null | null | null | api/api_autogen/ui_form_extractor.cpp | nickdiorio/SAM | 4288d4261f4f88f44106867b561b81c2ba480c85 | [
"BSD-3-Clause"
] | null | null | null | #include <stdexcept>
#include <iostream>
#include "ui_form_extractor.h"
#include "equation_extractor.h"
#include "variables.h"
std::unordered_map<std::string, std::unordered_map<std::string, VarValue>> SAM_ui_form_to_defaults;
ui_form_extractor_database SAM_ui_extracted_db;
VarValue ui_form_extractor::get_varvalue(w... | 27.843373 | 111 | 0.539161 | nickdiorio |
12593f01ce641e672b3eb0888d5903a7417dc730 | 48 | cpp | C++ | Estudos de Classes/main.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | Estudos de Classes/main.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | Estudos de Classes/main.cpp | miguelsrrobo/C-C- | 9126c613309e83d13000e665440fd46e72b109a9 | [
"MIT"
] | null | null | null | #include "mod.hpp"
int main()
{
return 0;
} | 8 | 18 | 0.5625 | miguelsrrobo |
125c27c799008c0d6a066b63a3974c7111d448e8 | 4,030 | cpp | C++ | src/bytecode/Operations.cpp | VCrate/bytecode-description | c46f61fda817301b6705bc16654c634dc2c3212d | [
"MIT"
] | 1 | 2018-04-14T14:04:39.000Z | 2018-04-14T14:04:39.000Z | src/bytecode/Operations.cpp | VCrate/bytecode-description | c46f61fda817301b6705bc16654c634dc2c3212d | [
"MIT"
] | null | null | null | src/bytecode/Operations.cpp | VCrate/bytecode-description | c46f61fda817301b6705bc16654c634dc2c3212d | [
"MIT"
] | null | null | null | #include <vcrate/bytecode/Operations.hpp>
#include <map>
#include <iostream>
#include <algorithm>
namespace vcrate { namespace bytecode {
OpDefinition::OpDefinition(std::string const& name, Operations ope, std::vector<ui8> const& args_constraints)
: name(name), ope(ope), args_constraints(args_constraints) {}
ui... | 20.880829 | 109 | 0.462283 | VCrate |
126367c68d5c399700550b1a4310e01426f3e555 | 599 | cc | C++ | src/connectivity/bluetooth/core/bt-host/l2cap/basic_mode_rx_engine.cc | yanyushr/fuchsia | 98e70672a81a206d235503e398f37b7b65581f79 | [
"BSD-3-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/l2cap/basic_mode_rx_engine.cc | yanyushr/fuchsia | 98e70672a81a206d235503e398f37b7b65581f79 | [
"BSD-3-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/l2cap/basic_mode_rx_engine.cc | yanyushr/fuchsia | 98e70672a81a206d235503e398f37b7b65581f79 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia 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 "src/connectivity/bluetooth/core/bt-host/l2cap/basic_mode_rx_engine.h"
#include <zircon/assert.h>
namespace bt {
namespace l2cap {
namespace int... | 26.043478 | 79 | 0.737896 | yanyushr |
12645efe5abc3ec5e7901c8a298ddce811069738 | 31,072 | cpp | C++ | export/windows/cpp/obj/src/flixel/input/FlxKeyManager.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/flixel/input/FlxKeyManager.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/flixel/input/FlxKeyManager.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.3.0
#include <hxcpp.h>
#ifndef INCLUDED_Type
#include <Type.h>
#endif
#ifndef INCLUDED_flixel_input_FlxBaseKeyList
#include <flixel/input/FlxBaseKeyList.h>
#endif
#ifndef INCLUDED_flixel_input_FlxInput
#include <flixel/input/FlxInput.h>
#endif
#ifndef INCLUDED_flixel_input_FlxKeyManager
#include... | 41.81965 | 196 | 0.682061 | TinyPlanetStudios |
12653638327f75d850665585d60f848ee5c7554f | 8,442 | cpp | C++ | GPS/DOG/Main/LaunchTM/Common.cpp | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | 1 | 2019-07-24T07:59:07.000Z | 2019-07-24T07:59:07.000Z | GPS/DOG/Main/LaunchTM/Common.cpp | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | null | null | null | GPS/DOG/Main/LaunchTM/Common.cpp | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | 6 | 2015-03-17T12:11:38.000Z | 2022-01-29T01:15:52.000Z | // THIS SOURCE CODE IS PROPRIETARY INFORMATION BELONGING TO COREL CORP.
// ANY USE INCLUDING BUT NOT LIMITED TO COPYING OF CODE, CONCEPTS, AND/OR
// ALGORITHMS IS PROHIBITED EXCEPT WITH EXPRESS WRITTEN PERMISSION BY THE
// COMPANY.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIN... | 27.232258 | 108 | 0.670457 | goodspeed24e |
12653cb208a30f769f8eda7e5d156cbaa90186d3 | 518 | cpp | C++ | org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.shallowparser/cpp/test1.cpp | assessorgeneral/ConQAT | 2a462f23f22c22aa9d01a7a204453d1be670ba60 | [
"Apache-2.0"
] | 4 | 2016-06-26T01:13:39.000Z | 2022-03-04T16:42:35.000Z | org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.shallowparser/cpp/test1.cpp | brynary/conqat | 52172907ec76c4b0915091343f0975dc0cf4891c | [
"Apache-2.0"
] | null | null | null | org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.shallowparser/cpp/test1.cpp | brynary/conqat | 52172907ec76c4b0915091343f0975dc0cf4891c | [
"Apache-2.0"
] | 7 | 2015-04-01T03:50:54.000Z | 2021-11-11T05:19:48.000Z | // this file contains a couple of interesting cases for testing our parser.
// this file will not compile!
enum State {
ON=1, OFF, DONT_KNOW=17
};
// forward declarations
class MyClass;
struct MyStruct;
struct MyNamespace::MyStruct;
enum MyEnum;
// diffent kinds of types for variables
MyStruct *ms1;
struct MyStruc... | 14 | 75 | 0.69305 | assessorgeneral |
126ab438d7361207f47319104e8bcae01249b567 | 3,235 | cc | C++ | Online Judge/11439 - Maximizing the ICPC.cc | BrehamPie/Problem-Solves | 055e21ca4922170b80c5a53f43d9216f34b6f642 | [
"CC0-1.0"
] | null | null | null | Online Judge/11439 - Maximizing the ICPC.cc | BrehamPie/Problem-Solves | 055e21ca4922170b80c5a53f43d9216f34b6f642 | [
"CC0-1.0"
] | null | null | null | Online Judge/11439 - Maximizing the ICPC.cc | BrehamPie/Problem-Solves | 055e21ca4922170b80c5a53f43d9216f34b6f642 | [
"CC0-1.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
// Finds Maximum matching in General Graph
// Complexity O(NM)
// source: https://codeforces.com/blog/entry/92339?#comment-810242
using pii = pair<int, int>;
int Blossom(vector<vector<int>>& graph) {
//mate contains matched edge.
int n = graph.size(), timer = -1;
... | 30.809524 | 66 | 0.381762 | BrehamPie |
126b94d77603c11bfa95fb2740b2cb9777c048a0 | 6,245 | cpp | C++ | fboss/agent/hw/bcm/BcmRxPacket.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/bcm/BcmRxPacket.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/bcm/BcmRxPacket.cpp | TomMD/fboss | 30654277076e1f1f50c9b756e9690737dc1476e0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, 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.
*
*/
#inc... | 28.646789 | 80 | 0.690633 | TomMD |
126cdaec4358ab0a3bdfc4fc4c23815da9f11c7d | 19,860 | cpp | C++ | front-end/poker_game/game/game_view.cpp | marklion/poker_game | 1efad6ac3da333df714c88bee7e4a261ac594f5a | [
"BSD-2-Clause"
] | 3 | 2020-07-09T11:31:46.000Z | 2020-12-15T03:02:12.000Z | front-end/poker_game/game/game_view.cpp | marklion/poker_game | 1efad6ac3da333df714c88bee7e4a261ac594f5a | [
"BSD-2-Clause"
] | 2 | 2022-02-19T06:08:20.000Z | 2022-02-27T09:46:31.000Z | front-end/poker_game/game/game_view.cpp | marklion/poker_game | 1efad6ac3da333df714c88bee7e4a261ac594f5a | [
"BSD-2-Clause"
] | null | null | null | #include "game_view.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGraphicsGridLayout>
#include <qgraphicslayout.h>
#include <QSize>
void show_cards_img_inLabel(QLabel &_lab, game_msg_card *_card)
{
QString color_map[game_card_invalid] = {
[game_card_heart] = "heart",
[gam... | 32.826446 | 136 | 0.629859 | marklion |
1271fe23ba6e1a8015426dd39bf871ab778b267d | 1,149 | hh | C++ | psalg/psalg/calib/CalibParsDBWeb.hh | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 16 | 2017-11-09T17:10:56.000Z | 2022-03-09T23:03:10.000Z | psalg/psalg/calib/CalibParsDBWeb.hh | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 6 | 2017-12-12T19:30:05.000Z | 2020-07-09T00:28:33.000Z | psalg/psalg/calib/CalibParsDBWeb.hh | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 25 | 2017-09-18T20:02:43.000Z | 2022-03-27T22:27:42.000Z | #ifndef PSALG_CALIBPARSDBWEB_H
#define PSALG_CALIBPARSDBWEB_H
//-----------------------------
#include "psalg/calib/CalibParsDB.hh" // #include "psalg/calib/Query.hh"
#include "psalg/calib/MDBWebUtils.hh"
using namespace psalg; // for NDArray
namespace calib {
//-----------------------------
class CalibParsDBWeb :... | 27.357143 | 72 | 0.664926 | JBlaschke |
12726762f02819a028b8c9f2447491996689243c | 41,478 | cpp | C++ | RobotRaconteurCore/src/AsyncMessageReader.cpp | robotraconteur/robotraconteur_pyodide | e2a529c75b1603ae9471091095c9c6b10652dbbb | [
"Apache-2.0"
] | null | null | null | RobotRaconteurCore/src/AsyncMessageReader.cpp | robotraconteur/robotraconteur_pyodide | e2a529c75b1603ae9471091095c9c6b10652dbbb | [
"Apache-2.0"
] | 1 | 2019-11-15T02:20:44.000Z | 2019-11-15T05:57:21.000Z | RobotRaconteurCore/src/AsyncMessageReader.cpp | johnwason/robotraconteur_pyodide | 438f1013ef144e27e8c714561cc4ab48815cb607 | [
"Apache-2.0"
] | 1 | 2021-03-05T16:20:48.000Z | 2021-03-05T16:20:48.000Z | // Copyright 2011-2020 Wason Technology, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 26.35197 | 221 | 0.664039 | robotraconteur |
127d2bcc4b3d10a6e1081fbe48060281f0df3783 | 763 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/ast/core/function_call_vertex.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/ast/core/function_call_vertex.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/ast/core/function_call_vertex.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | // -----------------------------------------------------------------------------
// Fern © Geoneric
//
// This file is part of Geoneric Fern which is available under the terms of
// the GNU General Public License (GPL), version 2. If you do not want to
// be bound by the terms of the GPL, you may purchase a proprietary... | 29.346154 | 80 | 0.580603 | quanpands |
1284ff218a516158d42f7075be8cfcf007072873 | 890 | cpp | C++ | src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 2 | 2019-09-12T03:07:23.000Z | 2019-09-27T05:32:07.000Z | src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 1 | 2019-09-26T17:57:45.000Z | 2019-09-26T17:57:45.000Z | src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | null | null | null | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_IndexedArray_unique_next_index_and_offsets_64.cpp", line)
#include "awkward/kernels.h"
ERROR awkward_IndexedArray_unique_next_index_and_offsets_64(
int6... | 26.969697 | 131 | 0.641573 | BioGeek |
128addfca10e75818526a5d246348437ef027395 | 2,473 | cc | C++ | sandbox/limit.cc | Codu-LLC/sandbox | f78cb0fb8705904ffcda370f3395ca134d5fd87e | [
"MIT"
] | 1 | 2021-02-11T11:10:06.000Z | 2021-02-11T11:10:06.000Z | sandbox/limit.cc | Codu-LLC/sandbox | f78cb0fb8705904ffcda370f3395ca134d5fd87e | [
"MIT"
] | 1 | 2021-02-26T08:20:08.000Z | 2021-02-26T08:44:54.000Z | sandbox/limit.cc | Codu-LLC/sandbox | f78cb0fb8705904ffcda370f3395ca134d5fd87e | [
"MIT"
] | null | null | null | //
// Created by Eugene Junghyun Kim on 1/13/2021.
//
#include "cgroup.h"
#include "limit.h"
#include "sandbox.h"
#include <cmath>
#include <memory>
#include <signal.h>
#include <sys/resource.h>
#include <string>
#include <unistd.h>
#define MB_TO_BYTES(x) ((x) << 20)
#define MILLISECONDS_TO_SECONDS(x) ((x)/1000.)
st... | 36.910448 | 116 | 0.680954 | Codu-LLC |
128bf43d9515c6a045c4f7110e5fdf0419481bf8 | 7,571 | hpp | C++ | src/scanner.hpp | ShameekConyers/sicinterpreter | 24d0451436f0af67d24aae987155c3b090aa2fed | [
"MIT"
] | null | null | null | src/scanner.hpp | ShameekConyers/sicinterpreter | 24d0451436f0af67d24aae987155c3b090aa2fed | [
"MIT"
] | null | null | null | src/scanner.hpp | ShameekConyers/sicinterpreter | 24d0451436f0af67d24aae987155c3b090aa2fed | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace TokenType
{
enum Any {
// single-char tokens 0
TOKEN_LEFT_PAREN,
TOKEN_RIGHT_PAREN,
TOKEN_LEFT_BRACE,
TOKEN_RIGHT_BRACE,
TOKEN_COMMA,
TOKEN_DOT,
TOKEN_SEMICOLON,
TOKEN_MINUS,
TOKEN_PLUS,
TOKEN_SLASH,
TOKEN_STAR,
// one or two character tokens 11
TO... | 22.399408 | 74 | 0.596355 | ShameekConyers |
128c7a1b3c91a06fb3d2f74eca060f9190a0189d | 1,734 | hpp | C++ | src/mex/late_reverb_filter_calculator/signal_flow.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 17 | 2019-03-12T14:52:22.000Z | 2021-11-09T01:16:23.000Z | src/mex/late_reverb_filter_calculator/signal_flow.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | null | null | null | src/mex/late_reverb_filter_calculator/signal_flow.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 2 | 2019-08-11T12:53:07.000Z | 2021-06-22T10:08:08.000Z | /* Copyright Institute of Sound and Vibration Research - All rights reserved */
#ifndef VISR_MEX_LATE_REVERB_FILTER_CALCULATOR_SIGNAL_FLOW_HPP_INCLUDED
#define VISR_MEX_LATE_REVERB_FILTER_CALCULATOR_SIGNAL_FLOW_HPP_INCLUDED
#include <librrl/audio_signal_flow.hpp>
#include <libpml/message_queue.hpp>
#include <librcl... | 27.09375 | 122 | 0.753172 | s3a-spatialaudio |
128d7942607906359685849bba14e652bda730a4 | 585 | cpp | C++ | base/CountDownLatch.cpp | tryturned/webserver | f9a1342b08c1e2fe36249ce881a771b72bc9b423 | [
"MulanPSL-1.0"
] | null | null | null | base/CountDownLatch.cpp | tryturned/webserver | f9a1342b08c1e2fe36249ce881a771b72bc9b423 | [
"MulanPSL-1.0"
] | null | null | null | base/CountDownLatch.cpp | tryturned/webserver | f9a1342b08c1e2fe36249ce881a771b72bc9b423 | [
"MulanPSL-1.0"
] | null | null | null | /*
* @Autor: taobo
* @Date: 2020-05-27 19:04:46
* @LastEditTime: 2020-12-22 12:41:50
* @Description: file content
*/
#include "CountDownLatch.h"
#include <condition_variable>
#include <mutex>
using namespace std;
CountDownLatch::CountDownLatch(int cnt) : cnt_(cnt) {}
void CountDownLatch::wait() {
unique_lock... | 21.666667 | 54 | 0.678632 | tryturned |
128fd91523797e94958160e046f2aefab3edbfb2 | 6,751 | cpp | C++ | tests/test_set.cpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 47 | 2020-07-17T07:31:42.000Z | 2022-02-18T10:31:45.000Z | tests/test_set.cpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 40 | 2020-07-23T09:01:39.000Z | 2020-12-19T15:19:44.000Z | tests/test_set.cpp | ftlorg/ftl | 75a580043ddf011477f0fbcb0ed1dc01be37814d | [
"BSL-1.0"
] | 1 | 2020-07-26T18:21:36.000Z | 2020-07-26T18:21:36.000Z | #include <catch2/catch.hpp>
#include <ftl/ftl.hpp>
#define TEST_TAG "[set]"
TEST_CASE(TEST_TAG "default ctor", TEST_TAG) {
ftl::set<std::string> set;
REQUIRE(set.empty());
}
TEST_CASE(TEST_TAG "input iterator ctor", TEST_TAG) {
ftl::set<std::string> set1 = { { std::string("red"), std::string("green"), std::st... | 25.284644 | 101 | 0.595171 | ftlorg |
1290e333a82a5283c1f171e46c32471442c99e93 | 130 | cc | C++ | src/enums/webrtc/media_type.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 1,302 | 2018-11-26T03:29:51.000Z | 2022-03-31T23:38:34.000Z | src/enums/webrtc/media_type.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 311 | 2018-11-26T14:22:19.000Z | 2022-03-28T09:47:38.000Z | src/enums/webrtc/media_type.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 233 | 2018-11-26T18:08:11.000Z | 2022-03-30T01:29:50.000Z | #include "src/enums/webrtc/media_type.h"
#define ENUM(X) CRICKET_MEDIA_TYPE ## X
#include "src/enums/macros/impls.h"
#undef ENUM
| 21.666667 | 40 | 0.753846 | elofun |
12917226c425f0bde8defd200d14dfab93386a39 | 1,039 | cc | C++ | third_party/webrtc/src/chromium/src/device/vibration/vibration_manager_impl_default.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/device/vibration/vibration_manager_impl_default.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/device/vibration/vibration_manager_impl_default.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/vibration/vibration_manager_impl.h"
#include "base/basictypes.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.... | 25.975 | 73 | 0.757459 | bopopescu |
129267bd10d2c13f4e2c2cb14dd6f5dc753770a3 | 2,966 | cpp | C++ | source/puma/private/internal/ecs/components/inputcomponent.cpp | fpuma/Puma | e8eb5a8711f506077899a1fb5322d616a37e89c4 | [
"MIT"
] | null | null | null | source/puma/private/internal/ecs/components/inputcomponent.cpp | fpuma/Puma | e8eb5a8711f506077899a1fb5322d616a37e89c4 | [
"MIT"
] | null | null | null | source/puma/private/internal/ecs/components/inputcomponent.cpp | fpuma/Puma | e8eb5a8711f506077899a1fb5322d616a37e89c4 | [
"MIT"
] | null | null | null | #include "precompiledengine.h"
#include "internal/ecs/components/inputcomponent.h"
namespace puma
{
void InputComponent::addInputMap( InputAction _inputAction, MousePositionInput _mousePositionInput )
{
m_inputMaps.insert( InputMap( _inputAction, _mousePositionInput ) );
}
void InputComponent... | 31.892473 | 129 | 0.664869 | fpuma |
1296b8f82d6bf72057df336aefc3ba4e4fc933ba | 1,118 | cpp | C++ | CodeChef Starters 32/Volume Control.cpp | tarunbisht-24/Codechef-Contests | 8e7dcf69b839d586f4e73bc8183b8963a8cf1d50 | [
"Apache-2.0"
] | 1 | 2022-03-06T18:27:58.000Z | 2022-03-06T18:27:58.000Z | CodeChef Starters 32/Volume Control.cpp | tarunbisht-24/Codechef-Contests | 8e7dcf69b839d586f4e73bc8183b8963a8cf1d50 | [
"Apache-2.0"
] | null | null | null | CodeChef Starters 32/Volume Control.cpp | tarunbisht-24/Codechef-Contests | 8e7dcf69b839d586f4e73bc8183b8963a8cf1d50 | [
"Apache-2.0"
] | null | null | null | /*
Chef is watching TV. The current volume of the TV is X. Pressing the volume up button of the TV remote increases the volume by 1 while pressing the volume down button decreases the volume by 1. Chef wants to change the volume from X to Y. Find the minimum number of button presses required to do so.
Input Format
The... | 27.95 | 299 | 0.734347 | tarunbisht-24 |
129d5f744ed43e8f2ec753761ebfe8c2f4aa2a91 | 824,659 | cpp | C++ | src/main_5900.cpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | src/main_5900.cpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | src/main_5900.cpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppSourceCreator
// Created by Sc2ad
// =========================================================================
// Begin includes
// Including type: System.Net.Sockets.AddressFamily
#include "System/Net/Sockets/AddressFamily.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils.hpp"
#include "... | 82.772157 | 478 | 0.774834 | RedBrumbler |
129decae7c2bfb652cde64569525de0b4d86450a | 6,855 | cpp | C++ | cinkciarzclient.cpp | dbautsch/CinkciarzClient | 077133f4b67bb567e753a297a9f08d6e865a9939 | [
"MIT"
] | null | null | null | cinkciarzclient.cpp | dbautsch/CinkciarzClient | 077133f4b67bb567e753a297a9f08d6e865a9939 | [
"MIT"
] | null | null | null | cinkciarzclient.cpp | dbautsch/CinkciarzClient | 077133f4b67bb567e753a297a9f08d6e865a9939 | [
"MIT"
] | null | null | null | #include "cinkciarzclient.h"
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QFile>
#include <QDebug>
#include <QCoreApplication>
static const QString currenciesUrl = "https://cinkciarz.pl/kantor/kursy-walut-cinkciarz-pl";
CinkciarzClient::CinkciarzClient(QNetworkAccess... | 32.334906 | 92 | 0.47469 | dbautsch |
129e460f38f866384518f5430ab009c38ac67265 | 695 | cpp | C++ | 2018/day-02/2b.cpp | Valokoodari/advent-of-code | c664987f739e0b07ddad34bad87d56768556a5a5 | [
"MIT"
] | 2 | 2021-12-27T18:59:11.000Z | 2022-01-10T02:31:36.000Z | 2018/day-02/2b.cpp | Valokoodari/advent-of-code-2019 | c664987f739e0b07ddad34bad87d56768556a5a5 | [
"MIT"
] | null | null | null | 2018/day-02/2b.cpp | Valokoodari/advent-of-code-2019 | c664987f739e0b07ddad34bad87d56768556a5a5 | [
"MIT"
] | 2 | 2021-12-23T17:29:10.000Z | 2021-12-24T03:21:49.000Z | #include <iostream>
#include <vector>
#include <string>
std::string x;
std::vector<std::string> ids;
int a,s;
bool d = false;
int main() {
freopen("2_input", "r", stdin);
freopen("2b_output", "w", stdout);
while (std::cin >> x && !d) {
for (int i = 0; i < ids.size(); i++) {
s = 0;
... | 19.857143 | 48 | 0.37554 | Valokoodari |
12a18af74dd0a37690d9b20827f4d7381cef0dfc | 287 | hpp | C++ | src/scene/Entity_Base.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/scene/Entity_Base.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | null | null | null | src/scene/Entity_Base.hpp | IsraelEfraim/cpp-engine | 039bcad97d55635a7a8f31d0d80ce59095ebb6cb | [
"MIT"
] | 2 | 2021-03-15T18:51:32.000Z | 2021-07-19T23:45:49.000Z | #ifndef CPP_ENGINE_ENTITY_BASE_HPP
#define CPP_ENGINE_ENTITY_BASE_HPP
namespace engine {
class Entity_Base {
public:
virtual auto render() -> void {}
virtual auto update(float seconds) -> void {}
virtual ~Entity_Base() = default;
};
}
#endif //CPP_ENGINE_ENTITY_BASE_HPP
| 17.9375 | 49 | 0.735192 | IsraelEfraim |
12a3059c8153d30898927ad57381d829df24a176 | 1,634 | cpp | C++ | CppFBPComponents/Components/ThFileWt.cpp | nyue/cppfbp | f3cc99236db5a59a09f3d8924b2d1b95f2111741 | [
"Artistic-2.0"
] | 58 | 2015-01-01T15:33:56.000Z | 2022-01-14T07:29:20.000Z | CppFBPComponents/Components/ThFileWt.cpp | nyue/cppfbp | f3cc99236db5a59a09f3d8924b2d1b95f2111741 | [
"Artistic-2.0"
] | 8 | 2015-12-29T17:38:01.000Z | 2019-10-12T14:01:01.000Z | CppFBPComponents/Components/ThFileWt.cpp | nyue/cppfbp | f3cc99236db5a59a09f3d8924b2d1b95f2111741 | [
"Artistic-2.0"
] | 15 | 2015-01-20T04:02:35.000Z | 2022-01-14T07:30:00.000Z | //#pragma comment(lib, "CppFBPCore")
#include "StdAfx.h"
#include <string.h>
#include "compsvcs.h"
/* THFILEWT writes incoming entities to the file named on port OPT and
optionally passes the entities on to an output stream.
CALLING THFILEWT:
"filename.ext" -> OPT write_ents(THFILEWT),
input data stream -> IN write_en... | 22.383562 | 70 | 0.626683 | nyue |
12aa92bab64fdd221368582102e9b94384639095 | 1,040 | cpp | C++ | core-tests/src/rbtree.cpp | Inokinoki/swoole-src | 4cd91a50bdc0f3784f0d0aa555f36733fc1977bc | [
"Apache-2.0"
] | 9 | 2018-03-26T08:55:42.000Z | 2020-01-20T06:24:18.000Z | core-tests/src/rbtree.cpp | Inokinoki/swoole-src | 4cd91a50bdc0f3784f0d0aa555f36733fc1977bc | [
"Apache-2.0"
] | null | null | null | core-tests/src/rbtree.cpp | Inokinoki/swoole-src | 4cd91a50bdc0f3784f0d0aa555f36733fc1977bc | [
"Apache-2.0"
] | 1 | 2020-04-10T05:58:10.000Z | 2020-04-10T05:58:10.000Z | #include "tests.h"
#include "rbtree.h"
#include <set>
TEST(rbtree, insert)
{
swRbtree *tree = swRbtree_new();
int i;
std::set<uint32_t> lists;
for (i = 1; i < 20000; i++)
{
uint32_t key = i * 37;
swRbtree_insert(tree, key, (void *) (long) (i * 8));
}
for (i = 1; i < 1024; ... | 21.666667 | 60 | 0.467308 | Inokinoki |
12abb2f888aea44ae9c68deabdee5c0b5c32b480 | 939 | cpp | C++ | pawnfield.cpp | mdziubich/chessGame_cpp | 80ff8adc17d6fa72441400e80a715f516e5b2989 | [
"MIT"
] | 2 | 2019-08-25T09:09:42.000Z | 2022-03-26T22:49:10.000Z | pawnfield.cpp | mdziubich/chessGame_cpp | 80ff8adc17d6fa72441400e80a715f516e5b2989 | [
"MIT"
] | 1 | 2019-10-13T02:50:45.000Z | 2019-11-06T20:31:37.000Z | pawnfield.cpp | mdziubich/chessGame_cpp | 80ff8adc17d6fa72441400e80a715f516e5b2989 | [
"MIT"
] | null | null | null | #include "pawnfield.h"
#include <QGraphicsProxyWidget>
#include "boardfield.h"
#include "boardposition.h"
#include "gameview.h"
#include "utils.h"
extern GameView *game;
PawnField::PawnField(BoardPosition position,
QString imagePath,
QGraphicsItem *parent): QGraphicsRectItem(... | 24.710526 | 72 | 0.702875 | mdziubich |
12b0148867faeccf65a37e3c35a5cbb3da8c31dc | 567 | cpp | C++ | src/mutex.cpp | PokIsemaine/fishjoy | 97d9e2f0c04a9e4c770d87c8bb6f7fdb2de2d239 | [
"Unlicense"
] | null | null | null | src/mutex.cpp | PokIsemaine/fishjoy | 97d9e2f0c04a9e4c770d87c8bb6f7fdb2de2d239 | [
"Unlicense"
] | null | null | null | src/mutex.cpp | PokIsemaine/fishjoy | 97d9e2f0c04a9e4c770d87c8bb6f7fdb2de2d239 | [
"Unlicense"
] | null | null | null | //
// Created by zsl on 5/31/22.
//
#include "fishjoy/mutex.hpp"
namespace fishjoy {
Semaphore::Semaphore(uint32_t count) {
if (sem_init(&m_semaphore, 0, count) != 0) {
throw std::logic_error("sem_init error");
}
}
Semaphore::~Semaphore() { sem_destroy(&m_semaphore); }
void Semaphore::wait() {
... | 21.807692 | 56 | 0.613757 | PokIsemaine |
12b16e5dca09f1c5669a60b05bcd585e4d6cdd9c | 2,040 | cpp | C++ | src/target/main.cpp | anxri/gateway | cdfc7c13b5e08296c11618fc07185c6be467163f | [
"MIT"
] | null | null | null | src/target/main.cpp | anxri/gateway | cdfc7c13b5e08296c11618fc07185c6be467163f | [
"MIT"
] | null | null | null | src/target/main.cpp | anxri/gateway | cdfc7c13b5e08296c11618fc07185c6be467163f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "../../include/UdpSocket.h"
#include "../../include/aes.hpp"
#include "../read_single_conf.h"
using std::cout;
using std::endl;
using std::string;
using toolbox::UdpSocket;
string fetch_ip()
{
FILE *fp;
char path[10000];
fp = popen("curl -s ifconfig.me", "... | 22.666667 | 120 | 0.542157 | anxri |
12b1d0c523273c4d97a80b767298a0c04644c33f | 1,788 | cpp | C++ | catkin_ws/action_client_pkg/src/ardrone_action_client.cpp | BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days | 2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1 | [
"MIT"
] | 5 | 2019-08-09T03:07:30.000Z | 2021-12-09T15:51:09.000Z | catkin_ws/action_client_pkg/src/ardrone_action_client.cpp | BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days | 2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1 | [
"MIT"
] | null | null | null | catkin_ws/action_client_pkg/src/ardrone_action_client.cpp | BV-Pradeep/RIA-ROS-Basics-with-CPP-in-5-days | 2c33397de94a5d35cd9bb5d957fb0a15dd0b70b1 | [
"MIT"
] | 3 | 2019-07-22T07:43:46.000Z | 2021-07-12T14:23:24.000Z | #include <actionlib/client/simple_action_client.h>
#include <ardrone_as/ArdroneAction.h> // Note: "Action" is appended
#include <ros/ros.h>
int nImage = 0; // Initialization of a global variable
// Definition of the done calback. It is called once when the goal completes
void doneCb(const actionlib::SimpleClientGoalS... | 39.733333 | 80 | 0.713087 | BV-Pradeep |
12b23575180bb10d817c24cf6002947aa122889c | 1,438 | cpp | C++ | exec/readCircuitFile.cpp | zghodsi/TinyGarble2.0 | aa0c8a56848ee3f6d2354988028ec715d5e73e25 | [
"MIT"
] | null | null | null | exec/readCircuitFile.cpp | zghodsi/TinyGarble2.0 | aa0c8a56848ee3f6d2354988028ec715d5e73e25 | [
"MIT"
] | null | null | null | exec/readCircuitFile.cpp | zghodsi/TinyGarble2.0 | aa0c8a56848ee3f6d2354988028ec715d5e73e25 | [
"MIT"
] | null | null | null | #include <emp-tool-tg/emp-tool/emp-tool.h>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
#include <cstdlib>
#include <fstream>
using namespace std;
namespace po = boost::program_options;
int main(int argc, char** argv) {
string netlist_address_in, netlist_address_out;
po::options_d... | 25.22807 | 132 | 0.6363 | zghodsi |
12b5ad10c0130c27b492beb204bbf20e7a1c6d63 | 2,367 | cpp | C++ | deps/opencolorio-2.0.0/src/OpenColorIO/transforms/builtins/PanasonicCameras.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 826 | 2017-12-12T15:38:16.000Z | 2022-03-28T07:12:40.000Z | deps/opencolorio-2.0.0/src/OpenColorIO/transforms/builtins/PanasonicCameras.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 655 | 2019-04-16T15:15:31.000Z | 2022-03-31T18:05:52.000Z | deps/opencolorio-2.0.0/src/OpenColorIO/transforms/builtins/PanasonicCameras.cpp | julescmay/LuxCore | 3a6233f37afaf064300f52854715c0ab9ca2103e | [
"Apache-2.0"
] | 181 | 2018-12-22T15:39:52.000Z | 2022-03-22T09:52:27.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenColorIO Project.
#include <cmath>
#include <OpenColorIO/OpenColorIO.h>
#include "ops/matrix/MatrixOp.h"
#include "ops/log/LogOp.h"
#include "transforms/builtins/ACES.h"
#include "transforms/builtins/BuiltinTransformRegistry.h"
#include "t... | 28.865854 | 118 | 0.73553 | julescmay |
12b9dca9a6084bc1ff852988a0fbd49f06015415 | 1,364 | cpp | C++ | module04/ex01/PlasmaRifle.cpp | selysse/CPP-Piscine | 72884c60ac5007d34874b006e37dad7a04e846bb | [
"MIT"
] | 1 | 2021-09-17T13:25:47.000Z | 2021-09-17T13:25:47.000Z | module04/ex01/PlasmaRifle.cpp | selysse/CPP-Piscine | 72884c60ac5007d34874b006e37dad7a04e846bb | [
"MIT"
] | null | null | null | module04/ex01/PlasmaRifle.cpp | selysse/CPP-Piscine | 72884c60ac5007d34874b006e37dad7a04e846bb | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PlasmaRifle.cpp :+: :+: :+: ... | 35.894737 | 80 | 0.313783 | selysse |
12bd1a3ad6148b1f94e4885b69761a9722bab38f | 1,317 | cpp | C++ | src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2018-03-20T14:23:16.000Z | 2019-04-09T11:57:57.000Z | src/py/wrapper/wrapper_08568636c5a25349ad6ad5335ed1718e.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2017-04-28T07:41:01.000Z | 2021-03-15T18:17:20.000Z | #include "_core.h"
namespace autowig {
}
void wrapper_08568636c5a25349ad6ad5335ed1718e(pybind11::module& module)
{
pybind11::class_<class ::statiskit::LazyEstimation< struct ::statiskit::MultivariateMixtureDistribution< struct ::statiskit::ContinuousMultivariateDistribution >, struct ::statiskit::ContinuousMult... | 87.8 | 648 | 0.826879 | StatisKit |
5215e913d12581541240d67e27f5932fcbfa89bf | 146,702 | cpp | C++ | soap4/DV-DPfunctions.cpp | HKU-BAL/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | 6 | 2021-10-06T07:47:04.000Z | 2022-01-25T05:09:08.000Z | soap4/DV-DPfunctions.cpp | edwwlui/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | null | null | null | soap4/DV-DPfunctions.cpp | edwwlui/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | null | null | null | /*
*
* DV-DPfunctions.cu
* Soap3(gpu)
*
* Copyright (C) 2011, HKU
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your ... | 39.414831 | 273 | 0.583455 | HKU-BAL |
5218035825223ce4786ee19dc99369445d29e6e9 | 30,176 | cxx | C++ | smtk/extension/qt/qtSimpleExpressionView.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | smtk/extension/qt/qtSimpleExpressionView.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | 4 | 2016-11-10T15:49:51.000Z | 2017-02-06T23:24:16.000Z | smtk/extension/qt/qtSimpleExpressionView.cxx | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 33.867565 | 99 | 0.620526 | yumin |
521b63acf85353db0afe89d9c8532d4aef68487f | 3,836 | cc | C++ | flens/lapack/interface/src/gels.cc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 98 | 2015-01-26T20:31:37.000Z | 2021-09-09T15:51:37.000Z | flens/lapack/interface/src/gels.cc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 16 | 2015-01-21T07:43:45.000Z | 2021-12-06T12:08:36.000Z | flens/lapack/interface/src/gels.cc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 31 | 2015-01-05T08:06:45.000Z | 2022-01-26T20:12:00.000Z | #define STR(x) #x
#define STRING(x) STR(x)
#include <flens/lapack/interface/include/config.h>
namespace flens { namespace lapack {
extern "C" {
//-- dgels ---------------------------------------------------------------------
void
LAPACK_DECL(dgels)(const char *TRANS,
const INTEGE... | 29.507692 | 80 | 0.441084 | stip |
521f2233f56e5c7a14f0b1a79a087a2a3e3d21de | 3,399 | cpp | C++ | SDKs/CryCode/3.8.1/GameDll/AnimActionAIAimPose.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.7.0/GameDll/AnimActionAIAimPose.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.7.0/GameDll/AnimActionAIAimPose.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | ////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2011.
//
////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "AnimActionAIAimPose.h"
#include <ICryAnimation.h>
#includ... | 28.563025 | 200 | 0.61165 | amrhead |
521f24836e25552823cc789e4c2065d7ebdc20c2 | 4,248 | cpp | C++ | Strings/KMR/KMR.cpp | CStanKonrad/Algorithms | 494d86bc2a9248d71a0f9008d8d678386f9ca906 | [
"MIT"
] | null | null | null | Strings/KMR/KMR.cpp | CStanKonrad/Algorithms | 494d86bc2a9248d71a0f9008d8d678386f9ca906 | [
"MIT"
] | null | null | null | Strings/KMR/KMR.cpp | CStanKonrad/Algorithms | 494d86bc2a9248d71a0f9008d8d678386f9ca906 | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2016 CStanKonrad
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, p... | 25.745455 | 145 | 0.636064 | CStanKonrad |
5220a2f46152146270b19398bbbf379b739a5e2d | 1,226 | cpp | C++ | sparsewrite.cpp | pibara/blake2pp | 91261a0592e8dd38390d8d86d9f7d2d897d75b17 | [
"BSD-3-Clause"
] | null | null | null | sparsewrite.cpp | pibara/blake2pp | 91261a0592e8dd38390d8d86d9f7d2d897d75b17 | [
"BSD-3-Clause"
] | null | null | null | sparsewrite.cpp | pibara/blake2pp | 91261a0592e8dd38390d8d86d9f7d2d897d75b17 | [
"BSD-3-Clause"
] | null | null | null | #include "mattock-ohash.hpp"
#include <iostream>
template <typename OHash>
std::string sparse(bool skip) {
OHash oh(true); //Writing assuming sparse.
char buf[4096];
for (int index=0;index<4096;index++) {
buf[index]=index%128;
}
for (int index=1024;index<3073;index++) {
buf[index]=0;
}
oh.written... | 25.020408 | 68 | 0.630506 | pibara |
5220c25e4fb8fb839f96f0303bb664840a2fce72 | 3,611 | cc | C++ | ports/www/chromium-legacy/newport/files/patch-chrome_browser_flag__descriptions.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/www/chromium-legacy/newport/files/patch-chrome_browser_flag__descriptions.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/www/chromium-legacy/newport/files/patch-chrome_browser_flag__descriptions.cc | danielfojt/DeltaPorts | 5710b4af4cacca5eb1ac577df304c788c07c4217 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | --- chrome/browser/flag_descriptions.cc.orig 2019-10-21 19:06:22 UTC
+++ chrome/browser/flag_descriptions.cc
@@ -3632,7 +3632,7 @@ const char kZeroStateFilesDescription[] =
#endif // defined(OS_CHROMEOS)
-#if defined(OS_CHROMEOS) || defined(OS_LINUX)
+#if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_BS... | 45.1375 | 92 | 0.697314 | danielfojt |
5221751c7c41914e8388c0db2b91bfcbb5af2852 | 539 | cpp | C++ | software/src/master/src/kernel/Vca_Registry.cpp | c-kuhlman/vision | 46b25f7c0da703c059acc8f0a2eac1d5badf9f6d | [
"BSD-3-Clause"
] | 30 | 2016-10-07T15:23:35.000Z | 2020-03-25T20:01:30.000Z | src/kernel/Vca_Registry.cpp | MichaelJCaruso/vision-software-src-master | 12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92 | [
"BSD-3-Clause"
] | 30 | 2016-10-31T19:48:08.000Z | 2021-04-28T01:31:53.000Z | software/src/master/src/kernel/Vca_Registry.cpp | c-kuhlman/vision | 46b25f7c0da703c059acc8f0a2eac1d5badf9f6d | [
"BSD-3-Clause"
] | 15 | 2016-10-07T16:44:13.000Z | 2021-06-21T18:47:55.000Z | /***** Vca_Registry Implementation *****/
#define Vca_Registry_Implementation
/************************
************************
***** Interfaces *****
************************
************************/
/********************
***** System *****
********************/
#include "Vk.h"
/******************
*... | 19.25 | 43 | 0.332096 | c-kuhlman |
522200dba4645d5fd4874e674d965d3a81eb3a0e | 3,505 | cpp | C++ | src/run.cpp | SlausB/fos | 75c647da335925fd5e0bb956acc4db895004fc79 | [
"MIT"
] | null | null | null | src/run.cpp | SlausB/fos | 75c647da335925fd5e0bb956acc4db895004fc79 | [
"MIT"
] | null | null | null | src/run.cpp | SlausB/fos | 75c647da335925fd5e0bb956acc4db895004fc79 | [
"MIT"
] | null | null | null |
#include "run.h"
#include "dispatcher.h"
#include "colonel/colonel.h"
#include "colonel_imp/handlers/exit_h.h"
#include "colonel_imp/handlers/dbstats_h.h"
#include "colonel_imp/handlers/conns_h.h"
#include "colonel_imp/handlers/clients_h.h"
#include "colonel_imp/handlers/seg_fault_h.h"
#include "colonel_... | 23.211921 | 81 | 0.689586 | SlausB |
5225bf3849487f746201d0be7fb1f8b312123aa5 | 15,574 | hpp | C++ | Nacro/SDK/FN_EnemyPawn_Parent_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_EnemyPawn_Parent_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_EnemyPawn_Parent_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function EnemyPawn_Par... | 50.895425 | 170 | 0.589508 | Milxnor |
5226c84c51392b3591dcbb5a1d94511fc91b275c | 5,709 | cpp | C++ | src/lib/elf/relocation.cpp | epochx64/epochx64 | 15dd18ef0708000c8ac123dc59c8416db4c56e6b | [
"MIT"
] | null | null | null | src/lib/elf/relocation.cpp | epochx64/epochx64 | 15dd18ef0708000c8ac123dc59c8416db4c56e6b | [
"MIT"
] | null | null | null | src/lib/elf/relocation.cpp | epochx64/epochx64 | 15dd18ef0708000c8ac123dc59c8416db4c56e6b | [
"MIT"
] | null | null | null | #include <elf/relocation.h>
namespace elf
{
UINT64 GetSymbolValue(Elf64_Ehdr *ELFHeader, int Table, UINT64 Index)
{
using namespace log;
auto SymbolTableHeader = GetSectionHeader(ELFHeader, Table);
Elf64_Sym *Symbol = &((Elf64_Sym*)((UINT64)ELFHeader + SymbolTableHeader->sh_offset))[In... | 38.836735 | 138 | 0.586267 | epochx64 |
52279cf266d281ccc0746f369ce0dac107c859fa | 36,524 | hxx | C++ | main/svx/inc/svx/svdmodel.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/inc/svx/svdmodel.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/inc/svx/svdmodel.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 47.495449 | 144 | 0.695543 | Grosskopf |
5228253d064f2db22c65931c585f39df2fff05e2 | 4,509 | cpp | C++ | src/libmeasurement_kit/ooni/http_invalid_request_line.cpp | measurement-kit/debian-packaging | ed8b0575d8b487c8981c37cc790449b034028894 | [
"BSD-2-Clause"
] | null | null | null | src/libmeasurement_kit/ooni/http_invalid_request_line.cpp | measurement-kit/debian-packaging | ed8b0575d8b487c8981c37cc790449b034028894 | [
"BSD-2-Clause"
] | null | null | null | src/libmeasurement_kit/ooni/http_invalid_request_line.cpp | measurement-kit/debian-packaging | ed8b0575d8b487c8981c37cc790449b034028894 | [
"BSD-2-Clause"
] | null | null | null | // Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software. See AUTHORS and LICENSE for more
// information on the copying conditions.
#include "../common/utils.hpp"
#include <measurement_kit/ooni.hpp>
namespace mk {
namespace ooni {
static const int timeout = 5;
static voi... | 38.538462 | 79 | 0.586605 | measurement-kit |
52285d7a96eb64f3068aa46586cd7e88c7aae12b | 1,347 | hpp | C++ | boost/network/uri/uri_concept.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | 1 | 2019-06-19T13:42:33.000Z | 2019-06-19T13:42:33.000Z | boost/network/uri/uri_concept.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | null | null | null | boost/network/uri/uri_concept.hpp | mclow/cpp-netlib | 12c62f7402c585b0619412704db7a3e7280b960c | [
"BSL-1.0"
] | null | null | null | #ifndef BOOST_NETWORK_URL_URL_CONCEPT_HPP_
#define BOOST_NETWORK_URL_URL_CONCEPT_HPP_
// Copyright 2009 Dean Michael Berris, Jeroen Habraken.
// 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)
#include <boost/conc... | 27.489796 | 71 | 0.576837 | mclow |
522896c791d85e9a04432d5560ae9b9fe1f5ae0e | 4,063 | cpp | C++ | .emacs.d/cedet/semantic/tests/testsubclass.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | 6 | 2019-01-06T05:55:47.000Z | 2021-05-28T09:29:58.000Z | .emacs.d/cedet/semantic/tests/testsubclass.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | null | null | null | .emacs.d/cedet/semantic/tests/testsubclass.cpp | littletwolee/emacs-configure | 6fe0f3e99cab1c40de8e32e50740ff5d0d765fa3 | [
"MIT"
] | 2 | 2015-12-09T19:06:16.000Z | 2021-12-02T14:41:31.000Z | /* Special test file for Semantic Analyzer and complex C++ inheritance.
*/
//#include <iostream>
#include "testsubclass.hh"
void animal::moose::setFeet(int numfeet) //^1^
{
if (numfeet > 4) {
std::cerr << "Why would a moose have more than 4 feet?" << std::endl;
return;
}
fFeet = numfeet;
}
int animal... | 16.789256 | 116 | 0.592912 | littletwolee |
522b43b15778403761c0c07aa93e0696ad7de1f8 | 8,293 | cpp | C++ | ADApp/pluginSrc/NDPluginScatter.cpp | pheest/ADCore | 66b1352efe93c28b48bce37249f19db40181692a | [
"MIT"
] | 20 | 2015-01-07T09:02:42.000Z | 2021-07-27T14:35:19.000Z | ADApp/pluginSrc/NDPluginScatter.cpp | pheest/ADCore | 66b1352efe93c28b48bce37249f19db40181692a | [
"MIT"
] | 400 | 2015-01-06T14:44:30.000Z | 2022-02-07T17:45:32.000Z | ADApp/pluginSrc/NDPluginScatter.cpp | pheest/ADCore | 66b1352efe93c28b48bce37249f19db40181692a | [
"MIT"
] | 72 | 2015-01-23T23:23:02.000Z | 2022-02-07T15:14:35.000Z | /*
* NDPluginScatter.cpp
*
* Do callback only to next registered client, not to all clients
* Author: Mark Rivers
*
* March 2014.
*/
#include <stdlib.h>
#include <iocsh.h>
#include "NDPluginScatter.h"
#include <epicsExport.h>
static const char *driverName="NDPluginScatter";
/**
* \param[in] pArray The N... | 46.072222 | 116 | 0.654769 | pheest |
522c5313aada0e5bea3ce2c4fa782c8bd7db5521 | 292 | cpp | C++ | c++11/understanding-cpp11/chapter4/4-2-7.cpp | cuiwm/choe_lib | 6992c7bf551e7d6d633399b21b028e6873d5e6e8 | [
"MIT"
] | null | null | null | c++11/understanding-cpp11/chapter4/4-2-7.cpp | cuiwm/choe_lib | 6992c7bf551e7d6d633399b21b028e6873d5e6e8 | [
"MIT"
] | null | null | null | c++11/understanding-cpp11/chapter4/4-2-7.cpp | cuiwm/choe_lib | 6992c7bf551e7d6d633399b21b028e6873d5e6e8 | [
"MIT"
] | null | null | null | template<typename T1, typename T2>
double Sum(T1 & t1, T2 & t2) {
auto s = t1 + t2; // s的类型会在模板实例化时被推导出来
return s;
}
int main() {
int a = 3;
long b = 5;
float c = 1.0f, d = 2.3f;
auto e = Sum(a, b); // s的类型被推导为long
auto f = Sum(c, d); // s的类型被推导为float
}
| 19.466667 | 44 | 0.527397 | cuiwm |
522eb8453a31b7dcbe8a86ca576f39f829689c26 | 2,112 | cpp | C++ | Algorithms/Implementation/Sequence Equation/solution.cpp | kitarp29/ds-algo-solutions | c06effdaec2ff014248ca399268934cd8a639b5a | [
"MIT"
] | 48 | 2020-12-04T17:48:47.000Z | 2022-02-26T17:56:52.000Z | Algorithms/Implementation/Sequence Equation/solution.cpp | kitarp29/ds-algo-solutions | c06effdaec2ff014248ca399268934cd8a639b5a | [
"MIT"
] | 465 | 2020-12-04T02:12:56.000Z | 2021-12-07T16:09:51.000Z | Algorithms/Implementation/Sequence Equation/solution.cpp | kitarp29/ds-algo-solutions | c06effdaec2ff014248ca399268934cd8a639b5a | [
"MIT"
] | 199 | 2020-12-04T02:39:56.000Z | 2021-12-07T10:10:50.000Z | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Implementation Part
vector<int> permutationEquation(vector<int> p) {
// decreasing value by 1 for element of vector p
vector<int> result;
for(int i = 0;i < p.size();i++)
p[i]--;
// then matching fo... | 21.773196 | 115 | 0.544508 | kitarp29 |
52350d14d43a3e383034075d0bc251212dba4bc7 | 3,632 | cpp | C++ | Source/Renderer/Deferred/DeferredFrameBuffer.cpp | pgrabas/MoonGlare | 25807680700697023d04830402af168f624ffb35 | [
"MIT"
] | 1 | 2018-03-18T16:29:16.000Z | 2018-03-18T16:29:16.000Z | Source/Renderer/Deferred/DeferredFrameBuffer.cpp | pgrabas/MoonGlare | 25807680700697023d04830402af168f624ffb35 | [
"MIT"
] | null | null | null | Source/Renderer/Deferred/DeferredFrameBuffer.cpp | pgrabas/MoonGlare | 25807680700697023d04830402af168f624ffb35 | [
"MIT"
] | null | null | null | #include "DeferredFrameBuffer.h"
namespace MoonGlare::Renderer::Deferred {
DeferredFrameBuffer::DeferredFrameBuffer() {
memset(m_Textures, 0, sizeof(m_Textures));
}
DeferredFrameBuffer::~DeferredFrameBuffer() {
Free();
}
void DeferredFrameBuffer::Free() {
FreeFrameBuffer();
if (m_Textures[0]) {
... | 30.779661 | 149 | 0.686123 | pgrabas |
5235415c3ea86dad482acefe69a4e828025357a0 | 8,839 | cc | C++ | content/browser/service_worker/service_worker_register_job.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/service_worker/service_worker_register_job.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/service_worker/service_worker_register_job.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 "content/browser/service_worker/service_worker_register_job.h"
#include <vector>
#include "content/browser/service_worker/service_worker_contex... | 35.930894 | 80 | 0.739111 | Acidburn0zzz |
5235e52e272885ee0b8bb7f2051006ce4ee424bd | 1,260 | cpp | C++ | BITRURQ.cpp | akshay31057/Competitive-Programming-Repository | bb4e61df348803795d0bf24c11000b2e02ab8cda | [
"MIT"
] | 1 | 2020-10-09T15:07:36.000Z | 2020-10-09T15:07:36.000Z | BITRURQ.cpp | akshay31057/Competitive-Programming-Repository | bb4e61df348803795d0bf24c11000b2e02ab8cda | [
"MIT"
] | null | null | null | BITRURQ.cpp | akshay31057/Competitive-Programming-Repository | bb4e61df348803795d0bf24c11000b2e02ab8cda | [
"MIT"
] | 1 | 2018-10-25T15:07:12.000Z | 2018-10-25T15:07:12.000Z | /**
* Description: BIT RURQ (Support range queries and range updates of 1-D array)
* Usage: query O(lg(N)), update O(lg(N))
* Source: https://github.com/dragonslayerx
*/
// Remember to use 1 based indexing
class BIT {
static const int MAX = 100005;
public:
static long long query(long long *bit, int i... | 22.105263 | 79 | 0.511111 | akshay31057 |