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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
241e6bda3f32e59c906208bbfe614868ef8101a3 | 10,719 | cpp | C++ | src/RcppExports.cpp | mklarqvist/rtomahawk | cd6337dac479dcc121a02fe7590616d4aa302ffa | [
"MIT"
] | 4 | 2019-01-28T15:39:16.000Z | 2020-05-12T18:06:35.000Z | src/RcppExports.cpp | mklarqvist/rtomahawk | cd6337dac479dcc121a02fe7590616d4aa302ffa | [
"MIT"
] | 3 | 2019-06-11T12:10:52.000Z | 2020-05-13T23:30:45.000Z | src/RcppExports.cpp | mklarqvist/rtomahawk | cd6337dac479dcc121a02fe7590616d4aa302ffa | [
"MIT"
] | 2 | 2019-05-22T22:08:03.000Z | 2020-06-12T02:07:29.000Z | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// CheckIntervalContig
bool CheckIntervalContig(const std::string& interval);
RcppExport SEXP _rtomahawk_CheckIntervalContig(SEXP intervalSEXP) {
BEG... | 47.64 | 201 | 0.764624 | mklarqvist |
2420c5b800fe1b5deefb91014622286851023877 | 10,852 | cc | C++ | chrome/browser/history/android/android_history_provider_service.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/history/android/android_history_provider_service.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/history/android/android_history_provider_service.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/history/android/android_history_provider_service.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/bro... | 35.697368 | 80 | 0.691393 | kjthegod |
242204684479d378523475eb1ec900c48df76848 | 7,896 | cxx | C++ | code/plugins/xray_re/xr_game_spawn.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/plugins/xray_re/xr_game_spawn.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/plugins/xray_re/xr_game_spawn.cxx | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | #include <algorithm>
#include "xr_ai_version.h"
#include "xr_game_spawn.h"
#include "xr_level_game.h"
#include "xr_entity.h"
#include "xr_entity_factory.h"
#include "xr_utils.h"
#include "xr_file_system.h"
using namespace xray_re;
xr_game_spawn::xr_game_spawn(): m_version(AI_VERSION_8),
m_num_levels(0), m_num_af_slo... | 21.752066 | 104 | 0.665527 | Rikoshet-234 |
2425d0d9cf2ad409ab31af4dcad7958d8e361452 | 46,068 | cpp | C++ | doc/snippets/MagnumGL.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | 1 | 2022-03-02T19:44:27.000Z | 2022-03-02T19:44:27.000Z | doc/snippets/MagnumGL.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | null | null | null | doc/snippets/MagnumGL.cpp | Anon1428/magnum | 384e148c24293f513df69e6c03f94a2d4a1e3b6a | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files ... | 28.560446 | 244 | 0.720652 | Anon1428 |
2427af07b6305decf64f849a0aad12886c845e92 | 497 | cpp | C++ | Common/DebugLog.cpp | Souhardya/Slavyana | e5dd2f14af1499c83650c371fa86dc1c51e2556d | [
"Apache-2.0"
] | 20 | 2021-12-31T11:28:38.000Z | 2022-03-22T13:28:59.000Z | Common/DebugLog.cpp | Souhardya/Slavyana | e5dd2f14af1499c83650c371fa86dc1c51e2556d | [
"Apache-2.0"
] | null | null | null | Common/DebugLog.cpp | Souhardya/Slavyana | e5dd2f14af1499c83650c371fa86dc1c51e2556d | [
"Apache-2.0"
] | 8 | 2022-03-12T10:09:39.000Z | 2022-03-15T08:39:27.000Z | #include <windows.h>
#include <stdio.h>
#include "./DebugLog.h"
//
//Usage
//
//#ifdef Dbg
//DebugLog(DbgInfo,L"XXX");
//#endif
//
//Define
//
#define DbgLine "\r\n%s-%s-%d: "
void DebugLog(LPCSTR lpFILE, LPCSTR lpFUNCTION, int lpLINE, LPCWSTR lpOutputString)
{
#ifdef Dbg
char st... | 13.805556 | 84 | 0.643863 | Souhardya |
2427d5f846c42c8938236a4d4cf63d40fd947b41 | 778 | cpp | C++ | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | #include "./INCLUDE/LKH.h"
#include "./INCLUDE/Segment.h"
namespace LKH {
static thread_local int DemandSum;
GainType LKHAlg::Penalty_TSPDL()
{
Node *N = Depot, *NextN;
GainType P = 0;
int Draft;
int Forward = SUCC(N)->Id != N->Id + DimensionSaved;
if (DemandSum == 0) {
do {
if (N->Id <= Dimension... | 23.575758 | 54 | 0.578406 | BaiChunhui-9803 |
242b108149187a64797c7d8f30264ae73fb3bf8e | 2,373 | cxx | C++ | src/Code/BTK/btkPSF.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 13 | 2020-06-17T04:21:27.000Z | 2022-03-10T01:47:21.000Z | src/Code/BTK/btkPSF.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 76 | 2019-10-24T14:08:07.000Z | 2022-03-24T09:46:52.000Z | src/Code/BTK/btkPSF.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 2 | 2020-12-11T14:42:20.000Z | 2022-01-21T12:47:22.000Z | /*==========================================================================
© Université de Strasbourg - Centre National de la Recherche Scientifique
Date: 27/05/2013
Author(s):Marc Schweitzer (marc.schweitzer(at)unistra.fr)
This software is governed by the CeCILL-B license under French law and
abid... | 38.901639 | 99 | 0.651496 | sebastientourbier |
242b2d4cb37a1ed2deaca7d6a41e9df10ace7946 | 8,665 | hpp | C++ | gvsoc/gvsoc/models/cpu/iss/vp/include/platform_wrapper.hpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc/models/cpu/iss/vp/include/platform_wrapper.hpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc/models/cpu/iss/vp/include/platform_wrapper.hpp | mfkiwl/gap_sdk | 642b798dfdc7b85ccabe6baba295033f0eadfcd4 | [
"Apache-2.0"
] | 1 | 2021-11-11T02:12:25.000Z | 2021-11-11T02:12:25.000Z | /*
* Copyright (C) 2020 GreenWaves Technologies, SAS, ETH Zurich and
* University of Bologna
*
* 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.apac... | 25.712166 | 124 | 0.697403 | mfkiwl |
242bf28c6529542d450b222b29b64f98abe9f70d | 3,917 | cpp | C++ | mxflib/xmlparser.cpp | Jamaika1/MoxMxf_mxflib_dpx_IlmThread_ | 2fe08568982b75605c36d81b6f7f31084328c372 | [
"BSD-3-Clause"
] | null | null | null | mxflib/xmlparser.cpp | Jamaika1/MoxMxf_mxflib_dpx_IlmThread_ | 2fe08568982b75605c36d81b6f7f31084328c372 | [
"BSD-3-Clause"
] | null | null | null | mxflib/xmlparser.cpp | Jamaika1/MoxMxf_mxflib_dpx_IlmThread_ | 2fe08568982b75605c36d81b6f7f31084328c372 | [
"BSD-3-Clause"
] | null | null | null | /*! \file xmlparser.cpp
* \brief Interface to available SAX style XML parser
*
* \version $Id$
*
*/
/*
* 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 gran... | 25.769737 | 159 | 0.708961 | Jamaika1 |
242dd538854e241874d3533ebb230d01c901f9e0 | 1,829 | cpp | C++ | vnpy/api/ksgold/generator/ksgold_md_source_on.cpp | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/api/ksgold/generator/ksgold_md_source_on.cpp | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/api/ksgold/generator/ksgold_md_source_on.cpp | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | void onFrontConnected(int reqid) override
{
try
{
PYBIND11_OVERLOAD(void, MdApi, onFrontConnected, reqid);
}
catch (const error_already_set &e)
{
cout << e.what() << endl;
}
};
void onFrontDisconnected(int reqid) override
{
try
{
PYBIND11_OVERLOAD(void, MdApi, onFrontDisconnected, reqid);
}
catch (cons... | 18.85567 | 93 | 0.68398 | funrunskypalace |
242f71f6435782338c17838e5adfe869cda6a8a3 | 2,729 | hpp | C++ | src/Gui/single/Widget.hpp | classix-ps/sfml-widgets | 0556f9d95ee2c5a5bc34e2182cf7f16290c102cf | [
"MIT"
] | null | null | null | src/Gui/single/Widget.hpp | classix-ps/sfml-widgets | 0556f9d95ee2c5a5bc34e2182cf7f16290c102cf | [
"MIT"
] | null | null | null | src/Gui/single/Widget.hpp | classix-ps/sfml-widgets | 0556f9d95ee2c5a5bc34e2182cf7f16290c102cf | [
"MIT"
] | null | null | null | #ifndef GUI_WIDGET_SINGLE_HPP
#define GUI_WIDGET_SINGLE_HPP
#include <SFML/Graphics.hpp>
#include <iostream>
#include <functional>
namespace guiSingle
{
enum State
{
StateDefault,
StateHovered,
StatePressed,
StateFocused
};
class Layout;
/**
* Abstract base class for gui widgets
*/
class Widget: ... | 21.65873 | 80 | 0.639428 | classix-ps |
2433a5c8ce5ff0577fc106ee422a1cf2657e585d | 1,201 | cpp | C++ | sources/Leetcodes/src/228_summary_ranges.cpp | mcoder2014/myNotes | 443cf16b1873bb473b7cb6bc1a6ec9c6423333e7 | [
"MIT"
] | 4 | 2020-06-22T13:20:26.000Z | 2020-06-24T08:43:11.000Z | sources/Leetcodes/src/228_summary_ranges.cpp | mcoder2014/DataStructureAndAlgorithms | 443cf16b1873bb473b7cb6bc1a6ec9c6423333e7 | [
"MIT"
] | null | null | null | sources/Leetcodes/src/228_summary_ranges.cpp | mcoder2014/DataStructureAndAlgorithms | 443cf16b1873bb473b7cb6bc1a6ec9c6423333e7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <set>
using namespace std;
class Solution {
public:
vector<string> summaryRanges(vector<int>& nums) {
set<int> numSet;
for(int& item:nums) {
numSet.insert(item);
}
vector<string> returnValue;
for(int& item:nums) {... | 22.660377 | 88 | 0.477102 | mcoder2014 |
2435f8d894358672d7342bc977212151bd7beacf | 463 | cpp | C++ | c++11/nullptr.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | c++11/nullptr.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | c++11/nullptr.cpp | queertypes/cplusplus-examples | c4f784cbc9e97220c0e25f7ea9f1121f63d194fe | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
using namespace std;
void f(void *x)
{
if (x == nullptr) {
cout << "error: null argument\n";
return;
}
cout << "That's a good argument you make there...\n";
}
int main()
{
int* p1 = nullptr;
int* p2 = 0;
int* x = new int;
if (p1 == p2)
cout << "nullptr is equivalent t... | 13.617647 | 55 | 0.546436 | queertypes |
0f84fccbcc900461084fb2ee3a8317b812ee3922 | 2,970 | cpp | C++ | modules/brl/native/admob.ios.cpp | blitz-research/monkey | 1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58 | [
"Zlib"
] | 144 | 2015-01-04T08:43:08.000Z | 2022-03-30T19:32:33.000Z | modules/brl/native/admob.ios.cpp | leonard-thieu/monkey | 1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58 | [
"Zlib"
] | 15 | 2015-02-26T13:15:16.000Z | 2017-06-09T12:03:18.000Z | modules/brl/native/admob.ios.cpp | leonard-thieu/monkey | 1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58 | [
"Zlib"
] | 64 | 2015-01-12T14:44:47.000Z | 2021-09-18T04:28:43.000Z |
//admob.ios.h
#import "GADBannerView.h"
class BBAdmob{
static BBAdmob *_admob;
GADBannerView *_view;
public:
BBAdmob();
static BBAdmob *GetAdmob();
void ShowAdView( int style,int layout );
void HideAdView();
int AdViewWidth();
int AdViewHeight();
};
//admob.ios.cpp
#define _QUOTE(X) #X
#define _S... | 24.146341 | 175 | 0.769024 | blitz-research |
0f85645627a23fe784460ac9dd30dcff7729fada | 6,813 | cpp | C++ | src/backenddata.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 270 | 2015-06-11T05:08:56.000Z | 2022-03-26T08:48:00.000Z | src/backenddata.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 154 | 2015-06-10T21:28:54.000Z | 2021-11-10T19:08:08.000Z | src/backenddata.cpp | Tarsnap/tarsnap-gui | 60a1d7816747ac71a4573673df8ee1b81ef1cb99 | [
"BSD-2-Clause"
] | 28 | 2015-06-11T00:09:26.000Z | 2021-12-19T04:43:26.000Z | #include "backenddata.h"
WARNINGS_DISABLE
#include <QChar>
#include <QDateTime>
#include <QLatin1String>
#include <QSqlError>
#include <QSqlQuery>
#include <QSqlRecord>
#include <QVariant>
WARNINGS_ENABLE
#include "debug.h"
#include "backuptask.h"
#include "persistentmodel/archive.h"
#include "persistentmodel/job.h"... | 26.406977 | 77 | 0.617496 | Tarsnap |
0f8981cdde5d0a93de38ebc52bfbf3be6f3591ee | 2,518 | cpp | C++ | Codes/cpp/Yee_172/graph.cpp | Yee172/SHY_ACM_Template | e6ae56e0140bac15e35aed00577ad13e5370c92c | [
"MIT"
] | 11 | 2018-06-07T13:51:32.000Z | 2019-10-28T16:33:52.000Z | Codes/cpp/Yee_172/graph.cpp | Yee172/SHY_ACM_Template | e6ae56e0140bac15e35aed00577ad13e5370c92c | [
"MIT"
] | null | null | null | Codes/cpp/Yee_172/graph.cpp | Yee172/SHY_ACM_Template | e6ae56e0140bac15e35aed00577ad13e5370c92c | [
"MIT"
] | 6 | 2018-06-07T13:51:49.000Z | 2019-04-14T08:04:31.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll N = 100500;
const ll M = 100500;
const static ll inf = 0x3f3f3f3f3f3f3f3f;
struct edge
{
ll u;
ll v;
ll w;
};
vector<edge> e[N];
inline void insert_edge(ll u, ll v, ll w)
{
e[u].push_back(edge{u, v, w});
}
inline void insert... | 20.983333 | 62 | 0.378872 | Yee172 |
0f8a339d5d18798266f399c5f2db98197d68ce19 | 1,382 | cpp | C++ | PulsingLed.cpp | BasPaap/Looms | a0f4babdecfc68a9308e5a708f81ecee352a8c86 | [
"MIT"
] | null | null | null | PulsingLed.cpp | BasPaap/Looms | a0f4babdecfc68a9308e5a708f81ecee352a8c86 | [
"MIT"
] | null | null | null | PulsingLed.cpp | BasPaap/Looms | a0f4babdecfc68a9308e5a708f81ecee352a8c86 | [
"MIT"
] | null | null | null | //
//
//
#include "PulsingLed.h"
Bas::PulsingLed::PulsingLed(int pin, unsigned long fadeInDuration, unsigned long fadeOutDuration) : pin{ pin }, fadeInDuration{ fadeInDuration }, fadeOutDuration{ fadeOutDuration }
{
}
Bas::PulsingLed::~PulsingLed()
{
}
void Bas::PulsingLed::update()
{
if (this->phase != Phas... | 18.675676 | 182 | 0.640376 | BasPaap |
0f8eb9897ebe55ceddf7169b0b63469c40a1f334 | 132,170 | cxx | C++ | ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx | sakjain92/paraview | f3af0cd9f6750e24ad038eac573b870c88d6b7dd | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-09-27T08:04:34.000Z | 2019-10-16T22:30:54.000Z | ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx | sakjain92/paraview | f3af0cd9f6750e24ad038eac573b870c88d6b7dd | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx | sakjain92/paraview | f3af0cd9f6750e24ad038eac573b870c88d6b7dd | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #include "vtkPEnSightGoldBinaryReader.h"
#include "vtkByteSwap.h"
#include "vtkCellData.h"
#include "vtkCharArray.h"
#include "vtkFloatArray.h"
#include "vtkIdList.h"
#include "vtkImageData.h"
#include "vtkMultiBlockDataSet.h"
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
#include "vtkPolyData.h"
#include "v... | 29.112335 | 100 | 0.577188 | sakjain92 |
0f9226fe427935f07725e7a9f76d870136e14917 | 176 | cpp | C++ | shared/fixes2.cpp | uroboro/DIP | 1b2aca87438a629ad2e5fcc22508bda66402d26c | [
"MIT"
] | 1 | 2017-07-04T02:50:26.000Z | 2017-07-04T02:50:26.000Z | shared/fixes2.cpp | uroboro/DIP | 1b2aca87438a629ad2e5fcc22508bda66402d26c | [
"MIT"
] | null | null | null | shared/fixes2.cpp | uroboro/DIP | 1b2aca87438a629ad2e5fcc22508bda66402d26c | [
"MIT"
] | 2 | 2016-05-12T02:47:26.000Z | 2020-03-02T10:54:14.000Z | #include "fixes2.hpp"
#include <opencv2/core/core.hpp>
double getTickCount() {
return cv::getTickCount();
}
double getTickFrequency() {
return cv::getTickFrequency();
}
| 16 | 34 | 0.710227 | uroboro |
0f94ad41ff176329edea7fed03d4fbea5e8463a8 | 1,563 | cpp | C++ | Changer/Changer/Changer.cpp | ricardoshimoda/gbc_game3004 | 7a70c8e4709991d88f7586964603bad2fe4b0201 | [
"MIT"
] | null | null | null | Changer/Changer/Changer.cpp | ricardoshimoda/gbc_game3004 | 7a70c8e4709991d88f7586964603bad2fe4b0201 | [
"MIT"
] | null | null | null | Changer/Changer/Changer.cpp | ricardoshimoda/gbc_game3004 | 7a70c8e4709991d88f7586964603bad2fe4b0201 | [
"MIT"
] | null | null | null | // Changer.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <string>
#include <iostream>
#include <filesystem>
using namespace std;
namespace fs = std::filesystem;
void changeFileName(string path, string relativePath) {
for (const auto & entry : fs:... | 28.944444 | 133 | 0.639795 | ricardoshimoda |
0f95798fdcaf0417aeff28fdbc68a5050f144af8 | 3,442 | cc | C++ | src/draco/core/encoder_buffer.cc | intact-solutions/draco | 45d3373468912a1609eb98b6b494847ca47e4ff2 | [
"Apache-2.0"
] | 622 | 2016-05-12T17:39:27.000Z | 2020-03-09T08:51:41.000Z | src/draco/core/encoder_buffer.cc | intact-solutions/draco | 45d3373468912a1609eb98b6b494847ca47e4ff2 | [
"Apache-2.0"
] | 110 | 2020-03-14T15:30:42.000Z | 2022-03-31T07:59:29.000Z | src/draco/core/encoder_buffer.cc | intact-solutions/draco | 45d3373468912a1609eb98b6b494847ca47e4ff2 | [
"Apache-2.0"
] | 105 | 2016-05-12T18:55:39.000Z | 2020-03-04T15:02:01.000Z | // Copyright 2016 The Draco 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 agree... | 37.824176 | 80 | 0.73097 | intact-solutions |
0f9719aae6a7bfd572e601cd287e5efcb3ebd0f9 | 2,434 | cpp | C++ | MonoNative.Tests/mscorlib/System/Runtime/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Runtime/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Runtime/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Runtime.Serialization.Formatters
// Name: ServerFault
// C++ Typed Name: mscorlib::System::Runtime::Serialization::Formatters::ServerFault
#include <gtest/gtest.h>
#include <mscorlib/Sy... | 24.585859 | 129 | 0.693509 | brunolauze |
0f97aeb5a2ce6aaa937bacc6722b0f0a924d848f | 8,621 | cpp | C++ | VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // Cat3View.cpp : implementation of the CCatDBView class
//
// This is a part of the Microsoft Foundation Classes and
// Templates (MFC&T).
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// MFC&T Reference and related electronic documentation... | 25.061047 | 93 | 0.670108 | alonmm |
0f985acbc7173fbcd9f28571aebe7711b8d6baee | 1,940 | cpp | C++ | src/cmd_handlers/cmd_get_cam_audio_conf_handler.cpp | sea-kg/rasprobotd2 | 3610d7fa1dd2a255c73e35a59302f8d8b2e12b10 | [
"MIT"
] | null | null | null | src/cmd_handlers/cmd_get_cam_audio_conf_handler.cpp | sea-kg/rasprobotd2 | 3610d7fa1dd2a255c73e35a59302f8d8b2e12b10 | [
"MIT"
] | null | null | null | src/cmd_handlers/cmd_get_cam_audio_conf_handler.cpp | sea-kg/rasprobotd2 | 3610d7fa1dd2a255c73e35a59302f8d8b2e12b10 | [
"MIT"
] | null | null | null | //
// Copyright © 2016 VXG Inc. All rights reserved.
// Contact: https://www.videoexpertsgroup.com/contact-vxg/
// This file is part of the demonstration of the VXG Cloud Platform.
//
// Commercial License Usage
// Licensees holding valid commercial VXG licenses may use this file in
// accordance with the commerc... | 37.307692 | 79 | 0.737629 | sea-kg |
0f986fb17c7a0ee24ea5ddfea7d3df9d1aed99a9 | 2,982 | cpp | C++ | src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp | sedwards2009/nodegui-plugin-opengl | e12669f2efbb07420f86ed8e10c85a9e408f4ff7 | [
"MIT"
] | 3 | 2021-10-16T03:40:08.000Z | 2021-11-10T07:16:11.000Z | src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp | sedwards2009/nodegui-plugin-opengl | e12669f2efbb07420f86ed8e10c85a9e408f4ff7 | [
"MIT"
] | null | null | null | src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp | sedwards2009/nodegui-plugin-opengl | e12669f2efbb07420f86ed8e10c85a9e408f4ff7 | [
"MIT"
] | 1 | 2022-02-16T01:34:24.000Z | 2022-02-16T01:34:24.000Z | #include <Extras/Utils/nutils.h>
#include <QtCore/QObject/qobject_wrap.h>
#include "qopengldebuglogger_wrap.h"
Napi::FunctionReference QOpenGLDebugLoggerWrap::constructor;
Napi::Object QOpenGLDebugLoggerWrap::init(Napi::Env env, Napi::Object exports) {
Napi::HandleScope scope(env);
char CLASSNAME[] = "QOpenGLDe... | 35.5 | 109 | 0.718981 | sedwards2009 |
0f98e0aabf43de25086855fac9e255c494a1a273 | 447 | cpp | C++ | AquaEngine/Core/Allocators/LinearAllocator.cpp | tiagovcosta/aquaengine | aea6de9f47ba0243b90c144dee4422efb2389cc7 | [
"MIT"
] | 55 | 2015-05-29T20:19:28.000Z | 2022-01-18T21:23:15.000Z | AquaEngine/Core/Allocators/LinearAllocator.cpp | tiagovcosta/aquaengine | aea6de9f47ba0243b90c144dee4422efb2389cc7 | [
"MIT"
] | null | null | null | AquaEngine/Core/Allocators/LinearAllocator.cpp | tiagovcosta/aquaengine | aea6de9f47ba0243b90c144dee4422efb2389cc7 | [
"MIT"
] | 6 | 2015-09-02T09:51:38.000Z | 2020-08-16T07:54:34.000Z | #include "LinearAllocator.h"
#include "..\..\Utilities\Debug.h"
using namespace aqua;
LinearAllocator::LinearAllocator(size_t size, void* start)
: Allocator(size), _start(start), _current_pos(start)
{
}
void LinearAllocator::deallocate(void* p)
{
//ASSERT("Cannot call deallocate on Linear Allocators" && false);
}... | 17.88 | 66 | 0.736018 | tiagovcosta |
0f9e90a384d4ae1468517bc94836508f7390378e | 6,273 | cc | C++ | chrome/browser/chromeos/offline/offline_load_page.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/offline/offline_load_page.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/offline/offline_load_page.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/offline/offline_load_page.h"
#include "apps/launcher.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#inc... | 37.789157 | 79 | 0.729476 | 7kbird |
0fa0f5a4ef31f5e31c5c767834a3d22b6beecc17 | 1,515 | hpp | C++ | base/get_time.hpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | base/get_time.hpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | base/get_time.hpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #pragma once
#include "std/target_os.hpp"
#if defined(OMIM_OS_LINUX)
#include <cassert>
#endif
#include <iomanip>
namespace base
{
#if defined(OMIM_OS_LINUX)
namespace detail
{
template <class _CharT>
struct get_time_manip
{
tm * __tm_;
const _CharT * __fmt_;
get_time_manip(tm * __tm, const _CharT * __fmt) ... | 21.642857 | 92 | 0.671947 | kudlav |
0fa2764d7cfce470f37da26e1545996dfe8b260d | 7,906 | cpp | C++ | importfbx/parsemisc.cpp | walbourn/contentexporter | 2559ac92bbb1ce1409f1c63b51957ea088427b24 | [
"MIT"
] | 62 | 2015-04-14T22:28:11.000Z | 2022-03-28T07:02:28.000Z | importfbx/parsemisc.cpp | TienAska/contentexporter | 746cf69136b63b0502e9e6e8687ed66b5a268103 | [
"MIT"
] | 18 | 2015-07-01T18:29:14.000Z | 2021-11-13T12:28:08.000Z | importfbx/parsemisc.cpp | TienAska/contentexporter | 746cf69136b63b0502e9e6e8687ed66b5a268103 | [
"MIT"
] | 21 | 2015-05-31T07:57:37.000Z | 2021-07-30T10:20:06.000Z | //-------------------------------------------------------------------------------------
// ParseMisc.cpp
//
// Advanced Technology Group (ATG)
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkId=226208
//----------------------------------------... | 31.373016 | 175 | 0.603466 | walbourn |
0fa295a15444e8946f867d13102491eebb6b6a72 | 11,887 | hpp | C++ | ClassPath/include/File/ScanFolder.hpp | X-Ryl669/Frost | 5eefa4d4d73ecb0985389bc142609221047b0e6b | [
"MIT"
] | 24 | 2015-03-23T19:16:56.000Z | 2022-02-02T01:55:55.000Z | ClassPath/include/File/ScanFolder.hpp | X-Ryl669/Frost | 5eefa4d4d73ecb0985389bc142609221047b0e6b | [
"MIT"
] | 12 | 2015-03-22T03:49:01.000Z | 2019-04-10T08:08:54.000Z | ClassPath/include/File/ScanFolder.hpp | X-Ryl669/Frost | 5eefa4d4d73ecb0985389bc142609221047b0e6b | [
"MIT"
] | 2 | 2016-03-14T08:09:38.000Z | 2020-08-07T11:40:23.000Z | #include "File.hpp"
#include "../Container/FIFO.hpp"
#include "../Strings/Strings.hpp"
namespace File
{
/** This is useful to scan a directory recursively (or not), applying a filter on the file names to select */
class Scanner
{
public:
/** The string class we use */
typedef Strings::... | 49.945378 | 196 | 0.567847 | X-Ryl669 |
0fa35cac9c81d1f4a03fb810f2a1cb5063694097 | 10,856 | cc | C++ | mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/graph_converter.cc | Aaron911/mindspore | 0868568453bf53bd2cdf072a639b4ff96dd527a4 | [
"Apache-2.0"
] | 1 | 2022-03-05T02:59:21.000Z | 2022-03-05T02:59:21.000Z | mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/graph_converter.cc | SuperXiang/mindspore | 8e1bb1cf3e86ce7cb25e1e490694dfea93c901ad | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/graph_converter.cc | SuperXiang/mindspore | 8e1bb1cf3e86ce7cb25e1e490694dfea93c901ad | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 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 applicable law... | 38.633452 | 116 | 0.701179 | Aaron911 |
0fa3e17cf9c9134b9d0b2a88930233807b309bd7 | 2,057 | cc | C++ | cc/hybrid/internal/hpke_key_boringssl.cc | Matir/tink | 9ffdb0bfa264372156562220bf92b74c71ca93d4 | [
"Apache-2.0"
] | 12,366 | 2017-05-12T11:22:39.000Z | 2022-03-31T13:40:46.000Z | cc/hybrid/internal/hpke_key_boringssl.cc | Matir/tink | 9ffdb0bfa264372156562220bf92b74c71ca93d4 | [
"Apache-2.0"
] | 505 | 2017-05-18T20:54:30.000Z | 2022-03-30T19:51:56.000Z | cc/hybrid/internal/hpke_key_boringssl.cc | Matir/tink | 9ffdb0bfa264372156562220bf92b74c71ca93d4 | [
"Apache-2.0"
] | 1,179 | 2017-05-12T11:25:34.000Z | 2022-03-31T14:31:15.000Z | // Copyright 2021 Google 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 agreed to in w... | 31.646154 | 79 | 0.693243 | Matir |
0fa4bc1bc63dfbc1d604ed0c6d50142b70e01b12 | 3,733 | cc | C++ | mindspore/core/ops/reverse_sequence.cc | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | mindspore/core/ops/reverse_sequence.cc | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | mindspore/core/ops/reverse_sequence.cc | GeekHee/mindspore | 896b8e5165dd0a900ed5a39e0fb23525524bf8b0 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 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 applicable law... | 47.253165 | 112 | 0.757568 | GeekHee |
0fa7b3e03494a613e1130226b083f666316cc8a7 | 702 | cc | C++ | seminar2/class-exercise-1.cc | holmgr/tddd38 | c9230a227c8c2813345250df9b2aa86b32d682bf | [
"MIT"
] | null | null | null | seminar2/class-exercise-1.cc | holmgr/tddd38 | c9230a227c8c2813345250df9b2aa86b32d682bf | [
"MIT"
] | null | null | null | seminar2/class-exercise-1.cc | holmgr/tddd38 | c9230a227c8c2813345250df9b2aa86b32d682bf | [
"MIT"
] | null | null | null | #include <iostream>
class Integer
{
public:
Integer (int i): i_(i) {}
operator int() const { return i_; }
private:
int i_;
};
struct Ten {
operator Integer() const { return Integer(10); }
};
int main()
{
Integer i(10); // Constructor Integer(int) is supposed to be defined
const char* hex =... | 18 | 72 | 0.60114 | holmgr |
0fa7f97c0d813e849fbf0cf8ac7b8140eea8abea | 2,625 | cc | C++ | services/resource_coordinator/memory_instrumentation/process_map.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | services/resource_coordinator/memory_instrumentation/process_map.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | services/resource_coordinator/memory_instrumentation/process_map.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 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 "services/resource_coordinator/memory_instrumentation/process_map.h"
#include "base/process/process_handle.h"
#include "mojo/public/cpp/bindings... | 37.5 | 107 | 0.753524 | zipated |
0fa8fe7a64447e9d0386c49e904354458f314235 | 695 | cpp | C++ | BST/insertToBst.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | BST/insertToBst.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | BST/insertToBst.cpp | jkerkela/best-algorithm-collection | 6b22536a9f8ebdf3ae134031d41becf30066a5ef | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* insertToBSTRecursive(TreeNode* node, int key)
{
if (node == NULL) ... | 23.965517 | 69 | 0.56259 | jkerkela |
0fabebe22e1dcadc5d641b3a683b49772040fa43 | 2,910 | cpp | C++ | utils/MTP/MTP_DLL/progresshelper.cpp | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 24 | 2015-03-10T08:43:56.000Z | 2022-01-05T14:09:46.000Z | utils/MTP/MTP_DLL/progresshelper.cpp | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 4 | 2015-07-04T18:15:33.000Z | 2018-05-18T05:33:33.000Z | utils/MTP/MTP_DLL/progresshelper.cpp | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T13:58:13.000Z | 2020-11-04T04:30:22.000Z | /*
* Windows MTP Firmware Uploading Implementation
*
* Based on http://opensource.creative.com/mtp_xfer.html
* Edited by Maurus Cuelenaere for Rockbox
*
* Copyright (c) 2009, Maurus Cuelenaere
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... | 28.252427 | 93 | 0.721306 | Rockbox-Chinese-Community |
0fad8d142950f0bcf6e27fc76dadd26b2dbede9d | 617 | hpp | C++ | waterbox/ares64/ares/nall/counting-sort.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | waterbox/ares64/ares/nall/counting-sort.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 296 | 2021-10-16T18:00:18.000Z | 2022-03-31T12:09:00.000Z | waterbox/ares64/ares/nall/counting-sort.hpp | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #pragma once
#include <nall/range.hpp>
namespace nall {
//counting sort by powers of two: used to implement radix sort
template<u32 Bits, u32 Shift, typename T>
auto counting_sort(T* output, const T* input, u32 size) -> void {
static_assert(Bits >= 1 && Bits <= 20, "must be between 1 and 20 bits");
enum : u32 { ... | 30.85 | 82 | 0.622366 | Fortranm |
0fae0cf4e0c31a5a858810dc3918c341b289f2de | 3,990 | hpp | C++ | compiler/intermediate/silang.tab.hpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 16 | 2015-03-30T02:46:49.000Z | 2020-07-28T13:36:54.000Z | compiler/intermediate/silang.tab.hpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 1 | 2020-09-07T03:35:20.000Z | 2020-09-07T04:11:52.000Z | compiler/intermediate/silang.tab.hpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 2 | 2020-02-07T02:09:48.000Z | 2020-02-19T13:31:35.000Z | /* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | 25.576923 | 77 | 0.656892 | jadedrip |
0fae446ad8dd5f53be083ed1997bef6652db4c27 | 4,082 | cpp | C++ | tests/PinnedImageTest.cpp | liguisheng/skia | 817dab18b4a3005530f4e567cc12b0d37100c670 | [
"BSD-3-Clause"
] | 3 | 2019-10-14T06:36:32.000Z | 2021-02-20T10:55:14.000Z | tests/PinnedImageTest.cpp | liguisheng/skia | 817dab18b4a3005530f4e567cc12b0d37100c670 | [
"BSD-3-Clause"
] | null | null | null | tests/PinnedImageTest.cpp | liguisheng/skia | 817dab18b4a3005530f4e567cc12b0d37100c670 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// This is a GPU-backend specific test.
#include "tests/Test.h"
using namespace sk_gpu_test;
#include "tools/gpu/GrContextFactory.h"
#include "include/core/SkBitmap.h"
#in... | 31.160305 | 98 | 0.647722 | liguisheng |
0faf756ad30720d5f4f30e7972c8fa9dccd2c83c | 5,346 | cpp | C++ | toolsrc/src/vcpkg/archives.cpp | Nuclearfossil/vcpkg | 37a73970bed21516c89ddc33a8688d77b43c3dc7 | [
"MIT"
] | 3 | 2019-03-21T04:35:58.000Z | 2020-01-07T06:55:16.000Z | toolsrc/src/vcpkg/archives.cpp | Nuclearfossil/vcpkg | 37a73970bed21516c89ddc33a8688d77b43c3dc7 | [
"MIT"
] | 3 | 2019-12-05T23:22:54.000Z | 2019-12-07T00:09:47.000Z | toolsrc/src/vcpkg/archives.cpp | Nuclearfossil/vcpkg | 37a73970bed21516c89ddc33a8688d77b43c3dc7 | [
"MIT"
] | 4 | 2018-02-21T02:41:30.000Z | 2019-07-18T07:56:34.000Z | #include <vcpkg/base/system.print.h>
#include <vcpkg/base/system.process.h>
#include <vcpkg/archives.h>
#include <vcpkg/commands.h>
#include <vcpkg/tools.h>
#include <vcpkg/vcpkgpaths.h>
namespace vcpkg::Archives
{
void extract_archive(const VcpkgPaths& paths, const fs::path& archive, const fs::path& to_path)
... | 43.819672 | 169 | 0.527497 | Nuclearfossil |
0fb1d8e993c55936e1db43daab9808934a841a87 | 11,756 | cpp | C++ | libutils/BlobCache.cpp | fling2/platform_system_core | 97aaad7e316d78a4614b7536b4c4f622329c9349 | [
"MIT"
] | 39 | 2015-02-22T12:57:10.000Z | 2022-03-30T03:43:34.000Z | libutils/BlobCache.cpp | fling2/platform_system_core | 97aaad7e316d78a4614b7536b4c4f622329c9349 | [
"MIT"
] | 4 | 2015-10-04T00:43:51.000Z | 2021-05-06T20:59:47.000Z | libutils/BlobCache.cpp | fling2/platform_system_core | 97aaad7e316d78a4614b7536b4c4f622329c9349 | [
"MIT"
] | 23 | 2015-01-29T12:19:33.000Z | 2022-02-26T15:39:14.000Z | /*
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required b... | 32.385675 | 86 | 0.608285 | fling2 |
0fb2197e99e293921d4b08e3f46492fc50e7c17b | 2,777 | cpp | C++ | test/copy_exception_test.cpp | DanielaE/boost.exception | 3ae756dd491f179c28e6660dd9625265535afee9 | [
"BSL-1.0"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | test/copy_exception_test.cpp | DanielaE/boost.exception | 3ae756dd491f179c28e6660dd9625265535afee9 | [
"BSL-1.0"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/exception/test/copy_exception_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 50 | 2015-03-07T15:12:38.000Z | 2021-09-28T10:58:32.000Z | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
//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/config.hpp>
#if defined( BOOST_NO_EXCEPTIONS )
# error This program requires exc... | 17.801282 | 78 | 0.565358 | DanielaE |
0fb28a65bbf1cf6f070bfb1fc60da51f25c3cac1 | 41,296 | cpp | C++ | src/fit_field.cpp | kuperov/f | 9413008e05315f647ace6272b17589f61f50fe5e | [
"MIT"
] | 31 | 2015-04-04T12:05:02.000Z | 2021-07-30T11:40:37.000Z | src/fit_field.cpp | kuperov/f | 9413008e05315f647ace6272b17589f61f50fe5e | [
"MIT"
] | 5 | 2017-10-25T14:36:34.000Z | 2019-12-11T20:07:53.000Z | src/fit_field.cpp | kuperov/f | 9413008e05315f647ace6272b17589f61f50fe5e | [
"MIT"
] | 22 | 2016-04-05T09:24:12.000Z | 2021-10-01T00:44:41.000Z | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and as an accommodat... | 32.212168 | 198 | 0.601947 | kuperov |
0fb3f85dfb9d5d44e197181e677366365f2604ce | 24,054 | cpp | C++ | AppCUI/src/Utils/String.cpp | gheoan/AppCUI | 5a8e188646867be8d6d3014d7c6e5d61a7492496 | [
"MIT"
] | null | null | null | AppCUI/src/Utils/String.cpp | gheoan/AppCUI | 5a8e188646867be8d6d3014d7c6e5d61a7492496 | [
"MIT"
] | null | null | null | AppCUI/src/Utils/String.cpp | gheoan/AppCUI | 5a8e188646867be8d6d3014d7c6e5d61a7492496 | [
"MIT"
] | null | null | null | #include "AppCUI.hpp"
#include "Internal.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
const unsigned char __lower_case_table__[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27... | 31.944223 | 120 | 0.525858 | gheoan |
0fb5bfe74ca243467ad5182fdb40a7bc86ae77e9 | 10,550 | cpp | C++ | sources/Notebook.cpp | YosefKahlon/Notebook-b | 9ea65641e374e3c6663781e664aba7797b09764a | [
"MIT"
] | null | null | null | sources/Notebook.cpp | YosefKahlon/Notebook-b | 9ea65641e374e3c6663781e664aba7797b09764a | [
"MIT"
] | null | null | null | sources/Notebook.cpp | YosefKahlon/Notebook-b | 9ea65641e374e3c6663781e664aba7797b09764a | [
"MIT"
] | null | null | null | //
// Created by 97252 on 3/22/2022.
//
#include "exception"
#include "Direction.hpp"
#include "Notebook.hpp"
#include "iostream"
#include "string"
#include "stdexcept"
#include "map"
using namespace std;
using namespace ariel;
//constructor
Notebook::Notebook() {
string col = "___________________________________... | 29.224377 | 121 | 0.569953 | YosefKahlon |
0fba3fad1481c3575d006d699a8fffcdbd5ef730 | 866 | cpp | C++ | codeforces/contests/1365/B.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | codeforces/contests/1365/B.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | codeforces/contests/1365/B.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Codeforces Round #648 (Div. 2) - B. Trouble Sort
https://codeforces.com/contest/1365/problem/B
*/
#include <bits/stdc++.h>
using namespace std;
#define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL)
int main()
{
FAST_INP;
int t,n;
cin >> t;
while(t--){
cin >> n;
vector... | 21.65 | 69 | 0.512702 | wingkwong |
0fc03622fab6e9a8e33e294d3f13b1b5f2d26fc5 | 1,403 | cpp | C++ | Sources/Internal/Base/AllocatorFactory.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | 4 | 2021-04-22T05:41:59.000Z | 2021-12-07T20:16:20.000Z | Sources/Internal/Base/AllocatorFactory.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | null | null | null | Sources/Internal/Base/AllocatorFactory.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T05:17:23.000Z | 2021-10-01T05:17:23.000Z | #include "Base/AllocatorFactory.h"
#include "Logger/Logger.h"
namespace DAVA
{
AllocatorFactory::AllocatorFactory()
{
}
AllocatorFactory::~AllocatorFactory()
{
#ifdef __DAVAENGINE_DEBUG__
Dump();
#endif
Map<String, FixedSizePoolAllocator*>::iterator itEnd = allocators.end();
for (Map<String, FixedSizePoo... | 28.06 | 127 | 0.670706 | typicalMoves |
0fc0a9ace78287c7bd6688d21c5250c7f5cab6dc | 646 | cpp | C++ | atcoder/abc/abc139/c.cpp | zaurus-yusya/atcoder | 5fc345b3da50222fa1366d1ce52ae58799488cef | [
"MIT"
] | 3 | 2020-05-27T16:27:12.000Z | 2021-01-27T12:47:12.000Z | atcoder/abc/abc139/c.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | atcoder/abc/abc139/c.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);i++)
#define repr(i,n) for(int i=(n-1);i>=0;i--)
#define pb push_back
#define mp make_pair
#define all(x) x.begin(),x.end()
using namespace std;
typedef long long ll;
int main() {
ll n;
cin >> n;
vector<ll> vec(100000);
ll ans = 0;
ll count = 0;... | 16.564103 | 43 | 0.48452 | zaurus-yusya |
0fc140e7108dcbfac87f2799dc1299d1b8251009 | 5,125 | cc | C++ | orly/indy/fiber/fiber_lock.test.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | 1 | 2015-11-05T18:37:20.000Z | 2015-11-05T18:37:20.000Z | orly/indy/fiber/fiber_lock.test.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | null | null | null | orly/indy/fiber/fiber_lock.test.cc | waderly/orly | 9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee | [
"Apache-2.0"
] | null | null | null | /* <orly/indy/fiber/fiber_lock.test.cc>
Unit test for <orly/indy/fiber/fiber.h>.
Copyright 2010-2014 OrlyAtomics, 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://w... | 29.285714 | 199 | 0.666341 | waderly |
0fc331fc6d4f3c163b5e05960476d2d0308c3e15 | 10,018 | cpp | C++ | cnn/hls_half/vgg16_sw2.cpp | FCS-holding/acc_lib | 1b6c0bc5467400e2ac678d18426cbbc7d44e8fec | [
"Apache-2.0"
] | null | null | null | cnn/hls_half/vgg16_sw2.cpp | FCS-holding/acc_lib | 1b6c0bc5467400e2ac678d18426cbbc7d44e8fec | [
"Apache-2.0"
] | null | null | null | cnn/hls_half/vgg16_sw2.cpp | FCS-holding/acc_lib | 1b6c0bc5467400e2ac678d18426cbbc7d44e8fec | [
"Apache-2.0"
] | null | null | null | //#include "cnn_cfg.hpp"
#include "vgg16.hpp"
template<typename data_type, int FIN, int FOUT, int Kernel>
void init_weights(data_type *m, int addr, data_type *weights, data_type *bias) {
for(int i=0; i<FOUT; i++){
bias[i] = m[addr+ FIN*FOUT*Kernel*Kernel + i];
for(int j=0; j<FIN; j++){
... | 51.639175 | 172 | 0.652426 | FCS-holding |
0fc56f3f98407b42971e452353a92d75ed0e6d51 | 6,737 | cpp | C++ | src/mono/clrfuncinvokecontext.cpp | destenson/tjanczuk--edge | 3eb4f4e71e1b22c973568750802f6fba5ff4c051 | [
"Apache-2.0"
] | 4,039 | 2015-01-02T05:15:16.000Z | 2022-03-30T22:48:24.000Z | src/mono/clrfuncinvokecontext.cpp | destenson/tjanczuk--edge | 3eb4f4e71e1b22c973568750802f6fba5ff4c051 | [
"Apache-2.0"
] | 517 | 2015-01-08T00:47:02.000Z | 2022-03-28T05:42:29.000Z | src/mono/clrfuncinvokecontext.cpp | destenson/tjanczuk--edge | 3eb4f4e71e1b22c973568750802f6fba5ff4c051 | [
"Apache-2.0"
] | 603 | 2015-01-07T10:33:11.000Z | 2022-03-30T05:54:53.000Z | #include "edge.h"
static MonoClass* GetClrFuncInvokeContextClass()
{
static MonoClass* klass;
if (!klass)
klass = mono_class_from_name(MonoEmbedding::GetImage(), "", "ClrFuncInvokeContext");
return klass;
}
ClrFuncInvokeContext::ClrFuncInvokeContext(v8::Local<v8::Value> callbackOrSync) : _this(0... | 32.863415 | 121 | 0.66825 | destenson |
0fc84af934a911ed4a0613a76644b4f6a6ce8992 | 1,364 | cpp | C++ | ACM-ICPC/14889.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/14889.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/14889.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | #include <cstdio>
#include <vector>
#include <cmath>
using namespace std;
int n, answer = 987654321;
int arr[21][21];
bool visited[21];
void f(int idx, int temp) {
// n은 무조건 짝수 이므로
// temp == n / 2면 팀선택 완료
if (n / 2 == temp) {
int x = 0, y = 0;
vector<int> start, link;
... | 22.733333 | 72 | 0.370235 | KimBoWoon |
0fc97fa73dcbea91c4a74aa76542c0ac71e9d4fd | 4,489 | hpp | C++ | source/opengl/reshade_api_type_utils.hpp | EliphasNUIT/reshade | d767bece469df57aef005c71de6a53d83886c080 | [
"BSD-3-Clause"
] | null | null | null | source/opengl/reshade_api_type_utils.hpp | EliphasNUIT/reshade | d767bece469df57aef005c71de6a53d83886c080 | [
"BSD-3-Clause"
] | null | null | null | source/opengl/reshade_api_type_utils.hpp | EliphasNUIT/reshade | d767bece469df57aef005c71de6a53d83886c080 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2021 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#pragma once
namespace reshade::opengl
{
struct query_heap_impl
{
~query_heap_impl()
{
glDeleteQueries(static_cast<GLsizei>(queries.size()), queries.data());
}
std::vector<GLuint> quer... | 31.391608 | 168 | 0.788594 | EliphasNUIT |
0fc9b30ae61fa94a5d41aabea5166f1f34f7f971 | 4,599 | cc | C++ | ns-allinone-3.35/ns-3.35/src/sixlowpan/examples/example-sixlowpan.cc | usi-systems/cc | 487aa9e322b2b01b6af3a92e38545c119e4980a3 | [
"Apache-2.0"
] | 1 | 2022-03-22T08:08:35.000Z | 2022-03-22T08:08:35.000Z | ns-3-dev/src/sixlowpan/examples/example-sixlowpan.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | ns-3-dev/src/sixlowpan/examples/example-sixlowpan.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013 Universita' di Firenze, Italy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* Thi... | 33.816176 | 82 | 0.62992 | usi-systems |
0fcac46382ee048eb84ce24be817a2a2f6208305 | 2,538 | cpp | C++ | 3rdparty/meshlab-master/src/fgt/filter_physics/DynamicMeshSubFilter.cpp | HoEmpire/slambook2 | 96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4 | [
"MIT"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | graphics/meshlab/src/fgt/filter_physics/DynamicMeshSubFilter.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | graphics/meshlab/src/fgt/filter_physics/DynamicMeshSubFilter.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | #include "DynamicMeshSubFilter.h"
#include <vcg/complex/append.h>
DynamicMeshSubFilter::DynamicMeshSubFilter() : m_fps(-1), m_iterations(-1), m_contacts(-1), m_steps(-1), m_seconds(-1), m_bounciness(-1), m_gravity(-1) {
}
void DynamicMeshSubFilter::initParameterSet(QAction* action,MeshDocument& md, RichParameterSet ... | 40.935484 | 195 | 0.678881 | HoEmpire |
0fcb45f6785cea731a8c8511f5e17f9d97ad5e85 | 2,286 | cxx | C++ | Libs/MRML/Widgets/Testing/qMRMLNodeObject.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Libs/MRML/Widgets/Testing/qMRMLNodeObject.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Libs/MRML/Widgets/Testing/qMRMLNodeObject.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 29.307692 | 123 | 0.519248 | TheInterventionCentre |
0fcbd8f79db29cea88c91a58547691d1f5fcfeff | 122 | cpp | C++ | sample.cpp | Kai-Builder/exclamake | 9793d03383338e2033656aa87ab14f799e033175 | [
"Unlicense"
] | null | null | null | sample.cpp | Kai-Builder/exclamake | 9793d03383338e2033656aa87ab14f799e033175 | [
"Unlicense"
] | null | null | null | sample.cpp | Kai-Builder/exclamake | 9793d03383338e2033656aa87ab14f799e033175 | [
"Unlicense"
] | null | null | null | #include "org/excla/src/main/build_targets.hpp"
int main() {
project::makeRemake("path.excla");
Build::Generate_();
} | 15.25 | 47 | 0.696721 | Kai-Builder |
0fcdb28981ffd6c8c42858ec4d658fcad3c9f1ac | 1,215 | hpp | C++ | Utility/tRect.hpp | raydelto/GeometryWars | a692a5a08dc2945aeb187853059d5a7339100879 | [
"MIT"
] | 7 | 2015-01-18T07:05:43.000Z | 2017-08-20T06:48:49.000Z | code/source/Utility/tRect.h | tatewake/shapeblaster-ios | c121a254e3e96736c3135ce14c9e11603621c2b5 | [
"BSD-2-Clause"
] | null | null | null | code/source/Utility/tRect.h | tatewake/shapeblaster-ios | c121a254e3e96736c3135ce14c9e11603621c2b5 | [
"BSD-2-Clause"
] | 6 | 2015-01-17T02:00:13.000Z | 2020-09-23T15:33:15.000Z | #pragma once
//---------------------------------------------------------------------------------
// Written by Terence J. Grant - tjgrant [at] tatewake [dot] com
// Find the full tutorial at: http://gamedev.tutsplus.com/series/
//----------------------------------------------------------------------------------
class... | 36.818182 | 100 | 0.518519 | raydelto |
0fce58ae70344825526ed892083a82ff6924ff1c | 731 | hpp | C++ | src/stan/math/prim/mat/fun/trace_quad_form.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | src/stan/math/prim/mat/fun/trace_quad_form.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | src/stan/math/prim/mat/fun/trace_quad_form.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_MAT_FUN_TRACE_QUAD_FORM_HPP
#define STAN_MATH_PRIM_MAT_FUN_TRACE_QUAD_FORM_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/err/check_multiplicable.hpp>
#include <stan/math/prim/mat/err/check_square.hpp>
namespace stan {
namespace math {
/**
* Compute trac... | 29.24 | 72 | 0.667579 | alashworth |
0fcf3889113986baee1d644adf78d9ac14c31515 | 2,014 | cpp | C++ | Online Judges/URI/1514/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/URI/1514/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/URI/1514/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
#include <vector>
#include <cstring>
#include <algorithm>
using namespace std;
int main()
{
int npa, npe, n, cont, cont2, allSolve1, solveAll, allPsolved, caracCont;
vector<vector<int>>v;
while(cin >> npa >> npe && npa && npe) {
solveAll = caracCont = allPsolved = allSolve1 = 0... | 29.188406 | 124 | 0.459782 | AnneLivia |
0fcfb866d95ee11f73dc27061206520d255b2645 | 81 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.4.20-.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | 3 | 2018-10-01T20:46:17.000Z | 2019-12-17T19:39:50.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.4.20-.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.4.20-.cxx | nalinimsingh/ITK_4D | 95a2eacaeaffe572889832ef0894239f89e3f303 | [
"Apache-2.0"
] | 4 | 2018-05-17T16:34:54.000Z | 2020-09-24T02:12:40.000Z | #include <vnl/vnl_matrix_fixed.hxx>
VNL_MATRIX_FIXED_INSTANTIATE(double,4,20);
| 27 | 43 | 0.814815 | nalinimsingh |
0fd0e4f018db5567fede7fac2d587154330b506e | 8,957 | cc | C++ | chromecast/browser/media/cast_renderer.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chromecast/browser/media/cast_renderer.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromecast/browser/media/cast_renderer.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 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 "chromecast/browser/media/cast_renderer.h"
#include "base/bind.h"
#include "base/single_thread_task_runner.h"
#include "chromecast/base/task_run... | 36.860082 | 80 | 0.741096 | Wzzzx |
0fd26e8b7fd8ca3719d400e91e25eea84e4ccc21 | 328,888 | cc | C++ | Protocol/eraftio/raft_cmdpb.pb.cc | bokket/eraft | 3a2f9a0cae671cfdaf929719d1e34b113dc063e2 | [
"MIT"
] | 58 | 2021-05-20T12:56:54.000Z | 2022-03-28T03:45:25.000Z | Protocol/eraftio/raft_cmdpb.pb.cc | bokket/eraft | 3a2f9a0cae671cfdaf929719d1e34b113dc063e2 | [
"MIT"
] | 1 | 2022-01-25T04:40:20.000Z | 2022-01-28T05:43:30.000Z | Protocol/eraftio/raft_cmdpb.pb.cc | bokket/eraft | 3a2f9a0cae671cfdaf929719d1e34b113dc063e2 | [
"MIT"
] | 15 | 2021-05-20T12:56:57.000Z | 2022-03-14T20:35:58.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: raft_cmdpb.proto
#include "raft_cmdpb.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#incl... | 36.41364 | 161 | 0.722444 | bokket |
0fd31fc413d0edd67c8e12b33bcb710ab42a91c4 | 915 | cpp | C++ | cpp/operator-overloading/pre_post_inc.cpp | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | cpp/operator-overloading/pre_post_inc.cpp | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | cpp/operator-overloading/pre_post_inc.cpp | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class Number {
public:
Number() = default;
Number(int n) : _num(n) {}
Number(double d) : _num(d) {}
Number &operator++();
Number operator++(int);
void check(void);
private:
double _num = 0; // d... | 15.775862 | 54 | 0.504918 | wjiec |
0fd46a373bcc874fb64657ae036bffd45da01831 | 1,364 | cpp | C++ | Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp | Digan1988/dava.engine | 70b1e10b2bf001e96ecf51f7ea58da7b55791e93 | [
"BSD-3-Clause"
] | 1 | 2019-12-21T20:17:25.000Z | 2019-12-21T20:17:25.000Z | Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp | Digan1988/dava.engine | 70b1e10b2bf001e96ecf51f7ea58da7b55791e93 | [
"BSD-3-Clause"
] | null | null | null | Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp | Digan1988/dava.engine | 70b1e10b2bf001e96ecf51f7ea58da7b55791e93 | [
"BSD-3-Clause"
] | 1 | 2020-03-14T04:31:21.000Z | 2020-03-14T04:31:21.000Z | #include "UI/DataBinding/UIDataSourceComponent.h"
#include "Engine/Engine.h"
#include "Entity/ComponentManager.h"
#include "Reflection/ReflectionRegistrator.h"
#include "Utils/StringUtils.h"
namespace DAVA
{
DAVA_VIRTUAL_REFLECTION_IMPL(UIDataSourceComponent)
{
ReflectionRegistrator<UIDataSourceComponent>::Begin(... | 20.984615 | 96 | 0.750733 | Digan1988 |
0fd52d0472d2d8b9d2dcf27487a7335ec2a643d8 | 2,421 | cpp | C++ | source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp | Danathus/react3d | 742139496fe6864f4fbac195c846e692ffc8be40 | [
"MIT"
] | 9 | 2018-05-23T10:49:06.000Z | 2022-03-02T02:00:59.000Z | source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp | Danathus/react3d | 742139496fe6864f4fbac195c846e692ffc8be40 | [
"MIT"
] | 4 | 2015-09-07T07:50:13.000Z | 2015-09-07T08:25:36.000Z | source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp | Danathus/react3d | 742139496fe6864f4fbac195c846e692ffc8be40 | [
"MIT"
] | null | null | null | #include <ragdoll/bridge/delta3d/BoneBridgeDelta3D.h>
#include <cassert>
#include <ode/ode.h>
#include <dtCore/object.h>
#include <dtCore/odebodywrap.h>
#include <dtCore/transform.h>
#include <ragdoll/bridge/osg/Math.h>
#include <ragdoll/core/kernel/Skeleton.h>
#include <ragdoll/core/kernel/Bone.h>
///////////////... | 25.484211 | 98 | 0.629079 | Danathus |
0fd59994094448befe84182a8d1dc3601422e536 | 4,759 | cpp | C++ | source/TestList.cpp | SVincent/programmiersprachen-aufgabenblatt-4 | 2a83da4062a21e0277298c7ef39885406beb4b3f | [
"MIT"
] | null | null | null | source/TestList.cpp | SVincent/programmiersprachen-aufgabenblatt-4 | 2a83da4062a21e0277298c7ef39885406beb4b3f | [
"MIT"
] | null | null | null | source/TestList.cpp | SVincent/programmiersprachen-aufgabenblatt-4 | 2a83da4062a21e0277298c7ef39885406beb4b3f | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "List.hpp"
//Task 4.2
TEST_CASE ("test for size of list", "Task 4.2") {
List<int> list;
REQUIRE (list.size()== 0);
}
TEST_CASE ("test for empty list", "Task 4.2") {
List<int> list;
REQUIRE (list.empty()== true);
}
//Task 4.3
TEST_CASE ("test ... | 23.101942 | 79 | 0.588149 | SVincent |
0fd7195effc4d4f0c49e2dbb51181c24b410b65c | 2,131 | cc | C++ | books/data_structure_and_algorithm_analysis/ch04_tree/avl_tree_test.cc | shinexia/algorithm-labs | c9af67865fab9760faeedd64cdd0475f4dff4b4a | [
"MIT"
] | null | null | null | books/data_structure_and_algorithm_analysis/ch04_tree/avl_tree_test.cc | shinexia/algorithm-labs | c9af67865fab9760faeedd64cdd0475f4dff4b4a | [
"MIT"
] | null | null | null | books/data_structure_and_algorithm_analysis/ch04_tree/avl_tree_test.cc | shinexia/algorithm-labs | c9af67865fab9760faeedd64cdd0475f4dff4b4a | [
"MIT"
] | null | null | null | //
// Created by shine on 2/18/19.
//
#include "avl_tree.h"
#include "mylib/util.h"
#include "gtest/gtest.h"
struct Case {
ElementType A[20];
ElementType Equal[20];
int N;
int Height;
int Length;
ElementType Max;
ElementType Min;
ElementType X;
ElementType EqualX[20];
ElementT... | 31.80597 | 101 | 0.474894 | shinexia |
0fd8b50c6ddac1464600f397c4a8f9e089291481 | 540 | hpp | C++ | src/iislua/iislua_req.hpp | shibayan/iislua | b0fe6fb0c204748928b6dd3205d0fe42f899d20c | [
"Apache-2.0"
] | 16 | 2015-10-09T08:03:24.000Z | 2022-03-30T08:54:10.000Z | src/iislua/iislua_req.hpp | shibayan/iislua | b0fe6fb0c204748928b6dd3205d0fe42f899d20c | [
"Apache-2.0"
] | 6 | 2015-09-18T08:12:42.000Z | 2020-04-05T07:00:14.000Z | src/iislua/iislua_req.hpp | shibayan/iislua | b0fe6fb0c204748928b6dd3205d0fe42f899d20c | [
"Apache-2.0"
] | 7 | 2017-09-12T09:53:20.000Z | 2022-02-28T23:50:03.000Z | #pragma once
IISLUA_API int iislua_req_get_headers(lua_State* L);
IISLUA_API int iislua_req_get_method(lua_State* L);
IISLUA_API int iislua_req_get_post_args(lua_State* L);
IISLUA_API int iislua_req_get_remote_addr(lua_State* L);
IISLUA_API int iislua_req_get_url(lua_State* L);
IISLUA_API int iislua_req_get_url_args(l... | 45 | 56 | 0.846296 | shibayan |
0fd90ade3fc7c494f29a1908efa2c79da2555a5f | 3,372 | hpp | C++ | src/rideables/PriorityQueue.hpp | urcs-sync/Montage | 6dc330da21ec20735a58579b23183a1bd8eeee66 | [
"MIT"
] | 9 | 2020-10-04T22:03:31.000Z | 2021-10-08T01:52:57.000Z | src/rideables/PriorityQueue.hpp | urcs-sync/Montage | 6dc330da21ec20735a58579b23183a1bd8eeee66 | [
"MIT"
] | 18 | 2020-10-20T02:39:12.000Z | 2021-08-30T00:23:32.000Z | src/rideables/PriorityQueue.hpp | urcs-sync/Montage | 6dc330da21ec20735a58579b23183a1bd8eeee66 | [
"MIT"
] | 9 | 2020-10-04T22:06:11.000Z | 2021-02-19T17:23:17.000Z | #ifndef PRIORITY_QUEUE
#define PRIORITY_QUEUE
#include <iostream>
#include <atomic>
#include <algorithm>
#include <memory>
#include "HarnessUtils.hpp"
#include "ConcurrentPrimitives.hpp"
#include "RCUTracker.hpp"
#include "CustomTypes.hpp"
#include "Recoverable.hpp"
#include "HeapQueue.hpp"
//Wentao: TODO to fix late... | 24.613139 | 112 | 0.643238 | urcs-sync |
0fd971a109fd3f46b606afadd5e3bebadf5cdf2f | 9,193 | cpp | C++ | be/src/formats/parquet/column_chunk_reader.cpp | wangruin/starrocks | 6cc50f90794a438333f96424b90fc266103b7c17 | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | be/src/formats/parquet/column_chunk_reader.cpp | wangruin/starrocks | 6cc50f90794a438333f96424b90fc266103b7c17 | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | be/src/formats/parquet/column_chunk_reader.cpp | wangruin/starrocks | 6cc50f90794a438333f96424b90fc266103b7c17 | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include "formats/parquet/column_chunk_reader.h"
#include <memory>
#include "env/env.h"
#include "formats/parquet/encoding.h"
#include "formats/parquet/encoding_dict.h"
#include "formats/parquet/page_reader.h"
#include... | 39.286325 | 115 | 0.707821 | wangruin |
0fd97d15e0cb1ce0a8a779da5d64a096a7b69f46 | 16,795 | cpp | C++ | oneEngine/oneGame/source/renderer/texture/RrRenderTextureCube.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/renderer/texture/RrRenderTextureCube.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/renderer/texture/RrRenderTextureCube.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z | #if 0
// == Includes ==
#include "RrRenderTextureCube.h"
#include "core/debug/Console.h"
#include "renderer/system/glMainSystem.h"
// Stringstream for unique string id generation
#include <sstream>
using std::stringstream;
using std::cout;
using std::endl;
// == Constructor + Destructor ==
// Explicit Constructor
Rr... | 35.810235 | 142 | 0.730455 | jonting |
0fdec6ca4673160d5f8aa509cb6137c4dd70dd47 | 11,641 | cpp | C++ | tests/ordered_map.cpp | N-A-D/libva | 2c60242bf9094b2cd8cd40b616e6116a897b6e26 | [
"MIT"
] | null | null | null | tests/ordered_map.cpp | N-A-D/libva | 2c60242bf9094b2cd8cd40b616e6116a897b6e26 | [
"MIT"
] | null | null | null | tests/ordered_map.cpp | N-A-D/libva | 2c60242bf9094b2cd8cd40b616e6116a897b6e26 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "../include/libra/container/ordered_map.hpp"
#include "detail/constants.hpp"
#include <random>
#include <vector>
#include <algorithm>
using map_type = libra::ordered_map<int, int>;
using pair_type = std::pair<int, int>;
struct equivalent {
map_type::value_compare comp;
equivalent(m... | 30.394256 | 101 | 0.657761 | N-A-D |
0fdece608a25480c98950392f4f3d925dd4753e8 | 7,761 | hpp | C++ | shared/util/boost/boost/move/default_delete.hpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | shared/util/boost/boost/move/default_delete.hpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | shared/util/boost/boost/move/default_delete.hpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2014-2014. 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)
//
// See http://www.boost.org/libs/m... | 35.600917 | 111 | 0.647082 | iProgramMC |
0fdf26fc99d63394f61a02136fa25b3fa8fca5a1 | 709 | cc | C++ | net/quic/test_tools/simulator/actor.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | net/quic/test_tools/simulator/actor.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/quic/test_tools/simulator/actor.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 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 "net/quic/test_tools/simulator/actor.h"
#include "net/quic/test_tools/simulator/simulator.h"
namespace net {
namespace simulator {
Actor::A... | 23.633333 | 73 | 0.713681 | xzhan96 |
0fe078da94b72d621b0d165ba76336227aa2616f | 5,222 | cpp | C++ | lib/libchen/test/src/data/json.cpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | 6 | 2018-07-28T08:03:24.000Z | 2022-03-31T08:56:57.000Z | lib/libchen/test/src/data/json.cpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | null | null | null | lib/libchen/test/src/data/json.cpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | 2 | 2019-05-21T02:26:36.000Z | 2020-04-13T16:46:20.000Z | /**
* Created by Jian Chen
* @since 2016.06.17
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#include "chen/data/json.hpp"
#include "chen/base/str.hpp"
#include "chen/sys/fs.hpp"
#include "gtest/gtest.h"
#include "../conf.hpp"
TEST(DataJsonTest, Type)
{
using chen::json;
json... | 29.670455 | 153 | 0.637112 | chensoft |
0fe07fd2a320446207a57e27d37ccffecf1e1bc8 | 3,729 | cpp | C++ | server/src/core/UDP/udp.cpp | soltanoff/simple_echo_server | 8fc40703691a06f81d9c3e47e3d29a6b899de34f | [
"MIT"
] | null | null | null | server/src/core/UDP/udp.cpp | soltanoff/simple_echo_server | 8fc40703691a06f81d9c3e47e3d29a6b899de34f | [
"MIT"
] | 1 | 2017-10-31T13:33:54.000Z | 2017-10-31T14:08:47.000Z | server/src/core/UDP/udp.cpp | soltanoff/simple_echo_server | 8fc40703691a06f81d9c3e47e3d29a6b899de34f | [
"MIT"
] | null | null | null | /* =====================================================================================================================
* File: udp.cpp
* Description: Лисенер UDP
* Author: soltanoff
* ================================================================================================================== */
#include "ud... | 33.294643 | 120 | 0.518906 | soltanoff |
0fe668a8f6e6f4bfc57f42604c12417cb3983061 | 32,611 | cpp | C++ | planning/obstacle_cruise_planner/src/node.cpp | autowarefoundation/Autoware.Universe | 618c3e912a9a96efe86f205a9c498e0d57f6d5b7 | [
"Apache-2.0"
] | null | null | null | planning/obstacle_cruise_planner/src/node.cpp | autowarefoundation/Autoware.Universe | 618c3e912a9a96efe86f205a9c498e0d57f6d5b7 | [
"Apache-2.0"
] | null | null | null | planning/obstacle_cruise_planner/src/node.cpp | autowarefoundation/Autoware.Universe | 618c3e912a9a96efe86f205a9c498e0d57f6d5b7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 TIER IV, 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 i... | 40.968593 | 100 | 0.761859 | autowarefoundation |
0fe6f5ec1976ca582e2feac302edfc2532b47979 | 115,367 | cc | C++ | third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | /*
* Copyright (C) 2014, Google 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 condi... | 36.694338 | 101 | 0.720873 | Ron423c |
0fe757162c0041183807605d0e95b61df4a21837 | 3,941 | cpp | C++ | ContextCommon/src/stringmap.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | ContextCommon/src/stringmap.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | ContextCommon/src/stringmap.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | // Copyright (c) 2007-2009 Google Inc.
// Copyright (c) 2006-2007 Jaiku Ltd.
// Copyright (c) 2002-2006 Mika Raento and Renaud Petit
//
// This software is licensed at your choice under either 1 or 2 below.
//
// 1. MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of thi... | 24.786164 | 89 | 0.70439 | crutchwalkfactory |
0fe838ead84214d24ff9ab8c5b72d8048a4b7a72 | 5,937 | cpp | C++ | landmark/landmark_detection.cpp | gao-duan/FaceRelighting | 71594027af1605a643571b9628bedddf5fc3b0e9 | [
"MIT"
] | 35 | 2019-09-02T01:23:35.000Z | 2022-03-15T01:18:39.000Z | landmark/landmark_detection.cpp | gao-duan/FaceRelighting | 71594027af1605a643571b9628bedddf5fc3b0e9 | [
"MIT"
] | 2 | 2019-09-14T02:51:25.000Z | 2019-12-19T13:19:54.000Z | landmark/landmark_detection.cpp | gao-duan/FaceRelighting | 71594027af1605a643571b9628bedddf5fc3b0e9 | [
"MIT"
] | 11 | 2019-08-31T09:58:10.000Z | 2022-02-24T12:37:08.000Z | #include "landmark_detection.h"
#include "stdafx.h"
#include <LandmarkCoreIncludes.h>
#include <dlib/image_processing/frontal_face_detector.h>
#include <tbb/tbb.h>
#include "common.h"
static void convert_to_grayscale(const cv::Mat& in, cv::Mat& out)
{
if (in.channels() == 3)
{
// Make sure it's in a correct form... | 30.137056 | 147 | 0.742126 | gao-duan |
0fe86d5221917bf300debb7d4c701b47bf16e838 | 10,980 | cpp | C++ | src/EIoFilterChain.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | 23 | 2017-05-11T01:42:15.000Z | 2021-11-24T06:50:51.000Z | src/EIoFilterChain.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | null | null | null | src/EIoFilterChain.cpp | cxxjava/CxxConet | 43a617636ab437616c15c20f9826247cb17a66f0 | [
"Apache-2.0"
] | 8 | 2017-05-11T07:55:22.000Z | 2022-01-14T09:14:09.000Z | /*
* EIoFilterChain.cpp
*
* Created on: 2017-3-16
* Author: cxxjava@163.com
*/
#include "../inc/EIoFilterChain.hh"
#include "../inc/EIoFilterAdapter.hh"
#include "../inc/EIoBuffer.hh"
namespace efc {
namespace naf {
class EIoFilterChain::EntryImpl: public EIoFilterChain::Entry {
public:
~EntryImpl() {
... | 23.869565 | 109 | 0.691439 | cxxjava |
0fe8a7ee3801ecfedb54cc1e4d4c7fb30a1bf896 | 7,799 | cpp | C++ | poppler-21.11.0/qt6/tests/check_strings.cpp | stackoverflowed/multimodal | 95668d0b34d297e96b5ef76521e587578ef2581f | [
"MIT"
] | null | null | null | poppler-21.11.0/qt6/tests/check_strings.cpp | stackoverflowed/multimodal | 95668d0b34d297e96b5ef76521e587578ef2581f | [
"MIT"
] | null | null | null | poppler-21.11.0/qt6/tests/check_strings.cpp | stackoverflowed/multimodal | 95668d0b34d297e96b5ef76521e587578ef2581f | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2010, 2011, Pino Toscano <pino@kde.org>
* Copyright (C) 2021 Klarälvdalens Datakonsult AB, a KDAB Group company, <info@kdab.com>
*
* 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 Fo... | 31.963115 | 156 | 0.625593 | stackoverflowed |
0fea8c39dd06be64d3a8d0dc3d9eaae43b795f9d | 5,665 | cpp | C++ | InformationScripting/src/query_prompt/parsing/QueryParser.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 75 | 2015-01-18T13:29:43.000Z | 2022-01-14T08:02:01.000Z | InformationScripting/src/query_prompt/parsing/QueryParser.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 364 | 2015-01-06T10:20:21.000Z | 2018-12-17T20:12:28.000Z | InformationScripting/src/query_prompt/parsing/QueryParser.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 14 | 2015-01-09T00:44:24.000Z | 2022-02-22T15:01:44.000Z | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | 32.371429 | 120 | 0.688967 | dimitar-asenov |
0feb4ccdee2dca734c3d1267c3e4d138bfa1cc62 | 1,962 | cpp | C++ | timer.cpp | RaphaelPoncet/2016-macs2-projet-hpc | 1ae8936113ee24f0b49a303627d4fd5bc045f78d | [
"Apache-2.0"
] | 2 | 2017-07-19T09:14:20.000Z | 2017-09-17T11:39:52.000Z | timer.cpp | RaphaelPoncet/2016-macs2-projet-hpc | 1ae8936113ee24f0b49a303627d4fd5bc045f78d | [
"Apache-2.0"
] | null | null | null | timer.cpp | RaphaelPoncet/2016-macs2-projet-hpc | 1ae8936113ee24f0b49a303627d4fd5bc045f78d | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 Raphael Poncet.
// 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 w... | 25.480519 | 79 | 0.622324 | RaphaelPoncet |
0fec23990e35247c9d4c9783b30b935dd56a3032 | 2,950 | cpp | C++ | src/Application.cpp | sujeong-choi/2020-1-OSSP2-CarpeDiem-5 | f6873e347aac05598e7d3e3a5d7547b9e82555ac | [
"MIT"
] | 24 | 2015-02-02T15:36:59.000Z | 2022-01-29T01:32:32.000Z | src/Application.cpp | sujeong-choi/2020-1-OSSP2-CarpeDiem-5 | f6873e347aac05598e7d3e3a5d7547b9e82555ac | [
"MIT"
] | 20 | 2020-04-14T06:25:36.000Z | 2020-06-21T09:01:01.000Z | src/Application.cpp | kyureekim/2020-1-OSSP2-CarpeDiem-5 | 646560fb22301c77282756b71c497adfb12dbfa8 | [
"MIT"
] | 9 | 2015-02-21T04:07:33.000Z | 2021-03-25T19:56:30.000Z | /*******************************************************************//*
* Implementation of the Application class.
*
* @author Brandon To
* @version 1.0
* @since 2014-08-05
* @modified 2015-02-21
*********************************************************************/
#include "Application.h"
#i... | 24.380165 | 131 | 0.651864 | sujeong-choi |
0fee3b6ddc1fde72596aa29971c5f9799cc7b734 | 9,943 | cpp | C++ | src/ariel/io/utilities.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | 9 | 2016-10-18T09:40:09.000Z | 2022-02-11T09:44:51.000Z | src/ariel/io/utilities.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | null | null | null | src/ariel/io/utilities.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | 1 | 2016-10-19T15:20:58.000Z | 2016-10-19T15:20:58.000Z | /*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* 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 th... | 24.795511 | 82 | 0.592276 | lymastee |
0fee709307fea0efda066ba6d5a3c287be83b691 | 1,158 | cpp | C++ | NewBouncePlaneDialog.cpp | jambolo/ConfettiMachine | 02512f43e5a613dd972bdb06fa6a17acfc7d7ef8 | [
"MIT"
] | null | null | null | NewBouncePlaneDialog.cpp | jambolo/ConfettiMachine | 02512f43e5a613dd972bdb06fa6a17acfc7d7ef8 | [
"MIT"
] | null | null | null | NewBouncePlaneDialog.cpp | jambolo/ConfettiMachine | 02512f43e5a613dd972bdb06fa6a17acfc7d7ef8 | [
"MIT"
] | null | null | null | /********************************************************************************************************************
NewBouncePlaneDialog.cpp
Copyright 2003, John J. Bolton
----------------------------------------------------------------------... | 26.318182 | 118 | 0.501727 | jambolo |
0fee7af9d0845c138594054cd846b8eb80e64645 | 6,072 | cpp | C++ | lib/soci/src/core/backend-loader.cpp | parki02/starall | f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | lib/soci/src/core/backend-loader.cpp | parki02/starall | f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | lib/soci/src/core/backend-loader.cpp | parki02/starall | f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | //
// Copyright (C) 2008 Maciej Sobczak with contributions from Artyom Tonkikh
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#define SOCI_SOURCE
#include "backend-loader.h"
#include "error.h"
#include <cass... | 22.656716 | 88 | 0.680665 | parki02 |
0feee6d7048015ab85b009c166744f834938db73 | 3,122 | cpp | C++ | lib/IRremoteESP8266/src/ir_Teknopoint.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | 14 | 2019-07-09T09:38:59.000Z | 2022-02-11T13:57:18.000Z | lib/IRremoteESP8266/src/ir_Teknopoint.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | null | null | null | lib/IRremoteESP8266/src/ir_Teknopoint.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | 1 | 2021-06-26T22:26:58.000Z | 2021-06-26T22:26:58.000Z | // Copyright 2021 David Conran (crankyoldgit)
/// @file
/// @brief Support for the Teknopoint protocol
/// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1486
// Supports:
// Brand: Teknopoint, Model: Allegro SSA-09H A/C
// Brand: Teknopoint, Model: GZ-055B-E1 remote
#include "IRrecv.h"
#include "I... | 41.078947 | 80 | 0.685138 | Eliauk-Forever |
0fef4e2cafcc79038e22490011bbbe121c6d579c | 844 | cpp | C++ | DMOPC/DMOPC '19 Contest 6 P2 - Grade 10 Math.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 2 | 2021-04-13T00:19:56.000Z | 2021-04-13T01:19:45.000Z | DMOPC/DMOPC '19 Contest 6 P2 - Grade 10 Math.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | null | null | null | DMOPC/DMOPC '19 Contest 6 P2 - Grade 10 Math.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 1 | 2020-08-26T12:36:08.000Z | 2020-08-26T12:36:08.000Z | #include <bits/stdc++.h>
#define endl "\n"
#define INF 0x3f3f3f3f
using namespace std;
vector<int> aFactors;
map<int, int> counter;
map<int, int> totalCounter;
int main()
{
int a, b;
cin >> a >> b;
int i = 2;
while (a > 1){
if (a % i == 0){
aFactors.push_back(i);
whil... | 18.347826 | 57 | 0.427725 | Joon7891 |
0fefa0d67ed2b46aa836549ed299f74f99151e89 | 4,142 | cpp | C++ | problems_001-050/euler_49.cpp | sedihub/project_euler | 2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5 | [
"Apache-2.0"
] | null | null | null | problems_001-050/euler_49.cpp | sedihub/project_euler | 2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5 | [
"Apache-2.0"
] | null | null | null | problems_001-050/euler_49.cpp | sedihub/project_euler | 2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5 | [
"Apache-2.0"
] | null | null | null | /*
PROBLEM:
The arithmetic sequence, 1487, 4817, 8147, in which each of the terms increases by 3330, is
unusual in two ways:
(i) each of the three terms are prime, and,
(ii) each of the 4-digit numbers are permutations of one another.
There are no arithmetic sequences made up of three 1-, 2-, or 3-dig... | 27.071895 | 97 | 0.616127 | sedihub |
0ff0042b0a3235a3362c567fae9bbb66fe6f8960 | 18,844 | cpp | C++ | openstudiocore/src/model/EvaporativeCoolerDirectResearchSpecial.cpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | 1 | 2016-12-29T08:45:03.000Z | 2016-12-29T08:45:03.000Z | openstudiocore/src/model/EvaporativeCoolerDirectResearchSpecial.cpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | openstudiocore/src/model/EvaporativeCoolerDirectResearchSpecial.cpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published ... | 40.965217 | 171 | 0.800573 | jasondegraw |
0ff0341df5e7ab8411a839c766e4bd49632a0edc | 2,337 | cpp | C++ | engine/modules/video/video_player.cpp | Texas-C/echo | 486acc57c9149363206a2367c865a2ccbac69975 | [
"MIT"
] | null | null | null | engine/modules/video/video_player.cpp | Texas-C/echo | 486acc57c9149363206a2367c865a2ccbac69975 | [
"MIT"
] | null | null | null | engine/modules/video/video_player.cpp | Texas-C/echo | 486acc57c9149363206a2367c865a2ccbac69975 | [
"MIT"
] | null | null | null | #include "video_player.h"
#include "engine/core/main/Engine.h"
#include "engine/core/io/IO.h"
namespace Echo
{
VideoPlayer::VideoPlayer()
{
}
VideoPlayer::~VideoPlayer()
{
}
void VideoPlayer::bindMethods()
{
CLASS_BIND_METHOD(VideoPlayer, is2d, DEF_METHOD("is2d"));
CLASS_BIND_METHOD(VideoPlayer,... | 24.6 | 116 | 0.646983 | Texas-C |
0ff1882551a7cefb0ab48cd5f104c3b76da45c58 | 5,073 | cpp | C++ | src/tests/q_tech_ind/main.cpp | gtaifu/CACTUS | a05f47423ac37b14989ec38c525741ec597b4826 | [
"Apache-2.0"
] | 8 | 2020-01-04T06:40:13.000Z | 2020-12-04T19:29:02.000Z | src/tests/q_tech_ind/main.cpp | gtaifu/CACTUS | a05f47423ac37b14989ec38c525741ec597b4826 | [
"Apache-2.0"
] | null | null | null | src/tests/q_tech_ind/main.cpp | gtaifu/CACTUS | a05f47423ac37b14989ec38c525741ec597b4826 | [
"Apache-2.0"
] | 1 | 2021-07-05T02:14:05.000Z | 2021-07-05T02:14:05.000Z | #include <iostream>
#include <systemc>
#include "global_json.h"
#include "instruction_generator.h"
#include "q_data_type.h"
#include "q_decoder.h"
#include "q_tech_ind.h"
#include "spdlog/sinks/stdout_color_sinks.h"
#include "spdlog/spdlog.h"
using cactus::config_reader;
using namespace cactus;
using namespace sc_co... | 34.277027 | 97 | 0.642224 | gtaifu |
0ff37a888340fea492799711ec7d7f934edf0fab | 46,512 | cc | C++ | src/simutrans/tool/simmenu.cc | Varkalandar/simutrans | 894ab5b9ebd2106fde698d36d5daa3d267624d83 | [
"Artistic-1.0"
] | null | null | null | src/simutrans/tool/simmenu.cc | Varkalandar/simutrans | 894ab5b9ebd2106fde698d36d5daa3d267624d83 | [
"Artistic-1.0"
] | null | null | null | src/simutrans/tool/simmenu.cc | Varkalandar/simutrans | 894ab5b9ebd2106fde698d36d5daa3d267624d83 | [
"Artistic-1.0"
] | null | null | null | /*
* This file is part of the Simutrans project under the Artistic License.
* (see LICENSE.txt)
*/
#include <string>
#include <algorithm>
#include "../utils/unicode.h"
#include "../simevent.h"
#include "../world/simworld.h"
#include "../gui/simwin.h"
#include "../player/simplay.h"
#include "../tool/simmenu.h"
#in... | 31.901235 | 163 | 0.648908 | Varkalandar |
0ff40cc9934e8fc6eb151ab62ec4d5168bf996ca | 586 | cpp | C++ | BZOJ/1251/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/1251/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/1251/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
const int N=5e4+10;
int n,m,a[N];
int main(){
scanf("%d%d",&n,&m);
rep(i,1,m){
int op;scanf("%d",&op);
if(op==1){
int l,r,v;scanf("%d%d%d"... | 20.928571 | 47 | 0.522184 | sjj118 |
0ff75eae9f0d1d4fedc6cc3ade5d9cfbb5d0b13d | 2,843 | cpp | C++ | LOT_spi0_cpp/LOT_spi0.cpp | hhk7734/sundries | 2979db941be25adc2be6eb1fd95838561135af62 | [
"MIT"
] | 1 | 2018-11-12T00:52:08.000Z | 2018-11-12T00:52:08.000Z | LOT_spi0_cpp/LOT_spi0.cpp | hhk7734/AVR_lib | 2979db941be25adc2be6eb1fd95838561135af62 | [
"MIT"
] | null | null | null | LOT_spi0_cpp/LOT_spi0.cpp | hhk7734/AVR_lib | 2979db941be25adc2be6eb1fd95838561135af62 | [
"MIT"
] | null | null | null | /**
* @file LOT_spi0.cpp
* @author Hyeon-ki, Hong (hhk7734@gmail.com)
* @brief
*/
#include "LOT_spi0.h"
LOT_spi0::LOT_spi0()
: error_count( 0 )
{
}
void LOT_spi0::setup( LOT_spi_data_order_typedef data_order,
LOT_spi_clk_idle_state_typedef clk_idle,
LOT_s... | 22.563492 | 99 | 0.572283 | hhk7734 |
0ffbeb606c68fc22d481d3685f0f3be0822ac105 | 1,716 | cc | C++ | lib/consumers/aggregator_consumer.cc | pal-robotics/statsdcc | 3398c71019ac202e1b3dccd6e2cbef6537d82975 | [
"MIT"
] | 1 | 2020-06-09T23:48:06.000Z | 2020-06-09T23:48:06.000Z | lib/consumers/aggregator_consumer.cc | pal-robotics/statsdcc | 3398c71019ac202e1b3dccd6e2cbef6537d82975 | [
"MIT"
] | 2 | 2019-07-04T21:50:11.000Z | 2020-03-17T18:12:51.000Z | lib/consumers/aggregator_consumer.cc | pal-robotics/statsdcc | 3398c71019ac202e1b3dccd6e2cbef6537d82975 | [
"MIT"
] | 1 | 2020-06-09T15:43:27.000Z | 2020-06-09T15:43:27.000Z |
/**
* Source file for class AggregatorConsumer
* Please see statsdcc_consumer.h and consumer.h for documentaion
*/
#include "statsdcc/consumers/aggregator_consumer.h"
#include <gperftools/tcmalloc.h>
#include <string.h>
#include <cstring>
#include <sstream>
#include "statsdcc/configs/aggregator_config.h"
#inclu... | 27.238095 | 77 | 0.681235 | pal-robotics |