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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6da252170a221badc26ddfae257f327cb7432e2a | 2,082 | cc | C++ | media/filters/video_frame_painter.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | media/filters/video_frame_painter.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | media/filters/video_frame_painter.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.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 "media/filters/video_frame_painter.h"
#include "media/base/video_frame.h"
namespace media {
VideoFramePainter::VideoFramePainter(
const ba... | 28.135135 | 75 | 0.760807 | iplo |
6da2f881175bcf938f2cfea7b373a00ba216e819 | 3,095 | cpp | C++ | OP2-Landlord/TileGroups.cpp | OutpostUniverse/op2-landlord | f4256b8bbe4d7d475a49a18ddf00d880e902c14e | [
"Unlicense"
] | null | null | null | OP2-Landlord/TileGroups.cpp | OutpostUniverse/op2-landlord | f4256b8bbe4d7d475a49a18ddf00d880e902c14e | [
"Unlicense"
] | 19 | 2019-12-08T11:40:44.000Z | 2020-02-20T10:32:19.000Z | OP2-Landlord/TileGroups.cpp | OutpostUniverse/op2-landlord | f4256b8bbe4d7d475a49a18ddf00d880e902c14e | [
"Unlicense"
] | 1 | 2019-12-19T03:50:20.000Z | 2019-12-19T03:50:20.000Z | #include "TileGroups.h"
#include "Common.h"
using namespace NAS2D;
/**
* C'Tor
*/
TileGroups::TileGroups()
{
_init();
}
/**
* D'Tor
*/
TileGroups::~TileGroups()
{
mSlider.change().disconnect(this, &TileGroups::mSlider_Changed);
Utility<EventHandler>::get().keyDown().disconnect(this, &TileGroups::onKeyDown);
... | 20.097403 | 116 | 0.677221 | OutpostUniverse |
6da6f09af876f2a62a9fe9b006f6debb52f499aa | 548 | hpp | C++ | module04/ex03/AMateria.hpp | M-Philippe/cpp_piscine | 9584ebcb030c54ca522dbcf795bdcb13a0325f77 | [
"MIT"
] | null | null | null | module04/ex03/AMateria.hpp | M-Philippe/cpp_piscine | 9584ebcb030c54ca522dbcf795bdcb13a0325f77 | [
"MIT"
] | null | null | null | module04/ex03/AMateria.hpp | M-Philippe/cpp_piscine | 9584ebcb030c54ca522dbcf795bdcb13a0325f77 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include "ICharacter.hpp"
class ICharacter;
class AMateria
{
private:
unsigned int _xp;
std::string _type;
public:
AMateria();
AMateria(std::string const& type);
AMateria(const AMateria& org);
AMateria& operator=(const AMateria& org);
virtual ~AMateria();
std::str... | 19.571429 | 43 | 0.684307 | M-Philippe |
6da6f89044475c2b8ead66ccb45021b977a83385 | 2,636 | cpp | C++ | Triangles.cpp | bjonke/Classes | c8b815ce41daa622bff7651d341fdc0322c0aa89 | [
"MIT"
] | null | null | null | Triangles.cpp | bjonke/Classes | c8b815ce41daa622bff7651d341fdc0322c0aa89 | [
"MIT"
] | null | null | null | Triangles.cpp | bjonke/Classes | c8b815ce41daa622bff7651d341fdc0322c0aa89 | [
"MIT"
] | null | null | null | #include "Triangles.h"
#include <SDL.h>
#include "game.h"
#include "ControlGfx.h"
// 1. this should go into every .cpp , after all header inclusions
#ifdef _WIN32
#ifdef _DEBUG
#include <crtdbg.h>
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#define new new( _NORMAL_BLOCK, __FILE__, __LINE__)... | 18.433566 | 141 | 0.66654 | bjonke |
6da853551a901af75ca3d7c68723df5043a676ed | 979 | cpp | C++ | examples/edit_profile.cpp | Xeth/libbitprofile | 49cd266ffa680c6eefaae205bc17c971c2d38b65 | [
"MIT"
] | 1 | 2016-04-17T23:03:39.000Z | 2016-04-17T23:03:39.000Z | examples/edit_profile.cpp | BitProfile/libbitprofile | 49cd266ffa680c6eefaae205bc17c971c2d38b65 | [
"MIT"
] | null | null | null | examples/edit_profile.cpp | BitProfile/libbitprofile | 49cd266ffa680c6eefaae205bc17c971c2d38b65 | [
"MIT"
] | 1 | 2018-08-31T10:56:39.000Z | 2018-08-31T10:56:39.000Z |
#include <iostream>
#include "ethrpc/Provider.hpp"
#include "bitprofile/Resolver.hpp"
#include "utils/PromptPassword.hpp"
int main(int argc, char **argv)
{
if(argc<4)
{
std::cout<<"usage : edit_profile [uri] [key] [value]"<<std::endl;
return 1;
}
std::string password = PromptPassword... | 23.309524 | 85 | 0.603677 | Xeth |
6da9fca3720d4951cd8a9e06ca660333cabbe92b | 73,440 | cpp | C++ | unit_tests/d3d_sharing/d3d_tests.cpp | cmey/compute-runtime | 118bad16dfe523724dfaf8016bfa6fbe6896348b | [
"MIT"
] | null | null | null | unit_tests/d3d_sharing/d3d_tests.cpp | cmey/compute-runtime | 118bad16dfe523724dfaf8016bfa6fbe6896348b | [
"MIT"
] | null | null | null | unit_tests/d3d_sharing/d3d_tests.cpp | cmey/compute-runtime | 118bad16dfe523724dfaf8016bfa6fbe6896348b | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 - 2018, Intel Corporation
*
* 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, ... | 49.688769 | 185 | 0.730079 | cmey |
6dae529a2af96a0f12c8d36af2a25240f491d02d | 671 | cpp | C++ | src/grammar/selections/selection_single.cpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 34 | 2020-08-14T14:32:51.000Z | 2022-02-16T23:20:02.000Z | src/grammar/selections/selection_single.cpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 19 | 2020-08-20T20:04:39.000Z | 2022-02-28T14:34:37.000Z | src/grammar/selections/selection_single.cpp | domoritz/xvega | 3754dee3e7e38e79282ba267cd86c3885807a4cd | [
"BSD-3-Clause"
] | 7 | 2020-08-14T14:18:17.000Z | 2022-02-01T10:59:24.000Z | // Copyright (c) 2020, QuantStack and XVega Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "xvega/grammar/selections/selection_single.hpp"
#include "../selections_private.hpp"
namespace xv
{
select... | 25.807692 | 75 | 0.643815 | domoritz |
6daf054baa92d8e597084d2bdaf79b774c27faad | 19,987 | cpp | C++ | src/AppInstallerCLITests/Completion.cpp | marstr/winget-cli | cca8545f18f51bb094fbd096e1d7700875174754 | [
"MIT"
] | 17,809 | 2020-05-19T15:03:46.000Z | 2022-03-31T16:31:13.000Z | src/AppInstallerCLITests/Completion.cpp | marstr/winget-cli | cca8545f18f51bb094fbd096e1d7700875174754 | [
"MIT"
] | 1,413 | 2020-05-19T15:26:48.000Z | 2022-03-31T23:58:56.000Z | src/AppInstallerCLITests/Completion.cpp | marstr/winget-cli | cca8545f18f51bb094fbd096e1d7700875174754 | [
"MIT"
] | 1,084 | 2020-05-19T15:37:58.000Z | 2022-03-30T17:45:24.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "TestCommon.h"
#include <AppInstallerErrors.h>
#include <Command.h>
#include <Commands/CompleteCommand.h>
#include <Commands/RootCommand.h>
#include <Commands/SourceCommand.h>
#include <CompletionData.h>
usi... | 36.34 | 132 | 0.64687 | marstr |
6db0c728c0f48c2608f9ba75c8319016cfa3543a | 1,525 | cxx | C++ | test/rtkcroptest.cxx | ferdymercury/RTK | 0d524ea7904519f37b5155af35eb41641e231578 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | test/rtkcroptest.cxx | ferdymercury/RTK | 0d524ea7904519f37b5155af35eb41641e231578 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | test/rtkcroptest.cxx | ferdymercury/RTK | 0d524ea7904519f37b5155af35eb41641e231578 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #include "rtkTestConfiguration.h"
#include "rtkCudaCropImageFilter.h"
/**
* \file rtkcroptest.cxx
* \brief Functional test for the classes performing crop filtering
* \author Julien Jomier
*/
int
main(int, char **)
{
constexpr unsigned int Dimension = 3;
using PixelType = float;
using ImageType = itk::CudaIm... | 23.828125 | 111 | 0.662951 | ferdymercury |
6db196ae53f40514ab2f24d72ec64e29a2bb09c6 | 3,445 | hpp | C++ | src/xpcc/architecture/peripheral/one_wire.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | src/xpcc/architecture/peripheral/one_wire.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | src/xpcc/architecture/peripheral/one_wire.hpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | // coding: utf-8
// ----------------------------------------------------------------------------
/* Copyright (c) 2009, Roboterclub Aachen e.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | 39.147727 | 79 | 0.695791 | walmis |
6db31740836ae6a7ae732786328819e484c8dc4a | 819 | hpp | C++ | lte/gateway/c/core/oai/test/amf/util_s6a_update_location.hpp | nstng/magma | dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f | [
"BSD-3-Clause"
] | 539 | 2019-02-25T05:03:10.000Z | 2020-07-24T11:13:15.000Z | lte/gateway/c/core/oai/test/amf/util_s6a_update_location.hpp | nstng/magma | dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f | [
"BSD-3-Clause"
] | 1,729 | 2019-02-25T16:02:33.000Z | 2020-07-24T23:40:07.000Z | lte/gateway/c/core/oai/test/amf/util_s6a_update_location.hpp | nstng/magma | dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f | [
"BSD-3-Clause"
] | 210 | 2019-02-25T13:34:53.000Z | 2020-07-23T20:16:18.000Z | /**
* Copyright 2020 The Magma Authors.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
... | 34.125 | 75 | 0.772894 | nstng |
6db69d403803afc4fcbe18d071895da7619091ad | 7,902 | cp | C++ | aa/2000's - DICE/-DICE10/Source/JSDom/ds_NotePlayer.cp | jht1900/DICE-AGE | 5ecb810f21b7e1075430f71890fc7bb82ec09caf | [
"MIT"
] | null | null | null | aa/2000's - DICE/-DICE10/Source/JSDom/ds_NotePlayer.cp | jht1900/DICE-AGE | 5ecb810f21b7e1075430f71890fc7bb82ec09caf | [
"MIT"
] | null | null | null | aa/2000's - DICE/-DICE10/Source/JSDom/ds_NotePlayer.cp | jht1900/DICE-AGE | 5ecb810f21b7e1075430f71890fc7bb82ec09caf | [
"MIT"
] | null | null | null | /*
JavaScript wrapper for note player
Copyright (c) 2003 John Henry Thompson. All rights reserved.
History:
2003.03.20 jht Created. Integrating JavaScript.
*/
#include "ds_NotePlayer.h"
#include "CNotePlayer.h"
#include "jscntxt.h"
#include "jslock.h"
#define DS_CLASS_NAME "NotePlayer"
// --------------------... | 7,902 | 7,902 | 0.544546 | jht1900 |
6db6bf97c68d3e0e821cca6cdf254fa338c4bf2c | 1,939 | cpp | C++ | ComfyDxEngine/strconv.cpp | makuke1234/ComfyEditor | 72054f1fb60b11df2c3158f3960cff9fcc5c1440 | [
"MIT"
] | null | null | null | ComfyDxEngine/strconv.cpp | makuke1234/ComfyEditor | 72054f1fb60b11df2c3158f3960cff9fcc5c1440 | [
"MIT"
] | null | null | null | ComfyDxEngine/strconv.cpp | makuke1234/ComfyEditor | 72054f1fb60b11df2c3158f3960cff9fcc5c1440 | [
"MIT"
] | null | null | null | #include "pch.hpp"
#include "strconv.hpp"
COMFYDX_API std::string ce::conv(std::wstring_view str)
{
int realSize = ::WideCharToMultiByte(
CP_UTF8,
0,
str.data(),
str.size() + 1,
nullptr,
0,
nullptr,
nullptr
);
std::string out;
out.resize(realSize - 1);
::WideCharToMultiByte(
CP_UTF8,
0,
st... | 17.468468 | 97 | 0.62558 | makuke1234 |
6dbc38407556833735e6241dccdba82f10d2cd71 | 6,867 | cpp | C++ | external/webkit/Source/WebCore/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebCore/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | Source/WebCore/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 34.681818 | 138 | 0.710499 | ghsecuritylab |
6dbfa094199e1b0f5185d7da84e03353a8708676 | 14,970 | cpp | C++ | spoki/libspoki/src/probe/udp_prober.cpp | inetrg/spoki | 599a19366e4cea70e2391471de6f6b745935cddf | [
"MIT"
] | 1 | 2022-02-03T15:35:16.000Z | 2022-02-03T15:35:16.000Z | spoki/libspoki/src/probe/udp_prober.cpp | inetrg/spoki | 599a19366e4cea70e2391471de6f6b745935cddf | [
"MIT"
] | null | null | null | spoki/libspoki/src/probe/udp_prober.cpp | inetrg/spoki | 599a19366e4cea70e2391471de6f6b745935cddf | [
"MIT"
] | null | null | null | /*
* This file is part of the CAF spoki driver.
*
* Copyright (C) 2018-2021
* Authors: Raphael Hiesgen
*
* All rights reserved.
*
* Report any bugs, questions or comments to raphael.hiesgen@haw-hamburg.de
*
*/
#include "spoki/probe/udp_prober.hpp"
#include <arpa/inet.h>
#include <fcntl.h>
#include <iomanip>... | 30.242424 | 80 | 0.620174 | inetrg |
6dbfbda1a41b47286901489eb54c8b71271c448a | 2,639 | cpp | C++ | src/modules/Bots/playerbot/strategy/generic/ConserveManaStrategy.cpp | YggDrazil/-MaNGOsZero0.20 | 6bc64bf5c42cbd1e491c28a4d7a2bf91051323fb | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/modules/Bots/playerbot/strategy/generic/ConserveManaStrategy.cpp | YggDrazil/-MaNGOsZero0.20 | 6bc64bf5c42cbd1e491c28a4d7a2bf91051323fb | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | 20 | 2017-04-10T18:41:58.000Z | 2017-04-10T19:01:12.000Z | src/modules/Bots/playerbot/strategy/generic/ConserveManaStrategy.cpp | YggDrazil/-MaNGOsZero0.20 | 6bc64bf5c42cbd1e491c28a4d7a2bf91051323fb | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | #include "botpch.h"
#include "../../playerbot.h"
#include "ConserveManaStrategy.h"
#include "../../PlayerbotAIConfig.h"
#include "../actions/GenericSpellActions.h"
#include "../values/LastSpellCastValue.h"
using namespace ai;
float ConserveManaMultiplier::GetValue(Action* action)
{
if (action == NULL) return 1.0f... | 29.651685 | 100 | 0.665025 | YggDrazil |
6dc0c5910faebfa6e3655c91a5609e2b4d887e97 | 34,920 | cpp | C++ | PositionBasedDynamics/PositionBasedDynamics.cpp | aibel18/phasechange | 30fa880fbd063b26b7e8187be4231fb40c668335 | [
"MIT"
] | 2 | 2019-11-19T20:15:34.000Z | 2021-11-27T05:08:30.000Z | PositionBasedDynamics/PositionBasedDynamics.cpp | aibel18/phasechange | 30fa880fbd063b26b7e8187be4231fb40c668335 | [
"MIT"
] | null | null | null | PositionBasedDynamics/PositionBasedDynamics.cpp | aibel18/phasechange | 30fa880fbd063b26b7e8187be4231fb40c668335 | [
"MIT"
] | 1 | 2019-11-19T20:15:37.000Z | 2019-11-19T20:15:37.000Z | #include "PositionBasedDynamics.h"
#include "MathFunctions.h"
#include <cfloat>
using namespace PBD;
const Real eps = 1e-6;
const Real compliance = 1e-9;
//////////////////////////////////////////////////////////////////////////
// XPositionBasedDynamics
/////////////////////////////////////////////////////////////... | 27.869114 | 126 | 0.557646 | aibel18 |
6dc3b97fc98bac5991bc99ad8a0ec2f5fb49176b | 7,083 | cpp | C++ | llvm/lib/Target/TargetMachine.cpp | zard49/kokkos-clang | c519a032853e6507075de1807c5730b8239ab936 | [
"Unlicense"
] | 4 | 2015-10-21T05:51:05.000Z | 2015-12-19T06:27:44.000Z | llvm/lib/Target/TargetMachine.cpp | losalamos/kokkos-clang | d68d9c63cea3dbaad33454e4ebc9df829bca24fe | [
"Unlicense"
] | null | null | null | llvm/lib/Target/TargetMachine.cpp | losalamos/kokkos-clang | d68d9c63cea3dbaad33454e4ebc9df829bca24fe | [
"Unlicense"
] | 2 | 2019-11-16T19:03:05.000Z | 2020-03-19T08:32:37.000Z | //===-- TargetMachine.cpp - General Target Information ---------------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 36.699482 | 80 | 0.674855 | zard49 |
6dc4ce01ed2ea3c35f40cd370fb3cc655894c600 | 579 | hpp | C++ | util/Qt/graph.hpp | hyjang/web10g-userland | a2e481e6c1513ceede34caf46cee5306c5495c3e | [
"MIT"
] | null | null | null | util/Qt/graph.hpp | hyjang/web10g-userland | a2e481e6c1513ceede34caf46cee5306c5495c3e | [
"MIT"
] | null | null | null | util/Qt/graph.hpp | hyjang/web10g-userland | a2e481e6c1513ceede34caf46cee5306c5495c3e | [
"MIT"
] | null | null | null | #ifndef GRAPH_HPP
#define GRAPH_HPP
#include <QGraphicsItem>
#include <QSet>
class Graph : public QGraphicsItem
{
// Q_OBJECT
public:
explicit Graph(QRectF rectF, QGraphicsItem *parent=0);
QRectF boundingRect() const { return m_rectF; }
void paint(QPainter *painter,
const QStyleOptionGraphic... | 18.09375 | 65 | 0.690846 | hyjang |
6dc50034dd30ed52d3e8e46b302c3d332471823a | 16,122 | cpp | C++ | src/vhdlConvertor/exprParser.cpp | zegervdv/hdlConvertor | 1f16295d46243563cdf97b7594198f24b7121ff7 | [
"MIT"
] | null | null | null | src/vhdlConvertor/exprParser.cpp | zegervdv/hdlConvertor | 1f16295d46243563cdf97b7594198f24b7121ff7 | [
"MIT"
] | null | null | null | src/vhdlConvertor/exprParser.cpp | zegervdv/hdlConvertor | 1f16295d46243563cdf97b7594198f24b7121ff7 | [
"MIT"
] | null | null | null | #include <hdlConvertor/vhdlConvertor/exprParser.h>
#include <hdlConvertor/notImplementedLogger.h>
#include <hdlConvertor/vhdlConvertor/literalParser.h>
#include <hdlConvertor/vhdlConvertor/referenceParser.h>
#include <hdlConvertor/vhdlConvertor/operatoTypeParser.h>
#include <hdlConvertor/vhdlConvertor/directionParser.h... | 24.803077 | 80 | 0.681677 | zegervdv |
6dc764b2a2f60ce3d5510ffbf5e9afa64c8884e0 | 185 | cpp | C++ | TP2/main.cpp | 73VW/DesignPattern | eb1829af2c2d33b51145f72668daf730529c2a41 | [
"MIT"
] | null | null | null | TP2/main.cpp | 73VW/DesignPattern | eb1829af2c2d33b51145f72668daf730529c2a41 | [
"MIT"
] | null | null | null | TP2/main.cpp | 73VW/DesignPattern | eb1829af2c2d33b51145f72668daf730529c2a41 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream>
#include "commande.cpp"
using namespace std;
int main()
{
Commande commande;
commande.traiter();
}
| 12.333333 | 23 | 0.697297 | 73VW |
6dcbb855d083d4483fb3e85e110cad02714fe174 | 11,881 | cc | C++ | ui/gfx/font_list_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | ui/gfx/font_list_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | null | null | null | ui/gfx/font_list_unittest.cc | domenic/mojo | 53dda76fed90a47c35ed6e06baf833a0d44495b8 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.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 "ui/gfx/font_list.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include ... | 37.958466 | 80 | 0.717785 | domenic |
6dcd801a43b8826bb596e3af0906b4f25c124556 | 4,762 | cpp | C++ | qttools/src/assistant/clucene/qindexwriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qttools/src/assistant/clucene/qindexwriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qttools/src/assistant/clucene/qindexwriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
** All rights reserved.
**
** Portion Copyright (C) 2015 The Qt Company Ltd.
** All rights reserved.
**
** This file may be used under the terms of the GNU Lesser General Pub... | 24.802083 | 95 | 0.705376 | wgnet |
6dd17cfb97d787d5d3d55c3c5bacb036538ad047 | 5,934 | cpp | C++ | tests/unit/queue/bounded_queue_fulness.cpp | simple555a/libcds | d05a0909402369d4a79eb82aed1742a7b227548b | [
"BSD-2-Clause"
] | null | null | null | tests/unit/queue/bounded_queue_fulness.cpp | simple555a/libcds | d05a0909402369d4a79eb82aed1742a7b227548b | [
"BSD-2-Clause"
] | null | null | null | tests/unit/queue/bounded_queue_fulness.cpp | simple555a/libcds | d05a0909402369d4a79eb82aed1742a7b227548b | [
"BSD-2-Clause"
] | 1 | 2020-02-01T15:18:59.000Z | 2020-02-01T15:18:59.000Z | //$$CDS-header$$
#include "cppunit/thread.h"
#include "queue/queue_type.h"
#include "queue/queue_defs.h"
/*
Bounded queue test.
The test checks the behaviour of bounded queue when it is almost full.
Many algorithms says the queue is full when it is not, and vice versa.
*/
namespace queue {
#define TEST_... | 31.231579 | 101 | 0.518874 | simple555a |
6dd2972c21462a9ef68480d4cc1f537fb7d9b2c7 | 6,219 | cc | C++ | src/chrome/browser/renderer_preferences_util.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | chrome/browser/renderer_preferences_util.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/renderer_preferences_util.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/renderer_preferences_util.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chr... | 41.738255 | 80 | 0.785014 | jxjnjjn |
6dd407679aa48a78272b0154daecd901ae26b3be | 5,023 | cpp | C++ | libautom8/src/util/ssl_certificate.cpp | clangen/autom8 | 69db4176fecd133fc352a95176dbc812d43e128f | [
"Artistic-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2019-03-02T03:48:28.000Z | 2022-03-28T10:54:54.000Z | libautom8/src/util/ssl_certificate.cpp | clangen/autom8 | 69db4176fecd133fc352a95176dbc812d43e128f | [
"Artistic-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-07-15T21:42:11.000Z | 2020-07-15T21:42:11.000Z | libautom8/src/util/ssl_certificate.cpp | clangen/autom8 | 69db4176fecd133fc352a95176dbc812d43e128f | [
"Artistic-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #include <autom8/util/ssl_certificate.hpp>
#include <autom8/util/utility.hpp>
#include <autom8/util/debug.hpp>
#include <openssl/pem.h>
#include <openssl/conf.h>
#include <openssl/x509v3.h>
#include <openssl/engine.h>
#include <openssl/md5.h>
#include <boost/filesystem.hpp>
static const std::string TAG = "ssl_certif... | 29.721893 | 102 | 0.53693 | clangen |
6dda6cee376d4dd37e25950b6a38d34b92f81ac3 | 4,348 | cpp | C++ | src/slp2enc.cpp | aurtg/lzd | 64392c6d06511233fbcd0f98f9337e9df5ef7cbe | [
"MIT"
] | 9 | 2015-04-14T14:44:10.000Z | 2022-01-21T01:04:19.000Z | src/slp2enc.cpp | aurtg/lzd | 64392c6d06511233fbcd0f98f9337e9df5ef7cbe | [
"MIT"
] | null | null | null | src/slp2enc.cpp | aurtg/lzd | 64392c6d06511233fbcd0f98f9337e9df5ef7cbe | [
"MIT"
] | 3 | 2018-11-04T14:17:53.000Z | 2020-02-19T05:07:45.000Z | #include <string>
#include <vector>
#include <iostream>
#include "slp2enc.hpp"
#include "lcacomp/cfg2enc.h"
#include "lcacomp/enc2txt.h"
#define INLINE __inline
#define BUFF_SIZE 32768
static char wbuffer[BUFF_SIZE];
static uint bufpos = 0;
static uint bits(uint n);
static void expandLeaf(RULE *rule, CODE code);
... | 25.576471 | 140 | 0.594756 | aurtg |
6ddb8a0d491e836c8d3aa581dbf46e50e0970fe6 | 1,486 | cpp | C++ | src/unity/toolkits/coreml_export/coreml_export_utils.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | src/unity/toolkits/coreml_export/coreml_export_utils.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-11T10:37:10.000Z | 2018-12-11T10:37:10.000Z | src/unity/toolkits/coreml_export/coreml_export_utils.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2019-06-01T18:49:28.000Z | 2019-06-01T18:49:28.000Z | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#include <unity/toolkits/coreml_export/coreml_export_utils.hpp>
#include <memory>
#include <map>
#i... | 32.304348 | 101 | 0.685734 | shreyasvj25 |
6de09fb1b04efbe15702b64c4ef720b0da7364d4 | 1,440 | hh | C++ | src/core/include/chase/representation/DataDeclaration.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | 4 | 2019-06-15T15:33:37.000Z | 2022-02-10T19:10:50.000Z | src/core/include/chase/representation/DataDeclaration.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | null | null | null | src/core/include/chase/representation/DataDeclaration.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | 3 | 2018-02-02T18:14:48.000Z | 2021-01-31T12:18:25.000Z | /**
* @author <a href="mailto:michele.lora@univr.it">Michele Lora</a>
* @date 2019
* @copyright Copyright (c) 2019 by University of Verona.
* Copyright (c) 2019 by Singapore University of Technology and Design.
* All rights reserved.
* This project is released ... | 29.387755 | 84 | 0.577083 | chase-cps |
6de46b18834dae0b5f98af81a29cf82695c7f490 | 2,799 | cpp | C++ | ObjectIterator.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | 49 | 2015-08-10T09:53:45.000Z | 2021-05-31T23:12:56.000Z | ObjectIterator.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | null | null | null | ObjectIterator.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | 22 | 2015-10-27T13:53:06.000Z | 2021-12-01T07:36:03.000Z | ////////////////////////////////////////////////////////////////////////////////
//! \file ObjectIterator.cpp
//! \brief The ObjectIterator class definition.
//! \author Chris Oldwood
#include "Common.hpp"
#include "ObjectIterator.hpp"
#include "Exception.hpp"
#include <Core/BadLogicException.hpp>
namespace WMI
{
... | 23.521008 | 96 | 0.526617 | deepdubey06 |
6de6512a92705005368359d0102b3b8308562690 | 676 | hpp | C++ | CToC++/CToC++/Leetcode/LeetCodeSolution2.hpp | UCliwenbin/AlgorithmCPP | 3cb4a6a9510682b5d4dc956826d263ab778a2a00 | [
"MIT"
] | 1 | 2021-02-25T08:00:43.000Z | 2021-02-25T08:00:43.000Z | CToC++/CToC++/Leetcode/LeetCodeSolution2.hpp | UCliwenbin/AlgorithmCPP | 3cb4a6a9510682b5d4dc956826d263ab778a2a00 | [
"MIT"
] | null | null | null | CToC++/CToC++/Leetcode/LeetCodeSolution2.hpp | UCliwenbin/AlgorithmCPP | 3cb4a6a9510682b5d4dc956826d263ab778a2a00 | [
"MIT"
] | null | null | null | //
// LeetCodeSolution2.hpp
// CToC++
//
// Created by mac on 2020/7/6.
// Copyright © 2020 lwb. All rights reserved.
//
#ifndef LeetCodeSolution2_hpp
#define LeetCodeSolution2_hpp
#include <stdio.h>
#include "ListNode.hpp"
/**
给出两个 非空的链表用来表示两个非负的整数。其中,它们各自的位数是按照 逆序 的方式存储的,并且它们的每个节点只能存储 一位 数字。如果,我们将这两个数相加起来,则会返... | 19.314286 | 100 | 0.692308 | UCliwenbin |
6de770809fe62cf2b6799d2c699f1a31c2a75a49 | 660 | cpp | C++ | c++/day10/39.cpp | msoild/sword-to-offer | 6c15c78ad773da0b66cb76c9e01292851aca45c5 | [
"MIT"
] | null | null | null | c++/day10/39.cpp | msoild/sword-to-offer | 6c15c78ad773da0b66cb76c9e01292851aca45c5 | [
"MIT"
] | null | null | null | c++/day10/39.cpp | msoild/sword-to-offer | 6c15c78ad773da0b66cb76c9e01292851aca45c5 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
//空树 也是对称的
class Solution {
public:
bool isSymmetric(TreeNode* root) {
if(root == nullptr) return true;
... | 24.444444 | 92 | 0.531818 | msoild |
6de958529b324b639289d323abbd81ce003610f6 | 29,040 | cpp | C++ | clicache/src/TypeRegistry.cpp | echobravopapa/geode-native | f35a0f89c3bb97d309b3c8f507af23d0f4fb2f19 | [
"Apache-2.0"
] | null | null | null | clicache/src/TypeRegistry.cpp | echobravopapa/geode-native | f35a0f89c3bb97d309b3c8f507af23d0f4fb2f19 | [
"Apache-2.0"
] | null | null | null | clicache/src/TypeRegistry.cpp | echobravopapa/geode-native | f35a0f89c3bb97d309b3c8f507af23d0f4fb2f19 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 38.927614 | 148 | 0.648106 | echobravopapa |
6dea5222d43bbb96b973f258be15ad50c39c15f9 | 5,652 | cxx | C++ | phys-services/private/test/SmoothnessTest.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | phys-services/private/test/SmoothnessTest.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | phys-services/private/test/SmoothnessTest.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | #include <I3Test.h>
#include "phys-services/I3Calculator.h"
#include "phys-services/I3Cuts.h"
#include "dataclasses/I3Position.h"
#include "dataclasses/physics/I3Particle.h"
#include "dataclasses/geometry/I3Geometry.h"
#include "dataclasses/physics/I3RecoPulse.h"
using namespace I3Calculator;
using namespace I3Cuts;
... | 27.570732 | 67 | 0.757431 | hschwane |
6df35c5957597cb0599205a9322f0756fe589c88 | 4,811 | cpp | C++ | pg2/TutorialsVSB/Viewer/demo_mid_5.cpp | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | pg2/TutorialsVSB/Viewer/demo_mid_5.cpp | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | pg2/TutorialsVSB/Viewer/demo_mid_5.cpp | jsimck/uni | 42ea184ccf3d9ecbffdea19b74ed13f3bc583137 | [
"MIT"
] | null | null | null | #include "demo5.h"
#include "vao_SceneOrigin.h"
#include "vao_GridXY.h"
#include "vao.h"
#include "entity_SceneOrigin.h"
#include "entity_GridXY.h"
#include "entity_OBJ.h"
void Demo_mid_5::initShaders()
{
addResPath("shaders/");
initShaderProgram("simple_v3_c4.vert", "simple_v3_c4.frag", 0);
initShaderProgram("ma... | 28.808383 | 104 | 0.729162 | jsimck |
6df5a327a215535e0569aec43763957c08235843 | 10,179 | cc | C++ | content/renderer/media/mock_peer_connection_impl.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/media/mock_peer_connection_impl.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/media/mock_peer_connection_impl.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/mock_peer_connection_impl.h"
#include <vector>
#include "base/logging.h"
#include "content/renderer/media/webrtc/mo... | 29.938235 | 82 | 0.725022 | sunjc53yy |
6df63845e16b4a91e576312b7a19ec96fd547c3f | 14,774 | cpp | C++ | src/tdme/os/filesystem/ArchiveFileSystem.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/os/filesystem/ArchiveFileSystem.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/os/filesystem/ArchiveFileSystem.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | #include <tdme/os/filesystem/ArchiveFileSystem.h>
#include <string.h>
#include <algorithm>
#include <cassert>
#include <fstream>
#include <string>
#include <vector>
#include <ext/sha256/sha256.h>
#include <ext/zlib/zlib.h>
#include <tdme/math/Math.h>
#include <tdme/os/filesystem/FileNameFilter.h>
#include <tdme/os/... | 33.501134 | 128 | 0.727156 | mahula |
6df66952fbe162513712d1d5d58242fcb2073c3c | 559 | cpp | C++ | LeetCode/ThousandOne/0049-group_anagram.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0049-group_anagram.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0049-group_anagram.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 49. 字母异位词分组
给定一个字符串数组,将字母异位词组合在一起。
字母异位词指字母相同,但排列不同的字符串。
示例:
输入: ["eat", "tea", "tan", "ate", "nat", "bat"]
输出:
[
["ate","eat","tea"],
["nat","tan"],
["bat"]
]
说明:
所有输入均为小写字母。
不考虑答案输出的顺序。
*/
vector<vector<string>> groupAnagrams(vector<string>& S)
{
vector<vector<string>> R;
unor... | 13 | 55 | 0.586762 | Ginkgo-Biloba |
6df9137ff2548bd4d6527f8a75816f024a948b97 | 6,618 | cpp | C++ | aws-cpp-sdk-ec2/source/model/AnalysisPacketHeader.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-ec2/source/model/AnalysisPacketHeader.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-ec2/source/model/AnalysisPacketHeader.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/AnalysisPacketHeader.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <... | 32.600985 | 166 | 0.700514 | perfectrecall |
6dfa216ab4d8db16a36b5aea8d3c1e7ead15774f | 3,413 | hpp | C++ | src/types/inc/utils.hpp | hackecord/terminal | c0111a706db017719ea11c3219522f8f8e5542cc | [
"MIT"
] | 4 | 2019-05-09T12:47:49.000Z | 2020-06-16T22:08:57.000Z | src/types/inc/utils.hpp | ironyman/terminal | 1e2f203395424a0304efe16d955e5b14fd3a5e56 | [
"MIT"
] | null | null | null | src/types/inc/utils.hpp | ironyman/terminal | 1e2f203395424a0304efe16d955e5b14fd3a5e56 | [
"MIT"
] | 1 | 2020-05-13T09:07:40.000Z | 2020-05-13T09:07:40.000Z | /*++
Copyright (c) Microsoft Corporation
Module Name:
- utils.hpp
Abstract:
- Helpful cross-lib utilities
Author(s):
- Mike Griese (migrie) 12-Jun-2018
--*/
// Inspired from RETURN_IF_WIN32_BOOL_FALSE
// WIL doesn't include a RETURN_BOOL_IF_FALSE, and RETURN_IF_WIN32_BOOL_FALSE
// will actually retu... | 33.460784 | 101 | 0.572517 | hackecord |
6dfb5ea91cb70949e1ce0ee52a8b0bd7d293a7cc | 5,134 | cc | C++ | src/node/old_version/activation_node.cc | huichengz0520/intellgraph | 00173f4c24a6314c85b4a091b2475ae157a2d814 | [
"Apache-2.0"
] | 1 | 2019-04-24T19:10:05.000Z | 2019-04-24T19:10:05.000Z | src/node/old_version/activation_node.cc | huichengz0520/intellgraph | 00173f4c24a6314c85b4a091b2475ae157a2d814 | [
"Apache-2.0"
] | null | null | null | src/node/old_version/activation_node.cc | huichengz0520/intellgraph | 00173f4c24a6314c85b4a091b2475ae157a2d814 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 The IntellGraph 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 by applicable law or agr... | 29.170455 | 80 | 0.639073 | huichengz0520 |
6dfcb9da3604e0f4e74156704e3bfd2d799222b0 | 2,733 | cpp | C++ | src/options.cpp | jake-stewart/jmatrix | cf42ae4a3cd11500c071f451e783ee3ff16905a7 | [
"MIT"
] | null | null | null | src/options.cpp | jake-stewart/jmatrix | cf42ae4a3cd11500c071f451e783ee3ff16905a7 | [
"MIT"
] | null | null | null | src/options.cpp | jake-stewart/jmatrix | cf42ae4a3cd11500c071f451e783ee3ff16905a7 | [
"MIT"
] | null | null | null | #include "../include/options.hpp"
#include "../include/util.hpp"
#include <string.h>
#include <stdio.h>
bool read_options(int argc, char **argv, Options *options) {
for (int i = 1; i < argc; i++) {
char *arg = argv[i];
if (strcmp(arg, "--fg") == 0) {
if (++i == argc) {
... | 27.606061 | 72 | 0.394072 | jake-stewart |
6dfce865c2413be5e4fd7cef14edcd01f9dd0734 | 299 | cpp | C++ | Source/KInk/Private/Player/CustomPlayerState.cpp | DanySpin97/KInk | e9f65cfe20aab39a09467bf8e96e0cc06697a29f | [
"MIT"
] | 4 | 2016-11-30T04:39:51.000Z | 2018-06-29T06:38:27.000Z | Source/KInk/Private/Player/CustomPlayerState.cpp | DanySpin97/KInk | e9f65cfe20aab39a09467bf8e96e0cc06697a29f | [
"MIT"
] | null | null | null | Source/KInk/Private/Player/CustomPlayerState.cpp | DanySpin97/KInk | e9f65cfe20aab39a09467bf8e96e0cc06697a29f | [
"MIT"
] | null | null | null | // Copyright (c) 2016 WiseDragonStd
#include "KInk.h"
#include "CustomPlayerState.h"
void ACustomPlayerState::ResetNewGame()
{
CurrentHealth = MaxHealth;
FireRate = 1.f / (Rate / 50.f);
CurrentWeaponType = EWeapon::WFireGun;
CurrentScore = 0;
CurrentEnemyKilled = 0;
bBigKraken = false;
}
| 17.588235 | 39 | 0.722408 | DanySpin97 |
6dfd1a203c5da15d62192d31099576cfa43dfa26 | 7,204 | cxx | C++ | src/util/GuideObject.cxx | rita0222/FK | bc5786a5da0dd732e2f411c1a953b331323ee432 | [
"BSD-3-Clause"
] | 4 | 2020-05-15T03:43:53.000Z | 2021-06-05T16:21:31.000Z | src/util/GuideObject.cxx | rita0222/FK | bc5786a5da0dd732e2f411c1a953b331323ee432 | [
"BSD-3-Clause"
] | 1 | 2020-05-19T09:27:16.000Z | 2020-05-21T02:12:54.000Z | src/util/GuideObject.cxx | rita0222/FK | bc5786a5da0dd732e2f411c1a953b331323ee432 | [
"BSD-3-Clause"
] | null | null | null | #include <FK/GuideObject.h>
#include <FK/Scene.h>
using namespace FK;
using namespace std;
namespace FK {
fk_Guide operator | (fk_Guide argL, fk_Guide argR) {
return static_cast<fk_Guide>(static_cast<unsigned int>(argL) |
static_cast<unsigned int>(argR));
}
fk_Guide operator & (fk_Guide argL, fk_Gu... | 29.284553 | 93 | 0.666297 | rita0222 |
6dfd6f3caf884c8361b5cf78f2d3e7c0305fcc37 | 25,607 | cpp | C++ | src/integer_object.cpp | natalie-lang/natalie | 5597f401a41128631c92378b99bf3e8b5393717b | [
"MIT"
] | 7 | 2022-03-08T08:47:54.000Z | 2022-03-29T15:08:36.000Z | src/integer_object.cpp | natalie-lang/natalie | 5597f401a41128631c92378b99bf3e8b5393717b | [
"MIT"
] | 12 | 2022-03-10T13:04:42.000Z | 2022-03-24T01:40:23.000Z | src/integer_object.cpp | natalie-lang/natalie | 5597f401a41128631c92378b99bf3e8b5393717b | [
"MIT"
] | 5 | 2022-03-13T17:46:16.000Z | 2022-03-31T07:28:26.000Z | #include "natalie.hpp"
#include <math.h>
namespace Natalie {
Value IntegerObject::create(const Integer &integer) {
if (integer.is_bignum())
return new IntegerObject { integer };
return Value::integer(integer.to_nat_int_t());
}
Value IntegerObject::create(const char *string) {
return new IntegerOb... | 30.963724 | 144 | 0.60171 | natalie-lang |
6dfdca496e34bebae5278e7abcc47dcd8ed1f6ca | 777 | cpp | C++ | test/system/test_sys_util.cpp | mzxdream/mzx | 831b8ec761af78678f9588f927e12a2279c0b2d7 | [
"Apache-2.0"
] | 1 | 2019-04-26T02:54:06.000Z | 2019-04-26T02:54:06.000Z | test/system/test_sys_util.cpp | mzxdream/mzx | 831b8ec761af78678f9588f927e12a2279c0b2d7 | [
"Apache-2.0"
] | null | null | null | test/system/test_sys_util.cpp | mzxdream/mzx | 831b8ec761af78678f9588f927e12a2279c0b2d7 | [
"Apache-2.0"
] | null | null | null | #include <functional>
#include <iostream>
#include <mzx/system/sys_util.h>
void Test3()
{
std::cout << 3 << std::endl;
std::cout << mzx::BackTrace() << std::endl;
}
void Test2()
{
std::cout << 2 << std::endl;
Test3();
}
void Test1()
{
std::cout << 1 << std::endl;
Test2();
}
void Test()
{
... | 18.5 | 62 | 0.491634 | mzxdream |
a300f8530681b7011e461d6a2778e77172497a22 | 151 | cpp | C++ | PanGuEngine/PanGuEngine/Renderer/Component.cpp | Litmin/PanGuEngine | 777286f811c925b489b9d13c0d174e050e284450 | [
"MIT"
] | 41 | 2020-10-20T06:13:47.000Z | 2022-03-23T16:12:22.000Z | PanGuEngine/PanGuEngine/Renderer/Component.cpp | Litmin/PanGuEngine | 777286f811c925b489b9d13c0d174e050e284450 | [
"MIT"
] | null | null | null | PanGuEngine/PanGuEngine/Renderer/Component.cpp | Litmin/PanGuEngine | 777286f811c925b489b9d13c0d174e050e284450 | [
"MIT"
] | 3 | 2021-04-17T06:34:11.000Z | 2021-04-27T04:58:43.000Z | #include "pch.h"
#include "Component.h"
#include "GameObject.h"
void Component::SetGameObject(GameObject* gameObject)
{
m_GameObject = gameObject;
}
| 16.777778 | 53 | 0.754967 | Litmin |
a3030862fe75ca67d8685d7ea97b33824c871e61 | 1,243 | cpp | C++ | Source/src/Modules/ModuleSceneManager.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | 1 | 2021-11-17T19:20:07.000Z | 2021-11-17T19:20:07.000Z | Source/src/Modules/ModuleSceneManager.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | Source/src/Modules/ModuleSceneManager.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | #include "ModuleSceneManager.h"
#include "../Importers/SceneImporter.h"
#include "../Utils/Logger.h"
ModuleSceneManager::ModuleSceneManager() {}
ModuleSceneManager::~ModuleSceneManager() {}
bool ModuleSceneManager::Init()
{
LOG("Creating Empty scene");
// main_scene = new Scene();
main_scene = SceneImporter::L... | 21.067797 | 105 | 0.761062 | Erick9Thor |
a305c946640b9027e37419cc4c927c69de8ea1f5 | 4,182 | cpp | C++ | pingpong_server/pingpong_server.cpp | SammyEnigma/st_asio_wrapper | 171c3f3937423f8c02dbcfcd2754f24a2b9b2694 | [
"BSL-1.0"
] | null | null | null | pingpong_server/pingpong_server.cpp | SammyEnigma/st_asio_wrapper | 171c3f3937423f8c02dbcfcd2754f24a2b9b2694 | [
"BSL-1.0"
] | null | null | null | pingpong_server/pingpong_server.cpp | SammyEnigma/st_asio_wrapper | 171c3f3937423f8c02dbcfcd2754f24a2b9b2694 | [
"BSL-1.0"
] | null | null | null |
#include <iostream>
//configuration
#define ST_ASIO_SERVER_PORT 9527
#define ST_ASIO_REUSE_OBJECT //use objects pool
#define ST_ASIO_DELAY_CLOSE 5 //define this to avoid hooks for async call (and slightly improve efficiency)
#define ST_ASIO_SYNC_DISPATCH
#define ST_ASIO_MSG_BUFFER_SIZE 65536
#define ST_ASIO_INPUT_Q... | 37.339286 | 156 | 0.751315 | SammyEnigma |
a3088a5f88b3b215782720df2b4b9fb8543027f0 | 33,287 | cpp | C++ | app/bin/miner/xmr-stak/xmrstak/misc/executor.cpp | chrisknepper/electron-gui-crypto-miner | e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2 | [
"MIT"
] | 2 | 2018-01-25T04:29:57.000Z | 2020-02-13T15:30:55.000Z | app/bin/miner/xmr-stak/xmrstak/misc/executor.cpp | chrisknepper/electron-gui-crypto-miner | e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2 | [
"MIT"
] | 1 | 2019-05-26T17:51:57.000Z | 2019-05-26T17:51:57.000Z | app/bin/miner/xmr-stak/xmrstak/misc/executor.cpp | chrisknepper/electron-gui-crypto-miner | e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2 | [
"MIT"
] | 5 | 2018-02-17T11:32:37.000Z | 2021-02-26T22:26:07.000Z | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* bu... | 25.985168 | 162 | 0.665245 | chrisknepper |
a30a9ce13359aa219e2aa5edf31339eda28e5ace | 2,245 | cpp | C++ | Povox/src/Povox/Core/Application.cpp | PowerOfNames/PonX | cac2c67168857409b40f9f76e9570868668370fd | [
"Apache-2.0"
] | null | null | null | Povox/src/Povox/Core/Application.cpp | PowerOfNames/PonX | cac2c67168857409b40f9f76e9570868668370fd | [
"Apache-2.0"
] | null | null | null | Povox/src/Povox/Core/Application.cpp | PowerOfNames/PonX | cac2c67168857409b40f9f76e9570868668370fd | [
"Apache-2.0"
] | null | null | null | #include "pxpch.h"
#include "Povox/Core/Application.h"
#include "Povox/Core/Log.h"
#include "Povox/Core/Input.h"
#include "Povox/Renderer/Renderer.h"
#include "Povox/Renderer/VoxelRenderer.h"
#include "Povox/Core/Time.h"
namespace Povox {
Application* Application::s_Instance = nullptr;
Application::Applicatio... | 17.677165 | 88 | 0.688641 | PowerOfNames |
a30e12080f569961f7373a9c7fdb69677d5d122b | 2,146 | cpp | C++ | libs/system/src/crc.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | 2 | 2019-02-20T02:36:05.000Z | 2019-02-20T02:46:51.000Z | libs/system/src/crc.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | null | null | null | libs/system/src/crc.cpp | skair39/mrpt | 88238f8ac1abdcf15401e14dc3a9faa5c59ba559 | [
"BSD-3-Clause"
] | null | null | null | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 24.953488 | 80 | 0.553122 | skair39 |
a30e7225628fd1e8a447dde0aede0a3487632dca | 12,025 | cpp | C++ | src/filters/transform/Mpeg2DecFilter/mc_sse2.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | src/filters/transform/Mpeg2DecFilter/mc_sse2.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | 1 | 2019-11-14T04:18:32.000Z | 2019-11-14T04:18:32.000Z | src/filters/transform/Mpeg2DecFilter/mc_sse2.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | /*
* $Id: mc_sse2.cpp 1775 2013-01-05 14:19:34Z szl $
*
* (C) 2003-2006 Gabest
* (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE 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 Foundati... | 24.793814 | 94 | 0.642412 | chinajeffery |
a30edb5b7df06e3eeeb36a1e86e746d9db32f323 | 7,084 | cpp | C++ | src/gui/TActionCuePaletteView.cpp | thezealousfool/UltraDV | 470840a298a306495e59fb2d00b730edf04b4506 | [
"Unlicense"
] | null | null | null | src/gui/TActionCuePaletteView.cpp | thezealousfool/UltraDV | 470840a298a306495e59fb2d00b730edf04b4506 | [
"Unlicense"
] | null | null | null | src/gui/TActionCuePaletteView.cpp | thezealousfool/UltraDV | 470840a298a306495e59fb2d00b730edf04b4506 | [
"Unlicense"
] | 2 | 2021-08-19T20:37:23.000Z | 2021-08-20T00:35:19.000Z | //---------------------------------------------------------------------
//
// File: TActionCuePaletteView.cpp
//
// Author: Gene Z. Ragan
//
// Date: 01.26.98
//
// Desc: MediaCue sheet view
//
// Copyright ©1998 mediapede Software
//
//---------------------------------------------------------------------
// Includes
... | 25.482014 | 124 | 0.632129 | thezealousfool |
a30f415007d528b0323b5e899ce825139147b803 | 2,405 | cpp | C++ | src/bindings/bindings.cpp | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | src/bindings/bindings.cpp | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | src/bindings/bindings.cpp | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | /* bindings.cpp -- Python bindings for MMU
* Copyright 2022 Ralph Urlus
*/
#include <pybind11/pybind11.h>
#include <mmu/bindings/confusion_matrix.hpp>
#include <mmu/bindings/metrics.hpp>
#include <mmu/bindings/bvn_error.hpp>
#include <mmu/bindings/pr_bvn_grid.hpp>
#include <mmu/bindings/pr_multn_loglike.hpp>
#includ... | 26.141304 | 58 | 0.730561 | RUrlus |
a31039f4da79a37297db4fae02bc08b2a84540c7 | 4,547 | cpp | C++ | src/demo_server.cpp | xiyou-linuxer/demo | e1176dde72be50732e39e289d91a0c14ece964d7 | [
"MIT"
] | 7 | 2019-04-26T03:49:55.000Z | 2019-04-27T10:03:00.000Z | src/demo_server.cpp | xiyou-linuxer/demo | e1176dde72be50732e39e289d91a0c14ece964d7 | [
"MIT"
] | null | null | null | src/demo_server.cpp | xiyou-linuxer/demo | e1176dde72be50732e39e289d91a0c14ece964d7 | [
"MIT"
] | null | null | null | #include "demo_server.hpp"
#include "statistics.hpp"
namespace Demo {
bool DemoServer::initNetwork() {
Config *config = Config::getInstance();
started_ = true;
if (!config->dev_name.empty()) {
uint32_t addr = Util::getLocalAddr(config->dev_name.c_str());
if (addr) {
listen_ip_ ... | 37.270492 | 121 | 0.607873 | xiyou-linuxer |
a3104b9f1b01da13d583e52f6c986cac2a0d97a9 | 10,665 | cpp | C++ | printtext.cpp | Begasus/beos-fakBEtur | 2cfd06d73801a218f35c0591f071f9fcfa11a747 | [
"MIT"
] | null | null | null | printtext.cpp | Begasus/beos-fakBEtur | 2cfd06d73801a218f35c0591f071f9fcfa11a747 | [
"MIT"
] | null | null | null | printtext.cpp | Begasus/beos-fakBEtur | 2cfd06d73801a218f35c0591f071f9fcfa11a747 | [
"MIT"
] | null | null | null | //
// TODO:
// usunąć niepotrzebne .String()?
// IDEAS:
// szerokosci,parametry dla 80/136 do osobnej tabeli, indeksowac
//
#include "printtext.h"
#include "globals.h"
#include <stdio.h>
printText::printText(int id, sqlite3 *db, int numkopii) : beFakPrint(id,db,numkopii) {
wide = ( p_textcols > 80 );
switch ( p_t... | 30.73487 | 166 | 0.509423 | Begasus |
a31275d7856913dafa17f5eacc7022eb0da992c5 | 807 | hpp | C++ | include/domains/tests/State_test.hpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | include/domains/tests/State_test.hpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | include/domains/tests/State_test.hpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | #include "domains/State.hpp"
#include <gtest/gtest.h>
#include <stdexcept>
#include <string>
TEST(StateTest, StateWithNumbers) {
ASSERT_THROW(State("14"), std::invalid_argument);
ASSERT_THROW(State("154"), std::invalid_argument);
}
TEST(StateTest, StateWithMoreLetters) {
ASSERT_THROW(State("DFT"), std::in... | 25.21875 | 70 | 0.702602 | vieiramanoel |
a312fd88cd17580a38289e199cbd1f8d96b02de7 | 104,535 | cpp | C++ | lib/test/public-api.cpp | K-H-Ismail/irritator | ff9f1706f5d8c93c93131259e91b8db53a6ea146 | [
"BSL-1.0"
] | null | null | null | lib/test/public-api.cpp | K-H-Ismail/irritator | ff9f1706f5d8c93c93131259e91b8db53a6ea146 | [
"BSL-1.0"
] | null | null | null | lib/test/public-api.cpp | K-H-Ismail/irritator | ff9f1706f5d8c93c93131259e91b8db53a6ea146 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2020 INRA 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 <irritator/core.hpp>
#include <irritator/io.hpp>
#include <boost/ut.hpp>
#include <fmt/format.h>
#include <iostream>
struct fi... | 37.240827 | 86 | 0.544258 | K-H-Ismail |
a313388f4eb4f1c7a37a7876290d0f016133ef41 | 4,028 | cpp | C++ | library/json/yson/json2yson.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 4 | 2020-06-24T06:07:52.000Z | 2021-04-16T22:58:09.000Z | library/json/yson/json2yson.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6 | 2020-02-18T22:12:29.000Z | 2020-02-18T22:31:26.000Z | library/json/yson/json2yson.cpp | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1 | 2019-07-01T20:59:01.000Z | 2019-07-01T20:59:01.000Z | #include "json2yson.h"
#include <library/yson/json_writer.h>
#include <library/yson/parser.h>
#include <library/yson/yson2json_adapter.h>
namespace NJson2Yson {
static void WriteJsonValue(const NJson::TJsonValue& jsonValue, NYT::TYson2JsonCallbacksAdapter* adapter) {
switch (jsonValue.GetType()) {
... | 36.954128 | 115 | 0.606753 | HeyLey |
a315495f76fbfbb100e12ea2c9037b4daafcb65d | 3,160 | cpp | C++ | examples_rpx/apps/app2.cpp | alsaibie/MachineRX | a92a951e72fb63b03a69a64bc545c9fe91ccee89 | [
"MIT"
] | null | null | null | examples_rpx/apps/app2.cpp | alsaibie/MachineRX | a92a951e72fb63b03a69a64bc545c9fe91ccee89 | [
"MIT"
] | null | null | null | examples_rpx/apps/app2.cpp | alsaibie/MachineRX | a92a951e72fb63b03a69a64bc545c9fe91ccee89 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2020 Ali AlSaibie
*
* 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, m... | 32.244898 | 115 | 0.640506 | alsaibie |
a315c44ddb945948ae9741af654b6f1a988ff30f | 349 | cpp | C++ | tests/simplelog.backend.spdlog/test_main.cpp | ClausKlein/cxx.simplelog | 73365bd126ca49ab7bd02e2bd53738f296cdb83a | [
"MIT"
] | null | null | null | tests/simplelog.backend.spdlog/test_main.cpp | ClausKlein/cxx.simplelog | 73365bd126ca49ab7bd02e2bd53738f296cdb83a | [
"MIT"
] | 8 | 2020-01-31T20:07:27.000Z | 2021-03-06T13:13:25.000Z | tests/simplelog.backend.spdlog/test_main.cpp | ClausKlein/cxx.simplelog | 73365bd126ca49ab7bd02e2bd53738f296cdb83a | [
"MIT"
] | 3 | 2020-01-31T20:03:24.000Z | 2021-02-28T11:34:42.000Z | /**
* @file tests/simplelog.backend.spdlog/test_main.cpp
* Unit tests main-function by using the doctest C++ testing framework.
*
* @see https://github.com/onqtam/doctest
* @see https://github.com/onqtam/doctest/blob/master/doc/markdown/tutorial.md
**/
// -- TEST MAIN:
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
... | 29.083333 | 78 | 0.74212 | ClausKlein |
a316b21a015649ec3bfba6d1ff255372bff3e6dd | 2,576 | hxx | C++ | xsd-4.0.0/xsd/cxx/tree/comparison-map.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2016-09-21T19:07:13.000Z | 2021-12-13T06:17:36.000Z | xsd-4.0.0/xsd/cxx/tree/comparison-map.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | xsd-4.0.0/xsd/cxx/tree/comparison-map.hxx | beroset/OpenADR-VEN-Library | 16546464fe1dc714a126474aaadf75483ec9cbc6 | [
"Apache-2.0"
] | 12 | 2018-06-10T10:52:56.000Z | 2020-12-08T15:47:13.000Z | // file : xsd/cxx/tree/comparison-map.hxx
// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSD_CXX_TREE_COMPARISON_MAP_HXX
#define XSD_CXX_TREE_COMPARISON_MAP_HXX
#include <map>
#include <cstddef> // std::size_t
#include... | 22.79646 | 72 | 0.586957 | beroset |
a316ef1993a0f3c08ac59c75f35e65fed9c9ebed | 111 | cpp | C++ | Classes/MyMoveTo.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | Classes/MyMoveTo.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | Classes/MyMoveTo.cpp | FrSanchez/snake | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | [
"MIT"
] | null | null | null | //
// MyMoveTo.cpp
// snake-mobile
//
// Created by Francisco Sanchez on 3/15/21.
//
#include "MyMoveTo.h"
| 12.333333 | 44 | 0.630631 | FrSanchez |
a3173f544567b22c78af825942e0376bf6e0364d | 6,161 | cc | C++ | quic/core/crypto/aead_base_encrypter.cc | itangwang/quiche | 6f18a8295cc1f00b1b7e0adad70e7b764cf9dd51 | [
"BSD-3-Clause"
] | 1 | 2020-03-11T03:44:02.000Z | 2020-03-11T03:44:02.000Z | src/net/third_party/quiche/src/quic/core/crypto/aead_base_encrypter.cc | bylond/naiveproxy | a04a8330a8bb0d0892259cf6d795271fbe6e6d0e | [
"BSD-3-Clause"
] | null | null | null | src/net/third_party/quiche/src/quic/core/crypto/aead_base_encrypter.cc | bylond/naiveproxy | a04a8330a8bb0d0892259cf6d795271fbe6e6d0e | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quiche/src/quic/core/crypto/aead_base_encrypter.h"
#include "third_party/boringssl/src/include/openssl/crypto.h"
#include "... | 32.771277 | 80 | 0.677325 | itangwang |
a3176d8ce58478223d630574534c4d0484921d1e | 78 | cpp | C++ | Source/FSD/Private/SoftIconWithColor.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSD/Private/SoftIconWithColor.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSD/Private/SoftIconWithColor.cpp | trumank/DRG-Mods | 2febc879f2ffe83498ac913c114d0e933427e93e | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "SoftIconWithColor.h"
FSoftIconWithColor::FSoftIconWithColor() {
}
| 13 | 42 | 0.782051 | trumank |
a317f39eec7296a1caab6a25cbbf2307d1e38152 | 2,404 | cxx | C++ | vtkm/cont/testing/UnitTestArrayHandleOffsetsToNumComponents.cxx | Kitware/vtk-m | b24a878f72b288d69c9da8c7ac33f08db6d39ba9 | [
"BSD-3-Clause"
] | 14 | 2019-10-25T03:25:47.000Z | 2022-01-19T02:14:53.000Z | vtkm/cont/testing/UnitTestArrayHandleOffsetsToNumComponents.cxx | Kitware/vtk-m | b24a878f72b288d69c9da8c7ac33f08db6d39ba9 | [
"BSD-3-Clause"
] | null | null | null | vtkm/cont/testing/UnitTestArrayHandleOffsetsToNumComponents.cxx | Kitware/vtk-m | b24a878f72b288d69c9da8c7ac33f08db6d39ba9 | [
"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.486486 | 99 | 0.691764 | Kitware |
a3181a0b68c7adc5906f4a8f8b477d6905f260c9 | 387 | cpp | C++ | competitive_programming/programming_contests/uri/flavious_josephus_legend3.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/flavious_josephus_legend3.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/flavious_josephus_legend3.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1030
#include <iostream>
using namespace std;
int josephus(int n, int k) {
if (n == 1) return 0;
return (josephus(n-1, k) + k) % n;
}
int main() {
int n, n1, n2, counter = 1;
cin >> n;
while (n--) {
cin >> n1 >> n2;
cout << "Case " << counter <... | 16.125 | 67 | 0.560724 | LeandroTk |
a31d494ee8bba2254641e5f955b492d03ce109ec | 8,339 | cpp | C++ | src/Engine/PVSearch.cpp | jweathers777/mShogi | 941cd4dc37e6e6210d4f993c96a553753e228b19 | [
"BSD-3-Clause"
] | 4 | 2015-12-24T04:52:48.000Z | 2021-11-09T11:31:36.000Z | src/Engine/PVSearch.cpp | jweathers777/mShogi | 941cd4dc37e6e6210d4f993c96a553753e228b19 | [
"BSD-3-Clause"
] | null | null | null | src/Engine/PVSearch.cpp | jweathers777/mShogi | 941cd4dc37e6e6210d4f993c96a553753e228b19 | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
// Name: PVSearch.cpp
// Description: Implementation for class that performs a
// principle variation search
// Created: 07/09/2004 04:34:22 Eastern Standard Time
// Last Updated: $Date: 2004/09/18 21:59:43 $
// Rev... | 29.570922 | 76 | 0.536515 | jweathers777 |
a31ebf39dff43d2600cd0d600e3a15da9d71d97c | 3,899 | cpp | C++ | ideccmbd/CrdIdecTou/PnlIdecTouHeadbar_blks.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | ideccmbd/CrdIdecTou/PnlIdecTouHeadbar_blks.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | ideccmbd/CrdIdecTou/PnlIdecTouHeadbar_blks.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | /**
* \file PnlIdecTouHeadbar_blks.cpp
* job handler for job PnlIdecTouHeadbar (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 30 Dec 2017
* \date modified: 30 Dec 2017
*/
/******************************************************************************
class PnlIdecTouHeadbar::... | 33.042373 | 92 | 0.615286 | mpsitech |
a320643d640b715c53ff9a7f368226971eaf910f | 571 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/vehicle/DetachAllPartsEvent.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/vehicle/DetachAllPartsEvent.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/vehicle/DetachAllPartsEvent.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/red/Event.hpp>
namespace RED4ext
{
namespace vehicle {
struct DetachAllPartsEvent : red::Event
{
static constexpr const char* NAME = "vehicleDetac... | 25.954545 | 70 | 0.782837 | jackhumbert |
a322f838d16e31946c4de0677916fd636994edf5 | 4,091 | cpp | C++ | kd_tree/ut/kd_tree_ut.cpp | Abergard/rtc | e0cdbbb4a005b7d9f3b10d1a519fcb6be876e65f | [
"MIT"
] | 3 | 2019-05-25T01:03:38.000Z | 2019-06-29T07:43:49.000Z | kd_tree/ut/kd_tree_ut.cpp | Abergard/rtc | e0cdbbb4a005b7d9f3b10d1a519fcb6be876e65f | [
"MIT"
] | 1 | 2019-05-24T22:16:30.000Z | 2019-05-24T22:16:30.000Z | kd_tree/ut/kd_tree_ut.cpp | Abergard/rtc | e0cdbbb4a005b7d9f3b10d1a519fcb6be876e65f | [
"MIT"
] | 1 | 2019-05-24T19:12:44.000Z | 2019-05-24T19:12:44.000Z | #include "gtest/gtest.h"
#include "kd_tree.hpp"
#include "scene_model.hpp"
#include "brs.hpp"
#include "point_in_triangle_test.hpp"
#include "math_plane.hpp"
#include "rtc_log.hpp"
#include "scoped_timer.hpp"
#include "ray_tracer.hpp"
namespace rtc::ut
{
TEST(kd_tree_ut, room_test_found_1032)
{
auto scene = std::m... | 28.608392 | 67 | 0.712051 | Abergard |
a326145e89950ce2e2c611e9bd8f009190efbfd9 | 16,879 | hh | C++ | cpu6502.hh | bellcorreia/cpu6502 | 4fc1bc463ccdfac46e8443bfc14d4cbadf0d5736 | [
"MIT"
] | 3 | 2022-01-21T19:54:57.000Z | 2022-01-23T04:44:56.000Z | cpu6502.hh | bellcorreia/cpu6502 | 4fc1bc463ccdfac46e8443bfc14d4cbadf0d5736 | [
"MIT"
] | null | null | null | cpu6502.hh | bellcorreia/cpu6502 | 4fc1bc463ccdfac46e8443bfc14d4cbadf0d5736 | [
"MIT"
] | null | null | null | /*
* Source code written by Gabriel Correia
*/
#pragma once
#include <array>
#include <cstdint>
#include <string_view>
#include <cstdarg>
#include <fmt/core.h>
/* Set to 1 to enable callback functions */
#define USE_6502_CALLBACKS 1
/* Set to 1 to enable the internal ram memory (You don't will ne... | 38.802299 | 117 | 0.538361 | bellcorreia |
a327eb245ef5889d98c6cc33ccd17c90cae6ee4c | 949 | cpp | C++ | skia/docs/examples/Path_incReserve.cpp | jiangkang/renderer-dog | 8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85 | [
"MIT"
] | null | null | null | skia/docs/examples/Path_incReserve.cpp | jiangkang/renderer-dog | 8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85 | [
"MIT"
] | 1 | 2020-09-13T11:08:17.000Z | 2020-09-13T11:08:17.000Z | skia/docs/examples/Path_incReserve.cpp | jiangkang/renderer-dog | 8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85 | [
"MIT"
] | null | null | null | // Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "fiddle/examples.h"
// HASH=f2260f2a170a54aef5bafe5b91c121b3
REG_FIDDLE(Path_incReserve, 256, 192, false, 0) {
void draw(SkCanvas* canvas) {
auto addPoly = [](int sides, SkScal... | 33.892857 | 100 | 0.601686 | jiangkang |
a32d8d280c919be83153c4b4aa818cf1e3813e78 | 5,655 | hpp | C++ | src/topological_sorting.hpp | hungptit/algorithms | 65d2a4af3c24e1a3bc3421a9dee75bd17f06e7b3 | [
"BSD-2-Clause"
] | null | null | null | src/topological_sorting.hpp | hungptit/algorithms | 65d2a4af3c24e1a3bc3421a9dee75bd17f06e7b3 | [
"BSD-2-Clause"
] | null | null | null | src/topological_sorting.hpp | hungptit/algorithms | 65d2a4af3c24e1a3bc3421a9dee75bd17f06e7b3 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "traversal_policies.hpp"
#include <algorithm>
#include <vector>
namespace graph {
namespace algorithms {
namespace minimum {
template <typename Policy> struct LoopDetector : public Policy {
using index_type = typename Policy::index_type;
usi... | 42.201493 | 88 | 0.396463 | hungptit |
cd11546ea1f13d1c68b459d3a0a1c84a18081463 | 1,496 | cpp | C++ | tools/PTPServerProc/ErrorIds.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | tools/PTPServerProc/ErrorIds.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | tools/PTPServerProc/ErrorIds.cpp | SergeyStrukov/CCore-4-xx | 5faeadd50a24a7dbe18ffff8efe5f49212588637 | [
"BSL-1.0"
] | null | null | null | /* ErrorIds.cpp */
//----------------------------------------------------------------------------------------
//
// Project: PTPServerProc 1.00
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
// Copyright (c) 2021 ... | 25.355932 | 90 | 0.562834 | SergeyStrukov |
cd130eaee54e95d1ac77e222e60be8edc99fc892 | 18,264 | cpp | C++ | 1368 - Truchet Tiling .cpp | anirudha-ani/LightOJ | 619d637f28fce3c9e15d0d3590d59ef75d8d6cb3 | [
"Apache-2.0"
] | 1 | 2020-04-25T03:09:12.000Z | 2020-04-25T03:09:12.000Z | 1368 - Truchet Tiling .cpp | anirudha-ani/LightOJ | 619d637f28fce3c9e15d0d3590d59ef75d8d6cb3 | [
"Apache-2.0"
] | null | null | null | 1368 - Truchet Tiling .cpp | anirudha-ani/LightOJ | 619d637f28fce3c9e15d0d3590d59ef75d8d6cb3 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
string graph[105];
double PI = acos(-1.0);
double area[6];
int test_case , R , C , query_no , row , column;
double BFS(int row , int column)
{
double answer = 0.0;
queue<int> row_line;
queue<int> column_line;
queue<int> type_line;
bool ... | 35.952756 | 128 | 0.426796 | anirudha-ani |
cd155d5b088d7fe5e4a9dff4bd963338c350ef28 | 4,955 | cpp | C++ | ios/Arasan/src/searchc.cpp | mono424/flutter-arasan | 9dc537c6bf84eb52998497fcd0cc754b6a5e22f9 | [
"MIT"
] | 1 | 2021-08-31T06:03:40.000Z | 2021-08-31T06:03:40.000Z | ios/Arasan/src/searchc.cpp | mono424/flutter-arasan | 9dc537c6bf84eb52998497fcd0cc754b6a5e22f9 | [
"MIT"
] | null | null | null | ios/Arasan/src/searchc.cpp | mono424/flutter-arasan | 9dc537c6bf84eb52998497fcd0cc754b6a5e22f9 | [
"MIT"
] | 1 | 2021-08-31T06:03:41.000Z | 2021-08-31T06:03:41.000Z | // Copyright 2006-2008, 2011, 2017-2021 by Jon Dart. All Rights Reserved.
#include "searchc.h"
#include "search.h"
SearchContext::SearchContext() {
history = new ButterflyArray<int>();
counterMoves = new PieceToArray<Move>();
counterMoveHistory = new PieceTypeToMatrix<int>();
fuMoveHistory = new Piece... | 34.409722 | 84 | 0.552775 | mono424 |
cd161f32ec4f2b101167a7517cf0d5818a3562d3 | 8,616 | cpp | C++ | bin/rmf_interpolate.cpp | salilab/rmf | 4895bff9d22381882ac38180bdd025e22bdc7c00 | [
"Apache-2.0"
] | 2 | 2017-12-22T18:09:47.000Z | 2019-12-18T05:00:50.000Z | bin/rmf_interpolate.cpp | salilab/rmf | 4895bff9d22381882ac38180bdd025e22bdc7c00 | [
"Apache-2.0"
] | 5 | 2015-03-07T19:32:39.000Z | 2021-04-22T20:00:10.000Z | bin/rmf_interpolate.cpp | salilab/rmf | 4895bff9d22381882ac38180bdd025e22bdc7c00 | [
"Apache-2.0"
] | 2 | 2015-03-12T18:34:23.000Z | 2015-06-19T20:15:14.000Z | /**
* Copyright 2007-2021 IMP Inventors. All rights reserved.
*/
#include <boost/lexical_cast.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <math.h>
#include <ctime>
#include <exception>
#include <iostream>
#in... | 45.109948 | 80 | 0.591226 | salilab |
cd180f290f5a7d4a21d7636ac0213e28d198ff6a | 2,608 | cpp | C++ | examples/api/linear_arith.cpp | guykatzz/CVC4_idl_lab | 24cb1ed0c7c1445cbfb592a7ebcb454b70897d30 | [
"BSL-1.0"
] | null | null | null | examples/api/linear_arith.cpp | guykatzz/CVC4_idl_lab | 24cb1ed0c7c1445cbfb592a7ebcb454b70897d30 | [
"BSL-1.0"
] | null | null | null | examples/api/linear_arith.cpp | guykatzz/CVC4_idl_lab | 24cb1ed0c7c1445cbfb592a7ebcb454b70897d30 | [
"BSL-1.0"
] | null | null | null | /********************* */
/*! \file linear_arith.cpp
** \verbatim
** Top contributors (to current version):
** Tim King, Morgan Deters
** This file is part of the CVC4 project.
** Copyright (c) 2009-2016 by the authors listed in the file AUTHORS
** in the t... | 30.682353 | 80 | 0.65069 | guykatzz |
cd1f034be9296a516ae1cd49c49cefe74a2ff2a2 | 5,856 | cpp | C++ | samples/Hello/third-party/fuzzylite/fuzzylite/src/activation/Threshold.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/activation/Threshold.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/activation/Threshold.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | /*
fuzzylite (R), a fuzzy logic control library in C++.
Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com>
This file is part of fuzzylite.
fuzzylite is free software: you can redistribute it and/or modify it under
the terms of the FuzzyLite Lic... | 34.245614 | 95 | 0.608265 | okocsis |
cd1f6ba5b738ccf8d12b09698a881e4b19709038 | 760 | hpp | C++ | test/addrlist.hpp | zenomt/rtmfp-cpp | e85d8928d5192c5e16f963ca281a4c5a701dae7b | [
"MIT"
] | 21 | 2021-01-25T07:33:12.000Z | 2022-02-09T08:08:51.000Z | test/addrlist.hpp | zenomt/rtmfp-cpp | e85d8928d5192c5e16f963ca281a4c5a701dae7b | [
"MIT"
] | 2 | 2021-04-25T15:30:27.000Z | 2021-06-26T22:56:31.000Z | test/addrlist.hpp | zenomt/rtmfp-cpp | e85d8928d5192c5e16f963ca281a4c5a701dae7b | [
"MIT"
] | null | null | null | namespace {
bool addrlist_parse(int argc, char * const *argv, int start_at, bool combined, std::vector<com::zenomt::rtmfp::Address> &dst)
{
int parts = combined ? 1 : 2;
while(start_at < argc - parts + 1)
{
com::zenomt::rtmfp::Address each;
if(not each.setFromPresentation(argv[start_at], combined))
{
prin... | 24.516129 | 125 | 0.672368 | zenomt |
cd1f713f12bc396e0d69e0f7c7f8c9bc349a32a6 | 6,568 | cpp | C++ | ProjectEuler/Problems/problem026_050/Solution050.cpp | ankitdixit/code-gems | bdb30ba5c714f416dbf54d479d055458bde36085 | [
"MIT"
] | null | null | null | ProjectEuler/Problems/problem026_050/Solution050.cpp | ankitdixit/code-gems | bdb30ba5c714f416dbf54d479d055458bde36085 | [
"MIT"
] | null | null | null | ProjectEuler/Problems/problem026_050/Solution050.cpp | ankitdixit/code-gems | bdb30ba5c714f416dbf54d479d055458bde36085 | [
"MIT"
] | 2 | 2017-09-30T06:26:02.000Z | 2020-08-20T14:41:55.000Z | // https://projecteuler.net/problem=50
/*
Consecutive prime sum
The prime 41, can be written as the sum of six consecutive primes:
41 = 2 + 3 + 5 + 7 + 11 + 13
This is the longest sum of consecutive primes that adds to a prime below one-hundred.
The longest sum of consecutive primes below one-thousand that adds to a... | 31.127962 | 122 | 0.657278 | ankitdixit |
cd2048965dfdb894aac2e660b85ca7ed263bcc6e | 1,532 | hpp | C++ | libRay/Math/Vector.hpp | RA-Kooi/Ray-Tracer | 8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0 | [
"MIT"
] | 3 | 2019-03-22T02:15:18.000Z | 2019-11-12T08:12:57.000Z | libRay/Math/Vector.hpp | RA-Kooi/Ray-Tracer | 8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0 | [
"MIT"
] | null | null | null | libRay/Math/Vector.hpp | RA-Kooi/Ray-Tracer | 8a4f133c1a7cc479f9f33819eb200d5a3ffa48d0 | [
"MIT"
] | null | null | null | #ifndef f51e2d4a_b54f_2fdf_a142_ebc7a4bcf3a3
#define f51e2d4a_b54f_2fdf_a142_ebc7a4bcf3a3
#include <cstddef>
#include <ostream>
#include <glm/gtx/extended_min_max.hpp>
#include <glm/gtx/component_wise.hpp>
#include <glm/gtx/norm.hpp>
#include <glm/geometric.hpp>
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
#includ... | 28.90566 | 83 | 0.633159 | RA-Kooi |
cd211fbfb0df0a4fecbc4a8b616854913fa3900e | 2,449 | cc | C++ | lib/sanitizer_common/sanitizer_unwind_win.cc | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | null | null | null | lib/sanitizer_common/sanitizer_unwind_win.cc | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | null | null | null | lib/sanitizer_common/sanitizer_unwind_win.cc | remote-android/toolchain_compiler-rt | 2ab6b9526fadddd76a15e0ecedf60462b2de2ed7 | [
"Apache-2.0"
] | 3 | 2021-11-28T11:21:54.000Z | 2022-03-13T11:10:01.000Z | //===-- sanitizer_unwind_win.cc -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.653333 | 80 | 0.685586 | remote-android |
cd2152777213364448188ea5ea4c3c6f7452ce6f | 3,420 | cpp | C++ | Chapter_27/Model/Model.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 603 | 2021-08-04T11:46:33.000Z | 2022-03-28T12:12:31.000Z | Chapter_27/Model/Model.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | null | null | null | Chapter_27/Model/Model.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 45 | 2021-08-04T18:57:37.000Z | 2022-03-11T11:33:49.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... | 26.307692 | 162 | 0.609649 | 9ndres |
cd228184f392b1e510e5ac075719c098c7f028c3 | 5,815 | hpp | C++ | arbor/include/arbor/math.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 53 | 2018-10-18T12:08:21.000Z | 2022-03-26T22:03:51.000Z | arbor/include/arbor/math.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 864 | 2018-10-01T08:06:00.000Z | 2022-03-31T08:06:48.000Z | arbor/include/arbor/math.hpp | kanzl/arbor | 86b1eb065ac252bf0026de7cf7cbc6748a528254 | [
"BSD-3-Clause"
] | 37 | 2019-03-03T16:18:49.000Z | 2022-03-24T10:39:51.000Z | #pragma once
#include <cmath>
#include <limits>
#include <type_traits>
#include <utility>
#include <arbor/util/compat.hpp>
namespace arb {
namespace math {
template <typename T>
T constexpr pi = 3.1415926535897932384626433832795l;
template <typename T = float>
T constexpr infinity = std::numeric_limits<T>::infinit... | 23.831967 | 91 | 0.582115 | kanzl |
cd23334900f5c0d6a2f516206c87edd95ac34c5f | 2,793 | hpp | C++ | include/Nazara/VulkanRenderer/VulkanDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 376 | 2015-01-09T03:14:48.000Z | 2022-03-26T17:59:18.000Z | include/Nazara/VulkanRenderer/VulkanDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 252 | 2015-01-21T17:34:39.000Z | 2022-03-20T16:15:50.000Z | include/Nazara/VulkanRenderer/VulkanDevice.hpp | gogo2464/NazaraEngine | f1a00c36cb27d9f07d1b7db03313e0038d9a7d00 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 104 | 2015-01-18T11:03:41.000Z | 2022-03-11T05:40:47.000Z | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Vulkan Renderer"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_VULKANRENDERER_VULKANDEVICE_HPP
#define NAZARA_VULKANRENDERER_VULKANDEVICE_HPP
#include <Nazara/Prerequisites.h... | 51.722222 | 240 | 0.814536 | gogo2464 |
cd2525f5b0bf5d04677e0a7884490f9527341f8a | 20,108 | cpp | C++ | automated-tests/src/dali/utc-Dali-Matrix.cpp | pwisbey/dali-core | 53117f5d4178001b0d688c5bce14d7bf8e861631 | [
"Apache-2.0"
] | 1 | 2016-08-05T09:58:38.000Z | 2016-08-05T09:58:38.000Z | automated-tests/src/dali/utc-Dali-Matrix.cpp | tizenorg/platform.core.uifw.dali-core | dd89513b4bb1fdde74a83996c726e10adaf58349 | [
"Apache-2.0"
] | null | null | null | automated-tests/src/dali/utc-Dali-Matrix.cpp | tizenorg/platform.core.uifw.dali-core | dd89513b4bb1fdde74a83996c726e10adaf58349 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 25.041096 | 146 | 0.592202 | pwisbey |
cd28a4c53e8419b25a740bc4bd0e8ef559ba2be1 | 3,757 | cpp | C++ | Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/applications/AppViewHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/applications/AppViewHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/applications/AppViewHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 37.949495 | 92 | 0.626298 | jingcao80 |
cd2915f9deadd1c1cb19fdea87a0b1e38ed6f705 | 8,790 | cpp | C++ | src/test/TestRcClipGeneric.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/test/TestRcClipGeneric.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/test/TestRcClipGeneric.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | /*****************************************************************************
TestRcClipGeneric.cpp
Author: Laurent de Soras, 2020
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it und... | 25.258621 | 101 | 0.604096 | mikelange49 |
cd2b1388ddff30656d4051fa2209e612d7ca326c | 4,620 | cc | C++ | content/renderer/image_downloader/image_downloader_base.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | content/renderer/image_downloader/image_downloader_base.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | content/renderer/image_downloader/image_downloader_base.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "content/renderer/image_downloader/image_downloader_base.h"
#include <utility>
#include "base/bind.h"
#include "base/location.h"
#include "base... | 35 | 91 | 0.690043 | zipated |
cd2bc48a58b184fb456b3fbb35f3af64a7c89647 | 22,747 | cpp | C++ | dudley/src/Mesh_readGmsh.cpp | svn2github/Escript | 9c616a3b164446c65d4b8564ecd04fafd7dcf0d2 | [
"Apache-2.0"
] | null | null | null | dudley/src/Mesh_readGmsh.cpp | svn2github/Escript | 9c616a3b164446c65d4b8564ecd04fafd7dcf0d2 | [
"Apache-2.0"
] | 1 | 2019-01-14T03:07:43.000Z | 2019-01-14T03:07:43.000Z | dudley/src/Mesh_readGmsh.cpp | svn2github/Escript | 9c616a3b164446c65d4b8564ecd04fafd7dcf0d2 | [
"Apache-2.0"
] | null | null | null |
/*****************************************************************************
*
* Copyright (c) 2003-2018 by The University of Queensland
* http://www.uq.edu.au
*
* Primary Business: Queensland, Australia
* Licensed under the Apache License, version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Development unt... | 45.132937 | 124 | 0.433684 | svn2github |
cd30eab09ec4f82b8e2a95cd14abf583c430cb86 | 8,062 | cpp | C++ | Sources/Display/Platform/Win32/cursor_provider_win32.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 248 | 2015-01-08T05:21:40.000Z | 2022-03-20T02:59:16.000Z | Sources/Display/Platform/Win32/cursor_provider_win32.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 39 | 2015-01-14T17:37:07.000Z | 2022-03-17T12:59:26.000Z | Sources/Display/Platform/Win32/cursor_provider_win32.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 82 | 2015-01-11T13:23:49.000Z | 2022-02-19T03:17:24.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2020 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | 33.591667 | 170 | 0.708013 | xctan |
cd3513680c3ae35f2ccf1890a8827e010bbfd761 | 1,123 | hh | C++ | gsky/net/pp/writer.hh | pwnsky/gsky | 8d671c949a88726c6923f44cdce38699fc7fe660 | [
"Apache-2.0"
] | 1 | 2021-10-30T14:40:59.000Z | 2021-10-30T14:40:59.000Z | gsky/net/pp/writer.hh | pwnsky/gsky | 8d671c949a88726c6923f44cdce38699fc7fe660 | [
"Apache-2.0"
] | null | null | null | gsky/net/pp/writer.hh | pwnsky/gsky | 8d671c949a88726c6923f44cdce38699fc7fe660 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <map>
#include <string>
#include <gsky/gsky.hh>
#include <gsky/util/vessel.hh>
#include <gsky/util/json.hh>
namespace gsky {
namespace net {
namespace pp {
class writer {
using json = gsky::util::json;
public:
explicit writer(); // uid for deal with offline
~writer();
void set_s... | 29.552632 | 75 | 0.69724 | pwnsky |
cd37695845ab13d7677ba5f29fc39418742a983e | 2,532 | hpp | C++ | torch/lib/c10d/WinSockUtils.hpp | MagiaSN/pytorch | 7513455c743d3d644b45a804902c1a0d14b69f45 | [
"Intel"
] | 7 | 2021-05-29T16:31:51.000Z | 2022-02-21T18:52:25.000Z | torch/lib/c10d/WinSockUtils.hpp | MagiaSN/pytorch | 7513455c743d3d644b45a804902c1a0d14b69f45 | [
"Intel"
] | 2 | 2022-01-10T03:56:45.000Z | 2022-02-01T03:39:54.000Z | torch/lib/c10d/WinSockUtils.hpp | MagiaSN/pytorch | 7513455c743d3d644b45a804902c1a0d14b69f45 | [
"Intel"
] | 2 | 2021-07-02T10:18:21.000Z | 2021-08-18T10:10:28.000Z | #pragma once
#include <c10d/Utils.hpp>
namespace c10d {
namespace tcputil {
#define AF_SELECTED AF_INET
#define CONNECT_SOCKET_OFFSET 1
inline void closeSocket(int socket) { ::closesocket(socket); }
inline int setSocketAddrReUse(int socket) {
bool optval = false;
return ::setsockopt(socket, SOL_SOCKET, SO_REUS... | 29.788235 | 78 | 0.665482 | MagiaSN |
cd38ae9554c4c9a2acce1ea41d291b0e8bc8c7e5 | 1,557 | cpp | C++ | depends/sizecheck/sizecheck.cpp | Arson00/dfhack | fc384fd1a2bee65315fe79831a55ca74c8e6717b | [
"CC-BY-3.0"
] | 926 | 2015-01-02T13:06:12.000Z | 2022-03-24T13:22:26.000Z | depends/sizecheck/sizecheck.cpp | Arson00/dfhack | fc384fd1a2bee65315fe79831a55ca74c8e6717b | [
"CC-BY-3.0"
] | 1,238 | 2015-01-01T00:11:23.000Z | 2022-03-31T23:05:32.000Z | depends/sizecheck/sizecheck.cpp | Arson00/dfhack | fc384fd1a2bee65315fe79831a55ca74c8e6717b | [
"CC-BY-3.0"
] | 318 | 2015-01-03T16:35:50.000Z | 2022-03-31T00:22:01.000Z | // adapted from https://github.com/mifki/df-sizecheck/blob/master/b.cpp
// usage:
// linux: PRELOAD_LIB=hack/libsizecheck.so ./dfhack
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <memory>
using namespace std;
const uint32_t MAGIC = 0xdfdf4ac8;
bool initialized = false;
int pert... | 20.220779 | 82 | 0.593449 | Arson00 |
cd38d9dae4018330c6caa49ac82c8b981c30a82e | 879 | cpp | C++ | Source/TPSOnline/Private/Actors/AmmoPickupActor.cpp | DanialKama/TPSOnline | 0c683be23882a72ca8f1daf6e62728fabf1db913 | [
"MIT"
] | 2 | 2022-01-20T19:29:43.000Z | 2022-01-26T15:01:32.000Z | Source/TPSOnline/Private/Actors/AmmoPickupActor.cpp | DanialKama/TPSOnline | 0c683be23882a72ca8f1daf6e62728fabf1db913 | [
"MIT"
] | 42 | 2022-01-15T09:20:06.000Z | 2022-02-01T19:28:04.000Z | Source/TPSOnline/Private/Actors/AmmoPickupActor.cpp | DanialKama/TPSOnline | 0c683be23882a72ca8f1daf6e62728fabf1db913 | [
"MIT"
] | null | null | null | // Copyright 2022 Danial Kamali. All Rights Reserved.
#include "Actors/AmmoPickupActor.h"
AAmmoPickupActor::AAmmoPickupActor()
{
PrimaryActorTick.bCanEverTick = false;
MeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Mesh"));
SetRootComponent(MeshComponent);
MeshComponent->SetComponentTickEnabl... | 22.538462 | 76 | 0.754266 | DanialKama |
cd396109f0e182737954eec672a358689f7fd4c9 | 10,327 | cpp | C++ | src/mame/drivers/kungfur.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/kungfur.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/kungfur.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:hap, Angelo Salese, Roberto Fresca
/***************************************************************************
功夫老師
KUNG-FU ROUSHI
(c)1987 NAMCO
6809 (4MHz?)
RAM 2016x1
MSM5205 x 2 (2 SPEAKERS)
8255 x 2
custom chips : none
KR1.BIN : PROGRAM
KR2-KR6 : VOICE
5... | 30.107872 | 150 | 0.606372 | Robbbert |
cd3c01a6a17c5cbf71efa33dc3a7311e4aebb12b | 878 | cpp | C++ | ConsoleWriterFactory.cpp | nwehr/eloquent-ext-consolewriter | 35ce11895fb092120689359a0b80d4e47632a029 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ConsoleWriterFactory.cpp | nwehr/eloquent-ext-consolewriter | 35ce11895fb092120689359a0b80d4e47632a029 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ConsoleWriterFactory.cpp | nwehr/eloquent-ext-consolewriter | 35ce11895fb092120689359a0b80d4e47632a029 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// Copyright 2013-2014 EvriChart, Inc. All Rights Reserved.
// See LICENSE.txt
//
// Internal
#include "ConsoleWriter.h"
#include "ConsoleWriterFactory.h"
///////////////////////////////////////////////////////////////////////////////
// ConsoleWriterFactory : IOExtensionFactory
///////////////////////////////////... | 36.583333 | 106 | 0.574032 | nwehr |