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
6efa0b7caa5c3485087e445ab01d9180aff7e1b5
21,293
cc
C++
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
3
2021-03-30T15:46:36.000Z
2021-11-26T03:20:15.000Z
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
null
null
null
src/video_encoder.cc
AugmentariumLab/foveated-360-video
bd5cb585712cc67b20da1264430c33c8bc68cf49
[ "MIT" ]
2
2021-03-30T15:46:40.000Z
2021-12-19T09:53:38.000Z
#include "video_encoder.h" VideoEncoder::VideoEncoder(AVCodecContext *s_video_codec_ctx) { using namespace std; int ret = 0; std::array<char, 256> errstr; hw_frame = av_frame_alloc(); hw_device_ctx = NULL; out_format_ctx = NULL; audio_codec = NULL; audio_codec_ctx = NULL; if ((ret = av_hwdevice_ctx...
35.967905
80
0.651388
AugmentariumLab
3e01e78f73b43fad156ad659d8806a25f17646b6
7,208
hpp
C++
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
6
2015-01-03T08:18:16.000Z
2022-01-22T00:01:23.000Z
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:07:56.000Z
2021-10-03T19:07:56.000Z
client/ui/UIBase.hpp
LoneDev6/MikuMikuOnline_wss-mod
de05011d5b7f0d5492640743c79ae005a832109a
[ "BSD-3-Clause" ]
1
2021-10-03T19:29:40.000Z
2021-10-03T19:29:40.000Z
// // UIBase.hpp // #pragma once #include "UISuper.hpp" #include <v8.h> #include "../InputManager.hpp" #include <functional> using namespace v8; class ScriptEnvironment; typedef std::weak_ptr<ScriptEnvironment> ScriptEnvironmentWeakPtr; class UIBase; class Input; typedef std::shared_ptr<UIBase> UIBasePtr; typedef...
35.683168
112
0.720172
LoneDev6
3e02918fea0f5319730bcb9858404f2221358db1
2,959
cpp
C++
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
652
2022-02-03T19:31:04.000Z
2022-03-31T17:45:29.000Z
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
50
2022-02-03T23:16:36.000Z
2022-03-31T19:50:19.000Z
tests/unit/watchtower/error_cache_test.cpp
EnrikoChavez/opencbdc-tx
3f4ebe9fa8296542158ff505b47fd8f277e313dd
[ "MIT" ]
116
2022-02-03T19:57:26.000Z
2022-03-20T17:23:47.000Z
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "uhs/atomizer/watchtower/error_cache.hpp" #include "uhs/atomize...
44.164179
75
0.558297
EnrikoChavez
3e068924620de9486e0a8e14f90b29bf809b5b26
1,428
hpp
C++
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Utility/VLTree/HydraGame/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Utility/VLTree/HydraGame/a_Body.hpp #pragma once #include "../a_Body.hpp" template <typename T> void CutHydra( VLSubTree<T>& t , const uint& n ) { if( t.IsLeaf() ){ ERR_CALL; } VLSubTree<T> t0 = t.RightMostSubTree(); if( t0.IsLeaf() ){ t....
12.981818
75
0.465686
p-adic
3e0ea51a9742e9ee27272a85e2e2eaeedde464ed
1,791
hpp
C++
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
6
2018-07-21T20:37:01.000Z
2018-10-31T01:49:35.000Z
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
galaxy/src/galaxy/input/Mouse.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
/// /// Mouse.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_INPUT_MOUSE_HPP_ #define GALAXY_INPUT_MOUSE_HPP_ #include <glm/vec2.hpp> #include "galaxy/input/InputDevice.hpp" namespace galaxy { namespace input { /// /// Physical mouse device and state management. /// class...
17.558824
105
0.564489
reworks
3e0f99001035521eca0535e341d247d24db03c45
7,115
hpp
C++
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
115
2019-09-28T13:39:41.000Z
2022-03-24T11:08:53.000Z
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
third_party/misc/def/def/defrCallBacks.hpp
jesec/livehd
1a82dbea1d86dbd1511de588609de320aa4ef6ed
[ "BSD-3-Clause" ]
44
2019-09-28T07:53:21.000Z
2022-02-13T23:21:12.000Z
// ***************************************************************************** // ***************************************************************************** // Copyright 2013, Cadence Design Systems // // This file is part of the Cadence LEF/DEF Open Source // Distribution, Product Version 5.8. // // Li...
45.903226
80
0.581588
jesec
3e14095a07a869c7851dcaece44d3a89081e1964
7,634
cpp
C++
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Graphics/SDLWindow.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
#include <OpenImageIO/imageio.h> #include "../Image/ImageLoader.h" #include "../Image/ImageUtils.h" #include "SDLWindow.h" #include <array> #include <vector> namespace J::Graphics { JSDLWindow::JSDLWindow(const SWindowCreateOptions& InOptions) : options(InOptions), bIsOpened(false), window(nullptr, [](WindowHandle...
26.233677
144
0.680639
jfla-fan
3e192b7bc7c7109250b95f60e59ff653a775bbc6
367
cxx
C++
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Strings/beautiful-binary-string.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n; cin >> n; string s, needle = "010"; cin >> s; int changes = 0; for ( string::size_type p = 0, q = string::npos; ( p = s.find ( needle, p ) ) != q; p += 3, ++changes ) ...
22.9375
107
0.566757
will-crawford
3e1bdee67edb08fffcaa80562d57b36e7a17f7ca
6,580
inl
C++
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
1
2021-01-28T14:54:32.000Z
2021-01-28T14:54:32.000Z
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
null
null
null
include/ffsm2/detail/structure/composite.inl
linuxxiaolei/FFSM2
d432e2ea361d81c69638a931ad821e7a7e47e748
[ "MIT" ]
null
null
null
namespace ffsm2 { namespace detail { //////////////////////////////////////////////////////////////////////////////// template <typename TA, typename TH, typename... TS> bool C_<TA, TH, TS...>::deepForwardEntryGuard(GuardControl& control) noexcept { FFSM2_ASSERT(control._registry.active != INVALID_SHORT); const S...
28.362069
80
0.615957
linuxxiaolei
3e1d42cb90f570ba2f60d5ee941351edb677e1c7
1,093
cpp
C++
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
Source/Engine/Ultra/Renderer/Framebuffer.cpp
larioteo/ultra
48910110caae485ef518a0e972ab7271f5e5b430
[ "MIT" ]
null
null
null
#include "FrameBuffer.h" #include "Ultra/Platform/OpenGL/GLFramebuffer.h" #include "Ultra/Platform/Vulkan/VKFramebuffer.h" #include "Renderer.h" namespace Ultra { Reference<Framebuffer> Framebuffer::Create(const FramebufferProperties &properties) { switch (Context::API) { case GraphicsAPI::Null: { retu...
29.540541
113
0.717292
larioteo
4a3f10ec880bcfce0979584c6d23b68a9347c114
1,369
cc
C++
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
20
2017-01-26T09:28:23.000Z
2022-01-17T11:31:55.000Z
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
542
2016-03-29T22:50:58.000Z
2022-03-22T20:14:08.000Z
tests/api/mpi/comm/ctxalloc.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
36
2016-03-10T21:33:54.000Z
2021-12-01T07:44:12.000Z
/* * * (C) 2003 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include <sstmac/replacements/mpi/mpi.h> #include <stdio.h> #include "mpitest.h" namespace ctxalloc { /** * This program tests the allocation (and deallocation) of contexts. * */ int ctxalloc( int argc, char **ar...
20.432836
80
0.583638
jpkenny
4a421482460913dfde21e0ed245bf59855dc508c
105
cpp
C++
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-10/10.23.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// bind requires an argument as callable and the rest arguments responded to given callable's arguments.
52.5
104
0.809524
zero4drift
4a4ad52a38af8707af30b515a584c5f18f47927e
1,524
cpp
C++
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
1
2021-11-27T06:57:22.000Z
2021-11-27T06:57:22.000Z
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
Binary_search/Search_in_Row_wise_And_Column_wise_Sorted_Array.cpp
shitesh2607/dsa
2293eb090c0a0334a9903b83aa881b5201ec26e4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // Actualy both problem are exactly same. // leetcode: 240. Search a 2D Matrix =: https://leetcode.com/problems/search-a-2d-matrix/ class soluion{ public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if(!matrix.size()) return false; ...
31.75
181
0.476378
shitesh2607
4a4c6efe25064ed287e3a63e36a936a8b425b865
4,130
cpp
C++
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
9
2021-04-30T09:06:13.000Z
2022-03-31T04:52:07.000Z
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
null
null
null
test/barebone_sounds.cpp
Sgw32/UltiSID
319edaa63f25c76b6c2675a2cb87d7992724b2d9
[ "MIT" ]
4
2021-04-30T16:37:09.000Z
2022-03-01T23:11:26.000Z
#include "barebone_sounds.h" extern uint8_t period; extern uint8_t multiplier; extern uint8_t DEFAULT_SONG; extern const uint8_t magic_number; void error_sound_SD() { //reset_SID(); OSC_1_HiLo = 0xffff; // just having fun with globals here :-) MASTER_VOLUME = 0x0f; ADSR_Attack_1 = 0x09; ADSR_Decay_1 = ...
19.57346
64
0.678692
Sgw32
4a5155a016ba64c8b36cb336a94595bd16e03096
682
cpp
C++
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++ConcurrencyInAction/Chapter02/Listing2_05/Listing2_05.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2019 by Anthony Williams. All rights reserved. // Licensed under the Boost Software License. See the LICENSE file in the project root for more information. // // Name: Listing2_05.cpp // Author: crdrisko // Date: 12/26/2020-07:57:22 // Description: Returning a std::thread from a function #include <thr...
19.485714
108
0.668622
crdrisko
4a53db9992c70d155a8361999b3aff87e1f88831
369
cpp
C++
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/tkppc3/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; using namespace std; int main() { cpp_int n; cin >> n; if (n % 6 == 0) cout << "yES" << endl; else cout << "nO" << endl; if (n % 11 == 0) cout <<...
24.6
43
0.601626
H-Tatsuhiro
4a54dee2701eec0c1dbb49eac4ee1bc5a1bd6ff9
1,452
cpp
C++
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
1
2017-06-07T06:52:16.000Z
2017-06-07T06:52:16.000Z
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
null
null
null
tests/buffer_complex_test.cpp
Tommoa/Snippets
ceaa29b1486615abdbab0e6a7ad152353d3a3ccc
[ "MIT" ]
null
null
null
#include "../buffer/buffer_complex.hpp" #include <fstream> #include <iostream> using namespace Snippets; int main() { std::cout << std::endl << "Start of complex buffer test" << std::endl; std::cout << std::endl; std::cout << "size of buffer: " << sizeof(buffer_complex) << std::endl << std::endl; Snippets::...
32.266667
74
0.661157
Tommoa
4a5522ef04b83812ad9dd47013eb11d1ff99f629
8,037
cpp
C++
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
null
null
null
Controller/CPU-related/AMD/Griffin/UsageGetterAndControllerBase.cpp
st-gb/CPUinfoAndControl
5e93d4a195b4692d147bb05cfef534e38d7f8b64
[ "MIT" ]
1
2021-07-16T21:01:26.000Z
2021-07-16T21:01:26.000Z
/* Do not remove this header/ copyright information. * * Copyright © Trilobyte Software Engineering GmbH, Berlin, Germany 2010-2011. * You are allowed to modify and use the source code from * Trilobyte Software Engineering GmbH, Berlin, Germany for free if you are not * making profit with it or its adaption. Else ...
31.641732
105
0.696155
st-gb
4a5cca250efd7d3ea01d9a6edd88e75b2fc21058
13,636
cpp
C++
master/core/third/cxxtools/src/convert.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/cxxtools/src/convert.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/cxxtools/src/convert.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-19T11:13:56.000Z
2018-02-23T08:44:03.000Z
/* * Copyright (C) 2011 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * As a sp...
18.730769
94
0.62115
importlib
4a5d29f3944111cf1b6b85339919d58fcb13a027
11,724
cpp
C++
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
8
2016-06-13T20:47:18.000Z
2021-12-22T17:29:32.000Z
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-03-14T07:00:04.000Z
2019-05-07T18:20:15.000Z
ble-cpp/src/mc/MetropolisSampler.cpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-02-03T07:41:00.000Z
2019-09-11T10:03:48.000Z
/******************************************************************************* * Copyright (c) 2014-2016 IBM Corporation and others * * 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 w...
38.313725
153
0.58376
harsh-agarwal
4a5e7f3d0eb904ca51a0068b09804230a450577c
9,643
hpp
C++
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
3
2015-04-26T03:51:13.000Z
2019-04-09T03:33:17.000Z
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
2
2015-03-31T22:36:33.000Z
2016-01-25T23:31:52.000Z
src/sutil/CRegisteredCallbacks.hpp
samirmenon/sUtil
6b75697cddf18bc309ceea571f9f687045883183
[ "Unlicense", "MIT" ]
null
null
null
/* This file is part of sUtil, a random collection of utilities. See the Readme.txt file in the root folder for licensing information. */ /* \file CRegisteredCallbacks.hpp * * Created on: Sep 13, 2011 * * Copyright (C) 2011, Samir Menon <smenon@stanford.edu> */ #ifndef CREGISTEREDCALLBACKS_HPP_ #define CREGIS...
32.911263
104
0.649176
samirmenon
4a64925586459e57961c312fddfbaef60a543db5
4,835
cpp
C++
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
2
2016-08-10T12:05:05.000Z
2016-08-10T12:10:14.000Z
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
null
null
null
cpp_files/caffe_jni.cpp
malreddysid/sudoku_android
2018aea4fbf11ccc739aeed8a22c97b6e0319fdc
[ "MIT" ]
null
null
null
#include <string.h> #include <jni.h> #include <android/log.h> #include <string> #include <vector> #ifdef USE_EIGEN #include <omp.h> #else #include <cblas.h> #endif #include "caffe/caffe.hpp" #include "caffe_mobile.hpp" #ifdef __cplusplus extern "C" { #endif using std::string; using std::vector; using caffe::CaffeMo...
30.796178
80
0.696174
malreddysid
4a6e85f157a7c7f9ee4d3a3ae7de86cb7102000f
1,221
hpp
C++
boost/network/protocol/http/message/wrappers/anchor.hpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
3
2015-02-10T22:08:08.000Z
2021-11-13T20:59:25.000Z
include/boost/network/protocol/http/message/wrappers/anchor.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
include/boost/network/protocol/http/message/wrappers/anchor.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_ANCHOR_HPP_20100618 #define BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_WRAPPERS_ANCHOR_HPP_20100618 // Copyright 2010 (c) Dean Michael Berris. // Copyright 2010 (c) Sinefunc, Inc. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICEN...
29.780488
74
0.689599
antoinelefloch
4a6f0ef95381bfd42ad02c0f8cc864fa7f262cc2
1,279
cpp
C++
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/ej/it-e/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; int net[1000][1000]; bool visited[1000] = {false}; int getFirstUnvistedNode(bool* nodes, int size) { for (int i = 0; i < size; i++) if (!nodes[i]) return i; return size; } int dfs(int nodeIndex, int net[1000][1000], bool* visite...
22.839286
76
0.545739
grand87
4a79db6c722db364b380ae93722af5eff778d9bd
7,921
hpp
C++
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
lib/soc/stm32l011xx/mcu.hpp
JayKickliter/CML
d21061a3abc013a8386798280b9595e9d4a2978c
[ "MIT" ]
null
null
null
#pragma once /* Name: mcu.hpp Copyright(c) 2019 Mateusz Semegen This code is licensed under MIT license (see LICENSE file for details) */ //std #include <cstdint> //externals #include <stm32l0xx.h> //cml #include <cml/bit.hpp> #include <cml/frequency.hpp> namespace soc { namespace stm32l011xx { struc...
24.447531
115
0.573539
JayKickliter
4a79f5b0472a0acd03b9b8c3cae5ed72a228f525
1,741
cpp
C++
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
49
2015-03-10T06:41:17.000Z
2021-03-16T05:10:34.000Z
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
1
2017-04-22T15:22:16.000Z
2019-01-08T04:58:23.000Z
src/channel_utility.cpp
tangzhenquan/libatbus
a842439ffc6b9c05a94e79f52bf3b1a5c57da0a2
[ "BSL-1.0", "MIT" ]
20
2015-11-03T08:48:41.000Z
2021-03-16T05:10:37.000Z
/** * @brief 所有channel文件的模式均为 c + channel<br /> * 使用c的模式是为了简单、结构清晰并且避免异常<br /> * 附带c++的部分是为了避免命名空间污染并且c++的跨平台适配更加简单 */ #include <cstdio> #include "common/string_oprs.h" #include "detail/libatbus_channel_export.h" namespace atbus { namespace channel { bool make_address(co...
32.849057
133
0.517519
tangzhenquan
4a7d2f0f81da0a1387ae06aa8e8f17b5710c0306
1,835
cpp
C++
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/StateReference.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
/* Copyright 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
35.980392
87
0.666485
marcelamelara
4a7e596a5d27f1c9928fb8c3adaa3be1b853d2ab
2,258
cpp
C++
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
9
2018-01-11T10:41:25.000Z
2020-01-14T06:49:56.000Z
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
1
2018-06-29T22:03:53.000Z
2018-06-30T00:04:19.000Z
src/util/generic.cpp
nabijaczleweli/pb-cpp
ccf28ba3dd7a3ec7898bc155f6b14755cc79a8f3
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2017 nabijaczleweli // 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...
34.738462
141
0.687777
nabijaczleweli
4a7fe3eb7b966c5b6159f9bfc90663d9a73e9f2f
214
cpp
C++
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
1
2021-03-16T05:22:46.000Z
2021-03-16T05:22:46.000Z
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
null
null
null
.history/src/log_20200716172848.cpp
zoedsy/LibManage
590311fb035d11daa209301f9ce76f53ccae7643
[ "MIT" ]
null
null
null
/* * @Author: your name * @Date: 2020-07-16 17:28:47 * @LastEditTime: 2020-07-16 17:28:48 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \LibManage\src\log.cpp */
23.777778
39
0.672897
zoedsy
4a821fb67de99b4fe87185440310b4838847a6b5
10,005
hpp
C++
benchmark/bm_conv.hpp
matazure/mtensor
4289284b201cb09ed1dfc49f44d6738751affd63
[ "MIT" ]
82
2020-04-11T09:33:36.000Z
2022-03-23T03:47:25.000Z
benchmark/bm_conv.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
28
2017-04-26T17:12:35.000Z
2019-04-08T04:05:24.000Z
benchmark/bm_conv.hpp
Lexxos/mtensor
feb120923dad3fb4ae3b31dd09931622a63c3d06
[ "MIT" ]
22
2017-01-10T14:57:29.000Z
2019-12-17T08:55:59.000Z
#pragma once #include "bm_config.hpp" namespace _tmp { #ifndef MATAZURE_CUDA using matazure::for_index; using matazure::tensor; #else using matazure::cuda::for_index; using matazure::cuda::tensor; #endif } template <typename tensor_type> inline void bm_tensor2f_general_roll_conv(benchmark::State& state) { const ...
41.004098
96
0.625487
matazure
4a822b402279cba9624e983f628f28602c057281
776
hpp
C++
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/ui/AccessPointMiniGameStatus.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/game/ui/HackingMinigameState.hpp> #include <RED4ext/Types/generated/red/Event.hpp> namespace RED4ext { namespace game::ui { struct ...
29.846154
74
0.770619
Cyberpunk-Extended-Development-Team
4a8246c58975a1961c4e550db4be876bfd9ea2b7
1,009
cpp
C++
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
43
2020-09-04T15:21:40.000Z
2022-03-23T03:53:02.000Z
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
15
2020-09-17T18:06:15.000Z
2022-01-24T17:14:36.000Z
tests/regression/ConnectedButIndepIters/test.cpp
SusanTan/noelle
33c9e10a20bc59590c13bf29fb661fc406a9e687
[ "MIT" ]
23
2020-09-04T15:50:09.000Z
2022-03-25T13:38:25.000Z
#include <stdio.h> #include <stdlib.h> #include <math.h> long long int computePowerSeries (long long int *a, long long int iters){ long long int s =0; long long int t =0; long long int u =0; long long int v =0; for (auto i=0; i < iters; ++i){ s += a[i]; for (long long int j=0; j < iters / 10; ++j){ ...
19.784314
86
0.531219
SusanTan
4a88056dc75fcc250ddeaff290464f9d7946f921
2,606
cpp
C++
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
1
2021-01-22T20:02:42.000Z
2021-01-22T20:02:42.000Z
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
null
null
null
apps/unit_tests/test_fft_correctness_2.cpp
lzhang714/SIRIUS-develop
c07eefe995c417fb4247e8ddaf138784189523be
[ "BSD-2-Clause" ]
null
null
null
#include <sirius.h> /* test FFT: tranfrom random function to real space, transfrom back and compare with the original function */ using namespace sirius; int test_fft_complex(cmd_args& args, device_t fft_pu__) { double cutoff = args.value<double>("cutoff", 40); matrix3d<double> M = {{1, 0, 0}, {0, 1, 0}, {0...
29.954023
118
0.625096
lzhang714
4a8d78519d0a45746d6dc0bec068d0db8febe0db
2,665
cpp
C++
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
course_project/ruledsurfacebycardinalspline.cpp
Dukend/Computer-graphics
b8a575f3e56e49399d2be1c62ebb96e85236971f
[ "MIT" ]
null
null
null
#include "ruledsurfacebycardinalspline.h" RuledSurfaceByCardinalSpline::RuledSurfaceByCardinalSpline() { QObject::connect(&fLine, SIGNAL(splineChanged()), this, SLOT(acceptChanges())); QObject::connect(&sLine, SIGNAL(splineChanged()), this, SLOT(acceptChanges())); setFrameColor(Qt::black); setMa...
38.071429
130
0.644653
Dukend
4a8f7d80227ed94b1e7fb6fff07021344469f7b3
432
hpp
C++
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
addons/external_intercom/ACEActions.hpp
severgun/task-force-arma-3-radio
1379327a6ff71948dae692ca7a43876c9031e90e
[ "RSA-MD" ]
null
null
null
#define ADD_PLAYER_SELF_ACTIONS \ class ACE_SelfActions { \ class TFAR_Radio { \ condition = QUOTE((([] call TFAR_fnc_haveSWRadio) || {([] call TFAR_fnc_haveLRRadio) || !isNil {_player getVariable 'TFAR_ExternalIntercomVehicle'}})); \ insertChildren = QUOTE(([_player] call tfar_core_fnc_getOwnRadios...
48
161
0.703704
severgun
4a918c4b2908814fd4957711da9745ba73fe4e0a
6,196
cc
C++
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
32
2017-11-27T03:04:44.000Z
2022-01-21T17:03:40.000Z
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
30
2017-11-10T09:47:16.000Z
2018-11-21T22:36:47.000Z
Graphs/OpenGL/GL_FBO.cc
TrevorShelton/cplot
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
[ "MIT" ]
20
2018-01-05T17:15:11.000Z
2021-07-30T14:11:01.000Z
#include "GL_FBO.h" #include <cassert> #ifdef TXDEBUG #define DEBUG_TEXTURES(x) std::cerr << x << std::endl #else #define DEBUG_TEXTURES(x) #endif bool GL_FBO::init(GL_Context context, unsigned w_, unsigned h_, int bpp, bool depth_buffer) { assert(context); GL_CHECK; bool ok = (w_ > 0 && h_ > 0); if (ok && !fb...
25.924686
109
0.668173
TrevorShelton
4a93a40e263c5ac6e1428f34e9552bb928963986
1,083
cpp
C++
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/16602.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 5e18; const long long ...
23.543478
46
0.611265
python-programmer1512
4a94280f6546dd03a58e1186bf9d6c5b4990ddc5
782
cpp
C++
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
PAT_LevelA/1036_Boys_vs_Girls.cpp
MarkIlV/PAT_Answers
89eacf085069dc03b684d431f51715c491dbb984
[ "MIT" ]
null
null
null
#include "cstdio" struct Stu{ char name[11]; char sex; char id[11]; int grade; }male,female,tmp; int main() { int n; male.grade = 101; female.grade = -1; if (scanf("%d",&n)==1); for (int i = 0; i < n; ++i) { if (scanf("%s %c %s %d",tmp.name,&tmp.sex,tmp.id,&tmp.grade)==1...
24.4375
73
0.531969
MarkIlV
4a946ecb9d43117814d1c8b8c18b6fc8b861d0aa
875
cpp
C++
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercies
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-05-11T17:26:24.000Z
2022-01-30T17:48:25.000Z
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
null
null
null
CPP/ex_2.7.9_multidem.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-01-24T22:15:21.000Z
2020-12-21T10:23:52.000Z
#include <iostream> using namespace std; int ** transpose(const int * const * m, unsigned rows, unsigned cols) { int ** mt = new int * [cols]; mt[0] = new int[cols * rows]; for(unsigned i = 1; i != cols; i++) { mt[i] = mt[i - 1] + rows; } for(unsigned i = 0; i < rows; i++) { for(unsigned j = ...
19.886364
70
0.459429
w1ld
4a9e53065f732e1ee8912b7cb0a5ed331289cc55
129
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/unsupported/test/BVH.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:ccc4d628c6edaf86b7ac04d255d639790b9c39147a94e8d7950eba698898b910 size 7182
32.25
75
0.883721
initialz
4aa05e4d234e239b2a9a32382fee6d7dd4e33fcf
1,047
cpp
C++
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T07:59:13.000Z
2021-07-20T02:06:28.000Z
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
null
null
null
Back Tracking/gen-ip.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T06:39:53.000Z
2021-07-20T02:09:18.000Z
set <string> sans; void genip(string s,int dots,int mark,string ans) { if(mark==s.size()&&dots==3) { int c=0,m=0; if(ans[ans.size()-1]=='.') return; for(int j=ans.size()-1;j>=0;j--) { if(ans[j]=='.') { // cout<<c<<endl; c=0; m=0; } else { c+=pow(10,m)*(ans[j]-'0'); ...
12.925926
71
0.464183
richidubey
4aa8f23ecf8e261d28d9cef01e41991beb451f26
565
cpp
C++
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
source/bounded/detail/arithmetic/left_shift.cpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2017. // 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 <bounded/detail/arithmetic/left_shift.hpp> #include <bounded/detail/class.hpp> #include "../../homogeneous_equals.hpp" nam...
31.388889
95
0.723894
davidstone
4aa9ac69b8425c90eab363e74e1ef03e0533a6c8
255
cpp
C++
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
1
2019-08-16T03:30:09.000Z
2019-08-16T03:30:09.000Z
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-kext_return
a640bd791ea316baa2b6114fa7976460f7c80e21
[ "BSL-1.0" ]
null
null
null
#include <pqrs/osx/os_kext_return.hpp> int main(void) { { pqrs::osx::os_kext_return r(kOSKextReturnSystemPolicy); std::cout << r << std::endl; } { pqrs::osx::os_kext_return r(54321); std::cout << r << std::endl; } return 0; }
15.9375
59
0.6
pqrs-org
4ab9ca28ba453ee2f6a5e6f4a41dc49c5233eb49
6,805
cc
C++
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
7
2019-09-10T12:16:08.000Z
2021-05-06T16:01:59.000Z
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
72
2019-09-04T15:00:25.000Z
2021-12-02T20:47:29.000Z
ChiModules/LinearBoltzmannSolver/lbs_compute_balance.cc
Naktakala/chi-tech
df5f517d5aff1d167db50ccbcf4229ac0cb668c4
[ "MIT" ]
41
2019-09-02T15:33:31.000Z
2022-02-10T13:26:49.000Z
#include "lbs_linear_boltzmann_solver.h" #include "ChiMath/SpatialDiscretization/FiniteElement/PiecewiseLinear/pwl.h" #include "chi_log.h" extern ChiLog& chi_log; #include <iomanip> //################################################################### /**Zeroes all the outflow data-structures required to compute *...
40.029412
80
0.554739
zachhardy
4ab9cd7af36551920e7b49b6d693287ea8eb133e
5,328
cpp
C++
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
12
2015-01-21T07:02:23.000Z
2021-11-15T19:47:53.000Z
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
null
null
null
src/AnimationSystem.cpp
SimonWallner/kocmoc-demo
a4f769b5ed7592ce50a18ab93c603d4371fbd291
[ "MIT", "Unlicense" ]
3
2017-03-04T08:50:46.000Z
2020-10-23T14:27:04.000Z
#include "AnimationSystem.hpp" #include "Property.hpp" #include "utility.hpp" #include <fstream> #include <gtx/spline.hpp> using namespace kocmoc; AnimationSystem::AnimationSystem(void) { fullPath = (std::string)util::Property("scriptsRootFolder") + (std::string)util::Property("animationFileName"); } AnimationSyst...
22.481013
125
0.636637
SimonWallner
38595c4df2496111b0c7d8796862dd51dbc6c958
7,109
hh
C++
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
null
null
null
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
5
2020-09-01T12:16:28.000Z
2020-09-01T12:21:41.000Z
src/kt84/graphics/phong_tessellation.hh
honoriocassiano/skbar
e2a8fca752f5a2f9d9a32f19cbe1f9032a0e1ac4
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> #include <vector> #include <tuple> #include <Eigen/Core> #include "../geometry/PointNormal.hh" namespace kt84 { namespace phong_tessellation { enum struct Mode { TRIANGLES = 0, LINES, TRIANGLE_FAN, LINE_LOOP, LINE_STRIP }; inl...
37.81383
146
0.517654
honoriocassiano
385c5629f0871645f8db23744cfeb2928c20aa6b
52,957
cpp
C++
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoCore/src/Math/Matrix.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include <math.h> #include <assert.h> #include <string.h> #include <LuminoCore/Math/Math.hpp> #include <LuminoCore/Math/Vector3.hpp> #include <LuminoCore/Math/Vector4.hpp> #include <LuminoCore/Math/Quaternion.hpp> #include <LuminoCore/Math/AttitudeTransform.hpp> #include <LuminoCore/Math/Plane.hpp> #include <LuminoCo...
30.575635
368
0.465548
GameDevery
3862f1bf18c94812188ef2a7aabf38130014edd7
9,408
cc
C++
test/test_psend_precv.cc
mpi-advance/Exhanced-MPL-tiny-
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
2
2021-10-13T03:55:48.000Z
2022-01-28T15:33:54.000Z
test/test_psend_precv.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
test/test_psend_precv.cc
mpi-advance/mpl-subset
9585fdc337a69c207a7c771d850b5ad7542666fa
[ "BSD-3-Clause" ]
null
null
null
#define BOOST_TEST_MODULE psend_precv #include <boost/test/included/unit_test.hpp> #include <limits> #include <cstddef> #include <complex> #include <mpl/mpl.hpp> template<typename T> bool psend_precv_test(const T &data) { const mpl::communicator &comm_world = mpl::environment::comm_world(); if (comm_world.size() ...
41.813333
84
0.713861
mpi-advance
386658bfe8227e7876d887bdf5eec76f45a745ca
742
cc
C++
src/lingx/core/path.cc
chrisxjzhu/lingx
703d3b1b71b96ee87a8db0fdb37c786da0e299dd
[ "MIT" ]
null
null
null
src/lingx/core/path.cc
chrisxjzhu/lingx
703d3b1b71b96ee87a8db0fdb37c786da0e299dd
[ "MIT" ]
null
null
null
src/lingx/core/path.cc
chrisxjzhu/lingx
703d3b1b71b96ee87a8db0fdb37c786da0e299dd
[ "MIT" ]
1
2021-05-21T10:04:07.000Z
2021-05-21T10:04:07.000Z
#include <lingx/core/path.h> namespace lnx { Path Path::parent_path() const { std::string path = path_; size_t pos = path_.rfind(Separator); if (pos == std::string::npos) return Path(""); while (pos != 0 && path_[pos] == Separator) --pos; return Path(path_.substr(0, pos + 1)); }...
19.025641
58
0.576819
chrisxjzhu
38685c15ac073f376d10a12e9c1ded8f7eaf85dd
1,395
cpp
C++
backtracking/knight_tour.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
backtracking/knight_tour.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
backtracking/knight_tour.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
#include <bits/stdc++.h> using namespace std; #define N 8 int isSafe(int x, int y, int sol[N][N]){ return (x >= 0 && x < N && y >= 0 && y < N && sol[x][y] == -1); } void printSolution(int sol[N][N]){ for(int x = 0; x < N; x++){ for (int y = 0; y < N; y++) cout<<sol[x][y]<<" "; cout<< endl; } } int sol...
22.5
95
0.566308
kashyap99saksham
386e5c3806e7291df6367a1e3b47f4353e6aa0e2
408
cpp
C++
cpp/src/dp/util/error.cpp
robotalks/think
a734a6496b796e4e4435cc9214e6ede9847dc3c3
[ "MIT" ]
null
null
null
cpp/src/dp/util/error.cpp
robotalks/think
a734a6496b796e4e4435cc9214e6ede9847dc3c3
[ "MIT" ]
null
null
null
cpp/src/dp/util/error.cpp
robotalks/think
a734a6496b796e4e4435cc9214e6ede9847dc3c3
[ "MIT" ]
null
null
null
#include <unistd.h> #include <errno.h> #include <cstring> #include "dp/util/error.h" namespace dp { using namespace std; string _error_msg_at(const char* fn, int line, const string& prefix) { char loc[32], buf[32]; sprintf(loc, ":%d: ", line); sprintf(buf, ": (%d) ", errno); re...
25.5
89
0.598039
robotalks
386f282e2d117fda6f6fa0f7193db7d3459fe6c8
13,700
cpp
C++
Source/Core/GL/GLExtensions.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Core/GL/GLExtensions.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Core/GL/GLExtensions.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
#include "CommonHeader.h" #pragma warning(push) #pragma warning(disable:4191) // unsafe conversion from 'type of expression' to 'type required' PFNGLUNIFORM1FPROC glUniform1f = 0; PFNGLUNIFORM2FPROC glUniform2f = 0; PFNGLUNIFORM3FPROC glUniform3f = 0; PFNGLUNIFORM4FP...
69.543147
128
0.641752
nathanlink169
386fbb5ebfeb5c64fc380fef5c0fd62cf9cc7afe
2,520
cc
C++
DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
DomainSymbolicPlanner/smartsoft/src-gen/DomainSymbolicPlanner/CommSymbolicPlannerRequestACE.cc
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
39.375
113
0.746429
canonical-robots
3873f9366bb3c16c9822e7719cbbe25903449864
14,817
cpp
C++
OpenCLExample/DeviceQuery.cpp
zwakrim/mastethesis
c687e2389dbb81f50066aef881076161aa3079b9
[ "MIT" ]
null
null
null
OpenCLExample/DeviceQuery.cpp
zwakrim/mastethesis
c687e2389dbb81f50066aef881076161aa3079b9
[ "MIT" ]
null
null
null
OpenCLExample/DeviceQuery.cpp
zwakrim/mastethesis
c687e2389dbb81f50066aef881076161aa3079b9
[ "MIT" ]
null
null
null
#include <exception> #include <iostream> #include <sstream> #include <string> #include <vector> #define __CL_ENABLE_EXCEPTIONS #include <CL/cl.hpp> const bool DEBUG = false; using namespace std; const char *readableStatus(cl_int status); void showPlatformAndDeviceInfo(const cl::Platform& platform, int...
40.373297
137
0.694878
zwakrim
38754964ae7b296390a58f638cfbae82335574bf
957
cc
C++
modificacion/src/complejos.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz
f1b8daf92fc55061d8bf73858653d3b336420b03
[ "MIT" ]
null
null
null
modificacion/src/complejos.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz
f1b8daf92fc55061d8bf73858653d3b336420b03
[ "MIT" ]
null
null
null
modificacion/src/complejos.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-Saul-Sosa-Diaz
f1b8daf92fc55061d8bf73858653d3b336420b03
[ "MIT" ]
null
null
null
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @author Saúl Sosa * @date 3.enero.2021 * @brief Calculadora elemental de números complejos */ #include "complejo.h" int main(int argc, char* argv[]){ Usage(argc, argv);...
29
94
0.615465
ULL-ESIT-IB-2020-2021
3876b4ce2d04a36444d5a0d33c88120f9f0b064f
297
cpp
C++
sandbox/t_GVectorsGen1.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
1
2018-05-17T09:01:12.000Z
2018-05-17T09:01:12.000Z
sandbox/t_GVectorsGen1.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
sandbox/t_GVectorsGen1.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
#include "../common_pspw_cuda.h" void GVectorsGen1(); int main(int argc, char **argv) { NR1 = 20; NR2 = 20; NR3 = 20; GCUT = 88.855355; B1[0] = 1.0; B1[1] = 0.0; B1[2] = 0.0; B2[0] = 0.0; B2[1] = 1.0; B2[2] = 0.0; B3[0] = 0.0; B3[1] = 0.0; B3[2] = 1.0; GVectorsGen1(); return 0; }
16.5
39
0.515152
f-fathurrahman
38795cb08411dd8cba123633fe41d9210f15ea4a
7,783
cpp
C++
libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
2
2017-03-25T18:09:17.000Z
2017-05-22T08:14:48.000Z
libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
null
null
null
libs/opengl/src/CGeneralizedEllipsoidTemplate.cpp
feroze/mrpt-shivang
95bf524c5e10ed2e622bd199f1b0597951b45370
[ "BSD-3-Clause" ]
1
2018-07-29T09:40:46.000Z
2018-07-29T09:40:46.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
30.884921
108
0.602724
feroze
387a4cac9693d42172ca2c7f43343f335500188c
3,342
cpp
C++
Code/Lib/golSerialSharedGame.cpp
carlosparaciari/ParallelGameOfLife
98b0251446adca123b7f2469073c5322c81b3824
[ "BSD-3-Clause" ]
1
2021-02-01T13:10:08.000Z
2021-02-01T13:10:08.000Z
Code/Lib/golSerialSharedGame.cpp
carlosparaciari/ParallelGameOfLife
98b0251446adca123b7f2469073c5322c81b3824
[ "BSD-3-Clause" ]
null
null
null
Code/Lib/golSerialSharedGame.cpp
carlosparaciari/ParallelGameOfLife
98b0251446adca123b7f2469073c5322c81b3824
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= GameOfLife: Let us mix together the Game of Life and parallel programming. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied war...
30.66055
119
0.61939
carlosparaciari
387a9903da14d6a0119ccaf26e2d63c2435d054b
405
cc
C++
src/runner.cc
dkozinski/uvgRTP
c74d6a75a7c226cec919ab2639d13f6a770d069c
[ "BSD-2-Clause" ]
null
null
null
src/runner.cc
dkozinski/uvgRTP
c74d6a75a7c226cec919ab2639d13f6a770d069c
[ "BSD-2-Clause" ]
null
null
null
src/runner.cc
dkozinski/uvgRTP
c74d6a75a7c226cec919ab2639d13f6a770d069c
[ "BSD-2-Clause" ]
null
null
null
#include "runner.hh" uvg_rtp::runner::runner(): active_(false), runner_(nullptr) { } uvg_rtp::runner::~runner() { active_ = false; if (runner_) delete runner_; } rtp_error_t uvg_rtp::runner::start() { active_ = true; return RTP_OK; } rtp_error_t uvg_rtp::runner::stop() { active_ = ...
11.911765
36
0.624691
dkozinski
387abae9c3f8e233b5629d4945a89830d4880884
1,388
cpp
C++
shadows-of-the-knight/main_codingame.cpp
dubzzz/property-based-testing-cpp
418c0e952cdb50633bd43e73faa545e52cc1af63
[ "MIT" ]
11
2018-03-14T17:12:10.000Z
2021-12-12T04:15:53.000Z
shadows-of-the-knight/main_codingame.cpp
dubzzz/property-based-testing-cpp
418c0e952cdb50633bd43e73faa545e52cc1af63
[ "MIT" ]
null
null
null
shadows-of-the-knight/main_codingame.cpp
dubzzz/property-based-testing-cpp
418c0e952cdb50633bd43e73faa545e52cc1af63
[ "MIT" ]
3
2019-06-19T16:45:19.000Z
2021-07-13T10:22:16.000Z
#include <cstddef> #include <iostream> #include <string> class Space { const std::size_t m_dim_x, m_dim_y; std::size_t m_current_x, m_current_y; std::string m_hint; public: Space( std::size_t dim_x, std::size_t dim_y, std::size_t current_x, std::size_t current_y) : m_dim_x(dim_x) , m_dim...
20.115942
56
0.561239
dubzzz
387b842d71f1e9ad201cbe78cc367cbd79d90234
9,579
cpp
C++
silkrpc/core/storage_walker.cpp
torquem-ch/silkrpc
38441b1852345aae846071e36fc1a4745968caeb
[ "Apache-2.0" ]
9
2021-03-08T13:26:46.000Z
2022-02-25T23:23:16.000Z
silkrpc/core/storage_walker.cpp
torquem-ch/silkrpc
38441b1852345aae846071e36fc1a4745968caeb
[ "Apache-2.0" ]
151
2020-11-22T15:42:58.000Z
2022-03-31T20:12:18.000Z
silkrpc/core/storage_walker.cpp
torquem-ch/silkrpc
38441b1852345aae846071e36fc1a4745968caeb
[ "Apache-2.0" ]
5
2021-03-15T11:01:34.000Z
2022-03-12T15:45:00.000Z
/* Copyright 2020 The Silkrpc 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 agreed t...
40.935897
112
0.573233
torquem-ch
387f24f11bd3321cba759133bb1cf5b63ed1d26b
1,945
cpp
C++
Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
9
2020-09-30T17:57:18.000Z
2021-11-14T18:27:49.000Z
Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
1
2020-10-06T11:15:20.000Z
2021-01-02T11:35:57.000Z
Heap/06 HeapifyFunctionFasterMethodtoCreateHeap.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
13
2020-09-30T17:56:50.000Z
2022-03-15T11:07:08.000Z
#include <iostream> using namespace std; void swap(int A[], int i, int j){ int temp = A[i]; A[i] = A[j]; A[j] = temp; } int Delete(int A[], int n){ int x = A[0]; // Max element A[0] = A[n-1]; int i = 0; int j = 2 * i + 1; while (j < n-1){ // Compare lef...
22.102273
82
0.382519
GajuuKool
38814d3e6fa1fed332afb5b4d0a555dca6af6b20
520
cpp
C++
sem1/hw6/hw6.1/hw6.1/main.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
1
2018-11-29T11:12:51.000Z
2018-11-29T11:12:51.000Z
sem1/hw6/hw6.1/hw6.1/main.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
null
null
null
sem1/hw6/hw6.1/hw6.1/main.cpp
Daria-Donina/Homework
8853fb65c7a0ad62556a49d12908098af9caf7ed
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include "stack.h" #include "resultCounting.h" #include "test.h" using namespace std; int main() { if (test()) { cout << "Tests passed" << endl; } else { cout << "Tests failed" << endl; } Stack *stack = createStack(); cout << "Enter postfix expression: "; string expr...
17.931034
73
0.659615
Daria-Donina
3885337c7a198cf05f1321f6c5c9e94031e80a53
422
cpp
C++
src/lib/parser/ParserParamInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
src/lib/parser/ParserParamInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
src/lib/parser/ParserParamInstr.cpp
WasmVM/wass
e35962e1637a1445ab8ad97e5a06ee4d59b49fd7
[ "BSD-3-Clause" ]
null
null
null
#include <parser/ParserParamInstr.hpp> #include <Util.hpp> #include <structure/BaseInstr.hpp> ParserParamInstr::ParserParamInstr(ParserContext& context){ if(Util::matchString(context.cursor, context.end, "select")){ context.cursor += 6; emplace<SelectInstr>(SelectInstr()); }else if(Util::matchString(conte...
28.133333
67
0.71564
WasmVM
388b7b699bba660dd4b5b1eb9027048e978008b5
3,764
cpp
C++
Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
25
2017-08-05T07:29:00.000Z
2022-02-02T06:28:27.000Z
Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
null
null
null
Extensions/GlyphKinect2/Kinect2SkeletonActor.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
9
2018-07-14T08:40:29.000Z
2021-03-19T08:51:30.000Z
//-------------------------------------------------------------------------------- // This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed // under the MIT License, available in the root of this distribution and // at the following URL: // // http://www.opensource.org/licenses/mit-license.ph...
47.64557
112
0.623804
zgpxgame
388c6d66c74c568fb14315b1f8a71f347fa27056
2,645
hh
C++
include/ignition/sensors/BrownDistortionModel.hh
david-alejo/ign-sensors
13308478b6f88c99a3685181439ab51ed7ed63f6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/sensors/BrownDistortionModel.hh
david-alejo/ign-sensors
13308478b6f88c99a3685181439ab51ed7ed63f6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
include/ignition/sensors/BrownDistortionModel.hh
david-alejo/ign-sensors
13308478b6f88c99a3685181439ab51ed7ed63f6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2022 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...
30.056818
75
0.697921
david-alejo
388e8620647ac8baecffe6a25f64b80296a6dc33
1,604
cpp
C++
assignments/a5/main.cpp
elipwns/Data-Structures
6c9d6da1254aefd31dfed5edad5987a70c4423a9
[ "MIT" ]
null
null
null
assignments/a5/main.cpp
elipwns/Data-Structures
6c9d6da1254aefd31dfed5edad5987a70c4423a9
[ "MIT" ]
null
null
null
assignments/a5/main.cpp
elipwns/Data-Structures
6c9d6da1254aefd31dfed5edad5987a70c4423a9
[ "MIT" ]
null
null
null
/*********************************************************** * Author: eli kloft * Lab Number: a5 * Filename: a5.cpp * Date Created: 4/23/13 * Modifications: * * Overview: * a wrapper around the double linked list class in the form of * an iterator. * * Input: * * * Output: * tests the various funcitons **********...
22.277778
73
0.604115
elipwns
389193fd20eeddfa2f8d9e99338ae3d1b6913402
3,463
cpp
C++
DNP3Test/TestVtoLoopbackIntegration.cpp
rajive/dnp3
f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
DNP3Test/TestVtoLoopbackIntegration.cpp
rajive/dnp3
f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
DNP3Test/TestVtoLoopbackIntegration.cpp
rajive/dnp3
f5d8dbcec2085eaeb980e66d07df19b7bb9c20aa
[ "ECL-2.0", "Apache-2.0" ]
2
2019-03-31T15:27:05.000Z
2019-09-17T16:12:53.000Z
/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. Green Enery * Corp licenses this file to you under the Apache License, Version 2.0 (the * "Lic...
32.980952
120
0.775628
rajive
3898a81e317b195c4634e9ccd30ba4faf4928c02
2,429
hpp
C++
windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
windows/include/boost/spirit/home/karma/nonterminal/meta_grammar.hpp
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2001-2008 Hartmut Kaiser // Copyright (c) 2001-2007 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) #if !defined(BOOST_SPIRIT_KARMA_META_GRAMMAR_MAR_05_2007_0436PM) #...
33.273973
82
0.517085
jaredhoberock
389edfecf3adce37290f756b3fde829598f7c082
1,222
cpp
C++
src/Cancel.11/OutpThrd.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
2
2021-11-23T10:43:45.000Z
2022-01-03T14:51:32.000Z
src/Cancel.11/OutpThrd.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
null
null
null
src/Cancel.11/OutpThrd.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
1
2020-10-28T15:11:55.000Z
2020-10-28T15:11:55.000Z
/* * OutpThrd.cpp * * Sample code for "Multithreading Applications in Win32" * This is from Chapter 11. This sample is discussed in * the text, but there is no associated listing. * * Launch a dialog in another thread using both * MFC and Win32. Demonstrate the related problems. */ #include "stdafx.h" #includ...
22.218182
77
0.667758
jimbeveridge
389f714370be975472e2f654a71ef11cd3a31abf
399
hpp
C++
library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$2E938192DD5FA5274C06DCBFB060397F.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <__GENERIC_BINDING_INFO.hpp> START_ATF_NAMESPACE union $2E938192DD5FA5274C06DCBFB060397F { void **pAutoHandle; void **pPrimitiveHandle;...
24.9375
108
0.741855
lemkova
38a14db8c58a9b74ebff7e08eb548894d3ea62aa
655
hpp
C++
headers/Helpers.hpp
DetlevCM/chemical-kinetics-solver
7010fd6c72c29a0d912ad0c353ff13a5b643cc04
[ "MIT" ]
3
2015-07-03T20:14:00.000Z
2021-02-02T13:45:31.000Z
headers/Helpers.hpp
DetlevCM/chemical-kinetics-solver
7010fd6c72c29a0d912ad0c353ff13a5b643cc04
[ "MIT" ]
null
null
null
headers/Helpers.hpp
DetlevCM/chemical-kinetics-solver
7010fd6c72c29a0d912ad0c353ff13a5b643cc04
[ "MIT" ]
4
2017-11-09T19:49:18.000Z
2020-08-04T18:29:28.000Z
/* * Helpers.h * * Created on: 14 May 2016 * Author: DetlevCM */ #ifndef HEADERS_HELPERS_HPP_ #define HEADERS_HELPERS_HPP_ string Strip_Single_Line_Comments( string input , vector<string> tokens ); vector< string > Tokenise_String_To_String( string input, string tokens ); void Tokenise_String...
15.595238
43
0.729771
DetlevCM
38a4d815f10abe02d871cd6aa75742802053f007
613
cpp
C++
Baekjoon/4435.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/4435.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
Baekjoon/4435.cpp
Twinparadox/AlgorithmProblem
0190d17555306600cfd439ad5d02a77e663c9a4e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int t, g, s, gan[6] = { 1,2,3,3,4,10 }, sa[7] = { 1,2, 2,2,3,5,10 }, ganScore, saScore; cin >> t; for (int i = 1; i <= t; i++) { ganScore = saScore = 0; for (int i = 0; i < 6; i++) { cin >> g; ganScore += gan[i] * g; } for (int i = 0; i < 7; ...
20.433333
88
0.508972
Twinparadox
38a853c44610e67fd150d156764179bd78e6e502
5,874
cpp
C++
UMLEditor/UMLLabelPropertyDialog.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
null
null
null
UMLEditor/UMLLabelPropertyDialog.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
33
2018-09-14T21:58:20.000Z
2022-01-12T21:39:22.000Z
UMLEditor/UMLLabelPropertyDialog.cpp
pmachapman/Tulip
54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a
[ "Unlicense" ]
null
null
null
/* ========================================================================== Class : CUMLLabelPropertyDialog Author : Johan Rosengren, Abstrakt Mekanik AB Date : 2004-04-29 Purpose : "CUMLLabelPropertyDialog" is a dialog box wrapper derived from "CDiagramPropertyDlg", used by "CUMLEntity"- deriv...
25.876652
77
0.575928
pmachapman
38b2d9be5f12e42bd1ad20e6df8165438fe6068b
1,308
hpp
C++
Source/Gui/DictionaryPanel.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
4
2018-12-06T01:20:50.000Z
2019-08-04T10:19:23.000Z
Source/Gui/DictionaryPanel.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
Source/Gui/DictionaryPanel.hpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
/** * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #pragma once #include "Gui/Panel.hpp" #include "Gui/OptionBox.hpp" class QMutex; namespace Dixter { enum ...
17.917808
78
0.66208
alvinahmadov
38b3726773f8ecbccf841798e0925e4d1a1dc220
519
hpp
C++
include/Micron/Prim.hpp
khuldraeseth/micron
e3f55c69a5546c4bba2b306775b8271880677640
[ "Unlicense" ]
null
null
null
include/Micron/Prim.hpp
khuldraeseth/micron
e3f55c69a5546c4bba2b306775b8271880677640
[ "Unlicense" ]
null
null
null
include/Micron/Prim.hpp
khuldraeseth/micron
e3f55c69a5546c4bba2b306775b8271880677640
[ "Unlicense" ]
null
null
null
#pragma once #include <functional> #include <utility> #include <Data/Either.hpp> #include <Data/String.hpp> #include <Micron/Error.hpp> template <typename A> struct Micron { using Fn = std::function<std::pair<String,Either<Error,A>>(String)>; Fn fn {}; }; auto const runMicron = [](auto ma, auto s) { ...
19.961538
72
0.680154
khuldraeseth
38b682f70b633abba3eba5436fe16bb46d62e197
2,473
cpp
C++
buildinfo.cpp
FrostDragon/JenkinsPlugin
a3179a188ef4b5d4bd57adec5a765d485faa7ac4
[ "MIT" ]
2
2020-06-25T21:58:45.000Z
2021-01-07T11:20:37.000Z
buildinfo.cpp
FrostDragon/JenkinsPlugin
a3179a188ef4b5d4bd57adec5a765d485faa7ac4
[ "MIT" ]
4
2016-05-25T09:35:47.000Z
2016-06-20T00:20:32.000Z
buildinfo.cpp
FrostDragon/JenkinsPlugin
a3179a188ef4b5d4bd57adec5a765d485faa7ac4
[ "MIT" ]
1
2020-06-25T20:49:38.000Z
2020-06-25T20:49:38.000Z
#include "buildinfo.h" #include "jenkinspluginconstants.h" using namespace JenkinsCI::Internal; QString BuildInfo::url() const { return _url; } void BuildInfo::setUrl(const QString &url) { _url = url; } int BuildInfo::number() const { return _number; } void BuildInfo::setNumber(int number) { _number = number; } Q...
30.9125
90
0.708856
FrostDragon
38b9048b9d15c7584d4a2209bada86d74b7c2e22
1,834
cpp
C++
src/checker.cpp
ammarfaizi2/ProxyScraper
3a303f70d283833c96b3dd6c9b52c322865b946f
[ "MIT" ]
3
2018-10-14T17:27:49.000Z
2018-10-19T22:39:54.000Z
src/checker.cpp
cppid/ProxyScraper
3a303f70d283833c96b3dd6c9b52c322865b946f
[ "MIT" ]
null
null
null
src/checker.cpp
cppid/ProxyScraper
3a303f70d283833c96b3dd6c9b52c322865b946f
[ "MIT" ]
1
2018-10-15T07:15:52.000Z
2018-10-15T07:15:52.000Z
#include <sys/file.h> #include <sys/wait.h> #include <unistd.h> #include "lib/TeaCurl.h" #include "lib/TeaPCRE.h" int check(int argc, char *argv[]) { int worker_limit = 5; for (int i = 0; i < 2; ++i) { int pid = fork(); if (pid == 0) { char *filename = (char*)malloc(64); sprintf(argv[0], "checkerd_run ...
21.833333
93
0.502181
ammarfaizi2
38ba50287c2408a1e00f6095ad3194f217dd4ac7
1,054
cpp
C++
Project/ModuleRNG.cpp
albertllopart/GTi-Engine-Reborn
87d3137866488075f534e50a9480180d1f6354c0
[ "MIT" ]
1
2020-03-19T18:07:32.000Z
2020-03-19T18:07:32.000Z
Project/ModuleRNG.cpp
albertllopart/GTi-Engine-Reborn
87d3137866488075f534e50a9480180d1f6354c0
[ "MIT" ]
null
null
null
Project/ModuleRNG.cpp
albertllopart/GTi-Engine-Reborn
87d3137866488075f534e50a9480180d1f6354c0
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleRNG.h" #include "parson/parson.h" #include "Glew/include/glew.h" #include <list> ModuleRNG::ModuleRNG(Application* app, bool start_enabled) : Module(app, start_enabled) { name = "Rng"; } // Destructor ModuleRNG::~ModuleRNG() {} // Called before render is...
15.969697
87
0.712524
albertllopart
38bbab352f6e8387485c5f0c5ce286419199909b
4,460
cpp
C++
source/game/GLSLProgram.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
source/game/GLSLProgram.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
source/game/GLSLProgram.cpp
WarzesProject/2dgame
7c398505bd02f9c519f2968bceb3ba87ac26a6a5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GLSLProgram.h" #include "IOManager.h" //----------------------------------------------------------------------------- void GLSLProgram::CompileShadersFromFile(std::string_view vertexShaderFilePath, std::string_view fragmentShaderFilePath) { std::string vertexSource; std::string fragSour...
34.573643
120
0.62287
WarzesProject
38bbc9c37252aee9a3cf06244c691dac181b6fcd
53,444
cpp
C++
source/DSES/ExecutionControl.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/DSES/ExecutionControl.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/DSES/ExecutionControl.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
/*! @file DSES/ExecutionControl.cpp @ingroup DSES @brief This class provides and abstract base class as the base implementation for managing mode transitions. @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is cla...
37.930447
193
0.648978
jiajlin
38be358d6928ad7412aa0b3f2fcfa99543558716
3,388
cpp
C++
solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
solutions/hackerrank/hour_rank/hr26/q3/ProblemC.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <memory.h> #include <ctime> #include <cstdio> #include <cstdlib> #include <climits> #include <cctype> #include <cstring> #include <climits> #include <cmath> #include <vector> #include <string> #include <memory> #include <numeric> #include <limits> #include <functional> #include <tuple> #include <set> #include ...
21.443038
92
0.50059
bluedawnstar
38c8bc38965a627cc6e62aa970ee44cfe1233a13
1,554
cpp
C++
atcoder/abc/abc112/c.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc112/c.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc112/c.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1}; int main() { i...
22.2
62
0.348777
yu3mars
38ccda3f9728c41d4a8831bf3404a7f05bc3d9f1
628
cpp
C++
USACO Bronze/US Open 2016 Contest/diamond.cpp
Alecs-Li/Competitive-Programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
1
2021-07-06T02:14:03.000Z
2021-07-06T02:14:03.000Z
USACO Bronze/US Open 2016 Contest/diamond.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
USACO Bronze/US Open 2016 Contest/diamond.cpp
Alex01890-creator/competitive-programming
39941ff8e2c8994abbae8c96a1ed0a04b10058b8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { freopen("diamond.in", "r", stdin); freopen("diamond.out", "w", stdout); int n, k; cin >> n >> k; int arr[n], ans = 0, count = 0; for(int a=0; a<n; a++){ cin >> arr[a]; } for(int a=0; a<n; a++){ for(int b=0; b<n; b++)...
19.625
52
0.43949
Alecs-Li
38d33995e5eae06285c45bde3e171a2edf327d09
1,196
cpp
C++
LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
1
2019-03-29T03:33:56.000Z
2019-03-29T03:33:56.000Z
LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
LeetCodeCPP/304. Range Sum Query 2D - Immutable/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
// // main.cpp // 304. Range Sum Query 2D - Immutable // // Created by admin on 2019/7/12. // Copyright © 2019年 liu. All rights reserved. // #include <iostream> #include <vector> using namespace std; class NumMatrix { private: vector<vector<int>> mc; //matrixCumulative int m=0,n=0; int a(int i,int j...
22.566038
92
0.485786
18600130137
38d9b46b19f37afdf68b7db37be568fff6db41b1
685
cpp
C++
chapter21/Combat.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
chapter21/Combat.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
chapter21/Combat.cpp
UncleCShark/CppIn24HoursWithCmake
7d1f30906fed2c7d144e5495ad42a3a9a59d2dce
[ "MIT" ]
null
null
null
#include <iostream> int main() { // define character values int strength; double accuracy; int dexterity; // define constants const double maximum = 50; // get user input std::cout << "\nEnter strength (1-100): "; std::cin >> strength; std::cout << "\nEnter accuracy (1-50): "...
22.096774
55
0.579562
UncleCShark
38d9c8ddee49603d3cc4d513aaf65cdd972a171c
3,039
cpp
C++
luogu/1442.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
luogu/1442.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
luogu/1442.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 100020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } struct node { int h, l, r; friend bool opera...
29.504854
90
0.431392
swwind
38e388a25247776082543f1004409f1775132f11
32,398
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Graphs/half_circle_toggle_button_inactive.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
// Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_EXTFLASH_PRAGMA KEEP extern const unsigned char _half_circle_toggle_button_inactive[] LOCATION_EXTFLASH_ATTRIBUTE = { // 55x58 RGB565 pixels. 0x9a,0xce,0x35,0xa5,0x56,0xad,0x76,0xad,0x76,0xad,0x76,0xad,0x76,0xad,0x76,0xad...
123.186312
160
0.793784
ramkumarkoppu
38e50fec5d804c5f4a47ca0a69557151fd881378
68
hpp
C++
include/containers/span.hpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
29
2021-11-19T11:28:22.000Z
2022-03-29T00:26:51.000Z
include/containers/span.hpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
null
null
null
include/containers/span.hpp
SakuraEngine/Sakura.Runtime
5a397fb2b1285326c4216f522fe10e347bd566f7
[ "MIT" ]
1
2022-03-05T08:14:40.000Z
2022-03-05T08:14:40.000Z
#pragma once #include <gsl/span> namespace skr { using gsl::span; }
9.714286
19
0.705882
SakuraEngine
38e5b5850623304281363d81c433db97cc398052
2,224
cpp
C++
test/openpower-pels/pel_rules_test.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
test/openpower-pels/pel_rules_test.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
26
2017-02-02T08:20:10.000Z
2021-11-16T18:28:44.000Z
test/openpower-pels/pel_rules_test.cpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
28
2016-07-20T16:46:54.000Z
2022-03-16T11:20:03.000Z
#include "extensions/openpower-pels/pel_rules.hpp" #include <gtest/gtest.h> using namespace openpower::pels; struct CheckParams { // pel_rules::check() inputs uint16_t actionFlags; uint8_t eventType; uint8_t severity; // pel_rules::check() expected outputs uint16_t expectedActionFlags; u...
30.465753
64
0.674011
Alpana07
38e7aed3d3d330732e07aaf5c614bca861a61139
6,000
hpp
C++
sparta/python/sparta_support/PythonInterpreter.hpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/python/sparta_support/PythonInterpreter.hpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
sparta/python/sparta_support/PythonInterpreter.hpp
knute-sifive/map
fb25626830a56ad68ab896bcd01929023ff31c48
[ "MIT" ]
null
null
null
// <PythonInterpreter.h> -*- C++ -*- /*! * \file PythonInterpreter.h * \brief Instantiates python interpreter instance */ #ifndef __SPARTA_PYTHONINTERPRETER_H__ #define __SPARTA_PYTHONINTERPRETER_H__ #include "sparta/sparta.hpp" // For macro definitions #include "simdb_fwd.hpp" #ifndef _GNU_SOURCE #define _GNU_...
28.169014
116
0.625333
knute-sifive
38e7c9a39b18084efa26053ed9d8f55acf0fb4d2
4,123
cc
C++
src/invadermanager.cc
CS126SP20/space-invaders
42b3021f04b41821c6fc203c6de74352f9c2afa5
[ "MIT" ]
null
null
null
src/invadermanager.cc
CS126SP20/space-invaders
42b3021f04b41821c6fc203c6de74352f9c2afa5
[ "MIT" ]
null
null
null
src/invadermanager.cc
CS126SP20/space-invaders
42b3021f04b41821c6fc203c6de74352f9c2afa5
[ "MIT" ]
1
2021-01-09T23:47:18.000Z
2021-01-09T23:47:18.000Z
// Copyright (c) 2020 Saurav Raghavendra. All rights reserved. #include "spaceinvaders/invadermanager.h" namespace spaceinvaders { using cinder::app::getWindowHeight; using cinder::app::getWindowWidth; namespace { const int kMaxInvaders = 55; } InvaderManager::InvaderManager() : step_gap_(std::chrono::seconds(...
26.6
77
0.616299
CS126SP20
38f66d481e09853a71bacb11618578718dce8692
4,046
cpp
C++
example/flappy_world.cpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
null
null
null
example/flappy_world.cpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
4
2020-02-20T20:16:21.000Z
2020-07-06T16:36:26.000Z
example/flappy_world.cpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
null
null
null
// // flappy_world.cpp // linussjo_engine // // Created by Linus Sjöström on 2019-09-30. // Copyright © 2019 Linus Sjöström. All rights reserved. // #include "flappy_world.hpp" flappy_world::flappy_world(const std::shared_ptr<engine::graphic::graphic_engine> &ge, unsigned int w, unsigned int h) : world(ge, w, h){...
34
150
0.642116
linussjo
38f78352a606e9a9500733f7a5dee45abd5f97c7
5,958
cpp
C++
modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
734
2018-11-16T09:39:40.000Z
2022-03-30T16:56:14.000Z
modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
100
2018-11-16T18:04:08.000Z
2022-03-31T17:47:53.000Z
modules/tracktion_engine/playback/graph/tracktion_ModifierNode.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
123
2018-11-16T15:51:50.000Z
2022-03-29T12:21:27.000Z
/* ,--. ,--. ,--. ,--. ,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018 '-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software | | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation `---' `--' `...
37.949045
161
0.631252
jbloit
38fabda2e73e66e49bb6f3093e22e2076bf78337
7,556
cpp
C++
src/UdpUserSocketImpl.cpp
geraldselvino/GNSNet
8d3b022186a1a3163a6466169f092b22390e8cae
[ "MIT" ]
null
null
null
src/UdpUserSocketImpl.cpp
geraldselvino/GNSNet
8d3b022186a1a3163a6466169f092b22390e8cae
[ "MIT" ]
null
null
null
src/UdpUserSocketImpl.cpp
geraldselvino/GNSNet
8d3b022186a1a3163a6466169f092b22390e8cae
[ "MIT" ]
null
null
null
#include "UdpUserSocket.h" #include "UdpUserSocketImpl.h" #include "ScopeLock.h" /** * Definition of the Handle class(UdpUserSocket) */ GNSNet::UdpUserSocket::UdpUserSocket() : pImplUdpUserSocket(gcnew UdpUserSocketImpl()) { } GNSNet::UdpUserSocket::~UdpUserSocket() { delete pImplUdpUserSocket; } bool GNSNet:...
22.158358
98
0.606935
geraldselvino
38fbf7654002c87ba777bd68cc15190b32a4b815
1,183
cpp
C++
core/main.cpp
7-6-6/niggahack
1f4f42a9fd1c89126c7d865f70eaa336ab1f6135
[ "MIT" ]
null
null
null
core/main.cpp
7-6-6/niggahack
1f4f42a9fd1c89126c7d865f70eaa336ab1f6135
[ "MIT" ]
null
null
null
core/main.cpp
7-6-6/niggahack
1f4f42a9fd1c89126c7d865f70eaa336ab1f6135
[ "MIT" ]
null
null
null
#include "../dependencies/common_includes.hpp" #include "features/misc/misc.hpp" #include "menu/config/config.hpp" #include "features/misc/events.hpp" #include "features/skinchanger/parser.hpp" unsigned long __stdcall initial_thread(void* reserved) { while (!GetModuleHandleA("serverbrowser.dll")) Sleep(200); ...
24.142857
86
0.734573
7-6-6
38ff7b8dc0ecf519a013dfe3ee8a0e2b2f4b6383
3,521
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
426
2015-04-12T10:00:46.000Z
2022-03-29T11:03:02.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
124
2015-05-15T05:51:00.000Z
2022-02-09T15:25:12.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcParameterizedProfileDef.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
214
2015-05-06T07:30:37.000Z
2022-03-26T16:14:04.000Z
/* 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...
55.015625
244
0.755183
AlexVlk
ac014641e10e2c843aa70fa79171b5705b8df544
5,366
cc
C++
physics/neutron/models/src/NeutronNudyFissionModel.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/neutron/models/src/NeutronNudyFissionModel.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/neutron/models/src/NeutronNudyFissionModel.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// #include "Geant/NeutronNudyFissionModel.h" #include "Geant/PhysicalConstants.h" // for Vector_t #include "Geant/Types.h" #include "Geant/PhysicsData.h" #include "Geant/Isotope.h" #include "Geant/LightTrack.h" #include "Geant/PhysicsData.h" #include <iostream> #include "Geant/math_wrappers.h" // this should be r...
33.962025
109
0.647782
Geant-RnD
ac03eb4a9a1a7a7d0847a8788296833f6c931ce3
58
hpp
C++
src/boost_fusion_include_adapt_assoc_adt_named.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_include_adapt_assoc_adt_named.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_include_adapt_assoc_adt_named.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/include/adapt_assoc_adt_named.hpp>
29
57
0.844828
miathedev
f19bd8ffaa302bbcfb87123bcb193e816495ceb4
5,765
hpp
C++
transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
transmission_interface_extensions/include/transmission_interface_extensions/posveleff_joint_interface_provider.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
1
2021-10-14T06:37:36.000Z
2021-10-14T06:37:36.000Z
#ifndef TRANSMISSION_INTERFACE_EXTENSIONS_POSVELEFF_JOINT_INTERFACE_PROVIDER_HPP #define TRANSMISSION_INTERFACE_EXTENSIONS_POSVELEFF_JOINT_INTERFACE_PROVIDER_HPP #include <string> #include <vector> #include <hardware_interface/robot_hw.h> #include <hardware_interface_extensions/posveleff_command_interface.hpp> #inclu...
39.486301
100
0.69072
smilerobotics