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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f280d962a471063fe4aeb16ed23bc49b5e6925e | 5,856 | cpp | C++ | src/gromacs/linearalgebra/gmx_lapack/dlasd3.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 384 | 2015-01-02T19:44:15.000Z | 2022-03-27T15:13:15.000Z | src/gromacs/linearalgebra/gmx_lapack/dlasd3.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 168 | 2017-05-27T14:43:32.000Z | 2021-04-12T08:07:11.000Z | src/gromacs/linearalgebra/gmx_lapack/dlasd3.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 258 | 2015-01-19T11:19:57.000Z | 2022-03-18T08:59:52.000Z | #include <cmath>
#include "../gmx_blas.h"
#include "../gmx_lapack.h"
void
F77_FUNC(dlasd3,DLASD3)(int *nl,
int *nr,
int *sqre,
int *k,
double *d__,
double *q,
int *ldq,
double *dsigma,
double *u,
int *ldu,
double *u2,
int *ldu2,
double *vt,
int *ldvt,
double *vt2,
int *ldvt2,
int *idxc,... | 26.142857 | 91 | 0.49778 | hejamu |
6f286efdc6e1e2d2be3a13cdaedfd17cb69dd2a7 | 921 | cpp | C++ | src/prod/src/Reliability/Failover/fm/FailoverThrottle.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Reliability/Failover/fm/FailoverThrottle.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Reliability/Failover/fm/FailoverThrottle.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 24.236842 | 98 | 0.586319 | gridgentoo |
6f28a56faffce29d051ebb6660b1053b3aafd8b5 | 14,156 | cpp | C++ | src/gaussian/toplevelgauss.cpp | meelgroup/RoundXOR | c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7 | [
"MIT"
] | 5 | 2021-10-29T18:39:10.000Z | 2022-03-23T11:53:46.000Z | src/gaussian/toplevelgauss.cpp | meelgroup/RoundXOR | c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7 | [
"MIT"
] | 1 | 2022-02-09T10:56:21.000Z | 2022-02-09T10:56:30.000Z | src/gaussian/toplevelgauss.cpp | meelgroup/linpb | c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7 | [
"MIT"
] | null | null | null | /******************************************
Copyright (c) 2016, Mate Soos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... | 31.388027 | 111 | 0.5628 | meelgroup |
6f2bd87de10eeeb166a68241bfc5ff16358dd56b | 1,848 | cpp | C++ | Source/GIS/LevelSet.cpp | hustztz/Urho3D | 90abf7d8f176da9f9b828bb7ea9f46d1058ed009 | [
"MIT"
] | null | null | null | Source/GIS/LevelSet.cpp | hustztz/Urho3D | 90abf7d8f176da9f9b828bb7ea9f46d1058ed009 | [
"MIT"
] | null | null | null | Source/GIS/LevelSet.cpp | hustztz/Urho3D | 90abf7d8f176da9f9b828bb7ea9f46d1058ed009 | [
"MIT"
] | null | null | null | #include "LevelSet.h"
GIS::LevelSet::LevelSet( GIS::ElevationConfig & config )
{
config.GetValue(ConfigKey::TILE_ORIGIN, &tileOrigin_);
int numLevels = 0;
if ( config.GetValue(ConfigKey::NUM_LEVELS, &numLevels))
{
levels_.reserve(numLevels);
config.GetValue(ConfigKey::LEVEL_ZERO_TILE_DELTA, &levelZeroTileDel... | 24.315789 | 75 | 0.70184 | hustztz |
6f2d2ed8548721a77cd722b4a369e52296c19b3c | 2,148 | cpp | C++ | framework/src/Core/Network/Udp/UdpSocketServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/Core/Network/Udp/UdpSocketServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/Core/Network/Udp/UdpSocketServer.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include "Core/Network/Udp/UdpSocketServer.hh"
#include "Core/Network/Udp/UdpSocketClient.hh"
#include "Core/Network/Exception.hh"
using namespace fwk;
UdpSocketServer::UdpSocketServer(void):
AUdpSocket(),
APooled<UdpSocketServer>()
{}
UdpSocketServer::~UdpSocketServer(void) {
this->reinit();
}
void UdpSoc... | 27.538462 | 177 | 0.695065 | gautier-lefebvre |
6f2d4d7ec9d1bc1a22bcc0300ec98488607e3c66 | 65 | hpp | C++ | clove/components/core/platform/include/Clove/Platform/Windows/CloveWindows.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 33 | 2020-01-09T04:57:29.000Z | 2021-08-14T08:02:43.000Z | clove/components/core/platform/include/Clove/Platform/Windows/CloveWindows.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 234 | 2019-10-25T06:04:35.000Z | 2021-08-18T05:47:41.000Z | clove/components/core/platform/include/Clove/Platform/Windows/CloveWindows.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 4 | 2020-02-11T15:28:42.000Z | 2020-09-07T16:22:58.000Z | #define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h> | 21.666667 | 27 | 0.830769 | mondoo |
6f2daeb28f5468d7c69a6a4bee7a48ccfa47aad9 | 13,202 | cpp | C++ | library/src/level2/rocsparse_csrmv.cpp | akilaMD/rocSPARSE | 2694e68938cefa711a50b286fd9fd0baff712099 | [
"MIT"
] | null | null | null | library/src/level2/rocsparse_csrmv.cpp | akilaMD/rocSPARSE | 2694e68938cefa711a50b286fd9fd0baff712099 | [
"MIT"
] | null | null | null | library/src/level2/rocsparse_csrmv.cpp | akilaMD/rocSPARSE | 2694e68938cefa711a50b286fd9fd0baff712099 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright (c) 2018 Advanced Micro Devices, Inc.
*
* 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 re... | 55.238494 | 99 | 0.348508 | akilaMD |
6f2dd7391271a58e42e6224d45259aeb32dc9474 | 482 | cpp | C++ | TERefiner/StrOperation.cpp | simoncchu/REPdenovo | 708f2f8efc40f6df0a64c1e4049f16e79f65f471 | [
"MIT"
] | 6 | 2019-11-11T19:33:21.000Z | 2020-03-26T23:41:22.000Z | TERefiner/StrOperation.cpp | simoncchu/REPdenovo | 708f2f8efc40f6df0a64c1e4049f16e79f65f471 | [
"MIT"
] | 3 | 2019-08-19T14:14:55.000Z | 2020-05-10T23:47:23.000Z | TERefiner/StrOperation.cpp | simoncchu/REPdenovo | 708f2f8efc40f6df0a64c1e4049f16e79f65f471 | [
"MIT"
] | 1 | 2020-02-13T15:18:53.000Z | 2020-02-13T15:18:53.000Z | #include"StrOperation.h"
/*
Get reverse supplementary.
*/
void StrOperation::getReverseSupplementary(std::string& sin, std::string& sout)
{
sout="";
int slen=sin.length();
for(int i=slen-1;i>=0;i--)
{
sout+=getSupplementary(sin[i]);
}
}
char StrOperation::getSupplementary(char ci)
{
if(ci=='A' || ci=='a')
... | 17.214286 | 79 | 0.595436 | simoncchu |
6f2e459b1555628e9f17111de92544156c04247a | 1,923 | hpp | C++ | include/sphere.hpp | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 68 | 2015-01-17T05:41:58.000Z | 2021-04-24T08:35:24.000Z | include/sphere.hpp | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 16 | 2015-01-02T19:36:06.000Z | 2018-09-09T21:01:25.000Z | include/sphere.hpp | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 37 | 2015-02-04T04:23:00.000Z | 2020-06-07T03:24:41.000Z | #ifndef VPYTHON_SPHERE_HPP
#define VPYTHON_SPHERE_HPP
// Copyright (c) 2000, 2001, 2002, 2003 by David Scherer and others.
// Copyright (c) 2003, 2004 by Jonathan Brandmeyer and others.
// See the file license.txt for complete license terms.
// See the file authors.txt for a complete list of contributors.
#in... | 31.52459 | 79 | 0.699428 | lebarsfa |
6f2f82b3c151cb8abcdddae80f9d6f0f95cdeaaa | 3,511 | cc | C++ | database/src/desktop/view/child_change_accumulator.cc | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | 1 | 2021-02-14T19:09:51.000Z | 2021-02-14T19:09:51.000Z | database/src/desktop/view/child_change_accumulator.cc | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | null | null | null | database/src/desktop/view/child_change_accumulator.cc | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | 1 | 2020-08-16T11:53:44.000Z | 2020-08-16T11:53:44.000Z | // Copyright 2018 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 ... | 41.797619 | 80 | 0.683851 | crazyhappygame |
6f3a5ec123a79ff128b9824f2d70b379f023af64 | 6,711 | cpp | C++ | kernel/devices/pci/PciCapabilities.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 19 | 2021-12-10T12:48:44.000Z | 2022-03-30T09:17:14.000Z | kernel/devices/pci/PciCapabilities.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 24 | 2021-11-30T10:00:05.000Z | 2022-03-29T10:19:21.000Z | kernel/devices/pci/PciCapabilities.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 2 | 2021-11-24T00:52:10.000Z | 2021-12-27T23:47:32.000Z | #include <devices/pci/PciCapabilities.h>
#include <devices/PciBridge.h>
namespace Kernel::Devices::Pci
{
sl::Opt<PciCap*> FindPciCap(PciAddress addr, uint8_t withId, PciCap* start)
{
uint16_t statusReg = addr.ReadReg(1) >> 16;
if ((statusReg & (1 << 4)) == 0)
return {}; //capabiliti... | 31.805687 | 106 | 0.554016 | DeanoBurrito |
6f3aea3d609f974af22956e4abd4741a2a30a069 | 1,324 | cpp | C++ | Siv3D/src/Siv3D-Platform/WindowsDesktop/Graphics/SivGraphics_Platform.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 7 | 2020-04-26T11:06:02.000Z | 2021-09-05T16:42:31.000Z | Siv3D/src/Siv3D-Platform/WindowsDesktop/Graphics/SivGraphics_Platform.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 10 | 2020-04-26T13:25:36.000Z | 2022-03-01T12:34:44.000Z | Siv3D/src/Siv3D-Platform/WindowsDesktop/Graphics/SivGraphics_Platform.cpp | yumetodo/OpenSiv3D | ea191438ecbc64185f5df3d9f79dffc6757e4192 | [
"MIT"
] | 2 | 2020-05-11T08:23:23.000Z | 2020-08-08T12:33:30.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Windows.hpp>
# include <Siv3D... | 24.518519 | 97 | 0.595166 | yumetodo |
6f3af705b55c3031ed30415d9cdc082a79933f14 | 564,756 | cpp | C++ | interfaces/matlab/interface/helicsMEX.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 31 | 2017-06-29T19:50:25.000Z | 2019-05-17T14:10:14.000Z | interfaces/matlab/interface/helicsMEX.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 511 | 2017-08-18T02:14:00.000Z | 2019-06-18T20:11:02.000Z | interfaces/matlab/interface/helicsMEX.cpp | GMLC-TDC/HELICS-src | 5e37168bca0ea9e16b939e052e257182ca6e24bd | [
"BSD-3-Clause"
] | 11 | 2017-10-27T15:03:37.000Z | 2019-05-03T19:35:14.000Z | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. D... | 32.31794 | 317 | 0.674792 | GMLC-TDC |
6f3b10fd913ba92540b381a7af8e05f4c197853b | 4,287 | cpp | C++ | tests/NEO/SignerTests.cpp | vladyslav-iosdev/wallet-core | 6f8f175a380bdf9756f38bfd82fedd9b73b67580 | [
"MIT"
] | 1,306 | 2019-08-08T13:25:24.000Z | 2022-03-31T23:32:28.000Z | tests/NEO/SignerTests.cpp | vladyslav-iosdev/wallet-core | 6f8f175a380bdf9756f38bfd82fedd9b73b67580 | [
"MIT"
] | 1,179 | 2019-08-08T07:06:10.000Z | 2022-03-31T12:33:47.000Z | tests/NEO/SignerTests.cpp | vladyslav-iosdev/wallet-core | 6f8f175a380bdf9756f38bfd82fedd9b73b67580 | [
"MIT"
] | 811 | 2019-08-08T13:27:44.000Z | 2022-03-31T21:22:53.000Z | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "PublicKey.h"
#include "HexCoding.h"
#include "NEO... | 50.435294 | 557 | 0.804759 | vladyslav-iosdev |
6f3bb303fa102a3d1d56cb85f9716134248a368d | 7,012 | cc | C++ | avionics/common/novatel_serial_test.cc | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 1,178 | 2020-09-10T17:15:42.000Z | 2022-03-31T14:59:35.000Z | avionics/common/novatel_serial_test.cc | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 1 | 2020-05-22T05:22:35.000Z | 2020-05-22T05:22:35.000Z | avionics/common/novatel_serial_test.cc | leozz37/makani | c94d5c2b600b98002f932e80a313a06b9285cc1b | [
"Apache-2.0"
] | 107 | 2020-09-10T17:29:30.000Z | 2022-03-18T09:00:14.000Z | // Copyright 2020 Makani Technologies 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 ... | 37.902703 | 78 | 0.723474 | leozz37 |
6f3fd83769469def7e39feeb43f9bec6bb6d4790 | 2,350 | cpp | C++ | lib/frame_window_filtering/disparity_morphology.cpp | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2020-01-09T09:30:23.000Z | 2020-01-09T09:30:23.000Z | lib/frame_window_filtering/disparity_morphology.cpp | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 23 | 2018-03-19T20:54:52.000Z | 2018-05-16T12:36:59.000Z | lib/frame_window_filtering/disparity_morphology.cpp | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2018-03-14T20:00:43.000Z | 2018-03-14T20:00:43.000Z | /// \file
/// Maintainer: Felice Serena
///
///
#include "disparity_morphology.h"
#include <boost/log/trivial.hpp>
#include <iostream>
#include <opencv2/core/eigen.hpp>
#include <opencv2/imgproc/imgproc.hpp>
namespace MouseTrack {
FrameWindow DisparityMorphology::operator()(const FrameWindow &window) const {
Frame... | 30.519481 | 80 | 0.701277 | itko |
6f4713c130917dcea35d3d2c842b4dc3b0f5e7a3 | 2,833 | cpp | C++ | src/services/svc-mdns.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | src/services/svc-mdns.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | src/services/svc-mdns.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | /*
MDNS MODULE
Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
*/
// -----------------------------------------------------------------------------
// mDNS Server
// -----------------------------------------------------------------------------
#include "config/hardware.h"
#if MDNS_SERVER_SU... | 27.504854 | 99 | 0.549594 | RDobrinov |
6f4b12abd36a6e78d7c1c194358d03b9974b8ade | 1,085 | cpp | C++ | LeetCode/680.valid_palindrome_2.cpp | PieroNarciso/cprogramming | d3a53ce2afce6f853e0b7cc394190d5be6427902 | [
"MIT"
] | 2 | 2021-05-22T17:47:01.000Z | 2021-05-27T17:10:58.000Z | LeetCode/680.valid_palindrome_2.cpp | PieroNarciso/cprogramming | d3a53ce2afce6f853e0b7cc394190d5be6427902 | [
"MIT"
] | null | null | null | LeetCode/680.valid_palindrome_2.cpp | PieroNarciso/cprogramming | d3a53ce2afce6f853e0b7cc394190d5be6427902 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
bool validPalindrome(string s) {
if (s.size() <= 1) return true;
int start = 0;
int end = s.size() - 1;
int count = 0;
while (start < end && count <= 1) {
if (s[start] != s[end]) {
end--;
count++;
} else if (s[start] == s[end]) {
end--;
start++;
}
}
i... | 21.7 | 60 | 0.517972 | PieroNarciso |
6f4d1b8a026c8333c161f9cfc4a43f3bfd437630 | 5,603 | hpp | C++ | src/core/Patchwork.hpp | tfwu/AOGDetector | 296bdeefa3e111596ea824396203d15c5c0c4577 | [
"MIT"
] | 33 | 2016-01-11T22:42:41.000Z | 2020-12-27T17:19:26.000Z | src/core/Patchwork.hpp | mrgloom/AOGDetector | 296bdeefa3e111596ea824396203d15c5c0c4577 | [
"MIT"
] | null | null | null | src/core/Patchwork.hpp | mrgloom/AOGDetector | 296bdeefa3e111596ea824396203d15c5c0c4577 | [
"MIT"
] | 16 | 2015-11-15T14:48:28.000Z | 2021-09-16T12:59:07.000Z | // This file is adapted from FFLDv2 (the Fast Fourier Linear Detector version 2)
// Copyright (c) 2013 Idiap Research Institute, <http://www.idiap.ch/>
// Written by Charles Dubout <charles.dubout@idiap.ch>
#ifndef RGM_PATCHWORK_HPP_
#define RGM_PATCHWORK_HPP_
#include <utility>
extern "C" {
#include <fftw3.h>
}
#i... | 33.957576 | 110 | 0.704087 | tfwu |
6f50be38d8770d3ad439f2ea51b41e2d8226c20f | 542 | cpp | C++ | Week06/smartPointer.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | 3 | 2018-03-05T13:57:56.000Z | 2018-05-03T19:25:05.000Z | Week06/smartPointer.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | null | null | null | Week06/smartPointer.cpp | Stoefff/Object-Oriented-Programming-FMI-2017 | d2f8083ff146fb3cc68425cbd9af50bc37581e19 | [
"MIT"
] | null | null | null | #include <iostream>
class SmartPointer {
private:
int *ptr;
int size;
public:
explicit SmartPointer(int *iPtr, int size = 0);
int* getPtr();
int getSize();
~SmartPointer();
};
SmartPointer::SmartPointer(int * iPtr, int size)
:ptr(iPtr),
size(size) {}
// For arrays
SmartPointer::~Smart... | 14.263158 | 51 | 0.594096 | Stoefff |
6f50dcb029533d6a5bb839531080442a5a15c2d8 | 1,627 | cpp | C++ | network/lib/config/peer/HbGeneralClientConfig.cpp | hasboeuf/hb | d812f2ef56d7c79983701f1f673ce666b189b638 | [
"MIT"
] | 1 | 2019-03-23T22:41:16.000Z | 2019-03-23T22:41:16.000Z | network/lib/config/peer/HbGeneralClientConfig.cpp | hasboeuf/hb | d812f2ef56d7c79983701f1f673ce666b189b638 | [
"MIT"
] | null | null | null | network/lib/config/peer/HbGeneralClientConfig.cpp | hasboeuf/hb | d812f2ef56d7c79983701f1f673ce666b189b638 | [
"MIT"
] | null | null | null | // Local
#include <config/peer/HbGeneralClientConfig.h>
using namespace hb::network;
HbGeneralClientConfig::HbGeneralClientConfig(const HbGeneralClientConfig& config) : HbGeneralConfig(config) {
if (this != &config) {
mAuthConfig = config.mAuthConfig;
mChannelConfig = config.mChannelConfig;
... | 25.825397 | 109 | 0.712354 | hasboeuf |
6f534a2bc172a3dc5c80a02a292e44e0f461e39b | 5,748 | cpp | C++ | RLSimion/Common/named-var-set.cpp | xcillero001/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | 1 | 2019-02-21T10:40:28.000Z | 2019-02-21T10:40:28.000Z | RLSimion/Common/named-var-set.cpp | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null | RLSimion/Common/named-var-set.cpp | JosuGom3z/SimionZoo | b343b08f3356e1aa230d4132b0abb58aac4c5e98 | [
"MIT"
] | null | null | null | #include "named-var-set.h"
#include "wire.h"
#include "wire-handler.h"
#include <algorithm>
#include <stdexcept>
#include "../../tools/System/CrossPlatform.h"
using namespace std;
NamedVarProperties::NamedVarProperties()
{
CrossPlatform::Strcpy_s(m_name, VAR_NAME_MAX_LENGTH, "N/A");
CrossPlatform::Strcpy_s(m_units... | 24.991304 | 115 | 0.709986 | xcillero001 |
6f53f478c54127fe674d24559593dc5fb5dd7e83 | 129 | cc | C++ | tensorflow-yolo-ios/dependencies/tensorflow/core/platform/posix/net.cc | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/tensorflow/core/platform/posix/net.cc | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/tensorflow/core/platform/posix/net.cc | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:3cc7fcb7f8a9a1e665dce3cb98580bd376e1c6dfd73287c5c623743400561d9b
size 3402
| 32.25 | 75 | 0.883721 | initialz |
6f547ad130111112210b243c95ec816c8ce6c908 | 774 | cpp | C++ | breeze/testing/brz/test_descriptor.cpp | gennaroprota/breeze | 7afe88a30dc8ac8b97a76a192dc9b189d9752e8b | [
"BSD-3-Clause"
] | 1 | 2021-04-03T22:35:52.000Z | 2021-04-03T22:35:52.000Z | breeze/testing/brz/test_descriptor.cpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | null | null | null | breeze/testing/brz/test_descriptor.cpp | gennaroprota/breeze | f1dfd7154222ae358f5ece936c2897a3ae110003 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T04:26:48.000Z | 2021-10-01T04:26:48.000Z | // ===========================================================================
// Copyright 2016 Gennaro Prota
//
// Licensed under the 3-Clause BSD License.
// (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or
// <https://opensource.org/licenses/BSD-3-C... | 24.967742 | 78 | 0.609819 | gennaroprota |
6f57312f3537aadb073f47a64267fcc275297804 | 4,403 | cpp | C++ | Homework202001-master/Homework202001-master/4-13/ex2.cpp | smurf-1119/Cplusplus-homework | eff845e7d8018fc0db647ce642e68e2a230dae58 | [
"MIT"
] | null | null | null | Homework202001-master/Homework202001-master/4-13/ex2.cpp | smurf-1119/Cplusplus-homework | eff845e7d8018fc0db647ce642e68e2a230dae58 | [
"MIT"
] | null | null | null | Homework202001-master/Homework202001-master/4-13/ex2.cpp | smurf-1119/Cplusplus-homework | eff845e7d8018fc0db647ce642e68e2a230dae58 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class HugeInteger
{
public:
HugeInteger();
HugeInteger(long long a);
HugeInteger add( HugeInteger a );
friend ostream &operator<<(ostream& ,HugeInteger a);
bool isEqualTo( HugeInteger a );
bool isNotEqualTo( HugeInteger a );
bool isGreaterThan(HugeInteger a );
bool isLessThan( H... | 21.168269 | 65 | 0.590506 | smurf-1119 |
6f57428bf0bd4411a6145330befe70801d249d7a | 1,652 | cpp | C++ | DynamicProgramming/StrategicApproach/nth_tribonacci_number.cpp | mamoudmatook/Leetcode | 59fb1612ee648a9b99ff7cc779ada5656c01ecd2 | [
"MIT"
] | null | null | null | DynamicProgramming/StrategicApproach/nth_tribonacci_number.cpp | mamoudmatook/Leetcode | 59fb1612ee648a9b99ff7cc779ada5656c01ecd2 | [
"MIT"
] | null | null | null | DynamicProgramming/StrategicApproach/nth_tribonacci_number.cpp | mamoudmatook/Leetcode | 59fb1612ee648a9b99ff7cc779ada5656c01ecd2 | [
"MIT"
] | null | null | null | /*
* Created on Sun Dec 05 2021
*
* The MIT License (MIT)
* Copyright (c) 2021 Maatuq
*
* 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 limitati... | 32.392157 | 123 | 0.659806 | mamoudmatook |
6f59ce012956abb6322c028101f43206f4ec15a5 | 2,671 | cpp | C++ | products/BellHybrid/apps/application-bell-settings/presenter/TimeUnitsPresenter.cpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | 369 | 2021-11-10T09:20:29.000Z | 2022-03-30T06:36:58.000Z | products/BellHybrid/apps/application-bell-settings/presenter/TimeUnitsPresenter.cpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | 149 | 2021-11-10T08:38:35.000Z | 2022-03-31T23:01:52.000Z | products/BellHybrid/apps/application-bell-settings/presenter/TimeUnitsPresenter.cpp | GravisZro/MuditaOS | 4230da15e69350c3ef9e742ec587e5f70154fabd | [
"BSL-1.0"
] | 41 | 2021-11-10T08:30:37.000Z | 2022-03-29T08:12:46.000Z | // Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "models/TemperatureUnitModel.hpp"
#include "presenter/TimeUnitsPresenter.hpp"
#include <common/layouts/HomeScreenLayouts.hpp>
#include <common/models/LayoutModel.hpp>
#inclu... | 36.094595 | 115 | 0.639461 | GravisZro |
6f5a7dcf0f2218a5b0fa5cbde81e46d3a0d43f48 | 1,403 | cpp | C++ | test/postconditions.cpp | jdgarciauc3m/min-contracts | 184b0c2f9f131fb802596d7fd7d6f9d954552a5e | [
"Apache-2.0"
] | null | null | null | test/postconditions.cpp | jdgarciauc3m/min-contracts | 184b0c2f9f131fb802596d7fd7d6f9d954552a5e | [
"Apache-2.0"
] | null | null | null | test/postconditions.cpp | jdgarciauc3m/min-contracts | 184b0c2f9f131fb802596d7fd7d6f9d954552a5e | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 J. Daniel Garcia
//
// 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... | 26.980769 | 78 | 0.686386 | jdgarciauc3m |
6f5acec3eb86ab29356830c499e089dbf22e7986 | 10,688 | cpp | C++ | src/xalanc/PlatformSupport/XalanParsedURI.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 24 | 2015-07-29T22:49:17.000Z | 2022-03-25T10:14:17.000Z | src/xalanc/PlatformSupport/XalanParsedURI.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 14 | 2019-05-10T16:25:50.000Z | 2021-11-24T18:04:47.000Z | src/xalanc/PlatformSupport/XalanParsedURI.cpp | ulisesten/xalanc | a722de08e61ce66965c4a828242f7d1250950621 | [
"Apache-2.0"
] | 28 | 2015-04-20T15:50:51.000Z | 2022-01-26T14:56:55.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 m... | 33.4 | 108 | 0.526291 | ulisesten |
6f5fbb060c343fe5a95180c160f3811c98f07afd | 5,716 | cpp | C++ | fizz/crypto/openssl/OpenSSLKeyUtils.cpp | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 995 | 2018-08-06T10:41:15.000Z | 2022-03-16T19:49:14.000Z | fizz/crypto/openssl/OpenSSLKeyUtils.cpp | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 68 | 2018-08-06T16:29:06.000Z | 2022-03-11T21:20:10.000Z | fizz/crypto/openssl/OpenSSLKeyUtils.cpp | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 147 | 2018-08-06T16:52:49.000Z | 2022-03-14T21:25:35.000Z | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fizz/crypto/openssl/OpenSSLKeyUtils.h>
#include <openssl/err.h>
namespace fizz {
/*static*... | 32.477273 | 80 | 0.695066 | dgrnbrg-meta |
6f6569c14777b2a50bdefdf706f35109e4657df6 | 6,177 | cpp | C++ | src/lapack_like/props/Norm.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | src/lapack_like/props/Norm.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | src/lapack_like/props/Norm.cpp | jeffhammond/Elemental | a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include <El.hpp>
namespace El {
template<typename F>... | 25.845188 | 77 | 0.607091 | jeffhammond |
6f68c2bdff802ed92cb84cbfeae1874e1cab2627 | 8,723 | cpp | C++ | libs/hwui/Properties.cpp | Keneral/aframeworksbase1 | 0287c3e3f6f763cd630290343cda11e15db1844f | [
"Unlicense"
] | null | null | null | libs/hwui/Properties.cpp | Keneral/aframeworksbase1 | 0287c3e3f6f763cd630290343cda11e15db1844f | [
"Unlicense"
] | null | null | null | libs/hwui/Properties.cpp | Keneral/aframeworksbase1 | 0287c3e3f6f763cd630290343cda11e15db1844f | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 41.736842 | 120 | 0.728878 | Keneral |
6f6923cc3eb6b2c13eac64e2b20d35c9446ff1b3 | 1,961 | cpp | C++ | tf2_bot_detector/Actions/ActionGenerators.cpp | fossabot/tf2_bot_detector | 475a11ba2305e33d9b93469e86537f7d2623b61e | [
"MIT"
] | null | null | null | tf2_bot_detector/Actions/ActionGenerators.cpp | fossabot/tf2_bot_detector | 475a11ba2305e33d9b93469e86537f7d2623b61e | [
"MIT"
] | null | null | null | tf2_bot_detector/Actions/ActionGenerators.cpp | fossabot/tf2_bot_detector | 475a11ba2305e33d9b93469e86537f7d2623b61e | [
"MIT"
] | null | null | null | #include "ActionGenerators.h"
#include "Actions.h"
#include "Log.h"
#include "RCONActionManager.h"
using namespace tf2_bot_detector;
using namespace std::chrono_literals;
duration_t StatusUpdateActionGenerator::GetInterval() const
{
return 3s;
}
bool StatusUpdateActionGenerator::ExecuteImpl(RCONActionManager& manag... | 22.033708 | 89 | 0.722081 | fossabot |
6f69f9d2c5e707b8b64d304648f4ac8cefa6f546 | 4,802 | cpp | C++ | runtime/containers/HashSet.cpp | rschleitzer/scaly | 7537cdf44f7a63ad1a560975017ee1c897c73787 | [
"MIT"
] | null | null | null | runtime/containers/HashSet.cpp | rschleitzer/scaly | 7537cdf44f7a63ad1a560975017ee1c897c73787 | [
"MIT"
] | null | null | null | runtime/containers/HashSet.cpp | rschleitzer/scaly | 7537cdf44f7a63ad1a560975017ee1c897c73787 | [
"MIT"
] | null | null | null | namespace scaly::containers {
using namespace scaly::memory;
// https://planetmath.org/goodhashtableprimes
static size_t HASH_PRIMES[] = {
3, 5, 11, 23, 53, 97, 193, 389, 769, 1543, 3079, 6151, 12289, 24593, 49157, 98317, 196613,
393241, 786433, 1572869, 3145739, 6291469, 12582917, 25165843, 50331653, 1006633... | 28.754491 | 98 | 0.526447 | rschleitzer |
6f6d5587e2e046708ccca2587b3dce6656d99f82 | 2,528 | cpp | C++ | operator.cpp | zhanghexie/design-patterns | ff8841dd555116f49da00876f0c68865c916a251 | [
"MIT"
] | null | null | null | operator.cpp | zhanghexie/design-patterns | ff8841dd555116f49da00876f0c68865c916a251 | [
"MIT"
] | null | null | null | operator.cpp | zhanghexie/design-patterns | ff8841dd555116f49da00876f0c68865c916a251 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
// 运算父类
class Operator {
private:
double _numberA;
double _numberB;
public:
double getA(){
return _numberA;
}
void setA(double number){
_numberA = number;
}
double getB(){
return ... | 23.626168 | 76 | 0.474288 | zhanghexie |
6f6e7528dd300da390ef4e8d77cbe99c31053fe0 | 7,907 | hpp | C++ | nvmctrl.hpp | Skrywerbeer/SAMl21-Scoped-headers | 804affebc2f732aca80ff217f8672db52773217e | [
"MIT"
] | null | null | null | nvmctrl.hpp | Skrywerbeer/SAMl21-Scoped-headers | 804affebc2f732aca80ff217f8672db52773217e | [
"MIT"
] | null | null | null | nvmctrl.hpp | Skrywerbeer/SAMl21-Scoped-headers | 804affebc2f732aca80ff217f8672db52773217e | [
"MIT"
] | null | null | null | // ****************************************
// File: nvmctrl.hpp
// Written by: Johan Grobler
// Started: 13/9/2017
// Updated: 17/9/2017
// ****************************************
// Non-Voltile Memory Conrtoller special
// function registers of the ATSAML21J18
// MCU.
// ****************************************
#if... | 30.528958 | 76 | 0.53636 | Skrywerbeer |
6f70187c36238201609e01528e354139b87a4e86 | 1,446 | cc | C++ | ui/views/animation/test/ink_drop_host_view_test_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ui/views/animation/test/ink_drop_host_view_test_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ui/views/animation/test/ink_drop_host_view_test_api.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 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 "ui/views/animation/test/ink_drop_host_view_test_api.h"
#include <utility>
namespace views {
namespace test {
InkDropHostTestApi::InkDropHostT... | 29.510204 | 73 | 0.727524 | zealoussnow |
6f717d8d1475df34caffaea64cad207c70f71f85 | 1,914 | cpp | C++ | Codeforces/1436/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 14 | 2019-08-14T00:43:10.000Z | 2021-12-16T05:43:31.000Z | Codeforces/1436/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | null | null | null | Codeforces/1436/d.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 6 | 2020-12-30T03:30:17.000Z | 2022-03-11T03:40:02.000Z | #include <bits/stdc++.h>
#define f first
#define s second
#define int long long
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
template <typename T1, typename T2>
ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;}
template <t... | 25.52 | 101 | 0.470742 | eyangch |
6f71d05d82f1f1b6e9dbfcaed69fc6f480c4a935 | 1,146 | cc | C++ | TestOutput/Subfolder/Windows.SharedLibrary.cc | hannes-harnisch/Snakify | 41254edddf2e0da0f4cc6d5e715b63701c7e17d1 | [
"MIT"
] | null | null | null | TestOutput/Subfolder/Windows.SharedLibrary.cc | hannes-harnisch/Snakify | 41254edddf2e0da0f4cc6d5e715b63701c7e17d1 | [
"MIT"
] | null | null | null | TestOutput/Subfolder/Windows.SharedLibrary.cc | hannes-harnisch/Snakify | 41254edddf2e0da0f4cc6d5e715b63701c7e17d1 | [
"MIT"
] | null | null | null | module;
#include "Core/Macros.hh"
#include "Windows.API.hh"
#include <string_view>
export module Vitro.Windows.SharedLibrary;
import Vitro.App.SharedLibraryBase;
import Vitro.Core.Unique;
import Vitro.Windows.Utils;
namespace vt::windows
{
export class SharedLibrary : public SharedLibraryBase
{
pu... | 22.038462 | 91 | 0.67801 | hannes-harnisch |
4cf5ec8550895aa0236eeaa726717cc377a2c825 | 22,465 | cpp | C++ | hphp/runtime/ext/ext_error.ext_hhvm.cpp | larusx/hiphop-php | 65d2487ab7dbe5c06cb6dbb05e63e452ade52f7e | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2020-08-04T03:19:05.000Z | 2020-08-04T03:19:05.000Z | hphp/runtime/ext/ext_error.ext_hhvm.cpp | larusx/hiphop-php | 65d2487ab7dbe5c06cb6dbb05e63e452ade52f7e | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/ext_error.ext_hhvm.cpp | larusx/hiphop-php | 65d2487ab7dbe5c06cb6dbb05e63e452ade52f7e | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 31.158114 | 236 | 0.635032 | larusx |
4cf84619d2c9ec81a411195e6fc9365c1b02ebc6 | 12,397 | cpp | C++ | thrift/lib/cpp2/async/GssSaslClient.cpp | senior7515/fbthrift | ebfa5458235632b88211cc01519bcd34b8a518e8 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/async/GssSaslClient.cpp | senior7515/fbthrift | ebfa5458235632b88211cc01519bcd34b8a518e8 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/async/GssSaslClient.cpp | senior7515/fbthrift | ebfa5458235632b88211cc01519bcd34b8a518e8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Facebook, 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... | 32.11658 | 79 | 0.644027 | senior7515 |
4cfa63858fd2c35c81208f00ae7f292a0ea48f71 | 707 | cpp | C++ | src/chargemon.cpp | kimmoli/chargemon | c441bec10531de8ff13226df5c48236e3a58e04b | [
"MIT"
] | 2 | 2018-04-02T14:48:32.000Z | 2018-08-29T19:44:16.000Z | src/chargemon.cpp | kimmoli/chargemon | c441bec10531de8ff13226df5c48236e3a58e04b | [
"MIT"
] | 10 | 2016-03-15T11:13:42.000Z | 2021-11-14T13:00:36.000Z | src/chargemon.cpp | kimmoli/chargemon | c441bec10531de8ff13226df5c48236e3a58e04b | [
"MIT"
] | 4 | 2016-03-15T10:32:13.000Z | 2018-08-29T08:29:09.000Z | /*
* Charge monitor (C) 2014-2019 Kimmo Lindholm
* LICENSE MIT
*/
#ifdef QT_QML_DEBUG
#include <QtQuick>
#endif
#include <sailfishapp.h>
#include <QtQml>
#include <QScopedPointer>
#include <QQuickView>
#include <QQmlEngine>
#include <QGuiApplication>
#include <QQmlContext>
#include <QCoreApplication>... | 22.09375 | 79 | 0.681754 | kimmoli |
4cffff380a8068b1638ddbc355b7c1e132d489ff | 1,494 | cpp | C++ | testing/bench_ext_pushpull.cpp | arthurbiancarelli/liblsl | c217f93060e2ac1bde84dd3aa5bcfd9bc8460f1f | [
"MIT"
] | null | null | null | testing/bench_ext_pushpull.cpp | arthurbiancarelli/liblsl | c217f93060e2ac1bde84dd3aa5bcfd9bc8460f1f | [
"MIT"
] | null | null | null | testing/bench_ext_pushpull.cpp | arthurbiancarelli/liblsl | c217f93060e2ac1bde84dd3aa5bcfd9bc8460f1f | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include "helper_type.hpp"
#include <atomic>
#include <list>
#include <lsl_cpp.h>
#include <string>
#include <thread>
TEMPLATE_TEST_CASE("pushpull", "[basic][throughput]", char, float, std::string) {
const std::size_t max_nchan = 128, chunk_size = 128;
const std::size_t param_nchan[] = {1, max_n... | 33.2 | 96 | 0.697456 | arthurbiancarelli |
98048a5af18a9553730de157db8aa33d687fe8e8 | 12,809 | cpp | C++ | src/matrix.cpp | tenglvjun/math | 6865d39512ff8836281fa00980fb5fa85ced2a35 | [
"MIT"
] | null | null | null | src/matrix.cpp | tenglvjun/math | 6865d39512ff8836281fa00980fb5fa85ced2a35 | [
"MIT"
] | null | null | null | src/matrix.cpp | tenglvjun/math | 6865d39512ff8836281fa00980fb5fa85ced2a35 | [
"MIT"
] | null | null | null | #include "matrix.h"
#include <memory.h>
#include <assert.h>
#include <cmath>
#include <iostream>
#include "math_tools.h"
#include "math_def.h"
GeoMatrix::GeoMatrix(const unsigned int row, const unsigned int col)
: m_data(nullptr), m_row(0), m_col(0)
{
Init(row, col);
}
GeoMatrix::GeoMatrix(const unsigned int ... | 21.312812 | 130 | 0.487626 | tenglvjun |
980492efb2ca86c09bbc14d218251b3a45554a25 | 5,158 | hpp | C++ | store.servers/src/rs256-secure-server.hpp | once-ler/Store-cpp | 27d65057b2984c61a4b8be9d96d8fa6d70de1fb7 | [
"BSD-3-Clause"
] | 3 | 2019-08-18T19:14:02.000Z | 2019-09-20T05:38:58.000Z | store.servers/src/rs256-secure-server.hpp | once-ler/Store-cpp | 27d65057b2984c61a4b8be9d96d8fa6d70de1fb7 | [
"BSD-3-Clause"
] | null | null | null | store.servers/src/rs256-secure-server.hpp | once-ler/Store-cpp | 27d65057b2984c61a4b8be9d96d8fa6d70de1fb7 | [
"BSD-3-Clause"
] | 1 | 2019-09-20T05:39:01.000Z | 2019-09-20T05:39:01.000Z | #pragma once
#include <regex>
#include "store.common/src/web_token.hpp"
#include "store.servers/src/http-server.hpp"
#include "store.servers/src/session.hpp"
#include "store.servers/src/replies.hpp"
#include "store.models/src/ioc/service_provider.hpp"
using namespace store::common;
using namespace store::servers::uti... | 31.072289 | 106 | 0.620396 | once-ler |
980a8fd61df23f267be33d8b8c604340efb35ff7 | 803 | cc | C++ | src/storage/minfs/allocator/storage_host.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/storage/minfs/allocator/storage_host.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/storage/minfs/allocator/storage_host.cc | Prajwal-Koirala/fuchsia | ca7ae6c143cd4c10bad9aa1869ffcc24c3e4b795 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2018 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 <utility>
#include "src/storage/minfs/allocator/storage.h"
#include "src/storage/minfs/format.h"
namespace minfs {
PersistentStorage::Persisten... | 32.12 | 98 | 0.689913 | wwjiang007 |
980e45bcc8a334783d08781cb88a8be0339e8aa7 | 7,660 | hxx | C++ | include/itkSmoothBinarySurfaceImageFilter.hxx | Bonelab/ITKMorphometry | ee1480bc1a93425ae7fff1c9595b0688fc58abc5 | [
"Apache-2.0"
] | null | null | null | include/itkSmoothBinarySurfaceImageFilter.hxx | Bonelab/ITKMorphometry | ee1480bc1a93425ae7fff1c9595b0688fc58abc5 | [
"Apache-2.0"
] | null | null | null | include/itkSmoothBinarySurfaceImageFilter.hxx | Bonelab/ITKMorphometry | ee1480bc1a93425ae7fff1c9595b0688fc58abc5 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 29.921875 | 100 | 0.610574 | Bonelab |
980eb949d5a49661297e009496862fb55df8ff9b | 12,175 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/plugins/debugger/disassembleragent.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/plugins/debugger/disassembleragent.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/debugger/disassembleragent.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 30.061728 | 104 | 0.637043 | kevinlq |
9817001af4dcbe142760ce94ac6808dac7d2ad02 | 2,832 | cpp | C++ | src/random_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 7 | 2022-03-08T08:47:54.000Z | 2022-03-29T15:08:36.000Z | src/random_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 12 | 2022-03-10T13:04:42.000Z | 2022-03-24T01:40:23.000Z | src/random_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 5 | 2022-03-13T17:46:16.000Z | 2022-03-31T07:28:26.000Z | #include "natalie.hpp"
#include <natalie/random_object.hpp>
#include <random>
namespace Natalie {
Value RandomObject::initialize(Env *env, Value seed) {
if (!seed) {
m_seed = (nat_int_t)std::random_device()();
} else {
if (seed->is_float()) {
seed = seed->as_float()->to_i(env);
... | 35.4 | 108 | 0.491172 | scwfri |
981fdb72c88b75efe1a3fed99f68cac73bed709d | 1,635 | cpp | C++ | backup/2/leetcode/c++/sum-of-nodes-with-even-valued-grandparent.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 21 | 2019-11-16T19:08:35.000Z | 2021-11-12T12:26:01.000Z | backup/2/leetcode/c++/sum-of-nodes-with-even-valued-grandparent.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 1 | 2022-02-04T16:02:53.000Z | 2022-02-04T16:02:53.000Z | backup/2/leetcode/c++/sum-of-nodes-with-even-valued-grandparent.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 4 | 2020-05-15T19:39:41.000Z | 2021-10-30T06:40:31.000Z | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | 34.0625 | 345 | 0.526606 | yangyanzhan |
98204080566ef43c3fe933280661d997ee0167d2 | 59 | cpp | C++ | build/CMakeTmp/check_qt_application.cpp | TradingLab/tldbinit | 1029ed59d97ca1200346b8dc94969777e567cd2b | [
"Apache-2.0"
] | null | null | null | build/CMakeTmp/check_qt_application.cpp | TradingLab/tldbinit | 1029ed59d97ca1200346b8dc94969777e567cd2b | [
"Apache-2.0"
] | null | null | null | build/CMakeTmp/check_qt_application.cpp | TradingLab/tldbinit | 1029ed59d97ca1200346b8dc94969777e567cd2b | [
"Apache-2.0"
] | null | null | null | #include <QtCore/QtGlobal>
int main()
{
return 0;
}
| 9.833333 | 26 | 0.59322 | TradingLab |
9821015105397b3217ca6269618e750c78ff3ca4 | 2,107 | cpp | C++ | src/layers/shuffle_channel_layer.cpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 413 | 2015-07-09T09:33:07.000Z | 2022-03-10T02:26:27.000Z | src/layers/shuffle_channel_layer.cpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 65 | 2015-07-10T01:38:10.000Z | 2020-08-06T07:27:42.000Z | src/layers/shuffle_channel_layer.cpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 196 | 2015-08-18T07:59:33.000Z | 2021-07-27T02:44:21.000Z | #include <algorithm>
#include <vector>
#include "./shuffle_channel_layer.hpp"
#include "../util//math_functions.hpp"
namespace caffe {
void ShuffleChannelLayer::LayerSetUp(const vector<Blob*> &bottom,
const vector<Blob*> &top) {
group_ = this->layer_param_.shuffle_channel_param... | 32.921875 | 111 | 0.633128 | ktts16 |
9821474a8ffa4f55b9bfcf96b90b83f32ba2151a | 7,250 | cpp | C++ | day_15/src/ofApp.cpp | andymasteroffish/inktober_2020 | e836c33cf739e119d79570d7e870e97a52c2883a | [
"MIT"
] | 16 | 2020-10-09T12:02:06.000Z | 2022-01-06T01:49:03.000Z | day_15/src/ofApp.cpp | andymasteroffish/inktober_2020 | e836c33cf739e119d79570d7e870e97a52c2883a | [
"MIT"
] | null | null | null | day_15/src/ofApp.cpp | andymasteroffish/inktober_2020 | e836c33cf739e119d79570d7e870e97a52c2883a | [
"MIT"
] | null | null | null | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(250);
for (int i=0; i<NUM_COLS; i++){
gcode[i].setup(100);
gcode[i].show_transit_lines = false;
gcode[i].show_do_not_reverse = true;
}
gcode[PURPLE].demo_co... | 27.358491 | 113 | 0.452966 | andymasteroffish |
982461c88165acbb09822c12edde8d727e177f15 | 42,625 | cpp | C++ | src/gm/types/tests/testVec4iRange.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | null | null | null | src/gm/types/tests/testVec4iRange.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | null | null | null | src/gm/types/tests/testVec4iRange.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | 1 | 2020-12-08T11:32:04.000Z | 2020-12-08T11:32:04.000Z | //
// This file is auto-generated, please do not modify directly!
//
#include <catch2/catch.hpp>
#include <gm/types/vec4iRange.h>
#include <vector>
TEST_CASE( "Vec4iRange_DefaultConstructor" )
{
gm::Vec4iRange range;
CHECK( range.Min() == gm::Vec4i( std::numeric_limits< int >::max(),
... | 83.089669 | 99 | 0.367695 | moddyz |
982689cfbb60495a477caab60651c602e58226a4 | 3,974 | cpp | C++ | src/Engine/App/AssetRegistry.cpp | kimkulling/osre | b738c87e37d0b1d2d0779a412b88ce68517c4328 | [
"MIT"
] | 118 | 2015-05-12T15:12:14.000Z | 2021-11-14T15:41:11.000Z | src/Engine/App/AssetRegistry.cpp | kimkulling/osre | b738c87e37d0b1d2d0779a412b88ce68517c4328 | [
"MIT"
] | 76 | 2015-06-06T18:04:24.000Z | 2022-01-14T20:17:37.000Z | src/Engine/App/AssetRegistry.cpp | kimkulling/osre | b738c87e37d0b1d2d0779a412b88ce68517c4328 | [
"MIT"
] | 7 | 2016-06-28T09:14:38.000Z | 2021-03-12T02:07:52.000Z | /*-----------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2015-2021 OSRE ( Open Source Render Engine ) by Kim Kulling
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation f... | 27.985915 | 97 | 0.638903 | kimkulling |
9828a78dcc719784a1e07d059d2c2bd1aa853a37 | 2,629 | cpp | C++ | debugger/src/gui_plugin/qt_wrapper.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | 2 | 2020-08-12T17:01:28.000Z | 2020-10-06T02:50:49.000Z | debugger/src/gui_plugin/qt_wrapper.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | null | null | null | debugger/src/gui_plugin/qt_wrapper.cpp | hossameldin1995/riscv_vhdl | aab7196a6b9962626ed7314b7c86b93760e76f83 | [
"Apache-2.0"
] | 1 | 2021-11-18T17:40:35.000Z | 2021-11-18T17:40:35.000Z | /*
* Copyright 2018 Sergey Khabarov, sergeykhbr@gmail.com
*
* 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... | 26.555556 | 76 | 0.689996 | hossameldin1995 |
982906f4cd13ded5d2c44e8db8fb29279191ad00 | 138 | cpp | C++ | SimpleUI/ComboBox.cpp | 958328814/dreamdota | 2d71c5ebe1b3fb2726bf20e514025dbe28152a35 | [
"MIT"
] | 4 | 2020-06-16T13:43:33.000Z | 2021-11-26T02:18:24.000Z | SimpleUI/ComboBox.cpp | hackerlank/dreamdota | 2d71c5ebe1b3fb2726bf20e514025dbe28152a35 | [
"MIT"
] | null | null | null | SimpleUI/ComboBox.cpp | hackerlank/dreamdota | 2d71c5ebe1b3fb2726bf20e514025dbe28152a35 | [
"MIT"
] | 5 | 2020-06-16T13:55:00.000Z | 2022-02-09T09:36:53.000Z | #include "ComboBox.h"
namespace SimpleUI {
ComboBox::ComboBox(HWND handle) : Control(handle) {
}
ComboBox::~ComboBox() {
}
} | 9.2 | 52 | 0.637681 | 958328814 |
982a75a9741b990d28e90c87657a0f1083614c4c | 18,269 | cpp | C++ | contracts/contracts/rem.system/src/producer_pay.cpp | kushnirenko/remprotocol | ec450227a40bb18527b473266b07b982efc1d093 | [
"MIT"
] | 1 | 2020-07-13T04:53:53.000Z | 2020-07-13T04:53:53.000Z | contracts/contracts/rem.system/src/producer_pay.cpp | kushnirenko/remprotocol | ec450227a40bb18527b473266b07b982efc1d093 | [
"MIT"
] | 1 | 2020-05-20T20:14:13.000Z | 2020-05-20T20:14:13.000Z | contracts/contracts/rem.system/src/producer_pay.cpp | kushnirenko/remprotocol | ec450227a40bb18527b473266b07b982efc1d093 | [
"MIT"
] | 1 | 2020-05-13T14:06:06.000Z | 2020-05-13T14:06:06.000Z | #include <rem.system/rem.system.hpp>
#include <rem.token/rem.token.hpp>
#include <cmath>
#include <numeric>
namespace eosiosystem {
const static int producer_repetitions = 12;
const static int blocks_per_round = system_contract::max_block_producers * producer_repetitions;
using eosio::current_time_point;
... | 49.375676 | 192 | 0.647873 | kushnirenko |
982af8ecf9502e6c01bf5fb2971827969a5708f1 | 1,045 | hpp | C++ | binspector/fuzzer.hpp | sur5r/binspector | 9eeb9af463254edf1056d59944c49d00770e36f0 | [
"BSL-1.0"
] | 119 | 2015-01-14T18:03:20.000Z | 2022-03-18T14:02:46.000Z | binspector/fuzzer.hpp | sur5r/binspector | 9eeb9af463254edf1056d59944c49d00770e36f0 | [
"BSL-1.0"
] | 8 | 2015-03-06T01:18:39.000Z | 2021-05-04T21:55:34.000Z | binspector/fuzzer.hpp | sur5r/binspector | 9eeb9af463254edf1056d59944c49d00770e36f0 | [
"BSL-1.0"
] | 22 | 2015-01-09T16:18:38.000Z | 2022-03-13T13:41:04.000Z | /*
Copyright 2014 Adobe
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 BINSPECTOR_FUZZER_HPP
... | 34.833333 | 102 | 0.396172 | sur5r |
982ff1eb1b47c7de70e0623986d562615065e2ac | 8,073 | cpp | C++ | PEOperator/ThreadAnalysisFile.cpp | JokerRound/PEOperator | 19dcbaa42ea2888369e380d01652ea815eadfdd4 | [
"MIT"
] | null | null | null | PEOperator/ThreadAnalysisFile.cpp | JokerRound/PEOperator | 19dcbaa42ea2888369e380d01652ea815eadfdd4 | [
"MIT"
] | null | null | null | PEOperator/ThreadAnalysisFile.cpp | JokerRound/PEOperator | 19dcbaa42ea2888369e380d01652ea815eadfdd4 | [
"MIT"
] | 1 | 2022-02-08T09:07:50.000Z | 2022-02-08T09:07:50.000Z | #include "stdafx.h"
#include "ThreadAnalysisFile.h"
#include "PEOperatorDlg.h"
CThreadAnalysisFile::CThreadAnalysisFile()
{
}
CThreadAnalysisFile::~CThreadAnalysisFile()
{
}
bool CThreadAnalysisFile::OnThreadEventRun(LPVOID lpParam)
{
#ifdef DEBUG
DWORD dwError = -1;
CString csErrorMessage;
#endif // DEBUG... | 36.040179 | 80 | 0.503778 | JokerRound |
98301e097fdeb4530c3eab82151022723e861abf | 14,784 | cpp | C++ | src/widgets/portfiltersettingswidget.cpp | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2018-07-16T14:13:10.000Z | 2021-02-07T06:43:57.000Z | src/widgets/portfiltersettingswidget.cpp | dehnhardt/iconnconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2017-09-06T19:38:15.000Z | 2021-01-04T17:54:02.000Z | src/widgets/portfiltersettingswidget.cpp | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 10 | 2018-03-03T14:50:03.000Z | 2020-09-30T18:08:55.000Z | #include "portfiltersettingswidget.h"
#include "controls/midicontrollercombodelegate.h"
#include "ui_portfiltersettingswidget.h"
#include <QLabel>
PortFilterSettingsWidget::PortFilterSettingsWidget(pk::PortDirection direction,
QWidget *parent)
: QWidget(parent), ui(new Ui::PortFilterSettingsWidget),
... | 33.753425 | 80 | 0.753314 | dehnhardt |
98330e664b439905402cc0bc827383cf5479bfad | 186 | cpp | C++ | examples/infinite_loop.cpp | stateos/IntrOS | 76ee5025442cefe37bc1434cdb95ea1b335ca667 | [
"MIT"
] | 36 | 2016-11-08T16:01:58.000Z | 2022-02-24T05:26:32.000Z | examples/infinite_loop.cpp | stateos/IntrOS | 76ee5025442cefe37bc1434cdb95ea1b335ca667 | [
"MIT"
] | null | null | null | examples/infinite_loop.cpp | stateos/IntrOS | 76ee5025442cefe37bc1434cdb95ea1b335ca667 | [
"MIT"
] | 9 | 2018-05-22T16:02:01.000Z | 2022-02-24T05:26:37.000Z | #include <stm32f4_discovery.h>
#include <os.h>
using namespace device;
using namespace intros;
int main()
{
auto led = Led();
for (;;)
{
thisTask::delay(SEC);
led.tick();
}
}
| 10.941176 | 30 | 0.634409 | stateos |
98342bc3b11cdbf40f251abab736b2083858853c | 2,723 | cpp | C++ | Chapter-4-Making-Decisions/Review Questions and Exercises/Programming Challenges/10.cpp | jesushilarioh/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 3 | 2019-02-02T16:59:48.000Z | 2019-02-28T14:50:08.000Z | Chapter-4-Making-Decisions/Review Questions and Exercises/Programming Challenges/10.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | null | null | null | Chapter-4-Making-Decisions/Review Questions and Exercises/Programming Challenges/10.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 1 | 2021-07-25T09:50:07.000Z | 2021-07-25T09:50:07.000Z | /********************************************************************
*
* 10. Days in a Month
*
* Write a program that asks the user to enter the month
* (letting the user enter an integer in the range of 1
* through 12) and the year. The program should then display
* the number of days in that ... | 27.23 | 75 | 0.423797 | jesushilarioh |
98345aa435f375b031b936b25836e00ec0bfbf8a | 10,792 | cpp | C++ | Source/Gui/TranslatorPanel.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | 4 | 2018-12-06T01:20:50.000Z | 2019-08-04T10:19:23.000Z | Source/Gui/TranslatorPanel.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | Source/Gui/TranslatorPanel.cpp | alvinahmadov/Dixter | 6f98f1e84192e1e43eee409bdee6b3dac75d6443 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2015-2019
* Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com>
*
* This file is part of Dixter Project
* License-Identifier: MIT License
* See README.md for more information.
*/
#include <QBoxLayout>
#include <QButtonGroup>
#include <QGroupBox>
#include "Configuration.hpp"
#include "Co... | 33.411765 | 119 | 0.71275 | alvinahmadov |
9838df6041c667e838fda18969face5723dd9981 | 532 | cpp | C++ | cpp source/gtavchacks/readprocess/main2.cpp | MEGAMINDMK/search-engine | 0e2748a4a3169e7290d8712f3c7bcefc8aec2bc3 | [
"Unlicense"
] | 1 | 2017-12-13T07:30:08.000Z | 2017-12-13T07:30:08.000Z | cpp source/gtavchacks/readprocess/main2.cpp | MEGAMINDMK/Softwares | 0e2748a4a3169e7290d8712f3c7bcefc8aec2bc3 | [
"Unlicense"
] | null | null | null | cpp source/gtavchacks/readprocess/main2.cpp | MEGAMINDMK/Softwares | 0e2748a4a3169e7290d8712f3c7bcefc8aec2bc3 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <windows.h>
#include <string>
using namespace std;
DWORD pid;
DWORD Health = 0x99A0508;
int MyHealth;
int main()
{
HWND hWnd = FindWindow(0, "GTA: Vice City");
GetWindowThreadProcessId(hWnd, &pid);
HANDLE pHandle = OpenProcess(PROCESS_VM_READ, FALSE, pid);
whi... | 21.28 | 84 | 0.612782 | MEGAMINDMK |
983b36dc11c39bd91ad89176317bdc53f1ec9377 | 780 | cpp | C++ | src/plugins/robots/attabot/real_robot/real_kheperaiv_differential_steering_device.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_differential_steering_device.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | src/plugins/robots/attabot/real_robot/real_kheperaiv_differential_steering_device.cpp | DiegoD616/argos3-ATTABOT | e909bf1432dbd6649450dbb95e4e9f68f375eefa | [
"MIT"
] | null | null | null | #include "real_attabot_differential_steering_device.h"
#include <argos3/core/utility/logging/argos_log.h>
#include <memory>
/****************************************/
/****************************************/
CRealAttabotDifferentialSteeringDevice* CRealAttabotDifferentialSteeringDevice::GetInstance() {
static st... | 33.913043 | 95 | 0.548718 | DiegoD616 |
983c75c43839bcd1025b9d261a0e03d29dbb6898 | 2,097 | hpp | C++ | Nacro/SDK/FN_QuestTrackerSubEntry_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_QuestTrackerSubEntry_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_QuestTrackerSubEntry_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function QuestTrackerS... | 28.337838 | 173 | 0.722938 | Milxnor |
983cc391df12193ce4341832427ba67d479b983d | 635 | cpp | C++ | oo_design/3/Account.cpp | KevOrr/Classes | e2ebea5e09f742e9120345ba4b08528256a5cfce | [
"PostgreSQL"
] | 1 | 2017-07-10T05:09:27.000Z | 2017-07-10T05:09:27.000Z | oo_design/3/Account.cpp | KevOrr/Classes | e2ebea5e09f742e9120345ba4b08528256a5cfce | [
"PostgreSQL"
] | 3 | 2016-03-24T02:48:19.000Z | 2017-04-11T06:26:27.000Z | oo_design/3/Account.cpp | KevOrr/Classes | e2ebea5e09f742e9120345ba4b08528256a5cfce | [
"PostgreSQL"
] | null | null | null | #include <iostream>
#include "Account.hpp"
using namespace std;
Account::Account(double initial_deposit) {
if (initial_deposit < 0) {
cerr << "Account() called with a negative balance, assuming 0.00 instead" << endl;
balance = 0;
} else {
balance = initial_deposit;
}
}
void Accou... | 19.242424 | 90 | 0.623622 | KevOrr |
983ce42da7277e132c994239f8fe6ea3e1a15e34 | 2,347 | hpp | C++ | include/socket/base/ev_timer.hpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | 6 | 2018-07-28T08:03:24.000Z | 2022-03-31T08:56:57.000Z | include/socket/base/ev_timer.hpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | null | null | null | include/socket/base/ev_timer.hpp | chensoft/libxio | 17345e500cca5085641b5392ce8ef7dc65369d69 | [
"MIT"
] | 2 | 2019-05-21T02:26:36.000Z | 2020-04-13T16:46:20.000Z | /**
* Created by Jian Chen
* @since 2017.02.03
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#pragma once
#include "socket/base/ev_base.hpp"
#include <functional>
#include <chrono>
namespace chen
{
class ev_timer: public ev_base
{
public:
enum class Flag {Normal, ... | 23.237624 | 83 | 0.532595 | chensoft |
984208815cc54cf2cdf49e6c24a78550ecf64ccc | 10,091 | cpp | C++ | Game15Puzzle.cpp | loiola0/artificial-intelligence-ufc | f356a6a572bdd0b3419b89c93a9c0bd45a669312 | [
"MIT"
] | 2 | 2021-11-08T22:06:06.000Z | 2021-12-17T19:40:01.000Z | Game15Puzzle.cpp | loiola0/artificial-intelligence-ufc | f356a6a572bdd0b3419b89c93a9c0bd45a669312 | [
"MIT"
] | null | null | null | Game15Puzzle.cpp | loiola0/artificial-intelligence-ufc | f356a6a572bdd0b3419b89c93a9c0bd45a669312 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <cstring>
#include <stdlib.h>
#include <set>
#include <map>
#include <ctime>
#include <vector>
#include <queue>
#include <functional>
#include <locale.h>
#include <unistd.h>
using namespace std;
class Node;
bool idfs();
bool A_estrela();
bool dfs(int k);
bool gulosa();... | 20.021825 | 89 | 0.603211 | loiola0 |
9845ef29b29a7c347c573a4038c59b9e0f88f328 | 2,464 | cpp | C++ | pwiz/analysis/demux/CubicHermiteSpline.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/analysis/demux/CubicHermiteSpline.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/analysis/demux/CubicHermiteSpline.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
//
// Original author: Austin Keller <atkeller .@. uw.edu>
//
// 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... | 28.651163 | 134 | 0.672078 | austinkeller |
98460fc5f88b037a28e453b4e6f7b00863de1b2a | 1,059 | hpp | C++ | include/libp2p/common/literals.hpp | Alexey-N-Chernyshov/cpp-libp2p | 8b52253f9658560a4b1311b3ba327f02284a42a6 | [
"Apache-2.0",
"MIT"
] | null | null | null | include/libp2p/common/literals.hpp | Alexey-N-Chernyshov/cpp-libp2p | 8b52253f9658560a4b1311b3ba327f02284a42a6 | [
"Apache-2.0",
"MIT"
] | null | null | null | include/libp2p/common/literals.hpp | Alexey-N-Chernyshov/cpp-libp2p | 8b52253f9658560a4b1311b3ba327f02284a42a6 | [
"Apache-2.0",
"MIT"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LIBP2P_LITERALS_HPP
#define LIBP2P_LITERALS_HPP
#include <cstdint>
#include <vector>
#include <libp2p/common/types.hpp>
namespace libp2p {
namespace multi {
class Multiaddress;
class Multihash;
... | 23.021739 | 70 | 0.694051 | Alexey-N-Chernyshov |
985037a14f29b5ae6859757d7ec7e47d49dc29d7 | 4,800 | cpp | C++ | ogsr_engine/COMMON_AI/PATH/patrol_path_storage.cpp | tiger-vlad/OGSR-Engine | 2b9700d6af4ece2728acc108decb2f34d43a6231 | [
"Apache-2.0"
] | 1 | 2019-06-21T10:33:20.000Z | 2019-06-21T10:33:20.000Z | ogsr_engine/COMMON_AI/PATH/patrol_path_storage.cpp | tiger-vlad/OGSR-Engine | 2b9700d6af4ece2728acc108decb2f34d43a6231 | [
"Apache-2.0"
] | null | null | null | ogsr_engine/COMMON_AI/PATH/patrol_path_storage.cpp | tiger-vlad/OGSR-Engine | 2b9700d6af4ece2728acc108decb2f34d43a6231 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
// Module : patrol_path_storage.cpp
// Created : 15.06.2004
// Modified : 15.06.2004
// Author : Dmitriy Iassenev
// Description : Patrol path storage
////////////////////////////////////////////////////////////////////////////
#include... | 25.531915 | 181 | 0.641875 | tiger-vlad |
9852e6ce0c07b1308e383043a1504518586acdfe | 777 | cpp | C++ | src/main/cpp/autonomous/AutoBaseLine.cpp | Team3512/Robot-2017 | 1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/autonomous/AutoBaseLine.cpp | Team3512/Robot-2017 | 1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/autonomous/AutoBaseLine.cpp | Team3512/Robot-2017 | 1e5f3c1dcd78464d0c967aa17ca0e479775f7ed3 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016-2021 FRC Team 3512. All Rights Reserved.
#include "Robot.hpp"
constexpr double kSafetyInches = 10.0;
// Drives forward until passing white line 120 inches away from start
void Robot::AutoBaseLine() {
robotDrive.StartClosedLoop();
shifter.Set(false); // false = high gear
gearPunch.... | 25.9 | 74 | 0.675676 | Team3512 |
9854dcd3f85accb23319273309e326e9826e31ac | 9,837 | cpp | C++ | 3rdParty/V8/v5.7.492.77/third_party/icu/source/samples/layout/GDIFontInstance.cpp | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 2 | 2019-12-07T11:29:58.000Z | 2021-06-26T12:48:10.000Z | 3rdParty/V8/v5.7.492.77/third_party/icu/source/samples/layout/GDIFontInstance.cpp | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | null | null | null | 3rdParty/V8/v5.7.492.77/third_party/icu/source/samples/layout/GDIFontInstance.cpp | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | 1 | 2018-12-05T04:56:16.000Z | 2018-12-05T04:56:16.000Z | /*
*******************************************************************************
*
* Copyright (C) 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html#License
*
*******************************************************************************
************... | 24.051345 | 130 | 0.601301 | sita1999 |
9855218d27807b581da5d1f58a4e439ff444e345 | 304 | cpp | C++ | core/xnet/env.cpp | forrestsong/fpay_demo | 7b254a1389b011c799497ad7d08bb8d8d349e557 | [
"MIT"
] | 1 | 2018-08-12T15:08:49.000Z | 2018-08-12T15:08:49.000Z | core/xnet/env.cpp | forrestsong/fpay_demo | 7b254a1389b011c799497ad7d08bb8d8d349e557 | [
"MIT"
] | null | null | null | core/xnet/env.cpp | forrestsong/fpay_demo | 7b254a1389b011c799497ad7d08bb8d8d349e557 | [
"MIT"
] | null | null | null | #include <iostream>
#include "IOLoop.h"
#include "SignalHandler.h"
#include "env.h"
int env::SocketErrorLogLevel = 0;
time_t env::now = time(NULL);
std::string env::strTime = "";
unsigned int env::msec = 0;
uint64_t env::usec = 0;
IOLoop* env::_loop = NULL;
SignalHandler* env::_signalHandler = NULL;
| 21.714286 | 42 | 0.700658 | forrestsong |
98584478b33f710ff0dcf9e1d47f94a6a614f5b6 | 765 | cpp | C++ | cc/split_ref_to_reads.cpp | HKU-BAL/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | 6 | 2021-10-06T07:47:04.000Z | 2022-01-25T05:09:08.000Z | cc/split_ref_to_reads.cpp | edwwlui/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | null | null | null | cc/split_ref_to_reads.cpp | edwwlui/MegaPath | b81796024f864af5fd44deb5812f34704c570160 | [
"BSD-3-Clause"
] | null | null | null | #include "kxseq.h"
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
using namespace std;
using namespace kx;
int main(int argc, char **argv) {
if (argc < 3) {
fprintf(stderr, "Usage: %s <read_len> <overlap> < ref.fa > reads.fa\n", argv[0]);
return 1;
}
kxseq<int> seq(fileno(stdin));
int read... | 25.5 | 121 | 0.55817 | HKU-BAL |
985a0b9d65797ab47cdf40363ae2fd2855d88c2d | 416 | cpp | C++ | Kawakawa/Excalibur/Core/Object/System/CameraSystem.cpp | JiaqiJin/KawaiiDesune | e5c3031898f96f1ec5370b41371b2c1cf22c3586 | [
"MIT"
] | null | null | null | Kawakawa/Excalibur/Core/Object/System/CameraSystem.cpp | JiaqiJin/KawaiiDesune | e5c3031898f96f1ec5370b41371b2c1cf22c3586 | [
"MIT"
] | null | null | null | Kawakawa/Excalibur/Core/Object/System/CameraSystem.cpp | JiaqiJin/KawaiiDesune | e5c3031898f96f1ec5370b41371b2c1cf22c3586 | [
"MIT"
] | null | null | null | #include "CameraSystem.h"
namespace Excalibur
{
CameraSystem::CameraSystem(World* world) :
m_World(world)
{
}
int CameraSystem::Initialize()
{
return 0;
}
void CameraSystem::Finalize()
{
m_MainCamera = nullptr;
}
std::shared_ptr<Entity> CameraSystem::GetMainCamera()
{
return m_MainCamera;
}
vo... | 13.866667 | 65 | 0.704327 | JiaqiJin |
985c7580f09279333a49b64f260e36cbda9522cd | 730 | cpp | C++ | Contests/Codeforces/CF1011/A.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Contests/Codeforces/CF1011/A.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Contests/Codeforces/CF1011/A.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=51;
const int inf=2147483647;
const int meminf=1061109567;
char str[maxN];
int n,K;
int F[maxN][maxN];
int main()
{
scanf... | 18.25 | 49 | 0.591781 | SYCstudio |
985eb7be388d30e5a22ea2a1476c73eefc86cabd | 10,253 | cpp | C++ | xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp | f100cleveland/external_pdfium | 12eec9c70519554387f199aa1eef42ed15478d02 | [
"BSD-3-Clause"
] | 1 | 2018-01-12T03:24:59.000Z | 2018-01-12T03:24:59.000Z | xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp | f100cleveland/external_pdfium | 12eec9c70519554387f199aa1eef42ed15478d02 | [
"BSD-3-Clause"
] | null | null | null | xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp | f100cleveland/external_pdfium | 12eec9c70519554387f199aa1eef42ed15478d02 | [
"BSD-3-Clause"
] | 1 | 2020-07-30T12:07:00.000Z | 2020-07-30T12:07:00.000Z | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
// Original code is licensed as follows:
/*
* Copyright 2006 Jeremias M... | 39.894942 | 81 | 0.627329 | f100cleveland |
9862551214aa4d28d9d1ccd3872b85e1f097a981 | 3,752 | cpp | C++ | main.cpp | vega1986/wcalc_expression_parser | e9645a5fa8086c4108ce4dc1f3ad7da3cead6480 | [
"MIT"
] | null | null | null | main.cpp | vega1986/wcalc_expression_parser | e9645a5fa8086c4108ce4dc1f3ad7da3cead6480 | [
"MIT"
] | null | null | null | main.cpp | vega1986/wcalc_expression_parser | e9645a5fa8086c4108ce4dc1f3ad7da3cead6480 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <sstream>
#include <iostream>
#include <queue>
// #include "kernel.h"
#include "ctexpression/ctkernel.h"
// #define use_string_interpreter 0
int main(int argc, char *argv[])
{
using namespace std;
using namespace compile_time_expression_structure;
#if 0
// istringstream ist ... | 25.875862 | 79 | 0.452292 | vega1986 |
98645832e64b85d2cc2cb874c6be52d9743b3dde | 9,706 | cpp | C++ | OpenSees/SRC/domain/pattern/drm/GeometricBrickDecorator.cpp | kuanshi/ductile-fracture | ccb350564df54f5c5ec3a079100effe261b46650 | [
"MIT"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/domain/pattern/drm/GeometricBrickDecorator.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/domain/pattern/drm/GeometricBrickDecorator.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | #include <cstdlib>
#include "GeometricBrickDecorator.h"
GeometricBrickDecorator::GeometricBrickDecorator()
{
this->myBrick = NULL;
this->myDomain = NULL;
}
GeometricBrickDecorator::~GeometricBrickDecorator()
{ }
void
GeometricBrickDecorator::setBrick(Element* elem)
{
this->myBrick = elem;
}
void
GeometricB... | 22.364055 | 121 | 0.594169 | kuanshi |
98647a9fd20bb76d081f2cb841782bcd9340933e | 3,107 | cpp | C++ | test/PAGSmokeTest.cpp | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 2 | 2022-02-26T16:10:30.000Z | 2022-03-18T01:28:40.000Z | test/PAGSmokeTest.cpp | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | test/PAGSmokeTest.cpp | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... | 36.988095 | 97 | 0.619569 | cy-j |
986c3bac652a073dced6ab0e9d68ce41b4f61914 | 3,326 | cpp | C++ | src/lava_lib/reader_bgeo/test/test_sphere_grid.cpp | cinepost/Falcor | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | 7 | 2018-09-25T23:45:52.000Z | 2021-07-07T04:08:01.000Z | src/lava_lib/reader_bgeo/test/test_sphere_grid.cpp | cinepost/Falcor | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | 2 | 2021-03-02T10:16:06.000Z | 2021-08-13T10:10:21.000Z | src/lava_lib/reader_bgeo/test/test_sphere_grid.cpp | cinepost/Lava | f70bd1d97c064d6f91a017d4409aa2037fd6903a | [
"BSD-3-Clause"
] | 3 | 2020-06-07T05:47:48.000Z | 2020-10-03T12:34:54.000Z | /*
* Copyright 2018 Laika, LLC. Authored by Peter Stuart
*
* Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
* http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
* http://opensource.org/licenses/MIT>, at your option. This file may not be
* copied, modified, or distr... | 27.262295 | 90 | 0.605232 | cinepost |
986cf9d18eb8becd9ea2150c7940ec2db9eada36 | 2,607 | cpp | C++ | core/src/view/TileView.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | 2 | 2020-10-16T10:15:37.000Z | 2021-01-21T13:06:00.000Z | core/src/view/TileView.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | null | null | null | core/src/view/TileView.cpp | voei/megamol | 569b7b58c1f9bc5405b79549b86f84009329f668 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:19:54.000Z | 2021-01-28T01:19:54.000Z | /*
* TileView.cpp
*
* Copyright (C) 2010 by VISUS (Universitaet Stuttgart).
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "mmcore/view/TileView.h"
#include "vislib/memutils.h"
using namespace megamol::core;
using vislib::graphics::CameraParameters;
/*
* view::TileView::TileView
*/
view::TileVie... | 23.070796 | 108 | 0.632528 | voei |
986de253998848da15157e3b571e0ea914336a35 | 4,668 | cpp | C++ | src/moore.cpp | poluyan/MultiDimFloodFill | 388b38a4bfb643b708524d04ab296a40e4d3e087 | [
"Apache-2.0"
] | null | null | null | src/moore.cpp | poluyan/MultiDimFloodFill | 388b38a4bfb643b708524d04ab296a40e4d3e087 | [
"Apache-2.0"
] | null | null | null | src/moore.cpp | poluyan/MultiDimFloodFill | 388b38a4bfb643b708524d04ab296a40e4d3e087 | [
"Apache-2.0"
] | null | null | null | #include "moore.h"
#include "pdf.h"
void FloodFill_MultipleGrids_Moore(const std::vector<std::vector<double>> &grids,
std::vector<std::vector<int>> &points,
std::set<std::vector<int>> &visited,
std::vector<std::vec... | 31.328859 | 106 | 0.442588 | poluyan |
9874b9330495feffcc5fe589e999cb7eeaeefdcc | 6,542 | cpp | C++ | qt-creator-opensource-src-4.6.1/tests/unit/unittest/diagnostic-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/tests/unit/unittest/diagnostic-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/tests/unit/unittest/diagnostic-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 31.301435 | 140 | 0.694283 | kevinlq |
987b5047e513fc893fa90e342c6c2422d33d0512 | 1,371 | cpp | C++ | hard/23_merge_k_sorted_lists.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | 4 | 2019-07-22T03:53:23.000Z | 2019-10-17T01:37:41.000Z | hard/23_merge_k_sorted_lists.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | null | null | null | hard/23_merge_k_sorted_lists.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | 2 | 2020-03-10T03:30:41.000Z | 2020-11-10T06:51:34.000Z | // step 1: clarify
//
// quite straightforward
//
// step 2: solutions
//
// set the pointer to each of the list head, put all the values into the priority_queue
// pop the minimum value one and move the related pointer to the next position
// time complexity: O(n * logk), n is the total number
// space complexity: O(k... | 26.882353 | 97 | 0.585704 | pdu |
987c13da8e127766ca6345d5ddce03632607dd2a | 7,692 | cpp | C++ | saber/funcs/impl/cuda/vender_permute_power.cpp | pangge/Anakin | f327267d1ee2038d92d8c704ec9f1a03cb800fc8 | [
"Apache-2.0"
] | 533 | 2018-05-18T06:14:04.000Z | 2022-03-23T11:46:30.000Z | saber/funcs/impl/cuda/vender_permute_power.cpp | pangge/Anakin | f327267d1ee2038d92d8c704ec9f1a03cb800fc8 | [
"Apache-2.0"
] | 100 | 2018-05-26T08:32:48.000Z | 2022-03-17T03:26:25.000Z | saber/funcs/impl/cuda/vender_permute_power.cpp | pangge/Anakin | f327267d1ee2038d92d8c704ec9f1a03cb800fc8 | [
"Apache-2.0"
] | 167 | 2018-05-18T06:14:35.000Z | 2022-02-14T01:44:20.000Z |
#include "saber/funcs/impl/cuda/vender_permute_power.h"
namespace anakin{
namespace saber{
template class VenderPermutePower<NV, AK_FLOAT>;
template <>
SaberStatus VenderPermutePower<NV, AK_FLOAT>::\
create(const std::vector<Tensor<NV>*>&inputs,
std::vector<Tensor<NV>*>& outputs,
PermutePo... | 47.190184 | 99 | 0.49103 | pangge |
987e0f569b3a20a8ca5190c5c042bae92e760ecd | 2,637 | hh | C++ | tce/src/applibs/wxToolkit/GUIOptions/ToolbarButton.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/applibs/wxToolkit/GUIOptions/ToolbarButton.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/applibs/wxToolkit/GUIOptions/ToolbarButton.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 34.697368 | 78 | 0.738718 | kanishkan |
987fd977e4e261af31b0736f215f562fb8f784a3 | 7,443 | cpp | C++ | Source/System/CacheManager.cpp | gunstarpl/Game-Engine-12-2013 | bfc53f5c998311c17e97c1b4d65792d615c51d36 | [
"MIT",
"Unlicense"
] | 6 | 2017-12-31T17:28:40.000Z | 2021-12-04T06:11:34.000Z | Source/System/CacheManager.cpp | gunstarpl/Game-Engine-12-2013 | bfc53f5c998311c17e97c1b4d65792d615c51d36 | [
"MIT",
"Unlicense"
] | null | null | null | Source/System/CacheManager.cpp | gunstarpl/Game-Engine-12-2013 | bfc53f5c998311c17e97c1b4d65792d615c51d36 | [
"MIT",
"Unlicense"
] | null | null | null | #include "Precompiled.hpp"
#include "CacheManager.hpp"
#include "MainGlobal.hpp"
namespace
{
// Log error messages.
#define LogInitializeError() "Failed to initialize the cache manager! "
#define LogRecreateCacheError() "Failed to recreate the cache! "
// Cache registry filename.
const char* Cach... | 23.703822 | 116 | 0.593847 | gunstarpl |
9880b1c76cf919d2e52f8cfc208134f59555b22b | 8,810 | hpp | C++ | scripting/src/SceneGraph/LuaSceneBuilder.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | scripting/src/SceneGraph/LuaSceneBuilder.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | scripting/src/SceneGraph/LuaSceneBuilder.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | /*
* Copyright (c) 2013, Hernan Saez
* 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 con... | 36.106557 | 135 | 0.605221 | hhsaez |
9882c8ace1f7470eb207ba3eccd0a20d351c4e5f | 2,860 | cpp | C++ | src/dawn/IIR/AccessToNameMapper.cpp | Kayjukh/dawn | 431a59ceeff062beb8390056c6bbd5b5d6d808d3 | [
"MIT"
] | null | null | null | src/dawn/IIR/AccessToNameMapper.cpp | Kayjukh/dawn | 431a59ceeff062beb8390056c6bbd5b5d6d808d3 | [
"MIT"
] | null | null | null | src/dawn/IIR/AccessToNameMapper.cpp | Kayjukh/dawn | 431a59ceeff062beb8390056c6bbd5b5d6d808d3 | [
"MIT"
] | null | null | null | //===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V V /| | | |
// ... | 39.178082 | 100 | 0.615035 | Kayjukh |
98830ee90e34373b77453559e1a5a1c2170bb82e | 4,623 | cpp | C++ | src/model/searchlistmodel.cpp | sailfish-os-apps/harbour-sailseries | df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c | [
"MIT"
] | null | null | null | src/model/searchlistmodel.cpp | sailfish-os-apps/harbour-sailseries | df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c | [
"MIT"
] | null | null | null | src/model/searchlistmodel.cpp | sailfish-os-apps/harbour-sailseries | df8fb67b720e4ba9f8c4644ebc03cf90bb745e3c | [
"MIT"
] | null | null | null | #include "searchlistmodel.h"
SearchListModel::SearchListModel(QObject *parent, DatabaseManager *dbmanager, Api *api) :
QObject(parent)
{
m_dbmanager = dbmanager;
m_api = api;
connect(m_api,
SIGNAL(readyToPopulateSeries(QList<QVariantMap>)),
this,
SLOT(searchFinished... | 26.722543 | 133 | 0.718797 | sailfish-os-apps |
9887816891913384f92ed443f1518d4f74bd709f | 18,089 | cpp | C++ | src/xtd.core.native.win32/src/xtd/native/win32/socket.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | src/xtd.core.native.win32/src/xtd/native/win32/socket.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | src/xtd.core.native.win32/src/xtd/native/win32/socket.cpp | gammasoft71/xtd | 09e589a9dd2cb292d1e54c9c4f803c2b3ad22102 | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #define __XTD_CORE_NATIVE_LIBRARY__
#include <xtd/native/socket.h>
#include <xtd/native/address_family_constants.h>
#include <xtd/native/protocol_type_constants.h>
#include <xtd/native/select_mode_constants.h>
#include <xtd/native/socket_option_name_constants.h>
#include <xtd/native/socket_option_level_constants.h>
#in... | 60.498328 | 1,023 | 0.779535 | gammasoft71 |
9889c6f9277040707bed82dfc5ce1110184f66d5 | 2,104 | cpp | C++ | GUICheckbox.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | 1 | 2015-09-14T13:19:16.000Z | 2015-09-14T13:19:16.000Z | GUICheckbox.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | GUICheckbox.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | #include "GUICheckbox.h"
#include "Context.h"
gui::check_box::check_box(const std::string& p_label, int p_x, int p_y, int p_size)
: state(false)
, label(p_label)
, size(p_size)
{
set_callback([this] { state = !state; });
set_x(p_x);
set_y(p_y);
if (label != "") {
const sf::Fon... | 33.935484 | 113 | 0.647814 | Magtheridon96 |
988c4200da0ddfdd9902759e819c734fb996dee2 | 468 | hpp | C++ | src/chp13/employee.hpp | gianscarpe/cpp_primer | f09c645449d9b79e7c77dde13381513dee25519a | [
"MIT"
] | null | null | null | src/chp13/employee.hpp | gianscarpe/cpp_primer | f09c645449d9b79e7c77dde13381513dee25519a | [
"MIT"
] | null | null | null | src/chp13/employee.hpp | gianscarpe/cpp_primer | f09c645449d9b79e7c77dde13381513dee25519a | [
"MIT"
] | null | null | null | #ifndef EMPLOYEE_H
#define EMPLOYEE_H
#include <string>
class Employee{
public:
static int counter;
Employee(std::string _name) : name(_name) {
id = counter++;
}
Employee(const Employee& e){
name = e.name;
id = counter++;
}
Employee& operator=(const Employee& e){
name = e.name;
id = cou... | 16.137931 | 45 | 0.630342 | gianscarpe |
988c7809c5520bacc7fcffcab5196747afdde658 | 1,428 | cpp | C++ | BUPT 2021 Winter Training #10/k.cpp | rakty/2022-spring-training | db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d | [
"MIT"
] | 1 | 2022-03-04T15:11:33.000Z | 2022-03-04T15:11:33.000Z | BUPT 2021 Winter Training #10/k.cpp | rakty/2022-spring-training | db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d | [
"MIT"
] | null | null | null | BUPT 2021 Winter Training #10/k.cpp | rakty/2022-spring-training | db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define ll long long
//const int inf=0x7fffffff;
const int inf = 0x3f3f3f3f;
int t, n, a, b, k, f;
void solve()
{
cin >> n >> a >> b >> k >> f;
vector<pair<string, string>>s(n);
map<pair<string, string>, int> mp;
int ans = a, temp;
for ... | 24.20339 | 84 | 0.487395 | rakty |
988d16a1b6109387658cb907cfdd735f06c4d575 | 5,835 | cpp | C++ | src/shout/shout_cmd/shout_cmd.cpp | all-in-one-of/CopperFX | 9a50b69a57ebd6aa578d12456e34d792a7c51916 | [
"Unlicense"
] | 2 | 2019-06-25T23:36:55.000Z | 2022-03-07T04:15:50.000Z | src/shout/shout_cmd/shout_cmd.cpp | all-in-one-of/CopperFX | 9a50b69a57ebd6aa578d12456e34d792a7c51916 | [
"Unlicense"
] | null | null | null | src/shout/shout_cmd/shout_cmd.cpp | all-in-one-of/CopperFX | 9a50b69a57ebd6aa578d12456e34d792a7c51916 | [
"Unlicense"
] | 1 | 2019-08-22T08:23:37.000Z | 2019-08-22T08:23:37.000Z | #include <boost/log/core.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/expressions.hpp>
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/join.hpp>
namespace po = boost::program_options;
#include <fstream>
#include <istream>
#include <iostream>
#include <... | 32.06044 | 125 | 0.644387 | all-in-one-of |
988d5eac7597f9afb82ce4b9f1cbd3584664ad20 | 2,692 | hpp | C++ | src/cpunit_TestTreeNode.hpp | offa/CPUnit | 03ba7e0502196ad66b215fbc6150039a97acea92 | [
"BSD-3-Clause"
] | 1 | 2016-06-06T07:21:11.000Z | 2016-06-06T07:21:11.000Z | src/cpunit_TestTreeNode.hpp | offa/CPUnit | 03ba7e0502196ad66b215fbc6150039a97acea92 | [
"BSD-3-Clause"
] | null | null | null | src/cpunit_TestTreeNode.hpp | offa/CPUnit | 03ba7e0502196ad66b215fbc6150039a97acea92 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2011 Daniel Bakkelund.
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 co... | 33.65 | 78 | 0.749257 | offa |