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
108
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
67k
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
8c941c7d838c0eae1dfe8cf08d9459cfb4039599
282
cpp
C++
Codeforces/RecursionTest.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/RecursionTest.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/RecursionTest.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> using namespace std; bool valid(int b, int c) { if(b < 0) { return c; } else { if(b % 2 == 0 && valid(b / 2, b)) { return 5; } } } int main() { cout << valid(3, 5) << endl; return 0; }
14.842105
44
0.400709
aajjbb
8c968038e69428784260048933ce2e591057669a
5,343
cpp
C++
Tests/26/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Tests/26/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Tests/26/Test.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ // TEST Foundation::Containers::SortedMapping // STATUS Alpha-Late #include "Stroika/Foundation/StroikaPreComp.h" #include <iostream> #include <sstream> #include "Stroika/Foundation/Containers/Concrete/SortedMapping_stdmap.h" #in...
44.525
191
0.689126
SophistSolutions
8c973c4e802ba593e30386a79adff87632058580
6,995
cxx
C++
vtr/toro/TC_Common/TC_Bit.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
31
2016-02-15T02:57:28.000Z
2021-06-02T10:40:25.000Z
vtr/toro/TC_Common/TC_Bit.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
null
null
null
vtr/toro/TC_Common/TC_Bit.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
6
2017-02-08T21:51:51.000Z
2021-06-02T10:40:40.000Z
//===========================================================================// // Purpose : Method definitions for the (regexp) TC_Bit class. // // Public methods include: // - TC_Bit, ~TC_Bit // - operator= // - operator==, operator!= // - Print // - Extract...
34.975
79
0.339957
haojunliu
8c9767e075a89dcb702f70516171ceff3b1e90c1
10,810
tcc
C++
cxxblas/level3/syrk.tcc
ccecka/FLENS
b6cd7e630d490fde5432c6e9fc357089861bdffd
[ "BSD-3-Clause" ]
3
2015-04-10T18:09:12.000Z
2018-03-27T23:43:32.000Z
cxxblas/level3/syrk.tcc
ccecka/FLENS
b6cd7e630d490fde5432c6e9fc357089861bdffd
[ "BSD-3-Clause" ]
null
null
null
cxxblas/level3/syrk.tcc
ccecka/FLENS
b6cd7e630d490fde5432c6e9fc357089861bdffd
[ "BSD-3-Clause" ]
4
2015-09-06T20:24:35.000Z
2021-07-31T07:50:55.000Z
/* * Copyright (c) 2009, Michael Lehn * * 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,...
33.058104
95
0.594265
ccecka
8c97b7fe40f3a5c13eb58738f524ade17fa04081
2,181
cpp
C++
benchmark/directed_pooling.cpp
tkerola/chainer-trt
4e1adc0370e11ad7736a5fafdfd5aeca168c700e
[ "MIT" ]
null
null
null
benchmark/directed_pooling.cpp
tkerola/chainer-trt
4e1adc0370e11ad7736a5fafdfd5aeca168c700e
[ "MIT" ]
null
null
null
benchmark/directed_pooling.cpp
tkerola/chainer-trt
4e1adc0370e11ad7736a5fafdfd5aeca168c700e
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Preferred Networks, Inc. All rights reserved. */ #include <benchmark/benchmark.h> #include <cuda_fp16.h> #include "chainer_trt/chainer_trt.hpp" #include "../src/include/chainer_trt_impl.hpp" using namespace chainer_trt; using namespace chainer_trt::internal; template <typename T> static v...
33.045455
79
0.669876
tkerola
8c97c66f342bae246e6e5f82fa18e4d4fd1dcd2f
856
hpp
C++
include/boost/simd/function/combine.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/combine.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/combine.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
25.939394
100
0.575935
yaeldarmon
8c98ef257a35e0f6286f7dd91912507c23ac7109
1,450
cpp
C++
src/nes/AudioBuffer.cpp
lh123/NesEmulator
5a32598b0f40d2fb02db4e1fc5cd931bff8604a8
[ "MIT" ]
null
null
null
src/nes/AudioBuffer.cpp
lh123/NesEmulator
5a32598b0f40d2fb02db4e1fc5cd931bff8604a8
[ "MIT" ]
null
null
null
src/nes/AudioBuffer.cpp
lh123/NesEmulator
5a32598b0f40d2fb02db4e1fc5cd931bff8604a8
[ "MIT" ]
null
null
null
#include "nes/AudioBuffer.h" #include <string.h> AudioBuffer::AudioBuffer(int maxSize) : mReadIndex(0), mWriteIndex(0), mDataCount(0), mMaxSize(maxSize) { mAudioBuffer = new float[mMaxSize]{0}; } AudioBuffer::~AudioBuffer() { delete[] mAudioBuffer; } void AudioBuffer::push(float data) { std::lock_guard<std::...
29.591837
105
0.651724
lh123
8c9e9fd090600d28b27ad10d73fa9684ea621563
3,510
cpp
C++
src/rosbot/IMU.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
src/rosbot/IMU.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
src/rosbot/IMU.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
#include "hFramework.h" #include <SparkFunMPU9250-DMP.h> #include "IMU.h" MPU9250_DMP mpu; void quatVisualisation() { static uint8_t teapotPacket[14] = {'$', 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0x00, 0x00, '\r', '\n'}; static int i = 0; if (i == 0) { i = 1; } teapotPacket[2] = 0xff & (mpu.qw >> 24); teapotPacket...
23.716216
101
0.623932
ygjukim
8ca0f097cd16299e1bdbd803ff36c7390b71ca32
358
cpp
C++
source/Views/Object/Over.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Views/Object/Over.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Views/Object/Over.cpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
#include "components.hpp" #include "Over.hpp" namespace Views { namespace Object { Over::Over() { const std::array<cocos2d::Vec2, 2> & over = Master::instance().get<Components::Metric>().over(); _draw = cocos2d::DrawNode::create(); _draw->drawLine(over[0], over[1], cocos2d::Color4F::RED); } cocos2d::Node * Over:...
14.32
97
0.664804
1pkg
8ca35884fd9fb90f98c4ca7c44b2cec9732ae88b
688
hpp
C++
include/boost/mysql/detail/protocol/text_deserialization.hpp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
1
2020-03-31T11:48:12.000Z
2020-03-31T11:48:12.000Z
include/boost/mysql/detail/protocol/text_deserialization.hpp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
null
null
null
include/boost/mysql/detail/protocol/text_deserialization.hpp
madmongo1/mysql-asio
26c57e92ddeebfee22e08e5ea05e7bb51248eba5
[ "BSL-1.0" ]
null
null
null
#ifndef MYSQL_ASIO_IMPL_DESERIALIZE_ROW_HPP #define MYSQL_ASIO_IMPL_DESERIALIZE_ROW_HPP #include "boost/mysql/detail/protocol/serialization.hpp" #include "boost/mysql/error.hpp" #include "boost/mysql/value.hpp" #include "boost/mysql/metadata.hpp" #include <vector> namespace boost { namespace mysql { namespace detail ...
20.848485
68
0.784884
madmongo1
8ca587cc9d4799b3e461e4955a27bfa7fd0204b1
2,382
cxx
C++
sprokit/src/sprokit/pipeline/stamp.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
14
2015-05-02T17:06:34.000Z
2019-06-20T10:10:20.000Z
sprokit/src/sprokit/pipeline/stamp.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
4
2021-03-19T00:52:41.000Z
2022-03-11T23:48:06.000Z
sprokit/src/sprokit/pipeline/stamp.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
9
2015-08-19T04:48:16.000Z
2021-02-15T14:28:06.000Z
/*ckwg +29 * Copyright 2011-2013 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
27.37931
81
0.734677
neal-siekierski
8ca5be6230ad6f9f372ab1d5184738c0e07101f9
174
cpp
C++
src/peer-server/game.cpp
kosmigramma/HumbleNet
368de8d66ad31b91d0f97a413db6eab7f0c33e3a
[ "BSD-3-Clause" ]
598
2017-06-29T17:02:45.000Z
2022-03-22T16:57:13.000Z
src/peer-server/game.cpp
kosmigramma/HumbleNet
368de8d66ad31b91d0f97a413db6eab7f0c33e3a
[ "BSD-3-Clause" ]
26
2017-07-22T20:30:06.000Z
2021-08-03T08:16:59.000Z
src/peer-server/game.cpp
kosmigramma/HumbleNet
368de8d66ad31b91d0f97a413db6eab7f0c33e3a
[ "BSD-3-Clause" ]
54
2017-06-30T03:40:56.000Z
2021-12-16T11:28:33.000Z
#include "game.h" #include "p2p_connection.h" #include "humblenet_utils.h" namespace humblenet { void Game::erasePeerAliases(PeerId p) { erase_value(aliases, p); } }
13.384615
38
0.718391
kosmigramma
8ca910fc9d4c1011f28383d7b49321f4fe1988bb
4,808
cpp
C++
cpp/src/net/icmpdll.cpp
311labs/SRL
c3f0069270ada3784f2a81d9ec9e390e31e53a59
[ "MIT" ]
2
2018-12-21T01:55:23.000Z
2021-11-29T01:30:37.000Z
cpp/src/net/icmpdll.cpp
311labs/SRL
c3f0069270ada3784f2a81d9ec9e390e31e53a59
[ "MIT" ]
null
null
null
cpp/src/net/icmpdll.cpp
311labs/SRL
c3f0069270ada3784f2a81d9ec9e390e31e53a59
[ "MIT" ]
null
null
null
#include "srl/net/icmpdll.h" #ifdef WIN32 using namespace SRL; using namespace SRL::Net; using namespace SRL::Net::ICMP; #define WIN32_LEAN_AND_MEAN #define _WIN32_WINNT 0x0501 #include "windows.h" #if _MSC_VER > 1000 #pragma once #endif struct IP_OPTS { SRL::byte ttl; // time to live SRL::b...
28.282353
116
0.61876
311labs
8ca9ca1c97977774c424f8fbbf777f0463755626
3,999
cpp
C++
src/list.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
1
2021-01-11T19:26:29.000Z
2021-01-11T19:26:29.000Z
src/list.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
10
2020-04-22T16:17:11.000Z
2021-02-04T19:48:46.000Z
src/list.cpp
npeshek-spotx/libpriamcql
19bf933f796cd022c5f5a6737b8c8e1ebda5c490
[ "Apache-2.0" ]
2
2019-08-15T02:07:38.000Z
2021-01-11T18:21:17.000Z
#include "priam/list.hpp" namespace priam { statement_list::statement_list(size_t reserve_size) : m_cass_collection_ptr(cass_collection_new(CassCollectionType::CASS_COLLECTION_TYPE_LIST, reserve_size)) { } auto statement_list::append_ascii(std::string_view data) -> bool { return cass_collection_append_string_...
29.843284
120
0.740685
npeshek-spotx
8cab06b90412c6aebcfb18a0c5c51f1d550f687f
2,356
cpp
C++
RayTracing/sources/hittables/BVHNode.cpp
MdeLaharpe/RayTracing
c4fe9358e09af86a6b3e392a6e67fd826334cefa
[ "Apache-2.0" ]
null
null
null
RayTracing/sources/hittables/BVHNode.cpp
MdeLaharpe/RayTracing
c4fe9358e09af86a6b3e392a6e67fd826334cefa
[ "Apache-2.0" ]
null
null
null
RayTracing/sources/hittables/BVHNode.cpp
MdeLaharpe/RayTracing
c4fe9358e09af86a6b3e392a6e67fd826334cefa
[ "Apache-2.0" ]
null
null
null
#include "hittables/BVHNode.h" #include <iostream> #include <functional> #include <algorithm> #include "Random.h" namespace rt { BVHNode::BVHNode(std::vector<std::shared_ptr<Hittable>>& list, size_t start, size_t end, float time0, float time1) { size_t span = end - start; if (span == 1) { left = right = ...
25.89011
115
0.621817
MdeLaharpe
8cab2b2de1eee86e838275693286227acf0ec2f8
1,526
hpp
C++
include/cdv/core/color/single_hue_interpolators.hpp
cpp-niel/cdv
9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a
[ "MIT" ]
1
2020-08-09T01:05:30.000Z
2020-08-09T01:05:30.000Z
include/cdv/core/color/single_hue_interpolators.hpp
cpp-niel/cdv
9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a
[ "MIT" ]
null
null
null
include/cdv/core/color/single_hue_interpolators.hpp
cpp-niel/cdv
9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a
[ "MIT" ]
null
null
null
#pragma once #include <cdv/core/color/interpolator.hpp> namespace cdv::interpolator { constexpr auto reds = detail::color_interpolator(std::array{0xfff5f0ffu, 0xfee0d2ffu, 0xfcbba1ffu, 0xfc9272ffu, 0xfb6a4affu, 0xef3b2cffu, 0xcb181dffu, 0xa50f15ffu, 0x67000dff...
50.866667
110
0.633028
cpp-niel
8cad939c19afda5ed01cb704d1d650fd0349a87c
18,070
cpp
C++
c/lib/nshl/spcx.cpp
knowm/nSpace
1e5380a8778e013f7e8c44c130ba32e9668755ed
[ "BSD-3-Clause" ]
2
2020-05-06T21:45:13.000Z
2020-06-14T11:48:03.000Z
c/lib/nshl/spcx.cpp
knowm/nSpace
1e5380a8778e013f7e8c44c130ba32e9668755ed
[ "BSD-3-Clause" ]
null
null
null
c/lib/nshl/spcx.cpp
knowm/nSpace
1e5380a8778e013f7e8c44c130ba32e9668755ed
[ "BSD-3-Clause" ]
3
2017-09-18T14:46:03.000Z
2021-09-26T17:10:36.000Z
//////////////////////////////////////////////////////////////////////// // // SpcX.CPP // // Implementation of the external nSpace namespace object // //////////////////////////////////////////////////////////////////////// #include "nshl_.h" #ifdef _WIN32 NamespaceX :: NamespaceX ( ShellX *_pShellX, IDic...
24.855571
90
0.554898
knowm
8cadd710366c1d30f85e7b5b4f6e6ddf88e07a57
126
cpp
C++
IL/src/IL/Renderer/RendererAPI.cpp
ILLmew/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
4
2021-04-08T16:18:59.000Z
2021-09-29T12:23:33.000Z
IL/src/IL/Renderer/RendererAPI.cpp
CrystaLamb/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
null
null
null
IL/src/IL/Renderer/RendererAPI.cpp
CrystaLamb/IL-engine
8d5fd11263fcf332c2fc3afd33e73546d10efd7d
[ "Apache-2.0" ]
1
2021-09-29T12:23:35.000Z
2021-09-29T12:23:35.000Z
#include "ilpch.h" #include "RendererAPI.h" namespace IL { RendererAPI::API RendererAPI::s_API = RendererAPI::API::OpenGL; }
18
64
0.738095
ILLmew
8cb01ed6a8b53e374111dda5ef11ac9f44a43e73
512
cpp
C++
recipes/serial/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/serial/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/serial/all/test_package/test_package.cpp
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
#include <iostream> #include <string> #include <utility> #include <vector> #include "serial/serial.h" using namespace std; int main() { vector<serial::PortInfo> devices_found = serial::list_ports(); vector<serial::PortInfo>::iterator iter = devices_found.begin(); while (iter != devices_found.end()) { ...
21.333333
71
0.630859
rockandsalt
8cb11c8c785246011cf25c3e0d2694a5d9bf7a7b
5,740
hpp
C++
tlx/die.hpp
SDEagle/tlx
f234dc33d5117d9c10baec5a822ca70ef4eadcb7
[ "BSL-1.0" ]
null
null
null
tlx/die.hpp
SDEagle/tlx
f234dc33d5117d9c10baec5a822ca70ef4eadcb7
[ "BSL-1.0" ]
null
null
null
tlx/die.hpp
SDEagle/tlx
f234dc33d5117d9c10baec5a822ca70ef4eadcb7
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * tlx/die.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2016-2017 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 **********************************...
41.594203
80
0.380488
SDEagle
8cb3c36ea2a4ea5ea52cb892899e85d21cad1daa
7,012
cpp
C++
Source/NTGame/Private/NTGame_PlayerController.cpp
AlCaTrAzzALZ/UE4-Networked-PhysX-Component
15289c3ea2802b5b01d81222d9b6b2f89bd8ff0f
[ "MIT" ]
12
2017-02-09T11:15:37.000Z
2021-11-12T22:28:04.000Z
Source/NTGame/Private/NTGame_PlayerController.cpp
blockspacer/UE4-Networked-PhysX-Component
15289c3ea2802b5b01d81222d9b6b2f89bd8ff0f
[ "MIT" ]
null
null
null
Source/NTGame/Private/NTGame_PlayerController.cpp
blockspacer/UE4-Networked-PhysX-Component
15289c3ea2802b5b01d81222d9b6b2f89bd8ff0f
[ "MIT" ]
12
2019-01-27T21:01:57.000Z
2021-10-06T05:32:29.000Z
// Copyright (C) James Baxter 2017. All Rights Reserved. #include "NTGame.h" #include "NTGame_PlayerController.h" ANTGame_PlayerController::ANTGame_PlayerController(const FObjectInitializer& OI) : Super(OI) {} ///////////////// ///// Input ///// ///////////////// void ANTGame_PlayerController::SetupInputComponent(...
39.615819
131
0.758414
AlCaTrAzzALZ
8cb508704cdcc9e5908b29951a129eca983c1784
1,469
hpp
C++
Project/Model/IModel.hpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
1
2015-03-13T22:57:35.000Z
2015-03-13T22:57:35.000Z
Project/Model/IModel.hpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
null
null
null
Project/Model/IModel.hpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
2
2018-10-11T17:49:26.000Z
2018-10-24T06:06:49.000Z
#ifndef MODEL_HPP #define MODEL_HPP #include <SFML\Graphics\RenderTarget.hpp> #include <Core\String.hpp> #include <Core\Vector.h> #include <Asset\ObjectSaveMode.hpp> #include <Asset\SpriteRef.hpp> #include <Asset\IRequestable.hpp> class IModel : public sf::Drawable, public IRequestable { protected: SpriteRef* m_r...
20.690141
87
0.742682
Conny14156
8cb58dd3f2e1226c692605f58e1a68ebdbaa46c9
6,017
cc
C++
proc/elf_loader.cc
electrojustin/moonshine-os
565b25a298ca8761fe2dbef2dec6126354cd878f
[ "BSD-3-Clause" ]
1
2021-07-12T13:37:31.000Z
2021-07-12T13:37:31.000Z
proc/elf_loader.cc
electrojustin/moonshine-os
565b25a298ca8761fe2dbef2dec6126354cd878f
[ "BSD-3-Clause" ]
null
null
null
proc/elf_loader.cc
electrojustin/moonshine-os
565b25a298ca8761fe2dbef2dec6126354cd878f
[ "BSD-3-Clause" ]
null
null
null
#include <stddef.h> #include <stdint.h> #include "filesystem/fat32.h" #include "lib/std/memory.h" #include "lib/std/stdio.h" #include "lib/std/string.h" #include "proc/elf_loader.h" #include "proc/process.h" namespace proc { namespace { using filesystem::directory_entry; using filesystem::file_descriptor; using fil...
27.35
80
0.691208
electrojustin
8cbda3e922f23c6bdfd46d83cc6b22b08369f6ac
342
cpp
C++
torch/csrc/jit/runtime/interpreter/frame.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
torch/csrc/jit/runtime/interpreter/frame.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
torch/csrc/jit/runtime/interpreter/frame.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
#include <torch/csrc/jit/runtime/interpreter/frame.h> #include <atomic> namespace torch { namespace jit { namespace interpreter { /* static */ size_t Frame::genId() { static std::atomic<size_t> numFrames{0}; return numFrames.fetch_add(1, std::memory_order_relaxed); } } // namespace interpreter } // namespace jit...
21.375
59
0.72807
Hacky-DH
8cc0c6ea9edaedb67fa0fe5ba89f1895549480dd
24,204
cpp
C++
Blizzlike/ArcEmu/C++/World/Channel.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/ArcEmu/C++/World/Channel.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/ArcEmu/C++/World/Channel.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * ArcEmu MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2008-2011 <http://www.ArcEmu.org/> * * 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...
25.831377
135
0.681912
499453466
8cc1572ca477467c5513988cd95eb8fe78916f56
2,006
cpp
C++
ace/tao/tao/IIOP_Factory.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/tao/IIOP_Factory.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/tao/IIOP_Factory.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// IIOP_Factory.cpp,v 1.12 2000/08/26 19:10:56 marina Exp #include "tao/IIOP_Factory.h" #include "tao/IIOP_Acceptor.h" #include "tao/IIOP_Connector.h" ACE_RCSID(tao, IIOP_Factory, "IIOP_Factory.cpp,v 1.12 2000/08/26 19:10:56 marina Exp") static const char prefix_[] = "iiop"; TAO_IIOP_Protocol_Factory::TAO...
23.325581
87
0.633599
tharindusathis
8cc28a9b947f0da659dce3d5c1a20595bd8e169b
111,251
cpp
C++
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho18.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho18.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerCapCVT/gx_capcvt2d/generated/Ltheta_rho18.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#include "Ltheta_rho18.h" namespace Geex { Ltheta_rho18::Ltheta_rho18() : Function(1,8,0){} void Ltheta_rho18::eval(bool do_f, bool do_g, bool do_H) { if(do_f) { { double tmp_1 = x(7); double tmp_2 = (tmp_1*tmp_1)+1.0; double tmp_3 = 1.0/(tmp_2); double tmp_4 = x(6); double tmp_5 = sin(tmp_4); double tmp_6 ...
328.174041
16,802
0.723229
FrancoisGaits
bc450fd5d5da298ba136725d277898418eb62172
5,106
cpp
C++
Window.cpp
gabriel-v/automatic-cruise
2535a6e1a7146c09153e5a152e973cb28d9a5771
[ "BSD-3-Clause" ]
1
2016-06-01T20:44:02.000Z
2016-06-01T20:44:02.000Z
Window.cpp
gabriel-v/automatic-cruise
2535a6e1a7146c09153e5a152e973cb28d9a5771
[ "BSD-3-Clause" ]
null
null
null
Window.cpp
gabriel-v/automatic-cruise
2535a6e1a7146c09153e5a152e973cb28d9a5771
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016, Gabriel Vijiala, Stefan Teodorescu * 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 notic...
30.759036
96
0.659029
gabriel-v
bc4687634898028f3a5e11693bfc8d66a76d55b5
254
hpp
C++
include/ev_ctr_os_interface.hpp
leoagomes/3ds.js
8ab2783cc86ad81e8c0981864ffef5910a613dfe
[ "MIT" ]
1
2022-03-14T10:45:25.000Z
2022-03-14T10:45:25.000Z
include/ev_ctr_os_interface.hpp
leoagomes/3ds.js
8ab2783cc86ad81e8c0981864ffef5910a613dfe
[ "MIT" ]
null
null
null
include/ev_ctr_os_interface.hpp
leoagomes/3ds.js
8ab2783cc86ad81e8c0981864ffef5910a613dfe
[ "MIT" ]
null
null
null
#pragma once #include "event_loop.hpp" namespace ev { class ctr_os_interface : public event::os_interface { public: uint64_t get_monotonic_tick(); uint64_t millis_to_ticks(uint64_t millis); uint64_t ticks_to_millis(uint64_t ticks); }; };
16.933333
53
0.748031
leoagomes
bc4bcc30fcffe6b5d93e3ddfe426153606f1d2ab
2,393
cc
C++
public/lib/context/cpp/formatting.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
1
2018-02-05T23:33:32.000Z
2018-02-05T23:33:32.000Z
public/lib/context/cpp/formatting.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
null
null
null
public/lib/context/cpp/formatting.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia 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 "lib/context/cpp/formatting.h" #include "lib/context/fidl/metadata.fidl.h" namespace maxwell { std::ostream& operator<<(std::ostream& os, const ...
32.780822
79
0.561638
Acidburn0zzz
bc4c9ee3cde991d0a3f714da62f0ac2464558405
917
hpp
C++
algorithms/p389/389.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
9
2017-06-05T15:10:35.000Z
2021-06-08T03:10:46.000Z
algorithms/p389/389.hpp
baishuai/leetcode
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
3
2017-07-12T14:08:39.000Z
2017-10-11T03:08:15.000Z
algorithms/p389/389.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
1
2017-07-21T03:51:51.000Z
2017-07-21T03:51:51.000Z
// // Created by bai on 17-6-28. // #ifndef LEETCODE_389_HPP #define LEETCODE_389_HPP #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <unordered_map> using namespace std; /** Given two strings s and t which consist of only lowercase letters. String t is generated by random sh...
15.810345
101
0.597601
baishuai
bc537acbbc5ba27efbc2f1b0b505e1b6941a01e0
2,298
cc
C++
Code/2104-operations-on-tree.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/2104-operations-on-tree.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/2104-operations-on-tree.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class LockingTree { unordered_map<int, unordered_set<int>> child; int par[2000]; int lockby[2000]; int n; bool checkedChild = false; public: LockingTree(vector<int>& parent) { memset(lockby, -1, sizeof(lockby)); n = parent.size(); for (int i = 0; i < n; i++) { ...
23.9375
67
0.416449
SMartQi
bc569e2d70b8d4fa78c360ecc5bba84f3e923219
14,047
cpp
C++
AnalyticNSIE/modes_ana.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
2
2017-03-22T13:18:32.000Z
2021-05-01T01:54:31.000Z
AnalyticNSIE/modes_ana.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
49
2016-10-05T03:08:38.000Z
2020-11-03T15:39:26.000Z
AnalyticNSIE/modes_ana.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
1
2017-07-10T08:52:53.000Z
2017-07-10T08:52:53.000Z
/** * Created on: March 28, 2014 * Author: D. Leier */ #include "lens_halos.h" /* PosType LensHalo::modfunc(int modnumber, PosType my_slope, PosType my_fratio){ if(modnumber==0){return 1.0;}; PosType a=amodfunc(modnumber, my_fratio); PosType b=bmodfunc(modnumber, my_fratio); PosType ans=a+...
57.569672
188
0.660853
glenco
bc57ca454ed21a6910e632bfa7b4ef22d4cacbdb
597
cpp
C++
luogu/codes/P4549.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2018-12-22T06:43:59.000Z
2018-12-22T06:43:59.000Z
luogu/codes/P4549.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P4549.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P4549.cpp * > Author : Tony * > Created Time : 2019/05/08 15:31:10 **************************************************************/ #include <bits/stdc++.h> using namespace std; typedef long long LL; LL gcd(LL a, ...
22.961538
63
0.341709
Tony031218
bc628f1d4934a3c90c48c04867d90d629bde3998
6,480
cpp
C++
Draft/Student.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
11
2020-05-02T20:06:07.000Z
2021-06-24T10:01:29.000Z
Draft/Student.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
null
null
null
Draft/Student.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
6
2020-06-04T04:29:28.000Z
2020-11-15T08:15:01.000Z
#include "conio.h" #include <fstream> #include <iostream> #include <stdio.h> using namespace std; class student //定义学生类 { public: //定义学生类的私有成员 char name[20]; //名字 char sex[5]; //性别 int number; //学号 int score[3]; //分数 int total; //总分 int average; //平均分 student(); //学生构造函数,用于学生数据的初始化及保存...
20.769231
144
0.471296
AixMoon
bc65421fd74470d7da46069c1a151d82615899f4
8,845
cpp
C++
source/utl/UTL_Analysis.cpp
Shakebones/VFXEpoch
014c51d5f98253b45b947fcecec940b20b1a5f04
[ "MIT" ]
null
null
null
source/utl/UTL_Analysis.cpp
Shakebones/VFXEpoch
014c51d5f98253b45b947fcecec940b20b1a5f04
[ "MIT" ]
null
null
null
source/utl/UTL_Analysis.cpp
Shakebones/VFXEpoch
014c51d5f98253b45b947fcecec940b20b1a5f04
[ "MIT" ]
null
null
null
/******************************************************************************* VFXEPOCH - Physically based simulation VFX Copyright (c) 2016 Snow Tsui <trevor.miscellaneous@gmail.com> All rights reserved. Use of this source code is governed by the MIT license as written in the LICENSE file. ********...
34.686275
151
0.534087
Shakebones
bc66190eea78b84a9f884290290f1aae532c9e9f
154
cpp
C++
old/practice/lesson8/ocpWithout.cpp
Lyuminarskiy/oop
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
3
2018-02-16T11:22:55.000Z
2018-03-23T14:10:33.000Z
old/practice/lesson8/ocpWithout.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
null
null
null
old/practice/lesson8/ocpWithout.cpp
OOP-course/OOP-course
b8c6a4b1cf8905c8bbeea5aa80769b5519307654
[ "MIT" ]
1
2020-04-28T17:13:02.000Z
2020-04-28T17:13:02.000Z
// Работа с хранилищем заказов. // Тип хранилища нельзя изменить. struct OrderRepository { void load(); void save(); void update(); void del(); };
17.111111
33
0.675325
Lyuminarskiy
bc671ff23038a67846b862cbfdac70523f345219
11,901
cpp
C++
src/sensor_and_model_plugins/servo_camera_plugin.cpp
ctu-mrs/mrs_gazebo_common_resources
9047f7aa0e567b382a5316f77179cb8d0dfbaceb
[ "BSD-3-Clause" ]
2
2021-09-10T16:24:40.000Z
2022-01-05T00:47:57.000Z
src/sensor_and_model_plugins/servo_camera_plugin.cpp
ctu-mrs/mrs_gazebo_common_resources
9047f7aa0e567b382a5316f77179cb8d0dfbaceb
[ "BSD-3-Clause" ]
2
2020-05-15T13:30:46.000Z
2021-01-20T21:06:02.000Z
src/sensor_and_model_plugins/servo_camera_plugin.cpp
ctu-mrs/mrs_gazebo_common_resources
9047f7aa0e567b382a5316f77179cb8d0dfbaceb
[ "BSD-3-Clause" ]
3
2020-07-01T18:48:37.000Z
2021-06-18T11:33:57.000Z
#include <ros/ros.h> #include <ros/package.h> #include <gazebo/gazebo.hh> #include <gazebo/common/common.hh> #include <gazebo/common/Plugin.hh> #include <gazebo/physics/physics.hh> #include <gazebo/physics/Model.hh> #include <random> #include <stdio.h> #include <stdexcept> #include <sdf/sdf.hh> #include <ignition/ma...
36.173252
131
0.669271
ctu-mrs
bc6afe1f837d830d518c192fcf15f397a25ab015
3,030
cpp
C++
RobWork/src/rw/common/LogBufferedChar.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/common/LogBufferedChar.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/common/LogBufferedChar.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
28.857143
95
0.530033
ZLW07
bc6d87151733a526cf53840d36df088b2a0cfcca
7,769
hpp
C++
NetworkLib/src/RangedInteger.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
2
2021-12-29T16:29:13.000Z
2022-03-27T15:48:20.000Z
NetworkLib/src/RangedInteger.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
null
null
null
NetworkLib/src/RangedInteger.hpp
Bousk/Net
bb77d61f870a28752fdf7509c111d446819aff31
[ "MIT" ]
1
2020-10-31T23:50:23.000Z
2020-10-31T23:50:23.000Z
#pragma once #include <Types.hpp> #include <Serialization/Serialization.hpp> #include <Serialization/Serializer.hpp> #include <Serialization/Deserializer.hpp> #include <Utils.hpp> namespace Bousk { // Extract a type from a value // Extract the most fitting type, ie : -1 => int8, 257 => uint16, ... template<auto V,...
44.649425
169
0.693912
Bousk
bc701075e8ddb7383c108511ba233f7251802968
291
cpp
C++
1 sem/7 week/2 problem/2 problem/main.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
null
null
null
1 sem/7 week/2 problem/2 problem/main.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
1
2018-11-22T14:14:55.000Z
2018-11-22T14:14:55.000Z
1 sem/7 week/2 problem/2 problem/main.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
null
null
null
#include "tree.h" #include "test.h" #include <iostream> int main() { if (!test()) { std::cout << "Program doesn't work"; return -1; } Tree* tree = readFromFile("file.txt"); printTree(tree); std::cout << std::endl; std::cout << treeValue(tree); deleteTree(tree); return 0; }
13.857143
39
0.611684
resueman
bc7188daf788e2bc3edd7d78852648b7f12d3e7b
2,462
cpp
C++
Codility_StrSymmetricPoint.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
1
2021-01-31T22:59:59.000Z
2021-01-31T22:59:59.000Z
Codility_StrSymmetricPoint.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
Codility_StrSymmetricPoint.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
/* Write a function: int solution(string &S); that, given a string S, returns the index (counting from 0) of a character such that the part of the string to the left of that character is a reversal of the part of the string to its right. The function should return −1 if no such index exists. Note: reversing an ...
20.864407
246
0.63485
CharlieGearsTech
bc72cad1897f118c42d1b17ff54854e62d6bb365
3,780
cpp
C++
src/autogen/cfdapi_get_issuance_blinding_key_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
src/autogen/cfdapi_get_issuance_blinding_key_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
src/autogen/cfdapi_get_issuance_blinding_key_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
// Copyright 2019 CryptoGarage /** * @file cfdapi_get_issuance_blinding_key_json.cpp * * @brief JSONマッピングファイル (自動生成) */ #include <set> #include <string> #include <vector> #include "cfdapi_get_issuance_blinding_key_json.h" // NOLINT namespace cfd { namespace js { namespace api { namespace json { using cfd::core:...
31.5
105
0.725397
fujita-cg
bc7af59e662906d453c6b6acbab8bec4c8bb97f5
25,204
cpp
C++
src/Display.cpp
Gbertaz/GloBoSaT
ab983c6c8ca8a988b6521cc4c23f9717eb877d9f
[ "MIT" ]
7
2021-05-25T10:40:42.000Z
2022-01-19T15:16:53.000Z
src/Display.cpp
Gbertaz/GloBoSaT
ab983c6c8ca8a988b6521cc4c23f9717eb877d9f
[ "MIT" ]
null
null
null
src/Display.cpp
Gbertaz/GloBoSaT
ab983c6c8ca8a988b6521cc4c23f9717eb877d9f
[ "MIT" ]
null
null
null
// MIT License // // Copyright(c) 2021 Giovanni Bertazzoni <nottheworstdev@gmail.com> // // 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 th...
37.843844
194
0.550429
Gbertaz
bc7baf3894d834a5c2a825e6de0785025cd57eb5
7,908
cpp
C++
utillib/basenode.cpp
ahuachen/ethslurp
bc7354cc03599eaa82fdc431f7adc8b223619fc1
[ "MIT" ]
3
2020-12-29T16:10:55.000Z
2021-12-20T19:13:11.000Z
utillib/basenode.cpp
ahuachen/ethslurp
bc7354cc03599eaa82fdc431f7adc8b223619fc1
[ "MIT" ]
null
null
null
utillib/basenode.cpp
ahuachen/ethslurp
bc7354cc03599eaa82fdc431f7adc8b223619fc1
[ "MIT" ]
3
2017-10-08T00:43:04.000Z
2021-12-20T19:13:16.000Z
/*-------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2016 Great Hill 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 ...
25.025316
138
0.484446
ahuachen
bc806379e0a99fcff33ae0365eff3fbb477dd6cc
1,701
cpp
C++
Assignment VI/LR_Semantic_Analysis/semantic_rules.cpp
Karaya-12/Compiler-Principles
780f9aaf93bb6f65fd8fa2b9b665bdf2155876de
[ "CECILL-B" ]
2
2020-01-20T08:23:24.000Z
2021-11-10T07:55:56.000Z
Assignment VI/LR_Semantic_Analysis/semantic_rules.cpp
Karaya-12/Compiler-Principles
780f9aaf93bb6f65fd8fa2b9b665bdf2155876de
[ "CECILL-B" ]
null
null
null
Assignment VI/LR_Semantic_Analysis/semantic_rules.cpp
Karaya-12/Compiler-Principles
780f9aaf93bb6f65fd8fa2b9b665bdf2155876de
[ "CECILL-B" ]
null
null
null
#include "semantic_rules.h" /* * Semantic Rules & Actions * Prod No.1 --> E -> E+T, Value[top-2] = Value[top-2] + Value[top] & 2 * pop() * Prod No.2 --> E -> T, / * Prod No.3 --> T -> T*F, Value[top-2] = Value[top-2] * Value[top] & 2 * pop() * Prod No.4 --> T -> F, / * Prod No.5 --> F -> (E), Value[top-2] = Value[top-...
31.5
78
0.499706
Karaya-12
bc815f9396a23f69d18679f7ed8f5d31e0479101
2,577
hh
C++
hackt_docker/hackt/src/Object/ref/meta_value_reference.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/ref/meta_value_reference.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/ref/meta_value_reference.hh
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/ref/meta_value_reference.hh" $Id: meta_value_reference.hh,v 1.7 2010/01/03 01:34:43 fang Exp $ */ #ifndef __HAC_OBJECT_REF_META_VALUE_REFERENCE_H__ #define __HAC_OBJECT_REF_META_VALUE_REFERENCE_H__ #include "util/macros.h" #include "Object/ref/meta_value_reference_base.hh" #include "Object/traits...
27.709677
79
0.734575
broken-wheel
bc85665eca9e378d287694242eeca203c91a1d59
3,206
hpp
C++
Source/Utility/String/Format/Impl/ToStringImpl.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/String/Format/Impl/ToStringImpl.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/String/Format/Impl/ToStringImpl.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../FormatSymbols.hpp" #include "../kStringIdentity.hpp" #include "../../Tricks/kStringData.hpp" #include "../../../../TypeTraits/StringTraits.hpp" #include "../../../../TypeTraits/ConditionalReference.hpp" #include <string> namespace klib::kString::secret::impl { template<class Char_t> USE_R...
30.826923
193
0.700561
KingKiller100
bc86d3a39d5aef7ee301ba852fd3d762f4e283f1
1,089
cc
C++
benchmarks/rlpBenchmark.cc
ketlller/UniswapSniperBot
b5a508660ad133348ec74a48758b431529bf2d3e
[ "MIT" ]
127
2021-05-03T15:04:50.000Z
2022-03-28T02:26:43.000Z
benchmarks/rlpBenchmark.cc
brianleect/UniswapSniperBot
c04c225ffb08a69e8beb5db20ff4497995eea50c
[ "MIT" ]
2
2021-05-14T10:07:58.000Z
2021-07-15T20:53:02.000Z
benchmarks/rlpBenchmark.cc
brianleect/UniswapSniperBot
c04c225ffb08a69e8beb5db20ff4497995eea50c
[ "MIT" ]
56
2021-05-05T00:13:07.000Z
2022-03-08T13:24:15.000Z
#include <benchmark/benchmark.h> #include <rlp.hpp> #include <utils.hpp> static void encodeLength(benchmark::State &state) { Utils::Byte output[2]; for(auto _ : state) { benchmark::DoNotOptimize(RLP::encodeLength(255, 0x80, output)); } } static void encodeItem(benchmark::State &state) { Utils::Byte buff...
21.78
79
0.650138
ketlller
bc8a9766c483c11e04a8daa1c827e4f7af8d9aa1
1,517
cpp
C++
leetcode/medium/764. Largest Plus Sign.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
7
2019-08-05T14:49:41.000Z
2022-03-13T07:10:51.000Z
leetcode/medium/764. Largest Plus Sign.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
null
null
null
leetcode/medium/764. Largest Plus Sign.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
4
2021-01-04T03:45:22.000Z
2021-10-06T06:11:00.000Z
/** * problem : https://leetcode.com/problems/largest-plus-sign/ * time/space complexity : O(N^2) */ class Solution { public: int orderOfLargestPlusSign(int n, vector<vector<int>>& mines) { set<pair<int,int>> zeros; for(auto mine: mines){ zeros.insert({mine[0], mine[1]}); } ...
31.604167
72
0.415293
fpdjsns
bc8fa16339af2c8107e9ac747511625593dcb6df
774
cpp
C++
CPPPrimer/src/03/exams/3-36.cpp
MarsonShine/Books
31a43109bd03e3af77272a688578cb2d2ab1a153
[ "Apache-2.0" ]
15
2019-03-20T02:27:44.000Z
2022-03-16T02:34:29.000Z
CPPPrimer/src/03/exams/3-36.cpp
MarsonShine/Books
31a43109bd03e3af77272a688578cb2d2ab1a153
[ "Apache-2.0" ]
5
2020-11-09T07:51:07.000Z
2021-07-28T09:32:35.000Z
CPPPrimer/src/03/exams/3-36.cpp
MarsonShine/Books
31a43109bd03e3af77272a688578cb2d2ab1a153
[ "Apache-2.0" ]
2
2020-02-11T10:25:51.000Z
2021-09-23T10:46:00.000Z
#include<iostream> #include<string> #include<vector> using std::begin; using std::end; using std::cout; using std::endl; using std::vector; // 比较两个vector是否相等 // 比较两个数组是否相等 bool compare(int* const arr_begin, int* const arr_end, int* const arr2_begin, int* const arr2_end) { if ((arr_end - arr_begin) != (arr2_end - ar...
26.689655
100
0.567183
MarsonShine
bc91d1fb6aa5593096062f38c9d28d40da5323b8
10,526
cpp
C++
leven/src/compute_csg.cpp
nickgildea/leven
118bf1cacb75fdb3b306ccf27477037720af86e8
[ "Unlicense" ]
92
2017-10-08T17:26:12.000Z
2022-03-31T04:27:41.000Z
leven/src/compute_csg.cpp
nickgildea/leven
118bf1cacb75fdb3b306ccf27477037720af86e8
[ "Unlicense" ]
1
2021-02-11T01:12:19.000Z
2021-02-11T01:12:19.000Z
leven/src/compute_csg.cpp
nickgildea/leven
118bf1cacb75fdb3b306ccf27477037720af86e8
[ "Unlicense" ]
10
2018-01-13T14:13:52.000Z
2021-12-23T00:44:36.000Z
#include "compute_local.h" #include "compute_program.h" #include "volume_constants.h" #include "volume_materials.h" #include <Remotery.h> #include <sstream> // ---------------------------------------------------------------------------- int ApplyCSGOperations( MeshGenerationContext* meshGen, const std::vector<CSGO...
43.495868
145
0.754798
nickgildea
bc9498757e2658d26bfb067d5fcc14c2f7665dff
10,605
cpp
C++
test/common/tx.cpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
2
2020-06-01T00:30:12.000Z
2020-06-05T18:41:48.000Z
test/common/tx.cpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
null
null
null
test/common/tx.cpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
1
2020-06-05T18:33:28.000Z
2020-06-05T18:33:28.000Z
#include "catch2/catch.hpp" // Project includes #include "common/tx.hpp" using namespace ech; using Catch::Matchers::Equals; TEST_CASE("tx data zero", "[common][txdata]") { const uint32_t version = 0u; const auto inputs = std::vector<Input>{}; const auto outputs = std::vector<TXO>{}; const uint64_t heightMin = 0...
44.1875
177
0.758133
adlerjohn
bc99aee4caf55f0085df2f10d1b9ab4111202db5
387
inl
C++
node_modules/lzz-gyp/lzz-source/smtc_ParamToNavCtorParam.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_ParamToNavCtorParam.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_ParamToNavCtorParam.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_ParamToNavCtorParam.inl // #ifdef LZZ_ENABLE_INLINE #define LZZ_INLINE inline #else #define LZZ_INLINE #endif namespace smtc { LZZ_INLINE ParamPtr ParamToNavCtorParam::operator () (ParamPtr const & param) const { return paramToNavCtorParam (param); } } namespace smtc { LZZ_INLINE ParamToNavCtorPara...
17.590909
85
0.731266
SuperDizor
bc9a0451cf1b9bba278afe93368519b9994c3fb2
3,620
cc
C++
src/batchnorm/launch_variance.cc
codeplaysoftware/SYCL-DNN
db554c9592f86c58adddc01df101da591a61de51
[ "Apache-2.0" ]
85
2018-06-04T08:07:20.000Z
2022-03-30T15:53:46.000Z
src/batchnorm/launch_variance.cc
codeplaysoftware/SYCL-DNN
db554c9592f86c58adddc01df101da591a61de51
[ "Apache-2.0" ]
8
2019-07-19T11:10:43.000Z
2021-02-05T10:18:49.000Z
src/batchnorm/launch_variance.cc
codeplaysoftware/SYCL-DNN
db554c9592f86c58adddc01df101da591a61de51
[ "Apache-2.0" ]
19
2018-12-28T12:09:22.000Z
2022-01-08T02:55:14.000Z
/* * Copyright Codeplay Software Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
35.841584
79
0.633978
codeplaysoftware
bc9abf9958914fd1d4d4841944037194826cad54
2,356
hpp
C++
Assign2/DisplayModule/Messages.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
Assign2/DisplayModule/Messages.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
Assign2/DisplayModule/Messages.hpp
thekana/MTRN3500-Assign2
07083eb3aab3f3b061c42159d83cbe50b5f55c68
[ "OLDAP-2.5" ]
null
null
null
#ifndef MTRN3500_MESSAGES_H #define MTRN3500_MESSAGES_H #include <vector> #include <string> // --- code for handling vehicle state --- struct VehicleState { int remoteID; float x; float z; // y up float rotation; float speed; float steering; }; // --- code for handling vehicle models --- enum ShapeType { UN...
20.310345
71
0.707131
thekana
bc9b8d0af7dc1fa7e05f6841c20d8a6ef10c5ac8
330
cpp
C++
snippets/cpp/VS_Snippets_CodeAnalysis/FxCop.Design.CallUriOverload/cpp/FxCop.Design.CallUriOverload.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_CodeAnalysis/FxCop.Design.CallUriOverload/cpp/FxCop.Design.CallUriOverload.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_CodeAnalysis/FxCop.Design.CallUriOverload/cpp/FxCop.Design.CallUriOverload.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
//<Snippet1> #using <system.dll> using namespace System; namespace DesignLibrary { public ref class History { public: void AddToHistory(String^ uriString) { Uri^ newUri = gcnew Uri(uriString); AddToHistory(newUri); } void AddToHistory(Uri^ uriType) { } }; } //</...
16.5
45
0.606061
BohdanMosiyuk
bc9c539fc9a7cd43e93fe11d61677fb28c75e440
48,885
cpp
C++
src/devices/bus/ti99/gromport/cartridges.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/bus/ti99/gromport/cartridges.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/bus/ti99/gromport/cartridges.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:LGPL-2.1+ // copyright-holders:Michael Zapf /*************************************************************************** Cartridge implementation Every cartridge is an instance of ti99_cartridge_device, implementing the device_image_interface. This means it is capable of loading cartridge da...
29.77162
174
0.60133
Robbbert
bc9e7c8941dedb8b12e5c40e4b435c3cb3681525
5,091
inl
C++
scimitar/util/biguint.inl
grandmaster789/scimitar
8f12caa2c3a9b9c6b366871d58d25f72cacbd825
[ "MIT" ]
null
null
null
scimitar/util/biguint.inl
grandmaster789/scimitar
8f12caa2c3a9b9c6b366871d58d25f72cacbd825
[ "MIT" ]
null
null
null
scimitar/util/biguint.inl
grandmaster789/scimitar
8f12caa2c3a9b9c6b366871d58d25f72cacbd825
[ "MIT" ]
null
null
null
#pragma once #include "biguint.h" #include "codec/base_n.h" #include <cassert> namespace scimitar::util { template <std::unsigned_integral T, int N> template <int M> requires (M < N) Biguint<T, N>::Biguint(const Biguint<T, M>& x) noexcept { int i = 0; for (; i < M; ++i) m_Digits[i] = x.m_Digits[i]; fo...
23.246575
87
0.628364
grandmaster789
bca3d5f95c1e34ade1bb9fb18f2e42f274fb44be
1,440
hpp
C++
C++/leetcode/Out_of_Boundary_Paths/solution.hpp
pterodragon/programming
1e9c10490c3aaebe51bc06f8e0c6566e9f8b461c
[ "MIT" ]
2
2018-10-06T14:43:13.000Z
2019-02-03T13:07:14.000Z
C++/leetcode/Out_of_Boundary_Paths/solution.hpp
pterodragon/programming
1e9c10490c3aaebe51bc06f8e0c6566e9f8b461c
[ "MIT" ]
null
null
null
C++/leetcode/Out_of_Boundary_Paths/solution.hpp
pterodragon/programming
1e9c10490c3aaebe51bc06f8e0c6566e9f8b461c
[ "MIT" ]
null
null
null
#ifndef SOLUTION_HPP #define SOLUTION_HPP #include <iostream> #include <string> #include <utility> #include <vector> using namespace std; struct Input { int m; int n; int N; int i; int j; friend std::ostream &operator<<(std::ostream &s, const Input &x) { return s << x.m << ", " << x.n << ", " << x.N <...
24.40678
80
0.404861
pterodragon
bca52125e1f749efb509afba07a6cf986c012011
14,805
cpp
C++
Cores/FCEU/FCEU/drivers/win/taseditor/taseditor_lua.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/FCEU/FCEU/drivers/win/taseditor/taseditor_lua.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/FCEU/FCEU/drivers/win/taseditor/taseditor_lua.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
/* --------------------------------------------------------------------------------- Implementation file of TASEDITOR_LUA class Copyright (c) 2011-2013 AnS (The MIT License) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softw...
31.234177
461
0.694022
werminghoff
bca8629e45895230c239bf04640ab6e3c3647b10
2,239
cpp
C++
collection/cp/bcw_codebook-master/Contest/ASC41/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/ASC41/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/ASC41/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
//bcw0x1bd2 {{{ #include<bits/stdc++.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define MC(n,m) memcpy((n),(m),sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define FOR(x,y) for(__typeof(y.begin())x=y.begin();x!=y.end();x...
19.640351
92
0.526574
daemonslayer
bca87cba48152db2267b8a023bc8ef29da2f4e7e
508
cpp
C++
ExpTest/ExpTest.prj/IndexDlg.cpp
rrvt/ExpTest
94391b48afd974d0d77e5b02c04ff234fa2d9e54
[ "MIT" ]
null
null
null
ExpTest/ExpTest.prj/IndexDlg.cpp
rrvt/ExpTest
94391b48afd974d0d77e5b02c04ff234fa2d9e54
[ "MIT" ]
null
null
null
ExpTest/ExpTest.prj/IndexDlg.cpp
rrvt/ExpTest
94391b48afd974d0d77e5b02c04ff234fa2d9e54
[ "MIT" ]
null
null
null
// IndexDlg.cpp : implementation file // #include "stdafx.h" #include "IndexDlg.h" // IndexDlg dialog IMPLEMENT_DYNAMIC(IndexDlg, CDialogEx) IndexDlg::IndexDlg(CWnd* pParent) : CDialogEx(IDD_Index, pParent), indexReq(_T("")), index(_T("")) { } IndexDlg::~IndexDlg() { } void IndexDlg::DoDataExchange(CDataExchan...
18.142857
102
0.718504
rrvt
bca969beb80d122ba1dd2895e1d8e09dc9ecd3a6
325
hpp
C++
ospp/impl/mml/clipboard.hpp
volcoma/ospp
48de0844b66acf515ac17dc5e673435b33876b35
[ "MIT" ]
1
2019-05-26T19:50:29.000Z
2019-05-26T19:50:29.000Z
ospp/impl/mml/clipboard.hpp
volcoma/ospp
48de0844b66acf515ac17dc5e673435b33876b35
[ "MIT" ]
null
null
null
ospp/impl/mml/clipboard.hpp
volcoma/ospp
48de0844b66acf515ac17dc5e673435b33876b35
[ "MIT" ]
null
null
null
#pragma once #include "../../keyboard.h" #include "config.hpp" namespace os { namespace clipboard { namespace detail { namespace mml { inline auto get_text() noexcept -> std::string { return ::mml::clipboard::get_string(); } inline void set_text(const std::string& text) { ::mml::clipboard::set_string(text); } } }...
11.607143
46
0.686154
volcoma
bca990c4ebc334b3805cf296a810ac240e910b1e
3,488
cpp
C++
fmaimage/src/image/PixelClass.cpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
14
2018-01-25T10:31:05.000Z
2022-02-19T13:08:11.000Z
fmaimage/src/image/PixelClass.cpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
1
2020-12-24T10:10:28.000Z
2020-12-24T10:10:28.000Z
fmaimage/src/image/PixelClass.cpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
null
null
null
#include <image/PixelClass.hpp> #include <image/BaseCanvasClass.hpp> #include <fma/core/Number.hpp> #include <fma/core/String.hpp> #include <fma/types/ClassPrototype.hpp> #include <fma/types/Undefined.hpp> #include <fma/types/Object.hpp> #include <fma/interpret/ParameterList.hpp> #include <fma/Project.hpp> #include <ss...
42.536585
133
0.650516
BenjaminSchulte
bcaa18c9852b64cd0bacac4d9752c60198281827
22,367
hpp
C++
inc/vcf/file_structure.hpp
andresfsilva/vcf-validator
439f940289139d3a5611d7d169e419872ed8764c
[ "Apache-2.0" ]
115
2015-10-10T16:44:02.000Z
2022-03-17T12:21:19.000Z
inc/vcf/file_structure.hpp
andresfsilva/vcf-validator
439f940289139d3a5611d7d169e419872ed8764c
[ "Apache-2.0" ]
122
2015-10-01T12:11:32.000Z
2021-11-30T13:36:16.000Z
inc/vcf/file_structure.hpp
andresfsilva/vcf-validator
439f940289139d3a5611d7d169e419872ed8764c
[ "Apache-2.0" ]
34
2016-05-03T14:20:13.000Z
2022-02-17T12:10:17.000Z
/** * Copyright 2014-2017 EMBL - European Bioinformatics Institute * * 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 require...
35.11303
166
0.528815
andresfsilva
bcaa1945e59872161cbcb64bf3445ee3e4cb4791
941
cpp
C++
Codeforces/1185C1.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/1185C1.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/1185C1.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct test{ int test; int index; }; bool compareTests(test t1, test t2){ return t1.test<t2.test; } vector<test> tests, sortedTests; int total; void insertTest(test t){ total+=t.test; tests.push_back(t); sortedTests.push_back(t); sort(sortedTests...
20.911111
63
0.539851
DT3264
bcb087db260b55e3b3ebec6c82d217785b8bafc9
6,310
cpp
C++
libs/draw/text.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
15
2017-10-18T05:08:16.000Z
2022-02-02T11:01:46.000Z
libs/draw/text.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
null
null
null
libs/draw/text.cpp
kdt3rd/gecko
756a4e4587eb5023495294d9b6c6d80ebd79ebde
[ "MIT" ]
1
2018-11-10T03:12:57.000Z
2018-11-10T03:12:57.000Z
// SPDX-License-Identifier: MIT // Copyright contributors to the gecko project. #include "text.h" #include <gl/element_buffer_data.h> #include <gl/vertex_buffer_data.h> namespace draw { //////////////////////////////////////// text::text( void ) : _scale( 1.F, 1.F ), _color( 0.f, 0.f, 0.f, 1.f ) {} ///////////////...
27.198276
90
0.495563
kdt3rd
bcb1cb80335fbc76b48b40b970d3fb86a14a4683
478
cpp
C++
modules/core/src/Dialog/gmDialogAbout.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/core/src/Dialog/gmDialogAbout.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/core/src/Dialog/gmDialogAbout.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmDialogAbout.hpp" namespace gm { namespace Dialog { About* About::instance = nullptr; About::About() : Base("About") { log_trace(Log::New, this); } auto About::Show() -> void { log_trace(Log::Func); ...
17.703704
41
0.382845
GraphMIC
bcb1ed90985fce7dd1cd633de633c54b6b485179
4,135
cpp
C++
WKC/WebKit/WKC/helpers/privates/WKCFrameLoader.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
WKC/WebKit/WKC/helpers/privates/WKCFrameLoader.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
WKC/WebKit/WKC/helpers/privates/WKCFrameLoader.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (c) 2011 ACCESS CO., LTD. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later ve...
25.524691
92
0.750665
s1rcheese
bcb435c598859ae0e3234f3a56df5c1f4343bf32
10,717
cpp
C++
tests/self/0.inputiter.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
53
2015-01-13T05:46:43.000Z
2022-02-24T23:46:04.000Z
tests/self/0.inputiter.cpp
mann-patel/stdcxx
a22c5192f4b2a8b0b27d3588ea8f6d1faf8b037a
[ "Apache-2.0" ]
1
2021-11-04T12:35:39.000Z
2021-11-04T12:35:39.000Z
tests/self/0.inputiter.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
33
2015-07-09T13:31:00.000Z
2021-11-04T12:12:20.000Z
/************************************************************************ * * 0.inputiter.cpp - test exercising the InputIter class template * * $Id$ * ************************************************************************ * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor ...
28.964865
76
0.482225
isabella232
bcb6e43a4ca683d318da48b9d57e80a537f35661
7,479
cc
C++
graphicsdisplay.cc
woongbinchoi/Sorcery
d8e6e2b684490b0b6b982c704282a8b785b50d13
[ "MIT" ]
null
null
null
graphicsdisplay.cc
woongbinchoi/Sorcery
d8e6e2b684490b0b6b982c704282a8b785b50d13
[ "MIT" ]
null
null
null
graphicsdisplay.cc
woongbinchoi/Sorcery
d8e6e2b684490b0b6b982c704282a8b785b50d13
[ "MIT" ]
null
null
null
#include "graphicsdisplay.h" #include "card.h" #include "board.h" #include "enchantlist.h" #include "ascii_graphics.h" using namespace std; GraphicsDisplay::GraphicsDisplay(int winSize): width{winSize * 2}, height{winSize}, xw{winSize * 2, winSize} { CardHeight = CARD_TEMPLATE_EMPTY.size(); CardWidth = CARD_TEMPLAT...
38.158163
161
0.677898
woongbinchoi
bcbab8659a32d5726207d7e59feb442713c27c45
4,581
cpp
C++
cloud9_root/src/cloud9/lib/Support/TreeStream.cpp
DanielGuoVT/symsc
95b705bd1f4d2863d79866c84fc7ee90aba743cb
[ "Apache-2.0" ]
3
2019-02-12T04:14:39.000Z
2020-11-05T08:46:20.000Z
cloud9_root/src/cloud9/lib/Support/TreeStream.cpp
DanielGuoVT/symsc
95b705bd1f4d2863d79866c84fc7ee90aba743cb
[ "Apache-2.0" ]
null
null
null
cloud9_root/src/cloud9/lib/Support/TreeStream.cpp
DanielGuoVT/symsc
95b705bd1f4d2863d79866c84fc7ee90aba743cb
[ "Apache-2.0" ]
null
null
null
//===-- TreeStream.cpp ----------------------------------------------------===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
23.859375
125
0.621917
DanielGuoVT
bcbc7889a5d4177c7ae611d767a12a9d54f9d4d4
3,683
cc
C++
example/example.cc
wamonite/Pandrift
8f7d8dace2d68f030562d4698c9830d7f9624718
[ "MIT" ]
3
2021-09-09T04:49:23.000Z
2022-01-23T22:33:50.000Z
example/example.cc
wamonite/Pandrift
8f7d8dace2d68f030562d4698c9830d7f9624718
[ "MIT" ]
null
null
null
example/example.cc
wamonite/Pandrift
8f7d8dace2d68f030562d4698c9830d7f9624718
[ "MIT" ]
3
2016-05-23T00:05:58.000Z
2019-06-12T06:36:21.000Z
/*################################################################ Pandrift Copyright (c) 2013 Warren Moore This software may be redistributed under the terms of the MIT License. See the file LICENSE for details. ################################################################*/ #include "pandaFramework.h" #include "...
31.478632
86
0.708661
wamonite
bcbf6d9f173e66e77e7dd1c0b97135be04fa2361
17,435
cpp
C++
src/tests/manual_tests/level_set_liquid_solver2_tests.cpp
PavelBlend/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
1,355
2016-05-08T07:29:22.000Z
2022-03-30T13:59:35.000Z
src/tests/manual_tests/level_set_liquid_solver2_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
208
2016-05-25T19:47:27.000Z
2022-01-17T04:18:29.000Z
src/tests/manual_tests/level_set_liquid_solver2_tests.cpp
Taiyuan-Zhang/fluid-engine-dev
45b4bdbdb4c6d8c0beebc682180469198203b0ef
[ "MIT" ]
218
2016-08-23T16:51:10.000Z
2022-03-31T03:55:48.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <manual_tests.h> #include <jet/box2.h> #include <jet/level_set_liquid_solver2.h> #include <jet...
31.24552
78
0.610611
PavelBlend
bcc2454f1f0332ef2081b2786df6a23c5a636a3a
5,050
cpp
C++
src/eleKtro/effect3d.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/eleKtro/effect3d.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/eleKtro/effect3d.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "elektroexp.h" ////////////////////////////////////////////...
43.913043
137
0.228119
aestesis
bcc2c4fda51af30bd0bb83bfeb934763e56dc042
1,257
cpp
C++
app/appinit.cpp
leolin0518/CDoc
52f0edaecd69f2aeec9856c473a867bab306f4b8
[ "Apache-2.0" ]
null
null
null
app/appinit.cpp
leolin0518/CDoc
52f0edaecd69f2aeec9856c473a867bab306f4b8
[ "Apache-2.0" ]
null
null
null
app/appinit.cpp
leolin0518/CDoc
52f0edaecd69f2aeec9856c473a867bab306f4b8
[ "Apache-2.0" ]
1
2018-09-14T05:52:52.000Z
2018-09-14T05:52:52.000Z
#include "appinit.h" #include "myhelper.h" /* * APP初始化化类 */ AppInit::AppInit(QObject *parent) : QObject(parent) { mousePressed = false; qApp->installEventFilter(this); } bool AppInit::eventFilter(QObject *obj, QEvent *evt) { QWidget *w = (QWidget *)obj; if (!w->property("CanMove").toBool()) { ...
25.14
67
0.588703
leolin0518
bcc301e004e5e037e73b0c90a4d9978bf1103a9a
6,365
cpp
C++
performance_metrics/src/resource_usage_logger.cpp
daoran/ros2-performance
5b9c2f1b4267775408eb7222ab107ddaf484c6bc
[ "BSD-3-Clause" ]
null
null
null
performance_metrics/src/resource_usage_logger.cpp
daoran/ros2-performance
5b9c2f1b4267775408eb7222ab107ddaf484c6bc
[ "BSD-3-Clause" ]
null
null
null
performance_metrics/src/resource_usage_logger.cpp
daoran/ros2-performance
5b9c2f1b4267775408eb7222ab107ddaf484c6bc
[ "BSD-3-Clause" ]
null
null
null
/* Software License Agreement (BSD License) * * Copyright (c) 2019, iRobot ROS * All rights reserved. * * This file is part of ros2-performance, which is released under BSD-3-Clause. * You may use, distribute and modify this code under the BSD-3-Clause license. */ #include <sys/resource.h> #include <sys/typ...
31.509901
98
0.664886
daoran
344ab2380abc016823604592f3c505d4618c5d66
4,939
cpp
C++
src/polybench/POLYBENCH_FDTD_2D-Hip.cpp
crtrott/KokkosPerf
7f33ca298efd298474541f3e954a888d636abea4
[ "BSD-3-Clause" ]
1
2022-03-11T22:00:42.000Z
2022-03-11T22:00:42.000Z
src/polybench/POLYBENCH_FDTD_2D-Hip.cpp
jonesholger/RAJAPerf
7b8c01cdeb32eedb832dd1cc9696d0da0831a3b5
[ "BSD-3-Clause" ]
null
null
null
src/polybench/POLYBENCH_FDTD_2D-Hip.cpp
jonesholger/RAJAPerf
7b8c01cdeb32eedb832dd1cc9696d0da0831a3b5
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2017-20, Lawrence Livermore National Security, LLC // and RAJA Performance Suite project contributors. // See the RAJAPerf/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~...
25.590674
103
0.59263
crtrott
344afde7f43af9fc259dd11323abfcfccdfa33ca
4,618
hpp
C++
2dparty/spencer_tracking_rviz_plugin/include/spencer_tracking_rviz_plugin/human_attributes_display.hpp
saurabhp369/pedsim_ros2
001491d4cd1b8df14be43673703fa232404feb84
[ "BSD-2-Clause" ]
5
2018-12-22T08:35:08.000Z
2021-05-14T04:59:23.000Z
2dparty/spencer_tracking_rviz_plugin/include/spencer_tracking_rviz_plugin/human_attributes_display.hpp
saurabhp369/pedsim_ros2
001491d4cd1b8df14be43673703fa232404feb84
[ "BSD-2-Clause" ]
2
2020-07-24T10:13:37.000Z
2020-08-24T07:16:30.000Z
2dparty/spencer_tracking_rviz_plugin/include/spencer_tracking_rviz_plugin/human_attributes_display.hpp
saurabhp369/pedsim_ros2
001491d4cd1b8df14be43673703fa232404feb84
[ "BSD-2-Clause" ]
11
2018-06-08T09:15:16.000Z
2021-02-02T01:37:46.000Z
/* * Software License Agreement (BSD License) * * Copyright (c) 2013-2015, Timm Linder, Social Robotics Lab, University of Freiburg * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redis...
40.867257
107
0.728237
saurabhp369
344b3f6dee27e26304798b682509667dd087f416
3,862
cpp
C++
ExtLib/Aurora/Systems/RocketLibSystem/RocketLibSystemGLFW.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ExtLib/Aurora/Systems/RocketLibSystem/RocketLibSystemGLFW.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ExtLib/Aurora/Systems/RocketLibSystem/RocketLibSystemGLFW.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
/* * This source file is part of libRocket, the HTML/CSS Interface Middleware * * For the latest information, see http://www.librocket.com * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and assoc...
22.988095
90
0.738995
Mechap
344ca228bac72d68fe36c094379f60add6b1c3a6
6,630
cpp
C++
infer_server/tests/unit/test_request_ctrl.cpp
zhn6818/Cambricon_easydk
e696bda55c32d5b569afbd0b3869198b9ec9160e
[ "Apache-2.0" ]
2
2021-09-14T09:00:35.000Z
2021-09-16T01:34:35.000Z
infer_server/tests/unit/test_request_ctrl.cpp
zhn6818/Cambricon_easydk
e696bda55c32d5b569afbd0b3869198b9ec9160e
[ "Apache-2.0" ]
null
null
null
infer_server/tests/unit/test_request_ctrl.cpp
zhn6818/Cambricon_easydk
e696bda55c32d5b569afbd0b3869198b9ec9160e
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2020] by Cambricon, Inc. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
33.654822
112
0.669231
zhn6818
344cd6e863bcb1b431359f66c95c221534019997
4,022
cpp
C++
colorsamplerview.cpp
yvt/terravox
25412f892f295d2c259d9c5df3387d635616d555
[ "MIT" ]
24
2015-02-26T06:38:41.000Z
2021-06-06T15:51:43.000Z
colorsamplerview.cpp
BuildandShoot/terravox
c7f5d21b053aa7c7ed3b2442d3eae65171495b5a
[ "MIT" ]
17
2015-02-26T07:53:57.000Z
2017-07-28T06:31:42.000Z
colorsamplerview.cpp
yvt/terravox
25412f892f295d2c259d9c5df3387d635616d555
[ "MIT" ]
6
2015-02-26T06:38:45.000Z
2020-03-29T19:12:10.000Z
#include "colorsamplerview.h" #include <QPainter> #include "terrainview.h" #include <QTimer> #include <QApplication> #include <QPixmap> #include "terrain.h" ColorSamplerView::ColorSamplerView(TerrainView *view, QObject *parent) : QObject(parent), view(view), active(false), hover(false), otherActive...
25.1375
90
0.597961
yvt
344d6c5a97102b8a42f43a59ae661ee08b91fa3f
3,020
cxx
C++
src/sodium/Base64.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
13
2017-06-30T15:38:21.000Z
2022-03-11T06:49:17.000Z
src/sodium/Base64.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
2
2017-10-29T18:28:28.000Z
2020-08-20T00:43:21.000Z
src/sodium/Base64.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
6
2017-10-29T11:38:13.000Z
2021-10-12T00:36:38.000Z
/* * Copyright 2020-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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 abo...
30.505051
70
0.754636
CM4all
344efc501cc375cff394dcdb7731548a53c1d126
479
cpp
C++
platforms/gfg/0360_rearrange_array_arri_arrj_even_arri.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/gfg/0360_rearrange_array_arri_arrj_even_arri.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/gfg/0360_rearrange_array_arri_arrj_even_arri.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" void Rearrange(vi arr) { int n = arr.size(); sort(arr.begin(), arr.end()); vi ans(n); int idx = n - 1; for (int i = 0, j = n - 1; i <= j; ++i, --j) { ans[idx--] = arr[i]; if (i != j) { ans[idx--] = arr[j]; } } cout << ans << ...
19.958333
50
0.413361
idfumg
3453c1208dc9898b20a1794c78139bf799e0a4c6
5,091
cpp
C++
2.0/pio-2.2/src/hub/main.cpp
msmcs-robotics/robot1
cc467daf23eefabd4dd8ffaf053f4c72c91a1e15
[ "0BSD" ]
null
null
null
2.0/pio-2.2/src/hub/main.cpp
msmcs-robotics/robot1
cc467daf23eefabd4dd8ffaf053f4c72c91a1e15
[ "0BSD" ]
null
null
null
2.0/pio-2.2/src/hub/main.cpp
msmcs-robotics/robot1
cc467daf23eefabd4dd8ffaf053f4c72c91a1e15
[ "0BSD" ]
null
null
null
#include <Arduino.h> #include <Wire.h> #include <pb_decode.h> #include <Ultrasonic.h> // lib link - https://github.com/JRodrigoTech/Ultrasonic-HC-SR04 #include <SD.h> #include "ref.pb.h" // I2C packets const auto BAUD_RATE = 115200; const auto I2C_ADDRESS = 8; void handle_packet(int packet_len); // setup SD card pi...
24.242857
149
0.602829
msmcs-robotics
34553b781399bb04075e09e25f573f4f5a61dd09
7,401
cpp
C++
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Core/SteamCheckForWorkshop.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Core/SteamCheckForWorkshop.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Core/SteamCheckForWorkshop.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
#define _CRT_SECURE_NO_WARNINGS #include "SteamCheckForWorkshop.h" #include <stdio.h> // Steam Multiplayer DLL functions needed HMODULE SteamMultiplayerModule = NULL; typedef void (*t_SteamGetWorkshopItemPathDLL)(LPSTR); typedef int (*t_SteamIsWorkshopLoadingOnDLL)(); t_SteamGetWorkshopItemPathDLL Steam_SteamGetWo...
30.709544
151
0.686529
domydev
345988252dc830cd1fb53e38e8bfb2a985e84351
3,886
cpp
C++
HDUOJ/2242/tarjan_edcc.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
HDUOJ/2242/tarjan_edcc.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
HDUOJ/2242/tarjan_edcc.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 <vector> #include <queue> #include <map> #include <set> #include <stack> #define EDGE_SIZE 40100 #define VERTEX_SIZE 10010 using namespace std; typedef struct ...
21.234973
63
0.492795
codgician
345dafc0f0eeca907ad8fc1d640c2450986a17c8
1,337
cpp
C++
07/src/main.cpp
mert-kurttutan/nand2tetris_course2
b7ef8b4448c2b2576c338ac68a1ed5f23ab9fe6a
[ "MIT" ]
null
null
null
07/src/main.cpp
mert-kurttutan/nand2tetris_course2
b7ef8b4448c2b2576c338ac68a1ed5f23ab9fe6a
[ "MIT" ]
null
null
null
07/src/main.cpp
mert-kurttutan/nand2tetris_course2
b7ef8b4448c2b2576c338ac68a1ed5f23ab9fe6a
[ "MIT" ]
null
null
null
#include <iostream> #include <parser.hpp> #include <codewriter.hpp> #include <utils.hpp> #include <iomanip> void VMTranslator(string file_name, string output_name); void print(std::vector <string> const &a) { std::cout << "The vector elements are : "; for(int i=0; i < int(a.size()); i++) std::cout << a.at...
23.45614
95
0.62902
mert-kurttutan
345df6b047ef281f417fe0a2c80b5a2850c5e434
21,399
cpp
C++
boinc/clientgui/BOINCListCtrl.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
boinc/clientgui/BOINCListCtrl.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
4
2020-09-07T15:54:45.000Z
2020-09-27T16:47:16.000Z
boinc_new/clientgui/BOINCListCtrl.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2015 University of California // // BOINC 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 3 of the Licens...
31.330893
117
0.643067
tomasbrod
345feea02687b7057157c591fd850cfb7674ba7b
3,115
cpp
C++
src/driver.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
null
null
null
src/driver.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
1
2019-05-26T18:25:43.000Z
2019-05-26T18:25:43.000Z
src/driver.cpp
pcdangio/ros-interface_quad_encoder
af2cc49acbde8f5684a65b16a18f50d54d0cdc87
[ "MIT" ]
null
null
null
#include "driver.h" #include <math.h> // CONSTRUCTORS driver::driver() { // Set default values driver::m_current_position = 0; driver::m_prior_state = 0; driver::m_pulses_missed = 0; // Set the parameters. driver::m_cpr = 400; // Set up the qmatrix, which is to be indexed by (prior_state...
27.8125
99
0.666453
pcdangio
34648bec9320e1871bcc01e8941a248c15a878d8
835
cpp
C++
pointers/this_pointer.cpp
gunnarpope/cpp_tutorials
e8e152668b0d12c5ce7b5152580d6ddcc731ecb7
[ "MIT" ]
null
null
null
pointers/this_pointer.cpp
gunnarpope/cpp_tutorials
e8e152668b0d12c5ce7b5152580d6ddcc731ecb7
[ "MIT" ]
null
null
null
pointers/this_pointer.cpp
gunnarpope/cpp_tutorials
e8e152668b0d12c5ce7b5152580d6ddcc731ecb7
[ "MIT" ]
null
null
null
// how to use the this pointer // p344 C++CompleteGuide.pdf /* ""The this pointer points to the object that invoked pwr( ). Thus, this –>b refers to that object's copy of b. For example, if pwr( ) had been invoked by x (as in x(4.0, 2)), then this in the preceding statement would have been pointing to x. Writing the s...
19.880952
90
0.623952
gunnarpope
34654d01c57d246269bcffa3f356d771635c0802
268
cpp
C++
C++/stream/char.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
C++/stream/char.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
C++/stream/char.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
/*#include"stdio.h" #include"ctype.h" int main () { int c; c='A'; printf("%c:%s\n",c,isascii(c) ? "Yes":"NO"); c=0x7f; printf("%c:%s\n",c,isascii(c) ? "Yes":"NO"); c=0x80; printf("%c:%s\n",c,isascii(c) ? "Yes":"NO"); int a=3; printf("%c\n",a); return 0; }*/
17.866667
45
0.518657
liangjisheng
346a0db646e964fb8401631336321228c508d189
806
hxx
C++
tests/cvmuls.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
10
2015-01-29T23:21:06.000Z
2019-07-05T06:27:16.000Z
tests/cvmuls.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
null
null
null
tests/cvmuls.hxx
zardchim/opencvx
f3727c9be5532f9a41c29f558e72aa19b6db97a4
[ "Unlicense" ]
13
2015-04-13T20:50:36.000Z
2022-03-20T16:06:05.000Z
#ifdef _MSC_VER #pragma warning(disable:4996) #pragma comment(lib, "cv.lib") #pragma comment(lib, "cxcore.lib") #pragma comment(lib, "cvaux.lib") #pragma comment(lib, "highgui.lib") #endif #include <stdio.h> #include <stdlib.h> #include "cv.h" #include "cvaux.h" #include "cxcore.h" #include "highgui.h" #include "cvmul...
23.028571
63
0.590571
zardchim
346ce4e303c04e7dafda471836cf5a275e0c4597
17,666
cxx
C++
src/Filter/TkrFilterTool.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
src/Filter/TkrFilterTool.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
src/Filter/TkrFilterTool.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
/** * @class TkrFilterTool * * @brief Implements a Gaudi Tool * * @author Tracy Usher * * File and Version Information: * $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/TkrRecon/src/Filter/TkrFilterTool.cxx,v 1.10 2012/10/03 14:12:59 bruel Exp $ */ // to turn one debug variables // #define DE...
31.830631
141
0.617118
fermi-lat
346ea73300540c234280ad163d17c9655a54a3b0
657
cpp
C++
DSA-450/04SearchSort/07repMiss.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
DSA-450/04SearchSort/07repMiss.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
DSA-450/04SearchSort/07repMiss.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
// question link: https://practice.geeksforgeeks.org/problems/find-missing-and-repeating2512/1# #include <bits/stdc++.h> using namespace std; void findTwoElement(int *arr, int n) { unordered_map<int, int> twice; for (int i = 0; i < n; i++) { twice[arr[i]]++; } sort(arr, arr + n); int m...
21.193548
95
0.502283
vikkastiwari
347139356ce3e6c749ff183a55e4dc500378ba5c
10,264
cpp
C++
3rdparty/GPSTk/core/tests/RefTime/TimeSystemCorr_T.cpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/tests/RefTime/TimeSystemCorr_T.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/tests/RefTime/TimeSystemCorr_T.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
#include "CivilTime.hpp" #include "CommonTime.hpp" #include "TimeSystemCorr.hpp" #include "TestUtil.hpp" #include <iostream> #include <sstream> #include <cmath> class TimeSystemCorr_T { public: TimeSystemCorr_T(){ eps = 1E-12; }// Default Constructor, set the precision value ~TimeSystemCorr_T() {} // Default De...
44.626087
100
0.66592
mfkiwl
3471d96a365bb3a26e53c9ff6d13960d8babee3a
1,301
cpp
C++
detection/src/zed_rot.cpp
ammolitor/open_ptrack_v2
a4af0c24883e38a298fb65dd03f76d39ad835616
[ "BSD-3-Clause" ]
null
null
null
detection/src/zed_rot.cpp
ammolitor/open_ptrack_v2
a4af0c24883e38a298fb65dd03f76d39ad835616
[ "BSD-3-Clause" ]
null
null
null
detection/src/zed_rot.cpp
ammolitor/open_ptrack_v2
a4af0c24883e38a298fb65dd03f76d39ad835616
[ "BSD-3-Clause" ]
null
null
null
// ROS includes: #include <ros/ros.h> #include <ros/package.h> // PCL includes: #include <pcl/conversions.h> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/sample_consensus/sac_model_plane.h> #include <pcl_conversions/pcl_conversions.h> #includ...
26.02
92
0.760184
ammolitor
34735f7805ae19561cb3c0e7f6e785dad57e7c02
2,047
cpp
C++
C_-_Knight_Fork.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
C_-_Knight_Fork.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
C_-_Knight_Fork.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long int main(){ // The distance between points (2,1) and (x1​,y1​) is (0−2)2+(0−1)2 // ​=5 // ​; // the distance between points // (2,1) and (x2​,y2​) is (3−2)2+(3−1)2 // ​=5 // ​; // point // (2,1) is a lattice point, ll x1,y1,x2,y2; cin>>x1>>y1>>x2>>y2...
15.276119
75
0.536395
jnvshubham7
34793e94eca2a38cab5c90782fa6d2d436292146
3,463
cpp
C++
src/modules/warehouse/VouchersFindDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/warehouse/VouchersFindDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
src/modules/warehouse/VouchersFindDialog.cpp
Thorsten-Geppert/Warehouse
b064e5b422d0b484ca702cc4433cbda90f40e009
[ "BSD-3-Clause" ]
null
null
null
#include "VouchersFindDialog.h" #include "../lib/KeyValueDatabaseLibrary.h" #include "Configuration.h" #include "resources/images/WarehouseIcon.xpm" BEGIN_EVENT_TABLE(VouchersFindDialog, wxDialog) EVT_MENU(FIND_EVENT, VouchersFindDialog::FindKeyEvent) EVT_MENU(CANCEL_EVENT, VouchersFindDialog::CancelKeyEvent) END_EV...
34.63
84
0.77274
Thorsten-Geppert