hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
465517c883be0ceb0c1776cea32daca3df30e744
592
hh
C++
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#ifndef STATECREDIT_H_ # define STATECREDIT_H_ #include "IState.hh" #include "SFML/Graphics.hpp" #include "SFMLButton.hh" #include "SFMLTextBox.hh" class StateCredit : public IState { private : StateCredit(const StateCredit &) = delete; StateCredit& operator=(const StateCredit&) = delete; public: StateCredit(sf::...
18.5
53
0.739865
deb0ch
4656a39c64af0fbda160c9be279ac8252b8326c2
791
cpp
C++
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long pangkat(long long a,long long b,long long m) { if (b==0) return 1; if (b==1) return a%m; long long temp=pangkat(a,b/2,m); temp*=temp; temp%=m; if (b&1) return (temp*a)%m; return temp; } long long f(long long a,long long b,long long m) { long long pa=a; a%=m...
21.972222
56
0.563843
ia-toki
4657c8c29fcc4528fc063947cc9c5738832e9c31
8,912
hpp
C++
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
2
2016-02-13T16:15:20.000Z
2017-05-17T11:07:55.000Z
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
1
2018-01-20T01:43:53.000Z
2018-01-20T01:43:53.000Z
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
3
2016-01-19T07:45:26.000Z
2018-07-13T08:29:05.000Z
/* Copyright 2008-2012 Kristopher R Beevers and Internap Network Services 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, including without limitation...
35.365079
85
0.68851
beevek
4659e253e2fce425f3f86b222a3241491bed549a
965
cpp
C++
src/MQTTClientFactory.cpp
uilianries/MQTTClient
ea81eb5e1f65eca41844a9c35d0ca13c2992f263
[ "Apache-2.0" ]
4
2016-04-16T00:36:40.000Z
2021-08-07T20:05:14.000Z
src/MQTTClientFactory.cpp
uilianries/MQTTClient
ea81eb5e1f65eca41844a9c35d0ca13c2992f263
[ "Apache-2.0" ]
2
2016-07-06T19:30:53.000Z
2016-08-09T15:39:12.000Z
src/MQTTClientFactory.cpp
uilianries/MQTTClient
ea81eb5e1f65eca41844a9c35d0ca13c2992f263
[ "Apache-2.0" ]
1
2021-09-29T06:07:04.000Z
2021-09-29T06:07:04.000Z
// // MQTTClientFactory.cpp // // $Id$ // // Library: IoT/MQTT // Package: MQTTClient // Module: MQTTClient // // Copyright (c) 2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "IoT/MQTT/MQTTClientFactory.h" #include "MQTTClientImpl.h" ...
29.242424
139
0.540933
uilianries
465ad1adc6d91efe64ce2e47428dafa28be8685e
361
cc
C++
Tests/VM/DataTypes/number.test.cc
DylanEHolland/liz
50f030896fcca272d4e0f2186e84896d7b93ca40
[ "BSD-3-Clause" ]
null
null
null
Tests/VM/DataTypes/number.test.cc
DylanEHolland/liz
50f030896fcca272d4e0f2186e84896d7b93ca40
[ "BSD-3-Clause" ]
1
2022-02-21T04:58:44.000Z
2022-02-21T05:14:14.000Z
Tests/VM/DataTypes/number.test.cc
DylanEHolland/liz
50f030896fcca272d4e0f2186e84896d7b93ca40
[ "BSD-3-Clause" ]
null
null
null
/** * @file number.test.cc * @author Dylan E. Holland (salinson1138@gmail.com) * @brief * @version 0.1 * @date 2022-03-16 * * @copyright Copyright (c) 2022 * */ #include <VM/DataTypes/Include/number.h> using namespace liz::vm::dataTypes; int main(void) { auto x = number(20); auto y = number(20); ...
16.409091
52
0.612188
DylanEHolland
465c35cac24e482b59558321544d0fc91204ad5c
187
cpp
C++
Source/HordeMode/Private/HordeMode.cpp
trdwll/HordeMode
6e5415eafbbcb28c7db00b0228164caad1518aa6
[ "MIT" ]
1
2022-03-10T09:01:56.000Z
2022-03-10T09:01:56.000Z
Source/HordeMode/Private/HordeMode.cpp
trdwll/HordeMode
6e5415eafbbcb28c7db00b0228164caad1518aa6
[ "MIT" ]
2
2020-03-15T19:45:16.000Z
2020-04-11T02:11:27.000Z
Source/HordeMode/Private/HordeMode.cpp
trdwll/HordeMode
6e5415eafbbcb28c7db00b0228164caad1518aa6
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Russ 'trdwll' Treadwell #include "HordeMode.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, HordeMode, "HordeMode" );
26.714286
80
0.786096
trdwll
465d9662d12a98ea514cee4e255fbb9fcde2d860
2,302
cpp
C++
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
null
null
null
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
null
null
null
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
1
2018-07-16T04:31:49.000Z
2018-07-16T04:31:49.000Z
/* MD_Parola - Library for modular scrolling text and Effects See header file for comments Copyright (C) 2013 Marco Colli. 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 Softwa...
25.865169
78
0.68245
ElusiveTau
466252b793eafd77933eaf9fb574595344eb3281
498
cpp
C++
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root for more information. #include <NovelRT.h> namespace NovelRT { Transform::Transform(Maths::GeoVector2F position, float rotation, Maths::GeoVector2F scale) noexcept : position(position), sc...
31.125
141
0.718876
chococookies131
466522f4f8e6e9dbdae8197abdcc0bebb023251e
850
hpp
C++
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
1
2019-09-01T05:10:01.000Z
2019-09-01T05:10:01.000Z
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
null
null
null
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
null
null
null
#ifndef HN_STRINGCSS_HPP_INCLUDED #define HN_STRINGCSS_HPP_INCLUDED #include "../HN_XML/HN_Xml.hpp" #include "../HN_Javascript/HN_Javascript.hpp" #include "HN_CSS.hpp" bool isNextCharacter(const char *buffer, int c, int &cur_pos); int getStyleValue(const char *buffer, std::string &value,...
42.5
96
0.671765
Jusdetalent
46667a9908b1d9f51f8f12f25e8032fbff0ae67f
5,701
cpp
C++
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
1
2021-11-22T09:14:11.000Z
2021-11-22T09:14:11.000Z
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2021, Cellumation GmbH * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
35.191358
120
0.633398
cellumation
466cc894ab655037ed58613a637d0991963234da
6,121
cpp
C++
src/analysis/processing/qgsalgorithmextractbyexpression.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmextractbyexpression.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmextractbyexpression.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsalgorithmextractbyexpression.cpp --------------------- begin : April 2017 copyright : (C) 2017 by Nyall Dawson email : nyall dot dawson a...
37.09697
161
0.644012
dyna-mis
467033e07743731fd9654b417bb6824a2a982a8f
1,563
cpp
C++
lc/live_coding_20201021.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
lc/live_coding_20201021.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
lc/live_coding_20201021.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
#include <iostream> #include <random> #include <ctime> using namespace std; class Game { private: int rounds; int hs; // human score int cs; // computer score public: Game() : rounds(7), hs(0), cs(0) {} void play() { srand(time(NULL)); char a[] = {'R', 'P', 'S'}; int i ...
24.809524
127
0.56174
chgogos
4671118fe23e2ea40e80a80165ccd361d264a733
5,245
cpp
C++
Core/src/Readers/tiff.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2018-11-09T11:58:32.000Z
2018-11-09T11:58:32.000Z
Core/src/Readers/tiff.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
8
2018-05-22T12:58:27.000Z
2020-10-15T14:54:04.000Z
Core/src/Readers/tiff.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2019-01-11T12:04:53.000Z
2019-01-11T12:04:53.000Z
#ifdef HAS_TIFF # include "tiffio.h" #endif // HAS_TIFF // Due to Avizo's different tiff lib this comes after the above include. #ifdef AMIRA_RELEASE # define HAS_TIFF # include "exlibtiff.h" # include "tiffio.h" #endif // AMIRA/AVIZO #include "base_types.hpp" #include "tiff.hpp" #include "timer.hpp" #include "u...
29.138889
72
0.613727
vais-ral
46734ae3ca405585c5198a2f4a827067d706bc7d
1,309
cc
C++
core/tensor_test.cc
tintor/mono
396edd39e45f536cac91b1fa6524f019244e4549
[ "Apache-2.0" ]
1
2020-09-27T05:07:20.000Z
2020-09-27T05:07:20.000Z
core/tensor_test.cc
tintor/mono
396edd39e45f536cac91b1fa6524f019244e4549
[ "Apache-2.0" ]
null
null
null
core/tensor_test.cc
tintor/mono
396edd39e45f536cac91b1fa6524f019244e4549
[ "Apache-2.0" ]
null
null
null
#include "core/tensor.h" #define CATCH_CONFIG_MAIN #include "catch.hpp" TEST_CASE("tensor", "[tensor]") { std::array<float, 6> m = {1, 2, 3, 4, 5, 6}; std::array<float, 3> n = {1, 2, 3}; REQUIRE(tensor(m.data(), {6})[2] == 3); REQUIRE(tensor(m.data(), {6})(3) == 4); REQUIRE(tensor(m.data(), {2, 3}...
33.564103
76
0.515661
tintor
467a87fa66c218b0a16e453c42856a2116ef9bc6
31,503
cpp
C++
ANode/src/NodeFind.cpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
ANode/src/NodeFind.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
ANode/src/NodeFind.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #53 $ // // Copyright 2009-2020 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/lic...
33.022013
122
0.617116
ecmwf
467abcbef99a7b71296c4e538ddb3cdb20b6327f
15,108
cpp
C++
src/scene/Mesh.cpp
Kepler-Br/Vanadium
6769a55b7af64af1da83792c1049f3c37df5681f
[ "MIT" ]
1
2021-09-16T20:41:29.000Z
2021-09-16T20:41:29.000Z
src/scene/Mesh.cpp
Kepler-Br/Vanadium
6769a55b7af64af1da83792c1049f3c37df5681f
[ "MIT" ]
null
null
null
src/scene/Mesh.cpp
Kepler-Br/Vanadium
6769a55b7af64af1da83792c1049f3c37df5681f
[ "MIT" ]
1
2021-09-16T20:41:30.000Z
2021-09-16T20:41:30.000Z
#include "scene/Mesh.h" #include <bgfx/bgfx.h> #include <core/math/Math.h> #include "core/Log.h" namespace vanadium { Mesh::Mesh(bgfx::IndexBufferHandle indexBuffer, bgfx::VertexBufferHandle vertexBuffer, Mesh::PrimitiveType targetPrimitiveType) : _indexBuffer(indexBuffer), _vertexBu...
25.563452
80
0.500463
Kepler-Br
467ef62510d3409a0ba99848122238ba6256ca0e
1,870
cpp
C++
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
27
2020-01-02T07:40:57.000Z
2022-03-09T14:43:56.000Z
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
null
null
null
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
3
2020-05-21T07:02:08.000Z
2021-07-01T00:56:38.000Z
#include <shared/label.hpp> #include <windowsx.h> #include <xaml/internal/string.hpp> #include <xaml/result_win32.h> #include <xaml/ui/controls/label.h> #include <CommCtrl.h> using namespace std; xaml_result xaml_label_internal::draw(xaml_rectangle const& region) noexcept { xaml_ptr<xaml_element_base> parent; ...
26.714286
76
0.658289
Berrysoft
4682477fb1e897f287b69be09975efcc5e5dc17b
5,231
cpp
C++
isis/src/base/objs/IsisAml/IsisXMLApplication.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/base/objs/IsisAml/IsisXMLApplication.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/base/objs/IsisAml/IsisXMLApplication.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
/** * @file * $Revision: 1.2 $ * $Date: 2007/01/30 22:12:22 $ * * Unless noted otherwise, the portions of Isis written by the USGS are * public domain. See individual third-party library and package descriptions * for intellectual property information, user agreements, and related * information. * * ...
34.189542
87
0.654751
ihumphrey-usgs
468ae7942518e1a6b94fcd89248f58e89fe4fca4
1,556
cpp
C++
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//=================================================================================== // Copyright (c) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRA...
31.755102
110
0.580977
alonmm
468ef850ff182a4bea176399bfcb0fa0c32edd02
6,012
cpp
C++
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addit...
35.364706
137
0.677478
wbitos
4697d6180c92bfb0fd503a22545f0e320be76e8e
4,058
cpp
C++
CameraWebServer.cpp
folkertvanheusden/CameraWebServer
52bd0e37a26304baa4bcc9fe4c625bff41d23f2a
[ "MIT" ]
3
2019-07-05T19:18:32.000Z
2022-01-14T04:02:54.000Z
CameraWebServer.cpp
folkertvanheusden/CameraWebServer
52bd0e37a26304baa4bcc9fe4c625bff41d23f2a
[ "MIT" ]
null
null
null
CameraWebServer.cpp
folkertvanheusden/CameraWebServer
52bd0e37a26304baa4bcc9fe4c625bff41d23f2a
[ "MIT" ]
5
2019-03-03T12:37:17.000Z
2021-08-12T14:20:41.000Z
#include "esp_camera.h" #include <WiFi.h> #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" #include <SPIFFS.h> #include <WiFiSettings.h> #include <esp_wifi.h> // // WARNING!!! Make sure that you have either selected ESP32 Wrover Module, // or another board which has PSRAM enabled // // Select camera mod...
25.204969
74
0.691474
folkertvanheusden
469dc2e7fae6c65c0baae99dfb3399125ee25c16
377
cpp
C++
source/code/programs/examples/honeycomb/main.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/programs/examples/honeycomb/main.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/programs/examples/honeycomb/main.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include <iostream> #include <string> #include "code/utilities/web/honeycomb/honeycomb_poster.hpp" int main(){ std::string dataset = "https://api.honeycomb.io/1/events/compilation_speed"; std::string api_key = "<ADD>"; std::string data = "{\"shard\":\"users\",\"dur_ms\":33}"; std::cout << Hon...
31.416667
80
0.655172
luxe
46a04327cef38cc412bb823273c3e636b12e2368
668
cpp
C++
codeforces/354/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
2
2020-05-30T17:11:47.000Z
2021-09-25T08:16:48.000Z
codeforces/354/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
null
null
null
codeforces/354/A/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
1
2021-09-24T11:14:27.000Z
2021-09-24T11:14:27.000Z
#include <cstdio> #include <algorithm> #include <fstream> #include <iostream> #include <vector> #include <queue> #include <map> #include <cstring> #include <string> #include <set> #include <stack> #define pb push_back #define mp make_pair #define f first #define s second #define ll long long using namespace std; int...
16.7
49
0.585329
rdragos
46a32c6163d4e180dcb52bd5d51f7e385025a375
280
cpp
C++
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
2
2019-06-10T11:50:06.000Z
2019-10-14T08:00:41.000Z
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
#include <iostream> int main(){ int integer = 0; std::cin >> integer; for(int i = 2; i >= 0; i--){ int temp = 1; for(int j = 0; j < i; j++){ temp *= 10; } std::cout << integer/temp << std::endl; integer -= (integer/temp) * temp; } return 0; }
17.5
43
0.485714
chtld
46a5f87e11f5921fbb71c03097bd006aa42296b6
4,562
cc
C++
src/extensions/experimental/i18n-locale.cc
muellermichel/V8_r10452
ee3687670093630a2d6c8c6c48c2908a714e211a
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
12
2015-03-03T02:38:54.000Z
2020-07-07T17:59:31.000Z
deps/v8/src/extensions/experimental/i18n-locale.cc
felixge/node
d2e59d85e867a352806190d72ee8ec447a4e2eff
[ "MIT" ]
1
2022-03-29T18:48:46.000Z
2022-03-29T18:48:46.000Z
deps/v8/src/extensions/experimental/i18n-locale.cc
felixge/node
d2e59d85e867a352806190d72ee8ec447a4e2eff
[ "MIT" ]
3
2017-02-25T05:46:09.000Z
2019-07-01T01:22:33.000Z
// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
40.732143
79
0.722709
muellermichel
46a6dab716c22f26521d9dfc1f2e816ecf30e6d0
346
cpp
C++
cpp/tenka1_2013_qualA_b/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/tenka1_2013_qualA_b/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
cpp/tenka1_2013_qualA_b/main.cpp
kokosabu/atcoder
8d512587d234eb45941a2f6341c4dd003e6c9ad3
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int N; cin >> N; int count = 0; for(int i = 0; i < N; i++) { int V, W, X, Y, Z; cin >> V >> W >> X >> Y >> Z; int S = V + W + X + Y + Z; if(S >= 0 && S < 20) { count += 1; } } cout << count...
17.3
37
0.361272
kokosabu
9e534643541c2e9639d95f8788350e1688bfd2ad
816
cpp
C++
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
#include <stdafx.h> #include <engine\objectmodel\system.h> #include <engine\objectmodel\subsystem.h> #include <engine\objectmodel\universe.h> namespace OK { void System::Init() { } void System::Shutdown() { for (SubSystem* subSystem : m_SubSystems) { subSystem->Shutdow...
20.4
77
0.595588
imefGames
9e539e62dc95ad5e6383be7e34160152fbb2fc22
1,929
cc
C++
third_party/blink/renderer/modules/xr/xr_hit_test_source.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/xr/xr_hit_test_source.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/xr/xr_hit_test_source.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/xr/xr_hit_test_source.h" #include "device/vr/public/mojom/vr_service.mojom-blink.h" #include "third_party/bl...
30.619048
76
0.729393
sarang-apps
9e53c9535dac1673c69fef914f3812787235bb5d
312
cpp
C++
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
#include "InterfejsRysowania.hh" #include "RysowanieUstawienia.hh" using drawNS::APIGnuPlot3D; std::shared_ptr<drawNS::Draw3DAPI> InterfejsRysowania::api(new APIGnuPlot3D(-WYMIAR_X,WYMIAR_X,-WYMIAR_Y,WYMIAR_Y,-WYMIAR_Z,WYMIAR_Z,ODSWIEZANIE)); void InterfejsRysowania::Usun() { api->erase_shape(m_Numer); }
28.363636
147
0.794872
kacpermejs
9e540a362311507e0d8467ed0f1a3f54babbc6ed
4,192
cpp
C++
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
3
2021-04-27T08:52:40.000Z
2021-05-19T18:05:40.000Z
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
// Copyright(c) 2013-2019, mCODE A/S // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditio...
35.82906
131
0.717796
snaxgameengine
9e5503aeec52f544c71b97be07ccf3d390d9751b
2,179
cpp
C++
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
1
2021-05-06T17:08:55.000Z
2021-05-06T17:08:55.000Z
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
null
null
null
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
null
null
null
// // Created by Tudor Oancea on 18/05/2021. // Copyright (c) 2021 Tudor Oancea. All rights reserved. // Licensed under the MIT license (see at https://github.com/tudoroancea/cube-timer/blob/develop/LICENSE) // #include "PbWidget.hpp" #include <QBoxLayout> TimeLabel::TimeLabel(QString const& str, QWidget* parent, siz...
39.618182
148
0.699862
tudoroancea
9e55f5f8ee27f725fbc60448ad98df8a18614803
2,846
cpp
C++
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
#include "context.h" #include <iostream> #include "glew//glew.h" //GLEW must be included first before GLFW #include "glfw/glfw3.h" namespace aie { // Error callback called by OpenGL whenever a problem occurs (vendor-dependent) void APIENTRY errorCallback(GLenum source, GLenum type, GLuint id, GLenum severity...
29.340206
95
0.583275
Trey0303
9e57ce636010454ad1a856420c2e2e5996bc24d6
4,766
cpp
C++
Source/pymodules/gpu/Shader.cpp
kecho/coal
fac994f43f588e2c65514be348fdac4efc6a6ea9
[ "MIT" ]
24
2021-08-14T13:19:51.000Z
2021-12-14T15:31:22.000Z
Source/pymodules/gpu/Shader.cpp
kecho/coal
fac994f43f588e2c65514be348fdac4efc6a6ea9
[ "MIT" ]
1
2021-11-01T19:20:05.000Z
2021-11-03T01:25:00.000Z
Source/pymodules/gpu/Shader.cpp
kecho/coal
fac994f43f588e2c65514be348fdac4efc6a6ea9
[ "MIT" ]
2
2021-08-24T21:50:15.000Z
2021-09-08T14:12:50.000Z
#include "Shader.h" #include "HelperMacros.h" #include "CoalpyTypeObject.h" #include <coalpy.files/IFileSystem.h> #include <coalpy.files/Utils.h> #include <coalpy.render/IShaderDb.h> #include <coalpy.core/String.h> #include <string> #include <iostream> namespace coalpy { namespace gpu { namespace methods { static...
29.419753
234
0.63911
kecho
9e591191030b22f4e89d383f37ff0952b2fbca77
87,027
cc
C++
hookflash-core/webRTC/webRTC_ios/src/video_engine/test/auto_test/source/vie_autotest_custom_call.cc
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
1
2020-02-19T09:55:55.000Z
2020-02-19T09:55:55.000Z
hookflash-core/webRTC/webRTC_ios/src/video_engine/test/auto_test/source/vie_autotest_custom_call.cc
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
hookflash-core/webRTC/webRTC_ios/src/video_engine/test/auto_test/source/vie_autotest_custom_call.cc
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
42.287172
80
0.527606
ilin-in
9e592a46b04b4b6aa48f4aeaed6916ab74c60744
396
cpp
C++
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*10250*/ /*Got it!*/ #include <iostream> using namespace std; int main() { int t; cin >> t; while(t--){ int h, w, n; cin >> h >> w >> n; if(n % h == 0){ cout << h; if(n / h < 10) cout << 0; cout << n / h << endl; } else{ cout << n % h; if(n / h + 1 ...
17.217391
38
0.368687
falconlee236
9e608de1c1261f3e73829c0e383d9bcae15f916a
6,685
cpp
C++
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
7
2019-08-03T10:36:55.000Z
2022-03-01T09:31:14.000Z
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
null
null
null
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
6
2019-07-04T05:59:19.000Z
2022-01-26T03:33:03.000Z
#include <iostream> using namespace std; const int ROWS_AND_COLUMNS = 3; void displayTwoDimensionalArray(const char[][ROWS_AND_COLUMNS]); void player(char[][ROWS_AND_COLUMNS], char); bool checkIfWinnerAcross(const char[][ROWS_AND_COLUMNS], const char, string &); bo...
25.613027
95
0.497233
jesushilarioh
9e6259d818a6eaca0812365fa2c839ceec9849ce
2,360
cpp
C++
leetcode/227.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
2
2016-11-26T02:56:35.000Z
2019-06-17T04:09:02.000Z
leetcode/227.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
null
null
null
leetcode/227.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
3
2016-07-18T14:13:20.000Z
2019-06-17T04:08:32.000Z
class Calculator { private: inline int priority(char op) { switch (op) { case '+': case '-': return 0; case '*': case '/': return 1; case '(': return INT_MAX; default: return -1; } } string convertToRPN(string &s) { ...
26.516854
97
0.323729
Moonshile
9e62d3c4ed1d7541c1e60413eb4a508256535ab9
2,004
cpp
C++
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
null
null
null
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
2
2019-11-10T10:14:38.000Z
2019-11-25T12:33:54.000Z
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
null
null
null
//Copyrigth (C) 2019 Andrey Yaromenok #include "mainwindow.h" #include "ui_mainwindow.h" #include <QtCore> #include <QtGui> #include <QtWidgets> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); initTestUi(); } MainWindow::~MainWindow() { d...
30.363636
108
0.658683
ayaromenok
9e64200709412e945afb504874c4b5bb043348fa
1,940
cpp
C++
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
11
2021-01-04T10:58:56.000Z
2022-03-30T15:14:23.000Z
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:51:42.000Z
2019-01-22T14:58:55.000Z
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:48:15.000Z
2020-07-28T14:59:26.000Z
#include "cvtransformation.h" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" CvTransformation::CvTransformation() { m_nodeName = "CvTransformation"; m_warningMessage = ""; registerAttribute("angle", new NodeDoubleAttribute(0.0, 180.0, -180.0)); registerA...
30.793651
82
0.553093
Graph-ICS
9e6b59f1c3e87435b68e68ec18d96e7d359b1b67
1,024
cpp
C++
RxStreamer/DataAccessControllerPolicy.cpp
intact-software-systems/cpp-software-patterns
e463fc7eeba4946b365b5f0b2eecf3da0f4c895b
[ "MIT" ]
1
2020-09-03T07:23:11.000Z
2020-09-03T07:23:11.000Z
RxStreamer/DataAccessControllerPolicy.cpp
intact-software-systems/cpp-software-patterns
e463fc7eeba4946b365b5f0b2eecf3da0f4c895b
[ "MIT" ]
null
null
null
RxStreamer/DataAccessControllerPolicy.cpp
intact-software-systems/cpp-software-patterns
e463fc7eeba4946b365b5f0b2eecf3da0f4c895b
[ "MIT" ]
null
null
null
#include "RxStreamer/DataAccessControllerPolicy.h" namespace Reactor { DataAccessControllerPolicy::DataAccessControllerPolicy(Policy::Attempt attempt, Policy::Interval interval, Policy::Interval retryInterval, Policy::Timeout timeout) : attempt_(attempt) , interval_(interval) , retryInterval_(retryInterva...
24.380952
176
0.78125
intact-software-systems
9e6bc07632c25b82df12b4c696962fb914e1d907
7,803
cpp
C++
net/tapi/skywalker/filters/video/tapivcap/fpsrate.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/tapi/skywalker/filters/video/tapivcap/fpsrate.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/tapi/skywalker/filters/video/tapivcap/fpsrate.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**************************************************************************** * @doc INTERNAL FPSRATE * * @module FpsRate.cpp | Source file for the <c CTAPIBasePin> and <c CPreviewPin> * class methods used to implement the video capture and preview output * pins frame rate control methods. *******...
38.063415
231
0.653723
npocmaka
9e703be65cf079306067df6c83655379804f04fb
6,587
hpp
C++
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2015 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL_JUN_11_2015_1137AM) #define HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL...
37.426136
85
0.67952
kempj
9e71ac8ce27184c568d1b5ebcdfbca8031b2d81f
566
hpp
C++
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
1
2018-02-06T08:36:39.000Z
2018-02-06T08:36:39.000Z
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
#pragma once #if defined _MSC_VER # define OTR_GENERIC_EXPORT __declspec(dllexport) # define OTR_GENERIC_IMPORT __declspec(dllimport) #elif defined _WIN32 && !defined(__WINE__) # define OTR_GENERIC_EXPORT __attribute__((dllexport, visibility ("default"))) # define OTR_GENERIC_IMPORT __attribute__((dllimport)) ...
35.375
80
0.810954
cpuwolf
9e725376cc5608848cdec3640f93213bf0ca359c
34
hpp
C++
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/graph/dimacs.hpp>
17
33
0.764706
miathedev
9e766cdd3b086cdf4e4f89067c1d0552d1414c27
11,161
hpp
C++
dakota-6.3.0.Windows.x86/include/Teuchos_ArrayView.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_ArrayView.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
null
null
null
dakota-6.3.0.Windows.x86/include/Teuchos_ArrayView.hpp
seakers/ExtUtils
b0186098063c39bd410d9decc2a765f24d631b25
[ "BSD-2-Clause" ]
1
2022-03-18T14:13:14.000Z
2022-03-18T14:13:14.000Z
// @HEADER // *********************************************************************** // // Teuchos: Common Tools Package // Copyright (2004) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of...
22.411647
86
0.700654
seakers
9e76add87407f3a3a010064fb2deb903bcbb14f1
1,610
cpp
C++
src/runner/simple_runner.cpp
rasata/Faasm
27f8266c12f93449e2eb97692c7bb7fc9724724a
[ "Apache-2.0" ]
1
2020-02-17T22:23:43.000Z
2020-02-17T22:23:43.000Z
src/runner/simple_runner.cpp
rasata/Faasm
27f8266c12f93449e2eb97692c7bb7fc9724724a
[ "Apache-2.0" ]
null
null
null
src/runner/simple_runner.cpp
rasata/Faasm
27f8266c12f93449e2eb97692c7bb7fc9724724a
[ "Apache-2.0" ]
null
null
null
#include <wasm/WasmModule.h> #include <util/config.h> #include <util/timing.h> #include <util/func.h> #include <zygote/ZygoteRegistry.h> int main(int argc, char *argv[]) { util::initLogging(); const std::shared_ptr<spdlog::logger> logger = util::getLogger(); int runCount; if (argc == 3) { ru...
24.393939
87
0.579503
rasata
9e7740bde469a24d4dfb5c4a7a5cd321cf4bdfbe
185,437
cpp
C++
tools/Config_Handlers/Basic_Deployment_Data.cpp
jwillemsen/DAnCE
516ff2b502001e7b42e717af8b3034be6df2544d
[ "DOC" ]
8
2016-07-20T00:56:05.000Z
2020-10-04T12:31:16.000Z
tools/Config_Handlers/Basic_Deployment_Data.cpp
jwillemsen/DAnCE
516ff2b502001e7b42e717af8b3034be6df2544d
[ "DOC" ]
5
2016-06-20T16:16:23.000Z
2019-06-26T12:18:45.000Z
tools/Config_Handlers/Basic_Deployment_Data.cpp
jwillemsen/DAnCE
516ff2b502001e7b42e717af8b3034be6df2544d
[ "DOC" ]
12
2016-04-20T10:01:06.000Z
2021-12-24T17:24:04.000Z
/* * This code was generated by the XML Schema Compiler. * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. * * If you find errors or feel that there are bugfixes to be made, * please report this to the XSC project at * https://github.com/DOCGroup/XSC */ #include ...
25.712285
176
0.611377
jwillemsen
9e7901166c51d70b42e59955c913e8ac558c4e40
2,856
cpp
C++
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
/* * \file Texture2D.cpp.cc * \copyright (C) 2021 Special Technological Center Ltd * \author : Bardashevsky A.K. * \date : 10.01.2021 * \time : 14:57 */ #include "Texture2D.h" #include <glad/glad.h> #include <stb_image.h> #include <bard/core/Base.h> namespace OpenGL { Texture2D::Texture2D( uint32_t width, ui...
26.943396
104
0.690476
baard047
9e796bdb93225bc68d9427cd75ea58540b8450b5
7,432
cpp
C++
SimulationCore/TimeHistoryOutput_T2D_CHM_s.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
SimulationCore/TimeHistoryOutput_T2D_CHM_s.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
SimulationCore/TimeHistoryOutput_T2D_CHM_s.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
#include "SimulationCore_pcp.h" #include "Model_T2D_CHM_s.h" #include "Step_T2D_CHM_s.h" #include "ResultFile_PlainBin_DataStruct.h" #include "TimeHistoryOutput_T2D_CHM_s.h" int time_history_output_func_t2d_chm_s_to_plain_bin_res_file(TimeHistoryOutput &_self) { TimeHistoryOutput_T2D_CHM_s &th = static_cast<TimeHi...
36.253659
103
0.674785
MingAtUWA
9e7bdeb2593b9ce1930fe3ad4e964ab33dc2e103
4,810
cc
C++
rhutil/status.cc
eatnumber1/rhutil
f097f8f118e24434c4fdaaf64ec18e084543b1d5
[ "MIT" ]
null
null
null
rhutil/status.cc
eatnumber1/rhutil
f097f8f118e24434c4fdaaf64ec18e084543b1d5
[ "MIT" ]
null
null
null
rhutil/status.cc
eatnumber1/rhutil
f097f8f118e24434c4fdaaf64ec18e084543b1d5
[ "MIT" ]
null
null
null
#include "rhutil/status.h" #include <type_traits> #include <iostream> #include <boost/stacktrace.hpp> #include "absl/strings/str_format.h" namespace rhutil { std::string StatusCodeToString(StatusCode sc) { switch (sc) { case StatusCode::kOk: return "OK"; case StatusCode::kCancelled: return "CA...
25.449735
74
0.712058
eatnumber1
9e7f36efaad244e39712d603844b8d3161feac21
15,920
cc
C++
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
12
2020-03-05T19:11:00.000Z
2021-05-11T14:27:15.000Z
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
null
null
null
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
1
2020-04-10T12:52:33.000Z
2020-04-10T12:52:33.000Z
// // Created by aislam6 on 11/11/19. // #include<string.h> #include "storeds_db_factory.h" #include "btree_mem_opt/bt_dram.cc" #include "btree_mem_opt/bt_pmem.cc" #include "btree_mem_opt/bt_pmem_tx.cc" #include "btree_mem_opt/bt_vmem.cc" #include "btree_mem_opt/bt_dram_concurrent_mlock.cc" #include "btree_mem_opt/bt...
48.096677
74
0.688317
DIR-LAB
9e80baf90ba50f85637c4aa5a186bfe9bebf17ad
2,666
cpp
C++
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
#include "NumberWithUnits.hpp" namespace ariel { NumberWithUnits::NumberWithUnits(double amount, string unit_type){} void NumberWithUnits::read_units(ifstream &file_name) {} NumberWithUnits operator+ (NumberWithUnits &other_num) { NumberWithUnits result(1, "km"); return result; } Nu...
33.325
79
0.649287
AfikPeretz
9e867dbc3afd751ed80e42d874bbd28b50f54c55
796
cpp
C++
atcoder/abc153f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/abc153f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/abc153f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; using pl=pair<ll,ll>; // greedy sats. left. store current energy, till x+D release void solve() { int n; ll D, A; cin >> n >> D >> A; priority_queue<pl,vector<pl>, greater<>> pq; for (int _ = 0; _ < n; _++) { ll x,h; cin...
19.9
60
0.434673
sogapalag
9e8783a930f9c87601edaa446f59cdb5b8e7fbf2
1,310
cpp
C++
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
/* SPDX-License-Identifier: MIT */ #include <infos.h> struct Parameters { double exponent; double base; }; __attribute__((aligned(16))) Parameters parms[10]; static void power(void *arg) { Parameters p = *((Parameters *) arg); double j = p.exponent; char name_buffer[16] = {0}; sprintf(name_...
20.46875
100
0.543511
dalehuangzihan
9e88e7a611a156bc16263d050923de9acfc83db3
1,387
cpp
C++
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
#include "Edge.h" /** * @brief Constructor */ Edge::Edge(Node * pSource, Node * pTarget) : source(pSource), target(pTarget) { // ... } /** * @brief Destructor */ Edge::~Edge(void) { // ... } /** * @brief Edge::getSource * @param pSource */ void Edge::getSource(Node * pSource) { source = pSource; } /** * ...
12.495495
77
0.62509
magestik
9e8ab971d1a303ab37847abed6cf433a1bc20368
1,832
hpp
C++
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
28
2016-03-29T06:51:45.000Z
2021-11-15T09:42:20.000Z
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
null
null
null
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
3
2016-04-06T10:25:01.000Z
2019-09-06T21:41:20.000Z
/* * Copyright 2016 Zachary Michaels * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
29.079365
75
0.748908
mikezackles
9e8c703ae1d7d8bcea11268ca5310dfacee4ce95
5,557
cc
C++
sentinel-core/param/param_flow_slot_test.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
121
2019-02-22T06:50:31.000Z
2022-01-22T23:23:42.000Z
sentinel-core/param/param_flow_slot_test.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
24
2019-05-07T08:58:38.000Z
2022-01-26T02:36:06.000Z
sentinel-core/param/param_flow_slot_test.cc
windrunner123/sentinel-cpp
7957e692466db0b7b83b7218602757113e9f2d22
[ "Apache-2.0" ]
36
2019-03-19T09:46:08.000Z
2021-11-24T13:20:56.000Z
#include <iostream> #include <memory> #include <string> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "sentinel-core/test/mock/statistic/node/mock.h" #include "sentinel-core/common/string_resource_wrapper.h" #include "sentinel-core/param/param_flow_rule_constants.h" #include "sentinel-core/param/param_f...
37.046667
78
0.694799
windrunner123
9e8d8c1a8c3767b5c5e895fef54b8c993f35ba54
3,037
cpp
C++
Lydsy/P2752 [HAOI2012]高速公路(road)/P2752.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
22
2018-08-07T06:55:10.000Z
2021-06-12T02:12:19.000Z
Lydsy/P2752 [HAOI2012]高速公路(road)/P2752.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
28
2020-03-04T23:47:22.000Z
2022-02-26T18:50:00.000Z
Lydsy/P2752 [HAOI2012]高速公路(road)/P2752.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
4
2019-11-09T15:41:26.000Z
2021-10-10T08:56:57.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <queue> #define For(i,x,y) for (int i=x;i<=y;++i) #define Dor(i,x,y) for (int i=x;i>=y;--i) #define Clri(x) memset(x,0x3f,sizeof(x)) #define Clre(x) memset(x,0x00,sizeof(x)) typedef long long ll; using namespace std; const int N = 2e...
20.52027
74
0.488969
Wycers
9e8e2f51b41567b7fd0938d8d4443e0b5edb0eb4
8,635
cpp
C++
examples/dg_simple_ros/src/dg_odometry.cpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-05-22T12:47:34.000Z
2019-05-23T15:43:47.000Z
examples/dg_simple_ros/src/dg_odometry.cpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
examples/dg_simple_ros/src/dg_odometry.cpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-08-09T06:50:46.000Z
2019-08-09T06:50:46.000Z
#include <ros/ros.h> #include <cv_bridge/cv_bridge.h> #include <std_msgs/Float32.h> #include <nav_msgs/Odometry.h> #include "opencv2/highgui.hpp" #define LOAD_PARAM_VALUE(fn, name_cfg, name_var) \ if (!(fn)[name_cfg].empty()) (fn)[name_cfg] >> name_var; #define RAD2DEG(x) ((x) * 180.0 / CV_PI) #define DEG...
29.370748
124
0.634279
deepguider
9e8e932f9499023181266c4a013edff4dfdf28d0
6,762
cpp
C++
STRIPSp.cpp
alexandresoaresilva/STRIPS_prg
ada84083a8b4f96036261669092bcf3cb4539e73
[ "MIT" ]
null
null
null
STRIPSp.cpp
alexandresoaresilva/STRIPS_prg
ada84083a8b4f96036261669092bcf3cb4539e73
[ "MIT" ]
null
null
null
STRIPSp.cpp
alexandresoaresilva/STRIPS_prg
ada84083a8b4f96036261669092bcf3cb4539e73
[ "MIT" ]
null
null
null
/* * STRIPSp.cpp * * Created on: Jan 10, 2018 * Author: alexa */ #include "STRIPSp.h" STRIPSp::STRIPSp() : STRIPS_tokenizer(), it_is_a_STRIPS_planner(0) { cout << endl; cout << "STRIPSp (recognizer) class\n"; cout << ">>>>>>>>>>>>>>>>>>>>>>\n"; STRIPS_tokenizer::print_Vector_of_strg(); it_is_a...
30.876712
143
0.608104
alexandresoaresilva
9e8f825752174abf6cd0bdb9372978ddd55d4553
1,046
cpp
C++
Engine_Networking/source/NetworkBuffer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
2
2016-04-01T21:10:33.000Z
2018-02-26T19:36:56.000Z
Engine_Networking/source/NetworkBuffer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
1
2017-04-05T01:33:08.000Z
2017-04-05T01:33:08.000Z
Engine_Networking/source/NetworkBuffer.cpp
subr3v/s-engine
d77b9ccd0fff3982a303f14ce809691a570f61a3
[ "MIT" ]
null
null
null
#include "NetworkBuffer.h" #include <cassert> FNetworkBuffer::FNetworkBuffer(u32 BufferSize) : BufferPosition(0) { BufferData.Resize(BufferSize); } FNetworkBuffer::~FNetworkBuffer() { } void FNetworkBuffer::CopyData(void* Data, u32 BytesCount) { if (GetSpaceLeft() < BytesCount) { assert(false); return; } ...
17.433333
76
0.755258
subr3v
9e8f85d4b9cb0db03ca88f48a9f304d3b0843d59
1,839
cpp
C++
acm-icpc/2015 ACM Amman Collegiate Programming Contest/D.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
1
2020-04-23T00:35:38.000Z
2020-04-23T00:35:38.000Z
acm-icpc/2015 ACM Amman Collegiate Programming Contest/D.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
acm-icpc/2015 ACM Amman Collegiate Programming Contest/D.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ENDL '\n' #define deb(u) cout << #u " : " << (u) << ENDL; #define deba(alias, u) cout << alias << ": " << (u) << ENDL; #define debp(u, v) cout << u << " : " << v << ENDL; #define pb push_back #define F first #define S second #define lli long long #define pii pair<int, int> #define pll p...
18.029412
60
0.439913
ErickJoestar
9e90e8989f7e7f4be169d5ec169c984200677a20
3,943
cpp
C++
src/tile.cpp
lucasfo/robot-environment
82141ae06620ab493ff4bc2de366b8149b4fff05
[ "MIT" ]
null
null
null
src/tile.cpp
lucasfo/robot-environment
82141ae06620ab493ff4bc2de366b8149b4fff05
[ "MIT" ]
null
null
null
src/tile.cpp
lucasfo/robot-environment
82141ae06620ab493ff4bc2de366b8149b4fff05
[ "MIT" ]
null
null
null
#include <tile.h> Tile::Tile() { this->_value = TL_NONE; this->_color = TLC_WHITE; this->_flags = 0; this->_agent = NULL; this->_pheromone = 0; } bool Tile::valid() const { return (this->_flags & TLF_VALID) > 0; } void Tile::valid (const bool valid) { if (valid) { this->_flags |= ...
16.99569
62
0.519909
lucasfo
9e927cf7ca99135a955ad5d27e6b1f61c00c2951
4,295
hpp
C++
tlx/string/bitdump.hpp
GerHobbelt/tlx
81a71238b17df27d98a4dff9ceba21bd79fddffb
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tlx/string/bitdump.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tlx/string/bitdump.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/string/bitdump.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2019 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ****************************...
31.814815
80
0.59837
GerHobbelt
9e93167a8faf179edf28c2dc86bb08998f9af82b
217
cpp
C++
test/throw.cpp
avakar/cpp2sir
88976469cf846c72a1ab5c7eaaac45605bd69805
[ "MIT" ]
2
2018-07-18T06:40:40.000Z
2019-11-27T21:07:18.000Z
test/throw.cpp
avakar/cpp2sir
88976469cf846c72a1ab5c7eaaac45605bd69805
[ "MIT" ]
1
2017-04-13T11:31:50.000Z
2017-04-13T11:31:50.000Z
test/throw.cpp
avakar/cpp2sir
88976469cf846c72a1ab5c7eaaac45605bd69805
[ "MIT" ]
null
null
null
void f1() { throw; } int f2(int i) { throw 4; } int f3(int i) { return i? i: throw 4; } void f4(int i) { i? throw 3: throw 4; } struct s { s(); s(s const &); ~s(); }; void f5() { throw s(); }
8.037037
38
0.460829
avakar
9e932a666b0f3b2dbae8890324e6071f0240fa8b
631
cpp
C++
LeetCode/ThousandOne/0343-integer_break.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0343-integer_break.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0343-integer_break.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 343. 整数拆分 给定一个正整数 n,将其拆分为至少两个正整数的和,并使这些整数的乘积最大化。 返回你可以获得的最大乘积。 示例 1: 输入: 2 输出: 1 解释: 2 = 1 + 1, 1 × 1 = 1。 示例 2: 输入: 10 输出: 36 解释: 10 = 3 + 3 + 4, 3 × 3 × 4 = 36。 说明: 你可以假设 n 不小于 2 且不大于 58。 */ // https://leetcode-cn.com/problems/integer-break/solution/343-zheng-shu-chai-fen-tan-xin-by-...
13.145833
97
0.554675
Ginkgo-Biloba
9e9348c185e94e60c4592f4a77830b3069ad729e
8,108
cpp
C++
src/sql/RecorderFile.cpp
anthonioez/RecorderBlackBerry10
978bfff4a874dbc6a2af0daebce2694855705daa
[ "Apache-2.0" ]
null
null
null
src/sql/RecorderFile.cpp
anthonioez/RecorderBlackBerry10
978bfff4a874dbc6a2af0daebce2694855705daa
[ "Apache-2.0" ]
null
null
null
src/sql/RecorderFile.cpp
anthonioez/RecorderBlackBerry10
978bfff4a874dbc6a2af0daebce2694855705daa
[ "Apache-2.0" ]
null
null
null
#include "Recorder.hpp" #include "RecorderFile.hpp" #include "utils.hpp" RecorderFile::RecorderFile(SqlDataAccess *sda) { table = "files"; id = 0; folder = 0; title = ""; desc = ""; size = 0; duration = 0; size = 0; flags = 0; stamp = 0; status = 0; this->sda = sda; } bool RecorderFile::...
20.683673
140
0.628885
anthonioez
9e9451f0b7c9b6321defeb996ee36a3fcdefbef0
1,159
hpp
C++
src/gameengine.hpp
zerozez/qt-chess
4a066195f656cb57e83f49beeaa9e244796b18d3
[ "Apache-2.0" ]
5
2018-05-09T05:09:50.000Z
2021-07-30T06:48:21.000Z
src/gameengine.hpp
zerozez/qt-chess
4a066195f656cb57e83f49beeaa9e244796b18d3
[ "Apache-2.0" ]
null
null
null
src/gameengine.hpp
zerozez/qt-chess
4a066195f656cb57e83f49beeaa9e244796b18d3
[ "Apache-2.0" ]
5
2017-11-29T23:49:25.000Z
2021-06-10T15:13:07.000Z
#ifndef GAMEENGINE_HPP #define GAMEENGINE_HPP #include <QAbstractListModel> #include <QHash> #include <QMap> #include <QObject> #include <QPair> #include <QQmlListProperty> #include <QSharedPointer> /** * @brief The GameEngine class * * Main game engine. Control figures position, * status of the game an...
21.462963
66
0.709232
zerozez
9e94d2ca221e4db7d7ed1e2dbf25eedb71052f0f
579
cpp
C++
main/src/jumpnrun/system/JumpnRunScreen_TaskList.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/system/JumpnRunScreen_TaskList.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/system/JumpnRunScreen_TaskList.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
#include"jumpnrun/system/JumpnRunScreen.h" #include<fstream> using namespace jnr; using namespace gfw; bool JumpnRunScreen::dumpTaskListToFile(const std::string& file_name) { std::ofstream ofs(file_name, std::ios::binary); $P.mutex_tasklist.lock(); ofs.write(this->tl.Buffer(), tl.BUF_SIZE); $P.mutex_tasklist.unlo...
26.318182
71
0.747841
wonderhorn
9e96e88d19cdc951c890865649da421ca530b756
6,538
hh
C++
src/lunasa/common/GenericSequentialDataBundle.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/lunasa/common/GenericSequentialDataBundle.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/lunasa/common/GenericSequentialDataBundle.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef FAODEL_GENERICSEQUENTIALBUNDLE_HH #define FAODEL_GENERICSEQUENTIALBUNDLE_HH #include <cstdint> #include ...
38.233918
138
0.714439
faodel
9e98fb2a7bdc65a79183cac9b2461d4f2d70ec09
1,284
cpp
C++
solution328.cpp
white-shark/leetcode-cpp
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
31
2016-08-18T16:30:59.000Z
2022-02-15T11:21:39.000Z
solution328.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
null
null
null
solution328.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
22
2017-07-17T07:30:00.000Z
2022-01-24T08:37:15.000Z
/** * Odd Even Linked List * * cpselvis(cpselvis@gmail.com) * September 9th, 2016 */ #include<iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* oddEvenList(ListNode* head) { if (head == NULL) { ...
20.380952
73
0.556075
white-shark
9e99e0b3e76b2e0f6d48503780d3385ffd4ec26b
909
cc
C++
Projects/Particles/Main.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Projects/Particles/Main.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Projects/Particles/Main.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
/** * @brief Compute Particles Scene */ // ******************************************************************************** // Including files // ******************************************************************************** #include <memory> #include "App.h" #include "Scene/SceneLoop.h" #include "SceneParticle...
21.139535
83
0.429043
mnrn
9e9a3e2b38069d84c337912e00255a6c972e7b40
10,846
cpp
C++
exe/fs123p7/exportd_cc_rules.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
exe/fs123p7/exportd_cc_rules.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
exe/fs123p7/exportd_cc_rules.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#include "exportd_cc_rules.hpp" #include <core123/json.hpp> #include <core123/fdstream.hpp> #include <core123/unused.hpp> #include <core123/autoclosers.hpp> #include <core123/sew.hpp> #include <core123/scoped_nanotimer.hpp> #include <core123/diag.hpp> #include <core123/pathutils.hpp> #include <core123/stats.hpp> using...
40.621723
141
0.626775
DEShawResearch
9e9a450b4c778fd56f50398af5d0c6099e31f48f
3,961
inl
C++
src/include/cjm/numerics/numerics_configuration.inl
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
2
2021-04-18T07:35:56.000Z
2021-04-23T07:37:58.000Z
src/include/cjm/numerics/numerics_configuration.inl
cpsusie/Int128
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
29
2020-12-18T00:50:36.000Z
2021-03-22T21:35:18.000Z
src/include/cjm/numerics/numerics_configuration.inl
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
null
null
null
// Copyright © 2020-2021 CJM Screws, 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, publish, dis...
36.33945
150
0.757889
cpsusie
9e9b95bc9d5a9dc4ce9b643caa788df0a5975373
79,021
cpp
C++
src/GUST-Graphics/Renderer.cpp
ReeCocho/GUST-Engine-3
f75ce52f8384a2e6cd7c788286c174ee7bde96f1
[ "MIT" ]
1
2018-01-01T23:24:03.000Z
2018-01-01T23:24:03.000Z
src/GUST-Graphics/Renderer.cpp
ReeCocho/GUST-Engine-3
f75ce52f8384a2e6cd7c788286c174ee7bde96f1
[ "MIT" ]
null
null
null
src/GUST-Graphics/Renderer.cpp
ReeCocho/GUST-Engine-3
f75ce52f8384a2e6cd7c788286c174ee7bde96f1
[ "MIT" ]
null
null
null
#include <FileIO.hpp> #include <iostream> #include "Renderer.hpp" namespace gust { void Renderer::startup ( Graphics* graphics, ResourceAllocator<Mesh>* meshAllocator, ResourceAllocator<Texture>* textureAllocator, size_t threadCount ) { m_graphics = graphics; m_threadPool = std::make_unique<ThreadPool>...
37.700859
178
0.758583
ReeCocho
9e9be1fdb4251a53e47d673e826f4a8c369831ce
8,093
hpp
C++
solver/include/decpomdp/discrete/DiscreteSpaces.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
9
2020-10-24T06:14:08.000Z
2021-07-13T13:08:30.000Z
solver/include/decpomdp/discrete/DiscreteSpaces.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
solver/include/decpomdp/discrete/DiscreteSpaces.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
#ifndef DISCRETESPACES_HPP #define DISCRETESPACES_HPP #include <algorithm> #include <iterator> #include <map> #include <vector> #include "DiscreteElements.hpp" #include "utilities/IndexSpace.hpp" namespace npgi { template <typename Index, typename Element> class DiscreteSpace { friend class const_iterator; public:...
29.753676
80
0.666625
laurimi
9e9cacd9464b864e979f045e027525b7eb822418
1,406
hpp
C++
doc/quickbook/oglplus/quickref/enums/debug_output_type_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/debug_output_type_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/debug_output_type_class.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
// File doc/quickbook/oglplus/quickref/enums/debug_output_type_class.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/debug_output_type.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2015 Matus Chochlik. // Distributed under ...
27.038462
73
0.785917
Extrunder
9e9e033dbff35485204881afd7609f5177507318
2,873
cpp
C++
p4.cpp
vladutmargineanu/Graphs
2d5fc20a94d1e6f9a434b0c0d2821e9dbab2dcaf
[ "MIT" ]
null
null
null
p4.cpp
vladutmargineanu/Graphs
2d5fc20a94d1e6f9a434b0c0d2821e9dbab2dcaf
[ "MIT" ]
null
null
null
p4.cpp
vladutmargineanu/Graphs
2d5fc20a94d1e6f9a434b0c0d2821e9dbab2dcaf
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> using namespace std; template<typename T> class heap { public: heap(): count(0), v() { } bool is_empty() { return count == 0; } void push(const T& t) { v.push_back(t); int index = count; count++; while(index) { if(v[index] < v[(index - 1)/2]...
20.090909
84
0.442047
vladutmargineanu
9ea4cd0486a2d626afa0db6014ba24bc441d8581
7,735
hpp
C++
moe/optimal_learning/cpp/gpp_optimizer_parameters.hpp
mikepsinn/MOE
fdc2e1318d37c89c54a7b7902c12f8f164f517e8
[ "Apache-2.0" ]
null
null
null
moe/optimal_learning/cpp/gpp_optimizer_parameters.hpp
mikepsinn/MOE
fdc2e1318d37c89c54a7b7902c12f8f164f517e8
[ "Apache-2.0" ]
null
null
null
moe/optimal_learning/cpp/gpp_optimizer_parameters.hpp
mikepsinn/MOE
fdc2e1318d37c89c54a7b7902c12f8f164f517e8
[ "Apache-2.0" ]
null
null
null
/*! \file gpp_optimizer_parameters.hpp \rst This file specifies OptimizerParameters structs (e.g., GradientDescent, Newton) for holding values that control the behavior of the optimizers in gpp_optimization.hpp. For example, max step sizes, number of iterations, step size control, etc. are all specified thro...
43.948864
187
0.753458
mikepsinn
9ea9e4333f1fe1d6662544ebba5b635157c265a9
19,234
cpp
C++
src/SharedLibrary/GeneratedCode/SharedLibrary_ShortGrainDropperFeaturizer.cpp
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
15
2019-12-14T07:54:18.000Z
2021-03-14T14:53:28.000Z
src/SharedLibrary/GeneratedCode/SharedLibrary_ShortGrainDropperFeaturizer.cpp
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
30
2019-12-03T20:58:56.000Z
2020-04-21T23:34:39.000Z
src/SharedLibrary/GeneratedCode/SharedLibrary_ShortGrainDropperFeaturizer.cpp
microsoft/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
13
2020-01-23T00:18:47.000Z
2021-10-04T17:46:45.000Z
/* ---------------------------------------------------------------------- */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* Licensed under the MIT License */ /* ---------------------------------------------------------------------- */ #define ...
40.578059
313
0.65587
Bhaskers-Blu-Org2
9eab80dc32e305daacccee883c69fccb3f7a130d
1,124
cpp
C++
BookCode/chapters/07lazzariniBOOKexamples/dft_main.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
9
2018-10-03T19:57:47.000Z
2022-01-08T14:37:24.000Z
BookCode/chapters/07lazzariniBOOKexamples/dft_main.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
null
null
null
BookCode/chapters/07lazzariniBOOKexamples/dft_main.cpp
mike-normal13/Audio_programming_book_code
3d318787d379f232a4edc113b6f7190201084674
[ "MIT" ]
8
2017-11-20T07:52:01.000Z
2022-03-29T02:59:10.000Z
///////////////////////////////////////////// // Spectral processing examples // // (c) V Lazzarini, 2005 // // #include <stdio.h> #include <stdlib.h> #include <math.h> #include <spec.h> #include <sndfile.h> /** simple DFT demonstration program dft filename */ int main(int argc, char *argv[]){ ...
20.436364
59
0.524911
mike-normal13
9ead773f7de5063aed94fa6c04e6db6eb2edf912
13,604
cc
C++
Engine/Source/3rdParty/AssetImporter/AssimpMesh.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
129
2016-05-05T23:34:44.000Z
2022-03-07T20:17:18.000Z
Engine/Source/3rdParty/AssetImporter/AssimpMesh.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
1
2017-05-07T16:09:41.000Z
2017-05-08T15:35:50.000Z
Engine/Source/3rdParty/AssetImporter/AssimpMesh.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
20
2016-02-24T20:40:08.000Z
2022-02-04T23:48:18.000Z
//---------------------------------------------------------------------------- //Yume Engine //Copyright (C) 2015 arkenthera //This program 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 2 of ...
26.211946
99
0.666716
rodrigobmg
9eae3e6261d2baac4f93b0b82eaa0da45f562bd5
4,330
cpp
C++
polympc/tests/solvers/sqp/sqp_test.cpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/tests/solvers/sqp/sqp_test.cpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/tests/solvers/sqp/sqp_test.cpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #define SOLVER_DEBUG #include "solvers/sqp.hpp" using namespace sqp; namespace sqp_test { template <typename _Scalar, int _VAR_SIZE, int _NUM_EQ=0, int _NUM_INEQ=0> struct ProblemBase { enum { VAR_SIZE = _VAR_SIZE, NUM_EQ = _NUM_EQ, NUM_INEQ = _NUM_INEQ, }; ...
26.084337
134
0.575982
alexandreguerradeoliveira
9eb225ce0a7db6ee80034681222495a287a968f2
2,319
cpp
C++
software/tests/sensor/fusion/fusion.cpp
jbarry510/slonav
acebb8481e5623c3548258fe0e92a983618032a3
[ "MIT" ]
null
null
null
software/tests/sensor/fusion/fusion.cpp
jbarry510/slonav
acebb8481e5623c3548258fe0e92a983618032a3
[ "MIT" ]
null
null
null
software/tests/sensor/fusion/fusion.cpp
jbarry510/slonav
acebb8481e5623c3548258fe0e92a983618032a3
[ "MIT" ]
1
2020-11-29T17:22:09.000Z
2020-11-29T17:22:09.000Z
/* @file fusion.h * This file contains the implementation of a Kalman filter for the SLONav system */ //------------------------------------------------------------------------------ #include "fusion.h" //------------------------------------------------------------------------------ Fusion::Fusion() { // Process...
36.234375
96
0.511859
jbarry510
9eb3fd407460f5e8884e50993bda3a44101c4f9c
10,078
cpp
C++
qflow/wavefunctions/pywavefunction.cpp
johanere/qflow
5453cd5c3230ad7f082adf9ec1aea63ab0a4312a
[ "MIT" ]
5
2019-07-24T21:46:24.000Z
2021-06-11T18:18:24.000Z
qflow/wavefunctions/pywavefunction.cpp
johanere/qflow
5453cd5c3230ad7f082adf9ec1aea63ab0a4312a
[ "MIT" ]
22
2019-02-19T10:49:26.000Z
2019-07-18T09:42:13.000Z
qflow/wavefunctions/pywavefunction.cpp
bsamseth/FYS4411
72b879e7978364498c48fc855b5df676c205f211
[ "MIT" ]
2
2020-11-04T15:17:24.000Z
2021-11-03T16:37:38.000Z
#include "dnn.hpp" #include "fixedwavefunction.hpp" #include "hardspherewavefunction.hpp" #include "inputsorter.hpp" #include "jastrowmcmillian.hpp" #include "jastroworion.hpp" #include "jastrowpade.hpp" #include "rbmsymmetricwavefunction.hpp" #include "rbmwavefunction.hpp" #include "simplegaussian.hpp" #include "wavef...
35.237762
116
0.630581
johanere
9eb89a71ac366f3422f0c95b8eebac51ccf311bb
332
cpp
C++
bin/barftest/sem/ErrorDummy.cpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
1
2021-01-16T00:55:45.000Z
2021-01-16T00:55:45.000Z
bin/barftest/sem/ErrorDummy.cpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
null
null
null
bin/barftest/sem/ErrorDummy.cpp
vdods/barf
5c943ddbd6a0a7624645158b0c85994431dde269
[ "Apache-2.0" ]
null
null
null
// 2018.08.30 - Victor Dods #include "barftest/sem/ErrorDummy.hpp" namespace barftest { namespace sem { ErrorDummy *ErrorDummy::cloned () const { return new ErrorDummy(firange()); } void ErrorDummy::print (Log &out) const { out << "ErrorDummy(" << firange() << ')'; } } // end namespace sem } // end namespa...
16.6
45
0.662651
vdods
9ec01dad1bdf440560f80869b2a0153d1d543228
525
hpp
C++
libboost-system/include/boost/cerrno.hpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
4
2021-02-23T11:24:33.000Z
2021-09-11T20:10:46.000Z
libboost-system/include/boost/cerrno.hpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
libboost-system/include/boost/cerrno.hpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
// Boost cerrno.hpp header -------------------------------------------------// // Copyright Beman Dawes 2005. // Use, modification, and distribution is subject to 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) // See librar...
32.8125
80
0.689524
build2-packaging
9ec20311eb0c8b01bd03e99d08534c3b08f58391
992
cpp
C++
tests/tests-iter-pos/test-bool.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
7
2016-08-26T14:20:06.000Z
2022-02-03T21:17:25.000Z
tests/tests-iter-pos/test-bool.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
2
2018-05-29T17:43:37.000Z
2018-05-30T18:38:39.000Z
tests/tests-iter-pos/test-bool.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018-2022 Philippe Proulx <eepp.ca> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <limits> #include <cstring> #include <sstream> #include <iostream> #include <iterator> #include <vector> #include <yactfr/ya...
22.545455
93
0.623992
eepp
9ec37ffc49c9bd421a92a72a9e3d41f963781fd0
86
hpp
C++
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
137
2015-06-16T15:55:28.000Z
2022-03-26T06:01:59.000Z
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
381
2015-09-22T15:31:08.000Z
2022-02-14T09:05:23.000Z
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
30
2015-08-06T22:57:51.000Z
2022-03-02T20:30:20.000Z
$TEMPLATE[hbev.all.UPLO.trait_of] AB $TEMPLATE[hbev.all.N.trait_of] AB $TEMPLATE[end]
14.333333
33
0.767442
ljktest
9ec5e59a35f6f5fcb918b9fdd2be23c39c453e5d
1,181
cpp
C++
Light OJ/1211.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
Light OJ/1211.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
Light OJ/1211.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
#include <stdio.h> int main() { int T,n,x1[100],y1[100],z1[100],x2[100],y2[100],z2[100]; int i,j,maxx1,maxy1,maxz1,minx2,miny2,minz2,x,y,z,V; scanf("%d",&T); if(T>100) return 0; for(i=1;i<=T;i++) { scanf("%d",&n); if(n<1 || n>100) return 0; for(j=0;j...
21.089286
81
0.369179
dipta007
9ec74801ccc0bf3691b922607dea77d3a155dac3
1,099
cpp
C++
Training/day1/Defeat the Enemy.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
Training/day1/Defeat the Enemy.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
Training/day1/Defeat the Enemy.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; #define db(x) cout<<(x)<<endl #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ms(x,y) memset(x,y,sizeof x) typedef long long LL; const LL mod=1e9+7,inf=0x3f3f3f3f,maxn=112345; struct node{ int a,b; }a[maxn],b[maxn]; int t,n,m,ans,f,p,s; inline bool cmp(no...
18.948276
60
0.530482
QAQrz
9ec84656beece08bbfda60dd0ca5d9ec47269b8a
596
cpp
C++
solutions/230.kth-smallest-element-in-a-bst.259865536.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/230.kth-smallest-element-in-a-bst.259865536.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/230.kth-smallest-element-in-a-bst.259865536.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { int ans; public: int kthSmallest(TreeNode *root, int k) { search(root, k); return ans; } ...
17.529412
60
0.565436
satu0king
9eca99b1d6f339157753641d3498443872ed88fc
712
cpp
C++
cpp/archivedPrograms/typeHaven/typingHaven.cpp
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
cpp/archivedPrograms/typeHaven/typingHaven.cpp
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
cpp/archivedPrograms/typeHaven/typingHaven.cpp
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> using namespace std; int main() { double numTypedEnvel=0.0; double numTypedPages=0.0; double typedEnvelCharge=0.0; double typedPageCharge=0.0; double totalCost=0.0; cout<<"Enter number of envelopes"<<endl; cin>>numTypedEnvel; cout<<"Enter number of ...
28.48
78
0.691011
wboswall
9ecb4ba15cece53b8948eb3cf2b79e9112c6e4bf
1,197
cpp
C++
uva/mpi.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/mpi.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/mpi.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define M 101 using namespace std; int n, graph[M][M]; bool vis[M]; int main() { cin >> n; for(int i = 1; i < n; i++) { for(int j = 0; j < i; j++) { string cost; int icost; cin >> cost; if(cost == "x") icost =...
22.166667
95
0.416876
bryanoliveira
9ece25dc2b4f58704507f9c2b702473d42dfcb8b
7,405
cc
C++
chrome/browser/sharing/sms/sms_fetch_request_handler.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/sharing/sms/sms_fetch_request_handler.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/sharing/sms/sms_fetch_request_handler.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sharing/sms/sms_fetch_request_handler.h" #include <string> #include "base/android/jni_string.h" #include "base/check.h" #includ...
39.811828
83
0.75233
DamieFC
19b3f12276fa0708fec5b809876f899038e0c9e5
2,477
cpp
C++
data-structure-and-algorithm/03-brute-force-search/ABC128-c-bit.cpp
tetsuzawa/algorithm
556c229c6df8787a118498eab3848b53fb57ebd0
[ "MIT" ]
null
null
null
data-structure-and-algorithm/03-brute-force-search/ABC128-c-bit.cpp
tetsuzawa/algorithm
556c229c6df8787a118498eab3848b53fb57ebd0
[ "MIT" ]
null
null
null
data-structure-and-algorithm/03-brute-force-search/ABC128-c-bit.cpp
tetsuzawa/algorithm
556c229c6df8787a118498eab3848b53fb57ebd0
[ "MIT" ]
null
null
null
// N switches, M bulbs, // 5 switches // bulb[1] 1, 2, 5: odd => // 5 2 1 // (off, off, on) // (off, on, off) // (on, off, off) // (on, on, on) // bulb[2] 2, 3: even => // 2 1 // (on, on) // (off, off) // 5, 4, 3, 2, 1 | res // ------------------ // 0 ...
23.149533
87
0.377069
tetsuzawa
19b8090357bfc50064555a63ea81e10929699981
2,481
cc
C++
clion/C++ClassObjImpl.cc
zuut/cppstarter
78dd5a1f52a1272ad26b57c9b5c06a095f340c99
[ "Apache-2.0" ]
null
null
null
clion/C++ClassObjImpl.cc
zuut/cppstarter
78dd5a1f52a1272ad26b57c9b5c06a095f340c99
[ "Apache-2.0" ]
null
null
null
clion/C++ClassObjImpl.cc
zuut/cppstarter
78dd5a1f52a1272ad26b57c9b5c06a095f340c99
[ "Apache-2.0" ]
null
null
null
#parse("C++TemplateVariables.template") #[[#define]]# ${API_EXTERN} #[[#include]]# "${Header_Filename}" #[[#include]]# <string> #[[#include]]# <iostream> #[[#include]]# <boost/core/demangle.hpp> ${NAMESPACES_OPEN} // this just holds the class fields in a struct to isolate // clients from changes to the class...
23.855769
92
0.500605
zuut
19bd7b5f0699eb5a77d2ef903fb41590a83c769c
861
cpp
C++
Stack/Previous_Greater_Element.cpp
utkarshkanswal/Data-Strucrure-and-Algorithm
5db39daf1403d270dacef06261fbfa62902e05ed
[ "MIT" ]
1
2021-11-02T09:33:55.000Z
2021-11-02T09:33:55.000Z
Stack/Previous_Greater_Element.cpp
utkarshkanswal/Data-Strucrure-and-Algorithm
5db39daf1403d270dacef06261fbfa62902e05ed
[ "MIT" ]
null
null
null
Stack/Previous_Greater_Element.cpp
utkarshkanswal/Data-Strucrure-and-Algorithm
5db39daf1403d270dacef06261fbfa62902e05ed
[ "MIT" ]
null
null
null
/* Name: Utkarsh Kumar Institution: NIT Meghalaya */ #include <bits/stdc++.h> #define mod (1000000007) #define lli long long int #define pf push_front #define pb push_back #define all(v) v.begin(), v.end() #define rall(v) v.rbegin(), v.rend() using namespace std; //Time Complexity: O(n) void print_previous_greater(vect...
22.657895
57
0.554007
utkarshkanswal
19be9d8df571498b388bf7965be33ab3bfd6103c
2,070
cpp
C++
Rev/cpp/revMesh.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
Rev/cpp/revMesh.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
Rev/cpp/revMesh.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
#include "revMesh.h" void revMesh::CreateVertexBufferData() { uint32 vertexCount = static_cast<uint32>(vertices.size()); vertexData.clear(); vertexData.reserve(GetSizeOfBytes() / sizeof(f32) * vertexCount); for (uint32 i = 0; i < vertexCount; ++i) { vertexData.push_back(vertices[i].x); vertexData.push_back(...
29.15493
66
0.69372
YIMonge
19beed590399d3917a95be99e0c713a706114ea9
1,554
cpp
C++
Vandevoorde/Rozdzial 05/5.8-wskazniki-i-indeksy.cpp
antonitomaszewski/Jezyk-C-
596b5f3add6698ffee3a485a727db3b6e3cf5b0a
[ "MIT" ]
null
null
null
Vandevoorde/Rozdzial 05/5.8-wskazniki-i-indeksy.cpp
antonitomaszewski/Jezyk-C-
596b5f3add6698ffee3a485a727db3b6e3cf5b0a
[ "MIT" ]
null
null
null
Vandevoorde/Rozdzial 05/5.8-wskazniki-i-indeksy.cpp
antonitomaszewski/Jezyk-C-
596b5f3add6698ffee3a485a727db3b6e3cf5b0a
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> // Dla clock() #include <stddef.h>// Dla size_t #include <string.h>// Dle memcpy() void kopiuj_ze_wskaznikami(const char *z, char *d_o, size_t n) { for (size_t k = 0; k != n; ++k) *(d_o++) = *(z++); } void kopiuj_z_indeksami(const char *z, char *d_o, size...
29.320755
114
0.519305
antonitomaszewski