hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
108853741a589f4d3f2da42ea16b3674dfa162b8
1,225
cpp
C++
AudioKit/Common/Internals/Helpers/Filter.cpp
SeanEmbrace/AudioKit
f99e45103f42b02f995df7271264828d9d3e1dc1
[ "MIT" ]
1
2018-01-14T05:51:47.000Z
2018-01-14T05:51:47.000Z
AudioKit/Common/Internals/Helpers/Filter.cpp
CheckThisCodeCarefully/AudioKit
f99e45103f42b02f995df7271264828d9d3e1dc1
[ "MIT" ]
1
2015-04-26T17:10:55.000Z
2015-04-26T17:10:55.000Z
AudioKit/Common/Internals/Helpers/Filter.cpp
CheckThisCodeCarefully/AudioKit
f99e45103f42b02f995df7271264828d9d3e1dc1
[ "MIT" ]
2
2018-02-03T01:45:05.000Z
2018-04-02T19:33:49.000Z
// // Filter.cpp // // Created by Mike Gazzaruso on 05/02/14. // // #include "Filter.h" #include <cmath> MikeFilter::MikeFilter() { // reset filter coeffs b0a0 = b1a0 = b2a0 = a1a0 = a2a0 = 0.0f; // reset in/out history ou1 = ou2 = in1 = in2 = 0.0f; } float MikeFilter::filter(float in0) { // filter fl...
19.758065
69
0.572245
SeanEmbrace
1089d2f631be16108166b9668d361c7afa4e3f1e
2,450
hpp
C++
irohad/ametsuchi/storage.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
31
2019-04-17T19:32:05.000Z
2022-02-05T01:35:02.000Z
irohad/ametsuchi/storage.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
1
2021-06-01T23:38:54.000Z
2021-06-01T23:38:54.000Z
irohad/ametsuchi/storage.hpp
artyom-yurin/iroha-archive
1ad3a149d21d30e99c650a9a4bad88b2792d751d
[ "Apache-2.0" ]
12
2019-06-03T10:31:31.000Z
2021-12-13T12:17:15.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_AMETSUCHI_H #define IROHA_AMETSUCHI_H #include <vector> #include <rxcpp/rx.hpp> #include "ametsuchi/block_query_factory.hpp" #include "ametsuchi/mutable_factory.hpp" #include "ametsuchi/peer_query_facto...
26.630435
78
0.642857
artyom-yurin
108ab70506edb25ede0160bf4227d6217cc90135
1,373
cpp
C++
app/lib/TS3USB221/platform/arduino/ts3usb221-arduino.cpp
Mck0/usbmux
6f772561db2c32ee5d7ec105637c3c957418e65d
[ "MIT" ]
2
2021-07-01T13:32:52.000Z
2022-02-15T14:14:31.000Z
app/lib/TS3USB221/platform/arduino/ts3usb221-arduino.cpp
Mck0/usbmux
6f772561db2c32ee5d7ec105637c3c957418e65d
[ "MIT" ]
null
null
null
app/lib/TS3USB221/platform/arduino/ts3usb221-arduino.cpp
Mck0/usbmux
6f772561db2c32ee5d7ec105637c3c957418e65d
[ "MIT" ]
2
2021-12-12T11:44:13.000Z
2022-02-15T13:47:20.000Z
/** * @brief: TS3USB221 High-speed USB 2.0 (480-Mbps) 1:2 multiplexer – demultiplexer library * @author: luk6xff * @email: lukasz.uszko@gmail.com * @date: 2020-09-27 * @license: MIT */ #include "ts3usb221-arduino.h" //-----------------------------------------------------------------------...
28.020408
94
0.487254
Mck0
108adc503f225372834c3e15d7513ff6b7f71669
3,563
cpp
C++
libs/sge_engine/src/sge_engine/traits/TraitScriptSlot.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
34
2021-06-15T10:24:49.000Z
2022-03-22T19:20:23.000Z
libs/sge_engine/src/sge_engine/traits/TraitScriptSlot.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
9
2021-03-04T21:34:03.000Z
2021-05-04T18:33:47.000Z
libs/sge_engine/src/sge_engine/traits/TraitScriptSlot.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
2
2021-12-29T01:15:22.000Z
2022-02-01T10:53:15.000Z
#include "TraitScriptSlot.h" #include "sge_core/SGEImGui.h" #include "sge_engine/GameInspector.h" #include "sge_engine/InspectorCmd.h" #include "sge_engine/windows/PropertyEditorWindow.h" #include "sge_utils/utils/strings.h" #include <vector> namespace sge { struct Script; // clang-format off ReflAddTypeId(TraitScri...
30.715517
113
0.705305
ongamex
c80b66973aa4ae89308a087a6af9e4a051ba49d6
6,618
cpp
C++
HW2 - Kristian Ekov/01. FourInARow/01. FourInARow.cpp
ekov1/FMI---Introduction-to-Programming-2020
d4954d1722fe3e78578fd63f3de6b973ee8289e1
[ "MIT" ]
null
null
null
HW2 - Kristian Ekov/01. FourInARow/01. FourInARow.cpp
ekov1/FMI---Introduction-to-Programming-2020
d4954d1722fe3e78578fd63f3de6b973ee8289e1
[ "MIT" ]
null
null
null
HW2 - Kristian Ekov/01. FourInARow/01. FourInARow.cpp
ekov1/FMI---Introduction-to-Programming-2020
d4954d1722fe3e78578fd63f3de6b973ee8289e1
[ "MIT" ]
null
null
null
#include <iostream> using std::endl; using std::cout; using std::cin; // global stuff N shit unsigned const MAX_COLS = 20; unsigned const MAX_ROWS = 40; unsigned const PLAYER_ONE_DISC = 1; unsigned const PLAYER_TWO_DISC = 2; int gameBoard[MAX_ROWS][MAX_COLS]; int gameBoardEmptySpaces; int gameBoardCols = 0; int gam...
14.324675
66
0.543518
ekov1
c80fcfc9e749ec4f172a278ce48f19a7aabcf410
14,203
cpp
C++
tests/Unit/Evolution/DgSubcell/Actions/Test_Initialize.cpp
daniel20tellez/spectre
ccac63362ec4ad538f0cd248ceffeb3a1479aabe
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Evolution/DgSubcell/Actions/Test_Initialize.cpp
daniel20tellez/spectre
ccac63362ec4ad538f0cd248ceffeb3a1479aabe
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Evolution/DgSubcell/Actions/Test_Initialize.cpp
daniel20tellez/spectre
ccac63362ec4ad538f0cd248ceffeb3a1479aabe
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <cstddef> #include <memory> #include <string> #include <unordered_map> #include <utility> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "DataSt...
43.170213
80
0.679786
daniel20tellez
c811783050024d12495e100e125e9ac2ebb70041
348
cpp
C++
examples/Timer-4.cpp
stateos/IntrOS
76ee5025442cefe37bc1434cdb95ea1b335ca667
[ "MIT" ]
36
2016-11-08T16:01:58.000Z
2022-02-24T05:26:32.000Z
examples/Timer-4.cpp
stateos/IntrOS
76ee5025442cefe37bc1434cdb95ea1b335ca667
[ "MIT" ]
null
null
null
examples/Timer-4.cpp
stateos/IntrOS
76ee5025442cefe37bc1434cdb95ea1b335ca667
[ "MIT" ]
9
2018-05-22T16:02:01.000Z
2022-02-24T05:26:37.000Z
#include <stm32f4_discovery.h> #include <os.h> using namespace device; using namespace intros; Led led; void proc1( void ); void proc2( void ); void proc1() { led.tick(); thisTimer::flip(proc2); } void proc2() { led.tick(); thisTimer::flip(proc1); } auto tmr = Timer(); int main() { tmr.startFrom(SEC, SEC, p...
11.225806
32
0.658046
stateos
c8152326fa0a122aeb537f6cf33965066c4a4962
14,373
cpp
C++
Tools/UniverseContextPort/colorbtn.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
1
2016-05-22T21:28:29.000Z
2016-05-22T21:28:29.000Z
Tools/UniverseContextPort/colorbtn.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
Tools/UniverseContextPort/colorbtn.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
// ColorBtn.cpp : implementation file #include "stdafx.h" #include "ColorBtn.h" //#include "windef.h" // COLOREF // The color table, initialized to windows' 20 static colors #undef RGB COLORREF RGB( unsigned char r, unsigned char g, unsigned char b ) { return( r | (g << 8) | (b << 16) ); } COLORREF CColorBtnDlg:...
22.180556
130
0.56634
SnipeDragon
c81858b9d7b7962a34212b2c08dfe09f24cb4080
46,442
cpp
C++
src/Utilities/extra.cpp
ax487/ColPack
9a7293a8dfd66a60434496b8df5ebb4274d70339
[ "BSD-3-Clause" ]
41
2015-01-16T14:38:05.000Z
2022-03-16T11:21:47.000Z
src/Utilities/extra.cpp
ax487/ColPack
9a7293a8dfd66a60434496b8df5ebb4274d70339
[ "BSD-3-Clause" ]
31
2015-07-13T18:17:13.000Z
2022-03-17T02:27:21.000Z
src/Utilities/extra.cpp
ax487/ColPack
9a7293a8dfd66a60434496b8df5ebb4274d70339
[ "BSD-3-Clause" ]
42
2015-03-07T19:21:36.000Z
2022-03-29T13:50:19.000Z
/******************************************************************************* This file is part of ColPack, which is under its License protection. You should have received a copy of the License. If not, see <https://github.com/CSCsw/ColPack> **************************************************************...
31.528853
250
0.644287
ax487
c81d515eef93e4283c32cae0c3bd303d5cdb6d3b
3,681
hpp
C++
boost/range/adaptor/tokenized.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/range/adaptor/tokenized.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/range/adaptor/tokenized.hpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// Boost.Range library // // Copyright Thorsten Ottosen, Neil Groves 2006. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // For more information, see http://www.boost.org/l...
26.673913
88
0.671013
jonstewart
c820a4330adf6f4f9d76197435c0c0371329a7a2
2,384
hpp
C++
sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/genericjoblevelthunk.hpp
csoap/csoap.github.io
2a8db44eb63425deff147652b65c5912f065334e
[ "Apache-2.0" ]
5
2017-03-03T02:13:16.000Z
2021-08-18T09:59:56.000Z
sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/genericjoblevelthunk.hpp
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
null
null
null
sourceCode/dotNet4.6/wpf/src/printing/cpp/inc/genericjoblevelthunk.hpp
295007712/295007712.github.io
25241dbf774427545c3ece6534be6667848a6faf
[ "Apache-2.0" ]
4
2016-11-15T05:20:12.000Z
2021-11-13T16:32:11.000Z
#pragma once #ifndef __GENERICJOBINFOLEVELTHUNK_HPP__ #define __GENERICJOBINFOLEVELTHUNK_HPP__ /*++ Copyright (C) 2002 - 2003 Microsoft Corporation All rights reserved. ...
27.402299
96
0.45302
csoap
c8237bcc5ebe0b0ebc494e3343154e4768a6f887
15,698
hpp
C++
include/rmm/device_buffer.hpp
mt-jones/rmm
60c6154f87708ccbd7625b1cc3447c2ac4499b9b
[ "Apache-2.0" ]
null
null
null
include/rmm/device_buffer.hpp
mt-jones/rmm
60c6154f87708ccbd7625b1cc3447c2ac4499b9b
[ "Apache-2.0" ]
null
null
null
include/rmm/device_buffer.hpp
mt-jones/rmm
60c6154f87708ccbd7625b1cc3447c2ac4499b9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
35.040179
100
0.666454
mt-jones
c82438fcbf04c5e0155f5b93386b68dc9019abad
7,257
cpp
C++
src/ofxCEFBrowser.cpp
dublet/ofxCEFClient
149514f1c5e1fad2cea382401ec97c3ad7db83a5
[ "BSD-3-Clause" ]
3
2017-01-17T22:42:28.000Z
2020-01-07T10:12:49.000Z
src/ofxCEFBrowser.cpp
dublet/ofxCEFClient
149514f1c5e1fad2cea382401ec97c3ad7db83a5
[ "BSD-3-Clause" ]
null
null
null
src/ofxCEFBrowser.cpp
dublet/ofxCEFClient
149514f1c5e1fad2cea382401ec97c3ad7db83a5
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 Intel Corporation #include "ofxCEFBrowser.h" #include "client_handler.h" ofxCEFBrowser::ofxCEFBrowser() : mWidth(-1), mHeight(-1), mPixels(NULL), mTexture(NULL), mClientHandler(new ClientHandler()) { } ofxCEFBrowser::ofxCEFBrowser(int width, int height, string js) : mPixels(NULL), mTexture(...
26.104317
116
0.716687
dublet
c82a0e561f33aa389ab1a712c393b0c1b03a4049
41,933
cc
C++
engine/source/gui/guiTextEditCtrl.cc
marauder2k7/Torque2DCMake
7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68
[ "MIT" ]
null
null
null
engine/source/gui/guiTextEditCtrl.cc
marauder2k7/Torque2DCMake
7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68
[ "MIT" ]
null
null
null
engine/source/gui/guiTextEditCtrl.cc
marauder2k7/Torque2DCMake
7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
26.914634
254
0.577612
marauder2k7
c82a21e411bc837df3acaae20b180509352ff129
4,558
cpp
C++
2019/day15/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
2019/day15/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
2019/day15/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "file.h" #include "intcode.h" #include <iostream> #include <vector> namespace aoc2019_day15 { enum class StatusCode { Wall = 0, Move = 1, MoveOxygen = 2 }; enum class Room { Empty = 0, Visited = 1, Wall = 2 }; const int SIZE = 100; std::...
37.360656
106
0.53269
alexandru-andronache
c82d127e2b418970773e1d1ebeec868652a19bdc
1,190
cpp
C++
oomact_ros/test/bag_tools.cpp
OnyxBlack7/oomact
5ae5fbbaddaf58e2fc24adaabedf711619934ac9
[ "BSD-3-Clause" ]
21
2017-06-19T13:57:59.000Z
2022-02-20T02:40:58.000Z
oomact_ros/test/bag_tools.cpp
OnyxBlack7/oomact
5ae5fbbaddaf58e2fc24adaabedf711619934ac9
[ "BSD-3-Clause" ]
19
2017-05-10T09:11:25.000Z
2019-03-11T16:41:36.000Z
oomact_ros/test/bag_tools.cpp
OnyxBlack7/oomact
5ae5fbbaddaf58e2fc24adaabedf711619934ac9
[ "BSD-3-Clause" ]
11
2017-06-19T13:39:12.000Z
2022-03-16T19:53:27.000Z
#include <aslam/calibration/data/PoseMeasurement.h> #include <aslam/calibration/test/MockMotionCaptureSource.h> #include <aslam/calibration/Timestamp.h> #include <rosbag/bag.h> #include <geometry_msgs/PoseStamped.h> #include <sm/kinematics/quaternion_algebra.hpp> using namespace aslam::calibration; void writeMotionCa...
30.512821
131
0.692437
OnyxBlack7
c834e05bece187e40b217ce943a167edbb89d8bb
8,182
cpp
C++
tests/ghostfragment/fragmented_system.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
null
null
null
tests/ghostfragment/fragmented_system.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
1
2022-02-25T16:20:50.000Z
2022-02-25T16:20:50.000Z
tests/ghostfragment/fragmented_system.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
null
null
null
#include "ghostfragment/fragmented_system.hpp" #include "test_ghostfragment.hpp" using namespace ghostfragment; /* Testing Strategy: * * We make four fragmented systems: * - defaulted: A default constructed instance * - empty: An instance created with all empty containers * - netural: Supersystem containing a si...
32.339921
79
0.564532
rmrresearch
c8373dc37f780ca554cc3a1295cb01ff5f1df2ed
1,167
hh
C++
build/ARM/mem/protocol/CacheRequestType.hh
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/mem/protocol/CacheRequestType.hh
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/mem/protocol/CacheRequestType.hh
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
/** \file CacheRequestType.hh * * Auto generated C++ code started by /home/oslab/gem5/gem5/src/mem/slicc/symbols/Type.py:457 */ #ifndef __CacheRequestType_HH__ #define __CacheRequestType_HH__ #include <iostream> #include <string> // Class definition /** \enum CacheRequestType * \brief ... */ enum CacheRequest...
31.540541
106
0.757498
Jakgn
c8374434bd186ebbbb79997532abc7ebdc6ebf4b
11,415
cpp
C++
trview.app/Windows/ItemsWindow.cpp
sapper-trle/trview
dc9f945355a5976f2a539316a5dbf8323bb75064
[ "MIT" ]
null
null
null
trview.app/Windows/ItemsWindow.cpp
sapper-trle/trview
dc9f945355a5976f2a539316a5dbf8323bb75064
[ "MIT" ]
null
null
null
trview.app/Windows/ItemsWindow.cpp
sapper-trle/trview
dc9f945355a5976f2a539316a5dbf8323bb75064
[ "MIT" ]
null
null
null
#include "ItemsWindow.h" #include <sstream> #include <bitset> #include <Windows.h> #include <trview/resource.h> #include <SimpleMath.h> #include <trview.ui/Checkbox.h> #include <trview.ui/GroupBox.h> #include <trview.ui/Button.h> using namespace trview::graphics; namespace trview { namespace { /// Col...
35.450311
174
0.575646
sapper-trle
c83994cc76258c6a15427e26cb71fec3e6c57c71
5,022
cpp
C++
Source/Game/ScreenManager.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
8
2020-02-06T13:14:13.000Z
2020-11-03T06:26:04.000Z
Source/Game/ScreenManager.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
null
null
null
Source/Game/ScreenManager.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
6
2019-06-19T00:24:16.000Z
2020-12-08T05:03:59.000Z
#include "PrecompiledHeader.h" #include "ScreenManager.h" ScreenManager::ScreenManager( Context* context ) : ManagerImpl( context ), activeScreenType_( ScreenType::Login ), fadeStep_( FadeStep::Prepare ), fadeTime_( 0.f ) { context->RegisterFactory<LoginScreen>( "Screen" ); context->RegisterFa...
27.745856
118
0.599363
igorsegallafa
c83bc4c5e9430f369be8c5504734d9533c3662ef
1,366
cpp
C++
Lab9/E.cpp
satans404/CS203-2020fal-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
2
2020-11-25T11:10:39.000Z
2020-11-26T12:22:23.000Z
Lab9/E.cpp
satans404/CS203-2020fall-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
null
null
null
Lab9/E.cpp
satans404/CS203-2020fall-SUSTech
356e616081962e04477912d2d81d31fd1b85fa23
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cstring> #include <cstdlib> #include <cstdio> #include <vector> #include <algorithm> #include <queue> using namespace std; int n,m,a,b,u,v,T,vis[210000],op1,op2; vector<int> to[210000]; long long ans,num[5]; int dfs(int x) { if(x==a) { op1=1; retu...
18.459459
65
0.374085
satans404
c83d0383eb0064ffc475fa573fe147375ea9dbf1
748
cpp
C++
1st/kth_smallest_element_in_a_BST.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/kth_smallest_element_in_a_BST.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/kth_smallest_element_in_a_BST.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: int cnt; int ret; int kthSmallest(TreeNode* root, int k) { cnt = 0; inOrder(root, k); ...
17.395349
56
0.514706
buptlxb
c83f91d81b6a951c5ff6c250b666652921c78dac
2,589
hpp
C++
src/widgets/PatternEditor.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
null
null
null
src/widgets/PatternEditor.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
null
null
null
src/widgets/PatternEditor.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
null
null
null
#pragma once #include "clipboard/PatternClipboard.hpp" #include "config/data/Palette.hpp" #include "config/data/PianoInput.hpp" #include "midi/IMidiReceiver.hpp" #include "widgets/grid/PatternGrid.hpp" #include "widgets/grid/PatternGridHeader.hpp" #include <QFrame> #include <QScrollBar> #include <cstdint> #include ...
17.979167
67
0.697567
stoneface86
c8405b4ef28ffb88c41ec21bece2ac0ec5df4f5c
1,489
cpp
C++
test_grad.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
test_grad.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
test_grad.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
#include <cstdio> #include "algebra.hpp" #include "element_gradients.hpp" #include "eval_field.hpp" #include "mesh.hpp" #include "include/omega_h.h" #include "recover_by_volume.hpp" #include "refine.hpp" #include "size_from_hessian.hpp" #include "vtk_io.hpp" using namespace omega_h; static void dye_fun(double const*...
23.265625
64
0.635997
ibaned
c840ccbba6addc1517e401dd426ef4c029764974
2,531
cpp
C++
example_contests/fk_2014_delta/problems/ip_address/solution.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
6
2016-03-28T13:57:54.000Z
2017-07-25T06:04:05.000Z
example_contests/fk_2014_delta/problems/ip_address/solution.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
25
2015-01-23T18:02:35.000Z
2015-03-17T01:40:27.000Z
example_contests/fk_2014_delta/problems/ip_address/solution.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
3
2016-06-28T00:48:38.000Z
2017-05-25T05:29:25.000Z
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <strin...
19.469231
62
0.401027
ForritunarkeppniFramhaldsskolanna
c8434c56a83796d3a268ea93b5bc0f5176ea2f2b
435
hpp
C++
src/widgets/visualizers/PeakMeter.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
60
2019-11-30T00:30:33.000Z
2022-03-26T03:44:53.000Z
src/widgets/visualizers/PeakMeter.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
8
2019-12-16T07:55:54.000Z
2022-03-09T21:01:02.000Z
src/widgets/visualizers/PeakMeter.hpp
stoneface86/gbsynth
b585378227522e02cc76f29e7b4b4be4b0568689
[ "MIT" ]
3
2021-08-06T07:17:15.000Z
2022-03-08T03:39:06.000Z
#pragma once #include "widgets/visualizers/VolumeMeterAnimation.hpp" #include <QWidget> class PeakMeter : public QWidget { Q_OBJECT public: PeakMeter(QWidget *parent = nullptr); public slots: void setPeaks(qint16 left, qint16 right); protected: void paintEvent(QPaintEvent *evt) override; priv...
14.5
55
0.74023
stoneface86
c844151ce7aae23af7cae1f0ba46c472dcdc39bf
56,288
cpp
C++
lib/Basics/datetime.cpp
lo-ca/arangodb
92a2cdda102279fc18ba238efafde118355cb000
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
lib/Basics/datetime.cpp
lo-ca/arangodb
92a2cdda102279fc18ba238efafde118355cb000
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
lib/Basics/datetime.cpp
lo-ca/arangodb
92a2cdda102279fc18ba238efafde118355cb000
[ "Apache-2.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
63.45885
139
0.247477
lo-ca
c844313322e64930c2c8e10aff47d80d53082657
556
cpp
C++
day_1/part_1/main.cpp
KabelitzJ/advent_of_code_2021
ba33c1796898e197b5b3301c0f42095889f9cdaf
[ "MIT" ]
null
null
null
day_1/part_1/main.cpp
KabelitzJ/advent_of_code_2021
ba33c1796898e197b5b3301c0f42095889f9cdaf
[ "MIT" ]
null
null
null
day_1/part_1/main.cpp
KabelitzJ/advent_of_code_2021
ba33c1796898e197b5b3301c0f42095889f9cdaf
[ "MIT" ]
null
null
null
#include <cstdlib> #include <fstream> #include <iostream> #include <limits> int main() { auto file_stream = std::ifstream{"input.txt"}; if (!file_stream.is_open()) { std::cout << "Could not open file: 'input.txt'\n"; return EXIT_FAILURE; } auto count = 0; auto current = 0; auto previous = std::nu...
18.533333
54
0.606115
KabelitzJ
c846116235c8976e08a71d1bcd341b7b6364f443
9,952
cpp
C++
tests/adm_auto_parenting_tests.cpp
rsjtaylor/libadm
146670a28a6add571065e6493e9bcc2099c12677
[ "Apache-2.0" ]
14
2018-07-24T12:18:05.000Z
2020-05-11T19:14:49.000Z
tests/adm_auto_parenting_tests.cpp
rsjtaylor/libadm
146670a28a6add571065e6493e9bcc2099c12677
[ "Apache-2.0" ]
79
2020-07-10T15:50:09.000Z
2022-03-28T01:31:42.000Z
tests/adm_auto_parenting_tests.cpp
rsjtaylor/libadm
146670a28a6add571065e6493e9bcc2099c12677
[ "Apache-2.0" ]
7
2018-07-24T12:18:12.000Z
2020-02-14T11:18:12.000Z
#include <catch2/catch.hpp> #include <typeinfo> #include "adm/document.hpp" #include "adm/elements.hpp" std::shared_ptr<adm::AudioProgramme> dispatchCreate(const std::string& name, adm::AudioProgramme::tag) { return adm::AudioProgramme::create(adm::AudioProgrammeNa...
44.627803
79
0.720961
rsjtaylor
c84aaaad6734fa783ba7002949dcea20bcec0b76
46,292
cpp
C++
VM-Run.cpp
david135/mosh-scheme
8247d45bc34c8b503047600b9f2eacb5443aaa83
[ "BSD-2-Clause" ]
null
null
null
VM-Run.cpp
david135/mosh-scheme
8247d45bc34c8b503047600b9f2eacb5443aaa83
[ "BSD-2-Clause" ]
null
null
null
VM-Run.cpp
david135/mosh-scheme
8247d45bc34c8b503047600b9f2eacb5443aaa83
[ "BSD-2-Clause" ]
null
null
null
/* * VM-Run.cpp - Run Loop * * Copyright (c) 2008 Higepon(Taro Minowa) <higepon@users.sourceforge.jp> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must ret...
33.520637
145
0.432602
david135
c84b89098e2a2fc7a8285b55a4f280e0981757bb
2,102
hpp
C++
libs/oef-base/include/oef-base/proto_comms/TSendProtoTask.hpp
marcuswin/ledger
b79c5c4e7e92ff02ea4328fcc0885bf8ded2b8b2
[ "Apache-2.0" ]
1
2019-09-11T09:46:04.000Z
2019-09-11T09:46:04.000Z
libs/oef-base/include/oef-base/proto_comms/TSendProtoTask.hpp
qati/ledger
e05a8f2d62ea1b79a704867d220cf307ef6b93b9
[ "Apache-2.0" ]
null
null
null
libs/oef-base/include/oef-base/proto_comms/TSendProtoTask.hpp
qati/ledger
e05a8f2d62ea1b79a704867d220cf307ef6b93b9
[ "Apache-2.0" ]
1
2019-09-19T12:38:46.000Z
2019-09-19T12:38:46.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
32.84375
94
0.62607
marcuswin
c84cca4ec26b32ca8eb35be0669cee3cb0f1388b
122
cpp
C++
tests/test_dot.cpp
qualab/dot
09b6a40b111e71636840c6dfa098f4bbcdd72517
[ "MIT" ]
1
2018-08-27T14:30:12.000Z
2018-08-27T14:30:12.000Z
tests/test_dot.cpp
qualab/dot
09b6a40b111e71636840c6dfa098f4bbcdd72517
[ "MIT" ]
null
null
null
tests/test_dot.cpp
qualab/dot
09b6a40b111e71636840c6dfa098f4bbcdd72517
[ "MIT" ]
null
null
null
// DOT test main #include <dot/test.h> int main() { dot::test::run(); return 0; } // Здесь должен быть Unicode
10.166667
28
0.590164
qualab
c84dcc638d045ea5b2a302d09846318e1f5b89ab
2,723
hpp
C++
include/locic/Support/Map.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
include/locic/Support/Map.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
include/locic/Support/Map.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#ifndef LOCIC_MAP_HPP #define LOCIC_MAP_HPP #include <cassert> #include <map> #include <string> #include <locic/Support/Optional.hpp> namespace locic{ template <typename Key, typename Value> class Map{ private: typedef std::map<Key, Value> MapType; typedef typename MapType::const_iterator CItType; type...
18.909722
72
0.572898
scross99
c84df623f32f92538ea9f298a262b6a3d064a799
10,459
ipp
C++
lexertk/include/lexertk/generator.ipp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
lexertk/include/lexertk/generator.ipp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
lexertk/include/lexertk/generator.ipp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
// // Created by allspark on 17/07/2021. // #ifndef LEXERTK_GENERATOR_IPP #define LEXERTK_GENERATOR_IPP #include <fmt/format.h> #include <tuple> namespace lexertk { generator::Range::operator bool() const noexcept { return begin != end; } generator::Range& generator::Range::operator++() noexcept { ++begin; r...
24.099078
148
0.618797
allspark
c8543a5ffb75c02dd274d1fc4c056c68c00ce8ab
705
cpp
C++
src/mustache/ecs/event_manager.cpp
kirillochnev/mustache
c59bbb57097c2d4d38165edadaf9d3463427c9b0
[ "MIT" ]
3
2022-02-01T04:57:43.000Z
2022-02-04T11:20:17.000Z
src/mustache/ecs/event_manager.cpp
kirillochnev/mustache
c59bbb57097c2d4d38165edadaf9d3463427c9b0
[ "MIT" ]
null
null
null
src/mustache/ecs/event_manager.cpp
kirillochnev/mustache
c59bbb57097c2d4d38165edadaf9d3463427c9b0
[ "MIT" ]
null
null
null
#include "event_manager.hpp" #include <mustache/utils/logger.hpp> #include <mustache/utils/profiler.hpp> #include <map> using namespace mustache; namespace { std::map<std::string, EventId> type_map; EventId next_event_id = EventId::make(0u); } EventId EventManager::registerEventType(const std::string& name...
26.111111
82
0.696454
kirillochnev
c85534e9b7fe502f029cb7441dc50a29553cc396
7,627
cc
C++
modules/audio_coding/neteq4/dtmf_tone_generator.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
1
2019-02-22T05:37:43.000Z
2019-02-22T05:37:43.000Z
modules/audio_coding/neteq4/dtmf_tone_generator.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_coding/neteq4/dtmf_tone_generator.cc
SlimXperiments/external_chromium_org_third_party_webrtc
14c8d0b9402c3eaa282f34f7652c08a5b624279e
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
39.518135
80
0.648879
SlimXperiments
c85614de20a25f6e8bb8863d0302ff448ed94965
835
cpp
C++
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/sockexp.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/sockexp.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/TOOLS/TOOLSX/atlmfc/src/mfc/sockexp.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sour...
26.935484
76
0.765269
intj-t
c856500fa5c3333ff0ea7251f51b5d4aa4ab4dfc
591
cpp
C++
src/RE/PlayerControls.cpp
CakeTheLiar/CommonLibSSE
ad4c94d0373f20a6f5bcdc776ba84bd4a3b24cea
[ "MIT" ]
null
null
null
src/RE/PlayerControls.cpp
CakeTheLiar/CommonLibSSE
ad4c94d0373f20a6f5bcdc776ba84bd4a3b24cea
[ "MIT" ]
null
null
null
src/RE/PlayerControls.cpp
CakeTheLiar/CommonLibSSE
ad4c94d0373f20a6f5bcdc776ba84bd4a3b24cea
[ "MIT" ]
null
null
null
#include "RE/PlayerControls.h" #include "skse64/GameInput.h" // PlayerControls namespace RE { PlayerControls::PlayerControls() { Ctor(); } PlayerControls* PlayerControls::GetSingleton() { using func_t = function_type_t<decltype(&PlayerControls::GetSingleton)>; func_t* func = unrestricted_cast<func_t*>(...
20.37931
78
0.730964
CakeTheLiar
c856769bfa818905e7d16dbd82e890da15fc8f54
384
cpp
C++
solved/0-b/beat-the-spread/beat.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/0-b/beat-the-spread/beat.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/0-b/beat-the-spread/beat.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cstdio> using namespace std; int n, s, d; int a, b; int main() { scanf("%d", &n); while (n--) { scanf("%d%d", &s, &d); a = (s + d) / 2; b = s - a; if ((s + d) % 2 != 0 || a < 0 || b < 0) puts("impossible"); else ...
14.769231
52
0.382813
abuasifkhan
c857d126ce9a3acc006fa96278acdb2e5fa7cb30
5,152
cpp
C++
Connector/ConfigFile.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
Connector/ConfigFile.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
Connector/ConfigFile.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include <stdlib.h> #include "stdhdrs.h" #include "ConfigFile.h" #include "../ShareLib/CryptMem.h" CConfigFile::CConfigFile() { int i; for (i = 0; i < MAX_CONFIG_DATA; i++) m_data[i] = NULL; m_cnt = 0; } CConfigFile::~CConfigFile() { int i; for (i = 0; i < MAX_CONFIG_DATA; i++) { if (m_data[i]) { dele...
13.886792
109
0.534161
openlastchaos
c859bdc265a3a916bdb49e527110104e20b5699e
2,061
hpp
C++
compendium/DeclarativeServices/src/metadata/ComponentMetadata.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
null
null
null
compendium/DeclarativeServices/src/metadata/ComponentMetadata.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
null
null
null
compendium/DeclarativeServices/src/metadata/ComponentMetadata.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
null
null
null
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
29.869565
84
0.712761
fmilano
c85c2d066f6cd5a3e211c820490ae7f4c556cac6
721
cpp
C++
drunkman race.cpp
roselerwastaken/roselerwastaken
fbdd4a1b9e8d9e0d72ca8517d05ee89cae5e94d5
[ "BSD-2-Clause" ]
2
2021-12-10T12:43:59.000Z
2021-12-10T13:21:50.000Z
drunkman race.cpp
roselerwastaken/roselerwastaken
fbdd4a1b9e8d9e0d72ca8517d05ee89cae5e94d5
[ "BSD-2-Clause" ]
null
null
null
drunkman race.cpp
roselerwastaken/roselerwastaken
fbdd4a1b9e8d9e0d72ca8517d05ee89cae5e94d5
[ "BSD-2-Clause" ]
null
null
null
#include<iostream> #include<cmath> #include<cstdlib> #include<ctime> using namespace std; int main (){ srand(time(0)); const int size=60; cout << "Enter a letter to begin \n "; char x; cin>> x; int position = size /2; while (true) { cout << "|START|" ; for (int i=0; i<size;i++) { ...
26.703704
81
0.535368
roselerwastaken
c85cd955efadf6af5227a378647a99bdf73aa31f
137
hxx
C++
src/Providers/UNIXProviders/RoutingProtocolDomain/UNIX_RoutingProtocolDomain_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/RoutingProtocolDomain/UNIX_RoutingProtocolDomain_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/RoutingProtocolDomain/UNIX_RoutingProtocolDomain_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_HPUX #ifndef __UNIX_ROUTINGPROTOCOLDOMAIN_PRIVATE_H #define __UNIX_ROUTINGPROTOCOLDOMAIN_PRIVATE_H #endif #endif
11.416667
46
0.861314
brunolauze
c85e4c65624a5dcc96548c1de1f248f57623b07f
3,928
cpp
C++
src/core/optctrl/shooting.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
src/core/optctrl/shooting.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
src/core/optctrl/shooting.cpp
iit-DLSLab/crocoddyl
2b8b731fae036916ff9b4ce3969e2c96c009593c
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2019, LAAS-CNRS // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////////// #...
36.37037
116
0.658605
iit-DLSLab
c863ae440eef5f34b94876db7f44865c6e89ac99
3,354
cpp
C++
test/unit/DeviceFactoryTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
8
2019-06-10T19:44:48.000Z
2021-06-10T23:03:24.000Z
test/unit/DeviceFactoryTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
10
2019-05-15T21:01:54.000Z
2021-01-16T23:08:53.000Z
test/unit/DeviceFactoryTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
2
2021-09-17T08:20:07.000Z
2022-03-29T01:17:07.000Z
#include "../main/catch.hpp" #include "device/DeviceFactory.hpp" #include "mocks/FakePinProvider.hpp" #include "device/pjon/PjonDevice.hpp" #include <typeinfo> #include <iostream> using namespace std; TEST_CASE("DeviceFactory creates Device from DeviceConfiguration") { PinProvider& pinProvider = FakePinProvider:...
33.207921
121
0.68068
aetas
c86d87a4e6b81a47fd2dd876a0103b7865c01d3e
523
cpp
C++
cpp/11. Container With Most Water.cpp
clarissaMao/leetcode_clarissa
9ca9bdc51a37e0e9897ee4484f12054f095c32e4
[ "MIT" ]
null
null
null
cpp/11. Container With Most Water.cpp
clarissaMao/leetcode_clarissa
9ca9bdc51a37e0e9897ee4484f12054f095c32e4
[ "MIT" ]
null
null
null
cpp/11. Container With Most Water.cpp
clarissaMao/leetcode_clarissa
9ca9bdc51a37e0e9897ee4484f12054f095c32e4
[ "MIT" ]
null
null
null
class Solution { public: int maxArea(vector<int>& height) { // two pointers, since they move to the middle, so only stop // when the current height is higher than the real_height. int i = 0, j = height.size()-1, area = 0; while ( i <= j) { int real_height = min(height[i],...
34.866667
68
0.529637
clarissaMao
c86d9bd4d8fa094467fd0961985292418c2a0659
2,173
cpp
C++
server/c/logic/admin/SaveIAFile.cpp
smc314/helix
9e2fd7d8acdeb09449665585d478c76836866835
[ "MIT" ]
null
null
null
server/c/logic/admin/SaveIAFile.cpp
smc314/helix
9e2fd7d8acdeb09449665585d478c76836866835
[ "MIT" ]
null
null
null
server/c/logic/admin/SaveIAFile.cpp
smc314/helix
9e2fd7d8acdeb09449665585d478c76836866835
[ "MIT" ]
null
null
null
/* ************************************************************************** Copyright (c): 2013 Hericus Software, Inc. License: The MIT License (MIT) Authors: Steven M. Cherry ************************************************************************** */ #include "TheMain.h" #include "OdbcObj.h" using na...
25.564706
92
0.676484
smc314
c8713d52328bbe2be1eeb43f7104d766b76f8091
3,484
cpp
C++
src/qt/execrpccommand.cpp
XianlinGong/fabcoinsc-dev
585d90f376a9223ab172151a81b92dca1113ecd6
[ "MIT" ]
null
null
null
src/qt/execrpccommand.cpp
XianlinGong/fabcoinsc-dev
585d90f376a9223ab172151a81b92dca1113ecd6
[ "MIT" ]
null
null
null
src/qt/execrpccommand.cpp
XianlinGong/fabcoinsc-dev
585d90f376a9223ab172151a81b92dca1113ecd6
[ "MIT" ]
null
null
null
#include "execrpccommand.h" #include "rpcconsole.h" #include <QJsonDocument> #include <univalue.h> ExecRPCCommand::ExecRPCCommand(const QString &command, const QStringList &mandatory, const QStringList &optional, const QMap<QString, QString>& translations, QObject *parent) : QObject(parent) { m_command = comma...
31.387387
174
0.61194
XianlinGong
c8726bc2c68e5e5036535043c81d7058bf773089
1,198
hpp
C++
src/armnn/backends/ClWorkloads/ClPermuteWorkload.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/ClWorkloads/ClPermuteWorkload.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
src/armnn/backends/ClWorkloads/ClPermuteWorkload.hpp
KevinRodrigues05/armnn_caffe2_parser
c577f2c6a3b4ddb6ba87a882723c53a248afbeba
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #pragma once #include "backends/Workload.hpp" #include "backends/WorkloadData.hpp" #include "backends/ClWorkloadUtils.hpp" #include <armnn/TypesUtils.hpp> #include <arm_compute/runtime/CL/fun...
27.227273
90
0.765442
KevinRodrigues05
c875aadce7d0c966c20a1bcecf15ed91137d8768
7,604
cpp
C++
JammaLib/src/engine/LoopModel.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/engine/LoopModel.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
JammaLib/src/engine/LoopModel.cpp
malisimo/Jamma
69831e79a64e652e82aa41f8141e082c3899896b
[ "MIT" ]
null
null
null
#include "LoopModel.h" using namespace engine; using base::DrawContext; using base::Drawable; using base::DrawableParams; using graphics::GlDrawContext; using audio::BufferBank; using gui::GuiModel; using utils::Size2d; const Size2d LoopModel::_LedGap = { 6, 6 }; const float LoopModel::_MinHeight = 4.0f; const float ...
35.699531
125
0.738953
malisimo
c877edb867fce39f6f4724df64d21064bd101178
786
cpp
C++
week03/12455.cpp
taki-d/ProgrammingChallenges
e3c133ac1bda5ebd38a22c3baf6be66ec3bebfab
[ "MIT" ]
null
null
null
week03/12455.cpp
taki-d/ProgrammingChallenges
e3c133ac1bda5ebd38a22c3baf6be66ec3bebfab
[ "MIT" ]
null
null
null
week03/12455.cpp
taki-d/ProgrammingChallenges
e3c133ac1bda5ebd38a22c3baf6be66ec3bebfab
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; for (int i = 0; i < N; ++i) { int Bar; cin >> Bar; int n; cin >> n; vector<int> bars; for (int j = 0; j < n; ++j) { int bar; cin >> bar; bars.pu...
17.863636
64
0.330789
taki-d
c87e6e68facdbbf01075e3c7f0ef2db14d119d73
957
cpp
C++
src/lib/rtm/DefaultPeriodicTask.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
15
2019-01-08T15:34:04.000Z
2022-03-01T08:36:17.000Z
src/lib/rtm/DefaultPeriodicTask.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
448
2018-12-27T03:13:56.000Z
2022-03-24T09:57:03.000Z
src/lib/rtm/DefaultPeriodicTask.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
31
2018-12-26T04:34:22.000Z
2021-11-25T04:39:51.000Z
// -*- C++ -*- /*! * @file DefaultPeriodicTask.h * @brief PeiodicTaskFactory class * @date $Date$ * @author Noriaki Ando <n-ando@aist.go.jp> * * Copyright (C) 2009 * Noriaki Ando * Task-intelligence Research Group, * Intelligent Systems Research Institute, * National Institute of * A...
25.864865
78
0.563218
r-kurose
c882d263b4258eaf9529ea4e3109b759ab0d5291
4,161
cc
C++
google/cloud/storage/internal/notification_requests_test.cc
roopak-qlogic/google-cloud-cpp
ed129e4c955e99d4dacb822503d95e374605c438
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/internal/notification_requests_test.cc
roopak-qlogic/google-cloud-cpp
ed129e4c955e99d4dacb822503d95e374605c438
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/internal/notification_requests_test.cc
roopak-qlogic/google-cloud-cpp
ed129e4c955e99d4dacb822503d95e374605c438
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 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 in w...
35.564103
79
0.717616
roopak-qlogic
c8850e74fceb8fcfa04aa3dbf8d2d13d4dfcfd4f
5,625
cpp
C++
deep_vgl/gerar_dataset/evaluation/evaluate_accuracy.cpp
leonardopatrick/DeepVGO
23116afb96d3513b498d903f4aaabaf17d56856a
[ "MIT" ]
null
null
null
deep_vgl/gerar_dataset/evaluation/evaluate_accuracy.cpp
leonardopatrick/DeepVGO
23116afb96d3513b498d903f4aaabaf17d56856a
[ "MIT" ]
null
null
null
deep_vgl/gerar_dataset/evaluation/evaluate_accuracy.cpp
leonardopatrick/DeepVGO
23116afb96d3513b498d903f4aaabaf17d56856a
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include "network.h" #include "utils.h" #include "parser.h" #include "option_list.h" #include "blas.h" #include "assert.h" #include <sys/time.h> #include <string.h> //teste utilizando a lista de imagens do treino para gerar como output o rótulo estimado void pre...
36.290323
193
0.580622
leonardopatrick
c8854c40fca9e9df8de0add093705c7fa24c2e4d
22,049
hpp
C++
Sisyphe/cppbase/src/interpreter/cppClassInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/cppClassInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/interpreter/cppClassInterpreter.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
/* * cppClassInterpreter.hpp * * * @date 14-07-2020 * @author Teddy DIDE * @version 1.00 * cppBase generated by gensources. */ #ifndef _CPPCLASS_INTERPRETER_HPP_ #define _CPPCLASS_INTERPRETER_HPP_ #include "config.hpp" #include "Macros.hpp" #include "Base.hpp" #include "Array.hpp" #include "cppBaseExport.hp...
55.399497
158
0.769922
tedi21
c885ec0c021561320e29abe2857df64ab855e9ad
1,825
hpp
C++
almath/scenegraph/almathqigeometry.hpp
UCCS-Social-Robotics/libalmath
608475eced68452eb19ef09c46e1916ac597ed88
[ "BSD-3-Clause" ]
4
2016-03-14T20:34:05.000Z
2021-02-14T05:53:00.000Z
almath/scenegraph/almathqigeometry.hpp
UCCS-Social-Robotics/libalmath
608475eced68452eb19ef09c46e1916ac597ed88
[ "BSD-3-Clause" ]
1
2021-02-14T05:52:04.000Z
2022-03-16T11:18:20.000Z
almath/scenegraph/almathqigeometry.hpp
UCCS-Social-Robotics/libalmath
608475eced68452eb19ef09c46e1916ac597ed88
[ "BSD-3-Clause" ]
9
2017-07-11T16:01:27.000Z
2022-02-13T20:41:05.000Z
/** * @author Lucas Souchet - lsouchet@aldebaran.com * Aldebaran Robotics (c) 2016 All Rights Reserved - This file is confidential. * * the user is expected to * #include <qi/geometry/geometry.hpp> * and link with qigeometry */ #pragma once #ifndef LIBALMATH_SCENEGRAPH_ALMATHQIGEOMETRY_HPP #define LIBALMATH_SC...
29.435484
95
0.703014
UCCS-Social-Robotics
c88603723a0670546b453eb1ba0d2959add6d986
32,263
cpp
C++
src/Widgets/Containers/ScrollContainer.cpp
SparkyStudios/PixelUI
77c0914a45ede276e64586b816f4b341e13ffc11
[ "Apache-2.0" ]
2
2021-11-11T11:43:13.000Z
2021-11-30T09:48:27.000Z
src/Widgets/Containers/ScrollContainer.cpp
SparkyStudios/PixelUI
77c0914a45ede276e64586b816f4b341e13ffc11
[ "Apache-2.0" ]
null
null
null
src/Widgets/Containers/ScrollContainer.cpp
SparkyStudios/PixelUI
77c0914a45ede276e64586b816f4b341e13ffc11
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021-present Sparky Studios. 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 requir...
32.754315
131
0.593776
SparkyStudios
c88a2f9184628f53d534cd2a993bf452ca77e5de
7,280
cpp
C++
src/goto-checker/properties.cpp
sonodtt/cbmc
2dc086356a9a7c48728e8cd57136f9e04bc589b0
[ "BSD-4-Clause" ]
null
null
null
src/goto-checker/properties.cpp
sonodtt/cbmc
2dc086356a9a7c48728e8cd57136f9e04bc589b0
[ "BSD-4-Clause" ]
null
null
null
src/goto-checker/properties.cpp
sonodtt/cbmc
2dc086356a9a7c48728e8cd57136f9e04bc589b0
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Properties Author: Daniel Kroening, Peter Schrammel \*******************************************************************/ /// \file /// Properties #include "properties.h" #include <util/exit_codes.h> #include <util/invariant.h> #include...
26.18705
80
0.69217
sonodtt
c88b298fe2491a6b116b20150befdc82fe5b3430
7,226
cpp
C++
CoreLib/src/Core_Thread.cpp
tmiguelf/utilities
a6040c49daf9fa6e62dd74ed1ff5da518121a447
[ "MIT" ]
null
null
null
CoreLib/src/Core_Thread.cpp
tmiguelf/utilities
a6040c49daf9fa6e62dd74ed1ff5da518121a447
[ "MIT" ]
null
null
null
CoreLib/src/Core_Thread.cpp
tmiguelf/utilities
a6040c49daf9fa6e62dd74ed1ff5da518121a447
[ "MIT" ]
null
null
null
//======== ======== ======== ======== ======== ======== ======== ======== /// \file /// /// \copyright /// Copyright (c) 2020 Tiago Miguel Oliveira Freire /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to ...
20.470255
103
0.656657
tmiguelf
c892d856f6c675e77cdb621865c8127bdac1bc99
2,042
cpp
C++
src/generated/ldb_testbattler.cpp
marta111222w3/liblcf
237765b6930cd398df2ea4f613b06d24d740ab6c
[ "MIT" ]
1
2020-06-13T08:21:53.000Z
2020-06-13T08:21:53.000Z
src/generated/ldb_testbattler.cpp
marta111222w3/liblcf
237765b6930cd398df2ea4f613b06d24d740ab6c
[ "MIT" ]
8
2020-06-13T08:22:17.000Z
2022-03-02T00:56:44.000Z
src/generated/ldb_testbattler.cpp
marta111222w3/liblcf
237765b6930cd398df2ea4f613b06d24d740ab6c
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2020 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
22.94382
77
0.729187
marta111222w3
c893bc3eb23a8e92ef48eaee4e09a5df6c1ec218
8,203
cpp
C++
src/kernel/ReactionLog.cpp
imartinbragado/MMonCa
126744a90253d7d7884c6dc7ec100db00a106a66
[ "Apache-2.0" ]
4
2018-11-23T16:20:09.000Z
2020-05-15T09:13:49.000Z
src/kernel/ReactionLog.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
null
null
null
src/kernel/ReactionLog.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
6
2020-12-04T03:28:14.000Z
2022-03-09T10:38:14.000Z
/* * ReactionLog.cpp * * Created on: Jul 21, 2011 * Author: ignacio.martin@imdea.org * * Copyright 2014 IMDEA Materials Institute, Getafe, Madrid, Spain * * 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 co...
40.608911
136
0.624162
imartinbragado
c894c381da0d056783c9e1777b98ac006b57d99a
3,337
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/XmlMDF.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/XmlMDF.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/XmlMDF.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 2001-07-09 // Created by: Julia DOROVSKIKH // Copyright (c) 2001-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1...
30.898148
195
0.787833
jiaguobing
c896fae81166e15d709f8ca09f0acba1f071654e
589
cpp
C++
codes/thread/01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/thread/01/main.cpp
slhop/ModernCMake
9e7c78d2a8e87d340fc967aa4d92dd9b20a99530
[ "MIT" ]
null
null
null
codes/thread/01/main.cpp
slhop/ModernCMake
9e7c78d2a8e87d340fc967aa4d92dd9b20a99530
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <iostream> #include <thread> #include <chrono> void foo() { // simulate expensive operation std::this_thread::sleep_for(std::chrono::seconds(1)); } void bar() { // simulate expensive operation std::this_thread::sleep_for(std::chrono::seconds(1)); } int main() { std::cout << "starting ...
19.633333
65
0.611205
eric2003
c897685867bc01d12d63215cd57b0389f58d5a91
1,716
hpp
C++
firmware/car/targets/MKV/NXP_hal/NXP_motor.hpp
witek117/NXPCup_2020
839138ef83b4e5d28c236532ce8da65249fe268f
[ "Apache-2.0" ]
2
2021-04-13T20:55:53.000Z
2021-12-23T00:35:46.000Z
firmware/car/targets/MKV/NXP_hal/NXP_motor.hpp
witek117/NXPCup_2020
839138ef83b4e5d28c236532ce8da65249fe268f
[ "Apache-2.0" ]
null
null
null
firmware/car/targets/MKV/NXP_hal/NXP_motor.hpp
witek117/NXPCup_2020
839138ef83b4e5d28c236532ce8da65249fe268f
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) Kolo Naukowe Elektronikow, Akademia Gorniczo-Hutnicza im. Stanislawa Staszica w Krakowie 2020 * Authors: Arkadiusz Balys, Kamil Kasperczyk, Witold Lukasik * * NXP HALina implementation of motor driver * */ #pragma once #include <utility> #include "HALina.hpp" #include "NXP_pwm.hpp" class Kit...
21.721519
110
0.638112
witek117
c898bbcc90032e815b1cc2bd005d1171d7378df5
1,818
cpp
C++
src/cairo-tests/image-rotate.cpp
bryceharrington/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
4
2018-11-11T20:58:08.000Z
2022-01-21T10:26:48.000Z
src/cairo-tests/image-rotate.cpp
Acidburn0zzz/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
null
null
null
src/cairo-tests/image-rotate.cpp
Acidburn0zzz/caskbench
45f67bf2ab96f15ef2d99848ef150128b3d44465
[ "BSD-3-Clause" ]
3
2018-07-16T10:31:56.000Z
2020-04-11T02:28:31.000Z
/* * Copyright 2014 © Samsung Research America, Silicon Valley * * Use of this source code is governed by the 3-Clause BSD license * specified in the COPYING file included with this source code. */ #include <config.h> #include <cairo.h> #include "caskbench.h" #include "caskbench_context.h" #include "cairo-shapes....
23.012658
101
0.660616
bryceharrington
c89a68b07922fa52e2b0642911b2ca825cdadca4
16,628
cpp
C++
libraries/HT16K33/HT16K33.cpp
leocov-dev/arduino_button_box
ed400efa876e2dc5e63efb232e948be4d39cded3
[ "MIT" ]
null
null
null
libraries/HT16K33/HT16K33.cpp
leocov-dev/arduino_button_box
ed400efa876e2dc5e63efb232e948be4d39cded3
[ "MIT" ]
null
null
null
libraries/HT16K33/HT16K33.cpp
leocov-dev/arduino_button_box
ed400efa876e2dc5e63efb232e948be4d39cded3
[ "MIT" ]
null
null
null
/* * ht16k33.cpp - used to talk to the htk1633 chip to do things like turn on LEDs or scan keys * Copyright: Peter Sjoberg <peters-alib AT techwiz.ca> * License: GPLv3 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as p...
32.926733
167
0.594539
leocov-dev
c89d0d43fde2d04287f8c4c6bf5b9ac5ccbed9bd
2,902
cpp
C++
cppcheck/data/c_files/193.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/193.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/193.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
jas_image_t *bmp_decode(jas_stream_t *in, char *optstr) { jas_image_t *image; bmp_hdr_t hdr; bmp_info_t *info; uint_fast16_t cmptno; jas_image_cmptparm_t cmptparms[3]; jas_image_cmptparm_t *cmptparm; uint_fast16_t numcmpts; long n; if (optstr) { jas_eprintf("warning: ignoring BMP decoder options\n"); } jas_eprintf( "...
25.681416
75
0.715024
awsm-research
c89d39b562fd58a44b22a8e49ec0087e31d97274
2,789
cpp
C++
src/all/frm/core/extern/imgui/imconfig.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
src/all/frm/core/extern/imgui/imconfig.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
src/all/frm/core/extern/imgui/imconfig.cpp
CPau/GfxSampleFramework
aa32d505d7ad6b53691daa2805a1b6c408e6c34a
[ "MIT" ]
null
null
null
#include "imgui.h" void ImGui::Value(const char* prefix, const frm::vec2& v) { Text("%s: %+0.5f, %+0.5f", prefix, v.x, v.y); } void ImGui::Value(const char* prefix, const frm::vec3& v) { Text("%s: %+0.5f, %+0.5f, %+0.5f", prefix, v.x, v.y, v.z); } void ImGui::Value(const char* prefix, const frm::vec4& v) { Text("%s...
27.343137
144
0.620294
CPau
c89db79e6779c38d28c7688c8db9ee2035d4c77e
4,028
cpp
C++
MeshmoonComponents/rocketmediaplayer/MediaPlayerNetwork.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
4
2018-05-09T01:55:14.000Z
2021-12-19T17:46:29.000Z
MeshmoonComponents/rocketmediaplayer/MediaPlayerNetwork.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
null
null
null
MeshmoonComponents/rocketmediaplayer/MediaPlayerNetwork.cpp
Adminotech/meshmoon-plugins
32043ef783bdf137860d7d01eb22de564628e572
[ "Apache-2.0" ]
2
2016-03-15T06:12:05.000Z
2021-06-06T00:18:38.000Z
/** @author Admino Technologies Ltd. Copyright 2013 Admino Technologies Ltd. All rights reserved. @file @brief */ #include "MediaPlayerNetwork.h" #include "MediaPlayerNetworkMessages.h" #include "RocketMediaPlayer.h" #include <QTcpServer> #include <QTcpSocket> #include <QByteArray> #include...
30.285714
100
0.622145
Adminotech
c8a1d652936e4e40534dee1d930de153bef06068
27,369
tpp
C++
ScatterCtrl/srcdoc.tpp/Data_en-us.tpp
Libraries4U/Scatter
e3b30265cd5814f6b922c0a11664fc265dcab027
[ "Apache-2.0" ]
null
null
null
ScatterCtrl/srcdoc.tpp/Data_en-us.tpp
Libraries4U/Scatter
e3b30265cd5814f6b922c0a11664fc265dcab027
[ "Apache-2.0" ]
1
2022-01-28T09:17:33.000Z
2022-01-31T13:53:26.000Z
ScatterCtrl/srcdoc.tpp/Data_en-us.tpp
Libraries4U/Scatter
e3b30265cd5814f6b922c0a11664fc265dcab027
[ "Apache-2.0" ]
null
null
null
topic "1 Data dialog"; [ $$0,0#00000000000000000000000000000000:Default] [{_}%EN-US [s0; [*R+184 Data dialog]&] [s0;2 &] [s0; [2 When clicking left mouse we will get the context menu. If we are in DEBUG mode or if ShowPropertiesDlg() is set to true, we will have the Data option that will open the Data dialog....
1,520.5
26,863
0.963645
Libraries4U
c8a2398fc836b90956ec962ad5942b8275981e8b
1,598
cpp
C++
src/BLEServices.cpp
renato0307/alarmista-esp32
2c3a1891e2c4f6d9dedda102d227eca5182aabcf
[ "Unlicense" ]
null
null
null
src/BLEServices.cpp
renato0307/alarmista-esp32
2c3a1891e2c4f6d9dedda102d227eca5182aabcf
[ "Unlicense" ]
null
null
null
src/BLEServices.cpp
renato0307/alarmista-esp32
2c3a1891e2c4f6d9dedda102d227eca5182aabcf
[ "Unlicense" ]
null
null
null
#include <BLEServices.h> #include <ArduinoLog.h> #include <BLEDevice.h> #include <BLEUtils.h> #include <BLEServer.h> #include <GlobalStatus.h> // initCharacteristic initializes a characteristic and assigns it to a service. void initCharacteristic(BLEService *pService, String uuid, uint32_t properties, BLECharacteris...
31.96
118
0.710263
renato0307
c8a3ffa6e4bd74aabdee7fdc2d5bd39b4441f66e
10,294
inl
C++
src/kerfuffle/detail/structure/state.inl
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
null
null
null
src/kerfuffle/detail/structure/state.inl
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
1
2020-08-19T15:46:56.000Z
2020-08-19T15:46:56.000Z
src/kerfuffle/detail/structure/state.inl
GameVTeam/kerfuffle
07c2e4eff6f16885ee2c44a9aef8cde9b73a4b55
[ "MIT" ]
null
null
null
namespace kerfuffle { namespace detail { //------------------------------------------------------------------------------ template <StateID NS, typename TA, typename TH> struct RegisterT { using StateParents = StaticArray<Parent, TA::STATE_COUNT>; using StateList = typename TA::StateList; static constexpr S...
30.820359
80
0.574121
GameVTeam
c8a635458f27841e4d830bf6a1a02ab2102ab857
333
cpp
C++
prime number.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
prime number.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
prime number.cpp
ASAD-BE18/Cpp-Programs
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int x,count=1; cout<<"Enter Number: "; cin>>x; if(x==1) cout<<"this is not a prime number"; else { for (int i=2;i<=x;i++) { if (x%i==0) ++count; } if (count>2) cout<<"Not Prime Number. "; else cout<<"Prime Number "; } r...
13.32
37
0.522523
ASAD-BE18
c8a73bcd673fe40941f9e15c2f8cb385cb609896
4,505
cpp
C++
test/CSRTest.cpp
zhouyium/SparseMatrix
7a41ae17b8aeca0b02d1e3c76555ce6359b8e31f
[ "MIT" ]
null
null
null
test/CSRTest.cpp
zhouyium/SparseMatrix
7a41ae17b8aeca0b02d1e3c76555ce6359b8e31f
[ "MIT" ]
null
null
null
test/CSRTest.cpp
zhouyium/SparseMatrix
7a41ae17b8aeca0b02d1e3c76555ce6359b8e31f
[ "MIT" ]
null
null
null
//测试函数 #include <iostream> #include <vector> #include "SparseMatrix.h" #include "CSRMatrix.h" using namespace std; int main() { //矩阵加法测试 CSRMatrix<int, int> a(15, 15); a(1, 1, 3); a(2, 2, 6); a(3, 2, 5); a(3, 3, -5); a(14, 14, -1); a.ToMatrix(); std::vector<int> ...
22.752525
61
0.387125
zhouyium
c8a958b242ea450d46003cf7f8abc21bb22d1538
2,282
cpp
C++
src/Emulators/nestopiaue/core/NstSoundPcm.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/nestopiaue/core/NstSoundPcm.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/nestopiaue/core/NstSoundPcm.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
//////////////////////////////////////////////////////////////////////////////////////// // // Nestopia - NES/Famicom emulator written in C++ // // Copyright (C) 2003-2008 Martin Freij // // This file is part of Nestopia. // // Nestopia is free software; you can redistribute it and/or modify // it under the te...
21.12963
89
0.530237
slajerek
c8abea165205dd49d022117a656aedfd4f6046c5
2,790
hpp
C++
test/integration/plugin/tests/test-plugin-kernel.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
1
2020-11-19T04:55:20.000Z
2020-11-19T04:55:20.000Z
test/integration/plugin/tests/test-plugin-kernel.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
test/integration/plugin/tests/test-plugin-kernel.hpp
ggeorgakoudis/RAJA
05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
34.02439
84
0.703584
ggeorgakoudis
c8ae1fd9ec5c034d0cfb47a693f81e0976bff6cc
2,994
cc
C++
lite/backends/nnadapter/nnadapter/core/operation/elementwise.cc
fanrong1992/Paddle-Lite
3e66f4736913139fb8fa7f51e53ae8041e3c0d9b
[ "Apache-2.0" ]
null
null
null
lite/backends/nnadapter/nnadapter/core/operation/elementwise.cc
fanrong1992/Paddle-Lite
3e66f4736913139fb8fa7f51e53ae8041e3c0d9b
[ "Apache-2.0" ]
null
null
null
lite/backends/nnadapter/nnadapter/core/operation/elementwise.cc
fanrong1992/Paddle-Lite
3e66f4736913139fb8fa7f51e53ae8041e3c0d9b
[ "Apache-2.0" ]
null
null
null
// 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...
36.072289
75
0.645291
fanrong1992
c8b07df950b80cc28ea55dab4ea26dda1ebba345
187
cpp
C++
ai/ai_kiyosumi_nodoka.cpp
Lhtie/libsaki
10667d490b9f4a2e842982eca933216b1f18fb1b
[ "MIT" ]
8
2017-11-01T20:14:42.000Z
2022-01-18T09:06:05.000Z
ai/ai_kiyosumi_nodoka.cpp
Lhtie/libsaki
10667d490b9f4a2e842982eca933216b1f18fb1b
[ "MIT" ]
31
2017-10-23T15:35:38.000Z
2019-07-24T09:20:14.000Z
ai/ai_kiyosumi_nodoka.cpp
mjpancake/libsaki
399ea22c45fe033b011b511c65610f9405fee709
[ "MIT" ]
18
2017-10-25T11:32:44.000Z
2021-02-25T10:46:57.000Z
#include "ai_kiyosumi_nodoka.h" namespace saki { Action AiNodoka::think(const TableView &view, Limits &limits) { return Ai::thinkChoices(view, limits); } } // namespace saki
10.388889
61
0.700535
Lhtie
c8b08619e279ab8227d6389b30a0e2519dd1fee7
2,987
hpp
C++
include/networkit/generators/EdgeSwitchingMarkovChainGenerator.hpp
kisasexypantera94/networkit
0353e6c25e9ad710de2b4500f1a3f29ad408c9ce
[ "MIT" ]
null
null
null
include/networkit/generators/EdgeSwitchingMarkovChainGenerator.hpp
kisasexypantera94/networkit
0353e6c25e9ad710de2b4500f1a3f29ad408c9ce
[ "MIT" ]
null
null
null
include/networkit/generators/EdgeSwitchingMarkovChainGenerator.hpp
kisasexypantera94/networkit
0353e6c25e9ad710de2b4500f1a3f29ad408c9ce
[ "MIT" ]
null
null
null
// networkit-format #ifndef NETWORKIT_GENERATORS_EDGE_SWITCHING_MARKOV_CHAIN_GENERATOR_HPP_ #define NETWORKIT_GENERATORS_EDGE_SWITCHING_MARKOV_CHAIN_GENERATOR_HPP_ #include <networkit/generators/StaticDegreeSequenceGenerator.hpp> namespace NetworKit { /** * @ingroup generators * Graph generator for generating a ra...
44.58209
100
0.743555
kisasexypantera94
c8b37e9c85601ab4c02ce2e7f25de3865ab2486e
2,878
cpp
C++
xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp
guidopola/pdfium
4117500e4809c74ec7f800f1729dcffa2ce54874
[ "BSD-3-Clause" ]
38
2015-11-25T02:25:25.000Z
2022-01-04T01:11:15.000Z
xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp
guidopola/pdfium
4117500e4809c74ec7f800f1729dcffa2ce54874
[ "BSD-3-Clause" ]
1
2021-02-23T22:36:54.000Z
2021-02-23T22:36:54.000Z
xfa/fxbarcode/datamatrix/BC_TextEncoder.cpp
guidopola/pdfium
4117500e4809c74ec7f800f1729dcffa2ce54874
[ "BSD-3-Clause" ]
13
2016-08-03T02:35:18.000Z
2020-12-17T10:14:04.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com // Original code is licensed as follows: /* * Copyright 2006-2007 Jeremias Mae...
29.070707
80
0.601807
guidopola
c8b53511f2f6254685d188eee371791cecbc307a
2,934
cpp
C++
EZOJ/Contests/1289/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1289/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
BZOJ/4821.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> #include <ctime> using namespace std; typedef long long lint; typedef long double ld; #define ni (next_num<int>()) #define nl (next_num<lint>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())...
19.691275
62
0.567825
sshockwave
c8b5c06a64c48724b455e25fd37db5c0932540ad
3,945
hpp
C++
include/System/TimeZoneInfo_SYSTEMTIME.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/System/TimeZoneInfo_SYSTEMTIME.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/System/TimeZoneInfo_SYSTEMTIME.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.TimeZoneInfo #includ...
38.676471
385
0.664639
RedBrumbler
c8b925a06971745c94c8020db1728f8223fdd92b
49,333
cc
C++
plugins/experimental/mp4/mp4_meta.cc
garfieldonly/ats_git
940ff5c56bebabb96130a55c2a17212c5c518138
[ "Apache-2.0" ]
1
2022-01-19T14:34:34.000Z
2022-01-19T14:34:34.000Z
plugins/experimental/mp4/mp4_meta.cc
mingzym/trafficserver
a01c3a357b4ff9193f2e2a8aee48e3751ef2177a
[ "Apache-2.0" ]
2
2017-12-05T23:48:37.000Z
2017-12-20T01:22:07.000Z
plugins/experimental/mp4/mp4_meta.cc
maskit/trafficserver
3ffa19873f7cd7ced2fbdfed5a0ac8ddbbe70a68
[ "Apache-2.0" ]
null
null
null
/* 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 you under the Apache License, Version 2.0 (the "License"); you may no...
26.680909
132
0.694322
garfieldonly
c8ba3431fb9f4bb490885b4eb4af41734f404557
800
hpp
C++
include/hydro/compiler/hydro/ast/GetterDeclaration.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/hydro/ast/GetterDeclaration.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/compiler/hydro/ast/GetterDeclaration.hpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
24.242424
54
0.51875
hydraate
c8bb8ffd6fab4cb46d98fceb95f671e520e8e4f0
4,458
hpp
C++
src/axom/primal/operators/clip.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/primal/operators/clip.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/primal/operators/clip.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) /*! * \file clip.hpp * * \brief Consists of a set of methods to clip a primal primitive against * another prim...
32.779412
84
0.699865
bmhan12
c8bc327c8832b78d2f9a77faa87b0a5af74ced82
5,152
cpp
C++
POJ/14 - 16/poj1410.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
POJ/14 - 16/poj1410.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
POJ/14 - 16/poj1410.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <iostream> #include <fstream> #include <cmath> using namespace std; #define Pi 3.141592653568979323846 #define eps 1e-8 #define sgn(d) (( (d) < -eps)? (-1): ( ( (d) > +eps)? (+1): (0))) #define Sqr(x) ((x)* (x)) #define fabs(x) ((x) < 0? ( -(x)): (x)) #define Deg2Red(deg) ((deg) * Pi / 180.0) #define Red2Deg(...
25.889447
74
0.477873
bilibiliShen
c8c2068171459e0de1261a2ce72392ff92169352
8,128
cpp
C++
aws-cpp-sdk-elasticbeanstalk/source/model/PlatformSummary.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-elasticbeanstalk/source/model/PlatformSummary.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-elasticbeanstalk/source/model/PlatformSummary.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
35.33913
168
0.712352
curiousjgeorge
c8c25cb5b8098773a8ab45fabb3376c2cee6b06f
354
hpp
C++
src/cppio/sleep.hpp
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
4
2021-08-29T13:46:22.000Z
2021-11-14T20:27:30.000Z
src/cppio/sleep.hpp
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
null
null
null
src/cppio/sleep.hpp
yamashi/cppio
a6fa39ccfd72361d0a8b11948a30db030de2ac33
[ "MIT" ]
null
null
null
#pragma once #include <coroutine> #include <chrono> namespace cppio { struct sleep : std::suspend_always { template<class T, class U> sleep(const std::chrono::duration<T, U>& delay) : m_delay(delay) {} bool await_suspend(std::coroutine_handle<> handle); private: std::chr...
18.631579
75
0.629944
yamashi
c8c4e56d850ae86c9ab9e9b39f84de6cff3d2403
494
cpp
C++
leetcode/1200_easy_minimum-absolute-difference.cpp
saksham36/CompCode
8871015a66e5c4b3f6a55d98e02f67da23e958d5
[ "MIT" ]
null
null
null
leetcode/1200_easy_minimum-absolute-difference.cpp
saksham36/CompCode
8871015a66e5c4b3f6a55d98e02f67da23e958d5
[ "MIT" ]
null
null
null
leetcode/1200_easy_minimum-absolute-difference.cpp
saksham36/CompCode
8871015a66e5c4b3f6a55d98e02f67da23e958d5
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> minimumAbsDifference(vector<int>& arr) { vector<vector<int>>res; sort(arr.begin(), arr.end()); int min_diff = INT_MAX; for(int i=1; i<arr.size();i++){ min_diff = min(min_diff, abs(arr[i]-arr[i-1])); } for(int i=...
29.058824
64
0.479757
saksham36
c8c65d0cc11786525bf6af42d482919de9f88bac
9,426
cpp
C++
sakura_core/dlg/CDlgCtrlCode.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
1
2019-03-15T16:55:33.000Z
2019-03-15T16:55:33.000Z
sakura_core/dlg/CDlgCtrlCode.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
null
null
null
sakura_core/dlg/CDlgCtrlCode.cpp
zlatantan/sakura
a722f9c86f2860606b3f9e7dc79bb169294cfaea
[ "Zlib" ]
null
null
null
/*! @file @brief コントロールコード入力ダイアログボックス @author MIK @date 2002.6.2 */ /* Copyright (C) 2002-2003, MIK Copyright (C) 2006, ryoji + Copyright (C) 2011, nasukoji This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the...
28.391566
122
0.633142
zlatantan
c8c7047973260d31eaaf11de5352e44d0ea38d0e
41,942
cpp
C++
4.Mix/MVTO/default-main.cpp
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
1
2021-03-13T08:55:13.000Z
2021-03-13T08:55:13.000Z
4.Mix/MVTO/default-main.cpp
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
null
null
null
4.Mix/MVTO/default-main.cpp
Parwatsingh/OptSmart
0564abdd04e7bc37a3586982a1d7ca5a97be88d5
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <thread> #include <atomic> #include <list> #include "Util/Timer.cpp" #include "Util/FILEOPR.cpp" #include "Contract/Mix.cpp" #include "Graph/Lockfree/Graph.cpp" #define MAX_THREADS 128 #define maxCoinAObj 5000 //maximum coin contract \account\ object. #define CFCount 3 //# methods...
31.114243
125
0.543489
Parwatsingh
c8c775e5649308bb539341d085bf2f23dad1e963
4,035
cpp
C++
2019/Day11/Computer.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day11/Computer.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day11/Computer.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
#include <cassert> #include <iostream> #include "Computer.h" Computer::Computer(const mem_container_t& memory) :m_ip(0), m_relativeBase(0), m_memory(memory), m_state(ComputerState::IDLE) { } void Computer::addInput(mem_item_t input) { m_input.push(input); } bool Computer::getOutput(mem_item_t& output) { if (!...
24.307229
80
0.645849
luddet
c8c7a516a2f5c174a995e5fbf3550e74b44bd2c6
3,543
cpp
C++
service/FilePermission.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-02-02T13:32:14.000Z
2017-08-20T07:58:49.000Z
service/FilePermission.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
null
null
null
service/FilePermission.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-03-09T02:41:25.000Z
2019-07-10T03:22:23.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
33.742857
114
0.627717
zukisoft
c8c7c325b66ad60df4b982dff5fb6f50d79e3d34
2,409
hh
C++
twin/particle.hh
arthuryoung-cs107/chaotic_reconstruction
1ac4b065bfb5e9407460d231a612451e1eaa3db4
[ "MIT" ]
null
null
null
twin/particle.hh
arthuryoung-cs107/chaotic_reconstruction
1ac4b065bfb5e9407460d231a612451e1eaa3db4
[ "MIT" ]
null
null
null
twin/particle.hh
arthuryoung-cs107/chaotic_reconstruction
1ac4b065bfb5e9407460d231a612451e1eaa3db4
[ "MIT" ]
null
null
null
#ifndef PARTICLE_HH #define PARTICLE_HH #include <cmath> const int particle_init_shear_records=4; const int particle_max_shear_records=32; class particle { public: /** The particle position. */ double x,y,z; /** The particle velocity. */ double vx,vy,vz; /** The current pa...
28.341176
70
0.498547
arthuryoung-cs107
c8c852ecab500088ae2ddfdb752e4d8b3d34ab3d
280
hpp
C++
include/meta-list/type.hpp
netcan/meta-value-list
772bb0c091a5b5ea6070f7c6e4f5503d1fccb26a
[ "MIT" ]
24
2021-11-05T16:24:57.000Z
2021-11-08T11:18:02.000Z
include/meta-list/type.hpp
netcan/meta-value-list
772bb0c091a5b5ea6070f7c6e4f5503d1fccb26a
[ "MIT" ]
null
null
null
include/meta-list/type.hpp
netcan/meta-value-list
772bb0c091a5b5ea6070f7c6e4f5503d1fccb26a
[ "MIT" ]
null
null
null
// // Created by netcan on 2021/11/7. // #ifndef META_LIST_TYPE_HPP #define META_LIST_TYPE_HPP #include <meta-list/types/value_c.hpp> #include <meta-list/types/type_c.hpp> #include <meta-list/types/pair_c.hpp> #include <meta-list/types/type_list.hpp> #endif //META_LIST_TYPE_HPP
23.333333
40
0.767857
netcan
c8ca85f610d5c6729b4a0da7173858034480af12
57,889
cpp
C++
IGC/VectorCompiler/lib/GenXCodeGen/GenXRegionCollapsing.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXCodeGen/GenXRegionCollapsing.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXCodeGen/GenXRegionCollapsing.cpp
liushuyu/intel-graphics-compiler
093655fe61e74cc9851436ed5233c61e181d6f60
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2017-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ // /// GenXRegionCollapsing /// -------------------- /// /// GenX region collapsing...
39.353501
109
0.6452
liushuyu
c8ccdb07e0e85ca61652c0b2f8ef95509b1297c8
15,498
cpp
C++
src/NoteDataWithScoring.cpp
shakesoda/stepmania
a9b061f8f997c464c92fffcd58e5ba0487931842
[ "MIT" ]
null
null
null
src/NoteDataWithScoring.cpp
shakesoda/stepmania
a9b061f8f997c464c92fffcd58e5ba0487931842
[ "MIT" ]
null
null
null
src/NoteDataWithScoring.cpp
shakesoda/stepmania
a9b061f8f997c464c92fffcd58e5ba0487931842
[ "MIT" ]
null
null
null
#include "global.h" #include "NoteDataWithScoring.h" #include "NoteData.h" #include "PlayerStageStats.h" #include "Game.h" #include "GameConstantsAndTypes.h" #include "GameState.h" #include "ThemeMetric.h" #include "RageLog.h" #include "TimingData.h" namespace { //ThemeMetric<TapNoteScoreJudgeType> LAST_OR_MINIMUM_TN...
33.044776
122
0.721512
shakesoda
c8ce71820b739d53be800757e0641a54c59262f9
69,473
cpp
C++
dev/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
dev/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
dev/Code/Tools/AssetProcessor/native/utilities/assetUtils.cpp
yuriy0/lumberyard
18ab07fd38492d88c34df2a3e061739d96747e13
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
37.573283
223
0.613576
yuriy0
c8cf480892014d2005821348eaf54d9bba6b6123
282
cpp
C++
Code/Engine/Foundation/IO/Implementation/DirectoryWatcher.cpp
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
null
null
null
Code/Engine/Foundation/IO/Implementation/DirectoryWatcher.cpp
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
null
null
null
Code/Engine/Foundation/IO/Implementation/DirectoryWatcher.cpp
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
1
2020-03-08T04:55:16.000Z
2020-03-08T04:55:16.000Z
#include <Foundation/PCH.h> #if EZ_ENABLED(EZ_PLATFORM_WINDOWS) #include <Foundation/IO/Implementation/Win/DirectoryWatcher_win.h> #elif EZ_ENABLED(EZ_USE_POSIX_FILE_API) #include <Foundation/IO/Implementation/Posix/DirectoryWatcher_posix.h> #else #error "Unknown Platform." #endif
31.333333
70
0.829787
Manuzor
c8d0dcc32b04471e8ea71e12e892df93000e8678
7,401
cpp
C++
OgreMain/src/GLX/OgreFileSystemLayer.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
2,937
2016-02-05T14:26:54.000Z
2022-03-31T14:53:11.000Z
OgreMain/src/GLX/OgreFileSystemLayer.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
916
2016-01-05T23:41:21.000Z
2022-03-26T17:40:31.000Z
OgreMain/src/GLX/OgreFileSystemLayer.cpp
dawlane/ogre
7bae21738c99b117ef2eab3fcb1412891b8c2025
[ "MIT" ]
976
2015-12-30T13:14:27.000Z
2022-03-31T09:21:07.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any per...
36.458128
99
0.506418
dawlane