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
3ee899e59370bc5f832f3b6aee511cbf61371b40
642
hpp
C++
libs/systems/include/sge/systems/detail/has_with_input.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/systems/include/sge/systems/detail/has_with_input.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/systems/include/sge/systems/detail/has_with_input.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_SYSTEMS_DETAIL_HAS_WITH_INPUT_HPP_INCLUDED #define SGE_SYSTEMS_DETAIL_HAS_WITH_INPUT_HP...
27.913043
95
0.753894
cpreh
3ee9cad19bef55a911e18ab9961e1659b15ce3a4
2,943
cpp
C++
aws-cpp-sdk-servicecatalog/source/model/ShareDetails.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-servicecatalog/source/model/ShareDetails.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-servicecatalog/source/model/ShareDetails.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...
29.138614
130
0.760788
curiousjgeorge
3eed5f29951a0430f5474b47cab41f71d44a5821
7,314
hpp
C++
test/task_test.hpp
jimmiebergmann/wepp
beb14c840b80967f909f6a748dd0bfd37b29a456
[ "MIT" ]
2
2020-02-19T00:21:55.000Z
2020-10-14T21:06:06.000Z
test/task_test.hpp
jimmiebergmann/wepp
beb14c840b80967f909f6a748dd0bfd37b29a456
[ "MIT" ]
null
null
null
test/task_test.hpp
jimmiebergmann/wepp
beb14c840b80967f909f6a748dd0bfd37b29a456
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "wepp/socket/socket.hpp" #include "wepp/task.hpp" #include <thread> using namespace Wepp; TEST(Task, Task) { { struct TestStruct { TestStruct(int integer, const std::string & string) : integer(integer), string(string) { } ...
29.491935
124
0.523517
jimmiebergmann
3ef182abed8520392d22b82ddbcf70edb29813e7
2,588
cpp
C++
examples/read-continuous.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
30
2015-03-28T23:19:54.000Z
2022-03-08T14:44:36.000Z
examples/read-continuous.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
147
2015-03-06T18:37:11.000Z
2022-03-28T08:26:47.000Z
examples/read-continuous.cpp
damercer/libsmu
6f141ea37a0778299ad1771cc9385fef14010bc0
[ "BSD-3-Clause" ]
26
2015-03-14T06:04:17.000Z
2022-03-12T16:37:48.000Z
// Simple example for reading data in a continuous fashion. // // When run the example should output from all channels to // stdout in a continuous fashion. If any sample is dropped the program exits // with an error code of 1. // // Note that slower/older setups and/or slower older terminals can cause sample // drops,...
26.408163
96
0.675039
damercer
3ef2278923ebe2aad86c142ab4a71eb12f0534a7
8,988
cc
C++
lib/models/MailboxStatus.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-11T21:48:52.000Z
2020-07-11T21:48:52.000Z
lib/models/MailboxStatus.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-13T15:01:30.000Z
2020-07-19T21:23:05.000Z
lib/models/MailboxStatus.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2021-05-24T23:05:59.000Z
2021-05-24T23:05:59.000Z
/* Copyright [2020] [Luke A.C.A. Rieff] 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 writing, ...
31.208333
98
0.711282
skywa04885
3ef26c06a9403e46ecd1ee59557a754fa1b681b1
4,580
cc
C++
libcef/utility/content_utility_client.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
1
2019-06-18T13:01:08.000Z
2019-06-18T13:01:08.000Z
libcef/utility/content_utility_client.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
null
null
null
libcef/utility/content_utility_client.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014 the Chromium Embedded Framework authors. // Portions Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "libcef/utility/content_utility_client.h" #include <utility> #inclu...
36.349206
89
0.758079
amirbn7
3ef4bba2ab250e82f28b81bc21439a075fc2c1ed
342
cpp
C++
ace/Proactor_Impl.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Proactor_Impl.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Proactor_Impl.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
#include "ace/Proactor_Impl.h" #if defined (ACE_HAS_WIN32_OVERLAPPED_IO) || defined (ACE_HAS_AIO_CALLS) // This only works on standard Win32 platforms and on Unix platforms supporting // aio calls. ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Proactor_Impl::~ACE_Proactor_Impl (void) { } ACE_END_VERSIONED_NAME...
21.375
80
0.777778
azerothcore
3ef6fadf3f8330b4a38c9280340217b89fcc1b2c
5,081
inl
C++
include/geometry2D/primitives/triangle.inl
TheTryton/linear_algebra
1975bab581e56451e2a7e45749374f11274248a5
[ "MIT" ]
null
null
null
include/geometry2D/primitives/triangle.inl
TheTryton/linear_algebra
1975bab581e56451e2a7e45749374f11274248a5
[ "MIT" ]
null
null
null
include/geometry2D/primitives/triangle.inl
TheTryton/linear_algebra
1975bab581e56451e2a7e45749374f11274248a5
[ "MIT" ]
null
null
null
#pragma once #include "triangle.hpp" NAMESPACE_GEOMETRY2D_BEGIN template<class T> triangle<T>::triangle() : _points({ point_type<T>(), point_type<T>(), point_type<T>() }) { } template<class T> triangle<T>::triangle(const T & x1, const T & y1, const T & x2, const T & y2, const T & x3, const T & y3): _points(...
20.738776
106
0.563865
TheTryton
3efaf2f4e0804dccb6059b8da0924278a52accf3
6,022
hpp
C++
src/Video/Renderer.hpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
10
2019-01-13T05:51:54.000Z
2022-02-02T14:34:47.000Z
src/Video/Renderer.hpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
46
2016-12-30T11:14:25.000Z
2021-09-04T12:50:40.000Z
src/Video/Renderer.hpp
Chainsawkitten/HymnToBeauty
b0c431869fee4314eca2aee65d93e78f7e707f10
[ "MIT" ]
4
2017-09-28T09:00:58.000Z
2019-10-22T05:28:32.000Z
#pragma once #include <glm/glm.hpp> #include <vector> #include "Lighting/Light.hpp" #include "PostProcessing/PostProcessing.hpp" struct GLFWwindow; namespace Video { class StaticRenderProgram; class Texture2D; class Shader; class ShaderProgram; class RenderPass; class Buffer; class VertexDescription; class GeometryB...
28.540284
169
0.682165
Chainsawkitten
3efd40b7834a7527f25380bdafe0957957c67ed0
40,442
cpp
C++
main_d1/editor/medwall.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
22
2019-08-19T21:09:29.000Z
2022-03-25T23:19:15.000Z
main_d1/editor/medwall.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
6
2019-11-08T22:17:03.000Z
2022-03-10T05:02:59.000Z
main_d1/editor/medwall.cpp
ziplantil/CacaoticusDescent
b4299442bc43310690a666e181dd983c1491dce1
[ "MIT" ]
6
2019-08-24T08:03:14.000Z
2022-02-04T15:04:52.000Z
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, A...
29.178932
134
0.633129
ziplantil
4107569e638c60b14b0d272292d4653772e64347
6,281
cc
C++
lib/Packet.cc
dashagratz/simple_network
d881b095a59e2fe3a508af3f7f40aebd5ae3f346
[ "MIT" ]
2
2020-04-15T16:34:09.000Z
2020-04-15T16:37:55.000Z
lib/Packet.cc
dashagratz/simple_network
d881b095a59e2fe3a508af3f7f40aebd5ae3f346
[ "MIT" ]
null
null
null
lib/Packet.cc
dashagratz/simple_network
d881b095a59e2fe3a508af3f7f40aebd5ae3f346
[ "MIT" ]
null
null
null
/******************************************************************************* Author: Alexey Frolov (alexwin32@mail.ru) This software is distributed freely under the terms of the MIT License. See "LICENSE" or "http://copyfree.org/content/standard/licenses/mit/license.txt". ******************************...
35.089385
110
0.670753
dashagratz
4107e59a94d142d1637ef516399d04713694b1e9
490
cpp
C++
source/embedded/Src/main_loop.cpp
azais-corentin/SliderBar
e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2
[ "MIT" ]
1
2018-10-18T06:14:31.000Z
2018-10-18T06:14:31.000Z
source/embedded/Src/main_loop.cpp
azais-corentin/SliderBar
e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2
[ "MIT" ]
8
2018-11-06T21:56:50.000Z
2019-01-22T08:31:55.000Z
source/embedded/Src/main_loop.cpp
azais-corentin/SliderBar
e7bd1b2623f54f10d616e5ac5e2ba47891c10cd2
[ "MIT" ]
null
null
null
#include "main_loop.h" #include <SliderBar/sliderbar.h> #include <USB/CDC.h> // Initializes global instances void* cdc = CDC::self(); void* sliderbar = SliderBar::self(); void main_loop() { auto&& cdcInstance = static_cast<CDC*>(cdc); auto&& sliderbarInstance = static_cast<SliderBar*>(sliderbar); cdcInstance-...
21.304348
64
0.718367
azais-corentin
410b73aff7834cb3f2fe831c896a620c093eb90c
2,459
cpp
C++
src/eepp/network/socket.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/network/socket.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/eepp/network/socket.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <eepp/network/platform/platformimpl.hpp> #include <eepp/network/socket.hpp> #include <eepp/system/log.hpp> namespace EE { namespace Network { Socket::Socket( Type type ) : mType( type ), mSocket( Private::SocketImpl::invalidSocket() ), mIsBlocking( true ) {} Socket::~Socket() { // Close the sock...
28.264368
88
0.646604
jayrulez
410ba645fedf4484e358fd97d3ad27f26944454a
4,621
cpp
C++
src/spgwu/simpleswitch/pfcp_far.cpp
vetletm/openair-spgwu-tiny
c6c4e189d4ec32f84a326af39e37ecd32e962022
[ "Apache-2.0" ]
1
2021-06-22T08:11:20.000Z
2021-06-22T08:11:20.000Z
src/spgwu/simpleswitch/pfcp_far.cpp
vetletm/openair-spgwu-tiny
c6c4e189d4ec32f84a326af39e37ecd32e962022
[ "Apache-2.0" ]
null
null
null
src/spgwu/simpleswitch/pfcp_far.cpp
vetletm/openair-spgwu-tiny
c6c4e189d4ec32f84a326af39e37ecd32e962022
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
37.266129
81
0.62454
vetletm
410bb50bcf1b67b32be43f246d0642c83e9c57a5
37,045
cpp
C++
src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
1
2019-03-23T19:32:57.000Z
2019-03-23T19:32:57.000Z
src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
src/server/scripts/Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 201...
28.650425
147
0.697395
Zone-Emu
410d006626309f201c89f562c383f311198a0a96
1,057
cpp
C++
proxygen/lib/utils/test/UtilTest.cpp
JackBoosY/proxygen
ad5252b83514f3550380229adfd24beae0fa510d
[ "BSD-3-Clause" ]
1
2021-01-15T01:55:53.000Z
2021-01-15T01:55:53.000Z
proxygen/lib/utils/test/UtilTest.cpp
JackBoosY/proxygen
ad5252b83514f3550380229adfd24beae0fa510d
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/utils/test/UtilTest.cpp
JackBoosY/proxygen
ad5252b83514f3550380229adfd24beae0fa510d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <folly/portability/GTest.h> #include <proxygen/lib/utils/UtilInl.h> using namespace proxyge...
29.361111
72
0.690634
JackBoosY
410d999061a714e752d2b0f6c15236dd1454014c
30,634
cpp
C++
src/Renderer.cpp
demarle/VisRTX
abd6a7040c2d7521750b9b787b9085c053894d17
[ "BSD-3-Clause" ]
4
2019-04-04T17:23:18.000Z
2019-09-29T11:32:56.000Z
src/Renderer.cpp
straaljager/VisRTX
abd6a7040c2d7521750b9b787b9085c053894d17
[ "BSD-3-Clause" ]
null
null
null
src/Renderer.cpp
straaljager/VisRTX
abd6a7040c2d7521750b9b787b9085c053894d17
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. 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 condition...
39.024204
189
0.544722
demarle
410ff5948c03bec8d364c8f5be18d89ba604faf4
1,812
cpp
C++
LinkedList/EvenAfterOddLL.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
null
null
null
LinkedList/EvenAfterOddLL.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
null
null
null
LinkedList/EvenAfterOddLL.cpp
tanmayagarwal06/CompetitiveProgramming
ce1df2dbe829a0babfb18e65beee8604eb80915c
[ "MIT" ]
3
2020-10-06T02:57:41.000Z
2020-10-20T06:54:04.000Z
#include <iostream> class node{ public: int data; node * next; node(int data){ this->data=data; this->next=NULL; } }; using namespace std; node* takeinput(){ int data; cin>>data; node* head=NULL,*tail=NULL; while(data!=-1){ node *newnode=new node...
19.483871
56
0.416115
tanmayagarwal06
411079d8cefad9aea41cca90f49bf5f2e14c4f77
7,766
cpp
C++
qcom-caf/display/composer/hwc_debugger.cpp
Jleeblanch/android_device_motorola_sm7250-common
735d0e7dce41e6fb381b10ece6e7e9616eee045c
[ "FTL" ]
4
2020-12-17T13:39:05.000Z
2022-02-11T10:24:58.000Z
qcom-caf/display/composer/hwc_debugger.cpp
Jleeblanch/android_device_motorola_sm7250-common
735d0e7dce41e6fb381b10ece6e7e9616eee045c
[ "FTL" ]
null
null
null
qcom-caf/display/composer/hwc_debugger.cpp
Jleeblanch/android_device_motorola_sm7250-common
735d0e7dce41e6fb381b10ece6e7e9616eee045c
[ "FTL" ]
4
2021-01-07T12:31:21.000Z
2021-12-27T19:08:12.000Z
/* * Copyright (c) 2014 - 2020, The Linux Foundation. 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 li...
30.454902
89
0.738347
Jleeblanch
4110e68c6e1829114c8ac5891e51be787988da9b
847
cpp
C++
AtCoder/joisc2007/score/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/joisc2007/score/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/joisc2007/score/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> score(n, 0); for (int i = 0; i < n; i++) cin >> score[i]; vector<int> score_sort = score; sort(score_sort.begin(), score_sort.end()); reverse(score_sort.begi...
31.37037
110
0.532468
H-Tatsuhiro
411adc9b9bbe8bea9de20991ac6a6056d0d91bda
16,678
cpp
C++
game.cpp
NX1125/cg-tf
84a2e05908066efcbe797d35c6498f69a51ad917
[ "MIT" ]
null
null
null
game.cpp
NX1125/cg-tf
84a2e05908066efcbe797d35c6498f69a51ad917
[ "MIT" ]
null
null
null
game.cpp
NX1125/cg-tf
84a2e05908066efcbe797d35c6498f69a51ad917
[ "MIT" ]
null
null
null
#include <algorithm> #include "game.h" #include "player.h" #include "cube.h" #include "textrendering.h" #include "bomb.h" #include "bullet.h" #define FIXED_THIRD_PERSON_CAMERA Game::Game(app_settings* settings) { glClearColor(0, 0, 0, 0); wf_object_loader_t loader; // as stated in the spec, the height...
26.727564
151
0.54353
NX1125
411b62f216e68ade1a22793804d2cfb2eaef675b
30,349
cc
C++
support/strops.cc
gorlak/P4
fa25916ef69fa77887bb493800b6ce12be3f469e
[ "BSD-2-Clause" ]
null
null
null
support/strops.cc
gorlak/P4
fa25916ef69fa77887bb493800b6ce12be3f469e
[ "BSD-2-Clause" ]
null
null
null
support/strops.cc
gorlak/P4
fa25916ef69fa77887bb493800b6ce12be3f469e
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 1995, 1996 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * strings.cc - support for StrBuf, StrPtr */ # define CHARHASH(h, c) ( 293 * (h) + (c) ); # define NEED_QUOTE # include <stdhdrs.h> # include <charman.h> # include <c...
18.516779
80
0.469472
gorlak
411c1271c107c31bf0823b036b46fad178394606
2,833
cc
C++
spot/tests/core/tostring.cc
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
spot/tests/core/tostring.cc
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
null
null
null
spot/tests/core/tostring.cc
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2008, 2009, 2012, 2015, 2016 Laboratoire de Recherche // et Développement de l'Epita (LRDE). // Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6), // département Systèmes Répartis Coopératifs (SRC), Université Pierre // et Marie Curie. // // This file is part of S...
24.213675
72
0.507589
mcc-petrinets
411e2d9b298c266088f96e61e5f657debeb92e81
3,121
cc
C++
CodeChef/WF/Medium Hard/LOTERY/A.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
CodeChef/WF/Medium Hard/LOTERY/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
CodeChef/WF/Medium Hard/LOTERY/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it) #define _ ios_base::sync_with_s...
19.878981
118
0.521948
VastoLorde95
411fec6bb00572d72e8ddbbead952383ea18a1b5
5,456
cpp
C++
src/provider/local/src/movie/moviemetadatafetcher.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/provider/local/src/movie/moviemetadatafetcher.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/provider/local/src/movie/moviemetadatafetcher.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
/* * movieinfofetcher.cpp * * Created on: 4 Nov 2015 * Author: jimmypoms */ #include "moviemetadatafetcher.h" #include <qfile.h> #include <qglobal.h> #include <qiodevice.h> #include <qstring.h> #include <qurl.h> #include <qxmlstream.h> #include "couch/movie/moviemetadata.h" #include "couch/source.h" usin...
31.537572
96
0.629216
jimmypoms
41204d277c876bfce0bd5ad03b90ccbf0eb34943
2,435
cpp
C++
test/test-views/chain-request.cpp
amukha/fostgres
d908e80d6ebeafc456bae086dd397c216d59b001
[ "BSL-1.0" ]
17
2017-02-06T07:54:49.000Z
2019-07-20T03:55:15.000Z
test/test-views/chain-request.cpp
amukha/fostgres
d908e80d6ebeafc456bae086dd397c216d59b001
[ "BSL-1.0" ]
17
2017-06-01T08:51:26.000Z
2019-09-02T13:46:23.000Z
test/test-views/chain-request.cpp
amukha/fostgres
d908e80d6ebeafc456bae086dd397c216d59b001
[ "BSL-1.0" ]
6
2017-05-03T13:05:19.000Z
2019-08-06T11:34:41.000Z
/** Copyright 2020 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include <fost/http> #include <fost/ua/exceptions.hpp> #include <fost/urlhandler> namespace { const class chain_request : public fostlib::urlhan...
36.893939
80
0.540041
amukha
41210be229bacb8ae73157fc015e68dbc23b0b33
450
hpp
C++
GUI/GUI-extc.hpp
erurami/huffman-encoder
94278ddcda8611dfe65638f7905a3f349bcd4064
[ "MIT" ]
null
null
null
GUI/GUI-extc.hpp
erurami/huffman-encoder
94278ddcda8611dfe65638f7905a3f349bcd4064
[ "MIT" ]
null
null
null
GUI/GUI-extc.hpp
erurami/huffman-encoder
94278ddcda8611dfe65638f7905a3f349bcd4064
[ "MIT" ]
null
null
null
#ifndef _GUI_GUI_EXTC_HPP_ #define _GUI_GUI_EXTC_HPP_ #include <windows.h> #define EXTCPROG_WINDOW_WIDTH 400 #define EXTCPROG_WINDOW_HEIGHT 220 HINSTANCE _G_GUI_GUI_Extc_hpp_H_Instance; struct ExtractionInfos { LPTSTR strFrom; LPTSTR strTo; bool blKeepOriginal; long* npProgress; int * npEx...
14.516129
76
0.775556
erurami
41216132d55a5bd9a68982563e0f3b00ab9036e9
1,843
cpp
C++
BZOJ/4635/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4635/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/4635/std.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<cstdio> const int N=1001,M=7100,P=1000000007; int T,type,t,n,m,l,r,i,j; int f[N][N],s[N][N],G[N],V[M],NXT[M],mul[N],g[N],v[M],nxt[M],ed; int p[N],a[10000001],b[N],ans; inline void up(int&a,int b){a+=b;while(a>=P)a-=P;} inline int pow(int a,int b){int t=1;for(;b;b>>=1,a=1LL*a*a%P)if(b&1)t=1LL*t*a%P;return t;} i...
27.507463
90
0.45198
sjj118
412529ab284bbe64123f3e55276a236abadccb47
6,843
cpp
C++
event_handles/Sewing2dPatternEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
event_handles/Sewing2dPatternEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
event_handles/Sewing2dPatternEventHandle.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
#include <QEvent> #include <GL\glew.h> #include "Viewer2d.h" #include "Viewer3d.h" #include "cloth\clothManager.h" #include "cloth\clothPiece.h" #include "Renderable\ObjMesh.h" #include "cloth\graph\GraphsSewing.h" #include "../clothdesigner.h" #include "Sewing2dPatternEventHandle.h" Sewing2dPatternEventHandle::Sewing2...
28.160494
96
0.682595
dolphin-li
4127d200b32a30057857677b98275f949debbbc3
2,830
cpp
C++
QPandaSDK/QuantumCommandControl/QCloudCommandVector.cpp
ArrowYL/QPanda
cef733118cdf8c02676ad710851ad4169bd84b31
[ "Apache-2.0" ]
58
2018-07-16T11:09:17.000Z
2022-03-01T07:35:52.000Z
QPandaSDK/QuantumCommandControl/QCloudCommandVector.cpp
ArrowYL/QPanda
cef733118cdf8c02676ad710851ad4169bd84b31
[ "Apache-2.0" ]
1
2018-12-20T08:59:25.000Z
2018-12-20T08:59:25.000Z
QPandaSDK/QuantumCommandControl/QCloudCommandVector.cpp
ArrowYL/QPanda
cef733118cdf8c02676ad710851ad4169bd84b31
[ "Apache-2.0" ]
15
2018-07-17T02:55:48.000Z
2020-04-22T00:16:09.000Z
/****************************************************************************** Copyright (c) 2017-2018 Origin Quantum Computing Co., Ltd.. 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 co...
30.76087
115
0.572438
ArrowYL
412be1a18b70adcc658e3482d4770405496559af
10,320
cpp
C++
src/modules/rw_uart/rw_uart.cpp
yihangHKU/PX4_Firmware_yh
c47884f7665dd500b606b9ca0372d3e2ee9d907d
[ "BSD-3-Clause" ]
1
2019-12-25T07:07:34.000Z
2019-12-25T07:07:34.000Z
src/modules/rw_uart/rw_uart.cpp
yihangHKU/yihang
c47884f7665dd500b606b9ca0372d3e2ee9d907d
[ "BSD-3-Clause" ]
null
null
null
src/modules/rw_uart/rw_uart.cpp
yihangHKU/yihang
c47884f7665dd500b606b9ca0372d3e2ee9d907d
[ "BSD-3-Clause" ]
1
2022-01-26T16:01:22.000Z
2022-01-26T16:01:22.000Z
/* * 串口读取函数 * rw_uart.c */ #include <px4_posix.h> #include <px4_defines.h> #include <px4_config.h> #include <px4_tasks.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include <termios.h> #include <unistd.h> #include <stdbool.h> #include <errno.h> #include <drivers/drv_hrt.h> #include <poll.h> #includ...
32.149533
188
0.567733
yihangHKU
412c384ed1e2550d7af1b4696d2d61601be4d35d
8,549
cpp
C++
src/CourseUtil.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
9
2015-06-10T21:46:09.000Z
2021-04-22T20:47:31.000Z
src/CourseUtil.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
null
null
null
src/CourseUtil.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
5
2016-06-24T12:06:12.000Z
2021-08-14T17:33:28.000Z
#include "global.h" #include "CourseUtil.h" #include "Course.h" #include "RageTimer.h" #include "ProfileManager.h" #include "SongManager.h" #include "XmlFile.h" #include "GameState.h" #include "Style.h" // // Sorting stuff // static bool CompareCoursePointersByName(const Course* pCourse1, const Course* pCourse2) { /...
30.423488
173
0.740554
turion64guy
4135be1ac2368d429c59ae065be880bfb9da5919
1,469
cpp
C++
HolographicJS/Console.cpp
lwansbrough/HolographicJS
8e71dd890e587929e46fba25c9dcaa72748ba73f
[ "Apache-2.0" ]
120
2016-09-02T23:52:06.000Z
2020-02-27T05:25:53.000Z
HolographicJS/Console.cpp
lwansbrough/HolographicJS
8e71dd890e587929e46fba25c9dcaa72748ba73f
[ "Apache-2.0" ]
3
2016-10-15T01:18:03.000Z
2017-02-20T21:28:16.000Z
HolographicJS/Console.cpp
lwansbrough/HolographicJS
8e71dd890e587929e46fba25c9dcaa72748ba73f
[ "Apache-2.0" ]
7
2016-10-16T16:21:36.000Z
2019-09-26T07:51:44.000Z
#include "pch.h" #include "Console.h" #include "Binding.h" #include <assert.h> Console::Console() { } JsValueRef Console::prototype; JsValueRef CALLBACK Console::constructor(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState) { assert(isConstructCall); ...
25.77193
155
0.733152
lwansbrough
41397016e849101524e0069b27678cb78c6a0b83
816
hpp
C++
include/usagi/concepts/tuple/distinct.hpp
SachiSakurane/usagi
952a07d87ead0c7b5839648d0bde54213effde09
[ "BSL-1.0" ]
1
2021-07-24T17:45:16.000Z
2021-07-24T17:45:16.000Z
include/usagi/concepts/tuple/distinct.hpp
SachiSakurane/usagi
952a07d87ead0c7b5839648d0bde54213effde09
[ "BSL-1.0" ]
11
2021-11-09T06:38:47.000Z
2021-11-27T15:56:23.000Z
include/usagi/concepts/tuple/distinct.hpp
SachiSakurane/usagi
952a07d87ead0c7b5839648d0bde54213effde09
[ "BSL-1.0" ]
null
null
null
#pragma once #include <tuple> #include <utility> #include <usagi/tuple/erase.hpp> #include <usagi/tuple/front.hpp> #include <usagi/tuple/has.hpp> namespace usagi::concepts::tuple { namespace detail { template <class TupleType, size_t Size = std::tuple_size_v<TupleType>> class distinct_impl { using target = u...
26.322581
88
0.721814
SachiSakurane
413a23a5f2afa082e8d33c1c2c782771e470330f
1,148
cpp
C++
SiftEC/src/util/serializable_address_value_pair.cpp
zdx-alex/Sift
68647aebb1db23d879ca67e5e9cd54fda1f833d7
[ "Apache-2.0" ]
3
2020-04-20T20:12:01.000Z
2021-12-07T03:39:09.000Z
SiftEC/src/util/serializable_address_value_pair.cpp
zdx-alex/Sift
68647aebb1db23d879ca67e5e9cd54fda1f833d7
[ "Apache-2.0" ]
null
null
null
SiftEC/src/util/serializable_address_value_pair.cpp
zdx-alex/Sift
68647aebb1db23d879ca67e5e9cd54fda1f833d7
[ "Apache-2.0" ]
3
2020-11-15T01:23:23.000Z
2021-03-01T06:51:55.000Z
#include "include/util/serializable_address_value_pair.h" #include <cstring> #include <assert.h> SerializableAVPair::SerializableAVPair() {} SerializableAVPair::~SerializableAVPair() {} char* SerializableAVPair::serialize() { char* frame = new char[sizeof(AVPair)]; memcpy(frame, &value, sizeof(AVPair)); // c...
24.956522
72
0.735192
zdx-alex
413bb842cc773ed2dff9dab9af6c8ebf39e092a5
11,031
cc
C++
src/bitcoin/BitcoinUtils.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
null
null
null
src/bitcoin/BitcoinUtils.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
null
null
null
src/bitcoin/BitcoinUtils.cc
vpashka/btcpool
dab18b2bc90b3db2fb30698fc04e7e21a06acd11
[ "MIT" ]
1
2021-11-05T08:36:28.000Z
2021-11-05T08:36:28.000Z
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] 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, me...
31.60745
80
0.654519
vpashka
413eb05fc0d7d0e96a1b86e7b5bceb90e3b3f079
4,666
cpp
C++
modules/filters/src/smoothing/average.cpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
modules/filters/src/smoothing/average.cpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
modules/filters/src/smoothing/average.cpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Simon Vogl <svogl@voxel.at> Angel Merino-Sastre <amerino@voxel.at> 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/licen...
24.687831
82
0.623875
voxel-dot-at
413f3f27e5c9f76897708e6dc0809a96a106c978
696
cpp
C++
Src/EntityStorage.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
1
2018-07-30T10:51:23.000Z
2018-07-30T10:51:23.000Z
Src/EntityStorage.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
Src/EntityStorage.cpp
Condzi/Engine
10f6acdf33b24b8d0aab9efcec570821a73423a1
[ "MIT" ]
null
null
null
/* Conrad 'Condzi' Kubacki 2018 https://github.com/condzi */ #include "Engine/EnginePCH.hpp" #include "Engine/EntityStorage.hpp" #include <SFML/System/Clock.hpp> namespace con::priv { void EntityStorage::update() { if ( cleanupClock.getElapsedTime() >= CLEANUP_INTERVAL ) { cleanupClock.restart(); cleanup();...
17.846154
92
0.666667
Condzi
414109480f97f72793bb34a95ce9392a781c0ea8
801
cpp
C++
codeforces/cf616 div2/A.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
codeforces/cf616 div2/A.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
codeforces/cf616 div2/A.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> using namespace std; template<class ...
19.071429
67
0.566792
songhn233
41432ebf6921c49b130331274b6bd1d5e211e863
8,991
cpp
C++
examples/mgard-x/CompressXgcData/TestXGCAbsoluteError.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
examples/mgard-x/CompressXgcData/TestXGCAbsoluteError.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
examples/mgard-x/CompressXgcData/TestXGCAbsoluteError.cpp
JieyangChen7/MGARD
acec8facae1e2767a3adff2bb3c30f3477e69bdb
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021, Oak Ridge National Laboratory. * MGARD-X: MultiGrid Adaptive Reduction of Data Portable across GPUs and CPUs * Author: Jieyang Chen (chenj3@ornl.gov) * Date: April 2, 2021 */ #include <chrono> #include <cuda.h> #include <cuda_runtime_api.h> #include <fstream> #include <math.h> #include <mpi.h...
35.121094
80
0.592926
JieyangChen7
41474d27de1e30b6ef540ccf2ffc3a345c748405
10,962
cpp
C++
KDIS/DataTypes/LinearSegmentParameter.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
KDIS/DataTypes/LinearSegmentParameter.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
KDIS/DataTypes/LinearSegmentParameter.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************* Copyright 2013 Karl Jones All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above ...
31.5
124
0.479201
cdit-ma
414862b9dbd90ee656c9fdfe2c2bffd6df2013b6
746
cpp
C++
16790.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
16790.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
16790.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { int t; cin >> t; while (t--) { ll n; cin >> n; if (n % 4 == 0 && n % 6 == 0) { cout << n / 6 << " " << n / 4 << endl; } else if (n < 6) { if (n % 4 == 0) { cout << "1" ...
13.814815
54
0.290885
jnvshubham7
414b75f8c43cce60e5ea63b0cd22d03b196f1fa0
1,778
cpp
C++
2016/Day12/JSONAnalysis.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
2016/Day12/JSONAnalysis.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
2016/Day12/JSONAnalysis.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
#include "JSONAnalysis.hpp" #include <regex> std::regex number_regex("-?\\d+"); int get_sum_of_numbers(const std::string& input) { std::smatch match; int sum = 0; std::string reduced_input = input; while (std::regex_search(reduced_input, match, number_regex)) { int extracted_number = std::sto...
25.4
83
0.53937
marcuskrahl
414eab0e3202fa44efd2dbb1e20082a48190f367
589
cpp
C++
system/StageTwo.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
system/StageTwo.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
system/StageTwo.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
#include "StageTwo.h" ///runs all the functions of stage according to stageTwo parameters and requirements. StageTwo::StageTwo(Falcon* f) : Stage(f){ } bool StageTwo::staticFire(){ return falcon->getEngine()->test(); } void StageTwo::on(){ falcon->getEngine()->on(); } void StageTwo::off(){ falcon->getEn...
19.633333
85
0.657046
arulagrawal
a990b55a32bca41668116e24767449113cd671c5
601
hxx
C++
is_scalar.hxx
mojo-runtime/lib-std
35178964db5b51184f35447f33c379de9768b534
[ "MIT" ]
null
null
null
is_scalar.hxx
mojo-runtime/lib-std
35178964db5b51184f35447f33c379de9768b534
[ "MIT" ]
null
null
null
is_scalar.hxx
mojo-runtime/lib-std
35178964db5b51184f35447f33c379de9768b534
[ "MIT" ]
null
null
null
#pragma once #include "is_arithmetic.hxx" #include "is_enum.hxx" #include "is_member_pointer.hxx" #include "is_null_pointer.hxx" #include "is_pointer.hxx" #include "is_same.hxx" namespace std { template <typename T> struct is_scalar : integral_constant<bool, std::is_arithmetic<T>...
26.130435
67
0.475874
mojo-runtime
a99405149444514516d370fec6285fa324b8c334
2,363
cc
C++
coding/Reactor/v3/TCPConnection.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
coding/Reactor/v3/TCPConnection.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
coding/Reactor/v3/TCPConnection.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
#include "TCPConnection.hh" #include "EventLoop.hh" #include <sstream> using std::ostringstream; namespace wd { TCPConnection::TCPConnection(int fd, EventLoop *event) : _sock(Socket(fd)), _sockio(SocketIO(fd)), _localAddr(getLocalAddr(fd)), _peerAddr(getPeerAddr(fd)), _isShutdownWrite(fals...
22.292453
72
0.65256
snow-tyan
a997e3e1615ebe70661c294f3cc8e2239b83a4dd
18,695
cpp
C++
Calc/src/device_vkw.cpp
generalistr6/Radeon_Rays
d9e0a89d8e770c7fbd1e8c20761432b8ce93ecf7
[ "MIT" ]
null
null
null
Calc/src/device_vkw.cpp
generalistr6/Radeon_Rays
d9e0a89d8e770c7fbd1e8c20761432b8ce93ecf7
[ "MIT" ]
null
null
null
Calc/src/device_vkw.cpp
generalistr6/Radeon_Rays
d9e0a89d8e770c7fbd1e8c20761432b8ce93ecf7
[ "MIT" ]
null
null
null
#include "except_vk.h" #if defined(USE_VULKAN) #include <cassert> #include "misc/debug.h" #include "wrappers/device.h" #include "wrappers/shader_module.h" #include "wrappers/buffer.h" #include "wrappers/descriptor_set_group.h" #include "wrappers/command_pool.h" #include "wrappers/compute_pipeline_manager.h" #include "...
34.429098
153
0.58406
generalistr6
a99ad348afbb52eae1bad522a78bb3bc5a926217
788
cpp
C++
third_party/common/src/RE/NiAVObject.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
3
2018-04-05T04:04:17.000Z
2021-02-01T17:50:01.000Z
third_party/common/src/RE/NiAVObject.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
null
null
null
third_party/common/src/RE/NiAVObject.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
1
2021-02-01T17:50:03.000Z
2021-02-01T17:50:03.000Z
#include "RE/NiAVObject.h" #include "RE/Offsets.h" #include "REL/Relocation.h" namespace RE { void NiAVObject::UpdateModelHair(NiColorA** a_color) { using func_t = function_type_t<decltype(&NiAVObject::UpdateModelHair)>; REL::Offset<func_t*> func(Offset::NiAVObject::UpdateModelHair); return func(this, a_colo...
24.625
73
0.744924
qis
a99bfc42e52ec1502a3586f60e38578f54f0fd19
451
cpp
C++
ref/SerialTool-master/SerialTool/src/views/terminal/qvterminal/qvtchar.cpp
Azjhong/qt
98f26b097289e3a11b4ae606c880461b876eebb2
[ "MIT" ]
null
null
null
ref/SerialTool-master/SerialTool/src/views/terminal/qvterminal/qvtchar.cpp
Azjhong/qt
98f26b097289e3a11b4ae606c880461b876eebb2
[ "MIT" ]
null
null
null
ref/SerialTool-master/SerialTool/src/views/terminal/qvterminal/qvtchar.cpp
Azjhong/qt
98f26b097289e3a11b4ae606c880461b876eebb2
[ "MIT" ]
null
null
null
#include "qvtchar.h" QVTChar::QVTChar() { m_char = QChar(); } QVTChar::QVTChar(QChar c, const QVTCharFormat &format) { m_char = c; m_background = format.background(); m_foreground = format.foreground(); } QChar QVTChar::c() const { return m_char; } void QVTChar::setC(QChar c) { m_char = c; }...
13.264706
54
0.658537
Azjhong
a99d63a5cdc85bd5904e86268ce69ef64e31b706
794
cpp
C++
src/EExceptionMonitor.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
7
2016-08-25T14:22:36.000Z
2020-05-25T17:27:51.000Z
src/EExceptionMonitor.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
1
2018-07-11T12:37:55.000Z
2018-07-12T00:05:33.000Z
src/EExceptionMonitor.cpp
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
2
2017-06-09T01:22:36.000Z
2021-09-29T16:27:58.000Z
/* * EExceptionMonitor.cpp * * Created on: 2015-12-28 * Author: cxxjava@163.com */ #include "../inc/EExceptionMonitor.hh" #include "../inc/EDefaultExceptionMonitor.hh" namespace efc { namespace eio { EExceptionMonitor* EExceptionMonitor::instance = null; DEFINE_STATIC_INITZZ_BEGIN(EExceptionMonitor) ESys...
18.904762
65
0.744332
developkits
a99fa9d2dbedeef58d0aafbc070a00004912be4c
237
cpp
C++
test/test_config.cpp
yangfly/FaceApi
a7c217d8bc05224a79593d8c5c664bab4adc821c
[ "MIT" ]
null
null
null
test/test_config.cpp
yangfly/FaceApi
a7c217d8bc05224a79593d8c5c664bab4adc821c
[ "MIT" ]
null
null
null
test/test_config.cpp
yangfly/FaceApi
a7c217d8bc05224a79593d8c5c664bab4adc821c
[ "MIT" ]
null
null
null
#include "config.hpp" using namespace std; using namespace ocean_ai; int main() { try { Config config("config.json"); int a = 5; } catch (const std::invalid_argument& ex) { cout << "exception: " << ex.what(); } return 0; }
14.8125
42
0.628692
yangfly
a9a3a58302bc727d64e0c96f63bdaced213d6497
1,571
cc
C++
libs/time/legacy-test-date-stamp.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/time/legacy-test-date-stamp.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/time/legacy-test-date-stamp.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::Time: test-stamp.cc // // Test harness for time library - reading and converting durations // // Copyright (c) 2005 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //========...
29.092593
76
0.460216
sandtreader
a9a3aee61896fbd27bfe3e26f9043970a1ce5ae3
1,806
cpp
C++
libs/oef-base/src/comms/Listener.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1
2019-09-30T12:22:46.000Z
2019-09-30T12:22:46.000Z
libs/oef-base/src/comms/Listener.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
null
null
null
libs/oef-base/src/comms/Listener.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1
2019-12-06T10:02:35.000Z
2019-12-06T10:02:35.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2020 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 License at // // ...
30.1
88
0.629014
chr15murray
a9a6531c61c9b4b0b7a146cda2efe541ccda6cd6
1,286
cpp
C++
src/kenobet.cpp
iurylamonie/keno
b6dd28a7a36037ac5ea606d1ba77abd0d400ad6c
[ "MIT" ]
null
null
null
src/kenobet.cpp
iurylamonie/keno
b6dd28a7a36037ac5ea606d1ba77abd0d400ad6c
[ "MIT" ]
null
null
null
src/kenobet.cpp
iurylamonie/keno
b6dd28a7a36037ac5ea606d1ba77abd0d400ad6c
[ "MIT" ]
null
null
null
#include "kenobet.h" bool KenoBet::add_number( number_type spot_ ) { if( spot_ >= 1 and spot_ <= 80) { if( m_spots.size() ) ///< Verifica se já foi salvo algum spot do jogador. { auto rbsearch = std::binary_search( m_spots.begin(), m_spots.end(), spot_ ); if( !rbsearch ) ///< Caso o spot não exista em m_...
22.561404
96
0.664852
iurylamonie
a9a9138a72b45826f20291e2c911ae60c60f41f8
4,579
cpp
C++
src/sa-bsn/target_system/components/component/src/Sensor.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
8
2020-01-26T15:26:27.000Z
2022-01-05T15:38:07.000Z
src/sa-bsn/target_system/components/component/src/Sensor.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
50
2019-08-29T23:52:43.000Z
2021-01-24T19:09:54.000Z
src/sa-bsn/target_system/components/component/src/Sensor.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
4
2019-06-15T17:23:57.000Z
2020-10-16T20:09:41.000Z
#include "component/Sensor.hpp" Sensor::Sensor(int &argc, char **argv, const std::string &name, const std::string &type, const bool &active, const double &noise_factor, const bsn::resource::Battery &battery, const bool &instant_recharge) : Component(argc, argv, name), type(type), active(active), buffer_size(1), replic...
29.165605
397
0.590304
gabrielevi10
a9a9809d4b02025eb25c5f05d3cd79f34999512b
903
cpp
C++
Day 1-9/Day 2/Q1.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
30
2021-05-27T14:11:33.000Z
2021-08-02T17:51:02.000Z
Day 1-9/Day 2/Q1.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
null
null
null
Day 1-9/Day 2/Q1.cpp
getoxdev/SDE_Interview_Problems
d9203a22ed295b7a5e8ee45f236281c95975e23f
[ "MIT" ]
9
2021-06-02T09:21:04.000Z
2021-07-21T15:05:07.000Z
#include<bits/stdc++.h> #define boost ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define ll long long #define R 1000 #define C 1000 #define deb(x) cout << #x << "=" << x << endl using namespace std; //Set matrix zeroes int main() { boost; int r,c; cin>>r>>c; int m[r][c]; for(int i=0;...
17.037736
66
0.378738
getoxdev
a9aa53a9b142cb0f6b8b7c6c79a7225c1feb3b20
3,688
cpp
C++
Codeforces Round #781 (Div. 2)/E.cpp
frederickpek/codeforces
04d6801583ea5901df6bf63fc6f0c092b9b02136
[ "MIT" ]
null
null
null
Codeforces Round #781 (Div. 2)/E.cpp
frederickpek/codeforces
04d6801583ea5901df6bf63fc6f0c092b9b02136
[ "MIT" ]
null
null
null
Codeforces Round #781 (Div. 2)/E.cpp
frederickpek/codeforces
04d6801583ea5901df6bf63fc6f0c092b9b02136
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) typedef vector<int> vi; class SegmentTree { // OOP style private: int n; // n = (int)A.size() vi A, st, lazy; // the arr...
26.919708
74
0.404826
frederickpek
a9ab6ace81a22116b07aa9ddf94f0c06789aa42c
19,394
cpp
C++
test/oxtra/encoding/encoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
9
2019-10-22T19:44:25.000Z
2021-05-02T17:47:14.000Z
test/oxtra/encoding/encoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
1
2020-11-16T20:06:14.000Z
2020-11-16T20:06:14.000Z
test/oxtra/encoding/encoding_test.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
2
2020-11-16T17:05:47.000Z
2021-05-02T17:47:16.000Z
#include "../../catch2/catch.hpp" #include "oxtra/codegen/encoding/encoding.h" #include <stdlib.h> #include <string.h> using namespace encoding; void refactor(const char *assembly, utils::riscv_instruction_t encoded) { char assembly_[100] = {0}; strcat(assembly_, ".section .text\n.global _start\n\n_start:\n\t"); s...
33.670139
155
0.714087
oxtra
a9ab6af87adce41a19d46985ce2361e13b03ec66
272
cpp
C++
test/special.cpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
test/special.cpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
test/special.cpp
DarthPigrum/TypeSI
3505cad5113c1c6c907c48b3bd71e24e9ddb32bc
[ "BSL-1.0" ]
null
null
null
#include "si_base.hpp" #include "si_prefix.hpp" #include "si_special.hpp" #include <gtest/gtest.h> TEST(SpecialUnits, Gram) { EXPECT_EQ(typeid(Si::Prefix<std::milli, Si::Special::Gram<double>>), typeid(Si::Prefix<std::micro, Si::Base::Kilogram<double>>)); }
30.222222
72
0.683824
DarthPigrum
a9ad58da5829d2f16fcc1b28726e9bf8034af167
2,079
h++
C++
include/ogonek/normalization/normalize.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
25
2016-10-21T12:37:23.000Z
2021-02-22T05:46:46.000Z
include/ogonek/normalization/normalize.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
null
null
null
include/ogonek/normalization/normalize.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
4
2016-09-05T10:23:18.000Z
2020-07-09T19:37:37.000Z
// Ogonek // // Written in 2012-2013 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without any warranty. // // ...
40.764706
131
0.733045
libogonek
a9b0206a44fd1fdf0d17e1f2771c9f40dfe9bc91
2,164
hpp
C++
include/flecs/addons/cpp/module.hpp
logankaser/flecs
6638a030604542835908463feabbe621c58b057a
[ "MIT" ]
2
2021-09-09T13:20:15.000Z
2021-09-09T20:23:25.000Z
include/flecs/addons/cpp/module.hpp
NrdyBhu1/flecs
b6a36158ba42f23638c370d5f38aa55774987a65
[ "MIT" ]
null
null
null
include/flecs/addons/cpp/module.hpp
NrdyBhu1/flecs
b6a36158ba42f23638c370d5f38aa55774987a65
[ "MIT" ]
null
null
null
namespace flecs { //////////////////////////////////////////////////////////////////////////////// //// Define a module //////////////////////////////////////////////////////////////////////////////// template <typename T> flecs::entity module(const flecs::world& world) { flecs::entity result = world.id<T>().en...
28.473684
80
0.538355
logankaser
a9b5acd464cf204b0c13947d12ec1c9d8f1951f0
773
cpp
C++
solutions/1005/20101031T152007Z-3278259.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
11
2019-10-29T15:34:53.000Z
2022-03-14T14:45:09.000Z
solutions/1005/20101031T152007Z-3278259.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
null
null
null
solutions/1005/20101031T152007Z-3278259.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
6
2018-06-30T12:06:55.000Z
2021-03-20T08:46:33.000Z
#include <iostream> #include <cmath> #include <vector> #include <algorithm> using namespace std; int comb(int n, int k, int sum, int array[]) { vector<int> mask(k, 0); mask.resize(n, 1); int min=sum; do { int x=0; for (int i=0; i < mask.size(); i++){ if (!mask[i]) { x+=array[i]; } ...
17.177778
55
0.50194
Mistereo
a9c315adcd8c274980e63fa2c2249545ad7c537f
824
cpp
C++
index.cpp
advanced-programmming/plusminus-cpp
1c2bc335cdaeb7e480b0ded8c34aef9278556c60
[ "MIT" ]
null
null
null
index.cpp
advanced-programmming/plusminus-cpp
1c2bc335cdaeb7e480b0ded8c34aef9278556c60
[ "MIT" ]
null
null
null
index.cpp
advanced-programmming/plusminus-cpp
1c2bc335cdaeb7e480b0ded8c34aef9278556c60
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include <iomanip> using namespace std; void plusMinus(vector<int> array); int main() { int arraysize = 0; cin>>arraysize; vector<int> array; int number = 0; for(int i = 0; i < arraysize; i++){ cin>>number; array.push_back(number); } p...
17.913043
66
0.510922
advanced-programmming
a9c82ad487d78846a9f4c73d61634745f58f30ec
1,302
hpp
C++
poc/tstins4/devlogger.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
3
2020-05-08T04:37:48.000Z
2021-01-31T15:57:15.000Z
poc/tstins4/devlogger.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
1
2020-11-22T18:24:12.000Z
2020-11-22T18:24:12.000Z
poc/tstins4/devlogger.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
2
2019-12-04T05:43:51.000Z
2019-12-04T07:57:31.000Z
#pragma once __device__ void __store_op(const void* address, unsigned char op) { unsigned int active = __ballot(1); unsigned int myidx = threadIdx.x % WARP_SIZE; unsigned int ldridx = __ffs(active) - 1; int pos = 0; const int tbid = (blockIdx.x + pcqnum - 1) % pcqnum; const int size = pcqbuffe...
34.263158
159
0.61828
upenn-acg
a9cb087bbf07db62ca7ce4c4dd0807595d7cd505
860
cpp
C++
stream/src/main.cpp
IamWangYunKai/BallDetection
71671f40d451eae174efad944fb324b1cd9ec89e
[ "MIT" ]
null
null
null
stream/src/main.cpp
IamWangYunKai/BallDetection
71671f40d451eae174efad944fb324b1cd9ec89e
[ "MIT" ]
null
null
null
stream/src/main.cpp
IamWangYunKai/BallDetection
71671f40d451eae174efad944fb324b1cd9ec89e
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <chrono> #include <mutex> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" using namespace cv; using namespace std; mutex mtx; template <typename T> void change(T *p, T *q){ T tmp; tmp = *p; *p = *q; *q = tmp; } void get_video(VideoCap...
17.916667
66
0.666279
IamWangYunKai
a9cbc05d053b377e197edc8677b483ea8bcaf06c
712
hpp
C++
engine/screens/include/TextDisplayScreen.hpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/screens/include/TextDisplayScreen.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/screens/include/TextDisplayScreen.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#pragma once #include <deque> #include "Screen.hpp" #include "Colours.hpp" #include "Symbol.hpp" // A generic screen that can be used to display text (help files, etc). class TextDisplayScreen : public Screen { public: TextDisplayScreen(DisplayPtr display, const std::string& new_title_text_sid, const std::vector...
33.904762
211
0.744382
prolog
a9cd520ee0f9d54cdb0c0853ac14a396e06d4197
1,310
cpp
C++
src/augmented_account.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
4
2016-07-05T07:42:07.000Z
2020-07-15T15:27:22.000Z
src/augmented_account.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
1
2020-05-07T20:58:21.000Z
2020-05-07T20:58:21.000Z
src/augmented_account.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Matthew Harvey * * 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...
26.2
75
0.755725
skybaboon
a9d37e111b99e5c184a9e00de1cd74f8027ea8c4
1,646
cpp
C++
src/pca9685.cpp
ruwix/balance-bot
6493f0ae5ed150c4a57f651205ac9fe4883f14d8
[ "MIT" ]
null
null
null
src/pca9685.cpp
ruwix/balance-bot
6493f0ae5ed150c4a57f651205ac9fe4883f14d8
[ "MIT" ]
null
null
null
src/pca9685.cpp
ruwix/balance-bot
6493f0ae5ed150c4a57f651205ac9fe4883f14d8
[ "MIT" ]
null
null
null
#include <iostream> #include <array> #include <algorithm> #include "pca9685.hpp" #include "i2c.hpp" PCA9685::PCA9685(I2C i2c, float freq) : i2c(i2c) { i2c.enable(PCA9685_ADDRESS); if (freq > 0) { setPWMFreq(freq); } } void PCA9685::setPWMFreq(int freq) { freq = (freq > 1000 ? 1000 : (freq ...
21.102564
61
0.583232
ruwix
a9d7e38ace670c0b6a49bdce99453de78e4ab36c
651
cpp
C++
domains/dubins_traffic/dubins_traffic_utils/examples/standalone/helloroadnet.cpp
fmrchallenge/fmrbenchmark
529520a2b254f7da366b681983182c9e25555b6c
[ "Apache-2.0" ]
14
2015-05-28T22:52:43.000Z
2021-07-08T00:21:12.000Z
domains/dubins_traffic/dubins_traffic_utils/examples/standalone/helloroadnet.cpp
fmrchallenge/fmrbenchmark
529520a2b254f7da366b681983182c9e25555b6c
[ "Apache-2.0" ]
15
2016-02-07T20:57:09.000Z
2021-04-30T23:42:06.000Z
domains/dubins_traffic/dubins_traffic_utils/examples/standalone/helloroadnet.cpp
fmrchallenge/fmrbenchmark
529520a2b254f7da366b681983182c9e25555b6c
[ "Apache-2.0" ]
5
2015-12-28T20:53:26.000Z
2018-03-08T23:30:44.000Z
#include <iostream> #include <vector> #include <Eigen/Dense> #include "roadnet.hpp" using namespace dubins_traffic; int main() { Eigen::Vector3d transform( 1.0, 0.0, 1.6 ); dubins_traffic::RoadNetwork rd( 2.0, transform, 2, 3 ); std::cout << rd << std::endl; double x, y; rd.map_point( 0, 0, x, ...
23.25
71
0.526882
fmrchallenge
a9ecc8748c324e9c8291f8ad83ff9298ec37d0c5
909
cpp
C++
_includes/leet098/leet098.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet098/leet098.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet098/leet098.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: bool isValidBST(TreeNode* root) { if(root==NULL) return true; return dfs(root,N...
28.40625
90
0.525853
mingdaz
a9efe0aa88184dfd39d89090d594d5170326eb8a
4,587
cpp
C++
cpp/godot-cpp/src/gen/XMLParser.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/XMLParser.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/XMLParser.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "XMLParser.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" namespace godot { XMLParser::___method_bindings XMLParser::___mb = {}; void XMLParser::___init_method_bindings() { ___mb.mb_get_attribute_count = go...
41.324324
199
0.792893
GDNative-Gradle
a9f01dd4df43db2f233e44740bfc1831c5075455
1,721
cpp
C++
jetson/carControl/src/0.3/lane_detection/test_lane_detection.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2017-12-19T15:53:55.000Z
2017-12-19T15:53:55.000Z
jetson/carControl/src/0.3/lane_detection/test_lane_detection.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
null
null
null
jetson/carControl/src/0.3/lane_detection/test_lane_detection.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2019-11-27T03:01:55.000Z
2019-11-27T03:01:55.000Z
#include "api_lane_detection.h" int main( int argc, char** argv ) { string videoFileName = argv[1]; cout<< "Opening File: "<< videoFileName << endl<< flush; cv::VideoCapture video; bool isOpenVideo = video.open(videoFileName); // bool isOpenVideo = video.open(0); if(!isOpenVideo) { ...
18.912088
72
0.499709
thanhwins
a9f2a679802d39255e1bacc8f9e646ee877f068c
2,414
cpp
C++
src/main.cpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
277
2021-11-19T20:15:18.000Z
2022-03-29T12:07:59.000Z
src/main.cpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
46
2021-11-21T10:25:58.000Z
2022-03-23T15:04:51.000Z
src/main.cpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
28
2021-12-07T02:49:16.000Z
2022-03-22T05:26:07.000Z
/* Hypr Window Manager for X. Started by Vaxry on 2021 / 11 / 17 */ #include <fstream> #include "windowManager.hpp" #include "defines.hpp" #include "bar/Bar.hpp" int main(int argc, char** argv) { clearLogs(); Debug::log(LOG, "Hypr debug log. Built on " + std::string(__DATE__) + " at " + std::string(__TIME_...
29.439024
139
0.634217
imaphatduc
a9f2ecfc32c59cb23b5c6943dfe31f41336965b9
43,049
cpp
C++
ecl/hqlcpp/hqlcatom.cpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
ecl/hqlcpp/hqlcatom.cpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
ecl/hqlcpp/hqlcatom.cpp
oxhead/HPCC-Platform
62e092695542a9bbea1bb3672f0d1ff572666cfc
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
28.795318
117
0.755349
oxhead
a9f7d5e11d48d70389957fad91cbb5fd9232ac89
3,694
cpp
C++
MathOperationsOnImage/src/main.cpp
blongho/CV1
896f35850e962f148665f0426184bd9cc87aed5d
[ "MIT" ]
null
null
null
MathOperationsOnImage/src/main.cpp
blongho/CV1
896f35850e962f148665f0426184bd9cc87aed5d
[ "MIT" ]
null
null
null
MathOperationsOnImage/src/main.cpp
blongho/CV1
896f35850e962f148665f0426184bd9cc87aed5d
[ "MIT" ]
1
2020-06-14T03:48:33.000Z
2020-06-14T03:48:33.000Z
#include "Base.h" #include "ContrastAndBrightness.h" int main(int argc, char** argv) { try { const std::string path = "../../images/messi5.jpg"; //Mat image = imread(path); //const double scalingFactor = 1 / 255.0; //const double shift = 0; //Mat contrastHigh = image.clone(); //Mat bright = image.clone(...
30.528926
105
0.643476
blongho
a9f9f7f843fcbc42803d6ec66652c56f0ac6f405
2,986
cpp
C++
src/gl_engine/mesh/Cube.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
5
2020-03-26T11:55:55.000Z
2021-07-30T04:14:21.000Z
src/gl_engine/mesh/Cube.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
3
2020-12-05T06:02:07.000Z
2021-06-02T03:42:34.000Z
src/gl_engine/mesh/Cube.cpp
russkev/opengl
73417d1697d1964cfa001efc8e54eb90da95ed6e
[ "MIT" ]
null
null
null
#include "pch.h" #include "Cube.h" #include "Vertex.h" namespace glen { // // ----- MAIN ----- // // Mesh Cube::create_cube() { return create_cube(1.0f, true); } Mesh Cube::create_cube(const float width, const bool is_default) { float half_width = is_default ? 1.0f : width / 2.0f; Mesh newCube; Mesh ...
26.660714
116
0.645345
russkev
a9fa7114f5f45ab15f9589d93bf21bd1c796c0c2
1,312
cpp
C++
aws-cpp-sdk-rum/source/model/CwLog.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-rum/source/model/CwLog.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-rum/source/model/CwLog.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rum/model/CwLog.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace CloudWatc...
17.038961
69
0.71189
perfectrecall
a9fead9c26abc93cea21bb343f1a4dcadae253c6
6,905
hh
C++
src/include/simeng/Instruction.hh
viper12590/SimEng
e9fc4d24a8823e553e042c60801aa0a0e3f077ca
[ "Apache-2.0" ]
null
null
null
src/include/simeng/Instruction.hh
viper12590/SimEng
e9fc4d24a8823e553e042c60801aa0a0e3f077ca
[ "Apache-2.0" ]
null
null
null
src/include/simeng/Instruction.hh
viper12590/SimEng
e9fc4d24a8823e553e042c60801aa0a0e3f077ca
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include "simeng/MemoryInterface.hh" #include "simeng/RegisterFileSet.hh" #include "simeng/RegisterValue.hh" #include "simeng/span.hh" using InstructionException = short; namespace simeng { /** A branch result prediction for an instruction. */ struct BranchPrediction { /** Whether ...
31.386364
79
0.711803
viper12590
e7024cb4383ac67965b02c31bee80e74a252b898
1,566
cpp
C++
Practice/2018/2018.8.24/CF125E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.8.24/CF125E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.8.24/CF125E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=5010; const int maxM=101000; const int inf=2147483647; class Edge { public: int u,v,w,opt,id; }; int n,m,K; Edge E[maxM];...
17.595506
49
0.533206
SYCstudio
e704f172c737d318b95b35f2e45a420ff85c289d
3,216
cpp
C++
tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.714286
147
0.711443
suluner
e70a50eb5052450210d868af25091fb9f527d5eb
1,410
cpp
C++
server/homeserver/home/DeviceUtils.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
1
2021-07-05T21:11:59.000Z
2021-07-05T21:11:59.000Z
server/homeserver/home/DeviceUtils.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
server/homeserver/home/DeviceUtils.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
#include "Device.hpp" #include "Home.hpp" namespace server { //! Timer Device::Timer::Timer(Ref<Device> device, home::TimerCallback<home::Device>* callback) : device(device), timer(*Home::GetInstance()->GetService()), callback(callback) { } Device::Timer::~Timer() { } void Device::Timer::TimerCallback(const...
24.310345
130
0.685106
williamkoehler
e70b21ab88fc6062aa6e86fe704ee55178ba29de
2,066
hpp
C++
water/types/tests/link.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
5
2017-04-18T18:18:50.000Z
2018-08-03T09:13:26.000Z
water/types/tests/link.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
water/types/tests/link.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
// Copyright 2017 Johan Paulsson // This file is part of the Water C++ Library. It is licensed under the MIT License. // See the license.txt file in this distribution or https://watercpp.com/license.txt //\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_ #ifndef WATER_TYPES_TESTS_LINK_...
36.892857
115
0.590513
watercpp
e70d0258066a2afdc4b617efbb9e432ddf0caf6e
8,886
cpp
C++
ngraph/test/backend/cum_sum.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
ngraph/test/backend/cum_sum.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
ngraph/test/backend/cum_sum.in.cpp
artyomtugaryov/openvino
f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 Intel 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://w...
42.113744
99
0.57765
artyomtugaryov
e70f25b3d81e2fe22aff074de79b3771aa004cac
808
cpp
C++
netflix.cpp
deepanshu1422/450Questions
614a6bcb66f3202a62c375c0c0a63365e1021110
[ "Apache-2.0" ]
null
null
null
netflix.cpp
deepanshu1422/450Questions
614a6bcb66f3202a62c375c0c0a63365e1021110
[ "Apache-2.0" ]
null
null
null
netflix.cpp
deepanshu1422/450Questions
614a6bcb66f3202a62c375c0c0a63365e1021110
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; void breakinto(string s) { int space=0; int counter=0; for(int i=0;i<s.size()-1;i++) { if(s.at(i)==' ') { space=i; } counter++; if(counter%140>0) { if(s[i]!=' ') { ...
25.25
386
0.565594
deepanshu1422
e71069da049c846a9d1b53fc14b2f3fe638f1a4f
519
cpp
C++
pismeni/2016-april/4b.cpp
Dunsteer/paralelni-sistemi
776193d457457c438cd5ba7ef17a54969450477c
[ "MIT" ]
1
2021-08-22T17:14:49.000Z
2021-08-22T17:14:49.000Z
pismeni/2016-april/4b.cpp
Dunsteer/paralelni-sistemi
776193d457457c438cd5ba7ef17a54969450477c
[ "MIT" ]
null
null
null
pismeni/2016-april/4b.cpp
Dunsteer/paralelni-sistemi
776193d457457c438cd5ba7ef17a54969450477c
[ "MIT" ]
1
2021-08-31T19:34:46.000Z
2021-08-31T19:34:46.000Z
#include <omp.h> #include <stdio.h> #include <stdlib.h> #define N 6 int main() { int m = 4; int a[N]; int j; a[0] = m; int c = m; #pragma omp parallel for reduction(+:m) for (j = 0; j < N; j++) { a[j] = c + ((j - 1) * j) / 2; m += j; printf("Running\n"); } ...
16.21875
45
0.400771
Dunsteer
e710f10d3def65703d22659465097c9f659cc254
268
cpp
C++
old/AtCoder/abc099/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/AtCoder/abc099/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/AtCoder/abc099/C.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "vector.hpp" int main() { int n; cin >> n; vector<int> dp(n + 1); iota(dp, 0); for (int i = 0; i < n; ++i) { for (int k : {6, 9}) { for (int j = k; i + j <= n; j *= k) chmin(dp[i + j], dp[i] + 1); } } cout << dp.back() << endl; }
17.866667
70
0.414179
not522
e712756781999469607a95047870411336ad9228
2,727
cpp
C++
ProceduralMesh/MyActor.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
531
2016-10-19T14:04:55.000Z
2022-03-28T06:34:25.000Z
ProceduralMesh/MyActor.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
null
null
null
ProceduralMesh/MyActor.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
172
2016-10-18T14:53:11.000Z
2022-03-22T10:39:44.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "MyActor.h" // Sets default values AMyActor::AMyActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true; CustomMesh = C...
26.475728
154
0.693803
devilmhzx
e713952134a02313c3046472b135e0275d6ab776
4,053
cpp
C++
Connections/MSPBSL_ConnectionFRAMFamily.cpp
KirillSmirnov/trik-mspbsl-library
ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0
[ "BSD-3-Clause" ]
1
2015-11-29T18:33:02.000Z
2015-11-29T18:33:02.000Z
Connections/MSPBSL_ConnectionFRAMFamily.cpp
KirillSmirnov/trik-mspbsl-library
ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0
[ "BSD-3-Clause" ]
null
null
null
Connections/MSPBSL_ConnectionFRAMFamily.cpp
KirillSmirnov/trik-mspbsl-library
ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0
[ "BSD-3-Clause" ]
1
2015-11-29T18:33:13.000Z
2015-11-29T18:33:13.000Z
/* * MSPBSL_ConnectionFRAMFamily * * A subclass to add FRAM specific connection functions * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
39.349515
120
0.64224
KirillSmirnov
e715b9f40aea2d6f5274f66a1977e0506ec75303
2,172
cpp
C++
VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp
cuongquay/led-matrix-display
6dd0e3be9ee23862610dab7b0d40970c6900e5e4
[ "Apache-2.0" ]
null
null
null
VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp
cuongquay/led-matrix-display
6dd0e3be9ee23862610dab7b0d40970c6900e5e4
[ "Apache-2.0" ]
null
null
null
VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp
cuongquay/led-matrix-display
6dd0e3be9ee23862610dab7b0d40970c6900e5e4
[ "Apache-2.0" ]
1
2020-06-13T08:34:26.000Z
2020-06-13T08:34:26.000Z
// EthernetPort.cpp : implementation file // #include "stdafx.h" #include "DigiLED.h" #include "EthernetPort.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CEthernetPort ...
26.814815
129
0.587017
cuongquay
e7194a93396469de665e89f31dff41caaf4acb9e
3,285
cxx
C++
Testing/Code/Adapter/TestImageToVtk.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Testing/Code/Adapter/TestImageToVtk.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Testing/Code/Adapter/TestImageToVtk.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
/*========================================================================= * * Program: IaFeMesh * Module: $RCSfile: TestImageToVtk.cxx,v $ * Language: C++ * Date: $Date: 2012/12/07 19:08:59 $ * Version: $Revision: 1.1.1.1 $ * * Copyright (c) Nicole Grosland. All rights reserved. * *...
24.699248
77
0.567123
Piyusha23
e71a80ed3166f9665841a0b43c1c65ee2919c8e1
2,304
cpp
C++
dlgSine.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
12
2019-06-07T10:06:41.000Z
2021-03-22T22:13:59.000Z
dlgSine.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
1
2019-05-09T07:38:12.000Z
2019-07-10T04:20:55.000Z
dlgSine.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
3
2020-09-08T08:27:33.000Z
2021-05-13T09:25:43.000Z
// dlgsine.cpp : implementation file // #include "stdafx.h" #include "audtest.h" #include "zFormEdt.h" #include "dlgsine.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgSine property page IM...
22.153846
77
0.684462
RDamman
e7223fbe5999705582cc48031e4be3ffac9a09ac
1,834
cc
C++
tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc
epfl-vlsc/persona-system
2aad40d908ae63239f5d546a56264922a55b99fc
[ "Apache-2.0" ]
6
2017-08-07T14:05:41.000Z
2020-02-28T03:57:56.000Z
tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc
epfl-vlsc/persona-system
2aad40d908ae63239f5d546a56264922a55b99fc
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc
epfl-vlsc/persona-system
2aad40d908ae63239f5d546a56264922a55b99fc
[ "Apache-2.0" ]
null
null
null
#include "fastq_chunker.h" namespace tensorflow { using namespace std; // note: copies the shared ptr and any custom deleter (which we'll use) FastqChunker::FastqChunker(shared_ptr<FastqResource::FileResource> &data, const size_t chunk_size) : data_(data), chunk_size_(chunk_size) { auto *file_data = dat...
29.111111
106
0.650491
epfl-vlsc
e7233b1f3f597976f7a05aa974c24e2cdc0102c9
1,819
cpp
C++
examples/controller/src/LogWindowGUI.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
examples/controller/src/LogWindowGUI.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
examples/controller/src/LogWindowGUI.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2019 ETC Inc. * * 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/l...
31.362069
119
0.641561
RichardTea
e7243d030658f9cc9b1e9f66f18f3c6bb920e37b
109
cpp
C++
modules/features/src/local_estimator.cpp
byiii/clone_v4r_j
628359c7ba19389004618defd6a8d8ab5af35967
[ "MIT" ]
null
null
null
modules/features/src/local_estimator.cpp
byiii/clone_v4r_j
628359c7ba19389004618defd6a8d8ab5af35967
[ "MIT" ]
null
null
null
modules/features/src/local_estimator.cpp
byiii/clone_v4r_j
628359c7ba19389004618defd6a8d8ab5af35967
[ "MIT" ]
null
null
null
#include <v4r/features/local_estimator.h> template class V4R_EXPORTS v4r::LocalEstimator<pcl::PointXYZ>;
27.25
63
0.788991
byiii
e7260fdb6792992dc5ddb223f1032f469c155c23
15,580
cxx
C++
src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 1998-2005, OFFIS * * This software and supporting documentation were developed by * * Kuratorium OFFIS e.V. * Healthcare Information and Communication Systems * Escherweg 2 * D-26121 Oldenburg, Germany * * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA...
32.869198
166
0.670924
OpenXIP
e729445ee0c175f4bb6c3f16b971109baa550fcc
464
cpp
C++
Jubin/week1/boj-10818.cpp
lee20h/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
1
2020-08-02T14:30:03.000Z
2020-08-02T14:30:03.000Z
Jubin/week1/boj-10818.cpp
alps-jbnu/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
null
null
null
Jubin/week1/boj-10818.cpp
alps-jbnu/ALPS_2020_Summer_Study
3656d5c6ab44f7f43c1f8c691e75352495c76adc
[ "Apache-2.0" ]
2
2020-07-09T14:53:29.000Z
2020-07-17T10:39:00.000Z
#include <stack> #include <iostream> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); stack<int> nums; stack<int> mins; stack<int> maxs; int N; cin >> N; while (N--) { int x; cin >> x; nums.push(x); if (mins.empty() || x < mins.top()) { ...
12.888889
42
0.484914
lee20h
e72a949288cd328f3d49ae73cb19126ecc1c38c3
1,125
hpp
C++
include/systems/DebugSystem.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
7
2015-05-30T13:56:34.000Z
2017-11-04T17:58:26.000Z
include/systems/DebugSystem.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
null
null
null
include/systems/DebugSystem.hpp
zanshi/transcension3d
304374e83d709d73358d225567676ad7048509e6
[ "MIT" ]
null
null
null
// // Created by Benjamin Wiberg on 2015-04-10. // #pragma once #include <entityx/entityx.h> #include "glm/glm.hpp" #include "events/RenderEvent.hpp" #include "events/MovementEvent.hpp" #include "events/ViewChangedEvent.hpp" namespace ex = entityx; namespace sw { class DebugSystem : public ex::System<DebugS...
24.456522
90
0.689778
zanshi
e72b0765a34962ae1510529cc48700131d8d6242
7,934
hpp
C++
mdal/frmts/mdal_dynamic_driver.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
112
2018-04-10T09:15:35.000Z
2022-03-23T17:03:23.000Z
mdal/frmts/mdal_dynamic_driver.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
277
2018-04-10T11:40:53.000Z
2022-03-13T06:23:15.000Z
mdal/frmts/mdal_dynamic_driver.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
43
2018-04-26T00:03:22.000Z
2022-03-25T06:36:17.000Z
/* MDAL - Mesh Data Abstraction Library (MIT License) Copyright (C) 2020 Vincent Cloarec (vcloarec at gmail dot com) */ #ifndef MDAL_DYNAMIC_DRIVER_H #define MDAL_DYNAMIC_DRIVER_H #include "mdal_driver.hpp" #include "mdal_utils.hpp" #include "mdal.h" #include <functional> #include <set> namespace MDAL { class ...
33.905983
97
0.610915
jmkerloch
e73309104094daf9e308f1ce9fd27ca9c322f3d7
704
hpp
C++
Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
21
2021-08-22T19:06:54.000Z
2022-03-31T12:44:30.000Z
Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
1
2021-09-01T22:55:59.000Z
2021-09-08T20:52:09.000Z
Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
#pragma once #define SIGINVAL 0 #define SIGHUP 1 #define SIGINT 2 #define SIGQUIT 3 #define SIGILL 4 #define SIGTRAP 5 #define SIGABRT 6 #define SIGBUS 7 #define SIGFPE 8 #define SIGKILL 9 #define SIGUSR1 10 #define SIGSEGV 11 #define SIGUSR2 12 #define SIGPIPE 13 #define SIGALRM 14 #define SIGTERM 15 #define SIGSTKFL...
17.6
21
0.784091
Plunkerusr
e733a3bd9e622dc8bdf27512b9264c62710d8c31
3,342
cpp
C++
src/+cv/private/ExposureCompensator_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/private/ExposureCompensator_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/private/ExposureCompensator_.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file ExposureCompensator_.cpp * @brief mex interface for cv::detail::ExposureCompensator * @ingroup stitching * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "mexopencv_stitching.hpp" #include "opencv2/stitching.hpp" #include <typeinfo> using namespace std; using namespace cv; using namesp...
32.134615
89
0.587672
1123852253