hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
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
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
bd4d2132e05e6ca55063ad9d7d23f5134d47d30e
506
cc
C++
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
arc/vm/libvda/decode/test/decode_unittest_common.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2019 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "arc/vm/libvda/decode/test/decode_unittest_common.h" ImplPtr SetupImpl(vda_impl_type_t impl_type) { return ImplPtr(initialize(impl_type)); ...
33.733333
73
0.747036
bd4fac1aad8eedc82407c52dac94f031cdffced2
464
hpp
C++
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uitsl/polyfill/filesystem.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE #define UITSL_POLYFILL_FILESYSTEM_HPP_INCLUDE #if defined(__EMSCRIPTEN__) \ && __EMSCRIPTEN_major__ == 1 && __EMSCRIPTEN_minor__ <= 38 #include <experimental/filesystem> namespace std { namespace filesystem { using namespace std::experimental::filesyste...
18.56
60
0.788793
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
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
bd554be511e64a23f37feb066bc4ffc856d41c26
4,002
cpp
C++
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
5
2017-03-08T20:32:39.000Z
2021-07-10T10:12:38.000Z
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
null
null
null
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetPhase/GetPhase0101/GetPhase0101.cpp
qinFamily/freeVM
9caa0256b4089d74186f84b8fb2afc95a0afc7bc
[ "Apache-2.0" ]
4
2015-07-07T07:06:59.000Z
2018-06-19T22:38:04.000Z
/* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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...
32.016
99
0.651924
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
32e6f9d88e0a2d6b0f315308cf4cd752786b05c5
1,903
cpp
C++
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/FIND_A_TRIPLET_THAT_SUM_TO_A_GIVEN_VALUE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
35.240741
656
0.52391
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
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
32f9da81fc1b47d01e67640f41095fe53770a14f
1,600
cpp
C++
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
1
2019-06-18T18:47:25.000Z
2019-06-18T18:47:25.000Z
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
null
null
null
programManager.cpp
mircodezorzi/cli-password-manager
1c47fd2317495159b7b3b7df2a2c7dfd265fad27
[ "MIT" ]
null
null
null
#include "programManager.h" ProgramManager::ProgramManager(std::string dbFilepath) : DatabaseSystemManagment() , DisplayManager(){ mDbFilepath = dbFilepath; } void ProgramManager::start(){ mSelected = 0; mState = Running; import(mDbFilepath); loop(); } void ProgramManager::loop(){ ...
18.823529
89
0.62125
32fe35711a448776c1f557ab7439386b0df423da
7,680
cpp
C++
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
null
null
null
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
3
2017-06-14T15:21:50.000Z
2020-08-03T19:51:57.000Z
external/activemq-cpp-library-3.4.1/src/main/decaf/net/InetAddress.cpp
framos-gemini/giapi-glue-cc
f59e1ce572494b57aad6985f3233f0e51167bb42
[ "BSD-3-Clause" ]
3
2017-06-13T13:59:36.000Z
2021-02-09T02:01:14.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
35.229358
113
0.546094
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
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
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
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
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
fd0b368d9ea7dce625164111fef15ff04f969087
1,463
cpp
C++
tcp_example/tcp_client.cpp
damianrusinek/classes-pas
571fa436672da653ed8fad1f5af5eb5fd60503b0
[ "MIT" ]
11
2018-03-22T07:39:10.000Z
2021-03-21T19:24:30.000Z
tcp_example/tcp_client.cpp
damianrusinek/classes-pas
571fa436672da653ed8fad1f5af5eb5fd60503b0
[ "MIT" ]
null
null
null
tcp_example/tcp_client.cpp
damianrusinek/classes-pas
571fa436672da653ed8fad1f5af5eb5fd60503b0
[ "MIT" ]
8
2018-03-22T23:24:43.000Z
2022-01-09T11:31:13.000Z
#include <iostream> #include <stdexcept> #include <string> #include <QCoreApplication> #include <QString> #include <QtNetwork> #define BUF_SIZE 1024 int main(int argc, char *argv[]) { if (argc != 3) { throw std::domain_error("Invalid number of arguments - expected ip address and port"); } QCoreAp...
24.79661
94
0.555707
fd0cff23ba42c34f86a8fad3935131911e52ff77
24,793
cpp
C++
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
1
2015-11-05T18:38:14.000Z
2015-11-05T18:38:14.000Z
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
null
null
null
src/idl_parser.cpp
waderly/flatbuffers
59043114ac2931e4b77c3c5b2c2022cda809c6d4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.197241
80
0.600895
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
fd10a6c90233d653b2f9a04a3e9e494efb6c659b
3,274
cpp
C++
src/my_opencv/src/image_converter.cpp
t11706m-chukyo/MyTraining
57a42ddee285b3c2516c14a864699fafbb04e7bb
[ "MIT" ]
null
null
null
src/my_opencv/src/image_converter.cpp
t11706m-chukyo/MyTraining
57a42ddee285b3c2516c14a864699fafbb04e7bb
[ "MIT" ]
null
null
null
src/my_opencv/src/image_converter.cpp
t11706m-chukyo/MyTraining
57a42ddee285b3c2516c14a864699fafbb04e7bb
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> static const std::string OPENCV_WINDOW = "Image window"; class ImageConverter { ros::NodeHandle n...
28.719298
183
0.628589
fd1153f488fedb3836584591952e31cc4f041863
4,444
cpp
C++
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/bsp/src/DownSampler.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
/* Copyright (c) 2018 bsp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,...
26.610778
125
0.70432
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
fd15c01332fe13368019c7f5b5945fbdc679a301
498
cpp
C++
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
2
2020-01-30T12:51:49.000Z
2020-08-31T08:36:49.000Z
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
sdk/boost_1_30_0/tools/build/test/v1-testing/c.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
// Copyright David Abrahams 2002. Permission to copy, use, // modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #include ...
27.666667
70
0.704819
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
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
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
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
fd24130091c95702bdddbf67f6066a6b29613804
5,098
cc
C++
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
src/lib/tools/main-rewrite-ids.cc
oslab-swrc/cytom
c4952843cc11cac64b421b7d47706d534b566208
[ "MIT" ]
null
null
null
#include <cmath> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <time.h> #include <sys/mman.h> #include <pthread.h> #include <getopt.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unordered_map> #include "util/d...
28.480447
95
0.680071
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
fd2a77db46def7cf2708c55c3f3ec58c70354ea2
8,404
cpp
C++
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
279
2015-05-06T19:04:07.000Z
2022-03-21T21:33:38.000Z
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
222
2016-10-26T15:56:25.000Z
2021-10-03T15:30:18.000Z
src/Spells/SpellCreator.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
49
2015-10-01T21:23:03.000Z
2022-03-19T20:11:31.000Z
#include "Spells/SpellCreator.h" #include "Screens/LevelScreen.h" SpellCreator::SpellCreator(const SpellData& spellData, LevelMovableGameObject* owner) { m_owner = owner; if (m_owner != nullptr) m_level = owner->getLevel(); if (m_owner != nullptr) m_attributeData = owner->getAttributes(); if (m_owner != nullptr &&...
31.241636
136
0.732151
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
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
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
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
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
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
fd3ad24c832a34d09a560531df4cb453e20a6f4e
2,552
hpp
C++
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/MKL36Z4.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Chip/CM0+/Freescale/MKL36Z4/FTFA_FlashConfig.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/DMA.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/FTFA.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/DMAMUX0.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/I2S0.hpp> #include <Chip/CM0+/Freescale/MKL36Z4/PIT.hpp> #incl...
47.259259
59
0.774295
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
fd40420eed3530e8d6555fb6d2d9a3aea4dc90af
4,550
cc
C++
content/browser/devtools/shared_worker_devtools_agent_host.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/devtools/shared_worker_devtools_agent_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/devtools/shared_worker_devtools_agent_host.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/devtools/shared_worker_devtools_agent_host.h" #include "content/browser/devtools/devtools_session.h" #include "content/browser/...
33.455882
80
0.781099
fd4388dfd1ea017870625c4dc6aeff347a5b6371
4,640
cpp
C++
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
3
2015-01-17T11:57:10.000Z
2019-10-25T08:01:28.000Z
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
null
null
null
ProjectTimeConeLib/src/ProjectTimeCone/Initialisation/Initialiser.cpp
HellicarAndLewis/ProjectTimeCone
8074c202d943c156168b0e550f8615cd350a6d98
[ "MIT" ]
1
2018-10-19T04:57:29.000Z
2018-10-19T04:57:29.000Z
#include "Initialiser.h" using namespace ofxMachineVision; namespace ProjectTimeCone { namespace Initialisation { #pragma mark CameraController //-------------------------------------------------------------- CameraController::CameraController(int index, ofPtr<ofxMachineVision::Grabber::Simple> grabber) {...
32.907801
139
0.578664
fd4408ee86a9d054d4044866ece60bfb2d85b646
2,937
cc
C++
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
webserver/libwebserv/request_utils.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
38.142857
80
0.677562
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
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
fd4c453e0c95352b913e3bcaa07432714103ca73
606
cpp
C++
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
sprint05/t04/app/src/Soldier.cpp
arni30/marathon-cpp
b8716599a891e2c534f2d63dd662931fe098e36a
[ "MIT" ]
null
null
null
#include "Soldier.h" Soldier::Soldier(std::string&& name, int health) :m_health(health), m_name(name){ std::cout << "Soldier " << m_name << " was created" << std::endl; } Soldier::~Soldier() { std::cout << "Soldier " << m_name << " was deleted" << std::endl; } void Soldier::setWeapon(Weapon* weapon) { m_we...
30.3
125
0.618812
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
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
fd513c0e3af24e2511e6d4b399996a53d7b9bcd9
7,120
cc
C++
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
3
2019-09-23T19:01:23.000Z
2020-09-07T22:23:11.000Z
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
4
2020-10-09T14:13:13.000Z
2020-10-09T14:14:25.000Z
DPPIR/shuffle/shuffle_test.cc
multiparty/drivacy
bb215831a9114e837ff7b1b75dc2195396a5fffa
[ "MIT" ]
null
null
null
#include <cassert> // NOLINTNEXTLINE #include <chrono> #include <iostream> #include <string> #include <vector> #include "DPPIR/shuffle/local_shuffle.h" #include "DPPIR/shuffle/parallel_shuffle.h" #include "DPPIR/types/types.h" #define SERVER_COUNT 8 #define TOTAL_COUNT 10000006 // Whether to print intermediate batch...
28.253968
80
0.630478
fd51bebb0df2e5fe0b10e900258aebabdf1d932f
384
cpp
C++
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
src/Scene.cpp
jomoho/SDL_Framework
903b6baff5f18bbf18b9c90861478fb005525527
[ "BSD-2-Clause" ]
null
null
null
// // Created by moritz on 20.08.15. // #include "Scene.h" #include <Box2D/Box2D.h> Scene::Scene(){ b2Vec2 gravity(0.0f, -10.0f); // world = new b2World(gravity); // world->SetDebugDraw(&debugDraw); // debugDraw.SetFlags( b2Draw::e_shapeBit |b2Draw::e_jointBit); } Scene::~Scene() { // delete world; }...
17.454545
66
0.617188
fd52725e24f6782dfda7cf00f21ae25e22aabc8f
3,345
hpp
C++
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
5
2019-04-24T13:37:05.000Z
2021-01-29T16:37:55.000Z
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
null
null
null
src/route/TopicRouteManager.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
1
2021-02-03T03:11:03.000Z
2021-02-03T03:11:03.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
39.352941
118
0.76562
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
fd54eedc8a24099c00852574b67811e86b32aabf
54,516
cpp
C++
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
74
2015-04-10T02:57:26.000Z
2022-02-28T16:10:03.000Z
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
126
2015-04-26T02:55:26.000Z
2022-02-16T22:43:28.000Z
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/group_resource_profile_model_types.cpp
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
163
2015-01-22T14:05:24.000Z
2022-03-17T12:24:34.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
38.773826
184
0.686551
fd5600d4de12c6ffe705171681fb34b5fab1cf0e
764
cpp
C++
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
ljyljy/LeetCode-Solution-in-Good-Style
0998211d21796868061eb22e2cbb9bcd112cedce
[ "Apache-2.0" ]
1
2020-03-09T00:45:32.000Z
2020-03-09T00:45:32.000Z
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
Eddiehugh/LeetCode-Solution-Well-Formed
bdc1e7153de737b84890153434bf8df5838d0be5
[ "Apache-2.0" ]
null
null
null
dynamic-programming/C++/0063-unique-paths-ii/main.cpp
Eddiehugh/LeetCode-Solution-Well-Formed
bdc1e7153de737b84890153434bf8df5838d0be5
[ "Apache-2.0" ]
1
2021-06-17T09:21:54.000Z
2021-06-17T09:21:54.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int uniquePathsWithObstacles(vector<vector<int>> &obstacleGrid) { int m = obstacleGrid.size(); if (m == 0) { return 0; } int n = obstacleGrid[0].size(); vector<long> dp(n + 1, 0...
21.828571
69
0.39267
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
fd56c266e67f9a9621272d0355c7a7fc5be6d34b
1,588
cpp
C++
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
client.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
#include "config.h" #include "client.h" #include "zeromq/zhelpers.hpp" #include "crypto.h" LoginRequest::LoginRequest(const std::string & clientIdentity_, const std::string & clientID_, const std::string & ip_): clientIdentity(clientIdentity_), clientID(clientID_), ip(ip...
25.206349
69
0.65806
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
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
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
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
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
5b74ba1b03cad0dd05bb7a7897ff8267b20e34cc
22,705
cc
C++
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
src/CGContext.cc
hailongz/kk-canvas
f53c994bce49ca4375a27d69c0d08c121ac538ad
[ "MIT" ]
null
null
null
// // CGContext.cc // KKCanvas // // Created by zhanghailong on 2018/8/17. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #include "kk-config.h" #include "CGContext.h" namespace kk { namespace CG { Palette::Palette(kk::CString name, ...) { va_li...
30.192819
126
0.418586
5b74f18990a179a8d50db65116d404a890d70e13
480
cpp
C++
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
null
null
null
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-23T09:36:29.000Z
2019-08-26T09:56:38.000Z
tools/cross_pp.cpp
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-11T21:12:02.000Z
2019-08-11T21:12:02.000Z
#include "../include/Curve.h" int main(int argc, char** argv) { int N; float s, t0, t1; if (argc!=6) { cout << "Usage : " << argv[0] << " s t0 t1 N pkf\n"; exit(0); } s = atof(argv[1]); t0 = atof(argv[2]); t1 = atof(argv[3]); N = atoi(argv[4]); Curve<Vector3> c(argv[5]); c.make_default(); c.nor...
17.142857
56
0.508333
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
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
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
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
5b852d0c70db57495ec62ec252293d274e3741f1
475
cpp
C++
Data Structures/Stack/Stock and Span/Stock and Span.cpp
bodhisatwa-mandal/CompetitiveCoding
bb3c6cad8581880561dfb3e7d5c3e66197ab656f
[ "MIT" ]
25
2017-08-07T13:47:55.000Z
2021-07-23T02:44:19.000Z
Data Structures/Stack/Stock and Span/Stock and Span.cpp
bodhisatwa-mandal/CompetitiveCoding
bb3c6cad8581880561dfb3e7d5c3e66197ab656f
[ "MIT" ]
1
2017-07-28T17:53:24.000Z
2017-07-28T17:53:24.000Z
Data Structures/Stack/Stock and Span/Solutions/Stock and Span.cpp
CodeClub-JU/CompetitiveCoding
0162c869d14ff5357b05a209424f3616aed90478
[ "MIT" ]
20
2017-07-02T06:05:28.000Z
2020-08-06T14:23:58.000Z
#include <bits/stdc++.h> using namespace std; void print(vector<int> v) { for(int i=0; i<v.size(); i++) { cout << v[i] << " "; } cout << endl; } int main() { int i, n, count; stack<int> s; cin >> n; vector<int> arr(n), ans(n); for(i=0; i<n; i++) { cin >> arr[i]; } ans[0] = 1; s.push(0); fo...
12.179487
44
0.461053
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
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
5b8935a5a4c773a5f9f74342fae8a901c867b383
5,673
cpp
C++
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
DiffSamp/src/code/Main/Nearest2D.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* Nearest2D.cpp Li-Yi Wei 2/7/2013 */ #include <iostream> #include <fstream> #include <string> using namespace std; #include <stdlib.h> #include "Utility.hpp" #include "Exception.hpp" #include "FrameBuffer.hpp" #include "LloydRelaxation.hpp" #include "DelaunayProximity2D.hpp" #include "Random.hpp" int Mai...
26.759434
180
0.575886
5b89baef9f25a6bd3f1dc680290ea321cd6196dd
1,427
cpp
C++
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
problemes/probleme303.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include "problemes.h" #include "utilitaires.h" typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; namespace { bool trinary(nombre n) { while (n % 10 < 3 && n > 10) { n /= 10; } return n % 10 < 3; } nombre f(size_t n) { nombre base = 1; ...
26.425926
116
0.451997
5b8accce8f4a6d09fa5094ea799582fe333cadd5
1,120
cpp
C++
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
Codeforces/20C - Dijkstra.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
#include<bits/stdc++.h> #define INF 0x3f3f3f3f #define i64 long long #define pii pair<i64, i64> using namespace std; struct Edge{ i64 next, weight; }; const int MAXN = 100005; vector<Edge> adj[MAXN]; int back[MAXN]; i64 weight[MAXN]; int N, M; int main(){ cin >> N >> M; for (int i = 1, a, b, w; i <= M; i++){ ...
17.777778
67
0.549107
5b8baff0ff81c8aab079816830a61a3f5713b118
159
cpp
C++
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
8,027
2015-01-02T05:31:44.000Z
2022-03-31T07:08:09.000Z
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
2,355
2015-01-01T15:30:53.000Z
2022-03-30T20:21:16.000Z
test/com/facebook/buck/android/testdata/android_project/native/cxx/symbols.cpp
Unknoob/buck
2dfc734354b326f2f66896dde7746a11965d5a13
[ "Apache-2.0" ]
1,280
2015-01-09T03:29:04.000Z
2022-03-30T15:14:14.000Z
extern "C" { int __attribute__ ((noinline, visibility ("hidden"))) supply_value() { return 42; } int get_value() { return supply_value(); } }
15.9
72
0.610063
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
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
5b91ec74d866de7ea3bd980efbbfe012b81f128a
1,153
cpp
C++
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/PermutationInString.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
//Leetcode Problem No 567 Permutation in String //Solution written by Xuqiang Fang on 24 Oct, 2018 #include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stack> #include <queue> using namespace std; class Solution{ public: bool chec...
22.607843
50
0.512576
5b9206299cc2c3b46c4b7e669684fcc0a484121e
1,684
hpp
C++
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/modules/tvlp/controller_stack.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
#ifndef _OP_TVLP_CONTROLLER_STACK_HPP_ #define _OP_TVLP_CONTROLLER_STACK_HPP_ #include <string> #include <memory> #include <unordered_map> #include <vector> #include <variant> #include "tl/expected.hpp" namespace openperf::tvlp { namespace model { class tvlp_configuration_t; class tvlp_result_t; struct tvlp_start_t...
27.16129
77
0.738124
5b9966bc6bc25a5787931306782e1eb5f09e8f9f
12,190
cc
C++
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
null
null
null
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
source/extensions/transport_sockets/tls/ssl_handshaker.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.000Z
#include "source/extensions/transport_sockets/tls/ssl_handshaker.h" #include "envoy/stats/scope.h" #include "source/common/common/assert.h" #include "source/common/common/empty_string.h" #include "source/common/common/hex.h" #include "source/common/http/headers.h" #include "source/extensions/transport_sockets/tls/uti...
35.747801
100
0.750041
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
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
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
5ba7f3403253143e82e4771b18af8913d2ccb316
305
cpp
C++
ClipboardManager/ClipboardData.cpp
ZamanKwinten/ClipboardManager
a0b4bdca4b108cabae8df80cf802224dc0fbab78
[ "Apache-2.0" ]
null
null
null
ClipboardManager/ClipboardData.cpp
ZamanKwinten/ClipboardManager
a0b4bdca4b108cabae8df80cf802224dc0fbab78
[ "Apache-2.0" ]
null
null
null
ClipboardManager/ClipboardData.cpp
ZamanKwinten/ClipboardManager
a0b4bdca4b108cabae8df80cf802224dc0fbab78
[ "Apache-2.0" ]
null
null
null
#include "ClipboardData.h" ClipboardData::ClipboardData(std::wstring data) { this->data = data; } ClipboardData::~ClipboardData() = default; std::wstring ClipboardData::getData() { return this->data; } std::wstring ClipboardData::getUIRepresentation() { return this->data.substr(0, UI_LENGTH); }
16.944444
51
0.727869
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
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
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
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
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
5bb8c970b64a85013e95d0db4749b351bf6490b0
8,033
cc
C++
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
subprojects/libbeyond-runtime_tflite/src/main.cc
nicesj/beyond
a0ccff33caeb2fda4a6c2071adb5581b5a63d0f3
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 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 * * Unless...
30.777778
126
0.448898
5bbd11e7b929fb4ebc121c86d07aa92388bede86
1,954
cpp
C++
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
25
2020-05-16T16:08:30.000Z
2022-03-09T04:58:16.000Z
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
2
2020-08-15T17:28:46.000Z
2021-09-28T16:14:14.000Z
spleeter/inference_engine/inference_engine_strategy.cpp
jinay1991/spleeter
ae21059a369b8d13da7b5581fc8b7b5cb5ac9ec8
[ "MIT" ]
3
2021-07-29T08:05:03.000Z
2022-03-22T14:28:05.000Z
/// /// @file /// @copyright Copyright (c) 2020. MIT License /// #include "spleeter/inference_engine/inference_engine_strategy.h" #include "spleeter/inference_engine/null_inference_engine.h" #include "spleeter/inference_engine/tf_inference_engine.h" #include "spleeter/inference_engine/tflite_inference_engine.h" #inclu...
28.735294
113
0.716991
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
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
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
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
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
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
5bcb52b804b9b25039f580f93c65033a8f22c49c
4,933
cpp
C++
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
56
2015-04-21T05:35:38.000Z
2021-02-16T13:42:45.000Z
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
13
2015-05-09T17:36:27.000Z
2020-02-13T17:44:59.000Z
chromaprint/audio_processor.cpp
pvinis/music-player
0e7d06c2a648ca9cfaa46418e6536f63ab42d088
[ "BSD-2-Clause" ]
27
2015-06-15T14:54:58.000Z
2021-07-22T09:59:40.000Z
/* * Chromaprint -- Audio fingerprinting toolkit * Copyright (C) 2010-2011 Lukas Lalinsky <lalinsky@gmail.com> * * This library 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 Software Foundation; either * version ...
25.692708
118
0.711535
5bcbcd2c5d0aea2ba6fe58313f617077b506f975
8,455
cpp
C++
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
3
2020-02-05T09:54:43.000Z
2020-03-21T06:49:37.000Z
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
null
null
null
src/chainparams.cpp
barrystyle/myce
906e600642109fb87d43c25b56d0365618e71c7a
[ "MIT" ]
1
2020-02-12T11:38:21.000Z
2020-02-12T11:38:21.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <consensus/merkle.h> #include <streams.h> #include ...
38.784404
387
0.720757
5bcc910a7b8c3a895285c00bf8c0fedf97aa5cc5
3,172
cpp
C++
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
64
2015-03-14T14:06:18.000Z
2022-02-04T23:19:08.000Z
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
4
2017-08-16T10:26:46.000Z
2020-01-08T12:05:54.000Z
copasi/sbml/unittests/test000101.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
28
2015-04-16T14:14:59.000Z
2022-03-28T12:04:14.000Z
// Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2011 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and Th...
33.041667
132
0.634615
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