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
8b185e295154af590310a2e4f4b0507f6b03cd43
9,758
cpp
C++
src/nnfusion/engine/pass/codegen/codegenerator_helper.cpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
1
2021-05-14T08:10:30.000Z
2021-05-14T08:10:30.000Z
src/nnfusion/engine/pass/codegen/codegenerator_helper.cpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
null
null
null
src/nnfusion/engine/pass/codegen/codegenerator_helper.cpp
LittleQili/nnfusion
6c1a25db5be459a1053798f1c75bfbd26863ed08
[ "MIT" ]
1
2021-06-18T23:04:08.000Z
2021-06-18T23:04:08.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "codegenerator_helper.hpp" #include "nnfusion/core/kernels/cpu/cpu_langunit.hpp" #include "nnfusion/core/kernels/cuda_gpu/cuda_langunit.hpp" #include "nnfusion/engine/async_manager.hpp" using namespace nnfusion; using namespace nnfus...
32.098684
100
0.593154
LittleQili
8b1b6a7e40ac04d9ea6c30c0384117a8bf66891e
15,252
cpp
C++
amr-wind/utilities/PlaneAveraging.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
null
null
null
amr-wind/utilities/PlaneAveraging.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
null
null
null
amr-wind/utilities/PlaneAveraging.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
null
null
null
// // PlaneAveraging.cpp // incflo // #include <algorithm> #include "amr-wind/utilities/PlaneAveraging.H" #include "amr-wind/incflo.H" using namespace amrex; void PlaneAveraging::plot_line(int step, amrex::Real time, int plot_type) { switch (plot_type) { case 0: plot_line_text("line_plot.txt", step...
36.663462
80
0.503868
mchurchf
8b1d001d7fb4827e0967c66da646650cab932d40
22,304
cpp
C++
worker/src/RTC/StunPacket.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
4,465
2017-04-05T20:00:24.000Z
2022-03-31T13:27:43.000Z
worker/src/RTC/StunPacket.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
617
2017-04-05T21:24:27.000Z
2022-03-31T06:17:25.000Z
worker/src/RTC/StunPacket.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
900
2017-04-11T09:25:27.000Z
2022-03-30T21:37:00.000Z
#define MS_CLASS "RTC::StunPacket" // #define MS_LOG_DEV_LEVEL 3 #include "RTC/StunPacket.hpp" #include "Logger.hpp" #include "Utils.hpp" #include <cstdio> // std::snprintf() #include <cstring> // std::memcmp(), std::memcpy() namespace RTC { /* Class variables. */ const uint8_t StunPacket::magicCookie[] = { 0x21,...
28.126103
98
0.635447
kcking
8b1ec8a14578af227c662478bcb02be88225b4b2
1,193
cpp
C++
ReadCanvas/main.cpp
InsulinShock/WebAssemblyEvaluations
bb27a40b2937b901352dbad0e4ec442dcbc0b91c
[ "MIT" ]
null
null
null
ReadCanvas/main.cpp
InsulinShock/WebAssemblyEvaluations
bb27a40b2937b901352dbad0e4ec442dcbc0b91c
[ "MIT" ]
null
null
null
ReadCanvas/main.cpp
InsulinShock/WebAssemblyEvaluations
bb27a40b2937b901352dbad0e4ec442dcbc0b91c
[ "MIT" ]
null
null
null
#ifdef __EMSCRIPTEN__ #include <emscripten.h> #include <emscripten/val.h> #endif #include <vector> #include <iostream> #include <string> template <typename T> void copyToVector(const emscripten::val &typedArray, std::vector<T> &vec) { unsigned int length = typedArray["length"].as<unsigned int>(); emscripten:...
28.404762
121
0.679799
InsulinShock
8b1ee30eebc842d814af97fa4b0fc9865f36ec3e
2,050
cpp
C++
c++/heaters.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/heaters.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/heaters.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses. Now, you are given positions of houses and heaters on a horizontal line, find out minimum radius of heaters so that all houses could be covered by those heaters. So, your input will be...
30.597015
132
0.64439
SongZhao
8b2047f0d32e3663ba88618fd9e49afbe46ff386
35,165
cc
C++
tensorflow/compiler/xla/shape_util_test.cc
JustinHedge/tensorflow
9048a344a10615a6ff2b7ff56846dca8a1f08faa
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/shape_util_test.cc
JustinHedge/tensorflow
9048a344a10615a6ff2b7ff56846dca8a1f08faa
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/shape_util_test.cc
JustinHedge/tensorflow
9048a344a10615a6ff2b7ff56846dca8a1f08faa
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 The TensorFlow 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 a...
42.779805
80
0.671065
JustinHedge
8b23a098b5a7c5c8e6b7dd52c795fa42963d19b3
8,231
hh
C++
src/dev/arm/css/scmi_platform.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-05-04T13:23:30.000Z
2021-05-04T13:23:30.000Z
src/dev/arm/css/scmi_platform.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-04-17T17:13:56.000Z
2021-04-17T17:13:56.000Z
src/dev/arm/css/scmi_platform.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-08-23T05:37:55.000Z
2021-08-23T05:37:55.000Z
/* * Copyright (c) 2020 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
24.792169
73
0.691654
fei-shan
8b25375d946462ee4bc5ec445d75ae2d04f38e11
9,326
cpp
C++
third_party/lzma/files/CPP/Windows/Registry.cpp
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
third_party/lzma/files/CPP/Windows/Registry.cpp
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
third_party/lzma/files/CPP/Windows/Registry.cpp
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Windows/Registry.cpp #include "StdAfx.h" #ifndef _UNICODE #include "Common/StringConvert.h" #endif #include "Windows/Registry.h" #ifndef _UNICODE extern bool g_IsNT; #endif namespace NWindows { namespace NRegistry { #define MYASSERT(expr) // _ASSERTE(expr) LONG CKey::Create(HKEY parentKey, LPCTSTR keyName, ...
25.205405
106
0.672636
r3yn0ld4
8b2aadfd1e62ad5e9cb6f2e1f940a363fea38f39
285
cpp
C++
Source/Renderer/Geometry/GeometryInstance.cpp
Theundeadwarrior/Casiope
f21b53b8e51adb9b341269471443b9dc0f61e9d8
[ "MIT" ]
3
2016-08-04T05:08:59.000Z
2018-03-28T04:40:43.000Z
Source/Renderer/Geometry/GeometryInstance.cpp
Theundeadwarrior/Casiope
f21b53b8e51adb9b341269471443b9dc0f61e9d8
[ "MIT" ]
6
2016-08-05T17:57:51.000Z
2018-03-28T04:41:09.000Z
Source/Renderer/Geometry/GeometryInstance.cpp
Theundeadwarrior/Casiope
f21b53b8e51adb9b341269471443b9dc0f61e9d8
[ "MIT" ]
1
2016-08-16T05:40:59.000Z
2016-08-16T05:40:59.000Z
#include "Renderer/Geometry/GeometryInstance.h" namespace Renderer { GeometryInstance::GeometryInstance(GraphicsCore::Geometry * geometry) : m_GeometryId(geometry) { } void GeometryInstance::SetGeometry(GraphicsCore::Geometry * geometry) { m_GeometryId = geometry; } }
16.764706
70
0.757895
Theundeadwarrior
8b2b7d8f6bc7bcbc0080eeea035c8886a84dcacf
1,098
inl
C++
Projects/Reflectpp/include/details/lambda/impl/factory_lambda.inl
Nohzmi/Reflectpp
35a340f277ef374c9f9aeef89849918fdf7c2848
[ "BSD-3-Clause" ]
3
2021-02-16T23:01:49.000Z
2021-03-10T16:13:55.000Z
Projects/Reflectpp/include/details/lambda/impl/factory_lambda.inl
Nohzmi/Reflectpp
35a340f277ef374c9f9aeef89849918fdf7c2848
[ "BSD-3-Clause" ]
null
null
null
Projects/Reflectpp/include/details/lambda/impl/factory_lambda.inl
Nohzmi/Reflectpp
35a340f277ef374c9f9aeef89849918fdf7c2848
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, Nohzmi. All rights reserved. namespace reflectpp { namespace details { template<typename T> REFLECTPP_INLINE auto factory_constructor() REFLECTPP_NOEXCEPT { return []() -> void* { if constexpr (std::is_constructible_v<T>) { return new T(); } else...
19.263158
70
0.583789
Nohzmi
8b2dbf0acce8b5995dc96ddd301d5159c3e8fb3a
475
hpp
C++
Client/client/Graphics/Visual.hpp
pinkmouse/SlayersWorld
53cdde28f3464ee9ada9b655f8c4df63f0e9389e
[ "MIT" ]
14
2019-03-05T10:03:59.000Z
2021-12-21T03:00:18.000Z
Client/client/Graphics/Visual.hpp
pinkmouse/SlayersWorld
53cdde28f3464ee9ada9b655f8c4df63f0e9389e
[ "MIT" ]
1
2019-10-24T21:37:59.000Z
2019-10-24T21:37:59.000Z
Client/client/Graphics/Visual.hpp
pinkmouse/SlayersWorld
53cdde28f3464ee9ada9b655f8c4df63f0e9389e
[ "MIT" ]
1
2020-12-06T21:07:52.000Z
2020-12-06T21:07:52.000Z
#pragma once #include <SFML/Graphics/Texture.hpp> #include "SkinSprite.hpp" #include <vector> class Visual { public: Visual(); Visual(eVisualType, uint8, uint8); ~Visual(); void AddSprite(SkinSprite); SkinSprite* GetSprite(uint8); uint8 GetNbSpriteX() const; uint8 GetNbSpriteY() const; ...
19
41
0.692632
pinkmouse
8b2e03acdde8862200cf2d5eba6fe0eb4e202213
1,003
hpp
C++
libs/core/include/fcppt/container/array/detail/push_back.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/array/detail/push_back.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/array/detail/push_back.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_CONTAINER_ARRAY_DETAIL_PUSH_BACK_HPP_INCLUDED #define FCPPT_CONTAINER_ARRAY_DETAIL_P...
14.75
61
0.690927
pmiddend
8b2e3753aa666b969a98a7844b3b5f0617bc2790
1,561
hh
C++
include/nds.hh
TimmSkiller/nds_iconconverter
2fe23472a8e9e20dfca761200153287307dcf0e4
[ "MIT" ]
null
null
null
include/nds.hh
TimmSkiller/nds_iconconverter
2fe23472a8e9e20dfca761200153287307dcf0e4
[ "MIT" ]
null
null
null
include/nds.hh
TimmSkiller/nds_iconconverter
2fe23472a8e9e20dfca761200153287307dcf0e4
[ "MIT" ]
null
null
null
#include <stdint.h> #include <uchar.h> #ifndef nds_h #define nds_h typedef uint64_t u64; typedef uint32_t u32; typedef uint16_t u16; typedef uint8_t u8; typedef struct nds_header //the NDS file header { char game_title[12]; //the game title char game_code[4]; //the game product code char maker_code[2]; //the cod...
22.3
87
0.770019
TimmSkiller
8b2ffbdccfad999268b0c57148fdb45d64f95694
9,527
cpp
C++
Userland/Applications/QuickShow/QSWidget.cpp
Sobak/serenity
cebd3f740b6fd2fd0da30ed92310a968cf6df44a
[ "BSD-2-Clause" ]
1
2021-06-11T14:38:19.000Z
2021-06-11T14:38:19.000Z
Userland/Applications/QuickShow/QSWidget.cpp
Sobak/serenity
cebd3f740b6fd2fd0da30ed92310a968cf6df44a
[ "BSD-2-Clause" ]
null
null
null
Userland/Applications/QuickShow/QSWidget.cpp
Sobak/serenity
cebd3f740b6fd2fd0da30ed92310a968cf6df44a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2021, Linus Groh <mail@linusgroh.de> * 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. Redistributio...
27.938416
137
0.658549
Sobak
8b355f134945c07b2d54c811e06a3f6fb41c8234
11,740
hpp
C++
3rdparty/armadillo/armadillo_bits/newarp_GenEigsSolver_meat.hpp
stefannesic/world
44c01623ab1777c3224f83f53b74d50b58372fb1
[ "MIT" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
include/armadillo_bits/newarp_GenEigsSolver_meat.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
1
2020-04-21T12:59:37.000Z
2020-04-23T17:49:03.000Z
include/armadillo_bits/newarp_GenEigsSolver_meat.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
25.466377
144
0.595911
stefannesic
8b36a045889b5d20226921f1a27ff4eb45817f89
1,975
cpp
C++
1025/main.cpp
Heliovic/PAT_Solutions
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
2
2019-03-18T12:55:38.000Z
2019-09-07T10:11:26.000Z
1025/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
1025/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
#include <cstdio> #include <string.h> #include <algorithm> #include <vector> using namespace std; struct Testee { int score, location_number, final_rank, local_rank; char registration_number[16]; }; vector<Testee*> testees; int N; bool cmp1(Testee* t1, Testee* t2) { return t1->score > t2->score; } boo...
22.965116
142
0.522532
Heliovic
8b36e3812d814df39815b17139479caadc4a03be
19,059
cpp
C++
WickedEngine/wiShaderCompiler.cpp
zhangjiangen/WickedEngine
963bcecd23d92008144055031b8fae5072806955
[ "MIT" ]
3,589
2015-06-20T23:08:26.000Z
2022-03-31T13:45:07.000Z
WickedEngine/wiShaderCompiler.cpp
zhangjiangen/WickedEngine
963bcecd23d92008144055031b8fae5072806955
[ "MIT" ]
303
2015-11-23T18:23:59.000Z
2022-03-31T09:31:03.000Z
WickedEngine/wiShaderCompiler.cpp
zhangjiangen/WickedEngine
963bcecd23d92008144055031b8fae5072806955
[ "MIT" ]
496
2015-06-22T18:14:06.000Z
2022-03-30T21:53:21.000Z
#include "wiShaderCompiler.h" #include "wiBackLog.h" #include "wiPlatform.h" #include "wiHelper.h" #include "wiArchive.h" #include <mutex> #include <unordered_set> #include <filesystem> #ifdef PLATFORM_WINDOWS_DESKTOP #define SHADERCOMPILER_ENABLED #define SHADERCOMPILER_ENABLED_DXCOMPILER //#define SHADERCOMPILER_E...
25.96594
129
0.699355
zhangjiangen
8b376f510e8aab70ce7057fb9984f9ae734bf33f
13,932
hpp
C++
AbstractHardware/Registers/STM32F0x1/extiregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
AbstractHardware/Registers/STM32F0x1/extiregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
AbstractHardware/Registers/STM32F0x1/extiregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : extiregisters.hpp * * Details : External interrupt/event controller. This header file is * auto-generated for STM32F0x1 device. * * *******************************************************************...
64.8
97
0.71971
snorkysnark
8b3b11383a14fd77400d1bba40ac5a63f6c36cf6
2,087
cpp
C++
modules/wechat_qrcode/src/scale/super_scale.cpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/wechat_qrcode/src/scale/super_scale.cpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/wechat_qrcode/src/scale/super_scale.cpp
ptelang/opencv_contrib
dd68e396c76f1db4d82e5aa7a6545580939f9b9d
[ "Apache-2.0" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
33.126984
93
0.610925
ptelang
8b3c038f3f6e93c6f658e1e0ddccc32083d679b7
4,365
cpp
C++
Plugins/Visibility/Visibility.cpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
Plugins/Visibility/Visibility.cpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
Plugins/Visibility/Visibility.cpp
shadguy/unified
581cdfa7a0e7e1b6ee880f04c1c3b36d6ee36f0d
[ "MIT" ]
null
null
null
#include "Visibility.hpp" #include "API/CAppManager.hpp" #include "API/CServerExoApp.hpp" #include "API/Constants.hpp" #include "API/Globals.hpp" #include "API/Functions.hpp" #include "API/CNWSObject.hpp" #include "API/CNWSCreature.hpp" #include "API/CNWSCreatureStats.hpp" #include "Services/Events/Events.hpp" #includ...
29.295302
155
0.710195
shadguy
8b3fc93498beafb146b5d1243d7ab2525975fb7b
1,044
cpp
C++
src/Testbed/Scene/GameScene.cpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
src/Testbed/Scene/GameScene.cpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
src/Testbed/Scene/GameScene.cpp
Liljan/Ape-Engine
174842ada3a565e83569722837b242fa9faa4114
[ "MIT" ]
null
null
null
#include "Testbed/Scene/GameScene.hpp" #include "Engine/Scene/SceneManager.hpp" #include "Engine/Resources/ResourceManager.hpp" #include "Engine/Hasher.hpp" GameScene::GameScene(SceneManager& sceneManager, ResourceManager& resourceManager) { m_SceneManager = &sceneManager; m_ResourceManager = &resourceManager; } ...
18.981818
82
0.722222
Liljan
8b42f8cd40bd797c736628cbf66d8aeec0d80a0e
8,662
cpp
C++
unittests/block_tests.cpp
xenbo/eosforce
f77a73c2b49f40f8af5c11a13b0a7eb069e02b5f
[ "MIT" ]
null
null
null
unittests/block_tests.cpp
xenbo/eosforce
f77a73c2b49f40f8af5c11a13b0a7eb069e02b5f
[ "MIT" ]
null
null
null
unittests/block_tests.cpp
xenbo/eosforce
f77a73c2b49f40f8af5c11a13b0a7eb069e02b5f
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in eos/LICENSE */ #include <boost/test/unit_test.hpp> #include <eosio/testing/tester.hpp> #include <eosio/testing/z_hglog.hpp> using namespace eosio; using namespace testing; using namespace chain; BOOST_AUTO_TEST_SUITE(block_tests) BOOST_AUTO_TEST_CASE(block_with_invalid_tx_te...
41.052133
147
0.731355
xenbo
8b43a29815aca0647fa5a0d1845289fa7789083c
1,470
cpp
C++
src/main.cpp
janjongboom/binary-diff-mbedos5
6e2dc60fcddd2b2622c35e58fa4ecac4738be76b
[ "Apache-2.0" ]
11
2017-10-04T14:21:07.000Z
2022-03-03T02:49:23.000Z
src/main.cpp
janjongboom/binary-diff-mbedos5
6e2dc60fcddd2b2622c35e58fa4ecac4738be76b
[ "Apache-2.0" ]
1
2020-11-17T19:30:56.000Z
2021-07-07T15:30:30.000Z
src/main.cpp
janjongboom/binary-diff-mbedos5
6e2dc60fcddd2b2622c35e58fa4ecac4738be76b
[ "Apache-2.0" ]
1
2020-07-22T23:52:59.000Z
2020-07-22T23:52:59.000Z
#include "mbed.h" #include "SDBlockDevice.h" #include "FATFileSystem.h" #include "janpatch.h" SDBlockDevice sd(MBED_CONF_APP_SD_CARD_MOSI, MBED_CONF_APP_SD_CARD_MISO, MBED_CONF_APP_SD_CARD_SCK, MBED_CONF_APP_SD_CARD_CS); FATFileSystem fs("sd"); void progress(uint8_t percentage) { printf("Progress: %d%%\n", pe...
24.098361
82
0.602721
janjongboom
8b43c376a578ddca44a989daa85290c8288de8e9
1,903
cpp
C++
src/core/types/calls/denovo_reference_reversion_call.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/core/types/calls/denovo_reference_reversion_call.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
src/core/types/calls/denovo_reference_reversion_call.cpp
roryk/octopus
0ec2839c33b846107278696ee04ce6d7d0f69a54
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2020 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "denovo_reference_reversion_call.hpp" namespace octopus { namespace { class DummyGenerator { public: DummyGenerator() = delete; DummyGenerator(const char dum...
29.276923
98
0.642669
roryk
8b480dc2772b792879ea14cb73e9d8114b61cf00
23,972
cpp
C++
lib/render/TwoDDataRenderer.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
lib/render/TwoDDataRenderer.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
lib/render/TwoDDataRenderer.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************ // Copyright (C) 2008 * // University Corporation for Atmospheric Research * // All Rights Reserved * // * //************************************************************************/ // //...
30.305942
100
0.604914
StasJ
8b4d78560a0cbff10c96030454779dbe28f839f7
1,096
cpp
C++
research&testing/3d/3dpipe.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
2
2019-07-25T11:46:41.000Z
2020-07-02T14:00:33.000Z
research&testing/3d/3dpipe.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
1
2019-04-17T17:21:49.000Z
2019-04-17T17:21:49.000Z
research&testing/3d/3dpipe.cpp
jag-123/Amused-Anemone
e8ae090c40d3d4d97762dba834d385286e8ff21c
[ "MIT" ]
2
2021-11-29T08:13:48.000Z
2021-12-05T19:38:04.000Z
#include <stdio.h> #include <stdlib.h> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <math.h> #define UNUSED(param) (void)(param) GLUquadricObj *quadObj; void display(){ glClear(GL_COLOR_BUFFER_BIT); glPushMatrix(); float an; float SINan_3; float COSan_3; glBegin(GL_QUAD_STRIP);...
19.927273
80
0.631387
jag-123
8b4dead2a7786b6715e82522e5f3787468b7b2fe
3,941
cpp
C++
HttpLib/linux/Socket.cpp
tcjohnson123/local-file-server
801343b772f010ab21e215fa7258fa4be524b640
[ "Unlicense" ]
2
2021-07-28T05:24:57.000Z
2022-01-18T15:04:30.000Z
HttpLib/linux/Socket.cpp
tcjohnson123/local-file-server
801343b772f010ab21e215fa7258fa4be524b640
[ "Unlicense" ]
null
null
null
HttpLib/linux/Socket.cpp
tcjohnson123/local-file-server
801343b772f010ab21e215fa7258fa4be524b640
[ "Unlicense" ]
3
2020-12-30T08:59:17.000Z
2022-01-18T15:04:31.000Z
#include "pch.h" #include "../Socket.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <netdb.h> class net::EndPointImpl { public: struct sockaddr_in sa; }; net::EndPoint::EndPoint() : EndPoint("0.0.0.0", 0) { } net::EndPoint::EndPoint(con...
22.52
114
0.648059
tcjohnson123
8b4df8e9bce570b6ce49a18d778989c577d02988
273
cc
C++
bwidgets/styling/bwStyle.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
72
2018-03-26T20:13:47.000Z
2022-03-08T15:59:55.000Z
bwidgets/styling/bwStyle.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
12
2018-03-30T12:54:15.000Z
2021-05-30T23:33:01.000Z
bwidgets/styling/bwStyle.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
10
2018-03-26T23:04:06.000Z
2021-11-17T21:04:27.000Z
#include <cassert> #include "bwStyle.h" namespace bWidgets { unsigned int bwStyle::s_default_widget_size_hint = 20; bwStyle::bwStyle(TypeID type_id) : type_id(type_id) { } void bwStyle::polish(class bwWidget&) { /* Nothing by default. */ } } // namespace bWidgets
14.368421
54
0.717949
julianeisel
332db4066adb6d0bf9581130d81e236ff865c13b
1,238
cpp
C++
cpp/godot-cpp/src/gen/VisualShaderNodeScalarFunc.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/VisualShaderNodeScalarFunc.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/VisualShaderNodeScalarFunc.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "VisualShaderNodeScalarFunc.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" namespace godot { VisualShaderNodeScalarFunc::___method_bindings VisualShaderNodeScalarFunc::___mb = {}; void VisualShaderNodeScalar...
34.388889
233
0.818255
GDNative-Gradle
33310842e50fcdb4c84d31ab2a01d772d4a3920a
1,039
cpp
C++
src/main.cpp
EtherealT/Beam
e56be330df3f36068ef37a93bcbea23cfeeb481d
[ "Apache-2.0" ]
1
2018-02-05T20:53:25.000Z
2018-02-05T20:53:25.000Z
src/main.cpp
EtherealT/Beam
e56be330df3f36068ef37a93bcbea23cfeeb481d
[ "Apache-2.0" ]
37
2017-10-01T15:58:53.000Z
2018-03-28T14:10:00.000Z
src/main.cpp
EtherealT/Beam
e56be330df3f36068ef37a93bcbea23cfeeb481d
[ "Apache-2.0" ]
1
2017-09-30T10:03:58.000Z
2017-09-30T10:03:58.000Z
/* * Copyright 2018 Oluwatobi Adeyinka * * 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 ...
25.975
76
0.708373
EtherealT
33325cbf9e129170787d9de65b60a34f86806bbd
4,399
cpp
C++
examples/lknpyroflow/xf_dense_npyr_optical_flow_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
examples/lknpyroflow/xf_dense_npyr_optical_flow_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
examples/lknpyroflow/xf_dense_npyr_optical_flow_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** Copyright (c) 2016, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must ...
38.252174
136
0.704478
lt23yuan
33339b9d9cfec241078a89f503dacb83bec305fe
15,472
cxx
C++
Qt/Components/pqCalculatorPanel.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Qt/Components/pqCalculatorPanel.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Qt/Components/pqCalculatorPanel.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
33.130621
88
0.626616
matthb2
333470c8204196f478791e3ee50786b960b34e2b
9,364
cpp
C++
build_px4fmu-v2_default/topics_sources/uORBTopics.cpp
NateBowen/VTOL
0eb463cd6a957273fc7c658eca07a3cd90787fea
[ "BSD-3-Clause" ]
null
null
null
build_px4fmu-v2_default/topics_sources/uORBTopics.cpp
NateBowen/VTOL
0eb463cd6a957273fc7c658eca07a3cd90787fea
[ "BSD-3-Clause" ]
null
null
null
build_px4fmu-v2_default/topics_sources/uORBTopics.cpp
NateBowen/VTOL
0eb463cd6a957273fc7c658eca07a3cd90787fea
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * * Copyright (C) 2013-2015 PX4 Development Team. 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. Red...
36.435798
78
0.760679
NateBowen
3334f3bf062379c07ead60abf4121328d8c62890
354
cpp
C++
src/systems/LoopingBackgroundSystem.cpp
VitorCBSB/DinoReborn
6d65744982feec175c4102b78d4ec00c9478e9c0
[ "MIT" ]
null
null
null
src/systems/LoopingBackgroundSystem.cpp
VitorCBSB/DinoReborn
6d65744982feec175c4102b78d4ec00c9478e9c0
[ "MIT" ]
null
null
null
src/systems/LoopingBackgroundSystem.cpp
VitorCBSB/DinoReborn
6d65744982feec175c4102b78d4ec00c9478e9c0
[ "MIT" ]
null
null
null
/* * MovingBackgroundSystem.cpp * * Created on: 26/12/2014 * Author: vitor */ #include "LoopingBackgroundSystem.h" // TODO - Remove magic numbers void LoopingBackgroundSystem::process_entity(Entity& entity, double dt) { auto p = entity.get_component<PositionComponent>(); if (p->position.y > 600 + 450) {...
19.666667
73
0.677966
VitorCBSB
333703b3978456053ae004e34a7ea2b90d539e9c
885
cpp
C++
C++/Advanced/Multidimensional Lists/Lab/Primary Diagonal.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
C++/Advanced/Multidimensional Lists/Lab/Primary Diagonal.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
C++/Advanced/Multidimensional Lists/Lab/Primary Diagonal.cpp
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> using namespace std; void ShowArray(int** arr, int rows, int cols) { for (int k = 0; k < rows; k++) { for (int j = 0; j < cols; j++) { cout << arr[k][j] << " "; } cout << endl; } } int main() { int n; cin >> n; int** multiNums = n...
20.113636
51
0.500565
EduardV777
3344c01ebd6ae95ab40ee675592fe57f955a93d8
829
cpp
C++
languages-of-programming-cpp/2-laboratory-work/Functions.cpp
bekzodbuyukov/university-tasks
1efcc54e0c1b4f69c3c8f666cf144a4d5eed6da7
[ "MIT" ]
null
null
null
languages-of-programming-cpp/2-laboratory-work/Functions.cpp
bekzodbuyukov/university-tasks
1efcc54e0c1b4f69c3c8f666cf144a4d5eed6da7
[ "MIT" ]
null
null
null
languages-of-programming-cpp/2-laboratory-work/Functions.cpp
bekzodbuyukov/university-tasks
1efcc54e0c1b4f69c3c8f666cf144a4d5eed6da7
[ "MIT" ]
null
null
null
// // Created by bek on 10/14/20. // #include "Header.h" int generateRandomSize() { int number; number = rand() % 8000 + 1000; return number; } int generateRandomYear() { int number; number = rand() % 5 + 2015; return number; } string generateRandomBrand() { string array[25] = {"Kingston...
24.382353
107
0.551267
bekzodbuyukov
3346680e161e0745a83b59ed4deb0c1f3d90f6b2
4,757
hpp
C++
include/UnityEngine/CustomYieldInstruction.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/CustomYieldInstruction.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/CustomYieldInstruction.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Collect...
52.274725
183
0.732815
marksteward
3347ed0698e06fd2d38f68364849bb07ac4aba66
6,175
cpp
C++
module-apps/application-notes/windows/NoteEditWindow.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-apps/application-notes/windows/NoteEditWindow.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-apps/application-notes/windows/NoteEditWindow.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "NoteEditWindow.hpp" #include <sstream> #include <Style.hpp> #include <application-notes/ApplicationNotes.hpp> #include <module-apps/application-notes/windows/NotesOptions....
35.693642
115
0.618462
buk7456
3348e9dd50422a97d121ad49893be5116a238b07
7,862
cpp
C++
system-test/mxs2273_being_drained.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
1
2020-10-29T07:39:00.000Z
2020-10-29T07:39:00.000Z
system-test/mxs2273_being_drained.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
system-test/mxs2273_being_drained.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-10-14 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
30.122605
95
0.669295
2733284198
334e94b147d18fbf3731bc04d6fbef8d87b2ed47
9,717
cpp
C++
plugins/align/Align.cpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
1
2019-11-15T10:13:04.000Z
2019-11-15T10:13:04.000Z
plugins/align/Align.cpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
null
null
null
plugins/align/Align.cpp
TheChatty/FarManager
0a731ce0b6f9f48f10eb370240309bed48e38f11
[ "BSD-3-Clause" ]
null
null
null
#include <cwchar> #include <plugin.hpp> #include <PluginSettings.hpp> #include <DlgBuilder.hpp> #include "AlignLng.hpp" #include "version.hpp" #include <initguid.h> #include "guid.hpp" static struct PluginStartupInfo Info; static struct FarStandardFunctions FSF; static void ReformatBlock(int RightMargin,int SmartMode...
27.449153
109
0.674282
TheChatty
334f21fe910cd348d240931286b6b1a76c81dd01
11,295
cpp
C++
ext/restbed/source/corvusoft/restbed/request.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
146
2017-03-18T17:30:10.000Z
2022-01-24T04:45:48.000Z
ext/restbed/source/corvusoft/restbed/request.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
149
2017-03-01T23:48:45.000Z
2021-10-16T00:53:14.000Z
ext/restbed/source/corvusoft/restbed/request.cpp
jarole/openmonero
ab0aea352a56caa7fd5f503de2d7f552994469e0
[ "BSD-3-Clause" ]
172
2017-03-21T08:57:35.000Z
2022-03-23T12:27:01.000Z
/* * Copyright 2013-2017, Corvusoft Ltd, All Rights Reserved. */ //System Includes #include <utility> #include <ciso646> #include <algorithm> //Project Includes #include "corvusoft/restbed/uri.hpp" #include "corvusoft/restbed/string.hpp" #include "corvusoft/restbed/request.hpp" #include "corvusoft/restbed/response....
27.086331
122
0.573263
jarole
33512feb10d7aa9a3c460b639a751a25330aaa5c
5,217
cpp
C++
EU4toV2/Source/EU4World/Provinces/Provinces.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-10-03T16:01:28.000Z
2020-10-03T16:01:28.000Z
EU4toV2/Source/EU4World/Provinces/Provinces.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
EU4toV2/Source/EU4World/Provinces/Provinces.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
#include "Log.h" #include "Provinces.h" #include "ParserHelpers.h" #include <fstream> EU4::Provinces::Provinces(std::istream& theStream) { registerRegex("-[0-9]+", [this](const std::string& numberString, std::istream& theStream) { auto newProvince = std::make_shared<Province>(numberString, theStream); provinces....
36.482517
121
0.680659
GregB76
335493f64d799c65d85130b51e0a0d03249db55d
15,731
hpp
C++
src/cpu/x64/jit_avx512_core_f32_wino_conv_4x3.hpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
src/cpu/x64/jit_avx512_core_f32_wino_conv_4x3.hpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
583
2020-04-04T02:37:25.000Z
2022-03-31T00:12:03.000Z
src/cpu/x64/jit_avx512_core_f32_wino_conv_4x3.hpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2017-2021 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
40.439589
80
0.61846
JackAKirk
33575b3af53634d5eae261ee490c09d8770b8217
2,996
cpp
C++
src/Evolution/Systems/NewtonianEuler/Subcell/PrimsAfterRollback.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/Systems/NewtonianEuler/Subcell/PrimsAfterRollback.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/Systems/NewtonianEuler/Subcell/PrimsAfterRollback.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Evolution/Systems/NewtonianEuler/Subcell/PrimsAfterRollback.hpp" #include <algorithm> #include <cstddef> #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "DataStructures/Variables.hpp" #includ...
44.058824
79
0.68725
nilsvu
335c6b9feb0b63f85b7c5659be1a80739bb6b218
1,163
cpp
C++
src/AST/Expressions/LiteralExpression.cpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/LiteralExpression.cpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Expressions/LiteralExpression.cpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
#include "LiteralExpression.hpp" LiteralExpression::LiteralExpression(int x) : isChar(false), value(x) { } LiteralExpression::LiteralExpression(char c) : isChar(true), value(c) { } std::string escape(char c) { switch (c) { case '\n': return "\\n"; case '\t': return "\\t"; ...
21.943396
82
0.55374
CarsonFox
335cc73fa0735ca529e22aacc32b7dc12e85f8c3
4,802
cpp
C++
source/llassetgen/source/FontFinder.cpp
cginternals/openll-asset-generator
39d5a03e492dbdfc839eccb3502e5599bf73d29c
[ "MIT" ]
6
2018-07-30T09:41:50.000Z
2020-07-03T18:47:29.000Z
source/llassetgen/source/FontFinder.cpp
hpicgs/openll-asset-generator
39d5a03e492dbdfc839eccb3502e5599bf73d29c
[ "MIT" ]
42
2017-11-06T12:44:14.000Z
2018-06-21T14:37:39.000Z
source/llassetgen/source/FontFinder.cpp
hpicgs/openll-asset-generator
39d5a03e492dbdfc839eccb3502e5599bf73d29c
[ "MIT" ]
1
2018-10-19T23:19:25.000Z
2018-10-19T23:19:25.000Z
#if defined(__unix__) || defined(__APPLE__) #include <fontconfig/fontconfig.h> #elif _WIN32 #define NOMINMAX #include <windows.h> #include <wingdi.h> #endif #include <iostream> #include <llassetgen/FontFinder.h> namespace llassetgen { FontFinder FontFinder::fromPath(const std::string& fontPath) { FontFin...
34.3
132
0.573303
cginternals
335d2e4eb87a2c3bb177a210e9b2acf0bf4e7244
754
cpp
C++
AtCoder/con/166E.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
AtCoder/con/166E.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
AtCoder/con/166E.cpp
Satyabrat35/Programming
841ead1bf847b567d8e21963673413cbd65277f4
[ "Apache-2.0" ]
null
null
null
/**************erik****************/ #include<bits/stdc++.h> #include <cstdio> #include <iostream> #include <algorithm> using namespace std; typedef long long int ll; typedef unsigned long long int ull; //map<ll,ll> mp1; //set<int> s1; //set<int>::iterator it; #define maxm(a,b,c) max(a,max(c,b)) #define minm(a,b,c) ...
20.378378
56
0.498674
Satyabrat35
335e1114e67594336f9eae9a909c23d9d494a678
13,200
cpp
C++
editor/import/resource_importer_texture_atlas.cpp
N0hbdy/godot
d4a222cd9d849a63f0535f70cbf78700bc5c815b
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
5
2018-08-18T15:06:49.000Z
2021-12-12T10:16:09.000Z
editor/import/resource_importer_texture_atlas.cpp
N0hbdy/godot
d4a222cd9d849a63f0535f70cbf78700bc5c815b
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
18
2018-08-18T16:27:27.000Z
2021-12-12T13:31:33.000Z
editor/import/resource_importer_texture_atlas.cpp
N0hbdy/godot
d4a222cd9d849a63f0535f70cbf78700bc5c815b
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2020-08-13T18:03:24.000Z
2020-08-13T18:03:24.000Z
/*************************************************************************/ /* resource_importer_texture_atlas.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
31.961259
226
0.631439
N0hbdy
335e8b81779ae3d28b7c053ed0925a93f0e02830
6,335
cpp
C++
src/xtd.core/src/xtd/console.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
251
2019-04-20T02:02:24.000Z
2022-03-31T09:52:08.000Z
src/xtd.core/src/xtd/console.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
29
2021-01-07T12:52:12.000Z
2022-03-29T08:42:14.000Z
src/xtd.core/src/xtd/console.cpp
gammasoft71/xtd
09e589a9dd2cb292d1e54c9c4f803c2b3ad22102
[ "MIT" ]
27
2019-11-21T02:37:44.000Z
2022-03-30T22:59:14.000Z
#include <cstring> #include <iostream> #include <mutex> #include "../../include/xtd/console.h" #define __XTD_CORE_INTERNAL__ #include "../../include/xtd/internal/__generic_stream_output.h" #include "../../include/xtd/internal/__opaque_console.h" #undef __XTD_CORE_INTERNAL__ using namespace std; using namespace xtd; n...
22.385159
111
0.742541
gammasoft71
335f5ee5683b5704cd5d9b10a83b6772266903dc
390
cc
C++
ioctl_export.cc
NoHomey/nodejs-ioctl-example
f9a1fc3d5c64999ef4e29d9c486c856a0f61ab87
[ "MIT" ]
null
null
null
ioctl_export.cc
NoHomey/nodejs-ioctl-example
f9a1fc3d5c64999ef4e29d9c486c856a0f61ab87
[ "MIT" ]
1
2016-07-09T06:45:14.000Z
2016-07-09T07:02:25.000Z
ioctl_export.cc
NoHomey/nodejs-ioctl-example
f9a1fc3d5c64999ef4e29d9c486c856a0f61ab87
[ "MIT" ]
null
null
null
#define IOCTL_ENUM_TS #include "node_modules/ioctl-enum/ioctl-enum.h" #include "ioctl_example.h" IOCTL_ENUM("IOCTL_EXAMPLE"); IOCTL_ENUM_IOCTL("IOCTL_EXAMPLE_ADDITION", IOCTL_EXAMPLE_ADDITION); IOCTL_ENUM_IOCTL("IOCTL_EXAMPLE_SET", IOCTL_EXAMPLE_SET); IOCTL_ENUM_IOCTL("IOCTL_EXAMPLE_GET", IOCTL_EXAMPLE_GET); IOCTL_ENU...
35.454545
67
0.841026
NoHomey
335fc971bf96a3f7736878c4835c10e6edc80a1e
1,311
hpp
C++
include/hadoucan_util/Socketcan_IO_mgr.hpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
null
null
null
include/hadoucan_util/Socketcan_IO_mgr.hpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
3
2020-07-02T03:35:36.000Z
2020-07-06T18:49:31.000Z
include/hadoucan_util/Socketcan_IO_mgr.hpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
null
null
null
/** * @brief Socketcan_IO_mgr * @author Nicholas Schloss <nicholas.schloss@suburbanmarine.io> * @copyright Copyright (c) 2020 Suburban Marine, Inc. All rights reserved. * @license Licensed under the 3-Clause BSD license. See LICENSE for details */ #pragma once #include "hadoucan_util/lin_can_helper.hpp" #include <...
25.211538
76
0.760488
suburbanembedded
3360164eefe144c30a8ed740fd1a8fab9bd081d3
1,053
cpp
C++
2018/2018061701/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2018/2018061701/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2018/2018061701/main.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
#pragma comment(lib, "windowsapp") #include <CoreWindow.h> #include <Windows.h> #include <winrt/Windows.ApplicationModel.Core.h> #include <winrt/Windows.UI.Core.h> using namespace winrt; using namespace Windows::ApplicationModel::Core; using namespace Windows::UI::Core; class App : public implements<App, IFrameworkV...
26.325
74
0.738841
maku693
3361ad0186398b6ad48da4ac9b592ea1f61ddc2f
4,218
cc
C++
shell/browser/ui/devtools_ui.cc
jdwalker/electron
69be9fa798dbb8d49a6550cdb287be900db13ac1
[ "MIT" ]
16
2020-11-08T21:58:19.000Z
2022-03-23T20:11:13.000Z
shell/browser/ui/devtools_ui.cc
jdwalker/electron
69be9fa798dbb8d49a6550cdb287be900db13ac1
[ "MIT" ]
8
2018-11-01T05:35:53.000Z
2019-05-24T03:44:24.000Z
shell/browser/ui/devtools_ui.cc
ColleenKeegan/electron
f3dc3997b10fd79439ad22ff5973b3d3541d8e9d
[ "MIT" ]
5
2020-12-14T23:25:47.000Z
2021-08-12T02:31:25.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. #include "shell/browser/ui/devtools_ui.h" #include <memory> #include <string> #include <utility> #include "base/memory/ref_counted_memory.h...
35.15
80
0.667615
jdwalker
33633b1599226af872994fbf7cbeee8a6afbccda
6,669
hpp
C++
include/UnityEngine/ProBuilder/TransformUtility.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/ProBuilder/TransformUtility.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/ProBuilder/TransformUtility.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin f...
61.183486
237
0.750637
marksteward
336d69cda514bb688a2a52554e1cab62b8471997
3,211
cpp
C++
VC2010Samples/MFC/general/diblook/mainfrm.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/general/diblook/mainfrm.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/general/diblook/mainfrm.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// mainfrm.cpp : implementation of the CMainFrame class // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic d...
24.142857
77
0.669885
alonmm
336e46a16728c8247440a2c37d5b5ea6ac027fed
474
cpp
C++
amr_gui/src/main.cpp
JakubHazik/amr_fleet
378f424c6e7907a903aafdf3561d8602aa07b206
[ "BSD-3-Clause" ]
5
2021-05-29T06:18:29.000Z
2022-03-17T08:35:47.000Z
amr_gui/src/main.cpp
JakubHazik/amr_fleet
378f424c6e7907a903aafdf3561d8602aa07b206
[ "BSD-3-Clause" ]
2
2021-06-21T03:49:01.000Z
2021-12-11T18:19:57.000Z
amr_gui/src/main.cpp
JakubHazik/amr_fleet
378f424c6e7907a903aafdf3561d8602aa07b206
[ "BSD-3-Clause" ]
5
2020-08-24T17:34:38.000Z
2021-09-07T12:51:57.000Z
// // Created by jakub on 22. 3. 2020. // #include <QtGui> #include <QApplication> #include <amr_gui/MainWindow.h> #include <ros/ros.h> #include <csignal> int main(int argc, char **argv) { ros::init(argc, argv, "mrvk_gui"); QApplication app(argc, argv); MainWindow w(argc, argv); w.show(); ros::...
18.96
71
0.647679
JakubHazik
33708d200f05770c521c0e86ea51713ca99ac4f3
13,505
cpp
C++
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/variant/test/const_ref_apply_visitor.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/variant/test/const_ref_apply_visitor.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/variant/test/const_ref_apply_visitor.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
1
2019-03-08T11:06:22.000Z
2019-03-08T11:06:22.000Z
// Copyright (c) 2017 Levon Tarakchyan // // 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 "boost/config.hpp" #include "boost/test/minimal.hpp" #include "boost/variant.hpp" #include "boost/var...
38.042254
253
0.672788
yinhangfeng
3375472b0d0716ece25695b896ab81144439bbe2
430
cpp
C++
src/Qt5Core/QUrl.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
src/Qt5Core/QUrl.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
src/Qt5Core/QUrl.cpp
NPS-TECH/luacxx
e5ba2a1be7c54538a0d8ee86c875f05b015b0990
[ "MIT" ]
null
null
null
#include "QUrl.hpp" #include "../convert/callable.hpp" #include "../thread.hpp" // http://qt-project.org/doc/qt-5/qurl.html void lua::QUrl_metatable(const lua::index& mt) { } int QUrl_new(lua_State* const state) { return 1; } int luaopen_Qt5Core_QUrl(lua_State* const state) { lua::thread env(state); e...
15.925926
48
0.637209
NPS-TECH
3378371605ee8f20a89107eb5698eaf41ce56ec9
1,194
cc
C++
src/comm/sockbind.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
3
2021-08-18T09:59:42.000Z
2021-09-07T03:11:28.000Z
src/comm/sockbind.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
src/comm/sockbind.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
#include <netinet/tcp.h> #include "sockaddr.h" #include "log.h" int SockBind (const CSocketAddress *addr, int backlog, int rbufsz, int wbufsz, int reuse, int nodelay, int defer_accept) { int netfd; if((netfd = addr->CreateSocket ()) == -1) { log_error("%s: make socket error, %m", addr->Name()); return -1; } ...
26.533333
120
0.665829
jdisearch
337857d9e7ffcab1203357818ca7f6f148c9475c
9,876
cpp
C++
src/appleseed/renderer/kernel/rendering/generic/genericsamplegenerator.cpp
Chargnn/appleseed
81ee2da5cec47f8fb85bd3c2470256de9c9ad146
[ "MIT" ]
null
null
null
src/appleseed/renderer/kernel/rendering/generic/genericsamplegenerator.cpp
Chargnn/appleseed
81ee2da5cec47f8fb85bd3c2470256de9c9ad146
[ "MIT" ]
null
null
null
src/appleseed/renderer/kernel/rendering/generic/genericsamplegenerator.cpp
Chargnn/appleseed
81ee2da5cec47f8fb85bd3c2470256de9c9ad146
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization //...
36.577778
100
0.632645
Chargnn
337a4e0191418d40c69be43eb1a484b7f3730ddc
252
cpp
C++
src/domain/hashes/SHA3_256Hash.cpp
bartkessels/HashGenerator
4e8cfca5b4e3445475155285f98698ce8d4c1945
[ "MIT" ]
null
null
null
src/domain/hashes/SHA3_256Hash.cpp
bartkessels/HashGenerator
4e8cfca5b4e3445475155285f98698ce8d4c1945
[ "MIT" ]
null
null
null
src/domain/hashes/SHA3_256Hash.cpp
bartkessels/HashGenerator
4e8cfca5b4e3445475155285f98698ce8d4c1945
[ "MIT" ]
1
2020-05-26T18:07:12.000Z
2020-05-26T18:07:12.000Z
#include "domain/hashes/SHA3_256Hash.hpp" using namespace hashgen::domain::hashes; std::string SHA3_256Hash::hash(const std::string& data) { return QCryptographicHash::hash(data.c_str(), algorithm) .toHex() .constData(); }
25.2
60
0.674603
bartkessels
337e73e57515cae2a40702ccce526e7ea0a72227
900
cpp
C++
Easy/Buddy Strings.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Easy/Buddy Strings.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Easy/Buddy Strings.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
4
2020-11-30T04:38:58.000Z
2021-10-05T15:25:38.000Z
class Solution { public: bool buddyStrings(string A, string B) { int prob=-1; bool swapDone = false; map<char, int> freq; if(A.length() != B.length()) return false; for(int i=0; i<A.length(); i++) { freq[A[i]]++; ...
25
71
0.34
hunt-s7
33804a306e38bfa445f6cb1b88b901bd066a986f
5,996
cpp
C++
src/cunmtr_gpu.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
4
2020-12-04T13:31:18.000Z
2021-12-10T11:41:23.000Z
src/cunmtr_gpu.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
1
2021-03-27T20:00:25.000Z
2021-03-28T06:19:59.000Z
src/cunmtr_gpu.cpp
klast/magma
cfb849621be6f697288e995831ec3c9e84530d9d
[ "BSD-3-Clause" ]
2
2020-12-04T13:23:36.000Z
2021-03-27T00:50:27.000Z
/* -- MAGMA (version 2.5.4) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date October 2020 @author Raffaele Solca @author Stan Tomov @generated from src/zunmtr_gpu.cpp, normal z -> c, Thu Oct 8 23:05:27 2020 */ #includ...
30.282828
84
0.495163
klast
3380e5ecb74e74836d20fce5d5e3932b09cb403b
11,245
cpp
C++
Lumos/Source/Lumos/Graphics/Renderers/LineRenderer.cpp
full-dev1010/C-2D-3D-game-engine
f5e6a2b4d938386e2886e22a9a7aad52a22086ad
[ "MIT" ]
1
2021-10-04T07:19:27.000Z
2021-10-04T07:19:27.000Z
Lumos/Source/Lumos/Graphics/Renderers/LineRenderer.cpp
full-dev1010/C-2D-3D-game-engine
f5e6a2b4d938386e2886e22a9a7aad52a22086ad
[ "MIT" ]
null
null
null
Lumos/Source/Lumos/Graphics/Renderers/LineRenderer.cpp
full-dev1010/C-2D-3D-game-engine
f5e6a2b4d938386e2886e22a9a7aad52a22086ad
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "LineRenderer.h" #include "Core/OS/Window.h" #include "Graphics/RHI/Shader.h" #include "Graphics/RHI/Framebuffer.h" #include "Graphics/RHI/UniformBuffer.h" #include "Graphics/RHI/Renderer.h" #include "Graphics/RHI/CommandBuffer.h" #include "Graphics/RHI/Swapchain.h" #include "Graphics/...
30.147453
213
0.6498
full-dev1010
338121fecc54ba2e9876b3d834f8622f6114c010
10,043
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcReinforcingBarType.cpp
zxc6419/ifcplusplus
c3af73b5f33582e8fce8ea797193177e01cb3404
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcReinforcingBarType.cpp
zxc6419/ifcplusplus
c3af73b5f33582e8fce8ea797193177e01cb3404
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcReinforcingBarType.cpp
zxc6419/ifcplusplus
c3af73b5f33582e8fce8ea797193177e01cb3404
[ "MIT" ]
null
null
null
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h" #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include...
53.137566
241
0.735836
zxc6419
33822ee57f20cb56a49ab26acc530053aff744fc
14,325
cc
C++
test/syscalls/linux/partial_bad_buffer.cc
zhangningdlut/gvisor
a2956163267e253f614dd2d6d8151614b9b0dc77
[ "Apache-2.0" ]
1
2019-12-20T13:47:52.000Z
2019-12-20T13:47:52.000Z
test/syscalls/linux/partial_bad_buffer.cc
zhangningdlut/gvisor
a2956163267e253f614dd2d6d8151614b9b0dc77
[ "Apache-2.0" ]
null
null
null
test/syscalls/linux/partial_bad_buffer.cc
zhangningdlut/gvisor
a2956163267e253f614dd2d6d8151614b9b0dc77
[ "Apache-2.0" ]
2
2018-09-16T21:15:29.000Z
2020-05-12T15:12:50.000Z
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
34.435096
80
0.707923
zhangningdlut
3382743267d3ad2f4eb36c3836ada6e23bb0b213
1,390
cpp
C++
src/Backends/Rendering/Window/Software/3DS.cpp
unilock/CSE2
9d43e12e1ce991dd9325bb1bf706d0f79dacdf75
[ "MIT" ]
null
null
null
src/Backends/Rendering/Window/Software/3DS.cpp
unilock/CSE2
9d43e12e1ce991dd9325bb1bf706d0f79dacdf75
[ "MIT" ]
null
null
null
src/Backends/Rendering/Window/Software/3DS.cpp
unilock/CSE2
9d43e12e1ce991dd9325bb1bf706d0f79dacdf75
[ "MIT" ]
null
null
null
// Released under the MIT licence. // See LICENCE.txt for details. #include "../Software.h" #include <stddef.h> #include <stdlib.h> #include <string.h> #include <3ds.h> static unsigned char *framebuffer; static size_t framebuffer_pitch; static size_t framebuffer_width; static size_t framebuffer_height; bool Window...
21.384615
154
0.77482
unilock
3383ed9bfc2994b29428529b8c6eb527ea67a434
4,051
cpp
C++
src/AppInstallerCLITests/TestCommon.cpp
Riszin-LLC/winget-cli
0db0d7f9e5eb598b5ef51dab67d680c3a14126a7
[ "MIT" ]
3
2020-05-19T17:10:32.000Z
2020-07-21T14:13:13.000Z
src/AppInstallerCLITests/TestCommon.cpp
Riszin-LLC/winget-cli
0db0d7f9e5eb598b5ef51dab67d680c3a14126a7
[ "MIT" ]
1
2020-06-04T22:46:28.000Z
2020-06-04T22:46:28.000Z
src/AppInstallerCLITests/TestCommon.cpp
Riszin-LLC/winget-cli
0db0d7f9e5eb598b5ef51dab67d680c3a14126a7
[ "MIT" ]
1
2020-07-07T16:02:02.000Z
2020-07-07T16:02:02.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "TestCommon.h" namespace TestCommon { namespace { int initRand() { srand(static_cast<unsigned int>(time(NULL))); return rand(); }; inline ...
27.746575
122
0.56159
Riszin-LLC
3384b83d42ecb2755314f1159dcf86af5ec059cb
1,288
cpp
C++
2240/3445049_AC_110MS_316K.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
21
2015-05-26T10:18:12.000Z
2021-06-01T09:39:47.000Z
2240/3445049_AC_110MS_316K.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
null
null
null
2240/3445049_AC_110MS_316K.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
8
2015-09-30T08:41:15.000Z
2020-03-11T03:49:42.000Z
#include<iostream> #include<string> using namespace std; #define MAXN 50 bool ben; string s; int i,j,k,n,m,test; double t; string curname[MAXN]; double w[MAXN][MAXN]; double dis[MAXN][MAXN]; int Find(string s) { int i; for(i=0;i<n;++i) { if(curname[i]==s) { return i; } } return 0; } int main() { //fre...
12.037383
66
0.429348
twilightgod
3384c62d5ae7bcc34da441862a73ce37361d8f38
3,832
cpp
C++
src/mapsearchnode.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
src/mapsearchnode.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
src/mapsearchnode.cpp
RCP1/evidence-navigation
e2a0e71537bf5b81bbd89855c71ea767bde4ca00
[ "MIT" ]
null
null
null
// STL A* Search implementation // (C)2001 Justin Heyes-Jones // Changed by Robin Petereit #include "mapsearchnode.h" using namespace std; MapSearchNode::MapSearchNode() { x = y = 0; } MapSearchNode::MapSearchNode(GridMap* gridMap) : gridMap_(gridMap) { x = y = 0; } MapSearchNode::MapSearchNode(GridMap*...
20.602151
105
0.598643
RCP1
3386f9aa1ce49678167c9c2f17242bccd873de89
18,299
cpp
C++
glovehttpcommon.cpp
Alvertoo/api_planning
02b8beb2e523c6f4b99cd6a5e60c5673af9765eb
[ "MIT" ]
14
2016-01-30T10:05:18.000Z
2021-03-24T08:08:41.000Z
glovehttpcommon.cpp
aepalmaq/prueba
84abe28ad7a8a9c4af7351b93c20a102b729c518
[ "MIT" ]
1
2017-02-24T11:18:05.000Z
2017-02-24T12:56:32.000Z
glovehttpcommon.cpp
aepalmaq/prueba
84abe28ad7a8a9c4af7351b93c20a102b729c518
[ "MIT" ]
2
2015-12-09T10:39:11.000Z
2021-03-24T07:57:25.000Z
#include "glovehttpcommon.hpp" #include "utils.hpp" #define AddGloveHttpResponse(response, text, description) \ {response, {text, description} } const short GloveHttpResponseCode::CONTINUE = 100; const short GloveHttpResponseCode::SWITCH_PROTOCOLS = 101; const short GloveHttpResponseCode::PROCESSING = 102; // ...
87.975962
322
0.756708
Alvertoo
338c79ed45224eec38b83d7ab6c86a6a59ae70f7
7,157
cpp
C++
3rdparty/foo_SDK/foobar2000/helpers/input_helper_cue.cpp
dinfinity/foo_openlyrics
cf42d61ce172f374b76140b5922f7eae1aef33b3
[ "MIT" ]
294
2017-11-20T17:42:08.000Z
2022-03-31T04:15:13.000Z
3rdparty/foo_SDK/foobar2000/helpers/input_helper_cue.cpp
dinfinity/foo_openlyrics
cf42d61ce172f374b76140b5922f7eae1aef33b3
[ "MIT" ]
108
2021-04-08T10:57:27.000Z
2022-03-27T08:02:15.000Z
dist/sdk/foobar2000/helpers/input_helper_cue.cpp
ttsping/foo_flowin
73b7f2f87f54e793a77ac09facc15939db576c5a
[ "MIT" ]
14
2018-03-10T12:47:03.000Z
2021-11-11T09:00:08.000Z
#include "stdafx.h" #include "input_helper_cue.h" #include "../SDK/mem_block_container.h" namespace { class input_dec_binary : public input_decoder_v2 { enum { m_rate = 44100, m_bps = 16, m_channels = 2, m_channelMask = audio_chunk::channel_config_stereo, m_sampleBytes = (m_bps/8)*m_chan...
32.238739
185
0.699315
dinfinity
338c86407d36e3b0c4624b2e52eccd51c6294753
2,930
hpp
C++
lib/assembly/scattered_range.hpp
nicolas-chaulet/bempp
0f5cc72e0e542437e787db5704978456b0ad9e35
[ "BSL-1.0" ]
2
2021-07-22T13:34:28.000Z
2021-07-22T13:35:20.000Z
lib/assembly/scattered_range.hpp
UCL/bempp
f768ec7d319c02d6e0142512fb61db0607cadf10
[ "BSL-1.0" ]
null
null
null
lib/assembly/scattered_range.hpp
UCL/bempp
f768ec7d319c02d6e0142512fb61db0607cadf10
[ "BSL-1.0" ]
1
2021-05-17T09:46:44.000Z
2021-05-17T09:46:44.000Z
// Copyright (C) 2011-2012 by the BEM++ Authors // // 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, mer...
26.880734
80
0.64198
nicolas-chaulet
338dfd3d1560d289864a6fd961e351cdc7d38e9e
319
cpp
C++
jumping-into-c++/ch20/practice1.cpp
kunwarSangramSingh/cppinaction
090111ca658df8ea3ec15867c42033a69b256b6b
[ "MIT" ]
null
null
null
jumping-into-c++/ch20/practice1.cpp
kunwarSangramSingh/cppinaction
090111ca658df8ea3ec15867c42033a69b256b6b
[ "MIT" ]
null
null
null
jumping-into-c++/ch20/practice1.cpp
kunwarSangramSingh/cppinaction
090111ca658df8ea3ec15867c42033a69b256b6b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int exponent (int base, int exp) { int running_value; for ( int i = 0; i < exp; i++ ) { running_value *= base; } return base; } int main() { int base; int exp; cout << "Enter a base value: "; cin >> base; cout << "Enter an exponent: "; exponent( exp, base ); }
12.76
32
0.601881
kunwarSangramSingh
338ea1311f29569947797ae06249e2ac4d6ad14f
36,767
cxx
C++
MITK/Modules/NVidiaSDIDataSourceService/Internal/niftkNVidiaSDIDataSourceService.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Modules/NVidiaSDIDataSourceService/Internal/niftkNVidiaSDIDataSourceService.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Modules/NVidiaSDIDataSourceService/Internal/niftkNVidiaSDIDataSourceService.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
34.106679
174
0.61237
NifTK
33916b2c592788d6baae5aad950b4df3d42480e4
3,845
hh
C++
archive/CommunicationStuff.hh
WEMarsSoftware/drive_arm
90328dead51a32762b5d36007a6943e14b1c2fb9
[ "MIT" ]
3
2018-10-15T16:06:04.000Z
2019-08-08T17:46:29.000Z
archive/CommunicationStuff.hh
WEMarsSoftware/drive_arm
90328dead51a32762b5d36007a6943e14b1c2fb9
[ "MIT" ]
4
2018-11-30T15:18:10.000Z
2019-02-22T03:11:38.000Z
archive/CommunicationStuff.hh
WEMarsSoftware/drive_code
0ffc4297590f337beaeb7822fe2d45439b3319fa
[ "MIT" ]
null
null
null
// CommunicationStuff.hh #ifndef COMMUNICATION_STUFF #define COMMUNICATION_STUFF #include "Arduino.h" #include <WiFi.h> #include "ESPAsyncWebServer.h" #include "Electrical.hh" #include "ReadSensors.hh" // INFO FOR LOCAL ROUTER char* ssid = "WE MARS Rover"; const char* password = "westillfirst"; // COMMUNICATION CON...
31.008065
94
0.572692
WEMarsSoftware
3393fd055c9bf6dfb0240e0119457978c1b0cd13
22,131
hpp
C++
heart/test/ionicmodels/TestPyCml.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/test/ionicmodels/TestPyCml.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/test/ionicmodels/TestPyCml.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2018, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
43.650888
180
0.67114
DGermano8
339886340e318474769658c622baf8b099cb6552
105,726
cpp
C++
ortc/cpp/ortc_SCTPTransport.cpp
dialpad/ortclib-cpp
70cbde2fc193a778076e64728d3422ccb0801e96
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ortc/cpp/ortc_SCTPTransport.cpp
dialpad/ortclib-cpp
70cbde2fc193a778076e64728d3422ccb0801e96
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ortc/cpp/ortc_SCTPTransport.cpp
dialpad/ortclib-cpp
70cbde2fc193a778076e64728d3422ccb0801e96
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2015, Hookflash Inc. / Hookflash Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
38.884149
350
0.521925
dialpad
339ab1b9380579c0f66b548c2261cc18f3a3ee78
404
cpp
C++
Lab_exercise/lab7/ex1/main.cpp
Aries-Dawn/Cpp-Program-Design
9d4fc9a902fff2f76e41314f5d6c52871d30a511
[ "MIT" ]
null
null
null
Lab_exercise/lab7/ex1/main.cpp
Aries-Dawn/Cpp-Program-Design
9d4fc9a902fff2f76e41314f5d6c52871d30a511
[ "MIT" ]
null
null
null
Lab_exercise/lab7/ex1/main.cpp
Aries-Dawn/Cpp-Program-Design
9d4fc9a902fff2f76e41314f5d6c52871d30a511
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void displaySquare(int side=4, char filledCharacter='*'); int main(){ displaySquare(); cout<<"-------------"<<endl; displaySquare(6,'#'); } void displaySquare(int side, char filledCharacter){ for(int i = 0;i < side;i++){ for (int j = 0; j < side; j++)...
19.238095
57
0.534653
Aries-Dawn
339ecd9fdb498018158d892602732a7edd3f6c94
446
hpp
C++
src/color/hsl/akin/xyy.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/hsl/akin/xyy.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/hsl/akin/xyy.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_hsl_akin_xyy #define color_hsl_akin_xyy #include "../../generic/akin/hsl.hpp" #include "../category.hpp" #include "../../xyy/category.hpp" namespace color { namespace akin { template < typename tag_name > struct hsl< ::color::category::xyy< tag_name >...
15.37931
63
0.55157
3l0w
339fc3b2021f27860b64e84a6f72eddf4c437a3d
6,253
cxx
C++
resip/recon/MOHParkServer/ParkOrbit.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/recon/MOHParkServer/ParkOrbit.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/recon/MOHParkServer/ParkOrbit.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include "../UserAgent.hxx" #include "AppSubsystem.hxx" #include "ParkOrbit.hxx" #include "Server.hxx" #include <rutil/Log.hxx> #include <rutil/Logger.hxx> #include <rutil/WinLeakCheck.hxx> using namespace recon; using namespace resip; using namespace std; #define RESIPROCATE_SUBSYSTEM AppSubsystem::MOHPARKSERVER #d...
39.575949
214
0.695186
dulton
33a07b05f8462d8f6a7c98981af299a95f0855b4
1,822
hpp
C++
src/Settings.hpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
1
2020-08-17T21:02:30.000Z
2020-08-17T21:02:30.000Z
src/Settings.hpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
null
null
null
src/Settings.hpp
user030276/shiromino
09a2659810774fb226971557111960ed2fc1871b
[ "CC-BY-4.0", "MIT" ]
null
null
null
#pragma once #include <string> #include "Config.hpp" #include "Path.hpp" #include "PDINI.hpp" #include "SDL.h" namespace Shiro { class KeyBinds { public: KeyBinds(); KeyBinds(const int playerNum); bool read(PDINI::INI& ini, const std::string sectionName); SDL_Keycode left; ...
18.40404
66
0.51427
user030276
33a2692cb43832d94b0c9ba94a4799ead6f98f5d
6,207
cpp
C++
source/Irrlicht/CGUISpriteBank.cpp
hyyh619/irrlicht-1.8.3
74eb8b3fd94698c4175ab6a956bfd0b0299d1772
[ "X11", "IJG" ]
1
2018-01-31T06:26:30.000Z
2018-01-31T06:26:30.000Z
source/Irrlicht/CGUISpriteBank.cpp
hyyh619/irrlicht-1.8.3
74eb8b3fd94698c4175ab6a956bfd0b0299d1772
[ "X11", "IJG" ]
null
null
null
source/Irrlicht/CGUISpriteBank.cpp
hyyh619/irrlicht-1.8.3
74eb8b3fd94698c4175ab6a956bfd0b0299d1772
[ "X11", "IJG" ]
null
null
null
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "CGUISpriteBank.h" #ifdef _IRR_COMPILE_WITH_GUI_ #include "IGUIEnvironment.h" #include "IVideoDriver.h" #include "ITexture.h" namespace ir...
24.729084
118
0.588207
hyyh619
33a2f5b1f7c840980837115271ae3667e88ecf99
11,644
cpp
C++
src/stampPluginsHandler.cpp
diversys/StampTV
2e56f35d8844188b0448065b04157acc3d2cc34b
[ "BSD-3-Clause" ]
null
null
null
src/stampPluginsHandler.cpp
diversys/StampTV
2e56f35d8844188b0448065b04157acc3d2cc34b
[ "BSD-3-Clause" ]
null
null
null
src/stampPluginsHandler.cpp
diversys/StampTV
2e56f35d8844188b0448065b04157acc3d2cc34b
[ "BSD-3-Clause" ]
null
null
null
/* stampPluginsHandler.cpp © 2001, Georges-Edouard Berenger, All Rights Reserved. See the StampTV Video Plugin License for usage restrictions. Here happens all what concerns interraction between the host application and the plugins handler engine. Implementation which requires detailled knowledge on plugins is...
28.821782
161
0.674253
diversys
33a8c33221148c17d073f475ef7f48b46e886b93
2,629
cpp
C++
2020-11-13/light.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-13/light.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-13/light.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> using namespace std; const int inf=0x3fff3fff; char mtx[10][10]; int n, m, k; int di[] = {1, -1, 0, 0}; int dj[] = {0, 0, 1, -1}; int count_lamps() { int c=0; for(int i=1; i<=n; ++i) for(int j=1; j<=m; ++j) if (mtx[i][j]=='*') ++c; return ...
21.373984
62
0.457588
pufe
33a9294644592f910c10202b735a3d60da8d96db
1,121
hpp
C++
Section 3.5/Exercise354/Exercise354/Circle.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
1
2021-11-05T08:14:37.000Z
2021-11-05T08:14:37.000Z
Section 3.5/Exercise354/Exercise354/Circle.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
Section 3.5/Exercise354/Exercise354/Circle.hpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
// Exercise 3.5.4 - Abstract Functions // // by Scott Sidoli // // 5-17-19 // // Circle.hpp // // Circle Class. #ifndef Circle_hpp #define Circle_hpp #include "Point.hpp" namespace ssidoli { namespace CAD { class Circle; // Global function outside of class for Ostream << operator ost...
19
65
0.639607
scottsidoli
33a9425939c92c00fdcc6abae5f1bff8ba47f916
2,702
hpp
C++
GD4GameWorld/Include/Book/Entity/Character.hpp
Alex-Jay/2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
1
2018-12-18T12:00:57.000Z
2018-12-18T12:00:57.000Z
GD4GameWorld/Include/Book/Entity/Character.hpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
GD4GameWorld/Include/Book/Entity/Character.hpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
#pragma once #include "Entity/Entity.hpp" #include "Structural/ResourceIdentifiers.hpp" #include "Command/Command.hpp" #include "Entity/Projectile.hpp" #include "Node/TextNode.hpp" #include "Node/ShapeNode.hpp" #include "Animation/Animation.hpp" #include "SFML/Graphics/Sprite.hpp" class Character : public Entity { pu...
24.788991
101
0.774981
Alex-Jay
33ae0700770d81defe28f74c03cd821d5022a5fa
3,690
cpp
C++
src/test/unit/unit_multiple_apis.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
1,142
2016-10-01T07:09:37.000Z
2022-03-29T18:33:22.000Z
src/test/unit/unit_multiple_apis.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
135
2019-01-10T07:17:32.000Z
2022-03-31T19:05:54.000Z
src/test/unit/unit_multiple_apis.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
128
2017-04-28T07:28:36.000Z
2022-03-25T08:15:19.000Z
#include <robin_hood.h> #include <app/CtorDtorVerifier.h> #include <app/doctest.h> #include <app/randomseed.h> #include <app/sfc64.h> #include <unordered_map> #include <utility> TYPE_TO_STRING(robin_hood::unordered_flat_map<CtorDtorVerifier, CtorDtorVerifier>); TYPE_TO_STRING(robin_hood::unordered_node_map<CtorDtorV...
34.166667
88
0.584011
johnzupin
33bb0786c941ffb1c21b04a23f8b1e77421eaa32
2,883
cpp
C++
src/geometry/Geometry.cpp
Owlinated/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
1
2022-01-05T18:37:47.000Z
2022-01-05T18:37:47.000Z
src/geometry/Geometry.cpp
flostellbrink/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
null
null
null
src/geometry/Geometry.cpp
flostellbrink/Chess
0a4e7d02bca1af6423ed88ed780b8fb0cae1ccb8
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include "Geometry.h" #include <glm/glm.hpp> #include "src/objects/ObjectManager.h" Geometry::Geometry() : vertex_array_object_() { } Geometry::~Geometry() { if (vertex_array_object_) { glDeleteVertexArrays(1, &vertex_array_object_); } } void Geometry::Recreate() { BeforeCreate(); ...
26.694444
113
0.736386
Owlinated
33bc688919aec7ccc0453c6745b02c7f63399129
35,220
cpp
C++
src/os/private/arch/x86/arch_cpu.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/os/private/arch/x86/arch_cpu.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/os/private/arch/x86/arch_cpu.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* * Copyright 2002-2010, Axel Dörfler, axeld@pinc-software.de. * Copyright 2013, Paweł Dziepak, pdziepak@quarnos.org. * Copyright 2012, Alex Smith, alex@alex-smith.me.uk. * Distributed under the terms of the MIT License. * * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. * Distributed under the ...
28.243785
78
0.730636
stasinek
33c0ff1c0169b4368696e67982d89693f378ee05
28,690
cpp
C++
test-suite/margrabeoption.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
1
2020-07-30T17:51:09.000Z
2020-07-30T17:51:09.000Z
test-suite/margrabeoption.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
19
2020-11-23T08:36:10.000Z
2022-03-28T10:06:53.000Z
test-suite/margrabeoption.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
5
2020-06-04T15:19:22.000Z
2020-06-18T08:24:37.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2010 Master IMAFA - Polytech'Nice Sophia - Université de Nice Sophia Antipolis This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org...
46.726384
127
0.504531
urgu00
33c57f28f2823aeb5c412e0ebd883ba8499fbd25
1,864
cpp
C++
Chapter13/code/Bullet.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
77
2019-12-18T12:34:23.000Z
2022-03-10T08:44:59.000Z
Chapter13/code/Bullet.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
1
2020-10-19T08:12:05.000Z
2020-10-19T09:36:37.000Z
Chapter13/code/Bullet.cpp
Gerraleslie/Beginning-C-game-programming-learn-to-program-with-C-by-building-fun-games
3bfdc3ce64850c43a1362688d990135ad8a8dee7
[ "MIT" ]
47
2019-11-25T15:18:08.000Z
2022-03-26T21:56:35.000Z
#include "bullet.h" // The constructor Bullet::Bullet() { m_BulletShape.setSize(sf::Vector2f(2, 2)); } void Bullet::shoot(float startX, float startY, float targetX, float targetY) { // Keep track of the bullet m_InFlight = true; m_Position.x = startX; m_Position.y = startY; // Calculate the gradient of the f...
19.020408
58
0.70118
Gerraleslie
33c74e53c5bc32a33938eb118a18c45b30f52623
3,213
hpp
C++
rmf_task/include/rmf_task/requests/Loop.hpp
CLOBOT-Co-Ltd/rmf_task
274dac7a20e58f109097e42758bcda77b952ffc7
[ "Apache-2.0" ]
3
2021-10-19T20:55:41.000Z
2022-03-02T12:28:25.000Z
rmf_task/include/rmf_task/requests/Loop.hpp
CLOBOT-Co-Ltd/rmf_task
274dac7a20e58f109097e42758bcda77b952ffc7
[ "Apache-2.0" ]
44
2021-03-24T04:38:12.000Z
2022-03-09T08:52:52.000Z
rmf_task/include/rmf_task/requests/Loop.hpp
CLOBOT-Co-Ltd/rmf_task
274dac7a20e58f109097e42758bcda77b952ffc7
[ "Apache-2.0" ]
7
2021-05-21T06:56:20.000Z
2022-02-14T08:58:09.000Z
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
27.228814
80
0.690943
CLOBOT-Co-Ltd
33c8a09cd87bf820b4d91e7e5178700ad2a6a0e2
6,837
cpp
C++
src/TOCFile.cpp
taerin-markman/swg-song-score
6b1df3bf9571b9b1866b4e5835fb7a54833951d2
[ "MIT" ]
1
2020-12-06T08:03:28.000Z
2020-12-06T08:03:28.000Z
src/TOCFile.cpp
taerin-markman/swg-song-score
6b1df3bf9571b9b1866b4e5835fb7a54833951d2
[ "MIT" ]
null
null
null
src/TOCFile.cpp
taerin-markman/swg-song-score
6b1df3bf9571b9b1866b4e5835fb7a54833951d2
[ "MIT" ]
null
null
null
#include "stdafx.h" /* Windows API */ #include <stdio.h> #include "Debug.h" #include "TOCFile.h" #pragma pack(push,1) typedef struct { char fourcc[4]; char version[4]; DWORD32 dunno1; // 0 DWORD32 dataCount; DWORD32 dataSize; DWORD32 dunno2; // same as res_chunk_size DWORD32 nam...
25.322222
334
0.599532
taerin-markman
33c9723179cb609850472269739e984f65ae8e9d
3,253
cpp
C++
Chapter/08_Device/FileSystem/ObjMan.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
1
2021-05-09T01:24:05.000Z
2021-05-09T01:24:05.000Z
Chapter/15_AdvancedDebugging/FileSystem/ObjMan.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
Chapter/15_AdvancedDebugging/FileSystem/ObjMan.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
#include "ObjMan.h" #include "windef.h" #include "SysInfo.h" #include "ACEList.h" #include "string.h" struct _ListNode * sysObjects = NULL; struct _ListNode * sysWaitForObjects = NULL; LPOBJECT CreateObject(char * szName, PVOID lpData) { LPOBJECT lpObj; lpObj = new OBJECT; if ( lpObj == NULL ) ...
27.567797
126
0.575469
arkiny
33cd1d99fd134ae3deb5c0f7313e0e62f567f90e
7,164
cpp
C++
src/model/cardlistmodel.cpp
Kormil/pokefish
8d153b676c1bda6869526eb67429762fc4e48fda
[ "BSD-3-Clause" ]
null
null
null
src/model/cardlistmodel.cpp
Kormil/pokefish
8d153b676c1bda6869526eb67429762fc4e48fda
[ "BSD-3-Clause" ]
null
null
null
src/model/cardlistmodel.cpp
Kormil/pokefish
8d153b676c1bda6869526eb67429762fc4e48fda
[ "BSD-3-Clause" ]
null
null
null
#include "cardlistmodel.h" #include <QtQml> CardListProxyModel::CardListProxyModel(QObject *parent) : QSortFilterProxyModel(parent) { } bool CardListProxyModel::lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const { if (!m_sorting) { return false; } if (!source_righ...
23.721854
104
0.615578
Kormil
33cec162933b612a1b278058c728b6e8127bf9fd
15,824
cpp
C++
libs/numeric/mtl/test/matrix_product_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
libs/numeric/mtl/test/matrix_product_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
libs/numeric/mtl/test/matrix_product_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (C) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
39.56
125
0.65704
lit-uriy
33cec3b00c29b12baae1c68ed7cdd66952c241ed
32,086
cpp
C++
Module_Mqtt_QtCreator/tests/auto/qmqttclient/tst_qmqttclient.cpp
Janiel-DAHER/Install-Mqtt-QtCreator
195e6db407ce8ce5467a2d236322327c47f033a8
[ "Unlicense" ]
null
null
null
Module_Mqtt_QtCreator/tests/auto/qmqttclient/tst_qmqttclient.cpp
Janiel-DAHER/Install-Mqtt-QtCreator
195e6db407ce8ce5467a2d236322327c47f033a8
[ "Unlicense" ]
null
null
null
Module_Mqtt_QtCreator/tests/auto/qmqttclient/tst_qmqttclient.cpp
Janiel-DAHER/Install-Mqtt-QtCreator
195e6db407ce8ce5467a2d236322327c47f033a8
[ "Unlicense" ]
null
null
null
/****************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtMqtt module. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid commercial Qt lic...
34.990185
148
0.693511
Janiel-DAHER
33cffaf115e538be5eef1510bf3d16f1801985f2
78,917
cpp
C++
llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp
zard49/kokkos-clang
c519a032853e6507075de1807c5730b8239ab936
[ "Unlicense" ]
4
2019-04-18T03:54:09.000Z
2021-03-22T02:27:31.000Z
llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp
losalamos/kokkos-clang
d68d9c63cea3dbaad33454e4ebc9df829bca24fe
[ "Unlicense" ]
null
null
null
llvm/tools/clang/lib/Serialization/ASTWriterStmt.cpp
losalamos/kokkos-clang
d68d9c63cea3dbaad33454e4ebc9df829bca24fe
[ "Unlicense" ]
2
2019-11-16T19:03:05.000Z
2020-03-19T08:32:37.000Z
//===--- ASTWriterStmt.cpp - Statement and Expression Serialization -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
34.148421
82
0.716348
zard49
33d30c6d9685c4f75c64500196a8d1813cf90178
1,176
cpp
C++
tools/scetool/mt19937.cpp
PSDK3v2-Linux/PSL1GHT
2b1c307066813f3b252c20cbba9908f1c9e2745c
[ "MIT" ]
null
null
null
tools/scetool/mt19937.cpp
PSDK3v2-Linux/PSL1GHT
2b1c307066813f3b252c20cbba9908f1c9e2745c
[ "MIT" ]
null
null
null
tools/scetool/mt19937.cpp
PSDK3v2-Linux/PSL1GHT
2b1c307066813f3b252c20cbba9908f1c9e2745c
[ "MIT" ]
null
null
null
#include "mt19937.h" void mt19937_init(mt19937_ctxt_t *ctxt, unsigned int seed) { ctxt->state[0] = seed; for(ctxt->idx = 1; ctxt->idx < MT_N; ctxt->idx++) ctxt->state[ctxt->idx] = (1812433253 * (ctxt->state[ctxt->idx - 1] ^ (ctxt->state[ctxt->idx - 1] >> 30)) + ctxt->idx); ctxt->idx = MT_M + 1; } unsigned int ...
23.52
120
0.545918
PSDK3v2-Linux