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
449ed9cd775f180f12d5502b463b77f44b3ae529
18,312
cpp
C++
gtsam/geometry/tests/testRot3M.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
11
2015-02-04T16:41:47.000Z
2021-12-10T07:02:44.000Z
gtsam/geometry/tests/testRot3M.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
null
null
null
gtsam/geometry/tests/testRot3M.cpp
sdmiller/gtsam_pcl
1e607bd75090d35e325a8fb37a6c5afe630f1207
[ "BSD-3-Clause" ]
6
2015-09-10T12:06:08.000Z
2021-12-10T07:02:48.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ---...
31.902439
92
0.560561
sdmiller
44a07e63e3f95ae0ead720345ebae7f8e280a69c
1,415
cpp
C++
libpldmresponder/pdr.cpp
anoo1/pldm-1
fa0bf01f0a5d194875f65c54df5ca4e8888958fa
[ "Apache-2.0" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
libpldmresponder/pdr.cpp
anoo1/pldm-1
fa0bf01f0a5d194875f65c54df5ca4e8888958fa
[ "Apache-2.0" ]
59
2021-08-11T12:03:06.000Z
2022-03-29T13:49:53.000Z
libpldmresponder/pdr.cpp
anoo1/pldm-1
fa0bf01f0a5d194875f65c54df5ca4e8888958fa
[ "Apache-2.0" ]
139
2021-06-17T19:37:13.000Z
2022-03-30T10:58:05.000Z
#include "pdr.hpp" #include "pdr_state_effecter.hpp" namespace pldm { namespace responder { namespace pdr { using namespace pldm::responder::pdr_utils; void getRepoByType(const Repo& inRepo, Repo& outRepo, Type pdrType) { uint8_t* pdrData = nullptr; uint32_t pdrSize{}; auto record = pldm_pdr_find_recor...
25.727273
80
0.587279
anoo1
44a99beb070e493b8e49c7717381c78b2296d159
632
cpp
C++
src/Source/Chunks/Shex/Tokens/TempRegisterDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
20
2015-03-29T02:14:03.000Z
2021-11-14T12:27:02.000Z
src/Source/Chunks/Shex/Tokens/TempRegisterDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
null
null
null
src/Source/Chunks/Shex/Tokens/TempRegisterDeclarationToken.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
12
2015-05-04T06:39:10.000Z
2022-02-23T06:48:04.000Z
#include "PCH.h" #include "TempRegisterDeclarationToken.h" #include "Decoder.h" using namespace std; using namespace SlimShader; shared_ptr<TempRegisterDeclarationToken> TempRegisterDeclarationToken::Parse(BytecodeReader& reader) { auto token0 = reader.ReadUInt32(); auto result = shared_ptr<TempRegisterDeclaration...
28.727273
100
0.787975
tgjones
44aa07c1868dc9b7782544f1df6d0756131a734b
3,229
cpp
C++
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestUnitsCountControlSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestUnitsCountControlSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
src/AutoTests/Tests/CollidingCircularUnits/Systems/TestUnitsCountControlSystem.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "Base/precomp.h" #include "AutoTests/Tests/CollidingCircularUnits/Systems/TestUnitsCountControlSystem.h" #include "Base/Random/Random.h" #include "GameData/World.h" #include "GameData/Spatial/SpatialWorldData.h" #include "GameData/Components/SpriteCreatorComponent.generated.h" #include "GameData/Components/...
34.351064
216
0.765252
gameraccoon
44ac0e3844b13958ee440382b507a1562a61ad67
6,002
cpp
C++
src/ctop_ga_main.cpp
lounick/lwga
e7d64198530578f84c356c1023035562ddec4a60
[ "MIT" ]
1
2022-02-28T15:56:56.000Z
2022-02-28T15:56:56.000Z
src/ctop_ga_main.cpp
lounick/lwga
e7d64198530578f84c356c1023035562ddec4a60
[ "MIT" ]
null
null
null
src/ctop_ga_main.cpp
lounick/lwga
e7d64198530578f84c356c1023035562ddec4a60
[ "MIT" ]
null
null
null
// // Created by nick on 31/03/16. // #include "ctop_ga.h" int main() { std::vector<std::pair<double, double> > nodes; std::vector<std::vector<double> > cost_mat; /* nodes.push_back(std::make_pair(0, 0)); for (int i = 1; i < 6; i++) { for (int j = -2; j < 3; j++) { nodes.push_back(std::make_pair(i...
32.797814
91
0.549817
lounick
44b287bdf1d9824653777461aaf81a0e557240ea
810
cpp
C++
BOJ4673_selfnum/selfnum.cpp
wjoh0315/BOJSolutions3
ac6bf0592ba07f5266ca972d726c8f8e8116ded1
[ "MIT" ]
null
null
null
BOJ4673_selfnum/selfnum.cpp
wjoh0315/BOJSolutions3
ac6bf0592ba07f5266ca972d726c8f8e8116ded1
[ "MIT" ]
null
null
null
BOJ4673_selfnum/selfnum.cpp
wjoh0315/BOJSolutions3
ac6bf0592ba07f5266ca972d726c8f8e8116ded1
[ "MIT" ]
null
null
null
//https://www.acmicpc.net/problem/4673 #include <iostream> #include <string> using namespace std; void d() { string tmp; int computetmp = 0; int selfnums[10000] = { 0, }; for (int i=1; i <= 10000; i++) { if (selfnums[i-1] == 0) { cout << i << '\n'; tmp = to_s...
21.315789
56
0.41358
wjoh0315
44b2dd53ebbae0be79c4a308135670159fe88365
1,299
hpp
C++
mtlpp_ue4_ex_03/renderer/mtlpp/capture_manager.hpp
dtonna/mtlpp_ue4_ex_03
80b945c5b5dbbf6efbe525fb371a2e77657cd595
[ "Unlicense" ]
null
null
null
mtlpp_ue4_ex_03/renderer/mtlpp/capture_manager.hpp
dtonna/mtlpp_ue4_ex_03
80b945c5b5dbbf6efbe525fb371a2e77657cd595
[ "Unlicense" ]
null
null
null
mtlpp_ue4_ex_03/renderer/mtlpp/capture_manager.hpp
dtonna/mtlpp_ue4_ex_03
80b945c5b5dbbf6efbe525fb371a2e77657cd595
[ "Unlicense" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "declare.hpp" #include "imp_CaptureManager.hpp" #include "ns.hpp" MTLPP_BEGIN namespace ue4 { template<> inline ITable<MTLCaptureManager*, void>* CreateIMPTable(MTLCaptureManager* handle) { static ITable<MTLCaptureManager*, void> Table(o...
24.509434
148
0.775982
dtonna
44b5741c98052995650c593375dbad1e39ec8894
535
hpp
C++
public/include/cpp_extensions/thread/checked_shared_timed_mutex.hpp
ffceiltda/cpp_extensions
d1bffee478fe7f3d574ce66ef7bb9a59379661df
[ "BSD-3-Clause" ]
null
null
null
public/include/cpp_extensions/thread/checked_shared_timed_mutex.hpp
ffceiltda/cpp_extensions
d1bffee478fe7f3d574ce66ef7bb9a59379661df
[ "BSD-3-Clause" ]
null
null
null
public/include/cpp_extensions/thread/checked_shared_timed_mutex.hpp
ffceiltda/cpp_extensions
d1bffee478fe7f3d574ce66ef7bb9a59379661df
[ "BSD-3-Clause" ]
null
null
null
#ifndef _CPP_EXTENSIONS_THREAD_CHECKED_SHARED_TIMED_MUTEX_HPP_ #define _CPP_EXTENSIONS_THREAD_CHECKED_SHARED_TIMED_MUTEX_HPP_ #include <cpp_extensions/prolog.hpp> #include <cpp_extensions/thread/fast_shared_timed_mutex.hpp> #include <cpp_extensions/thread/detail/checked_shared_lock_timed_tracker.hpp> namespace cpp_ex...
31.470588
111
0.872897
ffceiltda
44b690c0ec132e8138b6365b039b5cba44be9af3
4,952
cpp
C++
src/mongo/s/d_logic.cpp
edaniels/mongo
60f9f92f966d7bfabe722d96bc6e196292a4d051
[ "Apache-2.0" ]
1
2017-02-13T10:29:02.000Z
2017-02-13T10:29:02.000Z
src/mongo/s/d_logic.cpp
andremussche/minimongo
820d678f3561abb5660e27ff3204bd0e69dfe66c
[ "Apache-2.0" ]
null
null
null
src/mongo/s/d_logic.cpp
andremussche/minimongo
820d678f3561abb5660e27ff3204bd0e69dfe66c
[ "Apache-2.0" ]
null
null
null
// @file d_logic.cpp /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it...
34.873239
103
0.590065
edaniels
44b9f34ce916660434efa4a837c88370fcf01ae7
378
cpp
C++
disarRay/src/disarRay/Renderer/VertexArray.cpp
ChloeZamorano/disarRay
05b45108bd3db5d2fb9d2fd840b335519fb878ca
[ "Apache-2.0" ]
null
null
null
disarRay/src/disarRay/Renderer/VertexArray.cpp
ChloeZamorano/disarRay
05b45108bd3db5d2fb9d2fd840b335519fb878ca
[ "Apache-2.0" ]
null
null
null
disarRay/src/disarRay/Renderer/VertexArray.cpp
ChloeZamorano/disarRay
05b45108bd3db5d2fb9d2fd840b335519fb878ca
[ "Apache-2.0" ]
null
null
null
#include "drpch.h" #include "VertexArray.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLVertexArray.h" namespace Dray { VertexArray* VertexArray::Create() { switch (Renderer::GetAPI()) { case RendererAPI::API::OpenGL: return new OpenGLVertexArray(); default: DRAY_ENGINE_ASSERT(false, "Graph...
18
65
0.71164
ChloeZamorano
44bf7d6d8f4e08f29504ec4c62f1d2a8393de70d
13,764
cc
C++
pagespeed/opt/logging/log_record_test.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
pagespeed/opt/logging/log_record_test.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
pagespeed/opt/logging/log_record_test.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
44.833876
80
0.735397
dimitrilongo
44c9df95301fb8321543933faee670e073fb8ed3
1,190
hpp
C++
include/Mono/Net/Security/NoReflectionHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Mono/Net/Security/NoReflectionHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Mono/Net/Security/NoReflectionHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Type namespace: Mono.Net.Security namespace Mono::Net::Security...
42.5
109
0.686555
darknight1050
44cbc14049af35f2c510ae3ab17ffed6516ac62a
491
hh
C++
Include/SystemTimer.hh
ahoka/esrtk
bb5ff7f9caa22b6d6d91e660c6d78e471394a0cc
[ "BSD-2-Clause" ]
1
2018-07-08T15:47:57.000Z
2018-07-08T15:47:57.000Z
Include/SystemTimer.hh
ahoka/esrtk
bb5ff7f9caa22b6d6d91e660c6d78e471394a0cc
[ "BSD-2-Clause" ]
null
null
null
Include/SystemTimer.hh
ahoka/esrtk
bb5ff7f9caa22b6d6d91e660c6d78e471394a0cc
[ "BSD-2-Clause" ]
null
null
null
#ifndef SYSTEMTIMER_HH #define SYSTEMTIMER_HH #include <cstdint> class SystemTimer { public: SystemTimer(); virtual ~SystemTimer(); virtual int probe() = 0; virtual bool startTimer() = 0; virtual bool stopTimer() = 0; virtual unsigned int getFrequency() = 0; virtual void delay(unsigned long ms) ...
15.83871
44
0.690428
ahoka
44cf0d17795f325432bcd902614cbe7f13153477
1,007
cpp
C++
Codeforces/1000~1999/1282/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1282/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1282/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> #include <stack> #include <utility> #define int long long #define f second #define ddl first #define T(x) (p[x].f ? b : a) typedef std::pair<int, int> pii; const int N = 2e5 + 52; int n, t, a, b, tm, acnt, bcnt, lans, ans; pii p[N]; signed main() { for (scanf...
23.97619
66
0.485601
tiger0132
44d005b148cebff1afbd46d0eb074135bad8a39d
309
cpp
C++
test/training_data/plag_original_codes/14_135_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/14_135_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/14_135_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
// 引用元 : https://atcoder.jp/contests/agc024/submissions/5998080 // 得点 : 300 // コード長 : 2122 // 実行時間 : 6 #include<iostream> using namespace std; signed main() { int a, b, c, k; cin >> a >> b >> c >> k; if (!(k % 2)) { cout << a - b << endl; } else { cout << b - a << endl; } return 0; }
18.176471
64
0.511327
xryuseix
44d1a1773bffba34b3660e4908bf9ca4e960f681
31,878
cpp
C++
external/vulkancts/modules/vulkan/api/vktApiGetMemoryCommitment.cpp
BigBigos/VK-GL-CTS
e268f0b8bf774d6eff28fcc63d22b6f6055333f4
[ "Apache-2.0" ]
1
2021-03-16T20:54:26.000Z
2021-03-16T20:54:26.000Z
external/vulkancts/modules/vulkan/api/vktApiGetMemoryCommitment.cpp
BigBigos/VK-GL-CTS
e268f0b8bf774d6eff28fcc63d22b6f6055333f4
[ "Apache-2.0" ]
null
null
null
external/vulkancts/modules/vulkan/api/vktApiGetMemoryCommitment.cpp
BigBigos/VK-GL-CTS
e268f0b8bf774d6eff28fcc63d22b6f6055333f4
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------- * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2016 The Khronos Group Inc. * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
40.403042
243
0.694774
BigBigos
44d20a4e8b30ecb558f88bd0a2838e2238096e46
736
cpp
C++
1. White/Week 2/02. Palindrom/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
1
2022-02-17T10:58:58.000Z
2022-02-17T10:58:58.000Z
1. White/Week 2/02. Palindrom/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
null
null
null
1. White/Week 2/02. Palindrom/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
null
null
null
/* * Напишите функцию, которая * - называется IsPalindrom, * - возвращает bool, * - принимает параметр типа string и возвращает, * является ли переданная строка палиндромом. * * Палиндром - это слово или фраза, которые одинаково читаются слева направо и * справа налево. Пустая строка является палиндромом. */...
23.741935
78
0.596467
AmaterasuOmikami
44d315adfbfb2e364a72ce5f62db82203f4d4125
1,287
cpp
C++
lib/Runtime/Library/JavascriptStringEnumerator.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
8,664
2016-01-13T17:33:19.000Z
2019-05-06T19:55:36.000Z
lib/Runtime/Library/JavascriptStringEnumerator.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
5,058
2016-01-13T17:57:02.000Z
2019-05-04T15:41:54.000Z
lib/Runtime/Library/JavascriptStringEnumerator.cpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
1,367
2016-01-13T17:54:57.000Z
2019-04-29T18:16:27.000Z
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
31.390244
124
0.52603
Taritsyn
44d341e62aab8eef6c75e3197b6583ed31e9a4e2
8,487
cpp
C++
userspace/libs/libc/string.cpp
GeGuNa/skift_oss2
8e674f5bfa24c009df5c683fefa02daf14d9a40f
[ "MIT" ]
1,724
2019-03-02T18:31:16.000Z
2022-03-31T18:35:42.000Z
userspace/libs/libc/string.cpp
GeGuNa/skift_oss2
8e674f5bfa24c009df5c683fefa02daf14d9a40f
[ "MIT" ]
280
2019-03-06T09:36:49.000Z
2022-03-30T18:56:14.000Z
userspace/libs/libc/string.cpp
GeGuNa/skift_oss2
8e674f5bfa24c009df5c683fefa02daf14d9a40f
[ "MIT" ]
263
2019-03-14T15:04:12.000Z
2022-03-26T19:28:36.000Z
#include <libutils/Prelude.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define MIN(__x, __y) ((__x) < (__y) ? (__x) : (__y)) // mem* functions ----------------------------------------------------------- // void *memchr(const void *str, int c, size_t n) { unsigned char *s = (unsigned char *)str;...
17.427105
80
0.454813
GeGuNa
44d55b77de95e106965bcb17bb1145b724c15f95
6,770
cpp
C++
export/release/macos/obj/src/lime/graphics/opengl/ext/AMD_performance_monitor.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
1
2021-07-19T05:10:43.000Z
2021-07-19T05:10:43.000Z
export/release/macos/obj/src/lime/graphics/opengl/ext/AMD_performance_monitor.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
export/release/macos/obj/src/lime/graphics/opengl/ext/AMD_performance_monitor.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_lime_graphics_opengl_ext_AMD_performance_monitor #include <lime/graphics/opengl/ext/AMD_performance_monitor.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_86b53c0d4ece9a1b_4_new,"lime.graphics.opengl.ext.AMD_performance_monitor","new",0xb6600274,"lime.graphics.o...
42.3125
243
0.761595
EnvyBun
44d61e4249a3ac744bd72d6e8fde61ed284996d1
10,587
inl
C++
thrust/system/cuda/detail/detail/stable_sort_each.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
28
2017-10-04T03:41:56.000Z
2021-07-18T14:53:36.000Z
thrust/system/cuda/detail/detail/stable_sort_each.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
13
2017-09-06T10:49:44.000Z
2019-09-07T13:53:24.000Z
thrust/system/cuda/detail/detail/stable_sort_each.inl
marksantos/thrust
67bbec34a7fdb9186aea6c269870b517e42e4388
[ "Apache-2.0" ]
15
2018-02-13T00:08:55.000Z
2022-02-14T05:46:43.000Z
/* * Copyright 2008-2013 NVIDIA 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
31.322485
130
0.696231
marksantos
44de4560c4736de31d9808c2e2c5df0003061ad5
12,953
cpp
C++
heart/src/postprocessing/PropagationPropertiesCalculator.cpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-04-05T12:11:54.000Z
2020-04-05T12:11:54.000Z
heart/src/postprocessing/PropagationPropertiesCalculator.cpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/postprocessing/PropagationPropertiesCalculator.cpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-04-05T14:26:13.000Z
2021-03-09T08:18:17.000Z
/* Copyright (c) 2005-2019, 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...
39.978395
143
0.685478
AvciRecep
44e1ef680efd5c14b45367cfb5d33fa6ee4651c6
5,996
cpp
C++
source/BeEngine/PositionGuizmo.cpp
Guillemsc/2D
e92801d5cd8c5e51953cbb54c58f775dace5d40d
[ "MIT" ]
6
2019-04-13T02:54:17.000Z
2021-05-31T12:22:26.000Z
source/BeEngine/PositionGuizmo.cpp
Guillemsc/2D
e92801d5cd8c5e51953cbb54c58f775dace5d40d
[ "MIT" ]
null
null
null
source/BeEngine/PositionGuizmo.cpp
Guillemsc/2D
e92801d5cd8c5e51953cbb54c58f775dace5d40d
[ "MIT" ]
1
2022-01-27T13:49:00.000Z
2022-01-27T13:49:00.000Z
#include "PositionGuizmo.h" #include "App.h" #include "ModuleSceneRenderer.h" #include "DinamicTriangleRenderer.h" #include "LineRenderer.h" #include "QuadRenderer.h" #include "ModuleInput.h" #include "mmgr\nommgr.h" #include "mmgr\mmgr.h" void PositionGuizmo::Start() { internal_transform = float4x4::identity; Add...
30.907216
208
0.752668
Guillemsc
44e6b163d802a2f25e32f61866a53fa8bf9a6cb2
3,693
cc
C++
tools/gn/function_write_file.cc
wugh7125/gn
72a485f053279260a3a5fb4de8bcc467e730b433
[ "BSD-3-Clause" ]
88
2017-05-07T03:52:01.000Z
2022-03-16T02:09:17.000Z
tools/gn/function_write_file.cc
wugh7125/gn
72a485f053279260a3a5fb4de8bcc467e730b433
[ "BSD-3-Clause" ]
3
2018-10-08T13:52:24.000Z
2019-05-19T23:30:19.000Z
tools/gn/function_write_file.cc
wugh7125/gn
72a485f053279260a3a5fb4de8bcc467e730b433
[ "BSD-3-Clause" ]
17
2017-04-28T10:15:48.000Z
2021-08-23T11:48:25.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <iostream> #include <sstream> #include "base/files/file_util.h" #include "base/strings/string_split.h" #include "base/strings/string_util.h"...
34.194444
80
0.698077
wugh7125
44ec36e7e30f3d24f6993d7f884f0d8430439da8
1,312
cc
C++
othello/othello-board.cc
miklhh/Othello
e2ebdd6b12dfa4650a50647318309377e70a0cf0
[ "MIT" ]
4
2019-04-25T16:35:41.000Z
2020-11-23T18:51:50.000Z
othello/othello-board.cc
miklhh/othello
e2ebdd6b12dfa4650a50647318309377e70a0cf0
[ "MIT" ]
null
null
null
othello/othello-board.cc
miklhh/othello
e2ebdd6b12dfa4650a50647318309377e70a0cf0
[ "MIT" ]
null
null
null
#include "othello-board.h" // Constructor for board. The four middlepieces has to be set manually. board::board() { for (int y = 0; y < 8; y++) { for (int x = 0; x < 8; x++) { //Set the boardtiles to empty. _gameBoard[x][y] = piece::EMPTY; } } } // Method s...
18.478873
72
0.525152
miklhh
44ed03254f525c32941696bb20c5c2982d8a3ed8
5,054
cpp
C++
src/drivers/roboclaw/roboclaw_main.cpp
teamtiltrotor/PX4Firmware
ce6026583a59e981d1fd10172c1dd69f94526e87
[ "BSD-3-Clause" ]
10
2016-01-13T01:58:38.000Z
2020-04-07T16:14:53.000Z
src/drivers/roboclaw/roboclaw_main.cpp
teamtiltrotor/PX4Firmware
ce6026583a59e981d1fd10172c1dd69f94526e87
[ "BSD-3-Clause" ]
null
null
null
src/drivers/roboclaw/roboclaw_main.cpp
teamtiltrotor/PX4Firmware
ce6026583a59e981d1fd10172c1dd69f94526e87
[ "BSD-3-Clause" ]
14
2016-01-13T01:59:42.000Z
2021-08-30T08:37:22.000Z
/**************************************************************************** * * Copyright (c) 2013 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. Redistri...
25.785714
95
0.668381
teamtiltrotor
60225b10e37986a09a0ff2f5be9f294c70865af6
7,249
cc
C++
mcg/src/external/BSR/src/math/random/sources/mersenne_twister_64.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/src/math/random/sources/mersenne_twister_64.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/src/math/random/sources/mersenne_twister_64.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Mersenne Twister 64-bit pseudorandom source. * * This implementation is based on freely distributed code by Takuji Nishimura * and Makoto Matsumoto. The copyright notice for the original version is * included below. */ /* * A C-program for MT19937-64 (2004/9/29 version). * Coded by Takuji Nishimura a...
32.800905
98
0.65071
mouthwater
60237c58e91b3eabf641ad995cfabdfcda5e39bc
3,402
cpp
C++
test/correctness/integer_powers.cpp
josephsieh/Halide
0ee307f5e00f444e6b7e228fcc199a9351926bde
[ "MIT" ]
1
2016-10-08T00:18:46.000Z
2016-10-08T00:18:46.000Z
test/correctness/integer_powers.cpp
josephsieh/Halide
0ee307f5e00f444e6b7e228fcc199a9351926bde
[ "MIT" ]
null
null
null
test/correctness/integer_powers.cpp
josephsieh/Halide
0ee307f5e00f444e6b7e228fcc199a9351926bde
[ "MIT" ]
null
null
null
#include <Halide.h> #include <stdio.h> using namespace Halide; float inverse_factorial(int x) { double y = 1; for (int i = 2; i <= x; i++) { y /= i; } return (float)y; } int main(int argc, char **argv) { Func f; Var x; Expr xf = x/256.0f; { // Compute the taylor se...
30.106195
96
0.511464
josephsieh
602a353a70d4698f1f4da889105d241a03db79c0
28,891
cpp
C++
src/3DSMax/rise3dsmax.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/3DSMax/rise3dsmax.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/3DSMax/rise3dsmax.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
//*************************************************************************** // rise3dsmax - [rise3dsmax.cpp] Sample Plugin Renderer for 3D Studio MAX. // // By Christer Janson - Kinetix // // Description: // Implementation of main render class // //********************************************************************...
28.436024
141
0.599425
aravindkrishnaswamy
602a97335754eed54563dffb654ba8f33fed92e4
528
hpp
C++
code/headers/Platform.hpp
AmadeoDelgado/Bullet-Catapult
9d65c8142beb9af3611e782b92dade0d5e2ac939
[ "Unlicense" ]
null
null
null
code/headers/Platform.hpp
AmadeoDelgado/Bullet-Catapult
9d65c8142beb9af3611e782b92dade0d5e2ac939
[ "Unlicense" ]
null
null
null
code/headers/Platform.hpp
AmadeoDelgado/Bullet-Catapult
9d65c8142beb9af3611e782b92dade0d5e2ac939
[ "Unlicense" ]
null
null
null
#pragma once #include "Actor.hpp" class Platform { shared_ptr< btRigidBody > platform; float speed{ 1.f }; btVector3 direction { 0, 0, 0 }; public: Platform(Scene * Scene, btVector3 position, shared_ptr<btDiscreteDynamicsWorld> world, btVector3 direction, float speed, size_t id); void ActivatePlatform(); void...
26.4
133
0.742424
AmadeoDelgado
6036c5a31c92ba3db6737cf8dc68980df8df4746
432
cpp
C++
best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
4
2021-06-21T04:32:12.000Z
2021-11-02T04:20:36.000Z
best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
null
null
null
best-time-to-buy-and-sell-stock-ii/best-time-to-buy-and-sell-stock-ii.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
2
2021-08-19T11:27:18.000Z
2021-09-26T14:51:30.000Z
class Solution { public: int maxProfit(vector<int>& prices) { vector<vector<int>> dp(prices.size(), vector<int>(2, 0)); int n = prices.size(); dp[n-1][0] = 0; dp[n-1][1] = prices[n-1]; for(int i = n-2; i >= 0; i--) { dp[i][0] = max(dp[i+1][0], dp[i+1][1] - prices[...
30.857143
65
0.43287
arpitkekri
60376a9e3efc86d3b1be17dcc8ac564dd6b67af1
5,493
cpp
C++
tests/test_runtime_iface.cpp
clickp4/bmv2
aca47e23c968353a9ffd27e9b6305f41cefadf6b
[ "Apache-2.0" ]
2
2018-08-29T22:58:07.000Z
2018-08-30T01:44:30.000Z
tests/test_runtime_iface.cpp
clickp4/bmv2
aca47e23c968353a9ffd27e9b6305f41cefadf6b
[ "Apache-2.0" ]
null
null
null
tests/test_runtime_iface.cpp
clickp4/bmv2
aca47e23c968353a9ffd27e9b6305f41cefadf6b
[ "Apache-2.0" ]
4
2016-06-22T23:39:02.000Z
2022-03-26T13:53:51.000Z
/* Copyright 2013-present Barefoot Networks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
34.118012
80
0.734571
clickp4
603bb8bb925add2db9e24fbec45074453c473ceb
128
cc
C++
Pods/gRPC-Core/src/core/lib/iomgr/ev_windows.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/gRPC-Core/src/core/lib/iomgr/ev_windows.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
Pods/gRPC-Core/src/core/lib/iomgr/ev_windows.cc
MrsTrier/RememberArt
90314d1f05a1d63b9885ebb17d37bab5134a24f3
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:f6d5282e87523784cb5dd86a84beafb6d6eab59dbb63770424267f2d9e4a9fa6 size 907
32
75
0.882813
MrsTrier
6040b6f3541439be15793174c4205d4be208f5ab
5,275
cpp
C++
HDUOJ/5381/mo's_algorithm.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
HDUOJ/5381/mo's_algorithm.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
HDUOJ/5381/mo's_algorithm.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <stack> #include <queue> #include <vector> #include <set> #include <map> #include <functional> #include <iterator> using namespace std; #define SIZE 10010 typ...
29.305556
100
0.44
codgician
6043a6782efcba4d0615c727b31edb32bf73f5a9
3,089
hpp
C++
addons/backpacks/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
addons/backpacks/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
addons/backpacks/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
class CfgVehicles { class ReammoBox; class Item_Base_F; class Bag_Base: ReammoBox { tf_hasLRradio = 0; tf_encryptionCode = ""; tf_range = 20000; }; class TFAR_Bag_Base: Bag_Base { tf_dialogUpdate = "call TFAR_fnc_updateLRDialogToChannel;"; tf_hasLRradio = 1; ...
37.216867
109
0.674652
MrDj200
6045ddee4520a7d5302bc641dde7fd85371748c6
300
cpp
C++
Chapter 2/Exercise_2.12.cpp
cbracb/cplusplus-primer-answers
1c4009c1a770e038638f00add8320c5ca9640bcc
[ "MIT" ]
null
null
null
Chapter 2/Exercise_2.12.cpp
cbracb/cplusplus-primer-answers
1c4009c1a770e038638f00add8320c5ca9640bcc
[ "MIT" ]
null
null
null
Chapter 2/Exercise_2.12.cpp
cbracb/cplusplus-primer-answers
1c4009c1a770e038638f00add8320c5ca9640bcc
[ "MIT" ]
null
null
null
// (a) int double = 3.14; // you cannot use a reserve keyword as an identifier // (b) int _; // valid but not recommended // (c) int catch-22; // should not contain dash // (d) int 1_or_2 = 1; // should not start with a number // (e) double Double = 3.14; // valid but the name can be more specific
42.857143
78
0.653333
cbracb
604d2d5ccd08b4f8e4bee7e04f9fabcc0f9497a8
5,212
cpp
C++
threepp/math/Euler.cpp
Graphics-Physics-Libraries/three.cpp-imported
788b4202e15fa245a4b60e2da0b91f7d4d0592e1
[ "MIT" ]
76
2017-12-20T05:09:04.000Z
2022-01-24T10:20:15.000Z
threepp/math/Euler.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
5
2018-06-06T15:41:01.000Z
2019-11-30T15:10:25.000Z
threepp/math/Euler.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
23
2017-10-12T16:46:33.000Z
2022-03-16T06:16:03.000Z
// // Created by byter on 29.07.17. // #include "Euler.h" #include "Math.h" #include <cmath> namespace three { namespace math { Euler &Euler::operator = (const Euler &euler) { _x = euler._x; _y = euler._y; _z = euler._z; _order = euler._order; onChange.emitSignal(*this); return *this; } void Euler::se...
24.24186
102
0.485418
Graphics-Physics-Libraries
604f863cd0f4858adf6185048433da2f68c809d4
19,717
cpp
C++
extractor/extraction_containers.cpp
VRPTools/pkg-osrm-backend
9b130cfb757b32e6799620babfb085398268156e
[ "BSD-2-Clause" ]
null
null
null
extractor/extraction_containers.cpp
VRPTools/pkg-osrm-backend
9b130cfb757b32e6799620babfb085398268156e
[ "BSD-2-Clause" ]
1
2015-02-25T18:27:19.000Z
2015-02-25T18:27:19.000Z
extractor/extraction_containers.cpp
VRPTools/pkg-osrm-backend
9b130cfb757b32e6799620babfb085398268156e
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2015, Project OSRM, Dennis Luxen, others 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 ...
44.91344
118
0.614597
VRPTools
60560f2f79b7f33c4c3d9e60bb80c741e27b57bc
657
hpp
C++
src/ShaderCompiler/Private/HlslParser.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
src/ShaderCompiler/Private/HlslParser.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
src/ShaderCompiler/Private/HlslParser.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
#pragma once #include <FrameWork/Common/String.hpp> #include <FrameWork/Common/Array.hpp> #include "HlslToken.hpp" #include "HlslCompileInfo.hpp" namespace Persist { class HlslParser { public : HlslParser(); inline void addToken(const HlslToken & token , const struct HlslTokenizer & tokenizer); ...
16.425
92
0.701674
kevin20x2
6057fc9d064be68787546c124b22223e02efd5d7
685
cpp
C++
codeforces/A1 - Collective Mindsets (easy)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A1 - Collective Mindsets (easy)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A1 - Collective Mindsets (easy)/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: JU_Quanta: kzvd4729, tariqiitju, mh755628# created: Sep/26/2019 14:40 * solution_verdict: Accepted language: GNU C++14 * run...
57.083333
111
0.343066
kzvd4729
605ad19145c4f77de8b163cb232ce51b47c25099
16,441
hpp
C++
include/proj/metadata.hpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
653
2015-03-27T10:12:52.000Z
2019-06-03T02:00:49.000Z
include/proj/metadata.hpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
987
2019-06-05T11:42:40.000Z
2022-03-31T20:35:18.000Z
include/proj/metadata.hpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
360
2019-06-20T23:50:36.000Z
2022-03-31T11:47:00.000Z
/****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * Copyright (c) 2018, Even ...
34.906582
93
0.679642
mlptownsend
605bf9480339d6caf5b46d69be8789f33cc6bd79
678
cpp
C++
Algorithms/LC/cpp/0485 Max Consecutive Ones/LC0485.cpp
tjzhym/LeetCode-solution
06bd35bae619caaf8153b81849dae9dcc7bc9491
[ "MIT" ]
null
null
null
Algorithms/LC/cpp/0485 Max Consecutive Ones/LC0485.cpp
tjzhym/LeetCode-solution
06bd35bae619caaf8153b81849dae9dcc7bc9491
[ "MIT" ]
null
null
null
Algorithms/LC/cpp/0485 Max Consecutive Ones/LC0485.cpp
tjzhym/LeetCode-solution
06bd35bae619caaf8153b81849dae9dcc7bc9491
[ "MIT" ]
null
null
null
// Problem : https://leetcode.com/problems/max-consecutive-ones/ // Solution: https://github.com/tjzhym/LeetCode-solution // Author : zhym (tjzhym) // Date : 2021-11-9 #include <vector> using namespace std; class Solution { public: int findMaxConsecutiveOnes(vector<int>& nums) { int coun...
24.214286
67
0.513274
tjzhym
60605189c628a4d5bcdecde60deb9211c1b1542b
2,435
cpp
C++
src/ngraph/runtime/cpu/op/convert_layout.cpp
magrawal128/ngraph
ca911487d1eadfe6ec66dbe3da6f05cee3645b24
[ "Apache-2.0" ]
1
2020-11-25T16:16:42.000Z
2020-11-25T16:16:42.000Z
src/ngraph/runtime/cpu/op/convert_layout.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/cpu/op/convert_layout.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
34.785714
94
0.689117
magrawal128
6062f39d69a0680bb2fffdef1a1ac7bef197bf5d
689
cpp
C++
src/ROSUnit_Arm.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_Arm.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_Arm.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
#include "ROSUnit_Arm.hpp" ROSUnit_Arm* ROSUnit_Arm::_instance_ptr = NULL; BoolMessage ROSUnit_Arm::_bool_msg; //TODO change to a Service ROSUnit_Arm::ROSUnit_Arm(ros::NodeHandle& t_main_handler) : ROSUnit(t_main_handler) { _srv_armed = t_main_handler.advertiseService("arm", callbackArm); _instance_ptr = this; ...
24.607143
109
0.743106
CaptCrunch333
60639e67c3dede9a1a8a9e3dd842d4ea9005721a
6,930
hpp
C++
src/terminal/adapter/ITermDispatch.hpp
CharlesWillis3/terminal
f28ec658438cc5b0eb311583cdc3f8b398142506
[ "MIT" ]
4
2020-09-16T12:50:57.000Z
2021-05-20T17:24:45.000Z
src/terminal/adapter/ITermDispatch.hpp
weizhuangzhuang1/terminal
88d1527985123aea66537447241e3fa989fbf755
[ "MIT" ]
1
2020-04-13T20:20:55.000Z
2020-04-13T20:20:55.000Z
src/terminal/adapter/ITermDispatch.hpp
weizhuangzhuang1/terminal
88d1527985123aea66537447241e3fa989fbf755
[ "MIT" ]
1
2021-03-26T02:54:30.000Z
2021-03-26T02:54:30.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* Module Name: - ITermDispatch.hpp Abstract: - This is the interface for all output state machine callbacks. When actions occur, they will be dispatched to the methods on this interface which must be implemented by a child c...
55
128
0.715873
CharlesWillis3
6064aff3eb71d3784824071b2d375d8f08e1fb63
1,633
cpp
C++
samples/qtreeview_client/main.cpp
igormironchik/components-observation
4ebe3481b51da9aa69712c5962fa7e4bee95b664
[ "MIT" ]
2
2015-03-22T07:34:43.000Z
2017-02-09T18:02:34.000Z
samples/qtreeview_client/main.cpp
igormironchik/components-observation
4ebe3481b51da9aa69712c5962fa7e4bee95b664
[ "MIT" ]
null
null
null
samples/qtreeview_client/main.cpp
igormironchik/components-observation
4ebe3481b51da9aa69712c5962fa7e4bee95b664
[ "MIT" ]
2
2016-10-11T07:46:40.000Z
2017-07-26T19:01:31.000Z
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2012 Igor Mironchik 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, incl...
28.155172
67
0.732394
igormironchik
60681ef38cc4da0cd00c45a7a472a45cda43c91e
2,859
cpp
C++
Source/EmitterInstance.cpp
Aitorlb7/Node_Based_Particle_System
a910e21653694b83e98f1c7aaaa4e8428a97a5ba
[ "MIT" ]
1
2022-02-03T14:03:58.000Z
2022-02-03T14:03:58.000Z
Source/EmitterInstance.cpp
Aitorlb7/Node_Based_Particle_System
a910e21653694b83e98f1c7aaaa4e8428a97a5ba
[ "MIT" ]
null
null
null
Source/EmitterInstance.cpp
Aitorlb7/Node_Based_Particle_System
a910e21653694b83e98f1c7aaaa4e8428a97a5ba
[ "MIT" ]
null
null
null
#include "Application.h" #include "EmitterInstance.h" #include "Emitter.h" #include "ParticleModule.h" #include "ModuleRenderer3D.h" #include "ResourceMaterial.h" #include "Dependencies/MathGeoLib/include/Math/float4x4.h" #include "Application.h" #include "ModuleEditor.h" #include "WindowNodeEditor.h" #include <map> ...
24.228814
117
0.734872
Aitorlb7
60684e798e49e85b97954a3f325f25ccf4cd2562
2,205
cpp
C++
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-rds/source/model/DescribeDBLogFilesRequest.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
2
2019-02-08T21:29:57.000Z
2021-07-27T06:59:19.000Z
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-rds/source/model/DescribeDBLogFilesRequest.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-rds/source/model/DescribeDBLogFilesRequest.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
26.25
99
0.698866
prateek-s
606a1d4140750c3b77a4116741d99b3818708727
558
cpp
C++
23- Greedy Algorithms/DefenceOfKingdom.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
23- Greedy Algorithms/DefenceOfKingdom.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
23- Greedy Algorithms/DefenceOfKingdom.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
/*Problem Statement: https://www.spoj.com/problems/DEFKIN*/ #include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; int w,h,n; int x[40010],y[40010]; while(t--){ cin>>w>>h>>n; for(int i=0;i<n;i++){ cin>>x[i]>>y[i]; } //Sort the X cordinate sort(x,x+n); sort(y,y+n); //delta x...
14.684211
38
0.519713
ShreyashRoyzada
606a2f4f3b4545c529fe7df9c7d6a82bc4b5b268
1,461
hpp
C++
mesh_traits.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
mesh_traits.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
mesh_traits.hpp
slmcbane/Le-TO
d8fb0378fb687bb6dd56ed302072b59e5cdfb92f
[ "MIT" ]
null
null
null
#ifndef MESH_TRAITS_HPP #define MESH_TRAITS_HPP #include "TetMesh.hpp" #include <type_traits> namespace msh { template <class T> struct IsTetMesh : public std::false_type { }; template <class CoordT, size_t... Others> struct IsTetMesh<TetMesh<CoordT, Others...>> : public std::true_type { }; template <size_t NPF, s...
20.013699
72
0.661875
slmcbane
606abec54c41abdb3fda181321d422d0f2413d25
71,407
cpp
C++
IGC/Compiler/CISACodeGen/helper.cpp
krupenik/intel-graphics-compiler
8dc771cc827f29ade02b0721e227990162084dbf
[ "MIT" ]
null
null
null
IGC/Compiler/CISACodeGen/helper.cpp
krupenik/intel-graphics-compiler
8dc771cc827f29ade02b0721e227990162084dbf
[ "MIT" ]
null
null
null
IGC/Compiler/CISACodeGen/helper.cpp
krupenik/intel-graphics-compiler
8dc771cc827f29ade02b0721e227990162084dbf
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
36.284045
199
0.566415
krupenik
606d5df18006efcdf37b7d6e385b7ffe8d286c0e
181
hpp
C++
examples/pong/gamemanager.hpp
felipehac/abcg
1369928985a61549313c6cc0aa2134f37874688a
[ "MIT" ]
null
null
null
examples/pong/gamemanager.hpp
felipehac/abcg
1369928985a61549313c6cc0aa2134f37874688a
[ "MIT" ]
null
null
null
examples/pong/gamemanager.hpp
felipehac/abcg
1369928985a61549313c6cc0aa2134f37874688a
[ "MIT" ]
null
null
null
#ifndef GAMEMANAGER_HPP_ #define GAMEMANAGER_HPP_ enum class State { Idle, Playing, L_Win, R_Win }; class GameManager { public: State m_state{State::Idle}; }; #endif
16.454545
50
0.701657
felipehac
606e586106682d3950ab55e54dd33601d1480086
1,407
hpp
C++
src/rtl/assert.hpp
TomCrypto/bowshock
72725594254280d13b253e5c55a3bdc88c551d57
[ "MIT" ]
3
2017-09-05T09:43:00.000Z
2017-09-13T10:19:14.000Z
src/rtl/assert.hpp
TomCrypto/bowshock
72725594254280d13b253e5c55a3bdc88c551d57
[ "MIT" ]
null
null
null
src/rtl/assert.hpp
TomCrypto/bowshock
72725594254280d13b253e5c55a3bdc88c551d57
[ "MIT" ]
1
2021-03-01T17:35:41.000Z
2021-03-01T17:35:41.000Z
#pragma once /// @file /// /// @brief Assert functionality. /// /// @remarks All RTL assert functionality can be disabled by defining the \c NO_ASSERT macro. #include <rtl/base.hpp> #include <rtl/platform.hpp> #include <rtl/nvram.hpp> namespace rtl { #if defined(NO_ASSERT) #define TRACE(what) nullptr inline void as...
23.45
97
0.719972
TomCrypto
6072b31e426bc1bac556607d93b46a3f606c7ce8
7,424
cpp
C++
module-bsp/board/rt1051/bsp/lpm/RT1051LPMCommon.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-bsp/board/rt1051/bsp/lpm/RT1051LPMCommon.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-bsp/board/rt1051/bsp/lpm/RT1051LPMCommon.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "RT1051LPMCommon.hpp" #include "board.h" #include "reboot_codes.hpp" #include <log/log.hpp> #include "bsp/watchdog/watchdog.hpp" #include <board/clock_config.h> #include <fsl...
34.85446
104
0.632139
buk7456
607ac0de2e3ae97da8bbd63a096d8a5f3c1ed522
1,121
cpp
C++
AtCoder/dp/T.cpp
Anni1123/competitive-programming
bfcc72ff3379d09dee22f30f71751a32c0cc511b
[ "MIT" ]
1
2021-04-03T13:33:00.000Z
2021-04-03T13:33:00.000Z
AtCoder/dp/T.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
null
null
null
AtCoder/dp/T.cpp
iamsuryakant/competitive-programming
413000f5bc4a627407e1335c35dcdbee516e8cc1
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
#include<bits/stdc++.h> using namespace std; #define int long long const int mod = 1e9 + 7; signed main() { int N; string S; cin >> N >> S; // 4 // <>< // 5 // dp[i][j] = number of ways to make permutation of length i + 1 with last element as j // j <= i + 1 // j :...
28.025
92
0.372881
Anni1123
607e7a1e43910ce7c1fc6ce4ec2dbdc9126e0a72
9,251
cxx
C++
Modules/Core/Common/src/itkPoolMultiThreader.cxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
Modules/Core/Common/src/itkPoolMultiThreader.cxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
Modules/Core/Common/src/itkPoolMultiThreader.cxx
Hakkk2002/ITK
c913ab3acfcc2b78ce952cb6d2e11238bf4ec517
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * 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...
30.531353
115
0.631932
Hakkk2002
6080f2b9b9544388d8a878d8e170a3d770a6d7f2
6,390
cpp
C++
source/reshaper/tests/VoronoiTests.cpp
Hoshiningen/depixelization
f1da8fb311c6d92a1dcd0094f714c9d66c07fd29
[ "MIT" ]
16
2019-09-29T00:55:52.000Z
2021-10-02T06:33:41.000Z
source/reshaper/tests/VoronoiTests.cpp
Hoshiningen/depixelization
f1da8fb311c6d92a1dcd0094f714c9d66c07fd29
[ "MIT" ]
19
2019-04-25T00:08:38.000Z
2021-07-31T13:49:11.000Z
source/reshaper/tests/VoronoiTests.cpp
Hoshiningen/Depixelization
f1da8fb311c6d92a1dcd0094f714c9d66c07fd29
[ "MIT" ]
2
2019-09-08T09:34:13.000Z
2021-09-10T07:32:26.000Z
#include <VoronoiTests.h> #include <SimilarityGraph.h> #include <Heuristics.h> #pragma warning(push) #pragma warning(disable: 4996) #include <boost/geometry.hpp> #pragma warning(pop) #include <set> TEST_F(VoronoiTests, Build_TriangleConfiguration_1) { std::set<std::tuple<std::size_t, std::size_t>> edges; ...
21.661017
100
0.622848
Hoshiningen
608281f840e2ae6836cde7a666273933fb479da3
1,115
cpp
C++
apps/vaporgui/VNumericLineEdit.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/VNumericLineEdit.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/VNumericLineEdit.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
#include <QLineEdit> #include "VNumericFormatMenu.h" #include "VNumericLineEdit.h" VNumericLineEdit::VNumericLineEdit(int decimals) : VStringLineEdit(), _sciNotation(false), _decimalDigits(decimals) { _menu = new VNumericFormatMenu(this, _sciNotation, _decimalDigits); connect(_menu, &VNumericFormatMenu::...
30.135135
72
0.750673
StasJ
6083b75a0a0f84df4030574cb1f691022fd17bd1
5,570
cpp
C++
src/stdlib.cpp
Lythenas/MiniLua
ef3f6e79db0891a1188155b45a052f0ddc1549ab
[ "MIT" ]
null
null
null
src/stdlib.cpp
Lythenas/MiniLua
ef3f6e79db0891a1188155b45a052f0ddc1549ab
[ "MIT" ]
null
null
null
src/stdlib.cpp
Lythenas/MiniLua
ef3f6e79db0891a1188155b45a052f0ddc1549ab
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <exception> #include <iostream> #include <iterator> #include <regex> #include <sstream> #include <stdexcept> #include <string> #include <utility> #include <variant> #include <vector> #include "MiniLua/environment.hpp" #include "MiniLua/stdlib.hpp" #include "MiniLua/utils...
29.470899
97
0.533573
Lythenas
6085b36894ea62f98b95dda4672eafbeb3a469fa
2,525
hpp
C++
src/marnav/nmea/tpc.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/tpc.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/nmea/tpc.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
#ifndef MARNAV__NMEA__TPC__HPP #define MARNAV__NMEA__TPC__HPP #include "sentence.hpp" #include "../utils/optional.hpp" namespace marnav { namespace nmea { /// @brief TPC - Trawl Position Cartesian Coordinates /// /// @code /// 1 2 3 4 5 6 /// | | | | | | /// $--TPC,x,M,y,P,z.z,M*hh,<CR><LF> /// @end...
25.765306
80
0.722772
ShadowTeolog
6085c328747e9a907ecea9723b2b0367540ba86a
164,111
cpp
C++
VK9-Library/CDevice9.cpp
gamethich2020/VK9
52272b5b3394538f6cb0ef71083bf7abba788769
[ "Zlib" ]
1
2021-01-04T10:39:25.000Z
2021-01-04T10:39:25.000Z
VK9-Library/CDevice9.cpp
gamethich2020/VK9
52272b5b3394538f6cb0ef71083bf7abba788769
[ "Zlib" ]
null
null
null
VK9-Library/CDevice9.cpp
gamethich2020/VK9
52272b5b3394538f6cb0ef71083bf7abba788769
[ "Zlib" ]
1
2022-03-30T00:39:01.000Z
2022-03-30T00:39:01.000Z
/* Copyright(c) 2016-2019 Christopher Joseph Dean Schaefer This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
37.935969
390
0.762904
gamethich2020
608971feaa150b6af13f44dbc9e80b1f90dadb12
1,321
hpp
C++
src/CoreLib/Storage/StorageCache.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
17
2022-01-08T09:27:08.000Z
2022-03-19T08:23:42.000Z
src/CoreLib/Storage/StorageCache.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
11
2022-01-08T11:25:42.000Z
2022-02-13T05:17:00.000Z
src/CoreLib/Storage/StorageCache.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
2
2022-01-14T16:43:55.000Z
2022-03-09T07:56:43.000Z
/* * Copyright (C) 2022 Smirnov Vladimir / mapron1@gmail.com * SPDX-License-Identifier: MIT * See LICENSE file for details. */ #pragma once #include "CommonTypes.hpp" #include "IStorage.hpp" namespace D2ModGen { class StorageCache { public: using RequestList = IInputStorage::RequestInMemoryList; struct ...
22.389831
63
0.568509
mapron
608da9dcdf989349d497b745a37fe0c0c04acf5f
376
cpp
C++
src/Net/Connection.cpp
tomorrowengine/tbsgNetLib
0a25e6f4463c5baadf8a2cae4b64444bf6368b88
[ "MIT" ]
null
null
null
src/Net/Connection.cpp
tomorrowengine/tbsgNetLib
0a25e6f4463c5baadf8a2cae4b64444bf6368b88
[ "MIT" ]
null
null
null
src/Net/Connection.cpp
tomorrowengine/tbsgNetLib
0a25e6f4463c5baadf8a2cae4b64444bf6368b88
[ "MIT" ]
null
null
null
#include "Net/Connection.h" unsigned int net::Connection::idCount = 0; net::Connection::Connection(ENetPeer* peer, unsigned int connectionId) { this->peer = peer; this->connectionId = connectionId; } unsigned net::Connection::NewConnectionId() { idCount++; return idCount; } bool net::Connection::Valid() const {...
17.904762
70
0.736702
tomorrowengine
608f39af2cad421cbf48c24239029d680a5216b1
4,147
hpp
C++
chess/chess.hpp
MCWertGaming/chess
b0e390b6384eb90ab5fbbf15ee6729e2c8366752
[ "MIT" ]
2
2021-01-07T19:32:48.000Z
2021-01-07T19:33:08.000Z
chess/chess.hpp
MCWertGaming/chess
b0e390b6384eb90ab5fbbf15ee6729e2c8366752
[ "MIT" ]
null
null
null
chess/chess.hpp
MCWertGaming/chess
b0e390b6384eb90ab5fbbf15ee6729e2c8366752
[ "MIT" ]
null
null
null
// chess header namespace chess { class chess { private: // stores the field, chessField[X][Y] unsigned short int chessField[8][8]{}; unsigned short int moveCache{}; bool gameDone{}; /* parsing functions */ // returns the piece i...
46.595506
160
0.626477
MCWertGaming
608f5ab639f707e70d93b3f60a1b53929577ad69
6,772
cpp
C++
FEBioMech/FECoupledTransIsoVerondaWestmann.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FECoupledTransIsoVerondaWestmann.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FECoupledTransIsoVerondaWestmann.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
27.196787
107
0.595097
wzaylor
609086dd5414a4b67dca287ba684df9e50108bee
4,036
hpp
C++
include/nuls/system/utility/deserializer.hpp
ccccbjcn/nuls-v2-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
1
2020-04-26T07:32:52.000Z
2020-04-26T07:32:52.000Z
include/nuls/system/utility/deserializer.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
include/nuls/system/utility/deserializer.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
/** * Copyright (c) 2020 libnuls developers (see AUTHORS) * * This file is part of libnuls. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
29.035971
79
0.7111
ccccbjcn
6090e32cb9823a2eb6721ce853df2b9e0c3cb7c7
848
cpp
C++
fork/fork.cpp
zc110747/embed_linux_demo
fc6f5e977acd7e69e35bfa2e1eed7d208ed862d2
[ "BSD-2-Clause" ]
31
2020-06-19T03:06:02.000Z
2022-03-26T12:20:49.000Z
fork/fork.cpp
MagicFuzzX/linux_app_demo
fc6f5e977acd7e69e35bfa2e1eed7d208ed862d2
[ "BSD-2-Clause" ]
null
null
null
fork/fork.cpp
MagicFuzzX/linux_app_demo
fc6f5e977acd7e69e35bfa2e1eed7d208ed862d2
[ "BSD-2-Clause" ]
8
2021-02-04T00:50:45.000Z
2022-03-03T12:38:19.000Z
/********************************************************** * 说明: 多进程应用的创建和应用 * 可参考pipe的应用同步学习 * fork 系统调用创建和原进程资源一致的的新进程(会复制资源重新分配) * getpid 获取当前进程的pid信息 * getppid 获取当前进程的父进程pid信息 ************************************************************/ #include <unistd.h> #include <stdio.h> #include <string.h> #include <er...
21.2
61
0.489387
zc110747
6092c5eb7dd048cac78b2b5ab20920bca08c7345
440
hpp
C++
src/UE4Genny.hpp
angelfor3v3r/ue4genny
0645a51a44225444bec4115e168478915c5a8043
[ "MIT" ]
null
null
null
src/UE4Genny.hpp
angelfor3v3r/ue4genny
0645a51a44225444bec4115e168478915c5a8043
[ "MIT" ]
null
null
null
src/UE4Genny.hpp
angelfor3v3r/ue4genny
0645a51a44225444bec4115e168478915c5a8043
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "UObject/UObjectArray.h" #include <Windows.h> FUObjectArray* get_GUObjectArray(); UObjectBase* find_object(const char* obj_path); std::string narrow(const FString& fstr); std::string narrow(const FName& fname); template <typename T, typename T2 = UObject*> T DCast(T2 In) { ...
20
68
0.679545
angelfor3v3r
6093327a77aa09a30fd4cb17021c21d8757ec830
27,388
cpp
C++
cmp_compressonatorlib/astc/codec_astc.cpp
andre-ferreira/compressonator
35e888e0eaf186f67947907fe0ca44acdbf042c7
[ "MIT" ]
null
null
null
cmp_compressonatorlib/astc/codec_astc.cpp
andre-ferreira/compressonator
35e888e0eaf186f67947907fe0ca44acdbf042c7
[ "MIT" ]
null
null
null
cmp_compressonatorlib/astc/codec_astc.cpp
andre-ferreira/compressonator
35e888e0eaf186f67947907fe0ca44acdbf042c7
[ "MIT" ]
null
null
null
//=============================================================================== // Copyright (c) 2007-2016 Advanced Micro Devices, Inc. All rights reserved. // Copyright (c) 2004-2006 ATI Technologies Inc. //=============================================================================== // // Permission is hereby gr...
34.450314
164
0.572258
andre-ferreira
60943a0b56f554ba26c77d5a58d5841be93b958f
2,117
hpp
C++
src/base.hpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
null
null
null
src/base.hpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
1
2020-02-18T17:29:40.000Z
2020-02-18T17:29:40.000Z
src/base.hpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the // Lawrence Livermore National Laboratory in collaboration with University of // Illinois Urbana-Champaign. // // Written by the LBANN Research Team (N. Dry...
32.569231
82
0.650921
bvanessen
60982078ada1e207e3db9eb7d852706584de6069
11,000
cpp
C++
Engine/source/gfx/D3D11/gfxD3D11EnumTranslate.cpp
Parcons/Torque3D
516163fd5debea9c91b558046d858f5f56fc198d
[ "MIT" ]
417
2020-06-01T15:55:15.000Z
2022-03-31T12:50:51.000Z
Engine/source/gfx/D3D11/gfxD3D11EnumTranslate.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
186
2020-06-02T19:12:39.000Z
2022-02-15T02:22:27.000Z
Engine/source/gfx/D3D11/gfxD3D11EnumTranslate.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
84
2020-06-01T15:54:44.000Z
2022-03-24T13:52:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2015 GarageGames, LLC // // 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 restrictio...
62.857143
100
0.694182
Parcons
609938ac432f3a7fcdc7fbb61983a71ce13f87e2
1,441
cpp
C++
Days 121 - 130/Day 122/MaxCoinsCollectedInMatrix.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 121 - 130/Day 122/MaxCoinsCollectedInMatrix.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 121 - 130/Day 122/MaxCoinsCollectedInMatrix.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <iostream> #include <type_traits> template <unsigned int M, unsigned int N, typename = std::enable_if_t<(M > 0 && N > 0)>> using Matrix = std::array<std::array<unsigned int, M>, N>; template <unsigned int M, unsigned int N> unsigned int GetMaxCoinsCollectedHelper(const M...
26.2
141
0.707148
LucidSigma
609a8289fd56ba1fcbcd70c092ea5cbf464f0efe
1,549
cpp
C++
Practicas/P1/ej3/ejercicio_desc.cpp
josepadial/ED
c095e65843e695e05cbb4d0ae34652d223c45425
[ "MIT" ]
1
2019-12-04T18:11:07.000Z
2019-12-04T18:11:07.000Z
Practicas/P1/ej3/ejercicio_desc.cpp
josepadial/ED
c095e65843e695e05cbb4d0ae34652d223c45425
[ "MIT" ]
null
null
null
Practicas/P1/ej3/ejercicio_desc.cpp
josepadial/ED
c095e65843e695e05cbb4d0ae34652d223c45425
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> // Recursos para medir tiempos #include <cstdlib> // Para generación de números pseudoaleatorios using namespace std; int operacion(int *v, int n, int x, int inf, int sup) { int med; bool enc=false; while ((inf<sup) && (!enc)) { med = (inf+sup)/2; if (v[med]==x) ...
25.816667
99
0.619755
josepadial
609a8da078f2f1921ea99b3d9d880511ce82b29c
54,584
cc
C++
ThirdFunc/MsgLists/SSToGS.pb.cc
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
ThirdFunc/MsgLists/SSToGS.pb.cc
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
ThirdFunc/MsgLists/SSToGS.pb.cc
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: SSToGS.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "SSToGS.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include ...
32.298225
108
0.686025
tsymiar
609e2083d6e5ded5542aeb2f4c5ff4fb53b7cd7a
1,385
hpp
C++
ShineNgine/InterestRates/capfloorswaption/capfloorswaption.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
ShineNgine/InterestRates/capfloorswaption/capfloorswaption.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
ShineNgine/InterestRates/capfloorswaption/capfloorswaption.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
#ifndef capfloorswaption_hpp #define capfloorswaption_hpp #include <ql/quantlib.hpp> namespace QuantLib { std::vector<Real> capfloor(Date evaluationDate, CapFloor::Type type, Real strike, Real nominal, ...
37.432432
83
0.507581
FinancialEngineerLab
609ec80076a7efa8d56d38c730bb945678f58bdc
2,105
cpp
C++
2020/d9.cpp
yangh/adventofcode
92d748a034fdfa012eabd4fe2cd1ea72e4fa5995
[ "Apache-2.0" ]
null
null
null
2020/d9.cpp
yangh/adventofcode
92d748a034fdfa012eabd4fe2cd1ea72e4fa5995
[ "Apache-2.0" ]
null
null
null
2020/d9.cpp
yangh/adventofcode
92d748a034fdfa012eabd4fe2cd1ea72e4fa5995
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> #include "tool.cpp" using namespace std; static Tool T; static Numbers numbers; static bool is_a_preable_num(int idx) { long n = numbers[idx]; for (int i = idx - 25; i < idx; i++) { long n1 = numbers[i]; for (int j = i + 1; j < idx; j++) { long...
21.05
68
0.556295
yangh
609eef34b66665222f82fca60f7013b53b9d2951
1,100
inl
C++
src/Core/Mesh/TriangleMesh.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Mesh/TriangleMesh.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Mesh/TriangleMesh.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#include "TriangleMesh.hpp" namespace Ra { namespace Core { inline void TriangleMesh::clear() { m_vertices.clear(); m_normals.clear(); m_triangles.clear(); } inline void TriangleMesh::append( const TriangleMesh& other ) ...
32.352941
107
0.52
nmellado
609f6fc62f9a293acba3fddaf463deaea04f2dde
2,711
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/spirit/home/support/char_set/range_functions.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
ReactNativeFrontend/ios/Pods/boost/boost/spirit/home/support/char_set/range_functions.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
ReactNativeFrontend/ios/Pods/boost/boost/spirit/home/support/char_set/range_functions.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) =========================================...
27.383838
80
0.573589
Harshitha91
609f905f3ed6b453f1f87bd75340a87827817a85
5,589
cpp
C++
src/layers/transform/scatter.cpp
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
194
2016-07-19T15:40:21.000Z
2022-03-19T08:06:10.000Z
src/layers/transform/scatter.cpp
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
1,021
2016-07-19T12:56:31.000Z
2022-03-29T00:41:47.000Z
src/layers/transform/scatter.cpp
jonesholger/lbann
3214f189a1438565d695542e076c4fa8e7332d34
[ "Apache-2.0" ]
74
2016-07-28T18:24:00.000Z
2022-01-24T19:41:04.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
38.8125
112
0.668277
jonesholger
60a0270830274ca0a30ba63daf32bd3c21c28e8e
18,381
cpp
C++
src/rpc_table.cpp
opset/openset
201ee4a6247b6cce369885e05794e7dd3e8b8508
[ "MIT" ]
18
2017-09-28T16:46:27.000Z
2022-03-13T19:32:04.000Z
src/rpc_table.cpp
perple-io/openset
201ee4a6247b6cce369885e05794e7dd3e8b8508
[ "MIT" ]
14
2017-10-05T13:40:48.000Z
2019-10-18T15:44:44.000Z
src/rpc_table.cpp
perple-io/openset
201ee4a6247b6cce369885e05794e7dd3e8b8508
[ "MIT" ]
4
2017-12-07T22:34:10.000Z
2021-07-17T00:19:43.000Z
#include "rpc_global.h" #include "rpc_table.h" #include <cinttypes> #include <regex> #include "common.h" #include "cjson/cjson.h" #include "oloop_insert.h" #include "oloop_property.h" #include "oloop_histogram.h" #include "asyncpool.h" #include "database.h" #include "result.h" #include "table.h" #i...
30.996627
115
0.563625
opset
60a1d23afe706f3fcd176170e8901957c6321bb2
330
hpp
C++
src/mdp/core/oo/state/exceptions/unknown_class_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/mdp/core/oo/state/exceptions/unknown_class_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/mdp/core/oo/state/exceptions/unknown_class_exception.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 6th March 2019 * Copyright (c) 2019 Mark Benjamin */ #ifndef FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_CLASS_EXCEPTION_HPP #define FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_CLASS_EXCEPTION_HPP class UnknownClassException { }; #endif //FASTRL_MDP_CORE_OO_STATE_EXCEPTIONS_UNKNOWN_CLASS_EXCE...
22
72
0.854545
MarkieMark
60a3b5da7712b0c1c2cabe731af0e694d6e28ce2
4,247
hpp
C++
modules/boost/simd/sdk/include/boost/simd/memory/functions/simd/common/insert.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/include/boost/simd/memory/functions/simd/common/insert.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/memory/functions/simd/common/insert.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
36.930435
80
0.474453
psiha
60a43daec30603947e38a02b09abecfdc9ae02f9
9,171
cpp
C++
src/trace/D3DDriver/AD3D9/AIVolumeTextureImp_9.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/D3DDriver/AD3D9/AIVolumeTextureImp_9.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/D3DDriver/AD3D9/AIVolumeTextureImp_9.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
27.623494
159
0.659361
attila-sim
60a46ccc95540974d1799cc1fe8464c08bac4ce4
1,592
hpp
C++
includes/TxIn.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/TxIn.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/TxIn.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
#ifndef TXIN_HPP #define TXIN_HPP #include <cstdint> #include <fstream> #include <includes/Script.hpp> #include <vector> const uint32_t DEFAULT_SEQUANCE = 0xFFFFFFFF; const size_t SEQUANCE_SIZE = sizeof(uint32_t); class TxIn { private: struct OutPoint { std::vector<byte> hash_; // The hash of the reference t...
22.742857
80
0.698492
moguchev
60a5482cee5d537703c5ae9761fe83b1c33f8ea7
1,968
cpp
C++
qtfred/src/ui/widgets/ColorComboBox.cpp
MageKing17/fs2open.github.com
84b25b52d7d775af8a810d70e6beb6d20405b58c
[ "Unlicense" ]
1
2015-04-24T12:37:48.000Z
2015-04-24T12:37:48.000Z
qtfred/src/ui/widgets/ColorComboBox.cpp
JohnAFernandez/fs2open.github.com
c0bb5bc8eb640c3932aefd3dfad1fd4758571cff
[ "Unlicense" ]
4
2015-03-30T20:33:03.000Z
2020-06-03T08:48:35.000Z
qtfred/src/ui/widgets/ColorComboBox.cpp
JohnAFernandez/fs2open.github.com
c0bb5bc8eb640c3932aefd3dfad1fd4758571cff
[ "Unlicense" ]
1
2021-05-22T16:37:50.000Z
2021-05-22T16:37:50.000Z
// // #include "ColorComboBox.h" #include <ship/ship.h> #include <QtGui/QtGui> #include <FredApplication.h> namespace fso { namespace fred { ColorComboBox::ColorComboBox(QWidget* parent, EditorViewport* viewport) : QComboBox(parent), _viewport(viewport) { // This needs to be done after init since the ship classe...
26.594595
114
0.725102
MageKing17
60a71bb53281960dbe2a3fb1c001553e7f058399
1,809
hpp
C++
test/utils.hpp
MFHava/PTL
29d4fd6965361ac09cb1682ca149488f879ad970
[ "BSL-1.0" ]
7
2017-09-04T20:01:46.000Z
2021-05-04T23:22:27.000Z
test/utils.hpp
MFHava/PTL
29d4fd6965361ac09cb1682ca149488f879ad970
[ "BSL-1.0" ]
1
2020-05-27T16:54:39.000Z
2020-05-27T18:44:12.000Z
test/utils.hpp
MFHava/PTL
29d4fd6965361ac09cb1682ca149488f879ad970
[ "BSL-1.0" ]
1
2019-12-30T10:50:41.000Z
2019-12-30T10:50:41.000Z
// Copyright Michael Florian Hava. // 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) #pragma once #include <iterator> #include <stdexcept> namespace ptl::test { struct moveable final { ...
32.303571
153
0.676617
MFHava
60a826a9f683b278c5df0b8f6198a94e90bc09b6
2,404
cpp
C++
src/main.cpp
gabipatru/log-collector
7023b2589765bc081d7d0f2f074cfbfd705692d8
[ "MIT" ]
null
null
null
src/main.cpp
gabipatru/log-collector
7023b2589765bc081d7d0f2f074cfbfd705692d8
[ "MIT" ]
null
null
null
src/main.cpp
gabipatru/log-collector
7023b2589765bc081d7d0f2f074cfbfd705692d8
[ "MIT" ]
null
null
null
/* * \<> * * main.cpp * * Created on: 19 Jan 2019 * Author: Gabi * * Main entry point to the program */ #include "main.h" int main ( int argc, PCHAR argv[] ) { // vars int i, result; LogItem Item; STRINGCLASS argument; Setup Setup; Help Help; LogConfig LogConfig; LogU...
26.417582
125
0.534942
gabipatru
60aa5999843f45f5a0c7f8b8bf99887951ca859e
1,598
hpp
C++
gcpp/classes/ocalendar.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
2
2015-10-15T19:32:42.000Z
2021-12-20T15:56:04.000Z
gcpp/classes/ocalendar.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
gcpp/classes/ocalendar.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
/*====================================================================* * * ocalendar.hpp - interface for the ocalendar class; * *. Motley Tools by Charles Maier *: Published 1982-2005 by Charles Maier for personal use *; Licensed under the Internet Software Consortium License * *--------------------------...
28.535714
72
0.453066
razzlefratz
60abac00ab193944d7ec76bc2780a27cdea707bf
5,842
cc
C++
tensorpipe/common/shm_segment.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
189
2020-02-05T23:45:38.000Z
2022-03-25T14:31:51.000Z
tensorpipe/common/shm_segment.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
372
2020-02-06T11:06:07.000Z
2022-03-30T06:07:00.000Z
tensorpipe/common/shm_segment.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
55
2020-02-06T15:01:32.000Z
2022-03-28T03:56:34.000Z
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <tensorpipe/common/shm_segment.h> #include <fcntl.h> #include <linux/mman.h> #include <sc...
34.568047
81
0.69976
heliarmk
60af9c3bbb296f948476c38e154e926f00063c42
11,541
cpp
C++
Data/SQLite/src/Utility.cpp
YKYou/poco
468f80622845b7015ac6ed02e02475ba43e845dc
[ "BSL-1.0" ]
5,766
2015-01-01T01:27:15.000Z
2022-03-31T09:27:29.000Z
Data/SQLite/src/Utility.cpp
YKYou/poco
468f80622845b7015ac6ed02e02475ba43e845dc
[ "BSL-1.0" ]
2,345
2015-01-01T20:43:10.000Z
2022-03-31T19:45:02.000Z
Data/SQLite/src/Utility.cpp
YKYou/poco
468f80622845b7015ac6ed02e02475ba43e845dc
[ "BSL-1.0" ]
1,963
2015-01-01T01:29:44.000Z
2022-03-31T06:41:54.000Z
// // Utility.cpp // // Library: Data/SQLite // Package: SQLite // Module: Utility // // Implementation of Utility // // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Data/SQLite/Utility.h" #include "Poco/Data/SQLite/S...
32.880342
116
0.758253
YKYou
60b7a5ff3e8926e891fcfdbc66f0c03885e5d621
1,793
hpp
C++
rice/Exception_defn.hpp
keyme/rice
4b5e4ad3e2294a1b58886fb946eb26e3512599d9
[ "BSD-2-Clause" ]
11
2015-02-09T12:13:45.000Z
2019-11-25T01:14:31.000Z
rice/Exception_defn.hpp
jsomers/rice
6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5
[ "BSD-2-Clause" ]
3
2016-12-26T19:31:29.000Z
2021-04-13T12:32:58.000Z
rice/Exception_defn.hpp
jsomers/rice
6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5
[ "BSD-2-Clause" ]
2
2019-11-25T01:14:35.000Z
2021-09-29T04:57:36.000Z
#ifndef Rice__Exception_defn__hpp_ #define Rice__Exception_defn__hpp_ #include "Exception_Base_defn.hpp" #include "String.hpp" #include "Address_Registration_Guard_defn.hpp" #include <stdexcept> #include "detail/ruby.hpp" namespace Rice { //! A placeholder for Ruby exceptions. /*! You can use this to safely throw a...
25.614286
72
0.694925
keyme
60b8231355b424d58f3e2f454a38bd0ae471d6e0
12,988
cpp
C++
deps/zorro/ZorroLexer.cpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/zorro/ZorroLexer.cpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/zorro/ZorroLexer.cpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
#include "ZorroLexer.hpp" #include <cctype> #include "Exceptions.hpp" #include "FileReader.hpp" #include "ZString.hpp" namespace zorro { const char* ZLexer::names[TermsCount] = { "tInt", "tDouble", "tString", "tRawString", "tNil", "tTrue", "tFalse", "tIdent", "tPlus", "tPlusPlu...
20.518167
104
0.422929
Xecutor
60bc3cde90d2607479a09370dc1c37d012f359c9
1,028
hpp
C++
include/ampi/hash/flat_map.hpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
include/ampi/hash/flat_map.hpp
palebedev/ampi
a7feb7f4b51469fd24ff0fa2c8a9b8592cbf309a
[ "Apache-2.0" ]
null
null
null
include/ampi/hash/flat_map.hpp
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 #ifndef UUID_52998625_9971_474C_B3C3_3053D6F327FC #define UUID_52998625_9971_474C_B3C3_3053D6F327...
36.714286
99
0.76751
palebedev
60becb7042648dca41a27b34260d479e7ef0fb43
6,892
cpp
C++
source/ktwgEngine/sat.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
source/ktwgEngine/sat.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
12
2019-09-15T07:48:18.000Z
2019-12-08T17:23:22.000Z
source/ktwgEngine/sat.cpp
JasonWyx/ktwgEngine
410ba799f7000895995b9f9fc59d738f293f8871
[ "MIT" ]
null
null
null
#include "sat.h" bool SAT::CheckFaceSeparation(FaceQuery& outA, FaceQuery& outB, const Transform& transformA, const Transform& transformB, const Vec3& extentsA, const Vec3& extentsB, const Matrix3& rotMatA, const Matrix3& rotMatB, const Matrix3& transform, const Matrix3& absoluteTransform) { Vec3 t = MultiplyT(rotMa...
38.288889
273
0.613465
JasonWyx
60bedce1d2644724570bbd9a6c8db73fe38acdb9
170
hh
C++
silicon/middleware_factories.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
2,025
2015-01-05T16:41:36.000Z
2022-03-19T21:02:50.000Z
silicon/middleware_factories.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
68
2015-01-19T14:10:20.000Z
2022-02-01T18:25:15.000Z
silicon/middleware_factories.hh
hazemataya94/silicon
d733ec934110020196c0d104ed9129ea041a99ce
[ "MIT" ]
196
2015-01-19T12:00:16.000Z
2022-02-21T14:40:34.000Z
#pragma once #include <tuple> namespace sl { template <typename... F> auto middleware_factories(F... factories) { return std::make_tuple(factories...); } }
13.076923
43
0.658824
hazemataya94
60bf24be8fd1bbee7550958cf858c743606dc9a5
3,027
cpp
C++
Shared/src/StringEncodingDetector.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
516
2016-12-07T09:46:27.000Z
2022-03-28T22:43:05.000Z
Shared/src/StringEncodingDetector.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
374
2017-10-13T00:14:07.000Z
2022-03-28T22:44:44.000Z
Shared/src/StringEncodingDetector.cpp
scatterfish/unnamed-sdvx-clone
2e53cb168286af87d5e7e9e79197476d45529017
[ "MIT" ]
130
2017-10-13T00:14:29.000Z
2022-03-27T22:54:06.000Z
#include "stdafx.h" #include "StringEncodingDetector.hpp" #include "StringEncodingHeuristic.hpp" #include "Buffer.hpp" #include "BinaryStream.hpp" #include "Log.hpp" #include "archive.h" #include "archive_entry.h" class StringEncodingDetectorInternal final : public TieredStringEncodingHeuristic < // UTF-8 always ta...
22.589552
104
0.744632
scatterfish
60c02f1a9a7e81e49a9ab02cd2f76de0a021d105
20,250
cpp
C++
src/Core/Runtime/RuntimeCompiler.cpp
flygod1159/MxEngine
20af09a63368acbf1fe674566deb73f8dd7f85b3
[ "BSD-3-Clause" ]
669
2020-07-01T17:22:12.000Z
2022-03-31T02:48:17.000Z
src/Core/Runtime/RuntimeCompiler.cpp
MomoDeve/MomoEngine
f762ac9036f7f5519bc72e28f33f259e4699293b
[ "BSD-3-Clause" ]
17
2020-07-09T16:39:40.000Z
2021-12-08T03:11:57.000Z
src/Core/Runtime/RuntimeCompiler.cpp
MomoDeve/MomoEngine
f762ac9036f7f5519bc72e28f33f259e4699293b
[ "BSD-3-Clause" ]
42
2020-08-03T18:53:40.000Z
2022-03-18T06:27:56.000Z
// Copyright(c) 2019 - 2020, #Momo // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met : // // 1. Redistributions of source code must retain the above copyright notice, this // list of conditions...
35.402098
157
0.630321
flygod1159
60c3d0b9a34434d42eb4b93e678ddbe2894c7e43
3,518
cpp
C++
samples/stm32l452xx/assert/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
samples/stm32l452xx/assert/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
samples/stm32l452xx/assert/main.cpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
/* Name: main.cpp Copyright(c) 2019 Mateusz Semegen This code is licensed under MIT license (see LICENSE file for details) */ //cml #include <cml/collection/Array.hpp> #include <cml/debug/assert.hpp> #include <cml/hal/counter.hpp> #include <cml/hal/mcu.hpp> #include <cml/hal/systick.hpp> #include <cml/hal...
28.836066
103
0.611995
JayKickliter
60c529ac3110f4a48e8bbb0dc6b5ac6bfd7bb37e
24,064
cc
C++
wrappers/7.0.0/vtkGeoTerrainNodeWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkGeoTerrainNodeWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkGeoTerrainNodeWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkGeoTreeNodeWrap.h" #include "vtkGeoTerrainNodeWrap.h" #include "vtkObjectWrap.h" #include "vtkPolyDataWrap.h" #include "../../plus/plus.h" ...
32.04261
107
0.717046
axkibe
60c61130ead51238591787796e942a415c19f9a6
416
cpp
C++
code/c/2021/4_miansh_poin2.cpp
watchpoints/daily-interview
2a9848ed1290211952aea995dc312bc7e84b221e
[ "Apache-2.0" ]
2
2021-07-21T04:19:46.000Z
2021-07-21T04:19:52.000Z
code/c/2021/4_miansh_poin2.cpp
watchpoints/daily-interview
2a9848ed1290211952aea995dc312bc7e84b221e
[ "Apache-2.0" ]
27
2021-03-14T04:28:48.000Z
2021-12-08T10:39:22.000Z
code/c/2021/4_miansh_poin2.cpp
watchpoints/daily-interview
2a9848ed1290211952aea995dc312bc7e84b221e
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include<iostream> using namespace std; int main() { float a = 1.0f; std::cout << (int)a << std::endl; //1 std::cout << (int&)a << std::endl;//????/ std::cout << std::boolalpha << ( (int)a == (int&)a ) << std::endl; float b = 0.0f; std::cout << (int)b << std::endl; std::cout << (int&)b << std::en...
21.894737
75
0.533654
watchpoints