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
19c0339d0f72e0573d1a052f3830133f48641eee
6,013
cpp
C++
DX12/00 - DX12 Starter/DX12Helper.cpp
vixorien/ggp-advanced-demos
af803c22f14d63dfcf5d329c7f5adba827f455b8
[ "MIT" ]
1
2021-12-19T14:13:38.000Z
2021-12-19T14:13:38.000Z
DX12/00 - DX12 Starter/DX12Helper.cpp
vixorien/ggp-advanced-demos
af803c22f14d63dfcf5d329c7f5adba827f455b8
[ "MIT" ]
null
null
null
DX12/00 - DX12 Starter/DX12Helper.cpp
vixorien/ggp-advanced-demos
af803c22f14d63dfcf5d329c7f5adba827f455b8
[ "MIT" ]
1
2021-12-15T22:47:26.000Z
2021-12-15T22:47:26.000Z
#include "DX12Helper.h" // Singleton requirement DX12Helper* DX12Helper::instance; // -------------------------------------------------------- // Destructor doesn't have much to do since we're using // ComPtrs for all DX12 objects // -------------------------------------------------------- DX12Helper::~DX12Helper() ...
37.117284
130
0.693996
vixorien
19c264f880a94f753fce5002caa023eb98a83009
970
cpp
C++
src/View/BoardCreator/ConfirmExitBoardCreatorView.cpp
thomoncik/hexadoku
edfe9d7a27c99c7da741e524511ca4115fba3c77
[ "MIT" ]
1
2020-05-03T15:48:38.000Z
2020-05-03T15:48:38.000Z
src/View/BoardCreator/ConfirmExitBoardCreatorView.cpp
thomoncik/hexadoku
edfe9d7a27c99c7da741e524511ca4115fba3c77
[ "MIT" ]
31
2019-05-11T08:51:31.000Z
2019-06-10T21:33:28.000Z
src/View/BoardCreator/ConfirmExitBoardCreatorView.cpp
thomoncik/hexadoku
edfe9d7a27c99c7da741e524511ca4115fba3c77
[ "MIT" ]
null
null
null
// // Created by Jakub Kiermasz on 2019-06-10. // #include "View/BoardCreator/ConfirmExitBoardCreatorView.hpp" #include <Graphics/Attributes.hpp> #include <Graphics/GfxStream.hpp> #include <Model/BoardCreator.hpp> ConfirmExitBoardCreatorView::ConfirmExitBoardCreatorView(std::shared_ptr<BoardCreator> boardCreator) : ...
34.642857
102
0.671134
thomoncik
19c5fac220898779df3b1836432fae310f62740d
665
cpp
C++
mio/mio_notify.cpp
cheneyfan/MTRpc
459684e44db866fb067311ae8dbfaf66f35bed15
[ "BSD-3-Clause" ]
2
2021-05-12T14:13:21.000Z
2022-03-14T09:11:14.000Z
mio/mio_notify.cpp
cheneyfan/MTRpc
459684e44db866fb067311ae8dbfaf66f35bed15
[ "BSD-3-Clause" ]
null
null
null
mio/mio_notify.cpp
cheneyfan/MTRpc
459684e44db866fb067311ae8dbfaf66f35bed15
[ "BSD-3-Clause" ]
null
null
null
#include "tcpsocket.h" #include "mio_notify.h" #include "mio_poller.h" #ifdef __x86_64__ #include <sys/eventfd.h> #elif __i386__ #include <unistd.h> #endif namespace mtrpc{ EventNotify::EventNotify(): IOEvent(), handerNotify(NULL) { #ifdef __x86_64__ _fd = eventfd(0, EFD_CLOEXEC|EFD_NONBLOCK); #...
14.777778
47
0.654135
cheneyfan
19d463d0ae9635593abb5038ca58bb1a9908deea
2,750
cpp
C++
src/simpcl/src/filters/icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
17
2020-01-08T14:35:05.000Z
2021-12-09T12:30:07.000Z
src/simpcl/src/filters/icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
2
2020-01-31T16:31:48.000Z
2022-03-09T12:49:53.000Z
src/simpcl/src/filters/icp.cpp
senceryazici/point-cloud-filters
d5e4e599b493cc2af1517000c012d7936d46cf0f
[ "MIT" ]
7
2020-01-08T21:28:58.000Z
2021-12-03T06:00:05.000Z
// Iterative Closest Point Algorithm // Import dependencies #include <ros/ros.h> #include <string> #include <iostream> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl_conversions/pcl_conversions.h> #include <sensor_msgs/PointCloud2.h> #include <pcl/registration/...
34.810127
105
0.725455
senceryazici
19d6188ce0007ecc8f1942f00ecd592da9f3088e
231
cpp
C++
src/Main.cpp
Midiman/Midori
b97ba1d4dac7e6af9e9b0785747ab9a797caa5c9
[ "MIT" ]
null
null
null
src/Main.cpp
Midiman/Midori
b97ba1d4dac7e6af9e9b0785747ab9a797caa5c9
[ "MIT" ]
null
null
null
src/Main.cpp
Midiman/Midori
b97ba1d4dac7e6af9e9b0785747ab9a797caa5c9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <GL/glew.h> #include <GLFW/glfw3.h> #include "Game.h" int main(int argc, char* argv[]) { Game game(argc, argv); if( game.Init() ) { game.Run(); game.End(); } return 0; }
11.55
32
0.606061
Midiman
19da471518b95cfe6d46127bc063ea58c06fdb94
1,412
cpp
C++
examples/src/ExamplesMain.cpp
eleventigerssc/LabSound
0438183d86836abcb16a69dcb8317e9d8cdb0c2d
[ "BSD-2-Clause" ]
null
null
null
examples/src/ExamplesMain.cpp
eleventigerssc/LabSound
0438183d86836abcb16a69dcb8317e9d8cdb0c2d
[ "BSD-2-Clause" ]
null
null
null
examples/src/ExamplesMain.cpp
eleventigerssc/LabSound
0438183d86836abcb16a69dcb8317e9d8cdb0c2d
[ "BSD-2-Clause" ]
1
2019-05-03T12:46:14.000Z
2019-05-03T12:46:14.000Z
// License: BSD 2 Clause // Copyright (C) 2015+, The LabSound Authors. All rights reserved. #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include "ExampleBaseApp.h" #include "Simple.h" #include "ConnectDisconnect.h" #include "OfflineRender.h" #include "ConvolutionReverb.h" #include "MicrophoneDalek.h" #inc...
27.153846
132
0.815864
eleventigerssc
19dae989b20eb2778219bc19d70718f774749780
16,385
cpp
C++
core/src/ceps_interpreter_nodeset.cpp
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
3
2018-09-11T11:40:24.000Z
2021-07-02T10:24:36.000Z
core/src/ceps_interpreter_nodeset.cpp
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
null
null
null
core/src/ceps_interpreter_nodeset.cpp
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
null
null
null
/* Copyright 2021 Tomas Prerovsky (cepsdev@hotmail.com). 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 la...
43.577128
216
0.584925
cepsdev
19ddadeea0af90a56452a997d843c64a791f48c3
2,872
cpp
C++
sdk/physx/2.8.3/TrainingPrograms/Programs/Shared_Source/PerfRenderer.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
sdk/physx/2.8.3/TrainingPrograms/Programs/Shared_Source/PerfRenderer.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
sdk/physx/2.8.3/TrainingPrograms/Programs/Shared_Source/PerfRenderer.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include "PerfRenderer.h" #include "GLFontRenderer.h" #include "Timing.h" PerfRenderer::PerfRenderer() { m_profilerOn = false; lastTime=getCurrentTime(); for(int i=0;i<FPS_AVG_FRAMES;i++) fpsTimes[i]=0.0f; fpsIndex=0; } void PerfRenderer::toggleEnable() { m_profilerOn = !m_profilerOn; } ...
24.758621
137
0.671309
daher-alfawares
19e4b638c109a9a1e175cf8bf5a368d11f3f0842
2,964
cpp
C++
src/components/src/core/health/HealthComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
6
2021-04-20T10:32:29.000Z
2021-06-05T11:48:56.000Z
src/components/src/core/health/HealthComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
1
2021-05-18T21:00:12.000Z
2021-06-02T07:59:03.000Z
src/components/src/core/health/HealthComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
3
2020-09-12T08:54:04.000Z
2021-04-17T11:16:36.000Z
#include "HealthComponent.h" #include "gtest/gtest.h" #include "RendererPoolMock.h" #include "ComponentOwner.h" using namespace ::testing; using namespace components::core; class HealthComponentTest : public Test { public: void deadAction(int& actionVariableInit) { actionVariableInit = deadValue; ...
31.531915
107
0.779015
walter-strazak
19e5a38ea5995ee39c3d36d81b9e0d95e73ab255
10,746
cpp
C++
inference-engine/tests/unit/vpu/middleend_tests/edges_tests/data_to_shape_edge.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/vpu/middleend_tests/edges_tests/data_to_shape_edge.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
1
2021-09-09T08:43:57.000Z
2021-09-10T12:39:16.000Z
inference-engine/tests/unit/vpu/middleend_tests/edges_tests/data_to_shape_edge.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "graph_transformer_tests.hpp" namespace vpu { namespace ie = InferenceEngine; class DataToShapeEdgeProcessingTests : public GraphTransformerTest { protected: void SetUp() override { ASSERT_NO_FATAL_FAILURE(GraphTr...
38.106383
126
0.675321
evgenytalanin-intel
19e88785519dbce193411de6c07c75a8ab71d5ec
1,605
cpp
C++
Motion/simplemodule.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
2
2017-11-24T12:34:14.000Z
2021-09-10T02:18:34.000Z
Motion/simplemodule.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
null
null
null
Motion/simplemodule.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
6
2017-11-24T12:34:56.000Z
2022-03-22T10:05:45.000Z
#include "stdafx.h" #include "simplemodule.h" using namespace motion; cSimpleModule::cSimpleModule() : cModule() { } cSimpleModule::~cSimpleModule() { } bool cSimpleModule::Init(const string &inputValue, const string &outputValue, const string &mathScript, const string &modulatorScript) { m_inputValue = inp...
17.833333
79
0.745794
jjuiddong
19ea980a077156abfb6275e44e77ac8b96d7b983
2,600
cpp
C++
source/QtCore/QIODeviceSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
1
2021-03-07T10:44:03.000Z
2021-03-07T10:44:03.000Z
source/QtCore/QIODeviceSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
null
null
null
source/QtCore/QIODeviceSlots.cpp
kenny1818/qt4xhb
f62f40d8b17acb93761014317b52da9f919707d0
[ "MIT" ]
2
2020-07-19T03:28:08.000Z
2021-03-05T18:07:20.000Z
/* Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4 Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> */ /* DO NOT EDIT THIS FILE - the content was created using a source code generator */ #include "QIODeviceSlots.h" QIODeviceSlots::QIODeviceSlots(...
23.423423
92
0.647308
kenny1818
19f337fba6a62dab6ab5658b96d6cfe1f1120842
1,939
cpp
C++
azureeyemodule/app/streaming/resolution.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
52
2021-03-02T14:28:37.000Z
2022-02-07T20:27:52.000Z
azureeyemodule/app/streaming/resolution.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
29
2021-03-03T09:36:33.000Z
2022-03-12T00:59:10.000Z
azureeyemodule/app/streaming/resolution.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
30
2021-03-02T14:09:14.000Z
2022-03-11T05:58:54.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // Local includes #include "resolution.hpp" #include "../util/helper.hpp" // Standard library includes #include <assert.h> #include <string> namespace rtsp { std::string resolution_to_string(const Resolution &resolution) { switch (resolu...
22.034091
94
0.587416
hogaku
19f5c1a2ef2578a7e5bcbbf9cf64dae46919e3cc
2,746
cpp
C++
Projects/Editor/Source/GUI/Controls/CCollapsibleButton.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
310
2019-11-25T04:14:11.000Z
2022-03-31T23:39:19.000Z
Projects/Editor/Source/GUI/Controls/CCollapsibleButton.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
79
2019-11-17T07:51:02.000Z
2022-03-22T08:49:41.000Z
Projects/Editor/Source/GUI/Controls/CCollapsibleButton.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
24
2020-05-10T09:37:55.000Z
2022-03-05T13:19:31.000Z
/* !@ MIT License Copyright (c) 2020 Skylicht Technology CO., LTD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
27.737374
141
0.710488
tsukoyumi
19f682e19646697e513452148ece0f9d501d073d
2,096
hh
C++
tamer/channel.hh
kohler/tamer
0953029ad7fc5c3fd58869227976c359674c670f
[ "BSD-3-Clause" ]
23
2015-04-11T06:41:04.000Z
2021-11-06T21:34:14.000Z
tamer/channel.hh
kohler/tamer
0953029ad7fc5c3fd58869227976c359674c670f
[ "BSD-3-Clause" ]
2
2015-04-15T07:00:31.000Z
2016-08-16T13:46:22.000Z
tamer/channel.hh
kohler/tamer
0953029ad7fc5c3fd58869227976c359674c670f
[ "BSD-3-Clause" ]
5
2015-08-18T19:24:07.000Z
2021-04-18T04:35:35.000Z
// -*- mode: c++ -*- #ifndef TAMER_CHANNEL_HH #define TAMER_CHANNEL_HH 1 #include <deque> #include <tamer/event.hh> namespace tamer { template <typename T> class channel { public: typedef typename std::deque<T>::size_type size_type; inline channel(); inline size_type size() const; inline bool empty...
21.387755
69
0.627863
kohler
19f69715dae02406f503fc38cacd9936a9baa8bf
5,132
hpp
C++
components/scream/src/share/field/field_repository.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_repository.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
3
2019-04-25T18:18:33.000Z
2019-05-07T16:43:36.000Z
components/scream/src/share/field/field_repository.hpp
AaronDonahue/scream
a1e1cc67ac6db87ce6525315a5548d0e7b0f5e97
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
null
null
null
#ifndef SCREAM_FIELD_REPOSITORY_HPP #define SCREAM_FIELD_REPOSITORY_HPP #include "share/scream_types.hpp" #include "share/scream_assert.hpp" #include "share/field/field.hpp" #include <map> namespace scream { /* * A database for all the persistent fields needed in an atm time step * We template a field reposi...
35.393103
160
0.73032
AaronDonahue
19ff01b95e0216119e2fe31f0d5d01dad501fbd4
56,887
cpp
C++
src/6502.cpp
allender/emulator
8310afee84b74cff7d91ecd78f7976264a8df900
[ "MIT" ]
53
2017-01-19T08:08:40.000Z
2022-01-26T03:01:24.000Z
src/6502.cpp
allender/emulator
8310afee84b74cff7d91ecd78f7976264a8df900
[ "MIT" ]
15
2017-03-10T22:55:53.000Z
2021-04-14T13:29:38.000Z
src/6502.cpp
allender/emulator
8310afee84b74cff7d91ecd78f7976264a8df900
[ "MIT" ]
1
2019-07-09T07:19:53.000Z
2019-07-09T07:19:53.000Z
/* MIT License Copyright (c) 2016-2017 Mark Allender Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
38.411209
103
0.660362
allender
19ff8c6859b641606da055df0a33de4288195525
8,549
cpp
C++
iiwa_controllers/impedance_controller/src/impedance_controller.cpp
ICube-RDH/iiwa_ros2
7a8c11eff77b37209dbb17d426447641f863059d
[ "Apache-2.0" ]
4
2022-03-18T21:09:05.000Z
2022-03-31T13:40:12.000Z
iiwa_controllers/impedance_controller/src/impedance_controller.cpp
ICube-RDH/iiwa_ros2
7a8c11eff77b37209dbb17d426447641f863059d
[ "Apache-2.0" ]
1
2022-03-31T15:27:27.000Z
2022-03-31T15:27:27.000Z
iiwa_controllers/impedance_controller/src/impedance_controller.cpp
ICube-RDH/iiwa_ros2
7a8c11eff77b37209dbb17d426447641f863059d
[ "Apache-2.0" ]
2
2022-03-21T08:28:07.000Z
2022-03-25T08:32:08.000Z
// Copyright 2022, ICube Laboratory, University of Strasbourg // // 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...
36.378723
131
0.731431
ICube-RDH
c2052a043d851f07eee253b4a47397e78eec5888
2,706
cpp
C++
src/IceRay/main/interface/python/core/camera/flat/perspective.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
2
2020-09-04T12:27:15.000Z
2022-01-17T14:49:40.000Z
src/IceRay/main/interface/python/core/camera/flat/perspective.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
null
null
null
src/IceRay/main/interface/python/core/camera/flat/perspective.cpp
dmilos/IceRay
4e01f141363c0d126d3c700c1f5f892967e3d520
[ "MIT-0" ]
1
2020-09-04T12:27:52.000Z
2020-09-04T12:27:52.000Z
#include <boost/python.hpp> #include "../../../def_submodule.hpp" #include "../camera.hpp" void expose_IceRay_camera_flat_perspective() { using namespace GS_DDMRM::S_IceRay::S_main::S_interface::S_python; //MAKE_SUBMODULE( IceRay ); MAKE_SUBMODULE( core ); MAKE_SUBMODULE( camera ); typedef...
37.583333
110
0.702143
dmilos
c2093913bbdee353f2fb6fd87ce095ba69be9dec
54
cpp
C++
IslandMUD/src/NPC/npc_neutral.cpp
JimViebke/MUD
b3786d0b165e31c28d6d7dd6de7b13c9d3df6d5a
[ "MIT" ]
12
2015-05-01T00:16:42.000Z
2021-07-16T11:06:04.000Z
IslandMUD/src/NPC/npc_neutral.cpp
JimViebke/MUD
b3786d0b165e31c28d6d7dd6de7b13c9d3df6d5a
[ "MIT" ]
37
2015-04-30T19:09:58.000Z
2018-07-23T23:39:54.000Z
IslandMUD/src/NPC/npc_neutral.cpp
JimViebke/MUD
b3786d0b165e31c28d6d7dd6de7b13c9d3df6d5a
[ "MIT" ]
3
2016-07-15T19:45:09.000Z
2020-04-01T04:32:18.000Z
/* Jim Viebke Jun 3 2015 */ #include "npc_neutral.h"
10.8
24
0.666667
JimViebke
c20bf17019d1969aa98ff0269cc81e81cb1ded90
25,432
cpp
C++
wxchaco/ChFrm.cpp
gbraad/chameleon
aa2e7b9e38fb9327b00e7d2dcd3dc19de065dd85
[ "BSD-4-Clause" ]
null
null
null
wxchaco/ChFrm.cpp
gbraad/chameleon
aa2e7b9e38fb9327b00e7d2dcd3dc19de065dd85
[ "BSD-4-Clause" ]
null
null
null
wxchaco/ChFrm.cpp
gbraad/chameleon
aa2e7b9e38fb9327b00e7d2dcd3dc19de065dd85
[ "BSD-4-Clause" ]
null
null
null
///----------------------------------------------------------------- /// /// @file ChFrm.cpp /// @author stefan /// Created: 26.07.2010 09:12:50 /// @section DESCRIPTION /// ChFrm class implementation /// ///------------------------------------------------------------------ #include "c...
35.420613
200
0.608721
gbraad
c20c5141b8e69f9dd019bcf2d432dbd99e8216e9
1,367
cpp
C++
c-cpp/aiolab/main.cpp
L1ttl3S1st3r/MyLittleProjects
a932ab3229bc2b7515bf4fd98cbe7895f9273281
[ "Apache-2.0" ]
null
null
null
c-cpp/aiolab/main.cpp
L1ttl3S1st3r/MyLittleProjects
a932ab3229bc2b7515bf4fd98cbe7895f9273281
[ "Apache-2.0" ]
null
null
null
c-cpp/aiolab/main.cpp
L1ttl3S1st3r/MyLittleProjects
a932ab3229bc2b7515bf4fd98cbe7895f9273281
[ "Apache-2.0" ]
null
null
null
/* * lab5: AIO * * made by L1ttl3S1st3r */ #include <iostream> #include <dlfcn.h> #include <string> using namespace std; typedef void (*Concater)(int argc, char* argv[]); int main(int argc, char* argv[]) { int freeResult, runTimeLinkSuccess = 0; void* soHandle = NULL; Concater concater = NULL; /...
24.854545
63
0.571324
L1ttl3S1st3r
c210b854dbc5792bdf8fc203e7278ceb908dbeb7
8,514
cpp
C++
surface/src/openNURBS/opennurbs_torus.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
surface/src/openNURBS/opennurbs_torus.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
surface/src/openNURBS/opennurbs_torus.cpp
yxlao/StanfordPCL
98a8663f896c1ba880d14efa2338b7cfbd01b6ef
[ "MIT" ]
null
null
null
/* $NoKeywords: $ */ /* // // Copyright (c) 1993-2011 Robert McNeel & Associates. All rights reserved. // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert // McNeel & Associates. // // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. // ALL IMPLIED WARRANTIES OF FITNESS FOR A...
34.056
80
0.61487
yxlao
c214c95a616fdfe0911dd723545537e5c78288be
864
cpp
C++
UESTC/1256.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
UESTC/1256.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
UESTC/1256.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #define MAXN 2010 using namespace std; int a[MAXN], ans[MAXN][MAXN]; int n, m, s, T, l, r; long long x, y; inline void read(int &x) { x = 0; char ch = getchar(); while (ch < '0' || ch > '9') ch = getchar(); while (ch >= '0' && ch <= '9') x = (x << 3) + (x << 1) + ch - '0', ch = getchar(); retur...
14.163934
83
0.385417
HeRaNO
c2152f5e48d0d6adb692f9db5480d045751e7abf
452
cpp
C++
src/skipList_demo.cpp
Park-ma/Learn-Algorithms
b9f6c1c663a3d1c29d913e7a90f3031075c2b7b9
[ "MIT" ]
1
2021-01-12T14:27:33.000Z
2021-01-12T14:27:33.000Z
src/skipList_demo.cpp
Park-ma/Learn-Algorithms
b9f6c1c663a3d1c29d913e7a90f3031075c2b7b9
[ "MIT" ]
null
null
null
src/skipList_demo.cpp
Park-ma/Learn-Algorithms
b9f6c1c663a3d1c29d913e7a90f3031075c2b7b9
[ "MIT" ]
null
null
null
#include <iostream> #include "SkipList.h" #include "shuffle.h" int main(){ learn_al::skipList<int> list; int num[100]; for(int i=0;i<100;i++){ num[i] = i; } learn_al::shuffle(num,0,100); for(int i=0;i<100;i++){ list.insert(num[i]); } for (int i = 0; i < 50; ++i) { ...
19.652174
43
0.524336
Park-ma
c2158382b45a2bc7ca368d7a98b88b8ebeb8ab6b
2,708
cpp
C++
src/RESTAPI_default_configuration.cpp
shimmy568/wlan-cloud-ucentralgw
806e24e1e666c31175c059373440ae029d9fff67
[ "BSD-3-Clause" ]
null
null
null
src/RESTAPI_default_configuration.cpp
shimmy568/wlan-cloud-ucentralgw
806e24e1e666c31175c059373440ae029d9fff67
[ "BSD-3-Clause" ]
null
null
null
src/RESTAPI_default_configuration.cpp
shimmy568/wlan-cloud-ucentralgw
806e24e1e666c31175c059373440ae029d9fff67
[ "BSD-3-Clause" ]
null
null
null
// // License type: BSD 3-Clause License // License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE // // Created by Stephane Bourque on 2021-03-04. // Arilia Wireless Inc. // #include "Poco/JSON/Parser.h" #include "RESTAPI_default_configuration.h" #include "uStorageService.h" ...
31.126437
129
0.610414
shimmy568
c21c205972222ccfde889381151ce3e1bb001bf5
1,585
cc
C++
tests/coordinates_test.cc
snsinfu/cxx-point
bdc1509c5026f36f2346035b5edff086a0f85a8a
[ "BSL-1.0" ]
null
null
null
tests/coordinates_test.cc
snsinfu/cxx-point
bdc1509c5026f36f2346035b5edff086a0f85a8a
[ "BSL-1.0" ]
1
2020-10-20T18:14:00.000Z
2020-10-20T18:14:00.000Z
tests/coordinates_test.cc
snsinfu/cxx-point
bdc1509c5026f36f2346035b5edff086a0f85a8a
[ "BSL-1.0" ]
null
null
null
// Copyright snsinfu 2018. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <sstream> #include "catch.hpp" #include "../include/point.hpp" TEST_CASE("coordinates - is default constructible as zero tuple") { ...
26.416667
79
0.633438
snsinfu
c21cca3381d6c9f837dfa75108dadde59f1cbcca
9,613
hh
C++
sw/admin-cli/fpga-filter.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
44
2021-03-11T18:07:05.000Z
2021-04-15T20:53:21.000Z
sw/admin-cli/fpga-filter.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
29
2021-01-25T01:41:15.000Z
2021-04-21T14:35:59.000Z
sw/admin-cli/fpga-filter.hh
magetron/cpu-fpga-nwofle
47fb011a1b70a95f18676dc7d51d9b5223c2d4e3
[ "Apache-2.0" ]
2
2021-07-27T21:49:42.000Z
2022-01-14T23:37:09.000Z
#pragma once #include <cstdlib> #include <cstdint> #include <cstdio> extern "C" { #include "siphash-ref-impl/siphash.c" } FILE* admin_pkt; uint64_t admin_buf = 0; uint8_t admin_buf_bits_clean = 64; uint64_t admin_buf_key[2] = {0xdecaface1eadf1a9UL, 0x1713440219990927UL}; size_t admin_buf_data_ptr = 0; uint64_t adm...
28.695522
102
0.612816
magetron
c21d553cb08e26189731db9fbcca8314f80de274
27,220
cpp
C++
thermal-helper.cpp
STMicroelectronics/hardware-peripheral-thermal
44f600c95f4a2002f943cb1e47bf395e3f27fd2c
[ "Apache-2.0" ]
1
2021-02-14T08:02:40.000Z
2021-02-14T08:02:40.000Z
thermal-helper.cpp
STMicroelectronics/hardware-peripheral-thermal
44f600c95f4a2002f943cb1e47bf395e3f27fd2c
[ "Apache-2.0" ]
null
null
null
thermal-helper.cpp
STMicroelectronics/hardware-peripheral-thermal
44f600c95f4a2002f943cb1e47bf395e3f27fd2c
[ "Apache-2.0" ]
1
2020-01-26T22:53:30.000Z
2020-01-26T22:53:30.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
31.431871
154
0.584533
STMicroelectronics
c225549937f638091e379dd4c97f9052ceac96ed
6,491
cpp
C++
main.cpp
dennisalejandro/Lab9_P3_DennisChirinos
8e71ede736e942ef58ff08d9b7dbbfe3389d8ec2
[ "MIT" ]
null
null
null
main.cpp
dennisalejandro/Lab9_P3_DennisChirinos
8e71ede736e942ef58ff08d9b7dbbfe3389d8ec2
[ "MIT" ]
null
null
null
main.cpp
dennisalejandro/Lab9_P3_DennisChirinos
8e71ede736e942ef58ff08d9b7dbbfe3389d8ec2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> // #include "Alquimista.h" #include "Luchador.h" #include "Node.h" #include "Aprendiz.h" #include "Mago.h" #include "Guerrero.h" #include "DragonBorn.h" #include "LinkList.h" #include <fstream> #include <exception> using namespace std; int Menu(); int Menu2(); int Menu3(); string M...
26.386179
82
0.490679
dennisalejandro
c2278bb277570559b0056fa6555a911984892c2a
2,465
cpp
C++
software/sender.cpp
mirounga/darwin
36c6c8883fdf9df90ef74c4d51f2e7fa8319ced6
[ "MIT" ]
14
2019-07-24T13:20:49.000Z
2022-03-24T02:28:31.000Z
software/sender.cpp
mirounga/darwin
36c6c8883fdf9df90ef74c4d51f2e7fa8319ced6
[ "MIT" ]
null
null
null
software/sender.cpp
mirounga/darwin
36c6c8883fdf9df90ef74c4d51f2e7fa8319ced6
[ "MIT" ]
12
2018-11-08T04:18:03.000Z
2021-09-16T06:58:38.000Z
#include "graph.h" tbb::reader_writer_lock fpga_writer_lock; seeder_input reference_sender_body::operator()(seeder_input input) { auto &reads = get<0>(input); size_t token = get<1>(input); size_t word_size = WORD_SIZE; size_t max_char_to_send = MAX_CHAR_TO_SEND; size_t num_bytes_to_send = 0; //fpga_writer_l...
25.153061
104
0.714807
mirounga
c22f08a741a52ef045c9ab98cdcb43e52cebcde8
1,876
cpp
C++
data/transcoder_evaluation_gfg/cpp/FIND_THE_MISSING_NUMBER_2.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/FIND_THE_MISSING_NUMBER_2.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/FIND_THE_MISSING_NUMBER_2.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
42.636364
933
0.55597
mxl1n
c230e5068f0649c7c6003815746441deb04249e3
896
cpp
C++
soj/2049.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/2049.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/2049.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> char index_string[1000010]; int main() {     long long index[256];     int exist_index[256];     char str[1010];     long long s;     int t,n,i;     scanf("%d",&t);     getchar();     while (t--)     {         memset(index,0,sizeof(index));         gets(index_string);         fo...
20.837209
54
0.399554
huangshenno1
ea4a45cc15eb7b57972a6db213617aed31918c98
3,118
hpp
C++
compose.hpp
geotz/compose
6a3761ef56570c910c9e6984b42a034af8fba36a
[ "MIT" ]
null
null
null
compose.hpp
geotz/compose
6a3761ef56570c910c9e6984b42a034af8fba36a
[ "MIT" ]
null
null
null
compose.hpp
geotz/compose
6a3761ef56570c910c9e6984b42a034af8fba36a
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2017 George Tzoumas // 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, ...
34.644444
113
0.683772
geotz
ea4b921325ecadd54018b8aafdcb42d94ff2ff1e
2,339
cpp
C++
modules/task_3/tashirev_i_monte_carlo/tashirev_i_monte_carlo.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/tashirev_i_monte_carlo/tashirev_i_monte_carlo.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/tashirev_i_monte_carlo/tashirev_i_monte_carlo.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
1
2021-12-02T22:38:53.000Z
2021-12-02T22:38:53.000Z
// Copyright 2021 Tashirev Ivan #include <tbb/tbb.h> #include <functional> #include <ctime> #include <random> #include <string> #include <algorithm> #include <vector> #include "../../../modules/task_3/tashirev_i_monte_carlo/tashirev_i_monte_carlo.h" double seqMonteCarlo(double(*f)(const std::vector<double>&), ...
32.041096
82
0.495083
stasyurin
ea4ccb643ee6e90550f62ea1ea60d2f80e8a1a8b
652
hpp
C++
src/parser_worker.hpp
skiptirengu/anitomy-js
80376cca490c15ce6950f216b2616be6108f1aa8
[ "MIT" ]
19
2017-06-06T01:42:33.000Z
2022-01-17T02:58:27.000Z
src/parser_worker.hpp
skiptirengu/anitomy-js
80376cca490c15ce6950f216b2616be6108f1aa8
[ "MIT" ]
4
2018-05-16T04:33:36.000Z
2020-10-03T18:07:37.000Z
src/parser_worker.hpp
skiptirengu/anitomy-js
80376cca490c15ce6950f216b2616be6108f1aa8
[ "MIT" ]
4
2017-01-23T00:10:09.000Z
2020-04-30T08:46:07.000Z
#pragma once #include "file_parser.hpp" #include <napi.h> namespace anitomy_js { using Napi::Promise; class ParserWorker : public Napi::AsyncWorker { public: ParserWorker(const Napi::Env &env, const Napi::Value &input, const Napi::Value &options) : AsyncWorker(env, "anitomy_js::ParserWorker"), _parser(env, ...
21.733333
90
0.70092
skiptirengu
ea539db8ccfb33596b66212172e346c2162db89d
27,150
cpp
C++
src/lib/arte/arte/gltf/Gltf.cpp
Adnn/Graphics
335d54bdbb5d8d6042c9adfb9e47ccb14f612cf8
[ "MIT" ]
null
null
null
src/lib/arte/arte/gltf/Gltf.cpp
Adnn/Graphics
335d54bdbb5d8d6042c9adfb9e47ccb14f612cf8
[ "MIT" ]
null
null
null
src/lib/arte/arte/gltf/Gltf.cpp
Adnn/Graphics
335d54bdbb5d8d6042c9adfb9e47ccb14f612cf8
[ "MIT" ]
null
null
null
#include "Gltf.h" #include "../Logging.h" #include "../detail/Json.h" #include "../detail/GltfJson.h" namespace ad { namespace arte { using namespace gltf; namespace { constexpr const char * gTagAccessors = "accessors"; constexpr const char * gTagAlphaMode = "alphaMode"; constexpr const c...
30.099778
164
0.639816
Adnn
ea58318fcf942c63fcf1eac1d9aa3efbdfe35b0a
10,422
cpp
C++
modules/sdk-core/src/Users/EntryGenerator.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
19
2018-12-05T12:18:02.000Z
2021-07-13T07:33:22.000Z
modules/sdk-core/src/Users/EntryGenerator.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-03-16T15:52:06.000Z
2020-08-01T11:14:30.000Z
modules/sdk-core/src/Users/EntryGenerator.cpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-01-07T09:55:32.000Z
2020-08-01T01:29:28.000Z
#include <Tanker/Crypto/Crypto.hpp> #include <Tanker/Types/Overloaded.hpp> #include <Tanker/Users/EntryGenerator.hpp> #include <date/date.h> namespace Tanker::Users { using namespace Tanker::Trustchain; using Trustchain::Actions::DeviceCreation; using Trustchain::Actions::DeviceCreation1; using Trustchain::Actions::De...
34.624585
78
0.684322
TankerHQ
ea5d3d61545d03e1829ccd37865378b74613a075
2,183
hpp
C++
cppsrc/board.hpp
gateship1/RushHour
84fce27c7d19037e81eebf8858a89dfb848349ae
[ "Apache-2.0" ]
null
null
null
cppsrc/board.hpp
gateship1/RushHour
84fce27c7d19037e81eebf8858a89dfb848349ae
[ "Apache-2.0" ]
null
null
null
cppsrc/board.hpp
gateship1/RushHour
84fce27c7d19037e81eebf8858a89dfb848349ae
[ "Apache-2.0" ]
null
null
null
#ifndef BOARD_HEADER_FILE #define BOARD_HEADER_FILE #include <algorithm> // find_if, min #include <iostream> #include <map> // map #include <cmath> // cos, sin #include <sstream> // stringstream #include <vector> #include "vehicle.hpp" // player vehicle is a global variable and is 'x' const char player_vehicle_id = ...
34.650794
90
0.677966
gateship1
ea668c2bedd91233587d2f84c644181686f0b262
4,479
cpp
C++
3.7.0/clang-tools-extra-3.7.0.src/test/clang-tidy/misc-inefficient-algorithm.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
3
2016-02-10T14:18:40.000Z
2018-02-05T03:15:56.000Z
3.7.0/clang-tools-extra-3.7.0.src/test/clang-tidy/misc-inefficient-algorithm.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
3.7.0/clang-tools-extra-3.7.0.src/test/clang-tidy/misc-inefficient-algorithm.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
null
null
null
// RUN: $(dirname %s)/check_clang_tidy.sh %s misc-inefficient-algorithm %t // REQUIRES: shell namespace std { template <typename T> struct less { bool operator()(const T &lhs, const T &rhs) { return lhs < rhs; } }; template <typename T> struct greater { bool operator()(const T &lhs, const T &rhs) { return lhs > r...
33.425373
142
0.636303
androm3da
ea6907f8667343d4cae1d47ea6ab4e1eb38cedc6
5,500
cc
C++
src/stream/audio/alsa/alsa_capture_stream.cc
screencloud/screenbox-rockchip--rkmedia
d8b09604ab8eb89b9615236ba41a6b049bd0af5c
[ "BSD-3-Clause" ]
null
null
null
src/stream/audio/alsa/alsa_capture_stream.cc
screencloud/screenbox-rockchip--rkmedia
d8b09604ab8eb89b9615236ba41a6b049bd0af5c
[ "BSD-3-Clause" ]
null
null
null
src/stream/audio/alsa/alsa_capture_stream.cc
screencloud/screenbox-rockchip--rkmedia
d8b09604ab8eb89b9615236ba41a6b049bd0af5c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "stream.h" #include <assert.h> #include <errno.h> #include "alsa_utils.h" #include "media_type.h" #include "utils.h" #include "...
28.947368
80
0.686182
screencloud
ea690d8d07c492c1629c062a0a69f8314d2a67e0
909
cpp
C++
Bonepick/engine/utility/Random.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
3
2018-10-09T02:08:57.000Z
2020-08-12T20:26:29.000Z
Bonepick/engine/utility/Random.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
1
2018-09-30T02:42:39.000Z
2018-09-30T02:42:39.000Z
Bonepick/engine/utility/Random.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
null
null
null
#include "utility/Random.h" #include <cstdlib> #include <ctime> namespace { unsigned storedSeed = 0; } //############################################################################## void InitializeRandom(void) { InitializeRandom(unsigned(std::time(nullptr))); } //##############################################...
21.642857
80
0.40374
dodgelafnitz
ea6f2a5d306034ca798e1ab578acf6cf776a5180
13,143
cpp
C++
test/test_cases2.cpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
test/test_cases2.cpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
test/test_cases2.cpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
#include "test_cases.hpp" #include "wordsearch_solver/wordsearch_solver.hpp" #include <catch2/catch.hpp> #include <fmt/format.h> #include <range/v3/action/sort.hpp> #include <range/v3/action/unique.hpp> #include <range/v3/view/map.hpp> #include <algorithm> #include <filesystem> #include <fstream> #include <iostream>...
27.96383
80
0.592254
Arghnews
ea728ba356cb47a80116e72dfcad0cb201ad67e5
3,804
cpp
C++
core/datastructures/geometrydata.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
5
2018-06-19T06:20:01.000Z
2021-07-31T05:54:25.000Z
core/datastructures/geometrydata.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
core/datastructures/geometrydata.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// ================================================================================================ // // This file is part of the CAMPVis Software Framework. // // If not explicitly stated otherwise: Copyright (C) 2012-2015, all rights reserved, // Christian Schulte zu Berge <christian.szb@in.tum.de> // ...
32.237288
100
0.595952
hmsgit
ea73ac71d517bdb068a483d3b41c14c126a01b99
55,809
cpp
C++
src/udprelay.cpp
renovate-bot/bitcoinfibre
73daeaceddde31253cb56edc97ebdf3427f02695
[ "MIT" ]
140
2016-07-07T20:42:34.000Z
2021-11-06T01:10:54.000Z
src/udprelay.cpp
renovate-bot/bitcoinfibre
73daeaceddde31253cb56edc97ebdf3427f02695
[ "MIT" ]
17
2016-07-07T13:11:34.000Z
2020-07-02T22:36:47.000Z
src/udprelay.cpp
renovate-bot/bitcoinfibre
73daeaceddde31253cb56edc97ebdf3427f02695
[ "MIT" ]
30
2016-07-09T01:00:59.000Z
2022-01-19T07:18:13.000Z
// Copyright (c) 2016, 2017 Matt Corallo // Unlike the rest of Bitcoin Core, this file is // distributed under the Affero General Public License (AGPL v3) #include "udprelay.h" #include "chainparams.h" #include "consensus/consensus.h" // for MAX_BLOCK_SERIALIZED_SIZE #include "consensus/validation.h" // for CValidati...
51.200917
448
0.63884
renovate-bot
ea791b1665659af3b4567a18ef49b349839e9946
589
cpp
C++
src/engiX/logic/Actor.cpp
MHesham/engiX
d10fee9523882709a890f05e214b03fc25df3147
[ "Apache-2.0" ]
4
2015-01-05T06:18:39.000Z
2021-01-21T07:11:40.000Z
src/engiX/logic/Actor.cpp
anasawad/engiX
d10fee9523882709a890f05e214b03fc25df3147
[ "Apache-2.0" ]
null
null
null
src/engiX/logic/Actor.cpp
anasawad/engiX
d10fee9523882709a890f05e214b03fc25df3147
[ "Apache-2.0" ]
2
2015-01-05T06:18:41.000Z
2019-03-01T02:39:37.000Z
#include "Actor.h" #include "Logger.h" #include "WinGameApp.h" using namespace engiX; Actor Actor::Null(L"NullActor"); void Actor::OnUpdate(_In_ const Timer& time) { for (auto& component : m_components) component.second->OnUpdate(time); } bool Actor::Init() { for (auto& component : m_components) ...
21.035714
154
0.612903
MHesham
ea7927d147ef7e89e9427c71fe8da431832d4f2f
5,508
inl
C++
WSEExternal/include/Common/Base/Math/Matrix/hkMatrix3.inl
Swyter/wse
3ad901f1a463139b320c30ea08bdc343358ea6b6
[ "WTFPL" ]
null
null
null
WSEExternal/include/Common/Base/Math/Matrix/hkMatrix3.inl
Swyter/wse
3ad901f1a463139b320c30ea08bdc343358ea6b6
[ "WTFPL" ]
null
null
null
WSEExternal/include/Common/Base/Math/Matrix/hkMatrix3.inl
Swyter/wse
3ad901f1a463139b320c30ea08bdc343358ea6b6
[ "WTFPL" ]
null
null
null
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Level 2 and Level 3 source code contains trade secrets...
25.859155
247
0.65305
Swyter
ea7db025595b6ea4848d7d7bd24126a19f8861e1
926
cpp
C++
Leetcode/0350. Intersection of Two Arrays II/0350-3.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0350. Intersection of Two Arrays II/0350-3.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0350. Intersection of Two Arrays II/0350-3.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: vector<int> intersect(vector<int>& nums1, vector<int>& nums2) { if (nums1.size() > nums2.size()) return intersect(nums2, nums1); vector<int> ans; int lowerBound = 0; // lower bound for the binary search sort(begin(nums1), end(nums1)); sort(begin(nums2), end(nums2...
22.047619
65
0.548596
Next-Gen-UI
ea7e3fe1c95282a02611146ab0ff2d1d23084a9b
25,604
cpp
C++
src/AnimTimeline/qframeselector.cpp
hiergaut/AnimTimeline
1998ba097628106607888c4f0871173fe6f281a1
[ "Apache-2.0" ]
14
2019-09-29T14:27:53.000Z
2021-11-14T11:58:01.000Z
src/AnimTimeline/qframeselector.cpp
hiergaut/AnimTimeline
1998ba097628106607888c4f0871173fe6f281a1
[ "Apache-2.0" ]
null
null
null
src/AnimTimeline/qframeselector.cpp
hiergaut/AnimTimeline
1998ba097628106607888c4f0871173fe6f281a1
[ "Apache-2.0" ]
5
2019-02-16T18:57:02.000Z
2021-08-24T00:14:46.000Z
//#include <AnimTimeline/animtimeline.h> #include "FormAnimTimeline.h" //#include <AnimTimeline/qframeselector.h> #include "qframeselector.h" #include <QDebug> #include <QPainter> #include <QTimer> #include <QWheelEvent> #include <QtGlobal> QFrameSelector::QFrameSelector(QWidget* parent) : QFrame(parent) { wi...
26.260513
106
0.544798
hiergaut
ea7ef91e43c7ad49d69ea19df26f6d58aa1b27e7
320
cpp
C++
etc/dp/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
etc/dp/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
etc/dp/e/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
#include "template.hpp" int main() { ll(N, W); vll(w, v, N); ll V = 0; each(v_i, v) { V += v_i; } vi dp(V + 1, INF); dp[0] = 0; rep(i, N) { rrepi(j, v[i], V) { chmin(dp[j], dp[j - v[i]] + w[i]); } } ll ans; rrepi(i, V) { if (dp[i] <= W) { ans = i; break; } } out(ans); }
14.545455
60
0.39375
wotsushi
ea7f53c610726dec363b0a8d814090c93cb32a01
2,771
cpp
C++
objs__buster_rocket.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
5
2015-12-09T20:37:49.000Z
2021-08-10T08:06:29.000Z
objs__buster_rocket.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
13
2021-09-20T16:25:30.000Z
2022-03-17T04:59:40.000Z
objs__buster_rocket.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
5
2016-01-04T22:54:22.000Z
2021-09-20T16:09:03.000Z
#include "pch.h" /********************************************************************** <BR> This file is part of Crack dot Com's free source code release of Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for information about compiling & licensing issues visit this URL</a> <PRE> If...
24.095652
86
0.679899
poikilos
ea82bf3e4bb249a5a22a064af19e62a15d4f2315
786
cpp
C++
src/fixie_lib/scissor_state.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
7
2015-01-09T22:08:17.000Z
2021-10-12T10:32:58.000Z
src/fixie_lib/scissor_state.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
1
2015-08-19T07:51:53.000Z
2015-08-19T07:51:53.000Z
src/fixie_lib/scissor_state.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
5
2015-08-20T07:10:23.000Z
2022-03-24T07:09:10.000Z
#include "fixie_lib/scissor_state.hpp" #include "fixie/fixie_gl_es.h" namespace fixie { scissor_state::scissor_state() : _scissor_test_enabled() , _scissor() { } GLboolean& scissor_state::scissor_test_enabled() { return _scissor_test_enabled; } const GLboolean& sc...
19.170732
64
0.62341
vonture
ea836d279dd0f023580f6d76ed3ec15e27e86452
9,747
cpp
C++
TeamT2_ARC2017_src/t2_robot_vision/src/robot_vision_occupancy.cpp
warehouse-picking-automation-challenges/Team_T2
7cf4c211dcd5726fbe876ff555b76602148d21ad
[ "BSD-3-Clause" ]
2
2020-05-24T14:09:34.000Z
2021-01-27T08:01:39.000Z
TeamT2_ARC2017_src/t2_robot_vision/src/robot_vision_occupancy.cpp
warehouse-picking-automation-challenges/Team_T2
7cf4c211dcd5726fbe876ff555b76602148d21ad
[ "BSD-3-Clause" ]
null
null
null
TeamT2_ARC2017_src/t2_robot_vision/src/robot_vision_occupancy.cpp
warehouse-picking-automation-challenges/Team_T2
7cf4c211dcd5726fbe876ff555b76602148d21ad
[ "BSD-3-Clause" ]
1
2020-05-24T14:09:36.000Z
2020-05-24T14:09:36.000Z
/* * Software License Agreement (BSD License) * * Copyright (c) 2017, Toshiba Corporation, * Toshiba Infrastructure Systems & Solutions Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
33.961672
119
0.683492
warehouse-picking-automation-challenges
ea84a60365ee50a2b2c4dac3f1daee10fe1e80e3
1,073
cpp
C++
runtime/test/strconv_test.cpp
cpp-openapi/runtime
18fe7995b810617e8176f84e1bfe1138414e5e1c
[ "Apache-2.0" ]
null
null
null
runtime/test/strconv_test.cpp
cpp-openapi/runtime
18fe7995b810617e8176f84e1bfe1138414e5e1c
[ "Apache-2.0" ]
null
null
null
runtime/test/strconv_test.cpp
cpp-openapi/runtime
18fe7995b810617e8176f84e1bfe1138414e5e1c
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include "openapi/runtime/strconv.h" #include "openapi/runtime/string.h" TEST(StrConv_test, basic) { #ifdef OPENAPI_UTF16_STRINGS // std::mbstate_t state = std::mbstate_t(); // std::size_t size; // const char * buf = ""; // ::mbsrtowcs_s(&size, nullptr, 0 /*dst ...
34.612903
78
0.579683
cpp-openapi
ea8a2b0167ae2208c81f7269fca2cb9079111ba8
1,436
cpp
C++
third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fog.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fog.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
third_party/virtualbox/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fog.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/* Copyright (c) 2001, Stanford University * All rights reserved * * See the file LICENSE.txt for information on redistributing this software. */ #include "unpacker.h" void crUnpackFogfv(PCrUnpackerState pState) { CHECK_BUFFER_SIZE_STATIC_LAST(pState, sizeof(int) + 4, GLfloat); GLenum pname = READ_DATA(p...
30.553191
76
0.691504
Fimbure
ea8cdd0c242453cf65d1d3697f8544cd3e07477f
588
cpp
C++
Blaze/libraries.cpp
Star-Athenaeum/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
1
2021-09-29T21:54:54.000Z
2021-09-29T21:54:54.000Z
Blaze/libraries.cpp
Star-Athenaeum/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
44
2020-04-17T14:39:36.000Z
2020-10-14T04:15:48.000Z
Blaze/libraries.cpp
Stryxus/Blaze
73f26316e4146596aeb82f77d054cf4e472a2d3d
[ "MIT" ]
1
2020-09-30T22:56:48.000Z
2020-09-30T22:56:48.000Z
#include "pch.hpp" #include "libraries.hpp" map<string, HMODULE> modules; void load_libraries(vector<string> library_names) { for (string name : library_names) { HMODULE m = LoadLibrary(string_to_wstring_copy(name).c_str()); if (m == NULL) Logger::log_last_error(); else modules.emplace(name, m); } } HMODUL...
20.275862
64
0.727891
Star-Athenaeum
ea90c0d35c57c7f88a067a6f8c89cffb654a5efe
1,664
cpp
C++
zdk/src/persistent.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
2
2018-03-19T23:27:47.000Z
2018-06-24T16:15:19.000Z
zdk/src/persistent.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
null
null
null
zdk/src/persistent.cpp
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
1
2021-11-28T05:39:05.000Z
2021-11-28T05:39:05.000Z
// // $Id$ // // ------------------------------------------------------------------------- // This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu // // 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....
19.126437
79
0.5625
cristivlas
ea92a1e17b927a42fa4c3f85a4bf6b4c7f722b71
13,160
cpp
C++
AppleIntelWifiAdapter/IWLCtxtInfo.cpp
AppleIntelWifi/adapter
49698895ab94563de1cff4e9cd6b0c62ca933bc1
[ "BSD-3-Clause" ]
584
2020-02-21T23:49:49.000Z
2022-03-10T01:49:41.000Z
AppleIntelWifiAdapter/IWLCtxtInfo.cpp
AppleIntelWifi/adapter
49698895ab94563de1cff4e9cd6b0c62ca933bc1
[ "BSD-3-Clause" ]
76
2020-02-21T22:48:05.000Z
2020-09-24T09:08:36.000Z
AppleIntelWifiAdapter/IWLCtxtInfo.cpp
AppleIntelWifi/adapter
49698895ab94563de1cff4e9cd6b0c62ca933bc1
[ "BSD-3-Clause" ]
64
2020-02-23T05:25:44.000Z
2022-02-28T19:48:59.000Z
// // IWLCtxtInfo.cpp // AppleIntelWifiAdapter // // Created by 钟先耀 on 2020/2/9. // Copyright © 2020 IntelWifi for MacOS authors. All rights reserved. // #include "IWLCtxtInfo.hpp" static void *iwl_pcie_ctxt_info_dma_alloc_coherent(IWLTransport *trans, size_t siz...
32.9
79
0.681991
AppleIntelWifi
ea93c088163c57819b7349170eab9d1ae2c6842d
1,808
cpp
C++
libgputk/gputkInit.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
libgputk/gputkInit.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
libgputk/gputkInit.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
#include "gputk.h" #define MB (1 << 20) #ifndef GPUTK_DEFAULT_HEAP_SIZE #define GPUTK_DEFAULT_HEAP_SIZE (1024 * MB) #endif /* GPUTK_DEFAULT_HEAP_SIZE */ static bool _initializedQ = gpuTKFalse; #ifndef GPUTK_USE_WINDOWS //__attribute__((__constructor__)) #endif /* GPUTK_USE_WINDOWS */ void gpuTK_init(int * #ifdef GP...
20.781609
71
0.679204
xlmentx
ea97a9af4dd0f86a64013ae54b56f83f18f34664
899
cpp
C++
cpyquickhelper/parallel/threaderc.cpp
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
2
2017-10-03T20:39:13.000Z
2019-02-06T15:24:04.000Z
cpyquickhelper/parallel/threaderc.cpp
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
21
2017-09-17T11:14:04.000Z
2021-01-01T13:24:20.000Z
cpyquickhelper/parallel/threaderc.cpp
sdpython/cpyquickhelper
c2bdebad2201c7e10a5999a836bbf53e27b963c7
[ "MIT" ]
null
null
null
// Source: https://github.com/munawarb/Python-Kill-Thread-Extension/blob/master/threader.c #include "threader.hpp" #define PTW32_STATIC_LIB #ifdef _MSC_VER #define _TIMESPEC_DEFINED #include <windows.h> typedef struct { HANDLE handle; void *(*start_routine)(void*); void *arg; } pthread_t; int pthread_cancel(pthr...
22.475
90
0.719689
sdpython
ea98b93a2f0f147d7fb42ce52316638ba5487bfa
2,553
cpp
C++
126_findLadders.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
126_findLadders.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
126_findLadders.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<string>> findLadders(string beginWord, string endWord, unordered_set<string> &wordList) { if (beginWord == endWord) return {{endWord}}; unordered_map<string, vector<string>> graph; vector<vector<string>> paths; unorder...
31.134146
79
0.57736
imxiaobo
ea9984b575b3db09626312274a2bd661cd42ba53
3,977
cpp
C++
src/notifycontroller_mobike_supported.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
3
2017-03-03T17:05:37.000Z
2020-06-16T04:50:40.000Z
src/notifycontroller_mobike_supported.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
11
2017-02-27T09:31:17.000Z
2020-03-20T16:31:05.000Z
src/notifycontroller_mobike_supported.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright (C) 2005 by * * Alejandro Perez Mendez alex@um.es * * Pedro J. Fernandez Ruiz pedroj@um.es * * ...
47.915663
157
0.605733
OpenIKEv2
ea9a79dc2a93c87c01c9fa9aded7b1b7cf57e134
4,055
cc
C++
parallel_clustering/clustering/clusterers/modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/clusterers/modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/clusterers/modularity-clusterer.cc
jeshi96/google-research
b769d51bb71eefe0a732eb0286716feb62117e2d
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Google Research Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
37.897196
106
0.734155
jeshi96
eaa27e6e23224aa13b19ee427c31793e2a342b0d
7,007
hpp
C++
Lib/Chip/CM4/Atmel/ATSAM4SD32C/CRCCU.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/CM4/Atmel/ATSAM4SD32C/CRCCU.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/CM4/Atmel/ATSAM4SD32C/CRCCU.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Cyclic Redundancy Check Calculation Unit namespace CrccuDscr{ ///<CRCCU Descriptor Base Register using Addr = Register::Address<0x40044000,0x000001ff,0x00000000,unsigned>; ///Descriptor Base Address constexpr Register::Fie...
72.237113
220
0.73027
cjsmeele
eaac335138b04a7ce94ca33f15cf70799ca4394c
1,211
cpp
C++
trunk/day30/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
trunk/day30/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
trunk/day30/solution.cpp
itsjacob/90pp
eca71e624d28d216feb06d615e587fc6792c36b6
[ "MIT" ]
null
null
null
class Solution { public: bool possibleBipartition(int n, vector<vector<int>> &dislikes) { // create the graph with adjancenty list std::vector<std::vector<int>> adjList(n + 1); for (auto const &dislike : dislikes) { adjList[dislike[0]].push_back(dislike[1]); // undirected graph so update bot...
28.833333
96
0.599505
itsjacob
eab3217675395f3932b525f1d67e3e2b3e19c4ec
1,001
cpp
C++
include/hydro/compiler/Line.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/Line.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/Line.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
14.3
142
0.455544
hydraate
eab4a65f9ef2c05abd1a40d81e5581d2bc5b8ce7
4,283
cpp
C++
source/Driver/SFML/PlatformSFML.cpp
tunip3/Super-Haxagon
7d1f9c665263e2ea8110bbad5d473f882aa0a441
[ "MIT" ]
null
null
null
source/Driver/SFML/PlatformSFML.cpp
tunip3/Super-Haxagon
7d1f9c665263e2ea8110bbad5d473f882aa0a441
[ "MIT" ]
null
null
null
source/Driver/SFML/PlatformSFML.cpp
tunip3/Super-Haxagon
7d1f9c665263e2ea8110bbad5d473f882aa0a441
[ "MIT" ]
null
null
null
#include "../../../include/Driver/SFML/PlatformSFML.hpp" #include "../../../include/Core/Structs.hpp" #include "../../../include/Driver/SFML/AudioSFML.hpp" #include "../../../include/Driver/SFML/FontSFML.hpp" #include "../../../include/Driver/SFML/PlayerSoundSFML.hpp" #include <array> #include <string> namespace Sup...
29.335616
112
0.666589
tunip3
eaba518cb8752e1a4e25677420d2aff44451aa37
3,653
cxx
C++
main/vbahelper/source/msforms/vbaframe.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/vbahelper/source/msforms/vbaframe.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/vbahelper/source/msforms/vbaframe.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
35.466019
133
0.707638
Grosskopf
eabbdb3d1167119f0ad88a6c4d198f642ac3fbcd
9,371
cxx
C++
main/unotools/source/config/sourceviewconfig.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/source/config/sourceviewconfig.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/source/config/sourceviewconfig.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
35.362264
83
0.465479
Grosskopf
eabd41e72d247194ce39be33fc415ae575750ac7
11,209
cpp
C++
gui/graphs/plot.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
gui/graphs/plot.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
gui/graphs/plot.cpp
den-makarov/electronshik
8065842ab0e190b51e8a8745ff984b34fb8da82a
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include <QPainter> #include <QPen> #include "plot.h" #include "logger.h" #include "mathutils.h" namespace PowerLab { namespace Gui { Plot::Plot(int width, int height) : m_width(width) , m_height(height) { } int Plot::getWidth() const { return m_width; } void Plot::setWidth(int width) { m...
26.561611
107
0.644661
den-makarov
eabeecac12f20344a7ba86bb561b081029f5e667
335
cpp
C++
cf/r461div2A.cpp
meng-jack/competitive-programming
f2b4fcec1023e8f827f806dcaa0a2b76117b6c7f
[ "MIT" ]
1
2021-11-23T16:44:07.000Z
2021-11-23T16:44:07.000Z
cf/r461div2A.cpp
meng-jack/competitive-programming
f2b4fcec1023e8f827f806dcaa0a2b76117b6c7f
[ "MIT" ]
3
2021-11-10T19:32:00.000Z
2021-11-21T17:24:49.000Z
cf/r461div2A.cpp
meng-jack/competitive-programming
f2b4fcec1023e8f827f806dcaa0a2b76117b6c7f
[ "MIT" ]
1
2021-11-10T19:24:22.000Z
2021-11-10T19:24:22.000Z
#include <bits/stdc++.h> #define SPEED \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); using namespace std; int main() { SPEED int x, y; cin >> x >> y; if (y > x + 1 || y == 0 || y == 1 && x > 0) { cout << "NO"; return 0; } ((y - 1) - x) % 2 == 0 ? cout << "YES" : c...
17.631579
56
0.435821
meng-jack
eac770d48bd3ab82de8b75842932fde094489d5c
11,432
cpp
C++
src/not_suspicious/Technique_MemoryChecks.cpp
CheckPointSW/showstopper
8e440bf993a65cc2ebe6aaf0a39437a8ed6c5276
[ "MIT" ]
128
2020-08-05T11:39:21.000Z
2022-03-16T06:06:48.000Z
src/not_suspicious/Technique_MemoryChecks.cpp
CheckPointSW/showstopper
8e440bf993a65cc2ebe6aaf0a39437a8ed6c5276
[ "MIT" ]
null
null
null
src/not_suspicious/Technique_MemoryChecks.cpp
CheckPointSW/showstopper
8e440bf993a65cc2ebe6aaf0a39437a8ed6c5276
[ "MIT" ]
16
2020-08-05T15:42:54.000Z
2021-12-14T03:18:54.000Z
#include "Technique_MemoryChecks.h" #include <TlHelp32.h> #include <intrin.h> #pragma intrinsic(_ReturnAddress) // // Process memory checks : Breakpoints // AntiDebug_INT3Scan::AntiDebug_INT3Scan(const std::string name, const std::shared_ptr<AntiDebug> &parent) : Technique(name, parent) { } bool AntiDebug_INT3Scan...
25.292035
148
0.726994
CheckPointSW
eac83414030e0dd7883aad5501f4dc445e5056db
186
cpp
C++
light.cpp
atomiccheese/raytracer
ad80fe64992275e54db2a86f1c963e5038e6dc87
[ "MIT" ]
null
null
null
light.cpp
atomiccheese/raytracer
ad80fe64992275e54db2a86f1c963e5038e6dc87
[ "MIT" ]
null
null
null
light.cpp
atomiccheese/raytracer
ad80fe64992275e54db2a86f1c963e5038e6dc87
[ "MIT" ]
null
null
null
#include "light.hpp" Light::Light(const color& c) : col(c) { } color Light::getColor(const vec3& incoming) const { return col; } bool Light::isInfinitelyFarAway() { return false; }
14.307692
51
0.688172
atomiccheese
eacbe965f36a895928b9b7b6491a72e83245bcab
3,421
cpp
C++
Arafat/27. Offset Arrays.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
1
2022-03-16T08:56:31.000Z
2022-03-16T08:56:31.000Z
Arafat/27. Offset Arrays.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
2
2022-03-17T11:27:14.000Z
2022-03-18T07:41:00.000Z
Arafat/27. Offset Arrays.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
6
2022-03-13T19:56:11.000Z
2022-03-17T12:08:22.000Z
//https://www.codingame.com/ide/puzzle/offset-arrays #include <bits/stdc++.h> using namespace std; typedef long long ll; map<char,string>mp; map<pair<string,string>,string> mp2; /* 3 A[-1..1] = 1 2 3 B[3..7] = 3 4 5 6 7 C[-2..1] = 1 2 3 4 A[0] -- 1 X[0..3] = 1 3 3 7 X[X[2]] */ string solve(string str) ...
21.515723
82
0.366559
AhmedMostafa7474
eacc408bcd5ca9f6967fd3555a9393047ef77d55
3,820
cc
C++
src/comm/udp.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
null
null
null
src/comm/udp.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
5
2018-05-30T03:09:10.000Z
2018-06-02T22:56:05.000Z
src/comm/udp.cc
Phantomape/paxos
d88ab88fa5b6c7d74b508580729c4dea4de6f180
[ "MIT" ]
null
null
null
#include "default_network.h" #include "udp.h" #include <arpa/inet.h> #include <cstring> #include <poll.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> namespace paxos { UdpRecv::UdpRecv(DefaultNetwork* default_network) : default_network(default_network), socket_file_descriptor_(-1), is_ende...
22.080925
121
0.596335
Phantomape
eaccfca629e57e7db41810ce8dfcc7b73c5d3a5a
5,747
cpp
C++
ProjectEuler+/euler-0268.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0268.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0268.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
1
2021-05-28T11:14:34.000Z
2021-05-28T11:14:34.000Z
// //////////////////////////////////////////////////////// // # Title // Counting numbers with at least four distinct prime factors less than 100 // // # URL // https://projecteuler.net/problem=268 // http://euler.stephan-brumme.com/268/ // // # Problem // It can be verified that there are 23 positive integers less th...
36.605096
159
0.623108
sarvekash
ead075903771f2ae5023b95e6ebb3e27ad7701b6
837
cpp
C++
source/JACDAC/control/JDRNGService.cpp
wallarug/codal-core
7e459b8d7aebeef5591e636f5b5ba6d1053562f6
[ "MIT" ]
null
null
null
source/JACDAC/control/JDRNGService.cpp
wallarug/codal-core
7e459b8d7aebeef5591e636f5b5ba6d1053562f6
[ "MIT" ]
null
null
null
source/JACDAC/control/JDRNGService.cpp
wallarug/codal-core
7e459b8d7aebeef5591e636f5b5ba6d1053562f6
[ "MIT" ]
null
null
null
#include "JDRNGService.h" #include "JACDAC.h" using namespace codal; int JDRNGService::send(uint8_t* buf, int len) { if (JACDAC::instance) return JACDAC::instance->bus.send(buf, len, this->service_number, NULL); return DEVICE_NO_RESOURCES; } JDRNGService::JDRNGService() : JDService(JD_SERVICE_CLASS_...
26.15625
91
0.731183
wallarug
ead1556f3a93d6c8baac6993f5ae967a8582b208
962
cpp
C++
example.cpp
DoctorBazooka/cpp-itertools
0db1276065b456bf571186074a9d19b8d3920f9f
[ "MIT" ]
null
null
null
example.cpp
DoctorBazooka/cpp-itertools
0db1276065b456bf571186074a9d19b8d3920f9f
[ "MIT" ]
null
null
null
example.cpp
DoctorBazooka/cpp-itertools
0db1276065b456bf571186074a9d19b8d3920f9f
[ "MIT" ]
null
null
null
#include "cpp-itertools.hpp" #include <iostream> #include <vector> #include <cppcoro/generator.hpp> int main() { std::vector<int> example{2, 4, 6, 8, 10, 12}; std::vector<std::string> example2{"Man", "Woman", "Person", "Camera", "TV"}; std::cout << "\nExample:\n"; for (auto& x : example) { s...
26
80
0.503119
DoctorBazooka
ead4bd8b691194d0f34cac008f8fae9c30fdc578
1,524
cpp
C++
099-recover-binary-search-tree/recover-binary-search-tree.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
099-recover-binary-search-tree/recover-binary-search-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
099-recover-binary-search-tree/recover-binary-search-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// Two elements of a binary search tree (BST) are swapped by mistake. // // Recover the tree without changing its structure. // // Example 1: // // // Input: [1,3,null,null,2] // //   1 //   / //  3 //   \ //   2 // // Output: [3,1,null,null,2] // //   3 //   / //  1 //   \ //   2 // // // Example 2:...
16.212766
70
0.44685
nagestx
ead9282a376bc2d7c8f1ce51d59fa561cbe3802d
85,763
cpp
C++
Server/Servers/TrafficServer/src/DatexUtilsII.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Servers/TrafficServer/src/DatexUtilsII.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Servers/TrafficServer/src/DatexUtilsII.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 condit...
50.807464
755
0.695615
wayfinder
eada45dd9efdabc1437dc5e345565308f9cde2d2
1,224
cpp
C++
.LHP/.Lop10/.O.L.P/.T.Van/Colp6/code/DSEQ/DSEQ.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop10/.O.L.P/.T.Van/Colp6/code/DSEQ/DSEQ.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop10/.O.L.P/.T.Van/Colp6/code/DSEQ/DSEQ.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #define maxN 100002 #define maxA 1000000001 #define minA -1000000001 #define maxR 1000000000000001 #define minR -1000000000000001 typedef long maxn; typedef long long maxa; maxn n; maxa a[maxN], mn[maxN], mx[maxN], mnv[maxN], mxv[maxN], res; void Prepare()...
17.73913
112
0.5
sxweetlollipop2912
eada697ac7e679a506d4e99d16a830d656624b95
5,270
cc
C++
runtime/onert/backend/gpu_cl/open_cl/StorageTypeUtil.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
1
2021-01-23T06:05:14.000Z
2021-01-23T06:05:14.000Z
runtime/onert/backend/gpu_cl/open_cl/StorageTypeUtil.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
5
2021-09-06T01:30:08.000Z
2021-09-26T09:48:08.000Z
runtime/onert/backend/gpu_cl/open_cl/StorageTypeUtil.cc
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
2
2021-09-02T01:35:31.000Z
2021-09-09T06:47:22.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved * Copyright 2020 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 ...
35.133333
100
0.678178
juitem
eadd738e6c5b36fb633ad178d353bd277241590d
167
hpp
C++
BlasterFirmware/modules/readback_memory.hpp
MasterQ32/LPCBlaster
1490a6f0b7963e7acc47902d9ea2b1abd1ac4563
[ "Zlib" ]
null
null
null
BlasterFirmware/modules/readback_memory.hpp
MasterQ32/LPCBlaster
1490a6f0b7963e7acc47902d9ea2b1abd1ac4563
[ "Zlib" ]
null
null
null
BlasterFirmware/modules/readback_memory.hpp
MasterQ32/LPCBlaster
1490a6f0b7963e7acc47902d9ea2b1abd1ac4563
[ "Zlib" ]
null
null
null
#ifndef READBACK_MEMORY_HPP #define READBACK_MEMORY_HPP #include "sysctrl.hpp" namespace readback_memory { sysctrl::state begin(); } #endif // READBACK_MEMORY_HPP
13.916667
29
0.790419
MasterQ32
eadea9ec046a64c8ade4360f496de39ea9afce16
1,409
cpp
C++
POJ/3624.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
POJ/3624.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
POJ/3624.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
/* #include <iostream> using namespace std; #define quan 3402 #define totw 12880 int dp[quan+1][totw+1]={}; int weight[quan+1]; int charm[quan+1]; int main() { int limq, limw; cin>>limq>>limw; for(int x=1; x<=limq; x++) { cin>>weight[x]>>charm[x]; } for(int x=1; x<=limq; x++) cou...
19.30137
72
0.450674
Superdanby
eae2630f78a8e324f225b4f833bc752af10a4ec2
4,528
inl
C++
implement/oglplus/texgen/param_format.inl
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
103
2015-10-15T07:09:22.000Z
2022-03-20T03:39:32.000Z
implement/oglplus/texgen/param_format.inl
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
11
2015-11-25T11:39:49.000Z
2021-06-18T08:06:06.000Z
implement/oglplus/texgen/param_format.inl
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
10
2016-02-28T00:13:20.000Z
2021-09-06T05:21:38.000Z
/// @file /// /// Copyright Matus Chochlik. /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE_1_0.txt or copy at /// http://www.boost.org/LICENSE_1_0.txt /// #include <iostream> namespace eagine::oglp::texgen { namespace expr { //----------------------------------------...
38.372881
80
0.43242
ford442
eae3110bbc3e5d622f76fd9cdba14db8df9d0c2c
302
cpp
C++
contest/AtCoder/abc169/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc169/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc169/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "vector.hpp" int main() { int n(in); Vector<int64_t> a(n, in); int64_t res = 1; for (auto i : a) { if (2e18 / res < i) { res = 2e18; } else { res *= i; } } if (res <= 1000000000000000000) { cout << res << endl; } else { cout << -1 << endl; } }
15.1
35
0.460265
not522
eae31c31b795fec3602a473a9c16ca4d93018b51
5,345
cpp
C++
Engine/Scene/Common/Fader.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
47
2018-04-27T02:16:26.000Z
2022-02-28T05:21:24.000Z
Engine/Scene/Common/Fader.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
2
2018-11-13T18:46:41.000Z
2022-03-12T00:04:44.000Z
Engine/Scene/Common/Fader.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
6
2019-08-10T21:56:23.000Z
2020-10-21T11:18:29.000Z
/**************************************************************************** // Usagi Engine, Copyright © Vitei, Inc. 2013 ****************************************************************************/ #include "Engine/Common/Common.h" #include "Engine/Graphics/Device/GFXDevice.h" #include "Engine/Resource/ResourceMgr....
22.648305
117
0.663798
vitei
eae64aee4a0dfa55cbc4eaf5a00f73703596f9a8
2,492
cc
C++
Code/0335-self-crossing.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/0335-self-crossing.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/0335-self-crossing.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class Solution { public: bool isSelfCrossing(vector<int>& x) { if (x.size() <= 3) return false; unordered_map<int, set<pair<int, int>>> mx; unordered_map<int, set<pair<int, int>>> my; int currentx = 0; int currenty = 0; int direction = 0; for (int i = 0; i < x...
55.377778
153
0.457063
SMartQi
eae8144668e4aa21b3f1b114566d3ddccaf35f36
22,894
cpp
C++
source/dvp/VisionCam/CSVisionCam.cpp
emrainey/DVP
1e9649c69d00fb9840876f7608660b6580b15cfa
[ "Apache-2.0" ]
2
2015-09-22T16:50:30.000Z
2017-03-23T22:49:33.000Z
source/dvp/VisionCam/CSVisionCam.cpp
emrainey/DVP
1e9649c69d00fb9840876f7608660b6580b15cfa
[ "Apache-2.0" ]
null
null
null
source/dvp/VisionCam/CSVisionCam.cpp
emrainey/DVP
1e9649c69d00fb9840876f7608660b6580b15cfa
[ "Apache-2.0" ]
null
null
null
#include <CSVisionCam.h> #if defined(ANDROID) && (defined(ICS) || defined(JELLYBEAN)) #ifdef KEY_ZOOM #undef KEY_ZOOM #endif #include <camera/CameraParameters.h> const char PIXEL_FORMAT_YUV420SP[] = "yuv420sp"; const char PIXEL_FORMAT_YUV422I[] = "yuv422i-yuyv"; const char KEY_SATURATION[] = "saturation"; const...
26.902468
136
0.611601
emrainey
eae84c6d28f8df9c28085e2fedeef4935787def3
17,017
cpp
C++
tests/main.cpp
iconation/icon-sdk-cpp
77496d49c17f77126306cd737ab065b3aed82ad6
[ "Apache-2.0" ]
2
2020-09-04T07:26:15.000Z
2020-09-09T10:47:31.000Z
tests/main.cpp
iconation/icon-sdk-cpp
77496d49c17f77126306cd737ab065b3aed82ad6
[ "Apache-2.0" ]
null
null
null
tests/main.cpp
iconation/icon-sdk-cpp
77496d49c17f77126306cd737ab065b3aed82ad6
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include "sdk/sdk.h" #include "sdk/exception.h" #include "blockchain/exception.h" #include "common/exception/exception.h" #include "common/dbg/dbg.h" #include "common/http/http.h" #include <chrono> #include <thread> using namespace ICONation::Common; using namespace ICONation::SDK::Blockchain;...
44.085492
145
0.654463
iconation
eaea10784731ca247eea129f7d3f49235614b448
10,832
hpp
C++
sugarless.hpp
ChanTsune/sugarless
9960bf238ab1dc608ed06e26cdafdb552e1d561e
[ "MIT" ]
null
null
null
sugarless.hpp
ChanTsune/sugarless
9960bf238ab1dc608ed06e26cdafdb552e1d561e
[ "MIT" ]
null
null
null
sugarless.hpp
ChanTsune/sugarless
9960bf238ab1dc608ed06e26cdafdb552e1d561e
[ "MIT" ]
null
null
null
#pragma once #ifndef SUGARLESS_HPP #define SUGARLESS_HPP #include <map> #include <string> #include <vector> #include <ostream> namespace sugarless { const static std::string empty_str(""); const static std::string short_token("-"); const static std::string connect_token("="); const static std::string long_token("--...
30.512676
181
0.562131
ChanTsune
eaed9a8f8ff7b65d83e9a69f02183468af59a38d
1,296
cpp
C++
Data Structures/Stacks/Nearestsmallest.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
null
null
null
Data Structures/Stacks/Nearestsmallest.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-10-01T18:26:34.000Z
2021-10-01T18:26:34.000Z
Data Structures/Stacks/Nearestsmallest.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
7
2021-10-01T16:07:29.000Z
2021-10-04T13:23:48.000Z
#include<iostream> #include<vector> using namespace std; struct Node{ int elem; Node* next; }; Node* createNewNode(int x) { Node *temp = new Node(); temp->elem = x; temp->next = NULL; return temp; } class Stack{ Node* head=NULL; int size=0; public: void push(int elem)...
14.561798
47
0.452932
rishusingh022
eaf4b6169d2dc71d1d86c82080725b2009322b3b
9,094
cc
C++
http2/adapter/callback_visitor.cc
HsingYun/quiche
dc872748c9f7c24adc439eb1ce51e687bc78d502
[ "BSD-3-Clause" ]
null
null
null
http2/adapter/callback_visitor.cc
HsingYun/quiche
dc872748c9f7c24adc439eb1ce51e687bc78d502
[ "BSD-3-Clause" ]
null
null
null
http2/adapter/callback_visitor.cc
HsingYun/quiche
dc872748c9f7c24adc439eb1ce51e687bc78d502
[ "BSD-3-Clause" ]
null
null
null
#include "http2/adapter/callback_visitor.h" #include "http2/adapter/nghttp2_util.h" #include "third_party/nghttp2/src/lib/includes/nghttp2/nghttp2.h" #include "common/quiche_endian.h" // This visitor implementation needs visibility into the // nghttp2_session_callbacks type. There's no public header, so we'll redefin...
42.101852
80
0.703101
HsingYun
eaf4e3dd00b32b751684047362945290f55e3767
1,881
cpp
C++
src/editor/tile_selector.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
118
2015-01-26T12:49:58.000Z
2022-03-19T00:02:01.000Z
src/editor/tile_selector.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
6
2015-03-29T14:59:40.000Z
2020-08-14T22:04:48.000Z
src/editor/tile_selector.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
14
2015-01-18T13:55:13.000Z
2021-11-30T06:56:58.000Z
// Copyright (C) Krzysztof Jakubowski <nadult@fastmail.fm> // This file is part of FreeFT. See license.txt for details. #include "gfx/drawing.h" #include "editor/tile_selector.h" using game::Tile; namespace ui { TileSelector::TileSelector(IRect rect) :Window(rect, WindowStyle::gui_dark), m_tile_list(rect.width()...
26.492958
101
0.671983
nadult
eaf7888539d534b03852aa67044dff2de81c8392
680
cpp
C++
01-Recover/LT0283.cpp
odeinjul/Solution_New
12593def5ae867e8193847184792b7fbe00aeff0
[ "MIT" ]
null
null
null
01-Recover/LT0283.cpp
odeinjul/Solution_New
12593def5ae867e8193847184792b7fbe00aeff0
[ "MIT" ]
null
null
null
01-Recover/LT0283.cpp
odeinjul/Solution_New
12593def5ae867e8193847184792b7fbe00aeff0
[ "MIT" ]
null
null
null
class Solution { public: void moveZeroes(vector<int>& nums) { for(int i=nums.size()-1; i > 0; i--){ while(nums[i] != 0 && nums[i-1] == 0){ int a=nums[i]; nums[i-1] = a; nums[i] = 0; if(i < nums.size()-1) i++; ...
24.285714
50
0.376471
odeinjul
46ae29501587636ff96eda36aafa072f014c3879
4,560
cpp
C++
ch7/sensor/ch7_msgfltr_cpp/src/selfilter.cpp
homalozoa/ros2_for_beginners_code
0515621d9cb53cc0c0e2380cf9a52e68ce975e76
[ "Apache-2.0" ]
null
null
null
ch7/sensor/ch7_msgfltr_cpp/src/selfilter.cpp
homalozoa/ros2_for_beginners_code
0515621d9cb53cc0c0e2380cf9a52e68ce975e76
[ "Apache-2.0" ]
null
null
null
ch7/sensor/ch7_msgfltr_cpp/src/selfilter.cpp
homalozoa/ros2_for_beginners_code
0515621d9cb53cc0c0e2380cf9a52e68ce975e76
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2022 Homalozoa // // 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 i...
35.625
93
0.736623
homalozoa
46ba99f86edc0385b589a1f79c91c77e5d64bc62
9,319
cpp
C++
src/extern/inventor/lib/database/src/sb/projectors/SbCylinderPlaneProjector.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/lib/database/src/sb/projectors/SbCylinderPlaneProjector.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/lib/database/src/sb/projectors/SbCylinderPlaneProjector.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
29.678344
77
0.654577
OpenXIP
46c35d1843bcd0ac27db9cfc88dc341d0df8f440
3,108
cpp
C++
osmz/BitmapTest/app/src/main/cpp/native-lib.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
osmz/BitmapTest/app/src/main/cpp/native-lib.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
osmz/BitmapTest/app/src/main/cpp/native-lib.cpp
jsimck/uni
42ea184ccf3d9ecbffdea19b74ed13f3bc583137
[ "MIT" ]
null
null
null
#include <jni.h> #include <string> #include <android/bitmap.h> #include <android/log.h> #include "Color4.h" #define LOG_TAG "LibBitmap" #define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__) #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__) extern "C" JNIEXPORT ...
30.470588
137
0.481338
jsimck
46c4afc2141ff8c391743d49ff865cc51bd9db79
5,614
cc
C++
Applications/genericCC/sender.cc
comnetsAD/ALCC
fc9c627de8c381987fc775ce0872339fceb43ddf
[ "MIT" ]
6
2021-05-19T16:58:15.000Z
2022-03-10T03:51:20.000Z
Applications/genericCC/sender.cc
comnetsAD/ALCC
fc9c627de8c381987fc775ce0872339fceb43ddf
[ "MIT" ]
null
null
null
Applications/genericCC/sender.cc
comnetsAD/ALCC
fc9c627de8c381987fc775ce0872339fceb43ddf
[ "MIT" ]
4
2021-05-24T11:19:18.000Z
2022-03-08T17:58:24.000Z
#include <chrono> #include <fcntl.h> #include "congctrls.hh" #include "remycc.hh" #include "ctcp.hh" #include "kernelTCP.hh" #include "markoviancc.hh" #include "traffic-generator.hh" // see configs.hh for details double TRAINING_LINK_RATE = 4000000.0/1500.0; bool LINK_LOGGING = false; std::string LINK_LOGGING_FILENAM...
34.869565
329
0.658532
comnetsAD
46c733c934fa850a4d78a0decb1d3dcdd9644cc3
3,469
hpp
C++
source/resource/id.hpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
5
2020-03-25T14:46:23.000Z
2022-02-23T01:46:26.000Z
source/resource/id.hpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
1
2022-01-14T00:01:48.000Z
2022-01-14T00:01:48.000Z
source/resource/id.hpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
2
2020-03-25T14:46:24.000Z
2020-08-21T04:33:23.000Z
#pragma once #include <entt/core/hashed_string.hpp> #define LEVIATHAN_RES_BYTES_DEF(NAME, STR) constexpr byte_t NAME[] = STR #define LEVIATHAN_RES_ENTRY_DEF(TAG, FILE) constexpr entt::hashed_string TAG(FILE) namespace res { namespace img { LEVIATHAN_RES_BYTES_DEF(BkgRough, "bkgrough"); LEVIATHAN_RES_BYTES_DEF(...
41.297619
82
0.762756
synaodev