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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
923beef145545c26f17f30f2201265e5540f3851 | 9,760 | cpp | C++ | hackathon/XuanZhao/compare_swc2/n_class.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | hackathon/XuanZhao/compare_swc2/n_class.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | hackathon/XuanZhao/compare_swc2/n_class.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "n_class.h"
bool Comp(const int &a,const int &b)
{
return a>b;
}
bool Branch::get_r_points_of_branch(vector<NeuronSWC> &r_points, NeuronTree &nt)
{
NeuronSWC tmp=end_point;
r_points.push_back(end_point);
while(tmp.n!=head_point.n)
{
tmp=nt.listNeuron[nt.hashNeuron.value(tmp.parent... | 30.030769 | 160 | 0.534836 | zzhmark |
923c947f3f73180e470c109103abeb14f7b60a45 | 527 | hpp | C++ | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | null | null | null | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | null | null | null | include/util/any.hpp | BaroboRobotics/cxx-util | 624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd | [
"BSL-1.0"
] | 1 | 2018-11-13T15:02:23.000Z | 2018-11-13T15:02:23.000Z | // Copyright (c) 2014-2016 Barobo, 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)
#ifndef UTIL_ANY_HPP
#define UTIL_ANY_HPP
#include <utility>
namespace util {
template <class T>
constexpr bool any (T&&... | 20.269231 | 79 | 0.671727 | BaroboRobotics |
923dce66fe2a31a0efe4eb5249b0ae605820ffa0 | 5,904 | hpp | C++ | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | 57 | 2019-03-30T21:26:08.000Z | 2022-03-11T02:22:09.000Z | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | null | null | null | code/jsbind/v8/convert.hpp | Chobolabs/jsbind | 874b41df6bbc9a3b756e828c64e43e1b6cbd4386 | [
"MIT"
] | 3 | 2020-04-11T09:19:44.000Z | 2021-09-30T07:30:45.000Z | // jsbind
// Copyright (c) 2019 Chobolabs Inc.
// http://www.chobolabs.com/
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#pragma once
#include "global.hpp"
#include "jsbind/common/wrapped_class.hpp"
#include <string>
#includ... | 26.594595 | 95 | 0.54065 | Chobolabs |
92404c1d3c0ab2222f506e2b240dd972433768a4 | 657 | cpp | C++ | OrionUO/GUI/GUIHTMLButton.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | 1 | 2019-04-27T22:20:34.000Z | 2019-04-27T22:20:34.000Z | OrionUO/GUI/GUIHTMLButton.cpp | SirGlorg/OrionUO | 42209bd144392fddff9e910562ccec1bf5704049 | [
"MIT"
] | 1 | 2018-12-28T13:45:08.000Z | 2018-12-28T13:45:08.000Z | OrionUO/GUI/GUIHTMLButton.cpp | heppcatt/Siebenwind-Beta-Client | ba25683f37f9bb7496d12aa2b2117cba397370e2 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (C) August 2016 Hotride
CGUIHTMLButton::CGUIHTMLButton(
CGUIHTMLGump *htmlGump,
int serial,
uint16_t graphic,
uint16_t graphicSelected,
uint16_t graphicPressed,
int x,
int y)
: CGUIButton(serial, graphic, graphicSelected, graphicPressed, x, y)
, m_HTMLGu... | 18.771429 | 72 | 0.692542 | SirGlorg |
924c0db79b8f383d8dc3d30eed312be6cd6580ba | 777 | hpp | C++ | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/World/CScriptBeam.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #pragma once
#include <string_view>
#include "Runtime/Weapon/CBeamInfo.hpp"
#include "Runtime/World/CActor.hpp"
#include "Runtime/World/CDamageInfo.hpp"
namespace metaforce {
class CWeaponDescription;
class CScriptBeam : public CActor {
TCachedToken<CWeaponDescription> xe8_weaponDescription;
CBeamInfo xf4_beamIn... | 29.884615 | 93 | 0.78121 | Jcw87 |
924d63d5f43ad2567313e7584a5941997b3a6580 | 3,321 | cpp | C++ | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | test/unit-modcc/test_kinetic_rewriter.cpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #include <iostream>
#include <string>
#include "expression.hpp"
#include "kineticrewriter.hpp"
#include "parser.hpp"
#include "alg_collect.hpp"
#include "common.hpp"
#include "expr_expand.hpp"
expr_list_type& statements(Expression *e) {
if (e) {
if (auto block = e->is_block()) {
return block-... | 29.651786 | 74 | 0.552243 | kanzl |
924eb6611f6d5a383f9a0e27dada734eb9ee7b17 | 713 | cpp | C++ | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | sauce/core/collections/abstractions/strange__queue_a.cpp | oneish/strange | e6c47eca5738dd98f4e09ee5c0bb820146e8b48f | [
"Apache-2.0"
] | null | null | null | #include "../../strange__core.h"
namespace strange
{
template <typename element_d>
var<symbol_a> queue_a<element_d>::cat(con<> const& me)
{
static auto r = sym("<strange::queue>"); //TODO cat
return r;
}
template <typename element_d>
typename queue_a<element_d>::creator_fp queue_a<element_d>::creator(con<sy... | 20.371429 | 96 | 0.667602 | oneish |
924f78caafafaacfd4d8d9a754dfce0594908a0a | 596 | hpp | C++ | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 48 | 2019-05-14T10:07:08.000Z | 2021-04-08T08:26:20.000Z | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | null | null | null | test/src/Algorithm/NoneOf.hpp | changjurhee/CppML | 6d4cc6d0dd2fa3055823f191dc7fe953e4966fc5 | [
"MIT"
] | 4 | 2019-11-18T15:35:32.000Z | 2021-12-02T05:23:04.000Z | #include "CppML/CppML.hpp"
namespace NoneOfTest {
template <typename T> using Predicate = std::is_class<T>;
template <typename T> struct R {};
struct Type0 {};
struct Type1 {};
void run() {
{
using T = ml::f<ml::NoneOf<ml::F<Predicate>, ml::F<R>>, int, char, Type0>;
static_assert(std::is_same<T, R<ml::Bool<f... | 28.380952 | 78 | 0.597315 | changjurhee |
9251f04cb4db1dc0d87200a90ab7c19d98b94fac | 2,281 | cc | C++ | content/browser/attribution_reporting/storable_source.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/attribution_reporting/storable_source.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | content/browser/attribution_reporting/storable_source.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/attribution_reporting/storable_source.h"
#include "base/check_op.h"
#include "net/base/schemeful_site.h"
namespace content {
... | 37.393443 | 76 | 0.682595 | Yannic |
9254c035c212013bc6916d0a329190d8981cec1a | 1,287 | cpp | C++ | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | Flims 2019/Flims Contest Friday/Icebreaker/main.cpp | wdjpng/soi | dd565587ae30985676f7f374093ec0687436b881 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
// Turn off synchronization between cin/cout and scanf/printf
ios_base::sync_with_stdio(false);
// Disable automatic flush of cout when reading from cin cin.tie(0);
cin.tie(0);
int n, groups;
cin >> n >> group... | 25.235294 | 72 | 0.440559 | wdjpng |
92553a8f958ed44a6481a91f1184e2bc0f73d132 | 3,014 | cpp | C++ | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | jessicadavies-intel/llvm | 4236bbba4c562a1355e75fa6d237b7c6b15a3193 | [
"Apache-2.0"
] | 1 | 2022-01-06T15:44:48.000Z | 2022-01-06T15:44:48.000Z | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | jessicadavies-intel/llvm | 4236bbba4c562a1355e75fa6d237b7c6b15a3193 | [
"Apache-2.0"
] | 2 | 2019-06-27T00:36:28.000Z | 2021-06-29T20:05:03.000Z | lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp | kbobrovs/llvm | b57c6bf3b16e6d3f6c052ba9ba3616a24e0beae5 | [
"Apache-2.0"
] | null | null | null | //===-- RegisterContextPOSIX_arm.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 30.444444 | 80 | 0.748507 | jessicadavies-intel |
9256d552a8fc7886c210b2b48a985722d598b601 | 666 | hpp | C++ | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | null | null | null | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | 12 | 2022-01-09T04:05:56.000Z | 2022-01-16T04:50:52.000Z | z/util/regex/rgx.hpp | ZacharyWesterman/zLibraries | cbc6a5f4a6cce7d382906eb1754f627b5df1cc1d | [
"MIT"
] | 1 | 2021-01-30T01:19:02.000Z | 2021-01-30T01:19:02.000Z | #pragma once
/**
* \file z/util/regex/rgx.hpp
* \namespace z::util::rgx
* \brief Namespace containing all regex rules for the sake of organization.
**/
#include "rules/alpha.hpp"
#include "rules/alnum.hpp"
#include "rules/andlist.hpp"
#include "rules/anything.hpp"
#include "rules/begin.hpp"
#include "rules/boundary... | 25.615385 | 76 | 0.738739 | ZacharyWesterman |
925be2325232508739c27e2f3f2acdb423c2d297 | 517 | cpp | C++ | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | perm/remoteExec.cpp | cationstudio/arma-3-life-management | e74aa843222e612d7b2435cc9a37d0c515d82b47 | [
"MIT"
] | null | null | null | /*
File: remoteExec.cpp
Author: Julian Bauer (julian.bauer@cationstudio.com)
Description:
Remote exec config file for management system.
*/
class cat_perm_fnc_getInfos {
allowedTargets=2;
};
class cat_perm_fnc_updateRank {
allowedTargets=2;
};
class cat_perm_fnc_getInfosHC {
allowedTargets... | 20.68 | 56 | 0.750484 | cationstudio |
925ca1c942da4971f72c6c38f301070e283e4934 | 614 | hpp | C++ | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | 5 | 2015-02-21T23:28:39.000Z | 2017-01-04T10:04:45.000Z | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | null | null | null | include/lsfml/resource_text.hpp | Oberon00/lsfml | c5440216c408234a856e59044addc7e6f6bd99b3 | [
"BSD-2-Clause"
] | null | null | null | // Part of the LSFML library -- Copyright (c) Christian Neumüller 2015
// This file is subject to the terms of the BSD 2-Clause License.
// See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause
#ifndef LSFML_RESOURCE_TEXT_HPP_INCLUDED
#define LSFML_RESOURCE_TEXT_HPP_INCLUDED
#include <lsfml/resource_media.hp... | 25.583333 | 70 | 0.763844 | Oberon00 |
17827204f3a382c341700dffd4dc3f93a11b042c | 2,031 | cpp | C++ | src/sensors/temperature/TMP006.cpp | waterloop/goose-sensors | 16e56132408724a55a49bca96af2f28c1720fc03 | [
"MIT"
] | null | null | null | src/sensors/temperature/TMP006.cpp | waterloop/goose-sensors | 16e56132408724a55a49bca96af2f28c1720fc03 | [
"MIT"
] | null | null | null | src/sensors/temperature/TMP006.cpp | waterloop/goose-sensors | 16e56132408724a55a49bca96af2f28c1720fc03 | [
"MIT"
] | 4 | 2018-02-06T19:07:09.000Z | 2018-04-07T17:16:19.000Z | #include <math.h>
#include "TMP006.h"
#include "../../register/ByteInvert.h"
using namespace wlp;
TMP006::TMP006(uint8_t address, uint16_t sample_rate)
: m_sample_rate(sample_rate),
m_register(address) {}
bool TMP006::begin() {
m_register.write16(TMP006::CONFIG, TMP006::CFG_MODEON | TMP006::CFG_DRDYEN... | 31.246154 | 98 | 0.695224 | waterloop |
17842829d72c556d2d571a1e3b7839b8fd5bb4fd | 3,679 | hxx | C++ | src/freertos_drivers/ti/CC32xxEEPROMFlushFlow.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 34 | 2015-05-23T03:57:56.000Z | 2022-03-27T03:48:48.000Z | src/freertos_drivers/ti/CC32xxEEPROMFlushFlow.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 214 | 2015-07-05T05:06:55.000Z | 2022-02-06T14:53:14.000Z | src/freertos_drivers/ti/CC32xxEEPROMFlushFlow.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 38 | 2015-08-28T05:32:07.000Z | 2021-07-06T16:47:23.000Z | /** \copyright
* Copyright (c) 2016, Balazs Racz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this li... | 28.51938 | 80 | 0.636586 | balazsracz |
1785ad878ad66144dcdc56bf2f53cbed3e7be01d | 538 | cpp | C++ | campion-era/seif1.cpp/seif1.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | 1 | 2021-07-05T16:32:14.000Z | 2021-07-05T16:32:14.000Z | campion-era/seif1.cpp/seif1.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | null | null | null | campion-era/seif1.cpp/seif1.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | 1 | 2021-05-14T15:40:09.000Z | 2021-05-14T15:40:09.000Z | #include<fstream>
using namespace std;
int a[101][101],v[1001];
int main()
{
ifstream f("seif1.in");
ofstream g("seif1.out");
int n,k,i,j,x=0,p=0,l=1;
f>>n>>k;
k=k%(n*2);
for(i=1;i<=n;i++)
for(j=1;j<=n;j++)
f>>a[i][j];
for(i=1;i<=n/2;i++) x++,v[x]=a[i][n/2-i+1];
for(i=1;i<=n/2;i... | 24.454545 | 51 | 0.427509 | GeorgianBadita |
1787ed14d3818441f867030aca7213c26cfd5fb6 | 2,634 | hpp | C++ | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | Transport-Guide-CPP/Guide/Route/RoutesMap.hpp | Cheshulko/Transport-Guide-CPP | 84d8e447ecf45d1f6f7598ef773b70d6611413e8 | [
"MIT"
] | null | null | null | //
// RoutesMap.hpp
// transportnyi-spravochnik
//
// Created by Mykyta Cheshulko on 02.07.2020.
// Copyright © 2020 Mykyta Cheshulko. All rights reserved.
//
#ifndef RoutesMap_hpp
#define RoutesMap_hpp
#include "Route.hpp"
#include "Stop.hpp"
#include "DirectedWeightedGraph.hpp"
#include "Router.hpp"
#include ... | 27.4375 | 100 | 0.645406 | Cheshulko |
178a079ef29b48b91917e258e8cfed96fc43ff03 | 9,323 | cpp | C++ | src/GafferImage/VectorWarp.cpp | Tuftux/gaffer | 5acaf7cbfadbae841dc06854121ca85dcc5c338c | [
"BSD-3-Clause"
] | 31 | 2017-07-10T10:02:07.000Z | 2022-02-08T13:54:14.000Z | src/GafferImage/VectorWarp.cpp | Tuftux/gaffer | 5acaf7cbfadbae841dc06854121ca85dcc5c338c | [
"BSD-3-Clause"
] | null | null | null | src/GafferImage/VectorWarp.cpp | Tuftux/gaffer | 5acaf7cbfadbae841dc06854121ca85dcc5c338c | [
"BSD-3-Clause"
] | 3 | 2017-11-04T15:30:11.000Z | 2018-09-25T18:36:11.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2016, Image Engine Design 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:
//
// * R... | 29.785942 | 231 | 0.675963 | Tuftux |
178c38f61c269ad1478fec9e3d90deaffab6112c | 4,329 | cpp | C++ | data/train/cpp/e2cec176136b0c4a05a60447da174f8d480243b0dumps.cpp | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/cpp/e2cec176136b0c4a05a60447da174f8d480243b0dumps.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/cpp/e2cec176136b0c4a05a60447da174f8d480243b0dumps.cpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | #include "dumps.h"
#include "solver.h"
dump_manager_class :: dump_manager_class()
{
}
dump_manager_class :: ~dump_manager_class()
{
for (int i=0; i<dumpN; i++) delete (dump_slaves[i]);
free(dump_slaves);
}
dump_manager_class :: dump_manager_class(FILE* optfid)
{
dumpN = load_namedint(optfid, "DUMPS_N", true, 0)... | 50.929412 | 131 | 0.675445 | harshp8l |
179080c68c15949a425f9f9180208acc3a9785c0 | 9,988 | cxx | C++ | CORRFW/AliCFAcceptanceCuts.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | CORRFW/AliCFAcceptanceCuts.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | CORRFW/AliCFAcceptanceCuts.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 32.747541 | 115 | 0.643572 | maroozm |
179109de25b0bdc5132f048f43c72caf09e40f4f | 2,864 | cc | C++ | src/test/libcephfs/multiclient.cc | rpratap-bot/ceph | 9834961a66927ae856935591f2fd51082e2ee484 | [
"MIT"
] | 4 | 2020-04-08T03:42:02.000Z | 2020-10-01T20:34:48.000Z | src/test/libcephfs/multiclient.cc | rpratap-bot/ceph | 9834961a66927ae856935591f2fd51082e2ee484 | [
"MIT"
] | 93 | 2020-03-26T14:29:14.000Z | 2020-11-12T05:54:55.000Z | src/test/libcephfs/multiclient.cc | rpratap-bot/ceph | 9834961a66927ae856935591f2fd51082e2ee484 | [
"MIT"
] | 23 | 2020-03-24T10:28:44.000Z | 2020-09-24T09:42:19.000Z | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2011 New Dream Network
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License ... | 29.22449 | 81 | 0.672137 | rpratap-bot |
1792a2942c1006e4f638184028c56fd9ae344738 | 4,557 | cpp | C++ | modules/jlv2_host/host/PortBuffer.cpp | atsushieno/jlv2 | 01dfa44e248f31fed1a076d8351b516da9547a22 | [
"ISC"
] | 11 | 2019-10-29T18:30:56.000Z | 2021-09-15T08:20:53.000Z | modules/jlv2_host/host/PortBuffer.cpp | atsushieno/jlv2 | 01dfa44e248f31fed1a076d8351b516da9547a22 | [
"ISC"
] | 8 | 2019-10-29T12:46:56.000Z | 2022-02-03T14:11:10.000Z | modules/jlv2_host/host/PortBuffer.cpp | atsushieno/jlv2 | 01dfa44e248f31fed1a076d8351b516da9547a22 | [
"ISC"
] | 2 | 2020-10-15T11:41:21.000Z | 2020-11-24T15:21:48.000Z | /*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be ... | 26.964497 | 100 | 0.607417 | atsushieno |
17971ac9b543b8d878817783d80d200a9d41c8f9 | 11,146 | hpp | C++ | CaWE/MapEditor/ObserverPattern.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | CaWE/MapEditor/ObserverPattern.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | CaWE/MapEditor/ObserverPattern.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_OBSERVER_PATTERN_HPP_INCLUDED
#define CAFU_OBSERVER_PATTERN_HPP_INCLUDED
/// \file
/// This file provides the classes for the Observer pattern as describ... | 53.845411 | 177 | 0.679795 | dns |
179a3912a5ee10485fb2b720edeb71cc6cbdce99 | 5,354 | cpp | C++ | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/application/Window.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | #include "rfx/pch.h"
#include "rfx/application/Window.h"
#include <rfx/common/Algorithm.h>
#ifdef _WINDOWS
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>
#endif // _WINDOWS
using namespace rfx;
using namespace std;
// -----------------------------------------------------------------------------------... | 33.254658 | 120 | 0.432013 | rfruesmer |
179ad258773967d439cbe264428f9d2ffa1620f5 | 18,781 | cpp | C++ | clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 409 | 2015-01-03T23:52:34.000Z | 2022-03-09T11:32:18.000Z | clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 15 | 2015-08-31T13:35:00.000Z | 2018-11-23T12:34:50.000Z | clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp | dan-zheng/llvm-project | 6b792850da0345274758c9260fda5df5e57ab486 | [
"Apache-2.0"
] | 374 | 2015-02-02T05:23:26.000Z | 2022-03-31T10:53:25.000Z | //===-- FindAllSymbolsTests.cpp - find all symbols unit tests ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.49308 | 80 | 0.624567 | dan-zheng |
179d24ecf183dab489c1eb0f50bda30091244204 | 54,032 | cpp | C++ | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/imaging/ossimImageChain.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: os... | 29.397171 | 146 | 0.56548 | vladislav-horbatiuk |
17a291f71fed31824f3edf947665a1616e3b644a | 6,554 | cpp | C++ | modules/platforms/cpp/core-test/src/interop_test.cpp | vvteplygin/ignite | 876a2ca190dbd88f42bc7acecff8b7783ce7ce54 | [
"Apache-2.0"
] | 4,339 | 2015-08-21T21:13:25.000Z | 2022-03-30T09:56:44.000Z | modules/platforms/cpp/core-test/src/interop_test.cpp | vvteplygin/ignite | 876a2ca190dbd88f42bc7acecff8b7783ce7ce54 | [
"Apache-2.0"
] | 1,933 | 2015-08-24T11:37:40.000Z | 2022-03-31T08:37:08.000Z | modules/platforms/cpp/core-test/src/interop_test.cpp | vvteplygin/ignite | 876a2ca190dbd88f42bc7acecff8b7783ce7ce54 | [
"Apache-2.0"
] | 2,140 | 2015-08-21T22:09:00.000Z | 2022-03-25T07:57:34.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 26.642276 | 113 | 0.660665 | vvteplygin |
17a3497f4476a51f14d68b4a6844f65d212f964d | 10,281 | cpp | C++ | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | test/image_threshold_to_zero_cts.cpp | daemyung/vps | b031151e42fb355446bb4e207b74e65eb0e4b9ac | [
"MIT"
] | null | null | null | //
// This file is part of the "vps" project
// See "LICENSE" for license information.
//
#include <doctest.h>
#include <vps.h>
#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.h>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <stb_image_write.h>
#include <ios... | 29.458453 | 146 | 0.744383 | daemyung |
17a387e83243244c68727d5b43f0490e257a98f1 | 5,425 | cpp | C++ | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | TileServer und Tiles/threadfilereaders.cpp | andr1312e/Russia-Tiles-Server | c1d596b84e22c170ba0f795ed6e2bfb80167eeb6 | [
"Unlicense"
] | null | null | null | #include "threadfilereaders.h"
ThreadImageRotator::ThreadImageRotator(const QString *pathToSourceSvg,const QString *pathToRendedImage,const QString *fileType, const QString *slash, QObject *parent)
: QObject(parent)
, m_timer(new QTimer(this))
, m_imageRotatorHash(new QHash<QThread*, ImageRotator*>())
... | 36.409396 | 166 | 0.634101 | andr1312e |
17a814171d3c904d198d4b9d6d67e1528c9bb81f | 10,273 | cpp | C++ | source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/Voxelizer.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/Voxelizer.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | source/Core/Castor3D/Render/GlobalIllumination/VoxelConeTracing/Voxelizer.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | #include "Castor3D/Render/GlobalIllumination/VoxelConeTracing/Voxelizer.hpp"
#include "Castor3D/DebugDefines.hpp"
#include "Castor3D/Engine.hpp"
#include "Castor3D/Buffer/GpuBuffer.hpp"
#include "Castor3D/Buffer/UniformBufferPools.hpp"
#include "Castor3D/Event/Frame/GpuFunctorEvent.hpp"
#include "Castor3D/Material/Tex... | 34.942177 | 190 | 0.710698 | Mu-L |
17aab0402839379eaf08c6e9f0ef25b622ba1ae6 | 15,240 | cc | C++ | genfit/GBL/src/GblPoint.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | genfit/GBL/src/GblPoint.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | genfit/GBL/src/GblPoint.cc | Plamenna/proba | 517d7e437865c372e538f77d2242c188740f35d9 | [
"BSD-4-Clause"
] | null | null | null | /*
* GblPoint.cpp
*
* Created on: Aug 18, 2011
* Author: kleinwrt
*/
#include "GblPoint.h"
//! Namespace for the general broken lines package
namespace gbl {
/// Create a point.
/**
* Create point on (initial) trajectory. Needs transformation jacobian from previous point.
* \param [in] aJacobian Transfo... | 31.102041 | 108 | 0.691142 | Plamenna |
17ab7dcda5ad069ac93417ade4b86295cf14ff6c | 3,055 | cpp | C++ | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | code/opengl.cpp | elvismd/tanksgame | 8c2c9daa9963b9d5a5e16a8515bd4c3e7d231799 | [
"MIT"
] | null | null | null | #include "opengl.h"
#include "logger.h"
#define CHECK_GL(...) check_gl_error(__FILE__, __LINE__);
int check_gl_error(char * file, int line)
{
GLuint err = glGetError();
if (err > 0)
{
log_warning("GL Error - file:%s line: %d error: %d", file, line, err);
switch(err)
{
case GL_INVALID_ENUM: log_warning... | 56.574074 | 356 | 0.762029 | elvismd |
17ada2e487cfb137c6cf76c9121d18e063a40fb9 | 29,878 | hpp | C++ | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | include/dca/phys/dca_step/cluster_solver/ctaux/accumulator/tp/accumulator_nonlocal_chi.hpp | yingwaili/DCA | 31c298a1831f90daf62ea8bb6b683229513d7c08 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Peter Staar (taa@zurich.ibm.com)
//
// This class computes the nonlocal \f$\chi(k_... | 41.041209 | 112 | 0.651483 | yingwaili |
17af2153521afd985ec8b8a9d34f7ba5fcd12d90 | 1,240 | hpp | C++ | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | 5 | 2019-08-16T07:04:32.000Z | 2022-03-31T11:02:09.000Z | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | null | null | null | include/tracker/MarkerFilter.hpp | anqixu/ftag2 | f77c0c0960a1ed44cc8723fd6c5320b7bb256a68 | [
"BSD-2-Clause"
] | 1 | 2021-12-09T21:05:56.000Z | 2021-12-09T21:05:56.000Z | /*
* MarkerFilter.hpp
*
* Created on: Mar 4, 2014
* Author: dacocp
*/
#ifndef MARKERFILTER_HPP_
#define MARKERFILTER_HPP_
#include "common/FTag2.hpp"
#include "tracker/PayloadFilter.hpp"
#include "detector/FTag2Detector.hpp"
#include "tracker/Kalman.hpp"
using namespace std;
class MarkerFilter {
private... | 26.956522 | 115 | 0.762903 | anqixu |
17b1fb67d0a3acfb9257e63bafdd5fb33d5d3dca | 728 | cpp | C++ | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | GEARBOX/res/scripts/TestScript.cpp | AndrewRichards-Code/GEAR_CORE | 4d4e77bf643dc9b98de9f38445eae690290e1895 | [
"MIT"
] | null | null | null | #include "Scene/INativeScript.h"
using namespace gear;
using namespace scene;
class TestScript : public INativeScript
{
public:
TestScript() = default;
~TestScript() = default;
bool first = true;
mars::float3 initPos;
void OnCreate()
{
}
void OnDestroy()
{
objects::Transform& transform = GetEntity().Get... | 18.666667 | 91 | 0.715659 | AndrewRichards-Code |
17b25e6a9f5d40e856515dbe7c86cc60d95665fa | 320 | cpp | C++ | tests/catch.cpp | ZeroICQ/cpp-vector | ac896b1c0fd70b2ae1e27229172de28684a85978 | [
"MIT"
] | null | null | null | tests/catch.cpp | ZeroICQ/cpp-vector | ac896b1c0fd70b2ae1e27229172de28684a85978 | [
"MIT"
] | null | null | null | tests/catch.cpp | ZeroICQ/cpp-vector | ac896b1c0fd70b2ae1e27229172de28684a85978 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in on
#define CATCH_CONFIG_FAST_COMPILE // Sacrifices some (rather minor) features for compilation speed
#define CATCH_CONFIG_DISABLE_MATCHERS // Do not compile Matchers in this compilation unit
#include "catch.hpp"
| 53.333333 | 104 | 0.746875 | ZeroICQ |
17b468aaa75a8a0bc536f24c3af4f66cfe0edc63 | 2,860 | cpp | C++ | src/vgui2/src/MessageListener.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/vgui2/src/MessageListener.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/vgui2/src/MessageListener.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "IMessageListener.h"
#include "VPanel.h"
#include "vgui_internal.h"
#include <KeyValues.h>
#include "vgui/IClient... | 25.535714 | 115 | 0.597203 | DeadZoneLuna |
17b5f7ec7dd976b40e6f84cbfc8bff2cfbe49bfb | 21,324 | cpp | C++ | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2016-01-30T03:25:00.000Z | 2022-01-23T23:29:22.000Z | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 1 | 2018-09-01T09:46:34.000Z | 2019-01-12T15:05:50.000Z | Utils/spawn-wthttpd.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2017-01-05T14:55:02.000Z | 2021-03-30T14:05:10.000Z | /**
* @file
* @author Mamadou Babaei <info@babaei.net>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 - 2021 Mamadou Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 46.356522 | 124 | 0.422998 | NuLL3rr0r |
17b90207f73dcaf083a85f23ce25a62e4604a03f | 949 | cc | C++ | components/password_manager/core/browser/password_manager_constants.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/password_manager/core/browser/password_manager_constants.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/password_manager/core/browser/password_manager_constants.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/password_manager/core/browser/password_manager_constants.h"
namespace password_manager {
const base::FilePath::CharType kAffiliatio... | 36.5 | 80 | 0.783983 | chromium |
17b9a3a619dc2f0ce902205a7086ac9fd2a5d60d | 5,969 | cpp | C++ | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 24 | 2015-10-15T00:03:57.000Z | 2021-04-25T18:21:31.000Z | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 1 | 2015-06-02T12:19:19.000Z | 2015-06-02T12:19:19.000Z | src/mongo/db/fts/fts_search.cpp | nleite/mongo | 1a1b6b0aaeefbae06942867e4dcf55d00d42afe0 | [
"Apache-2.0"
] | 3 | 2017-07-26T11:17:11.000Z | 2021-11-30T00:11:32.000Z | // fts_search.cpp
/**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it wi... | 32.796703 | 100 | 0.501424 | nleite |
17bab29a25e304d2904a2d4e02c7b9a8ae2c5a2b | 2,156 | cc | C++ | src/storage/blobfs/test/unit/fsck-test.cc | dahlia-os/fuchsia-pine64-pinephone | 57aace6f0b0bd75306426c98ab9eb3ff4524a61d | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | src/storage/blobfs/test/unit/fsck-test.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | src/storage/blobfs/test/unit/fsck-test.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "blobfs/fsck.h"
#include <blobfs/mkfs.h>
#include <block-client/cpp/fake-device.h>
#include <gtest/gtest.h>
#include "blobfs.h"
#include "utils.... | 30.366197 | 74 | 0.752783 | dahlia-os |
17bd5ed31ba7debeab07f15da466c585475700eb | 4,364 | cpp | C++ | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | CalFp02-/src/Sudoku.cpp | GuilhermeJSilva/CAL-TP | 5e9dac1c56370a82d16f1633f03ec6302d81652d | [
"MIT"
] | null | null | null | /*
* Sudoku.cpp
*
*/
#include "Sudoku.h"
#include <vector>
#include <string.h>
#include <climits>
/** Inicia um Sudoku vazio.
*/
Sudoku::Sudoku()
{
this->initialize();
this->n_solucoes = 0;
this->countFilled = 0;
}
/**
* Inicia um Sudoku com um conte�do inicial.
* Lan�a excep��o IllegalArgumentException se ... | 19.056769 | 91 | 0.555454 | GuilhermeJSilva |
17c0c334c4fc80d57eac6f272f38fd439cb246f0 | 6,224 | cc | C++ | sim/uart.cc | cbiffle/brittle-kernel | 13ca6dddc910d38e6cdca8360b29b42e1fa8928a | [
"Apache-2.0"
] | 18 | 2016-04-09T09:05:43.000Z | 2021-03-31T20:52:44.000Z | sim/uart.cc | cbiffle/brittle-kernel | 13ca6dddc910d38e6cdca8360b29b42e1fa8928a | [
"Apache-2.0"
] | 1 | 2017-05-16T08:17:25.000Z | 2017-05-16T08:17:25.000Z | sim/uart.cc | cbiffle/brittle-kernel | 13ca6dddc910d38e6cdca8360b29b42e1fa8928a | [
"Apache-2.0"
] | 1 | 2021-11-23T15:17:15.000Z | 2021-11-23T15:17:15.000Z | #include <assert.h>
#include "stubs.h"
/*******************************************************************************
* Names for some of our resources.
*/
// Names for clist slots
static constexpr uintptr_t
// Where reply keys arrive.
k0 = 0,
// We move reply keys here immediately so they don't get stompe... | 25.198381 | 80 | 0.570373 | cbiffle |
17c0db6e2c3ccbf82be67c5a1f0f9e818cd28de9 | 1,001 | hpp | C++ | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | Type.hpp | Racinettee/Inked | 231ba994772d0847b19df5b1da2abaed113d58d6 | [
"MIT"
] | null | null | null | #ifndef _TYPE_HPP_
#define _TYPE_HPP_
#include "ICompilerEngine.hpp"
class Type
{
std::string name;
llvm::Type* type;
public:
const std::string& Name()
{
return name;
}
const llvm::Type* Type()
{
return type;
}
std::size_t SizeBytes() const
{
// figure out... | 25.025 | 107 | 0.551449 | Racinettee |
17c2f4f24fc2ccf0616b763a9acf0ff599e21539 | 1,996 | cpp | C++ | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | c03/ex3_16.cpp | qzhang0/CppPrimer | 315ef879bd4d3b51d594e33b049adee0d47e4c11 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::vector;
int main() {
vector<int> v1; // size:0, no values.
vector<int> v2(10); // size:10, value:0
vector<int> v3(10, 42); // size:10, ... | 25.589744 | 60 | 0.40982 | qzhang0 |
17c3caf5cd91fbaf56150f942457ee8336fd6118 | 27,692 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothGattServer.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothGattServer.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/BluetoothGattServer.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 33.811966 | 123 | 0.61841 | jingcao80 |
17c5e1257d39c35c1542de3d5e0f8dfb670382b5 | 1,346 | hh | C++ | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 5 | 2021-06-07T12:36:11.000Z | 2022-02-08T09:49:02.000Z | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | 1 | 2022-03-01T23:55:57.000Z | 2022-03-01T23:57:15.000Z | src/cxx/lib/layout/cppunit/testBarcodeCollisionDetector.hh | sbooeshaghi/bcl2fastq | 3f39a24cd743fa71fba9b7dcf62e5d33cea8272d | [
"BSD-3-Clause"
] | null | null | null | /**
* BCL to FASTQ file converter
* Copyright (c) 2007-2017 Illumina, Inc.
*
* This software is covered by the accompanying EULA
* and certain third party copyright/licenses, and any user of this
* source file is bound by the terms therein.
*
* \file barcodeCollisionDetector.hh
*
* \brief BarcodeCollisionDete... | 25.884615 | 67 | 0.767459 | sbooeshaghi |
17c678ac09686e3db38bc53e3d85ba4dd27930ca | 2,536 | cc | C++ | code/arduino/lib/deskmate/arduino/input/crank.cc | rbaron/deskmate | bbbe35a04ead4acc2d65da7e75ecebdece158382 | [
"MIT"
] | 48 | 2020-11-26T09:04:14.000Z | 2022-03-21T04:28:10.000Z | code/arduino/lib/deskmate/arduino/input/crank.cc | rbaron/deskmate | bbbe35a04ead4acc2d65da7e75ecebdece158382 | [
"MIT"
] | 1 | 2021-03-22T15:17:43.000Z | 2021-04-04T12:30:12.000Z | code/arduino/lib/deskmate/arduino/input/crank.cc | rbaron/deskmate | bbbe35a04ead4acc2d65da7e75ecebdece158382 | [
"MIT"
] | 7 | 2020-11-30T00:16:34.000Z | 2022-03-02T02:02:43.000Z | #include "deskmate/arduino/input/crank.h"
#include <Arduino.h>
#include "deskmate/input/input.h"
namespace deskmate {
namespace arduino {
namespace input {
namespace {
using deskmate::input::InputEvent;
using deskmate::input::InputEventHandler;
deskmate::input::InputEventHandler *input_handler = nullptr;
struct C... | 25.877551 | 73 | 0.663249 | rbaron |
17c6c202fc9e8dfd7c8b4acaa44eb86759c8d544 | 74,906 | cxx | C++ | main/sc/source/filter/starcalc/scflt.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/filter/starcalc/scflt.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/filter/starcalc/scflt.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 29.760032 | 148 | 0.642392 | Grosskopf |
17c84e975dc7f786a073022412fcc6f6169550d7 | 35,778 | cpp | C++ | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | 1 | 2018-01-06T04:44:36.000Z | 2018-01-06T04:44:36.000Z | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | null | null | null | src/RenderSystem/Vulkan/Vulkan.cpp | przemyslaw-szymanski/vke | 1d8fb139e0e995e330db6b8873dfc49463ec312c | [
"MIT"
] | null | null | null | #include "RenderSystem/Vulkan/Vulkan.h"
#include "Core/Platform/CPlatform.h"
#include "Core/Utils/CLogger.h"
//#undef VKE_VK_FUNCTION
//#define VKE_VK_FUNCTION(_name) PFN_##_name _name
//#undef VK_EXPORTED_FUNCTION
//#undef VKE_ICD_GLOBAL
//#undef VKE_INSTANCE_ICD
//#undef VKE_DEVICE_ICD
//#define VK_EXPORTED_FUNCTION... | 40.656818 | 213 | 0.542764 | przemyslaw-szymanski |
17c86b1802ea9ee06842273f20e333998dd5a9b6 | 3,330 | cpp | C++ | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/CurveDataVector.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | 8 | 2018-01-30T11:40:31.000Z | 2021-05-03T05:52:47.000Z | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/CurveDataVector.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | null | null | null | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/CurveDataVector.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | 1 | 2020-12-23T08:14:57.000Z | 2020-12-23T08:14:57.000Z | /******************************************************************************
* Copyright (C) 2015 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
... | 35.806452 | 80 | 0.429429 | huying163 |
17c8b1276609b9fd159b42401ccf7f84dada58ff | 539 | cpp | C++ | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | Leetcode/Practice/N-Repeated Element in Size 2N Array.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | /*coderanant*/
#define ll long long
#define f1(i,a,b) for(int i=a;i<b;i++)
#define f2(i,a,b) for(int i=a;i>=b;i--)
#define endl '\n'
#define pb push_back
#define gp " "
#define ff first
#define ss second
#define mp make_pair
const int mod=1000000007;
ll temp;
class Solution {
public:
int repeatedNTimes(vector<int>... | 18.586207 | 39 | 0.497217 | coderanant |
17c9c617f92aa763f28cf6945f5d1206b92c5b5a | 14,580 | cc | C++ | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | tests/mpi_particle_test.cc | fuatfurkany/mpm | d840c91f1f6ed1d164dec30029717dcfe9d30f0c | [
"MIT"
] | null | null | null | #include <limits>
#include "catch.hpp"
#include "data_types.h"
#include "hdf5_particle.h"
#include "material/material.h"
#include "mpi_datatypes.h"
#include "particle.h"
#ifdef USE_MPI
//! \brief Check particle class for 1D case
TEST_CASE("MPI HDF5 Particle is checked", "[particle][mpi][hdf5]") {
// Dimension
co... | 36.541353 | 79 | 0.615844 | fuatfurkany |
17ca1c483efbf06de8a215d671380faa872a772b | 1,211 | cpp | C++ | libs/vgc/graphics/idgenerator.cpp | QtOpenGL/vgc | 4c48e24884f0613cca5ff7094b7a1824cb44d97a | [
"ECL-2.0",
"Apache-2.0"
] | 218 | 2018-03-04T14:11:25.000Z | 2022-03-25T01:19:47.000Z | libs/vgc/graphics/idgenerator.cpp | QtOpenGL/vgc | 4c48e24884f0613cca5ff7094b7a1824cb44d97a | [
"ECL-2.0",
"Apache-2.0"
] | 239 | 2018-02-21T11:26:04.000Z | 2022-03-17T15:08:22.000Z | libs/vgc/graphics/idgenerator.cpp | QtOpenGL/vgc | 4c48e24884f0613cca5ff7094b7a1824cb44d97a | [
"ECL-2.0",
"Apache-2.0"
] | 21 | 2018-02-28T06:27:44.000Z | 2022-03-02T15:31:53.000Z | // Copyright 2021 The VGC Developers
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/vgc/vgc/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... | 40.366667 | 76 | 0.753097 | QtOpenGL |
17cb624e664efb5046ffc4a49a003c47fda795cb | 875 | cpp | C++ | cpp/src/FindFirstAndLastPositionOfElementInSortedArray.cpp | qianbinbin/leetcode | 915cecab0c940cd13847683ec55b17b77eb0f39b | [
"MIT"
] | 4 | 2018-03-05T02:27:16.000Z | 2021-03-15T14:19:44.000Z | cpp/src/FindFirstAndLastPositionOfElementInSortedArray.cpp | qianbinbin/leetcode | 915cecab0c940cd13847683ec55b17b77eb0f39b | [
"MIT"
] | null | null | null | cpp/src/FindFirstAndLastPositionOfElementInSortedArray.cpp | qianbinbin/leetcode | 915cecab0c940cd13847683ec55b17b77eb0f39b | [
"MIT"
] | 2 | 2018-07-22T10:32:10.000Z | 2018-10-20T03:14:28.000Z | #include "FindFirstAndLastPositionOfElementInSortedArray.h"
using namespace lcpp;
static std::vector<int>::iterator binarySearch(std::vector<int>::iterator First,
std::vector<int>::iterator Last,
int Val, bool Lower) {
whi... | 33.653846 | 80 | 0.540571 | qianbinbin |
17d207c505a538b0ea583e5b66e3165dd8e78138 | 186 | cxx | C++ | src/test/testmain.cxx | fermi-lat/Event | 2e9e8ee117f61c4b1abde69828a97f94ff84630a | [
"BSD-3-Clause"
] | null | null | null | src/test/testmain.cxx | fermi-lat/Event | 2e9e8ee117f61c4b1abde69828a97f94ff84630a | [
"BSD-3-Clause"
] | null | null | null | src/test/testmain.cxx | fermi-lat/Event | 2e9e8ee117f61c4b1abde69828a97f94ff84630a | [
"BSD-3-Clause"
] | null | null | null | #include "Event/TopLevel/EventModel.h"
#include "geometry/Vector.h"
#include "Event/Utilities/TimeStamp.h"
#include <iostream>
/// return non-zero on success
int main(){
return 0;
}
| 16.909091 | 38 | 0.725806 | fermi-lat |
17d34e71d4614171110adbde4c5970176be21c73 | 2,130 | hpp | C++ | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 3 | 2021-09-29T21:15:25.000Z | 2021-11-11T20:57:07.000Z | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 44 | 2021-09-28T05:38:43.000Z | 2022-03-31T21:29:48.000Z | embedded/src/fsw/FCCode/MissionManager_a.hpp | CornellDataScience/self-driving-car | 449044840abdeed9f547a16cd192950e23ba189c | [
"MIT"
] | 1 | 2020-12-23T03:32:11.000Z | 2020-12-23T03:32:11.000Z | #ifndef MISSION_MANAGER_A_HPP_
#define MISSION_MANAGER_A_HPP_
#include "TimedControlTask.hpp"
#include "mission_mode_t.enum"
#include "adcs_mode_t.enum"
class MissionManager_a : public TimedControlTask<void> {
public:
MissionManager_a(StateFieldRegistry& registry, unsigned int offset);
void... | 31.791045 | 76 | 0.686385 | CornellDataScience |
17d6544d9e02d7958f2e201d0bd853b43cbbd20e | 2,818 | hpp | C++ | vendor/bela/include/bela/env.hpp | rdp-studio/baulk | 39feb4914dc1b7a572b9a80cac13a906d637046e | [
"MIT"
] | 3 | 2019-03-19T09:24:09.000Z | 2021-05-17T11:21:24.000Z | vendor/bela/include/bela/env.hpp | rdp-studio/Privexec | 472c05b808965d82151828a0ec5ee846b5ca86db | [
"MIT"
] | null | null | null | vendor/bela/include/bela/env.hpp | rdp-studio/Privexec | 472c05b808965d82151828a0ec5ee846b5ca86db | [
"MIT"
] | 1 | 2019-11-20T05:11:30.000Z | 2019-11-20T05:11:30.000Z | /// Env helper
#ifndef BELA_ENV_HPP
#define BELA_ENV_HPP
#include <string>
#include <string_view>
#include <shared_mutex>
#include "match.hpp"
#include "str_split.hpp"
#include "str_join.hpp"
#include "span.hpp"
#include "phmap.hpp"
#include "base.hpp"
namespace bela {
constexpr const wchar_t Separator = L';';
constex... | 32.390805 | 97 | 0.694819 | rdp-studio |
17d744b490831419ed1ed3326f534eb3cbe53938 | 4,712 | cc | C++ | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | src/automaton/examples/network/node_prototype.cc | liberatix/automaton-core | 0e36bd5b616a308ea319a791b11f68df879f4571 | [
"MIT"
] | null | null | null | #include "automaton/examples/network/node_prototype.h"
#include "automaton/core/io/io.h"
namespace acn = automaton::core::network;
/// Node's connection handler
node::handler::handler(node* n): node_(n) {}
void node::handler::on_message_received(acn::connection* c, char* buffer,
uint32_t bytes_read, uint32_t id... | 30.597403 | 98 | 0.647071 | liberatix |
17d8c4394bf3d379ec772376c3523b82b649f910 | 739 | cxx | C++ | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | 1 | 2020-07-26T10:54:41.000Z | 2020-07-26T10:54:41.000Z | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | null | null | null | cgv/gui/gui_creator.cxx | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | null | null | null | #include "gui_creator.h"
#include <vector>
namespace cgv {
namespace gui {
std::vector<gui_creator*>& ref_gui_creators()
{
static std::vector<gui_creator*> creators;
return creators;
}
/// register a gui creator
void register_gui_creator(gui_creator* gc, const char* creator_name)
{
ref_gui_creators().push_back(... | 23.09375 | 91 | 0.728011 | IXDdev |
17db19a3320a4362a2d43ad0289f36c0ec48cb95 | 7,345 | cpp | C++ | test/pchip_test.cpp | oleg-alexandrov/math | 2137c31eb8e52129d997a76b893f71c1da0ccc5f | [
"BSL-1.0"
] | 233 | 2015-01-12T19:26:01.000Z | 2022-03-11T09:21:47.000Z | test/pchip_test.cpp | oleg-alexandrov/math | 2137c31eb8e52129d997a76b893f71c1da0ccc5f | [
"BSL-1.0"
] | 626 | 2015-02-05T18:12:27.000Z | 2022-03-20T13:19:18.000Z | test/pchip_test.cpp | oleg-alexandrov/math | 2137c31eb8e52129d997a76b893f71c1da0ccc5f | [
"BSL-1.0"
] | 243 | 2015-01-17T17:46:32.000Z | 2022-03-07T12:56:26.000Z | /*
* Copyright Nick Thompson, 2020
* Use, modification and distribution are subject to 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 "math_unit_test.hpp"
#include <numeric>
#include <utility>
#include <random>
#incl... | 28.803922 | 135 | 0.54663 | oleg-alexandrov |
17db4def8352c85ce6e424972c4388b60871d83f | 6,356 | cpp | C++ | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | src/LauncherSystem.cpp | OlivierAlgoet/angry-bricks-project | 64b368bd623eadcd814b4f27bb19e02388f8799f | [
"MIT"
] | null | null | null | #include "LauncherSystem.h"
void LauncherSystem::Update(){
std::set<Entity*> current_missile=engine_.GetEntityStream().WithTag(Component::Tag::CURRENTMISSILE); // ask for sprites, all entities containing a sprite have to use a scaled bitmap
if (current_missile.empty()){
context_.changing=true;
... | 39.234568 | 185 | 0.584172 | OlivierAlgoet |
17db87f2a2c464be293923a5e29a43225df7691c | 2,092 | cc | C++ | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | test/test_json/test_json.cc | MUCZ/meowings | 5c691f0a2fb606dad2ddda44f946a94ff8ba3212 | [
"Apache-2.0"
] | null | null | null | #include "json.hpp"
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <exception>
using json = nlohmann::json;
using namespace std;
int main(){
// 序列化
// 普通数据序列化
json js;
js["id"] = {1,2,3,4,5};
js["name"] = "zhang san";
js["msg"]["zhang san"] = "hello world";
... | 23.244444 | 88 | 0.526769 | MUCZ |
17dfc870e343d123b3ce267aeb5897ba3c3fba06 | 9,698 | hpp | C++ | kernel/src/ext_pool_t.hpp | CrackerCat/hypervisor | d8876dd605e27a4eddcd4ff4b2d0cf23374c872a | [
"MIT"
] | null | null | null | kernel/src/ext_pool_t.hpp | CrackerCat/hypervisor | d8876dd605e27a4eddcd4ff4b2d0cf23374c872a | [
"MIT"
] | null | null | null | kernel/src/ext_pool_t.hpp | CrackerCat/hypervisor | d8876dd605e27a4eddcd4ff4b2d0cf23374c872a | [
"MIT"
] | null | null | null | /// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limita... | 36.186567 | 100 | 0.543102 | CrackerCat |
17e09d95d39bcd1b148b39c9853cafe1a89aa818 | 3,361 | cpp | C++ | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/LutronHW/Client/LutronHWC_Data.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | // ----------------------------------------------------------------------------
// FILE: LutronHWC_Data.cpp
// DATE: Fri, Feb 12 21:14:17 2021 -0500
//
// This file was generated by the Charmed Quark CIDIDL compiler. Do not make
// changes by hand, because they will be lost if the file is regenerated.
// ----------... | 36.532609 | 121 | 0.670336 | MarkStega |
17e0f92fc682d0d6b0286805d29cbb9d30e9e58e | 2,434 | cpp | C++ | src/python/plugin.cpp | mfontanini/pirulo | 69ad5a9a9f51e1ca40fd9be4ddc560022179426c | [
"BSD-2-Clause"
] | null | null | null | src/python/plugin.cpp | mfontanini/pirulo | 69ad5a9a9f51e1ca40fd9be4ddc560022179426c | [
"BSD-2-Clause"
] | null | null | null | src/python/plugin.cpp | mfontanini/pirulo | 69ad5a9a9f51e1ca40fd9be4ddc560022179426c | [
"BSD-2-Clause"
] | null | null | null | #include <stdexcept>
#include <boost/python/object.hpp>
#include <boost/python/import.hpp>
#include <boost/python/exec.hpp>
#include <boost/python/dict.hpp>
#include "python/plugin.h"
#include "python/helpers.h"
#include "detail/logging.h"
#include "offset_store.h"
using std::string;
using std::vector;
using std::once... | 30.049383 | 96 | 0.653246 | mfontanini |
17e1f15ef95a3e3cf40db72888252bcd8342fe47 | 5,686 | cc | C++ | tools/baulk/context.cc | dandycheung/baulk | f0ea046bf19e494510ae61cc4633fc38877c53e4 | [
"MIT"
] | null | null | null | tools/baulk/context.cc | dandycheung/baulk | f0ea046bf19e494510ae61cc4633fc38877c53e4 | [
"MIT"
] | null | null | null | tools/baulk/context.cc | dandycheung/baulk | f0ea046bf19e494510ae61cc4633fc38877c53e4 | [
"MIT"
] | null | null | null | // baulk context
#include <version.hpp>
#include <bela/io.hpp>
#include <baulk/vfs.hpp>
#include <baulk/json_utils.hpp>
#include <baulk/fs.hpp>
#include "baulk.hpp"
namespace baulk {
namespace baulk_internal {
inline std::wstring path_expand(std::wstring_view p) {
if (p.find(L'$') != std::wstring_view::npos) {
r... | 35.761006 | 113 | 0.666725 | dandycheung |
17e23fd60070009ef647e04a73074839c68147a6 | 534 | cpp | C++ | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | pool_and_pad/padding.cpp | navneel99/image_processing_library | c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76 | [
"MIT"
] | null | null | null | #include "padding.hpp"
vector<vector<float> > Padding(vector<vector<float> > mat, int pad){
for (int j = 0;j<mat.size();j++){
vector<float> row = mat.at(j);
for (int i = 0; i<pad;i++){
row.push_back(0);
row.emplace(row.begin(),0);
}
mat[j] = row;
}
int... | 29.666667 | 68 | 0.533708 | navneel99 |
17e76ea19d231662c315ed05eda23231adf26c86 | 1,191 | hpp | C++ | core/test/lib/libledger-test/CppHttpLibClient.hpp | Manny27nyc/lib-ledger-core | fc9d762b83fc2b269d072b662065747a64ab2816 | [
"MIT"
] | 92 | 2016-11-13T01:28:34.000Z | 2022-03-25T01:11:37.000Z | core/test/lib/libledger-test/CppHttpLibClient.hpp | Manny27nyc/lib-ledger-core | fc9d762b83fc2b269d072b662065747a64ab2816 | [
"MIT"
] | 242 | 2016-11-28T11:13:09.000Z | 2022-03-04T13:02:53.000Z | core/test/lib/libledger-test/CppHttpLibClient.hpp | Manny27nyc/lib-ledger-core | fc9d762b83fc2b269d072b662065747a64ab2816 | [
"MIT"
] | 91 | 2017-06-20T10:35:28.000Z | 2022-03-09T14:15:40.000Z | #pragma once
#define CPPHTTPLIB_OPENSSL_SUPPORT
#include <functional>
#include <api/HttpClient.hpp>
#include <api/HttpRequest.hpp>
#include <api/ExecutionContext.hpp>
#include <spdlog/logger.h>
#include <httplib.h>
namespace ledger {
namespace core {
namespace test {
class CppHttpLibClien... | 28.357143 | 96 | 0.575987 | Manny27nyc |
17ebe2608250381839b77ac8344ca576667f996b | 127 | cpp | C++ | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | Sources/Game/Application/main.cpp | vit3k/entity_system | 5b00804bb772229cab90ea7de589faced98bc001 | [
"MIT"
] | null | null | null | #include "Application.h"
int main()
{
Application& app = Application::Instance();
app.Init();
app.Loop();
return 0;
} | 12.7 | 44 | 0.629921 | vit3k |
17f1536e10412892a011263ed09a218538630109 | 24,531 | cpp | C++ | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 104 | 2021-09-15T08:16:25.000Z | 2022-03-28T21:19:00.000Z | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 109 | 2021-09-16T17:14:22.000Z | 2022-03-29T06:48:40.000Z | tket/src/Circuit/macro_manipulation.cpp | CQCL/tket | 3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb | [
"Apache-2.0"
] | 8 | 2021-10-02T13:47:34.000Z | 2022-03-17T15:36:56.000Z | // Copyright 2019-2022 Cambridge Quantum Computing
//
// 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... | 34.453652 | 80 | 0.65244 | CQCL |
17f1e8102065c9709a2510fd02afb31c828e9ec4 | 24,718 | cpp | C++ | services/hilogtool/log_controller.cpp | chaoyangcui/hiviewdfx_hilog | 19a1aab702b9038e00fe4b751d122f42065d5c95 | [
"Apache-2.0"
] | null | null | null | services/hilogtool/log_controller.cpp | chaoyangcui/hiviewdfx_hilog | 19a1aab702b9038e00fe4b751d122f42065d5c95 | [
"Apache-2.0"
] | null | null | null | services/hilogtool/log_controller.cpp | chaoyangcui/hiviewdfx_hilog | 19a1aab702b9038e00fe4b751d122f42065d5c95 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:06:47.000Z | 2021-09-13T12:06:47.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 40.061588 | 120 | 0.597702 | chaoyangcui |
17f3ace54a63874f93bdd24a51fa2a1b27862747 | 1,461 | cpp | C++ | hdu/hdu1560.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | 1 | 2021-08-02T03:04:28.000Z | 2021-08-02T03:04:28.000Z | hdu/hdu1560.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | hdu/hdu1560.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
int bound;
bool flag;
char ch[4]={'A','C','G','T'};
int map[128];
inline int min(int a,int b){
return a>b?b:a;
}
inline int max(int a,int b){
return a>b?a:b;
}
struct D{
int k;
char s[10][10];
int cur[10];
int len[10];
int H() {
int n[4]={0};
... | 16.988372 | 40 | 0.451061 | jiegec |
17f626e19eef7556be05079d97a3bcc9c7d1c7cf | 1,215 | cc | C++ | gdb/testsuite/gdb.compile/compile-cplus-nested.cc | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | 1 | 2020-10-14T03:24:35.000Z | 2020-10-14T03:24:35.000Z | gdb/testsuite/gdb.compile/compile-cplus-nested.cc | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | gdb/testsuite/gdb.compile/compile-cplus-nested.cc | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2015-2021 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 by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This prog... | 20.59322 | 76 | 0.65679 | greyblue9 |
17f64fcd3b96498b8ddec8fa3dd529e46acdaba5 | 3,308 | cpp | C++ | frameworks/kits/content/cpp/src/ohos/aafwk/content/intent_filter.cpp | openharmony-gitee-mirror/aafwk_standard | 59761a67f4ebc5ea4c3282cd1262bd4a2b66faa7 | [
"Apache-2.0"
] | null | null | null | frameworks/kits/content/cpp/src/ohos/aafwk/content/intent_filter.cpp | openharmony-gitee-mirror/aafwk_standard | 59761a67f4ebc5ea4c3282cd1262bd4a2b66faa7 | [
"Apache-2.0"
] | null | null | null | frameworks/kits/content/cpp/src/ohos/aafwk/content/intent_filter.cpp | openharmony-gitee-mirror/aafwk_standard | 59761a67f4ebc5ea4c3282cd1262bd4a2b66faa7 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:07:39.000Z | 2021-09-13T12:07:39.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 23.971014 | 84 | 0.673519 | openharmony-gitee-mirror |
17fd471e10483d78274657e2999449917ac836c3 | 4,653 | cpp | C++ | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | patterns/mytreeFragmentLinux.cpp | bruennijs/ise.cppworkshop | c54a60ad3468f83aeb45b347657b3f246d7190cc | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////
// MYTREE Linuxvariante
#include <sys/types.h>
#include <dirent.h>
#include <string>
#include <list>
#include <iostream>
#include <algorithm>
using namespace std;
////////////////////////////////////////////
class Visitor
{
public:
Visi... | 19.227273 | 122 | 0.54395 | bruennijs |
17fe91610e2bbb02caa8236a9718cbece2f06806 | 3,164 | hpp | C++ | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Core/include/Xi/Blob.hpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | /* ============================================================================================== *
* *
* Galaxia Blockchain *
* ... | 56.5 | 113 | 0.395702 | ElSamaritan |
aa05d2501398c889ec0090075642b4fa59d4b7a7 | 2,082 | cpp | C++ | Game/src/game/BulletManager.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 3 | 2019-10-04T19:44:44.000Z | 2021-07-27T15:59:39.000Z | Game/src/game/BulletManager.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 1 | 2019-07-20T05:36:31.000Z | 2019-07-20T22:22:49.000Z | Game/src/game/BulletManager.cpp | aminere/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | null | null | null | /*
Amine Rehioui
Created: November 18th 2011
*/
#include "ShootTest.h"
#include "BulletManager.h"
#include "GameManager.h"
namespace shoot
{
DEFINE_OBJECT(BulletManager);
//! Constructor
BulletManager::BulletManager()
// properties
: m_BulletPoolSize(4096)
{
}
//! serializes the entity to/from a Prop... | 19.457944 | 91 | 0.653218 | franticsoftware |
aa0774141d71bc5d073660e069b33fb38c5f08f8 | 687 | hpp | C++ | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | 3 | 2021-09-07T08:45:30.000Z | 2021-09-15T08:16:41.000Z | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | null | null | null | src/util/handle.hpp | marvinwilliams/rantanplan | aadb4109a443a75881f610f45b710cd0532079fe | [
"MIT"
] | null | null | null | #ifndef HANDLE_HPP
#define HANDLE_HPP
namespace util {
/* This class is intended to only be instantiatable by the base and represents a
* pointer */
template <typename T, typename Base> class Handle {
public:
friend Base;
Handle() = default;
const T *get() { return p_; }
const Base *get_base() { return ba... | 20.818182 | 80 | 0.647744 | marvinwilliams |
aa07d67bc651b590684bdbab8917927c41c8514a | 452 | cpp | C++ | server/TracyFilesystem.cpp | benvanik/tracy | a3a7183293793003e5c20748dca7c7f430c11c20 | [
"BSD-3-Clause"
] | 3,609 | 2020-03-17T20:53:24.000Z | 2022-03-31T21:32:51.000Z | server/TracyFilesystem.cpp | benvanik/tracy | a3a7183293793003e5c20748dca7c7f430c11c20 | [
"BSD-3-Clause"
] | 312 | 2019-06-13T19:39:25.000Z | 2022-03-02T18:37:22.000Z | server/TracyFilesystem.cpp | benvanik/tracy | a3a7183293793003e5c20748dca7c7f430c11c20 | [
"BSD-3-Clause"
] | 273 | 2020-04-07T18:14:36.000Z | 2022-03-31T12:48:01.000Z | #include "TracyFilesystem.hpp"
#include "TracyView.hpp"
namespace tracy
{
bool SourceFileValid( const char* fn, uint64_t olderThan, const View& view, const Worker& worker )
{
if( worker.GetSourceFileFromCache( fn ).data != nullptr ) return true;
struct stat buf;
if( stat( view.SourceSubstitution( fn ), &b... | 23.789474 | 98 | 0.659292 | benvanik |
aa07d6df8e385e4f4363a3ba4aa696a69f4c56b3 | 548 | cpp | C++ | 080. Remove Duplicates from Sorted Array II/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | 080. Remove Duplicates from Sorted Array II/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | 080. Remove Duplicates from Sorted Array II/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | /** 080. Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?
For example,
Given sorted array nums = [1,1,1,2,2,3],
Your function should return length = 5, with the first five elements of nums being 1, 1, 2, 2 and 3. It doesn't matter what you leave ... | 19.571429 | 156 | 0.680657 | zlsun |
aa0af1f55eed5220f2f2fef8acb2cf94c82cad9e | 8,602 | cc | C++ | src/aligner/aligner_edlib.cc | isovic/raptor | 171e0f1b94366f20250a00389400a2fcd267bcc6 | [
"BSD-3-Clause-Clear"
] | 60 | 2019-07-09T14:57:48.000Z | 2022-03-29T06:53:39.000Z | src/aligner/aligner_edlib.cc | isovic/raptor | 171e0f1b94366f20250a00389400a2fcd267bcc6 | [
"BSD-3-Clause-Clear"
] | 2 | 2019-05-28T01:59:50.000Z | 2021-05-18T13:15:10.000Z | src/aligner/aligner_edlib.cc | isovic/raptor | 171e0f1b94366f20250a00389400a2fcd267bcc6 | [
"BSD-3-Clause-Clear"
] | 4 | 2019-05-25T15:41:56.000Z | 2019-07-10T11:44:22.000Z | #include <aligner/aligner_edlib.h>
// #include "libs/edlibcigar.h"
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <zlib.h>
#include <aligner/aligner_util.hpp>
namespace raptor {
std::shared_ptr<AlignerBase> createAlignerEdlib(const raptor::AlignmentOptions& opt) {
return ... | 35.991632 | 278 | 0.538596 | isovic |
aa0bd6d0f47af4c95f7f42945fb34176141d5494 | 4,413 | hpp | C++ | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 2 | 2021-03-10T09:57:45.000Z | 2021-04-13T21:19:57.000Z | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 22 | 2020-12-07T20:09:39.000Z | 2021-04-12T20:42:59.000Z | include/pcp/traits/point_traits.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | null | null | null | #ifndef PCP_TRAITS_POINT_TRAITS_HPP
#define PCP_TRAITS_POINT_TRAITS_HPP
/**
* @file
* @ingroup traits
*/
#include <type_traits>
namespace pcp {
namespace traits {
/**
* @ingroup traits-geometry
* @brief
* PointView requirements:
* - coordinate_type type member
* - copy constructible
* - copy assignable
* ... | 28.470968 | 100 | 0.705189 | Q-Minh |
aa0c7e6891cfc4be9ee61d0bf1b89cdb595959cd | 5,952 | cpp | C++ | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 9 | 2015-03-23T20:05:22.000Z | 2020-12-06T04:50:53.000Z | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 1 | 2018-12-06T08:57:13.000Z | 2018-12-06T19:10:45.000Z | QuadratureAnalyserAnalyzer.cpp | Marcus10110/Quadrature-Saleae-Analyser | 384ae08811864ac80fd207e28e6de41fc52b8386 | [
"Apache-2.0"
] | 2 | 2018-12-05T22:17:40.000Z | 2019-11-03T12:11:33.000Z | /* Copyright 2011 Dirk-Willem van Gulik, All Rights Reserved.
* dirkx(at)webweaving(dot)org
*
* 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... | 28.075472 | 158 | 0.641633 | Marcus10110 |
aa0e1c32db5c42e74b17ec2cda84e729012eaff8 | 263 | hpp | C++ | server/api/include/rsDataObjOpenAndStat.hpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 333 | 2015-01-15T15:42:29.000Z | 2022-03-19T19:16:15.000Z | server/api/include/rsDataObjOpenAndStat.hpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 3,551 | 2015-01-02T19:55:40.000Z | 2022-03-31T21:24:56.000Z | server/api/include/rsDataObjOpenAndStat.hpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 148 | 2015-01-31T16:13:46.000Z | 2022-03-23T20:23:43.000Z | #ifndef RS_DATA_OBJ_OPEN_AND_STAT_HPP
#define RS_DATA_OBJ_OPEN_AND_STAT_HPP
#include "rcConnect.h"
#include "dataObjInpOut.h"
#include "dataObjOpenAndStat.h"
int rsDataObjOpenAndStat( rsComm_t *rsComm, dataObjInp_t *dataObjInp, openStat_t **openStat );
#endif
| 23.909091 | 94 | 0.821293 | JustinKyleJames |
aa0e1c65fc53317f11367b9bf07e292b5e09f68c | 16,656 | cc | C++ | cc/blimp/layer_tree_host_unittest_serialization.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 | cc/blimp/layer_tree_host_unittest_serialization.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/blimp/layer_tree_host_unittest_serialization.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "cc/animation/animation_host.h"
#include "cc/blimp/layer_tree_hos... | 40.329298 | 80 | 0.742315 | xzhan96 |
aa0ed280387e135370d559b9ead9bb90c26b7b6a | 678 | cc | C++ | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | 7 | 2018-02-05T11:43:49.000Z | 2022-02-09T20:28:20.000Z | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | null | null | null | brightray/common/application_info_win.cc | SeanMercy/Pro1 | 43aa555d647d181265bde59570e2fdd7704cf83f | [
"MIT"
] | 2 | 2017-08-25T18:58:44.000Z | 2019-10-22T14:59:04.000Z | #include "brightray/common/application_info.h"
#include <memory>
#include "base/file_version_info.h"
#include "base/strings/utf_string_conversions.h"
namespace brightray {
std::string GetApplicationName() {
auto module = GetModuleHandle(nullptr);
std::unique_ptr<FileVersionInfo> info(
FileVersionInfo::Cre... | 27.12 | 63 | 0.769912 | SeanMercy |
aa10fa15812e90565409cc49a77918ccadec35b7 | 11,309 | cc | C++ | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 61 | 2019-02-21T09:32:55.000Z | 2022-03-29T02:30:18.000Z | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 3 | 2019-02-22T08:01:40.000Z | 2022-01-20T09:16:40.000Z | Controllers/Flatground/utils/funcs/kin/mex/LeftToeJoint_mex.cc | EngineeringIV/CASSIE_MPC | fcbf5559bfd11dbdbb241565585fa22ccdaa5499 | [
"BSD-3-Clause"
] | 28 | 2019-02-04T19:47:35.000Z | 2022-02-23T08:28:23.000Z | /*
* Automatically Generated from Mathematica.
* Mon 25 Jun 2018 14:53:24 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(double x, double y) {... | 22.939148 | 354 | 0.646299 | EngineeringIV |
aa13e698baea8aaa85d1688784209c652df80ef9 | 1,517 | cpp | C++ | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/UnitTest/ComboBox.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | #include "Gwen/UnitTest/UnitTest.h"
#include "Gwen/Controls/ComboBox.h"
using namespace Gwen;
class ComboBox : public GUnit
{
public:
GWEN_CONTROL_INLINE(ComboBox, GUnit)
{
{
Gwen::Controls::ComboBox* combo = new Gwen::Controls::ComboBox(this);
combo->SetPos(50, 50);
... | 28.622642 | 81 | 0.523401 | Oipo |
aa15517695317103d3e2df47b1b5a140a8422a4b | 5,061 | cpp | C++ | urdf_transform/src/process_model_node.cpp | tjdalsckd/urdf-tools-pkgs | dba0458489aef8d64d59821c47d661e348a9fdf9 | [
"BSD-3-Clause"
] | 6 | 2017-01-17T01:55:39.000Z | 2020-04-24T02:03:30.000Z | urdf_transform/src/process_model_node.cpp | tjdalsckd/urdf-tools-pkgs | dba0458489aef8d64d59821c47d661e348a9fdf9 | [
"BSD-3-Clause"
] | 10 | 2016-06-16T19:38:38.000Z | 2020-12-11T12:13:05.000Z | urdf_transform/src/process_model_node.cpp | tjdalsckd/urdf-tools-pkgs | dba0458489aef8d64d59821c47d661e348a9fdf9 | [
"BSD-3-Clause"
] | 7 | 2017-12-12T17:21:19.000Z | 2021-02-10T05:51:25.000Z | /**
* <ORGANIZATION> = Jennifer Buehler
* <COPYRIGHT HOLDER> = Jennifer Buehler
*
* Copyright (c) 2016 Jennifer Buehler
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redist... | 29.770588 | 120 | 0.616084 | tjdalsckd |
aa15ddb1f5fab1254d31980991e9c27d436ac9b5 | 3,822 | cpp | C++ | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | 1 | 2021-12-15T12:31:18.000Z | 2021-12-15T12:31:18.000Z | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | null | null | null | client/client_query.cpp | RubenAGSilva/deneva | 538f18d296e926055e50cf819c6988a340105476 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016 Massachusetts Institute of Technology
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 applicab... | 29.627907 | 107 | 0.682889 | RubenAGSilva |
aa17c9640e398bf244ec15b8347076acc6d681d9 | 60,623 | cpp | C++ | src/inst_riscv_bit.cpp | msyksphinz/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 33 | 2015-08-23T02:45:07.000Z | 2019-11-06T23:34:51.000Z | src/inst_riscv_bit.cpp | msyksphinz-self/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 11 | 2015-10-11T15:52:42.000Z | 2019-09-20T14:30:35.000Z | src/inst_riscv_bit.cpp | msyksphinz/swimmer_riscv | 065cf3e0dcdcd00cd9bd976285a307d371253ba9 | [
"BSD-3-Clause"
] | 5 | 2015-02-14T10:07:44.000Z | 2019-09-20T06:37:38.000Z | /*
* Copyright (c) 2015, msyksphinz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 32.418717 | 132 | 0.693994 | msyksphinz |
aa17ee08bdaa5f094a09f0682a73a05f8fca7537 | 1,153 | hpp | C++ | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 1 | 2020-06-07T00:45:49.000Z | 2020-06-07T00:45:49.000Z | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 27 | 2020-05-24T11:09:56.000Z | 2020-05-25T12:28:10.000Z | addons/modules/includes/moduleDeleteMarkerAttributes.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 2 | 2020-05-31T08:52:45.000Z | 2021-04-16T23:16:37.000Z |
class GVAR(deleteMarkerSettingsSubCategory): GVAR(moduleSubCategory) {
displayName = CSTRING(Attributes_deleteMarkerSettingsSubCategory);
property = QGVAR(deleteMarkerSettingsSubCategory);
};
#ifndef MODULE_DELETEMARKER
#define DELETEMARKER_COND ((_this getVariable QQGVAR(deleteMarker)) isEqualTo true)
... | 32.027778 | 87 | 0.753686 | Krzyciu |
aa181775b5bccd5cde843b3a4a8797f84b199527 | 1,006 | cpp | C++ | versions/Flower-Mail(no combine with jiachen)/getbackpwd.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | 2 | 2020-09-20T14:48:58.000Z | 2020-10-21T15:55:41.000Z | work dialog/Alison/sources/getbackpwd.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | null | null | null | work dialog/Alison/sources/getbackpwd.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | 3 | 2020-09-10T00:18:41.000Z | 2020-09-10T02:44:18.000Z | #include "getbackpwd.h"
#include "ui_getbackpwd.h"
#include <QMessageBox>
QString userNameGet;
Getbackpwd::Getbackpwd(QWidget *parent) :
QWidget(parent),
ui(new Ui::Getbackpwd)
{
ui->setupUi(this);
setWindowTitle("找回密码");
connect( ui ->yes_btn, SIGNAL(clicked()), this,SLOT( judgeEmpty() ) );
}
G... | 18.981132 | 74 | 0.595427 | SecretMG |
aa186fba4b7066a011e587db99253983e1b1cb0c | 3,630 | cpp | C++ | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | 1 | 2020-07-18T17:03:36.000Z | 2020-07-18T17:03:36.000Z | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | examples_oldgl_glfw/129_CubeGridEdit/main.cpp | mmer547/delfem2 | 4f4b28931c96467ac30948e6b3f83150ea530c92 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019 Nobuyuki Umetani
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cmath>
#include <climits>
#if defined(_WIN32) // windows
# define NOMINMAX // to remove min,max macro
# include <windows.h> // sh... | 29.754098 | 79 | 0.609091 | mmer547 |
aa1af73e2354a53447dcd2651873b45b7a1d1b2f | 3,394 | cpp | C++ | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null | classnote/HomeworkReferenceCode/HW1.cpp | Alex-Lin5/cpp_practice | c249362d6bbe932dc1eb4a4b8c51728d58db2aa7 | [
"MIT"
] | null | null | null |
#include <iostream>
using namespace std;
class Node {
public:
int value;
Node* next;
Node(int i) { value = i; next = nullptr; }
Node() { next = nullptr; }
};
class LinkedList {
public:
Node* head;
//Node* tail;
LinkedList() { head = nullptr; }
LinkedList(int m, int n);//You can use code from class lectures f... | 20.08284 | 112 | 0.581615 | Alex-Lin5 |
aa1c4237ef52ee74da62534aedd97ea8b4d55f77 | 2,108 | cpp | C++ | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | 7 | 2020-08-25T22:24:16.000Z | 2020-09-06T00:16:49.000Z | src/optimizer/pushdown/pushdown_get.cpp | shenyunlong/duckdb | ecb90f22b36a50b051fdd8e0d681bade3365c430 | [
"MIT"
] | null | null | null | #include "duckdb/optimizer/filter_pushdown.hpp"
#include "duckdb/planner/operator/logical_filter.hpp"
#include "duckdb/planner/operator/logical_get.hpp"
#include "duckdb/storage/data_table.hpp"
namespace duckdb {
using namespace std;
unique_ptr<LogicalOperator> FilterPushdown::PushdownGet(unique_ptr<LogicalOperator> o... | 29.690141 | 89 | 0.694497 | shenyunlong |
aa20c13771497d03c19f6317876b9bc0f26d3e3b | 22,987 | cpp | C++ | word2vec/word2vec.cpp | uphere-co/nlp-prototype | c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3 | [
"BSD-3-Clause"
] | null | null | null | word2vec/word2vec.cpp | uphere-co/nlp-prototype | c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3 | [
"BSD-3-Clause"
] | null | null | null | word2vec/word2vec.cpp | uphere-co/nlp-prototype | c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3 | [
"BSD-3-Clause"
] | null | null | null | #include <stdlib.h>
#include <iostream>
#include <thread>
#include <string>
#include <cmath>
#include <inttypes.h>
#include <boost/tr1/random.hpp>
#include "utils.h"
#include "WordEmbed.h"
#define EXP_TABLE_SIZE 1000
#define MAX_EXP 6
#define MAX_CODE_LENGTH 40
#define MAX_SENTENCE_LENGTH 1000
class Word2Vec : pub... | 39.160136 | 212 | 0.52869 | uphere-co |
aa20dff7223c47adb81663ebfe9fc2b3d2f82be3 | 867 | cpp | C++ | mainwindow2.cpp | casey-c/spiretool | eaeeb1fb3b5d47b307e45f4f20b55b4cf7dfb6f3 | [
"MIT"
] | 5 | 2020-04-22T17:48:10.000Z | 2021-01-20T17:47:15.000Z | mainwindow2.cpp | casey-c/spiretool | eaeeb1fb3b5d47b307e45f4f20b55b4cf7dfb6f3 | [
"MIT"
] | null | null | null | mainwindow2.cpp | casey-c/spiretool | eaeeb1fb3b5d47b307e45f4f20b55b4cf7dfb6f3 | [
"MIT"
] | 2 | 2020-04-23T14:26:33.000Z | 2021-03-29T07:51:35.000Z | #include "mainwindow2.h"
#include "ui_mainwindow2.h"
#include "potiondisplay.h"
#include "carddisplay.h"
MainWindow2::MainWindow2(QWidget *parent) :
QWidget(parent),
ui(new Ui::MainWindow2)
{
ui->setupUi(this);
// CustomButton* button = new CustomButton(this, "Runs");
// this->ui->layout_options->a... | 27.09375 | 80 | 0.688581 | casey-c |