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
56acd1e6ad31b06d8c3ed276999a99e9edf4cfd9
29,303
cpp
C++
Testing/VME/albaAttributeSegmentationVolumeTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/VME/albaAttributeSegmentationVolumeTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/VME/albaAttributeSegmentationVolumeTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaAttributeSegmentationVolumeTest Authors: Matteo Giacomoni Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARR...
44.601218
177
0.624271
IOR-BIC
56ad5cf5c0d3e2903e22d189b9480d825b3d678b
413,670
cpp
C++
Library/Bee/artifacts/Android/il2cppOutput/cpp/UnityEngine.PhysicsModule.cpp
OhioAdam/TABL3
6556d956eb5f4dafd8159b039bd019aafee494bb
[ "MIT" ]
null
null
null
Library/Bee/artifacts/Android/il2cppOutput/cpp/UnityEngine.PhysicsModule.cpp
OhioAdam/TABL3
6556d956eb5f4dafd8159b039bd019aafee494bb
[ "MIT" ]
null
null
null
Library/Bee/artifacts/Android/il2cppOutput/cpp/UnityEngine.PhysicsModule.cpp
OhioAdam/TABL3
6556d956eb5f4dafd8159b039bd019aafee494bb
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <limits> #include <stdint.h> // System.Action`2<UnityEngine.PhysicsScene,Unity.Collections.NativeArray`1<UnityEngine.ModifiableContactPair>> struct Action_2_t70E17A6F8F03189031C560482454FE2D87F496F2; // System...
68.522445
587
0.878814
OhioAdam
56b3a79d7756967c86cd53d9fec47b4461dcd589
6,478
inl
C++
include/Memory.inl
quachdnguyen/locate-src
14b702aa797efd7758c232ba8e83e63101a80524
[ "BSD-3-Clause" ]
null
null
null
include/Memory.inl
quachdnguyen/locate-src
14b702aa797efd7758c232ba8e83e63101a80524
[ "BSD-3-Clause" ]
null
null
null
include/Memory.inl
quachdnguyen/locate-src
14b702aa797efd7758c232ba8e83e63101a80524
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////// // HFC Library - Copyright (C) 1999-2008 Janne Huttunen //////////////////////////////////////////////////////////////////// #ifndef HFCMEMORY_INL #define HFCMEMORY_INL inline void fMemCopy(void* dst,const void* src,SIZE_T len) { for (register U...
17.895028
97
0.659617
quachdnguyen
56b745716a93c76188a777a9adfa3e294c604786
937
cpp
C++
f1tenth_labs-master/lab6/code/src/pure_pursuit.cpp
Yuze-HE/F1_tenth
a388c72cd5c236140c290f47ce26d3eec22c14b9
[ "MIT" ]
null
null
null
f1tenth_labs-master/lab6/code/src/pure_pursuit.cpp
Yuze-HE/F1_tenth
a388c72cd5c236140c290f47ce26d3eec22c14b9
[ "MIT" ]
null
null
null
f1tenth_labs-master/lab6/code/src/pure_pursuit.cpp
Yuze-HE/F1_tenth
a388c72cd5c236140c290f47ce26d3eec22c14b9
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <geometry_msgs/PoseStamped.h> #include <sensor_msgs/LaserScan.h> // TODO: include ROS msg type headers and libraries you need class PurePursuit { private: ros::NodeHandle n; // TODO: create ROS subscribers and publishers public: Safety() { n = ros::NodeHandle(); ...
26.771429
115
0.671291
Yuze-HE
56be49669da3b754bdd3b1d165b203e530719cd7
110
hpp
C++
Bridge/code/Implementor.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
Bridge/code/Implementor.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
Bridge/code/Implementor.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
#pragma once class Implementor { public: virtual ~Implementor() = default; virtual void run() = 0; };
13.75
37
0.654545
HONGYU-LEE
56c04138c917e5991c54c1441de5dc736e589920
1,984
cpp
C++
src/SymbolTableEntry.cpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
src/SymbolTableEntry.cpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
src/SymbolTableEntry.cpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
#include "SymbolTableEntry.hpp" #include <sstream> #include <iostream> static std::string toString(TypeObject type, void *addr); SymbolTableEntry::SymbolTableEntry(std::string name, TypeObject vType, int lv, int proc, void *address) : name(name), variableType(vType), level(lv), procedure(proc), variableAddress(ad...
20.244898
108
0.626008
kim-hyunsu
08cea2eddce10b6e1f37062f0c14037181932546
464
cpp
C++
git_C++/set 2/Project2/Project2/Main.cpp
soryncrash13/old-C-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
1
2017-09-30T09:58:07.000Z
2017-09-30T09:58:07.000Z
git_C++/set 2/Project2/Project2/Main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
git_C++/set 2/Project2/Project2/Main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> using namespace std; int main() { const int capacity = 50; int s[capacity], i, j, n, m; ifstream file; file.open("NUMERE.TXT"); if (file.fail()) { cerr << "FILE ERROR" << endl; exit(1); } file >> n; for (i = 1; i <= n; i++...
14.967742
46
0.512931
soryncrash13
08d011870eb158a0a1645cb9efdb1f888fe3a85c
9,122
cpp
C++
src/listener_async_spinner_async_buffer.cpp
Benson516/multithread_test
1654c7a2bf3e18cefd0cc6af8ac8e86f63a18146
[ "MIT" ]
null
null
null
src/listener_async_spinner_async_buffer.cpp
Benson516/multithread_test
1654c7a2bf3e18cefd0cc6af8ac8e86f63a18146
[ "MIT" ]
null
null
null
src/listener_async_spinner_async_buffer.cpp
Benson516/multithread_test
1654c7a2bf3e18cefd0cc6af8ac8e86f63a18146
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/String.h" #include <string> #include <iostream> #include <vector> #include <sstream> #include <ctime> /* #include <thread> #include <chrono> */ #include <boost/bind.hpp> // async_buffer // #include <async_buffer.hpp> #include <async_buffer_v2.hpp> // #include "async_buffer.hpp"...
27.981595
147
0.540013
Benson516
08d2741398a32a8a5bc89b406ca33696b38a6785
9,800
cpp
C++
src/main/cpp/Robot.cpp
TEAM1771/Black-Widdow-2022-Update
799dd9caa8171a1f2c40cdf5cd62f45478ba02c4
[ "BSD-3-Clause" ]
2
2022-01-11T13:09:02.000Z
2022-02-10T02:37:14.000Z
src/main/cpp/Robot.cpp
TEAM1771/Black-Widdow-2022-Update
799dd9caa8171a1f2c40cdf5cd62f45478ba02c4
[ "BSD-3-Clause" ]
1
2022-01-21T20:10:44.000Z
2022-01-21T20:59:38.000Z
src/main/cpp/Robot.cpp
TEAM1771/Black-Widow-2022-Update
799dd9caa8171a1f2c40cdf5cd62f45478ba02c4
[ "BSD-3-Clause" ]
null
null
null
#include "Robot.hpp" #include "Drivetrain.hpp" #include "Buttons.hpp" #include "RobotState.hpp" #include "Autons.hpp" #include "Intake.hpp" #include "ShooterWheel.hpp" #include "Hood.hpp" #include "Turret.hpp" #include "Hopper.hpp" #include "Limelight.hpp" #include "ngr.hpp" #include "Climber.hpp" #include "TempMonitor...
28.739003
134
0.656224
TEAM1771
08d8af8c9062459d04289568358affe2c51c6d8a
1,342
cpp
C++
DP/LCS/LongestRepeatingSubsequence.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
DP/LCS/LongestRepeatingSubsequence.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
DP/LCS/LongestRepeatingSubsequence.cpp
PrachieNaik/DSA
083522bb3c8a0694adec1f2856d4d4cd0fb51722
[ "MIT" ]
null
null
null
/* Problem statement: Given a string, print the longest repeating subsequence such that the two subsequence don’t have same string character at same position, i.e., any i’th character in the two subsequences shouldn’t have the same index in the original string. Input: str = "aabb" Output: "ab" Input: str = "aab" Ou...
33.55
164
0.589419
PrachieNaik
08dda64fbde57b17e4039b3a00d8a8fe01f1129b
990
hpp
C++
tokens.hpp
thecsw/crona
b176f11e97945fe5489d08712a117f832032a377
[ "MIT" ]
null
null
null
tokens.hpp
thecsw/crona
b176f11e97945fe5489d08712a117f832032a377
[ "MIT" ]
null
null
null
tokens.hpp
thecsw/crona
b176f11e97945fe5489d08712a117f832032a377
[ "MIT" ]
null
null
null
#ifndef CRONA_TOKEN_H #define CRONA_TOKEN_H #include <string> namespace crona { class Token { public: Token(size_t lineIn, size_t columnIn, int kindIn); virtual std::string toString(); size_t line() const; size_t col() const; int kind() const; private: const size_t myLine; const size_t myCol; const i...
18
53
0.70101
thecsw
08e0a74e9af88a4c74e8a2db4d2255e2bf4fc09e
919
hpp
C++
src/Engine/PieceTypes/ChuShogi/Kylin.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
4
2015-12-24T04:52:48.000Z
2021-11-09T11:31:36.000Z
src/Engine/PieceTypes/ChuShogi/Kylin.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
src/Engine/PieceTypes/ChuShogi/Kylin.hpp
jweathers777/mShogi
941cd4dc37e6e6210d4f993c96a553753e228b19
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // Name: Kylin.hpp // Description: Interface for class that represents a kylin // Created: 08/31/2004 10:15:28 Eastern Daylight Time // Last Updated: $Date: 2004/09/18 22:23:06 $ // Revision: $Revision: 1.1 $ // Author: ...
30.633333
80
0.445049
jweathers777
08e2d6a798346b7bd6da8509b2bd7fadf1cc2c08
391
cpp
C++
src/pmr/reusable_monotonic_buffer_resource.cpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
src/pmr/reusable_monotonic_buffer_resource.cpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
src/pmr/reusable_monotonic_buffer_resource.cpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
1
2021-03-30T15:49:55.000Z
2021-03-30T15:49:55.000Z
// Copyright 2021 Pavel A. Lebedev // Licensed under the Apache License, Version 2.0. // (See accompanying file LICENSE.txt or copy at // http://www.apache.org/licenses/LICENSE-2.0) // SPDX-License-Identifier: Apache-2.0 #include <ampi/pmr/reusable_monotonic_buffer_resource.hpp> namespace ampi { reusable_monoton...
30.076923
88
0.772379
palebedev
08ed9644d3e7eabd96fa6b495e44e17309c9895a
536
cc
C++
lib/asan/lit_tests/symbolize_callback.cc
SaleJumper/android-source-browsing.platform--external--compiler-rt
1f922a5259510f70a12576e7a61eaa0033a02b16
[ "MIT" ]
1
2015-02-04T20:57:19.000Z
2015-02-04T20:57:19.000Z
src/llvm/projects/compiler-rt/lib/asan/lit_tests/symbolize_callback.cc
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/llvm/projects/compiler-rt/lib/asan/lit_tests/symbolize_callback.cc
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-05-26T06:41:58.000Z
2021-05-26T06:41:58.000Z
// RUN: %clangxx_asan -O2 %s -o %t && %t 2>&1 | FileCheck %s #include <stdio.h> #include <stdlib.h> bool MySymbolizer(const void *pc, char *out_buffer, int out_size) { snprintf(out_buffer, out_size, "MySymbolizer"); return true; } typedef bool (*asan_symbolize_callback)(const void*, char*, int); extern "C" void ...
24.363636
67
0.705224
SaleJumper
08efe32e301d7d7f48bffd3e0431f57a2a40c941
11,020
hpp
C++
Nacro/SDK/FN_ItemWindow_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ItemWindow_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ItemWindow_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass ItemWindow.ItemWin...
162.058824
644
0.727223
Milxnor
08f141c7eba3fa0a7c5de1ef40bd75c0052eba10
1,400
cpp
C++
include/var_basic_utilities.cpp
isis97/poly-var-cpp
7329248c9d3979710b1a347325b8786eda2423d0
[ "MIT" ]
1
2021-09-12T12:41:39.000Z
2021-09-12T12:41:39.000Z
include/var_basic_utilities.cpp
styczynski/poly-var-cpp
7329248c9d3979710b1a347325b8786eda2423d0
[ "MIT" ]
null
null
null
include/var_basic_utilities.cpp
styczynski/poly-var-cpp
7329248c9d3979710b1a347325b8786eda2423d0
[ "MIT" ]
null
null
null
#include "var" #ifndef _VAR_BASIC_UTILITIES_CPP #define _VAR_BASIC_UTILITIES_CPP NAMESPACE_VAR_BEGIN__ class var_exception: public exception { private: const char* message = nullptr; protected: inline void setMessage(const char* argMessage) { message = argMessage; } public: var_exception() { } ...
20.588235
113
0.710714
isis97
08f4619bb5a09c23035522e8e5f899889217e82b
5,545
cpp
C++
player/common/Content/ErrorHelper.cpp
vimusc/MixedReality-HolographicRemoting-Samples
315867b8fb8df9539df15900a411bc91da49c04c
[ "Apache-2.0" ]
1
2021-06-15T08:03:54.000Z
2021-06-15T08:03:54.000Z
player/common/Content/ErrorHelper.cpp
vimusc/MixedReality-HolographicRemoting-Samples
315867b8fb8df9539df15900a411bc91da49c04c
[ "Apache-2.0" ]
null
null
null
player/common/Content/ErrorHelper.cpp
vimusc/MixedReality-HolographicRemoting-Samples
315867b8fb8df9539df15900a411bc91da49c04c
[ "Apache-2.0" ]
1
2020-07-30T13:17:29.000Z
2020-07-30T13:17:29.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 PA...
35.318471
124
0.644725
vimusc
08fbdabfe1ef5df68277d75a257ed3dc4dfd4052
45,366
cpp
C++
Source/AllProjects/CQLogicSrv/Shared/CQLogicSh_MathFld.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQLogicSrv/Shared/CQLogicSh_MathFld.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQLogicSrv/Shared/CQLogicSh_MathFld.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQLogicSh_MathFld.cpp // // AUTHOR: Dean Roddey // // CREATED: 08/12/2009 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensou...
29.865701
96
0.537848
MarkStega
1c001a404df632256ea37149f01f6433770bee87
2,228
cpp
C++
src/Game.cpp
szebest/Basic-SFML-Application-Framework
e6b979283a1aba87ea5eefb1785d6f9bf4485d4a
[ "MIT" ]
null
null
null
src/Game.cpp
szebest/Basic-SFML-Application-Framework
e6b979283a1aba87ea5eefb1785d6f9bf4485d4a
[ "MIT" ]
null
null
null
src/Game.cpp
szebest/Basic-SFML-Application-Framework
e6b979283a1aba87ea5eefb1785d6f9bf4485d4a
[ "MIT" ]
null
null
null
#include "Game.h" Game::Game(std::string&& name, unsigned int width, unsigned int height) : m_window({ width, height }, "XD") { pushState(std::unique_ptr<MenuState>(new MenuState(*this))); } int Game::run() { //Time variables const unsigned TICKS_PER_SEC = 30; const sf::Time TIME_PER_UPDATE = sf::sec...
20.62963
91
0.552513
szebest
1c002f9432ca922dae177ef3da38b8aee6a0b342
1,979
cpp
C++
OnGlobalDataSave.cpp
Atari2/lunar-monitor
f66c7583a2de6c944ba74e42f3a336d074d8dd4c
[ "MIT" ]
null
null
null
OnGlobalDataSave.cpp
Atari2/lunar-monitor
f66c7583a2de6c944ba74e42f3a336d074d8dd4c
[ "MIT" ]
11
2021-08-11T00:31:31.000Z
2022-03-31T11:33:39.000Z
OnGlobalDataSave.cpp
Atari2/lunar-monitor
f66c7583a2de6c944ba74e42f3a336d074d8dd4c
[ "MIT" ]
1
2021-08-24T20:35:39.000Z
2021-08-24T20:35:39.000Z
#include "OnGlobalDataSave.h" #include <sstream> void OnGlobalDataSave::onGlobalDataSave(bool succeeded, LM& lm, const std::optional<const Config>& config) { if (succeeded && config.has_value()) { onSuccessfulGlobalDataSave(lm, config.value()); } else { onFailedGlobalDataSave(lm); } } void OnGlobalDataSave...
26.039474
157
0.697322
Atari2
1c025dcac03436a61080dbc03d3ba14c6fefd92e
724
cpp
C++
GFX_API/GFXSource/Renderer/GFX_RenderGraph.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
6
2020-05-01T16:26:27.000Z
2021-10-05T02:39:41.000Z
GFX_API/GFXSource/Renderer/GFX_RenderGraph.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
GFX_API/GFXSource/Renderer/GFX_RenderGraph.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
#include "GFX_RenderGraph.h" namespace GFX_API { DrawPass::DrawPass() : FRAMEBUFFER() {} //Getter-Setters Framebuffer* DrawPass::Get_Framebuffer() { return FRAMEBUFFER; } const char* DrawPass::Get_Name() { return NAME; } RenderGraph::RenderGraph() : RENDER_NODEs(LASTUSEDALLOCATOR, 1, 1) { TuranAPI::LO...
23.354839
86
0.720994
furkanxdgs4
1c0727822209b286a7b464f6cfa3f491ff89ac3c
4,762
cpp
C++
src/mods/AllStart.cpp
youwereeatenbyalid/dx11_mod_base
c9c31426261c793e34a5b7ff1a15598777691ba5
[ "MIT" ]
2
2021-03-25T20:27:49.000Z
2022-03-29T13:00:31.000Z
src/mods/AllStart.cpp
youwereeatenbyalid/dx11_mod_base
c9c31426261c793e34a5b7ff1a15598777691ba5
[ "MIT" ]
null
null
null
src/mods/AllStart.cpp
youwereeatenbyalid/dx11_mod_base
c9c31426261c793e34a5b7ff1a15598777691ba5
[ "MIT" ]
2
2021-02-20T13:42:25.000Z
2022-03-26T16:05:47.000Z
#include "AllStart.hpp" #include "PlayerTracker.hpp" uintptr_t AllStart::jmp_ret{NULL}; bool AllStart::cheaton{NULL}; uintptr_t AllStart::jmp_initial{NULL}; int cancelId = 0; bool stingerjumpcancels; // clang-format off // only in clang/icl mode on x64, sorry static naked void detour() { // "DevilMayCry5.exe"+964B06 ...
30.722581
112
0.598908
youwereeatenbyalid
1c0d9eabf3b4c78bfa7b64c86cafdb2c1a4ee19c
849
hxx
C++
src/control/ai/mod_target/aim_check_targetless.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/ai/mod_target/aim_check_targetless.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/ai/mod_target/aim_check_targetless.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
1
2022-01-29T11:54:41.000Z
2022-01-29T11:54:41.000Z
/** * @file * @author Jason Lingle * @brief Contains the AIM_CheckTargetless AI module */ #ifndef AIM_CHECK_TARGETLESS_HXX_ #define AIM_CHECK_TARGETLESS_HXX_ #include <string> #include <libconfig.h++> #include "src/control/ai/aimod.hxx" /** * Switches state based on whether a living target exists. * @section ...
24.257143
79
0.693757
AltSysrq
1c120feeb4dd93c524cef2d01ce4d2a24f6144c1
941
hpp
C++
src/jut/slw/set.hpp
jeffs/jut
98aea512e93bf5690c50a78b53cb0f0b3a79393a
[ "BSL-1.0" ]
null
null
null
src/jut/slw/set.hpp
jeffs/jut
98aea512e93bf5690c50a78b53cb0f0b3a79393a
[ "BSL-1.0" ]
null
null
null
src/jut/slw/set.hpp
jeffs/jut
98aea512e93bf5690c50a78b53cb0f0b3a79393a
[ "BSL-1.0" ]
null
null
null
/** @file jut/slw/set.hpp Operators that work with `std::set`. */ #ifndef JUT_SLW_SET_INCLUDED #define JUT_SLW_SET_INCLUDED // C++ standard #include <iostream> #include <set> namespace jut { // Jeff's UTilitites namespace slw { // Standard Library Wrappers template <class T> std::set<T>& operator+=(std::set<T>& xs,...
19.604167
77
0.605739
jeffs
1c159d18e5d476e3de996381ff39dc5b4a4289c2
2,933
cpp
C++
software/src/homeassistant/sensor.cpp
langchr86/homesensor
38b1e7523aa601e4426d2e6f4da5e3bdb35fe3eb
[ "MIT" ]
1
2021-01-30T10:49:31.000Z
2021-01-30T10:49:31.000Z
software/src/homeassistant/sensor.cpp
langchr86/homesensor
38b1e7523aa601e4426d2e6f4da5e3bdb35fe3eb
[ "MIT" ]
null
null
null
software/src/homeassistant/sensor.cpp
langchr86/homesensor
38b1e7523aa601e4426d2e6f4da5e3bdb35fe3eb
[ "MIT" ]
null
null
null
#include "sensor.h" #include <ArduinoJson.h> static constexpr char kDeviceJsonObjectName[] = "device"; Sensor::Sensor(const String &readable_name, const String &unique_id, SensorDeviceClass device_class, const String &unit_of_measurement, const String &icon) : logger_(unique_id.c_str()), readable_name_(readable_...
30.552083
155
0.706785
langchr86
1c1793e94acce9a0e7f5baabd06492350b429408
5,124
hpp
C++
bipolar/async/receiver/primitive.hpp
frederick-vs-ja/bipolar
bf06e0ddd0e6cdfc9635326a76a40b51d31ab409
[ "MIT" ]
null
null
null
bipolar/async/receiver/primitive.hpp
frederick-vs-ja/bipolar
bf06e0ddd0e6cdfc9635326a76a40b51d31ab409
[ "MIT" ]
null
null
null
bipolar/async/receiver/primitive.hpp
frederick-vs-ja/bipolar
bf06e0ddd0e6cdfc9635326a76a40b51d31ab409
[ "MIT" ]
null
null
null
//! Primitives for `Receiver` //! //! # Brief //! #ifndef BIPOLAR_ASYNC_RECEIVER_PRIMITIVE_HPP_ #define BIPOLAR_ASYNC_RECEIVER_PRIMITIVE_HPP_ #include <utility> #include <exception> #include <type_traits> namespace bipolar { namespace detail { // Supports methods on a class reference template <typename R, typename.....
34.621622
80
0.580601
frederick-vs-ja
1c1c7965153156537234581437a64a789a0a6c1c
1,845
cpp
C++
examples/PerlinNoiseShader/src/ofApp.cpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
2
2016-09-03T17:49:30.000Z
2016-12-20T18:12:58.000Z
examples/PerlinNoiseShader/src/ofApp.cpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
examples/PerlinNoiseShader/src/ofApp.cpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
#include "ofApp.h" void ofApp::setup() { ofSetWindowTitle("Perlin Noise Shader"); // load vertex and fragment shaders // the vertex shader doesn't really do anything. // all the magic is happening in the fragment shader. mShader.load("perlin.vert", "perlin.frag"); // initialize off-s...
29.285714
94
0.639024
davidbeermann
1c1edd1b6b926cbcdcd9f0c0ba58d1e64c62294d
6,603
cpp
C++
2019/0611_ABC129/F.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
2019/0611_ABC129/F.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
2019/0611_ABC129/F.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 6/11/2019, 7:30:08 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack> #include <map...
17.422164
77
0.45131
kazunetakahashi
1c28689be0ff7caa41ceeabff2b1bd6db699d97f
69,487
cpp
C++
src/bignums.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
63
2016-06-02T13:38:18.000Z
2021-07-22T02:37:52.000Z
src/bignums.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
30
2016-05-07T23:41:59.000Z
2021-03-01T00:36:41.000Z
src/bignums.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
8
2016-08-25T18:42:21.000Z
2019-08-20T20:12:55.000Z
/* Foment */ #include "foment.hpp" #if defined(FOMENT_BSD) || defined(FOMENT_OSX) #include <stdlib.h> #else #include <malloc.h> #endif #include <string.h> #include <stdio.h> #include "unicode.hpp" #include "bignums.hpp" // ---- Root ---- static FObject MaximumDoubleBignum = NoValueObject; #define AsBignum(obj) ((...
33.91264
258
0.630132
leftmike
1c28d8f958f3d604ed70188c0eeb40f74aacb8e3
584
cpp
C++
Searching/MissingNumber.cpp
AYUSHMOHANJHA/Code4CP
7d50d45c5446ad917b4664fc7016d3c82655d947
[ "MIT" ]
null
null
null
Searching/MissingNumber.cpp
AYUSHMOHANJHA/Code4CP
7d50d45c5446ad917b4664fc7016d3c82655d947
[ "MIT" ]
null
null
null
Searching/MissingNumber.cpp
AYUSHMOHANJHA/Code4CP
7d50d45c5446ad917b4664fc7016d3c82655d947
[ "MIT" ]
null
null
null
/*https://practice.geeksforgeeks.org/problems/missing-number-in-array/0#*/ #include <iostream> using namespace std; int main() { int T; cin>>T; while(T--){ int N; cin>>N; long long int a[N]; for(long long int i=0;i<N-1;i++){ cin>>a[i]; } long long int sum1=0,sum2=0; for(...
20.137931
74
0.508562
AYUSHMOHANJHA
1c2c43bc449eadad9e471dce9db6ce3dddfc63b1
377
cpp
C++
Source/Holodeck/Agents/Private/SphereRobotController.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
47
2018-10-05T01:54:17.000Z
2022-02-19T04:53:24.000Z
Source/Holodeck/Agents/Private/SphereRobotController.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
36
2018-10-05T03:43:24.000Z
2021-04-23T19:19:47.000Z
Source/Holodeck/Agents/Private/SphereRobotController.cpp
AdrianSchoisengeier/holodeck-engine
bb55aa49cf8ac90a1f4002952b619564b82900b4
[ "MIT" ]
12
2018-10-08T11:45:24.000Z
2021-09-21T08:08:40.000Z
// MIT License (c) 2019 BYU PCCL see LICENSE file #include "Holodeck.h" #include "SphereRobotController.h" ASphereRobotController::ASphereRobotController(const FObjectInitializer& ObjectInitializer) : AHolodeckPawnController(ObjectInitializer) { UE_LOG(LogTemp, Warning, TEXT("SphereRobot Controller Initialized"));...
31.416667
91
0.809019
AdrianSchoisengeier
1c2dffa06c992cbd09985df87894aa8cb2048a8c
1,413
cpp
C++
Quarter 1/Week 8/rmqi.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
1
2020-09-04T21:21:12.000Z
2020-09-04T21:21:12.000Z
Quarter 1/Week 8/rmqi.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
null
null
null
Quarter 1/Week 8/rmqi.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ar array #define ll long long #define vt vector #define f first #define s second #define mp make_pair #define sz(x) (int)x.size() const int MAX_N = 2e5 + 1; const int MOD = 1e9 + 7; const int INF = 1e9; const ll LINF = 1e18; void setIn(string s) { freopen(s.c_s...
21.089552
63
0.455768
nwatx
1c335c05d0e31ded61069195721e652a39dc14a8
450
cpp
C++
src/vector2d.cpp
buggedbit/Fusion
95e971e890e5d49c50a92f5c34a866609996cdd4
[ "MIT" ]
3
2018-06-23T11:41:35.000Z
2018-07-07T14:10:55.000Z
src/vector2d.cpp
buggedbit/Fusion
95e971e890e5d49c50a92f5c34a866609996cdd4
[ "MIT" ]
3
2020-08-04T18:08:57.000Z
2020-08-04T18:09:52.000Z
src/vector2d.cpp
buggedbit/fusion
95e971e890e5d49c50a92f5c34a866609996cdd4
[ "MIT" ]
null
null
null
#include <cmath> struct Vector2d { double x, y; Vector2d() : x(0), y(0) {} Vector2d(double x, double y) : x(x), y(y) {} double length() { return sqrt(x * x + y * y); } Vector2d* setDiffOf(const Vector2d *a, const Vector2d *b) { this->set(a->x - b->x, a->y - b->y); re...
18
63
0.477778
buggedbit
1c3a599ddb93fe0f770c8013c04bb7e9d60ca8fb
6,607
cpp
C++
L06_Map_Collisions.Handout/Game/Source/MenuOpcionGame.cpp
MaralGS/Plataform_Game
548c29946dd5292d64209395b2732bdee074b93d
[ "MIT" ]
null
null
null
L06_Map_Collisions.Handout/Game/Source/MenuOpcionGame.cpp
MaralGS/Plataform_Game
548c29946dd5292d64209395b2732bdee074b93d
[ "MIT" ]
null
null
null
L06_Map_Collisions.Handout/Game/Source/MenuOpcionGame.cpp
MaralGS/Plataform_Game
548c29946dd5292d64209395b2732bdee074b93d
[ "MIT" ]
null
null
null
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Window.h" #include "Player.h" #include "Scene.h" #include "MenuOpcionGame.h" #include "Menu_Screen.h" #include "EnemCentipide.h" #include "GuiManager.h" #include "Hud.h" #include "Collisions.h" #include "Defs.h" ...
27.1893
132
0.662479
MaralGS
1c3a7102bae610d4caead34edcf8aab470723861
4,808
cpp
C++
CH16/GRAVITY/src/gravity.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH16/GRAVITY/src/gravity.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH16/GRAVITY/src/gravity.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
#include "QatPlotWidgets/MultipleViewWindow.h" #include "QatPlotWidgets/PlotView.h" #include "QatPlotting/PlotStream.h" #include "QatPlotting/PlotProfile.h" #include "QatPlotting/PlotFunction1D.h" #include "QatPlotting/PlotErrorEllipse.h" #include "QatPlotting/PlotPoint.h" #include "QatPlotting/PlotKey.h" #include <QAp...
23.227053
76
0.643719
acastellanos95
1c3d5a8e3eaeaa1cdba753d7ea54bcb319a6144e
32,906
cpp
C++
BeatTheStreet/src/game.cpp
charlieb3/BeatTheStreet
6adab16f0474632e532cdee4297537cef4477d8c
[ "Apache-2.0" ]
null
null
null
BeatTheStreet/src/game.cpp
charlieb3/BeatTheStreet
6adab16f0474632e532cdee4297537cef4477d8c
[ "Apache-2.0" ]
null
null
null
BeatTheStreet/src/game.cpp
charlieb3/BeatTheStreet
6adab16f0474632e532cdee4297537cef4477d8c
[ "Apache-2.0" ]
null
null
null
/* Charles Barker P15181036 March 2017 */ #include "game.h" //Deafult game::game() { window = new sf::RenderWindow(sf::VideoMode(800, 830), "Beat the Street", sf::Style::Close);//Initialize render window and properties, inc Name, Size, Style. window->setFramerateLimit(60); //Limit refresh rate to 60fps window->setP...
39.886061
215
0.653316
charlieb3
1c416029152e501716ad2766bdab016b97c192f4
2,056
cpp
C++
engine/src/components/Rigidbody.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
2
2018-12-19T01:52:39.000Z
2022-03-29T16:04:15.000Z
engine/src/components/Rigidbody.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
null
null
null
engine/src/components/Rigidbody.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
null
null
null
#include "../../include/components/Rigidbody.h" #include "../../include/core/Serialization.h" using namespace PhysicsEngine; Rigidbody::Rigidbody(World* world) : Component(world) { mUseGravity = true; mEnabled = true; mMass = 1.0f; mDrag = 0.0f; mAngularDrag = 0.05f; mVelocity = glm::vec3(0....
26.025316
72
0.644455
jsandham
1c45dbf2c319ba9fe53aa28b6cc4a6119007c9f9
1,843
cpp
C++
src/Module/Encoder/Polar_MK/Encoder_polar_MK_sys.cpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
src/Module/Encoder/Polar_MK/Encoder_polar_MK_sys.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
src/Module/Encoder/Polar_MK/Encoder_polar_MK_sys.cpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
#include <sstream> #include <string> #include "Tools/Exception/exception.hpp" #include "Module/Encoder/Polar_MK/Encoder_polar_MK_sys.hpp" using namespace aff3ct; using namespace aff3ct::module; template <typename B> Encoder_polar_MK_sys<B> ::Encoder_polar_MK_sys(const int& K, const int& N, const tools::Polar_code& c...
29.253968
119
0.678785
FredrikBlomgren
1c462e041875841e1824d9422bb2b4cdcd92b9ad
1,583
cpp
C++
haxelib/native-bindings/src/TimeListener.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
3
2021-07-07T08:50:41.000Z
2021-07-15T00:53:53.000Z
haxelib/native-bindings/src/TimeListener.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
1
2015-09-04T15:44:37.000Z
2015-09-04T19:07:01.000Z
haxelib/native-bindings/src/TimeListener.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
1
2017-11-01T21:03:22.000Z
2017-11-01T21:03:22.000Z
#include "HaxeAPI.h" /******************************************************************************* * WRAPPER CLASS * ******************************************************************************/ class HaxeTimeListener : public TimeListener { private...
28.781818
80
0.473152
Kakise
1c464010ba9b1de067af13acb236355bad4ddbe8
1,350
cpp
C++
BZOJ/3040/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3040/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3040/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<ext/pb_ds/priority_queue.hpp> #define maxn 1000010 #define maxm 10000010 #define LL long long #define inf 1e18 #define dij pair<LL,int> #define Heap __gnu_pbds::priority_queue<dij,greater<dij>,pairing_heap_tag> using namespace std; using namespace __gnu_pbds; Heap::point_i...
24.107143
83
0.612593
sjj118
1c46b2b67abb587de426d71d4d8fc93c1fc9d1e7
1,672
cpp
C++
tests/variant.cpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
null
null
null
tests/variant.cpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
null
null
null
tests/variant.cpp
BaroboRobotics/cxx-util
624813d244ac5a3e6e4ffb16b7e0ac96b5c200cd
[ "BSL-1.0" ]
1
2018-11-13T15:02:23.000Z
2018-11-13T15:02:23.000Z
// Copyright (c) 2014-2016 Barobo, Inc. // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <util/doctest.h> #include <util/variant.hpp> #include <memory> struct A { int id; }; struct B { int id;...
22.90411
79
0.540072
BaroboRobotics
1c46c21e644ae6a04d766532d135508a6df472a8
569
cpp
C++
Number to String.cpp
Shah-Shishir/Externals
81e5c8671dc81661ede21d0e9db24518e1a697c9
[ "Apache-2.0" ]
4
2018-06-25T14:07:15.000Z
2022-03-03T04:59:41.000Z
Number to String.cpp
Shah-Shishir/Externals
81e5c8671dc81661ede21d0e9db24518e1a697c9
[ "Apache-2.0" ]
null
null
null
Number to String.cpp
Shah-Shishir/Externals
81e5c8671dc81661ede21d0e9db24518e1a697c9
[ "Apache-2.0" ]
4
2018-09-11T20:42:59.000Z
2021-03-24T15:22:48.000Z
/*** Sample Input 144545 6767 57879898 Works upto 11999999999999999999 ***/ #include <bits/stdc++.h> using namespace std; #define sf scanf #define pf printf #define pb push_back int main () { unsigned long long n,rem; char ch; while (cin >> n) { string str; ...
13.232558
41
0.448155
Shah-Shishir
1c4cc078a5e520506697f2fd3793573afcd6ed3e
677
cpp
C++
modules/skottie/src/SkottieTest.cpp
Sinoprise/skia
0bf5408286ea3dacb197c220e1033dea3eeef2a8
[ "BSD-3-Clause" ]
3
2018-10-28T09:55:58.000Z
2018-12-09T05:09:38.000Z
modules/skottie/src/SkottieTest.cpp
Sinoprise/skia
0bf5408286ea3dacb197c220e1033dea3eeef2a8
[ "BSD-3-Clause" ]
1
2018-10-21T04:53:25.000Z
2018-10-21T04:53:25.000Z
modules/skottie/src/SkottieTest.cpp
Sinoprise/skia
0bf5408286ea3dacb197c220e1033dea3eeef2a8
[ "BSD-3-Clause" ]
4
2018-08-10T03:09:14.000Z
2018-10-21T00:04:47.000Z
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Skottie.h" #include "SkStream.h" #include "Test.h" DEF_TEST(Skottie_OssFuzz8956, reporter) { static constexpr const char json[] = "{\"v\":\" \",\"fr\":...
28.208333
95
0.522895
Sinoprise
1c51294d9ed54b4ea3c228e4631761a905dba1e5
2,567
cpp
C++
src/GitStatusCache/src/CachePrimer.cpp
nopjmp/git-status-cache
1c6673b5a7d8d7606e34ebf873f315e0cb9ab0fa
[ "MIT" ]
1
2019-04-25T03:02:36.000Z
2019-04-25T03:02:36.000Z
src/GitStatusCache/src/CachePrimer.cpp
nopjmp/git-status-cache
1c6673b5a7d8d7606e34ebf873f315e0cb9ab0fa
[ "MIT" ]
null
null
null
src/GitStatusCache/src/CachePrimer.cpp
nopjmp/git-status-cache
1c6673b5a7d8d7606e34ebf873f315e0cb9ab0fa
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CachePrimer.h" CachePrimer::CachePrimer(const std::shared_ptr<Cache>& cache) : m_cache(cache) , m_stopPrimingThread(MakeUniqueHandle(INVALID_HANDLE_VALUE)) { auto stopPrimingThread = ::CreateEvent( nullptr /*lpEventAttributes*/, true /*manualReset*/, false /*bIniti...
30.559524
117
0.710557
nopjmp
1c58215db29f1215fa14ea834e2db072bb6541c4
1,288
cpp
C++
jetpack/src/parser/ParserContext.cpp
vincentdchan/rocket-bundle.js
3ec5fdf9e423539ec57217753735423e5ac23666
[ "MIT" ]
123
2020-04-13T14:49:43.000Z
2022-03-10T06:42:26.000Z
jetpack/src/parser/ParserContext.cpp
vincentdchan/ZEP
3ec5fdf9e423539ec57217753735423e5ac23666
[ "MIT" ]
8
2020-08-01T11:05:44.000Z
2021-11-01T10:46:21.000Z
jetpack/src/parser/ParserContext.cpp
vincentdchan/ZEP
3ec5fdf9e423539ec57217753735423e5ac23666
[ "MIT" ]
6
2020-09-02T10:20:32.000Z
2022-03-04T12:39:19.000Z
// // Created by Duzhong Chen on 2019/10/30. // #include <memory> #include "ParserContext.h" namespace jetpack::parser { using namespace std; ParserContext::ParserContext(AstContext& ast_ctx, std::string_view src, const Config& config): ParserContext(ast_ctx, std::make_shared<RawMemoryViewOwner>(src),...
29.953488
101
0.651398
vincentdchan
1c662738861f41ef97b23d99eeade182b855f383
236
hpp
C++
meta/include/mgs/meta/range_difference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/range_difference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/range_difference_t.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <type_traits> #include <mgs/meta/iter_difference_t.hpp> #include <mgs/meta/iterator_t.hpp> namespace mgs { namespace meta { template <typename R> using range_difference_t = iter_difference_t<iterator_t<R>>; } }
14.75
60
0.771186
theodelrieu
1c6d1dd7cdb06beb5b1a51ebc6c4c47760618e15
3,683
hpp
C++
Source/MultiFrameRingBuffer.hpp
sawickiap/RegEngine
613c31fd60558a75c5b8902529acfa425fc97b2a
[ "MIT" ]
11
2022-01-02T22:50:42.000Z
2022-02-15T09:10:25.000Z
Source/MultiFrameRingBuffer.hpp
sawickiap/RegEngine
613c31fd60558a75c5b8902529acfa425fc97b2a
[ "MIT" ]
null
null
null
Source/MultiFrameRingBuffer.hpp
sawickiap/RegEngine
613c31fd60558a75c5b8902529acfa425fc97b2a
[ "MIT" ]
null
null
null
#pragma once /* An abstract algorithm that ensures linear allocation of anything of various size in a ring-buffer fashion with a twist that calling NewFrame() bulk-frees memory that has been allocated during frame (current - FrameCount). */ template<typename T> class MultiFrameRingBuffer { public: void ...
30.691667
102
0.435515
sawickiap
1c72c85b177a70c94d43c343ef5db3bf9b39e8bd
216
hpp
C++
Include/Injector/Input/ButtonState.hpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
2
2019-12-10T16:26:58.000Z
2020-04-17T11:47:42.000Z
Include/Injector/Input/ButtonState.hpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
28
2020-08-17T12:39:50.000Z
2020-11-16T20:42:50.000Z
Include/Injector/Input/ButtonState.hpp
InjectorGames/InjectorEngine
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "Injector/GlfwDefines.hpp" namespace Injector { // Keyboard or mouse button state enum class ButtonState : int { Press = GLFW_PRESS, Release = GLFW_RELEASE, Repeat = GLFW_REPEAT, }; }
16.615385
35
0.722222
InjectorGames
1c74fd8a7d1530b7cb29daf3df6bb0bbba159bfd
6,910
cpp
C++
apps/MCManager/src/IPCClient.cpp
FleX-d/RSM
fa6eb54bd0377ddb63fe023a3b73bc893938f1fa
[ "BSD-3-Clause" ]
null
null
null
apps/MCManager/src/IPCClient.cpp
FleX-d/RSM
fa6eb54bd0377ddb63fe023a3b73bc893938f1fa
[ "BSD-3-Clause" ]
1
2018-05-25T11:05:02.000Z
2018-05-25T11:05:02.000Z
apps/MCManager/src/IPCClient.cpp
FleX-d/RSM
fa6eb54bd0377ddb63fe023a3b73bc893938f1fa
[ "BSD-3-Clause" ]
2
2018-05-25T11:02:10.000Z
2018-06-19T09:44:28.000Z
/* Copyright (c) 2017, Globallogic s.r.o. 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 conditions and the f...
41.626506
208
0.524023
FleX-d
cc5faec32aa62102f4065a1e45a4072fd27ec761
11,592
cc
C++
src/PhysicsList.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
src/PhysicsList.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
src/PhysicsList.cc
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
1
2021-03-08T16:01:14.000Z
2021-03-08T16:01:14.000Z
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
32.653521
80
0.644755
phirippu
cc66e1b24ac7b986be65dd5448b65e79ba8f1092
1,420
hpp
C++
module-04/ex02/TacticalMarine.hpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
module-04/ex02/TacticalMarine.hpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
module-04/ex02/TacticalMarine.hpp
Chobischtroumpf/c--modules
3fd4da65cdb488e8e143a8707c7b767c3d6c381c
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* TacticalMarine.hpp :+: :+: :+: ...
36.410256
80
0.35
Chobischtroumpf
cc6929fb5e7906ea2042e3613ea76719dcf0f796
850
cpp
C++
appendix/dump_system_preferences/main.cpp
chrismetcalf/Karabiner-Elements
0b0ecd4bc3bc26840a1d5bf625a6def0949277a6
[ "Unlicense" ]
null
null
null
appendix/dump_system_preferences/main.cpp
chrismetcalf/Karabiner-Elements
0b0ecd4bc3bc26840a1d5bf625a6def0949277a6
[ "Unlicense" ]
null
null
null
appendix/dump_system_preferences/main.cpp
chrismetcalf/Karabiner-Elements
0b0ecd4bc3bc26840a1d5bf625a6def0949277a6
[ "Unlicense" ]
null
null
null
// OS X headers #include "system_preferences_monitor.hpp" #include <iostream> namespace { class logger final { public: static spdlog::logger& get_logger(void) { static std::shared_ptr<spdlog::logger> logger; if (!logger) { logger = spdlog::stdout_logger_mt("dump_system_preferences", true); } re...
26.5625
109
0.729412
chrismetcalf
cc6eb32f1b866e9917fa2bd72fd63760c1212f5c
50
hpp
C++
src/boost_mpl_set_aux__value_type_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_set_aux__value_type_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_set_aux__value_type_impl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/set/aux_/value_type_impl.hpp>
25
49
0.8
miathedev
cc7cb54ddcca2802bba65cdc7fa778c4a20b4537
22,871
cpp
C++
src/clientenvironment.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
1
2018-03-01T13:03:01.000Z
2018-03-01T13:03:01.000Z
src/clientenvironment.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
null
null
null
src/clientenvironment.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
null
null
null
/* Minetest Copyright (C) 2010-2017 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any lat...
26.970519
95
0.696778
crazyBaboon
cc7f069fb8cf7ccfb7909fcbb7241a97f45123b7
2,347
cpp
C++
src/engine/gl/texture.cpp
gartenriese2/monoengine
71ab1679ac6cd6629c274882da21569286fd9b00
[ "MIT" ]
null
null
null
src/engine/gl/texture.cpp
gartenriese2/monoengine
71ab1679ac6cd6629c274882da21569286fd9b00
[ "MIT" ]
12
2015-03-05T17:58:16.000Z
2015-03-26T13:47:27.000Z
src/engine/gl/texture.cpp
gartenriese2/monoengine
71ab1679ac6cd6629c274882da21569286fd9b00
[ "MIT" ]
null
null
null
#include "texture.hpp" #include "../core/log.hpp" namespace gl { Texture::Texture() : m_obj{GL_TEXTURE_2D} { if (m_obj == 0) { LOG("Error creating Texture!"); return; } } Texture::Texture(const std::string & name) : m_obj{GL_TEXTURE_2D} { if (m_obj == 0) { LOG("Error creating Texture " + name); retur...
29.3375
108
0.741372
gartenriese2
cc849647519fb7bb19a98f161664b023bf159635
786
hpp
C++
unicode_back/character_categories (copy)/mark_enclosing.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
unicode_back/character_categories (copy)/mark_enclosing.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
unicode_back/character_categories (copy)/mark_enclosing.hpp
do-m-en/random_regex_string
7ded2dcf7c03122a68e66b5db6f94403e8c9c690
[ "BSL-1.0" ]
null
null
null
#ifndef UNICODE_MARK_ENCLOSING_HPP_INCLUDED #define UNICODE_MARK_ENCLOSING_HPP_INCLUDED namespace unicode { // Me class mark_enclosing { /* Character Name U+0488 COMBINING CYRILLIC HUNDRED THOUSANDS SIGN U+0489 COMBINING CYRILLIC MILLIONS SIGN U+1ABE COMBINING PARENTHESES OVERLAY U+20DD COMBINING ENCLOSIN...
26.2
54
0.800254
do-m-en
cc8fed924923fe46ffae7950caa783216b051b5a
11,078
cpp
C++
SAI/VDSAIState.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
null
null
null
SAI/VDSAIState.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
1
2021-07-22T15:18:47.000Z
2021-07-26T11:12:32.000Z
SAI/VDSAIState.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
null
null
null
#include "VDSAIState.h" ////////// // VDAsaiBehaviorState ////////// VDAsaiBehaviorState::VDAsaiBehaviorState() {} void VDAsaiBehaviorState::_bind_methods() { ClassDB::bind_method ( D_METHOD ( "set_key_acceleration", "key" ), &VDAsaiBehaviorState::set_key_acceleration ); ClassDB::bind_method ( D_METHOD ( "get_...
31.74212
245
0.655082
VoiDjinn
cc9663fa8f47e594cf62ca497ca6c471c0ed5b55
1,926
hpp
C++
src/3rd party/boost/boost/preprocessor/arithmetic/sub.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/preprocessor/arithmetic/sub.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/preprocessor/arithmetic/sub.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Permission to copy, use, modify, sell and distribute this software is # * granted provided this copyright notice appears in all copies. This # * software is provided "as is" without express or implied warranty, and # * with no clai...
37.038462
125
0.727934
OLR-xray
cc968a05e2891bf61ee40bd54670ef8ea9ffb9d0
4,018
cpp
C++
Game/OGRE/OgreMain/src/OgreMovablePlane.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreMovablePlane.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreMovablePlane.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software; yo...
40.18
85
0.534843
hackerlank
cc9998b284c86d328b1ff52092df175f20a070e7
1,971
cpp
C++
cpp/example_code/ec2/reboot_instance.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
cpp/example_code/ec2/reboot_instance.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
1
2020-03-18T17:00:15.000Z
2020-03-18T17:04:05.000Z
cpp/example_code/ec2/reboot_instance.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 /* Purpose: reboot_instance.cpp demonstrates how to reboot an Amazon EC2 instance. */ //snippet-start:[ec2.cpp.reboot_instance.inc] #include <aws/core/Aws.h> #include <aws/ec2/EC2Client.h> #...
26.635135
80
0.614916
brmur
cca0038d83195104f2a7b11794ef58c371a6fe7c
810
cpp
C++
IntroductionToCpp/BinarySearch/binarySearch.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
IntroductionToCpp/BinarySearch/binarySearch.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
IntroductionToCpp/BinarySearch/binarySearch.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include "binarySearch.h" int binary_search(int array[], int start_index, int end_index, int key) { while (start_index <= end_index) { int pivot = (start_index + end_index) / 2; if (array[pivot] == key) { return pivot; } if (key < array[pivot]) { end_index = p...
18.409091
84
0.51358
Trey0303
cca284c79f8dd08c8a5bcf62180eae2b1bc99dad
701
cpp
C++
example/example.cpp
cybercatalyst/qtverbalexpressions
0c61b514305e1a501dbe52fd6c9cff559e4f033f
[ "MIT" ]
51
2015-01-11T04:26:04.000Z
2022-01-25T18:18:56.000Z
example/example.cpp
cybercatalyst/qtverbalexpressions
0c61b514305e1a501dbe52fd6c9cff559e4f033f
[ "MIT" ]
3
2015-01-30T18:40:52.000Z
2016-11-26T17:20:07.000Z
example/example.cpp
cybercatalyst/qtverbalexpressions
0c61b514305e1a501dbe52fd6c9cff559e4f033f
[ "MIT" ]
9
2015-01-31T09:49:09.000Z
2022-01-25T18:19:03.000Z
#include <QDebug> #include "QVerbalExpressions.h" int main() { { auto expression = QVerbalExpressions() .searchOneLine() .startOfLine() .then("http") .maybe("s") .then("://") .maybe("www.") .anythingBut(" ") ....
18.447368
57
0.462197
cybercatalyst
cca2b1c1885945c8cc3f7ce9ecbcf221e18b44e9
537
cpp
C++
src/bst_algorithms.cpp
Algorithms-and-Data-Structures-2022/tree-algorithms-classwork
1c0b2668fd7c83f0d036cb6b555a04d55809fdaa
[ "MIT" ]
null
null
null
src/bst_algorithms.cpp
Algorithms-and-Data-Structures-2022/tree-algorithms-classwork
1c0b2668fd7c83f0d036cb6b555a04d55809fdaa
[ "MIT" ]
null
null
null
src/bst_algorithms.cpp
Algorithms-and-Data-Structures-2022/tree-algorithms-classwork
1c0b2668fd7c83f0d036cb6b555a04d55809fdaa
[ "MIT" ]
4
2022-03-25T05:36:45.000Z
2022-03-29T08:58:51.000Z
#include "classwork/bst_algorithms.hpp" #include <cmath> // max, pow namespace classwork { int compute_tree_height(Node* node) { // Write your code here ... return 0; } int compute_tree_size(Node* node) { // Write you code here ... return 0; } std::vector<Node*> tree_as_array(Node* root)...
19.888889
80
0.627561
Algorithms-and-Data-Structures-2022
cca554d4a8f5e98b12d4a383fecb0c4e76e4a616
89,793
cpp
C++
scp/8_calling.cpp
Doresimon/PALMER
7e1a6059d35dfb89e8e8870dd12f40ef3316fa6c
[ "MIT" ]
null
null
null
scp/8_calling.cpp
Doresimon/PALMER
7e1a6059d35dfb89e8e8870dd12f40ef3316fa6c
[ "MIT" ]
null
null
null
scp/8_calling.cpp
Doresimon/PALMER
7e1a6059d35dfb89e8e8870dd12f40ef3316fa6c
[ "MIT" ]
null
null
null
//copyright by ArthurZhou @ UMich&FUDAN&HUST #include <stdlib.h> #include <iostream> #include <string> #include <string.h> #include <fstream> #include <vector> #include <cmath> #include <cstdlib> #include <sstream> #include <algorithm> #include <functional> #include <iomanip> #include <cstdlib> using namespace std; i...
46.767188
476
0.326184
Doresimon
cca5b3fcdb3f50a46ed708e47f5827890f1e512d
403
cpp
C++
src/logic/agenda.cpp
nanolith/homesim
693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86
[ "MIT" ]
null
null
null
src/logic/agenda.cpp
nanolith/homesim
693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86
[ "MIT" ]
null
null
null
src/logic/agenda.cpp
nanolith/homesim
693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86
[ "MIT" ]
null
null
null
/** * \file logic/agenda.cpp * * \brief Agenda constructor and global instance. * * \copyright Copyright 2020 Justin Handville. All rights reserved. */ #include <homesim/agenda.h> using namespace homesim; using namespace std; /** * \brief The global agenda instance. */ agenda homesim::global_agenda; /** * \...
16.12
67
0.684864
nanolith
ccac8bb5cf0c848c8d4e509d9392b835536c8c5b
7,338
cpp
C++
XML-Parse-Library/XML_Parser.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
2
2018-10-13T09:42:12.000Z
2018-10-14T11:17:09.000Z
XML-Parse-Library/XML_Parser.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
null
null
null
XML-Parse-Library/XML_Parser.cpp
PiotrGardocki/XML-Parse-Library
2ae94ba3275b30bc1c8909c7013c568655215cfc
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <utility> #include <cctype> #include <map> #include "XML_Parser.hpp" bool XML_Parser::parseFromFile(const std::string & fileName) { std::ifstream file(fileName); if (!file.is_open()) return false; parseFromStream(file); return true; } size_t findFirstNotSpace(const std::string & st...
23.444089
149
0.666258
PiotrGardocki
ccad1acee3e08efaf8c3c6e0bcb55c5ddf610b00
2,772
hpp
C++
include/TryEngine/Window/TEWindow.hpp
b-pelmoine/TryEngine
2495504106da8b42f7fb86bdf1f1a42f6b4ce581
[ "MIT" ]
null
null
null
include/TryEngine/Window/TEWindow.hpp
b-pelmoine/TryEngine
2495504106da8b42f7fb86bdf1f1a42f6b4ce581
[ "MIT" ]
null
null
null
include/TryEngine/Window/TEWindow.hpp
b-pelmoine/TryEngine
2495504106da8b42f7fb86bdf1f1a42f6b4ce581
[ "MIT" ]
null
null
null
#ifndef TERO_WINDOWHANDLER_HPP #define TERO_WINDOWHANDLER_HPP #include <memory> #include <string> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/RenderTexture.hpp> #include <SFML/Graphics/Drawable.hpp> #include "TEInput.hpp" #include <json/json.h> #include <System/TEResourceManager.hpp> struct TE...
28.875
105
0.659812
b-pelmoine
ccafb954a3910c9e696a7f39cb08e862eeed203e
4,603
hpp
C++
include/globals.hpp
SavAct/TokenSale
abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf
[ "MIT" ]
null
null
null
include/globals.hpp
SavAct/TokenSale
abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf
[ "MIT" ]
null
null
null
include/globals.hpp
SavAct/TokenSale
abef25c70ccc62edc9ef019ee16a5f8b4e3b4fdf
[ "MIT" ]
null
null
null
#pragma once #include <eosio/eosio.hpp> #include <eosio/system.hpp> using namespace eosio; #define defined_token_contract "token.savact" // Singletons cannot be shown by the nodes, therefore a multiindextable is used class globals { public: struct Star { int64_t amount; std::vector<char> user; // contains the ...
27.89697
200
0.67934
SavAct
ccb4ee885d39043081d9e0a6fd8b48fd9a2a910a
10,713
hxx
C++
Modules/Filtering/ImageGrid/include/itkSliceBySliceImageFilter.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2015-06-19T07:18:36.000Z
2019-04-18T07:28:23.000Z
Modules/Filtering/ImageGrid/include/itkSliceBySliceImageFilter.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/ImageGrid/include/itkSliceBySliceImageFilter.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2017-05-02T07:18:49.000Z
2020-04-30T01:37:35.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
35.240132
151
0.672454
CapeDrew
ccb5c01a5f5430e82c4af6a59d1f0d6e6fbd2ffa
1,280
cc
C++
src/cmps12.cc
Dreameh/SailingBoat
dcae37ff4f59abc1b43de0f373f4718e4f555c35
[ "MIT" ]
1
2020-04-09T18:15:28.000Z
2020-04-09T18:15:28.000Z
src/cmps12.cc
Dreameh/SailingBoat
dcae37ff4f59abc1b43de0f373f4718e4f555c35
[ "MIT" ]
null
null
null
src/cmps12.cc
Dreameh/SailingBoat
dcae37ff4f59abc1b43de0f373f4718e4f555c35
[ "MIT" ]
null
null
null
#include "../include/cmps12.h" #include <iostream> #include <vector> #include <wiringPi.h> #include <wiringPiI2C.h> #define I2C_DEVICE_ADDRESS 0x60 #define TOTAL_REGISTRY_ENTRIES 31 #define COMPASS_BEARING_16_HIGH_BYTE_DEGREES 0x1A #define COMPASS_BEARING_16_LOW_BYTE_DEGREES 0x1B #define CALIBRATION_STATE_8 0x1E CMPS1...
27.234043
74
0.735938
Dreameh
ccb5cd2a2d42133074b8eaf3a5b95689e2de6a84
563
cpp
C++
Tasks/TASK-303-PortOut/main.cpp
JMChurchill/Embedded-Systems
f350b9d0e667adbacf692a92ac427d75e9710630
[ "Apache-2.0" ]
null
null
null
Tasks/TASK-303-PortOut/main.cpp
JMChurchill/Embedded-Systems
f350b9d0e667adbacf692a92ac427d75e9710630
[ "Apache-2.0" ]
null
null
null
Tasks/TASK-303-PortOut/main.cpp
JMChurchill/Embedded-Systems
f350b9d0e667adbacf692a92ac427d75e9710630
[ "Apache-2.0" ]
null
null
null
#include "mbed.h" // Hardware Definitions #define TRAF_GRN1_PIN PC_6 #define TRAF_YEL1_PIN PC_3 #define TRAF_RED1_PIN PC_2 #define STEREO_L_AN PB_0 #define LEDMASK 0b0000000001001100 // #define LEDMASK 0b0000000001001000 // Objects //BusOut leds(TRAF_RED1_PIN, TRAF_YEL1_PIN, TRAF_GRN1_PIN); PortOut leds(PortC, LEDMA...
17.59375
59
0.664298
JMChurchill
ccb642dac0007f1051b71d09a8a54732fd492cca
531
cpp
C++
cf/1658/b.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
3
2022-03-30T14:14:57.000Z
2022-03-31T04:30:32.000Z
cf/1658/b.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
cf/1658/b.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> typedef long long ll; using namespace std; const ll mod = 998244353; void solve() { ll n; cin >> n; if (n % 2 != 0) { cout << 0 << "\n"; return; } n /= 2; ll ans = n; while (--n >= 1) { ans *= n; ans %= mod; } ...
13.275
32
0.433145
Zilanlann
ccb901c5fc81e69cf3cf8d8d95a629903d7bee16
1,016
hpp
C++
tests/Unit/Helpers/DataStructures/Tensor/Expressions/ComputeRhsTensorIndexRank0TestHelpers.hpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
tests/Unit/Helpers/DataStructures/Tensor/Expressions/ComputeRhsTensorIndexRank0TestHelpers.hpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
1
2022-03-25T18:26:16.000Z
2022-03-25T19:30:39.000Z
tests/Unit/Helpers/DataStructures/Tensor/Expressions/ComputeRhsTensorIndexRank0TestHelpers.hpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include "DataStructures/Tensor/Expressions/TensorExpression.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "Utilities/TMPL.hpp" namespace TestHelpers::TensorExpressions { /// \ingroup TestingFrameworkG...
30.787879
78
0.740157
tomwlodarczyk
ccbd01f04ef9f0e5d2128394383c645494ebc8fa
28,208
cpp
C++
multicast_send_queue.cpp
dzats/mcp
88a5c6c95cebcf4b683d7ff1b8d31e96f98a884d
[ "BSD-3-Clause" ]
1
2022-01-17T11:47:04.000Z
2022-01-17T11:47:04.000Z
multicast_send_queue.cpp
dzats/mcp
88a5c6c95cebcf4b683d7ff1b8d31e96f98a884d
[ "BSD-3-Clause" ]
null
null
null
multicast_send_queue.cpp
dzats/mcp
88a5c6c95cebcf4b683d7ff1b8d31e96f98a884d
[ "BSD-3-Clause" ]
null
null
null
#include <assert.h> #include <math.h> #include <pthread.h> #include <sys/time.h> #include <limits.h> #include "multicast_send_queue.h" using namespace std; #ifndef INT32_MAX // should be included through stdint.h somehow else #define INT32_MAX 0x7fffffff #endif MulticastSendQueue::MulticastSendQueue(const vector<D...
36.921466
145
0.677893
dzats
ccc4d91bf250aa26186bf5ee1fbcfbd442967f1b
4,216
cpp
C++
tests/GraphBuilderTests.cpp
vdodev/maplang
5e37bb9adf3e7bddfdde18979a55ca998d33dede
[ "Apache-2.0" ]
1
2021-11-05T15:49:51.000Z
2021-11-05T15:49:51.000Z
tests/GraphBuilderTests.cpp
vdodev/maplang
5e37bb9adf3e7bddfdde18979a55ca998d33dede
[ "Apache-2.0" ]
null
null
null
tests/GraphBuilderTests.cpp
vdodev/maplang
5e37bb9adf3e7bddfdde18979a55ca998d33dede
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 VDO Dev Inc <support@maplang.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
33.19685
83
0.592742
vdodev
ccc5f87823cc03f08ffd9f884ab0ed7def405898
607
cpp
C++
LeetCode/Merge Strings Alternately/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Merge Strings Alternately/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
LeetCode/Merge Strings Alternately/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
class Solution { public: string mergeAlternately(string word1, string word2) { int n = word1.size(), m = word2.size(), i = 0, j = 0, cnt = 0; string ans = ""; while (i < n && j < m) { if (cnt % 2 == 0) { ans += word1[i]; i++; } else ...
23.346154
70
0.311367
Code-With-Aagam
ccc6ad6f87b0448599c09223f4f4f331399c439b
85
cpp
C++
template_wifi_secrets.cpp
gin66/ESP32_projects
b7a3fa6c71f1cabb32369542f0f27eaccec59ebd
[ "MIT" ]
null
null
null
template_wifi_secrets.cpp
gin66/ESP32_projects
b7a3fa6c71f1cabb32369542f0f27eaccec59ebd
[ "MIT" ]
null
null
null
template_wifi_secrets.cpp
gin66/ESP32_projects
b7a3fa6c71f1cabb32369542f0f27eaccec59ebd
[ "MIT" ]
null
null
null
#include "wifi_secrets.h" const struct net_s nets[] = {{"SSID", "passwd"}, {0, 0}};
21.25
57
0.611765
gin66
ccc872b5389692342a43e36afe7c358e68c25af1
11,310
hpp
C++
ZetaChain/source/include/transactions/transaction.hpp
FTLChain/BlockchainCpp
504cdf344e168d15572f328d400def08a1f1fac2
[ "MIT" ]
1
2020-02-02T19:42:39.000Z
2020-02-02T19:42:39.000Z
ZetaChain/source/include/transactions/transaction.hpp
FTLChain/BlockchainCpp
504cdf344e168d15572f328d400def08a1f1fac2
[ "MIT" ]
14
2017-09-29T13:45:21.000Z
2020-06-16T22:37:01.000Z
ZetaChain/source/include/transactions/transaction.hpp
FTLChain/BlockchainCpp
504cdf344e168d15572f328d400def08a1f1fac2
[ "MIT" ]
null
null
null
#pragma once /* MIT License Copyright (c) 2017 ZetaChain_Native 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,...
31.859155
160
0.674624
FTLChain
ccc984bc38a17cff43c5d197cb13ff4242e69508
2,495
cpp
C++
lang/steve/Value.cpp
flowgrammable/steve-legacy
5e7cbc16280c199732d26a2cb0703422695abe16
[ "Apache-2.0" ]
1
2017-07-30T04:18:56.000Z
2017-07-30T04:18:56.000Z
lang/steve/Value.cpp
flowgrammable/steve-legacy
5e7cbc16280c199732d26a2cb0703422695abe16
[ "Apache-2.0" ]
null
null
null
lang/steve/Value.cpp
flowgrammable/steve-legacy
5e7cbc16280c199732d26a2cb0703422695abe16
[ "Apache-2.0" ]
null
null
null
#include <steve/Value.hpp> #include <steve/Type.hpp> #include <algorithm> namespace steve { // Returns true if the expression `e` is a value (i.e., fully // reduced or in normal form, etc). Values encompass the unit // value, boolean values, integral values, functions, and // types. // // FIXME: This does not inclu...
24.223301
81
0.69499
flowgrammable
cccfe0553a532c5cf84dbb0d7dd6041bd965f6ee
1,255
cpp
C++
examples/lock_free_queue_test.cpp
zuocheng-liu/StemCell
f3e53a545ea875c35c340c301610293c5a923a8f
[ "MIT" ]
1
2021-05-07T03:06:46.000Z
2021-05-07T03:06:46.000Z
examples/lock_free_queue_test.cpp
zuocheng-liu/StemCell
f3e53a545ea875c35c340c301610293c5a923a8f
[ "MIT" ]
null
null
null
examples/lock_free_queue_test.cpp
zuocheng-liu/StemCell
f3e53a545ea875c35c340c301610293c5a923a8f
[ "MIT" ]
2
2020-10-30T03:03:46.000Z
2021-02-27T13:13:44.000Z
#include <iostream> #include <thread> #include <vector> #include "lock_free_queue.hpp" using namespace std; using namespace StemCell; struct Data { int64_t num; }; int main() { LockFreeQueue<Data> test_queue; std::vector< std::thread > workers; size_t thread_num = 10; for(size_t i = 0;i < thread_num...
27.888889
70
0.516335
zuocheng-liu
ccd00e1b35ff743c92370f81f1986c712f7c77fa
267
cpp
C++
2020-11-20/capital.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-20/capital.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-20/capital.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> int main() { int a, b, c, d; scanf(" %d %d %d %d", &a, &b, &c, &d); if (a*b == c*d) printf("S\n"); else if (a*c == b*d) printf("S\n"); else if (a*d == b*c) printf("S\n"); else printf("N\n"); return 0; }
16.6875
41
0.40824
pufe
ccd0f74bda9ce46b023cefa5a5a62f2347543b05
2,081
cc
C++
Cpp/demo/inheritance.cc
skyu98/2021Offer
ba3cd0bb495d02343ea958641d5381a7bac9b39f
[ "MIT" ]
2
2021-09-10T08:53:53.000Z
2021-09-12T14:48:25.000Z
Cpp/demo/inheritance.cc
skyu98/2021Offer
ba3cd0bb495d02343ea958641d5381a7bac9b39f
[ "MIT" ]
null
null
null
Cpp/demo/inheritance.cc
skyu98/2021Offer
ba3cd0bb495d02343ea958641d5381a7bac9b39f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Base1 { public: virtual int func1() { cout << "Base1 func1()" << endl; } virtual int func2() { cout << "Base1 func2()" << endl; } private: int b1_; int64_t tmp_; }; class Base2 { public: virtual int func3() { cout <<...
24.197674
119
0.530995
skyu98
ccd1226d3410def3b4e1d6fe35d1ec3a8758c4d1
11,962
cpp
C++
testOpenCP/testGuidedImageFilter.cpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
testOpenCP/testGuidedImageFilter.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
testOpenCP/testGuidedImageFilter.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#include <opencp.hpp> #include "test.hpp" using namespace std; using namespace cv; using namespace cp; void testGuidedImageFilter(Mat& img_p, Mat& img_I) { //const bool isOverwrite = true; const bool isOverwrite = img_p.empty() || img_I.empty(); if (isOverwrite) { string imgPath_p, imgPath_I; imgPath_p = "im...
29.535802
132
0.64847
norishigefukushima
ccd156339769eb882975b8fe3f44c54d25545663
7,517
hpp
C++
csgotools/DemoMemoryBitStream.hpp
crossworth/csgotools
a7202e79dd5a64a8bb351618b7a546c1d8d724bf
[ "MIT" ]
null
null
null
csgotools/DemoMemoryBitStream.hpp
crossworth/csgotools
a7202e79dd5a64a8bb351618b7a546c1d8d724bf
[ "MIT" ]
null
null
null
csgotools/DemoMemoryBitStream.hpp
crossworth/csgotools
a7202e79dd5a64a8bb351618b7a546c1d8d724bf
[ "MIT" ]
null
null
null
#pragma once #include "MemoryBitStream.hpp" namespace csgotools { class DemoMemoryBitStream : public MemoryBitStream { static constexpr int32 kMaxVarInt64Bytes = 10; static constexpr int32 kMaxVarInt32Bytes = 5; static constexpr int32 kCoordIntegerBits = 14; static cons...
35.795238
183
0.546495
crossworth
ccd68f0d5f19aa959e9665c20cc80573304eccc6
23,326
cpp
C++
d3d11/testutils.cpp
walbourn/directxtextest
c843ab9a7d75d01f3fc1fa134fcf4d94b12ea95b
[ "MIT" ]
6
2015-10-24T20:46:47.000Z
2021-10-17T06:11:26.000Z
d3d11/testutils.cpp
walbourn/directxtextest
c843ab9a7d75d01f3fc1fa134fcf4d94b12ea95b
[ "MIT" ]
2
2018-01-19T19:14:47.000Z
2022-02-21T00:20:48.000Z
d3d11/testutils.cpp
walbourn/directxtextest
c843ab9a7d75d01f3fc1fa134fcf4d94b12ea95b
[ "MIT" ]
1
2022-01-19T07:38:34.000Z
2022-01-19T07:38:34.000Z
//------------------------------------------------------------------------------------- // testutils.cpp // // Copyright (c) Microsoft Corporation. //------------------------------------------------------------------------------------- //#define D3D_DEBUG #include <assert.h> #include "directxtest.h" #...
33.90407
130
0.571037
walbourn
ccd6b560d2271ad0c047792c70f76c232de34884
1,899
hpp
C++
cpp/lib/file.hpp
padget/lib
1fb667c8250d71bd051c24fbf027087fa61babc1
[ "MIT" ]
2
2021-07-30T17:22:27.000Z
2021-10-15T12:00:02.000Z
cpp/lib/file.hpp
padget/lib
1fb667c8250d71bd051c24fbf027087fa61babc1
[ "MIT" ]
null
null
null
cpp/lib/file.hpp
padget/lib
1fb667c8250d71bd051c24fbf027087fa61babc1
[ "MIT" ]
null
null
null
#ifndef __lib_file_hpp__ #define __lib_file_hpp__ #include <lib/exception.hpp> #include <lib/meta.hpp> #include <cstdio> #include <lib/span.hpp> #include <lib/string_view.hpp> namespace lib { BASIC_EXCEPTION(ios_exception) INHERITED_EXCEPTION(file_opening_failed, ios_exception) INHERITED_EXCEPTION(null_file_des...
20.641304
71
0.632965
padget
ccd726586b5d1f9286041d3731935cbdb02c75df
14,160
hpp
C++
maddness/cpp/src/include/avx_utils.hpp
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
maddness/cpp/src/include/avx_utils.hpp
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
maddness/cpp/src/include/avx_utils.hpp
joennlae/halutmatmul
69340d3386298401d421b0e67dcb0649534b0c12
[ "MIT" ]
null
null
null
// // avx_utils.hpp // Dig // // Created by DB on 2017-2-7 // Copyright (c) 2016 DB. All rights reserved. // #ifndef __AVX_UTILS_HPP #define __AVX_UTILS_HPP #include "immintrin.h" #include "testing_utils.hpp" #ifndef MAX #define MAX(x, y) ((x) < (y) ? (y) : (x)) #endif #ifndef MIN #define MIN(x, y) ((x) > (y) ? ...
37.068063
80
0.611653
joennlae
ccd9786dd80707d541b6e48794c1438985679cdb
1,136
hpp
C++
uvChecker/src/uvChecker.hpp
minoue/CheckTools
9370ec5ec070c0e15ca31a2e42c0e2f66ba567b9
[ "MIT" ]
23
2018-07-04T02:47:48.000Z
2022-01-17T14:04:51.000Z
uvChecker/src/uvChecker.hpp
minoue/CheckTools
9370ec5ec070c0e15ca31a2e42c0e2f66ba567b9
[ "MIT" ]
8
2019-07-12T17:23:01.000Z
2019-07-29T18:04:07.000Z
uvChecker/src/uvChecker.hpp
minoue/CheckTools
9370ec5ec070c0e15ca31a2e42c0e2f66ba567b9
[ "MIT" ]
6
2019-06-06T19:38:39.000Z
2021-04-03T07:06:05.000Z
#pragma once #include <maya/MFnMesh.h> #include <maya/MPxCommand.h> #include <maya/MString.h> #include <maya/MSyntax.h> #include <vector> enum class UVCheckType { UDIM = 0, HAS_UVS, ZERO_AREA, UN_ASSIGNED_UVS, NEGATIVE_SPACE_UVS, CONCAVE_UVS, REVERSED_UVS }; class UvChecker final : publi...
22.27451
54
0.704225
minoue
ccde7fb7b447e6d9c5a817dd39fb3480670c577a
486
cpp
C++
IL/src/IL/Renderer/VertexArray.cpp
ILLmew/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
4
2021-04-08T16:18:59.000Z
2021-09-29T12:23:33.000Z
IL/src/IL/Renderer/VertexArray.cpp
CrystaLamb/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
null
null
null
IL/src/IL/Renderer/VertexArray.cpp
CrystaLamb/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
1
2021-09-29T12:23:35.000Z
2021-09-29T12:23:35.000Z
#include "ilpch.h" #include "VertexArray.h" #include "IL/Renderer/Renderer.h" #include "Platform/OpenGL/OpenGLVertexArray.h" namespace IL { Ref<VertexArray> VertexArray::Create() { switch (Renderer::GetAPI()) { case RendererAPI::API::None: IL_CORE_ASSERT(false, "IL engine don't support null API now!"); re...
20.25
82
0.713992
ILLmew
ef9b226ea5d0ad8d838f950215152f3d460831f8
4,353
cc
C++
sandbox/profiling_nonbatch/main.cc
dmsi/borsch.3d
c4fd6a70924b6dd9b06eb9b4ee6bfdd0ffc444ca
[ "MIT" ]
1
2019-02-03T03:41:22.000Z
2019-02-03T03:41:22.000Z
sandbox/profiling_nonbatch/main.cc
dmsi/borsch.3d
c4fd6a70924b6dd9b06eb9b4ee6bfdd0ffc444ca
[ "MIT" ]
null
null
null
sandbox/profiling_nonbatch/main.cc
dmsi/borsch.3d
c4fd6a70924b6dd9b06eb9b4ee6bfdd0ffc444ca
[ "MIT" ]
null
null
null
// // This source file is a part of borsch.3d // // Copyright (C) borsch.3d team 2017-2018 // // 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 limitat...
34.007813
85
0.669653
dmsi
ef9db9d3ac89b71bd55fd49c17b249d18e1c0881
272
cpp
C++
src/QtNetCore/main.cpp
pauldotknopf/qt-net-core
dd5d8b45e69883283e324f2685a1125a85367c17
[ "MIT" ]
5
2017-05-01T13:02:19.000Z
2021-06-14T01:52:59.000Z
src/QtNetCore/main.cpp
pauldotknopf/qt-net-core
dd5d8b45e69883283e324f2685a1125a85367c17
[ "MIT" ]
null
null
null
src/QtNetCore/main.cpp
pauldotknopf/qt-net-core
dd5d8b45e69883283e324f2685a1125a85367c17
[ "MIT" ]
1
2018-02-18T20:01:50.000Z
2018-02-18T20:01:50.000Z
#include <QCoreApplication> #include "qtnetcore.h" #include <iostream> #include "qtnetcore.h" #include "pal.h" #include "utils.h" int wmain(const int argc, const wchar_t* argv[]) { std::wcout << _STRINGIFY(HOST_POLICY_PKG_NAME); new QtNetCore(); return 0; }
18.133333
51
0.694853
pauldotknopf
ef9dc56bd6440706a7a09d3e3810cdf49a0c27ac
11,505
cpp
C++
src/http2stream.cpp
uplusware/openheap
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
30
2017-07-15T00:22:25.000Z
2022-03-01T06:56:21.000Z
src/http2stream.cpp
uplusware/niuhttpd
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
null
null
null
src/http2stream.cpp
uplusware/niuhttpd
3e11ebe52df4970eae85ac721da755f824297476
[ "Apache-2.0" ]
4
2018-01-18T14:35:33.000Z
2022-01-17T23:24:39.000Z
#include "http2stream.h" #include "debug.h" ///////////////////////////////////////////////////////////////////////////////////////////////////// //http2_stream http2_stream::http2_stream(int epoll_fd, map<int, backend_session*>* backend_list, uint_32 stream_ind, uint_32 local_window_size, uint_32 peer_window_size, CH...
31.607143
299
0.649283
uplusware
ef9ee5b3c2c652a6ea9593e6b530cd7feb775c80
3,500
cpp
C++
sesion10/sesion10_casa/ejercicio_18.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
1
2018-12-11T09:32:59.000Z
2018-12-11T09:32:59.000Z
sesion10/sesion10_casa/ejercicio_18.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
null
null
null
sesion10/sesion10_casa/ejercicio_18.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
2
2018-11-13T12:32:35.000Z
2018-11-27T14:43:30.000Z
#include <iostream> #include <cmath> using namespace std; struct Punto{ double x; double y; }; struct Poligono{ Punto puntos[100]; int num_puntos; }; double LongitudLado(Punto punto1, Punto punto2){ //Calcula la longitud de un segmento dados dos puntos mediante pitágoras. double v1 = punto2....
28.688525
94
0.554286
dmateos-ugr
efaa5b95da7943afdb8c560f5ddb41c668b03072
345
cpp
C++
src/xgtamenu.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
1
2019-12-10T20:13:11.000Z
2019-12-10T20:13:11.000Z
src/xgtamenu.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
null
null
null
src/xgtamenu.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
null
null
null
#include "xgtable.h" #include "xgmenu.h" void CMyTable::OnMenuCommand(int id) { switch (id) { case M_FILE_CLOSE: if (OnClose()) { delete this; } break; case M_FILE_PRINT: OnPrint(); break; default: (void) wxMessageBox(MENU_NOTDEFINED, MENU_WARNING,wxOK|wxCENTRE...
14.375
42
0.585507
msperl
efb8e497db84859b4218f51236ba0398e6899eb4
7,269
cpp
C++
programs/client-proxies/bb-monitor-splunk-hec-proxy/main.cpp
bitbouncer/bb-monitor
ee93cd1c52526bc16401cb54584e7f32e24be570
[ "BSL-1.0" ]
null
null
null
programs/client-proxies/bb-monitor-splunk-hec-proxy/main.cpp
bitbouncer/bb-monitor
ee93cd1c52526bc16401cb54584e7f32e24be570
[ "BSL-1.0" ]
null
null
null
programs/client-proxies/bb-monitor-splunk-hec-proxy/main.cpp
bitbouncer/bb-monitor
ee93cd1c52526bc16401cb54584e7f32e24be570
[ "BSL-1.0" ]
null
null
null
#include <cstring> #include <glog/logging.h> #include <boost/program_options.hpp> #include <restinio/all.hpp> #include <kspp/kspp.h> #include <kspp/sources/mem_stream_source.h> #include <kspp/processors/flat_map.h> #include <kspp/metrics/prometheus_pushgateway_reporter.h> #include <kspp/utils/env.h> #include <bb_monito...
32.163717
174
0.654698
bitbouncer
efbc3977b308779fdca2820b8c33938baa822c76
4,828
cpp
C++
Emulator101/NewAwesome8080Emulator.SpaceInvaders/main.cpp
nitrogene/Emulator101
6276a6c843fad5e266ccdcae52c5c5f5f631e71f
[ "Unlicense" ]
null
null
null
Emulator101/NewAwesome8080Emulator.SpaceInvaders/main.cpp
nitrogene/Emulator101
6276a6c843fad5e266ccdcae52c5c5f5f631e71f
[ "Unlicense" ]
null
null
null
Emulator101/NewAwesome8080Emulator.SpaceInvaders/main.cpp
nitrogene/Emulator101
6276a6c843fad5e266ccdcae52c5c5f5f631e71f
[ "Unlicense" ]
null
null
null
#include <SDL.h> #include "SpaceInvaders.h" using namespace std::chrono_literals; SDL_Renderer* renderer; void refreshScreen(const uint8_t* const buffer, void* data) { const uint32_t pitch = sizeof(uint8_t) * 4 * SpaceInvaders::SCREEN_WIDTH; SDL_Texture* texture = (SDL_Texture*)data; if (0 != SDL_UpdateTexture(te...
22.248848
104
0.631939
nitrogene
efc15e3e9bdc92610168acbe5e2254f908fafed7
742
cpp
C++
Scripts/Trader-Mod/requested pre-builds/POPTART/POPTART/config.cpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
9
2017-03-30T15:37:09.000Z
2022-02-06T22:44:17.000Z
Scripts/Trader-Mod/requested pre-builds/POPTART/POPTART/config.cpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
1
2017-04-10T14:59:31.000Z
2017-04-11T14:42:13.000Z
Scripts/Trader-Mod/requested pre-builds/POPTART/POPTART/config.cpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
6
2017-02-25T00:19:40.000Z
2022-02-16T19:54:45.000Z
class CfgExileArsenal { #include "TRADERS\APEX\ItemListAPEX.hpp" #include "TRADERS\ARMA3V\ItemListARMA3V.hpp" #include "TRADERS\ARMA3W\ItemListARMA3W.hpp" #include "TRADERS\CUSTOM\ItemListCUSTOM.hpp" #include "TRADERS\Exile\ItemListExile.hpp" #include "TRADERS\RHSV\ItemListRHSV.hpp" #include "TRADERS\RHSW\Ite...
27.481481
53
0.796496
x-cessive
efc25e1bc2f41f1b6acd78d1a4b638b556752d7c
256
hpp
C++
trader/tools/SentimentAnalysis.hpp
joshuakarbi/trader
07f3ecf1f0eefd800464e2dfe9ee27b58c15254f
[ "MIT" ]
11
2019-01-10T19:34:14.000Z
2019-09-24T05:30:03.000Z
trader/tools/SentimentAnalysis.hpp
joshuakarbi/trader
07f3ecf1f0eefd800464e2dfe9ee27b58c15254f
[ "MIT" ]
8
2019-01-10T21:18:23.000Z
2019-02-12T20:11:56.000Z
trader/tools/SentimentAnalysis.hpp
joshuakarbi/trader
07f3ecf1f0eefd800464e2dfe9ee27b58c15254f
[ "MIT" ]
2
2019-01-10T19:37:10.000Z
2019-07-12T01:49:18.000Z
// SentimentAnalysis.hpp #pragma once #include <string> namespace tools { class SentimentAnalysis { public: // @return sentiment score from IBM Watson NLP API (-1.0 to +1.0) static double getSentimentScore(const std::string& textToAnalyze); }; }
17.066667
68
0.726563
joshuakarbi
efc4597b12a64eb7556f865c02b2be589cfbf3e3
3,226
cpp
C++
Engine/L3DRenderQueue.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
26
2016-02-04T21:54:09.000Z
2022-02-04T18:21:11.000Z
Engine/L3DRenderQueue.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
3
2016-02-06T14:02:15.000Z
2018-05-02T07:54:02.000Z
Engine/L3DRenderQueue.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
6
2016-02-06T09:39:47.000Z
2021-12-16T16:01:10.000Z
/* * This file is part of the leaf3d project. * * Copyright 2014-2015 Emanuele Bertoldi. All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT...
26.227642
104
0.734966
leaf3d
efc4f0e499dae356533420a556e4c76d5889a8c0
8,542
cpp
C++
Networking/NetworkingTutCharacter.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
531
2016-10-19T14:04:55.000Z
2022-03-28T06:34:25.000Z
Networking/NetworkingTutCharacter.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
null
null
null
Networking/NetworkingTutCharacter.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
172
2016-10-18T14:53:11.000Z
2022-03-22T10:39:44.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "NetworkingTut.h" #include "Kismet/HeadMountedDisplayFunctionLibrary.h" #include "NetworkingTutCharacter.h" ////////////////////////////////////////////////////////////////////////// // ANetworkingTutCharacter ANetworkingTutCharacter::ANetworkingT...
32.853846
180
0.767502
devilmhzx