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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6131e1beb30df7476282adf54c04f13c765a9447 | 27,213 | cpp | C++ | lib/ImagePatchPyramid.cpp | warp1337/nmpt | 0a6ea8140f9053c5cff19375ce179427f8d24fe3 | [
"BSD-3-Clause"
] | 5 | 2017-03-01T15:57:50.000Z | 2022-01-18T08:47:46.000Z | lib/ImagePatchPyramid.cpp | warp1337/nmpt | 0a6ea8140f9053c5cff19375ce179427f8d24fe3 | [
"BSD-3-Clause"
] | null | null | null | lib/ImagePatchPyramid.cpp | warp1337/nmpt | 0a6ea8140f9053c5cff19375ce179427f8d24fe3 | [
"BSD-3-Clause"
] | 1 | 2020-05-08T04:58:59.000Z | 2020-05-08T04:58:59.000Z | /*
* ImagePatchPyramid.cpp
* OpenCV
*
* Created by Nicholas Butko on 3/7/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#include "ImagePatchPyramid.h"
#include "DebugGlobals.h"
#include <fstream>
#include <stdio.h>
#include <opencv2/imgproc/imgproc_c.h>
#include <opencv2/highgui/highgui_c... | 36.873984 | 168 | 0.713519 | warp1337 |
61321f8d3061ef567112cb2f3630aeec3b314852 | 1,585 | hpp | C++ | shared.hpp | VladX/StreamlabsAssignment | 5135270ee5ce77be869a9606ae07b0db771853f1 | [
"MIT"
] | null | null | null | shared.hpp | VladX/StreamlabsAssignment | 5135270ee5ce77be869a9606ae07b0db771853f1 | [
"MIT"
] | null | null | null | shared.hpp | VladX/StreamlabsAssignment | 5135270ee5ce77be869a9606ae07b0db771853f1 | [
"MIT"
] | null | null | null | #pragma once
#include "streamableobject.hpp"
#include "event.hpp"
#include "argparser.hpp"
#include "asio.hpp"
#include "fmt/include/format.h"
#include <algorithm>
namespace Streamlabs {
class Connection {
protected:
const std::string path_;
HANDLE pipe_;
asio::io_service io_service_;
std::unique_ptr... | 30.480769 | 75 | 0.641009 | VladX |
6135c9c0285eeabc5192dd0b5d34321acac24e24 | 2,094 | hpp | C++ | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/podarray_bones.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/podarray_bones.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/lib/include/Armadillo/armadillo_bits/podarray_bones.hpp | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | // Copyright (C) 2008-2012 NICTA (www.nicta.com.au)
// Copyright (C) 2008-2012 Conrad Sanderson
//
// This file is part of the Armadillo C++ library.
// It is provided without any warranty of fitness
// for any purpose. You can redistribute this file
// and/or modify it under the terms of the GNU
// Lesser General Pub... | 24.635294 | 101 | 0.6915 | HerrFroehlich |
6136cf0a92a9633a9c759b8f9ad7a636e1fba498 | 1,070 | hpp | C++ | src/Sbut/lib/ArduinoJson/Object/ObjectImpl.hpp | vanthongxtt/SBUT_SDK | 605937ee30b28e7a96d9f0f236b303c694806f35 | [
"MIT"
] | null | null | null | src/Sbut/lib/ArduinoJson/Object/ObjectImpl.hpp | vanthongxtt/SBUT_SDK | 605937ee30b28e7a96d9f0f236b303c694806f35 | [
"MIT"
] | 8 | 2020-07-07T19:52:46.000Z | 2022-02-26T10:25:52.000Z | examples/esp32/esp32master/libraries/ArduinoJson/src/ArduinoJson/Object/ObjectImpl.hpp | tobievii/Triceratops | eb66c46e4734f05cb5284ebde7234059b839d73b | [
"MIT"
] | 1 | 2020-02-14T21:00:22.000Z | 2020-02-14T21:00:22.000Z | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2019
// MIT License
#pragma once
#include "../Array/ArrayRef.hpp"
#include "ObjectRef.hpp"
namespace ARDUINOJSON_NAMESPACE {
template <typename TObject>
template <typename TString>
inline ArrayRef ObjectShortcuts<TObject>::createNestedArray(
con... | 27.435897 | 79 | 0.768224 | vanthongxtt |
61385cb232da6ac50c090d61faa363de9b798a5f | 79,796 | cpp | C++ | src/LovyanGFX_DentaroUI.cpp | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | 5 | 2021-11-07T07:49:42.000Z | 2022-02-01T13:31:31.000Z | src/LovyanGFX_DentaroUI.cpp | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | null | null | null | src/LovyanGFX_DentaroUI.cpp | dentaro/LovyanGFX_DentaroUI | b75cb226000b1c7b7845676f550699f67f059baf | [
"MIT"
] | null | null | null | #include "LovyanGFX_DentaroUI.hpp"
using namespace std;
#define FLICK_DIST 3
// #include <vector>
//LovyanGFX_DentaroUI::LovyanGFX_DentaroUI(LGFX& _lcd)
//{
// lcd = _lcd;
//}
void LovyanGFX_DentaroUI::touchCalibration (bool _calibF){
touchCalibrationF = _calibF;
}
void LovyanGFX_DentaroUI::begin( LG... | 31.354028 | 177 | 0.596571 | dentaro |
613f57ea451610bfa7e2d095863fe3056adab026 | 7,592 | hpp | C++ | rocprim/include/rocprim/detail/various.hpp | YvanMokwinski/rocPRIM | 7b9661cb701fa20218443c5dfb34683e9c6ae295 | [
"MIT"
] | null | null | null | rocprim/include/rocprim/detail/various.hpp | YvanMokwinski/rocPRIM | 7b9661cb701fa20218443c5dfb34683e9c6ae295 | [
"MIT"
] | null | null | null | rocprim/include/rocprim/detail/various.hpp | YvanMokwinski/rocPRIM | 7b9661cb701fa20218443c5dfb34683e9c6ae295 | [
"MIT"
] | null | null | null | // Copyright (c) 2017-2020 Advanced Micro Devices, Inc. All rights reserved.
//
// 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... | 29.540856 | 105 | 0.691517 | YvanMokwinski |
6140159dd0293c79da763aa24211373028d6c9bd | 5,049 | cpp | C++ | Core/GDCore/Events/Builtin/StandardEvent.cpp | sutao80216/GDevelop | 79461bf01cc0c626e2f094d3fca940d643f93d76 | [
"MIT"
] | 1 | 2018-11-23T11:56:08.000Z | 2018-11-23T11:56:08.000Z | Core/GDCore/Events/Builtin/StandardEvent.cpp | sutao80216/GDevelop | 79461bf01cc0c626e2f094d3fca940d643f93d76 | [
"MIT"
] | 9 | 2020-04-04T19:26:47.000Z | 2022-03-25T18:41:20.000Z | Core/GDCore/Events/Builtin/StandardEvent.cpp | sutao80216/GDevelop | 79461bf01cc0c626e2f094d3fca940d643f93d76 | [
"MIT"
] | 2 | 2020-03-02T05:20:41.000Z | 2021-05-10T03:59:05.000Z | /*
* GDevelop Core
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#include "StandardEvent.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/Even... | 33 | 81 | 0.676966 | sutao80216 |
6140a40f232efb8476ed1210306a57af271b7773 | 29,359 | cpp | C++ | src/Simd/SimdAvx512bwMedianFilter.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | 1,590 | 2015-04-21T00:58:57.000Z | 2022-03-30T03:39:01.000Z | src/Simd/SimdAvx512bwMedianFilter.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | 180 | 2015-04-07T07:29:39.000Z | 2022-03-31T11:50:08.000Z | src/Simd/SimdAvx512bwMedianFilter.cpp | clayne/Simd-1 | bce423fcec65ac969bb251a9647b30a2138e6463 | [
"MIT"
] | 375 | 2015-04-17T11:43:25.000Z | 2022-03-30T10:39:16.000Z | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2021 Yermalayeu Ihar,
* 2020-2020 Andrey Turkin.
*
* 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 wi... | 44.891437 | 128 | 0.493103 | clayne |
6141166193cfd84609833e305d610b278ddd77bd | 1,135 | cpp | C++ | server/Common/Packets/WGTeamList.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Common/Packets/WGTeamList.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Common/Packets/WGTeamList.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
#include "WGTeamList.h"
BOOL WGTeamList::Read(SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)&m_PlayerID, sizeof(m_PlayerID) );
iStream.Read( (CHAR*)&m_TeamID, sizeof(m_TeamID) );
iStream.Read( (CHAR*)&m_nMemberCount, sizeof(m_nMemberCount) );
iStream.Read(... | 19.912281 | 68 | 0.671366 | viticm |
61425ab8253d70bf815774ac883eb137e0adb64b | 1,434 | hxx | C++ | vtkm/filter/Slice.hxx | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | 14 | 2019-10-25T03:25:47.000Z | 2022-01-19T02:14:53.000Z | vtkm/filter/Slice.hxx | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | null | null | null | vtkm/filter/Slice.hxx | Kitware/VTK-m | d1fd72e71a251dd69318a42d01a1231a2716a241 | [
"BSD-3-Clause"
] | 3 | 2019-08-20T10:49:49.000Z | 2021-12-22T17:39:15.000Z | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | 32.590909 | 99 | 0.661785 | Kitware |
614294d181432ac57c7c02abaf5841853309d720 | 32,216 | cpp | C++ | src/libdm/dm-qt.cpp | earl-ducaine/brl-cad-svn-follow | 4e90d5416ba764666a798bc7f4774e1fde6747a0 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libdm/dm-qt.cpp | earl-ducaine/brl-cad-svn-follow | 4e90d5416ba764666a798bc7f4774e1fde6747a0 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libdm/dm-qt.cpp | earl-ducaine/brl-cad-svn-follow | 4e90d5416ba764666a798bc7f4774e1fde6747a0 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 1 | 2018-12-21T21:09:47.000Z | 2018-12-21T21:09:47.000Z | /* D M - Q T . C P P
* BRL-CAD
*
* Copyright (c) 2013-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as... | 24.240783 | 139 | 0.624876 | earl-ducaine |
6142cfee7f3f8d5fd4eb0ea15232d2a6c14f6d4f | 1,227 | cpp | C++ | chrome/plugin/src/NpapiCore/Win/NpapiBrowserHostAsyncWin.cpp | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | 4 | 2017-05-08T08:23:19.000Z | 2019-03-29T04:41:47.000Z | chrome/plugin/src/NpapiCore/Win/NpapiBrowserHostAsyncWin.cpp | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null | chrome/plugin/src/NpapiCore/Win/NpapiBrowserHostAsyncWin.cpp | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null |
/**********************************************************\
Original Author: Georg Fritzsche
Created: March 1, 2010
License: Dual license model; choose one of two:
New BSD License
http://www.opensource.org/licenses/bsd-license.php
- or -
GNU Lesser General Public... | 29.926829 | 92 | 0.647922 | Faham |
61439158ee1fff4233e1116b55a91b813762d8ba | 10,778 | hpp | C++ | include/lcm_SpinOpGenerator.hpp | dch0ph/libcmatrix | 1f5fae7a398fe2c643252f93371b407dbfb70855 | [
"MIT"
] | null | null | null | include/lcm_SpinOpGenerator.hpp | dch0ph/libcmatrix | 1f5fae7a398fe2c643252f93371b407dbfb70855 | [
"MIT"
] | null | null | null | include/lcm_SpinOpGenerator.hpp | dch0ph/libcmatrix | 1f5fae7a398fe2c643252f93371b407dbfb70855 | [
"MIT"
] | null | null | null | //internal file only
template<bool> struct lcm_cache_type_ { typedef Type2Type< BlockedMatrix<double> > type; };
template<> struct lcm_cache_type_<true> { typedef Type2Type< ListList<double> > type; };
class SpinOpGenerator : public SpinOpGeneratorBase {
public:
SpinOpGenerator(const basespin_system&, int flagsv ... | 49.898148 | 185 | 0.723511 | dch0ph |
61450a5db13e69e7041ccfe67bb7dd6ffcbfef7a | 589 | cpp | C++ | Uva-591 - Box of Bricks.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | 1 | 2020-11-02T22:18:22.000Z | 2020-11-02T22:18:22.000Z | Uva-591 - Box of Bricks.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | null | null | null | Uva-591 - Box of Bricks.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int limit,num[51],result,sum,avg,count=0;
while(cin>>limit && limit>0)
{
result=sum=avg=0;
for(int i=0;i<limit;i++)
{
cin>>num[i];
sum+=num[i];
}
avg=sum/limit;
for(int i=0;i<lim... | 21.035714 | 67 | 0.424448 | Samim-Arefin |
61467757c376740059efc6aefcae51ce02eb71b1 | 618 | hpp | C++ | c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/nlp.hpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/nlp.hpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | c++/en/dropbox/remove_sentences_effectively/remove_sentences_effectively/nlp.hpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | #pragma once // NLP.hpp
#include <iostream>
#include <string>
#include <algorithm> // transform
using namespace std;
#define DEBUG 0
//==================================================================
// Class Declaration //
//============================... | 21.310345 | 69 | 0.456311 | aimldl |
61514a88648318a03c642799e3155d150912773d | 8,868 | cpp | C++ | src/pap.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | 5 | 2017-10-02T00:20:06.000Z | 2021-07-09T10:00:18.000Z | src/pap.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | src/pap.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | //
// A lower memory map: 100k
//
#include <mfstdlib/mfstdlib.h>
#include <fallen/pap.h>
#include <fallen/game.h>
#include <fallen/mav.h>
#ifndef PSX
#include <ddengine/aeng.h>
#else
#include "c:\fallen\psxeng\headers\engine.h"
#endif
#include <fallen/inside2.h>
#include <fallen/ns.h>
#include <fallen/ware.h>
#incl... | 14.804674 | 90 | 0.563599 | FaultyRAM |
6152484e89e1c10acb5f5a4e7cc2da7ffb02b131 | 6,156 | cpp | C++ | arangod/Replication/DatabaseReplicationApplier.cpp | Simran-B/arangodb_test | e643ddbaa8327249ae5f10add89ab9e6d9f6fecd | [
"Apache-2.0"
] | null | null | null | arangod/Replication/DatabaseReplicationApplier.cpp | Simran-B/arangodb_test | e643ddbaa8327249ae5f10add89ab9e6d9f6fecd | [
"Apache-2.0"
] | null | null | null | arangod/Replication/DatabaseReplicationApplier.cpp | Simran-B/arangodb_test | e643ddbaa8327249ae5f10add89ab9e6d9f6fecd | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 34.58427 | 108 | 0.711501 | Simran-B |
6156c5ce6b206d53b88ec5fbfa644195e129bb66 | 3,650 | cpp | C++ | fm-common/sources/fm_cli.cpp | marcelarosalesj/x2.stx-fault | ae72f4deec3ae7aa3b33e2cc9d003a81b9c87ab2 | [
"Apache-2.0"
] | null | null | null | fm-common/sources/fm_cli.cpp | marcelarosalesj/x2.stx-fault | ae72f4deec3ae7aa3b33e2cc9d003a81b9c87ab2 | [
"Apache-2.0"
] | null | null | null | fm-common/sources/fm_cli.cpp | marcelarosalesj/x2.stx-fault | ae72f4deec3ae7aa3b33e2cc9d003a81b9c87ab2 | [
"Apache-2.0"
] | 1 | 2019-03-04T22:41:38.000Z | 2019-03-04T22:41:38.000Z | //
// Copyright (c) 2014 Wind River Systems, Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "fmAPI.h"
#include "fmAlarmUtils.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <string>
void error(const char *add="") {
printf("%s\n",add);
exit(-1);
}
void ok(const... | 19.312169 | 77 | 0.647945 | marcelarosalesj |
615abb334e80d9fcd880252ee7857a33fe2856d5 | 1,909 | cc | C++ | benchmarks/0001.10m_double/with_crypto/no_teststd_output_10M_double.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | 2 | 2020-07-20T06:07:20.000Z | 2020-10-21T08:53:49.000Z | benchmarks/0001.10m_double/with_crypto/no_teststd_output_10M_double.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | benchmarks/0001.10m_double/with_crypto/no_teststd_output_10M_double.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | //requires -maes -msse2
#include"../../timer.h"
#include<fstream>
#include"../../../include/fast_io_device.h"
#include"../../../include/fast_io_crypto.h"
#include"../../../include/fast_io_legacy.h"
#include<exception>
#include<cmath>
#include<memory>
#include<cstdio>
#include<random>
#include<iomanip>
#include<charcon... | 30.790323 | 103 | 0.695652 | EwoutH |
615b3927cb7d6e41ab24da899e21d0c009d0ae03 | 2,441 | cpp | C++ | src/GVis/Viewport.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 38 | 2015-01-01T05:55:38.000Z | 2022-03-12T23:19:50.000Z | src/GVis/Viewport.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 1 | 2019-07-29T21:48:40.000Z | 2020-01-13T12:08:08.000Z | src/GVis/Viewport.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 8 | 2016-04-22T06:41:47.000Z | 2021-11-23T23:44:22.000Z | // Copyright (c) 2013-2014 Matthew Paul Reid
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, p... | 28.717647 | 98 | 0.770586 | matthew-reid |
615bc7b70d242035a2313cd29a625db173569bc9 | 1,109 | cpp | C++ | src/wavm/signals.cpp | kubasz/faasm | fa4cec66176c669c161f097d24edce099de66919 | [
"Apache-2.0"
] | 278 | 2020-10-01T16:37:06.000Z | 2022-03-31T07:06:01.000Z | src/wavm/signals.cpp | kubasz/faasm | fa4cec66176c669c161f097d24edce099de66919 | [
"Apache-2.0"
] | 78 | 2020-10-01T18:46:16.000Z | 2022-03-18T15:39:03.000Z | src/wavm/signals.cpp | kubasz/faasm | fa4cec66176c669c161f097d24edce099de66919 | [
"Apache-2.0"
] | 24 | 2020-10-21T18:45:48.000Z | 2022-03-26T08:59:41.000Z | #include "WAVMWasmModule.h"
#include "syscalls.h"
#include <faabric/util/logging.h>
#include <WAVM/Runtime/Intrinsics.h>
using namespace WAVM;
namespace wasm {
// ---------------------------------------
// Signals
//
// The runtime itself will handle thread creation/ deletion etc.
// So we don't worry about signal-... | 18.79661 | 76 | 0.556357 | kubasz |
615db4478a5a614a202b53c71da52fd96b16ee90 | 168 | cpp | C++ | Team01/Game/Project/Item3Way.cpp | OiCGame/GameJam03 | 535fff1e39a3c509c4104029bd40386c5d8b4a69 | [
"MIT"
] | null | null | null | Team01/Game/Project/Item3Way.cpp | OiCGame/GameJam03 | 535fff1e39a3c509c4104029bd40386c5d8b4a69 | [
"MIT"
] | null | null | null | Team01/Game/Project/Item3Way.cpp | OiCGame/GameJam03 | 535fff1e39a3c509c4104029bd40386c5d8b4a69 | [
"MIT"
] | 1 | 2021-02-01T02:48:17.000Z | 2021-02-01T02:48:17.000Z | #include "Item3Way.h"
CItem3Way::CItem3Way() :
super(){
}
CItem3Way::~CItem3Way() {
}
bool CItem3Way::Use(CCharacter & out) {
out.Attach3WayShot();
return true;
}
| 12 | 39 | 0.672619 | OiCGame |
615eab2ced3494c21318724b1eba30f74aebb4f7 | 962 | cc | C++ | cpp/accelerated-cpp/chapter_05/concat.cc | nyxnaut/learn | 2614675e7b4166833fe6cb2bc17ee504924f6142 | [
"Unlicense"
] | null | null | null | cpp/accelerated-cpp/chapter_05/concat.cc | nyxnaut/learn | 2614675e7b4166833fe6cb2bc17ee504924f6142 | [
"Unlicense"
] | null | null | null | cpp/accelerated-cpp/chapter_05/concat.cc | nyxnaut/learn | 2614675e7b4166833fe6cb2bc17ee504924f6142 | [
"Unlicense"
] | null | null | null | #include "concat.h"
#include <vector>
#include <string>
#include "max_width.h"
using std::vector;
using std::string;
vector<string> vcat(const vector<string>& top, const vector<string>& bottom) {
// copy all of top into ret
vector<string> ret = top;
// append bottom to the end of ret
// Equivalent to:
/... | 22.372093 | 95 | 0.602911 | nyxnaut |
6160583b13fe5e8d66d06e26e38785028271088e | 1,538 | cpp | C++ | third-party/llvm/llvm-src/lib/ExecutionEngine/JITLink/ELF.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | third-party/llvm/llvm-src/lib/ExecutionEngine/JITLink/ELF.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | third-party/llvm/llvm-src/lib/ExecutionEngine/JITLink/ELF.cpp | nldias/chapel | 3a63044cd50b639dca8e851d4a505546b57bc299 | [
"ECL-2.0",
"Apache-2.0"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | //===-------------- ELF.cpp - JIT linker function for ELF -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------------... | 29.576923 | 80 | 0.608583 | nldias |
6160fb09710e5b38bf4f959c8f09034939275dcf | 464 | cpp | C++ | test/snippet/utility/simd/iota.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 2 | 2020-10-21T03:56:37.000Z | 2021-06-09T12:07:04.000Z | test/snippet/utility/simd/iota.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 24 | 2020-11-19T12:50:21.000Z | 2022-02-15T11:25:34.000Z | test/snippet/utility/simd/iota.cpp | joergi-w/seqan3 | b757646eee3cddf1f2487db8f1c9f3576ee37391 | [
"CC-BY-4.0",
"CC0-1.0"
] | 1 | 2022-02-13T14:24:00.000Z | 2022-02-13T14:24:00.000Z | #include <seqan3/core/debug_stream.hpp>
#include <seqan3/utility/simd/all.hpp>
#include <seqan3/utility/simd/detail/debug_stream_simd.hpp>
using uint16x8_t = seqan3::simd::simd_type_t<uint16_t, 8>;
int main()
{
uint16x8_t a = seqan3::iota<uint16x8_t>(1);
seqan3::debug_stream << a << "\n"; // [1,2,3,4,5,6,7,8]... | 25.777778 | 59 | 0.640086 | joergi-w |
6161867e23e9c82bd54311dc381308bffd89693a | 20,237 | cc | C++ | lamp/lamp.cc | pedersor/google-research | 6fa751dd261b3f6d918fd2cd35efef5d8bf3eea6 | [
"Apache-2.0"
] | null | null | null | lamp/lamp.cc | pedersor/google-research | 6fa751dd261b3f6d918fd2cd35efef5d8bf3eea6 | [
"Apache-2.0"
] | null | null | null | lamp/lamp.cc | pedersor/google-research | 6fa751dd261b3f6d918fd2cd35efef5d8bf3eea6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 The Google Research Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 41.3 | 80 | 0.653605 | pedersor |
6162658acdc07f3da2545ba8c5affa1e15d0cb08 | 954 | hpp | C++ | umu/singleton_window.hpp | UMU618/win10-screen-blur | 3b492f01eeca1f6032dbe88ee27daf34d94f2e13 | [
"MIT"
] | null | null | null | umu/singleton_window.hpp | UMU618/win10-screen-blur | 3b492f01eeca1f6032dbe88ee27daf34d94f2e13 | [
"MIT"
] | null | null | null | umu/singleton_window.hpp | UMU618/win10-screen-blur | 3b492f01eeca1f6032dbe88ee27daf34d94f2e13 | [
"MIT"
] | null | null | null | #pragma once
namespace umu {
class SingletonWindow {
public:
static HWND FindPrevInstanceWindow(LPCWSTR trait) {
WindowTrait window_trait = {trait, nullptr};
::EnumWindows(EnumWindowsProc, (LPARAM)&window_trait);
return window_trait.hwnd;
}
static bool SetSingleton(HWND hwnd, LPCWSTR trait) {
... | 21.681818 | 76 | 0.644654 | UMU618 |
61629a9fcbf628c475e63572eebb2c621bce8487 | 13,267 | cpp | C++ | core/sql/refresh/RuRefreshSQLComposer.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/sql/refresh/RuRefreshSQLComposer.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/sql/refresh/RuRefreshSQLComposer.cpp | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | /**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... | 26.747984 | 90 | 0.538931 | CoderSong2015 |
6162d3709ad3bd4e1d8b29b7e647e971968fbbd7 | 500 | hpp | C++ | include/utility.hpp | alanjian85/Rayster | f45d0c207b717ef31f6d4e469961653299207b5d | [
"BSL-1.0"
] | null | null | null | include/utility.hpp | alanjian85/Rayster | f45d0c207b717ef31f6d4e469961653299207b5d | [
"BSL-1.0"
] | null | null | null | include/utility.hpp | alanjian85/Rayster | f45d0c207b717ef31f6d4e469961653299207b5d | [
"BSL-1.0"
] | null | null | null | #ifndef BOX_UTILITY_HPP
#define BOX_UTILITY_HPP
#include <algorithm>
namespace box {
constexpr auto pi = 3.14159;
constexpr auto rad(double deg) {
return deg * pi / 180;
}
constexpr auto lerp(double min, double max, double val) {
return min + val * (max - min);
}
constexpr a... | 21.73913 | 69 | 0.59 | alanjian85 |
61649feffd8f2af6644b02974902ee8e94f02322 | 53,293 | cpp | C++ | legacy/src/utils/CDebugDrawer.cpp | wpumacay/tiny_renderer | 9d59be49086822860654afddaf94ce1cec374ea8 | [
"MIT"
] | 1 | 2018-07-05T15:54:51.000Z | 2018-07-05T15:54:51.000Z | legacy/src/utils/CDebugDrawer.cpp | wpumacay/cat1 | 9d59be49086822860654afddaf94ce1cec374ea8 | [
"MIT"
] | null | null | null | legacy/src/utils/CDebugDrawer.cpp | wpumacay/cat1 | 9d59be49086822860654afddaf94ce1cec374ea8 | [
"MIT"
] | null | null | null |
#include <utils/CDebugDrawer.h>
namespace engine
{
CDebugDrawer* CDebugDrawer::s_instance = nullptr;
CDebugDrawer::CDebugDrawer()
{
m_shaderLinesPtr = CShaderManager::GetCachedShader( "debug_drawing_3d" );
ENGINE_CORE_ASSERT( m_shaderLinesPtr, "Could not load debug_drawing_3d shader requ... | 49.34537 | 170 | 0.619368 | wpumacay |
6164cbe783895133e498847939ad4c6640dfe30f | 4,417 | cpp | C++ | Kernel/Net/Socket.cpp | sudipbhandari126/serenity | 9149a519f5f1bbe0ad821fb1a6a408663fd3741d | [
"BSD-2-Clause"
] | null | null | null | Kernel/Net/Socket.cpp | sudipbhandari126/serenity | 9149a519f5f1bbe0ad821fb1a6a408663fd3741d | [
"BSD-2-Clause"
] | null | null | null | Kernel/Net/Socket.cpp | sudipbhandari126/serenity | 9149a519f5f1bbe0ad821fb1a6a408663fd3741d | [
"BSD-2-Clause"
] | null | null | null | #include <Kernel/FileSystem/FileDescription.h>
#include <Kernel/Net/IPv4Socket.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/Process.h>
#include <Kernel/UnixTypes.h>
#include <LibC/errno_numbers.h>
KResultOr<Retained<Socket>> Socket::create(int domain, int type, int protocol)
{... | 29.644295 | 219 | 0.661082 | sudipbhandari126 |
6165be661a1ad7bc4d67ecc2518e5dbc1c2c8cbe | 6,457 | cc | C++ | source/agent/audio/audioMixer/AudioMixerWrapper.cc | yfdandy/owt-server | 93b1721865907c6af94be4fdef8f191e59f345d2 | [
"Apache-2.0"
] | 1 | 2021-05-30T01:19:18.000Z | 2021-05-30T01:19:18.000Z | source/agent/audio/audioMixer/AudioMixerWrapper.cc | vgemv/owt-server | fa6070af33feeeb79a962de08307ac5092991cbf | [
"Apache-2.0"
] | null | null | null | source/agent/audio/audioMixer/AudioMixerWrapper.cc | vgemv/owt-server | fa6070af33feeeb79a962de08307ac5092991cbf | [
"Apache-2.0"
] | null | null | null | // Copyright (C) <2019> Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
#ifndef BUILDING_NODE_EXTENSION
#define BUILDING_NODE_EXTENSION
#endif
#include "AudioMixerWrapper.h"
using namespace v8;
Persistent<Function> AudioMixer::constructor;
AudioMixer::AudioMixer() {};
AudioMixer::~AudioMixer() {};
void... | 36.072626 | 128 | 0.721233 | yfdandy |
6168056bf62229737a5f5404b295053939123a09 | 5,912 | hpp | C++ | src/hand/Analysis.hpp | helkebir/suzume | ce330d5c3866b8ced34b6bed8dacc5a3c12625c4 | [
"BSD-3-Clause"
] | null | null | null | src/hand/Analysis.hpp | helkebir/suzume | ce330d5c3866b8ced34b6bed8dacc5a3c12625c4 | [
"BSD-3-Clause"
] | null | null | null | src/hand/Analysis.hpp | helkebir/suzume | ce330d5c3866b8ced34b6bed8dacc5a3c12625c4 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Hamza El-Kebir on 12/5/21.
//
#ifndef SUZUME_ANALYSIS_HPP
#define SUZUME_ANALYSIS_HPP
#include "tiles/TilesEnum.hpp"
#include "tiles/TileUtils.hpp"
#include <vector>
#include <algorithm>
#include <iostream>
namespace szm {
class Analysis {
public:
template <Languages TLanguage>
... | 30.163265 | 112 | 0.41069 | helkebir |
616898ad23cfe03a9510755c679cff3f35491bf3 | 592 | hpp | C++ | tests/c++/testsetup.hpp | ssciwr/geolib4d | dd79a746559235e47c2cb5e7c7ba71ef3ae21e29 | [
"MIT"
] | 3 | 2022-01-28T14:18:05.000Z | 2022-03-02T21:52:43.000Z | tests/c++/testsetup.hpp | ssciwr/geolib4d | dd79a746559235e47c2cb5e7c7ba71ef3ae21e29 | [
"MIT"
] | 104 | 2021-06-18T14:10:37.000Z | 2022-03-04T06:12:58.000Z | tests/c++/testsetup.hpp | ssciwr/py4dgeo | dd79a746559235e47c2cb5e7c7ba71ef3ae21e29 | [
"MIT"
] | null | null | null | #include "py4dgeo/py4dgeo.hpp"
#include <memory>
#include <string>
#include <tuple>
#ifndef PY4DGEO_TEST_DATA_DIRECTORY
#error Test data directory needs to be set from CMake
#endif
#define DATAPATH(filename) PY4DGEO_TEST_DATA_DIRECTORY "/" #filename
std::shared_ptr<py4dgeo::EigenPointCloud>
benchcloud_from_file(con... | 25.73913 | 68 | 0.766892 | ssciwr |
616a419e1c3c56666d1c16feab1b827b6ea45b14 | 292 | cpp | C++ | C++/problem1720.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem1720.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | C++/problem1720.cpp | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> decode(vector<int>& encoded, int first) {
vector<int> ans{first};
for (vector<int>::iterator it = encoded.begin(); it < encoded.end(); ++it)
{
ans.push_back(*it ^ ans.back());
}
return ans;
}
};
| 24.333333 | 82 | 0.523973 | 1050669722 |
616a49ff28123c3c038f6c8cad8afe895d508ed2 | 816 | cpp | C++ | behavioral/iterator/std_iterator.cpp | stefanpantic/cpp-design-patterns | 887f9ddebbb99a773ba132c6298fee37eec25609 | [
"MIT"
] | 2 | 2021-01-21T11:03:08.000Z | 2021-01-31T17:47:12.000Z | behavioral/iterator/std_iterator.cpp | stefanpantic/cpp-design-patterns | 887f9ddebbb99a773ba132c6298fee37eec25609 | [
"MIT"
] | null | null | null | behavioral/iterator/std_iterator.cpp | stefanpantic/cpp-design-patterns | 887f9ddebbb99a773ba132c6298fee37eec25609 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <iterator>
#include <ostream>
#include <vector>
void std_iterators()
{
std::vector<std::string> names{"john", "jane", "mads", "mike", "kevin", "chad"};
decltype(names)::iterator it{names.begin()};
std::cout << *it << std::endl;
++it;
std::cout << *it << std::endl;... | 21.473684 | 111 | 0.609069 | stefanpantic |
616ab03a4f7e30d7b71e158cbc74aaeb654cde39 | 3,402 | cpp | C++ | examples/AvrModbusRtuSlaveRS485/AvrModbusRtuSlaveRS485.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 87 | 2015-03-16T19:09:09.000Z | 2022-03-19T19:48:49.000Z | examples/AvrModbusRtuSlaveRS485/AvrModbusRtuSlaveRS485.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 5 | 2015-04-19T11:02:35.000Z | 2021-04-21T05:29:22.000Z | examples/AvrModbusRtuSlaveRS485/AvrModbusRtuSlaveRS485.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 42 | 2015-02-11T16:29:35.000Z | 2022-03-12T11:48:08.000Z | #include <avr/interrupt.h>
#include <iopins.h>
#include <pinlist.h>
#include <usart.h>
#include <timers.h>
#include <modbus.h>
using namespace Mcucpp::IO;
using namespace Mcucpp::Timers;
typedef Mcucpp::Usart<Mcucpp::Usart0Regs> Uart;
typedef Pe2 UartTxEn; // rs485 direction pin
// Pe1 - txd pin
typedef PinList<Pe1,U... | 23.142857 | 118 | 0.720752 | evugar |
616c55fb03e66ffbe1376e6526459a696fa0c0a5 | 4,244 | cpp | C++ | yave/graphics/commands/CmdQueue.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | yave/graphics/commands/CmdQueue.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | yave/graphics/commands/CmdQueue.cpp | gan74/yave | c71b5dd7c05b1aa39c59a8071fc243c1472e71d1 | [
"MIT"
] | null | null | null | /*******************************
Copyright (c) 2016-2022 Grégoire Angerand
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... | 35.966102 | 147 | 0.68803 | gan74 |
616d50521ba39e6d8f711742035b3b7b52ce2b8d | 10,979 | cpp | C++ | lib/executor/engine/proxy.cpp | Mu-L/WasmEdge | 1cadcbf2623c7cd78e5474b85f3d383c5d698c65 | [
"Apache-2.0"
] | 849 | 2019-11-29T23:28:11.000Z | 2021-04-29T05:32:48.000Z | lib/executor/engine/proxy.cpp | Mu-L/WasmEdge | 1cadcbf2623c7cd78e5474b85f3d383c5d698c65 | [
"Apache-2.0"
] | 135 | 2019-12-11T02:43:00.000Z | 2021-04-29T07:01:02.000Z | lib/executor/engine/proxy.cpp | Mu-L/WasmEdge | 1cadcbf2623c7cd78e5474b85f3d383c5d698c65 | [
"Apache-2.0"
] | 46 | 2019-12-14T17:31:50.000Z | 2021-04-29T03:43:21.000Z | // SPDX-License-Identifier: Apache-2.0
#include "executor/executor.h"
#include "system/fault.h"
namespace WasmEdge {
namespace Executor {
thread_local Executor *Executor::This = nullptr;
template <typename RetT, typename... ArgsT>
struct Executor::ProxyHelper<Expect<RetT> (Executor::*)(Runtime::StoreManager &,
... | 33.472561 | 80 | 0.614081 | Mu-L |
616e1b01002ea73372fc1bccb9da8fb573b93b83 | 1,673 | cpp | C++ | PMod_7Segment/Firmware/test_top.cpp | jjhorton/PMod | 82723696c9133fd99905481a8fae3807bbadeb9c | [
"BSD-3-Clause"
] | null | null | null | PMod_7Segment/Firmware/test_top.cpp | jjhorton/PMod | 82723696c9133fd99905481a8fae3807bbadeb9c | [
"BSD-3-Clause"
] | 6 | 2022-03-08T21:25:57.000Z | 2022-03-14T22:04:52.000Z | PMod_LEDArray/Firmware/test_top.cpp | jjhorton/PMod | 82723696c9133fd99905481a8fae3807bbadeb9c | [
"BSD-3-Clause"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "Vtop.h"
#include "verilated_vcd_c.h"
#include "verilated.h"
void tick(int tickcount, Vtop *tb, VerilatedVcdC* tfp){
tb->eval();
if(tfp)
tfp->dump(tickcount * 10-2);
tb->CLK = 1;
tb->eval();
if(tfp)
tfp->dump(tickcount * 10);
tb->CLK = 0;
tb->eval();
if (t... | 18.797753 | 94 | 0.635983 | jjhorton |
616f30ba33822bcbace02a8da28cc70b86622e7f | 2,994 | cpp | C++ | cpp/rom_curve_NUMS512W.cpp | zerjioang/core | ae092583a4b333dd975438a720da7cccfcd27707 | [
"Apache-2.0"
] | 133 | 2019-09-04T14:42:38.000Z | 2022-03-24T12:21:32.000Z | cpp/rom_curve_NUMS512W.cpp | zerjioang/core | ae092583a4b333dd975438a720da7cccfcd27707 | [
"Apache-2.0"
] | 40 | 2019-10-02T15:01:38.000Z | 2022-03-16T13:35:43.000Z | cpp/rom_curve_NUMS512W.cpp | zerjioang/core | ae092583a4b333dd975438a720da7cccfcd27707 | [
"Apache-2.0"
] | 53 | 2019-09-09T18:50:20.000Z | 2022-03-22T07:17:08.000Z | /*
* Copyright (c) 2012-2020 MIRACL UK Ltd.
*
* This file is part of MIRACL Core
* (see https://github.com/miracl/core).
*
* 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... | 49.081967 | 219 | 0.821309 | zerjioang |
61708ba5c89f2729072c7a5033eed3722e679899 | 7,736 | cpp | C++ | hazelcast/test/src/faulttolerance/LoadTest.cpp | pirog-spb/hazelcast-cpp-client | 979cf38b85a8308dbcc75b7e94a2b79fffceae21 | [
"Apache-2.0"
] | null | null | null | hazelcast/test/src/faulttolerance/LoadTest.cpp | pirog-spb/hazelcast-cpp-client | 979cf38b85a8308dbcc75b7e94a2b79fffceae21 | [
"Apache-2.0"
] | null | null | null | hazelcast/test/src/faulttolerance/LoadTest.cpp | pirog-spb/hazelcast-cpp-client | 979cf38b85a8308dbcc75b7e94a2b79fffceae21 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 43.706215 | 129 | 0.456308 | pirog-spb |
61723f0c843ee063675832345b74df488e31f5d8 | 3,700 | cpp | C++ | tests/integration/replay/replay_tests.cpp | pchong90/Umpire | bfc8a153104f13fdb270347b8cd966fbbc121d4c | [
"MIT"
] | null | null | null | tests/integration/replay/replay_tests.cpp | pchong90/Umpire | bfc8a153104f13fdb270347b8cd966fbbc121d4c | [
"MIT"
] | null | null | null | tests/integration/replay/replay_tests.cpp | pchong90/Umpire | bfc8a153104f13fdb270347b8cd966fbbc121d4c | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
//
// Created by David Beckingsale, david@llnl.gov
// LLNL-CODE-747640
//
// All rights reserved.
//
// This fil... | 31.355932 | 87 | 0.680811 | pchong90 |
61730a586d239c207bd300f3a93198324f92ef73 | 526 | cpp | C++ | src/cpu-kernels/awkward_localindex.cpp | uccross/awkward-1.0 | af774dee5efa3ced4c478e2172f4cb71057ace33 | [
"BSD-3-Clause"
] | null | null | null | src/cpu-kernels/awkward_localindex.cpp | uccross/awkward-1.0 | af774dee5efa3ced4c478e2172f4cb71057ace33 | [
"BSD-3-Clause"
] | null | null | null | src/cpu-kernels/awkward_localindex.cpp | uccross/awkward-1.0 | af774dee5efa3ced4c478e2172f4cb71057ace33 | [
"BSD-3-Clause"
] | null | null | null | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_localindex.cpp", line)
#include "awkward/kernels.h"
template <typename T>
ERROR awkward_localindex(
T* toindex,
int64_t length) {
for (int64_t i =... | 22.869565 | 96 | 0.707224 | uccross |
617601571696d4328be39dd195df93167dab2524 | 530 | hpp | C++ | mge/include/mge/ecs/ComponentFamily.hpp | juliencombattelli/Mortalis-Game-Engine | 8d1ff6301c3c61e3f363a2fbdfc7648a0cc3f43f | [
"MIT"
] | 1 | 2016-09-05T22:38:28.000Z | 2016-09-05T22:38:28.000Z | mge/include/mge/ecs/ComponentFamily.hpp | juliencombattelli/mge | 8d1ff6301c3c61e3f363a2fbdfc7648a0cc3f43f | [
"MIT"
] | null | null | null | mge/include/mge/ecs/ComponentFamily.hpp | juliencombattelli/mge | 8d1ff6301c3c61e3f363a2fbdfc7648a0cc3f43f | [
"MIT"
] | 1 | 2017-05-31T07:37:28.000Z | 2017-05-31T07:37:28.000Z | #ifndef MGE_COMPONENT_FAMILY_HPP_
#define MGE_COMPONENT_FAMILY_HPP_
#include <atomic>
namespace mge {
class BaseComponentFamily {
protected:
BaseComponentFamily() = default;
static inline std::atomic_size_t m_family { 0 };
};
template <typename Component>
class ComponentFamily : public BaseComponentFamily ... | 19.62963 | 64 | 0.728302 | juliencombattelli |
6177918cc5768e6a76068c01ea2e87168351caee | 9,849 | cpp | C++ | TDEngine2/source/graphics/CSkinnedMesh.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/source/graphics/CSkinnedMesh.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/source/graphics/CSkinnedMesh.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | #include "../../include/graphics/CSkinnedMesh.h"
#include "../../include/core/IFileSystem.h"
#include "../../include/core/IFile.h"
#include "../../include/core/IJobManager.h"
#include "../../include/core/IGraphicsContext.h"
#include "../../include/graphics/IGraphicsObjectManager.h"
#include "../../include/graphics/CGeo... | 26.909836 | 171 | 0.731039 | bnoazx005 |
6178a3245c808c8736685dbf7e56164553a0244d | 958 | hpp | C++ | cslibs_plugins/include/cslibs_plugins/common/plugin.hpp | doge-of-the-day/cslibs_plugins | 9740883e5f93c5a74ea4a889067b25fb3f5cb6f0 | [
"BSD-3-Clause"
] | null | null | null | cslibs_plugins/include/cslibs_plugins/common/plugin.hpp | doge-of-the-day/cslibs_plugins | 9740883e5f93c5a74ea4a889067b25fb3f5cb6f0 | [
"BSD-3-Clause"
] | null | null | null | cslibs_plugins/include/cslibs_plugins/common/plugin.hpp | doge-of-the-day/cslibs_plugins | 9740883e5f93c5a74ea4a889067b25fb3f5cb6f0 | [
"BSD-3-Clause"
] | null | null | null | #ifndef CSLIBS_PLUGINS_PLUGIN_HPP
#define CSLIBS_PLUGINS_PLUGIN_HPP
#include <string>
namespace cslibs_plugins {
template<typename ChildClass>
class Plugin {
public:
virtual inline ~Plugin() = default;
inline std::string const& getName() const { return name_; }
inline void setName(const std::string& name) { ... | 19.55102 | 64 | 0.669102 | doge-of-the-day |
617994d21ae9fe540cb57fb163cc851e93fbc49f | 3,737 | cpp | C++ | src/websocketpp_02/examples/echo_client/echo_client.cpp | SAN-CHAIN/sand | 1c51a7d1b215a7a2e1e06bd3b87a7e1da7239664 | [
"BSL-1.0"
] | null | null | null | src/websocketpp_02/examples/echo_client/echo_client.cpp | SAN-CHAIN/sand | 1c51a7d1b215a7a2e1e06bd3b87a7e1da7239664 | [
"BSL-1.0"
] | null | null | null | src/websocketpp_02/examples/echo_client/echo_client.cpp | SAN-CHAIN/sand | 1c51a7d1b215a7a2e1e06bd3b87a7e1da7239664 | [
"BSL-1.0"
] | 3 | 2017-06-29T02:41:16.000Z | 2021-08-28T07:42:24.000Z | /*
* Copyright (c) 2011, Peter Thorson. 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 o... | 38.132653 | 125 | 0.606101 | SAN-CHAIN |
617a37ab500a5baadea0bbb403776e74f4e4e667 | 1,503 | cpp | C++ | tests/juliet/testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close_84_bad.cpp | RanerL/analyzer | a401da4680f163201326881802ee535d6cf97f5a | [
"MIT"
] | 28 | 2017-01-20T15:25:54.000Z | 2020-03-17T00:28:31.000Z | testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close_84_bad.cpp | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 1 | 2017-01-20T15:26:27.000Z | 2018-08-20T00:55:37.000Z | testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close_84_bad.cpp | mellowCS/cwe_checker_juliet_suite | ae604f6fd94964251fbe88ef04d5287f6c1ffbe2 | [
"MIT"
] | 2 | 2019-07-15T19:07:04.000Z | 2019-09-07T14:21:04.000Z | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close_84_bad.cpp
Label Definition File: CWE775_Missing_Release_of_File_Descriptor_or_Handle__open_no_close.label.xml
Template File: source-sinks-84_bad.tmpl.cpp
*/
/*
* @description
* CWE: 775 Missing Rel... | 40.621622 | 163 | 0.792415 | RanerL |
617a829c0bc209d0ef5ff0b4121b40b21d185dac | 2,089 | cpp | C++ | AirQuality/Alarm.cpp | plewand/airsensor | 16c1264de86783f6071a7503bcf87346219b56a8 | [
"MIT"
] | null | null | null | AirQuality/Alarm.cpp | plewand/airsensor | 16c1264de86783f6071a7503bcf87346219b56a8 | [
"MIT"
] | null | null | null | AirQuality/Alarm.cpp | plewand/airsensor | 16c1264de86783f6071a7503bcf87346219b56a8 | [
"MIT"
] | null | null | null | #include "Alarm.h"
Alarm::Alarm(int alarmPmLevelMin, int alarmPmLevelMax) {
activationPmLevelMin = alarmPmLevelMin;
activationPmLevelMax = alarmPmLevelMax;
lastUpdateTime = 0;
for (auto level : latestPmLevels) {
level = 0;
}
latestPmLevelsIndex = 0;
alarmEnabled = false;
}
void Alarm::initial... | 20.281553 | 104 | 0.716132 | plewand |
617e0e85824f924cd27371bb725a2106d08f8506 | 17,002 | cpp | C++ | searchlib/src/tests/hitcollector/hitcollector_test.cpp | shahariel/vespa | 8981a2ea9e3a0f5435419208ef31b37be6dac556 | [
"Apache-2.0"
] | 4,054 | 2017-08-11T07:58:38.000Z | 2022-03-31T22:32:15.000Z | searchlib/src/tests/hitcollector/hitcollector_test.cpp | shahariel/vespa | 8981a2ea9e3a0f5435419208ef31b37be6dac556 | [
"Apache-2.0"
] | 4,854 | 2017-08-10T20:19:25.000Z | 2022-03-31T19:04:23.000Z | searchlib/src/tests/hitcollector/hitcollector_test.cpp | shahariel/vespa | 8981a2ea9e3a0f5435419208ef31b37be6dac556 | [
"Apache-2.0"
] | 541 | 2017-08-10T18:51:18.000Z | 2022-03-11T03:18:56.000Z | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/searchlib/common/bitvector.h>
#include <vespa/searchlib/fef/fef.h>
#include <vespa/searchlib/queryeval/hitcollector.h>
#include <vespa/log/log.h>
LOG_SET... | 31.082267 | 105 | 0.604929 | shahariel |
617eaf8db71f349e214b5113944d54f3d39aa607 | 787 | hpp | C++ | day12/part1.hpp | Moremar/advent_of_code_2016 | dea264671fc2c31baa42b1282751dfd1ae071a7d | [
"Apache-2.0"
] | null | null | null | day12/part1.hpp | Moremar/advent_of_code_2016 | dea264671fc2c31baa42b1282751dfd1ae071a7d | [
"Apache-2.0"
] | null | null | null | day12/part1.hpp | Moremar/advent_of_code_2016 | dea264671fc2c31baa42b1282751dfd1ae071a7d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Utils.hpp"
struct Instruction {
Instruction(const string &cmd, const string &x, const string &y) : cmd(cmd), x(x), y(y) {}
string cmd, x, y;
};
class Assembunny {
public:
Assembunny(const vector<Instruction> &instructions);
void runInstruction(const Instruction &instruction);
... | 23.848485 | 94 | 0.695044 | Moremar |
617ec6b0907f35ee96bc8b89ec39a629f4641d27 | 1,842 | cpp | C++ | CSES/Graph_Algorithms/shortest_routes_i.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 14 | 2019-08-14T00:43:10.000Z | 2021-12-16T05:43:31.000Z | CSES/Graph_Algorithms/shortest_routes_i.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | null | null | null | CSES/Graph_Algorithms/shortest_routes_i.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 endl "\n"
#define int ll
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;}
... | 25.583333 | 101 | 0.530402 | eyangch |
6181158f81eebae0737750b65509ba37db1c570e | 597,696 | cpp | C++ | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__58.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__58.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__58.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestHarness.h for the primary calling header
#include "VTestHarness.h"
#include "VTestHarness__Syms.h"
#include "verilated_dpi.h"
VL_INLINE_OPT void VTestHarness::_sequent__TOP__3822(VTestHarness__Syms* __restrict vlSy... | 124.884246 | 424 | 0.850288 | vargandhi |
6181ad64d328a77782d498d74c74e624ae7f26d9 | 12,409 | cpp | C++ | folly/logging/test/CustomLogFormatterTest.cpp | lrita/folly | a315c6b038935397cddc96653e873a8985b263f6 | [
"Apache-2.0"
] | 1 | 2022-03-09T21:40:42.000Z | 2022-03-09T21:40:42.000Z | folly/logging/test/CustomLogFormatterTest.cpp | lrita/folly | a315c6b038935397cddc96653e873a8985b263f6 | [
"Apache-2.0"
] | 1 | 2022-03-28T16:56:01.000Z | 2022-03-28T16:57:07.000Z | folly/logging/test/CustomLogFormatterTest.cpp | lrita/folly | a315c6b038935397cddc96653e873a8985b263f6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... | 30.945137 | 80 | 0.594891 | lrita |
6181e989fe93bc2f28d8907e2c2b6369be9bd411 | 1,889 | cpp | C++ | src/load_msh.cpp | teseoch/MshIO | ed485c1552c17f5a468acc94215c8a8e6d5f0d38 | [
"Apache-2.0"
] | null | null | null | src/load_msh.cpp | teseoch/MshIO | ed485c1552c17f5a468acc94215c8a8e6d5f0d38 | [
"Apache-2.0"
] | null | null | null | src/load_msh.cpp | teseoch/MshIO | ed485c1552c17f5a468acc94215c8a8e6d5f0d38 | [
"Apache-2.0"
] | null | null | null | #include <MshIO/MshSpec.h>
#include "load_msh_curves.h"
#include "load_msh_data.h"
#include "load_msh_elements.h"
#include "load_msh_format.h"
#include "load_msh_nanospline_format.h"
#include "load_msh_nodes.h"
#include "load_msh_patches.h"
#include "load_msh_post_process.h"
#include <cassert>
#include <fstream>
#inc... | 25.876712 | 84 | 0.56379 | teseoch |
6183d7e0f10638ed0f108e7028832da1b0eb4f3d | 438 | hpp | C++ | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/statements_def.hpp | ludkinm/stan | c318114f875266f22c98cf0bebfff928653727cb | [
"CC-BY-3.0",
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_LANG_AST_NODE_STATEMENTS_DEF_HPP
#define STAN_LANG_AST_NODE_STATEMENTS_DEF_HPP
#include <stan/lang/ast.hpp>
#include <vector>
namespace stan {
namespace lang {
statements::statements() {}
statements::statements(const std::vector<local_var_decl>& local_decl,
const std::vector<stat... | 23.052632 | 69 | 0.730594 | ludkinm |
6185703358aa674ed503d3dd3f260a2d8c52a524 | 5,736 | cpp | C++ | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | core/ilwisobjects/operation/symboltable.cpp | ridoo/IlwisCore | 9d9837507d804a4643545a03fd40d9b4d0eaee45 | [
"Apache-2.0"
] | null | null | null | #include <QString>
#include <QFileInfo>
#include <QVector>
#include <QUrl>
#include <QRegExp>
#include <QStringList>
#include "kernel.h"
#include "raster.h"
#include "catalog.h"
#include "ilwiscontext.h"
#include "mastercatalog.h"
#include "symboltable.h"
using namespace Ilwis;
quint64 SymbolTable::_symbolid = 0;
Sy... | 26.072727 | 92 | 0.577929 | ridoo |
61884d929592e3869d83fb49c3b76a72c1be0e1c | 21,767 | hpp | C++ | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | 6 | 2015-12-29T07:21:01.000Z | 2020-05-29T10:47:38.000Z | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | windows/include/boost/asio/detail/reactive_descriptor_service.hpp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | //
// reactive_descriptor_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
/... | 30.571629 | 81 | 0.629255 | jaredhoberock |
6188edef579f180c3aea754f87d73ca67d383c12 | 1,626 | cpp | C++ | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | null | null | null | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | null | null | null | modules/usbcamera/HotplugThread.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | 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... | 26.225806 | 81 | 0.699877 | lighthouse-os |
618a9fb422e9c7bde6e44bcf604ce6dd2e7c598a | 6,040 | cpp | C++ | src/CommandLanguage/8bitDetokeniser.cpp | neuromancer/Phantasma | 9552d3b43ab5ffe235f69d6d9d4e921b715464f3 | [
"MIT"
] | 13 | 2015-06-09T21:35:16.000Z | 2021-08-18T14:14:43.000Z | src/CommandLanguage/8bitDetokeniser.cpp | neuromancer/Phantasma | 9552d3b43ab5ffe235f69d6d9d4e921b715464f3 | [
"MIT"
] | null | null | null | src/CommandLanguage/8bitDetokeniser.cpp | neuromancer/Phantasma | 9552d3b43ab5ffe235f69d6d9d4e921b715464f3 | [
"MIT"
] | 7 | 2017-09-28T20:18:41.000Z | 2021-03-16T11:55:45.000Z | //
// 8bitDetokeniser.cpp
// Phantasma
//
// Created by Thomas Harte on 15/12/2013.
// Copyright (c) 2013 Thomas Harte. All rights reserved.
//
/*
This has been implemented based on John Elliott's 2001
reverse engineering of Driller; see http://www.seasip.demon.co.uk/ZX/Driller/
*/
#include "8bitDetokeniser.h"
... | 32.826087 | 137 | 0.659768 | neuromancer |
618ae31d3060c4c2702b0fd5aaf626eccaedd790 | 1,481 | cpp | C++ | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | 5 | 2015-04-30T09:08:30.000Z | 2018-08-13T05:00:39.000Z | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | third party/openRTMFP-Cumulus/CumulusLib/sources/Trigger.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | /*
Copyright 2010 OpenRTMFP
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... | 21.463768 | 140 | 0.704929 | Patrick-Bay |
618af940f1f6b3310b382040a07bae92e6fa94d7 | 3,334 | cpp | C++ | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | 3 | 2019-05-09T13:56:10.000Z | 2019-06-14T08:25:42.000Z | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | null | null | null | ChainIDE/popwidget/AboutWidgetGit.cpp | AnyChainIO/AnyChainIDE | 283c4743f0f2484fcf6dd5528af8ab15c6e35011 | [
"MIT"
] | 2 | 2019-04-27T20:39:24.000Z | 2019-07-11T05:13:27.000Z | #include "AboutWidgetGit.h"
#include "ui_AboutWidgetGit.h"
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QRegExp>
#include <QDesktopServices>
#include "update/UpdateProgressUtil.h"
static const QString IDE_VERSION = "1.0.24";
static const QString UPDATE_SERVER_URL = "https://github.com/AnyChain... | 34.371134 | 137 | 0.670366 | AnyChainIO |
618e0ee23293de678a125f90204935f2362aaef8 | 24,060 | hpp | C++ | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | pancake.hpp | MattBolitho/Pancake | 34c939abd48619cd53e4c1c8d0df1da12dc3902e | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Matt Bolitho
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, ... | 36.958525 | 147 | 0.44655 | MattBolitho |
618ed408c257072ce00f0b9db8161a43f2bb82f5 | 14,922 | cpp | C++ | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | src/voxel_grid_plugin.cpp | kanishkaganguly/UR10VoxelGrid | b57d7b2a064f6a6dc6415c49d30546ad190fb119 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Kanishka Ganguly on 6/4/19.
// Copyright (c) 2019 Amazon Robotics. All rights reserved.
//
#include "../include/voxel_grid_plugin.hpp"
namespace gazebo {
void VoxelGridPlugin::Load(physics::WorldPtr _world, sdf::ElementPtr _sdf) {
spdlog::get("file_logger")->info("[{}]: {}.", __FUNCTION__, "Starti... | 46.341615 | 146 | 0.69689 | kanishkaganguly |
61938a6b137e556efc0e4f6500451c0377c1f496 | 9,871 | cpp | C++ | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | test/test_softmax.in.cpp | kthur/he-transformer | 5d3294473edba10f2789197043b8d8704409719e | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2018-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 43.484581 | 79 | 0.541283 | kthur |
6193b98bb028afd79134bbc3da1300e651f7e23c | 13,473 | cpp | C++ | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | null | null | null | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | 1 | 2020-05-17T17:34:51.000Z | 2020-05-17T17:34:51.000Z | src/core/FlagHandler.cpp | hirre/maptag | 9d855c5773128596a5ffed351518709775fbaca8 | [
"MIT"
] | null | null | null | /*
* FlagHandler.cpp
*
* Handler class that handles input from the command line.
* Handles:
* - write (K,V)
* - delete (K,V)
* - print (K,V)
*
* Created on: 5 maj 2013
* Author: Hirad Asadi
* E-mail: hirad.asadi@gmail.com
*/
#include <stdlib.h>
#include <sstream>
#include <boost/filesy... | 24.540984 | 85 | 0.514362 | hirre |
6195c2aa6a1bdbf52479b1d78990c6df629fdbad | 8,498 | cpp | C++ | watchman/thirdparty/jansson/dump.cpp | 47-studio-org/watchman | c50631dcf9a9e7d27b2bc05cd32649546add836e | [
"MIT"
] | 9,308 | 2015-01-03T13:33:47.000Z | 2022-03-31T06:45:26.000Z | watchman/thirdparty/jansson/dump.cpp | 47-studio-org/watchman | c50631dcf9a9e7d27b2bc05cd32649546add836e | [
"MIT"
] | 878 | 2015-01-07T15:28:33.000Z | 2022-03-30T09:30:10.000Z | thirdparty/jansson/dump.cpp | Varulv1997/watchman | cca53233f252cf851fc49ac3b6c48e3eaf81be26 | [
"Apache-2.0"
] | 932 | 2015-01-05T08:25:00.000Z | 2022-03-25T11:11:42.000Z | /*
* Copyright (c) 2009-2012 Petri Lehtinen <petri@digip.org>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#includ... | 22.072727 | 80 | 0.511885 | 47-studio-org |
61993be659c394cd1ac608deac8b3683e14f2b3d | 2,894 | cpp | C++ | WebLayoutCore/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2020-05-25T16:06:49.000Z | 2020-05-25T16:06:49.000Z | WebLayoutCore/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | null | null | null | WebLayoutCore/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2018-07-10T10:53:18.000Z | 2018-07-10T10:53:18.000Z | /*
* Copyright (C) 2014 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 38.078947 | 210 | 0.775397 | gubaojian |
619a622a24200f3d94e6951cef3ba7eccf271a7f | 1,086 | cpp | C++ | Vector3D.cpp | marrabld/city_engine | 8435d1a1289369195a6f3c96a260d3cbf62e9a2a | [
"MIT"
] | null | null | null | Vector3D.cpp | marrabld/city_engine | 8435d1a1289369195a6f3c96a260d3cbf62e9a2a | [
"MIT"
] | null | null | null | Vector3D.cpp | marrabld/city_engine | 8435d1a1289369195a6f3c96a260d3cbf62e9a2a | [
"MIT"
] | null | null | null | //
// Created by marrabld on 7/11/16.
//
#include <cmath>
#include <iostream>
#include "Vector3D.h"
Vector3D::Vector3D() {
x = 0;
y = 0;
z = 0;
}
Vector3D::~Vector3D() {
}
Vector3D::Vector3D(float xCoord, float yCoord, float zCoord) {
x = xCoord;
y = yCoord;
z = zCoord;
}
Vector3D::Vecto... | 16.208955 | 70 | 0.473297 | marrabld |
619bfb5d4c420eb3643dc6511f4e921321432617 | 7,718 | cpp | C++ | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 2,695 | 2015-01-01T21:13:47.000Z | 2022-03-31T04:45:32.000Z | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 208 | 2015-01-23T19:29:07.000Z | 2022-02-08T02:55:17.000Z | src/dlib/threads/threaded_object_extension.cpp | prathyusha12924/eye-gaze | a80ad54b46e9cef4e743b53aaff035de83f27154 | [
"MIT"
] | 567 | 2015-01-06T19:22:19.000Z | 2022-03-21T17:01:04.000Z | // Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_THREADED_OBJECT_EXTENSIOn_CPP
#define DLIB_THREADED_OBJECT_EXTENSIOn_CPP
#include "threaded_object_extension.h"
#include "create_new_thread_extension.h"
namespace dlib
{
// --... | 27.368794 | 109 | 0.438974 | prathyusha12924 |
619ef451f677e592bbe54ddb98f5d5ff7b68faa6 | 14,882 | hpp | C++ | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 398 | 2016-04-21T03:38:50.000Z | 2022-03-23T15:27:31.000Z | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 275 | 2017-12-27T04:11:55.000Z | 2022-03-30T07:35:11.000Z | Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp | Zone-organization/DiligentCore | a9091a1848492ae1aecece3a955badf9367b189f | [
"Apache-2.0"
] | 139 | 2017-09-13T06:19:49.000Z | 2022-03-28T15:01:20.000Z | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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.... | 37.112219 | 154 | 0.648569 | Zone-organization |
61a0983082a566660b4fbde622ec4353df0a3fcb | 5,109 | hpp | C++ | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 2 | 2021-08-15T04:10:10.000Z | 2021-08-15T20:14:13.000Z | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2022-02-16T02:46:39.000Z | 2022-02-16T04:30:29.000Z | bahamut/tools/compressor.hpp | higan-emu/bahamut-lagoon-translation-kit | 6f08de5b92b597c0b9ecebd485cc975b99acfc13 | [
"0BSD"
] | 1 | 2021-12-25T11:34:57.000Z | 2021-12-25T11:34:57.000Z | #pragma once
auto compressBlockLZ77(array_view<u8> input) -> vector<u8> {
vector<u8> output;
output.resize(256 * 1024, 0x00);
u32 source = 0;
u32 target = 0;
while(source < input.size()) {
u32 longestOffset = 0;
u32 longestLength = 0;
for(u32 window = 1; window < 2048; window++) {
u32 len... | 28.702247 | 102 | 0.575259 | higan-emu |
61a1ad087c09ffa125219230189328595b843150 | 20,045 | hpp | C++ | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | include/lbann/layers/layer.hpp | andy-yoo/lbann-andy | 237c45c392e7a5548796ac29537ab0a374e7e825 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 39.227006 | 95 | 0.648192 | andy-yoo |
61a2bd169d6cf4bb7313eeb2798bb599a998693f | 6,401 | cpp | C++ | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/ReportControl/XTPReportRecord.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPReportRecord.cpp : implementation of the CXTPReportRecord class.
//
// This file is a part of the XTREME REPORTCONTROL MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER W... | 21.408027 | 89 | 0.706452 | 11Zero |
61a4ca21d8f65a66f9a7df278dc66d73b22b3f2b | 253 | cpp | C++ | Competitive Programing Problem Solutions/Virtual Judge/M4/l.cpp | BIJOY-SUST/ACM---ICPC | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | 1 | 2022-02-27T12:07:59.000Z | 2022-02-27T12:07:59.000Z | Competitive Programing Problem Solutions/Virtual Judge/M4/l.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | Competitive Programing Problem Solutions/Virtual Judge/M4/l.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#define max 1000000
using namespace std;
long long int a[max];
int main(){
long long int n;
cin>>n;
for(int i=0;i<n;i++){
cin>>a[i];
}
sort(a,a+n);
cout<<a[n-1]<<endl;
return 0;
}
| 16.866667 | 26 | 0.505929 | BIJOY-SUST |
61a6fcd304872725b2678bce82695fb6f7337c0d | 233 | hpp | C++ | ngx_http_hi_module/include/dukglue/duktape_object.hpp | skyformat99/hi-nginx | 663bb367aa3c6051abd36acd60fb0e09025186da | [
"BSD-2-Clause"
] | null | null | null | ngx_http_hi_module/include/dukglue/duktape_object.hpp | skyformat99/hi-nginx | 663bb367aa3c6051abd36acd60fb0e09025186da | [
"BSD-2-Clause"
] | null | null | null | ngx_http_hi_module/include/dukglue/duktape_object.hpp | skyformat99/hi-nginx | 663bb367aa3c6051abd36acd60fb0e09025186da | [
"BSD-2-Clause"
] | null | null | null | #ifndef DUKTAPE_OBJECT_HPP
#define DUKTAPE_OBJECT_HPP
namespace hi {
class duktape_object {
public:
duktape_object() = default;
virtual~duktape_object() = default;
};
}
#endif /* DUKTAPE_OBJECT_HPP */
| 15.533333 | 43 | 0.669528 | skyformat99 |
61a7287b7533f129cb24dbaa8293269498f5c45a | 2,273 | cpp | C++ | module-audio/Audio/test/unittest_config_utils.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | module-audio/Audio/test/unittest_config_utils.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | module-audio/Audio/test/unittest_config_utils.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#define CATCH_CONFIG_MAIN
#include "catch2/catch.hpp"
#include <Audio/Profiles/ProfileConfigUtils.hpp>
#include <purefs/filesystem_paths.hpp>
TEST_CASE("QFilterCoefficients - overloa... | 29.907895 | 104 | 0.619446 | bitigchi |
61a7a6c6221e8a210af071f49de32a12791be2d0 | 2,182 | cpp | C++ | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.cpp | CommName/chatterino2 | 05469d1bbadbef9269705057830680745bf64c1d | [
"MIT"
] | null | null | null | #include "AccountsPage.hpp"
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
#include "controllers/accounts/AccountModel.hpp"
#include "providers/twitch/TwitchCommon.hpp"
#include "util/LayoutCreator.hpp"
#include "widgets/dialogs/LoginDialog.hpp"
#include "widgets/helper/EditableModelV... | 30.732394 | 83 | 0.629698 | CommName |
61a7aa4447803ff2140f5cc5c9a40ea943f211af | 10,795 | cc | C++ | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 1,799 | 2019-08-19T03:29:38.000Z | 2022-03-31T14:30:50.000Z | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 3,767 | 2019-08-19T03:36:04.000Z | 2022-03-31T14:37:26.000Z | lite/kernels/opencl/elementwise_sub_image_compute_test.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 798 | 2019-08-19T02:28:23.000Z | 2022-03-31T08:31:54.000Z | // Copyright (c) 2019 PsublePsuble Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 36.843003 | 80 | 0.562205 | wanglei91 |
61ab6d7f866021d66ed1c43f1cbb698721bd894a | 4,386 | hpp | C++ | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | include/stringConversion.hpp | SavAct/TokenSale | abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf | [
"MIT"
] | null | null | null | #pragma once
#include "base58.hpp"
#include <vector>
using namespace eosio;
using namespace std;
class MemoParams
{
public:
std::vector<std::variant<name, ecc_public_key>> user;
std::variant<name, ecc_public_key> affiliate;
int donationAccNumber = 0;
bool hasAffiliate = false;
/** Holds the parameters: user and... | 28.855263 | 127 | 0.688098 | SavAct |
61ab75716af1c299939a75d3d052e3f55fa1cba6 | 3,999 | cc | C++ | src/Core/Grid/Variables/ugc_templates.cc | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | null | null | null | src/Core/Grid/Variables/ugc_templates.cc | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | null | null | null | src/Core/Grid/Variables/ugc_templates.cc | abagusetty/Uintah | fa1bf819664fa6f09c5a7cd076870a40816d35c9 | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright (c) 1997-2021 The University of Utah
*
* 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
* right... | 41.65625 | 83 | 0.791948 | abagusetty |
61affdc85a65a0ebd4742347f86e0a9049d31bbf | 47,502 | cpp | C++ | src/bittybuzz/tests/BittyBuzzMessageHandlerUnitTests.cpp | SwarmUS/HiveMind | d4f50f269b59e75242c3f8f3316efb16ef472514 | [
"MIT"
] | 1 | 2021-05-04T18:44:49.000Z | 2021-05-04T18:44:49.000Z | src/bittybuzz/tests/BittyBuzzMessageHandlerUnitTests.cpp | SwarmUS/HiveMind | d4f50f269b59e75242c3f8f3316efb16ef472514 | [
"MIT"
] | 7 | 2020-11-18T22:48:07.000Z | 2021-03-19T16:25:58.000Z | src/bittybuzz/tests/BittyBuzzMessageHandlerUnitTests.cpp | SwarmUS/HiveMind | d4f50f269b59e75242c3f8f3316efb16ef472514 | [
"MIT"
] | 1 | 2022-01-31T15:22:20.000Z | 2022-01-31T15:22:20.000Z | #include "mocks/BSPInterfaceMock.h"
#include "mocks/BittyBuzzBytecodeInterfaceMock.h"
#include "mocks/BittyBuzzClosureRegisterInterfaceMock.h"
#include "mocks/BittyBuzzMessageHandlerInterfaceMock.h"
#include "mocks/BittyBuzzMessageServiceInterfaceMock.h"
#include "mocks/BittyBuzzNeighborsManagerInterfaceMock.h"
#includ... | 41.378049 | 100 | 0.734537 | SwarmUS |
61b07784b3e7efdb6c84e4ab7a9516e22ac470e8 | 1,119 | cpp | C++ | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | dataStructure/SqQueue/main.cpp | Duan-You/C-C- | c64e477889178efdb9b4e32a0f20cd76d39e937c | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#define MAXSIZE 10
typedef int ElemType;
typedef struct
{
ElemType *base;
int front,rear;
} SqQueue;
void InitQueue(SqQueue &Q)
{
Q.base=(ElemType*)malloc(MAXSIZE*sizeof(ElemType));
if(!Q.base)
exit(0);
Q.rear=0;
Q.front=Q.rear;
}
int QueueLeng... | 15.328767 | 55 | 0.588919 | Duan-You |
61b0d6ddad2895b642ead9b0a8ce7134023de248 | 35,616 | cpp | C++ | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 373 | 2016-06-28T06:56:46.000Z | 2022-03-23T02:32:54.000Z | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 361 | 2016-07-06T19:09:25.000Z | 2022-03-26T14:14:19.000Z | src/monster_lichfire.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 129 | 2016-06-29T09:02:49.000Z | 2022-01-23T09:56:06.000Z | /*-------------------------------------------------------------------------------
BARONY
File: monster_lich.cpp
Desc: implements all of the lich monster's code
Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved.
See LICENSE for details.
---------------------------------------------------------------... | 27.146341 | 132 | 0.594789 | PegasusEpsilon |
61b1d64c5eb0868d6632193924e2bf5af52bc0f7 | 2,236 | cpp | C++ | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | 3 | 2021-05-12T21:54:48.000Z | 2021-12-20T02:59:00.000Z | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | null | null | null | practica1/main.cpp | Martincho07/IG-mini-PT | 673a039e1ae352a42cf745ff661343355d924e41 | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************************
* Main
*
* File: main.cpp
* Author: Fernando Peña (NIA: 756012)
* Author: Jose Daniel Subias Sarrato (NIA: 759533)
* Date: 22/10/2020
* Coms: Informática Gráfica, curso 2020-2021
**************************************************... | 28.303797 | 86 | 0.518336 | Martincho07 |
ba0ab0bda46bd38232003acc1728cf69c2ae1133 | 2,512 | cpp | C++ | C++/InfoArena/Arhiva probleme/Admitere-fmi-2016/admitere-fmi-2016.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Admitere-fmi-2016/admitere-fmi-2016.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Admitere-fmi-2016/admitere-fmi-2016.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define debug(x) cerr << #x << " = " << x << "\n"
#define all(x) (x).begin(),(x).end()
#define len(x) (x).length()
#define sqr(x) (x) * (x)
using ull = unsigned long long;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
template <typename T>
o... | 26.442105 | 149 | 0.471338 | Nicu-Ducal |
ba0c0cf86644f707173b77175739e3c603037d30 | 197,369 | cpp | C++ | driver/support_library/tests/CombinerDFSTests.cpp | ARM-software/npu-driver-stack | 1e6b00b21ed4cf39b2df625fa242c6f67c05b19f | [
"Apache-2.0"
] | 4 | 2019-05-31T18:48:24.000Z | 2019-06-04T07:59:39.000Z | driver/support_library/tests/CombinerDFSTests.cpp | ARM-software/npu-driver-stack | 1e6b00b21ed4cf39b2df625fa242c6f67c05b19f | [
"Apache-2.0"
] | null | null | null | driver/support_library/tests/CombinerDFSTests.cpp | ARM-software/npu-driver-stack | 1e6b00b21ed4cf39b2df625fa242c6f67c05b19f | [
"Apache-2.0"
] | null | null | null | // Copyright © 2021-2022 Arm Limited.
// SPDX-License-Identifier: Apache-2.0
//
#include "../src/DebuggingContext.hpp"
#include "../src/GraphNodes.hpp"
#include "../src/SramAllocator.hpp"
#include "../src/cascading/Cascading.hpp"
#include "../src/cascading/CombinerDFS.hpp"
#include "../src/cascading/ConcatPart.hpp"
#i... | 48.541318 | 164 | 0.628381 | ARM-software |
ba0d31e39ef4f85c0e2dfa6afda08a143e037513 | 1,252 | cpp | C++ | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | tests/SES_Variable_Mult_Div_Constructor_Tests.cpp | dolovnyak/simple-equation-solver | a10b44cb6f6de86441c3216c07c7ec8b761d97ae | [
"Unlicense"
] | null | null | null | #include "utilities.hpp"
#include <gtest/gtest.h>
#include "SES_Variable.hpp"
class SES_Variable_Mult_Div_Constructor_Tests : public ::testing::Test {
};
TEST_F(SES_Variable_Mult_Div_Constructor_Tests, SES_Var_Constructor_Test) {
try {
SES_Variable var0(2, 0);
ASSERT_TRUE(var0.GetDegree() == 0);
ASSERT_TRUE(va... | 27.822222 | 75 | 0.699681 | dolovnyak |
ba0d36a910a9713b8e48b75253d87a9fbcf54538 | 8,896 | cpp | C++ | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null | src/test/cstdint.cpp | danitzarqp106/Prueba | 06635ca46a68306073e542b7cb4b519858e44dc2 | [
"BSL-1.0"
] | null | null | null |
// Copyright John McFarlane 2015 - 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//#include <limits>
#include <sg14/cstdint>
#include <sg14/limits>
#include <sg14/type_traits>
... | 46.333333 | 131 | 0.712005 | danitzarqp106 |
ba0fbc2d1416f552068040e584ecf7608df73d6a | 10,432 | cc | C++ | L1Trigger/L1TMuon/src/Phase2/L1TDisplacedMuonBuilder.cc | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuon/src/Phase2/L1TDisplacedMuonBuilder.cc | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuon/src/Phase2/L1TDisplacedMuonBuilder.cc | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | #include "L1Trigger/L1TMuon/src/Phase2/L1TDisplacedMuonBuilder.h"
#include "L1Trigger/CSCCommonTrigger/interface/CSCConstants.h"
#include "Geometry/GEMGeometry/interface/GEMGeometry.h"
#include "Geometry/RPCGeometry/interface/RPCGeometry.h"
#include "Geometry/DTGeometry/interface/DTGeometry.h"
#include "Geometry/CSCGeo... | 39.071161 | 382 | 0.635161 | thesps |
ba0fd13a575d76dea574f1dab4f55ebc2ee0478d | 1,879 | cpp | C++ | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | vnext/Shared/Logging.cpp | Thristhart/react-native-windows | 0fed997227c8702c089e64f3276bcab073e80c0c | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "Logging.h"
#include "../Chakra/ChakraPlatform.h"
#include <chrono>
#if !defined(OSS_RN)
#include <cxxreact/Platform.h>
#endif
#if !defined(NOJSC)
#include <jschelpers/Value.h>
#e... | 22.914634 | 79 | 0.70942 | Thristhart |
ba11641eb569cee126f8af43f5ad1c3a79db3611 | 2,003 | hpp | C++ | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | 50 | 2021-06-30T20:01:50.000Z | 2021-11-28T16:21:26.000Z | lib/src/Delphi/Syntax/DelphiCompilationUnitSyntax.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | #ifndef INTERLINCK_DELPHI_SYNTAX_DELPHICOMPILATIONUNITSYNTAX_H
#define INTERLINCK_DELPHI_SYNTAX_DELPHICOMPILATIONUNITSYNTAX_H
#include "interlinck/Core/Syntax/SyntaxKinds.hpp"
#include "interlinck/Core/Types.hpp"
#include "Core/Basic/Macros.hpp"
#include "Delphi/Syntax/DelphiSyntaxNode.hpp"
namespace interlinck::Core... | 37.792453 | 129 | 0.731902 | henrikfroehling |
ba138cc0cd52f2ab06e57c59c26c9671f93abf6e | 1,760 | hpp | C++ | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | srcs/common/syncsamplebox.hpp | Reflectioner/heif | bdac2fc9c66d8c1e8994eaf81f1a5db116b863ab | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2020 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 34.509804 | 115 | 0.731818 | Reflectioner |
ba150ce15d40f32b9d8f1d879118afbb252cffe4 | 1,218 | cpp | C++ | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | windows/RNSVG/LinearGradientViewManager.cpp | kathigeiger42/react-native-svg | a652d0eca8a97821c56c02550ecb89d06c40d2c6 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "LinearGradientViewManager.h"
#include "LinearGradientViewManager.g.cpp"
using namespace winrt;
using namespace Microsoft::ReactNative;
namespace winrt::RNSVG::implementation {
LinearGradientViewManager::LinearGradientViewManager() {
m_class = RNSVG::SVGClass::RNSVGLinearGradient;
m_name... | 36.909091 | 90 | 0.785714 | kathigeiger42 |
ba157120d539cea7b06aad6ff8e56c4fa30238b7 | 8,326 | hpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_lsd_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_lsd_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_lsd_cfg.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_IOS_XR_MPLS_LSD_CFG_
#define _CISCO_IOS_XR_MPLS_LSD_CFG_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_mpls_lsd_cfg {
class MplsLsd : public ydk::Entity
{
public:
MplsLsd();
~... | 44.763441 | 162 | 0.690127 | CiscoDevNet |
ba16aed512c12bf834dbb6e41ef8351c6efa73e6 | 9,649 | cpp | C++ | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | null | null | null | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | null | null | null | src/gluon/widgets/widget.cpp | cmourglia/gluon-old | 9c9a55e86cd8878c0e90917882965c87c84969eb | [
"MIT"
] | 2 | 2022-02-21T19:09:02.000Z | 2022-02-21T19:09:51.000Z | #include "gluon/widgets/widget.h"
#include <beard/containers/hash_map.h>
#include <beard/misc/hash.h>
#include <filesystem>
#include <loguru.hpp>
#include "gluon/widgets/hashes.h"
namespace utils {
glm::vec4 ExtractColor(const beard::array<Token>& tokens) {
glm::vec4 color = {};
if (!tokens.is_empty()) {
T... | 28.717262 | 80 | 0.555809 | cmourglia |
ba17a972246495f385cae882173bbeaeab7b6932 | 9,340 | cpp | C++ | deps/mozjs/js/src/gc/Statistics.cpp | zpao/spidernode | 843d5b5e9be55ce447fd03127aeeb2c7728ae168 | [
"MIT"
] | 48 | 2015-01-09T20:39:35.000Z | 2021-12-21T21:17:52.000Z | deps/mozjs/js/src/gc/Statistics.cpp | ninja1002/spidernode | ada8fc559bd2c047a6e52c78af9d27ab273c87d5 | [
"MIT"
] | 2 | 2016-02-05T10:27:37.000Z | 2019-01-22T16:22:51.000Z | deps/mozjs/js/src/gc/Statistics.cpp | ninja1002/spidernode | ada8fc559bd2c047a6e52c78af9d27ab273c87d5 | [
"MIT"
] | 8 | 2015-01-12T17:14:36.000Z | 2018-09-15T14:10:27.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sw=4 et tw=78:
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file exce... | 27.633136 | 96 | 0.631906 | zpao |
ba19e68c086c7f4b94c91820643d9b37fef1b9c5 | 1,665 | cc | C++ | components/password_manager/core/browser/stub_password_manager_driver.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/password_manager/core/browser/stub_password_manager_driver.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/password_manager/core/browser/stub_password_manager_driver.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/password_manager/core/browser/stub_password_manager_driver.h"
namespace password_manager {
StubPasswordManagerDriver::StubPasswordM... | 27.75 | 82 | 0.785586 | google-ar |
ba1bb02755b1923072a59a726027ef5d6f2d48d0 | 5,359 | cc | C++ | content/browser/webui/web_ui_message_handler_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/webui/web_ui_message_handler_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/webui/web_ui_message_handler_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/web_ui_message_handler.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#inclu... | 33.080247 | 80 | 0.76936 | sarang-apps |