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
8be613f577fd369a92cf747a51ff5fc0ac3c9ded
678
hpp
C++
include/sprout/preprocessor/u16str.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/preprocessor/u16str.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/preprocessor/u16str.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
33.9
79
0.60767
thinkoid
8bf69f8423f32cfb609cfdb6b7f59e56fe348989
324
cc
C++
leetcode/1164-missing-number-in-arithmetic-progression.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1164-missing-number-in-arithmetic-progression.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1164-missing-number-in-arithmetic-progression.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
class Solution { public: int missingNumber(vector<int>& arr) { int diff=abs(arr[arr.size()-1]-arr[0])/arr.size(); if(arr[0]>arr[1]){ diff=0-diff; } for(int i=0;i<arr.size();i++){ if(arr[i]!=arr[0]+diff*i){ return arr[0]+diff*i; } } return 0; ...
21.6
56
0.469136
Magic07
8bfc7e95107e1db49c1a3c010f370e23e3a56f3f
3,138
hpp
C++
Inc/Inner/ImplHudNode.hpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
7
2021-11-25T02:12:09.000Z
2022-03-20T12:48:18.000Z
Inc/Inner/ImplHudNode.hpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
1
2022-03-25T20:47:21.000Z
2022-03-29T02:02:44.000Z
Inc/Inner/ImplHudNode.hpp
MJYCo-Ltd/Map
48ccc120a3c2cd3080fb046da72c7588b1faebc0
[ "MIT" ]
2
2021-12-07T06:22:47.000Z
2021-12-30T05:54:04.000Z
#ifndef IMPL_HUD_NODE_H #define IMPL_HUD_NODE_H #include <osgEarth/Controls> #include <Inner/ImplSceneNode.hpp> /** * 实现IHudNode所有的接口 */ template <typename T> class ImplHudNode:public ImplSceneNode<T> { public: CONSTRUCTOR(ImplHudNode,ImplSceneNode<T>) protected: void SetControlNode(osgEarth::Controls::Con...
35.659091
122
0.620459
MJYCo-Ltd
8bff2df37bf13bddbad8bdcf563fab3550a4754a
1,948
cpp
C++
libraries/Crypto/SHA384.cpp
rweather/arduinolibs
662329f1fd1ba57d1312253dfe81ff0e0e2ec706
[ "MIT" ]
356
2015-01-11T15:34:14.000Z
2022-03-30T13:57:24.000Z
libraries/Crypto/SHA384.cpp
rweather/arduinolibs
662329f1fd1ba57d1312253dfe81ff0e0e2ec706
[ "MIT" ]
57
2015-09-25T09:34:37.000Z
2022-01-30T19:51:50.000Z
libraries/Crypto/SHA384.cpp
rweather/arduinolibs
662329f1fd1ba57d1312253dfe81ff0e0e2ec706
[ "MIT" ]
174
2015-01-11T15:42:25.000Z
2022-03-26T21:46:08.000Z
/* * Copyright (C) 2015 Southern Storm Software, Pty Ltd. * * 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, ...
31.419355
78
0.728439
rweather
bddb33ff331e58560b240663f7ed3c75f8e633f3
955
cpp
C++
Rubbish/ht6/ht6/6588.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ht6/ht6/6588.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ht6/ht6/6588.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
/* Дан целочисленный массив из 30 элементов. Элементы массива могут принимать целые значения от 0 до 10000 включительно. Опишите на естественном языке или на // одном из языков программирования алгоритм, позволяющий найти и вывести произведение двузначных элементов массива, с суммой цифр не кратной 6. Гарантируется,...
31.833333
423
0.628272
albarkan
bddcb6b4bca10f4244aea6e556ec8fd0b2b3e1da
6,687
cxx
C++
src-plugins/libs/vtkInria/Examples/CompareImageManager/CompareImageManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/libs/vtkInria/Examples/CompareImageManager/CompareImageManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/libs/vtkInria/Examples/CompareImageManager/CompareImageManager.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
29.073913
112
0.701959
ocommowi
bddd56037c47e9677b2602fdb4e9233b0568a832
29,999
cc
C++
TimingAnalyzer/plugins/CommonUtils.cc
kmcdermo/Timing
f2f41e24350e14daf795f6551aa52a0687cda3f2
[ "MIT" ]
2
2017-10-19T12:28:53.000Z
2019-05-22T14:36:05.000Z
TimingAnalyzer/plugins/CommonUtils.cc
kmcdermo/Timing
f2f41e24350e14daf795f6551aa52a0687cda3f2
[ "MIT" ]
null
null
null
TimingAnalyzer/plugins/CommonUtils.cc
kmcdermo/Timing
f2f41e24350e14daf795f6551aa52a0687cda3f2
[ "MIT" ]
6
2017-09-13T13:16:10.000Z
2019-01-28T17:39:51.000Z
#include "Timing/TimingAnalyzer/plugins/CommonUtils.hh" #include "DataFormats/EcalDetId/interface/EcalSubdetector.h" namespace oot { /////////////////////////// // Object Prep Functions // /////////////////////////// void ReadInTriggerNames(const std::string & inputPaths, std::vector<std::string> & pathNames,...
37.173482
176
0.560985
kmcdermo
bdde2152b74138579d8da71f7595eb4d4ae8c05c
527
hpp
C++
include/mgcpp/expressions/placeholder.hpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
48
2018-01-02T03:47:18.000Z
2021-09-09T05:55:45.000Z
include/mgcpp/expressions/placeholder.hpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
24
2017-12-27T18:03:13.000Z
2018-07-02T09:00:30.000Z
include/mgcpp/expressions/placeholder.hpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
6
2018-01-14T14:06:10.000Z
2018-10-16T08:43:01.000Z
#ifndef PLACEHOLDER_HPP #define PLACEHOLDER_HPP #include <mgcpp/expressions/forward.hpp> namespace mgcpp { struct placeholder_node_type; template <size_t PlaceholderID, typename ResultType> using placeholder_node = generic_expr<placeholder_node_type, PlaceholderID, ...
27.736842
76
0.582543
MGfoundation
bddfc32b9fb917c116a4db07b56e45c23dd2481f
1,622
hpp
C++
rsked/inetcheck.hpp
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
null
null
null
rsked/inetcheck.hpp
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
null
null
null
rsked/inetcheck.hpp
farlies/rsked
cd2004bed454578f4d2ac25996dc1ced98d4fa58
[ "Apache-2.0" ]
1
2020-10-04T22:14:55.000Z
2020-10-04T22:14:55.000Z
#pragma once /// You may optionally configure this in rsked.json like: /// { ... /// "Inet_checker" : { /// "enabled" : true, /// "status_path" : "/run/user/1000/netstat", /// "refresh" : 60 /// }, ... /// /// Without configuration, it will be enabled with reasonable defaults. /// /* Par...
30.037037
77
0.673243
farlies
bde11ce8b7ac613af0e4ce53a540b02c23a7f684
604
hpp
C++
third_party/boost/simd/arch/common/detail/scalar/exponential.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/common/detail/scalar/exponential.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/common/detail/scalar/exponential.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
33.555556
100
0.541391
SylvainCorlay
bde24956c5faa172c8cdfd4cba1977b538e2f62f
5,687
hpp
C++
include/cynodelic/metaflags/detail/string_parsing_helper.hpp
cynodelic/metaflags
171f09800910a1c20ce8732441e27f33d8d2ce4f
[ "BSL-1.0" ]
null
null
null
include/cynodelic/metaflags/detail/string_parsing_helper.hpp
cynodelic/metaflags
171f09800910a1c20ce8732441e27f33d8d2ce4f
[ "BSL-1.0" ]
null
null
null
include/cynodelic/metaflags/detail/string_parsing_helper.hpp
cynodelic/metaflags
171f09800910a1c20ce8732441e27f33d8d2ce4f
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2019 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #ifndef CYNODELIC_METAFLAGS_DETAIL_STRING_PARSING_HELPER_HPP #define CYNODELIC_METAFLAGS_DETAIL_STRING_PARSING_HELPER_HPP #include <cstd...
27.080952
203
0.697204
cynodelic
bde28cbdddddd64c2e0c9ccc289e5c8dd12c653b
197
c++
C++
Jcoord.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
1
2018-09-24T21:58:03.000Z
2018-09-24T21:58:03.000Z
Jcoord.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
Jcoord.c++
SRTCpp/Code
67c311566cee7b3e5cd8440ac2f7531f1737e293
[ "Apache-2.0" ]
null
null
null
#include "Jcoord.h" coord::coord() { x=0; y=0; z=0; } coord::coord(int a, int b, int c) { x=a; y=b; z=c; } int& coord::A() { if (a==X) return x; if (a==Y) return y; if (a==Z) return z; }
10.368421
33
0.507614
SRTCpp
bdf1f361639e5dc85e7bd8746cb23b34c63be69f
2,675
cpp
C++
Photon/Plugins/PhilipsHue/src/HueLight.cpp
rlisle/ProjectIoT
abdb7efa36657fcd942626975d2156ef5d02c8bc
[ "MIT" ]
null
null
null
Photon/Plugins/PhilipsHue/src/HueLight.cpp
rlisle/ProjectIoT
abdb7efa36657fcd942626975d2156ef5d02c8bc
[ "MIT" ]
null
null
null
Photon/Plugins/PhilipsHue/src/HueLight.cpp
rlisle/ProjectIoT
abdb7efa36657fcd942626975d2156ef5d02c8bc
[ "MIT" ]
null
null
null
/****************************************************************** HueLight plugin Features: - Control Philips Hue light. http://www.github.com/rlisle/Patriot Example code used from https://www.digikey.com/en/maker/blogs/2019/how-to-post-data-using-the-particle-photon Written by Ron Lisle BSD license, check l...
23.883929
109
0.565607
rlisle
bdf71b4724a3c469b097fd77df4739bb67b89d75
482
cpp
C++
Arrays/169. Majority Element/Solution-sorting.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
1
2021-11-24T16:20:32.000Z
2021-11-24T16:20:32.000Z
Arrays/169. Majority Element/Solution-sorting.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
null
null
null
Arrays/169. Majority Element/Solution-sorting.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
3
2021-09-03T15:14:12.000Z
2022-03-07T04:04:32.000Z
class Solution { public: int majorityElement(vector<int> &nums) { sort(nums.begin(), nums.end()); int ele = nums[0], count = 0; for (auto i : nums) { if (i == ele) { count++; if (count > (nums.size() / 2)) ...
18.538462
46
0.319502
VarunSAthreya
bdfa451f5aa3b83e21d923b2c5a222cb3a852e1e
2,371
cpp
C++
Source/Engine/src/util/CommandLine.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/util/CommandLine.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/util/CommandLine.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
1
2021-10-30T20:43:01.000Z
2021-10-30T20:43:01.000Z
/* * cmdline.cpp * Command Line */ #include <algorithm> #include <Util/CommandLine.hpp> #ifdef WINDOWS #include <Windows.h> #include <io.h> #include <fcntl.h> #endif namespace Util { CommandLine::CommandLine(int argc, char* argv[]) : flags() { for(int i = 1; i < argc; ++i) { // Parse arguments starting...
20.982301
84
0.645719
DatZach
bdfc91c31dd3374b65f1939a4bae784cab8236ff
916
cpp
C++
_includes/leet755/leet755.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet755/leet755.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet755/leet755.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: vector<int> pourWater(vector<int>& heights, int count, int pos) { int n = (int)heights.size(); for (int k = 0; k < count; k++) { // drop to x int minIndex = pos, minHeight = heights[pos]; int i = pos; while (i - 1 >= 0 && heights[i] >= heights[i -...
26.941176
69
0.394105
mingdaz
bdfce103ac76a7718ceeac654f2a674bb924bd68
12,678
cc
C++
crypto/openssl/bignum.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
null
null
null
crypto/openssl/bignum.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
10
2022-02-27T18:52:11.000Z
2022-03-21T14:11:35.000Z
crypto/openssl/bignum.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2022, Stable Cloud Computing, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions ...
20.614634
113
0.638508
stablecc
da06759d52886e8a3a347a2d69bc62b1c0c27bd3
657
cpp
C++
Raven.CppClient/ConflictSolver.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
3
2019-04-24T02:34:53.000Z
2019-08-01T08:22:26.000Z
Raven.CppClient/ConflictSolver.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
2
2019-03-21T09:00:02.000Z
2021-02-28T23:49:26.000Z
Raven.CppClient/ConflictSolver.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
3
2019-03-04T11:58:54.000Z
2021-03-01T00:25:49.000Z
#include "stdafx.h" #include "ConflictSolver.h" #include "json_utils.h" namespace ravendb::client::serverwide { void to_json(nlohmann::json& j, const ConflictSolver& cs) { using ravendb::client::impl::utils::json_utils::set_val_to_json; set_val_to_json(j, "ResolveByCollection", cs.resolve_by_collection); set_...
29.863636
72
0.767123
maximburyak
da15175ead432a169cc30b1e65f514ecb19d4f07
1,516
cpp
C++
Graphs/FloydWarshall.cpp
mayukhsen1301/algos
60db47ad9e7dc28271c1ce32ca705a771e682cda
[ "MIT" ]
687
2015-02-23T17:31:00.000Z
2022-03-27T02:57:23.000Z
Graphs/FloydWarshall.cpp
mayukhsen1301/algos
60db47ad9e7dc28271c1ce32ca705a771e682cda
[ "MIT" ]
9
2018-08-27T06:41:24.000Z
2020-12-17T13:39:07.000Z
Graphs/FloydWarshall.cpp
mayukhsen1301/algos
60db47ad9e7dc28271c1ce32ca705a771e682cda
[ "MIT" ]
253
2015-03-16T00:42:18.000Z
2022-03-23T06:01:36.000Z
/************************************************************************************** Floyd-Warshall algorithm finding shortest distance between all pairs of vertices in graph. Works in O(N^3) Based on problem 95 from informatics.mccme.ru http://informatics.mccme.ru/mod/statements/view.php?id=...
24.063492
88
0.435356
mayukhsen1301
da1964b39b65de793fa7b7f9e46652c840abb7e0
3,560
cpp
C++
riscv-sim/src/RISCVSTypeInstruction.cpp
tomli380576/riscv-console
a0129af4e41ecdde752f40c7b239c9bd98c1e049
[ "BSD-3-Clause" ]
9
2021-01-12T13:18:26.000Z
2022-03-10T20:20:45.000Z
riscv-sim/src/RISCVSTypeInstruction.cpp
helloparthshah/riscv-console
5b20edc4f54c8edf2f2f4e6769e2f02676eaf994
[ "BSD-3-Clause" ]
16
2021-01-17T04:17:21.000Z
2021-11-12T17:46:54.000Z
riscv-sim/src/RISCVSTypeInstruction.cpp
helloparthshah/riscv-console
5b20edc4f54c8edf2f2f4e6769e2f02676eaf994
[ "BSD-3-Clause" ]
21
2021-01-13T00:50:13.000Z
2022-03-14T21:30:53.000Z
#include "RISCVSTypeInstruction.h" class CRISCVSBInstruction : public CRISCVSTypeInstruction{ public: CRISCVSBInstruction(uint32_t addr, uint32_t raw, std::shared_ptr< CHardwareRegister< uint32_t > > pc, std::vector< std::shared_ptr< CHardwareRegister< uint32_t > > > &regs, std::shared_ptr< CMemoryDevice >...
44.5
270
0.665449
tomli380576
da19a3b2024a92ac77b016b91b425d389397fbdb
2,689
cpp
C++
test/tstKokkosToolsDistributedAnnotations.cpp
dalg24/ArborX
d298c924ce93902a285168de5dc5003e4d761627
[ "BSD-3-Clause" ]
null
null
null
test/tstKokkosToolsDistributedAnnotations.cpp
dalg24/ArborX
d298c924ce93902a285168de5dc5003e4d761627
[ "BSD-3-Clause" ]
null
null
null
test/tstKokkosToolsDistributedAnnotations.cpp
dalg24/ArborX
d298c924ce93902a285168de5dc5003e4d761627
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * Copyright (c) 2012-2020 by the ArborX authors * * All rights reserved. * * * * This ...
33.6125
80
0.518408
dalg24
da1abc7efe31b4d8f3ca42ca3161429bbd16e6de
5,890
cpp
C++
swig/share/c++/examples/testsort.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
4
2021-01-23T14:36:34.000Z
2021-06-07T10:02:28.000Z
swig/share/c++/examples/testsort.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
1
2019-08-04T19:15:56.000Z
2019-08-04T19:15:56.000Z
swig/share/c++/examples/testsort.cpp
rdmenezes/exodusdb
f732e366b74ff4697890ec0682bc3697b8cb0bfb
[ "MIT" ]
1
2022-01-29T22:41:01.000Z
2022-01-29T22:41:01.000Z
#include <exodus/program.h> //for the sake of multivalue gurus new to exodus programming this is written //with multivalue-mimicking "everything is a global function" syntax //instead of exodus's OO-style syntax "xxx.yyy().zzz()" var filename="myclients"; programinit() function main() { if (not connect()) ...
33.657143
124
0.509847
rdmenezes
da25843555203655458f0226be20436cd630a792
32,935
hpp
C++
include/Crafterra/Terrain/FieldMap.hpp
AsPJT/CrafterraProterozoic
d0531d2052b1bb5c10b6763f74034e6e3c678d1f
[ "CC0-1.0" ]
null
null
null
include/Crafterra/Terrain/FieldMap.hpp
AsPJT/CrafterraProterozoic
d0531d2052b1bb5c10b6763f74034e6e3c678d1f
[ "CC0-1.0" ]
null
null
null
include/Crafterra/Terrain/FieldMap.hpp
AsPJT/CrafterraProterozoic
d0531d2052b1bb5c10b6763f74034e6e3c678d1f
[ "CC0-1.0" ]
null
null
null
/*########################################################################################## Crafterra Library 🌏 [Planning and Production] 2017-2022 Kasugaccho 2018-2022 As Project [Contact Us] wanotaitei@gmail.com https://github.com/AsPJT/Crafterra [License] Distributed under the CC0 1.0. https://creat...
53.120968
343
0.717565
AsPJT
da2785de81a97e7d470bbcaa04b0d76c76b27def
216
cpp
C++
src/engine/network/NetAdr.cpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
1
2018-06-22T15:46:42.000Z
2018-06-22T15:46:42.000Z
src/engine/network/NetAdr.cpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
3
2018-05-13T14:15:53.000Z
2018-05-29T08:06:26.000Z
src/engine/network/NetAdr.cpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
null
null
null
#include "NetAdr.hpp" CNetAdr::CNetAdr() = default; CNetAdr::~CNetAdr() = default; bool CNetAdr::IsLocal() const { return false; // TODO }; INetAdr::Type CNetAdr::GetType() const { return INetAdr::Type::Temp; };
15.428571
38
0.680556
BlackPhrase
da2d7f858984a4d3bb09ca8e485fe1599bea7ded
3,568
cc
C++
tensorflow/contrib/lite/kernels/comparisons_test.cc
tucaiyong/tensorflow
3cc3c87f375f1bc292bd58db4928b810ac888bc6
[ "Apache-2.0" ]
14
2018-12-06T06:51:33.000Z
2021-03-23T11:29:24.000Z
tensorflow/contrib/lite/kernels/comparisons_test.cc
tucaiyong/tensorflow
3cc3c87f375f1bc292bd58db4928b810ac888bc6
[ "Apache-2.0" ]
10
2018-02-04T18:41:52.000Z
2018-05-02T09:00:46.000Z
tensorflow/contrib/lite/kernels/comparisons_test.cc
tucaiyong/tensorflow
3cc3c87f375f1bc292bd58db4928b810ac888bc6
[ "Apache-2.0" ]
4
2018-01-17T14:22:49.000Z
2018-02-27T15:06:41.000Z
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
36.040404
80
0.679933
tucaiyong
da3d9dc9ff9da2beb3fdccc4071f0cb40b44972f
1,846
cc
C++
lib/tensor/opdefs/tensor_shape.cc
cezheng/runtime
0866034bbc9bbe3ac513abf249edcaae13319909
[ "Apache-2.0" ]
2
2021-08-09T21:26:39.000Z
2021-11-17T10:57:43.000Z
lib/tensor/opdefs/tensor_shape.cc
cezheng/runtime
0866034bbc9bbe3ac513abf249edcaae13319909
[ "Apache-2.0" ]
null
null
null
lib/tensor/opdefs/tensor_shape.cc
cezheng/runtime
0866034bbc9bbe3ac513abf249edcaae13319909
[ "Apache-2.0" ]
1
2020-08-03T20:23:58.000Z
2020-08-03T20:23:58.000Z
// Copyright 2020 The TensorFlow Runtime Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
34.185185
80
0.557421
cezheng
da4620def666b28d1fe5f0079b55004008292c2e
2,704
cpp
C++
chapter_5_meta_programming/ex_1_type_traits.cpp
joshlk/discovering_modern_cpp_peter_gottschling_exercises
ebd6a0f48d36ee85b7fac30a123038728ad9ffc2
[ "MIT" ]
null
null
null
chapter_5_meta_programming/ex_1_type_traits.cpp
joshlk/discovering_modern_cpp_peter_gottschling_exercises
ebd6a0f48d36ee85b7fac30a123038728ad9ffc2
[ "MIT" ]
null
null
null
chapter_5_meta_programming/ex_1_type_traits.cpp
joshlk/discovering_modern_cpp_peter_gottschling_exercises
ebd6a0f48d36ee85b7fac30a123038728ad9ffc2
[ "MIT" ]
null
null
null
// // Created by Josh Levy-Kramer on 02/04/2020. // #include <iostream> #include <typeinfo> // ---- remove_reference // Overload for a normal type, type reference and rvalue type reference template <typename T> struct remove_reference { using type = T; }; template <typename T> struct remove_reference<T&> { u...
29.075269
91
0.610577
joshlk
da47bb180c38a09c8d2c906289d0f5daabb813e5
1,931
hpp
C++
include/ast/ExpressionTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
1
2021-03-25T04:05:35.000Z
2021-03-25T04:05:35.000Z
include/ast/ExpressionTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
null
null
null
include/ast/ExpressionTypeNode.hpp
aviralg/tastr
184e6324de86831c1e4162112d446f537ad8f50c
[ "Apache-2.0" ]
null
null
null
#ifndef TASTR_AST_EXPRESSION_TYPE_NODE_HPP #define TASTR_AST_EXPRESSION_TYPE_NODE_HPP #include "ast/KeywordNode.hpp" #include "ast/TypeNode.hpp" namespace tastr { namespace ast { class ExpressionTypeNode final: public TypeNode { public: explicit ExpressionTypeNode(KeywordNodeUPtr keyword) : TypeNode(),...
26.094595
80
0.681512
aviralg
da4fc46853af53398f362ade68d409801ac40d54
1,965
cpp
C++
mod/wrd/ast/exprs/getExpr.cpp
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
1
2019-02-02T07:07:32.000Z
2019-02-02T07:07:32.000Z
mod/wrd/ast/exprs/getExpr.cpp
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
25
2016-09-23T16:36:19.000Z
2019-02-12T14:14:32.000Z
mod/wrd/ast/exprs/getExpr.cpp
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
null
null
null
#include "getExpr.hpp" #include "../../loader/interpreter/tverification.hpp" #include "../../loader/interpreter/verification.inl" #include "../../loader/interpreter/verifier.hpp" #include "../../frame/thread.hpp" #include "../node.inl" namespace wrd { WRD_DEF_ME(getExpr) const node& me::getFrom() const { ...
30.230769
101
0.582697
kniz
da5877105526619ca73d5088738be3b076b79c7b
73
hh
C++
dependencies/include/pimpl_ptr.hh
Wedrew/rpclib
eff0f0c7270ca8c17d46edf5ebc4ee97e4b2444f
[ "MIT" ]
1,316
2016-07-03T10:01:37.000Z
2022-03-31T18:40:35.000Z
dependencies/include/pimpl_ptr.hh
Wedrew/rpclib
eff0f0c7270ca8c17d46edf5ebc4ee97e4b2444f
[ "MIT" ]
239
2016-06-29T07:16:26.000Z
2022-03-23T09:21:15.000Z
dependencies/include/pimpl_ptr.hh
Wedrew/rpclib
eff0f0c7270ca8c17d46edf5ebc4ee97e4b2444f
[ "MIT" ]
315
2016-08-24T13:08:20.000Z
2022-03-29T10:59:08.000Z
#ifndef PIMPL_PTR_HH_ #define PIMPL_PTR_HH_ #endif /* PIMPL_PTR_HH_ */
12.166667
26
0.767123
Wedrew
da601ca52d43594f01ab3b5b7d423f4843df7771
425
cpp
C++
dynamic/4811.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/4811.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
dynamic/4811.cpp
SiverPineValley/algo
29c75c6b226fdb15a3b6695e763ee49d4871094e
[ "Apache-2.0" ]
null
null
null
// 알약 #include <iostream> #include <vector> using namespace std; int main(void) { int t, i, j; cin >> t; vector<vector<long long>> a(31,vector<long long> (31)); for(i = 1; i <= 30; i++) a[0][i] = 1; for(i = 1; i <= 30; i++) { for(j = 0; j <= 30 - i; j++) { if(j == 0) a[i][j] = a[i-1][1]; else a[i][j]...
15.178571
56
0.449412
SiverPineValley
da651f99e46e19ddd884a3bb312b7c74a2eb2cd4
427
hpp
C++
NWNXLib/API/Mac/API/IncrMerger.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/IncrMerger.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/IncrMerger.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include "SorterFile.hpp" #include "unknown_sqlite_int64.hpp" namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct MergeEngine; struct SortSubtask; struct IncrMerger { SortSubtask* pTask; MergeEngine* pMerger; sqlite_int6...
14.233333
58
0.721311
Qowyn
da6a4b71e2d7c27b5f5705ae22199d15008bb1d6
4,108
hpp
C++
Misc/APE Scripts/ShepardTone.hpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Misc/APE Scripts/ShepardTone.hpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Misc/APE Scripts/ShepardTone.hpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#include "../../../../RS-MET/Misc/APE Scripts/rapt_for_ape.cpp" // relative path from "Audio Programming Environment/includes" #include <effect.h> // or maybe we should use generator.h? //================================================================================================= // The core DSP object templat...
27.756757
99
0.542113
RobinSchmidt
da6a5d89591ce71da2a1488e769d888696c4add6
9,277
cpp
C++
src/core/btrc/core/volume/bvh.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
17
2022-02-03T09:35:14.000Z
2022-03-28T04:27:05.000Z
src/core/btrc/core/volume/bvh.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
1
2022-02-09T15:11:55.000Z
2022-02-09T15:11:55.000Z
src/core/btrc/core/volume/bvh.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
null
null
null
#include <bvh/bvh.hpp> #include <bvh/leaf_collapser.hpp> #include <bvh/locally_ordered_clustering_builder.hpp> #include <bvh/parallel_reinsertion_optimizer.hpp> #include <btrc/core/volume/bvh.h> #include <btrc/utils/enumerate.h> BTRC_BEGIN namespace { constexpr int TRAVERSAL_STACK_SIZE = 16; bvh::Vector3<f...
28.283537
128
0.514067
AirGuanZ
da718d0199de3de971410d10c487de0b34a802ee
6,879
cxx
C++
ZDC/ZDCrec/AliZDCRecoParamPbPb.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
ZDC/ZDCrec/AliZDCRecoParamPbPb.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
ZDC/ZDCrec/AliZDCRecoParamPbPb.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
39.763006
154
0.661579
AllaMaevskaya
da7555f9e196ed7ce8379f7f07916457df86e790
992
cpp
C++
libs/ncurses_lib/libncurses.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
libs/ncurses_lib/libncurses.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
libs/ncurses_lib/libncurses.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* libncurses.cpp :+: :+: :+: ...
49.6
80
0.157258
elivet
da816a5740ebbd66adff15d7f6c185d906b311e1
41,955
cpp
C++
tests/tests.cpp
leopoldcambier/spaND_public
fc344dc1ff4b36832aad3f86adb4a23111c67366
[ "MIT" ]
6
2019-05-06T21:17:07.000Z
2022-02-11T14:56:30.000Z
tests/tests.cpp
leopoldcambier/spaND_public
fc344dc1ff4b36832aad3f86adb4a23111c67366
[ "MIT" ]
null
null
null
tests/tests.cpp
leopoldcambier/spaND_public
fc344dc1ff4b36832aad3f86adb4a23111c67366
[ "MIT" ]
1
2019-06-23T12:04:28.000Z
2019-06-23T12:04:28.000Z
#include <gtest/gtest.h> #include <iostream> #include <assert.h> #include <algorithm> #include <random> #include "spaND.h" #include "mmio.hpp" #include "cxxopts.hpp" #include <Eigen/SparseCholesky> using namespace std; using namespace Eigen; using namespace spaND; bool VERB = false; int N_THREADS = 4; int RUN_MANY ...
38.526171
150
0.420307
leopoldcambier
da81b258e5dc04a7f321af81e570619d695af003
2,531
cpp
C++
COMToys/src/MfcModule.cpp
skst/Timekeeper
4aba38fe891cd8681f2ef290d47a147e2fef5f29
[ "MIT" ]
4
2021-05-28T03:27:21.000Z
2022-02-17T02:09:16.000Z
COMToys/src/MfcModule.cpp
skst/Timekeeper
4aba38fe891cd8681f2ef290d47a147e2fef5f29
[ "MIT" ]
2
2021-05-03T20:00:53.000Z
2021-10-31T16:05:39.000Z
COMToys/src/MfcModule.cpp
skst/Timekeeper
4aba38fe891cd8681f2ef290d47a147e2fef5f29
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////// // ComToys(TM) Copyright 1999 Paul DiLascia // If this code works, it was written by Paul DiLascia. // If not, I don't know who wrote it. // #include "StdAfx.h" #include "COMtoys/ComToys.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE ...
26.642105
88
0.657053
skst
da8713d45b134a834101c7b33493fbe16708ffaf
2,927
cpp
C++
DialogTools/GetisOrdChoiceDlg.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
DialogTools/GetisOrdChoiceDlg.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
DialogTools/GetisOrdChoiceDlg.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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 License, o...
31.138298
80
0.74479
chenyoujie
da893fc9e70304f1ab28d7209ee1b5c92a4589df
2,252
cpp
C++
tutorial/message/message_server.cpp
TencentOpen/Pebble
0f32f94db47b3bc1955ac2843bfa10372eeba1fb
[ "BSD-2-Clause" ]
233
2016-05-12T02:28:44.000Z
2020-08-24T18:11:49.000Z
tutorial/message/message_server.cpp
TencentOpen/Pebble
0f32f94db47b3bc1955ac2843bfa10372eeba1fb
[ "BSD-2-Clause" ]
1
2016-06-07T04:18:16.000Z
2016-06-07T06:09:08.000Z
tutorial/message/message_server.cpp
TencentOpen/Pebble
0f32f94db47b3bc1955ac2843bfa10372eeba1fb
[ "BSD-2-Clause" ]
116
2016-05-24T10:55:49.000Z
2019-11-24T06:57:08.000Z
/* * Tencent is pleased to support the open source community by making Pebble available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
30.849315
100
0.667407
TencentOpen
da89c8934244a95ce9a950cdd8a37b003bbea530
333
cpp
C++
ProjectEuler/fibonacci.cpp
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
3
2020-10-19T10:03:20.000Z
2021-12-18T20:39:31.000Z
ProjectEuler/fibonacci.cpp
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
null
null
null
ProjectEuler/fibonacci.cpp
MFathirIrhas/ProgrammingChallenges
8c67bd71212a1941e5bcc0463095285859afa04d
[ "MIT" ]
null
null
null
/* Sum all even numbers of fibonacci until 4000000 */ #include <iostream> using namespace std; int main(){ int a = 0; int b = 1; int c; int sum = 0; do{ c = a + b; a = b; b = c; if(b % 2 == 0) //check if number is even sum += b; }while(b <= 4000000); cout << sum; //return sum of all even number...
12.807692
48
0.564565
MFathirIrhas
da9851cebef7ce2a96a6a97705266be324bf4867
9,422
hpp
C++
cartesian_trajectory_controller/include/cartesian_trajectory_controller/cartesian_trajectory_controller.hpp
christianlandgraf/Universal_Robots_ROS_controllers_cartesian
987e4539af011292b5b34c7f891fe9f274e00ddd
[ "Apache-2.0" ]
12
2021-06-09T15:05:28.000Z
2022-02-16T11:14:16.000Z
cartesian_trajectory_controller/include/cartesian_trajectory_controller/cartesian_trajectory_controller.hpp
christianlandgraf/Universal_Robots_ROS_controllers_cartesian
987e4539af011292b5b34c7f891fe9f274e00ddd
[ "Apache-2.0" ]
7
2021-08-03T10:06:13.000Z
2022-03-25T22:58:28.000Z
cartesian_trajectory_controller/include/cartesian_trajectory_controller/cartesian_trajectory_controller.hpp
christianlandgraf/Universal_Robots_ROS_controllers_cartesian
987e4539af011292b5b34c7f891fe9f274e00ddd
[ "Apache-2.0" ]
5
2021-06-21T06:21:52.000Z
2022-03-02T14:52:40.000Z
// -- BEGIN LICENSE BLOCK ---------------------------------------------- // Copyright 2020 FZI Forschungszentrum Informatik // Created on behalf of Universal Robots A/S // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
34.639706
120
0.674061
christianlandgraf
da98c63af88cc4832c59e649e342539bbdde2ab3
3,285
cpp
C++
src/main.cpp
gustavosinbandera1/mongoose_os_esp32_http_server
97a491e606b0508dbee37bf0ecdb91ae46e903be
[ "Apache-2.0" ]
null
null
null
src/main.cpp
gustavosinbandera1/mongoose_os_esp32_http_server
97a491e606b0508dbee37bf0ecdb91ae46e903be
[ "Apache-2.0" ]
null
null
null
src/main.cpp
gustavosinbandera1/mongoose_os_esp32_http_server
97a491e606b0508dbee37bf0ecdb91ae46e903be
[ "Apache-2.0" ]
null
null
null
#include "mgos.h" #include "mgos_mqtt.h" #include "mgos_wifi.h" static void timer_cb(void *arg) { static bool s_tick_tock = false; LOG(LL_INFO, ("%s uptime: %.2lf, RAM: %lu, %lu free", (s_tick_tock ? "Tick" : "Tock"), mgos_uptime(), (unsigned long) mgos_get_heap_size(), (unsigned long) mgos_get...
33.865979
80
0.625571
gustavosinbandera1
daa652bebe679c616aa8e046a2b8f83d4b59e5f8
400
hpp
C++
src/Application.hpp
Thomas-Zorroche/Oryon
54237355055b262110346b33023d3cab63124fc0
[ "MIT" ]
null
null
null
src/Application.hpp
Thomas-Zorroche/Oryon
54237355055b262110346b33023d3cab63124fc0
[ "MIT" ]
null
null
null
src/Application.hpp
Thomas-Zorroche/Oryon
54237355055b262110346b33023d3cab63124fc0
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "Window.hpp" #include "Editor/Editor.hpp" #include "Events/Event.hpp" namespace oryon { class Application { public: Application(int argc, char** argv); Window& getWindow() { return * _window; } void run(); void onEvent(Event& e); private: std::unique_ptr<...
12.5
44
0.6725
Thomas-Zorroche
daa7b48131608c28dadc74dc66c423d09fde1596
614
cpp
C++
Source.cpp
usamashafiq/print_right_triangle
78f7ae74ed2672235648793ba4ffc9f3d679a5ea
[ "MIT" ]
null
null
null
Source.cpp
usamashafiq/print_right_triangle
78f7ae74ed2672235648793ba4ffc9f3d679a5ea
[ "MIT" ]
null
null
null
Source.cpp
usamashafiq/print_right_triangle
78f7ae74ed2672235648793ba4ffc9f3d679a5ea
[ "MIT" ]
null
null
null
#include<iostream> #include<conio.h> using namespace std; void print_right_triangle(int, char = '*'); void main() { int a; char c,q; cout << "Enter a size " << endl; cin >> a; cout << "you want to enter char ans in (Y/N) " << endl; cin >> c; if (c == 'y'||c=='Y') { cout << "Enter a char '@,#,$...
14.97561
59
0.486971
usamashafiq
daaa486a8d57cd530b323a1ffb7865177cae4357
3,168
cpp
C++
UnitTest/LibTest/sdl_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/LibTest/sdl_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/LibTest/sdl_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdint.h> #include <assert.h> #include <iostream> #include <iomanip> #define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include <glad/glad.h> #include <SDL2/SDL_opengl.h> //#include <GL/gl.h> typedef int32_t i32; typedef uint32_t u32; typedef int32_t b32; #define WinWidth 1280 #define WinH...
34.064516
148
0.591856
rocketman123456
daab8cab39a6a8016de0c4dc9b727ff4756cbae1
6,616
cxx
C++
Libraries/ITK/Testing/Segmentation/MIDASIrregularVolumeEditor/itkMIDASRegionOfInterestCalculatorTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
Libraries/ITK/Testing/Segmentation/MIDASIrregularVolumeEditor/itkMIDASRegionOfInterestCalculatorTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
Libraries/ITK/Testing/Segmentation/MIDASIrregularVolumeEditor/itkMIDASRegionOfInterestCalculatorTest.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...
32.273171
124
0.60792
NifTK
daacc621b1123920e28327f57cac176717cd58d1
48
cpp
C++
Engine.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
Engine.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
Engine.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
#define OLC_PGE_APPLICATION #include "Engine.h"
16
27
0.8125
KarmaiSAYIn
dab0bfa6f03f9278a999b2e413f4be4e110e997b
384
hpp
C++
graphics/Axis.hpp
theoden8/plot
ff69782d43b45bf5f4f95ee3f79a08fd9ce0bed3
[ "WTFPL" ]
null
null
null
graphics/Axis.hpp
theoden8/plot
ff69782d43b45bf5f4f95ee3f79a08fd9ce0bed3
[ "WTFPL" ]
null
null
null
graphics/Axis.hpp
theoden8/plot
ff69782d43b45bf5f4f95ee3f79a08fd9ce0bed3
[ "WTFPL" ]
null
null
null
#pragma once #include "Types.hpp" struct axis { real_t winsize, gridsize, shift, thickness; real_t lborder, rborder; private: void reborder(); public: axis(real_t winsize, real_t thickness, real_t shift = 0.); real_t bold() const; void set_grid(real_t diff); void set_shift(real_t diff); void set_s...
16
59
0.713542
theoden8
dab8bade4524f62efde33035a7c18b38a05d091a
1,300
cc
C++
libmat/test/src/test_reItr_all.cc
stiegerc/winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
2
2020-10-06T09:14:23.000Z
2020-11-25T06:08:54.000Z
libmat/test/src/test_reItr_all.cc
stiegerc/Winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
1
2020-12-23T04:20:33.000Z
2020-12-23T04:20:33.000Z
libmat/test/src/test_reItr_all.cc
stiegerc/Winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
1
2020-07-14T13:53:32.000Z
2020-07-14T13:53:32.000Z
// 2014-2019, ETH Zurich, Integrated Systems Laboratory // Authors: Christian Stieger #include "testTools.h" #include "test_cpxItr_all.h" #include "test_cpxItr_all.cc" using namespace lm__; // tests template<> void test_cpxItr_all<0>::test_all_dereference() { // c_reItr { // lambda to generate const random ran...
19.402985
57
0.636154
stiegerc
dabd5194efb503198df7e08bf34029a2b7e72213
8,699
cpp
C++
addglopeningbalance.cpp
bizjust/bizjust-erp
d3291e212bf89ab6e753194127b3951afcd02548
[ "MIT" ]
1
2022-02-16T13:02:43.000Z
2022-02-16T13:02:43.000Z
addglopeningbalance.cpp
bizjust/bizjust-erp
d3291e212bf89ab6e753194127b3951afcd02548
[ "MIT" ]
null
null
null
addglopeningbalance.cpp
bizjust/bizjust-erp
d3291e212bf89ab6e753194127b3951afcd02548
[ "MIT" ]
null
null
null
#include "addglopeningbalance.h" #include "ui_addglopeningbalance.h" AddGLOpeningBalance::AddGLOpeningBalance(QWidget *parent) : QWidget(parent), ui(new Ui::AddGLOpeningBalance) { ui->setupUi(this); loadform(); } AddGLOpeningBalance::~AddGLOpeningBalance() { delete ui; } void AddGLOpeningBalance...
33.457692
232
0.604667
bizjust
dac0f574f5bd7dc4f5546df185453a394d9ba17e
27,800
cpp
C++
externals/source/testdog/pack/src/html_reporter.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
externals/source/testdog/pack/src/html_reporter.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
externals/source/testdog/pack/src/html_reporter.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // PROJECT : TEST-DOG // FILENAME : html_reporter.hpp // DESCRIPTION : Concrete HTML reporting class. // COPYRIGHT : Andy Thomas (C) //--------------------------------------------------------------------------- //--------...
31.698974
81
0.523921
skarab
dac60771e185d510189f139a26d01a41a909b797
14,725
inl
C++
image/include/storm/image/Image.inl
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
17
2019-02-12T14:40:06.000Z
2021-12-21T12:54:17.000Z
image/include/storm/image/Image.inl
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
null
null
null
image/include/storm/image/Image.inl
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
2
2019-02-21T10:07:42.000Z
2020-05-08T19:49:10.000Z
// Copyright (C) 2021 Arthur LAURENT <arthur.laurent4@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level of this distribution #pragma once #include "Image.hpp" namespace storm::image { ///////////////////////////////////// ///////////////////////////////////...
37.659847
100
0.469134
Arthapz
dad4144fd8a60c44e5f8ac9649ebbfc262a21ff1
5,970
cpp
C++
IRLib/Decoder.cpp
rizwanullah/IRLib
d06bea379e62f0db7276d3be3488b5af8ce8c369
[ "Apache-2.0" ]
null
null
null
IRLib/Decoder.cpp
rizwanullah/IRLib
d06bea379e62f0db7276d3be3488b5af8ce8c369
[ "Apache-2.0" ]
null
null
null
IRLib/Decoder.cpp
rizwanullah/IRLib
d06bea379e62f0db7276d3be3488b5af8ce8c369
[ "Apache-2.0" ]
null
null
null
#include "Decoder.h" #include "json.hpp" #include "Common.h" using json = nlohmann::json; Decoder::Decoder() {} std::string Decoder::decode(std::string encodedIrJsonStr) { json encodedIrJson; REMOTE_COMMON remoteCommon; std::string encodedIrData; //memset(&remoteCommon, 0, sizeof(remoteCommon)); ...
44.552239
145
0.672362
rizwanullah
dae53245f62fea7a54ed6926505324621f29f39b
1,056
cpp
C++
roman-to-integer.cpp
isanchez-aguilar/LeetCode-Solutions
094c15b672efa6ca2581f187579303c8b94390a3
[ "MIT" ]
null
null
null
roman-to-integer.cpp
isanchez-aguilar/LeetCode-Solutions
094c15b672efa6ca2581f187579303c8b94390a3
[ "MIT" ]
null
null
null
roman-to-integer.cpp
isanchez-aguilar/LeetCode-Solutions
094c15b672efa6ca2581f187579303c8b94390a3
[ "MIT" ]
null
null
null
class Solution { public: static int getValueOfChar(char c) { if (c == 'I') return 1; if (c == 'V') return 5; if (c == 'X') return 10; if (c == 'L') return 50; if (c == 'C') return 100; if (c == 'D') return 500; return 1000; ...
17.311475
51
0.482008
isanchez-aguilar
daea7fa9d026ab64bc6657d418427ad9b130ff80
1,291
cpp
C++
src/modelFactory/FindSCMain.cpp
toebs88/SCAM
0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca
[ "MIT" ]
3
2018-08-31T21:35:27.000Z
2018-10-29T04:06:46.000Z
src/modelFactory/FindSCMain.cpp
toebs88/SCAM
0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca
[ "MIT" ]
1
2018-04-20T12:38:22.000Z
2018-04-20T12:38:55.000Z
src/modelFactory/FindSCMain.cpp
toebs88/SCAM
0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca
[ "MIT" ]
null
null
null
#include <iostream> #include "FindSCMain.h" namespace SCAM { FindSCMain::FindSCMain(clang::TranslationUnitDecl *tuDecl): pass(0), scMainFound(false), _scmainFunctionDecl(NULL){ assert (!(tuDecl == NULL)); //Find sc_main TraverseDecl(tuDecl); //Is...
28.688889
115
0.570875
toebs88
daf3166dce0501452596e89e418449bde63c9607
5,965
cpp
C++
StartDialog.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
StartDialog.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
StartDialog.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
#include "StartDialog.h" #include "ui_StartDialog.h" #include <QStringList> #include <QFileDialog> #include <QDir> #include <QDebug> #include <QPushButton> #include <QLabel> #include <QObject> #include <QAction> #include <QMouseEvent> #include "Utils/Helper.h" using Helper::chopFileName; using Helper::openFileDialog...
25.063025
125
0.677284
KaikiasVind
daff34c6e49f7ce10c7b45518a1edd7a3d66be09
5,256
cpp
C++
traj_visualization_plugin/src/trajectory_display.cpp
YanzhouWang/rsp_final_project
c58c3efbf507cdd54abf860f7519006bc077c9f0
[ "MIT" ]
null
null
null
traj_visualization_plugin/src/trajectory_display.cpp
YanzhouWang/rsp_final_project
c58c3efbf507cdd54abf860f7519006bc077c9f0
[ "MIT" ]
null
null
null
traj_visualization_plugin/src/trajectory_display.cpp
YanzhouWang/rsp_final_project
c58c3efbf507cdd54abf860f7519006bc077c9f0
[ "MIT" ]
null
null
null
#include <traj_visualization_plugin/trajectory_display.hpp> namespace trajectory_display_ns{ trajectory_display::trajectory_display(){ description_property_=new rviz::StringProperty("Robot Description","robot_description", "The name of the ROS parameter where the URDF for the robot is loaded", ...
38.364964
115
0.709285
YanzhouWang
9704beb9c7e8f67345dac4235bdce1d99220ae3a
173
hpp
C++
include/Game/Entities/Treats/MultiballTreat.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Game/Entities/Treats/MultiballTreat.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Game/Entities/Treats/MultiballTreat.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
#pragma once #include "Treat.hpp" class MultiballTreat : public Treat { public: MultiballTreat(sf::Vector2f pos, float launchAngle); void AddAward(PlayState* state); };
15.727273
53
0.751445
FoxelCode
9704e258106af9ac50f95c6e1251955b8cb30194
544
hpp
C++
include/executor_exam/throw_message_node.hpp
hsgwa/executer_exam
083d246a1bfaa4b87f0df0d9d73b9bb9ebaf8e24
[ "Apache-2.0" ]
null
null
null
include/executor_exam/throw_message_node.hpp
hsgwa/executer_exam
083d246a1bfaa4b87f0df0d9d73b9bb9ebaf8e24
[ "Apache-2.0" ]
null
null
null
include/executor_exam/throw_message_node.hpp
hsgwa/executer_exam
083d246a1bfaa4b87f0df0d9d73b9bb9ebaf8e24
[ "Apache-2.0" ]
1
2021-11-11T12:35:09.000Z
2021-11-11T12:35:09.000Z
#ifndef __THROW_MESSAGE_NODE_HPP__ #define __THROW_MESSAGE_NODE_HPP__ #include <rclcpp/rclcpp.hpp> #include <std_msgs/msg/string.hpp> namespace executor_test { class ThrowMessageNode : public rclcpp::Node { public: explicit ThrowMessageNode(const rclcpp::NodeOptions &options); pri...
22.666667
74
0.674632
hsgwa
8ccbe8b685149a575057a1fe2341f07029c38dec
4,255
cpp
C++
src/shared/ai/RandomIA.cpp
StevenEnsea/plt
f36edc064c375b58b4add9de1caa56ee3fc41fce
[ "Apache-2.0" ]
null
null
null
src/shared/ai/RandomIA.cpp
StevenEnsea/plt
f36edc064c375b58b4add9de1caa56ee3fc41fce
[ "Apache-2.0" ]
null
null
null
src/shared/ai/RandomIA.cpp
StevenEnsea/plt
f36edc064c375b58b4add9de1caa56ee3fc41fce
[ "Apache-2.0" ]
null
null
null
#include "ai.h" #include "engine.h" #include "state.h" #include <iostream> #include <stdlib.h> #include <unistd.h> using namespace ai; using namespace engine; using namespace state; using namespace std; int RandomIA::run (engine::Engine& engine){ // L'IA effectue ces actions uniquement si c'est son tour //sleep(5)...
26.93038
165
0.602115
StevenEnsea
8ccc20dd11a86c904eb27573405378b304d03922
1,915
cpp
C++
Examples/CPP/WorkingWithProjects/ImportingAndExporting/ReadProjectUIDsFromXMLFile.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/WorkingWithProjects/ImportingAndExporting/ReadProjectUIDsFromXMLFile.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/WorkingWithProjects/ImportingAndExporting/ReadProjectUIDsFromXMLFile.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
/* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n...
36.826923
164
0.784856
aspose-tasks
8ccd7e504d55323da82c84b9662b782c3e668742
2,526
hpp
C++
include/oglplus/object/bound.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
459
2016-03-16T04:11:37.000Z
2022-03-31T08:05:21.000Z
include/oglplus/object/bound.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
2
2016-08-08T18:26:27.000Z
2017-05-08T23:42:22.000Z
include/oglplus/object/bound.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
47
2016-05-31T15:55:52.000Z
2022-03-28T14:49:40.000Z
/** * @file oglplus/object/bound.hpp * @brief Operations on currently bound objects * * @author Matus Chochlik * * Copyright 2010-2015 Matus Chochlik. 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) */ ...
22.756757
68
0.732779
Extrunder
8ccdc0abe43785e2014d73e8172ed2189027dbe4
4,964
cpp
C++
brickstone/src/math/vec3.cpp
GenTexX/brickstone
b7dcd9860fee04aa38d7cc4dcb5fbbd52c528d9b
[ "MIT" ]
1
2019-10-10T12:30:14.000Z
2019-10-10T12:30:14.000Z
brickstone/src/math/vec3.cpp
GenTexX/brickstone
b7dcd9860fee04aa38d7cc4dcb5fbbd52c528d9b
[ "MIT" ]
null
null
null
brickstone/src/math/vec3.cpp
GenTexX/brickstone
b7dcd9860fee04aa38d7cc4dcb5fbbd52c528d9b
[ "MIT" ]
1
2019-10-10T12:52:08.000Z
2019-10-10T12:52:08.000Z
#include <bspch.h> #include "Vec3.h" namespace bs { const vec3 vec3::up(0.0f, 1.0f, 0.0f); const vec3 vec3::down(0.0f, -1.0f, 0.0f); const vec3 vec3::right(1.0f, 0.0f, 0.0f); const vec3 vec3::left(-1.0f, 0.0f, 0.0f); const vec3 vec3::back(0.0f, 0.0f, -1.0f); const vec3 vec3::forward(0.0f, 0.0f, 1.0f); const ve...
15.368421
125
0.595085
GenTexX
8ccfbe147c1ddb00c6b36131edb47a96d2caf253
16,631
cp
C++
Std/Mod/Stamps.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2016-03-17T08:27:05.000Z
2016-03-17T08:27:05.000Z
Std/Mod/Stamps.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Std/Mod/Stamps.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2018-03-14T17:53:27.000Z
2018-03-14T17:53:27.000Z
MODULE StdStamps; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" changes = "" issues = "" **) (* StdStamps are used to ke...
37.373034
113
0.52793
romiras
8cd4fd710f3c18a8622b605dc0e595f513b4ca51
354
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
#using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; using namespace System::Xml::Serialization; // <Snippet1> public ref class Car { public: [XmlAttributeAttribute(Namespace="Make")] String^ MakerName; [XmlAttributeAttribute(Namespace="Model")] Stri...
15.391304
45
0.723164
BaruaSourav
8cd69161a48a2981e3173a0b39c7f7fce5fbda19
28
cpp
C++
FootCommander.cpp
amit1021/wargame-a
d46702bf56aff054469eae864fbb59cb87728065
[ "MIT" ]
null
null
null
FootCommander.cpp
amit1021/wargame-a
d46702bf56aff054469eae864fbb59cb87728065
[ "MIT" ]
null
null
null
FootCommander.cpp
amit1021/wargame-a
d46702bf56aff054469eae864fbb59cb87728065
[ "MIT" ]
null
null
null
#include "FootCommander.hpp"
28
28
0.821429
amit1021
8cda95fd83e580f2cd1abf917f21598d4332a6a2
1,589
hpp
C++
src/config.hpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
null
null
null
src/config.hpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
1
2019-05-20T16:47:28.000Z
2019-05-20T16:47:28.000Z
src/config.hpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
null
null
null
#ifndef CONFIG_HPP #define CONFIG_HPP #include <QSettings> #include <QMap> #define CONFIG_SLEEP_STR "watcher_sleep_ms" #define CONFIG_START_MIN_STR "start_minimized" #define CONFIG_ENABLED_STR "enabled" #define CONFIG_AUTOHIDE_STR "autohide" #define CONFIG_TRAY_INFO_SHOWN "tray_icon_warning_shown"...
29.425926
104
0.674638
tpruzina
8cdb79234c0934d62035d0a852b2e11fc2917b3e
3,019
hpp
C++
include/message.hpp
astuff/can_dbc_loader
ce97f5cf7b002e5faca367c50f33fff2dcde2c43
[ "MIT" ]
9
2019-10-23T15:00:06.000Z
2021-04-02T01:45:26.000Z
include/message.hpp
astuff/can_dbc_loader
ce97f5cf7b002e5faca367c50f33fff2dcde2c43
[ "MIT" ]
null
null
null
include/message.hpp
astuff/can_dbc_loader
ce97f5cf7b002e5faca367c50f33fff2dcde2c43
[ "MIT" ]
5
2020-04-30T03:45:13.000Z
2021-11-25T05:28:16.000Z
// Copyright (c) 2019 AutonomouStuff, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, pu...
28.752381
80
0.735012
astuff
8ce13ff806babb1ef5d71e52db54a76d89500c3b
1,373
cpp
C++
matrix/module/DropoutLayer.cpp
xiaohuihuichao/matrix
1500b398fe96ee308990dd14590df2b76aba3dad
[ "ICU" ]
6
2019-02-11T09:50:45.000Z
2021-07-31T03:27:11.000Z
matrix/module/DropoutLayer.cpp
xiaohuihuichao/matrix
1500b398fe96ee308990dd14590df2b76aba3dad
[ "ICU" ]
null
null
null
matrix/module/DropoutLayer.cpp
xiaohuihuichao/matrix
1500b398fe96ee308990dd14590df2b76aba3dad
[ "ICU" ]
1
2021-04-25T12:31:03.000Z
2021-04-25T12:31:03.000Z
#include "DropoutLayer.hpp" namespace mario { DropoutLayer::DropoutLayer(const int &_lastNeuronNum, const double &_p) { m_p = _p; m_in = matrix(1, _lastNeuronNum, 0); m_mul = matrix(1, _lastNeuronNum, 0); m_out = matrix(1, _lastNeuronNum, 0); m_dx = matrix(1, _lastNeuronNum, 0); } const matrix& Dropou...
16.152941
81
0.612527
xiaohuihuichao
8ce85cbe115c3eaf335aec9520d6771c5923f882
2,306
cpp
C++
examples/Scrolling/Scrolling.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
examples/Scrolling/Scrolling.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
examples/Scrolling/Scrolling.cpp
picrap/vaca
377070c2124bb71649313f6a144c6bd40fdee723
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2009 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #include <vaca/vaca.h> #include "../resource.h" using namespace vaca; ///////////////////////////...
24.531915
73
0.606678
picrap
8ce922f71f5ddd81ed293609b080050c360b16e3
708
cpp
C++
1100/90/1196a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
1100/90/1196a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
1100/90/1196a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <algorithm> #include <array> #include <iostream> using integer = long long; template <typename T, size_t N> std::istream& operator >>(std::istream& input, std::array<T, N>& v) { for (T& a : v) input >> a; return input; } void answer(integer v) { std::cout << v << '\n'; } void solve(std...
14.16
67
0.507062
actium
8ce9b13579ba3a267f73417c070ea22855259089
19,164
cpp
C++
plugins/VFS/vfspluginVP/src/vfspluginVP_CVPArchive.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
plugins/VFS/vfspluginVP/src/vfspluginVP_CVPArchive.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
plugins/VFS/vfspluginVP/src/vfspluginVP_CVPArchive.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * vfspluginVP: Generic GUCEF VFS plugin for "Violation Pack" archives * Copyright (C) 2002 - 2008. Dinand Vanvelzen * * 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; ...
34.717391
128
0.412283
amvb
8cecd67c9170c77a95ca5206dfc6beeb4ff50153
46,408
cpp
C++
Galileo/DMP_for_Intel_Edison/MPU6050_6Axis_MotionApps20_4Edison.cpp
danielholanda/Tactile-Glove
837b5868afe1e567299e78b4c9cf7b5c93f126b5
[ "MIT" ]
14
2016-11-08T19:06:52.000Z
2022-03-15T13:20:50.000Z
Galileo/DMP_for_Intel_Edison/MPU6050_6Axis_MotionApps20_4Edison.cpp
danielholanda/Tactile-Glove
837b5868afe1e567299e78b4c9cf7b5c93f126b5
[ "MIT" ]
null
null
null
Galileo/DMP_for_Intel_Edison/MPU6050_6Axis_MotionApps20_4Edison.cpp
danielholanda/Tactile-Glove
837b5868afe1e567299e78b4c9cf7b5c93f126b5
[ "MIT" ]
null
null
null
/* * MPU6050_Axis_MotionApps20.cpp * * Created on: 2016年1月10日 * Author: qq95538 */ // I2Cdev library collection - MPU6050 I2C device class, 6-axis MotionApps 2.0 implementation // Based on InvenSense MPU-6050 register map document rev. 2.0, 5/19/2011 (RM-MPU-6000A-00) // 6/18/2012 by Jeff Rowberg <jeff@rowb...
45.453477
134
0.618471
danielholanda
8cf02ef30bf559dd11e9df2d3d58fb0a749eac70
6,428
hpp
C++
State/code/StateMachine.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
State/code/StateMachine.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
State/code/StateMachine.hpp
HONGYU-LEE/DesignPatterns
b725a4daa07e13f7eaf8b2cfe9f8da6ffb491918
[ "MIT" ]
null
null
null
#pragma once #include"State.hpp" class MarioStateMachine { public: MarioStateMachine() : _score(0) { //提前缓存各种状态 _normalMario = new NormalMario(this); _superMario = new SuperMario(this); _fireMario = new FireMario(this); _deadMario = new DeadMario(this); ...
23.807407
71
0.558027
HONGYU-LEE
8cf1cca6709f496c90b1ffcf3cbaa568ef803876
3,128
cpp
C++
301-400/309-Best_Time_to_Buy_and_Sell_Stock_with_Cooldown-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
301-400/309-Best_Time_to_Buy_and_Sell_Stock_with_Cooldown-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
301-400/309-Best_Time_to_Buy_and_Sell_Stock_with_Cooldown-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Say you have an array for which the ith element is the price of a given stock // on day i. // Design an algorithm to find the maximum profit. You may complete as many // transactions as you like (ie, buy one and sell one share of the stock // multiple times) with the following restrictions: // You may not enga...
31.59596
141
0.538683
ysmiles
8cf76e3a2f55f04ec658adbbce9fe0ea6b6b9d73
1,412
cpp
C++
resources.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
resources.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
1
2018-01-26T00:06:19.000Z
2018-01-26T00:06:54.000Z
resources.cpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
#include "resources.hpp" #include <boost/dll/runtime_symbol_info.hpp> #include <fstream> #include <sstream> namespace MinIDE { //##################################################################################################################### path getResourcesDirectory() { auto program_pa...
33.619048
120
0.386686
5cript
8cf8c764d68f0576d49cf9bbb33bd30b7e6a0e51
1,927
cc
C++
fibonacci_sum/fibonacci_sum.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-LZ01014
c3351a8e1e62d01dad072c21f57654c102efc114
[ "MIT" ]
null
null
null
fibonacci_sum/fibonacci_sum.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-LZ01014
c3351a8e1e62d01dad072c21f57654c102efc114
[ "MIT" ]
null
null
null
fibonacci_sum/fibonacci_sum.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-LZ01014
c3351a8e1e62d01dad072c21f57654c102efc114
[ "MIT" ]
2
2020-12-02T13:04:29.000Z
2020-12-07T00:17:01.000Z
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @author F. de Sande * @date 7.nov.2020 * @brief Cada nuevo término de la serie de Fibonacci se genera sumando los dos anteriores. * Comenzando con 0 y 1, los primeros ...
33.807018
104
0.646082
ULL-ESIT-IB-2020-2021
8cf90e7707c1f12d35fcd1633760e24ff715f571
3,984
cpp
C++
src/GameClient/MapView/ResourcesBar.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T13:44:49.000Z
2021-01-19T10:39:48.000Z
src/GameClient/MapView/ResourcesBar.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
null
null
null
src/GameClient/MapView/ResourcesBar.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T16:03:20.000Z
2020-02-15T09:14:30.000Z
// ResourcesBar.cpp: implementation of the CResourcesBar class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "ResourcesBar.h" #include "..\GameClientGlobal.h" #include "..\DataObjects\CMap.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #d...
23.298246
128
0.626255
vitek-karas
8cf9baba50c162a61a817c1d88bfc08028f7fe46
417
cpp
C++
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise_3.7_SUM.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise_3.7_SUM.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise_3.7_SUM.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
// // Created by rahul on 21/7/19. // #include <iostream> #include <cmath> #define ACCURACY 0.001 int main() { int n; float sum,n1,m; n=1;sum=0; for(int i=1;;i++) { n1 = float(1) / n; m = pow(n1, i); std::cout<<m<<'\n'; sum +=m; std::cout<<"sum"<<sum<<'\n'; ...
16.68
36
0.434053
jattramesh
8cfcd4b41e0a05d8a7421905aaa8d3713f9c4f17
1,151
hpp
C++
Project/RSA_Input.hpp
elie-wanko/RSA-in-Optical-Networks
a23e4525b865826aca8e2d5b6ce55d7b3fc20528
[ "MIT" ]
null
null
null
Project/RSA_Input.hpp
elie-wanko/RSA-in-Optical-Networks
a23e4525b865826aca8e2d5b6ce55d7b3fc20528
[ "MIT" ]
null
null
null
Project/RSA_Input.hpp
elie-wanko/RSA-in-Optical-Networks
a23e4525b865826aca8e2d5b6ce55d7b3fc20528
[ "MIT" ]
null
null
null
#ifndef RSA_INPUT_HPP #define RSA_INPUT_HPP #include <vector> #include <string> //Forward declaration class Demand; class Vertex; class Edge; class RSA_Input { private: std::string file_Outputplacement_; std::vector<Demand *> requests_; std::vector<Vertex *> nodes_; std::vector<...
22.134615
78
0.612511
elie-wanko
ea09432aabad0fc4950466ce982930d98fb37c09
5,518
cpp
C++
HedgeLib/src/io/hl_stream.cpp
Radfordhound/HedgeLib
e59f875bb7feba37bc5a373a50ae5af8874cd1e2
[ "BSD-2-Clause" ]
56
2017-02-14T13:19:52.000Z
2022-03-26T03:59:07.000Z
HedgeLib/src/io/hl_stream.cpp
Radfordhound/HedgeLib
e59f875bb7feba37bc5a373a50ae5af8874cd1e2
[ "BSD-2-Clause" ]
66
2017-04-22T01:02:04.000Z
2021-08-18T00:41:04.000Z
HedgeLib/src/io/hl_stream.cpp
Radfordhound/HedgeLib
e59f875bb7feba37bc5a373a50ae5af8874cd1e2
[ "BSD-2-Clause" ]
30
2017-02-16T09:07:31.000Z
2022-01-20T23:48:22.000Z
#include "hedgelib/io/hl_stream.h" #include <memory> namespace hl { stream::~stream() {} void stream::read_all(std::size_t size, void* buf) { const std::size_t readByteCount = read(size, buf); if (readByteCount != size) { // TODO: Throw a better error? HL_ERROR(error_type::unknown); } ...
25.546296
87
0.600942
Radfordhound
ea0dfab3accb98ecb414c3727797d1580fc51380
1,529
cpp
C++
source/MaterialXTest/MaterialXFormat/XmlExport.cpp
jerrans/MaterialX
8f2b4dd34c3e936d180cc6f0ead52f26efc8a2c6
[ "BSD-3-Clause" ]
101
2017-08-08T12:08:01.000Z
2022-03-17T06:37:58.000Z
source/MaterialXTest/MaterialXFormat/XmlExport.cpp
jerrans/MaterialX
8f2b4dd34c3e936d180cc6f0ead52f26efc8a2c6
[ "BSD-3-Clause" ]
1,002
2018-01-09T10:33:07.000Z
2022-03-31T18:35:04.000Z
source/MaterialXTest/MaterialXFormat/XmlExport.cpp
jerrans/MaterialX
8f2b4dd34c3e936d180cc6f0ead52f26efc8a2c6
[ "BSD-3-Clause" ]
24
2018-01-05T20:16:36.000Z
2022-02-03T15:40:14.000Z
// // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXTest/Catch/catch.hpp> #include <MaterialXFormat/XmlExport.h> namespace mx = MaterialX; TEST_CASE("File Path Predicate", "[xmlexport]") { mx::FileSearchPath sear...
36.404762
141
0.69261
jerrans
ea0f1967721cd8d30cf9086331dd8fd119eb2d3d
394
cpp
C++
solved/0-b/arrange-the-numbers/gen.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/0-b/arrange-the-numbers/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/0-b/arrange-the-numbers/gen.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> #include <cstdlib> #include <ctime> #if 0 #define MAXT 1000 #define MAXN 1000 #endif #if 1 #define MAXT 20 #define MAXN 1000 #endif int T; void gen() { int N = rand() % MAXN + 1; int M = rand() % N + 1; int K = rand() % M + 1; printf("%d %d %d\n", N, M, K); --T; } int main() { srand(time...
9.85
31
0.550761
abuasifkhan
ea1661eda603cd1b755ed6abeda67e0793b7072c
3,283
hpp
C++
third_party/xsimd/types/xsimd_common_math.hpp
jeanlaroche/pythran
6a2452e8588390bbb20575f580dba11b0037962b
[ "BSD-3-Clause" ]
1
2019-11-09T07:12:56.000Z
2019-11-09T07:12:56.000Z
third_party/xsimd/types/xsimd_common_math.hpp
jeanlaroche/pythran
6a2452e8588390bbb20575f580dba11b0037962b
[ "BSD-3-Clause" ]
1
2015-12-19T10:53:53.000Z
2015-12-19T17:58:20.000Z
third_party/xsimd/types/xsimd_common_math.hpp
jeanlaroche/pythran
6a2452e8588390bbb20575f580dba11b0037962b
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack * * ...
31.266667
93
0.335364
jeanlaroche
ea1a1a4ad651a8413789e171ef860cd2d745c0e6
107
cpp
C++
LiberoEngine/src/Libero/Components/InputComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Components/InputComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
LiberoEngine/src/Libero/Components/InputComponent.cpp
Kair0z/LiberoEngine3D
84c5f75251f19330da9a490587bbf0911bdb681a
[ "MIT" ]
null
null
null
#include "Liber_pch.h" #include "InputComponent.h" void Libero::InputComponent::HandleEvent(IEvent& ) { }
15.285714
50
0.747664
Kair0z
ea1e97576f585169d98fd8f01f696db032199934
10,874
cpp
C++
src/plugins/vtyulc/vlcplayer.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/vtyulc/vlcplayer.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/vtyulc/vlcplayer.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2013 Vladislav Tyulbashev * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or org...
26.014354
140
0.697995
MellonQ
ea221a48a43ed4ee332d6f60ac6fd941bf9321f2
5,515
cpp
C++
server.cpp
Stykk-Gruppen/qTracker-Server
4abf1a6a583c9681481e7fd678aa31a467f8040f
[ "MIT" ]
null
null
null
server.cpp
Stykk-Gruppen/qTracker-Server
4abf1a6a583c9681481e7fd678aa31a467f8040f
[ "MIT" ]
2
2020-06-03T10:03:48.000Z
2020-08-24T13:58:34.000Z
server.cpp
Feqzz/qTracker-Server
4abf1a6a583c9681481e7fd678aa31a467f8040f
[ "MIT" ]
null
null
null
#include "server.h" #include <string> #include <stdio.h> #include <unistd.h> #include <string.h> #include <sys/socket.h> #include <arpa/inet.h> #include <openssl/ssl.h> #include <openssl/err.h> #include <iostream> /** * Initializes the openssl library, creates SSL context, configures it * and creates ...
22.789256
96
0.553218
Stykk-Gruppen
ea2948783dfe546548f7937329adac5262413e9c
550
cpp
C++
Sail/src/Sail/entities/components/RagdollComponent.cpp
BTH-StoraSpel-DXR/SPLASH
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
12
2019-09-11T15:52:31.000Z
2021-11-14T20:33:35.000Z
Sail/src/Sail/entities/components/RagdollComponent.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
227
2019-09-11T08:40:24.000Z
2020-06-26T14:12:07.000Z
Sail/src/Sail/entities/components/RagdollComponent.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
2
2020-10-26T02:35:18.000Z
2020-10-26T02:36:01.000Z
#include "pch.h" #include "RagdollComponent.h" RagdollComponent::RagdollComponent() { localCenterOfMass = {0.f, 0.f, 0.f}; wireframeModel = nullptr; } RagdollComponent::RagdollComponent(Model* wireframe) { localCenterOfMass = { 0.f, 0.f, 0.f }; wireframeModel = wireframe; } RagdollComponent::~RagdollComponent()...
22.916667
83
0.752727
BTH-StoraSpel-DXR
ea2f9e99d5b76a029fb58104b9313e546e674578
576
hpp
C++
hw3/src/object/geometry.hpp
xupei0610/ComputerGraphics-HW
299416c0d75db17f6490bbab95a3561210a6277e
[ "MIT" ]
2
2017-10-11T13:48:30.000Z
2020-06-04T05:30:13.000Z
hw3/src/object/geometry.hpp
xupei0610/ComputerGraphics-HW
299416c0d75db17f6490bbab95a3561210a6277e
[ "MIT" ]
null
null
null
hw3/src/object/geometry.hpp
xupei0610/ComputerGraphics-HW
299416c0d75db17f6490bbab95a3561210a6277e
[ "MIT" ]
2
2018-10-05T15:37:29.000Z
2021-12-20T15:25:48.000Z
#ifndef PX_CG_OBJECT_GEOMETRY_HPP #define PX_CG_OBJECT_GEOMETRY_HPP #include "object/geometry/base_geometry.hpp" #include "object/geometry/box.hpp" #include "object/geometry/cone.hpp" #include "object/geometry/cylinder.hpp" #include "object/geometry/disk.hpp" #include "object/geometry/ellipsoid.hpp" #include "object/g...
32
46
0.809028
xupei0610
ea317fbca3e28c10b4b0e577e351cf6a6bbd06c9
6,197
cpp
C++
src/Framework/Utility.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
src/Framework/Utility.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
src/Framework/Utility.cpp
Belfer/SFMLTemplate
7dcf4aa26239252597d681ca72888463cd4a54b0
[ "MIT" ]
null
null
null
#include "Utility.hpp" #define TINYOBJLOADER_IMPLEMENTATION #include <tiny_obj_loader.h> #include <SFML/Graphics.hpp> #include <iostream> #include <string> #include <fstream> #include <streambuf> #define ASSERT(expr) assert(expr) std::string Utility::LoadTextFile(const std::string& filepath) { std::ifstream t(...
35.210227
182
0.616589
Belfer
ea31ecc3290c6e3646cb56c0b0742d4a0f278456
83
hpp
C++
Safety/Inc/RSSI.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
15
2017-09-12T14:54:16.000Z
2021-09-21T23:28:57.000Z
Safety/Inc/RSSI.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
67
2017-10-31T02:04:44.000Z
2022-03-28T01:02:25.000Z
Safety/Inc/RSSI.hpp
YashrajN/ZeroPilot-SW
3418f7050443af86bc0e7cc8e58177a95adc40eb
[ "BSD-4-Clause" ]
48
2017-09-28T23:47:17.000Z
2022-01-08T18:30:40.000Z
#ifndef RSSI_HPP #define RSSI_HPP bool CommsFailed(); void RSSI_Check(); #endif
9.222222
19
0.746988
YashrajN
ea32bfeb3470f003807075e55be23f2238848833
2,542
cpp
C++
src/capi/impl/capi_initialization.cpp
meiwanlanjun/turicreate
acd1422e82e4dabd6da7a3f82771dbf2f0474b1b
[ "BSD-3-Clause" ]
null
null
null
src/capi/impl/capi_initialization.cpp
meiwanlanjun/turicreate
acd1422e82e4dabd6da7a3f82771dbf2f0474b1b
[ "BSD-3-Clause" ]
null
null
null
src/capi/impl/capi_initialization.cpp
meiwanlanjun/turicreate
acd1422e82e4dabd6da7a3f82771dbf2f0474b1b
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2018 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <unity/server/unity_server_control.hpp> #include <unity/server/unity_server_options.hpp> #i...
29.905882
109
0.651849
meiwanlanjun
ea3bf7111be855d397152194b602065d6a61b0b0
107
hpp
C++
tests/export.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
tests/export.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
4
2020-08-09T20:33:04.000Z
2021-02-07T04:02:39.000Z
tests/export.hpp
RealKC/Reiji
69a8b50c5e1e997fb90652d5b263c27f75e4e0ea
[ "BSL-1.0" ]
null
null
null
#pragma once #if defined(_WIN32) # define EXPORT __declspec(dllexport) #else # define EXPORT #endif
13.375
40
0.719626
RealKC
ea3edce689c621c537745fbce640c7806ef286c5
457
cc
C++
ast/location.cc
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
ast/location.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
ast/location.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
#include <util/util.h> #include "location.h" using namespace ast; const Location Location::None("<no location>"); Location::operator string() const { if ( this == &None ) return "<no location>"; string s = _file.size() ? _file : "<no filename>"; s += ":"; if ( _from >= 0 ) { if ( ...
16.925926
54
0.49453
asilha
ea3f18a9f2941f8de6e6ad85de09584ffa021e61
3,040
cpp
C++
Engine/Source/GEOGL/Rendering/SubTexture2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/SubTexture2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/SubTexture2D.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
/******************************************************************************* * Copyright (c) 2020 Matthew Krueger * * * * This software is provided 'as-is', without any express or implied ...
55.272727
186
0.471382
Matthew-Krueger
ea405f6f53b65abdb821e58f9bf4bb40b9deefa4
1,715
cpp
C++
src/Cameras/PerspectiveCamera.cpp
drobnik/raytracing-engine
ae4add6e59e2f80c794e13edc6f6fe65ea5615f6
[ "MIT" ]
1
2018-01-16T18:55:31.000Z
2018-01-16T18:55:31.000Z
src/Cameras/PerspectiveCamera.cpp
drobnik/raytracing-engine
ae4add6e59e2f80c794e13edc6f6fe65ea5615f6
[ "MIT" ]
null
null
null
src/Cameras/PerspectiveCamera.cpp
drobnik/raytracing-engine
ae4add6e59e2f80c794e13edc6f6fe65ea5615f6
[ "MIT" ]
null
null
null
#include "PerspectiveCamera.h" PerspectiveCamera::PerspectiveCamera(const Vector3& e, const Vector3& look, const Vector3& u, unsigned int height, unsigned int width, float pixSize, const std::shared_ptr<AdaptiveSampler>& sampler, float field) ...
36.489362
111
0.61516
drobnik
3569f3f4b1ed81bd76a4a9f74daff5d730c69b77
748
cpp
C++
December-25/day25_rohithmsr_trappingrainwater.cpp
rohith-bare-on/A-December-of-Algorithms-2020
aadc6fc59c9e2046a2803d42466991b7357e64dc
[ "MIT" ]
1
2020-12-09T06:12:43.000Z
2020-12-09T06:12:43.000Z
December-25/day25_rohithmsr_trappingrainwater.cpp
rohith-bare-on/A-December-of-Algorithms-2020
aadc6fc59c9e2046a2803d42466991b7357e64dc
[ "MIT" ]
null
null
null
December-25/day25_rohithmsr_trappingrainwater.cpp
rohith-bare-on/A-December-of-Algorithms-2020
aadc6fc59c9e2046a2803d42466991b7357e64dc
[ "MIT" ]
null
null
null
/* Runtime: 4 ms, faster than 98.81% of C++ online submissions for Trapping Rain Water. Memory Usage: 14.4 MB, less than 96.32% of C++ online submissions for Trapping Rain Water. */ class Solution { public: int trap(vector<int> &height) { int i = 0; int j = height.size() - 1; int vol = ...
20.777778
90
0.417112
rohith-bare-on
356e66a8717a03e14994d0f5362993c17eab363d
918
cpp
C++
Homeworks/1_MiniDraw/project/src/App/Curve.cpp
Chaphlagical/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
13
2020-05-21T03:12:48.000Z
2022-01-20T01:25:02.000Z
Homeworks/1_MiniDraw/project/src/App/Curve.cpp
lyf7115/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
null
null
null
Homeworks/1_MiniDraw/project/src/App/Curve.cpp
lyf7115/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
4
2020-06-13T13:14:14.000Z
2021-12-15T07:36:05.000Z
#include "Curve.h" using namespace minidraw; Curve::Curve() { type_ = kCurve; finish = false; polygon.push_back(start); } Curve::~Curve() { } void Curve::update(int mode) { switch (mode) { case 0: finish = true; break; case 1: if (polygon.size() > 0) { polygon.back() = end; points.push_back(end...
15.827586
55
0.58061
Chaphlagical
3576d34fd65a8bcf6ffb78c50761890d9945b668
10,370
cpp
C++
silkopter/rc/src/main.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
silkopter/rc/src/main.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
silkopter/rc/src/main.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "Comms.h" #include "Video_Decoder.h" //#include "Menu_System.h" //#include "Splash_Menu_Page.h" //#include "Main_Menu_Page.h" #include "utils/Clock.h" #include "IHAL.h" #ifdef RASPBERRY_PI # include "PI_HAL.h" #else # include "GLFW_HAL.h" #endif #include "imgui.h" #include "HUD.h" ...
39.429658
155
0.542816
jeanleflambeur