hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
545baa2e0151f63383a4a253d465912828f123a3
751
cpp
C++
Decorator/Streams/ByteEncodingTable.cpp
chosti34/ood
3d74b5253f667d3de1ee610fb7509cf3015ea79c
[ "MIT" ]
null
null
null
Decorator/Streams/ByteEncodingTable.cpp
chosti34/ood
3d74b5253f667d3de1ee610fb7509cf3015ea79c
[ "MIT" ]
9
2018-02-09T06:12:29.000Z
2018-06-06T06:26:40.000Z
Decorator/Streams/ByteEncodingTable.cpp
chosti34/ood
3d74b5253f667d3de1ee610fb7509cf3015ea79c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ByteEncodingTable.h" #include <numeric> #include <algorithm> #include <random> ByteEncodingTable::ByteEncodingTable(unsigned seed) : m_table(256u) , m_reversedTable(256u) { std::iota(m_table.begin(), m_table.end(), uint8_t(0u)); std::shuffle(m_table.begin(), m_table.end(), std::mt199...
24.225806
66
0.721704
chosti34
54602498491b853a3d3a24f6a95942f3be94a9c3
886
cpp
C++
labs/HW2/labLexer/src/labLexer-3.cpp
RabbitWhite1/USTC-2020-Compilers-Principles-HWs
81f2c733ebf4f4020b5b92534a3823626c2844f1
[ "MIT" ]
5
2021-03-25T09:20:21.000Z
2021-12-14T09:44:50.000Z
labs/HW2/labLexer/src/labLexer-3.cpp
RabbitWhite1/USTC-2020-Compilers-Principles-HWs
81f2c733ebf4f4020b5b92534a3823626c2844f1
[ "MIT" ]
null
null
null
labs/HW2/labLexer/src/labLexer-3.cpp
RabbitWhite1/USTC-2020-Compilers-Principles-HWs
81f2c733ebf4f4020b5b92534a3823626c2844f1
[ "MIT" ]
1
2022-03-19T17:02:21.000Z
2022-03-19T17:02:21.000Z
#include <iostream> #include "antlr4-runtime.h" #include "rel.h" #define LINE_SIZE 1024 using namespace antlr4; using namespace std; int main(int argc, const char* argv[]) { char str_line[LINE_SIZE]; cin.getline(str_line, LINE_SIZE); ANTLRInputStream input(str_line); //ANTLRInputStream i...
24.611111
63
0.502257
RabbitWhite1
54625f75629de7448fb5f77430590b478a8f81b1
1,469
cpp
C++
plugins/d3d9/src/vf/convert/role_visitor.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/src/vf/convert/role_visitor.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/src/vf/convert/role_visitor.cpp
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) #include <sge/d3d9/d3dinclude.hpp> #include <sge/d3d9/vf/convert/role_visitor.hpp> #include <sge/re...
34.162791
98
0.741321
cpreh
5464f3a43593c2dabe316c95b9d88be08176250f
956
cpp
C++
NewFramework/HelitWing.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
NewFramework/HelitWing.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
NewFramework/HelitWing.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
#include "HelitWing.h" HelitWing::HelitWing() { } HelitWing::HelitWing(MObject* _helit) { helit = _helit; dirRight = helit->dirRight; x = helit->x + OFFSET_X * dirRight; y = helit->y + OFFSET_Y; anim = new Animation(5, 0, 4, ANIM_DELAY); char s[50]; for (int i = 0; i < 5; i++) { sprintf_s(s, "sprites/helit...
22.232558
152
0.670502
lhthang1998
546c2676acfcf8921ae40ab6ae1866e2afd2d448
2,512
cpp
C++
development/Common/Utility/source/Logger/YLog.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Common/Utility/source/Logger/YLog.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Common/Utility/source/Logger/YLog.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "Logger/YLog.h" #include "App/AppUtilities.h" #include "StringHelpers.h" #include "Platform/Support.h" #include "Debugging/DevConfiguration.h" #include "Time/GameClock.h" #include <fstream> #include "YagetVersion.h" #if YAGET_LOG_ENABLED == 1 YAGET_COMPILE_GLOBAL_SETTINGS("Log Included") #else YAGET_...
28.545455
132
0.620223
eglowacki
547023c8d77793cf121a27046292cbf4abc66ab6
805
cpp
C++
projects/project03/main.cpp
jaasonw/data_structures
aba43dc071eec932717141defe3bc30abc9e237e
[ "MIT" ]
null
null
null
projects/project03/main.cpp
jaasonw/data_structures
aba43dc071eec932717141defe3bc30abc9e237e
[ "MIT" ]
null
null
null
projects/project03/main.cpp
jaasonw/data_structures
aba43dc071eec932717141defe3bc30abc9e237e
[ "MIT" ]
null
null
null
/* * Author: Jason Wong * Project: String Tokenizer * Purpose: Create a string tokenizer that returns a single token from an input * string based on the rules set by the internal state machine * Notes: */ #include "STokenizer.h" #include "Token.h" #include <iomanip> #include <iostream> using namespace s...
27.758621
82
0.597516
jaasonw
5471f48d27aadd1d69d1278ad6cb364b8864f37c
31,485
cpp
C++
SU2-Quantum/Common/src/fem/fem_gauss_jacobi_quadrature.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/fem/fem_gauss_jacobi_quadrature.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/fem/fem_gauss_jacobi_quadrature.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file fem_gauss_jacobi_quadrature.cpp * \brief Functions to compute the points and weights for the Gauss-Jacobi quadrature rules. All the functions in this file are based on the program JACOBI_RULE of John Burkardt. * \author E. van der Weide * \version 7.0.6 "Blackbird" * * SU2 Project ...
25.934926
117
0.512307
Agony5757
547256a644e198048b62b52d9ff88db2097ccb1c
41,567
cpp
C++
src/virtualMachine/VirtualMachine.cpp
Suru-09/Compilation-Tehniques
cbfc5f5a47d786287d7a75e68814de113e3d0375
[ "MIT" ]
null
null
null
src/virtualMachine/VirtualMachine.cpp
Suru-09/Compilation-Tehniques
cbfc5f5a47d786287d7a75e68814de113e3d0375
[ "MIT" ]
null
null
null
src/virtualMachine/VirtualMachine.cpp
Suru-09/Compilation-Tehniques
cbfc5f5a47d786287d7a75e68814de113e3d0375
[ "MIT" ]
null
null
null
#include "VirtualMachine.hpp" VirtualMachine::~VirtualMachine() { // delete stack_ptr; // delete stack_ptr; } VirtualMachine::VirtualMachine() : stack_ptr(nullptr), stack_after(nullptr), n_globals(0), class_name("VirtualMachine") { logger = Logger{class_name}; } void VirtualMachine::push_...
45.083514
139
0.371713
Suru-09
547273f87b4a527486b33e099b397f92371445ba
901
cpp
C++
Code/AutomatedTests/HeaderBlockTokenTest.cpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
1
2016-11-13T17:50:10.000Z
2016-11-13T17:50:10.000Z
Code/AutomatedTests/HeaderBlockTokenTest.cpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
23
2016-11-13T18:41:42.000Z
2017-12-27T13:58:07.000Z
Code/AutomatedTests/HeaderBlockTokenTest.cpp
ProgramMax/maxGif
de509a1512dd56015c7f044bfc177ae662e57694
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016, The maxGif Contributors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <max/Testing/TestSuite.hpp> #include <maxGif/Parsing/Tokens.hpp> #include <vector> int main() { auto TestSuite = max::Testing::TestSuite( "...
30.033333
91
0.711432
ProgramMax
5479359c393138813c965364fca1b25e64bd24d8
95
cpp
C++
Fists.cpp
Kahsyaj/TacticalRPGProject
689c2131e4ec0e5ccc272e630b9483880ecbafc3
[ "MIT" ]
null
null
null
Fists.cpp
Kahsyaj/TacticalRPGProject
689c2131e4ec0e5ccc272e630b9483880ecbafc3
[ "MIT" ]
null
null
null
Fists.cpp
Kahsyaj/TacticalRPGProject
689c2131e4ec0e5ccc272e630b9483880ecbafc3
[ "MIT" ]
null
null
null
#include "Fists.h" //Constructor Fists::Fists() : Weapon("Fists", 0, 0, 0, 1) { }
9.5
36
0.515789
Kahsyaj
5479c25d42fce9a4c66824606b3f5552f1772eca
3,681
hpp
C++
src/classical/dd/zdd.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/dd/zdd.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
src/classical/dd/zdd.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
/* CirKit: A circuit toolkit * Copyright (C) 2009-2015 University of Bremen * Copyright (C) 2015-2017 EPFL * * 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, in...
29.685484
87
0.695735
eletesta
5479ccd289b973d5ace94630955cc67960d6fddd
242
cpp
C++
etc/config/src/EXPORT_KEYWORD.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
etc/config/src/EXPORT_KEYWORD.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
etc/config/src/EXPORT_KEYWORD.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
// checking for the export keyword // NOTE: test EXPORT.cpp links with EXPORT_KEYOWRD.o and expects // to find a definition of the function template below there export template <class T> T exported_function_template (T t) { return t; }
20.166667
64
0.752066
Hower91
547a53619c49fb55405d4158c828505150ce23ba
3,334
cpp
C++
middleware/xatmi/source/xatmi/server.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/xatmi/source/xatmi/server.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/xatmi/source/xatmi/server.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
1
2022-02-21T18:30:25.000Z
2022-02-21T18:30:25.000Z
//! //! Copyright (c) 2015, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "casual/xatmi/server.h" #include "casual/xatmi/internal/log.h" #include "casual/xatmi/internal/code.h" #include "casual/xatmi/internal/transform.h" #include "comm...
28.254237
133
0.485303
casualcore
547d0f5ae0bc366ef158fb6e871d7736b6df31c5
930
cpp
C++
Vijos/1470.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Vijos/1470.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Vijos/1470.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #include <cstring> #define MAXN 100010 #define cleardp memset(dp,0,sizeof(dp)); using namespace std; int dp[MAXN][4]; int a[MAXN][4]; int ans, n; int mymax(int a, int b) { return a > b ? a : b; } inline void dpit() { for (int i = 2; i <= n; i++) { dp[i][0] = mymax(dp[i - 1][2], dp[i - 1][3]) +...
18.235294
57
0.484946
HeRaNO
547fd0284213cf16392ec1e92d51f510c1fed0c4
1,922
cc
C++
third_party/perfetto/src/base/metatrace.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/perfetto/src/base/metatrace.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/perfetto/src/base/metatrace.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
27.070423
75
0.656608
zipated
548055c5c726bfd5487e71523b054ca6fe96ffb4
768
hpp
C++
libs/gui/impl/include/sge/gui/impl/style/spacing.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/gui/impl/include/sge/gui/impl/style/spacing.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/gui/impl/include/sge/gui/impl/style/spacing.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_GUI_IMPL_STYLE_SPACING_HPP_INCLUDED #define SGE_GUI_IMPL_STYLE_SPACING_HPP_INCLUDED #i...
29.538462
99
0.740885
cpreh
5488bd7ac166194fe649d8d2c8ea1c34a77f01ea
4,163
cpp
C++
libspace/plugins/craq/PluginInterface.cpp
sirikata/sirikata
3a0d54a8c4778ad6e25ef031d461b2bc3e264860
[ "BSD-3-Clause" ]
31
2015-01-28T17:01:10.000Z
2021-11-04T08:30:37.000Z
libspace/plugins/craq/PluginInterface.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libspace/plugins/craq/PluginInterface.cpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
9
2015-08-02T18:39:49.000Z
2019-10-11T10:32:30.000Z
/* Sirikata * PluginInterface.cpp * * Copyright (c) 2010, Ewen Cheslack-Postava * 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 th...
40.028846
314
0.735767
sirikata
5489d19cb30ac996d5676e3db61db24e56aff326
7,037
cpp
C++
src/add-ons/kernel/drivers/audio/echo/generic/CIndigoIO.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/kernel/drivers/audio/echo/generic/CIndigoIO.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/kernel/drivers/audio/echo/generic/CIndigoIO.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
// **************************************************************************** // // CIndigoIO.cpp // // Implementation file for the CIndigoIO driver class. // Set editor tabs to 3 for your viewing pleasure. // // ---------------------------------------------------------------------------- // // This file is part o...
25.404332
79
0.549666
Kirishikesan
548a79c421b09c5cdcc9aa9c505d904cc625f10e
2,795
cpp
C++
OneCodeTeam/How to create a SDI with Multi-Views in MFC/[C++]-How to create a SDI with Multi-Views in MFC/C++/MFCSDIAppln/MFCSDIApplnView.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
OneCodeTeam/How to create a SDI with Multi-Views in MFC/[C++]-How to create a SDI with Multi-Views in MFC/C++/MFCSDIAppln/MFCSDIApplnView.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
OneCodeTeam/How to create a SDI with Multi-Views in MFC/[C++]-How to create a SDI with Multi-Views in MFC/C++/MFCSDIAppln/MFCSDIApplnView.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
/****************************** Module Header ******************************\ * Module Name: MFCSDIApplnView.cpp * Project: MFCSDIAppln * Copyright (c) Microsoft Corporation. * * This is Main View. * * This source is subject to the Microsoft Public License. * See http://www.microsoft.com/en-us/openness/licenses.a...
23.487395
85
0.729159
zzgchina888
548dd46e2289357b2682171fe2f3d589bbdefe1c
1,295
cpp
C++
Deitel/Chapter12/exercises/12.09/ex_1209.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter12/exercises/12.09/ex_1209.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter12/exercises/12.09/ex_1209.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
27.553191
88
0.433977
SebastianTirado
548e37bb640ef1a19cddda474c9951b077bbb54f
3,015
hpp
C++
external/mapnik/include/mapnik/group/group_layout_manager.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/group/group_layout_manager.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/group/group_layout_manager.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
26.681416
88
0.65141
baiyicanggou
5490715eab05b16a29adef8834ad61db35612d76
635
cpp
C++
VC2010Samples/ComTypeLibfor7/dcom/atldraw/preatldr.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/ComTypeLibfor7/dcom/atldraw/preatldr.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/ComTypeLibfor7/dcom/atldraw/preatldr.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// preatldr.cpp : source file that includes just the standard includes // ATLDraw.pch will be the pre-compiled header // preatldr.obj will contain the pre-compiled type information #include "preatldr.h" LONG g_cObjCnt; void dump_com_error(_com_error &e) { _tprintf(_T("Oops - hit an error!\n")); _tprintf(_T...
33.421053
70
0.68189
alonmm
549382a8825cf8cd8e0f2d62c6c0c15a4542fbcc
318
inl
C++
node_modules/lzz-gyp/lzz-source/smtc_CreateDtorBaseName.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_CreateDtorBaseName.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_CreateDtorBaseName.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_CreateDtorBaseName.inl // #ifdef LZZ_ENABLE_INLINE #define LZZ_INLINE inline #else #define LZZ_INLINE #endif namespace smtc { LZZ_INLINE BaseNamePtr createDtorBaseName (util::Loc const & loc, util::Ident const & ident) { return createDtorBaseName (loc, util::Ident (), ident); } } #undef LZZ_INLINE
18.705882
94
0.745283
SuperDizor
5499e32fbdb9383297eb7f760eb6759ed6f686f9
881
cpp
C++
console/src/boost_1_78_0/libs/type_traits/test/is_unscoped_enum_test.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
console/src/boost_1_78_0/libs/type_traits/test/is_unscoped_enum_test.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
Libs/boost_1_76_0/libs/type_traits/test/is_unscoped_enum_test.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
/* Copyright 2020 Glen Joseph Fernandes (glenjofe@gmail.com) 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) */ #ifdef TEST_STD #include <type_traits> #else #include <boost/type_traits/is_unscoped_enum.hpp> #endif #inclu...
23.810811
77
0.790011
vany152
5499fe18223882ee1792d4083a10b2eac2be9b94
3,521
hpp
C++
argholder.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
argholder.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
argholder.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include <cassert> namespace spn { struct none_t{}; //! rvalue-reference wrapper template <class T> struct _RRef { T& value; _RRef(T& v): value(v) {} _RRef(const _RRef& r): value(r.value) {} int get() { return 0; } operator T& () { return value; } }; template <class ...
33.216981
133
0.628515
degarashi
549a54abf8eeb4332bb9fbaae6cf0ae119c5b8a5
532
cpp
C++
src/js_array.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2019-05-07T15:01:23.000Z
2019-05-07T15:01:23.000Z
src/js_array.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/js_array.cpp
bygreencn/libj
e77b2f4466962f3d020418b043a3c693fde0b0d1
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012-2013 Plenluno All rights reserved. #include <libj/js_array.h> #include <libj/detail/js_array.h> namespace libj { JsArray::Ptr JsArray::create(Size length) { detail::JsArray<JsArray>* a = new detail::JsArray<JsArray>(); for (Size i = 0; i < length; i++) { a->add(UNDEFINED); }...
21.28
65
0.631579
bygreencn
549ae70a1a5bbcb1f02f57e430fb0f25622111ba
224
cpp
C++
Source/FSD/Private/DistanceToTargetDamageCondition.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/DistanceToTargetDamageCondition.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/DistanceToTargetDamageCondition.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "DistanceToTargetDamageCondition.h" UDistanceToTargetDamageCondition::UDistanceToTargetDamageCondition() { this->TestMaxDistance = true; this->MaxDistance = 100.00f; this->MinimumDistance = 100.00f; }
24.888889
70
0.767857
trumank
549b05c7f97acd0d48578db2fee40efd3401dc63
5,660
cpp
C++
csl/cslbase/utf8check.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/utf8check.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
csl/cslbase/utf8check.cpp
arthurcnorman/general
5e8fef0cc7999fa8ab75d8fdf79ad5488047282b
[ "BSD-2-Clause" ]
null
null
null
// utfcheck.cpp Copyright (C) 2016-2020 Codemist // // This is a pretty silly program! It looks at Unicode characters and tests // when case-folding can change the number of utf-8 bytes needed to encode // them. At least in the default locales I have set up on my own Mac and // Linux systems...
40.428571
82
0.514664
arthurcnorman
549b3ed789af7653d7eadacb42cd9ff98e5605be
4,034
hpp
C++
rmvmath/matrix/affinematrix3x3/operator/TAffineMatrix3x3_operator_mul.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/matrix/affinematrix3x3/operator/TAffineMatrix3x3_operator_mul.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/matrix/affinematrix3x3/operator/TAffineMatrix3x3_operator_mul.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 1/13/16. // #ifndef RMVECTORMATH_TAFFINEMATRIX3X3_OPERATOR_MUL_HPP #define RMVECTORMATH_TAFFINEMATRIX3X3_OPERATOR_MUL_HPP #include "../TAffineMatrix3x3_def.hpp" #include "../func/TAffineMatrix3x3_func_mul.hpp" #include "../func/TAffineMatrix3x3_func_mulvec.hpp" namespace rmmat...
29.021583
126
0.587506
vitali-kurlovich
549b6040ee5d3c7bd70398800ba99e8c830d7bf3
254
cpp
C++
CodeForces/4A - Watermelon.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
CodeForces/4A - Watermelon.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
CodeForces/4A - Watermelon.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
// http://codeforces.com/problemset/problem/4/A #include <iostream> using namespace std; int main(){ int x; cin >> x; if(x == 2) cout<<"NO"; else if(x % 2 == 0) cout<<"YES"; else cout<<"NO"; return 0; }
14.111111
47
0.496063
tanishq1g
549f7add891c354e05c87513df8fcd43a6c06037
1,957
cpp
C++
algorithms/graph/kruskals_mst_algorithm.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
algorithms/graph/kruskals_mst_algorithm.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
algorithms/graph/kruskals_mst_algorithm.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
#include<bits/stdc++.h> using namespace std; struct Edge { int src, dst, weight; }; class DisjointSet { unordered_map<int, int> parent; public: void makeSet(int V){ // create V disjoint sets (one for each vertex) for(int i = 0; i < V; i++) parent[i] = i; } // Find the root of the set in which element k...
20.819149
201
0.599387
sureshmangs
54a1523fda2e54a274eeb38d617b589861a732e0
1,740
cpp
C++
OJ/LeetCode/leetcode/problems/938.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/938.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/938.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#include <stdio.h> #include <vector> using namespace std; /* Leetcode */ /* 题目信息 */ /* *938. Range Sum of BST Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive). The binary search tree is guaranteed to have unique values. Example 1: Input: root...
23.513514
123
0.584483
ONGOING-Z
54a35c9edb4161389804c450a775aac3e2d47cc9
7,762
cpp
C++
esp32/libraries/TouchLib-master/src/TLSampleMethodResistive.cpp
zvikapika/HanukiyaIOT
6f54e3d2d945962e9c1ff65d282269ae60898246
[ "MIT" ]
null
null
null
esp32/libraries/TouchLib-master/src/TLSampleMethodResistive.cpp
zvikapika/HanukiyaIOT
6f54e3d2d945962e9c1ff65d282269ae60898246
[ "MIT" ]
null
null
null
esp32/libraries/TouchLib-master/src/TLSampleMethodResistive.cpp
zvikapika/HanukiyaIOT
6f54e3d2d945962e9c1ff65d282269ae60898246
[ "MIT" ]
null
null
null
/* * TLSampleMethodResistive.cpp - Resistive sensing implementation for * TouchLibrary for Arduino Teensy 3.x * * https://github.com/AdmarSchoonen/TLSensor * Copyright (c) 2016 - 2017 Admar Schoonen * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
30.439216
98
0.725457
zvikapika
54a443e2c8ec66c132e17f3cf36b936fba077140
2,224
cc
C++
src/LockManagerTest.cc
mkaguilera/mvtx
9e5e099a11131351b79aadea77ee5920100c352a
[ "BSD-2-Clause" ]
null
null
null
src/LockManagerTest.cc
mkaguilera/mvtx
9e5e099a11131351b79aadea77ee5920100c352a
[ "BSD-2-Clause" ]
null
null
null
src/LockManagerTest.cc
mkaguilera/mvtx
9e5e099a11131351b79aadea77ee5920100c352a
[ "BSD-2-Clause" ]
null
null
null
/* * LockManagerTest.cc * * Created on: Dec 8, 2016 * Author: theo */ #include <cassert> #include <iostream> #include "AVLTreeLockManager.h" #include "LockManager.h" #include "LockManagerTest.h" #include "TestEvent.h" LockManagerTest::LockManagerTest(LockManager *lock_manager) { _lock_manager = lock_man...
32.231884
83
0.680306
mkaguilera
54ac1b1efbf79f072467343fcf1c14cad3983c15
1,803
cpp
C++
code/cheonsa/cheonsa_platform_icon.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa_platform_icon.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
code/cheonsa/cheonsa_platform_icon.cpp
Olaedaria/cheonsa
cf366a5869a4bf0872a0d8dc6a01a68118cfc92e
[ "Unlicense" ]
null
null
null
#include "cheonsa_platform_icon.h" #include "cheonsa_engine.h" #if defined( cheonsa_platform_windows ) #define WIN32_LEAN_AND_MEAN #include <Windows.h> #undef LoadIcon #endif namespace cheonsa { platform_icon_c::platform_icon_c() : icon_handle( nullptr ) { } platform_icon_c::~platform_icon_c() { unload(); ...
28.171875
154
0.747643
Olaedaria
54ad6c6a42ce99c193006d256a63da90fefecfa5
1,005
cc
C++
leveldb/cloud/db_cloud_impl.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
leveldb/cloud/db_cloud_impl.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
leveldb/cloud/db_cloud_impl.cc
naivewong/timeunion
8070492d2c6a2d68175e7d026c27b858c2aec8e6
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2017 Rockset. #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #include "cloud/db_cloud_impl.h" #include "db/file_util.h" #include <inttypes.h> #include "leveldb/db.h" #include "leveldb/env.h" #include "leveldb/options.h" #include "leveldb/status.h" #include "leveldb/table.h" #incl...
21.382979
69
0.677612
naivewong
2a6150c024f6de94d3415ca38faf869bf06cf2ba
2,776
cpp
C++
source/sprites/AnchorSprite.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
source/sprites/AnchorSprite.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
source/sprites/AnchorSprite.cpp
xzrunner/sprite2
2d5d8c6b79a63871bdd6cfdcd4805946fde95921
[ "MIT" ]
null
null
null
#include "sprite2/AnchorSprite.h" #include "sprite2/AnchorActor.h" #include "sprite2/SprVisitorParams.h" #include "sprite2/ActorFactory.h" #include "sprite2/UpdateParams.h" #include "sprite2/SpriteVisitor.h" namespace s2 { void AnchorSprite::OnMessage(const UpdateParams& up, Message msg) { auto actor = up.GetActor()...
24.785714
107
0.729107
xzrunner
2a627c41c871456a988c75e915226c7cc75efd87
338
hpp
C++
Phoenix3D/Tools/MaxToPX2/PX2Mtls.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/Tools/MaxToPX2/PX2Mtls.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/Tools/MaxToPX2/PX2Mtls.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2Mtls.hpp #ifndef PX2MTLS_HPP #define PX2MTLS_HPP #include "PX2MaxToPX2PluginPre.hpp" class Mtl; class Mtls { public: Mtls (); bool Add (Mtl *mtl); void SetQuantity (int quantity); int GetQuantity () const; int GetIndex (Mtl *mtl) const; Mtl *GetMtl (int mtlIndex) const; private: std::vector<Mtl*> mMa...
13.52
35
0.707101
PheonixFoundation
2a654d6baafef17060e8aabe64bc0de8e7fa9c7e
2,831
hpp
C++
include/trainer/GradientDescent.hpp
YSZhuoyang/CudaNeuralNetwork
1c7d5d6ae8e8bb622e7fcbbac2e3db487a202157
[ "MIT" ]
null
null
null
include/trainer/GradientDescent.hpp
YSZhuoyang/CudaNeuralNetwork
1c7d5d6ae8e8bb622e7fcbbac2e3db487a202157
[ "MIT" ]
null
null
null
include/trainer/GradientDescent.hpp
YSZhuoyang/CudaNeuralNetwork
1c7d5d6ae8e8bb622e7fcbbac2e3db487a202157
[ "MIT" ]
null
null
null
#include "model/MiniNeuralNets.hpp" #ifndef GRADIENT_DESCENT_HPP #define GRADIENT_DESCENT_HPP namespace MiniNeuralNetwork { using namespace MyHelper; class Trainer { public: Trainer( std::shared_ptr<MiniNeuralNets> neuralNets, cublasHandle_t cublasHan...
34.52439
70
0.553161
YSZhuoyang
2a6942c1f475a9950905d0b87a438fcefc38bc2e
415
hpp
C++
player/include/api/oauth.hpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
36
2018-03-09T08:05:32.000Z
2021-09-09T19:06:39.000Z
player/include/api/oauth.hpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
35
2018-03-15T06:43:49.000Z
2021-04-14T00:07:00.000Z
player/include/api/oauth.hpp
Globidev/twitch-player
062306685e182c422980d57fe7ba9fbdee141c37
[ "MIT" ]
3
2018-05-18T21:17:05.000Z
2021-09-09T19:06:42.000Z
#pragma once #include <QObject> #include <QtPromise> class QTcpServer; class QNetworkRequest; using QtPromise::QPromise; class OAuth: public QObject { Q_OBJECT public: OAuth(QObject * = nullptr); QPromise<QString> query_token(); signals: void token_ready(QString); private: QTcpServer *_local...
14.821429
45
0.713253
Globidev
2a6a6bf76801e28205566b223c22881582591332
2,303
cpp
C++
src/configuration/CallCost.cpp
Governikus/AusweisApp2-Omapi
0d563e61cb385492cef96c2542d50a467e003259
[ "Apache-2.0" ]
1
2019-06-06T11:58:51.000Z
2019-06-06T11:58:51.000Z
src/configuration/CallCost.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
1
2022-01-28T11:08:59.000Z
2022-01-28T12:05:33.000Z
src/configuration/CallCost.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
3
2019-06-06T11:58:14.000Z
2021-11-15T23:32:04.000Z
/*! * \copyright Copyright (c) 2016-2019 Governikus GmbH & Co. KG, Germany */ #include "CallCost.h" #include <QDebugStateSaver> #include <QJsonObject> using namespace governikus; namespace { inline double getValue(const QJsonValue& pJson, const char* pSection, const char* pSubSection) { return pJson.toObject()[...
23.989583
156
0.740773
Governikus
2a6d4c7bbd84e16ea24743ee7c718f2fb44bb50f
26,375
cpp
C++
test/Account_Test.cpp
rigertd/LegacyMUD
cf351cca466158f0682f6c877b88d5c2eb59e240
[ "BSD-3-Clause" ]
1
2021-04-24T06:01:57.000Z
2021-04-24T06:01:57.000Z
test/Account_Test.cpp
rigertd/LegacyMUD
cf351cca466158f0682f6c877b88d5c2eb59e240
[ "BSD-3-Clause" ]
null
null
null
test/Account_Test.cpp
rigertd/LegacyMUD
cf351cca466158f0682f6c877b88d5c2eb59e240
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************* * Author: Keith Adkins * Date Created: 2/12/2017 * Last Modified: 2/14/2017 * Course: CS467, Winter 2017 * Filename: Account_Test.cpp * * Overview: * Unit test for the Account class. ********************...
45.317869
105
0.619905
rigertd
2a6e71a05d077b451507fa23f69677e01d76050b
5,351
cxx
C++
BidirectionalQueue.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
BidirectionalQueue.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
BidirectionalQueue.cxx
jackytck/topcoder
5a83ce478d4f05aeb97062f8a30aa1d6fbc969d3
[ "MIT" ]
null
null
null
// BEGIN CUT HERE /* // PROBLEM STATEMENT // You are given a bidirectional cyclical queue which contains N elements. You need to extract several elements from this queue. You can do 3 kinds of operations with this queue: Extract first element. After applying this operation, queue a1, ..., aK becomes a2, ..., aK. Shi...
32.041916
312
0.615025
jackytck
2a70b687eb4b63c4533ccc654dccafd36d769adb
800
cpp
C++
example/DetectPortsUDP/detectports.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
6
2017-08-07T09:22:34.000Z
2019-05-11T09:11:45.000Z
example/DetectPortsUDP/detectports.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
null
null
null
example/DetectPortsUDP/detectports.cpp
jef42/pcapwrapper
6e5356fabfe2e49f96fdbd8bfbb0f8555e497969
[ "MIT" ]
2
2018-05-15T23:28:43.000Z
2021-11-13T09:53:40.000Z
#include "detectports.h" #include <iostream> #include <pcapwrapper/helpers/common.h> #include <string.h> #include <string> using namespace PCAP; DetectPorts::DetectPorts(PCAP::IpAddress desiredIp) : m_expectedip{desiredIp} { reset(); } void DetectPorts::receive_package(PCAP::ICMPPackage package) { if (packa...
24.242424
79
0.6325
jef42
2a716ef7969657991a8e8b2e6e7488473d4b5c4c
7,652
cpp
C++
LookAndFeels/foleys_LookAndFeel.cpp
kant/foleys_gui_magic
1f3da46e497c24ba66cae2ddd7f9cd52fe16b169
[ "BSD-3-Clause" ]
null
null
null
LookAndFeels/foleys_LookAndFeel.cpp
kant/foleys_gui_magic
1f3da46e497c24ba66cae2ddd7f9cd52fe16b169
[ "BSD-3-Clause" ]
null
null
null
LookAndFeels/foleys_LookAndFeel.cpp
kant/foleys_gui_magic
1f3da46e497c24ba66cae2ddd7f9cd52fe16b169
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================================== Copyright (c) 2019 Foleys Finest Audio Ltd. - Daniel Walz All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
56.264706
240
0.639049
kant
2a7430b597e42f3c2664caf971798c9abf0d953d
261
cpp
C++
Demo_03/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
Demo_03/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
Demo_03/main.cpp
vitahlin/VitahCmake
a5360ca9ce548fa16f40e98e2a7985d5fd6978cf
[ "MIT" ]
null
null
null
#include <iostream> #include "demo3.h" using namespace std; int main(int argc, char *argv[]) { cout << "This is Demo_3 " << endl; cout << "Max Num is " << MAX_NUM << endl; cout << "Double Max num is " << doubleNum(MAX_NUM) << endl; return 0; }
23.727273
63
0.59387
vitahlin
2a76a31ba0ab047a5f2ea5ec719e10c36b35931b
4,220
cpp
C++
DSP/extensions/WindowFunctionLib/tests/TTTukeyWindow.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
DSP/extensions/WindowFunctionLib/tests/TTTukeyWindow.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
DSP/extensions/WindowFunctionLib/tests/TTTukeyWindow.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup dspWindowFunctionLib * * @brief Unit tests for the Tukey Window Function Unit * * @details * * @authors Nathan Wolek, Tim Place, Trond Lossius * * @copyright Copyright © 2011 by Nathan Wolek @n * This code is licensed under the terms of the "New BSD License" @n * http://creativecommon...
37.017544
161
0.714455
avilleret
2a78d8daff5be631583e25777900db0800f3ef00
5,293
hpp
C++
src/evaluate.hpp
CristianCin/randMathFunction
9394d039b2c42df70f96479ba95bada3b6257b4e
[ "MIT" ]
null
null
null
src/evaluate.hpp
CristianCin/randMathFunction
9394d039b2c42df70f96479ba95bada3b6257b4e
[ "MIT" ]
null
null
null
src/evaluate.hpp
CristianCin/randMathFunction
9394d039b2c42df70f96479ba95bada3b6257b4e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define PI 3.14159265 bool dbg = false; bool isF(string op){ if(op == "sin") return true; if(op == "cos") return true; if(op == "tan") return true; if(op == "cotan") return true; if(op == "arcsin") return true; if(op == "arccos") return true; ...
23.317181
132
0.472889
CristianCin
2a7967b87098788b53c5b4a6e9126910d3b5bc77
11,638
cpp
C++
re_vision/src/changeReferenceSystem.cpp
mattjr/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-01-11T02:53:04.000Z
2021-11-25T17:31:22.000Z
re_vision/src/changeReferenceSystem.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
null
null
null
re_vision/src/changeReferenceSystem.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-07-21T04:47:52.000Z
2020-03-12T12:31:25.000Z
/** \file changeReferenceSystem.cpp * \brief Changes reference system of points and cameras * * Standalone application for changing the reference system of a point cloud * and a set of cameras * * This file is part of the RoboEarth ROS WP1 package. * * It file was originally created for <a href="http://www.ro...
30.952128
169
0.583605
mattjr
2a7cb726963da0dd2ae1d8cda7ffb780bc1302f7
3,763
cpp
C++
PrismAPI/PrismCore/Enum.cpp
DigitalQR/Prism
e67965040ec9f7375a73a6924051e4962228eecd
[ "MIT" ]
1
2021-06-30T07:13:20.000Z
2021-06-30T07:13:20.000Z
PrismAPI/PrismCore/Enum.cpp
DigitalQR/Prism
e67965040ec9f7375a73a6924051e4962228eecd
[ "MIT" ]
null
null
null
PrismAPI/PrismCore/Enum.cpp
DigitalQR/Prism
e67965040ec9f7375a73a6924051e4962228eecd
[ "MIT" ]
null
null
null
#include "Include\Prism\Enum.h" namespace Prism { Enum::Value::Value() : Name() , NumberValue() { } Enum::Value::Value(const String& name, size_t value) : Name(name) , NumberValue(value) { } Enum::Enum(long uniqueId, const String& space, const String& name, const String& documentation, size_t size, co...
17.834123
227
0.599787
DigitalQR
2a7d73c1cbd1eb116a8ae9b4af582b990052501a
15,611
hpp
C++
src/iterators/row.hpp
oraqlle/cortex-iterators
425f71efdc654103458795440752f6804722fc12
[ "MIT" ]
null
null
null
src/iterators/row.hpp
oraqlle/cortex-iterators
425f71efdc654103458795440752f6804722fc12
[ "MIT" ]
null
null
null
src/iterators/row.hpp
oraqlle/cortex-iterators
425f71efdc654103458795440752f6804722fc12
[ "MIT" ]
null
null
null
/// -*- C++ -*- Header compatibility <row.hpp> /// @file row.hpp /// @author Tyler Swann (oraqlle@github.com) /// @brief Row Iterator /// @version 1.0.1 /// @date 2022-05-20 /// /// @ingroup %iterators /// /// @copyright Copyright (c) 2022 /// #ifndef CORTEX_ROW_ITERATOR_HPP # define CORTEX_ROW_ITERATOR_HPP 1 ...
32.796218
156
0.556403
oraqlle
2a7efb999e50a381c8c93e69cc93ae13bc444898
1,205
cpp
C++
Sorting Algorithms/Merge_Sorting.cpp
forkkr/Data-Structure-Lab-CSE---2111-
6d1d3e1853083311971d0191630fc9a2afff7b38
[ "MIT" ]
null
null
null
Sorting Algorithms/Merge_Sorting.cpp
forkkr/Data-Structure-Lab-CSE---2111-
6d1d3e1853083311971d0191630fc9a2afff7b38
[ "MIT" ]
null
null
null
Sorting Algorithms/Merge_Sorting.cpp
forkkr/Data-Structure-Lab-CSE---2111-
6d1d3e1853083311971d0191630fc9a2afff7b38
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int Merging(int ar[] , int start , int last , int mid) { int p = mid; int q = last ; int i = start ; int j = mid + 1 ; int tmp[last - start +5]; int k = 0; while(i<=p||j<=q) { if(i>p) tmp[k++] = ar[j++]; ...
18.538462
55
0.372614
forkkr
2a80b8091662c687ea08b13ca979cd51ccb4cc5c
44
hh
C++
RAVL2/MSVC/include/Ravl/DP/OffsetScale.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DP/OffsetScale.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DP/OffsetScale.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././Core/IO/OffsetScale.hh"
11
41
0.590909
isuhao
2a8135c21c7c6950f36a3fb3b828ee6664543f03
14,037
cpp
C++
test/storage/log_test.cpp
advanced-database-group/terrier
60c86afd9c9f2a2d030dd9852903e91b0e4db48d
[ "MIT" ]
null
null
null
test/storage/log_test.cpp
advanced-database-group/terrier
60c86afd9c9f2a2d030dd9852903e91b0e4db48d
[ "MIT" ]
null
null
null
test/storage/log_test.cpp
advanced-database-group/terrier
60c86afd9c9f2a2d030dd9852903e91b0e4db48d
[ "MIT" ]
null
null
null
#include <unordered_map> #include <vector> #include "gtest/gtest.h" #include "storage/checkpoint_manager.h" #include "storage/data_table.h" #include "storage/garbage_collector.h" #include "storage/write_ahead_log/log_manager.h" #include "transaction/transaction_manager.h" #include "util/sql_transaction_test_util.h" #i...
46.946488
120
0.647218
advanced-database-group
2a8527bd81e57dbb2bad07046fdb6138dc58b2ce
2,340
cpp
C++
Immortal/Framework/Vector.cpp
QSXW/Immortal
32adcc8609b318752dd97f1c14dc7368b47d47d1
[ "Apache-2.0" ]
6
2021-09-15T08:56:28.000Z
2022-03-29T15:55:02.000Z
Immortal/Framework/Vector.cpp
DaShi-Git/Immortal
e3345b4ff2a2b9d215c682db2b4530e24cc3b203
[ "Apache-2.0" ]
null
null
null
Immortal/Framework/Vector.cpp
DaShi-Git/Immortal
e3345b4ff2a2b9d215c682db2b4530e24cc3b203
[ "Apache-2.0" ]
4
2021-12-05T17:28:57.000Z
2022-03-29T15:55:05.000Z
#include "impch.h" #include "Vector.h" namespace Immortal { namespace Vector { bool DecomposeTransform(const mat4& transform, Vector3& position, Vector3& rotation, Vector3& scale) { using T = float; mat4 localMatrix(transform); // Normalize the matrix. if (EpsilonEqual(localMatrix[3][3], static_cast<...
27.529412
100
0.55812
QSXW
2a854127875e581e1f908a89e6d3d3348ec3b4fa
3,184
cpp
C++
code_library/2SAT_kosaraju.cpp
zxc123qwe456asd789/algovault
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
60
2020-05-29T15:07:51.000Z
2022-03-29T05:36:28.000Z
code_library/2SAT_kosaraju.cpp
sgtlaugh/algorhythm
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
2
2020-04-24T14:32:27.000Z
2021-05-23T22:22:45.000Z
code_library/2SAT_kosaraju.cpp
sgtlaugh/algorhythm
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
13
2020-05-16T09:10:32.000Z
2022-01-05T08:55:22.000Z
/*** * * 2SAT with Kosaraju's algorithm (1 based index for variables) * Each variable can have two possible values: true or false * Variables must satisfy a system of constraints on pairs of variables * * Complexity: O(n + m), n = number of nodes and m = number of edges or constraints * ***/ #include <bits/stdc...
25.472
90
0.48147
zxc123qwe456asd789
2a8bc871386aa8324ed470aad365372e19b28bca
2,575
cpp
C++
src/use_mmap/mmapUT.cpp
unihykes/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
2
2018-03-27T02:46:03.000Z
2018-05-24T02:49:17.000Z
src/use_mmap/mmapUT.cpp
six-th/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
null
null
null
src/use_mmap/mmapUT.cpp
six-th/monk
d5ad969fea75912d4aad913adf945f78ec4df60e
[ "Apache-2.0" ]
null
null
null
/*************************************************************************************************** LICENSE: 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/...
22.991071
101
0.611262
unihykes
2a8bd543dd5a49d4f19b179e519805f196d02405
1,021
cc
C++
src/motif/main.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
25
2021-07-31T15:29:30.000Z
2022-03-30T02:50:33.000Z
src/motif/main.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
1
2022-03-27T20:43:23.000Z
2022-03-27T20:43:23.000Z
src/motif/main.cc
chenxuhao/GraphMiner
493a16990238648ed4f8af263b2bf06aabb0758a
[ "MIT" ]
2
2021-12-06T17:59:48.000Z
2022-01-26T22:58:16.000Z
// Copyright 2020 Massachusetts Institute of Technology // Contact: Xuhao Chen <cxh@mit.edu> #include "motif.h" int main(int argc, char *argv[]) { if (argc < 3) { std::cout << "Usage: " << argv[0] << "<graph> <k> [ngpu(0)] [chunk_size(1024)]\n"; std::cout << "Example: " << argv[0] << " /graph_inputs/mico/gr...
31.90625
86
0.574927
chenxuhao
2a8d54132f8e4e2e9b1b61d5b03a3d9d061f9142
790
cpp
C++
Module 1/Lecture 3/3d_distance.cpp
bhattigurjot/cpp-exercises
9ae770fec1b2bcdc9811b2901e62f883d3e6ed2c
[ "MIT" ]
null
null
null
Module 1/Lecture 3/3d_distance.cpp
bhattigurjot/cpp-exercises
9ae770fec1b2bcdc9811b2901e62f883d3e6ed2c
[ "MIT" ]
null
null
null
Module 1/Lecture 3/3d_distance.cpp
bhattigurjot/cpp-exercises
9ae770fec1b2bcdc9811b2901e62f883d3e6ed2c
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> using namespace std; void print(float ux, float uy, float uz, float vx, float vy, float vz); float dist3(float ux, float uy, float uz, float vx, float vy, float vz); int main() { print(1,2,3,0,0,0); print(1,2,3,1,2,3); print(1,2,3,7,-4,5); } float dist3(float ux, float uy, ...
19.75
78
0.572152
bhattigurjot
2a8dfafc28d1d865f90be0619e75dbedba4e4be4
11,631
cpp
C++
core/common/str.cpp
plonk/peercast-0.1218
30fc2401dc798336429a979fe7aaca8883e63ed9
[ "PSF-2.0", "Apache-2.0", "OpenSSL", "MIT" ]
28
2017-04-30T13:56:13.000Z
2022-03-20T06:54:37.000Z
core/common/str.cpp
plonk/peercast-0.1218
30fc2401dc798336429a979fe7aaca8883e63ed9
[ "PSF-2.0", "Apache-2.0", "OpenSSL", "MIT" ]
72
2017-04-25T03:42:58.000Z
2021-12-04T06:35:28.000Z
core/common/str.cpp
plonk/peercast-0.1218
30fc2401dc798336429a979fe7aaca8883e63ed9
[ "PSF-2.0", "Apache-2.0", "OpenSSL", "MIT" ]
12
2017-04-16T06:25:24.000Z
2021-07-07T13:28:27.000Z
#include "str.h" #include <string> #include <algorithm> #include <cstring> #include <vector> #include <cctype> #include <stdexcept> namespace str { using namespace std; std::string hexdump(const std::string& in) { std::string res; for (size_t i = 0; i < in.size(); i++) { if (i != 0) res ...
22.716797
107
0.481472
plonk
2a934e187eac742774b117f4215ffab5b9ac9ab0
1,963
cpp
C++
src/publisher.cpp
DeadBlasoul/oop_exercise_08
1177b1324fd1728346d9e08157e21ef3a78f0f15
[ "MIT" ]
null
null
null
src/publisher.cpp
DeadBlasoul/oop_exercise_08
1177b1324fd1728346d9e08157e21ef3a78f0f15
[ "MIT" ]
null
null
null
src/publisher.cpp
DeadBlasoul/oop_exercise_08
1177b1324fd1728346d9e08157e21ef3a78f0f15
[ "MIT" ]
null
null
null
#include "publisher.hpp" #include <cassert> #include <stdexcept> #include <subscriber.hpp> using namespace oop; /*! * @brief * Initializes new routine (sub-thread), sets events_done_ to false. */ publisher::publisher() try : events_done_{ false } { std::unique_lock publisher_lock(routine_mu_); routin...
22.825581
68
0.609272
DeadBlasoul
2a96b2476316dd4bcbd57d3969ec3742e17882be
2,738
cpp
C++
samples/03_advances/05_convert_to_wscene/src/main.cpp
SiminBadri/Wolf.Engine
3da04471ec26e162e1cbb7cc88c7ce37ee32c954
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
1
2020-07-15T13:14:26.000Z
2020-07-15T13:14:26.000Z
samples/03_advances/05_convert_to_wscene/src/main.cpp
foroughmajidi/Wolf.Engine
f08a8cbd519ca2c70b1c8325250dc9af7ac4c498
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
null
null
null
samples/03_advances/05_convert_to_wscene/src/main.cpp
foroughmajidi/Wolf.Engine
f08a8cbd519ca2c70b1c8325250dc9af7ac4c498
[ "BSL-1.0", "Apache-2.0", "libpng-2.0" ]
null
null
null
/* Project : Wolf Engine. Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved. Source : Please direct any bug to https://github.com/PooyaEimandar/Wolf.Engine/issues Website : http://WolfSource.io Name : main.cpp Description : This sample shows how to convert collada file to W...
32.595238
104
0.647918
SiminBadri
2a9743b2207d0b7a8f2eed317a8d3ff32b895839
3,479
cpp
C++
windz/log/LogStream.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
windz/log/LogStream.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
windz/log/LogStream.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
#include "windz/log/LogStream.h" #include <assert.h> #include <stdint.h> #include <stdio.h> #include <strings.h> #include <algorithm> #include <limits> namespace windz { namespace { const char digits[] = "9876543210123456789"; const char *zero = digits + 9; const char digitsHex[] = "0123456789abcdef"; // From mu...
20.345029
72
0.590112
Crystalwindz
2a9c0caa50e3d3f36694ac5b2c1ea0bd37257366
7,680
cpp
C++
DESIRE-Modules/UI-HorusUI/Externals/horus_ui/src/textinput_widget.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2020-10-04T18:50:01.000Z
2020-10-04T18:50:01.000Z
DESIRE-Modules/UI-HorusUI/Externals/horus_ui/src/textinput_widget.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
null
null
null
DESIRE-Modules/UI-HorusUI/Externals/horus_ui/src/textinput_widget.cpp
nyaki-HUN/DESIRE
dd579bffa77bc6999266c8011bc389bb96dee01d
[ "BSD-2-Clause" ]
1
2018-09-18T08:03:33.000Z
2018-09-18T08:03:33.000Z
#include "horus.h" #include "types.h" #include "ui_theme.h" #include "renderer.h" #include "unicode_text_cache.h" #include "ui_font.h" #include "ui_context.h" #include "util.h" #include <math.h> #include <string.h> #include <algorithm> namespace hui { bool textInput( char* text, u32 maxLength, TextInputValueMode va...
26.947368
124
0.721875
nyaki-HUN
2aa0326817c91a36bb82f5bcc874487e3f3939ea
1,036
cpp
C++
src/old/class/http.class.cpp
lucabertoni/Telegram-SocialNetworkBot
9f65ae5f80a24caea182acd8ab25712dbee68f79
[ "MIT" ]
null
null
null
src/old/class/http.class.cpp
lucabertoni/Telegram-SocialNetworkBot
9f65ae5f80a24caea182acd8ab25712dbee68f79
[ "MIT" ]
null
null
null
src/old/class/http.class.cpp
lucabertoni/Telegram-SocialNetworkBot
9f65ae5f80a24caea182acd8ab25712dbee68f79
[ "MIT" ]
null
null
null
#include <curl/curl.h> #include "http.class.h" size_t Http::WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) { ((std::string*)userp)->append((char*)contents, size * nmemb); return size * nmemb; } // Cosa fa : Esegue una richiesta di tipo get ad una pagina web ed estrapola il risultat...
29.6
122
0.724903
lucabertoni
2aa0a0cc4ba30910b307ed8d5550b2226091fa99
824
cpp
C++
Scripts/239.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
17
2018-08-23T08:53:56.000Z
2021-04-17T00:06:13.000Z
Scripts/239.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
Scripts/239.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
class Solution { public: vector<int> maxSlidingWindow(vector<int>& nums, int k) { deque<int> value; deque<int> index; vector<int> res; for (int i = 0; i < nums.size(); i++) { if (i < k - 1){ while (!value.empty() && value.back() < nums[i]) {value.pop_back(...
37.454545
107
0.474515
zzz0906
2aa0fcb1b601ea1731d0fce78a8f068cfa6ef5be
379
hpp
C++
src/libs/prediction.hpp
ronaldpereira/content-based-movie-recommendation
4113e262ea85be0210373000ec7d2692d92f834b
[ "MIT" ]
null
null
null
src/libs/prediction.hpp
ronaldpereira/content-based-movie-recommendation
4113e262ea85be0210373000ec7d2692d92f834b
[ "MIT" ]
null
null
null
src/libs/prediction.hpp
ronaldpereira/content-based-movie-recommendation
4113e262ea85be0210373000ec7d2692d92f834b
[ "MIT" ]
null
null
null
#ifndef PREDICTION #define PREDICTION #include <cmath> #include <iostream> #include <iomanip> #include <fstream> #include <cstring> #include "useritem.hpp" #include "content.hpp" #include "rocchio.hpp" class Prediction { private: double makePrediction(int, int, UserItem *, Content *, Rocchio *); public: void...
16.478261
70
0.71504
ronaldpereira
2aa12a9c615984dc57b097c466acb91aa6df2cf4
578
hpp
C++
pyhelpers/vector_list_conversion.hpp
debyos/omim
2d0df9c530a91a8931b0f8986ece5f1102a1ba7b
[ "Apache-2.0" ]
null
null
null
pyhelpers/vector_list_conversion.hpp
debyos/omim
2d0df9c530a91a8931b0f8986ece5f1102a1ba7b
[ "Apache-2.0" ]
null
null
null
pyhelpers/vector_list_conversion.hpp
debyos/omim
2d0df9c530a91a8931b0f8986ece5f1102a1ba7b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "std/vector.hpp" #include <boost/python.hpp> #include <boost/python/stl_iterator.hpp> namespace { template <typename T> vector<T> python_list_to_std_vector(boost::python::object const & iterable) { return vector<T>(boost::python::stl_input_iterator<T>(iterable), boost::pyth...
24.083333
75
0.712803
debyos
2aa75ada35be8dcfb6fd3f6ffe5de5992bddd731
448
cc
C++
1rQuatri/2.First Loops/12.Counting a's (1)/P97969.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
1rQuatri/2.First Loops/12.Counting a's (1)/P97969.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
1rQuatri/2.First Loops/12.Counting a's (1)/P97969.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const char CARACTER = 'a'; int main() { //Pre: Input consists of a sequence of characters ended in a period. //Post: Print the number of times that ‘a’ appears in the sequence. string texto; getline(cin, texto); int nAs = 0; for (int i = 0; i < text...
17.230769
72
0.560268
ulidev
2aa83d470fab739e88fab56e773028da8bfa15ba
2,743
cpp
C++
bacs/problem/src/single/test/matcher.cpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
null
null
null
bacs/problem/src/single/test/matcher.cpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
10
2018-02-06T14:46:36.000Z
2018-03-20T13:37:20.000Z
bacs/problem/src/single/test/matcher.cpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
1
2021-11-26T10:59:09.000Z
2021-11-26T10:59:09.000Z
#include <bacs/problem/single/test/matcher.hpp> #include <bunsan/fnmatch.hpp> #include <boost/regex.hpp> namespace bacs::problem::single::test { class matcher::impl { public: virtual ~impl() {} virtual bool match(const std::string &test_id) const = 0; }; class matcher::id : public matcher::impl { public: e...
25.877358
71
0.674079
bacsorg
2aa947d6289a79fd27d4741ffda9fb3545cc9d82
3,422
cpp
C++
07_Project/KnightFighter/Source/Loader/XMStageLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
07_Project/KnightFighter/Source/Loader/XMStageLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
07_Project/KnightFighter/Source/Loader/XMStageLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File XMStageLoader.cpp * Description XMStageLoader * Author J.S Park * Contact pparkppark84@gmail.com * * ------------------------------------------------------------------------...
26.122137
85
0.624781
mcodegeeks
2aa9d383dc18661fc0511cb6e579547e3671f107
2,072
cpp
C++
test/Matuna.OCLLayerKernelTest/OCLLayerKernelTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
test/Matuna.OCLLayerKernelTest/OCLLayerKernelTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
3
2015-06-08T19:51:53.000Z
2015-07-01T10:15:06.000Z
test/Matuna.OCLLayerKernelTest/OCLLayerKernelTest.cpp
mihed/ATML
242fb951eea7a55846b8a18dd6abcabb26e2a1cc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch/catch.hpp" #include "Matuna.OCLHelper/OCLHelper.h" #include "Matuna.OCLHelper/OCLProgram.h" #include "Matuna.OCLConvNet/LayerKernel.h" #include <memory> using namespace Matuna::Helper; using namespace Matuna::MachineLearning; SCENARIO("Testing and executing a layer kernel") ...
33.419355
89
0.757722
mihed
2aaaee190366f7e846efc88b533958e8dbb41b87
419
cpp
C++
source/aufgabe-1-12.cpp
GottaGoGitHub/programmiersprachen-abgabe-1
f1707ef3fecd84105f754c206497a4fb350b1c86
[ "MIT" ]
null
null
null
source/aufgabe-1-12.cpp
GottaGoGitHub/programmiersprachen-abgabe-1
f1707ef3fecd84105f754c206497a4fb350b1c86
[ "MIT" ]
null
null
null
source/aufgabe-1-12.cpp
GottaGoGitHub/programmiersprachen-abgabe-1
f1707ef3fecd84105f754c206497a4fb350b1c86
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> float volumen(float radius, float hoehe){ float vol = M_PI * radius * radius * hoehe; return vol; } float oberflaeche(float radius, float hoehe){ float of = 2 * M_PI * radius * (radius + hoehe); return of; } int main(){ int r = 4; int h = 5; std::cout...
19.952381
108
0.577566
GottaGoGitHub
2aab6d842ea8086fb480de41f15260e5b33646fb
2,282
cc
C++
cvmfs/ingestion/task_write.cc
chrisburr/cvmfs
74691036341e6010c83e9dff093f0bcad6fd08e1
[ "BSD-3-Clause" ]
2
2021-05-15T05:22:23.000Z
2021-05-15T05:23:00.000Z
cvmfs/ingestion/task_write.cc
chrisburr/cvmfs
74691036341e6010c83e9dff093f0bcad6fd08e1
[ "BSD-3-Clause" ]
2
2018-05-04T13:43:45.000Z
2018-08-27T13:53:45.000Z
cvmfs/ingestion/task_write.cc
chrisburr/cvmfs
74691036341e6010c83e9dff093f0bcad6fd08e1
[ "BSD-3-Clause" ]
1
2021-12-13T00:20:14.000Z
2021-12-13T00:20:14.000Z
/** * This file is part of the CernVM File System. */ #include "cvmfs_config.h" #include "task_write.h" #include <cstdlib> #include "logging.h" #include "upload_facility.h" #include "util/exception.h" void TaskWrite::OnBlockComplete( const upload::UploaderResults &results, BlockItem *block_item) { if (resu...
27.493976
77
0.660824
chrisburr
2aac0fe3b3cd7a84b3fdeaa5168daa3e924ae1f7
12,898
cc
C++
src/base/WCSimDataCleaner.cc
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
src/base/WCSimDataCleaner.cc
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
src/base/WCSimDataCleaner.cc
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
#include "WCSimDataCleaner.hh" #include "WCSimRecoDigit.hh" #include "WCSimRecoCluster.hh" #include "WCSimRecoClusterDigit.hh" #include <cmath> #include <iostream> #include <cassert> ClassImp(WCSimDataCleaner) static WCSimDataCleaner *fgDataCleaner = 0; WCSimDataCleaner *WCSimDataCleaner::Instance() { if (!fgDat...
28.347253
119
0.65956
chipsneutrino
2aac6f5726f8bc77c01f641e97502a437b825245
23,676
cpp
C++
svc_kube_vision_opencvplus/extras/ctis/ccHKmeans.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
3
2018-06-22T07:55:51.000Z
2021-06-21T19:18:16.000Z
svc_kube_vision_opencvplus/extras/ctis/ccHKmeans.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
null
null
null
svc_kube_vision_opencvplus/extras/ctis/ccHKmeans.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
1
2020-11-04T04:56:50.000Z
2020-11-04T04:56:50.000Z
// Author: Mohamed Aly <malaa@vision.caltech.edu> // Date: October 6, 2010 //#include <stdlib.h> #include <cstdlib> #include <cmath> #include <iostream> #include <fstream> #include <ctime> #include <string> #include <algorithm> #include "ccCommon.hpp" #include "ccHKmeans.hpp" //random number function to use with r...
28.219309
105
0.538689
lucmichalski
2aaf1ce7e07a34f2a1b48e2bd95754af25855fbd
3,027
cc
C++
voicenavigator/src/model/DescribeRedirectionResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/DescribeRedirectionResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
voicenavigator/src/model/DescribeRedirectionResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
27.770642
82
0.767757
iamzken
2ab139ec223782022e5b03681888693d49ab0918
39,723
cc
C++
supersonic/cursor/core/hybrid_aggregate_test.cc
IssamElbaytam/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
201
2015-03-18T21:55:00.000Z
2022-03-03T01:48:26.000Z
supersonic/cursor/core/hybrid_aggregate_test.cc
edisona/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
6
2015-03-19T16:47:19.000Z
2020-10-05T09:38:26.000Z
supersonic/cursor/core/hybrid_aggregate_test.cc
edisona/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
54
2015-03-19T16:31:57.000Z
2021-12-31T10:14:57.000Z
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
40.533673
80
0.65914
IssamElbaytam
2ab2159a71517dd0975685e2e25b44949e6497a3
6,289
hxx
C++
admin/netui/common/h/bitfield.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/h/bitfield.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/h/bitfield.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft LAN Manager **/ /** Copyright(c) Microsoft Corp., 1990, 1991 **/ /**********************************************************************/ /* Bitfield.hxx This file contains the class definition fo...
30.090909
88
0.594212
npocmaka
2ab509d027a430f7d149af45caa410bed541eb1d
3,644
cpp
C++
src/Shared.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2017-12-12T19:23:44.000Z
2017-12-12T19:23:44.000Z
src/Shared.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2016-04-20T18:47:05.000Z
2016-05-04T08:05:45.000Z
src/Shared.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2019-07-14T15:39:27.000Z
2019-07-14T15:39:27.000Z
#include "Shared.h" Resources algosResources; int eCount = 120; spColorRectSprite* _bloxArray = new spColorRectSprite[eCount]; spClipRectActor _blockClip; spTextField _mainInfo; int* bloxHeights = new int[eCount]; int* bloxWidths = new int[eCount]; int algosHeights = 0; int algosSpaces...
26.028571
131
0.649012
IWantedToBeATranslator
2ab8fbf2535cfcac80e64bd88f1c8ffc46090fac
3,005
cc
C++
src/QGenderSelector.cc
png85/QGenderSelector
e4df122b582c9c9861416c4dad11d2a24daf44c0
[ "BSD-3-Clause" ]
null
null
null
src/QGenderSelector.cc
png85/QGenderSelector
e4df122b582c9c9861416c4dad11d2a24daf44c0
[ "BSD-3-Clause" ]
null
null
null
src/QGenderSelector.cc
png85/QGenderSelector
e4df122b582c9c9861416c4dad11d2a24daf44c0
[ "BSD-3-Clause" ]
null
null
null
#include <QDebug> #ifndef HAS_CXX11_NULLPTR #define nullptr 0 #endif #include "QGenderSelector.h" QGenderSelector::QGenderSelector(QWidget* parent) : QFrame(parent) , m_layout(nullptr) , m_radioMale(nullptr) , m_radioFemale(nullptr) , m_radioOther(nullptr) , m_selectedGender(Other) { qReg...
27.318182
113
0.658236
png85
2abcb0a402576a40db36efcd62d48c7ae939fbac
2,198
cpp
C++
src/Game/Tile.cpp
warzes/RPGInBox
3d8ccbb38711cf6a1b2542113fa4d9a9e53c9e31
[ "MIT" ]
3
2021-07-12T14:54:01.000Z
2021-09-06T07:45:40.000Z
src/Game/Tile.cpp
warzes/RPGInBox
3d8ccbb38711cf6a1b2542113fa4d9a9e53c9e31
[ "MIT" ]
null
null
null
src/Game/Tile.cpp
warzes/RPGInBox
3d8ccbb38711cf6a1b2542113fa4d9a9e53c9e31
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Tile.h" #include "IGameCamera.h" #include "ResourceManager.h" #include "DebugNew.h" //----------------------------------------------------------------------------- const std::map<TileType, std::string> textureFloorName = { {TileType::Grass, "../data/temp/textures/map/outdoor/plains-ground...
42.269231
99
0.572338
warzes
2abe9aca53375ac18c7ffd4c74d19f614c434b00
440
cpp
C++
contest/AtCoder/abc054/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc054/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc054/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "string.hpp" #include "vector.hpp" int main() { int n(in), m(in); Vector<String> a(n, in), b(m, in); for (int i = 0; i <= n - m; ++i) { for (int j = 0; j <= n - m; ++j) { bool f = true; for (int y = 0; y < m; ++y) { if (a[i + y].substr(j, m) != b[y]) { f = false; ...
19.130435
44
0.381818
not522
2ac161fe17f70736e67259973c29806aaf9d8dbb
5,200
cpp
C++
Lighting/readFiles.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
Lighting/readFiles.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
Lighting/readFiles.cpp
arturnista/glfwstudy
fa24539c88149d388aebada68e6e10b862e19829
[ "MIT" ]
null
null
null
#define _SCL_SECURE_NO_WARNINGS #pragma warning(disable:4996) #include "readFiles.h" const char* readFile(string filename) { string fullFileData; ifstream openedFile(filename.c_str()); if (openedFile.is_open()) { string line; while (getline(openedFile, line)) { fullFileData += line + '\n'; } openedFile...
29.050279
107
0.660577
arturnista
2ac6b4e01d4de1730cfa471c02c28130113840c8
8,498
hpp
C++
foedus_code/foedus-core/include/foedus/storage/hash/hash_reserve_impl.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/storage/hash/hash_reserve_impl.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/storage/hash/hash_reserve_impl.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
40.660287
99
0.730525
sam1016yu
2acbac70735b4347da398070125b85a5e9b2a90a
2,907
cpp
C++
src/Extensions/EditorTheme.cpp
Razdeep/cp-editor2
e0e25b38c10d284be2072b6a3572a5fbee8ca40a
[ "Apache-2.0" ]
null
null
null
src/Extensions/EditorTheme.cpp
Razdeep/cp-editor2
e0e25b38c10d284be2072b6a3572a5fbee8ca40a
[ "Apache-2.0" ]
null
null
null
src/Extensions/EditorTheme.cpp
Razdeep/cp-editor2
e0e25b38c10d284be2072b6a3572a5fbee8ca40a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019-2020 Ashar Khan <ashar786khan@gmail.com> * * This file is part of CP Editor. * * CP Editor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * ...
26.189189
82
0.644995
Razdeep
2acd2900dca1e1a85d725b02556d24d99816a584
5,680
cc
C++
third_party/webrtc/src/chromium/src/base/feature_list.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/chromium/src/base/feature_list.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/chromium/src/base/feature_list.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
// Copyright 2015 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 "base/feature_list.h" #include <utility> #include <vector> #include "base/logging.h" #include "base/metrics/field_trial.h" #include "base/strin...
33.216374
80
0.712676
bopopescu
2acd9c96f14697bc28ea6bbcba21a2d4fb13b485
288
cc
C++
test/foo_test.cc
jingleman/cmake-gtest-gbench-starter
19bb4e3c17a2dea4c372d9cdbfab1eb557d1a5f0
[ "MIT" ]
27
2017-01-14T19:48:26.000Z
2022-01-30T01:09:16.000Z
test/foo_test.cc
jingleman/cmake-gtest-gbench-starter
19bb4e3c17a2dea4c372d9cdbfab1eb557d1a5f0
[ "MIT" ]
1
2018-11-12T19:53:37.000Z
2018-11-30T18:23:10.000Z
test/foo_test.cc
jingleman/cmake-gtest-gbench-starter
19bb4e3c17a2dea4c372d9cdbfab1eb557d1a5f0
[ "MIT" ]
13
2017-02-12T00:53:53.000Z
2021-10-02T01:59:00.000Z
#include <iostream> #include "gtest/gtest.h" #include "nemo/foo.hh" TEST(NemoFoo, Positives) { EXPECT_EQ(38, nemo::foo(-4)); EXPECT_EQ(42, nemo::foo(0)); } TEST(NemoFoo, Negatives) { EXPECT_NE(-1, nemo::foo(99)); EXPECT_NE(0, nemo::foo(-41)); EXPECT_NE(42, nemo::foo(42)); }
18
31
0.642361
jingleman
2ace9b357ca42e5121c2dfc314cc8d4e2f176681
4,707
hpp
C++
test_conformance/clcpp/math_funcs/power_funcs.hpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
1
2020-06-05T04:01:03.000Z
2020-06-05T04:01:03.000Z
test_conformance/clcpp/math_funcs/power_funcs.hpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
3
2020-03-25T07:42:27.000Z
2020-04-02T13:23:42.000Z
test_conformance/clcpp/math_funcs/power_funcs.hpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
3
2020-10-26T02:53:08.000Z
2021-02-12T14:59:41.000Z
// // Copyright (c) 2017 The Khronos Group 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/licenses/LICENSE-2.0 // // Unless required by applicable la...
30.564935
114
0.647334
jainvikas8
2acfa040b8768fabb1f707f57acffb09db8ad8e8
10,266
cpp
C++
src/player.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/player.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/player.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2006-2015 Luke Salisbury 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 use of this software. Permission is granted to anyone to use this software for any purpose, includi...
27.449198
243
0.667933
mokoi
2ad14750c3fdc803624cffafce401d86c4f6f585
3,130
hpp
C++
libs/cargo-fd/internals/from-fdstore-internet-visitor.hpp
Samsung/cargo
a96848e803fe8277c3b21e8c172afa9a99e364d7
[ "Apache-2.0" ]
18
2016-01-27T09:14:17.000Z
2022-01-04T09:56:03.000Z
libs/cargo-fd/internals/from-fdstore-internet-visitor.hpp
Samsung/cargo
a96848e803fe8277c3b21e8c172afa9a99e364d7
[ "Apache-2.0" ]
null
null
null
libs/cargo-fd/internals/from-fdstore-internet-visitor.hpp
Samsung/cargo
a96848e803fe8277c3b21e8c172afa9a99e364d7
[ "Apache-2.0" ]
7
2016-03-07T03:18:05.000Z
2022-01-04T09:56:08.000Z
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: Pawel Kubik (p.kubik@samsung.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
29.528302
94
0.644728
Samsung
2ad78f66c799e817221b4d87cf20030462b9b7cf
10,289
cpp
C++
source/main.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
9
2017-10-31T22:50:28.000Z
2022-03-10T15:45:27.000Z
source/main.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
null
null
null
source/main.cpp
DavidAce/DMRG
e465fd903eade1bf6aa74daacd8e2cf02e9e9332
[ "MIT" ]
1
2019-07-16T00:27:56.000Z
2019-07-16T00:27:56.000Z
/*! \file */ #include <algorithms/class_algorithm_launcher.h> #include <config/nmspc_settings.h> #include <general/nmspc_tensor_omp.h> #include <h5pp/h5pp.h> #include <io/filesystem.h> #include <math/rnd.h> #include <tools/common/log.h> #if defined(OPENBLAS_AVAILABLE) #include <cblas.h> #include <openblas_con...
43.597458
159
0.648848
DavidAce
2ade04cfa5f59cb6558411487dafbfd39a12c9b5
2,515
cpp
C++
pop/src/commands/PopCommand.cpp
webOS-ports/mojomail
49358ac2878e010f5c6e3bd962f047c476c11fc3
[ "Apache-2.0" ]
6
2015-01-09T02:20:27.000Z
2021-01-02T08:14:23.000Z
mojomail/pop/src/commands/PopCommand.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
3
2019-05-11T19:17:56.000Z
2021-11-24T16:04:36.000Z
mojomail/pop/src/commands/PopCommand.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
6
2015-01-09T02:21:13.000Z
2021-01-02T02:37:10.000Z
// @@@LICENSE // // Copyright (c) 2009-2013 LG Electronics, 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/licenses/LICENSE-2.0 // // Unless require...
19.496124
76
0.706958
webOS-ports
2adfa4f053b54d03783143ef2975b341585ef9de
429
cpp
C++
1-Iniciante/10/2754.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/10/2754.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/10/2754.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
#include <stdio.h> int main(){ double a, b; a = 234.345; b = 45.698; printf("%.6lf - %.6lf\n", a, b); printf("%.0lf - %.0lf\n", a, b); printf("%.1lf - %.1lf\n", a, b); printf("%.2lf - %.2lf\n", a, b); printf("%.3lf - %.3lf\n", a, b); printf("%.6e - %.6e\n", a, b); printf("%.6E ...
21.45
36
0.417249
pedrospaulo
2ae11facb33c494f65b3fd0e9ced0c75457a3985
108
cpp
C++
src/core/operand.cpp
Koensw/Kintex
8977b6ceee75d6067bddb696572e6298ff667a03
[ "MIT" ]
1
2020-08-28T18:00:27.000Z
2020-08-28T18:00:27.000Z
src/core/operand.cpp
Koensw/Kintex
8977b6ceee75d6067bddb696572e6298ff667a03
[ "MIT" ]
null
null
null
src/core/operand.cpp
Koensw/Kintex
8977b6ceee75d6067bddb696572e6298ff667a03
[ "MIT" ]
null
null
null
#include "operand.h" using namespace kintex; Value Operand::result(Environment &env){ return *this; }
15.428571
41
0.712963
Koensw
2ae191ffc744a8211ebbf6e56ec0bc93226e076a
1,447
cpp
C++
Source/UnrealCPP/OnComponentHit/OnComponentHit.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
6
2018-04-22T15:27:39.000Z
2021-11-02T17:33:58.000Z
Source/UnrealCPP/OnComponentHit/OnComponentHit.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
null
null
null
Source/UnrealCPP/OnComponentHit/OnComponentHit.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
4
2018-07-26T15:39:46.000Z
2020-12-28T08:10:35.000Z
// Harrison McGuire // UE4 Version 4.18.2 // https://github.com/Harrison1/unrealcpp // https://severallevels.io // https://harrisonmcguire.com #include "OnComponentHit.h" #include "Components/BoxComponent.h" #include "Components/StaticMeshComponent.h" // Sets default values AOnComponentHit::AOnComponentHit() { // ...
27.826923
159
0.750518
Harrison1
2ae3ba705b6e7d9040649b9836c3bc144838a5dc
387
cc
C++
clfsm/CLReflect.v1/CLReflectionSystem.cc
mipalgu/gufsm
d822d36fa04946ffa6c3680725dfdba03fa9a0c5
[ "BSD-4-Clause" ]
null
null
null
clfsm/CLReflect.v1/CLReflectionSystem.cc
mipalgu/gufsm
d822d36fa04946ffa6c3680725dfdba03fa9a0c5
[ "BSD-4-Clause" ]
null
null
null
clfsm/CLReflect.v1/CLReflectionSystem.cc
mipalgu/gufsm
d822d36fa04946ffa6c3680725dfdba03fa9a0c5
[ "BSD-4-Clause" ]
1
2021-09-14T18:37:16.000Z
2021-09-14T18:37:16.000Z
#include "CLReflectionSystem.h" using namespace std; using namespace CLReflect; static CLReflectionSystem* _instance; CLReflectionSystem::CLReflectionSystem() { _metaStore = shared_ptr<CLMetaRegister>(new CLMetaRegister()); } CLReflectionSystem* CLReflectionSystem::getInstance() { if (_instance == NULL) ...
20.368421
66
0.757106
mipalgu
2ae78bbf1a3a33bd97dabb65c87239644c78f816
4,449
cpp
C++
Drivers/src/MPU6050.cpp
John-Carr/SolarGatorsBSP_STM
df68ccd2add244c90a573a5d4e1de5400361a2b5
[ "MIT" ]
null
null
null
Drivers/src/MPU6050.cpp
John-Carr/SolarGatorsBSP_STM
df68ccd2add244c90a573a5d4e1de5400361a2b5
[ "MIT" ]
null
null
null
Drivers/src/MPU6050.cpp
John-Carr/SolarGatorsBSP_STM
df68ccd2add244c90a573a5d4e1de5400361a2b5
[ "MIT" ]
null
null
null
/* * MPU6050.cpp * * Created on: Jan 24, 2022 * Author: John Carr */ #include "MPU6050.hpp" namespace SolarGators { namespace Drivers { MPU6050::MPU6050(I2C_HandleTypeDef *hi2c, uint8_t addr):hi2c_(hi2c),addr_(addr) { } MPU6050::~MPU6050() { } uint8_t MPU6050::Init() { uint8_t check; uint8_t Data; ...
27.128049
85
0.665093
John-Carr
2ae921a5e20ad74efac5998139bc703a9e69d222
1,814
hpp
C++
src/db_client.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/db_client.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/db_client.hpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
#ifndef DB_CLIENT_HPP_INCLUDED #define DB_CLIENT_HPP_INCLUDED #include <string> #include <functional> #include <boost/intrusive_ptr.hpp> #include "formula_callable.hpp" #include "formula_callable_definition.hpp" #include "variant.hpp" class db_client; typedef boost::intrusive_ptr<db_client> db_client_ptr; // Class...
31.824561
148
0.757993
sweetkristas
2af075aae50298928cf55c5df1dbf088ddc2a313
57,048
cc
C++
local/CrystalSystem.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
local/CrystalSystem.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
local/CrystalSystem.cc
dch0ph/libcmatrix
1f5fae7a398fe2c643252f93371b407dbfb70855
[ "MIT" ]
null
null
null
#undef LCM_SUPPRESS_VIEWS #include <cstdlib> #include "CrystalSystem.h" #include "lcm_MetaPropagation.h" #include "cmatrix.h" #include "rmatrix.h" #include "space_T.h" #include "ScratchList.h" #include "matlabio.h" #include "ListList.h" #include "NMR.h" namespace libcmatrix { using ::std::sqrt; const size_t inva...
28.958376
200
0.661005
dch0ph