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
bd4ad8dd12486df8755c5e838cff0515b5743778
471
cpp
C++
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
1877/main.cpp
exaw/timustasks
d0c4cb797e6063d35f25842712a8417fdfd8f4d4
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <algorithm> #include <iostream> #include <map> #include <numeric> #include <set> #include <string> #include <vector> #include <unordered_map> #include <unordered_set> #include <bitset> using namespace std; int main () { ios_base::sync_with_stdio (false); int k1 ...
13.083333
38
0.592357
exaw
bd4c88fc07fc54030e8fdb491e4e92333d27d6db
5,124
cc
C++
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/test/test-mysql.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
#include "coord/coord.h" #include "gtest/gtest.h" #include "coord/builtin/slice.h" #include "coord/sql/init.h" #include "coord/sql/mysql/init.h" #include "coord/config/config.h" #include <stdio.h> #include <string.h> #include <iostream> #include <cstdlib> class TestMySQL : public testing::Test { public: static voi...
37.40146
143
0.607143
lujingwei002
bd4ff33907f456a6d566c8012e96165c2566cbae
1,402
cpp
C++
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
3
2020-09-14T19:39:53.000Z
2021-01-19T11:58:27.000Z
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
instanceedr.cpp
slist/cbapi-qt-demo
b44e31824a5b9973aa0ccff39c15ff7805902b8b
[ "MIT" ]
null
null
null
// Copyright 2020 VMware, Inc. // SPDX-License-Identifier: MIT #include "instanceedr.h" #include "ui_instanceedr.h" InstanceEdr::InstanceEdr(QWidget *parent) : QWidget(parent), ui(new Ui::InstanceEdr) { ui->setupUi(this); } InstanceEdr::~InstanceEdr() { delete ui; } void InstanceEdr::set_name(const ...
17.308642
75
0.664051
slist
bd54b467c25f3b14a6178edd3ef1d5130470ef69
703
cc
C++
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
test/Airflow/readfile.cc
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
#include <stdio.h> #include <stdlib.h> int main(int argc,char **argv) { char buffer[20]={0}; FILE *fp=nullptr; if(fopen_s(&fp,argv[1],"rb")!=0) return -1; if(fread_s(buffer,20,1,20,fp)<0) { fclose(fp); return -2; } fclose(fp); printf("%02X-%02X-%02X-%02X-%02X-%...
22.677419
63
0.540541
fstudio
32e3cc4e727858a1b23d68c676147a1712e8d336
392
cpp
C++
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
null
null
null
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
null
null
null
C++/if/01 Password .cpp
Noob-coder-07/DeepAlgo
b7f5f8eacefff561648b476946d80948b3f69f51
[ "Apache-2.0" ]
1
2021-09-07T03:12:49.000Z
2021-09-07T03:12:49.000Z
#include<iostream> #include<conio.h> using namespace std; int main() { string Password = "Hello"; cout << "Enter a Password => " << flush; string input; cin >> input; if(Password == input) { cout << "Password Accepted....." << endl; } if(Password != input) { cout...
13.517241
49
0.507653
Noob-coder-07
32e9035bece31b37ed27ed859bd066a1d7ae64f2
1,768
cpp
C++
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
9
2017-08-31T06:03:18.000Z
2019-01-06T05:07:26.000Z
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
mvp_tips/CPUID/CPUID/ExtendedCPU0.cpp
allen7575/The-CPUID-Explorer
77d0feef70482b2e36cff300ea24271384329f60
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2017-08-31T06:23:22.000Z
2022-01-24T06:47:19.000Z
// ExtendedCPU0.cpp : implementation file // #include "stdafx.h" #include "resource.h" #include "ExtendedCPU0.h" #include "CPUIDx86.h" #include "ReportRegs.h" #include "CurrentProcessor.h" // CExtendedCPU0 dialog IMPLEMENT_DYNCREATE(CExtendedCPU0, CLeaves) CExtendedCPU0::CExtendedCPU0() : CLeaves(CExtendedCP...
22.961039
77
0.557127
allen7575
32f91bccb96b86a022267acb0fa41e009dc08275
8,913
hpp
C++
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
7
2016-06-19T21:14:55.000Z
2020-09-15T03:04:41.000Z
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
3
2015-02-12T21:17:00.000Z
2020-03-20T13:50:38.000Z
jdu_source_collection/jsc/bioinfo/psl.hpp
gersteinlab/LESSeq
bfc0a9aae081682a176e26d9804b980999595f16
[ "MIT" ]
null
null
null
#ifndef _jsc_bioinfo_psl_hpp_included_ #define _jsc_bioinfo_psl_hpp_included_ #include <boost/config.hpp> #include <math.h> #include <iostream> #include <map> #include <set> #include <sstream> #include <vector> #include <boost/lambda/bind.hpp> #include <boost/lambda/lambda.hpp> #include <boost/lexical_cast.hpp> #in...
26.292035
115
0.638393
gersteinlab
32fe586ac7e10e7d2ffd43b1d75d5faa54be0fdf
13,241
cpp
C++
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
2
2021-12-20T03:20:05.000Z
2021-12-28T16:15:20.000Z
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
69
2021-08-30T13:09:01.000Z
2022-01-15T17:41:40.000Z
src/prompt.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
null
null
null
#include "prompt.h" #include "util.h" #include "windows.h" #include <deque> #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/sinks/rotating_file_sink.h" static void logVoiceParams(VoiceParams params) { spdlog::info("voice params updated"); spdlog::info("bpm: {}", params.bpm...
27.357438
140
0.61083
aparks5
32fe5c733afef97b59aa68bebecf411d6038ac13
13,835
cc
C++
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/GraphicsPlugins/BladeImageFI/source/ETC2EAC.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2015/01/28 filename: ETC2EAC.cc author: Crazii purpose: ETC2/EAC block compression reference: *********************************************************************/ #include <BladePCH.h> #include "ETC2EAC.h" #include "ETC2EACCommon...
32.78436
127
0.622551
OscarGame
32ff64c1d17f46a71a1c44627d62f6b5911a16f4
618
hpp
C++
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
src/widgets/PlayerFrame.hpp
filipdjordjevic/music_player
a0d66005a2fe0b8f277662a37d8d1c2912196536
[ "MIT" ]
null
null
null
#pragma once #include <QtWidgets> #include "VolumeSlider.hpp" #include "SeekBar.hpp" #include "LcdLabel.hpp" #include "CircleButton.hpp" namespace ui { class PlayerFrame : public QFrame { Q_OBJECT private: CircleButton *playBtn_; CircleButton *soundBtn_; VolumeSlider *vol...
19.3125
44
0.627832
filipdjordjevic
fd065cb4c52b896a29c94642cf6a8389f0e88c7b
1,663
cpp
C++
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
9
2016-02-25T03:25:53.000Z
2022-03-27T09:47:50.000Z
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
null
null
null
src/uMOOSArduinoLib/NetClientComm.cpp
mandad/moos-ivp-manda
6bc81d14aba7c537b7932d6135eed7a5b39c3c52
[ "MIT" ]
4
2016-06-02T17:42:42.000Z
2021-12-15T09:37:55.000Z
/************************************************************/ /* NAME: Mike Bogochow, Jeff Masucci, Cody Noel */ /* ORGN: UNH */ /* FILE: NetClientComm.cpp */ /* DATE: April 2014 */ /****...
24.820896
70
0.542995
mandad
fd0a820283e8bfe74856d5e202860089b96f9e70
1,984
cpp
C++
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
std-regex/id-scanners/AdvancedIdScanner.cpp
PS-Group/compiler-theory-samples
c916af50eb42020024257ecd17f9be1580db7bf0
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AdvancedIdScanner.h" CAdvancedIdScanner::CAdvancedIdScanner() : m_pattern("[a-zA-Z_][a-zA-Z0-9_]*") , m_commentBegin("/\\*") , m_commentEnd("\\*/") { } void CAdvancedIdScanner::ScanLine(std::string const& text) { // У функции regex_search есть вариант, принимающий 2 итера...
25.766234
85
0.645161
PS-Group
fd0f037b8fb5ccdf8bf6d7801765eefd56de0437
664
cpp
C++
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
src/system/Logger.cpp
hugomarquez/cpp-toolkit
83797f34313b04a4dad931ee1648dcb37b50f64c
[ "MIT" ]
null
null
null
#include "include/hm/system/Logger.h" #include <spdlog/spdlog.h> #include "spdlog/sinks/stdout_color_sinks.h" namespace hm { Logger* Logger::instance = 0; void Logger::setLevel(int level) { switch (level) { case 1: spdlog::set_level(spdlog::level::debug); break; default: spdlog::set_level(spdlo...
30.181818
66
0.671687
hugomarquez
fd145a50b7e69bfd7dd569504eddd393c15c56b7
130
hpp
C++
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
include/chasm/chasm.hpp
Ostoic/chasm
9ffab5686cac79158699d704368c67ec29551327
[ "MIT" ]
null
null
null
#pragma once #include "lex/split.hpp" #include "parser/parser.hpp" namespace chasm { using lex::split; using parse::parser; }
11.818182
28
0.715385
Ostoic
fd1983cc538893f22cd20591540994a3599c69de
399
cpp
C++
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
3
2017-04-06T21:37:22.000Z
2020-10-05T12:46:50.000Z
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
null
null
null
Dummy_device/create_Dummy_device.cpp
dekieras/GLEANApp
3cae6aa53f90f0c950f3097edcda5193b6b89fe8
[ "MIT" ]
null
null
null
#include "GLEANKernel/Output_tee_globals.h" #include "Dummy_device.h" // for use in non-dynamically loaded models Device_base * create_Dummy_device() { return new Dummy_device(Normal_out); } // the class factory functions to be accessed with dlsym extern "C" Device_base * create_device() { return create_Dummy_d...
19.95
56
0.744361
dekieras
fd1a68499337a52e0a2e7a47af158b2f45aa6ffe
604
hpp
C++
library/ATF/CPtrList.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CPtrList.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CPtrList.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CObject.hpp> #include <CPlex.hpp> START_ATF_NAMESPACE struct CPtrList : CObject { struct CNode { struct CNode *pNext; ...
23.230769
108
0.620861
lemkova
fd1ea221aea7ee6bfe58b94a66dbb17d3877794c
5,201
cpp
C++
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
2
2018-05-01T14:09:21.000Z
2018-06-27T11:49:41.000Z
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
1
2020-04-18T00:11:54.000Z
2020-04-18T00:11:54.000Z
FDRV/src/DFXML_creator.cpp
AlexXandreE/Autopsy-Plugin-2017-FaceDetection
a3027e7c431b23b3e9a5144a6e2cc89d0da331ce
[ "BSL-1.0" ]
null
null
null
#include <chrono> #include <ctime> #include <Lmcons.h> #include <boost/filesystem.hpp> #include <boost/version.hpp> #include <boost/format.hpp> #include <dlib/image_processing.h> #include <dlib/gui_widgets.h> #include <dlib/string.h> #include <dlib/image_io.h> #include <openssl/sha.h> #include <FDRV/DFXML_creato...
27.812834
107
0.698135
AlexXandreE
fd2410d646360c792463ce53d98290865390a08b
9,868
cc
C++
src/delay_escape.cc
DouglasRMiles/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
5
2019-11-20T02:05:31.000Z
2022-01-06T18:59:16.000Z
src/delay_escape.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
null
null
null
src/delay_escape.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
2
2022-01-08T13:52:24.000Z
2022-03-07T17:41:37.000Z
// delay_escape.cc - General delay mechanism. // // ##Copyright## // // Copyright 2000-2016 Peter Robinson (pjr@itee.uq.edu.au) // // 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 // // ...
26.67027
119
0.654439
DouglasRMiles
fd2800700bc7399c059178e0cf7a11648c28c198
6,819
hpp
C++
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
mainframe/simd.hpp
tedmiddleton/mainframe
0d0537e8936d60c30573f08506f92bd6e8455fcf
[ "BSL-1.0" ]
null
null
null
// Copyright Ted Middleton 2022. // 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) #ifndef INCLUDED_mainframe_simd_h #define INCLUDED_mainframe_simd_h #include <iostream> #if __AVX__ #incl...
32.317536
86
0.504326
tedmiddleton
fd2c00958ee0c29a9372d7d291a87f62e06360d7
608
cpp
C++
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa25.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; /** Escribir un programa para leer un numero entero por teclado y mostrar por pantalla la siguiente figura: * ** *** Ej. Entrada 3 4 Salida * ** *** * ** *** **** */ int main() { int n; cin>>n; /*for(int i=0;i<n;i++) { for(int j=0;j<i+...
14.139535
59
0.481908
sclip
fd2cda45ca6cffd6827ca5976551252252ded072
836
hpp
C++
src/gpu/metal.hpp
DveloperY0115/FirstRayTracer
9487bbf4a3c7ac0ad2343fdaca6b5d8548f1e332
[ "MIT" ]
1
2021-02-18T08:38:21.000Z
2021-02-18T08:38:21.000Z
src/gpu/metal.hpp
DveloperY0115/RTFoundation
9487bbf4a3c7ac0ad2343fdaca6b5d8548f1e332
[ "MIT" ]
1
2020-05-15T16:42:33.000Z
2020-05-17T07:23:43.000Z
src/gpu/metal.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
null
null
null
// // Created by dveloperY0115 on 1/28/2021. // #ifndef RAY_TRACING_IN_CPP_METAL_H #define RAY_TRACING_IN_CPP_METAL_H #include "material.hpp" class metal : public material { public: __device__ metal(const vector3& a, float f) : albedo(a) { if (f < 1) fuzz = f; else fuzz = 1; } __device__ virtual bool scatter...
33.44
104
0.671053
DveloperY0115
fd2d436eb0a749e2aff868b3752eb523aeca493c
127
cpp
C++
AtCoder/ABC053/A/abc053_a.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
AtCoder/ABC053/A/abc053_a.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
AtCoder/ABC053/A/abc053_a.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; x < 1200 ? cout << "ABC" : cout << "ARC"; }
21.166667
45
0.527559
object-oriented-human
fd2fca42ac4233c6c7f31c5f4b012afe20f3aa79
10,173
cpp
C++
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/Tests2/TestCIDMData/TestCIDMData_AttrData.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: TestMData_AttrData.cpp // // AUTHOR: Dean Roddey // // CREATED: 08/07/2018 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://openso...
30.276786
89
0.433009
MarkStega
fd308e43d5783a3a00f7b1922d8f468429a6f363
5,015
cpp
C++
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
City/City/Testing/CCityTest.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include "City.h" #include "TileRoad.h" #include "TileLandscape.h" #include "TileCoalmine.h" #include "TileBuilding.h" using namespace std; using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Testing { class CTestVisitor : public CTileVisitor { ...
31.740506
97
0.554935
NicholsTyler
fd38913ee6929ff670690ff8689318fe63932139
1,315
cpp
C++
cpp/301-310/Minimum Height Trees.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/301-310/Minimum Height Trees.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/301-310/Minimum Height Trees.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: vector<int> findMinHeightTrees(int n, vector<pair<int, int>>& edges) { vector<int> res; if(n <= 2) { for(int i = 0;i < n;i++) res.push_back(i); return res; } int k = 0; vector<set<int>> myvec(n, se...
25.784314
74
0.349049
KaiyuWei
fd3de0284634f25e8345852b89225993adb5fd8c
21,395
cpp
C++
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
SpockLib/c_view.cpp
zachmakesgames/Spock
bb5a6a9b4ce2c86fe49c08b7aa1ae633b95443e4
[ "MIT" ]
null
null
null
#include "c_view.h" c_view::c_view(c_instance *instance, c_device *device, int x, int y) : m_instance(instance), m_device(device), m_closing_callback(nullptr), m_resize_callback(nullptr), m_extent_2D({}) { VkResult result; //Set up the window this->m_extent_2D.height= y; this->m_extent_2D.width= x; this-...
43.222222
181
0.783454
zachmakesgames
fd475727ae2c507e53318e34ee7a5ba5fe66d3e7
4,400
cpp
C++
dwarf/SB/Game/zCamMarker.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
dwarf/SB/Game/zCamMarker.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
dwarf/SB/Game/zCamMarker.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
typedef struct xCamAsset; typedef struct zCamMarker; typedef struct xSerial; typedef struct _tagxCamFollowAsset; typedef struct xBase; typedef struct xVec3; typedef struct _tagxCamShoulderAsset; typedef struct xLinkAsset; typedef struct xBaseAsset; typedef struct _tagp2CamStaticAsset; typedef struct _tagp2CamStaticFoll...
22
69
0.76
stravant
fd47afe859506578fb0db6362b231e20b435202e
2,634
cpp
C++
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-k8sfilter/src/serializer/K8sfilterJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * k8sfilter API * k8sfilter API generated from k8sfilter.yang * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/polycube-network/swagger-codegen.git * branch polycube */ /* Do not edit this file manually */ #include "K8sfilterJson...
18.680851
75
0.69552
francescomessina
fd4f885e8e2a92839403ee05655e3fa61ab11c12
1,952
cpp
C++
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
14
2015-04-04T17:42:53.000Z
2021-03-09T11:09:51.000Z
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
3
2015-07-30T13:22:42.000Z
2017-06-06T15:13:28.000Z
staff/samples/optional/component/src/TasksImpl.cpp
gale320/staff
c90e65a984e9931d803fc88243971639fe3876b7
[ "Apache-2.0" ]
13
2015-04-25T20:43:45.000Z
2021-12-29T07:55:47.000Z
// This file generated by staff_codegen // For more information please visit: http://code.google.com/p/staff/ // Service Implementation #include "TasksImpl.h" namespace samples { namespace optional { TasksImpl::TasksImpl() { } TasksImpl::~TasksImpl() { } void TasksImpl::OnCreate() { // this function is called wh...
19.717172
97
0.674693
gale320
fd5134bdb38c6445f558d74504981cf0649ff898
45,308
cc
C++
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
4
2020-07-02T12:11:41.000Z
2021-11-03T13:44:57.000Z
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
6
2021-06-14T11:34:39.000Z
2021-06-29T15:10:16.000Z
src/main/cpp/controller/controller.cc
rdfostrich/cobra
b65ec1aa7b10e990a3b40d86636050377ff2d2d6
[ "MIT" ]
1
2021-05-20T14:16:24.000Z
2021-05-20T14:16:24.000Z
#include <util/StopWatch.hpp> #include "controller.h" #include "snapshot_patch_iterator_triple_id.h" #include "patch_builder_streaming.h" #include "../snapshot/combined_triple_iterator.h" #include "../simpleprogresslistener.h" #include <sys/stat.h> #include <boost/filesystem.hpp> Controller::Controller(string basePath...
55.119221
297
0.677916
rdfostrich
fd541295ab267af73a7a4def844271f4430b93ad
6,306
cpp
C++
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
6
2020-10-29T10:20:48.000Z
2022-03-31T13:39:47.000Z
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
1
2021-11-25T13:15:11.000Z
2021-12-08T09:23:24.000Z
src/cpp/constraints.cpp
laudv/veritas
ba1761cc333b08b4381afa720b24ace065a9f106
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 DTAI Research Group - KU Leuven. * License: Apache License 2.0 * Author: Laurens Devos */ #include "constraints.hpp" namespace veritas { UpdateResult Add::update(Domain& self, Domain& ldom, Domain& rdom) { std::cout << "ADD0 " << "self: " << self << ...
27.417391
88
0.479385
laudv
fd56b6f69cb56a982b035873e8b501012f623a25
29,721
cpp
C++
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
86
2016-04-13T16:39:02.000Z
2022-03-20T17:35:09.000Z
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
19
2016-04-14T07:38:19.000Z
2021-04-12T21:58:08.000Z
Common/src/song.cpp
danfrz/PLEBTracker
f6aa7078c3f39e9c8b025e70e7dbeab19119e213
[ "MIT" ]
8
2018-06-04T22:02:06.000Z
2022-01-19T05:34:19.000Z
#include "song.h" #include <iostream> Song::Song(bool fill_defaults) { bytes_per_row = 0x1CB0; interrow_resolution = 0x18; for(int i = 9; i < SONGNAME_LENGTH+1; i++) songname[i] = 0; songname[0]='s'; songname[1]='o'; songname[2]='n'; songname[3]='g'; songname[4]=' '; songn...
28.359733
119
0.488611
danfrz
fd57609a87c44fed9c4340ddf05369168e5621cc
15,285
cpp
C++
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
5
2020-06-17T06:27:45.000Z
2021-01-17T19:59:41.000Z
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
null
null
null
cppVersion/map.cpp
maxgoren/codealong2020
b8ef380900544c3daabd549f89f196e133622b10
[ "MIT" ]
1
2022-03-07T15:22:17.000Z
2022-03-07T15:22:17.000Z
/**************************************************************** * MIT License * * Copyright (c) 2020 Max Goren * * 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, ...
28.948864
149
0.53366
maxgoren
fd5b5642bd20ebde3431ec8c7689553cadf9ad85
4,483
cpp
C++
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
eiam/src/v20210420/model/UserGroupInformation.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
30.496599
155
0.7205
suluner
fd5c167fe2de69e059d08716f61869c19ccce090
2,360
cc
C++
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
4
2021-05-17T02:49:36.000Z
2021-05-18T13:31:33.000Z
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
1
2021-06-02T03:01:05.000Z
2021-06-02T03:01:05.000Z
src/mnn/kernel/cpu/fully_connected_op_cpu.cc
horance-liu/mnn
d53216e5f3fb60ea1da6f44e72fc0d949974931d
[ "Apache-2.0" ]
4
2021-05-19T01:43:07.000Z
2021-12-09T07:29:34.000Z
/* * Copyright (c) 2021, Horance Liu and the respective contributors * All rights reserved. * * Use of this source code is governed by a Apache 2.0 license that can be found * in the LICENSE file. */ #include "mnn/kernel/cpu/fully_connected_op_cpu.h" namespace mnn { namespace kernels { void fully_connec...
35.223881
86
0.54322
horance-liu
fd5d55923e68b941e8e033abfac025a43107741c
1,881
cpp
C++
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
1
2021-07-03T22:53:53.000Z
2021-07-03T22:53:53.000Z
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
null
null
null
source/computation-derivatives-gt2s_ga1s.cpp
p-maybank/bayesian-uq
5e3b34aaf33512d94fd417238df5582b3a89170b
[ "BSD-3-Clause" ]
2
2021-07-03T22:57:22.000Z
2021-10-10T13:29:54.000Z
#include <vector> #include "Eigen/Dense" #include "scalar-typedef.hpp" #include "stable-sde.hpp" #include "data-vector.hpp" #include "vector-io.hpp" #include "computation.hpp" using namespace std; using namespace Eigen; #ifdef USE_DCO_TYPES template<> void Computation<gt2s_ga1s_scalar>::derivatives(Matrix<gt2s_ga1s...
32.431034
103
0.653907
p-maybank
5b746ac7d9bb646e6168d6c081e3f442cb2d1b9f
366
cpp
C++
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/en/WorldManager.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#include "WorldManager.hpp" #include "World.hpp" #include <core/memory/Memory.hpp> namespace ari { namespace en { //! Create a new World World* WorldManager::CreateWorld() { return core::Memory::New<World>(); } //! Destroy a world void WorldManager::DestroyWorld(World* _world) { core::Memory::De...
15.25
48
0.647541
kochol
5b786104818f2dded7183adeed4c73af5a677cb4
2,561
cpp
C++
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
648-replace-words/648-replace-words.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: class Trie{ public: class Node{ public: Node* links[26] = {NULL}; string str = ""; bool containsKey(char ch){ return (links[ch-'a'] != NULL); } void put(char ch, Node* node){...
25.868687
70
0.385396
shreydevep
5b7a233f651cf3fd113d95f0df596b982066c3b6
4,813
hpp
C++
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/util/detail/empty_vtable.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2011 Thomas Heller // Copyright (c) 2013 Hartmut Kaiser // // 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) #if !BOOST_PP_IS_ITERATING #ifndef HPX_FUNCTION_DETAIL_EMPTY_VTABLE_HPP #define HPX_F...
31.051613
102
0.540204
andreasbuhr
5b7babe6958aa7327c1581dc0a7afa00fc9aab33
1,960
cpp
C++
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
khr2/controllers/khr2/KHR2_Data.cpp
llessieux/KHR2Webot
f1d7207c12b2a666b023c4a16082601b29ae54bb
[ "MIT" ]
null
null
null
#include "KHR2_Data.h" bool RCBMotion::SaveToFile(RCBMotion *m,char *filename) { FILE *f = fopen(filename,"wt"); if ( f == NULL ) return false; fprintf(f,"[GraphicalEdit]\n"); fprintf(f,"Type=%d\n",m->m_type); fprintf(f,"Width=500\n"); fprintf(f,"Height=%d\n",30*((m->m_item_count/8) +...
28.823529
66
0.497959
llessieux
5b829bdb1b036b5ea700ffa3692ecbcf1da3b1ca
674
hpp
C++
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
ILogger.hpp
kit-cpp-course/yushkov-ia
f08795754beec39a5b0801a0e4bad8f87c9838b4
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace wv { class OperationLogger; /* * Интерфейс для логирования действий */ class ILogger { public: virtual ~ILogger() = default; /* * Записывает строку в лог */ virtual void Log(const std::string& message) const = 0; /* * Записывает...
18.216216
78
0.626113
kit-cpp-course
5b876d3da54dbd8e01a2d50acf5895694f48e76a
489
hpp
C++
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
include/boost/hana/group/minus_mcd.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/*! @file Defines `boost::hana::Group::minus_mcd`. @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_GROUP_MINUS_MCD_HPP #define BOOST_HANA_GROUP_MINUS_MCD_HPP // minus_mcd is i...
27.166667
78
0.791411
rbock
5b88b9108869ce09833464ed746880ef99723f20
1,039
cpp
C++
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
20.Valid_Parentheses/solution_1.cpp
bngit/leetcode-practices
5324aceac708d9b214a7d98d489b8d5dc55c89e9
[ "MIT" ]
null
null
null
#include <cstdlib> #include <vector> #include <string> #include <cassert> #include <algorithm> #include <sstream> #include <map> #include <typeinfo> #include <iostream> #include <stack> using namespace std; class Solution { public: bool isValid(string s) { stack<char> bracket; for (auto &c : s) { ...
23.613636
71
0.358999
bngit
5b8e0ad8c2a72e7b0c96728367d7311d9dd0297c
325
cpp
C++
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
test/StaircaseSimulator_main.cpp
leiz86/staircase_code_simulator
bba297c1c1fbb4921855b0e4f43afb505c1235fa
[ "Apache-2.0" ]
null
null
null
/* * StaircaseSimulator_main.cpp * * Created on: Dec 10, 2017 * Author: leizhang */ #include "StaircaseSimulator.h" int main(int argc, char **argv) { StaircaseSimulator & scs = StaircaseSimulator::GetInstance(); const char testOpts[] = "test"; scs.init(testOpts); scs.run(0); scs.report(1); return ...
15.47619
62
0.664615
leiz86
5b901cc7a7352094517dae80b4131606c50d23d6
674
hpp
C++
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
221
2018-06-11T07:47:54.000Z
2022-03-28T17:56:06.000Z
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
128
2017-12-19T18:18:58.000Z
2022-03-22T01:15:26.000Z
src/ResolvedResource.hpp
abelsensors/esp32_https_server
e568d8321764cce26ab76976f6489065b3744c7a
[ "MIT" ]
82
2018-04-29T01:14:47.000Z
2022-03-21T11:32:02.000Z
#ifndef SRC_RESOLVEDRESOURCE_HPP_ #define SRC_RESOLVEDRESOURCE_HPP_ #include "ResourceNode.hpp" #include "ResourceParameters.hpp" namespace httpsserver { /** * \brief This class represents a resolved resource, meaning the result of mapping a string URL to an HTTPNode */ class ResolvedResource { public: ResolvedR...
21.741935
110
0.759644
abelsensors
5b9d03e9935b8a3135870fceae961f323becc7a0
20,861
hpp
C++
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
main.hpp
mehmetoguzderin/cpp-2021-vulkan
07e3eba40e9df66ddd3bce8ea266300dc735a3f0
[ "CC0-1.0" ]
null
null
null
/* Inspired by * https://github.com/KhronosGroup/Vulkan-Hpp/tree/master/RAII_Samples * https://github.com/KhronosGroup/Vulkan-Tools/tree/master/cube * https://github.com/KhronosGroup/Vulkan-Samples/tree/master/samples/extensions/raytracing_basic * https://github.com/glfw/glfw/blob/master/tests/triangle-vulkan.c * ...
52.1525
143
0.602656
mehmetoguzderin
5b9f95a8c24e74fea5aa9c4adaa61c6ecec9b7d0
329
cpp
C++
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
SelectionAlgorithm.cpp
LegatAbyssWalker/SortingAlgorithms
ab902e8c7fe1489899263bd2a7f22553d3ed0ede
[ "MIT" ]
null
null
null
#include "SelectionAlgorithm.h" void SelectionAlgorithm::sort() { // Selective sorts the vector // Sorts through every single element in the vector for (int i = 0; i < numbers.size() - 1; i++) { for (int j = i + 1; j < numbers.size(); j++) { if (numbers[i] > numbers[j]) { std::swap(numbers[i], numbers[j]); } ...
25.307692
70
0.610942
LegatAbyssWalker
5ba2f21372bc93827fa628f632175b0545dc71f5
2,892
cpp
C++
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
9
2020-11-02T17:20:40.000Z
2021-12-25T15:35:36.000Z
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
2
2020-06-27T23:14:13.000Z
2020-11-02T17:28:32.000Z
src/Platform/PlatformVideoUtilsCommon.cpp
mushware/adanaxis-core-app
679ac3e8a122e059bb208e84c73efc19753e87dd
[ "MIT" ]
1
2021-05-12T23:05:42.000Z
2021-05-12T23:05:42.000Z
//%Header { /***************************************************************************** * * File: src/Platform/PlatformVideoUtilsCommon.cpp * * Copyright: Andy Southgate 2002-2007, 2020 * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documenta...
25.59292
78
0.640041
mushware
5baa6188461759460a685d8ba329c33d962bcbe3
800
hpp
C++
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
include/threepp/materials/ShadowMaterial.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
// https://github.com/mrdoob/three.js/blob/r129/src/materials/ShadowMaterial.js #ifndef THREEPP_SHADOWMATERIAL_HPP #define THREEPP_SHADOWMATERIAL_HPP #include "interfaces.hpp" #include "threepp/materials/Material.hpp" namespace threepp { class ShadowMaterial : public virtual Material, ...
22.857143
79
0.655
maidamai0
5baae439c5d71695f8feea2e6d6b6e5df206df47
2,020
cc
C++
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
src/topo/Tree.cc
rkowalewski/fmpi
39a5e9add0d0354c4a2cceeb0a91518bd9f41796
[ "BSD-3-Clause" ]
null
null
null
#include <fmpi/topo/Tree.hpp> #include <fmpi/util/Math.hpp> #include <fmpi/util/NumericRange.hpp> // TLX #include <tlx/math/ffs.hpp> #include <tlx/math/integer_log2.hpp> #include <tlx/math/round_to_power_of_two.hpp> namespace fmpi { static void knomial_tree_aux(Tree* tree, mpi::Rank me, uint32_t size) { /* Receive f...
25.56962
72
0.567327
rkowalewski
5bacbd5c8ea68a83f1c1dc754f283ab8e189ec98
2,429
hpp
C++
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/vehicles_land/configs/vehicles/taki_malitia.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
// mortar man /* class CUP_O_2b14_82mm_TK_INS : CUP_2b14_82mm_Base { class Turrets : Turrets { class MainTurret : MainTurret { magazines[] = { "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells", "8Rnd_82mm_Mo_shells...
36.80303
65
0.575957
SOCOMD
5bb3bbef1b8d4a974b85de8a136d083579370cf0
1,662
cpp
C++
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
1
2022-02-01T19:33:21.000Z
2022-02-01T19:33:21.000Z
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
source/Entity.cpp
thejsa/rhythm-run
ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1
[ "CC-BY-3.0" ]
null
null
null
/* * Rhythm Run for Nintendo 3DS * Lauren Kelly, 2020, 2021 */ #include <3ds.h> #include <citro2d.h> #include <stdint.h> // Most getters/setters are defined in the header file to enhance performance optimisations #include "Entity.hpp" Entity::Entity(float a_x, float a_y, C2D_SpriteSheet a_spriteSheet, size_t ...
27.7
91
0.673887
thejsa
5bb7858ca6daee4250c6e31ec816b851e9d6549e
8,804
hpp
C++
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
5
2018-01-19T06:18:00.000Z
2019-07-19T16:08:46.000Z
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
1
2018-02-09T21:33:08.000Z
2018-02-11T23:39:47.000Z
source/timemory/components/skeletons.hpp
jrmadsen/TiMEmory
8df2055e68da56e2fe57f716ca9b6d27f7eb4407
[ "MIT" ]
2
2019-06-30T00:46:54.000Z
2019-07-09T18:35:45.000Z
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
32.249084
90
0.57701
jrmadsen
5bc0536983148928798ae84baf6880e890bcda6c
423
hpp
C++
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
include/geometry/segment.hpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#pragma once #include "geometry/line.hpp" class Segment : public Line, public Ordered<Segment> { public: Segment() {} Segment(const Point &a, const Point &b) : Line(a, b) {} Segment(Input &in) : Line(in) {} bool operator<(const Segment &segment) const { return a == segment.a ? b < segment.b : a < segmen...
21.15
63
0.602837
not522
5bc0960b3dc3a2099c06255085cb44c962ad84b4
1,447
cpp
C++
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
1
2021-11-28T14:16:09.000Z
2021-11-28T14:16:09.000Z
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
ex02/Base.cpp
Igors78/cpp06
d50929edcaef218d68ab04b41d4a6693032f83bb
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Base.cpp :+: :+: :+: ...
37.102564
80
0.12094
Igors78
5bc41a641535e7d8eed059d8775775b59ce17c70
3,943
cpp
C++
src/xray/render/engine/sources/effect_deffer_aref.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/render/engine/sources/effect_deffer_aref.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/render/engine/sources/effect_deffer_aref.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 20.02.2009 // Author : Mykhailo Parfeniuk // Copyright ( C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include <xray/render/engine/effect_deffer_a...
32.319672
120
0.660918
ixray-team
5bc45115070be632ff4387809bd1a9b96c905e7b
1,281
hpp
C++
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
src/third.hpp
hobby-dev/sirius
8bfdef75f225ba50bde16b3f75c8b6ac09cebb86
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> namespace sirius { // Problem 3: // Implement Serialize and Deserialize methods of List class. Serialize into binary // file. Note: all relationships between elements of the list must be preserved. // Definitions of struct ListNode and class List are provided: //stru...
20.66129
83
0.662763
hobby-dev
5bc5e1a9b900718c300882d1eed2067f504bb910
4,287
cpp
C++
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
vehicle/OVMS.V3/components/can/src/candump_crtd.cpp
goev/Open-Vehicle-Monitoring-System-3
f2efd1898ec1df19eb730c1eda9a1999a00b36b4
[ "MIT" ]
null
null
null
/* ; Project: Open Vehicle Monitor System ; Module: CAN dump framework ; Date: 18th January 2018 ; ; (C) 2018 Mark Webb-Johnson ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"),...
24.924419
79
0.605318
goev
5bcacfe1a4fe9b010dae211b326b9cca39bbf3d2
10,990
cpp
C++
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
1
2019-06-18T23:31:10.000Z
2019-06-18T23:31:10.000Z
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
null
null
null
src/demeter-win/vs/simple/work.cpp
pcdeadeasy/NetworkDirect
4c2ee56604c3493f87313dbb7bc8b1630dceaf39
[ "MIT" ]
1
2019-06-18T21:43:29.000Z
2019-06-18T21:43:29.000Z
#include <libraries/logger/Logger.h> #include <libraries/Winshim/Winshim.h> #include <libraries/ndutil/ndutil.h> #include <libraries/ndutil/ndtestutil.h> #include "params.h" #include "ndscope.h" #include "errors.h" #include "work.h" static void stage8( params_t* const params, work_t work, const struct sock...
25.322581
91
0.582803
pcdeadeasy
5bd03752bc7988a0f3f32e56f8b1a251641428e5
5,548
cpp
C++
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
tests/job_tests.cpp
jacobmcleman/JobBot
1ef82a2f2fbf3321ba3ef4f2a006128bed1388c0
[ "MIT" ]
null
null
null
/************************************************************************** Some short tests to test basic job functionality Author: Jake McLeman ***************************************************************************/ #include <gtest/gtest.h> #include "Job.h" #define UNUSED(thing) (void)thing using name...
29.354497
79
0.683129
jacobmcleman
5bd1c4c60b0a518115e14cce3ff262dcad624695
1,005
cpp
C++
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
6
2020-03-26T15:07:14.000Z
2022-02-04T06:27:32.000Z
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
1
2020-07-09T06:32:52.000Z
2020-07-09T07:26:47.000Z
examples/make_stereo_panorama.cpp
jonathanventura/spherical-sfm
0f0dafdd66641cebcb57cdb8a87b9ce466ab36eb
[ "MIT" ]
1
2022-03-08T20:30:46.000Z
2022-03-08T20:30:46.000Z
#include <iostream> #include <vector> #include <cmath> #include <fstream> #include <gflags/gflags.h> #include "stereo_panorama_tools.h" using namespace sphericalsfm; using namespace stereopanotools; DEFINE_string(intrinsics, "", "Path to intrinsics (focal centerx centery)"); DEFINE_string(video, "", "Path to video...
30.454545
92
0.705473
jonathanventura
5bd4623cc9a5404f3652cce6bd2ce9c8e03da0f5
617
cpp
C++
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
2017/APP5/Q.7.cpp
HemensonDavid/Estudando-C
fb5a33b399b369dce789bf77c06834da71fe0a4d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int ismedia(int nota1, int nota2, int nota3, int nota4){ int media=(nota1*2)+(nota2*2)+(nota3*3)+(nota4*3)/10; if(media>=60){ return 1; } } int main(){ cout<<"Digite sua nota no 1 bimestre: "; int nota1; cin>> nota1; cout<<"Digite sua nota no 2 bimestre: "; int no...
16.675676
56
0.628849
HemensonDavid
5bd6994380e19f199c9e9f98d6d356ea80f44954
3,721
hpp
C++
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
15
2020-07-20T12:32:38.000Z
2022-03-24T19:24:02.000Z
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
null
null
null
include/tcb_manager.hpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
5
2020-07-20T12:42:58.000Z
2021-01-16T10:13:39.000Z
#pragma once #include <memory> #include <optional> #include <unordered_map> #include <unordered_set> #include "circle_buffer.hpp" #include "defination.hpp" #include "packets.hpp" #include "socket.hpp" #include "tcb.hpp" #include "tcp_transmit.hpp" namespace mstack { class tcb_manager { private: tcb_manager() :...
43.267442
99
0.504703
Qanora
5bdd86a3c1457620c62c505b2444d4cdcf64f68e
4,666
hpp
C++
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Runtime/CompilerServices/RuntimeWrappedException.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Exception #include "System/Exception.hpp" #include "extern/bea...
60.597403
165
0.747964
darknight1050
5be09ff0afe0e481f52fc2c48e30d71f5aa1fbc0
1,185
cpp
C++
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
1
2022-03-28T13:57:20.000Z
2022-03-28T13:57:20.000Z
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
null
null
null
testMain.cpp
chuanstudyup/GPSM8N
e0f6bc6fa5484605557c38a4ec5fcfb6c1dd53c9
[ "Apache-2.0" ]
null
null
null
// testMain.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // g++ GPS.cpp testMain.cpp -o testMain /* NMEA examples $GNRMC,083712.40,A,3030.83159,N,11424.56558,E,0.150,,291221,,,A*65\r\n $GNRMC,083712.60,A,3030.83159,N,11424.56559,E,0.157,,291221,,,A*61\r\n $GNRMC,083712.80,A,3030.83158,N,11424.56558,E,0.033,,291221,,,A*...
29.625
78
0.61519
chuanstudyup
5be0ae2694bfc8d46a7a0329e74bc69410ee79cc
1,156
cpp
C++
android-31/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/icu/util/ULocale_Category.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JArray.hpp" #include "../../../JString.hpp" #include "./ULocale_Category.hpp" namespace android::icu::util { // Fields android::icu::util::ULocale_Category ULocale_Category::DISPLAY() { return getStaticObjectField( "android.icu.util.ULocale$Category", "DISPLAY", "Landroid/icu/util/ULoc...
23.12
78
0.697232
YJBeetle
5be4b1c6a414d33b6af76f4904a7e05f7c281c00
56
hpp
C++
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_bcc551_bitor.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/bcc551/bitor.hpp>
28
55
0.803571
miathedev
5be9cdbd51e0b4addd5637585abfd4f1db2ec933
769
cpp
C++
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
12-10-21/balanced_binary_tree.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
1
2021-11-29T06:10:48.000Z
2021-11-29T06:10:48.000Z
// https://leetcode.com/problems/balanced-binary-tree/ class Solution { public: bool isBalanced(TreeNode *root) { vector<int> ans; int h = is(root, ans); if (check(ans)) return true; else return false; } bool check(vector<int> &ans) { ...
19.717949
67
0.443433
ahanavish
5beeb662e275ac7b93836be860aee060f93fdb61
233
cpp
C++
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/moderncpp/strtol/strtol02/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <iostream> int main ( int argc, char **argv ) { { if ( argc > 1 ) { long i = strtol( argv[1], NULL, 0 ); std::cout << " i = " << i << std::endl; } } return 0; }
15.533333
52
0.377682
eric2003
5bf1be12a66207f9e5154926b9760b12e52a5f0c
3,920
cpp
C++
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
src/tnl/t_vb_points.cpp
OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library
c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3
[ "MIT" ]
null
null
null
/* $Id: t_vb_points.c,v 1.10 2002/10/29 20:29:04 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 4.1 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (t...
31.36
78
0.688265
OS2World
5bf4a1b12bd0ba842830ce713cef0b21e2e0da15
799
cpp
C++
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
learncpp.com/11_Inheritance/Question03/src/Main.cpp
KoaLaYT/Learn-Cpp
0bfc98c3eca9c2fde5bff609c67d7e273fde5196
[ "MIT" ]
null
null
null
/** * Chapter 11 :: Question 3 * * Fighting with a monster * use almost everything learned by bar * * KoaLaYT 23:15 04/02/2020 * */ #include "Player.h" #include <iostream> #include <string> Player initPlayer() { std::cout << "Enter you name: "; std::string name{}; std::getline(std::cin, name); std:...
19.02381
72
0.544431
KoaLaYT
5bf54790d03dad868eb1e1f926a2969a61ad40ca
12,838
hpp
C++
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
5
2019-12-27T07:30:03.000Z
2020-10-13T01:08:55.000Z
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
null
null
null
key/key.hpp
drypot/san-2.x
44e626793b1dc50826ba0f276d5cc69b7c9ca923
[ "MIT" ]
1
2020-07-27T22:36:40.000Z
2020-07-27T22:36:40.000Z
/* -------------------------------------------------------------------------------- key/key.hpp copyright(C) kyuhyun park 1993.07.13 -----------------------------------------------------...
45.524823
123
0.426157
drypot
7500881c595656b36cf3bf9aa8b7ebdf0d282e2f
8,635
cpp
C++
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
2
2021-11-27T18:35:20.000Z
2022-03-23T08:11:57.000Z
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
null
null
null
http.cpp
kissbeni/tinyhttp
2e7dddbbb4ac0824ec457eadfcf00106fce5154c
[ "Apache-2.0" ]
null
null
null
#include "http.hpp" #include <vector> /*static*/ TCPClientStream TCPClientStream::acceptFrom(short listener) { struct sockaddr_in client; const size_t clientLen = sizeof(client); short sock = accept( listener, reinterpret_cast<struct sockaddr*>(&client), const_cast<socklen_t*>(re...
30.298246
122
0.550434
kissbeni
7506f8c3b63aff5e8b7ddfd042bcdccd46e947ac
50,640
cpp
C++
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
element.cpp
orkzking/openxfem
66889ea05ec108332ab8566b510124ee1a3f334d
[ "FTL" ]
null
null
null
/************************************************************************************ Copyright (C) 2005 Stephane BORDAS, Cyrille DUNANT, Vinh Phu NGUYEN, Quang Tri TRUONG, Ravindra DUDDU This file is part of the XFEM C++ Library (OpenXFEM++) written and maintained by above authors. This program is free software; yo...
28.337997
127
0.612638
orkzking
7507e24f930050d37452586d5f7b9f3c34743c26
3,581
cpp
C++
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
src/TitleScene.cpp
ccabrales/ZoneRush
0ded2f31580b9a369b19d59268000cff939e2bbd
[ "MIT" ]
null
null
null
#include "TitleScene.h" void TitleScene::setup(){ title.load("ZoneRush2.png"); playButton.load("PlaySelected.png"); exitButton.load("Exit.png"); loadingImage.load("Loading.png"); resetPosition(); selectedIndex = 0; loadState = TITLE; imageDx = -20.0; rightEmitter.setPositi...
29.352459
117
0.63055
ccabrales
7508f423ff4f2dd47d6703130584e1bc6a1e2d1d
3,347
cpp
C++
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
null
null
null
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
2
2019-03-01T09:25:32.000Z
2019-03-01T09:26:08.000Z
project_booking_qt_gui/ProjectBookingQtUI/ProjectBookingQtUI/reports.cpp
VBota1/project_booking
13337130e1294df43c243cf1df53edfa736c42b7
[ "MIT" ]
null
null
null
#include "reports.h" Reports::Reports(QTreeWidget *month,QListWidget *standard,QListWidget *project,QLabel *current,StatusDisplay *statusWidget) { monthReport=month; standardReport=standard; projectReport=project; currentProject=current; statusDisplay = statusWidget; } void Reports::updateMonthRe...
27.211382
125
0.632805
VBota1
7509db9a401daf1896cb04c933a014f57817ff92
362
hpp
C++
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
sources/dansandu/chocolate/interpolation.hpp
dansandu/chocolate
a90bf78a6891f578a7718329527ae56b502b57c2
[ "MIT" ]
null
null
null
#pragma once #include "dansandu/chocolate/common.hpp" namespace dansandu::chocolate::interpolation { Vector3 interpolate(const Vector3& a, const Vector3& b, const float x, const float y, const float epsilon); Vector3 interpolate(const Vector3& a, const Vector3& b, const Vector3& c, const float x, const float y, ...
25.857143
107
0.720994
dansandu
7511d416a4978fcd2aa044fd577ad9edd11ae6b8
1,495
hpp
C++
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/step/map.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/detail/type_traits.hpp" #include "caf/fwd.hpp" #include <util...
25.775862
80
0.671572
seewpx
75138d319658400837893d58e2aee8f95eb1f383
1,081
hpp
C++
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/reverse.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file reverse.hpp * * @brief reverse の定義 * * @author myoukaku */ #ifndef BKSGE_FND_ALGORITHM_REVERSE_HPP #define BKSGE_FND_ALGORITHM_REVERSE_HPP #include <bksge/fnd/algorithm/config.hpp> #if defined(BKSGE_USE_STD_ALGORITHM) #include <algorithm> namespace bksge { using std::reverse...
16.630769
51
0.650324
myoukaku
7518a26a3f9a48b498a5a0f719682f3753612846
3,880
cc
C++
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
null
null
null
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
1
2021-12-03T14:37:41.000Z
2021-12-03T14:37:41.000Z
src/tot_compare.cc
Mu2e/TrackerMCTune
6472497f9359b33a236d47f39192a7faffc71dae
[ "Apache-2.0" ]
2
2019-10-31T18:17:00.000Z
2021-11-22T21:43:02.000Z
#include <iostream> #include <fstream> #include <sstream> #include <string> #include <stdlib.h> #include <vector> #include <TFile.h> #include <TTree.h> #include <TH1F.h> #include <TH2F.h> #include <TF1.h> #include <TCanvas.h> #include <TLegend.h> #include <TApplication.h> #include <TLatex.h> #include <TLine.h> #includ...
26.575342
85
0.584794
Mu2e
751f699db40b8db0c4cffb7c35b3f5337e15d5f6
1,868
cpp
C++
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codejam/2016/2/rather-perplexing-showdown/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** string make(int P, int R, int S) { assert(P >= 0 && R >= 0 && S >= 0); if (P + R + S == 1) { if (P == 1) return "P"; if (R == 1) return "R"; if (S == 1) return "S"; assert(false); } ...
21.72093
85
0.336188
brunodccarvalho
752307c05d9b1adb8aa85249d908665b5ecf029f
2,565
hpp
C++
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
src/common/thread.hpp
longlonghands/fps-challenge
020c133a782285364d52b1c98e9661c9aedfd96d
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <memory> #include <stdexcept> #include <thread> namespace common { namespace async { void sleep(int ms); /// This class implements a platform-independent /// wrapper around an operating system thread. class Thread { public: typedef std::shared_ptr...
26.173469
71
0.579337
longlonghands
97094f6541bda09c47adf1bc12acd753f4e0a99b
1,307
cpp
C++
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
4
2016-09-07T07:02:52.000Z
2019-06-22T08:55:53.000Z
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
null
null
null
test/dataalign/test_dataalign.cpp
fox000002/ulib-win
628c4a0b8193d1ad771aa85598776ff42a45f913
[ "Apache-2.0" ]
3
2019-06-22T16:00:39.000Z
2022-03-09T13:46:27.000Z
#include <stdio.h> #include <windows.h> int mswindows_handle_hardware_exceptions (DWORD code) { printf("Handling exception\n"); if (code == STATUS_DATATYPE_MISALIGNMENT) { printf("misalignment fault!\n"); return EXCEPTION_EXECUTE_HANDLER; } else return EXCEPTION_CONTINUE_SEARCH; ...
20.107692
72
0.497322
fox000002
9709fcca401e1a7f071545e31f5dc431f22736ac
7,362
cpp
C++
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/private/rendererandroid.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file rendererandroid.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2017-12-09 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/precompiled.h" #include "o3d/engine/renderer.h" // ONLY IF O3D_ANDROID IS SELE...
27.470149
123
0.619669
dream-overflow
970a0dc9bef87e899dc9a929f4a47aa138c8dc3b
3,481
cpp
C++
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
1
2021-01-31T22:59:59.000Z
2021-01-31T22:59:59.000Z
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
Codility_CommonPrimerDivisor.cpp
CharlieGearsTech/Codility
b0c4355eb68f05f24390075e3fe2fe555d40b6b9
[ "MIT" ]
null
null
null
#include <iostream> #include <assert.h> #include <math.h> #include <vector> #include <algorithm> #include <numeric> #include <map> #include <deque> #include <stdlib.h> #include <string> #include <set> #include <vector> #include <new> #include <memory> using namespace std; /*Crea un arreglo en la que los indices muest...
23.362416
228
0.607871
CharlieGearsTech
970df27bbd8f99dc06963233fda0aa18d6bbaf7f
2,258
hpp
C++
include/rllib/bundle/Bundle.hpp
loriswit/rllib
a09a73f8ac353db76454007b2ec95bf438c0fc1a
[ "MIT" ]
1
2022-02-15T17:49:44.000Z
2022-02-15T17:49:44.000Z
include/rllib/bundle/Bundle.hpp
loriswit/rllib
a09a73f8ac353db76454007b2ec95bf438c0fc1a
[ "MIT" ]
null
null
null
include/rllib/bundle/Bundle.hpp
loriswit/rllib
a09a73f8ac353db76454007b2ec95bf438c0fc1a
[ "MIT" ]
null
null
null
#ifndef RLLIB_BUNDLE_HPP #define RLLIB_BUNDLE_HPP #include <string> #include <rllib/stream/ByteStream.hpp> #include <rllib/bundle/FileProperties.hpp> namespace rl { /** * A bundle is a collection of files packed in a big single file. It is used to store all the game assets. * In particular, this is where scene ar...
27.204819
106
0.647476
loriswit
9710f58c33f0561bfe2070f30e4e86b72d6a9a41
10,075
cc
C++
squid/squid3-3.3.8.spaceify/src/auth/negotiate/auth_negotiate.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/auth/negotiate/auth_negotiate.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/auth/negotiate/auth_negotiate.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * DEBUG: section 29 Negotiate Authenticator * AUTHOR: Robert Collins, Henrik Nordstrom, Francesco Chemolli * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Int...
33.250825
151
0.669181
spaceify
9717b27939f1cd716d928179a9561929900d5c66
3,709
cpp
C++
src/base/muduo/net/poller/poll_poller.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/net/poller/poll_poller.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/net/poller/poll_poller.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
#include "muduo/net/poller/poll_poller.h" #include "muduo/net/common/channel.h" #include "muduo/base/common/logging.h" #include "define/define_types.h" #include <asm-generic/errno-base.h> #include <assert.h> #include <errno.h> #include <poll.h> #include <sys/cdefs.h> using namespace muduo; using namespace muduo::net; ...
28.312977
88
0.640874
sbfhy
97183bf80c9dbf7b6f32600a7f96ade0928d99f5
4,191
cpp
C++
Practice/2018/2018.12.29/BZOJ5417.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.12.29/BZOJ5417.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.12.29/BZOJ5417.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> #include<iostream> using namespace std; #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define ll long long #define NAME "name" const int maxL=505000*2; const int maxAlpha=26; class Node{ public: int son[maxAlpha],fail,len; }; ...
25.4
102
0.545455
SYCstudio
971cd7c3d55ec832dc00c68b332983eccc0351c9
748
cpp
C++
src/Island.cpp
luka1199/bridges
117c91d714aa19fa4c5138b032583e3efe93d142
[ "MIT" ]
null
null
null
src/Island.cpp
luka1199/bridges
117c91d714aa19fa4c5138b032583e3efe93d142
[ "MIT" ]
1
2019-08-14T13:36:33.000Z
2019-08-14T13:36:33.000Z
src/Island.cpp
luka1199/bridges
117c91d714aa19fa4c5138b032583e3efe93d142
[ "MIT" ]
null
null
null
// Copyright 2018, // Author: Luka Steinbach <luka.steinbach@gmx.de> #include "./Island.h" #include <string> #include <vector> // _____________________________________________________________________________ Island::Island(int x, int y, int count) : Field(x, y) { _islandCount = count; _correctBridgeCount = 0; _...
27.703704
80
0.798128
luka1199
971d0e7be632f513340bede6a7f76ecd77082369
77,961
cpp
C++
simulation-code/Network.cpp
jlubo/memory-consolidation-stc
f9934760e12de324360297d7fc7902623169cb4d
[ "Apache-2.0" ]
2
2021-03-02T21:46:56.000Z
2021-06-30T03:12:07.000Z
simulation-code/Network.cpp
jlubo/memory-consolidation-stc
f9934760e12de324360297d7fc7902623169cb4d
[ "Apache-2.0" ]
null
null
null
simulation-code/Network.cpp
jlubo/memory-consolidation-stc
f9934760e12de324360297d7fc7902623169cb4d
[ "Apache-2.0" ]
3
2021-03-22T12:56:52.000Z
2021-09-13T07:42:36.000Z
/************************************************************************************************** *** Model of a network of neurons with long-term plasticity between excitatory neurons *** **************************************************************************************************/ /*** Copyright 201...
32.375831
161
0.659689
jlubo
9725f2cc945f31ed11817f4d8f9bcff7d992073b
558
hpp
C++
Classes/PlaneLayer.hpp
nickqiao/AirWar
1cd8b418a1a3ec240bc02581ecff034218939b59
[ "Apache-2.0" ]
2
2017-10-14T06:27:15.000Z
2021-11-05T20:27:28.000Z
Classes/PlaneLayer.hpp
nickqiao/AirWar
1cd8b418a1a3ec240bc02581ecff034218939b59
[ "Apache-2.0" ]
null
null
null
Classes/PlaneLayer.hpp
nickqiao/AirWar
1cd8b418a1a3ec240bc02581ecff034218939b59
[ "Apache-2.0" ]
null
null
null
// // PlaneLayer.hpp // AirWar // // Created by nick on 2017/1/19. // Copyright © 2017年 chenyuqiao. All rights reserved. // #include "cocos2d.h" USING_NS_CC; const int AIRPLANE=747; class PlaneLayer : public Layer { public: PlaneLayer(); ~PlaneLayer(); static PlaneLayer* create(); ...
12.976744
54
0.587814
nickqiao
972e40c3e8102a66fd486836e97db36718a93fd6
1,287
cpp
C++
ProducerConsumer/worker.cpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
ProducerConsumer/worker.cpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
ProducerConsumer/worker.cpp
bloodMaster/ProducerConsumer
934130b029bff0ce0f314ca65a76f8cbf9b879df
[ "MIT" ]
null
null
null
#include "worker.hpp" #include <iostream> #include <random> std::mutex s_mutex; std::atomic<int> Worker::s_numOfActiveProducers; std::atomic<bool> Worker::s_shouldWork = true; Worker::DataContainer Worker::s_dataContainer; const unsigned int Worker::s_maxSizeOfQueue = 100; const unsigned int Worker::s_a...
19.208955
77
0.685315
bloodMaster
97314d6ac911c17d6d79f8ee95e6d033767e7c29
73,926
cpp
C++
httpendpoints.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
1
2021-02-14T04:04:50.000Z
2021-02-14T04:04:50.000Z
httpendpoints.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
null
null
null
httpendpoints.cpp
qbit-t/qb
c1fd82df3838f8526fc5e335254529ab6f953f78
[ "MIT" ]
1
2021-08-28T07:42:43.000Z
2021-08-28T07:42:43.000Z
#include "httprequesthandler.h" #include "httpreply.h" #include "httprequest.h" #include "log/log.h" #include "json.h" #include "tinyformat.h" #include "httpendpoints.h" #include "vm/vm.h" #include <iostream> using namespace qbit; void HttpMallocStats::process(const std::string& source, const HttpRequest& request, c...
29.487834
171
0.627141
qbit-t
9734163529bf58d4bd81ddf95bf6f89ab05f743b
1,032
cpp
C++
C++/05_Dynamic_Programming/MEDIUM_DECODE_WAYS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/05_Dynamic_Programming/MEDIUM_DECODE_WAYS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
C++/05_Dynamic_Programming/MEDIUM_DECODE_WAYS.cpp
animeshramesh/interview-prep
882e8bc8b4653a713754ab31a3b08e05505be2bc
[ "Apache-2.0" ]
null
null
null
/* A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total number of ways to decode it. For example, Given encoded message "12", it could be decoded as "AB" (1 2) or "L" (12). The nu...
32.25
97
0.592054
animeshramesh
9734922a52146c96dae481fb1d6da9230ee6ff94
1,810
cpp
C++
libraries/physics/src/ContactConstraint.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
libraries/physics/src/ContactConstraint.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
libraries/physics/src/ContactConstraint.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
// // ContactConstraint.cpp // libraries/physcis/src // // Created by Andrew Meadows 2014.07.24 // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <SharedUtil.h> #inclu...
33.518519
112
0.692265
ey6es
9734eb840112ee3d67af26b01b7786ba873b5526
2,839
hpp
C++
include/boost/http_proto/detail/copied_strings.hpp
alandefreitas/http_proto
dc64cbdd44048a2c06671282b736f7edacb39a42
[ "BSL-1.0" ]
6
2021-11-17T03:23:50.000Z
2021-11-25T15:58:02.000Z
include/boost/http_proto/detail/copied_strings.hpp
alandefreitas/http_proto
dc64cbdd44048a2c06671282b736f7edacb39a42
[ "BSL-1.0" ]
6
2021-11-17T16:13:52.000Z
2022-01-31T04:17:47.000Z
include/boost/http_proto/detail/copied_strings.hpp
samd2/http_proto
486729f1a68b7611f143e18c7bae8df9b908e9aa
[ "BSL-1.0" ]
3
2021-11-17T03:01:12.000Z
2021-11-17T14:14:45.000Z
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@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) // // Official repository: https://github.com/CPPAlliance/http_proto // #ifndef BOOST_HTTP_PROTO_DET...
22.712
79
0.559352
alandefreitas
97384c308cf5a7f11846cde620d00a08f7c3b3c2
536
cpp
C++
ALP/sequencia/L01_ex01.cpp
khrystie/fatec_ads
a5fec2c612943342f731a46814d4f6df67eb692f
[ "MIT" ]
null
null
null
ALP/sequencia/L01_ex01.cpp
khrystie/fatec_ads
a5fec2c612943342f731a46814d4f6df67eb692f
[ "MIT" ]
null
null
null
ALP/sequencia/L01_ex01.cpp
khrystie/fatec_ads
a5fec2c612943342f731a46814d4f6df67eb692f
[ "MIT" ]
null
null
null
/* Exercício: Faça um algoritmo que receba 2 números inteiros e apresente a soma desses números. */ #include <iostream> int main() { //declaração de variáveis int num1, num2; // atribuir valor 0 num1=0; num2=0; std::cout << "Programa que lê dois números inteiros e retorna o valor da soma\n"; std::...
22.333333
95
0.652985
khrystie
9738b40e93cc34db346f6f331cea0a1ca13bae6d
372
cp
C++
Lin/Mod/X11.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
2
2016-03-17T08:27:55.000Z
2020-05-02T08:42:08.000Z
Lin/Mod/X11.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
null
null
null
Lin/Mod/X11.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
null
null
null
MODULE LinX11 ["libX11.so"]; IMPORT LinLibc; TYPE Display* = INTEGER; PROCEDURE XFreeFontNames* (list: LinLibc.StrArray); PROCEDURE XListFonts* (display: Display; pattern: LinLibc.PtrSTR; maxnames: INTEGER; VAR actual_count_return: INTEGER): LinLibc.StrArray; PROCEDURE XOpenDisplay* (VAR [nil] ...
26.571429
86
0.733871
romiras
9738eda77042cec54309a95c28906a00687bea7c
8,818
cpp
C++
Classes/Helpers/AnimationHelper.cpp
funkyzooink/fresh-engine
de15fa6ebe1b686819b28cd92ee8a6771c4ff878
[ "MIT" ]
3
2019-10-09T09:17:49.000Z
2022-03-02T17:57:05.000Z
Classes/Helpers/AnimationHelper.cpp
funkyzooink/fresh-engine
de15fa6ebe1b686819b28cd92ee8a6771c4ff878
[ "MIT" ]
33
2019-10-08T18:45:48.000Z
2022-01-05T21:53:02.000Z
Classes/Helpers/AnimationHelper.cpp
funkyzooink/fresh-engine
de15fa6ebe1b686819b28cd92ee8a6771c4ff878
[ "MIT" ]
7
2019-10-10T11:31:58.000Z
2021-02-08T14:24:30.000Z
/**************************************************************************** Copyright (c) 2014-2019 Gabriel Heilig fresh-engine funkyzooink@gmail.com ****************************************************************************/ #include "AnimationHelper.h" #include "../GameData/Constants.h" #include "../GameData/Game...
37.683761
118
0.612611
funkyzooink