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
3af7842be2b30fb41be226f632e03381332423b8
424
hpp
C++
Base/temp/listener_net.hpp
Ring-r/sandbox
f3233916268c3240bb8589073d1afbfad9e37966
[ "CC0-1.0" ]
null
null
null
Base/temp/listener_net.hpp
Ring-r/sandbox
f3233916268c3240bb8589073d1afbfad9e37966
[ "CC0-1.0" ]
null
null
null
Base/temp/listener_net.hpp
Ring-r/sandbox
f3233916268c3240bb8589073d1afbfad9e37966
[ "CC0-1.0" ]
null
null
null
#ifndef LISTENER_NET_H #define LISTENER_NET_H #include "../_.hpp" class ListenerNet { protected: bool init; uint16_t port; UDPsocket socket; UDPpacket* packet; std::map<uint16_t, void(ListenerNet::*)(UDPpacket* packet)> commands; void Clear(); public: ListenerNet(); ~ListenerNet(); void Init(uint16_t port...
15.703704
70
0.716981
Ring-r
3af9a4a8093182b488e80861a4a824cdd94c9c7e
8,858
cpp
C++
src/plssvm/backends/HIP/csvm.hip.cpp
SC-SGS/PLSSVM
f55b7007fc28ee671026d255f7dc202e8c0e5ba8
[ "MIT" ]
3
2021-11-22T10:31:59.000Z
2022-03-20T04:11:35.000Z
src/plssvm/backends/HIP/csvm.hip.cpp
SC-SGS/PLSSVM
f55b7007fc28ee671026d255f7dc202e8c0e5ba8
[ "MIT" ]
null
null
null
src/plssvm/backends/HIP/csvm.hip.cpp
SC-SGS/PLSSVM
f55b7007fc28ee671026d255f7dc202e8c0e5ba8
[ "MIT" ]
6
2021-10-04T11:53:15.000Z
2022-02-27T00:02:32.000Z
/** * @author Alexander Van Craen * @author Marcel Breyer * @copyright 2018-today The PLSSVM project - All Rights Reserved * @license This file is part of the PLSSVM project which is released under the MIT license. * See the LICENSE.md file in the project root for full license information. */ #include "...
49.211111
235
0.675773
SC-SGS
3afcc0fd677dc608f41b823c979406fcdf7b4633
643
cpp
C++
TestPrograms/test_cxx11_noexcept.cpp
ex0ample/cryptopp
9ea66ce4d97d59d61e49c93f5af191107ebd1925
[ "BSL-1.0" ]
3,573
2015-06-03T22:09:51.000Z
2022-03-31T17:43:45.000Z
TestPrograms/test_cxx11_noexcept.cpp
ex0ample/cryptopp
9ea66ce4d97d59d61e49c93f5af191107ebd1925
[ "BSL-1.0" ]
1,012
2015-06-29T17:59:36.000Z
2022-03-30T03:10:38.000Z
TestPrograms/test_cxx11_noexcept.cpp
ex0ample/cryptopp
9ea66ce4d97d59d61e49c93f5af191107ebd1925
[ "BSL-1.0" ]
1,200
2015-06-29T01:32:06.000Z
2022-03-31T12:10:01.000Z
#if defined(__GNUC__) # define GNUC_VERSION (__GNUC__*1000 + __GNUC_MINOR__*10) #endif #if defined(__clang__) && defined(__apple_build_version__) # undef GNUC_VERSION # define APPLE_VERSION (__clang_major__*1000 + __clang_minor__*10) #elif defined(__clang__) # undef GNUC_VERSION # define LLVM_VERSION (__clang...
21.433333
67
0.690513
ex0ample
d70494bd5d5900557a1b9858d417251e0d4d4624
1,921
cpp
C++
examples/simple/main.cpp
SharpLinesTech/Phys
17e5925311e86488efba351df290150b2a9e6d25
[ "BSD-3-Clause" ]
null
null
null
examples/simple/main.cpp
SharpLinesTech/Phys
17e5925311e86488efba351df290150b2a9e6d25
[ "BSD-3-Clause" ]
null
null
null
examples/simple/main.cpp
SharpLinesTech/Phys
17e5925311e86488efba351df290150b2a9e6d25
[ "BSD-3-Clause" ]
null
null
null
#include "phys/phys.h" #include <iostream> int main(int argc, const char* argv[]) { // This config determines math primitives. using Cfg = phys::DefaultConfig; // Choose the default broadphase and solver using Algos = phys::DefaultAlgos<Cfg>; using World = phys::World<Cfg, Algos>; using DynamicBody = ...
27.84058
93
0.662676
SharpLinesTech
d705418d471ebbf8d3e31a66b21fbfab8b55d2b4
33,571
cpp
C++
src/vector_builtins.cpp
jcd-as/deva
54e988684d74bfae22870466ae6b6adc87f9c567
[ "MIT" ]
null
null
null
src/vector_builtins.cpp
jcd-as/deva
54e988684d74bfae22870466ae6b6adc87f9c567
[ "MIT" ]
null
null
null
src/vector_builtins.cpp
jcd-as/deva
54e988684d74bfae22870466ae6b6adc87f9c567
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Joshua C. Shepard // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, ...
26.643651
138
0.660779
jcd-as
d706d8b65dc7e5fe8250782eca6200ec43278633
3,495
hpp
C++
QuantLib/ql/termstructures/volatility/optionlet/optionletstripper.hpp
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
null
null
null
QuantLib/ql/termstructures/volatility/optionlet/optionletstripper.hpp
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
null
null
null
QuantLib/ql/termstructures/volatility/optionlet/optionletstripper.hpp
frannuca/quantlib
63e66f5f767397e5b7c79fa78eaed4e3e0a6b7c6
[ "BSD-3-Clause" ]
1
2022-02-24T04:54:18.000Z
2022-02-24T04:54:18.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007 Ferdinando Ametrano Copyright (C) 2007 Giorgio Facchinetti This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib i...
37.98913
79
0.703863
frannuca
d7091a4e083cb8075571eae024a2131d3b042b75
8,363
cpp
C++
pwiz/analysis/spectrum_processing/SpectrumList_ScanSummerTest.cpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/spectrum_processing/SpectrumList_ScanSummerTest.cpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
pwiz/analysis/spectrum_processing/SpectrumList_ScanSummerTest.cpp
vagisha/pwiz
aa65186bf863cdebde3d15c293d137085365bead
[ "Apache-2.0" ]
null
null
null
// // $Id$ // // // Original author: William French <william.r.french <a.t> vanderbilt.edu> // // Copyright 2008 Vanderbilt University - Nashville, TN 37232 // // 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 cop...
29.241259
114
0.593926
vagisha
d70cfa7b1454e3cdd7a83df8d80437ca9530f506
8,785
hpp
C++
openstudiocore/src/model/AirflowNetworkDetailedOpening.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/model/AirflowNetworkDetailedOpening.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/model/AirflowNetworkDetailedOpening.hpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
45.283505
126
0.753102
hellok-coder
d70e16834bcd0e03f155649b8f4d3e32d5afc387
470
hpp
C++
waterbox/bsnescore/bsnes/nall/decode/mtf.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
waterbox/bsnescore/bsnes/nall/decode/mtf.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
waterbox/bsnescore/bsnes/nall/decode/mtf.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
#pragma once //move to front namespace nall::Decode { inline auto MTF(array_view<uint8_t> input) -> vector<uint8_t> { vector<uint8_t> output; output.resize(input.size()); uint8_t order[256]; for(uint n : range(256)) order[n] = n; for(uint offset : range(input.size())) { uint data = input[offset]; ...
18.076923
63
0.629787
Fortranm
d70f0f6b2b6417e0bb89fa829085622c4562b9d6
88
cpp
C++
src/graphics/Camera.cpp
RamilHinshaw/LotusEngine
2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e
[ "MIT" ]
1
2019-11-07T14:57:04.000Z
2019-11-07T14:57:04.000Z
src/graphics/Camera.cpp
RamilHinshaw/LotusEngine
2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e
[ "MIT" ]
null
null
null
src/graphics/Camera.cpp
RamilHinshaw/LotusEngine
2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e
[ "MIT" ]
null
null
null
// #include "Camera.hpp" // Camera::Camera() // { // } // Camera::~Camera() // { // }
8.8
24
0.454545
RamilHinshaw
d7147e7633599f90788b3070251793fe9477e856
4,881
cpp
C++
geometry/pointcloud.cpp
tomas2211/libgeometry
003c58cf92e46ac01d506987f47b770929cc799b
[ "BSD-2-Clause" ]
2
2021-05-27T12:55:56.000Z
2022-02-17T20:40:56.000Z
externals/browser/externals/browser/externals/libgeometry/geometry/pointcloud.cpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
3
2021-02-23T02:20:26.000Z
2022-03-04T10:25:19.000Z
externals/browser/externals/browser/externals/libgeometry/geometry/pointcloud.cpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
3
2019-09-25T05:22:12.000Z
2022-02-17T16:43:00.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
26.527174
89
0.592297
tomas2211
d7175378fd1b4da99aad27c3016a7be967ad8f89
1,558
cpp
C++
dep/skse/skse/SafeWrite.cpp
SilverIce/JContainers
98ca31304a74e299d1f7f003602c55fb07e866ee
[ "MIT" ]
39
2015-01-16T09:17:05.000Z
2021-12-15T23:02:00.000Z
dep/skse/skse/SafeWrite.cpp
Verteiron/JContainers
a5c83198c782458a7c2ae683319558cc88959d25
[ "MIT" ]
26
2015-01-03T20:26:27.000Z
2019-12-30T22:46:15.000Z
dep/skse/skse/SafeWrite.cpp
SilverIce/JContainers
98ca31304a74e299d1f7f003602c55fb07e866ee
[ "MIT" ]
14
2015-10-23T08:46:01.000Z
2022-03-24T18:08:24.000Z
#include "SafeWrite.h" void SafeWrite8(UInt32 addr, UInt32 data) { UInt32 oldProtect; VirtualProtect((void *)addr, 4, PAGE_EXECUTE_READWRITE, &oldProtect); *((UInt8 *)addr) = data; VirtualProtect((void *)addr, 4, oldProtect, &oldProtect); } void SafeWrite16(UInt32 addr, UInt32 data) { UInt32 oldProtect; Virtu...
23.606061
72
0.715661
SilverIce
d71a444833f34d0a6061140049797aebcdbbda51
1,423
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/rows_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/rows_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/mat/fun/rows_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/mat.hpp> #include <gtest/gtest.h> TEST(AgradFwdMatrixRows,fd_vector) { using stan::math::vector_fd; using stan::math::row_vector_fd; using stan::math::rows; vector_fd v(5); v << 0, 1, 2, 3, 4; EXPECT_EQ(5U, rows(v)); v.resize(0); EXPECT_EQ(0U, rows(v)); } TEST(AgradFwdMatrix...
19.763889
40
0.635278
yizhang-cae
d7211c38c0cad72d83a2517825079980f0b00b61
3,974
cpp
C++
testeve-api-proxy/tests/crest/MarketOrderSlim.cpp
SyncViews/eve-api-proxy
b42e77417c3dddded466f4aad73884fbfdebac29
[ "MIT" ]
null
null
null
testeve-api-proxy/tests/crest/MarketOrderSlim.cpp
SyncViews/eve-api-proxy
b42e77417c3dddded466f4aad73884fbfdebac29
[ "MIT" ]
null
null
null
testeve-api-proxy/tests/crest/MarketOrderSlim.cpp
SyncViews/eve-api-proxy
b42e77417c3dddded466f4aad73884fbfdebac29
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include "crest/MarketOrderSlim.hpp" #include <iostream> using namespace crest; BOOST_AUTO_TEST_SUITE(TestCrestMarketOrderSlim) BOOST_AUTO_TEST_CASE(read) { MarketOrderSlim order; json::read_json( "{" " \"buy\": true," " \"duration\": 365," ...
27.597222
72
0.501007
SyncViews
d7236a4c2f5a1c4caba52df9be0daca45f45d347
1,470
cpp
C++
src/model/sequencemanager.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
394
2015-01-08T01:26:39.000Z
2022-03-16T03:07:30.000Z
src/model/sequencemanager.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
14
2016-11-30T08:24:39.000Z
2021-11-06T14:12:58.000Z
src/model/sequencemanager.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
151
2015-01-17T01:07:00.000Z
2022-03-20T08:11:07.000Z
#include "sequencemanager.h" SequenceManager::SequenceManager() { m_pcCurrentSequence = NULL; } SequenceManager::~SequenceManager() { while(!m_apSequences.empty()) { delete m_apSequences.back(); m_apSequences.pop_back(); } } ComSequence* SequenceManager::getCurrentSequ...
22.615385
80
0.626531
fanghaocong
d7239e4eec6493a73d45110b2756124f7c82c199
512
cpp
C++
src/snabl/error.cpp
ricelang/snabl
488591099faf089d4deba30f90017305ff31598c
[ "MIT" ]
1
2021-10-20T07:44:36.000Z
2021-10-20T07:44:36.000Z
src/snabl/error.cpp
ricelang/snabl
488591099faf089d4deba30f90017305ff31598c
[ "MIT" ]
null
null
null
src/snabl/error.cpp
ricelang/snabl
488591099faf089d4deba30f90017305ff31598c
[ "MIT" ]
null
null
null
#include "snabl/fmt.hpp" #include "snabl/pos.hpp" #include "snabl/error.hpp" namespace snabl { Error::Error(const string &msg): runtime_error(msg) { } CompileError::CompileError(Pos pos, const string &msg): Error(fmt("Compile error in row %0, col %1: %2", {pos.row, pos.col, msg})) { } CompileError::CompileError...
30.117647
80
0.664063
ricelang
d725ee56f490aeb2c4409b6f1f059ef7b9cba9fa
313
cpp
C++
c++/ex5.cpp
PedroHenrique-git/c
b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece
[ "MIT" ]
null
null
null
c++/ex5.cpp
PedroHenrique-git/c
b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece
[ "MIT" ]
null
null
null
c++/ex5.cpp
PedroHenrique-git/c
b8a9fcd988a80e0738506bb2fdea43ed7fcd5ece
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int square(int x) { cout<<"quadrado do int "<<x<<" e "; return x * x; } double square( double y ) { cout<<"quandrado do double "<<y<<" e "; return y * y; } int main ( void ) { cout<<square(7); cout<<endl; cout<<square(7.5); cout<<endl; }
15.65
43
0.549521
PedroHenrique-git
d726d2c33475e5ed59b70145872a37e691b08ea3
674
hpp
C++
immer/refcount/no_refcount_policy.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
1,964
2016-11-19T19:04:31.000Z
2022-03-31T16:31:00.000Z
immer/refcount/no_refcount_policy.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
180
2016-11-26T22:46:10.000Z
2022-03-10T10:23:57.000Z
immer/refcount/no_refcount_policy.hpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
133
2016-11-27T17:33:20.000Z
2022-03-07T03:12:49.000Z
// // immer: immutable data structures for C++ // Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #pragma once namespace immer { struct disowned {...
21.0625
78
0.689911
ikrima
c018e60681b3ae0f0fb1c78b65d18329a67d0c8e
8,910
cpp
C++
src/filters/ground_filter.cpp
earthrover/er_vision_pipeline
bdc1cc9e90be4dfaef78253828288e96dbd95cb1
[ "BSD-3-Clause" ]
null
null
null
src/filters/ground_filter.cpp
earthrover/er_vision_pipeline
bdc1cc9e90be4dfaef78253828288e96dbd95cb1
[ "BSD-3-Clause" ]
null
null
null
src/filters/ground_filter.cpp
earthrover/er_vision_pipeline
bdc1cc9e90be4dfaef78253828288e96dbd95cb1
[ "BSD-3-Clause" ]
3
2019-01-18T15:55:59.000Z
2019-09-01T21:33:52.000Z
//############################################################################# /*-:::--.` -+shmMMNmmddmmNMNmho/. `yyo++osddMms: `/yNNy- yo +mMy: `./dMMdyssssso- oy -dMy. ...
27.931034
123
0.545342
earthrover
c01cec416673f10556c7b7381aa5ae3b55b2fba8
501
cpp
C++
Game/src_lib/Entity/Attributes/TransformAttribute.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
null
null
null
Game/src_lib/Entity/Attributes/TransformAttribute.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
9
2021-01-06T19:24:40.000Z
2021-12-25T13:38:19.000Z
Game/src_lib/Entity/Attributes/TransformAttribute.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021 Anders Wennmo * This file is part of forestadventure which is released under MIT license. * See file LICENSE for full license details. */ #include "TransformAttribute.h" namespace FA { namespace Entity { TransformAttribute::TransformAttribute(EntityService *owner) : BasicAttribute(ow...
20.04
76
0.724551
andershub4
c01d9b17a85afe09f13c65ee60e59e9ed8b7ce22
4,097
cpp
C++
framework_c++/jugimap/jmScene.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
8
2020-11-23T23:34:39.000Z
2022-02-23T12:14:02.000Z
framework_c++/jugimap/jmScene.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
null
null
null
framework_c++/jugimap/jmScene.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
3
2019-12-19T13:44:43.000Z
2020-05-15T01:02:10.000Z
#include <string> #include <sstream> #include "jmObjectFactory.h" #include "jmMapBinaryLoader.h" #include "jmSourceGraphics.h" #include "jmMap.h" #include "jmSprites.h" #include "jmFont.h" #include "jmInput.h" #include "jmCamera.h" #include "jmGuiCommon.h" #include "jmScene.h" namespace jugimap { Scene::Scene() ...
21.792553
188
0.650476
Jugilus
c01eeb26c0e828198c25ca1fe36e5819bfb8604f
754
cpp
C++
CodeChef/ZCO16001.cpp
wardoHans/Competitive
796549816b42637f286903e88264a71b74b3846d
[ "WTFPL" ]
null
null
null
CodeChef/ZCO16001.cpp
wardoHans/Competitive
796549816b42637f286903e88264a71b74b3846d
[ "WTFPL" ]
null
null
null
CodeChef/ZCO16001.cpp
wardoHans/Competitive
796549816b42637f286903e88264a71b74b3846d
[ "WTFPL" ]
null
null
null
/* NAME: HANS BALA ROLL: 11679 SCHOOL: LA MARTINIERE FOR BOYS, KOLKATA */ #include <bits/stdc++.h> #define rf freopen("inp.in", "r", stdin) typedef long long int ll; using namespace std; vector<ll> v[2]; int main(){ rf; ios_base::sync_with_stdio(false); cin.tie(NULL); ll i, j, temp, n, k; cin >>...
22.848485
81
0.519894
wardoHans
c02399eb5ad970d262e595b6b8088a0f5f8da4ed
1,290
cpp
C++
data/dailyCodingProblem780.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem780.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem780.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* We're given a hashmap associating each courseId key with a list of courseIds values, which represents that the prerequisites of courseId are courseIds. Return a sorted ordering of courses such that we can finish all courses. Return null if there is no such ordering. F...
22.631579
76
0.682171
vidit1999
c02747c788e6c23f35556c35c0a512383ff45c96
298,767
cc
C++
libs/tensorflow/include/tensorflow/core/protobuf/master.pb.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
1
2019-05-19T06:25:26.000Z
2019-05-19T06:25:26.000Z
libs/tensorflow/include/tensorflow/core/protobuf/master.pb.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
null
null
null
libs/tensorflow/include/tensorflow/core/protobuf/master.pb.cc
federicohyo/ofxTensorFlow
517d38e67bf12b5439468d5320c998f0714caaac
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/master.proto #include "tensorflow/core/protobuf/master.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/io/coded_stream.h> #include <go...
41.005627
168
0.735844
federicohyo
c02e30647955a28a986d8728c554976aa9489f2b
7,925
cpp
C++
LhaForge/ArchiverCode/ArchiverJACK.cpp
jarupxx/lhaforge
e6f9136eeabf9c00884c93b821ee330ac00ef35d
[ "MIT" ]
18
2015-04-21T13:38:16.000Z
2022-01-15T14:50:49.000Z
LhaForge/ArchiverCode/ArchiverJACK.cpp
jarupxx/lhaforge
e6f9136eeabf9c00884c93b821ee330ac00ef35d
[ "MIT" ]
36
2019-08-24T14:29:44.000Z
2022-03-03T14:14:19.000Z
LhaForge/ArchiverCode/ArchiverJACK.cpp
jarupxx/lhaforge
e6f9136eeabf9c00884c93b821ee330ac00ef35d
[ "MIT" ]
5
2019-02-25T12:33:04.000Z
2022-01-03T09:23:41.000Z
/* * MIT License * Copyright (c) 2005- Claybird * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
25.814332
193
0.66776
jarupxx
c0334d6a44d6b3e0e5406a506374fc206f079e10
1,708
cc
C++
trader-desk/date-range-scale.cc
HitHub1991/-dmbcs-trader-desk
365ad5a560564220398ba8ab4b900eb1ca26c8cd
[ "FSFAP" ]
6
2020-03-23T12:32:32.000Z
2022-01-02T22:17:12.000Z
trader-desk/date-range-scale.cc
HitHub1991/-dmbcs-trader-desk
365ad5a560564220398ba8ab4b900eb1ca26c8cd
[ "FSFAP" ]
null
null
null
trader-desk/date-range-scale.cc
HitHub1991/-dmbcs-trader-desk
365ad5a560564220398ba8ab4b900eb1ca26c8cd
[ "FSFAP" ]
1
2022-02-27T19:07:50.000Z
2022-02-27T19:07:50.000Z
/* * Copyright (c) 2017, 2020 Dale Mellor * * This file is part of the trader-desk package. * * The trader-desk package is free software: you can redistribute it * and/or modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * L...
32.226415
74
0.61534
HitHub1991
c033640eae500790ad0d1bdfdfa73963d1983750
33,992
cxx
C++
MITK/Plugins/uk.ac.ucl.cmic.dnddisplay/src/niftkSingleViewerEditor.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Plugins/uk.ac.ucl.cmic.dnddisplay/src/niftkSingleViewerEditor.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Plugins/uk.ac.ucl.cmic.dnddisplay/src/niftkSingleViewerEditor.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
39.206459
164
0.675688
NifTK
c0348ec545f93b60b8ba8a536fa0f4d4d486b289
23,305
cpp
C++
iceoryx_posh/test/moduletests/test_mepoo_memory_manager.cpp
timmylinux/iceoryx
160fb71c53a26e031b39a9d45ce9ea165049eba5
[ "Apache-2.0" ]
null
null
null
iceoryx_posh/test/moduletests/test_mepoo_memory_manager.cpp
timmylinux/iceoryx
160fb71c53a26e031b39a9d45ce9ea165049eba5
[ "Apache-2.0" ]
null
null
null
iceoryx_posh/test/moduletests/test_mepoo_memory_manager.cpp
timmylinux/iceoryx
160fb71c53a26e031b39a9d45ce9ea165049eba5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 - 2021 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2020 - 2022 by Apex.AI 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 at /...
44.05482
120
0.732547
timmylinux
c035a7bc8af8fa2fa7a0a5e73c6cc6261fed7ef1
5,259
cpp
C++
repo/HOPE2/MeshManager.cpp
A12134/OpenGL-Engine-Hope2
f24f57e0b0e2606db7d8d2df42e4d79cef1554fa
[ "Apache-2.0" ]
null
null
null
repo/HOPE2/MeshManager.cpp
A12134/OpenGL-Engine-Hope2
f24f57e0b0e2606db7d8d2df42e4d79cef1554fa
[ "Apache-2.0" ]
null
null
null
repo/HOPE2/MeshManager.cpp
A12134/OpenGL-Engine-Hope2
f24f57e0b0e2606db7d8d2df42e4d79cef1554fa
[ "Apache-2.0" ]
null
null
null
#include "MeshManager.h" LogManager* MeshManager::mLogManager; TextureManager* MeshManager::mTexManager; unsigned int MeshManager::addMesh(Mesh * newMesh) { mMeshLibrary.push_back(newMesh); return this->mMeshLibrary.size() - 1; // return the index of the last element } unsigned int MeshManager::getMeshID(std::str...
26.695431
133
0.692147
A12134
c037be07cee4b65e5a7c61ad13deb6893ed4327a
1,814
cpp
C++
thirdparty/ULib/tests/ulib/test_options.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/tests/ulib/test_options.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/tests/ulib/test_options.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// test_options.cpp #include <ulib/base/utility.h> #include <ulib/options.h> #define OPTIONS \ "package " PACKAGE_NAME "\n" \ "version " ULIB_VERSION "\n" \ "purpose 'sample test for UOption class'\n" \ "report_bugs '\nReport bugs to <stefano.casazza@unirel.com>'\n" \ "option a option_a 0 'A option wit...
29.737705
126
0.641676
liftchampion
c038664f0bb5d4ea3b814672b2bb4b3b55815f36
30,301
c++
C++
src/extern/inventor/apps/demos/gview/DisplayGraph.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/demos/gview/DisplayGraph.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/demos/gview/DisplayGraph.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * 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 opti...
27.927189
78
0.58008
OpenXIP
c03b022446375a2ee2ea48433cd3168b12cb15fb
2,524
cpp
C++
Crimson/src/GPUDevice.cpp
A-RAVEN/Crimson
a170beb9bf43ba135468f9593f38cf0a21865afe
[ "MIT" ]
2
2020-10-19T15:59:27.000Z
2020-10-19T15:59:37.000Z
Crimson/src/GPUDevice.cpp
A-RAVEN/Crimson
a170beb9bf43ba135468f9593f38cf0a21865afe
[ "MIT" ]
null
null
null
Crimson/src/GPUDevice.cpp
A-RAVEN/Crimson
a170beb9bf43ba135468f9593f38cf0a21865afe
[ "MIT" ]
null
null
null
#include <include/GPUDevice.h> #include <headers/VulkanInstance.h> #include <headers/VulkanGPUDevice.h> namespace Crimson { GPUDeviceManager* GPUDeviceManager::p_Singleton = nullptr; GPUDeviceManager::GPUDeviceManager(){} GPUDeviceManager::~GPUDeviceManager() { } PGPUDevice GPUDeviceManager::CreateVulkanDevi...
24.745098
223
0.759509
A-RAVEN
c03ce19fb8816949fd843abdfc463ce0d52ee49e
745
hpp
C++
include/Pomdog/Graphics/ShaderCompilers/GLSLCompiler.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/ShaderCompilers/GLSLCompiler.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/ShaderCompilers/GLSLCompiler.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_GLSLCOMPILER_9FED2927_HPP #define POMDOG_GLSLCOMPILER_9FED2927_HPP #include "Pomdog/Graphics/ShaderPipelineStage.hpp" #include "Pomdog/Basic/Export.hpp" #include <memory> #include <cstddef> name...
24.032258
70
0.767785
bis83
c03e3f9109d43c5b2aed97de8c057ed61a4521f8
357
cpp
C++
solutions/485.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/485.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/485.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
#include <vector> class Solution { public: int findMaxConsecutiveOnes(std::vector<int>& nums) { size_t last_zero = 0; size_t result = 0; for (size_t pos = 0; pos < nums.size(); ++pos) { last_zero = nums[pos] ? last_zero : pos + 1; result = std::max(result, pos - last_zero + 1); } ret...
23.8
54
0.602241
tdakhran
c03e483a44e9c3630a08aecc49203299900e5ea5
10,503
cpp
C++
libs/obs/src/VelodyneCalibration.cpp
zarmomin/mrpt
1baff7cf8ec9fd23e1a72714553bcbd88c201966
[ "BSD-3-Clause" ]
1
2019-09-05T05:20:51.000Z
2019-09-05T05:20:51.000Z
libs/obs/src/VelodyneCalibration.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
null
null
null
libs/obs/src/VelodyneCalibration.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
1
2019-09-11T02:55:04.000Z
2019-09-11T02:55:04.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
30.531977
80
0.679996
zarmomin
c054fea5ce70b6c81c605493ba9f5e7f6f277bc4
1,614
hpp
C++
Cpp_and_Hpp_files/joyStick.hpp
ThePatman3/IPASS_repository
08fb3c2b40a5b8b1191f6bc1bf52b4251dd03510
[ "MIT" ]
null
null
null
Cpp_and_Hpp_files/joyStick.hpp
ThePatman3/IPASS_repository
08fb3c2b40a5b8b1191f6bc1bf52b4251dd03510
[ "MIT" ]
null
null
null
Cpp_and_Hpp_files/joyStick.hpp
ThePatman3/IPASS_repository
08fb3c2b40a5b8b1191f6bc1bf52b4251dd03510
[ "MIT" ]
null
null
null
#ifndef JOYSTICK_HPP #define JOYSTICK_HPP #include "hwlib.hpp" /// @file namespace jstlib{ /// \brief /// joyStick class /// \details /// This class represents a analog xy-axis joystick without button. /// This class has functions to get the angle of the x and y axis rated using a number between -10 and 10 and func...
28.821429
155
0.698885
ThePatman3
c0563d54c2e60c190cb3bc5930845d7b59f6f8ce
4,178
cpp
C++
src/integration_tests/camera_take_photo.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
115
2018-07-11T00:18:12.000Z
2019-06-05T22:10:23.000Z
src/integration_tests/camera_take_photo.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
228
2018-07-09T12:03:21.000Z
2019-06-07T09:51:14.000Z
src/integration_tests/camera_take_photo.cpp
hamishwillee/MAVSDK
e7f4e27bdd4442b91b623abf6ac86d1cbb188244
[ "BSD-3-Clause" ]
104
2018-07-19T09:45:16.000Z
2019-06-05T18:40:35.000Z
#include "integration_test_helper.h" #include "mavsdk.h" #include "system.h" #include "plugins/camera/camera.h" #include "plugins/camera_server/camera_server.h" using namespace mavsdk; static void receive_capture_info(Camera::CaptureInfo capture_info, bool& received_capture_info); TEST(CameraTest, TakePhotoSingle) {...
38.330275
100
0.692676
hamishwillee
c058e70b74405a236a908b79b42ae8a02f853c31
11,400
cpp
C++
src/module_loader/test/function_offer.cpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
2
2017-02-15T05:28:34.000Z
2017-11-06T15:25:00.000Z
src/module_loader/test/function_offer.cpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
null
null
null
src/module_loader/test/function_offer.cpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
null
null
null
#include <module_loader/function_offer.hpp> #include <functional> #include <typeinfo> #include <utility> #include <catch.hpp> namespace module_loader { namespace test { namespace { SCENARIO("module_loader::function_offer objects wrap a functor and provide a module_loader::object from its return value when fulfilled",...
31.06267
173
0.624737
RobertLeahy
c05a9a7bcbe2b8081cf075f4788afbb5ff9ea43c
2,050
hpp
C++
include/depthai/nnet/tensor_entry.hpp
InverseProject/depthai-core
2e15b69c80ca3a8673eba696346488d4a3eee987
[ "MIT" ]
null
null
null
include/depthai/nnet/tensor_entry.hpp
InverseProject/depthai-core
2e15b69c80ca3a8673eba696346488d4a3eee987
[ "MIT" ]
null
null
null
include/depthai/nnet/tensor_entry.hpp
InverseProject/depthai-core
2e15b69c80ca3a8673eba696346488d4a3eee987
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <unordered_map> #include <cmath> #include <cfloat> #include "tensor_info.hpp" #include "../types.hpp" struct TensorEntry { const unsigned char* raw_data = nullptr; Type output_properties_type = Type::UNDEFINE...
31.538462
115
0.619512
InverseProject
c05cb1ff6a9b39f951aa1bc33cb8e6ce1a37b205
1,915
cpp
C++
src/common.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
src/common.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
src/common.cpp
p4gauntlet/cdg-backend
09395409835cc6704acaa4e4c4a31360f45834d0
[ "Apache-2.0" ]
null
null
null
#include <cstdlib> #include <cstring> #include <random> #include <string> #include <boost/random.hpp> #include "common.h" #include "scope.h" const std::vector<cstring> str_keywords = {"if", "void", "else", "key", "actions", "true"}; static const char alphanum[] = "ABCD...
24.87013
76
0.586423
p4gauntlet
c05d3b2b1b3ee0ee50b4035b0ddcd8c3b85994bc
6,173
cpp
C++
test/shared_test/lib_battery_powerflow_test.cpp
yassineennassiri/ssc
b8b9353e3f1cfb3defe55677c0097ce5b65815c3
[ "MIT" ]
3
2017-09-04T12:19:13.000Z
2017-09-12T15:44:38.000Z
test/shared_test/lib_battery_powerflow_test.cpp
yassineennassiri/ssc
b8b9353e3f1cfb3defe55677c0097ce5b65815c3
[ "MIT" ]
1
2018-03-26T06:50:20.000Z
2018-03-26T06:50:20.000Z
test/shared_test/lib_battery_powerflow_test.cpp
yassineennassiri/ssc
b8b9353e3f1cfb3defe55677c0097ce5b65815c3
[ "MIT" ]
2
2018-02-12T22:23:55.000Z
2018-08-23T07:32:54.000Z
#include <gtest/gtest.h> #include "lib_battery_powerflow_test.h" #include "lib_ondinv.h" #include "lib_pvinv.h" #include "lib_sandia.h" #include "lib_shared_inverter.h" void BatteryPowerFlowTest::SetUp() { error = 0.02; double dtHour = 1.0; m_batteryPowerFlow = new BatteryPowerFlow(dtHour); m_batteryPower = m_ba...
37.640244
208
0.7873
yassineennassiri
c05de678cb8aca04d62af7eb784d69cd7830c9c5
581
hpp
C++
JEBMath/JEBMath/Math/MatrixAlgorithms.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
1
2019-12-25T05:30:20.000Z
2019-12-25T05:30:20.000Z
JEBMath/JEBMath/Math/MatrixAlgorithms.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
JEBMath/JEBMath/Math/MatrixAlgorithms.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
#ifndef JEB_MATH_MATRIXALGORITHM_HPP #define JEB_MATH_MATRIXALGORITHM_HPP #include "JEBMath/JEBMathDefinitions.hpp" namespace JEBMath { namespace MatrixAlgorithms { template <typename RndIt> void transposeInPlace(RndIt matrix, size_t rows, size_t cols); template <typename RndIt> void turnLeftInPlace(RndIt matrix, s...
23.24
67
0.810671
jebreimo
c05ecd705fad1343f055a9e311d4439f6205c258
563
cpp
C++
firmware/libraries/PWMMotor/PWMMotor.cpp
aribennett/PiNC
fede5ae7bccc161753db0ba31d358c2990a4f394
[ "MIT" ]
null
null
null
firmware/libraries/PWMMotor/PWMMotor.cpp
aribennett/PiNC
fede5ae7bccc161753db0ba31d358c2990a4f394
[ "MIT" ]
null
null
null
firmware/libraries/PWMMotor/PWMMotor.cpp
aribennett/PiNC
fede5ae7bccc161753db0ba31d358c2990a4f394
[ "MIT" ]
null
null
null
#include "PWMMotor.h" #include <arduino.h> #include <Motor.h> PWMMotor::PWMMotor(uint16_t en) { _en_pin = en; } void PWMMotor::coldStart() { pinMode(_en_pin, OUTPUT); digitalWrite(_en_pin, LOW); // Enable driver in hardware _timer_count = 0; } void PWMMotor::setEnable(bool enable) { } void PWMMotor...
14.435897
60
0.60746
aribennett
c06187a08fbffc91a61993b35cdc887b6794507b
3,272
cpp
C++
samples/cpp/person/person_snd_events/src/person_snd_events.cpp
FlorianReimold/ecal
e21e52c14f58e1cae38e3867940bf0292f5ccb9a
[ "Apache-2.0" ]
null
null
null
samples/cpp/person/person_snd_events/src/person_snd_events.cpp
FlorianReimold/ecal
e21e52c14f58e1cae38e3867940bf0292f5ccb9a
[ "Apache-2.0" ]
null
null
null
samples/cpp/person/person_snd_events/src/person_snd_events.cpp
FlorianReimold/ecal
e21e52c14f58e1cae38e3867940bf0292f5ccb9a
[ "Apache-2.0" ]
null
null
null
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental 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 * * ...
32.39604
87
0.607274
FlorianReimold
c0620eebeb403a19913d5d267542b15114bc6fa0
3,343
cpp
C++
gui/textbox.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
null
null
null
gui/textbox.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
null
null
null
gui/textbox.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 bigbiff/Dees_Troy/_that TeamWin This file is part of TWRP/TeamWin Recovery Project. TWRP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
26.959677
92
0.693987
imranpopz
c06561a0ca794ccba19b1da87135d62dd3de3ab9
61,475
cpp
C++
0.55.402/graysvr/CClientTarg.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
2
2020-12-22T17:03:14.000Z
2021-07-31T23:59:05.000Z
0.55.402/graysvr/CClientTarg.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
null
null
null
0.55.402/graysvr/CClientTarg.cpp
Jhobean/Source-Archive
ab24ba44ffd34c329accedb980699e94c196fceb
[ "Apache-2.0" ]
4
2021-04-21T19:43:48.000Z
2021-10-07T00:38:23.000Z
// // CClientTarg.cpp // Copyright Menace Software (www.menasoft.com). // // An item is targetted. #include "graysvr.h" // predef header. #include "CClient.h" //////////////////////////////////////////////////////// // Targetted GM functions. bool CClient::OnTarg_Obj_Set( CObjBase * pObj ) { // CLIMODE_TARG_OBJ_SET...
24.649158
152
0.658349
Jhobean
c0686ed5a86f6d3b4bbf829836124650c4ae70cf
1,174
cpp
C++
chap5/chap5-1.7.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap5/chap5-1.7.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap5/chap5-1.7.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
/* 数学趣题 填数字游戏求解 ABCD * E = DCBA ABCDE代表的数字各不相同 */ #include <iostream> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <vector> using namespace std; //求i的倒置数 int reverse(int i) { int r = 0; while (i) { r = r * 10 + i % 10; i = i / 10; } return r; } //判断ABCDE5个数字是否相同...
12.901099
44
0.492334
liangzai90
c06c6b5c5b90962cefb0954fc02b16a1f9c2d951
7,995
cpp
C++
backups/game2.cpp
cnr-dxn/mixology-app
7d8510ff4a317cb309d82cec4628a0381cdb98eb
[ "Apache-2.0" ]
null
null
null
backups/game2.cpp
cnr-dxn/mixology-app
7d8510ff4a317cb309d82cec4628a0381cdb98eb
[ "Apache-2.0" ]
null
null
null
backups/game2.cpp
cnr-dxn/mixology-app
7d8510ff4a317cb309d82cec4628a0381cdb98eb
[ "Apache-2.0" ]
null
null
null
#include "Drink.h" #include <iostream> #include <string> #include <vector> #include <sstream> #include <fstream> #include <chrono> #include <thread> #include <limits> using namespace std; using namespace std::this_thread; using namespace std::chrono; void diningHallIngredientsPopulate(vector<string> &usersIngredients...
27.010135
169
0.504065
cnr-dxn
c06f376e99349e9132fed1de0d0d99c7e56577a9
2,483
hpp
C++
include/foonathan/memory/detail/assert.hpp
nicolastagliani/memory
4016412f422bc8c53d266081ab5744caceec502c
[ "Zlib" ]
1
2018-11-01T02:42:01.000Z
2018-11-01T02:42:01.000Z
include/foonathan/memory/detail/assert.hpp
nicolastagliani/memory
4016412f422bc8c53d266081ab5744caceec502c
[ "Zlib" ]
null
null
null
include/foonathan/memory/detail/assert.hpp
nicolastagliani/memory
4016412f422bc8c53d266081ab5744caceec502c
[ "Zlib" ]
1
2019-11-16T20:52:21.000Z
2019-11-16T20:52:21.000Z
// Copyright (C) 2015-2016 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef FOONATHAN_MEMORY_DETAIL_ASSERT_HPP_INCLUDED #define FOONATHAN_MEMORY_DETAIL_ASSERT_HPP_INCLUDED #include <cstdli...
44.339286
100
0.59122
nicolastagliani
c0740d48f40d7c61a65b1e971fc5d0b23effe78e
1,137
hpp
C++
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/normalize_l2.hpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-04-22T07:28:03.000Z
2021-04-22T07:28:03.000Z
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/normalize_l2.hpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
105
2020-06-04T00:23:29.000Z
2022-02-21T13:04:33.000Z
inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/normalize_l2.hpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <tuple> #include <vector> #include "shared_test_classes/base/layer_test_utils.hpp" #include "ngraph_functions/builders.hpp" namespace LayerTestsDefinitions { using NormalizeL2LayerTestPara...
31.583333
100
0.663149
uikilin100
c076748c198a93ed4a84e065e055206dc8423b4e
1,545
cc
C++
src/plugins/world_control/WorldControlEventListener.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
31
2020-04-17T22:47:47.000Z
2022-03-31T11:00:06.000Z
src/plugins/world_control/WorldControlEventListener.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
297
2020-04-25T02:55:37.000Z
2022-03-30T20:18:23.000Z
src/plugins/world_control/WorldControlEventListener.cc
zflat/ign-gui
879a8d193d0cc976587f437a2ec1254093681963
[ "ECL-2.0", "Apache-2.0" ]
33
2020-04-20T00:38:42.000Z
2022-03-18T10:10:46.000Z
/* * Copyright (C) 2021 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...
31.530612
76
0.730744
zflat
c0782c59eb6059aaef6758187e206a29f9b94134
2,311
hpp
C++
code/gamert/inc/pre-req.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
code/gamert/inc/pre-req.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
code/gamert/inc/pre-req.hpp
TankleL/gamert
61aa36270347515b51c4b6a8dedb0707ac5e49cd
[ "MIT" ]
null
null
null
#pragma once #include <cstring> #if defined(WIN32) # include <Windows.h> # define VK_USE_PLATFORM_WIN32_KHR # define __FILENAME__ (strrchr(__FILE__, '\\') ? strrchr(__FILE__, '\\') + 1 : __FILE__) #else # define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) #endif #include <stdexcept>...
28.182927
88
0.73042
TankleL
c078a021728094eb56b083789b367ea8961b66e5
731,835
cpp
C++
src/main_700.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_700.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_700.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: VROSC.PassthroughManager #include "VROSC/PassthroughManager.hpp" // Including type: OVRManager #include "GlobalNamespace/OVRManager.hpp" // Includi...
74.109873
347
0.77888
v0idp
c07d3212b4309c24b447e829319b33768a9187ec
1,867
cpp
C++
Clase_22_StringsSuffixArray/how_many_substrings.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
Clase_22_StringsSuffixArray/how_many_substrings.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
Clase_22_StringsSuffixArray/how_many_substrings.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; const long long int limit = 1e5 + 5; int sa[limit], lcp[limit], tmp[limit], pos[limit]; int n = 0, t = 0; string seq; bool compare(int i, int j) { if (pos[i] != pos[j]) return (pos[i] < pos[j]); i += t; ...
21.709302
51
0.33744
EdgarEspinozaPE
c07fac24fa7ebe1da8371d7d9ebe27c117c16292
1,907
cpp
C++
SNESticle/Source/dc/input.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
318
2022-01-15T23:35:01.000Z
2022-03-24T13:37:20.000Z
SNESticle/Source/dc/input.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
2
2022-01-25T23:58:23.000Z
2022-01-30T21:59:09.000Z
SNESticle/Source/dc/input.cpp
Sunlitspace542/SNESticle
9590ebf3bf768424ebd6cb018f322e724a7aade3
[ "MIT" ]
46
2022-01-17T22:46:08.000Z
2022-03-06T16:52:00.000Z
#include "types.h" #include "input.h" #include "inputdevice.h" //#include "inputkeyboard.h" //#include "inputmouse.h" //#include "inputjoystick.h" // physical devices static CInputDevice _Input_Null; //static CInputMouse _Input_Mouse; //static CInputKeyboard _Input_Keyboard; //static CInputJoystick _I...
25.77027
69
0.75721
Sunlitspace542
c088aa1b207111d8e74f737fddaa0f55a6b3f4e3
2,531
cc
C++
examples/tutorial/06_optional.cc
chip5441/ezy
4e4ed4edcfe182b4a6b5fd3459a67200474013ec
[ "MIT" ]
2
2019-12-12T13:40:27.000Z
2022-01-12T15:52:06.000Z
examples/tutorial/06_optional.cc
chip5441/ezy
4e4ed4edcfe182b4a6b5fd3459a67200474013ec
[ "MIT" ]
null
null
null
examples/tutorial/06_optional.cc
chip5441/ezy
4e4ed4edcfe182b4a6b5fd3459a67200474013ec
[ "MIT" ]
2
2020-07-06T14:55:46.000Z
2020-12-25T04:50:50.000Z
#include <ezy/optional> #include <ezy/string.h> ezy::optional<int> even(int i) { if (i % 2 == 0) return i; else return std::nullopt; } // explicit constructible, because extended type #include <iostream> int main() { //1. const auto from_ten = even(10); std::cout << from_ten.value() << "\n"; //2...
21.268908
101
0.498222
chip5441
c08abefc91e3fc73abee90d05bb5633c962430ee
1,202
cpp
C++
src/Assembler.cpp
cruzryan/MicroLang
4e7861d33de5b7e4114df4d06379bad8ff453baf
[ "MIT" ]
null
null
null
src/Assembler.cpp
cruzryan/MicroLang
4e7861d33de5b7e4114df4d06379bad8ff453baf
[ "MIT" ]
null
null
null
src/Assembler.cpp
cruzryan/MicroLang
4e7861d33de5b7e4114df4d06379bad8ff453baf
[ "MIT" ]
null
null
null
//The assembler turns AST into Assembly the PIC can understand namespace Assembler { using namespace Tokenizer; using AST::Node; using std::vector; /*This is to make sure the user doesn't create the same variable name, or same function name twice*/ vector<std::string> variableNamesGenerated; v...
21.854545
64
0.553245
cruzryan
c090d98cd71277fa6664d7ada9ddbcbf5e61b092
356
cpp
C++
lib/swf/src/tags/ScriptLimitsTag.cpp
Athesdrake/swflib
b901136e646451d269c1cafd0ceee57928e7c12d
[ "MIT" ]
3
2021-06-19T23:05:55.000Z
2021-06-22T11:53:42.000Z
lib/swf/src/tags/ScriptLimitsTag.cpp
Athesdrake/swflib
b901136e646451d269c1cafd0ceee57928e7c12d
[ "MIT" ]
null
null
null
lib/swf/src/tags/ScriptLimitsTag.cpp
Athesdrake/swflib
b901136e646451d269c1cafd0ceee57928e7c12d
[ "MIT" ]
null
null
null
#include "swf/tags/ScriptLimitsTag.h" namespace swf { void ScriptLimitsTag::read(StreamReader&& stream) { max_recursion_depth = stream.readU16(); script_timeout_seconds = stream.readU16(); } void ScriptLimitsTag::write(StreamWriter& stream) { stream.writeU16(max_recursion_depth); stream.wri...
29.666667
52
0.733146
Athesdrake
c092bb7019db2eaa0b941a0ce7b8ef324d2696b4
2,015
cpp
C++
vkconfig_core/version.cpp
ncesario-lunarg/VulkanTools
3ea8ac1d278a4412e34e443063cad90632bbbc3b
[ "Apache-2.0" ]
1
2021-03-04T03:33:44.000Z
2021-03-04T03:33:44.000Z
vkconfig_core/version.cpp
ncesario-lunarg/VulkanTools
3ea8ac1d278a4412e34e443063cad90632bbbc3b
[ "Apache-2.0" ]
null
null
null
vkconfig_core/version.cpp
ncesario-lunarg/VulkanTools
3ea8ac1d278a4412e34e443063cad90632bbbc3b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
33.032787
105
0.740943
ncesario-lunarg
6a4d2abb9385c5b81013a214742c69e6c542f6a5
1,139
cpp
C++
niuma_esp32/src/compass.cpp
earth-probe/NiuMa
8a651d49ee47d54289bc62ee19c8e5007b640fae
[ "MIT" ]
null
null
null
niuma_esp32/src/compass.cpp
earth-probe/NiuMa
8a651d49ee47d54289bc62ee19c8e5007b640fae
[ "MIT" ]
null
null
null
niuma_esp32/src/compass.cpp
earth-probe/NiuMa
8a651d49ee47d54289bc62ee19c8e5007b640fae
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "debug.hpp" #include "DFRobot_QMC5883/DFRobot_QMC5883.h" void setupCompass(void); void readCompass(void); DFRobot_QMC5883 compass; void CompassTask( void * parameter) { int core = xPortGetCoreID(); LOG_I(core); setupCompass(); for(;;) {// readCompass(); delay(1); } } ...
19.982456
75
0.690079
earth-probe
6a4fbe013032d1a8ae0102a90a58a659e9d0560b
13,716
cpp
C++
src/CCS811/CCS811.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
4
2020-09-19T08:29:20.000Z
2021-12-14T15:21:25.000Z
src/CCS811/CCS811.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
1
2021-02-14T09:32:32.000Z
2021-07-24T05:02:28.000Z
src/CCS811/CCS811.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
null
null
null
/* * This file started out as a SparkFun driver. The original license is preserved * below. * https://github.com/adafruit/Adafruit_CCS811 */ /* The MIT License (MIT) Copyright (c) 2017 Adafruit Industries Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
32.657143
102
0.554899
jspark311
6a5348fc7664b26751640c1c19d217dcb4f9eda7
32,908
cpp
C++
src/Python/fastgac_pybind/fastgac_pybind.cpp
JeremyBYU/FastGaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
4
2020-10-20T15:54:00.000Z
2021-09-05T22:24:57.000Z
src/Python/fastgac_pybind/fastgac_pybind.cpp
JeremyBYU/GaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
1
2021-06-09T03:32:14.000Z
2021-06-09T03:32:14.000Z
src/Python/fastgac_pybind/fastgac_pybind.cpp
JeremyBYU/GaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
1
2021-04-13T09:24:30.000Z
2021-04-13T09:24:30.000Z
#include "fastgac_pybind/fastgac_pybind.hpp" #include "fastgac_pybind/docstring/docstring.hpp" using namespace FastGA; // Makes a copy template <typename T, int dim> std::vector<std::array<T, dim>> py_array_to_vectors(py::array_t<double, py::array::c_style | py::array::forcecast> array) { // return std::vector<st...
69.42616
178
0.598122
JeremyBYU
6a582c274e19d6143b836236a0152e0d4123e421
1,496
cpp
C++
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandArrMemberAccess.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
3
2019-04-08T17:34:19.000Z
2020-01-03T04:47:06.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandArrMemberAccess.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
4
2020-04-19T22:09:06.000Z
2020-11-06T15:47:08.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandArrMemberAccess.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
null
null
null
#include "Config/LoggerConfigLang.h" #include "InterpreterCommandArrMemberAccess.h" SKA_LOGC_CONFIG(ska::LogLevel::Disabled, ska::bytecode::InterpreterCommand<ska::bytecode::Command::ARR_ACCESS>); #define LOG_DEBUG SLOG_STATIC(ska::LogLevel::Debug, ska::bytecode::InterpreterCommand<ska::bytecode::Command::ARR_ACCESS>)...
57.538462
166
0.699198
Scorbutics
6a5e85f1225570ef77b1b161298409acf832d67f
3,652
hpp
C++
include/Object.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Object.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Object.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
#ifndef __EVEL_ENGINE_OBJECT_HPP__ #define __EVEL_ENGINE_OBJECT_HPP__ #include <iostream> #include <string> #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) #include <SDL.h> #include <SDL_image.h> #else #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #endif #include "Log.hpp" #include "Camera.hpp" #includ...
34.130841
127
0.57092
savageking-io
6a5fab44a365737cca1db5670ff723aa67fbce73
3,584
cpp
C++
Source/FlightSimulator/Private/Online/FlightGameState.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
1
2022-02-03T08:29:35.000Z
2022-02-03T08:29:35.000Z
Source/FlightSimulator/Private/Online/FlightGameState.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
null
null
null
Source/FlightSimulator/Private/Online/FlightGameState.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
null
null
null
//MIT License // //Copyright(c) 2021 HaiLiang Feng // //QQ : 632865163 //Blog : https ://www.cnblogs.com/LynnVon/ // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwareand associated documentation files(the "Software"), to deal // in the Software without restrict...
32.880734
131
0.722098
Lynnvon
6a6294c4cc3b0712810f0e238654b8bd036e6afd
2,445
hpp
C++
header-files/letterBankClass.hpp
EthanC2/Hangman
0f77a31c7d0968bac20519a2b05272bf66889033
[ "MIT" ]
null
null
null
header-files/letterBankClass.hpp
EthanC2/Hangman
0f77a31c7d0968bac20519a2b05272bf66889033
[ "MIT" ]
null
null
null
header-files/letterBankClass.hpp
EthanC2/Hangman
0f77a31c7d0968bac20519a2b05272bf66889033
[ "MIT" ]
null
null
null
#ifndef WORDBANK_TYPE #define WORDBANK_TYPE //Native Header Files #include <iostream> #include <string> #include <array> //Custom Header #include "letterClass.hpp" //Namespace using namespace std; //************************* LetterBank Declaration ****************************\\ class LetterBank { private: ...
23.970588
103
0.604499
EthanC2
6a6442a76a23edd0c426fd976ccd4934ef57a4fb
3,865
cpp
C++
BRE/SceneLoader/TextureLoader.cpp
nicolasbertoa/D3D12Base
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
9
2016-07-14T05:43:45.000Z
2016-10-31T15:21:53.000Z
BRE/SceneLoader/TextureLoader.cpp
yang-shuohao/BRE12
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
null
null
null
BRE/SceneLoader/TextureLoader.cpp
yang-shuohao/BRE12
cdf36d9a6ef8ab3860a03cb250032a0690f89851
[ "BSD-3-Clause" ]
null
null
null
#include "TextureLoader.h" #include <d3d12.h> #include <vector> #pragma warning( push ) #pragma warning( disable : 4127) #include <yaml-cpp/yaml.h> #pragma warning( pop ) #include <CommandListExecutor\CommandListExecutor.h> #include <ResourceManager\ResourceManager.h> #include <Utils/DebugUtils.h> namespace BRE { v...
37.524272
98
0.596378
nicolasbertoa
6a66c0fadcaba363c335329b08423945c52ee069
2,227
cpp
C++
android-31/android/graphics/RadialGradient.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/graphics/RadialGradient.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/graphics/RadialGradient.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JFloatArray.hpp" #include "../../JIntArray.hpp" #include "../../JLongArray.hpp" #include "./Shader_TileMode.hpp" #include "./RadialGradient.hpp" namespace android::graphics { // Fields // QJniObject forward RadialGradient::RadialGradient(QJniObject obj) : android::graphics::Shader(obj) {} // Co...
28.922078
185
0.703637
YJBeetle
6a6d007d24562eea39941c409bafe0247008f099
3,569
cpp
C++
IGC/Compiler/Optimizer/OpenCLPasses/UnreachableHandling/UnreachableHandling.cpp
bader/intel-graphics-compiler
04f51dc2f3d5047f334da5cb5eebe568480622f5
[ "MIT" ]
null
null
null
IGC/Compiler/Optimizer/OpenCLPasses/UnreachableHandling/UnreachableHandling.cpp
bader/intel-graphics-compiler
04f51dc2f3d5047f334da5cb5eebe568480622f5
[ "MIT" ]
null
null
null
IGC/Compiler/Optimizer/OpenCLPasses/UnreachableHandling/UnreachableHandling.cpp
bader/intel-graphics-compiler
04f51dc2f3d5047f334da5cb5eebe568480622f5
[ "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (c) 2000-2021 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, inc...
34.990196
105
0.732418
bader
6a6dd4717c7559d761c4a058e29e812daeed2fde
589
cpp
C++
Binary Search/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Binary Search/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Binary Search/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include <iostream> using namespace std; int binary_search(int a[], int n, int key){ int s=0; int e=n-1; while(s<=e){ int mid=(s+e)/2; if(a[mid] == key){ return mid; } else if(a[mid]>key){ e=mid-1; } else{ s= mid +1; ...
16.361111
51
0.438031
shouryagupta21
6a727661d323a493ff3769521256da4a7d8aef10
2,727
cpp
C++
src/transforms/gdprocmult.cpp
RodZill4/gdprocmesh
1bdf8ac26e3431283c6368908a89b06299caf194
[ "MIT" ]
1
2019-10-31T12:19:27.000Z
2019-10-31T12:19:27.000Z
src/transforms/gdprocmult.cpp
capnm/gdprocmesh
452fdce2206401f8492e4c3d0906554842e13841
[ "MIT" ]
null
null
null
src/transforms/gdprocmult.cpp
capnm/gdprocmesh
452fdce2206401f8492e4c3d0906554842e13841
[ "MIT" ]
1
2019-01-14T13:20:11.000Z
2019-01-14T13:20:11.000Z
#include "transforms/gdprocmult.h" using namespace godot; void GDProcMult::_register_methods() { register_property<GDProcMult, float>("mult", &GDProcMult::set_mult, &GDProcMult::get_mult, 1.0); } String GDProcMult::get_type_name() { return "Multiply"; } String GDProcMult::get_description() const { return "Multip...
20.350746
97
0.686835
RodZill4
6a73e58307b7a1879f0fc378fd79d9a106bd9a50
542
cpp
C++
CodeForces-Solution/1295A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1295A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1295A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include<bits/stdc++.h> using namespace std; #define pii pair<int,int> #define pll pair<ll,ll> #define eb emplace_back #define ll long long #define nl '\n' #define deb(x) cerr<<#x" = "<<x<<nl #define in() ( { int a ; scanf("%d",&a); a; } ) const int N = 3e5 + 9; const int mod = 1e9 + 7; int32_t main() { ios_base...
21.68
59
0.5369
Tech-Intellegent
6a7d5f6eaa380bb208ccd2e1ef637b368bf186b8
37
cpp
C++
Engine/Source/GameFramework/Core/Actor.cpp
minimpoun/MARS-Engine
c69f4703289699367d3788477a535e5458bebb93
[ "Apache-2.0" ]
2
2020-12-02T01:40:26.000Z
2021-09-22T08:35:29.000Z
Engine/Source/GameFramework/Core/Actor.cpp
gameplay-solutions/MARS-Engine
9261038f6f8e23523b7fff3c5ff683641f06eb64
[ "Apache-2.0" ]
null
null
null
Engine/Source/GameFramework/Core/Actor.cpp
gameplay-solutions/MARS-Engine
9261038f6f8e23523b7fff3c5ff683641f06eb64
[ "Apache-2.0" ]
3
2018-08-18T21:12:49.000Z
2019-11-04T08:17:28.000Z
#include "GameFramework/Core/Actor.h"
37
37
0.810811
minimpoun
6a7ed780de2f9a071d4b5ee28e3918404fe39765
2,079
cpp
C++
libadaptivity/load_balance/src/invent_pressure_mesh.cpp
luh1202/DynEarthSol
60a46924fc9b7cac72f66554c78930c50f3817d0
[ "MIT" ]
11
2019-09-25T08:10:04.000Z
2022-02-20T07:47:05.000Z
libadaptivity/load_balance/src/invent_pressure_mesh.cpp
luh1202/DynEarthSol
60a46924fc9b7cac72f66554c78930c50f3817d0
[ "MIT" ]
5
2019-11-25T17:35:09.000Z
2021-12-01T09:58:45.000Z
libadaptivity/load_balance/src/invent_pressure_mesh.cpp
luh1202/DynEarthSol
60a46924fc9b7cac72f66554c78930c50f3817d0
[ "MIT" ]
9
2019-09-27T02:15:09.000Z
2021-07-05T15:38:52.000Z
/* Copyright (C) 2006 Imperial College London and others. Please see the AUTHORS file in the main source directory for a full list of copyright holders. Dr Gerard J Gorman Applied Modelling and Computation Group Department of Earth Science and Engineering Imperial College London g.gorman@imperial.ac.uk This...
30.130435
98
0.718134
luh1202
6a808815e08795fd77159131236da753b4eb0d71
3,518
cpp
C++
EZOJ/Contests/1549/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1549/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1549/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; for(;!isdigit(c=getchar())&&c!='-';); bool neg=c=='-'; neg?c=getchar():0; for...
19.875706
84
0.543491
sshockwave
6a81bede78860aefd64dee60c3c9cecf19f949fb
1,416
cpp
C++
1721_Swapping Nodes in a Linked List.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
1721_Swapping Nodes in a Linked List.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
1721_Swapping Nodes in a Linked List.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include<vector> #include<stdlib.h> #include<algorithm> using namespace std; struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode* s...
25.745455
102
0.555791
RickTseng
6a81df28e98230b1fe484584b50453162756ff08
4,780
cc
C++
src/classFilter.cc
taepatipol/nogdb.js
04278b2cd7538479e5273eb1f844c370c5d3af83
[ "MIT" ]
1
2018-07-27T14:54:01.000Z
2018-07-27T14:54:01.000Z
src/classFilter.cc
taepatipol/nogdb.js
04278b2cd7538479e5273eb1f844c370c5d3af83
[ "MIT" ]
null
null
null
src/classFilter.cc
taepatipol/nogdb.js
04278b2cd7538479e5273eb1f844c370c5d3af83
[ "MIT" ]
1
2019-06-21T08:24:53.000Z
2019-06-21T08:24:53.000Z
#include <nan.h> #include <nogdb/nogdb.h> #include "classFilter.hpp" Nan::Persistent<v8::FunctionTemplate> ClassFilter::constructor; NAN_MODULE_INIT(ClassFilter::Init) { v8::Local<v8::FunctionTemplate> constructTemplate = Nan::New<v8::FunctionTemplate>(ClassFilter::New); constructor.Rese...
35.147059
105
0.596444
taepatipol
6a823142de5b0f5374fa971a92feeed5c491ce10
2,992
cpp
C++
Audio/SoundManager.cpp
black-square/mango2d
7fe942eec5ab39e98b591f0ad266ed2bfc91e433
[ "MIT" ]
2
2015-10-21T15:11:04.000Z
2016-05-13T07:53:39.000Z
Audio/SoundManager.cpp
black-square/mango2d
7fe942eec5ab39e98b591f0ad266ed2bfc91e433
[ "MIT" ]
null
null
null
Audio/SoundManager.cpp
black-square/mango2d
7fe942eec5ab39e98b591f0ad266ed2bfc91e433
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "SoundManager.h" #include "SoundCache.h" SDL_AudioSpec SoundManager::GetSpecs() { SDL_AudioSpec fmt; /* Set 16-bit stereo audio at 22Khz */ fmt.freq = 44100; fmt.format = AUDIO_S16; fmt.channels = 1; fmt.samples = 1024; /* A good value for games */ retu...
26.245614
90
0.487968
black-square
6a86d967dcded636c73ee23709e37964f2eccd6e
2,888
cpp
C++
include/render/view.cpp
weigert/TinyFluid
7d8fc1d466e658c8a406c8b18527de9f1917db47
[ "MIT" ]
10
2020-08-05T08:23:08.000Z
2022-02-20T04:44:55.000Z
include/render/view.cpp
weigert/TinyFluid
7d8fc1d466e658c8a406c8b18527de9f1917db47
[ "MIT" ]
null
null
null
include/render/view.cpp
weigert/TinyFluid
7d8fc1d466e658c8a406c8b18527de9f1917db47
[ "MIT" ]
2
2020-10-19T13:38:46.000Z
2020-12-03T17:23:00.000Z
#include "view.h" /* ================================================================================ SETUP / CLEANUP ================================================================================ */ bool View::setup(){ //Initialize SDL if( SDL_Init( SDL_INIT_VIDEO ) < 0 ) return false; //Crea...
31.391304
175
0.585873
weigert
6a88e2951eb518a01dff8cac1efcd0032a629bef
20,803
cpp
C++
api.cpp
Meditator-hkx/Reno-Hash
7b96433b698bd492b8bea5e240950bc0ee30eb9f
[ "Apache-2.0" ]
null
null
null
api.cpp
Meditator-hkx/Reno-Hash
7b96433b698bd492b8bea5e240950bc0ee30eb9f
[ "Apache-2.0" ]
null
null
null
api.cpp
Meditator-hkx/Reno-Hash
7b96433b698bd492b8bea5e240950bc0ee30eb9f
[ "Apache-2.0" ]
null
null
null
#include "config.h" #include "api.h" #include "storage.h" #include "ib.h" #include <sys/mman.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> void server_init(uint32_t index_num) { // mmap super metadata int fd = open(PM_PATH, O_RDWR | O_CREAT); fd = -1; if (fd == -1) { Super = (S...
31.955453
134
0.496227
Meditator-hkx
6a8b3fc7ac98b311d9a77103a82c5602451e3682
2,733
hpp
C++
include/collectors/forward_list_collector.hpp
Im-dex/eXstream
8c4fc74fd0765297e9c8d427bf72e7f6878c34f7
[ "MIT" ]
2
2017-06-21T04:58:33.000Z
2022-03-23T10:42:49.000Z
include/collectors/forward_list_collector.hpp
Im-dex/eXstream
8c4fc74fd0765297e9c8d427bf72e7f6878c34f7
[ "MIT" ]
null
null
null
include/collectors/forward_list_collector.hpp
Im-dex/eXstream
8c4fc74fd0765297e9c8d427bf72e7f6878c34f7
[ "MIT" ]
null
null
null
#pragma once #include "config.hpp" #include "utility.hpp" EXSTREAM_SUPPRESS_ALL_WARNINGS #include <type_traits> EXSTREAM_RESTORE_ALL_WARNINGS namespace std { template <typename T, typename Allocator> class forward_list; } // std namespace namespace exstream { template <typename T, typename Allocator> class forwa...
22.401639
105
0.701427
Im-dex
6a8c791c775e6bf3363d6a3ac2772c2b026bf14e
4,296
hpp
C++
libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/containers/buttons/BoxWithBorderButtonStyle.hpp
LIGHT1213/H750_TouchGFX
d38acec2f2d28eaac07ef6316d6f008fb574488d
[ "MIT" ]
null
null
null
libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/containers/buttons/BoxWithBorderButtonStyle.hpp
LIGHT1213/H750_TouchGFX
d38acec2f2d28eaac07ef6316d6f008fb574488d
[ "MIT" ]
null
null
null
libraries/touchgfx_lib/Middlewares/ST/touchgfx/framework/include/touchgfx/containers/buttons/BoxWithBorderButtonStyle.hpp
LIGHT1213/H750_TouchGFX
d38acec2f2d28eaac07ef6316d6f008fb574488d
[ "MIT" ]
1
2021-12-04T02:58:52.000Z
2021-12-04T02:58:52.000Z
/** ****************************************************************************** * This file is part of the TouchGFX 4.16.0 distribution. * * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
30.041958
165
0.635475
LIGHT1213
6a8cba79af7cb4e00bfad62f5b9694aeded95d94
7,948
cpp
C++
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/resources.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
1
2015-12-01T04:16:54.000Z
2015-12-01T04:16:54.000Z
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/resources.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
null
null
null
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/resources.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/C++ is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is applied to...
43.195652
105
0.588198
caiqingfeng
6a8dacddd1fe19d3e80ac26b580f36411e855376
552
hpp
C++
src/ast/include/return_stmt.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
5
2017-03-28T00:36:54.000Z
2019-08-06T00:05:44.000Z
src/ast/include/return_stmt.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
4
2017-03-28T01:36:05.000Z
2017-04-17T20:34:46.000Z
src/ast/include/return_stmt.hpp
bfeip/Lain
3df115167dbb0eb8147b225a24bb72b6c0920c64
[ "MIT" ]
null
null
null
#ifndef RETURN_STMT_HPP #define RETURN_STMT_HPP #include "stmt.hpp" #include "scope_creator.hpp" #include "expr.hpp" class ReturnStmt : virtual public Stmt, virtual public ScopeCreator /* ikr */ { private: std::unique_ptr<Expr> value; public: ReturnStmt() = delete; ReturnStmt(ScopeCreator* p) : Stmt(p), ScopeCr...
25.090909
79
0.697464
bfeip
6a9055e15080c7d5895db83d99b14ffa926187f6
19,034
cpp
C++
c++/src/objects/seqalign/Spliced_seg.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/objects/seqalign/Spliced_seg.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/objects/seqalign/Spliced_seg.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: Spliced_seg.cpp 352823 2012-02-09 16:24:35Z grichenk $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government ...
36.887597
118
0.566197
OpenHero
6a9256fdbc7ee1c1a1c92957c3fcdd1fa1d816de
3,527
cpp
C++
Kawakawa/TestD3D/Common/CubeRenderTarget.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/TestD3D/Common/CubeRenderTarget.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/TestD3D/Common/CubeRenderTarget.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
#include "CubeRenderTarget.h" CubeRenderTarget::CubeRenderTarget(ID3D12Device* device, UINT width, UINT height, DXGI_FORMAT format) { md3dDevice = device; mWidth = width; mHeight = height; mFormat = format; mViewport = { 0.0f, 0.0f, (float)width, (float)height, 0.0f, 1.0f }; mScissorRect = { 0, 0, (int)width...
26.125926
78
0.763255
JiaqiJin
6a9391380b43e887c8fdfffb0be5992734e10d00
945
hpp
C++
libs/parse/include/fcppt/parse/get_char.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/parse/include/fcppt/parse/get_char.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/parse/include/fcppt/parse/get_char.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_PARSE_GET_CHAR_HPP_INCLUDED #define FCPPT_PARSE_GET_CHAR_HPP_INCLUDED #include <fcp...
16.016949
61
0.708995
pmiddend
6a9f8a65cee0b6b8e9fac87a48fd1a31d83e77d3
3,257
cpp
C++
Wand/Source/VN/VNEntity.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/VN/VNEntity.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/VN/VNEntity.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
#include "WandPCH.h" #include "VNEntity.h" namespace wand { VNEntity::VNEntity(std::string name) : mSprites(), mCurrentSprite(nullptr), mName(name) {} void VNEntity::AddSprite(Sprite* sprite) { mSprites.emplace_back(sprite); mCurrentSprite = sprite; } void VNEntity::SetSprite(std::string spriteLabel) { ...
28.077586
90
0.691741
mariaviolaki
6aa10d243ed72c0cc37cae790fd485b4304d5947
11,092
cpp
C++
platform_game/attack_area.cpp
dbsGen/my_godot_modules
1c933b081ea0a45ddafbb61b2ab5fc627c0949e8
[ "MIT" ]
6
2016-04-09T00:03:41.000Z
2022-01-27T23:45:36.000Z
platform_game/attack_area.cpp
dbsGen/my_godot_modules
1c933b081ea0a45ddafbb61b2ab5fc627c0949e8
[ "MIT" ]
null
null
null
platform_game/attack_area.cpp
dbsGen/my_godot_modules
1c933b081ea0a45ddafbb61b2ab5fc627c0949e8
[ "MIT" ]
2
2017-04-05T05:01:25.000Z
2019-01-15T12:04:06.000Z
// // Created by Gen on 15-5-21. // #include "attack_area.h" #include "character.h" bool AttackArea::attack(Character *from) { if (hit_status == NULL || !from->get_can_attack()) { return false; } Ref<HitStatus> from_hit = from->get_hit_status(); if (from_hit != NULL && from_hit->ge...
44.725806
162
0.573567
dbsGen
6aa4351c4355814269396e345a13714f2ed3ff14
314
hxx
C++
_inbox/MySpell-3/MySpell-3.0/baseaffix.hxx
adamleerich/ENABLE
75cbfb9c09ded34c0d3ac306262a35acb424cfcf
[ "CC0-1.0" ]
1
2019-06-12T19:47:56.000Z
2019-06-12T19:47:56.000Z
_inbox/MySpell-3/MySpell-3.0/baseaffix.hxx
adamleerich/ENABLE
75cbfb9c09ded34c0d3ac306262a35acb424cfcf
[ "CC0-1.0" ]
null
null
null
_inbox/MySpell-3/MySpell-3.0/baseaffix.hxx
adamleerich/ENABLE
75cbfb9c09ded34c0d3ac306262a35acb424cfcf
[ "CC0-1.0" ]
1
2020-01-11T19:10:05.000Z
2020-01-11T19:10:05.000Z
#ifndef _BASEAFF_HXX_ #define _BASEAFF_HXX_ class AffEntry { protected: char * appnd; char * strip; short appndl; short stripl; short numconds; short xpflg; char achar; char conds[SETSIZE]; }; #endif
17.444444
35
0.487261
adamleerich
6aa572abcd0f85c6a4a0be468fa8a5c684475725
5,542
hpp
C++
dep/MiraiProject/include/MiraiProject/scene/Node.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
2
2015-02-17T16:29:34.000Z
2017-04-27T15:43:07.000Z
dep/MiraiProject/include/MiraiProject/scene/Node.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
2
2015-03-07T21:21:30.000Z
2015-03-07T21:28:33.000Z
dep/MiraiProject/include/MiraiProject/scene/Node.hpp
Mirai-Team/MiraiVN
3a36b0e9a30ab0507edba7a6d8d4d908a97bf575
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////// // // MiraiProject // Copyright (C) 2014-2015 CORTIER Benoît (benoit.cortier@gmail.com), BOULMIER Jérôme (jerome.boulmier@outlook.fr) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held lia...
32.409357
114
0.559726
Mirai-Team
6aa88f4d190288c46fa288c63c3f66d3308298a4
4,742
cpp
C++
engine/source/kernel/basic/math/euler/basic_euler.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/basic/math/euler/basic_euler.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/kernel/basic/math/euler/basic_euler.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "kernel/basic/math/euler/basic_euler.h" namespace coffee { //-META---------------------------------------------------------------------------------------// COFFEE_BeginType(basic::Euler); COFFEE_Attribute(basic::Angle, X, meta::MODE_Serializeable | meta::MODE_Editable); COFFEE_Attribu...
29.092025
108
0.376002
skarab
6aaa4d83debe9b8240707d5f52b2a51172db13bc
6,456
hpp
C++
src/tests/MapVerify.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:03:31.000Z
2021-10-08T01:52:57.000Z
src/tests/MapVerify.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
18
2020-10-20T02:39:12.000Z
2021-08-30T00:23:32.000Z
src/tests/MapVerify.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:06:11.000Z
2021-02-19T17:23:17.000Z
#ifndef MAPVERIFY_HPP #define MAPVERIFY_HPP /* * This is a test that verifies mapping operations. * In multi-threaded scenarios, each thread operates on a cyclical partition of the key space. * E.g. for n threads, thread 0 does operations on key #0, #n, #2n etc. * This wouldn't catch all data races, but is good en...
30.309859
130
0.667286
urcs-sync
6ab17cc634c196e8c7165acfe20cdf26c28bd6b1
6,787
hpp
C++
Matrix.hpp
hrt/CSGO
5dee3868bc2e101d608fc91fc06ec2c6c7c37446
[ "MIT" ]
94
2019-08-25T12:54:16.000Z
2022-03-23T18:39:41.000Z
Matrix.hpp
inushahapuarachchi/CSGROW
5dee3868bc2e101d608fc91fc06ec2c6c7c37446
[ "MIT" ]
2
2020-06-07T09:56:55.000Z
2021-02-23T00:18:32.000Z
Matrix.hpp
inushahapuarachchi/CSGROW
5dee3868bc2e101d608fc91fc06ec2c6c7c37446
[ "MIT" ]
23
2019-08-31T21:01:56.000Z
2022-03-18T17:52:26.000Z
/** * @author frk, ReactiioN * @date 08.03.2016 * @visit https://github.com/frk1 * https://thefrk.pw * https://www.unknowncheats.me/forum/members/1067779.html * * https://github.com/ReactiioN1337 * https://reactiion.pw * https://www.unk...
20.259701
127
0.546928
hrt
6ab23c22b9af0a0e5494c2dd1691c161bd1f8fdc
9,952
cpp
C++
packages/mock/src/SystemHandle.cpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
packages/mock/src/SystemHandle.cpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
packages/mock/src/SystemHandle.cpp
aaronchongth/soss_v2
b531c2046e24684670a4a2ea2fd3c134fcba0591
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 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...
26.468085
97
0.616559
aaronchongth
6ab4a7d8e6c1f876aed2a3c7addc180fac194bc0
712
cpp
C++
test/geometry/utils/crosspoint.test.cpp
hareku/cpp-algorithm
455339645d5797f0e6b211694345e1a221fc131c
[ "Apache-2.0" ]
null
null
null
test/geometry/utils/crosspoint.test.cpp
hareku/cpp-algorithm
455339645d5797f0e6b211694345e1a221fc131c
[ "Apache-2.0" ]
null
null
null
test/geometry/utils/crosspoint.test.cpp
hareku/cpp-algorithm
455339645d5797f0e6b211694345e1a221fc131c
[ "Apache-2.0" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=CGL_2_C" #define ERROR "1e-8" #include <bits/stdc++.h> #include "../../../lib/geometry/utils.hpp" using namespace std; int main() { cout << std::fixed << std::setprecision(10); using P = complex<double>; auto read_p = []()->P { ...
24.551724
82
0.507022
hareku
6ab5a9c6e0c3e2c2d27a1438b56bfb55858a7f02
6,765
cc
C++
net/instaweb/rewriter/scan_filter.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
net/instaweb/rewriter/scan_filter.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/scan_filter.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
38.87931
80
0.695344
dimitrilongo
6abae266d24a104b7d907e9abb1623c9a9f3c3c9
1,998
cpp
C++
class notes/5 - trees/3 - traversals/code_cpp/main.cpp
mts398/2020-spring-cs211
0fb9f7a58628bc718d15fe35d2f039ef332e6461
[ "Apache-2.0" ]
4
2020-01-22T21:12:01.000Z
2020-02-20T04:05:47.000Z
class notes/5 - trees/3 - traversals/code_cpp/main.cpp
mts398/2020-spring-cs211
0fb9f7a58628bc718d15fe35d2f039ef332e6461
[ "Apache-2.0" ]
1
2020-03-05T23:58:05.000Z
2020-03-05T23:58:05.000Z
class notes/5 - trees/3 - traversals/code_cpp/main.cpp
Tashenea/2020-spring-cs211
ddce1bd0db8301e11268d80964cc5dbd8e1a8d40
[ "Apache-2.0" ]
15
2020-01-21T20:56:02.000Z
2020-04-10T20:47:42.000Z
#include <iostream> #include <string> #include <vector> #include <fstream> #include <sstream> #include <unordered_map> #include <utility> #include <stack> #include <queue> #include <algorithm> #include <cstdlib> #include <map> //a map is a "red-black" binary tree #include "PrintLog.h" #include "StringHelpers.h" #includ...
16.65
66
0.677678
mts398
6abbb48a50a1ceb10f94ab655f236cc759d4e15a
1,345
cpp
C++
external/earcut.hpp-0.12.4/test/tap.cpp
mkuitune/libdr4w
9a3540d721782cd81efd30285de75ddde2e49323
[ "MIT" ]
null
null
null
external/earcut.hpp-0.12.4/test/tap.cpp
mkuitune/libdr4w
9a3540d721782cd81efd30285de75ddde2e49323
[ "MIT" ]
null
null
null
external/earcut.hpp-0.12.4/test/tap.cpp
mkuitune/libdr4w
9a3540d721782cd81efd30285de75ddde2e49323
[ "MIT" ]
null
null
null
#include "tap.hpp" #include <iostream> #include <stdexcept> int Tap::total = 0; int Tap::errored = 0; bool Tap::started = false; Tap::Tap() { if (started) { throw std::runtime_error("Tap cannot be initialized more than once"); } std::cout << "TAP version 13" << std::endl; atexit([]() { ...
20.692308
77
0.501115
mkuitune
6abcd2ab470aeeb4ee18c1150db9ebf2d74ba834
1,264
cpp
C++
LongestPalindrome/LongestPalindrome.cpp
sbchong/LeetCode
933c7d85519b473f48050b24465aaaba94eede8c
[ "Apache-2.0" ]
null
null
null
LongestPalindrome/LongestPalindrome.cpp
sbchong/LeetCode
933c7d85519b473f48050b24465aaaba94eede8c
[ "Apache-2.0" ]
null
null
null
LongestPalindrome/LongestPalindrome.cpp
sbchong/LeetCode
933c7d85519b473f48050b24465aaaba94eede8c
[ "Apache-2.0" ]
1
2020-07-29T14:36:51.000Z
2020-07-29T14:36:51.000Z
// LongestPalindrome.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int longestPalindromeF(string s) { int length = s.size(); sort(s.begin(), s.end()); if (length == 0) return 0; vector<int> s1; fo...
20.387097
59
0.484177
sbchong