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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
339f12faeca90e0dda5926fb9e53fdad5c1fabea | 177 | cpp | C++ | src/Example/project_WhiteBoxStudio/code/WhiteboxTestingPlatform/WhiteboxTestingPlatform/WhiteboxTestingPlatform/ThirdStandardDataModel.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | 5 | 2017-09-07T06:58:34.000Z | 2021-07-21T08:41:26.000Z | src/Example/project_WhiteBoxStudio/code/WhiteboxTestingPlatform/WhiteboxTestingPlatform/WhiteboxTestingPlatform/ThirdStandardDataModel.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | null | null | null | src/Example/project_WhiteBoxStudio/code/WhiteboxTestingPlatform/WhiteboxTestingPlatform/WhiteboxTestingPlatform/ThirdStandardDataModel.cpp | yds086/HereticOS-ObjectSystem | bdbf48bc3a5ef96c54b3d1652b90740c28c5cf49 | [
"Apache-2.0"
] | 2 | 2017-09-27T06:31:11.000Z | 2020-05-13T12:29:58.000Z | #include "StdAfx.h"
#include "ThirdStandardDataModel.h"
CThirdStandardDataModel::CThirdStandardDataModel(void)
{
}
CThirdStandardDataModel::~CThirdStandardDataModel(void)
{
}
| 16.090909 | 55 | 0.813559 | yds086 |
339fd28879d12676327871f30ea0de3c01012193 | 4,667 | cpp | C++ | Nacro/SDK/FN_GA_DefaultPlayer_InteractSearch_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_GA_DefaultPlayer_InteractSearch_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_GA_DefaultPlayer_InteractSearch_functions.cpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | // Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function GA_DefaultPlayer_InteractSea... | 37.943089 | 185 | 0.78573 | Milxnor |
33a03b45d3a7f9aad320034c272f015d93063494 | 208 | cpp | C++ | ue/Drone_Simulator/Drone_Simulator.cpp | gabriserra/CatchingDrone | 65bab95d3dbd8085f79082db672954f752c77b12 | [
"MIT"
] | null | null | null | ue/Drone_Simulator/Drone_Simulator.cpp | gabriserra/CatchingDrone | 65bab95d3dbd8085f79082db672954f752c77b12 | [
"MIT"
] | null | null | null | ue/Drone_Simulator/Drone_Simulator.cpp | gabriserra/CatchingDrone | 65bab95d3dbd8085f79082db672954f752c77b12 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Drone_Simulator.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Drone_Simulator, "Drone_Simulator" );
| 34.666667 | 93 | 0.802885 | gabriserra |
33a08d1dba7069d2c5790e63ee7974f3c9c0fb3f | 83,350 | cpp | C++ | src/PE/EnumToString.cpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 2,999 | 2017-04-03T13:43:23.000Z | 2022-03-31T15:24:27.000Z | src/PE/EnumToString.cpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 626 | 2017-04-04T15:57:04.000Z | 2022-03-31T19:25:18.000Z | src/PE/EnumToString.cpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 498 | 2017-04-04T14:18:25.000Z | 2022-03-29T19:31:38.000Z | /* Copyright 2017 - 2021 R. Thomas
* Copyright 2017 - 2021 Quarkslab
*
* 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 req... | 59.92092 | 117 | 0.623863 | junghee |
33a1533625818e7d82b92ebf0eadfb77d6937f29 | 3,749 | cpp | C++ | TabGraph/src/Driver/OpenGL/Renderer/Light/PointLightRenderer.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/src/Driver/OpenGL/Renderer/Light/PointLightRenderer.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/src/Driver/OpenGL/Renderer/Light/PointLightRenderer.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2021-04-11 20:53:00
* @Last Modified by: gpinchon
* @Last Modified time: 2021-04-11 20:53:22
*/
#include <Driver/OpenGL/Renderer/Light/PointLightRenderer.hpp>
#include <Light/PointLight.hpp>
#include <Surface/SphereMesh.hpp>
#include <Renderer/Surface/GeometryRenderer.hpp>... | 34.081818 | 113 | 0.696452 | Gpinchon |
33a81c2af4a95b2a563fb7c3d993bbd10e9e2c52 | 6,236 | cpp | C++ | libs/StateSync-pinvoke-cpp/src/ReplicatedState-pinvoke.cpp | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 24 | 2019-12-11T18:56:39.000Z | 2021-12-28T02:48:59.000Z | libs/StateSync-pinvoke-cpp/src/ReplicatedState-pinvoke.cpp | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 23 | 2019-12-11T20:21:30.000Z | 2020-02-12T12:12:05.000Z | libs/StateSync-pinvoke-cpp/src/ReplicatedState-pinvoke.cpp | ivte-ms/MixedReality-Sharing | edb38467be6dcd09447962a3c1f998fe700b8832 | [
"MIT"
] | 14 | 2019-12-11T18:56:44.000Z | 2021-06-09T18:13:10.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "src/pch.h"
#include <Microsoft/MixedReality/Sharing/StateSync/NetworkConnection.h>
#include <Microsoft/MixedReality/Sharing/StateSync/NetworkListener.h>
#include <Microsoft/MixedReality/Sharing/StateSync/NetworkManager.h>
#include <M... | 37.119048 | 88 | 0.747915 | ivte-ms |
33aa7913d2ba041c244e75a53cf72d2ae073a76e | 3,385 | cpp | C++ | src/plugins/nacheku/directorywatcher.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/plugins/nacheku/directorywatcher.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/plugins/nacheku/directorywatcher.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 31.055046 | 85 | 0.684195 | MellonQ |
33abe561f89c1c591a40feb8a2272c0547fb96f2 | 2,528 | cpp | C++ | src/client/particles/FireworkParticle.cpp | AzariasB/MultiPlayerPong | 4b9af38198945b31b05ca83acadccef333e32284 | [
"MIT"
] | null | null | null | src/client/particles/FireworkParticle.cpp | AzariasB/MultiPlayerPong | 4b9af38198945b31b05ca83acadccef333e32284 | [
"MIT"
] | null | null | null | src/client/particles/FireworkParticle.cpp | AzariasB/MultiPlayerPong | 4b9af38198945b31b05ca83acadccef333e32284 | [
"MIT"
] | null | null | null | /*
* The MIT License
*
* Copyright 2017-2019 azarias.
*
* 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, mo... | 30.095238 | 108 | 0.721915 | AzariasB |
33acac7974d9e7125b1d23005899f74f4db4c16f | 2,616 | cpp | C++ | ls_base/malloc_hook.cpp | bbxionglei/LoveSnow | f6f4b73e9cc18817480cb53a08d936c0e0cc8029 | [
"MIT"
] | 3 | 2019-04-19T02:59:36.000Z | 2019-10-16T05:55:28.000Z | ls_base/malloc_hook.cpp | bbxionglei/LoveSnow | f6f4b73e9cc18817480cb53a08d936c0e0cc8029 | [
"MIT"
] | 2 | 2019-11-11T04:28:42.000Z | 2019-11-11T04:30:54.000Z | ls_base/malloc_hook.cpp | bbxionglei/LoveSnow | f6f4b73e9cc18817480cb53a08d936c0e0cc8029 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <lua.hpp>
#include <stdio.h>
#include "malloc_hook.h"
#include "ls.h"
// turn on MEMORY_CHECK can do more memory check, such as double free
// #define MEMORY_CHECK
#define MEMORY_ALLOCTAG 0x20140605
#define MEMORY_FREETAG 0x0badf... | 19.235294 | 108 | 0.676988 | bbxionglei |
33b0d447893668d87306e25e7210c48469f6d67e | 23,895 | hxx | C++ | Modules/IO/ImageBase/include/itkConvertPixelBuffer.hxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/IO/ImageBase/include/itkConvertPixelBuffer.hxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/IO/ImageBase/include/itkConvertPixelBuffer.hxx | jond01/ITK | 88d152f65ff8982d4b926e8ab01f81dddf06291b | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 39.561258 | 120 | 0.670475 | jond01 |
33b14adf56d17d2402ebe668b7e63522721a6d99 | 35,998 | cpp | C++ | TEDStore/src/client/chunker.cpp | jingwei87/ted | 112ec68b33fd00b4adb89c99af2fe94a9376da47 | [
"MIT"
] | 4 | 2020-03-04T18:36:23.000Z | 2021-06-11T10:25:25.000Z | TEDStore/src/client/chunker.cpp | jingwei87/ted | 112ec68b33fd00b4adb89c99af2fe94a9376da47 | [
"MIT"
] | null | null | null | TEDStore/src/client/chunker.cpp | jingwei87/ted | 112ec68b33fd00b4adb89c99af2fe94a9376da47 | [
"MIT"
] | 3 | 2020-11-22T23:29:52.000Z | 2021-11-05T14:00:29.000Z | #include "chunker.hpp"
#include "sys/time.h"
extern Configure config;
struct timeval timestartChunker;
struct timeval timeendChunker;
struct timeval timestartChunker_VarSizeInsert;
struct timeval timeendChunker_VarSizeInsert;
struct timeval timestartChunker_VarSizeHash;
struct timeval timeendChunker_VarSizeHash;
uint... | 39.689085 | 208 | 0.617201 | jingwei87 |
33b44f8e28ed0adc0ab594d2485f0e2d63b25e6e | 8,664 | cpp | C++ | libs/base/src/utils/CMHPropertiesValuesList.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | 4 | 2017-08-04T15:44:04.000Z | 2021-02-02T02:00:18.000Z | libs/base/src/utils/CMHPropertiesValuesList.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | null | null | null | libs/base/src/utils/CMHPropertiesValuesList.cpp | tg1716/SLAM | b8583fb98a4241d87ae08ac78b0420c154f5e1a5 | [
"BSD-3-Clause"
] | 2 | 2017-10-03T23:10:09.000Z | 2018-07-29T09:41:33.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 28.221498 | 80 | 0.504386 | tg1716 |
33bce9c40270adb9d2ef0ac5de01957f887e7b72 | 521 | hpp | C++ | SimipleNetworkProtocol/src/PeriodicExecutor.hpp | DrLk/MultiThreaded-Socket | 54d0b4b7c99cf0eeed7c6182501778f1e4a35333 | [
"Apache-2.0"
] | null | null | null | SimipleNetworkProtocol/src/PeriodicExecutor.hpp | DrLk/MultiThreaded-Socket | 54d0b4b7c99cf0eeed7c6182501778f1e4a35333 | [
"Apache-2.0"
] | null | null | null | SimipleNetworkProtocol/src/PeriodicExecutor.hpp | DrLk/MultiThreaded-Socket | 54d0b4b7c99cf0eeed7c6182501778f1e4a35333 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <chrono>
#include <functional>
namespace FastTransport::Protocol {
class PeriodicExecutor {
public:
PeriodicExecutor(std::function<void()>, const std::chrono::microseconds& interval);
void Run();
private:
using clock = std::chrono::steady_clock;
std::function<... | 20.84 | 88 | 0.675624 | DrLk |
33be1b92715b0dce2bcc58a0178894f7b6dbf2e1 | 34,188 | hpp | C++ | lib/gpc/buffer.hpp | bamert/openGPC | ac61f9b0420ddf42bae02a7b9366f3744906cc72 | [
"BSD-3-Clause"
] | 8 | 2019-02-13T10:47:28.000Z | 2020-09-26T02:36:26.000Z | lib/gpc/buffer.hpp | bamert/openGPC | ac61f9b0420ddf42bae02a7b9366f3744906cc72 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T13:39:07.000Z | 2020-08-25T09:03:05.000Z | lib/gpc/buffer.hpp | bamert/openGPC | ac61f9b0420ddf42bae02a7b9366f3744906cc72 | [
"BSD-3-Clause"
] | 3 | 2020-04-16T06:05:20.000Z | 2020-10-28T14:18:06.000Z | // Copyright (c) 2018, ETH Zurich
// 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 and... | 33.616519 | 118 | 0.515386 | bamert |
33c0d6843bb1f0fd477ec8b7140daa053a9db842 | 1,609 | hpp | C++ | src/utility.hpp | BigDataAnalyticsGroup/ACM-SIGMOD-19-Programming-Contest | 6193d5db300dad97737fa2438d0c7cede8e3550e | [
"Apache-2.0"
] | 2 | 2020-03-27T21:28:41.000Z | 2020-10-29T11:58:21.000Z | src/utility.hpp | BigDataAnalyticsGroup/ACM-SIGMOD-19-Programming-Contest | 6193d5db300dad97737fa2438d0c7cede8e3550e | [
"Apache-2.0"
] | null | null | null | src/utility.hpp | BigDataAnalyticsGroup/ACM-SIGMOD-19-Programming-Contest | 6193d5db300dad97737fa2438d0c7cede8e3550e | [
"Apache-2.0"
] | null | null | null | //===== utility.hpp ====================================================================================================
//
// Author: Immanuel Haffner <haffner.immanuel@gmail.com>
//
// Licence:
// Copyright 2019 Immanuel Haffner
//
// Licensed under the Apache License, Version 2.0 (the "License");
// ... | 34.234043 | 120 | 0.599751 | BigDataAnalyticsGroup |
33c2358a81265eb5e06c41c74703d79ad98a9e97 | 465 | hpp | C++ | extensions/arduino/kit/QHRobot/lib/ArduinoJson6_8/src/ArduinoJson/Operators/VariantCasts.hpp | Suku1989/external-resources | 5d2b8fba60556d325cd31d29caa02508885910be | [
"MIT"
] | 2 | 2020-01-14T08:38:42.000Z | 2020-10-06T15:22:23.000Z | extensions/arduino/kit/QHRobot/lib/ArduinoJson6_8/src/ArduinoJson/Operators/VariantCasts.hpp | Suku1989/external-resources | 5d2b8fba60556d325cd31d29caa02508885910be | [
"MIT"
] | 6 | 2022-03-08T04:11:48.000Z | 2022-03-11T05:46:05.000Z | extensions/arduino/kit/QHRobot/lib/ArduinoJson6_8/src/ArduinoJson/Operators/VariantCasts.hpp | Suku1989/external-resources | 5d2b8fba60556d325cd31d29caa02508885910be | [
"MIT"
] | 8 | 2022-01-19T18:15:39.000Z | 2022-03-26T06:07:17.000Z | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
#include "../Polyfills/attributes.hpp"
namespace ARDUINOJSON_NAMESPACE {
template <typename TImpl>
class VariantCasts {
public:
template <typename T>
FORCE_INLINE operator T() const {
return impl()->template... | 18.6 | 44 | 0.709677 | Suku1989 |
33c37075e4cc5313304a21b87476bf25bbcff28d | 4,845 | cpp | C++ | game/song1.cpp | kaplaars/gba-sprite-engine | 2653846d2c50a4eb57010e389288d23854d34eba | [
"MIT"
] | null | null | null | game/song1.cpp | kaplaars/gba-sprite-engine | 2653846d2c50a4eb57010e389288d23854d34eba | [
"MIT"
] | null | null | null | game/song1.cpp | kaplaars/gba-sprite-engine | 2653846d2c50a4eb57010e389288d23854d34eba | [
"MIT"
] | 1 | 2019-12-05T10:30:36.000Z | 2019-12-05T10:30:36.000Z | #include <libgba-sprite-engine/scene.h>
#include <libgba-sprite-engine/sprites/sprite_builder.h>
#include <libgba-sprite-engine/background/text_stream.h>
#include <libgba-sprite-engine/gba/tonc_memdef.h>
#include <libgba-sprite-engine/gba_engine.h>
#include "karakter.h"
#include "SongSelect.h"
#include "song1.h"
#incl... | 34.361702 | 132 | 0.606192 | kaplaars |
33c440860bb47ff41cba083cc8f0baa836e92681 | 465 | cpp | C++ | Flick/src/Flick/Renderer/VertexArray.cpp | firo1738/FLICK | a6ccb0f23c212d0f1b97f71520beb3a89be57f2d | [
"Apache-2.0"
] | null | null | null | Flick/src/Flick/Renderer/VertexArray.cpp | firo1738/FLICK | a6ccb0f23c212d0f1b97f71520beb3a89be57f2d | [
"Apache-2.0"
] | null | null | null | Flick/src/Flick/Renderer/VertexArray.cpp | firo1738/FLICK | a6ccb0f23c212d0f1b97f71520beb3a89be57f2d | [
"Apache-2.0"
] | null | null | null | #include "fipch.h"
#include "VertexArray.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLVertexArray.h"
namespace Flick
{
VertexArray* VertexArray::Create()
{
switch (Renderer::GetAPI())
{
case RendererAPI::API::None: FI_CORE_ASSERT(false, "RendererAPI::None is not yet supported by Flick!"); return ... | 22.142857 | 121 | 0.722581 | firo1738 |
33c46982cc7dc4a9725b31f0be427aef3b71a382 | 616 | cpp | C++ | src/osm.ReferenceObject.cpp | rydotyosh/OpenSoundMixer | d81472a79655ba02b2456300f5ba345df8350b14 | [
"BSD-3-Clause"
] | 3 | 2018-05-31T11:06:57.000Z | 2019-10-13T16:08:44.000Z | src/osm.ReferenceObject.cpp | rydotyosh/OpenSoundMixer | d81472a79655ba02b2456300f5ba345df8350b14 | [
"BSD-3-Clause"
] | 1 | 2015-09-13T12:35:23.000Z | 2015-09-13T12:35:23.000Z | src/osm.ReferenceObject.cpp | rydotyosh/OpenSoundMixer | d81472a79655ba02b2456300f5ba345df8350b14 | [
"BSD-3-Clause"
] | 3 | 2015-12-15T05:10:43.000Z | 2019-11-17T10:13:13.000Z |
#include "osm.ReferenceObject.h"
namespace osm {
ReferenceObject::ReferenceObject() : m_reference(1) {}
ReferenceObject::~ReferenceObject() {}
int ReferenceObject::AddRef() {
std::atomic_fetch_add_explicit(&m_reference, 1, std::memory_order_consume);
return m_reference;
}
int ReferenceObject::GetRef() { r... | 22 | 99 | 0.694805 | rydotyosh |
33c8a08e2877efa578534cb6f768c6ffe6a21d4a | 4,589 | cpp | C++ | src/opengl/debugcontext.cpp | OpenSpace/Ghoul | af5545a13d140b15e7b37f581ea7dde522be2b5b | [
"MIT"
] | 8 | 2016-09-13T12:39:49.000Z | 2022-03-21T12:30:50.000Z | src/opengl/debugcontext.cpp | OpenSpace/Ghoul | af5545a13d140b15e7b37f581ea7dde522be2b5b | [
"MIT"
] | 33 | 2016-07-07T20:35:05.000Z | 2021-10-15T03:12:13.000Z | src/opengl/debugcontext.cpp | OpenSpace/Ghoul | af5545a13d140b15e7b37f581ea7dde522be2b5b | [
"MIT"
] | 16 | 2015-06-24T20:41:28.000Z | 2022-01-08T04:14:03.000Z | /*****************************************************************************************
* *
* GHOUL *
* General Helpful Open Utility Library ... | 44.125 | 90 | 0.548486 | OpenSpace |
33c8d159e7f8588c819bf84b5024a9364e2083ed | 249 | cpp | C++ | partitioner/problem/default_partitioner_inputs.cpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | 5 | 2018-05-30T08:43:10.000Z | 2021-12-14T18:33:10.000Z | partitioner/problem/default_partitioner_inputs.cpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | 57 | 2018-05-08T21:44:14.000Z | 2019-11-07T17:13:30.000Z | partitioner/problem/default_partitioner_inputs.cpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | 7 | 2018-05-07T21:50:49.000Z | 2021-04-30T14:02:02.000Z | #include "default_partitioner_inputs.hpp"
DefaultPartitionerInputs::DefaultPartitionerInputs(const MeshMetaData& mesh) {
for (const auto& elt : mesh.elements) {
weights.insert(std::make_pair(elt.first, std::vector<double>{1.}));
}
} | 35.571429 | 78 | 0.726908 | elenabac |
33caa8cba2e71a171072eb009157adf123bba03e | 18,658 | cpp | C++ | src/geometry/geometry_ply.cpp | Yoyochen0106/Pangolin | e55463bd2bdd758e46ded7d95332e31f9cdc4f71 | [
"MIT"
] | 662 | 2019-09-01T02:16:59.000Z | 2022-03-29T19:24:07.000Z | src/geometry/geometry_ply.cpp | Yoyochen0106/Pangolin | e55463bd2bdd758e46ded7d95332e31f9cdc4f71 | [
"MIT"
] | 38 | 2019-09-05T05:02:20.000Z | 2022-03-30T02:59:49.000Z | src/geometry/geometry_ply.cpp | Yoyochen0106/Pangolin | e55463bd2bdd758e46ded7d95332e31f9cdc4f71 | [
"MIT"
] | 104 | 2019-09-01T07:41:58.000Z | 2022-03-27T16:24:54.000Z | /* This file is part of the Pangolin Project.
* http://github.com/stevenlovegrove/Pangolin
*
* Copyright (c) 2014 Steven Lovegrove
*
* 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 wit... | 38.549587 | 107 | 0.571873 | Yoyochen0106 |
33ced71548adf7d6e95c4db8b69f9cf6d7011bd6 | 525 | hpp | C++ | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 64 | 2018-05-15T01:57:55.000Z | 2021-12-14T01:49:18.000Z | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 3 | 2019-11-28T12:10:09.000Z | 2021-11-03T15:16:06.000Z | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 24 | 2018-05-15T01:57:22.000Z | 2021-11-24T14:09:14.000Z | //Copyright 2018 Husky Data Lab, CUHK
//Authors: Hongzhi Chen, Miao Liu
#ifndef SLAVE_COMMUN_HPP_
#define SLAVE_COMMUN_HPP_
#include <mpi.h>
#include "util/communication.hpp"
#include "util/global.hpp"
int slave_all_sum(int my_copy)
{
int tmp = my_copy;
if( _my_rank != SLAVE_LEADER)
{
send_data(my_copy, SLAV... | 15.909091 | 59 | 0.697143 | Mogami95 |
33cfd798a247b5ef564239c78e25a50ba2174e58 | 3,467 | hpp | C++ | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #pragma once
#include <algorithm>
#include <cmath>
#include <stdexcept>
#include <vector>
// LCA: Lowest Common Ancestor
// using Binary Lifting
//
// Space: O(V log V + E)
//
// NOTE:
// - undirected
// - non-loop
// - non-multi-edge
// - it can NOT handle a forest
//
// Verified:
// - https://onlinejudge.u-... | 26.875969 | 100 | 0.498702 | xirc |
33d2536a885aef96ca0793a12d3dd44ab30976ff | 743 | hpp | C++ | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 9 | 2019-08-22T06:25:12.000Z | 2021-02-17T16:27:27.000Z | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | null | null | null | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 4 | 2019-09-04T14:20:05.000Z | 2022-02-09T06:32:14.000Z | #ifndef DECISION_NODE_H
#define DECISION_NODE_H
#include "fconfig.hpp"
#include "fcontext.hpp"
#include <mcts/inner_node.hpp>
namespace freedom {
using mcts::INode;
using mcts::InnerNode;
// ----------------------------------------------------------------------
/// @brief Uses a selectionStrategy for nodes in whi... | 24.766667 | 78 | 0.584118 | strikles |
33d72117ec4bcba4be1c8057e873f602103626df | 3,394 | cc | C++ | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | 1 | 2022-03-27T07:55:37.000Z | 2022-03-27T07:55:37.000Z | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"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... | 34.989691 | 111 | 0.671184 | kuroro-tian |
33d7db421d47e5b9a09cd1e3ee4fd25153ca24e5 | 2,092 | cpp | C++ | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | #include <iostream>
#include <SDL2/SDL.h>
// Graphics
const int WINDOW_WIDTH = 512;
const int WINDOW_HEIGHT = 284;
SDL_Window* g_main_window;
SDL_Renderer* g_main_renderer;
// Colors
namespace Colors {
const SDL_Color GREEN = { 0, 255, 0, SDL_ALPHA_OPAQUE };
const SDL_Color BLACK = { 0, 0, 0, SDL_ALPHA_OPAQUE };
... | 20.712871 | 103 | 0.650096 | codingwithjulio |
33d8dcd655bf8d4f972500b2a104006dcf45bea2 | 1,192 | cpp | C++ | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// \file
/// \brief Main module for Problem 4: Type conversion.
/// \author Georgii Zhulikov
/// \version 0.1.0
/// \date 25.01.2021
/// This code is for educational purposes of the course "Introduction
/// ... | 30.564103 | 81 | 0.564597 | dsba2020-z |
33d9f85d13e0f54d4fe7cdcd1f481d7cb4783d0f | 6,721 | cpp | C++ | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 21 | 2020-06-07T20:34:47.000Z | 2021-08-10T20:19:59.000Z | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | null | null | null | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 4 | 2020-07-13T10:19:44.000Z | 2022-03-11T12:15:43.000Z | /*
* Copyright (c) 2020, Rapprise.
* 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 condition... | 39.769231 | 99 | 0.767743 | Rapprise |
33dabeba49d27b05f1ba25ee914e1af5babc18b6 | 11,616 | hpp | C++ | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | ///////////////////////////////////////////////////////////////////////////////
/// \file domain.hpp
/// Contains definition of domain\<\> class template and helpers for
/// defining domains with a generator and a grammar for controlling
/// operator overloading.
//
// Copyright 2008 Eric Niebler. Distributed under th... | 34.366864 | 105 | 0.557335 | sbrown-uhd |
33dea591772d1b2c41ef7468c9f59744cbd25b4e | 1,318 | hpp | C++ | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | #include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <iostream>
#include <time.h>
#pragma once
#include "../Blocks/Block.hpp"
#include "../Map/Map.hpp"
class Engine {
public:
Engine();
void move();
void rotation();
void tick(Block block[]);
void check_lines();
... | 24.867925 | 67 | 0.456753 | Patryk404 |
33e030a5735e8e0a59ea50d1306e22d76f02af62 | 9,170 | cpp | C++ | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2021-06-04T14:29:54.000Z | 2021-06-04T14:29:54.000Z | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2020-10-05T20:00:21.000Z | 2021-07-10T19:07:27.000Z | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 2 | 2020-12-28T13:10:08.000Z | 2021-12-31T20:53:18.000Z | /*************************************************************************/
/* box_container.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 28.042813 | 129 | 0.618757 | kingoftheconnors |
33e3f4bfa8178f6ca4828664f24947e7ae3471f8 | 5,460 | cpp | C++ | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 12 | 2016-09-24T02:47:18.000Z | 2020-12-29T16:16:52.000Z | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 31 | 2016-11-27T14:38:02.000Z | 2020-06-03T11:11:29.000Z | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 6 | 2015-02-20T06:11:13.000Z | 2018-11-15T08:22:01.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Responsible for drawing the scene
//
//===========================================================================//
#include "cbase.h"
#include "materialsystem/imaterialsystem.h"
#include "materialsystem/imaterialvar.h... | 35 | 157 | 0.61337 | tingtom |
33e545f539c638f2cb465f4dc3b0e170baba2fb6 | 1,745 | cpp | C++ | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | 3 | 2021-03-01T20:41:13.000Z | 2021-07-10T13:45:47.000Z | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | //SWEngine
#include "../../include/SWEngine.h"
#pragma comment (lib,"../../lib/SWUtil.lib")
#pragma comment (lib,"../../lib/SWTypes.lib")
#pragma comment (lib,"../../lib/SWCore.lib")
#pragma comment (lib,"../../lib/SWEngine.lib")
swApplication pointSpriteApp;
int pointSpriteID=-1;
swPoint pointS[3];... | 25.661765 | 93 | 0.598281 | odayibasi |
33e6c449f6b19c517cbc22da4bff066717cefd83 | 3,867 | cc | C++ | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 40.705263 | 85 | 0.44091 | JeromeDuboisPro |
33e7b3fef67d51960183dd80a06465bf4843e744 | 69,509 | cpp | C++ | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-05T10:08:56.000Z | 2019-03-05T10:08:56.000Z | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 - 2011 EMC Corp.
//
// @filename:
// CEngine.cpp
//
// @doc:
// Implementation of optimization engine
//---------------------------------------------------------------------------
#include "gpos/b... | 27.046304 | 139 | 0.622725 | ppmht |
33ed40bb55e7845acd4c00ac251507ba899ec019 | 13,974 | cpp | C++ | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | null | null | null | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | null | null | null | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | 1 | 2021-05-03T17:24:04.000Z | 2021-05-03T17:24:04.000Z | //
// libtgvoip is free and unencumbered public domain software.
// For more information, see http://unlicense.org or the UNLICENSE file
// you should have received with this source code distribution.
//
#include "EchoCanceller.h"
#include "audio/AudioOutput.h"
#include "audio/AudioInput.h"
#include "logging.h"
#inclu... | 30.312364 | 206 | 0.714684 | kebbbnnn |
33ee39f036d47eeca1f02a556144d2ea0632affc | 62,240 | cpp | C++ | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 8 | 2015-05-11T04:18:49.000Z | 2020-02-16T00:14:35.000Z | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 9 | 2015-06-06T22:02:28.000Z | 2020-02-01T22:03:59.000Z | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 4 | 2015-05-20T22:04:53.000Z | 2020-01-29T21:46:25.000Z | // $Id: CglTwomir.cpp 1132 2013-04-25 18:57:12Z stefan $
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <cfloat>
#include... | 28.881671 | 105 | 0.607471 | amosr |
33ef5d49ba2446e65f25fead5f1cc3e93da72c15 | 5,989 | cc | C++ | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"Apache-2.0"
] | null | null | null | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"Apache-2.0"
] | null | null | null | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"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 ... | 36.078313 | 111 | 0.667223 | rob05c |
33f0d6a9434a5f4585b17d460d2d86cf3750fb83 | 70,564 | cpp | C++ | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | 1 | 2020-06-26T11:10:55.000Z | 2020-06-26T11:10:55.000Z | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | null | null | null | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | 1 | 2020-06-26T11:10:57.000Z | 2020-06-26T11:10:57.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008, 2012
*
* Last modified:
* $Date: 2016-04-19 17:19:45 +0200 (Tue, 19 Apr 2016) $ by $Author: schulte $
* $Revision: 14967 $
... | 37.022036 | 93 | 0.47931 | SaGagnon |
33f1d1866090d7b523881c4a92cd5f1820dbc088 | 6,635 | cpp | C++ | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | #include <blah/images/image.h>
#include <blah/streams/stream.h>
#include <blah/streams/filestream.h>
#include <blah/core/log.h>
using namespace Blah;
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_JPEG
#define STBI_ONLY_PNG
#define STBI_ONLY_BMP
#include "../third_party/stb_image.h"
#define STB_IMAGE_WRITE_IMPLE... | 21.970199 | 98 | 0.674755 | AKholetsky |
33f216c181bf52fddc6e7c38d14e1a66455a1665 | 8,705 | cpp | C++ | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | /*
*
* TezosLikeTransactionDatabaseHelper
*
* Created by El Khalil Bellakrid on 27/04/2019.
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... | 48.904494 | 227 | 0.559563 | phaazon |
33f318206761e0974f2143add8de7c12bcdc3a36 | 457 | hpp | C++ | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | #pragma once
#include "ModelData.hpp"
class Light
{
private:
glm::vec3 pos = glm::vec3(0, 0, 0);
glm::vec3 color = glm::vec3(1, 1, 1);
bool isPointLight = true;
public:
Light(glm::vec3 pos, glm::vec3 color, bool isPointLight);
void Light::setPos(glm::vec3 pos2);
bool Light::getIsPointLight();
void Light::se... | 18.28 | 58 | 0.68709 | jmppmj |
33f3319ba7dee8950a9dd95f73ffc956570be68b | 612 | cc | C++ | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | // https://open.kattis.com/problems/alicedigital
#include <iostream>
#include <vector>
using namespace std;
typedef vector<int> vi;
int main() {
int t;
cin >> t;
while (t--) {
int n, m;
cin >> n >> m;
vi a(n + 1, 0);
int p = 0;
int q = 0;
int M = 0;
for (int i = 1; i <= n; i++) {
cin >> a[i];
... | 15.692308 | 48 | 0.406863 | Ashindustry007 |
33f56b32135cbdb9f7fec298a823d6a3209ba514 | 106,894 | cpp | C++ | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 32.951295 | 221 | 0.617172 | roscoche |
33f74ccc3b216a435803e2b9423c0caf6b88825e | 56,981 | cpp | C++ | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:25.000Z | 2018-10-13T02:50:25.000Z | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | null | null | null | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:26.000Z | 2018-10-13T02:50:26.000Z | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | 25.3587 | 134 | 0.647777 | rzsavilla |
33f7c9daf4599356166825b3a4a5694d2668467c | 1,679 | cpp | C++ | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifdef BOOST_QVM_TEST_SINGLE_HEADER
# include BOOST_QVM_TEST_SINGLE_HEADER
#else
# include <boos... | 22.092105 | 79 | 0.585468 | boostorg |
33facceab40746a6a205d13aaa958b7e1675ca04 | 1,047 | cpp | C++ | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /*The count-and-say sequence is the sequence of integers with the first five
terms as following:
1. 1
2. 11
3. 21
4. 1211
5. 111221
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n where 1 ≤ n ≤ 30, gene... | 19.754717 | 80 | 0.494747 | archit-1997 |
33faec5db7f5f4242cdf3e7e164458fa1e7105c6 | 2,006 | cpp | C++ | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 4 | 2019-10-18T10:01:01.000Z | 2020-07-17T03:43:48.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 1 | 2019-10-25T08:35:27.000Z | 2019-10-28T05:06:55.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 3 | 2019-07-29T09:21:11.000Z | 2021-08-28T14:25:13.000Z | /* IQIF neuron object
* Chen-Fu Yeh, 2019/11/09
*/
#include "iq_neuron.h"
using namespace std;
iq_neuron::iq_neuron(int rest, int threshold,
int reset, int a, int b, int noise)
{
x = rest; // initialize with rest potential
t_neuron = 0;
f_min = (a*rest... | 18.236364 | 77 | 0.547856 | twetto |
33fbb210810bab91e3e5e5281a19e74822a79a9e | 44,258 | cpp | C++ | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | /*
* BSD 2-Clause License
*
* Copyright (c) 2020, Christoph Neuhauser
* 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 ... | 43.390196 | 123 | 0.64908 | FelixBrendel |
33fdf948cd6d64179e9d82b680ba30593b58de6f | 2,509 | cpp | C++ | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | 4 | 2015-12-16T06:43:14.000Z | 2020-01-24T06:05:47.000Z | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | /*
**==============================================================================
**
** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and associated documentation files (the "Software"),
** ... | 32.584416 | 80 | 0.62774 | LegalizeAdulthood |
33ff6e3d328c652ea717362e770c0dae140c6366 | 1,802 | hpp | C++ | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | /*
* BiasedRandomWalk.hpp
*
* Created on: 03.07.2020
* Author: Klaus Ahrens <ahrens@informatik.hu-berlin.de>
*
* adapted and reimplemented from node2vec
* part of snap [https://github.com/snap-stanford/snap]
* Copyright (c) 2007-2019, Jure Leskovec (under BSD license)
*
* see [https://arxiv.org/pdf... | 27.30303 | 100 | 0.704772 | angriman |
33ff8198ae66cc42da76d1efc0d75657d14fdb16 | 2,098 | cc | C++ | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null |
#include <string>
#include <string_view>
#include <iostream>
#include <regex>
#include <algorithm>
#include <map>
// #include <range/v3/all.hpp>
namespace {
using SatelliteGraph = std::map<std::string, std::vector<std::string>>;
SatelliteGraph map2graph(std::istream& map) {
SatelliteGraph result;
const std... | 23.840909 | 80 | 0.659676 | ovove |
d5018e36c13540c04dfcdf308c8537bae3c2e67d | 413 | hpp | C++ | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | #pragma once
#include <httplib/detail/common.hpp>
#include <httplib/http/headers.hpp>
#include <httplib/http/version.hpp>
#include <string>
HTTPLIB_OPEN_NAMESPACE
struct http_response_t {
unsigned int code = 0;
std::string reason;
http_version_t version;
http_headers_t headers;
};
std::ostream &... | 16.52 | 80 | 0.748184 | andrusha97 |
d501a76112ee571565b25b56c1e25347067fbe08 | 19,005 | hpp | C++ | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-22T11:29:02.000Z | 2020-09-22T11:29:02.000Z | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-29T08:57:13.000Z | 2020-09-29T08:57:13.000Z | #pragma once
#include <tudocomp/config.h>
#ifndef SDSL_FOUND
#pragma message "SDSL required, but not available!"
#else
//std includes:
#include <vector>
#include <tuple>
//general includes:
#include <tudocomp/util.hpp>
#include <tudocomp/ds/IntVector.hpp>
#include <tudocomp/Compressor.hpp>
#include <tudocomp/Error.... | 37.858566 | 176 | 0.473612 | 421408 |
d5046672da82a39afaaa79a713ad8494c3e43f72 | 11,486 | cpp | C++ | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | null | null | null | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-05-27T18:56:25.000Z | 2018-05-27T18:56:25.000Z | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-09-05T11:18:06.000Z | 2018-09-05T11:18:06.000Z | #include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
using namespace std;
using namespace cv;
Mat myMask;
Mat myFrame;
Mat origFrame;
int frameCols = 0, frameRows = 0;
Mat refine(Mat frame, Mat mask);
static void help()
{
cout << "\nThis... | 27.544365 | 164 | 0.560334 | 2vin |
d50a813b21c4a7125a568638f8d335fae4043844 | 115 | cpp | C++ | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | #if !defined(DONT_DEFINE_TYPES)
#endif
#include "F:/Programming/CppLibs/imgui/imgui/examples/imgui_impl_glfw.h"
| 16.428571 | 72 | 0.791304 | CheezLang |
d50d608dc4b92b0c6251b547d8b1de3d39119f2a | 17,818 | cpp | C++ | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | 1 | 2020-05-06T12:52:45.000Z | 2020-05-06T12:52:45.000Z | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Andreas Pohl
* Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING)
*
* Author: Andreas Pohl
*/
#include "PluginProcessor.hpp"
#include <signal.h>
#include "PluginEditor.hpp"
#include "json.hpp"
using json = nlohmann::json;
AudioGridderAudioProcessor::AudioG... | 34.464217 | 120 | 0.599394 | b00leant |
d50f311baa5bcc6fa2ee3552adff91ceb0cc7f31 | 169 | cpp | C++ | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
void Camera::UpdateProjectionMatrix() {
m_projectionMatrix = Matrix4::Perspective(m_FOV, GetApplication()->GetAspect(), m_nearPlane, m_farPlane);
} | 33.8 | 106 | 0.775148 | jodelahithit |
d514a9e055b489dbe250836cdb055956cc54c5f0 | 6,890 | cpp | C++ | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 248 | 2015-01-08T05:21:40.000Z | 2022-03-20T02:59:16.000Z | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 39 | 2015-01-14T17:37:07.000Z | 2022-03-17T12:59:26.000Z | Examples/UI/FileDialogs/Sources/app.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.77451 | 112 | 0.697823 | xctan |
d517a7ae14c50ac5e439a7c29513aa65ab0edf66 | 3,696 | cpp | C++ | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | /**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 2018-4-14 21:58:25
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn)... | 19.659574 | 77 | 0.479708 | kazunetakahashi |
d5187582d079e3d9588b50bbdcdce745ae44c5f0 | 822 | cpp | C++ | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | 1 | 2022-02-15T12:53:00.000Z | 2022-02-15T12:53:00.000Z | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class strings_recursion
{
public:
int length(char s[]);
void removeX(char s[]);
};
int strings_recursion::length(char s[])
{
if (s[0] == '\0')
{
return 0;
}
int smallStringLength = length(s + 1);
return 1 + smallStringLength;
}
void string... | 14.945455 | 42 | 0.457421 | gaurav147-star |
d518fb0e32ff30902f083db5a640d07acf40675c | 1,814 | cpp | C++ | Source/Add On - Apple/CCoreGraphics.cpp | StevoGTA/CppToolbox | ff53e4ecf02b283e608afc92769199104ba30bf1 | [
"MIT"
] | 1 | 2019-05-02T23:49:03.000Z | 2019-05-02T23:49:03.000Z | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------------------------------------------------
// CCoreGraphics.cpp ©2020 Stevo Brock All rights reserved.
//----------------------------------------------------------------------------------------------------------------------
#include "CCore... | 43.190476 | 120 | 0.495039 | StevoGTA |
d51a6eb192ee41b0b8ce11d5816fe375a6e1b915 | 106,081 | cpp | C++ | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 16 | 2015-09-08T08:49:11.000Z | 2019-07-20T14:46:20.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 1 | 2019-02-10T08:27:48.000Z | 2019-02-10T08:27:48.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 7 | 2016-05-26T17:31:46.000Z | 2020-11-04T06:39:23.000Z | //===------- LegalizeVectorTypes.cpp - Legalization of vector types -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.971712 | 81 | 0.639172 | nettrino |
d51a8fe0a2f169cda115e9ac3721afcf1e9d24d5 | 5,873 | cc | C++ | src/run_crown/deref_expression.cc | Clown-FM/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2019-09-07T09:58:26.000Z | 2019-09-07T09:58:26.000Z | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 4 | 2019-09-07T09:53:17.000Z | 2021-09-04T16:11:20.000Z | // This file is part of CROWN, which is distributed under the revised
// BSD license. A copy of this license can be found in the file LICENSE.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PART... | 32.269231 | 103 | 0.715307 | Clown-FM |
d51d1caa2d631123f846b1530b8e5e05133e36c2 | 62,133 | cpp | C++ | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 1,305 | 2018-07-28T08:48:47.000Z | 2022-03-31T23:06:59.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 582 | 2019-01-01T15:37:55.000Z | 2022-03-30T22:57:16.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 284 | 2018-10-17T22:16:26.000Z | 2022-03-30T15:38:19.000Z | #ifdef _WIN32
#include <windows.h>
#include <windowsx.h>
#else
#include "../swell/swell.h"
#endif
#include <stdlib.h>
#include <string.h>
#ifndef CURSES_INSTANCE
#define CURSES_INSTANCE ((win32CursesCtx *)m_cursesCtx)
#endif
#include "curses.h"
#include "eel_edit.h"
#include "../wdlutf8.h"
#include "../win32_utf8.h"
#i... | 29.657757 | 161 | 0.530362 | badi91 |
d51daa9e1e70d6408cdfb4d7a4b61f0e565ff340 | 29,952 | cc | C++ | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 2 | 2021-01-19T02:27:59.000Z | 2021-08-18T06:56:32.000Z | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | null | null | null | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 1 | 2020-06-22T12:46:39.000Z | 2020-06-22T12:46:39.000Z | /* Copyright 2017 The Apollo 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 agree... | 35.0726 | 80 | 0.685831 | IsaacZhang123 |
d51ec1720ee2162fa6b160278ebe048b09a56fd0 | 577 | cpp | C++ | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 8 | 2021-07-16T18:07:15.000Z | 2022-01-31T19:17:10.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 1 | 2022-01-18T23:02:26.000Z | 2022-01-18T23:02:30.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 2 | 2022-01-18T15:45:18.000Z | 2022-01-26T09:53:19.000Z | #define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"
#include <cstdio>
#include <backward.hpp>
namespace veg {
int argc = 0;
char** argv = nullptr;
} // namespace veg
auto main(int argc, char** argv) -> int {
veg::argc = argc;
veg::argv = argv;
char argname[] = "--veg-death-assertion-id";
if (argc >= 3 && //
... | 21.37037 | 51 | 0.616984 | karnkaul |
d52047756e66a3c16b8efa635ce2d1f323bae298 | 2,910 | cpp | C++ | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 3 | 2020-03-01T06:30:30.000Z | 2021-05-01T05:11:48.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 96 | 2020-01-18T18:25:48.000Z | 2022-03-26T12:26:50.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Name: scope.cpp
// Purpose: Implementation of class wex::scope
// Author: Anton van Wezenbeek
// Copyright: (c) 2020-2021 Anton van Wezenbeek
////////////////////////////////////////////////////////////////////////////////
#i... | 21.086957 | 80 | 0.576289 | antonvw |
d520fecc7313fd00060c3bd0391a55885087991f | 6,931 | hpp | C++ | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: blast_test_util.hpp 354597 2012-02-28 16:45:09Z ucko $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government... | 33.97549 | 86 | 0.665416 | OpenHero |
d527fabc2345d9850127221c934ccf808739c9d3 | 860 | cpp | C++ | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | #include "system_management.h"
std::ofstream fileout("log");
System_resource::System_resource()
{
sysinfo(&memInfo);
totalVirtualMem = memInfo.totalram;
totalVirtualMem += memInfo.totalswap;
totalVirtualMem *= memInfo.mem_unit;
totalPhysMem = memInfo.totalram;
totalPhysMem *= memInfo.mem_unit;
}
uint64_t Syste... | 23.243243 | 56 | 0.790698 | radii-dev |
d52a2e3d7bc726d86fdc5b6f25baffcad0df83ff | 7,246 | cpp | C++ | BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | wafflehammer/MonoInjector | bc7680a2ec8be606f5fdc8614c0c991a1d074382 | [
"MIT"
] | 354 | 2018-08-13T18:19:21.000Z | 2022-03-20T10:37:20.000Z | Protection/BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | Bia10/ZzukBot_V3 | 55abfb38fd07ba970d4b4020d8d96b87559509db | [
"Unlicense"
] | 6 | 2017-08-03T03:40:56.000Z | 2021-10-18T22:12:58.000Z | Protection/BlackBone/src/BlackBone/LocalHook/LocalHookBase.cpp | Bia10/ZzukBot_V3 | 55abfb38fd07ba970d4b4020d8d96b87559509db | [
"Unlicense"
] | 90 | 2018-11-15T12:37:51.000Z | 2022-02-14T11:12:39.000Z | #include "LocalHookBase.h"
namespace blackbone
{
std::unordered_map<void*, DetourBase*> DetourBase::_breakpoints;
void* DetourBase::_vecHandler = nullptr;
DetourBase::DetourBase()
{
}
DetourBase::~DetourBase()
{
VirtualFree( _buf, 0, MEM_RELEASE );
}
/// <summary>
/// Allocate detour buffer as close to target a... | 28.085271 | 112 | 0.616202 | wafflehammer |
d52a8639b282d5cb9e6c66ba5def09ad823af4b9 | 3,195 | cpp | C++ | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | null | null | null | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | null | null | null | csr_uint.cpp | LazyShion/ScaleSCAN | af553f88209e2f1ceb7be93dd349d380a4196e43 | [
"MIT"
] | 1 | 2021-11-22T16:33:50.000Z | 2021-11-22T16:33:50.000Z | #include<iostream>
#include<fstream>
#include<map>
#include<vector>
#include<cstdlib>
#include<algorithm>
#include<set>
#define CH printf("check!!\n");
using namespace std;
int main(int argc,char *argv[])
{
ifstream infile1(argv[1]);
ofstream outfile(argv[2],ios_base::out | ios_base::binary);
string str1,str2;... | 23.492647 | 71 | 0.600939 | LazyShion |
d52ba182a9c2333b3469ec0a46922d3f0c6a6a4c | 250 | cpp | C++ | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/mix/fun/log1m_test.cpp | bayesmix-dev/math | 3616f7195adc95ef8e719a2af845d61102bc9272 | [
"BSD-3-Clause"
] | 1 | 2020-05-10T12:55:07.000Z | 2020-05-10T12:55:07.000Z | #include <test/unit/math/test_ad.hpp>
TEST(mathMixMatFun, log1m) {
auto f = [](const auto& x1) { return stan::math::log1m(x1); };
stan::test::expect_common_unary_vectorized(f);
stan::test::expect_unary_vectorized(f, -21.5, -21, -1, 0.9, 3);
}
| 31.25 | 65 | 0.672 | bayesmix-dev |
d52ec5d95e092e53994be0f0e575ee1eb387cb9d | 22,717 | cpp | C++ | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | 1 | 2022-01-07T21:25:53.000Z | 2022-01-07T21:25:53.000Z | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | null | null | null | src/RayTracer/RayTracer.cpp | yuphin/Lumen | a210b5a923b684ed1fc6f047544b82af4fdfe2db | [
"MIT"
] | null | null | null | #include "LumenPCH.h"
#include <regex>
#include <stb_image.h>
#define TINYEXR_IMPLEMENTATION
#include <zlib.h>
#include <tinyexr.h>
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define TINYOBJLOADER_IMPLEMENTATION
#include "RayTracer.h"
RayTracer* RayTracer::i... | 34.842025 | 110 | 0.74693 | yuphin |
d52fe3d5cf2a04ed0a8620de3137866eaebdb5dc | 19,044 | cpp | C++ | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/Diagnostics/Diagnostics.cpp | PhilMiller/WarpX | 66b01e54771322eae7a7f0ccd697c599452fbd88 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "Diagnostics.H"
#include "Diagnostics/ComputeDiagFunctors/ComputeDiagFunctor.H"
#include "ComputeDiagFunctors/BackTransformParticleFunctor.H"
#include "Diagnostics/FlushFormats/FlushFormat.H"
#include "Diagnostics/ParticleDiag/ParticleDiag.H"
#include "FlushFormats/FlushFormatAscent.H"
#include "FlushFormats/... | 40.433121 | 142 | 0.646765 | PhilMiller |
d5333c8297dff93bb9e32e00f2dc3310dead2358 | 5,159 | cxx | C++ | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | resip/recon/UserAgentServerAuthManager.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include <cassert>
#include "UserAgent.hxx"
#include "UserAgentServerAuthManager.hxx"
#include <resip/dum/DialogUsageManager.hxx>
#include <resip/dum/ServerAuthManager.hxx>
#include <resip/dum/UserAuthInfo.hxx>
#include <resip/dum/UserProfile.hxx>
#include <rutil/MD5Stream.hxx>
#include <rutil/WinLeakCheck.hxx>
#def... | 34.393333 | 165 | 0.686373 | dulton |
d53733bd8ae0d7c5652718dc3012ca238400ae83 | 9,224 | cpp | C++ | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | tools/converter/source/onnx/onnxOpConverter.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | null | null | null | //
// onnxOpConverter.cpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "onnxOpConverter.hpp"
#include "OpCount.hpp"
using namespace MNN;
static int32_t _limit(int64_t i64) {
if (i64 > (int64_t)(1 << 30)) {
return 1 << 30;
}
i... | 37.803279 | 116 | 0.568517 | foreverlms |
d539757ef23d4c01ba4e3355d1ccf2d0a166d96d | 20,382 | hxx | C++ | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/IO/ImageBase/include/itkImageFileReader.hxx | bradking/ITK | 625d4497512b0fb0108106e680063998b8528e06 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 38.675522 | 120 | 0.659356 | bradking |
d53a87a9e6e27378f7ec05288766cada1296d53f | 1,628 | cpp | C++ | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | cpp/logger/Logger.cpp | yukonfb/profilo | baf0ef6e4c140f5b1cdf110b90698f9e8ca7c375 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2004-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 26.258065 | 77 | 0.702703 | yukonfb |
d53ae992b6472b93886c119c8ad83a6aeb8a5983 | 35,578 | cpp | C++ | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | display-caf/sdm/libs/core/fb/hw_device.cpp | rahulsnair/android_device_motorola_athenecaf | 52399442131dc51ea35cc6fcae1e49683b2bc60b | [
"FTL"
] | null | null | null | /*
* Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this li... | 37.728526 | 100 | 0.669093 | rahulsnair |
d53c45114c8012f5752f54f4512f150a527c151e | 13,132 | cpp | C++ | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 110 | 2018-09-04T20:33:59.000Z | 2021-12-17T08:46:11.000Z | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 5 | 2018-09-05T20:57:08.000Z | 2021-02-24T09:02:31.000Z | Modules/Scene/vaCameraControllers.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 20 | 2018-09-05T00:41:13.000Z | 2021-08-04T01:31:50.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, 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 de... | 41.0375 | 216 | 0.611407 | magcius |
d5411a6e6847c2c0491ca39d39d322e459ea5dec | 1,055 | cpp | C++ | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 39 | 2019-06-22T12:25:54.000Z | 2022-03-14T05:42:44.000Z | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 5 | 2019-06-29T10:58:43.000Z | 2020-09-04T08:44:09.000Z | library/view/widget/default_theme_provider.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 10 | 2019-08-07T06:08:23.000Z | 2022-03-14T05:42:47.000Z |
#include "default_theme_provider.h"
#include "ui_base/resource/resource_bundle.h"
#include "view/widget/native_widget_win.h"
namespace view
{
DefaultThemeProvider::DefaultThemeProvider() {}
DefaultThemeProvider::~DefaultThemeProvider() {}
void DefaultThemeProvider::Init(Profile* profile) {}
SkBi... | 21.979167 | 76 | 0.685308 | topillar |
d5440368d4912236ac2556e9f1b5b13b571bc46e | 8,329 | hxx | C++ | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | include/semaphore.hxx | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | // -*- C++ -*-
//===--------------------------- semaphore --------------------------------===//
//
// 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
//
//===------------... | 29.122378 | 100 | 0.715452 | K-Wu |
d5449f863e08673cc00b0f7277f890cb4164ab98 | 34,521 | cpp | C++ | Testing/Marlin-2.0.x/Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 5 | 2020-05-17T21:16:41.000Z | 2021-06-11T04:46:31.000Z | Testing/Marlin-2.0.x/Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 1 | 2020-09-27T14:53:34.000Z | 2020-09-27T14:53:34.000Z | src/HAL/shared/backtrace/unwarm_thumb.cpp | Sundancer78/Marlin-2.0.4_SKR_14_turbo_ender3 | d9dbef52e6fb4e110908a6d09d0af00fc0ac9b20 | [
"MIT"
] | 2 | 2019-07-22T20:31:15.000Z | 2021-08-01T00:15:38.000Z | /***************************************************************************
* ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
* Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle
*
* This program is PUBLIC DOMAIN.
* This means that there is no copyright and anyone is able to take a copy
... | 32.323034 | 149 | 0.499261 | qisback |
d54606df4cb1464acde729e0b0d7c31afe675644 | 2,401 | cpp | C++ | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | 7 | 2015-10-16T20:49:20.000Z | 2019-04-17T09:34:35.000Z | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | null | null | null | test/Euclid/Geometry/Test.Axis.cpp | kurocha/euclid | 932e4a01043442becc696eb337e796ae9578a078 | [
"Unlicense",
"MIT"
] | null | null | null |
#include <UnitTest/UnitTest.hpp>
#include <Euclid/Geometry/Axis.hpp>
namespace Euclid
{
namespace Geometry
{
UnitTest::Suite AxisTestSuite {
"Euclid::Geometry::Axis",
{"Construction",
[](UnitTest::Examiner & examiner) {
auto a1 = Axis<RealT>{IDENTITY};
examiner << "Identity axis has zero tr... | 28.927711 | 84 | 0.602249 | kurocha |
d5480991c16607bdb60b2f0c4de714ceb7538ddc | 3,136 | cpp | C++ | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | game/Controller.cpp | eslingsby/SimpleEngine | 60b07c235f57388b7b0c6db44cedb8f21b921bea | [
"MIT"
] | null | null | null | #include "Controller.hpp"
#include "Transform.hpp"
#include "Window.hpp"
Controller::Controller(Engine& engine) : _engine(engine), _possessed(engine) {
SYSFUNC_ENABLE(SystemInterface, update, 0);
SYSFUNC_ENABLE(SystemInterface, cursorPosition, 0);
SYSFUNC_ENABLE(SystemInterface, keyInput, 0);
SYSFUNC_ENABLE(Syst... | 22.4 | 78 | 0.695791 | eslingsby |
d54ed2bd0cc8105b0a7363378b193d40fdc25943 | 3,021 | hpp | C++ | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:48.000Z | 2019-10-26T21:44:59.000Z | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | null | null | null | master/core/third/RCF/include/RCF/util/ReadWriteProtect.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 4 | 2017-12-04T08:22:49.000Z | 2018-12-27T03:20:31.000Z |
//*****************************************************************************
// Copyright (c) 2003. All rights reserved.
// Developed by Jarl Lindrud.
// Contact: jlindrud@hotmail.com .
//*****************************************************************************
#ifndef _UTIL_READWRITEPROTECT_HPP_
#defi... | 27.216216 | 108 | 0.506124 | importlib |
d54f794032c0ebf8cba0066e0f27bfec5c6166dc | 172 | hpp | C++ | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 7 | 2017-12-31T13:16:57.000Z | 2020-12-28T12:56:15.000Z | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 2 | 2017-12-31T11:55:22.000Z | 2017-12-31T16:57:00.000Z | src/common.hpp | Southclaws/samp-bitmapper | 17807d2bd2955eb7747c989ecd7c10dc43231821 | [
"MIT"
] | 2 | 2018-07-07T12:34:04.000Z | 2020-11-01T21:58:02.000Z | #pragma warning(default:4005)
extern void** ppPluginData;
extern void* pAMXFunctions;
typedef void (*logprintf_t)(const char* szFormat, ...);
extern logprintf_t logprintf;
| 28.666667 | 55 | 0.77907 | Southclaws |
d5525677ee9f048d3c6f48de9f70c9f385e038f7 | 4,529 | cc | C++ | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | flecsi/execution/legion/runtime_main.cc | scothalverson/flecsi | a7b2c289b99ecadd0c75cabc491f5c66e543345c | [
"Unlicense"
] | null | null | null | /*
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
/@@///// /@@ @@////@@ @@////// /@@
/@@ /@@ @@@@@ @@ // /@@ /@@
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
/@@//// /@@/@@@@@@@/@@ ////////@@/@@
/@@ /@@/@@//// //@@ @@ /@@/@@
/@@ @@@//@@@@@@ //@@... | 28.664557 | 80 | 0.552661 | scothalverson |
d553f7526b1e3b55b887e22c97422f60792033fb | 7,117 | hpp | C++ | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | structures/linkedlist.hpp | Dannnno/DataStructures | 898e16acc4d05e7c387972f1aef252b298fc4f81 | [
"MIT"
] | null | null | null | /**
* \file linkedlist.hpp
* \author Dan Obermiller
* \brief Implementation of a singly-linked list.
*/
#ifndef LINKEDLIST_HPP
#define LINKEDLIST_HPP 1
#include <cstddef>
#include <iterator>
#include "list.hpp"
#include "../exceptions.hpp"
/**
* \brief A paramaterized singly-linked list
*/
template <typename... | 19.287263 | 76 | 0.620627 | Dannnno |
d554bd45d843cb76d265f6338a1d1a4f5b3618ea | 10,916 | cpp | C++ | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | components/cpp_utils/TFTP.cpp | klaus-liebler/esp32 | f6ad2b92153f64d2467f0256c6d2fe776d9d7145 | [
"MIT"
] | null | null | null | /*
* TFTP.cpp
*
* See also:
* * https://tools.ietf.org/html/rfc1350
* Created on: May 21, 2017
* Author: kolban
*/
#include "TFTP.h"
#include <esp_log.h>
#include <FreeRTOS.h>
#include <GeneralUtils.h>
#include <string>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <Socket.h>
#includ... | 27.496222 | 121 | 0.661964 | klaus-liebler |
d55625faab4a967a87ef961045f4929c16c50e77 | 6,462 | cpp | C++ | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 15 | 2017-05-27T16:02:51.000Z | 2018-11-30T07:02:22.000Z | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | null | null | null | DrvApp/HookEngine/distorm/textdefs.cpp | jackqk/mystudy | 84313c1eaed7351d37b609288d1d32bf3b808859 | [
"Apache-2.0"
] | 11 | 2017-11-10T01:28:59.000Z | 2018-11-15T11:59:33.000Z | /*
textdefs.c
diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2016 Gil Dabah
This library is licensed under the BSD license. See the file COPYING.
*/
#include <stdafx.h>
#include "textdefs.h"
#ifndef DISTORM_LIGHT
static uint8_t Nibble2ChrTabl... | 37.352601 | 129 | 0.476787 | jackqk |
d556755ab874ea2f78040cb781cfb7a03579ce09 | 898 | cpp | C++ | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | lib/plog/samples/UtcTime/Main.cpp | hsbsw/hAIR | d7fa988dd639ced63acae3b1e980d39ee3c8412e | [
"MIT"
] | null | null | null | //
// UtcTime - shows how to use UTC time in logs.
//
#include <plog/Log.h>
#include <plog/Init.h>
#include <plog/Formatters/CsvFormatter.h>
#include <plog/Formatters/TxtFormatter.h>
#include <plog/Appenders/ColorConsoleAppender.h>
#include <plog/Appenders/RollingFileAppender.h>
int main()
{
static plog::ColorCon... | 33.259259 | 125 | 0.721604 | hsbsw |
d55a3c2c148ef28a162c3886742247fd169362ee | 12,690 | cpp | C++ | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | 2 | 2018-04-30T09:58:48.000Z | 2018-05-14T10:13:42.000Z | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | Lyfe_Game/Source/Lyfe_Game/Private/CompoundStorageComponent_Cell.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "CompoundStorageComponent_Cell.h"
#include "Character_SingleCelled.h"
#include "Logging.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "Meta_CellStage.h"
// Sets default values for this component's propert... | 27.467532 | 190 | 0.665406 | GameAboutThings |
f65c6a13cd9a587638b413bd044a30d92a398b53 | 1,230 | cpp | C++ | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 6 | 2020-03-28T16:46:47.000Z | 2021-11-23T16:27:47.000Z | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 1 | 2021-02-10T13:48:52.000Z | 2021-02-10T13:49:32.000Z | local_remote_attestation/host/enclave_b.cpp | VictorDebray/azure-tee-attestation-samples | 38964c6023586dcc5014bd088daba0fa336c5a46 | [
"MIT"
] | 5 | 2020-07-31T10:38:44.000Z | 2021-11-10T08:24:20.000Z | #include "enclave.h"
int enclave_b_flow(oe_enclave_t* enclave, const char* input_file) {
int ret = 0;
const char* encrypted_file = "./out.encrypted";
const char* decrypted_file = "./out.decrypted";
// encrypt a file
std::cout << "Host: decrypting file:" << decrypted_file << std::endl;
ret = enc... | 35.142857 | 79 | 0.590244 | VictorDebray |
f65ce637d77ce183f83b70dce6da8d0b4b8b8e71 | 16,444 | cpp | C++ | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"Apache-2.0"
] | null | null | null | src/master/main.cpp | j143/mesos | a85a22baa32f66ecaa13c4602a195d57f6abf9be | [
"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... | 29.68231 | 80 | 0.662977 | j143 |
f65e1081d2a574e654796d99e4dae40e79bc1848 | 1,743 | cpp | C++ | src/MapGenerator/Math/LineEquation.cpp | USCcorpuscallosum/spiky | 38b2d73ae8def2180e9e84f5c9b6ba814468abc9 | [
"MIT"
] | 2 | 2018-11-10T20:56:22.000Z | 2019-02-10T13:14:05.000Z | src/MapGenerator/Math/LineEquation.cpp | FutureVR/ResponsiveTerrain | f5e631539e886dffb0b4b3f398803730db31f8d7 | [
"MIT"
] | null | null | null | src/MapGenerator/Math/LineEquation.cpp | FutureVR/ResponsiveTerrain | f5e631539e886dffb0b4b3f398803730db31f8d7 | [
"MIT"
] | null | null | null | // MapGenerator
// from https://github.com/Rellikiox/MapGenerator
/*
* LineEquation.cc
*
* Created on: Mar 5, 2012
* Author: rellik
*/
#include "LineEquation.h"
equ::equ(Vec2 p1, Vec2 p2) {
// Calculamos la pendiente
if (p1.x != p2.x) {
vertical = false;
m = (p2.y - p1.y) / (p2.x - p1.x);
b = p1... | 14.056452 | 61 | 0.507745 | USCcorpuscallosum |
f6609f6d03e7978270d4bf9a093b009cf884c0cd | 3,145 | cpp | C++ | Src/OpenGlRenderMechanism.cpp | Remag/GraphicsInversed | 6dff72130891010774c37d1e44080261db3cdb8e | [
"MIT"
] | null | null | null | Src/OpenGlRenderMechanism.cpp | Remag/GraphicsInversed | 6dff72130891010774c37d1e44080261db3cdb8e | [
"MIT"
] | null | null | null | Src/OpenGlRenderMechanism.cpp | Remag/GraphicsInversed | 6dff72130891010774c37d1e44080261db3cdb8e | [
"MIT"
] | null | null | null | #include <common.h>
#pragma hdrstop
#include <OpenGlRenderMechanism.h>
#include <GlContextManager.h>
#include <GlWindowUtils.h>
#include <DrawEnums.h>
#include <State.h>
#include <Framebuffer.h>
namespace Gin {
//////////////////////////////////////////////////////////////////////////
COpenGlRenderMec... | 30.240385 | 128 | 0.694118 | Remag |
f6647e6a84681938cef7fe76635a019510ae7d6a | 11,230 | cpp | C++ | llvm/lib/Target/Mips/MipsRegisterInfo.cpp | haohua-li/t-sgx-mirror | 49188063f3cb5300cda8a03255cfe800e8266ace | [
"MIT"
] | 26 | 2017-04-18T15:51:16.000Z | 2022-03-29T07:03:37.000Z | llvm/lib/Target/Mips/MipsRegisterInfo.cpp | haohua-li/t-sgx-mirror | 49188063f3cb5300cda8a03255cfe800e8266ace | [
"MIT"
] | 2 | 2017-10-27T21:29:04.000Z | 2019-06-12T01:23:38.000Z | 3.7.0/llvm-3.7.0.src/lib/Target/Mips/MipsRegisterInfo.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 9 | 2017-10-02T19:54:36.000Z | 2021-11-22T00:48:18.000Z | //===-- MipsRegisterInfo.cpp - MIPS Register Information -== --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 32.270115 | 80 | 0.675779 | haohua-li |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.