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
f962b58c588835cd39b86121b810bf77ce2a3039
5,875
hpp
C++
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/glc3/shader/gx-glc3-shd-shader.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_GLC3_SHADER_SHADER_HPP #define GEAROENIX_GLC3_SHADER_SHADER_HPP #include "../../core/gx-cr-build-configuration.hpp" #ifdef GX_USE_OPENGL_CLASS_3 #include "../../core/gx-cr-static.hpp" #include "../../core/gx-cr-types.hpp" #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "../../gl/gx-gl...
42.883212
168
0.607149
Hossein-Noroozpour
f9631a7b961fb59aa611913a31932529fc234622
610
cpp
C++
cpp/test-catch2/example1b.cpp
emilybache/ShoppingBasket-Design-Ideas
fcf2530b331b7a91eed9ee666b154d2818bfbd18
[ "MIT" ]
1
2021-11-26T05:47:43.000Z
2021-11-26T05:47:43.000Z
cpp/test-catch2/example1b.cpp
emilybache/ShoppingBasket-Design-Ideas
fcf2530b331b7a91eed9ee666b154d2818bfbd18
[ "MIT" ]
null
null
null
cpp/test-catch2/example1b.cpp
emilybache/ShoppingBasket-Design-Ideas
fcf2530b331b7a91eed9ee666b154d2818bfbd18
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include "example1b.h" TEST_CASE ("ShoppingBasket") { SECTION("total over 100 gives five percent discount") { auto itemA = BasketItem("A", Money::fromDollars(10)); auto itemB = BasketItem("B", Money::fromDollars(25)); auto itemC = BasketItem("C", Money::fromDolla...
30.5
69
0.578689
emilybache
f963dd3efeedb483f95ed7f4a52bcc3e7d3f5171
2,680
cpp
C++
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
tests/source/extractor_test.cpp
TheMarlboroMan/japavocards
df1d9922e2a087c6212c4c600796ec35f41432ca
[ "Beerware" ]
null
null
null
#include <iostream> #include <string> #include "../class/app/extractor.cpp" #include "../class/app/lector.cpp" #include "../class/app/datos_bruto.cpp" #include "../class/app/palabra.cpp" #include "../class/app/etiqueta.cpp" #include <class/dnot_parser.h> #include <herramientas/log_base/log_base.h> using namespace App;...
27.070707
135
0.604851
TheMarlboroMan
f9688ebc4e05b8f89ecd8aa53169cdfc280309e0
3,376
cpp
C++
AgentWorlds/SceneDesign/OceanDesignToolkit.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
1
2021-10-04T09:40:26.000Z
2021-10-04T09:40:26.000Z
AgentWorlds/SceneDesign/OceanDesignToolkit.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
null
null
null
AgentWorlds/SceneDesign/OceanDesignToolkit.cpp
chen0040/cpp-ogre-mllab
b85305cd7e95559a178664577c8e858a5b9dd05b
[ "MIT" ]
6
2019-05-05T22:29:55.000Z
2022-01-03T14:18:54.000Z
#include "OceanDesignToolkit.h" #include "../../SceneAssets/HydraxManager.h" #include "../../OSEnvironment/OSEnvironment.h" OceanDesignToolkit::OceanDesignToolkit(const std::string& rootId) : CIWidget(NULL, NULL) { this->initializeComponents(rootId); } OceanDesignToolkit::~OceanDesignToolkit() { if(mEditHeight != ...
28.610169
148
0.753851
chen0040
f96bd30fe5d1f772b7d9c13bbb4f7e10550a021a
1,195
hpp
C++
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
basic_datastructure/AVLtree/AVLTree.hpp
weekieACpper/DataStructre-weekie
9f15d95dd57c02d7d385b151940bbee4f3c2d99b
[ "MIT" ]
null
null
null
/* * @Author: weekie * @Date: 2022-02-11 23:24:25 * @LastEditTime: 2022-02-28 18:18:06 * @LastEditors: weekie * @Description: AVL树的ADT描述 * @FilePath: /datastructure/AVLtree/AVLTree.hpp */ #ifndef __AVLTREE_HPP__ #define __AVLTREE_HPP__ struct TreeNode { TreeNode():leftChild(nullptr),rightChild(nullptr),heigh...
27.159091
90
0.684519
weekieACpper
f97538bc7b51b9944cbf37fb0034d6fe4f6330f8
6,834
cpp
C++
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2019-08-31T08:06:48.000Z
2019-08-31T08:06:48.000Z
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
null
null
null
Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/robot/tmote.cpp
raulest50/MicroGrid_GITCoD
885001242c8e581a6998afb4be2ae1c0b923e9c4
[ "MIT" ]
1
2020-01-07T10:46:23.000Z
2020-01-07T10:46:23.000Z
/** Task for requesting wheel velocities from wheel avr */ double request_wheel_pos_code(int segment, void* t_d) { AODVrcv_Data *d = (AODVrcv_Data *) t_d; MailboxMsg *mailboxmsgin; switch (segment){ case 1: { generic* m; m = new generic; m->t = REQUEST_WHEEL_VEL; REQUEST_WHEEL_VEL_MSG* msg = n...
24.234043
115
0.635353
raulest50
f978c1a5a4f580e0011d2bb642d95289e18d66e8
4,243
cpp
C++
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
13
2020-09-14T07:02:50.000Z
2022-03-31T08:07:33.000Z
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
25
2020-07-11T21:10:18.000Z
2020-11-10T20:32:56.000Z
test/source/io/tsequenceset.cpp
adonmo/meos
123d138f1fda8a65a4e09b5e74d51cfd4e69287e
[ "MIT" ]
1
2020-09-17T14:31:05.000Z
2020-09-17T14:31:05.000Z
#include <catch2/catch.hpp> #include <meos/io/Deserializer.hpp> #include <meos/io/Serializer.hpp> #include <meos/types/temporal/TSequenceSet.hpp> #include <string> #include "../common/matchers.hpp" #include "../common/time_utils.hpp" #include "../common/utils.hpp" using namespace meos; using namespace std; TEMPLATE_...
41.598039
97
0.658968
adonmo
f97f36bb8a05dd893e0cfb14141e602710686dae
2,811
cpp
C++
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Something
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
1
2022-03-29T03:58:06.000Z
2022-03-29T03:58:06.000Z
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Dnp3-with-group0
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
null
null
null
cpp/libs/src/asiopal/TCPServer.cpp
Aditya23456/Dnp3-with-group0
a6e1937228fba865c0bbc9205b998c92bd700ed7
[ "Apache-2.0" ]
null
null
null
/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or * more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Green Energy Corp licenses this file to you under the Apache License, * Version 2.0 (the "License"...
23.040984
121
0.723586
Aditya23456
f981660165717b0d4d687ada8b3dd49f58a7b8b4
5,049
cc
C++
paddle/fluid/operators/dirichlet_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
paddle/fluid/operators/dirichlet_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2022-01-28T07:23:22.000Z
2022-01-28T07:23:22.000Z
paddle/fluid/operators/dirichlet_op.cc
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2021-09-24T11:23:36.000Z
2021-09-24T11:23:36.000Z
// Copyright (c) 2021 PaddlePaddle 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...
40.071429
78
0.670826
zmxdream
f98206a74d7c77865d891e7a7ecbdcb1d970a534
1,335
hpp
C++
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
9
2016-11-22T13:55:40.000Z
2022-03-17T14:24:18.000Z
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
1
2019-12-05T07:23:25.000Z
2020-03-16T08:39:44.000Z
src/gsw.hpp
adomasven/gsw13
488459270e54113f791bf3c6a0e2134a3f5e9a88
[ "MIT" ]
4
2018-06-12T04:41:07.000Z
2021-11-03T12:11:35.000Z
#pragma once #include "utils.hpp" #include "gaussSampler.hpp" #define sigma 3.8 #define sigma6 (int)(sigma*6) class GSW { public: BigInt quotient; // q/sigma6 > 8(N + 1)^L unsigned int n, n_1; // n >= log(q/sigma)(k+110)/7.2 unsigned int m; // m = O(n log q) unsigned int l; // l = floor(log q) + 1 ...
26.7
85
0.670412
adomasven
f98517efaf0dd1e71ca66a132f2d5275c82c4614
5,163
cpp
C++
test/l10n/IcuTranslatorTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
1
2020-09-30T06:41:47.000Z
2020-09-30T06:41:47.000Z
test/l10n/IcuTranslatorTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
null
null
null
test/l10n/IcuTranslatorTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
null
null
null
#include <unicode/uvernum.h> #include <cppunit/extensions/HelperMacros.h> #include <Poco/Timestamp.h> #include <Poco/DateTime.h> #include "cppunit/BetterAssert.h" #include "l10n/IcuLocaleImpl.h" #include "l10n/IcuTranslator.h" #include "l10n/Locale.h" using namespace std; using namespace Poco; namespace BeeeOn { ...
30.550296
89
0.75828
tacr-iotcloud
f9898e3d60ae75a4aa64f6b64ac43d83a67f481a
2,779
cpp
C++
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
warsztaty-finalowe-2019/rejected/wiezowce-dzakarty.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; const I inf = 1e18; typedef pair<I, I> II; typedef double F; template <typename T> ostream &operator<<(ostream &o, const vector<T> &v) { o << "["; for (auto i = v.begin(); i != v.end(); ++i) { o << *i; if (i != prev(v.end())) o << ", "; ...
22.41129
77
0.441526
Aleshkev
f98999b5a0dbd37be530cfa055e5ff3db15f3ef3
901
cpp
C++
Dataset/Leetcode/train/4/726.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/4/726.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/4/726.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: double XXX(vector<int>& nums1, vector<int>& nums2) { if (nums1.empty() && nums2.empty()) return 0.0; vector<int> resvec; int len1 = nums1.size(); int len2 = nums2.size(); int i = 0; int j = 0; while (i < len1 && j < len2...
21.452381
71
0.408435
kkcookies99
f989d0be266c15c94ea514e4e41d0f49a6739bd4
3,775
cpp
C++
LeetCode/C++/General/Medium/PartitionLabels/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Medium/PartitionLabels/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Medium/PartitionLabels/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
#include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> using namespace std; class Solution { public: std::vector<int> partitionLabels(std::string S) { vector<int> result; int n=S.size(); ...
37.009804
170
0.438146
busebd12
f98c7b32b8fc9c618e416c13ab961904d7daaa58
55,881
cc
C++
media/audio/win/audio_low_latency_output_win.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
media/audio/win/audio_low_latency_output_win.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
media/audio/win/audio_low_latency_output_win.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "media/audio/win/audio_low_latency_output_win.h" #include <Functiondiscoverykeys_devpkey.h> #include "base/command_line.h" #include "base/l...
39.631915
87
0.668993
quisquous
f98e0a3128c306d55a6d97920ada4995a182df1b
10,403
cpp
C++
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
src/protocols/NbIoTClient.cpp
tsi5/dt-arduino-iot-agent
91b6c63b9f2de9f9cd8ac6408d65613769455d8e
[ "MIT" ]
null
null
null
/** * @file NbiotClient.cpp * @description Abstracted Network interface of an NB-IoT Modem. * @author mm1 Technology GmbH * @copyright (C) 2017-2018 Deutsche Telekom AG- all rights reserved. * @licence MIT licence * * Code pieces based on Arduino WiFiClient and GIMASI TUINO example project(s): * Company: http...
22.468683
125
0.693165
tsi5
f993dab3d081da54019c85b7586d050757c2aeed
3,606
cpp
C++
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
17
2021-03-12T18:19:07.000Z
2021-08-06T21:25:35.000Z
Engine/Graphics/GL/GLFramebuffer.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
#include "GLFramebuffer.h" #include "GLTexture2D.h" #include <iostream> namespace Engine { GLFramebuffer::GLFramebuffer(const FramebufferDesc &desc) { width = desc.width; height = desc.height; useColor = desc.colorTextures.size() > 0; useDepth = desc.useDepth; colorOnly = useColor && !useDepth; writes...
22.122699
125
0.698835
guimeixen
f9949649440e24b8481b68d528970f8e90286460
2,674
cpp
C++
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
1
2019-06-30T04:21:08.000Z
2019-06-30T04:21:08.000Z
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
null
null
null
car/src/main.cpp
ian7/automation
3fa4bc456c58d5c1c4d24050ff9f58a41fb6143c
[ "MIT" ]
null
null
null
#include <Servo.h> //#include <MQTTClient.h> #include <ESP8266WiFi.h> #include <wifi-password.h> #include <PubSubClient.h> WiFiClient net; PubSubClient client(net); //MQTTClient client; Servo servo; void publish( const String &topic, const String &payload){ unsigned char topicChars[100]; unsigned...
20.412214
76
0.586387
ian7
f999923cdcb904572d274db7830e5d07966fec65
1,461
cpp
C++
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
1
2021-11-23T13:57:03.000Z
2021-11-23T13:57:03.000Z
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
null
null
null
uiSamusEditorClass.cpp
interdpth/DoubleHelix-2
d494cc7957b7470b12779d2cde14b13285fa6396
[ "MIT" ]
1
2021-11-12T22:47:58.000Z
2021-11-12T22:47:58.000Z
#include "uiSamusEditorClass.h" SamusEditorClass::SamusEditorClass() { SamusEditorClass::hwndSamusEditor = NULL; hwndSamusSpritePreview = NULL; SpritePreview = new SpriteObject(); } SamusEditorClass::~SamusEditorClass() { delete SpritePreview; } HWND SamusEditorClass::hwndSamusEditor; int SamusEditorClass::Se...
24.35
124
0.698152
interdpth
f99bac824a04f3f81c082047b29090259e4ff352
1,255
hpp
C++
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
multimodalmaze/domains/mazeDomain/simulator/libfastsim/src/light_sensor.hpp
alexander-hagg/phdexperiments
6506c8f2a438c67ca7c808df8715711fde73dfce
[ "MIT" ]
null
null
null
#ifndef FASTSIM_LIGHT_SENSOR_HPP_ #define FASTSIM_LIGHT_SENSOR_HPP_ #include <boost/shared_ptr.hpp> #include "posture.hpp" #include "map.hpp" namespace fastsim { /// detect an colored illuminated switch in the given direction /// (angle) and within the angular range. There is no range limit. /// light sensors D...
27.282609
70
0.654183
alexander-hagg
f9a2c1add8fbf347cd56216836fee0ea27dbd346
12,138
cc
C++
chrome/browser/nacl_host/pnacl_translation_cache.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
chrome/browser/nacl_host/pnacl_translation_cache.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/nacl_host/pnacl_translation_cache.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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/nacl_host/pnacl_translation_cache.h" #include <string> #include "base/files/file_path.h" #include "base/logging.h" #include "ba...
31.445596
80
0.631653
pozdnyakov
f9a55120bc6ec6c6ae209f82e118927f46516179
1,685
cpp
C++
src/third_party/mozjs/extract/js/src/vm/ProfilingStack.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/vm/ProfilingStack.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/vm/ProfilingStack.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
30.089286
76
0.708605
benety
390003e0d62e9bcd1b06bc2c06a1e689e01e9083
7,732
cpp
C++
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
games/2048/2048.cpp
Lenzebo/mcts_solver
c434a3024fb7b37ef9e7a4fb12985fb89110a350
[ "MIT" ]
null
null
null
#include "2048.h" namespace g2048 { std::ostream& G2048State::writeToStream(std::ostream& stream) const // NOLINT(readability-identifier-naming) { stream << board(); return mcts::State<G2048State>::writeToStream(stream); } bool G2048State::empty(size_t x, size_t y) const { auto value = 1 << board(x, y); ...
28.958801
118
0.547206
Lenzebo
390021641497dbcdbd539802a58131b30938b2f4
1,392
cpp
C++
algolib/algorithms_cpp/algo/test/hashtable_test.cpp
tavaresdong/algorithms
92e763e7836436a5573d0a558b8e43c75b8997ba
[ "MIT" ]
null
null
null
algolib/algorithms_cpp/algo/test/hashtable_test.cpp
tavaresdong/algorithms
92e763e7836436a5573d0a558b8e43c75b8997ba
[ "MIT" ]
null
null
null
algolib/algorithms_cpp/algo/test/hashtable_test.cpp
tavaresdong/algorithms
92e763e7836436a5573d0a558b8e43c75b8997ba
[ "MIT" ]
null
null
null
#include "hashtable_test.h" #include <functional> #include <iostream> namespace algo { void test_hashtable() { HashTable<int, int, std::identity<int>, std::identity<int>, std::equal_to<int> > iht(50, std::identity<int>(), std::equal_to<int>()); ...
26.264151
62
0.436063
tavaresdong
39013fa1535bcf51ce6f841f810e6c9881b13c04
707
hpp
C++
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/__helper_attributes__v1_alttypeAttribute.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE namespace vc_attributes { namespace helper_attributes { template<> struct v1_alttypeAttribute ...
25.25
108
0.502122
lemkova
3906ae1d097bf87f607672a4db5162b8ec059842
568
cc
C++
net/base/x509_certificate_nss.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
1
2016-05-08T15:35:17.000Z
2016-05-08T15:35:17.000Z
net/base/x509_certificate_nss.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
net/base/x509_certificate_nss.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2008 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 "net/base/x509_certificate.h" #include "base/logging.h" namespace net { // TODO(port): finish implementing. // At the moment, all t...
25.818182
77
0.723592
bluebellzhy
3907a6980e6da31cc7cd443612531a8548744142
566
cpp
C++
Classes/Character/Skill/Flash.cpp
HoangTrongMinhDuc/JMOK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
1
2019-07-11T08:06:06.000Z
2019-07-11T08:06:06.000Z
Classes/Character/Skill/Flash.cpp
HoangTrongMinhDuc/JOMK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
null
null
null
Classes/Character/Skill/Flash.cpp
HoangTrongMinhDuc/JOMK-Game
bd06a8dc166805de0709c61b4acdfcd89b9b3ff8
[ "MIT" ]
1
2021-09-13T12:00:12.000Z
2021-09-13T12:00:12.000Z
#include "Flash.h" Flash::Flash(const rapidjson::GenericValue < rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator < rapidjson::CrtAllocator >> *attribute) : Skill(attribute) { auto times = (*attribute)["Attribute"]["BuffSpeedTime"].GetArray(); for (auto i = 0; i < times.Size(); i++) m_buffSpeedTimes.push_bac...
23.583333
98
0.694346
HoangTrongMinhDuc
390e17505f5f68e50831c9b3588e874e958a0b2f
449
cpp
C++
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
Hackerrank/Hourrank 25/A.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int sumOfDigitsOfN(int n){ int sum = 0; while(n){ sum += (n % 10); n /= 10; } return sum; } int main(void){ int testcases, n, x, sumOfDigits; scanf("%d", &testcases); while(testcases--){ sumOfDigits = 0; scanf("%d", &n); while(n --){ ...
16.035714
39
0.532294
itsmevanessi
390f9496f72b5fd4c8acbf4fa85134a035ae5136
1,399
hpp
C++
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
1,009
2015-05-28T12:34:39.000Z
2022-03-30T14:10:18.000Z
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
574
2016-03-23T15:35:56.000Z
2022-03-31T07:11:03.000Z
unittests/general/Several/bin/firebird/include/firebird/impl/boost/preprocessor/control/iif.hpp
jiemurat/delphimvcframework
6bfa63b85a2e4ce3ba03fc4df11d2ed654021e54
[ "Apache-2.0" ]
377
2015-05-28T16:29:21.000Z
2022-03-21T18:36:12.000Z
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
39.971429
90
0.558971
jiemurat
3916e3eb4faf1273483e63975919ae69dc0693f6
2,200
cc
C++
entropySwitching/es-event.cc
cn-uofbasel/entropy-switching-ns3
bbc7c5abb463f57d8f0abdde281a285fa8a284e6
[ "BSD-3-Clause" ]
1
2020-07-16T05:56:10.000Z
2020-07-16T05:56:10.000Z
entropySwitching/es-event.cc
cn-uofbasel/entropy-switching-ns3
bbc7c5abb463f57d8f0abdde281a285fa8a284e6
[ "BSD-3-Clause" ]
null
null
null
entropySwitching/es-event.cc
cn-uofbasel/entropy-switching-ns3
bbc7c5abb463f57d8f0abdde281a285fa8a284e6
[ "BSD-3-Clause" ]
1
2020-06-25T16:08:52.000Z
2020-06-25T16:08:52.000Z
#include "es-event.h" #include "sha3.h" #include <iostream> #include <string> namespace es { Event::Event(std::string feedId, ulong seqNo, std::vector<u_char> verif1, std::vector<u_char> &payload) { this->payload = payload; uint8_t verif1_hash[32]; sha3_HashBuffer(256, SHA3_FLAGS_KECCAK,...
35.483871
131
0.639545
cn-uofbasel
3919f1d11f6e791b805d4ebde68ae709a253a690
2,692
cc
C++
components/payments/content/android/payment_credential_enrollment_bridge_android.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
components/payments/content/android/payment_credential_enrollment_bridge_android.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
components/payments/content/android/payment_credential_enrollment_bridge_android.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 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 "components/payments/content/android/payment_credential_enrollment_bridge_android.h" #include <jni.h> #include "base/android/jni_android.h" #in...
33.65
105
0.780461
DamieFC
392209b4255ab301e3a86595f36bfd8988a2a69a
305
cpp
C++
Puzzles/01_using.cpp
egaburov/codevault
1cad07aba42628a014bd91ad07d66f105614309c
[ "Apache-2.0" ]
null
null
null
Puzzles/01_using.cpp
egaburov/codevault
1cad07aba42628a014bd91ad07d66f105614309c
[ "Apache-2.0" ]
null
null
null
Puzzles/01_using.cpp
egaburov/codevault
1cad07aba42628a014bd91ad07d66f105614309c
[ "Apache-2.0" ]
null
null
null
#include <iostream> int main() { #ifndef PART2 using namespace std; #else using std::cout; using std::endl; #endif cout << "Hello, puzzling world!" << endl; int cout; cout = 10; std::cout << "cout = " << cout << endl; std::cout << "cout << 5 = " << (cout << 5) << endl; return 0; }
14.52381
54
0.554098
egaburov
3924056ad631b4acd0cd1e64fd8afe2c77aefdf5
1,091
cpp
C++
holdem/test/LYHoldemTrunk_tests.cpp
caiqingfeng/libpoker
a2c60884fc5c8e31455fb39e432c49e0df55956b
[ "Apache-2.0" ]
1
2021-04-20T06:22:30.000Z
2021-04-20T06:22:30.000Z
holdem/test/LYHoldemTrunk_tests.cpp
caiqingfeng/libpoker
a2c60884fc5c8e31455fb39e432c49e0df55956b
[ "Apache-2.0" ]
null
null
null
holdem/test/LYHoldemTrunk_tests.cpp
caiqingfeng/libpoker
a2c60884fc5c8e31455fb39e432c49e0df55956b
[ "Apache-2.0" ]
2
2020-10-29T08:21:22.000Z
2020-12-02T06:40:18.000Z
/* * LYHoldemTrunk_tests.cpp * * Created on: 2013-7-5 * Author: caiqingfeng */ #include "src/LYHoldemTrunk.h" #include "src/LYHoldemTable.h" //#include "common/src/my_log.h" #include <gtest/gtest.h> #include <string> using std::string; class LYHoldemTrunk_tests : public ::testing::Test { protected: v...
21.392157
105
0.672777
caiqingfeng
392495d446dd59baed42e16d410910fa23022a25
4,144
hpp
C++
export/output_handler.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
1
2019-11-08T03:15:56.000Z
2019-11-08T03:15:56.000Z
export/output_handler.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
null
null
null
export/output_handler.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
1
2019-11-08T03:15:56.000Z
2019-11-08T03:15:56.000Z
#pragma once #include <boost/assert.hpp> #include <boost/lexical_cast.hpp> #include "base/buffered_output_array.hpp" #include "base/coeff_array.hpp" #include "export/hdf_writer.hpp" #include "spectral/macroscopic_quantities.hpp" #include "spectral/polar_to_nodal.hpp" class OutputHandler { private: template <int ...
27.812081
97
0.611969
simonpp
3924d5bdfcea96cb6837e1da1f4e4bdcac842c54
15,939
cpp
C++
shell/cpls/inetcpl/util.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/cpls/inetcpl/util.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/cpls/inetcpl/util.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//* Microsoft Windows ** //* Copyright(c) Microsoft Corp., 1994 ** //********************************************************************* // // UTIL.C - common utility functions // // HISTORY: // // 12/21/94 jeremys ...
31.878
115
0.50618
npocmaka
3929ea94f6656bd60f5e0ba71183fd5b9ba13ec4
2,023
cpp
C++
Problems/StringManipulation.cpp
SimpleTechTalks/SimpleTechTalks
eefdb4cffc955f43535f4054d1558978ae0088e1
[ "MIT" ]
null
null
null
Problems/StringManipulation.cpp
SimpleTechTalks/SimpleTechTalks
eefdb4cffc955f43535f4054d1558978ae0088e1
[ "MIT" ]
null
null
null
Problems/StringManipulation.cpp
SimpleTechTalks/SimpleTechTalks
eefdb4cffc955f43535f4054d1558978ae0088e1
[ "MIT" ]
null
null
null
/******************************************************************************** * * Find Minimum number of operations required to convert string1 to string2. * Only insert and delete character operations are allowed. * ********************************************************************************/ #include ...
25.2875
83
0.500741
SimpleTechTalks
392a772a9c0797b0bca9c9921c006396f93d22e9
796
hpp
C++
src/Scene.hpp
i-yam-jeremy/path-tracer
21a44a2fb4867bc1b678e26f1884d2ff0d1ca5b3
[ "MIT" ]
null
null
null
src/Scene.hpp
i-yam-jeremy/path-tracer
21a44a2fb4867bc1b678e26f1884d2ff0d1ca5b3
[ "MIT" ]
null
null
null
src/Scene.hpp
i-yam-jeremy/path-tracer
21a44a2fb4867bc1b678e26f1884d2ff0d1ca5b3
[ "MIT" ]
null
null
null
// // Scene.hpp // Path Tracer // // Created by Jeremy Berchtold on 12/8/19. // Copyright © 2019 Jeremy Berchtold. All rights reserved. // #ifndef Scene_hpp #define Scene_hpp #include <vector> #include <string> #include <memory> #include "Object.hpp" /* A 3D scene containing objects and path tracer settings. ...
18.952381
64
0.650754
i-yam-jeremy
392b2fb33e3a5be846ecc071b3cfb99d05c11ae8
469
cpp
C++
hackerrank/c-tutorial-stringstream/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
1
2021-04-25T21:58:57.000Z
2021-04-25T21:58:57.000Z
hackerrank/c-tutorial-stringstream/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
hackerrank/c-tutorial-stringstream/main.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
#include <sstream> #include <vector> #include <iostream> using namespace std; vector<int> parseInts(string str) { vector<int> ans; stringstream ss(str); char drop; while (!ss.eof()) { int next; ss >> next; ans.push_back(next); ss >> drop; } return ans; } int main() { string str; cin ...
14.212121
43
0.577825
Yash-Singh1
392bad9968b7b3e5042883a4263c61a0a1caff31
2,560
cpp
C++
random_walk/apps/node2vec.cpp
shixuansun/ThunderRW
960bac187d797d5141f61d748e3f3b15c76e8991
[ "MIT" ]
20
2021-05-05T13:08:29.000Z
2022-03-30T22:33:12.000Z
random_walk/apps/node2vec.cpp
shixuansun/ThunderRW
960bac187d797d5141f61d748e3f3b15c76e8991
[ "MIT" ]
null
null
null
random_walk/apps/node2vec.cpp
shixuansun/ThunderRW
960bac187d797d5141f61d748e3f3b15c76e8991
[ "MIT" ]
2
2021-09-03T14:06:04.000Z
2021-10-02T18:40:53.000Z
// // Created by Shixuan Sun on 11/5/20. // #include "creeper_main.h" HyperParameter g_para = {ExecutionMode::Dynamic, SamplingMethod::MaxWeightRejectionSampling, 0, {nullptr, 0}}; struct Node2Vec { int l_; double p_; double q_; double max_; Graph* g_; Node2Vec() {} Node2Vec(int l, doub...
23.925234
110
0.555078
shixuansun
392d035e4eacfc802fdd0b3c6c98823fa9cb55f5
12,537
cpp
C++
Common/C++/Helpers/CSR_OpenGLHelper.cpp
Jeanmilost/CompactStar
1c1a416f3abddbe4690e4dfa537f748c31412256
[ "MIT" ]
4
2019-12-20T00:29:45.000Z
2022-03-10T10:09:43.000Z
Common/C++/Helpers/CSR_OpenGLHelper.cpp
Jeanmilost/CompactStar
1c1a416f3abddbe4690e4dfa537f748c31412256
[ "MIT" ]
null
null
null
Common/C++/Helpers/CSR_OpenGLHelper.cpp
Jeanmilost/CompactStar
1c1a416f3abddbe4690e4dfa537f748c31412256
[ "MIT" ]
3
2020-02-10T15:18:15.000Z
2022-01-31T06:28:23.000Z
/**************************************************************************** * ==> CSR_OpenGLHelper ----------------------------------------------------* **************************************************************************** * Description : This module provides an helper class for OpenGL * * D...
32.311856
132
0.534737
Jeanmilost
392dc469b9cfbc3279154ee1b903dd9d84afd062
1,289
cc
C++
common/clock_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
179
2020-03-30T20:30:49.000Z
2022-03-31T04:47:55.000Z
common/clock_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
53
2020-08-31T15:14:30.000Z
2022-03-30T21:28:36.000Z
common/clock_test.cc
sgorse12/cloud-spanner-emulator
13ebb6d42867bfbc80224b4a74a896b683ae4555
[ "Apache-2.0" ]
26
2020-04-02T04:05:58.000Z
2022-02-22T12:05:55.000Z
// // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
25.27451
75
0.72692
sgorse12
392dea0213587683dc1a592a19996a6659ea79a6
2,769
cpp
C++
modules/task_1/voronin_a_multi_scalar/main.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
1
2020-10-30T13:49:58.000Z
2020-10-30T13:49:58.000Z
modules/task_1/voronin_a_multi_scalar/main.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
2
2020-11-14T18:00:55.000Z
2020-11-19T16:12:50.000Z
modules/task_1/voronin_a_multi_scalar/main.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
1
2020-10-14T19:37:21.000Z
2020-10-14T19:37:21.000Z
// Copyright 2020 Voronin Aleksey #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <vector> #include "./multi_scalar.h" TEST(Parallel_Operations_MPI, Test_Scalar) { int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); std::vector<int> global_vec, second_global_vec; const int count_size_ve...
31.11236
93
0.724449
ImKonstant
3930f01f3de7495e56250bd82d5d917a3f6976ab
435
cpp
C++
Problems/240. Search a 2D Matrix II/Test.cpp
DanielDFY/LeetCode
5e39e3168db368617ac2f4509886f32cde5bd000
[ "MIT" ]
null
null
null
Problems/240. Search a 2D Matrix II/Test.cpp
DanielDFY/LeetCode
5e39e3168db368617ac2f4509886f32cde5bd000
[ "MIT" ]
null
null
null
Problems/240. Search a 2D Matrix II/Test.cpp
DanielDFY/LeetCode
5e39e3168db368617ac2f4509886f32cde5bd000
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "../../Utils/Cacth/single_include/catch2/catch.hpp" #include "solution.h" TEST_CASE("Search a 2D Matrix II") { Solution s; SECTION("normal input") { vector<vector<int>> matrix{ {1, 4, 7, 11, 15}, {2, 5, 8, 12, 19}, {3, 6, 9, 16, 22}, {10, 13, 14, 17, 24}, {18, 2...
19.772727
60
0.595402
DanielDFY
393125001c7d34b4273e6fc167d0200adb3f9718
250
cpp
C++
000/ISN/test_cpp/test-build/main.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
000/ISN/test_cpp/test-build/main.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
000/ISN/test_cpp/test-build/main.cpp
Tehcam/Studies
69477a211d8c686473b171ad2fa4298ead2ee60d
[ "MIT" ]
null
null
null
/**********************************************/ // Sprod-CMachet // Main // Description /**********************************************/ #include <iostream> int main(){ std::cout << "Hello world !" << std::endl; return 0; } // end // Main
16.666667
48
0.348
Tehcam
393230aaba37636bb1ebe1f192eff6b8cd71ec0a
2,122
cpp
C++
TLE2000/915c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
TLE2000/915c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
TLE2000/915c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define LL long long #define PII pair<int, int> #define VI vector<int> #define PB push_back #define PQ priority_queue #define MP make_pair #define F first #define S second #define MOD 1000000007 #define N6 1000006 #define N5 100005 #define N4 10004 #define N3 1003 #define PI 3.1415926535897...
20.018868
45
0.409991
Peppa-Peddler
39328d6f22301ef171f033e9f96aebd9ba602258
5,900
cpp
C++
eigen.cpp
jefftrull/CktSimLightningTalk
3eb582da43149c5efa8930fc0576f025cb7c72fc
[ "MIT" ]
3
2015-01-04T10:52:35.000Z
2019-03-03T00:49:12.000Z
eigen.cpp
jefftrull/CktSimLightningTalk
3eb582da43149c5efa8930fc0576f025cb7c72fc
[ "MIT" ]
null
null
null
eigen.cpp
jefftrull/CktSimLightningTalk
3eb582da43149c5efa8930fc0576f025cb7c72fc
[ "MIT" ]
null
null
null
// A numerically integrated implementation of the circuit described in // "Rolling Your Own Circuit Simulator with Eigen and Boost.ODEInt" // using Eigen to store and manipulate circuit values // Author: Jeff Trull <edaskel@att.net> /* Copyright (c) 2014 Jeffrey E. Trull Permission is hereby granted, free of charge, ...
40.972222
94
0.638644
jefftrull
393676d32f988f298851c967d1aaa256d43ed1ed
1,002
cpp
C++
Video/ScreenCapture/ScreenCapture.cpp
threedeyes/haiku_media_addons
4efbbbf5d35949748f4e6fc1b79b7f4e854751d6
[ "MIT" ]
2
2022-01-17T21:24:25.000Z
2022-01-18T03:30:50.000Z
Video/ScreenCapture/ScreenCapture.cpp
threedeyes/haiku_media_addons
4efbbbf5d35949748f4e6fc1b79b7f4e854751d6
[ "MIT" ]
null
null
null
Video/ScreenCapture/ScreenCapture.cpp
threedeyes/haiku_media_addons
4efbbbf5d35949748f4e6fc1b79b7f4e854751d6
[ "MIT" ]
null
null
null
/* * Copyright 2021, Gerasim Troeglazov (3dEyes**), 3dEyes@gmail.com. * All rights reserved. * Distributed under the terms of the MIT License. */ #include "ScreenCapture.h" ScreenCapture::ScreenCapture(BScreen *screen) : BDirectWindow(BRect(-2, -2, -1, -1), "FakeDirectWindow", B_NO_BORDER_WINDOW_LOOK, B_NORMAL...
22.266667
67
0.736527
threedeyes
3938480a46fbabc224659c1d76fe309fd9f8e745
5,542
hpp
C++
src/sip-0x/Transaction.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2021-06-03T15:56:32.000Z
2021-06-03T15:56:32.000Z
src/sip-0x/Transaction.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
1
2015-08-05T05:51:49.000Z
2015-08-05T05:51:49.000Z
src/sip-0x/Transaction.hpp
zanfire/sip-0x
de38b3ff782d2a63b69d7f785e2bd9ce7674abd5
[ "Apache-2.0" ]
null
null
null
#if !defined(SIP0X_LOGIC_TRANSACTION_HPP__) #define SIP0X_LOGIC_TRANSACTION_HPP__ //! //! Copyright 2014-2015 Matteo Valdina //! //! 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 //! //! ...
36.946667
125
0.677373
zanfire
39391c73eacfe456824b5c6962b28f8cb6579e66
991
cpp
C++
liven/viewer.cpp
ivme/animated_algebra
eee6e7198af7236576c3aa7e16a9f229e101aa7f
[ "MIT" ]
null
null
null
liven/viewer.cpp
ivme/animated_algebra
eee6e7198af7236576c3aa7e16a9f229e101aa7f
[ "MIT" ]
null
null
null
liven/viewer.cpp
ivme/animated_algebra
eee6e7198af7236576c3aa7e16a9f229e101aa7f
[ "MIT" ]
null
null
null
#include "viewer.h" #include "image.h" #include "animation.h" #include <iostream> #include <string> // debug using namespace liven; void ascii_viewer::show(const ascii_image &img) { // debug // std::cout<< "ascii_viewer::_show(const ascii_image &img)" << std::endl; // std::cout << "pixel_at(0,0) == " << std::to_st...
22.522727
88
0.652876
ivme
393c9353a9bc19783550766d42f87c33fc8ad319
4,328
cpp
C++
qubus/src/performance_models/simple_statistical_performance_model.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/performance_models/simple_statistical_performance_model.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/performance_models/simple_statistical_performance_model.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#include <hpx/config.hpp> #include <qubus/performance_models/simple_statistical_performance_model.hpp> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/count.hpp> #include <boost/accumulators/statistics/error_of.hpp> #include <boost/accumulators/statistics/error_of_mean.hpp> #inc...
28.662252
104
0.69085
qubusproject
393c9a196fb8403979bb61d4625ae836c6448eae
2,466
cpp
C++
src/main.cpp
sinamoghimi73/Websocket-C-
a88dfa356813ec4f79563ad5a150a2abef76e6f9
[ "MIT" ]
null
null
null
src/main.cpp
sinamoghimi73/Websocket-C-
a88dfa356813ec4f79563ad5a150a2abef76e6f9
[ "MIT" ]
null
null
null
src/main.cpp
sinamoghimi73/Websocket-C-
a88dfa356813ec4f79563ad5a150a2abef76e6f9
[ "MIT" ]
null
null
null
#include <boost/asio/connect.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/ssl/stream.hpp> #include <boost/beast/core.hpp> #include <boost/beast/ssl.hpp> #include <boost/beast/websocket.hpp> #include <boost/beast/websocket/ssl.hpp> #include <chrono> #include <cstdlib> #include <functional> #include <iostre...
32.88
80
0.541768
sinamoghimi73
393cff4cac37901b6db221d6b1acd288ff4d814b
833
cpp
C++
src/main.cpp
DanielNikkari/Tower-Defense-C-
5245afc5ff96d9894c81e3e3fb4761616dceb391
[ "MIT" ]
null
null
null
src/main.cpp
DanielNikkari/Tower-Defense-C-
5245afc5ff96d9894c81e3e3fb4761616dceb391
[ "MIT" ]
null
null
null
src/main.cpp
DanielNikkari/Tower-Defense-C-
5245afc5ff96d9894c81e3e3fb4761616dceb391
[ "MIT" ]
null
null
null
// Tower Defense Group 3 main.cpp /*#include <SFML/Window.hpp> #include <SFML/Graphics.hpp>*/ #include <iostream> #include <string> #include <filesystem> #include "game.hpp" #include "game.cpp" // Needed for Mac compiler to link // Window dimentions //int WINDOW_WIDTH = 1920; //int WINDOW_HEIGHT = 1080; int main() ...
26.03125
128
0.703481
DanielNikkari
3940b21a41953fa74742e3d1b27e66770ae390ef
340
cpp
C++
autovpnui/pch.cpp
teaglu/autovpn
a3b32b7d8c8589e3f578dc45557babea9f348d5a
[ "Apache-2.0" ]
null
null
null
autovpnui/pch.cpp
teaglu/autovpn
a3b32b7d8c8589e3f578dc45557babea9f348d5a
[ "Apache-2.0" ]
null
null
null
autovpnui/pch.cpp
teaglu/autovpn
a3b32b7d8c8589e3f578dc45557babea9f348d5a
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * This file, along with all other files and components of this project, is * * subject to the Apache 2.0 license included at the root of the project. * ******************************************************************************/...
42.5
80
0.367647
teaglu
3943a78dc14d756d95cfc41ef594fde5042dc969
747
cpp
C++
example.cpp
edawson/mkmh
3711bdfbe76630dc6eca948d9c7aadd060ae5159
[ "MIT" ]
22
2016-06-21T18:04:59.000Z
2021-11-25T18:00:41.000Z
example.cpp
edawson/mkmh
3711bdfbe76630dc6eca948d9c7aadd060ae5159
[ "MIT" ]
6
2016-08-12T12:04:06.000Z
2021-01-09T01:42:29.000Z
example.cpp
edawson/mkmh
3711bdfbe76630dc6eca948d9c7aadd060ae5159
[ "MIT" ]
1
2021-01-08T10:52:05.000Z
2021-01-08T10:52:05.000Z
#include "mkmh.hpp" #include <string> #include <iostream> using namespace std; using namespace mkmh; int main(int argc, char** argv){ int hashSize = 1000; int kSize = 10; if (argc < 2){ cerr << "Usage:" << endl << "example <fileToHash> [<filetoCompare>]" << endl; exit(1); } ...
20.75
62
0.491299
edawson
394804dc8b6399719cca9fed5c4cff28626f1199
1,915
cpp
C++
Solution/Source/ObjectSystem/MovementComponent.cpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
Solution/Source/ObjectSystem/MovementComponent.cpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
Solution/Source/ObjectSystem/MovementComponent.cpp
TeeNik/GameEngine
9a3893455f20e14f967e5df9b2168fa0f004c101
[ "MIT" ]
null
null
null
#include "ObjectSystem/MovementComponent.hpp" #include "Math/Math.h" #include "ObjectSystem/Actor.hpp" #include "SDL.h" #include "Engine/Engine.hpp" #include "Input/InputSystem.hpp" MovementComponent::MovementComponent(Actor* o) : Component(o), angularSpeed(0), forwardSpeed(0) { updateOrder = 10; o-...
27.753623
80
0.691906
TeeNik
3948d2ddd81b9d9960e5e4fe5eaa753165eabac2
385
cpp
C++
src/z-wave/manufacturers/AeotecZWaveMessageFactory.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
src/z-wave/manufacturers/AeotecZWaveMessageFactory.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
src/z-wave/manufacturers/AeotecZWaveMessageFactory.cpp
BeeeOn/gateway-frc
b5bcebd6dc068394906e35d989ed48dc65e9ebaf
[ "BSD-3-Clause" ]
null
null
null
#include <Poco/Exception.h> #include "z-wave/manufacturers/AeotecZWaveMessageFactory.h" using namespace BeeeOn; ZWaveMessage *AeotecZWaveMessageFactory::create(uint32_t manufacturer, uint32_t product) { switch (product) { case AEOTEC_ZW100: return new AeotecZW100ZWaveMessage(); default: throw Poco::NotFoundE...
22.647059
82
0.781818
BeeeOn
3949bfa17b5358323f226439a7dcbe679f450c3a
1,728
hpp
C++
modules/display/src/display_stream.hpp
Hairuijy/CNStream
8f6ea30cf25acc45d042686acbbfb7c476ff32c5
[ "Apache-2.0" ]
1
2019-11-05T01:13:42.000Z
2019-11-05T01:13:42.000Z
modules/display/src/display_stream.hpp
Hairuijy/CNStream
8f6ea30cf25acc45d042686acbbfb7c476ff32c5
[ "Apache-2.0" ]
null
null
null
modules/display/src/display_stream.hpp
Hairuijy/CNStream
8f6ea30cf25acc45d042686acbbfb7c476ff32c5
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2019] by Cambricon, Inc. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
30.315789
80
0.675926
Hairuijy
3949d3cb7b69d414e261447a7b2cbf7a8f33fb95
2,869
cpp
C++
.LHP/.Lop11/.HSG/.T.Minh/Week 5/BSEQ_S/BSEQ_S/BSEQ_S.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Minh/Week 5/BSEQ_S/BSEQ_S/BSEQ_S.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Minh/Week 5/BSEQ_S/BSEQ_S/BSEQ_S.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#define LOCAL 1 //#define BUG #include <iostream> #include <iomanip> #include <sstream> #include <cstdio> #include <cstdlib> #include <cctype> #include <algorithm> #include <vector> #include <stack> #include <queue> #include <deque> #include <map> #include <set> #include <list> #include <bitset> #include <string> #incl...
24.521368
97
0.560125
sxweetlollipop2912
3949efc7b28f4d4b18241ea99a67fcaf8168a85d
2,310
cpp
C++
Codeforces/1263F/dp_tree.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces/1263F/dp_tree.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces/1263F/dp_tree.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 2010 class Edge { public: int to, next; }; Edge edges[SIZE << 1]; int head[SIZE], edgesPt; int conn[SIZE], siz[SIZE], dp[SIZE]; pair<int, int> rng[SIZE]; class Subt { public: int edgeNum, leftPt, rightPt; bool operator < (const Subt & snd) const ...
25.384615
100
0.534632
codgician
3949f4d1b699edc728f2a44284e185a32a90b89b
633
cpp
C++
15 Puzzle/System.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
15 Puzzle/System.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
15 Puzzle/System.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <allegro.h> #include "System.h" System::System(int width, int height, bool full) { screenHeight = height; screenWidth = width; fullscreen = full; } void System::setup() { allegro_init(); install_keyboard(); install_timer(); install_mouse(); in...
24.346154
85
0.603476
mschrandt
394fdbd8e80d653d1c945e0ccf21a59073e93107
228
cpp
C++
ModuleMonitor.cpp
newrelic-experimental/mod-newrelic-telemetry
12727bd7d63432fa5ee7a8700b3edd528b3f177f
[ "Apache-2.0" ]
null
null
null
ModuleMonitor.cpp
newrelic-experimental/mod-newrelic-telemetry
12727bd7d63432fa5ee7a8700b3edd528b3f177f
[ "Apache-2.0" ]
null
null
null
ModuleMonitor.cpp
newrelic-experimental/mod-newrelic-telemetry
12727bd7d63432fa5ee7a8700b3edd528b3f177f
[ "Apache-2.0" ]
null
null
null
#include "ModuleMonitor.h" namespace newrelic{ ModuleMonitor::ModuleMonitor(const char *spanName) { this->spanName = spanName; } int ModuleMonitor::handlePostReadRequest(request_rec *r){ return DECLINED; } }
20.727273
60
0.719298
newrelic-experimental
394ff8d1e6beb1261d25f29927946327594b4aee
13,121
cpp
C++
src/main/cpp/kmeans_gen.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
1
2017-06-19T17:09:06.000Z
2017-06-19T17:09:06.000Z
src/main/cpp/kmeans_gen.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
null
null
null
src/main/cpp/kmeans_gen.cpp
ehsantn/data-analytics-benchmarks
db6ecf8c3e1d899a146ced47a8cc3e92b52fca69
[ "BSD-2-Clause" ]
null
null
null
#include <random> #include <mpi.h> #include <stdint.h> #include <float.h> #include <limits.h> #include <complex> #include <math.h> #include <stdio.h> #include <iostream> #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/../deps/include/j2c-array.h" #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/....
38.031884
203
0.733633
ehsantn
3950b640ac4a20edbebea25deffc7a566ce0db1e
1,433
hpp
C++
lib/cmrBase/Inc/cmrException.hpp
chiefmate1120/CMRobot_SW
79eed3e7b1538b95e3a50b9ff300edc9501942f3
[ "MIT" ]
1
2021-12-15T14:54:14.000Z
2021-12-15T14:54:14.000Z
lib/cmrBase/Inc/cmrException.hpp
chiefmate1120/CMRobot_SW
79eed3e7b1538b95e3a50b9ff300edc9501942f3
[ "MIT" ]
1
2021-12-15T14:55:37.000Z
2021-12-15T14:55:37.000Z
lib/cmrBase/Inc/cmrException.hpp
chiefmate1120/CMRobot_SW
79eed3e7b1538b95e3a50b9ff300edc9501942f3
[ "MIT" ]
1
2021-07-25T12:32:32.000Z
2021-07-25T12:32:32.000Z
/* * cmrException.hpp * * Description: This file define the exception handler * * Author: Feijian.Ni * Date: 2020.2.20 * */ #ifndef CMREXCEPTION_HPP_ #define CMREXCEPTION_HPP_ #include "baseStdLibs.hpp" #include <assert.h> namespace cmr { //! error type define enum cmrErrorType { CMR_SUCCESS = 0, CMR_FI...
20.768116
78
0.700628
chiefmate1120
395274b81acbbfedd550e64ef3b360feb0444f39
857
cpp
C++
Universal-Physics-mod/src/simulation/elements/RBDM.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
1
2022-03-26T20:01:13.000Z
2022-03-26T20:01:13.000Z
Universal-Physics-mod/src/simulation/elements/RBDM.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
null
null
null
Universal-Physics-mod/src/simulation/elements/RBDM.cpp
AllSafeCyberSecur1ty/Nuclear-Engineering
302d6dcc7c0a85a9191098366b076cf9cb5a9f6e
[ "MIT" ]
1
2022-03-26T19:59:13.000Z
2022-03-26T19:59:13.000Z
#include "simulation/ElementCommon.h" void Element::Element_RBDM() { Identifier = "DEFAULT_PT_RBDM"; Name = "RBDM"; Colour = PIXPACK(0xCCCCCC); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0...
19.930233
91
0.710618
AllSafeCyberSecur1ty
39532e14112176ad488a48e619c182f7174ca9f0
1,179
hpp
C++
include/netuit/arrange/LoopTopologyFactory.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/netuit/arrange/LoopTopologyFactory.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/netuit/arrange/LoopTopologyFactory.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef NETUIT_ARRANGE_LOOPTOPOLOGYFACTORY_HPP_INCLUDE #define NETUIT_ARRANGE_LOOPTOPOLOGYFACTORY_HPP_INCLUDE #include <algorithm> #include "../topology/TopoEdge.hpp" #include "../topology/Topology.hpp" #include "../topology/TopoNode.hpp" namespace netuit { inline netuit::Topology make_loop_topology(co...
21.436364
76
0.709924
mmore500
39572ac1da76823a1f520845c45fd05d87a79fef
24,585
hpp
C++
Source/AllProjects/Drivers/ZWave/ZWaveUSB3/Server/ZWaveUSB3S_ZStick.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/Drivers/ZWave/ZWaveUSB3/Server/ZWaveUSB3S_ZStick.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/Drivers/ZWave/ZWaveUSB3/Server/ZWaveUSB3S_ZStick.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: ZWaveUSB3S_ZStick.hpp // // AUTHOR: Dean Roddey // // CREATED: 07/24/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
43.667851
92
0.57954
MarkStega
3957b27a6e8d37f1fb949a8736ca72ddbbf21051
1,047
cpp
C++
path_follower/src/utils/obstacle_cloud.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
296
2017-06-19T07:06:58.000Z
2022-03-09T01:27:44.000Z
path_follower/src/utils/obstacle_cloud.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
29
2017-11-07T08:49:12.000Z
2021-09-21T22:18:28.000Z
path_follower/src/utils/obstacle_cloud.cpp
sunarditay/gerona
7ca6bb169571d498c4a2d627faddc8cbe590d2c9
[ "BSD-3-Clause" ]
117
2017-05-30T10:50:36.000Z
2022-03-09T01:27:23.000Z
/// HEADER #include <path_follower/utils/obstacle_cloud.h> #include <pcl_ros/point_cloud.h> #include <tf/tf.h> ObstacleCloud::ObstacleCloud() : cloud(new Cloud) {} ObstacleCloud::ObstacleCloud(const Cloud::Ptr& c) : cloud(c) { } ObstacleCloud::ObstacleCloud(const Cloud::ConstPtr& c) : cloud(new Cloud(*c)...
19.388889
99
0.65616
sunarditay
395821ee837c83876e394367c5069507c628c5c0
269
cpp
C++
Game/Game/Source/AI/Bot.cpp
jhlee94/Space_Farm-Power_of_Paint
42c1d57c18b48b6a737b7ae463387f41c66eb3d3
[ "MIT" ]
null
null
null
Game/Game/Source/AI/Bot.cpp
jhlee94/Space_Farm-Power_of_Paint
42c1d57c18b48b6a737b7ae463387f41c66eb3d3
[ "MIT" ]
null
null
null
Game/Game/Source/AI/Bot.cpp
jhlee94/Space_Farm-Power_of_Paint
42c1d57c18b48b6a737b7ae463387f41c66eb3d3
[ "MIT" ]
null
null
null
#pragma once #include <Phyre.h> #include <Navigation\PhyreNavigation.h> #include "Bot.h" // // Bot implementation // // Description: // The constructor for the Bot class. Bot::Bot() : m_navigationComponent(NULL) , m_navigationTarget(NULL) , m_worldMatrix(NULL) { }
15.823529
39
0.717472
jhlee94
395872c03155dd5a33aaaffec450ce2f5d97c2f6
198
hpp
C++
dep/jsonpath/gramma.hpp
costan225/jsonpath
42d1d4099db1f3e8ceb3347c6df788ed6395ce47
[ "MIT" ]
2
2019-04-10T15:33:35.000Z
2022-01-07T19:52:31.000Z
dep/jsonpath/gramma.hpp
costan225/jsonpath
42d1d4099db1f3e8ceb3347c6df788ed6395ce47
[ "MIT" ]
null
null
null
dep/jsonpath/gramma.hpp
costan225/jsonpath
42d1d4099db1f3e8ceb3347c6df788ed6395ce47
[ "MIT" ]
2
2021-10-20T07:20:04.000Z
2022-01-03T19:10:08.000Z
#ifndef __JSONPATH_GRAMMA_HPP__ #define __JSONPATH_GRAMMA_HPP__ #include "jsonpath_ast.hpp" namespace costan { bool compile(std::string src, ast::expression& exp, std::string& err); } #endif
19.8
74
0.762626
costan225
395a8cb3c34b4c21d741ff7ebba943f16987609f
584
hpp
C++
nncpp/module.hpp
vfdev-5/nncpp
073319d55acabebfa134479f0501aed2d0cbef4b
[ "MIT" ]
null
null
null
nncpp/module.hpp
vfdev-5/nncpp
073319d55acabebfa134479f0501aed2d0cbef4b
[ "MIT" ]
null
null
null
nncpp/module.hpp
vfdev-5/nncpp
073319d55acabebfa134479f0501aed2d0cbef4b
[ "MIT" ]
null
null
null
#pragma once // STD #include <vector> // NNCPP #include "tensor.hpp" namespace nncpp { class Module { public: virtual Tensor forward(const Tensor & t) = 0; virtual Tensor backward(const Tensor & grad) = 0; virtual Tensor operator()(const Tensor & t) { return forward(t); } virtual voi...
12.695652
53
0.621575
vfdev-5
395ce4f22b062090265edac184bcd7bc9a21cf26
805
cpp
C++
src/Arc.cpp
CarstenHoyer/ofxCubicBezierToBiarc
d086430a99582d05e22445bad7f5d17508ae5bd8
[ "MIT" ]
2
2019-02-01T17:17:40.000Z
2019-02-04T13:13:32.000Z
src/Arc.cpp
CarstenHoyer/ofxCubicBezierToBiarc
d086430a99582d05e22445bad7f5d17508ae5bd8
[ "MIT" ]
null
null
null
src/Arc.cpp
CarstenHoyer/ofxCubicBezierToBiarc
d086430a99582d05e22445bad7f5d17508ae5bd8
[ "MIT" ]
1
2019-07-17T19:29:42.000Z
2019-07-17T19:29:42.000Z
// // Arc.cpp // ofxCubicBezierToBiarc // // Created by Carsten Høyer on 31/01/2019. // #include "Arc.h" #include <cmath> Arc::Arc() { } Arc::Arc(ofPoint _C, float _r, float _startAngle, float _sweepAngle, ofPoint _P1, ofPoint _P2, bool _cw) { C = _C; r = _r; startAngle = _startAngle; sweepAn...
16.428571
104
0.586335
CarstenHoyer
395f1775986e37f3e2c102b506c70fbf67170588
446
hpp
C++
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/effect_player/interfaces/debug_interface.hpp
AbhishekDoshi-Bacancy/AgoraSDK
030a024e5c10189526cb98b5db86998f8da43864
[ "MIT" ]
80
2020-10-30T07:14:40.000Z
2022-03-27T08:52:16.000Z
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/effect_player/interfaces/debug_interface.hpp
aayushparashar/plugin_tester
a43f8458f2f06ef2f5b7e7ac4aa067e8d6f65527
[ "MIT" ]
5
2020-10-27T14:07:20.000Z
2021-06-01T09:03:01.000Z
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/effect_player/interfaces/debug_interface.hpp
aayushparashar/plugin_tester
a43f8458f2f06ef2f5b7e7ac4aa067e8d6f65527
[ "MIT" ]
10
2020-12-01T15:24:24.000Z
2022-02-22T12:38:09.000Z
/// \file /// \addtogroup EffectPlayer /// @{ /// // AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from effect_player.djinni #pragma once #include <bnb/utils/defs.hpp> #include <string> namespace bnb { namespace interfaces { class BNB_EXPORT debug_interface { public: virtual ~debug_interf...
17.84
69
0.692825
AbhishekDoshi-Bacancy
395fc2f24f7860545a2eaa73b0e4b9a1c5654358
493
cpp
C++
Libraries/container/queue/main.cpp
coder137/CPP-Repo
852dffa42e7fc42e320e4a90abd80d5a045d4ffd
[ "MIT" ]
null
null
null
Libraries/container/queue/main.cpp
coder137/CPP-Repo
852dffa42e7fc42e320e4a90abd80d5a045d4ffd
[ "MIT" ]
null
null
null
Libraries/container/queue/main.cpp
coder137/CPP-Repo
852dffa42e7fc42e320e4a90abd80d5a045d4ffd
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> using namespace std; int main() { cout << "Hello World" << endl; queue<int> qInt; qInt.push(10); qInt.push(12); qInt.push(13); qInt.push(16); qInt.push(90); cout << qInt.size() << endl; cout << qInt.front() << endl; // 10 cout << qInt.back() << endl; // 16 ...
14.939394
42
0.549696
coder137
39605cdd1a69f34248ef229f483db72d90a5e7a0
1,515
cpp
C++
2016/Day20/Day20.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
2016/Day20/Day20.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
2016/Day20/Day20.cpp
Ganon11/AdventCode
eebf3413c8e73c45d0e0a65a80e57eaf594baead
[ "MIT" ]
null
null
null
// Day20.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <algorithm> #include <fstream> #include <iostream> #include <limits> #include <string> #include <vector> std::vector<bool> GetIPs(const std::wstring& inputFile) { size_t size{ std::numeric_limits<unsigned int>::max(...
22.954545
130
0.568317
Ganon11
39634fe1d90ae2070324105e56da9d795402325b
951
hh
C++
src/Titon/Io/Reader/XmlReader.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
src/Titon/Io/Reader/XmlReader.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
src/Titon/Io/Reader/XmlReader.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh // strict /** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ namespace Titon\Io\Reader; use Titon\Io\ResourceMap; use Titon\Io\Exception\ReadErrorException; use Titon\Type\Xml; /** * A reader that loads its configu...
22.116279
96
0.622503
ciklon-z
396896a49718d9b8bc12a31d17709aa93f05e1b2
607
hpp
C++
include/dca/parallel/mpi_concurrency/kernel_test.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
include/dca/parallel/mpi_concurrency/kernel_test.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
include/dca/parallel/mpi_concurrency/kernel_test.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE.txt for terms of usage. // See CITATION.txt for citation guidelines if you use this code for scientific publications. // // Author: Giovanni Balduzzi (gbalduzz@itp.phys.ethz.ch) // // Interface to kernel_te...
23.346154
93
0.764415
PMDee
396c233dc9af373efdf76adadc24bbdb690300bf
481
cpp
C++
test/filter/main.cpp
drugilsberg/functional-cpp
fd0b50a7ea4520fe50e92deb1aeff2495ba981e3
[ "MIT" ]
2
2019-02-06T13:05:59.000Z
2019-02-22T10:16:32.000Z
test/filter/main.cpp
drugilsberg/functional-cpp
fd0b50a7ea4520fe50e92deb1aeff2495ba981e3
[ "MIT" ]
null
null
null
test/filter/main.cpp
drugilsberg/functional-cpp
fd0b50a7ea4520fe50e92deb1aeff2495ba981e3
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<math.h> #include "Functional.hpp" #include<cassert> using namespace std; int main(){ vector<double> test={1.0, 1.2, 2.0, 2.3, 3.0}; function< bool(double) > func= [] (const double & element){return element<2.0;}; vector<double> expectedFilter={ 1.0, 1.2}; cout <<...
20.913043
82
0.648649
drugilsberg
396ccc4c2842e1db684b3bd036eaafdb3621e842
1,799
hpp
C++
Palette.hpp
Cirras/eomap-classic
7ba4f5208ce49aeacb17bc4ad016b278388485b8
[ "Zlib" ]
2
2020-11-02T08:23:11.000Z
2020-11-03T18:14:51.000Z
Palette.hpp
Cirras/eomap-classic
7ba4f5208ce49aeacb17bc4ad016b278388485b8
[ "Zlib" ]
4
2020-12-09T14:34:56.000Z
2020-12-14T11:29:59.000Z
Palette.hpp
Cirras/eomap-classic
7ba4f5208ce49aeacb17bc4ad016b278388485b8
[ "Zlib" ]
2
2020-12-09T12:40:10.000Z
2020-12-14T20:52:10.000Z
#ifndef PALETTE_INCLUDED #define PALETTE_INCLUDED #include "common.hpp" #include "GFX_Loader.hpp" extern int shared_yoffs[7]; const bool floor_tiles[25] = { 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; extern const int num_tiles_spec; extern const char *tiles_spec[1][48]; cl...
17.298077
116
0.601445
Cirras
3972826602288b422d55773cf8135a91436fef10
1,860
cpp
C++
Volume_101(10100-10199)/10106.cpp
jay16213/UVA-practice
0f4bfcf47861386f422405612fc01bc00944ca94
[ "MIT" ]
null
null
null
Volume_101(10100-10199)/10106.cpp
jay16213/UVA-practice
0f4bfcf47861386f422405612fc01bc00944ca94
[ "MIT" ]
null
null
null
Volume_101(10100-10199)/10106.cpp
jay16213/UVA-practice
0f4bfcf47861386f422405612fc01bc00944ca94
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string in1, in2; while(cin >> in1 >> in2) { //any number multiply 0 = 0 if(in1 == "0" || in2 == "0") { printf("0\n"); continue; } vector<int> x, y, ans;//ans = x * y for(int i...
27.352941
89
0.382258
jay16213
3974a894d48c7ce3813f1506b70e22a4af81f761
2,072
cpp
C++
gvsoc/gvsoc_gap/models/pulp/udma/i2c/v4/udma_i2c.cpp
mfkiwl/gap_sdk
642b798dfdc7b85ccabe6baba295033f0eadfcd4
[ "Apache-2.0" ]
null
null
null
gvsoc/gvsoc_gap/models/pulp/udma/i2c/v4/udma_i2c.cpp
mfkiwl/gap_sdk
642b798dfdc7b85ccabe6baba295033f0eadfcd4
[ "Apache-2.0" ]
null
null
null
gvsoc/gvsoc_gap/models/pulp/udma/i2c/v4/udma_i2c.cpp
mfkiwl/gap_sdk
642b798dfdc7b85ccabe6baba295033f0eadfcd4
[ "Apache-2.0" ]
1
2021-11-11T02:12:25.000Z
2021-11-11T02:12:25.000Z
/* * Copyright (C) 2020 GreenWaves Technologies, SAS * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * ...
26.227848
91
0.70029
mfkiwl
3979828f59376c5ad77556e93a34a7a01f72a969
944
cpp
C++
201912/3(30分).cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
201912/3(30分).cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
201912/3(30分).cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include <iostream> #include <algorithm> #include <vector> #include <string> #include <string.h> using namespace std; const int N = 105; int n; vector<string> equs; bool solve(string s) { int equ_pos = s.find('='); string left = s.substr(0, equ_pos); string right = s.s...
17.811321
67
0.471398
YiqinXiong
30290c7a16989177749b05ae6b0b902b8f514a95
12,880
cc
C++
tensorflow/tools/graph_transforms/fold_constants_lib.cc
tycho/tensorflow
27767d8e9c1325979cf32ff5b81c10df9006fd57
[ "Apache-2.0" ]
2
2020-02-18T04:08:18.000Z
2020-05-20T07:14:44.000Z
tensorflow/tools/graph_transforms/fold_constants_lib.cc
tycho/tensorflow
27767d8e9c1325979cf32ff5b81c10df9006fd57
[ "Apache-2.0" ]
1
2018-10-26T20:01:34.000Z
2018-10-26T20:01:34.000Z
tensorflow/tools/graph_transforms/fold_constants_lib.cc
tycho/tensorflow
27767d8e9c1325979cf32ff5b81c10df9006fd57
[ "Apache-2.0" ]
3
2018-10-26T19:30:26.000Z
2021-03-19T19:30:40.000Z
/* Copyright 2016 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...
39.630769
80
0.659938
tycho
30291f72bfce3e0ae14d999fa7127ed0b9385138
1,902
cpp
C++
leetcode_0001_0050/leetcode_0018_4sum.cpp
AlfengYuan/leetcode-cplusplus-offline
602c3d531d984c6961d9eec2b051527e721b2123
[ "MIT" ]
null
null
null
leetcode_0001_0050/leetcode_0018_4sum.cpp
AlfengYuan/leetcode-cplusplus-offline
602c3d531d984c6961d9eec2b051527e721b2123
[ "MIT" ]
null
null
null
leetcode_0001_0050/leetcode_0018_4sum.cpp
AlfengYuan/leetcode-cplusplus-offline
602c3d531d984c6961d9eec2b051527e721b2123
[ "MIT" ]
null
null
null
#include <iostream> #include <set> #include <vector> #include <cstdlib> #include <algorithm> using namespace std; class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { vector<vector<int>> Vres; if(nums.size() < 4) return Vres; set<vector<int>> res; ve...
26.788732
96
0.382229
AlfengYuan
3029dc1265efe9e11d9f0ed7f661ebf367e8d953
1,113
cpp
C++
_site/Competitive Programming/Codeforces/1136C.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Codeforces/1136C.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Codeforces/1136C.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include "bits/stdc++.h" #ifdef PRINTERS #include "printers.hpp" using namespace printers; #define tr(a) cerr<<#a<<" : "<<a<<endl #else #define tr(a) #endif #define ll long long #define pb push_back #define mp make_pair #define pii pair<int,int> #define vi vector<...
18.55
44
0.487871
anujkyadav07
302a101be5b8e36ad4b5a331a2be3f2f2e8b4123
2,020
cpp
C++
src/Parser/fq.cpp
frankandreace/GenoLight
6aa3c4087b02dae8c4f5bec84617f49f08913025
[ "MIT" ]
null
null
null
src/Parser/fq.cpp
frankandreace/GenoLight
6aa3c4087b02dae8c4f5bec84617f49f08913025
[ "MIT" ]
null
null
null
src/Parser/fq.cpp
frankandreace/GenoLight
6aa3c4087b02dae8c4f5bec84617f49f08913025
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "fq.hpp" #include <limits> #include <vector> #include <fstream> //costruttore //https://stackoverflow.com/questions/50417435/why-cannot-i-initialize-a-ifstream-ref-from-constructor fq::fq(const std::string &_path_fastq) : fastq(_path_fastq) { if (_path_fastq != " ") pa...
23.488372
102
0.668812
frankandreace
302a2269f578a9e2dc5dffe2a2731e120938a33b
304
cpp
C++
ControlClass.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
ControlClass.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
ControlClass.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
/* * ControlClass.cpp * * Created on: 29 jan 2013 * Author: mattias */ #include "ControlClass.h" namespace Solid { ControlClass::ControlClass() { // TODO Auto-generated constructor stub } ControlClass::~ControlClass() { // TODO Auto-generated destructor stub } } /* namespace Solid */
13.818182
40
0.674342
mls-m5
3032674a0b03335f2365c8b382462dc5b0ab2806
3,097
cpp
C++
common/collectiontest1.cpp
mintomic/samples
c4acfa03ea98bcfe9ff67d97705e7486a92df45b
[ "BSD-3-Clause" ]
56
2015-01-01T23:01:00.000Z
2021-12-27T16:40:39.000Z
common/collectiontest1.cpp
mintomic/samples
c4acfa03ea98bcfe9ff67d97705e7486a92df45b
[ "BSD-3-Clause" ]
null
null
null
common/collectiontest1.cpp
mintomic/samples
c4acfa03ea98bcfe9ff67d97705e7486a92df45b
[ "BSD-3-Clause" ]
14
2015-02-13T13:38:50.000Z
2019-05-31T02:47:32.000Z
#include "collectiontest1.h" #include "experiment.h" #include <mintomic/mintomic.h> #include <mintsystem/timer.h> #include <mintpack/lwlogger.h> #include <mintpack/threadsynchronizer.h> #include <mintpack/random.h> #include <stdio.h> #include <stdlib.h> #include <memory.h> //------------------------------------------...
31.927835
125
0.560542
mintomic
3034d782eb788719718acedcdd3cc4788094db57
92,006
cpp
C++
src/prod/test/LBSimulator/Utility.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/test/LBSimulator/Utility.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/test/LBSimulator/Utility.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
46.822392
267
0.697357
gridgentoo
30381c3d4e07037c94b9abcecbfeb3703dabc7c6
328
cpp
C++
bwi_kr_execution/src/learning/DefaultTimes.cpp
maxsvetlik/bwi_experimental
263ace10825cf12be980b8378d88460da82214be
[ "BSD-3-Clause" ]
1
2016-11-25T22:45:52.000Z
2016-11-25T22:45:52.000Z
bwi_kr_execution/src/learning/DefaultTimes.cpp
maxsvetlik/bwi_experimental
263ace10825cf12be980b8378d88460da82214be
[ "BSD-3-Clause" ]
null
null
null
bwi_kr_execution/src/learning/DefaultTimes.cpp
maxsvetlik/bwi_experimental
263ace10825cf12be980b8378d88460da82214be
[ "BSD-3-Clause" ]
null
null
null
#include <actasp/AspFluent.h> #include "DefaultTimes.h" #include <iostream> using namespace actasp; namespace bwi_krexec { double DefaultTimes::value(const AspFluent& action) { std::cerr << "invoked on " << action.getName() << std::endl; if(action.getName() == "approach") return -1; return 0.;...
14.26087
62
0.64939
maxsvetlik
303ad55a12c1a479d51c7ea6bcf054077f9f373b
221
cpp
C++
src/main.cpp
LowSpecCorgi/Masochist-Discord
e67ed26d5085c06f919c7097459db6aaf309c2a3
[ "MIT" ]
4
2021-06-13T18:35:15.000Z
2021-07-13T17:57:52.000Z
src/main.cpp
LowSpecCorgi/Masochist-Discord
e67ed26d5085c06f919c7097459db6aaf309c2a3
[ "MIT" ]
null
null
null
src/main.cpp
LowSpecCorgi/Masochist-Discord
e67ed26d5085c06f919c7097459db6aaf309c2a3
[ "MIT" ]
null
null
null
#include "client.hpp" #include <fstream> int main() { std::fstream file; file.open("../.env", std::ios::in); std::string token; file >> token; Client client(token); client.run(); return 0; }
14.733333
39
0.570136
LowSpecCorgi
303cee050b7c596290433f904f6f293e6d677edf
2,565
hpp
C++
c++/src/include/LinkedList.hpp
BISOON/data-structure
a3fb9bd6aefce17f6e17a0e1d785d39874804b43
[ "Unlicense" ]
null
null
null
c++/src/include/LinkedList.hpp
BISOON/data-structure
a3fb9bd6aefce17f6e17a0e1d785d39874804b43
[ "Unlicense" ]
12
2020-11-22T09:25:00.000Z
2020-12-04T12:04:49.000Z
c++/src/include/LinkedList.hpp
BISOON/data-structure
a3fb9bd6aefce17f6e17a0e1d785d39874804b43
[ "Unlicense" ]
null
null
null
#ifndef LINKEDLIST_HPP #define LINKEDLIST_HPP #include <cstdint> #include <utility> #include <memory> #include "SinglyNode.hpp" template<typename T = int> class LinkedList { public: [[nodiscard]] size_t size() const; [[nodiscard]] SinglyNode<T>* head(); void insert(T item); void insertAtBeginning...
18.06338
50
0.553996
BISOON
303cfbb94c8872723e7549f550d4e03addfbb268
3,506
hpp
C++
modules/logic/src/Logic/Itk/ImageToImageFilter/BinaryFunctorImageFilter/gmLogicItkLabelOverlayImageFilter.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/logic/src/Logic/Itk/ImageToImageFilter/BinaryFunctorImageFilter/gmLogicItkLabelOverlayImageFilter.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/logic/src/Logic/Itk/ImageToImageFilter/BinaryFunctorImageFilter/gmLogicItkLabelOverlayImageFilter.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmLogicItkBinaryFunctorImageFilter.hpp" #include "gmLogicItkUtil.hpp" #include <itkLabelOverlayImageFilter.h> namespace gm { namespace Logic { namespace Itk { class LabelOverlayImageFilter : public BinaryFunctorImageFilter { public: ...
43.825
125
0.491728
GraphMIC
304408d0512e9fdf5d26e0038615746b9e1e8668
5,313
cpp
C++
libEPLViz/src/baseModelView/TreeModelBase.cpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
3
2017-01-23T13:29:21.000Z
2021-03-08T17:40:42.000Z
libEPLViz/src/baseModelView/TreeModelBase.cpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
4
2017-03-26T12:56:08.000Z
2017-08-18T20:32:37.000Z
libEPLViz/src/baseModelView/TreeModelBase.cpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017, EPL-Vizards * 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 conditi...
27.386598
112
0.700546
epl-viz
304477779a928212c3fdb05b9b01e8ade699a97d
825
cpp
C++
src/lib/VSegEngine.cpp
ca1773130n/SLIC-DBSCAN-CUDA
c9b543a80377e33e71771dbaaf002d5345fc9a7d
[ "MIT" ]
21
2018-10-24T10:07:46.000Z
2021-11-30T12:39:30.000Z
src/lib/VSegEngine.cpp
ca1773130n/SLIC-DBSCAN-CUDA
c9b543a80377e33e71771dbaaf002d5345fc9a7d
[ "MIT" ]
3
2019-12-14T15:42:08.000Z
2020-03-18T02:08:53.000Z
src/lib/VSegEngine.cpp
ca1773130n/SLIC-DBSCAN-CUDA
c9b543a80377e33e71771dbaaf002d5345fc9a7d
[ "MIT" ]
6
2019-05-23T02:57:41.000Z
2021-06-08T10:49:53.000Z
#include <sdbscan/VSegEngine.h> namespace sdbscan { VSegEngine::VSegEngine(const VSettings& inSettings) { mSettings = inSettings; } VSegEngine::~VSegEngine() { if (mSourceImg != NULL) delete mSourceImg; if (mConvertedImg != NULL) delete mConvertedImg; if (mIndexImg != NULL) delete mIndexImg; if (mSpixelM...
25.78125
77
0.73697
ca1773130n
304923a563c7ea18b98096240386e1e4741eaac9
2,455
cpp
C++
src/mame/drivers/bfmsys83.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/bfmsys83.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/bfmsys83.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:David Haywood /* BFM System 83 */ #include "emu.h" #include "cpu/m6800/m6800.h" #include "sound/ay8910.h" #include "machine/bfm_comn.h" #include "speaker.h" class bfmsys83_state : public driver_device { public: bfmsys83_state(const machine_config &mconfig, device_type ty...
34.577465
159
0.754379
Robbbert
3049c5f827d85fa28e92c8dc67aab6c481f42727
432,775
cpp
C++
Data/Juliet-C/Juliet-C-v102/testcases/CWE187_Partial_Comparison/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
Data/Juliet-C/Juliet-C-v102/testcases/CWE187_Partial_Comparison/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
Data/Juliet-C/Juliet-C-v102/testcases/CWE187_Partial_Comparison/main.cpp
b19e93n/PLC-Pyramid
6d5b57be6995a94ef7402144cee965862713b031
[ "MIT" ]
null
null
null
/* NOTE - eventually this file will be automatically updated using a Perl script that understand * the naming of test case files, functions, and namespaces. */ #include <time.h> /* for time() */ #include <stdlib.h> /* for srand() */ #include "std_testcase.h" #include "testcases.h" int main(int argc, ch...
53.727498
100
0.875896
b19e93n
304f948b9db0ca524caef8138541e9d590a452e4
4,567
cc
C++
nvm/nvm_leaf_index.cc
yunxiao3/nvmsilkstore
41d12f6e50b71de5a951019f5d51240540c3de36
[ "BSD-3-Clause" ]
null
null
null
nvm/nvm_leaf_index.cc
yunxiao3/nvmsilkstore
41d12f6e50b71de5a951019f5d51240540c3de36
[ "BSD-3-Clause" ]
null
null
null
nvm/nvm_leaf_index.cc
yunxiao3/nvmsilkstore
41d12f6e50b71de5a951019f5d51240540c3de36
[ "BSD-3-Clause" ]
null
null
null
#include <stdexcept> #include "nvm_leaf_index.h" #include "util/coding.h" namespace leveldb { namespace silkstore { class NVMLeafIndexIterator: public Iterator { public: explicit NVMLeafIndexIterator(std::shared_ptr<kvdk::Iterator> iter){ iter_ = iter; } virtual bool Valid() const { return iter_->Valid(); ...
27.184524
85
0.6582
yunxiao3
3051e4f215353d797ba3e545e0448fafdb8dbadd
1,321
cc
C++
src/ui/widget.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
null
null
null
src/ui/widget.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
1
2017-07-12T06:22:10.000Z
2017-07-16T17:27:09.000Z
src/ui/widget.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
1
2018-07-22T02:02:11.000Z
2018-07-22T02:02:11.000Z
#include "ui/widget.h" #include "base/logging.h" namespace naive { namespace ui { Widget::Widget(int32_t x, int32_t y, int32_t width, int32_t height) : bounds_(base::geometry::Rect(x, y, width, height)), damaged_region_(Region::Empty()), window_(std::make_unique<wm::Window>(this)) { surface_ = Cair...
25.403846
78
0.671461
kkspeed
305bc44dd32d4b52bd38ffb24612c797595216a6
1,179
cpp
C++
FangameReader/ColorFadeAnimator.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2019-04-02T19:23:35.000Z
2021-04-30T03:57:15.000Z
FangameReader/ColorFadeAnimator.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
1
2018-07-10T22:34:41.000Z
2018-07-10T22:52:43.000Z
FangameReader/ColorFadeAnimator.cpp
TheBiob/DeadSplit
2e29bae2b86fa689ed9c28d345f2e8743b10c115
[ "MIT" ]
3
2020-12-28T19:06:07.000Z
2021-01-30T10:09:56.000Z
#include <common.h> #pragma hdrstop #include <ColorFadeAnimator.h> namespace Fangame { CQuadInEasingFunction CColorFadeAnimator::inEasing; CQuadOutEasingFunction CColorFadeAnimator::outEasing; ////////////////////////////////////////////////////////////////////////// CColorFadeAnimator::CColorFadeAnimator( int _tar...
26.795455
128
0.651399
TheBiob
305d3a5a58f1422834594501437a0a1f031ef78d
6,884
c++
C++
thirdparty/glut/progs/inventor/glutduck.c++
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2019-01-11T13:55:53.000Z
2019-01-11T13:55:53.000Z
thirdparty/glut/progs/inventor/glutduck.c++
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
1
2018-08-10T19:11:58.000Z
2018-08-10T19:12:17.000Z
thirdparty/glut/progs/inventor/glutduck.c++
ShiroixD/pag_zad_2
cdb6ccf48402cf4dbf1284827a4e281d3b12a64b
[ "MIT" ]
null
null
null
/* Copyright (c) Mark J. Kilgard, 1994. */ /* This program is freely distributable without licensing fees and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ /* * Copyright (c) 1991-94 Silicon Graphics, Inc. * * Permission to use, copy, modif...
23.656357
79
0.684631
ShiroixD