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
4b425a2d842a1df69f26ce243a899d448cf64bd8
573
cpp
C++
samples/string_view_in_row.cpp
v1otusc/tabulate
528ef863662fc7c820d448a1515ee33f6ce8fe03
[ "BSL-1.0", "BSD-3-Clause", "MIT" ]
1,222
2019-12-30T14:18:28.000Z
2022-03-31T17:24:42.000Z
samples/string_view_in_row.cpp
v1otusc/tabulate
528ef863662fc7c820d448a1515ee33f6ce8fe03
[ "BSL-1.0", "BSD-3-Clause", "MIT" ]
59
2019-12-30T16:44:17.000Z
2022-03-29T07:33:55.000Z
samples/string_view_in_row.cpp
v1otusc/tabulate
528ef863662fc7c820d448a1515ee33f6ce8fe03
[ "BSL-1.0", "BSD-3-Clause", "MIT" ]
99
2019-12-30T21:59:21.000Z
2022-03-30T03:15:15.000Z
#include <tabulate/table.hpp> using namespace tabulate; using Row_t = Table::Row_t; #if __cplusplus >= 201703L #include <string_view> using std::string_view; #else #include <tabulate/string_view_lite.hpp> using nonstd::string_view; #endif int main() { Table table; string_view c0 = "string_view"; const char * c...
19.1
40
0.635253
v1otusc
4b44ac6efd808341b83989870d25e6181550ac29
14,567
cpp
C++
Tudat/InputOutput/UnitTests/unitTestParsedDataVectorUtilities.cpp
J-Westin/tudat
82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8
[ "BSD-3-Clause" ]
null
null
null
Tudat/InputOutput/UnitTests/unitTestParsedDataVectorUtilities.cpp
J-Westin/tudat
82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8
[ "BSD-3-Clause" ]
null
null
null
Tudat/InputOutput/UnitTests/unitTestParsedDataVectorUtilities.cpp
J-Westin/tudat
82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2018, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
51.292254
100
0.700487
J-Westin
4b44cbf688c171774147f80c3062e6971c7d3188
7,070
cpp
C++
SampleFramework12/v1.00/Graphics/SwapChain.cpp
TheRealMJP/OverlappedExecution
ae8c64315228e38b13b7be59e97db8996507eaee
[ "MIT" ]
83
2017-03-06T08:42:20.000Z
2022-03-27T11:24:40.000Z
SampleFramework12/v1.00/Graphics/SwapChain.cpp
TheRealMJP/OverlappedExecution
ae8c64315228e38b13b7be59e97db8996507eaee
[ "MIT" ]
null
null
null
SampleFramework12/v1.00/Graphics/SwapChain.cpp
TheRealMJP/OverlappedExecution
ae8c64315228e38b13b7be59e97db8996507eaee
[ "MIT" ]
9
2017-03-06T16:21:06.000Z
2020-12-11T05:10:51.000Z
//================================================================================================= // // MJP's DX12 Sample Framework // http://mynameismjp.wordpress.com/ // // All code licensed under the MIT license // //===============================================================================================...
31.145374
155
0.662801
TheRealMJP
4b46b4645de74afd7863b98b47e9ef771d48537e
4,672
cxx
C++
Examples/Statistics/SampleStatistics.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
3
2019-11-19T09:47:25.000Z
2022-02-24T00:32:31.000Z
Examples/Statistics/SampleStatistics.cxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2019-03-18T14:19:49.000Z
2020-01-11T13:54:33.000Z
Examples/Statistics/SampleStatistics.cxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2022-02-24T00:32:36.000Z
2022-02-24T00:32:36.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
30.940397
78
0.684717
rdsouza10
4b47afe991e9085ab9f43d3ae42c50b1ae3afc76
1,651
cpp
C++
src/comm/MessageXY.cpp
PyroIgnus/ECE1747-A1-SimMud
74c241c918a5b5ebfb40c88274e67ba6c5d85d7a
[ "MIT" ]
null
null
null
src/comm/MessageXY.cpp
PyroIgnus/ECE1747-A1-SimMud
74c241c918a5b5ebfb40c88274e67ba6c5d85d7a
[ "MIT" ]
null
null
null
src/comm/MessageXY.cpp
PyroIgnus/ECE1747-A1-SimMud
74c241c918a5b5ebfb40c88274e67ba6c5d85d7a
[ "MIT" ]
null
null
null
/*************************************************************************************************** * * SUBJECT: * A Benckmark for Massive Multiplayer Online Games * Game Server and Client * * AUTHOR: * Mihai Paslariu * Politehnica University of Bucharest, Bucharest, Romania * mihplaesu@yahoo.com * * T...
23.253521
100
0.570563
PyroIgnus
4b4874b242b5c238fe20e27d9292366da3ed3763
9,940
cpp
C++
src/render/3dmath.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/render/3dmath.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/render/3dmath.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/Render/3dMath.cpp $ * $Revision: 121 $ * $...
23.333333
102
0.660765
ptitSeb
4b4d6de983f55f6b1d9c701406121b7508b569db
1,898
hpp
C++
src/ibeo_8l_sdk/src/ibeosdk/datablocks/snippets/MetaInformationEcuId.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
1
2020-06-19T11:01:49.000Z
2020-06-19T11:01:49.000Z
include/ibeosdk/datablocks/snippets/MetaInformationEcuId.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
include/ibeosdk/datablocks/snippets/MetaInformationEcuId.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
2
2020-06-19T11:01:48.000Z
2020-10-29T03:07:14.000Z
//====================================================================== /*! \file MetaInformationEcuId.hpp * * \copydoc Copyright * \author Jan Christian Dittmer (jcd) * \date Apr 5, 2016 *///------------------------------------------------------------------- #ifndef METAINFORMATIONECUID_HPP_SEEN #define METAINF...
30.612903
82
0.513699
tomcamp0228
4b4ebeac9e94369ea686704495b410ac2b5750ff
5,922
cpp
C++
cpp/Assignment5/lib/EulerSolver.cpp
etkeys/cs417-in-python
1d6d11ac2ed2bc738f388571238677077581af86
[ "MIT" ]
null
null
null
cpp/Assignment5/lib/EulerSolver.cpp
etkeys/cs417-in-python
1d6d11ac2ed2bc738f388571238677077581af86
[ "MIT" ]
47
2020-12-31T15:48:05.000Z
2021-03-18T11:52:49.000Z
cpp/Assignment5/lib/EulerSolver.cpp
etkeys/cs417-in-python
1d6d11ac2ed2bc738f388571238677077581af86
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include "EulerSolver.hxx" #include "Utilities.hxx" #ifndef ENABLETRACE_EULERSOLVER #ifdef TRACEEULER #define ENABLETRACE_EULERSOLVER true #else #define ENABLETRACE_EULERSOLVER false #endif #endif #ifndef METHODHEADER_EULER #define METHODHEADER_EU...
31.5
114
0.655353
etkeys
4b4f467b57222f79423431170b4b76ee9bee3dde
22,251
cpp
C++
connectors/dds4ccm/tests/MultipleTemp/Connector/MultipleTemp_Connector_T.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
connectors/dds4ccm/tests/MultipleTemp/Connector/MultipleTemp_Connector_T.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
connectors/dds4ccm/tests/MultipleTemp/Connector/MultipleTemp_Connector_T.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
#include "connectors/dds4ccm/impl/DDS_Base_Connector_T.h" #include "ace/Reactor.h" template <typename CCM_TYPE, typename DDS_TYPE_T, bool FIXED_T, typename SEQ_TYPE_T, typename DDS_TYPE_Y, bool FIXED_Y, typename SEQ_TYPE_Y> FooConnector_Connector_T<CCM_TYPE, DDS_TYPE_T, FIXED_T, SEQ_TYPE_T, DDS_TYPE_Y, FIXED_Y, SEQ_TY...
42.955598
141
0.708103
qinwang13
4b51f84a68eedebdf801dc38c25a4464527843e0
23,391
cpp
C++
src/app/tree/treewidget.cpp
rburchell/communi-desktop
0c0abb860af1cc1e6c54ad279025a5db04c7b031
[ "BSD-3-Clause" ]
null
null
null
src/app/tree/treewidget.cpp
rburchell/communi-desktop
0c0abb860af1cc1e6c54ad279025a5db04c7b031
[ "BSD-3-Clause" ]
null
null
null
src/app/tree/treewidget.cpp
rburchell/communi-desktop
0c0abb860af1cc1e6c54ad279025a5db04c7b031
[ "BSD-3-Clause" ]
1
2018-07-10T03:29:11.000Z
2018-07-10T03:29:11.000Z
/* Copyright (C) 2008-2015 The Communi Project You may use this file under the terms of BSD license as follows: 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 ab...
30.777632
109
0.649523
rburchell
4b5208eeb6e20ed95e1fa58992143ca9924846c9
69,798
cpp
C++
src/core/NEON/kernels/NEDepthConvertLayerKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
1
2021-07-03T23:56:55.000Z
2021-07-03T23:56:55.000Z
src/core/NEON/kernels/NEDepthConvertLayerKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
null
null
null
src/core/NEON/kernels/NEDepthConvertLayerKernel.cpp
wql15/ComputeLibrary
11eac125873e91c828e318224db45701e2f32b39
[ "MIT" ]
1
2021-07-18T06:56:33.000Z
2021-07-18T06:56:33.000Z
/* * Copyright (c) 2016-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
49.467045
204
0.416015
wql15
4b52f6ff375e6b1e2eba28061460ad2be4b35bcf
3,225
cpp
C++
src/text_writer.cpp
florin-crisan/cpp-native
f0872b795c65213852f9439fb9489179bd895226
[ "MIT" ]
1
2019-01-17T14:37:31.000Z
2019-01-17T14:37:31.000Z
src/text_writer.cpp
florin-crisan/cpp-native
f0872b795c65213852f9439fb9489179bd895226
[ "MIT" ]
null
null
null
src/text_writer.cpp
florin-crisan/cpp-native
f0872b795c65213852f9439fb9489179bd895226
[ "MIT" ]
null
null
null
#include <fcrisan/native/text_writer.hpp> #include <fcrisan/native/file.hpp> #include <fcrisan/native/text.hpp> #include <fcrisan/native/error.hpp> #include <stdexcept> #include <SafeInt.hpp> #include <Windows.h> #undef min #undef max template <typename T> using safe_int = SafeInt<T>; namespace fcrisan::native { st...
26.434426
157
0.668837
florin-crisan
4b57f0bc05d80d2e392cc1f0f71768a6524d2724
1,112
cpp
C++
src/RGBleds.cpp
JEB12345/TeensyLC_SBv2
92b4fdf4cac98cbab047083e3867d744b8f02414
[ "Apache-2.0" ]
null
null
null
src/RGBleds.cpp
JEB12345/TeensyLC_SBv2
92b4fdf4cac98cbab047083e3867d744b8f02414
[ "Apache-2.0" ]
null
null
null
src/RGBleds.cpp
JEB12345/TeensyLC_SBv2
92b4fdf4cac98cbab047083e3867d744b8f02414
[ "Apache-2.0" ]
null
null
null
#include "RGBleds.h" const uint8_t ledsPerStrip = 20; // LED strip setup configs DMAMEM int displayMemory[ledsPerStrip*6]; // OctoWS2811 library docs state you need times 6 # LEDs int drawingMemory[ledsPerStrip*6]; const int RGBconfig = WS2811_GRB | WS2811_800kHz; OctoWS2811 leds(ledsPerStrip, displayMemory, drawingM...
28.512821
98
0.659173
JEB12345
4b5ae5802570f7db6506fd14cb9fa2f96bbf0d56
8,817
cpp
C++
src/Storages/MergeTree/MergeTreeWriteAheadLog.cpp
liuyonghengheng/ClickHouse
34b2a460ba9149f986feb4edcb4583f2cff9ecc0
[ "Apache-2.0" ]
2
2021-03-25T06:53:00.000Z
2021-04-29T07:32:51.000Z
src/Storages/MergeTree/MergeTreeWriteAheadLog.cpp
liuyonghengheng/ClickHouse
34b2a460ba9149f986feb4edcb4583f2cff9ecc0
[ "Apache-2.0" ]
1
2020-03-26T01:50:51.000Z
2020-03-26T01:50:51.000Z
src/Storages/MergeTree/MergeTreeWriteAheadLog.cpp
liuyonghengheng/ClickHouse
34b2a460ba9149f986feb4edcb4583f2cff9ecc0
[ "Apache-2.0" ]
null
null
null
#include <Storages/MergeTree/MergeTreeWriteAheadLog.h> #include <Storages/MergeTree/MergeTreeDataPartInMemory.h> #include <Storages/MergeTree/MergeTreeData.h> #include <Storages/MergeTree/MergedBlockOutputStream.h> #include <IO/ReadHelpers.h> #include <Poco/File.h> #include <sys/time.h> namespace DB { namespace Error...
33.146617
157
0.649654
liuyonghengheng
4b5ba72df35f5db4221f2e6bf41f55029162dcb6
168,757
cc
C++
INET_EC/routing/pim/PIMPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/routing/pim/PIMPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
null
null
null
INET_EC/routing/pim/PIMPacket_m.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
1
2018-10-09T05:00:05.000Z
2018-10-09T05:00:05.000Z
// // Generated file, do not edit! Created by nedtool 5.1 from inet/routing/pim/PIMPacket.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #if defined(__clang__) # pragma clang diagnostic ignored "-Wsha...
32.755629
141
0.693654
LarryNguyen
4b61fd7740180dbf42a3b9974cf12672f373d63e
4,733
cc
C++
src/tint/sem/sem_array_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/sem/sem_array_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/sem/sem_array_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
36.407692
75
0.616311
encounter
4b63bec44af35d096ba70e6f8b8c6d625c3ada6b
2,998
cpp
C++
src/CThreadLock.cpp
MenaceSan/GrayCore
244e394adaefa17399232896fbd04b7aaeebac21
[ "MIT" ]
1
2020-12-18T04:55:27.000Z
2020-12-18T04:55:27.000Z
src/CThreadLock.cpp
MenaceSan/GrayCore
244e394adaefa17399232896fbd04b7aaeebac21
[ "MIT" ]
null
null
null
src/CThreadLock.cpp
MenaceSan/GrayCore
244e394adaefa17399232896fbd04b7aaeebac21
[ "MIT" ]
null
null
null
// //! @file cThreadLock.cpp //! @copyright 1992 - 2020 Dennis Robinson (http://www.menasoft.com) // #include "pch.h" #include "cThreadLock.h" namespace Gray { bool cThreadState::WaitForThreadExit(TIMESYSD_t iTimeMSec) noexcept // virtual { // similar to ::pthread_join() but with a timer. const cTimeSys tStart(c...
27.504587
106
0.683789
MenaceSan
4b653e3a8d9bd906be1de7975560a0f342b0e753
2,116
cpp
C++
src/test/horn_subsume_model_converter.cpp
iaakhter/MYZ3
3b95aa583a37fb3a5df6451f9d76ef04b27040dc
[ "MIT" ]
1
2021-08-13T08:20:58.000Z
2021-08-13T08:20:58.000Z
src/test/horn_subsume_model_converter.cpp
abarth/z3
c8931a7bba6e9250e5c92d4c520ecfcf6a51f5d3
[ "MIT" ]
null
null
null
src/test/horn_subsume_model_converter.cpp
abarth/z3
c8931a7bba6e9250e5c92d4c520ecfcf6a51f5d3
[ "MIT" ]
null
null
null
/*++ Copyright (c) 2015 Microsoft Corporation --*/ #include "horn_subsume_model_converter.h" #include "arith_decl_plugin.h" #include "model_smt2_pp.h" #include "reg_decl_plugins.h" void tst_horn_subsume_model_converter() { ast_manager m; reg_decl_plugins(m); arith_util a(m); ptr_vector<sort> ints;...
31.117647
97
0.617202
iaakhter
4b65b0870e793a1af59ee7a8019b20e95931c96e
245
hpp
C++
include/experimental/bits/new_type.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
3
2018-10-23T18:46:39.000Z
2019-06-24T00:46:10.000Z
include/experimental/bits/new_type.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
27
2018-11-10T14:19:16.000Z
2020-03-08T23:33:01.000Z
include/experimental/bits/new_type.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
1
2018-11-05T06:17:12.000Z
2018-11-05T06:17:12.000Z
#pragma once namespace std { namespace experimental { /*! new_type implements the newtype keyword from Haskell */ template <typename T, typename K> class new_type : public T { using T::T; }; } // namespace experimental } // namespace std
16.333333
59
0.714286
stdml
4b673e2b7b1d63d2b940374c46aea72d2853dfb3
591
cpp
C++
src/main.cpp
avilleret/VerticalPlayer
d6c0efc5016bd026f75dc9c6d66a26bb7e0546d0
[ "MIT" ]
null
null
null
src/main.cpp
avilleret/VerticalPlayer
d6c0efc5016bd026f75dc9c6d66a26bb7e0546d0
[ "MIT" ]
null
null
null
src/main.cpp
avilleret/VerticalPlayer
d6c0efc5016bd026f75dc9c6d66a26bb7e0546d0
[ "MIT" ]
null
null
null
#include "ofApp.h" int main() { ofGLFWWindowSettings settings; settings.width=1920; settings.height=1200; settings.decorated=false; //settings.windowMode = OF_GAME_MODE; settings.windowMode = OF_FULLSCREEN; //settings.multiMonitorFullScreen = true; #if defined(ONE) settings.setPosition(ofPoint(1920,0))...
21.107143
43
0.736041
avilleret
b49ccd35b7b5544cb5b9474761f59d9fe716c8ea
902
cpp
C++
Medium/16_3_Sum_Closest.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/16_3_Sum_Closest.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/16_3_Sum_Closest.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: int threeSumClosest(vector<int>& nums, int target) { sort(nums.begin(), nums.end()); int N = (int) nums.size(); int closest = nums[0] + nums[1] + nums[2]; for(int first = 0; first < N - 2; first++) { if(first > 0 && nums[first] == nums[first-1]) ...
33.407407
71
0.416851
ShehabMMohamed
b4a0ec0ce6b2f3391f861e49ab953558fcbe9cd6
12,772
cpp
C++
MMOCoreORB/src/server/zone/objects/tangible/firework/components/FireworkShowMenuComponent.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/tangible/firework/components/FireworkShowMenuComponent.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/tangible/firework/components/FireworkShowMenuComponent.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
#include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/player/PlayerObject.h" #include "server/zone/Zone.h" #include "server/zone/ZoneServer.h" #include "FireworkShowMenuComponent.h" #include "server/zone/packets/object/ObjectMenuResponse.h" #include "server/zone/objects/tangible/firewor...
41.87541
162
0.771766
V-Fib
b4a0ffa89ca6d08e26821daa19f8dc4874a90fe5
6,764
hpp
C++
modules/zmq/src/vendor/src/pipe.hpp
lubyk/lubyk
e4792099d61c460497aacda1a3c08f23f5bb84ed
[ "MIT" ]
18
2015-05-11T16:18:23.000Z
2021-12-03T09:28:51.000Z
libzmq/zeromq-2.1.9/src/pipe.hpp
simonrussell/libzmq-gem
a67f8680fc5109bd10c24a7daff052a6e5795b9d
[ "BSD-3-Clause" ]
2
2016-07-15T09:13:41.000Z
2019-09-17T11:38:21.000Z
libzmq/zeromq-2.1.9/src/pipe.hpp
simonrussell/libzmq-gem
a67f8680fc5109bd10c24a7daff052a6e5795b9d
[ "BSD-3-Clause" ]
4
2015-05-13T20:26:28.000Z
2021-12-03T09:28:52.000Z
/* Copyright (c) 2007-2011 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softw...
31.460465
80
0.641336
lubyk
b4a8b8175dd7a07afe78d645890d86911072424b
2,141
hpp
C++
plugins/account_by_key/include/golos/plugins/account_by_key/account_by_key_objects.hpp
rusladder/LadderChain
56a0a8ecebf0c224561a8d47beb4cbbd556e16bf
[ "MIT" ]
80
2016-09-23T14:52:34.000Z
2019-08-28T22:57:16.000Z
plugins/account_by_key/include/golos/plugins/account_by_key/account_by_key_objects.hpp
rusladder/LadderChain
56a0a8ecebf0c224561a8d47beb4cbbd556e16bf
[ "MIT" ]
942
2016-09-07T00:19:21.000Z
2019-08-18T21:35:00.000Z
plugins/account_by_key/include/golos/plugins/account_by_key/account_by_key_objects.hpp
rusladder/LadderChain
56a0a8ecebf0c224561a8d47beb4cbbd556e16bf
[ "MIT" ]
79
2016-10-17T22:37:23.000Z
2021-02-25T19:55:17.000Z
#pragma once #include <golos/chain/steem_object_types.hpp> #include <golos/protocol/types.hpp> #include <golos/plugins/json_rpc/utility.hpp> #include <golos/plugins/json_rpc/plugin.hpp> #include <boost/multi_index/composite_key.hpp> namespace golos { namespace plugins { namespace account_by_key { ...
31.955224
125
0.617936
rusladder
b4ab2f33aaa199abfb2d039af2f807294756d675
3,460
hpp
C++
code/typeswitch/2012-06-11/testshape.hpp
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
1,310
2015-01-04T03:44:04.000Z
2022-03-18T04:44:01.000Z
vendor/mach7/typeswitch/2012-06-11/testshape.hpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
62
2015-01-12T07:59:17.000Z
2021-11-14T22:02:14.000Z
vendor/mach7/typeswitch/2012-06-11/testshape.hpp
arrow-lang/arrow-legacy
5857697b88201c9a6abdd63c1b132741f3451b01
[ "MIT" ]
108
2015-02-13T17:39:07.000Z
2021-11-18T11:06:59.000Z
/// /// \file testshape.hpp /// /// Shape class hierarchy used in our synthetic tests. /// /// \autor Yuriy Solodkyy <yuriy.solodkyy@gmail.com> /// /// This file is a part of the XTL framework (http://parasol.tamu.edu/xtl/). /// Copyright (C) 2005-2012 Texas A&M University. /// All rights reserved. /// #pr...
28.833333
137
0.557514
akrzemi1
b4ae4e0ef8c2654a674db86aa6296d858d7f9ec7
2,713
cpp
C++
examples/circle/src/circle.cpp
bezout/LMA
9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2
[ "BSL-1.0" ]
29
2015-12-08T12:07:30.000Z
2022-01-08T21:23:01.000Z
examples/circle/src/circle.cpp
ayumizll/LMA
e945452e12a8b05bd17400b46a20a5322aeda01d
[ "BSL-1.0" ]
3
2016-07-11T16:23:48.000Z
2017-04-05T13:33:00.000Z
examples/circle/src/circle.cpp
bezout/LMA
9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2
[ "BSL-1.0" ]
8
2015-12-21T01:52:27.000Z
2017-12-26T02:26:55.000Z
//============================================================================== // Copyright 2015 INSTITUT PASCAL UMR 6602 CNRS/Univ. Clermont II // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at // http...
24.223214
88
0.557317
bezout
b4b1d50748af9f3a153d8724e70a6ef155b4f088
472
cpp
C++
VirtualBlox/emscripten/FakeArduinoOTA.cpp
jcasts/blocks-with-screens
024e8336905bb41a56b943ce137b324d397d9dc7
[ "MIT" ]
24
2020-11-18T19:16:06.000Z
2022-02-24T05:27:59.000Z
VirtualBlox/emscripten/FakeArduinoOTA.cpp
jcasts/blocks-with-screens
024e8336905bb41a56b943ce137b324d397d9dc7
[ "MIT" ]
8
2021-11-14T16:18:52.000Z
2021-11-29T19:56:05.000Z
VirtualBlox/emscripten/FakeArduinoOTA.cpp
jcasts/blocks-with-screens
024e8336905bb41a56b943ce137b324d397d9dc7
[ "MIT" ]
6
2021-03-16T23:13:10.000Z
2021-11-24T01:40:48.000Z
#include "ArduinoOTA.h" FakeArduinoOTA::FakeArduinoOTA() { } FakeArduinoOTA::~FakeArduinoOTA() { } void FakeArduinoOTA::setHostname(const char* hostname) { } void FakeArduinoOTA::onStart(THandlerFunction fn) { } void FakeArduinoOTA::onEnd(THandlerFunction fn) {} void FakeArduinoOTA::onError(THandlerFunction_Er...
17.481481
64
0.775424
jcasts
b4b5880d8da0e2fc95126d1c9b9a20779a7c0c67
1,322
hpp
C++
addons/hidden/CfgVehicles.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/hidden/CfgVehicles.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/hidden/CfgVehicles.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
class CfgVehicles { class CUP_supplyCrate_Base; class CUP_VABox: CUP_supplyCrate_Base { scope = 1; }; class CUP_VABox_GER: CUP_supplyCrate_Base { scope = 1; }; class CUP_VABox_USARMY: CUP_supplyCrate_Base { scope = 1; }; class CUP_VABox_CDF: CUP_supplyCrate_Base {...
24.036364
53
0.603631
Theseus-Aegis
b4b5b69e716d7a563879485171fb4d34114d520d
1,640
hpp
C++
EmojicodeCompiler/EmojicodeCompiler.hpp
jdiss/emojicode
f39fa328763b9f48a5c18cada709da964371c2a4
[ "Artistic-2.0" ]
1
2019-06-27T13:58:43.000Z
2019-06-27T13:58:43.000Z
EmojicodeCompiler/EmojicodeCompiler.hpp
icodeing/emojicode
f39fa328763b9f48a5c18cada709da964371c2a4
[ "Artistic-2.0" ]
null
null
null
EmojicodeCompiler/EmojicodeCompiler.hpp
icodeing/emojicode
f39fa328763b9f48a5c18cada709da964371c2a4
[ "Artistic-2.0" ]
null
null
null
// // EmojicodeCompiler.h // Emojicode // // Created by Theo Weidmann on 01.03.15. // Copyright (c) 2015 Theo Weidmann. All rights reserved. // #ifndef EmojicodeCompiler_hpp #define EmojicodeCompiler_hpp #define EmojicodeCompiler #include <string> #include "../EmojicodeShared.h" #include "Emojis.h" class TypeDe...
26.031746
91
0.768902
jdiss
b4bb9d49ed60820be59ca5c0da710ac587db0e23
299
cpp
C++
Practice/chapter_06/exercise_6_27.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
2
2022-03-21T07:08:08.000Z
2022-03-21T07:08:13.000Z
Practice/chapter_06/exercise_6_27.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
null
null
null
Practice/chapter_06/exercise_6_27.cpp
cotecsz/Cpp-Primer-Note
1f1bc0a3a23651a98afdf85e86852642fce526fa
[ "Apache-2.0" ]
1
2021-12-27T01:00:18.000Z
2021-12-27T01:00:18.000Z
#include <iostream> #include <initializer_list> int sum(std::initializer_list<int> il); int main(){ auto il = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; std::cout << sum(il) << std::endl; return 0; } int sum(std::initializer_list<int> il){ int sum = 0; for (auto i : il) sum += i; return sum; }
14.95
43
0.595318
cotecsz
b4bba16f31ed8712024c6cec4ffc13bc787341df
755
hpp
C++
pythran/pythonic/__builtin__/dict/iterkeys.hpp
wizardxz/pythran
9a1b1c08cf9d3478be3b6313ac8ebca9e5b88e65
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/dict/iterkeys.hpp
wizardxz/pythran
9a1b1c08cf9d3478be3b6313ac8ebca9e5b88e65
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/dict/iterkeys.hpp
wizardxz/pythran
9a1b1c08cf9d3478be3b6313ac8ebca9e5b88e65
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_BUILTIN_DICT_ITERKEYS_HPP #define PYTHONIC_BUILTIN_DICT_ITERKEYS_HPP #include "pythonic/include/__builtin__/dict/iterkeys.hpp" #include "pythonic/types/dict.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace __builtin__ { namespace dict { // We need a copy here for lval...
23.59375
70
0.674172
wizardxz
b4bfcbbffd2f74f3c929945a32a24708b646c43b
775
cpp
C++
24.cpp
fash97/LeetCode
bfff2cda46b68f1bd5fca0ce1e357f9fe3eccd2f
[ "MIT" ]
null
null
null
24.cpp
fash97/LeetCode
bfff2cda46b68f1bd5fca0ce1e357f9fe3eccd2f
[ "MIT" ]
null
null
null
24.cpp
fash97/LeetCode
bfff2cda46b68f1bd5fca0ce1e357f9fe3eccd2f
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* swapPairs(ListNode* head) { if(head == NULL || head->next == NULL) return head; ListNode* previous = NULL; ...
25
58
0.539355
fash97
b4c0dccafd847df013e4734c3ec32c9cbeec3909
183,743
cxx
C++
PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckPerformanceCascadePbPb.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
1
2021-06-11T20:36:16.000Z
2021-06-11T20:36:16.000Z
PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckPerformanceCascadePbPb.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
1
2017-03-14T15:11:43.000Z
2017-03-14T15:53:09.000Z
PWGLF/STRANGENESS/Cascades/AliAnalysisTaskCheckPerformanceCascadePbPb.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
1
2018-09-22T01:09:25.000Z
2018-09-22T01:09:25.000Z
/*************************************************************** * * Authors : Antonin Maire, Boris Hippolyte * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distrib...
45.67313
277
0.64784
wiechula
b4c137e7bff73ac2221d6142a8aa4164ee27c61e
6,562
cc
C++
src/atlas/array/native/NativeMakeView.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
3
2021-08-17T03:08:45.000Z
2021-09-09T09:22:54.000Z
src/atlas/array/native/NativeMakeView.cc
pmarguinaud/atlas
7e0a1251685e07a5dcccc84f4d9251d5a066e2ee
[ "Apache-2.0" ]
62
2020-10-21T15:27:38.000Z
2022-03-28T12:42:43.000Z
src/atlas/array/native/NativeMakeView.cc
pmarguinaud/atlas
7e0a1251685e07a5dcccc84f4d9251d5a066e2ee
[ "Apache-2.0" ]
1
2021-03-10T19:19:08.000Z
2021-03-10T19:19:08.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
41.27044
117
0.66306
wdeconinck
b4c23da62855c519be4f3603ae31aff465d04e71
40,789
cpp
C++
src/qt/qtbase/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid c...
34.952014
155
0.526367
zwollerob
b4c5e448cd0f98b3853657e363c5ed8bbc0464c0
10,448
cpp
C++
qt/editor_dialog.cpp
EVi1b7wO/omim
1aafdb102a200149f7ad0cd3173aa7ca2cc32300
[ "Apache-2.0" ]
null
null
null
qt/editor_dialog.cpp
EVi1b7wO/omim
1aafdb102a200149f7ad0cd3173aa7ca2cc32300
[ "Apache-2.0" ]
null
null
null
qt/editor_dialog.cpp
EVi1b7wO/omim
1aafdb102a200149f7ad0cd3173aa7ca2cc32300
[ "Apache-2.0" ]
null
null
null
#include "qt/editor_dialog.hpp" #include "indexer/editable_map_object.hpp" #include "base/stl_helpers.hpp" #include "base/string_utils.hpp" #include "std/algorithm.hpp" #include <QtWidgets/QComboBox> #include <QtWidgets/QDialogButtonBox> #include <QtWidgets/QGridLayout> #include <QtWidgets/QHBoxLayout> #include <Qt...
37.582734
101
0.658978
EVi1b7wO
b4c7333da9a01826779b252ca596e64f1d4c065a
3,934
hpp
C++
include/lxgui/impl/gui_sfml_font.hpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
50
2015-01-15T10:00:31.000Z
2022-02-04T20:45:25.000Z
include/lxgui/impl/gui_sfml_font.hpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
88
2020-03-15T17:40:04.000Z
2022-03-15T08:21:44.000Z
include/lxgui/impl/gui_sfml_font.hpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
19
2017-03-11T04:32:01.000Z
2022-01-12T22:47:12.000Z
#ifndef LXGUI_GUI_SFML_FONT_HPP #define LXGUI_GUI_SFML_FONT_HPP #include "lxgui/impl/gui_sfml_material.hpp" #include <lxgui/utils.hpp> #include <lxgui/gui_font.hpp> #include <SFML/Graphics/Font.hpp> #include <vector> namespace lxgui { namespace gui { namespace sfml { /// A texture containing ch...
37.826923
104
0.628114
cschreib
b4cae633d474f39835b3d1a5256382b6ba8c5067
1,422
cpp
C++
cpp/PrincessPeach/PrincessPeach/enemy.cpp
mvshmakov/junk
d67b31d918772018f78c3b1ff43d2bfd72bc57c9
[ "WTFPL" ]
null
null
null
cpp/PrincessPeach/PrincessPeach/enemy.cpp
mvshmakov/junk
d67b31d918772018f78c3b1ff43d2bfd72bc57c9
[ "WTFPL" ]
1
2022-03-02T09:56:38.000Z
2022-03-02T09:56:38.000Z
cpp/PrincessPeach2/PrincessPeach/enemy.cpp
mvshmakov/junk
d67b31d918772018f78c3b1ff43d2bfd72bc57c9
[ "WTFPL" ]
null
null
null
#include "enemy.h" #include "player.h" #include "prototypes.h" ENEMY::ENEMY(int x, int y) { image.loadFromFile("Mario_tileset.png"); texture.loadFromImage(image); sprite.setTexture(texture); rect = FloatRect(x * 32.0F + 16.0F, y * 32.0F + 16.0F, 16.0F, 16.0F); dx = 0.05F; currentFrame = 0; life = ...
25.392857
79
0.56962
mvshmakov
b4cc92f932ca2590a0c88331b8c569177a6e7b5b
34,358
cpp
C++
src/kernel.cpp
denravonska/Gridcoin-Research
d2ca3c5c4809a7bcc56d112994f0b85763cfc6ab
[ "MIT" ]
null
null
null
src/kernel.cpp
denravonska/Gridcoin-Research
d2ca3c5c4809a7bcc56d112994f0b85763cfc6ab
[ "MIT" ]
2
2018-04-01T18:19:28.000Z
2018-05-15T05:09:17.000Z
src/kernel.cpp
denravonska/Gridcoin-Research
d2ca3c5c4809a7bcc56d112994f0b85763cfc6ab
[ "MIT" ]
1
2017-02-24T15:49:27.000Z
2017-02-24T15:49:27.000Z
// Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2014 The Gridcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "kernel.h" #include "txdb.h" std::s...
40.468787
205
0.702224
denravonska
b4d0d5e9efa41a6b5aca06eb4275621f33910d14
26,064
cpp
C++
src/brokerlib/brokerregistry/src/brokerregistry.cpp
chrissmith-mcafee/opendxl-broker
a3f985fc19699ab8fcff726bbd1974290eb6e044
[ "Apache-2.0", "MIT" ]
13
2017-10-15T14:32:34.000Z
2022-02-17T08:25:26.000Z
src/brokerlib/brokerregistry/src/brokerregistry.cpp
vkrish-mcafee/opendxl-broker
39c5d06c233dbe01146f0db781eccfd67bbaafbf
[ "Apache-2.0", "MIT" ]
14
2017-10-17T18:23:50.000Z
2021-12-10T22:05:25.000Z
src/brokerlib/brokerregistry/src/brokerregistry.cpp
vkrish-mcafee/opendxl-broker
39c5d06c233dbe01146f0db781eccfd67bbaafbf
[ "Apache-2.0", "MIT" ]
26
2017-10-27T00:27:29.000Z
2021-09-02T16:57:55.000Z
/****************************************************************************** * Copyright (c) 2018 McAfee, LLC - All Rights Reserved. *****************************************************************************/ #include "include/BrokerHelpers.h" #include "include/BrokerSettings.h" #include "include/SimpleLog.h" ...
27.292147
111
0.598872
chrissmith-mcafee
b4d232a3474d9c0fc690a3e9bf9f2de81e161555
24,174
cpp
C++
WonderBrush/src/tools/shape/VectorPath.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
11
2018-11-10T11:14:11.000Z
2021-12-27T17:17:08.000Z
WonderBrush/src/tools/shape/VectorPath.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
27
2018-11-11T00:06:25.000Z
2021-06-24T06:43:38.000Z
WonderBrush/src/tools/shape/VectorPath.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
7
2018-11-10T20:32:49.000Z
2021-03-15T18:03:42.000Z
// VectorPath #include <malloc.h> #include <stdio.h> #include <string.h> #include <Bitmap.h> #include <Message.h> #include <TypeConstants.h> #include <agg_alpha_mask_u8.h> #include <agg_basics.h> #include <agg_bounding_rect.h> #include <agg_conv_curve.h> #include <agg_conv_transform.h> #include <agg_curves.h> #inclu...
24.174
107
0.634856
waddlesplash
b4d27c662f35ed14b3a9c343280ea1d797a5270b
37,816
cpp
C++
GUIWidgets/BasicStreamsViewer/BasicStreamsViewer.cpp
gladk/Dyssol-open
53eb7b589ad03eb477d743ee6a90ee10297a9366
[ "BSD-3-Clause" ]
1
2020-07-31T07:10:11.000Z
2020-07-31T07:10:11.000Z
GUIWidgets/BasicStreamsViewer/BasicStreamsViewer.cpp
gladk/Dyssol-open
53eb7b589ad03eb477d743ee6a90ee10297a9366
[ "BSD-3-Clause" ]
null
null
null
GUIWidgets/BasicStreamsViewer/BasicStreamsViewer.cpp
gladk/Dyssol-open
53eb7b589ad03eb477d743ee6a90ee10297a9366
[ "BSD-3-Clause" ]
1
2021-03-04T06:44:38.000Z
2021-03-04T06:44:38.000Z
/* Copyright (c) 2020, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */ #include "BasicStreamsViewer.h" #include "DistributionsFunctions.h" #include "DyssolStringConstants.h" #include "DyssolUtilities.h" #include "MaterialStream.h" #include ...
38.044266
194
0.717051
gladk
b4d2ffae55923b24774cc714d69f60a4e1735060
530
cpp
C++
src/format.cpp
hidenori-shinohara/CppND-System-Monitor-Project-Updated
738a247150d80def6de6ce32f5bbcb4688b68229
[ "MIT" ]
null
null
null
src/format.cpp
hidenori-shinohara/CppND-System-Monitor-Project-Updated
738a247150d80def6de6ce32f5bbcb4688b68229
[ "MIT" ]
null
null
null
src/format.cpp
hidenori-shinohara/CppND-System-Monitor-Project-Updated
738a247150d80def6de6ce32f5bbcb4688b68229
[ "MIT" ]
null
null
null
#include <cassert> #include <sstream> #include <string> #include "format.h" using std::string; #include <iostream> // INPUT: Long int measuring seconds // OUTPUT: HH:MM:SS string Format::ElapsedTime(long seconds) { long hours = seconds / 3600; seconds %= 3600; long minutes = seconds / 60; seconds %= 60; s...
20.384615
69
0.626415
hidenori-shinohara
b4d3019f3e37f779b0c8ef37783dd3dd4d8aa0cd
2,321
cpp
C++
source/PyMaterialX/PyMaterialXRender/PyImage.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
973
2017-07-06T02:29:09.000Z
2022-02-28T18:49:10.000Z
source/PyMaterialX/PyMaterialXRender/PyImage.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
213
2017-07-12T09:44:10.000Z
2022-02-25T21:29:20.000Z
source/PyMaterialX/PyMaterialXRender/PyImage.cpp
kwokcb/MaterialX
483c616e10e6d9a23763ae33cd10f7bcb08cf2e9
[ "Apache-2.0" ]
305
2017-07-11T19:05:41.000Z
2022-02-14T12:25:43.000Z
// // TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> #include <MaterialXRender/Image.h> namespace py = pybind11; namespace mx = MaterialX; void bindPyImage(py::module& mod) { py::enum_<mx::Image:...
43.792453
87
0.660922
mjyip-lucasfilm
b4d518660cf71650b046d432e7f17aceaacbdfdc
473
cpp
C++
source/new_wininet__InternetConnectW.cpp
g-stefan/dll-inject-sample
e4b6d0d9126b928255b3d9ec0875b07d98ead79a
[ "MIT", "Unlicense" ]
5
2015-03-18T21:27:28.000Z
2019-12-13T13:58:30.000Z
source/new_wininet__InternetConnectW.cpp
g-stefan/dll-inject-sample
e4b6d0d9126b928255b3d9ec0875b07d98ead79a
[ "MIT", "Unlicense" ]
null
null
null
source/new_wininet__InternetConnectW.cpp
g-stefan/dll-inject-sample
e4b6d0d9126b928255b3d9ec0875b07d98ead79a
[ "MIT", "Unlicense" ]
2
2016-08-24T11:24:47.000Z
2017-09-02T18:46:30.000Z
static HINTERNET STDAPICALLTYPE _new_wininet__InternetConnectW(HINTERNET hInternet, WCHAR *lpszServerName, INTERNET_PORT nServerPort, WCHAR *lpszUsername, WCHAR *lpszPassword, DWORD dwService, DWORD dwFlags, DWORD_PTR dwContext) { HINTERNET retV; // OutputDebugStringA("wininet.InternetConnectW"); retV = (*_ori...
52.555556
231
0.811839
g-stefan
b4d5b7010706ab43ba2283404c7047ba6df3ed27
1,338
hpp
C++
src/main/include/driverstation_helper.hpp
Team2470/FRC-2019
8b9346c57f5ecf95dd822638b53e9c792ea1278b
[ "MIT" ]
7
2019-01-09T02:34:05.000Z
2021-08-15T13:37:21.000Z
Driver Station/driverstation_helper.hpp
Team2470/FRC-Helpers
129613aa0ff1fde77f90636338e087a27d1f84ba
[ "MIT" ]
7
2019-01-23T00:17:12.000Z
2019-04-01T12:59:01.000Z
Driver Station/driverstation_helper.hpp
Team2470/FRC-Helpers
129613aa0ff1fde77f90636338e087a27d1f84ba
[ "MIT" ]
null
null
null
#ifndef DRIVERSTATION_HELPER_HPP #define DRIVERSTATION_HELPER_HPP #include <array> #include <frc/Joystick.h> #include "controller_helper.hpp" /** * @class Rotary * @description This class operates a Rotary Switch * This class has the ability to read joystick values to determine the current setting. */ class Rot...
24.777778
88
0.692825
Team2470
b4d79e568918311d1d44585145bb33edaa999ca0
1,611
cxx
C++
VTK/Rendering/vtkMesaRenderer.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
VTK/Rendering/vtkMesaRenderer.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
VTK/Rendering/vtkMesaRenderer.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile$ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distrib...
29.833333
75
0.703911
matthb2
b4d816aefc0094ef7c4908cb40b7f51693394b2a
11,139
cc
C++
makepkg.cc
racestart/g2r
d115ebaab13829d716750eab2ebdcc51d79ff32e
[ "Apache-2.0" ]
1
2020-03-05T12:49:21.000Z
2020-03-05T12:49:21.000Z
makepkg.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
null
null
null
makepkg.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
1
2020-03-25T15:06:39.000Z
2020-03-25T15:06:39.000Z
#include "makepkg.h" #include "g2r.h" #include "g2r_config.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <tinyxml2/tinyxml2.h> extern void gerror(char* s, ...); extern struct g2r_config g...
27.036408
102
0.623216
racestart
b4d8a303a7a0010e00dd2e3b5fc7838049084e6c
2,281
cpp
C++
2012/task3.cpp
chengluo331/ic_cpp
6cc10ae57cd98241b75f99648c87d206fef354bc
[ "Apache-2.0" ]
null
null
null
2012/task3.cpp
chengluo331/ic_cpp
6cc10ae57cd98241b75f99648c87d206fef354bc
[ "Apache-2.0" ]
null
null
null
2012/task3.cpp
chengluo331/ic_cpp
6cc10ae57cd98241b75f99648c87d206fef354bc
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <complex> using namespace std; template <typename T> class Laurent_polynomial{ int _N; vector<T> _coeff; public: Laurent_polynomial<T>(unsigned int N=0):_N(N){ _coeff.resize(_N*2+1); }; Laurent_polynomial<T>(unsigned int N,T a) : _N(N)...
24.793478
94
0.566857
chengluo331
b4e0f1c1de286efc067b87289b4c07daf37ea14d
9,173
hpp
C++
src/ttauri/widgets/scroll_bar_widget.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/scroll_bar_widget.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/widgets/scroll_bar_widget.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2020-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "widget.hpp" #include "../GUI/draw_context.hpp" #include "../observable.hpp" #include <memory> #include <stri...
35.280769
130
0.637741
prollings
b4e1b72db19e16e5e56de9c3ded4e10bd53f2c0f
9,798
hpp
C++
XJFitUtilDemo/FitUtil/fit_workout_session_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
XJFitUtilDemo/FitUtil/fit_workout_session_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
XJFitUtilDemo/FitUtil/fit_workout_session_mesg.hpp
LXiangJian/XJFitUtil
6cdd7ee7064b8b2bd608cd27ede9947b23683776
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodat...
35.759124
84
0.409982
LXiangJian
b4e3122d56ae3c36eff458b2b5e17e958c3f4684
1,550
inl
C++
src/ivorium_core/Attribute/Attributes/PrivValAttr.inl
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
3
2021-02-26T02:59:09.000Z
2022-02-08T16:44:21.000Z
src/ivorium_core/Attribute/Attributes/PrivValAttr.inl
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
src/ivorium_core/Attribute/Attributes/PrivValAttr.inl
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
namespace iv { //----------------- PrivValAttr_Owner ----------------------- template< class T > void PrivValAttr_Owner::Attribute_Set( PrivValAttr_I< T > * attr, T const & val ) { attr->Set( val ); } template< class T > void PrivValAttr_Owner::Attribute_SetMode( PrivValAttr_I< T > * attr, Attribute::ValueMode m...
23.846154
145
0.620645
ivorne
b4e3719676bd7e95938135c8005516bb023a4e34
396
cpp
C++
Server/Server/BillingServer/Billing/Packets/SSConnectHandler.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Server/Server/BillingServer/Billing/Packets/SSConnectHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Server/Server/BillingServer/Billing/Packets/SSConnectHandler.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "stdafx.h" #include "SSConnect.h" #include "ServerPlayer.h" #include "ServerManager.h" #include "Log.h" uint SSConnectHandler::Execute( SSConnect* pPacket, Player* pPlayer ) { __ENTER_FUNCTION Log::SaveLog( SERVER_LOGFILE, "SSConnectHandler::Execute(...) ServerID:%d ...OK ", pPacket->GetServerID() ) ; r...
18.857143
110
0.742424
hackerlank
b4e393b18f8750b960d33717d7d56ca191e6a4df
3,180
cpp
C++
Code/GraphMol/Wrap/RingInfo.cpp
marcwittke/rdkit
576506206a7b3366d626d2e5ec50cebcf7a5bda4
[ "PostgreSQL" ]
1
2020-10-15T20:39:27.000Z
2020-10-15T20:39:27.000Z
Code/GraphMol/Wrap/RingInfo.cpp
marcwittke/rdkit
576506206a7b3366d626d2e5ec50cebcf7a5bda4
[ "PostgreSQL" ]
null
null
null
Code/GraphMol/Wrap/RingInfo.cpp
marcwittke/rdkit
576506206a7b3366d626d2e5ec50cebcf7a5bda4
[ "PostgreSQL" ]
null
null
null
// // Copyright (C) Greg Landrum 2007-2017 // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #define NO_IMPORT_ARRAY #include <RDBoost/pyth...
32.783505
101
0.68239
marcwittke
b4e3d6125b94bb527d177d38baeb5863da744e44
4,614
hpp
C++
src/boost/regex/v4/regex.hpp
Liastre/uri
f5a701d19e3dd9cec950dcc70f6a42f0d9151f89
[ "BSL-1.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/boost/regex/v4/regex.hpp
Liastre/uri
f5a701d19e3dd9cec950dcc70f6a42f0d9151f89
[ "BSL-1.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/boost/regex/v4/regex.hpp
Liastre/uri
f5a701d19e3dd9cec950dcc70f6a42f0d9151f89
[ "BSL-1.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent versio...
22.729064
71
0.802557
Liastre
b4e69861e44731d0e7b3d8ef0bdf90809aa33127
6,630
cc
C++
src/traffic/continuous/MatrixCTP_TEST.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
3
2020-02-23T02:08:18.000Z
2021-11-23T01:24:29.000Z
src/traffic/continuous/MatrixCTP_TEST.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
32
2020-02-26T00:02:29.000Z
2022-01-20T23:23:55.000Z
src/traffic/continuous/MatrixCTP_TEST.cc
codefan-byte/supersim
38bd445dcd21fdb78fd28819e0d4dfaa6d1fd651
[ "Apache-2.0" ]
4
2020-01-28T21:45:16.000Z
2022-03-14T09:52:25.000Z
/* * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. You may obtain a copy of the License at * * http://www.apache.org/li...
38.546512
80
0.600603
codefan-byte
b4e9ef3a15e56e93856e5075510dc97caf042622
2,906
cpp
C++
src/server/server.cpp
malasiot/maplite
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
12
2017-05-11T21:44:57.000Z
2021-12-30T08:35:56.000Z
src/server/server.cpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
8
2016-10-27T10:10:05.000Z
2019-12-07T21:27:02.000Z
src/server/server.cpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
5
2017-10-17T08:18:58.000Z
2021-11-12T11:44:23.000Z
// // server.cpp // ~~~~~~~~~~ // // Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot 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) // #include "server.hpp" namespace http { Serve...
28.213592
123
0.653476
malasiot
b4ec4c9a81aea7e9341f00851c19a77864adb0d2
1,775
cc
C++
src/core/abstract/MCAbstractMessagePart.cc
CleanShavenApps/mailcore2
bc2d13b8c2f52acb8c318044f5479fb1b48f597b
[ "BSD-3-Clause" ]
null
null
null
src/core/abstract/MCAbstractMessagePart.cc
CleanShavenApps/mailcore2
bc2d13b8c2f52acb8c318044f5479fb1b48f597b
[ "BSD-3-Clause" ]
null
null
null
src/core/abstract/MCAbstractMessagePart.cc
CleanShavenApps/mailcore2
bc2d13b8c2f52acb8c318044f5479fb1b48f597b
[ "BSD-3-Clause" ]
null
null
null
#include "MCAbstractMessagePart.h" #include "MCMessageHeader.h" using namespace mailcore; void AbstractMessagePart::init() { mMainPart = NULL; mHeader = NULL; setPartType(PartTypeMessage); } AbstractMessagePart::AbstractMessagePart() { init(); } AbstractMessagePart::AbstractMessagePart(AbstractMess...
22.1875
124
0.710423
CleanShavenApps
b4f148721a48fee94f5c0ffe0738d073ddb68701
2,753
cpp
C++
vstgui/tests/unittest/uidescription/uiviewcreator/crowcolumnviewcreator_test.cpp
Kingston1/vstgui
e448091ba9a13139f2e6bed6d55053348bd8fc56
[ "BSD-3-Clause" ]
11
2019-05-02T18:43:51.000Z
2022-03-19T02:48:51.000Z
vstgui/tests/unittest/uidescription/uiviewcreator/crowcolumnviewcreator_test.cpp
Kingston1/vstgui
e448091ba9a13139f2e6bed6d55053348bd8fc56
[ "BSD-3-Clause" ]
11
2019-02-09T16:15:34.000Z
2021-03-24T06:28:56.000Z
vstgui/tests/unittest/uidescription/uiviewcreator/crowcolumnviewcreator_test.cpp
Kingston1/vstgui
e448091ba9a13139f2e6bed6d55053348bd8fc56
[ "BSD-3-Clause" ]
8
2019-02-09T07:30:04.000Z
2021-04-25T09:49:34.000Z
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "../../unittests.h" #include "../../../../uidescription/uiviewfactory.h" #include "../../../../uidescriptio...
42.353846
191
0.730839
Kingston1
b4f150be9e78505e7eabfed3aac89e7f656ea975
5,069
cpp
C++
json/client_rpcprotocolclient.cpp
eth-srl/2Nice
4e02d0d37e25fbde06dbb07c4475110b95a40157
[ "Apache-2.0" ]
104
2018-06-05T01:51:15.000Z
2022-03-22T08:35:31.000Z
json/client_rpcprotocolclient.cpp
eth-srl/2Nice
4e02d0d37e25fbde06dbb07c4475110b95a40157
[ "Apache-2.0" ]
6
2018-11-22T12:50:39.000Z
2021-06-05T07:53:52.000Z
json/client_rpcprotocolclient.cpp
eth-srl/2Nice
4e02d0d37e25fbde06dbb07c4475110b95a40157
[ "Apache-2.0" ]
23
2018-06-15T13:12:11.000Z
2022-01-08T11:52:38.000Z
/************************************************************************* * libjson-rpc-cpp ************************************************************************* * @file responsehandler.cpp * @date 13.03.2013 * @author Peter Spiess-Knafl <peter.knafl@gmail.com> * @license See attached LICENSE.txt ***...
38.401515
179
0.653581
eth-srl
b4f2cec7ded0b215f80e4f8fa8a504d5c43c019e
8,570
cpp
C++
Code/Engine/Foundation/Communication/Implementation/RemoteInterfaceEnet.cpp
JohannStudanski/ezEngine
bb9d7dc4ad1ba52c2725f0a8bd1b851d59dbf43c
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/Engine/Foundation/Communication/Implementation/RemoteInterfaceEnet.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
Code/Engine/Foundation/Communication/Implementation/RemoteInterfaceEnet.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
#include <FoundationPCH.h> #include <Foundation/Communication/RemoteInterfaceEnet.h> #ifdef BUILDSYSTEM_ENABLE_ENET_SUPPORT #include <Foundation/Logging/Log.h> #include <Foundation/Threading/ThreadUtils.h> #include <Foundation/Types/ScopeExit.h> #include <enet/enet.h> class ezRemoteInterfaceEnetImpl : public ezRemo...
29.349315
166
0.680513
JohannStudanski
b4f41611bc00a65919817ec5e69137fb4658d37d
23,843
cpp
C++
other/DeployMaker/src/compress/Compress.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
4
2021-12-16T11:22:30.000Z
2022-01-05T11:20:32.000Z
other/DeployMaker/src/compress/Compress.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
1
2022-01-07T10:41:38.000Z
2022-01-09T12:04:03.000Z
other/DeployMaker/src/compress/Compress.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
null
null
null
// Harmless warning about browse information #pragma warning (disable : 4786) #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <assert.h> #include <list> #include "Compress.h" // Tweak values const int gXPCompressionTweak1 = 5; const int gXPCompressionTweak2 = 5; c...
24.011078
185
0.632806
slajerek
b4f6cae68d46fd8c2521a85564780d250da13d02
878
cpp
C++
backends/oracle/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
backends/oracle/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
backends/oracle/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
// // Copyright (C) 2013 Mateusz Loskot <mateusz@loskot.net> // Copyright (C) 2004-2007 Maciej Sobczak, Stephen Hutton // 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) // #define SOCI_ORACLE_SOURCE #incl...
26.606061
76
0.714123
staticlibs
b4fdef1eabed8cc4fe642a4414b84d79638608c1
4,650
cpp
C++
src/utils/serial.cpp
daniellasry/brainflow
2070efdaaa2cba27479912d918c0204b4e86c2ae
[ "MIT" ]
1
2021-06-09T11:59:55.000Z
2021-06-09T11:59:55.000Z
src/utils/serial.cpp
daniellasry/brainflow
2070efdaaa2cba27479912d918c0204b4e86c2ae
[ "MIT" ]
null
null
null
src/utils/serial.cpp
daniellasry/brainflow
2070efdaaa2cba27479912d918c0204b4e86c2ae
[ "MIT" ]
null
null
null
#include "serial.h" #ifndef _WIN32 #include <fcntl.h> #include <unistd.h> #endif ///////////////////////////////////////////////// /////////////////// Windows ///////////////////// ///////////////////////////////////////////////// #ifdef _WIN32 Serial::Serial (const char *port_name) { strcpy (this->port_name, por...
27.034884
100
0.645591
daniellasry
370200bbd5b14f62f0917a80dd5d30e9a8e3d4b1
435
hpp
C++
modules/ext/Txtio/ReaderWrapper.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
modules/ext/Txtio/ReaderWrapper.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
modules/ext/Txtio/ReaderWrapper.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include <memory> #include <luapp.hpp> namespace toy{ namespace io{ class Stream; template<typename T> class Reader; } } class ReaderWrapper { public: ReaderWrapper(lua::Str filename); ~ReaderWrapper(); void open(lua::Str filename); auto nextLine()->lua::Var; void drop(); private:...
14.032258
61
0.675862
ToyAuthor
37056ea7b37bbb768bc0cad2b00890a63886ab88
9,554
hpp
C++
src/include/XEPhysics/Util/gkMathUtils.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/include/XEPhysics/Util/gkMathUtils.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/include/XEPhysics/Util/gkMathUtils.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2013 Charlie C. Contributor(s): none yet. ------------------------------------------------------------------------------- This software i...
41.181034
153
0.638895
devxkh
3707cc65f8a69746e8b08d82298a3660884e0e7c
150,581
cxx
C++
PWGGA/EMCALTasks/AliAnalysisTaskGammaHadron.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGGA/EMCALTasks/AliAnalysisTaskGammaHadron.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGGA/EMCALTasks/AliAnalysisTaskGammaHadron.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
// // Task to estimate the number of gamma-hadron // statistic available in the Pb+Pb run. // // Authors: E. Epple, M. Oliver, based on code by B. Sahlmueller and C. Loizides #include <Riostream.h> #include <TClonesArray.h> #include <TH1F.h> #include <TH2F.h> #include <TH3F.h> #include <TList.h> #include <TLorentzVec...
39.836243
351
0.660017
eciesla
37082d375e8095c28ca3dff85b60e0a845ba46ff
388
cpp
C++
exercise/ex2_29.cpp
b1tank/cpp-primer
a576589f1c8aaf45a717ba880fc44cfe0258b823
[ "MIT" ]
null
null
null
exercise/ex2_29.cpp
b1tank/cpp-primer
a576589f1c8aaf45a717ba880fc44cfe0258b823
[ "MIT" ]
null
null
null
exercise/ex2_29.cpp
b1tank/cpp-primer
a576589f1c8aaf45a717ba880fc44cfe0258b823
[ "MIT" ]
null
null
null
#include <iostream> int main() { int i, *const cp; // cp is illegal int *p1, *const p2; // p2 is illegal const int ic, &r = ic; // ic is illegal const int *const p3; // p3 is illegal const int *p; // legal i = ic; // legal p1 = p3; // illegal p1 = &ic; // illegal p3 = &ic; // illeg...
21.555556
43
0.518041
b1tank
3708c770f0526322b7192afb528d195e4b47f704
622
cpp
C++
source/event/input/connection/ConnectionEvent.cpp
skydiveuas/fm-client-sdk-cpp
2ce252b7692b4eb0f09758dac18ece74468f7531
[ "MIT" ]
null
null
null
source/event/input/connection/ConnectionEvent.cpp
skydiveuas/fm-client-sdk-cpp
2ce252b7692b4eb0f09758dac18ece74468f7531
[ "MIT" ]
null
null
null
source/event/input/connection/ConnectionEvent.cpp
skydiveuas/fm-client-sdk-cpp
2ce252b7692b4eb0f09758dac18ece74468f7531
[ "MIT" ]
null
null
null
#include "event/input/connection/ConnectionEvent.hpp" using namespace fm; using namespace fm::event::input::connection; ConnectionEvent::ConnectionEvent(Type _type) : IInputEvent(CONNECTION_EVENT), type(_type) { } ConnectionEvent::~ConnectionEvent() { } ConnectionEvent::Type ConnectionEvent::getType() const...
18.294118
54
0.696141
skydiveuas
37098d5d090503addf84c9ec880beb17f8d3dc11
18,439
cpp
C++
lib/src/EBAMRElliptic/DirichletPoissonEBBC.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/EBAMRElliptic/DirichletPoissonEBBC.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/EBAMRElliptic/DirichletPoissonEBBC.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <cmath> #include "BoxIterator.H" #include "VoFIterator.H" #include...
32.520282
145
0.55388
rmrsk
370a43f6ae4c55071bdb1cbfc3a8a67aa2fc2e3c
15,013
cpp
C++
game/main.cpp
chiragsakhuja/hacktx-2016
2c196792edd91786c14c08ee543a14a287b171d0
[ "MIT" ]
null
null
null
game/main.cpp
chiragsakhuja/hacktx-2016
2c196792edd91786c14c08ee543a14a287b171d0
[ "MIT" ]
null
null
null
game/main.cpp
chiragsakhuja/hacktx-2016
2c196792edd91786c14c08ee543a14a287b171d0
[ "MIT" ]
null
null
null
#define WIN32_LEAN_AND_MEAN #define _WIN32_WINNT 0x501 #include <iostream> #include <fstream> #include <ctime> #include <cmath> #include <string> #include <random> #include <WinSock2.h> #define HAVE_STRUCT_TIMESPEC #include <pthread.h> #include "GL/gl3w.h" #include "GLFW/glfw3.h" #include "glm/gtc/matrix_transform....
32.636957
178
0.649237
chiragsakhuja
370bb7485d4f2190a24d826263cac2b14d0ec43a
49,904
cpp
C++
ln/tests/test_ln_proto_updatefee.cpp
NayutaNakashima/ptarmigan
91c988d6ca817629915489aaa7a928630567cc31
[ "Apache-2.0" ]
null
null
null
ln/tests/test_ln_proto_updatefee.cpp
NayutaNakashima/ptarmigan
91c988d6ca817629915489aaa7a928630567cc31
[ "Apache-2.0" ]
null
null
null
ln/tests/test_ln_proto_updatefee.cpp
NayutaNakashima/ptarmigan
91c988d6ca817629915489aaa7a928630567cc31
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include <string.h> #include "tests/fff.h" DEFINE_FFF_GLOBALS; extern "C" { #undef LOG_TAG #include "../../utl/utl_thread.c" #undef LOG_TAG #include "../../utl/utl_log.c" #include "../../utl/utl_dbg.c" #include "../../utl/utl_buf.c" #include "../../utl/utl_push.c" #include "../../utl/utl_time...
38.565688
212
0.732526
NayutaNakashima
370e8b58351fe52b21026e0280daa035afb85e4d
3,465
cpp
C++
oem/ibm/libpldmresponder/utils.cpp
HCLOpenBMC/pldm
5faf7c647cbccb0ddb4388bc40ddf58a698a23b2
[ "Apache-2.0" ]
9
2019-06-25T11:08:15.000Z
2021-12-09T23:11:10.000Z
oem/ibm/libpldmresponder/utils.cpp
HCLOpenBMC/pldm
5faf7c647cbccb0ddb4388bc40ddf58a698a23b2
[ "Apache-2.0" ]
31
2019-05-28T07:18:14.000Z
2022-02-11T09:16:13.000Z
oem/ibm/libpldmresponder/utils.cpp
HCLOpenBMC/pldm
5faf7c647cbccb0ddb4388bc40ddf58a698a23b2
[ "Apache-2.0" ]
36
2019-03-01T11:09:58.000Z
2022-03-03T06:26:10.000Z
#include "utils.hpp" #include "libpldm/base.h" #include <sys/socket.h> #include <sys/types.h> #include <sys/un.h> #include <unistd.h> #include <iostream> namespace pldm { namespace responder { namespace utils { int setupUnixSocket(const std::string& socketInterface) { int sock; struct sockaddr_un addr; ...
23.571429
80
0.483117
HCLOpenBMC
370ea74fe7a5053b5dbd402b55dc425f50ded31f
24,226
cpp
C++
user/MIT_Controller/Controllers/convexMPC/ConvexMPCLocomotion.cpp
zbwu/Cheetah-Software
286ca1eac576c61df76c71979f4e8940537ee084
[ "MIT" ]
1
2021-11-18T03:36:47.000Z
2021-11-18T03:36:47.000Z
user/MIT_Controller/Controllers/convexMPC/ConvexMPCLocomotion.cpp
zbwu/Cheetah-Software
286ca1eac576c61df76c71979f4e8940537ee084
[ "MIT" ]
null
null
null
user/MIT_Controller/Controllers/convexMPC/ConvexMPCLocomotion.cpp
zbwu/Cheetah-Software
286ca1eac576c61df76c71979f4e8940537ee084
[ "MIT" ]
null
null
null
#include <iostream> #include <Utilities/Timer.h> #include <Utilities/Utilities_print.h> #include "ConvexMPCLocomotion.h" #include "convexMPC_interface.h" #include "../../../../common/FootstepPlanner/GraphSearch.h" #include "Gait.h" //#define DRAW_DEBUG_SWINGS //#define DRAW_DEBUG_PATH //////////////////// // Contr...
33.882517
152
0.635227
zbwu
3711ca5ce9abab30bfe94f69c9fefa91a9a6381c
1,106
cpp
C++
Server/dep/acelite/ace/RW_Mutex.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/dep/acelite/ace/RW_Mutex.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/dep/acelite/ace/RW_Mutex.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/** * @file RW_Mutex.cpp * * Originally in Synch.cpp * * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu> */ #include "ace/RW_Mutex.h" #if defined (ACE_HAS_THREADS) #if !defined (__ACE_INLINE__) #include "ace/RW_Mutex.inl" #endif /* __ACE_INLINE__ */ #include "ace/Log_Category.h" ACE_BEGIN_VERSIONED_N...
20.481481
71
0.685353
ZON3DEV
3714ca4d09b0d652315712b5adcc90704b3e05b6
33,308
cpp
C++
src/theory/quantifiers_engine.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
src/theory/quantifiers_engine.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
src/theory/quantifiers_engine.cpp
HasibShakur/CVC4
7a303390a65fd395a53085833d504acc312dc6a6
[ "BSL-1.0" ]
null
null
null
/********************* */ /*! \file quantifiers_engine.cpp ** \verbatim ** Original author: Morgan Deters ** Major contributors: Andrew Reynolds ** Minor contributors (to current version): Francois Bobot ** This file is part of the CVC4 project. ** Copyright ...
36.362445
134
0.629428
HasibShakur
37161622466f06e3204e5dcf3c037e2f069db11d
3,141
cpp
C++
divi/src/datacachemanager.cpp
domob1812/Divi
dc7fd7bf9028ed9e256d6ac5ba5d529c21f566dd
[ "MIT" ]
1
2021-08-14T10:13:46.000Z
2021-08-14T10:13:46.000Z
divi/src/datacachemanager.cpp
domob1812/Divi
dc7fd7bf9028ed9e256d6ac5ba5d529c21f566dd
[ "MIT" ]
null
null
null
divi/src/datacachemanager.cpp
domob1812/Divi
dc7fd7bf9028ed9e256d6ac5ba5d529c21f566dd
[ "MIT" ]
1
2021-12-28T15:53:49.000Z
2021-12-28T15:53:49.000Z
#include "datacachemanager.h" #include "flat-database.h" #include "ui_interface.h" #include "masternodeman.h" #include "masternode-payments.h" #include "netfulfilledman.h" std::string UIMessenger::translate(const char* psz) { boost::optional<std::string> rv = uiInterface_.Translate(psz); return rv ? (*rv) : ps...
37.392857
133
0.701051
domob1812
3718dbf55ea37e7fe54fef57bb61c450b2597f74
4,439
cc
C++
tonic-suite/asr/src/bin/acc-lda.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
59
2015-07-01T21:41:47.000Z
2021-07-28T07:07:42.000Z
tonic-suite/asr/src/bin/acc-lda.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
4
2016-01-24T13:25:03.000Z
2021-07-06T09:10:23.000Z
tonic-suite/asr/src/bin/acc-lda.cc
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
54
2015-06-13T15:31:20.000Z
2021-07-28T07:07:43.000Z
// bin/acc-lda.cc // Copyright 2009-2011 Microsoft Corporation, Go-Vivace Inc. // 2014 Guoguo Chen // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License...
34.679688
79
0.630773
csb1024
7decd09cac9d80737666970c6f1d048db5562a46
9,379
cpp
C++
src/psmoveconfigtool/AppStage_TestTracker.cpp
Timocop/PSMoveServiceEx
3bd87adef2ef3f039ba37a9ed03293ba10eca33f
[ "Apache-2.0" ]
15
2021-11-04T12:21:25.000Z
2022-03-28T12:54:03.000Z
src/psmoveconfigtool/AppStage_TestTracker.cpp
Timocop/PSMoveServiceEx
3bd87adef2ef3f039ba37a9ed03293ba10eca33f
[ "Apache-2.0" ]
1
2022-03-03T07:03:31.000Z
2022-03-13T01:29:59.000Z
src/psmoveconfigtool/AppStage_TestTracker.cpp
Timocop/PSMoveServiceEx
3bd87adef2ef3f039ba37a9ed03293ba10eca33f
[ "Apache-2.0" ]
2
2021-12-01T15:41:18.000Z
2022-03-23T13:27:13.000Z
//-- inludes ----- #include "AppStage_TestTracker.h" #include "AppStage_TrackerSettings.h" #include "AppStage_MainMenu.h" #include "AssetManager.h" #include "App.h" #include "Camera.h" #include "ClientLog.h" #include "MathUtility.h" #include "Renderer.h" #include "UIConstants.h" #include "PSMoveProtocolInterface.h" #in...
30.550489
109
0.67246
Timocop
7ded7faace30139b28071fd277fb529ae2897ec5
6,336
cpp
C++
UNITTESTS/features/lorawan/lorawaninterface/Test_LoRaWANInterface.cpp
mtvg/mbed-os
df44c55cfd1b8323bb5368e2cdaffe1a284e8d01
[ "Apache-2.0" ]
null
null
null
UNITTESTS/features/lorawan/lorawaninterface/Test_LoRaWANInterface.cpp
mtvg/mbed-os
df44c55cfd1b8323bb5368e2cdaffe1a284e8d01
[ "Apache-2.0" ]
null
null
null
UNITTESTS/features/lorawan/lorawaninterface/Test_LoRaWANInterface.cpp
mtvg/mbed-os
df44c55cfd1b8323bb5368e2cdaffe1a284e8d01
[ "Apache-2.0" ]
1
2018-10-26T14:30:00.000Z
2018-10-26T14:30:00.000Z
/* * Copyright (c) 2018, Arm Limited and affiliates * SPDX-License-Identifier: Apache-2.0 * * 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/LICENS...
23.208791
86
0.667298
mtvg
7def5786f262e081a700224f1d8340a6e84e4e02
2,261
cpp
C++
src/shadereditor/src/shadereditor/nodes/postprocessing/vnode_pp_mat.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/nodes/postprocessing/vnode_pp_mat.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/nodes/postprocessing/vnode_pp_mat.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "editorCommon.h" CNodePP_Mat::CNodePP_Mat(CNodeView *p) : BaseClass("Material", p) { GenerateJacks_Output(1); LockJackOutput_Flags(0, HLSLVAR_PP_MATERIAL, "Material"); m_szMatPath[0] = '\0'; m_pszInlineVMT = NULL; m_bInline = true; OnUpdateHierachy(NULL, NULL); }...
30.146667
99
0.700575
cstom4994
7df2fa24cf090c50498b604c85434435504e477b
823
cpp
C++
MultidimensionalArrays/03.SumAndProduct/Source.cpp
Tanya-Zheleva/FMI-Intro-Programming
c326d331ac72bc41e4664b23fc56a4da7d2d6729
[ "MIT" ]
2
2020-10-27T09:27:14.000Z
2021-10-09T14:57:15.000Z
MultidimensionalArrays/03.SumAndProduct/Source.cpp
Tanya-Zheleva/FMI-Intro-Programming
c326d331ac72bc41e4664b23fc56a4da7d2d6729
[ "MIT" ]
null
null
null
MultidimensionalArrays/03.SumAndProduct/Source.cpp
Tanya-Zheleva/FMI-Intro-Programming
c326d331ac72bc41e4664b23fc56a4da7d2d6729
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int ROWS = 50; const int COLS = 50; void readMatrix(int matrix[ROWS][COLS], int n, int m) { for (int row = 0; row < n; row++) { for (int col = 0; col < m; col++) { cin >> matrix[row][col]; } } } void calculateSumAndProduct(int matrix[ROWS][COLS], int n, int...
16.137255
79
0.55407
Tanya-Zheleva
7df3e8a6d01bdf58adbe0b0a6a3c1e8bbf098504
5,752
tcc
C++
include/meta/index/postings_inverter.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
include/meta/index/postings_inverter.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
include/meta/index/postings_inverter.tcc
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file postings_inverter.tcc * @author Chase Geigle */ #include <cassert> #include <algorithm> #include "meta/index/chunk_reader.h" #include "meta/index/postings_inverter.h" #include "meta/index/disk_index.h" #include "meta/parallel/thread_pool.h" namespace meta { namespace index { template <class Index> po...
27.260664
80
0.609701
Lolik111
7df885631be205ba9386619f8a1f527cd1145775
16,843
hpp
C++
openstudiocore/src/model/Gas_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Gas_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Gas_Impl.hpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
47.713881
179
0.781571
bobzabcik
7df8a359ce277df402eabfe868d2c47e166118d4
4,293
hh
C++
Shared/BrainCloudGlobalStatistics.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
null
null
null
Shared/BrainCloudGlobalStatistics.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
3
2018-10-02T12:30:24.000Z
2020-02-21T12:53:12.000Z
Shared/BrainCloudGlobalStatistics.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
5
2018-05-23T17:06:24.000Z
2021-02-24T18:57:20.000Z
// // BrainCloudGlobalStatistics.h // brainCloudClientObjc // // Created by Hill, Bradley on 2015-08-06. // Copyright (c) 2016 bitHeads. All rights reserved. // #pragma once #import "BrainCloudCompletionBlocks.hh" #import <Foundation/Foundation.h> @class BrainCloudClient; @interface BrainCloudGlobalStatistics :...
33.023077
86
0.734451
pascalf1309
7dfa6807a23bb54834255654614adceaf1e789a3
2,169
cpp
C++
test/unit/math/mix/fun/trace_gen_inv_quad_form_ldlt_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
test/unit/math/mix/fun/trace_gen_inv_quad_form_ldlt_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/trace_gen_inv_quad_form_ldlt_test.cpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#include <test/unit/math/test_ad.hpp> template <typename T> stan::math::LDLT_factor<T, -1, -1> to_ldlt(const Eigen::Matrix<T, -1, -1>& a) { if (a.size() == 0) { return {}; } stan::math::LDLT_factor<T, -1, -1> ldlt_a; ldlt_a.compute(a); return ldlt_a; } TEST(mathMixMatFun, traceGenInvQuadForm) { auto ...
25.821429
79
0.609036
bayesmix-dev
7dfe897c01dd966f9a247272b955ae17d6187aeb
7,833
cpp
C++
source/Lib/TLibCommon/TComPicYuvMD5.cpp
henryhuang329/h265
234e7beef2be827b3c6c0de5ad27f0db8043ca58
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TLibCommon/TComPicYuvMD5.cpp
henryhuang329/h265
234e7beef2be827b3c6c0de5ad27f0db8043ca58
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TLibCommon/TComPicYuvMD5.cpp
henryhuang329/h265
234e7beef2be827b3c6c0de5ad27f0db8043ca58
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2014, ITU/ISO/IEC * All rights r...
35.125561
160
0.654028
henryhuang329
b401d6d0461b2b952adbb9c42462fb1b66622b33
39,072
cpp
C++
rclcpp/test/rclcpp/strategies/test_allocator_memory_strategy.cpp
wyca-robotics/rclcpp
3fa511a8a03682eb5e876c0def204b79bd3491c4
[ "Apache-2.0" ]
null
null
null
rclcpp/test/rclcpp/strategies/test_allocator_memory_strategy.cpp
wyca-robotics/rclcpp
3fa511a8a03682eb5e876c0def204b79bd3491c4
[ "Apache-2.0" ]
null
null
null
rclcpp/test/rclcpp/strategies/test_allocator_memory_strategy.cpp
wyca-robotics/rclcpp
3fa511a8a03682eb5e876c0def204b79bd3491c4
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Open Source Robotics Foundation, 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 appli...
41.610224
100
0.758062
wyca-robotics
b405ae4e108a2006ec8a2c7eb82c4884d9e7859a
18,680
cpp
C++
source/owlcore/regexp.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
source/owlcore/regexp.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
source/owlcore/regexp.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
#include <owl/pch.h> #include <owl/defs.h> #include <algorithm> // // Borland includes this in run-time library // //#if !defined(BI_COMP_BORLANDC) #include <owl/private/regexp.h> namespace owl { ///////////////////////////////////// // TRegexp Class typedef utchar PatternType; int makepat(...
29.324961
103
0.475214
pierrebestwork
b406fd2066fcc12096b91548abe7bc69d26f066d
1,133
hh
C++
commands/order-object-cmd.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
commands/order-object-cmd.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
commands/order-object-cmd.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
29.051282
70
0.74669
lukas-ke
b40b3df4266e47244c1bfd1016f5a01507ac94ba
237
cpp
C++
tests/utility/tuple/test_map.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
1
2020-02-03T10:11:02.000Z
2020-02-03T10:11:02.000Z
tests/utility/tuple/test_map.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
null
null
null
tests/utility/tuple/test_map.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
null
null
null
#include "map.hpp" #include "TEST_UTILS.hpp" int main() { std::tuple<int, double> a = {1, 0.1}; std::tuple<int, double> b = {2, 0.2}; TEST_UTILS::dump(ACCBOOST::map([](auto&& x, auto&& y){return x + y;}, a, b)); return 0; }
18.230769
79
0.565401
AI448
b40f1b5fffd00cabb4de1d7f10b81032c00963d4
672
cpp
C++
measure_execution_time.cpp
hardliner66/CppPlayground
ba45795e4160f8e4e6fb9dfdbfbfa8d1894248cf
[ "MIT" ]
null
null
null
measure_execution_time.cpp
hardliner66/CppPlayground
ba45795e4160f8e4e6fb9dfdbfbfa8d1894248cf
[ "MIT" ]
null
null
null
measure_execution_time.cpp
hardliner66/CppPlayground
ba45795e4160f8e4e6fb9dfdbfbfa8d1894248cf
[ "MIT" ]
null
null
null
#include <chrono> template<typename TimeT = std::chrono::milliseconds> struct measure { template<typename F, typename ...Args> static typename TimeT::rep execution(F&& func, Args&&... args) { auto start = std::chrono::steady_clock::now(); std::forward<decltype(func)>(func)(std::forward<Args>(ar...
29.217391
72
0.592262
hardliner66
b40f1da01f86da13396a004ae86af84bcefe2e25
3,536
cpp
C++
2021.03.26-Homework-14/2021.03.26-Homework-14/Source.cpp
SapogMl/programming-2020-autumn-1st-year
014982c0c361606e608458f681e1d5b1979059ff
[ "MIT" ]
null
null
null
2021.03.26-Homework-14/2021.03.26-Homework-14/Source.cpp
SapogMl/programming-2020-autumn-1st-year
014982c0c361606e608458f681e1d5b1979059ff
[ "MIT" ]
null
null
null
2021.03.26-Homework-14/2021.03.26-Homework-14/Source.cpp
SapogMl/programming-2020-autumn-1st-year
014982c0c361606e608458f681e1d5b1979059ff
[ "MIT" ]
null
null
null
#include<iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> using namespace std; void randomFill(int* array); void printArray(int* array); int* createArray(int length); void BubbleSort(int* array, int* cmpm); void InsertionSort(int* array, int* cmpm); void SelectionSort(int* array, int* cmpm); void...
19.75419
112
0.533937
SapogMl
b413610acf43037f923867f4de2051817175c74e
3,515
cpp
C++
src/ellipse.cpp
ParthGoyal1508/3D-OpenGL_Game
82daaa25dab0fcdf3b594c587934a285c9ad5826
[ "MIT" ]
null
null
null
src/ellipse.cpp
ParthGoyal1508/3D-OpenGL_Game
82daaa25dab0fcdf3b594c587934a285c9ad5826
[ "MIT" ]
null
null
null
src/ellipse.cpp
ParthGoyal1508/3D-OpenGL_Game
82daaa25dab0fcdf3b594c587934a285c9ad5826
[ "MIT" ]
null
null
null
#include "ellipse.h" #include "main.h" #include "math.h" Ellipse::Ellipse(float x, float y, float z, float radius1, float radius2, float radius3, color_t color) { this->position = glm::vec3(x, y, z); this->rotation = 0; this->radius1 = radius1; this->radius2 = radius2; this->radius3 = radius3;...
35.15
137
0.579801
ParthGoyal1508
b414c671f69b00798652db756bac58f2ccad0fd2
1,195
cpp
C++
ch4/drill4.cpp
l1ng4n27/DE_IK
9c9a5fe39cf8782f5f080895c0428252b5074356
[ "Apache-2.0" ]
null
null
null
ch4/drill4.cpp
l1ng4n27/DE_IK
9c9a5fe39cf8782f5f080895c0428252b5074356
[ "Apache-2.0" ]
null
null
null
ch4/drill4.cpp
l1ng4n27/DE_IK
9c9a5fe39cf8782f5f080895c0428252b5074356
[ "Apache-2.0" ]
null
null
null
#include "std_lib_facilities.h" int main(){ double number=0; double smallest=0; double largest=0; double sum=0; string unit; vector<double>vector; while(unit!="|"){ cout <<"To exit type '|'\n"; cout <<"At now press any button to continue\n"; cin >> unit; if(unit=="|") break; cout <<"Give me a n...
21.339286
72
0.577406
l1ng4n27
b417a71035f4c9dcffa13b3d478486b997ed6eb6
6,841
cpp
C++
compute/ARMComputeEx/src/core/CL/kernels/CLQuantizationSymmetricKernel.cpp
dev-hue/ONE
a4ca4318c1f9331a102a7ab8c544794a108cffbf
[ "Apache-2.0" ]
null
null
null
compute/ARMComputeEx/src/core/CL/kernels/CLQuantizationSymmetricKernel.cpp
dev-hue/ONE
a4ca4318c1f9331a102a7ab8c544794a108cffbf
[ "Apache-2.0" ]
1
2022-02-10T04:18:26.000Z
2022-02-10T04:18:26.000Z
compute/ARMComputeEx/src/core/CL/kernels/CLQuantizationSymmetricKernel.cpp
dev-hue/ONE
a4ca4318c1f9331a102a7ab8c544794a108cffbf
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics 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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
39.316092
100
0.743605
dev-hue
b41ccc4045c6745e9feaddf572b88ccf83586c9b
5,096
cpp
C++
PluginSource~/Source/Program.cpp
wotakuro/UnityShaderVariantLoggerForEditor
bc37c0df9f730b19734ed51ed505c8b856b8c214
[ "MIT" ]
3
2022-01-26T13:42:37.000Z
2022-02-21T02:58:55.000Z
PluginSource~/Source/Program.cpp
wotakuro/UnityShaderVariantLoggerForEditor
bc37c0df9f730b19734ed51ed505c8b856b8c214
[ "MIT" ]
null
null
null
PluginSource~/Source/Program.cpp
wotakuro/UnityShaderVariantLoggerForEditor
bc37c0df9f730b19734ed51ed505c8b856b8c214
[ "MIT" ]
null
null
null
// dllmain.cpp : DLL アプリケーションのエントリ ポイントを定義します。 #include "stdlib.h" #include "UnityPluginHeaders/IUnityProfilerCallbacks.h" #include <iostream> #include <fstream> #include <mutex> // From PlatformDependSource long GetThreadId(); static IUnityProfilerCallbacks* s_UnityProfilerCallbacks = NULL; static bool s_executeFla...
30.153846
219
0.679945
wotakuro
b420decd863d89d69b4f6c8d2a14ed69dd499fa5
1,070
cpp
C++
goingoverref/Playlist.cpp
terryn-aie/Memory
02fef495228e8d29a491b98b13aebedd6ba211b0
[ "MIT" ]
null
null
null
goingoverref/Playlist.cpp
terryn-aie/Memory
02fef495228e8d29a491b98b13aebedd6ba211b0
[ "MIT" ]
null
null
null
goingoverref/Playlist.cpp
terryn-aie/Memory
02fef495228e8d29a491b98b13aebedd6ba211b0
[ "MIT" ]
null
null
null
#include "Playlist.h" #include <iostream> #include <random> #include <ctime> void printPLaylist(const Playlist & pl) { std::cout << pl.name << std::endl; for (int i = 0; i < pl.trackCount; i++) { if (pl.trackList[i].Skipped == false) { std::cout << pl.trackList[i].TrackName << std::endl; std::cout << (int...
19.107143
134
0.598131
terryn-aie
b4230b9266b4a7764d0576ff9f806059cfd73dcd
1,021
cpp
C++
Theft at World Bank - GFG/theft-at-world-bank.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
1
2022-02-27T09:01:07.000Z
2022-02-27T09:01:07.000Z
Theft at World Bank - GFG/theft-at-world-bank.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
Theft at World Bank - GFG/theft-at-world-bank.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
// { Driver Code Starts #include<bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution{ public: long double maximumProfit(int N, long long C, vector<long long> w, vector<long long> p){ // Code here. vector<pair<double,int>> a; for(int i=0;i<N;i++) { int sqroot=sqrt(w[...
22.195652
89
0.524976
champmaniac
b42371bfd33366d1d409b965961081b46a690387
150
cpp
C++
Module08_LCD/LCD_PrepExercicePOO/src/main.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
1
2021-01-28T18:36:35.000Z
2021-01-28T18:36:35.000Z
Module08_LCD/LCD_PrepExercicePOO/src/main.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
2
2020-12-09T19:52:34.000Z
2022-03-21T12:11:08.000Z
Module08_LCD/LCD_PrepExercicePOO/src/main.cpp
monkTrapist/420-W48-SF
d1c2b64dcc3054c054a29040eedf05fbdcbfeece
[ "CC0-1.0" ]
11
2020-11-11T16:55:57.000Z
2022-03-28T13:46:57.000Z
#include <Arduino.h> #include "Program.h" Program* program = nullptr; void setup() { program = new Program(); } void loop() { program->loop(); }
13.636364
27
0.64
monkTrapist