hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
2fd158e68edbe45a9c974c01319d53d3d5100685
1,430
cpp
C++
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
5-1_if_else_if_2.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
#include <stdio.h> #include <conio.h> #include <iostream.h> #include <string> main() { char kd[3],mskp[15]; int kls; long hrg=0; cout<<"Masukkan Kode Pesawat [MPT/GRD/BTV] : ";cin>>kd; cout<<"Kelas Pesawat : ";cin>>kls; if(strcmp(kd,"MPT") || strcmp(kd,"mpt") || strcmp(kd,"Mpt")) { strcpy(mskp,"...
19.324324
70
0.443357
ahfa92
2fd2689eda384e86d0f9c0e3dd861e7f3487a81a
912
cpp
C++
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
null
null
null
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
null
null
null
DxEngine/GDepthStencil.cpp
psk7142/DirectX2D
1d91e8a863aab2dbf57fecd2df111261a90dd3de
[ "MIT" ]
2
2020-03-09T15:12:11.000Z
2020-03-09T16:04:04.000Z
#include "GDepthStencil.h" GDepthStencil::GDepthStencil( ) : mDSDesc(D3D11_DEPTH_STENCIL_DESC( )) , mState(nullptr) { EMPTY_STATEMENT; } GDepthStencil::~GDepthStencil( ) { if ( nullptr != mState ) { mState->Release( ); mState = nullptr; } } bool GDepthStencil::Create( ) { mDSDesc.DepthEnable = true; mDSD...
18.612245
101
0.730263
psk7142
2fd425d15c738d0423fd34bc77ada9b61274025e
7,803
hpp
C++
sdl/Hypergraph/ArcParserFct.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Hypergraph/ArcParserFct.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Hypergraph/ArcParserFct.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
36.125
110
0.647059
sdl-research
7c7c49b76b1ea1161b86cdc65d96117cdc9b96ea
2,655
cpp
C++
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
1
2020-10-15T00:15:24.000Z
2020-10-15T00:15:24.000Z
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
null
null
null
Discord Cornfield/MessageWrap.cpp
ContionMig/Mitsuzi
90218e5e83845ad26c1398266453dcfbeeff4565
[ "MIT" ]
3
2020-08-14T18:14:39.000Z
2021-04-11T10:46:46.000Z
#include "include.h" namespace MessageWrap { void BasicEmbedReturn(bool Error, std::string Disc, discord::MessageEvent& event, uint64_t timestamp) { Helpers::ChecksStr(Disc); event.channel()->send_embed([&Error, &Disc, &timestamp](discord::Embed& e) { if (Error) e.se...
44.25
132
0.580038
ContionMig
7c7d02ef078a9afa4d8469b8b6ed6e06f9f2d757
2,327
cpp
C++
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
1
2017-05-28T12:10:30.000Z
2017-05-28T12:10:30.000Z
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
Photon/photon/gfx/Shader.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
#include "Shader.h" namespace ph { void Shader::use() { glUseProgram(pr); } void Shader::load(std::string vpath, std::string fpath) { en->log(INF) << "Loading shaders: (" << vpath << ", " << fpath << ")" << endlog; std::string vertexCode; std::string fragmentCode; std::ifstream vShaderFile; std::if...
23.27
82
0.661796
tatjam
7c840bbc662a3b2f2a5ed47ac08ede5b7f917771
1,778
cc
C++
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/ui/lib/escher/vk/image.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2016 The Fuchsia 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 "src/ui/lib/escher/vk/image.h" #include "src/ui/lib/escher/util/image_utils.h" namespace escher { const ResourceTypeInfo Image::kTypeInfo("Imag...
42.333333
97
0.731721
allansrc
7c856d5931fe7f03034f2733b37ebc942c2aab8a
50,799
cpp
C++
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
ps1/simplewindow/linux/fssimplewindow.cpp
lord-pradhan/CPP_graphics
1d4ea35c266b987947bf94bd07f4fa6c1c7684f2
[ "MIT" ]
null
null
null
/* //////////////////////////////////////////////////////////// File Name: fsglxwrapper.cpp Copyright (c) 2017 Soji Yamakawa. All rights reserved. http://www.ysflight.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are ...
25.799391
194
0.637768
lord-pradhan
7c88af4a689a965a5621c9c1050e8228c0189ed9
8,154
cpp
C++
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
32
2018-08-23T07:48:20.000Z
2021-12-24T07:27:02.000Z
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
1
2021-11-23T03:35:31.000Z
2022-01-26T09:19:44.000Z
Examples/DocsExamples/source/Programming with Documents/Split Documents/Split into html pages.cpp
btolfa/Aspose.Words-for-C
f75c77380b75546907ee63b96590f5250d2ffa90
[ "MIT" ]
13
2018-07-31T05:02:33.000Z
2022-03-06T22:12:36.000Z
#include "Split into html pages.h" #include <Aspose.Words.Cpp/Body.h> #include <Aspose.Words.Cpp/BreakType.h> #include <Aspose.Words.Cpp/Fields/Field.h> #include <Aspose.Words.Cpp/ImportFormatMode.h> #include <Aspose.Words.Cpp/MailMerging/MailMerge.h> #include <Aspose.Words.Cpp/Node.h> #include <Aspose.Words.Cpp/Node...
36.565022
146
0.712288
btolfa
7c88e4be17f38025a56f8f702c0f8fd535de93b8
1,839
cpp
C++
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
2
2020-12-09T11:42:30.000Z
2021-09-26T03:28:33.000Z
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
gurrapualt/magma
13e05788fa6c40293a58b6e03cfb394bb79fa98f
[ "BSD-3-Clause" ]
124
2020-08-21T06:11:21.000Z
2022-03-21T05:25:26.000Z
devmand/gateway/src/devmand/channels/cli/datastore/Datastore.cpp
yogi8091/magma
edc3b249068ad871047e898c912f3228ee9f2c88
[ "BSD-3-Clause" ]
1
2020-09-21T04:25:06.000Z
2020-09-21T04:25:06.000Z
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR...
31.169492
80
0.777053
gurrapualt
7c899c2446dad17bae3be6e34fcf3c0507512781
204
cpp
C++
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
28
2016-10-16T19:42:37.000Z
2018-09-14T21:29:48.000Z
modules/core/perf/perf_main.cpp
snosov1/opencv
ce05d6cb89450a5778f4c0169b5da5589798192a
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
#include "perf_precomp.hpp" #ifdef _MSC_VER # if _MSC_VER >= 1700 # pragma warning(disable:4447) // Disable warning 'main' signature found without threading model # endif #endif CV_PERF_TEST_MAIN(core)
22.666667
97
0.769608
snosov1
7c8bd80dcf97df51bd3ba2e6dea94e5878938ebb
1,301
hpp
C++
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/graphics/gs_event_dispatcher.hpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#pragma once #include "ih/gs_events.hpp" #include "utils/Noncopyable.hpp" #include <any> #include <atomic> #include <functional> #include <memory> #include <vector> #include <etl/queue_spsc_atomic.h> #include <etl/vector.h> namespace Graphics::Events { class EventDispatcher : private Utils::noncopyable { public:...
25.019231
93
0.757879
ValentiWorkLearning
7c8f5df5442113163ba49a41d021f26edd928d35
3,421
cpp
C++
DeviceConfig.cpp
bhardwajRahul/gpuPlotGenerator
ad90dc34a648382898abfa81017bc853ac022ca9
[ "BSD-2-Clause-FreeBSD" ]
57
2015-02-13T12:26:01.000Z
2022-03-29T17:57:26.000Z
DeviceConfig.cpp
bhardwajRahul/gpuPlotGenerator
ad90dc34a648382898abfa81017bc853ac022ca9
[ "BSD-2-Clause-FreeBSD" ]
47
2016-10-18T14:41:17.000Z
2020-12-11T07:53:47.000Z
DeviceConfig.cpp
daveahartley/BurstGPUPlotter
cd72747825307c5724c540bd7209055fc1161ef7
[ "BSD-2-Clause-FreeBSD" ]
34
2015-06-27T07:29:11.000Z
2022-03-25T05:20:57.000Z
/* GPU plot generator for Burst coin. Author: Cryo Bitcoin: 138gMBhCrNkbaiTCmUhP9HLU9xwn5QKZgD Burst: BURST-YA29-QCEW-QXC3-BKXDL Based on the code of the official miner and dcct's plotgen. */ #include <fstream> #include <sstream> #include <cstdlib> #include <stdexcept> #include <algorithm> #include <memory> #in...
32.580952
188
0.72698
bhardwajRahul
7c9813af5df1b41786b3ff28fb0a636d6d50dc11
1,742
hpp
C++
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
4
2019-12-31T07:58:54.000Z
2021-09-07T18:16:51.000Z
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
null
null
null
src/game/Particule.hpp
ArthurSonzogni/InTheCube
c4a35096d962d23f6211802970ee44f77d29e38a
[ "MIT" ]
2
2020-02-17T12:47:33.000Z
2021-09-07T18:16:52.000Z
// Copyright 2020 Arthur Sonzogni. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #ifndef GAME_PARTICULE_HPP #define GAME_PARTICULE_HPP #include <smk/Sprite.hpp> #include "game/Hero.hpp" class window; class Particule { public: smk::Sprite...
23.540541
78
0.756602
ArthurSonzogni
7c98c76c83e4a124a0b925c319a6023e5794f82f
8,117
cpp
C++
enma_pe/pe_debug.cpp
wjcsharp/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
1
2019-04-26T07:18:15.000Z
2019-04-26T07:18:15.000Z
enma_pe/pe_debug.cpp
frustreated/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
null
null
null
enma_pe/pe_debug.cpp
frustreated/enma_pe
6da64a80a611a25cdba181179e5724d971a633a8
[ "BSD-3-Clause" ]
1
2020-07-09T03:20:02.000Z
2020-07-09T03:20:02.000Z
#include "stdafx.h" #include "pe_debug.h" debug_item::debug_item() { this->characteristics = 0; this->timestamp = 0; this->major_version = 0; this->minor_version = 0; this->type = 0; this->size_of_data = 0; this->address_of_raw_data = 0; this->pointer...
32.210317
126
0.681902
wjcsharp
7c99511af0b6cd91d4403e9bf55b979be3005c6c
1,997
cpp
C++
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
147
2021-09-12T07:23:45.000Z
2021-11-11T11:31:26.000Z
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
6
2021-11-30T07:53:09.000Z
2022-02-25T01:36:38.000Z
libmetartc2/src/yangcapture/YangScreenShare.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
36
2021-11-16T03:32:41.000Z
2022-03-31T07:21:32.000Z
/* * YangScreenShareLinux.cpp * * Created on: 2020年8月30日 * Author: yang */ #include "YangScreenShare.h" #include "yangutil/yang_unistd.h" #include "yangavutil/video/YangYuvConvert.h" YangScreenCapture::YangScreenCapture(){ m_isStart=0; } YangScreenCapture::~YangScreenCapture(){ } void YangScreenCaptur...
21.244681
72
0.750125
guoai2015
7ca18f920a7e1cd8b9a12e9af396431ee1a6f4ac
3,601
cpp
C++
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
src/api/c/surface.cpp
sanjaymsh/forge
173ddaa199b10115abdd3c5d34287a7950f6bff3
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2015-2019, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *****************************************...
24.006667
80
0.588725
sanjaymsh
7ca1f03d0d13e5ab1b0e383a1d885f68dca4a426
388
cpp
C++
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
7
2020-08-28T21:47:54.000Z
2021-01-01T17:54:27.000Z
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
null
null
null
src/server/main.cpp
Ooggle/MUSIC-exclamation-mark
55f4dd750d57227fac29d887d90e0c8ec2ad7397
[ "MIT" ]
1
2020-12-26T17:08:54.000Z
2020-12-26T17:08:54.000Z
/* Compilation : g++ main.cpp -std=c++17 `sdl2-config --libs` -lSDL2_mixer `taglib-config --libs` `pkg-config --cflags --libs taglib` -lz Some flags are useless for now. */ #include "DatabaseHandler.h" #include "WebHandler.h" #include <stdio.h> #define SERVER_VERSION "0.1" int main() { printf("Welcome to...
21.555556
138
0.67268
Ooggle
7ca26cc859aae12a80ec9397f9da9a51ce1475d5
323
cpp
C++
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/core/global.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "global.h" namespace OFEC { factory<Problem> g_reg_problem; factory<Algorithm> g_reg_algorithm; std::map<std::string, std::set<std::string>> g_alg_for_pro; std::set<std::string> g_param_omit; std::map<std::string, std::string> g_param_abbr; std::string g_working_dir = OFEC_DIR; std::mutex g_cout_mutex...
26.916667
60
0.74613
BaiChunhui-9803
7ca48e1c9feca936e90619635dbdb1a2fba604ab
1,624
hpp
C++
ch10/stack_by_list.hpp
klong13579/cppL
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
261
2015-01-11T20:42:33.000Z
2022-02-17T01:33:39.000Z
ch10/stack_by_list.hpp
LeungGeorge/CLRS
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
4
2015-04-05T11:49:45.000Z
2017-02-19T08:29:52.000Z
ch10/stack_by_list.hpp
LeungGeorge/CLRS
7aa8afaf2d2e17578c7fd91654bedcccf0a6baab
[ "MIT" ]
98
2015-01-03T12:58:50.000Z
2021-07-16T07:29:31.000Z
/*************************************************************************** * @file stack_by_list.hpp * @author Alan.W * @date 30 May 2014 * @remark Chapter 10, Introduction to Algorithms * @note code style : STL ********************************************************************...
18.247191
79
0.501847
klong13579
7ca6c6de9cb2d59da81fa25e8a16df62b6c0e72b
3,490
cpp
C++
PolyCubeCut/PolyCubeCutInterface.cpp
msraig/CE-PolyCube
e46aff6e0594b711735118bfa902a91bc3d392ca
[ "MIT" ]
19
2020-08-13T05:15:09.000Z
2022-03-31T14:51:29.000Z
PolyCubeCut/PolyCubeCutInterface.cpp
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
2
2020-09-08T07:03:04.000Z
2021-08-04T05:43:27.000Z
PolyCubeCut/PolyCubeCutInterface.cpp
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
10
2020-08-06T02:37:46.000Z
2021-07-01T09:12:06.000Z
#include "PolyCubeCutInterface.h" #include "PolyCubeCut.h" PolyCubeCutInterface::PolyCubeCutInterface( const std::vector<ig::CVec<double, 3>> &v_input_point, const std::vector<unsigned int> &v_input_face, const std::vector<int> &v_input_chart, const std::vector<int> &v_input_label ) { m_pcc = new P...
31.727273
161
0.738682
msraig
7ca82ca251546cfb09a8f149676c8ede2ce19251
3,948
cpp
C++
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/sequencing/rosic_AcidPattern.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//#include "rosic_AcidPattern.h" //using namespace rosic; AcidPattern::AcidPattern() { numSteps = 16; stepLength = 0.5; } //------------------------------------------------------------------------------------------------- // setup: void AcidPattern::clear() { for(int i=0; i<maxNumSteps; i++) { notes...
23.783133
102
0.609929
RobinSchmidt
7cb0565cdf3ef1b07f4fedd4818055fb2bb9932a
1,326
cc
C++
lang/c++/impl/Types.cc
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
lang/c++/impl/Types.cc
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
lang/c++/impl/Types.cc
AIngleLab/aae
6e95f89fad60e62bb5305afe97c72f3278d8e04b
[ "Apache-2.0" ]
null
null
null
/** */ #include "Types.hh" #include <iostream> #include <string> namespace aingle { namespace strings { const std::string typeToString[] = { "string", "bytes", "int", "long", "float", "double", "boolean", "null", "record", "enum", "array", "map", "union", "fix...
21.737705
90
0.619155
AIngleLab
7cb2402039a6a28448524e88606e450eddb9e1a8
9,846
cc
C++
src/math/test_heightfield.cc
mnvl/scratch
7717772e0b9a85c8feb73fdc3562425f48b4a727
[ "BSD-3-Clause" ]
1
2016-08-15T11:55:32.000Z
2016-08-15T11:55:32.000Z
src/math/test_heightfield.cc
mnvl/scratch
7717772e0b9a85c8feb73fdc3562425f48b4a727
[ "BSD-3-Clause" ]
null
null
null
src/math/test_heightfield.cc
mnvl/scratch
7717772e0b9a85c8feb73fdc3562425f48b4a727
[ "BSD-3-Clause" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <boost/cstdint.hpp> #include <boost/scoped_ptr.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/archive/binary_oarchive.hpp> #include <boost/serialization/vector.hpp> #include "heightfield.h" BOOST_AUTO_TEST_SUITE(test_triangle) BOOST_AUTO_TEST_CASE(test_...
26.467742
108
0.582064
mnvl
7cb2ddc579a2d08161f030133cc2d6295ec37fb1
89,722
cpp
C++
src/reader.cpp
david-cortes/readsparse
1d816bdccd628788027041e92d83e8e20702de86
[ "BSD-2-Clause" ]
5
2021-01-10T06:22:11.000Z
2021-04-13T12:59:40.000Z
src/reader.cpp
david-cortes/readsparse
1d816bdccd628788027041e92d83e8e20702de86
[ "BSD-2-Clause" ]
1
2021-01-10T04:42:17.000Z
2021-01-10T10:55:58.000Z
src/reader.cpp
david-cortes/readsparse
1d816bdccd628788027041e92d83e8e20702de86
[ "BSD-2-Clause" ]
1
2021-04-13T12:59:41.000Z
2021-04-13T12:59:41.000Z
/* Generated through 'instantiate_templates.py', do not edit manually. */ /* Read and write sparse matrices in text format: * <labels(s)> <column>:<value> <column>:<value> ... * * BSD 2-Clause License * Copyright (c) 2021, David Cortes * All rights reserved. * Redistribution and use in source a...
23.058854
84
0.617441
david-cortes
7cb574e9ac5f67235a3ff3c89c8c918f75508ed3
1,546
cpp
C++
internalconnector/internalrastercoverageconnector.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
internalconnector/internalrastercoverageconnector.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
internalconnector/internalrastercoverageconnector.cpp
ridoo/IlwisCore
9d9837507d804a4643545a03fd40d9b4d0eaee45
[ "Apache-2.0" ]
null
null
null
#include "kernel.h" #include "raster.h" #include "numericrange.h" #include "numericdomain.h" #include "columndefinition.h" #include "table.h" #include "connectorinterface.h" #include "mastercatalog.h" #include "ilwisobjectconnector.h" #include "catalogexplorer.h" #include "catalogconnector.h" #include "internalrasterco...
27.607143
174
0.76326
ridoo
7cbc334cb01636a1bcb59b8de0f8ff2fcf0c0a52
2,385
cpp
C++
src/D3D9Hook.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
5
2021-06-09T23:53:28.000Z
2022-02-21T06:09:41.000Z
src/D3D9Hook.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
9
2021-06-09T23:52:43.000Z
2021-09-17T14:05:47.000Z
src/D3D9Hook.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
null
null
null
#include <algorithm> #include <spdlog/spdlog.h> #include "D3D9Hook.hpp" using namespace std; static D3D9Hook* g_d3d9_hook = nullptr; D3D9Hook::~D3D9Hook() { unhook(); } uintptr_t end_scene_jmp_ret = 0; __declspec(naked) void end_scene_hook(void) { __asm { pushad push eax call D3D9Hook::end_scene popad...
21.681818
166
0.72369
muhopensores
7cbc953df2964ce38192ac835e350fa99d16ce84
947
cpp
C++
Strings/LengthOfLastWord58.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
38
2021-10-14T09:36:53.000Z
2022-01-27T02:36:19.000Z
Strings/LengthOfLastWord58.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
null
null
null
Strings/LengthOfLastWord58.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
4
2021-12-06T15:47:12.000Z
2022-02-04T04:25:00.000Z
// Given a string s consisting of some words separated by some number of spaces, return the length of the last word in the string. // A word is a maximal substring consisting of non-space characters only. // Example 1: // Input: s = "Hello World" // Output: 5 // Explanation: The last word is "World" with length 5....
32.655172
131
0.600845
devangi2000
7cbdbb18250cf7d6bfd0461342c062690aebbb75
579
cpp
C++
threading.cpp
brandonbraun653/TeamSOAR
472c7e900de20545476e76395ebe89ab5467ae11
[ "MIT" ]
null
null
null
threading.cpp
brandonbraun653/TeamSOAR
472c7e900de20545476e76395ebe89ab5467ae11
[ "MIT" ]
null
null
null
threading.cpp
brandonbraun653/TeamSOAR
472c7e900de20545476e76395ebe89ab5467ae11
[ "MIT" ]
null
null
null
#include "threading.hpp" QueueHandle_t qAHRS = xQueueCreate(1, sizeof(AHRSData_t)); SemaphoreHandle_t ahrsBufferMutex = xSemaphoreCreateMutex(); boost::container::vector<void*> TaskHandle(TOTAL_TASK_SIZE); BaseType_t xTaskSendMessage(TaskIndex idx, uint32_t msg) { if (TaskHandle[idx]) return xTaskNotify(TaskHand...
24.125
80
0.787565
brandonbraun653
7cbf6b75bd6ea36ecdadc7160eb5608779872ea9
40,214
cpp
C++
lib/klc3/Core/Executor.cpp
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
lib/klc3/Core/Executor.cpp
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
lib/klc3/Core/Executor.cpp
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
// // Created by liuzikai on 3/19/20. // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // #include "klc3/Core/Executor.h" #include "klc3/Generation/ReportFormatter.h" #define LOG_BR_FORK 0 #define LOG_SYM_ADDR_FORK 0 #define DISABLE_FORK_ON_SYM_ADDR...
37.269694
120
0.560501
liuzikai
7cbfc7ce81026348266e9ae8ec20990e911e02ea
13,300
cpp
C++
packages/utility/archive/test/tstHDF5ArchiveTupleTypes.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/archive/test/tstHDF5ArchiveTupleTypes.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/archive/test/tstHDF5ArchiveTupleTypes.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstHDF5ArchiveTupleTypes.cpp //! \author Alex Robinson //! \brief HDF5 archive tuple type unit tests //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostrea...
40.060241
258
0.635338
bam241
7cc25b5cc7f475ba8cd715a85093f9e839f362d0
15,286
cpp
C++
src/src/tests/suites/mutation_test_bad.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
5
2015-08-25T15:40:09.000Z
2020-03-15T19:33:22.000Z
src/src/tests/suites/mutation_test_bad.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
null
null
null
src/src/tests/suites/mutation_test_bad.cpp
geneial/geneial
5e525c32b7c1e1e88788644e448e9234c93b55e2
[ "MIT" ]
3
2019-01-24T13:14:51.000Z
2022-01-03T07:30:20.000Z
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE operations/mutation #include <boost/test/unit_test.hpp> #include <geneial/algorithm/BaseGeneticAlgorithm.h> #include <geneial/core/fitness/Fitness.h> #include <geneial/core/fitness/FitnessEvaluator.h> #include <geneial/core/population/PopulationSettings.h> #incl...
45.766467
171
0.715753
geneial
7cc4d6366a91a8a61ad3decd9b770103ff9db9c1
172
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Font_Asap_Regular_13_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Font_Asap_Regular_13_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/generated/fonts/src/Font_Asap_Regular_13_4bpp.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
#include <touchgfx/hal/Types.hpp> FONT_LOCATION_FLASH_PRAGMA KEEP extern const uint8_t unicodes_Asap_Regular_13_4bpp[] FONT_LOCATION_FLASH_ATTRIBUTE = { 0 // No glyphs };
24.571429
91
0.819767
ramkumarkoppu
7cc6263b91af91347ca89106b29f0e127c9f61b6
2,524
cpp
C++
windows/cpp/samples/CameraToDVD/MuxedStream.cpp
dvdbuilder/dvdbuilder-samples
8d2b472bd0af899fa342437bb41b33ef8603e0aa
[ "MIT" ]
null
null
null
windows/cpp/samples/CameraToDVD/MuxedStream.cpp
dvdbuilder/dvdbuilder-samples
8d2b472bd0af899fa342437bb41b33ef8603e0aa
[ "MIT" ]
null
null
null
windows/cpp/samples/CameraToDVD/MuxedStream.cpp
dvdbuilder/dvdbuilder-samples
8d2b472bd0af899fa342437bb41b33ef8603e0aa
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MuxedStream.h" using namespace primo::dvdbuilder::VR; MuxedStreamCB::MuxedStreamCB() { filename[0] = L'\0'; file = NULL; MainWindow = NULL; Reset(); } MuxedStreamCB::~MuxedStreamCB() { Reset(); } void MuxedStreamCB::Reset() { if (file) { fclose(file); ...
16.496732
95
0.633914
dvdbuilder
7cc88522847226392bd3715ead508683b3047088
1,666
cc
C++
PhysicsTools/CandAlgos/plugins/EventShapeVarsProducer.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
PhysicsTools/CandAlgos/plugins/EventShapeVarsProducer.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
PhysicsTools/CandAlgos/plugins/EventShapeVarsProducer.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "PhysicsTools/CandAlgos/plugins/EventShapeVarsProducer.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "PhysicsTools/CandUtils/interface/Thrust.h" EventShapeVarsProducer::EventShapeVarsProducer(const edm::ParameterSet& cfg) { srcToken_ = consumes<edm::View<reco::Candidate> >(cfg.getP...
32.666667
92
0.728091
pasmuss
7ccab8672dba2e6cc86748ba2213e2e6c7a12468
2,115
hpp
C++
src/mbgl/renderer/bucket.hpp
zxlee618/mapbox-gl-native
04c70f55a534ca7cb4bb5358da3217329643a0f0
[ "BSL-1.0", "Apache-2.0" ]
6
2019-06-17T05:41:03.000Z
2022-01-20T13:16:14.000Z
src/mbgl/renderer/bucket.hpp
zxlee618/mapbox-gl-native
04c70f55a534ca7cb4bb5358da3217329643a0f0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/renderer/bucket.hpp
zxlee618/mapbox-gl-native
04c70f55a534ca7cb4bb5358da3217329643a0f0
[ "BSL-1.0", "Apache-2.0" ]
4
2019-08-30T07:40:17.000Z
2022-01-13T09:36:55.000Z
#pragma once #include <mbgl/util/noncopyable.hpp> #include <mbgl/tile/geometry_tile_data.hpp> #include <mbgl/style/layer_type.hpp> #include <mbgl/style/image_impl.hpp> #include <mbgl/renderer/image_atlas.hpp> #include <atomic> namespace mbgl { namespace gl { class Context; } // namespace gl class RenderLayer; class...
28.581081
103
0.665248
zxlee618
7ccf6d8cd7e5457a4ff6c7e03c2a5a56cf69237e
809
cpp
C++
q206-Reverse-Linked-List-recursive-optimized.cpp
risyomei/leetcode
bd0eba2d31eca48c182fc328fab02aac61c15366
[ "MIT" ]
null
null
null
q206-Reverse-Linked-List-recursive-optimized.cpp
risyomei/leetcode
bd0eba2d31eca48c182fc328fab02aac61c15366
[ "MIT" ]
null
null
null
q206-Reverse-Linked-List-recursive-optimized.cpp
risyomei/leetcode
bd0eba2d31eca48c182fc328fab02aac61c15366
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* reverse...
22.472222
62
0.454883
risyomei
7cd2b544adf16108232c989a22345f250bc5d1f6
4,440
cpp
C++
src/Trinity.C/src/Storage/MTHash/MTHash.DiskIO.cpp
erinloy/GraphEngine
1a913c18043192c597d48e0b4e77b0a62cd6a10e
[ "MIT" ]
370
2019-05-08T07:40:52.000Z
2022-03-28T15:29:18.000Z
src/Trinity.C/src/Storage/MTHash/MTHash.DiskIO.cpp
qingzhu521/GraphEngine
56d98c09b8e9a55b4397823f20cf29263c8857b5
[ "MIT" ]
55
2019-05-20T09:01:48.000Z
2022-03-31T23:05:23.000Z
src/Trinity.C/src/Storage/MTHash/MTHash.DiskIO.cpp
qingzhu521/GraphEngine
56d98c09b8e9a55b4397823f20cf29263c8857b5
[ "MIT" ]
83
2019-05-15T14:16:23.000Z
2022-03-06T07:04:10.000Z
// Graph Engine // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "Storage/MTHash/MTHash.h" #include "Storage/MemoryTrunk/MemoryTrunk.h" using namespace Trinity::IO; namespace Storage { bool MTHash::...
38.608696
116
0.592568
erinloy
7cd6712e6afe46868512b116b3c323f376e8e193
2,240
cpp
C++
code/engine.vc2008/xrGame/items/WeaponDispersion.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/engine.vc2008/xrGame/items/WeaponDispersion.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/engine.vc2008/xrGame/items/WeaponDispersion.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
3
2019-10-20T19:35:34.000Z
2022-02-28T01:42:10.000Z
// WeaponDispersion.cpp: разбос при стрельбе // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "items/Weapon.h" #include "inventoryowner.h" #include "actor.h" #include "inventory_item_impl.h" #include "actoreffector.h" #include "effectorshot.h" //возвращает 1, ...
28.35443
110
0.725446
Rikoshet-234
7cd69f6f66570ee16e0dfc4a00208ac3e4fce49a
1,924
cpp
C++
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
Algorithms/Implementation/The_Bomberman_Game/main.cpp
ugurcan-sonmez-95/HackerRank_Problems
187d83422128228c241f279096386df5493d539d
[ "MIT" ]
null
null
null
// The Bomberman Game - Solution #include <iostream> #include <vector> std::vector<std::string> bomberMan(const int r, const int c, const int n, const std::vector<std::string> &grid) { std::vector<std::string> finalGrid1 = grid, finalGrid2, finalGrid3; for (int i{}; i < r; i++) for (int j{}; j < c; j...
28.716418
113
0.37526
ugurcan-sonmez-95
7cd798d6286c3458b708f1391f6a55e9c9d78390
27,815
hpp
C++
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
common/cmdline.hpp
Mainvooid/common
fd8f966ba283cb8df619166b41c76fb0cfc6a4c7
[ "MIT" ]
null
null
null
/* @brief a simple command line parser @author guobao.v@gmail.com */ #ifndef _COMMON_CMDLINE_HPP_ #define _COMMON_CMDLINE_HPP_ #include <common/precomm.hpp> #include <algorithm> #ifdef __GNUC__ #include <cxxabi.h> #endif /** @addtogroup common @{ @defgroup cmdline cmdline - command line parser @{ ...
34.595771
125
0.39112
Mainvooid
7cd96b7b5d529d013f3d3766f874b5fdcbf4943c
196
cpp
C++
samplers/src/simple_sampler.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
samplers/src/simple_sampler.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
samplers/src/simple_sampler.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
#include "samplers/itf/simple_sampler.h" using namespace lb; SimpleSampler::SimpleSampler( const Point2d& upperLeft, const Point2d& bottomRight): Sampler(upperLeft, bottomRight) { }
19.6
62
0.744898
ton
7cd9cb30ae181e4ce06afb3e9ea850af4f1ed71d
6,242
cc
C++
mysql-server/storage/ndb/plugin/ndb_schema_result_table.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/ndb/plugin/ndb_schema_result_table.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/ndb/plugin/ndb_schema_result_table.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with cer...
34.10929
79
0.73422
silenc3502
7cdad3ebcc2bf57b9787e69f1a92a256c4646439
990
cpp
C++
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
null
null
null
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
null
null
null
engine/src/engine/core/layers_stack.cpp
DmitryK579/Tank-Assault
f20cee73fdaa1e1d34f24cc681d781a26a7311a1
[ "MIT" ]
2
2021-12-16T13:04:18.000Z
2022-01-07T14:06:06.000Z
#include "pch.h" #include "layers_stack.h" engine::layers_stack::~layers_stack() { for(auto* layer : m_layers) { layer->on_detach(); delete layer; } } void engine::layers_stack::push_layer(layer* layer) { m_layers.emplace(m_layers.begin() + m_layers_insert_index, layer); m_layers_...
21.521739
70
0.638384
DmitryK579
7cdf425a0f02d64151bfcb78567242dbbd288976
431
hpp
C++
splayer_ios/splayer_ios/native/Person.hpp
biezhihua/splayer
82f5b160b30c2d99ba400f5b676dd23795e081c7
[ "Apache-2.0" ]
4
2019-08-14T08:57:05.000Z
2019-11-16T18:22:23.000Z
splayer_ios/splayer_ios/native/Person.hpp
biezhihua/SPlayer
82f5b160b30c2d99ba400f5b676dd23795e081c7
[ "Apache-2.0" ]
null
null
null
splayer_ios/splayer_ios/native/Person.hpp
biezhihua/SPlayer
82f5b160b30c2d99ba400f5b676dd23795e081c7
[ "Apache-2.0" ]
1
2019-11-16T18:22:24.000Z
2019-11-16T18:22:24.000Z
#ifndef Person_hpp #define Person_hpp #include <stdio.h> #include <iostream> using namespace std; class Person { public: string name; int age; bool sex; public: //默认构造函数,相当于init Person(); //带参数的构造函数,相当于带参数的init Person(const char* name , const int age , const bool sex); //析构函...
13.903226
62
0.617169
biezhihua
7ce02368bf5c246ef5364a904b9f1feac6faefc4
1,855
cpp
C++
flashlight/dataset/ResampleDataset.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
2
2020-12-27T18:38:44.000Z
2021-09-10T20:55:25.000Z
flashlight/dataset/ResampleDataset.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
null
null
null
flashlight/dataset/ResampleDataset.cpp
josephmisiti/flashlight
a1349e84c9be19ecbbdc28d2d5a8eeeaaaa06273
[ "MIT" ]
null
null
null
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ResampleDataset.h" #include <algorithm> #include <numeric> namespace { std::vector<int64_t> makeIdentityPermutation(i...
27.279412
77
0.709434
josephmisiti
7ce095b7f6667f84a76d62e0e9023d433e372d20
7,051
cpp
C++
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
58
2018-03-21T09:55:08.000Z
2022-03-25T07:21:42.000Z
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
2
2019-01-29T05:56:48.000Z
2019-05-23T04:44:28.000Z
src/RSL/UnitTest/RslMigration/TestHarness/main.cpp
nkindberg/RSL
f5907fb694c00ebcc6d6ad54e72e9f8a9b66ff0a
[ "MIT" ]
17
2018-03-21T12:10:47.000Z
2022-03-20T03:24:37.000Z
#define _WINSOCKAPI_ #include <windows.h> #include <stdio.h> #include <list> #include "libfuncs.h" #include "logging.h" using namespace std; using namespace RSLibImpl; #define NUM_REPLICAS 5 #define MAX_CMD_LEN 256 char procTitles[NUM_REPLICAS][256]; volatile bool endTest; volatile bool endTestCompleted; bool Start...
30.392241
102
0.584598
nkindberg
7ceae8a4f83a95e9ee841983fd42e6251bcedc57
8,606
hpp
C++
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2021-09-22T08:37:01.000Z
2021-09-22T08:37:01.000Z
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2020-11-16T04:05:47.000Z
2020-11-16T04:05:47.000Z
include/Mahi/Com/SocketSelector.hpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
2
2020-12-21T09:28:26.000Z
2021-09-17T03:08:19.000Z
// MIT License // // MEL - Mechatronics Engine & Library // Copyright (c) 2019 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 w...
35.415638
80
0.617128
chip5441
7cee48ebae861eb413998922865af85c7c97f2c7
1,119
cpp
C++
uva/10855.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/10855.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/10855.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (UVa) 10855 #include <bits/stdc++.h> #define GET(x) scanf("%d", &x) #define GED(x) scanf("%lf", &x) typedef long long ll; using namespace std; #define SZ 5000 int b, s; char big[SZ][SZ]; char small[SZ][SZ]; char small2[SZ][SZ]; void rotate() { for (int i = 0; i < s; +...
21.941176
67
0.446828
btjanaka
7cf0c63a6872c694335811d2bd24174c58e5614b
415
hpp
C++
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
null
null
null
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
1
2021-04-09T07:35:37.000Z
2021-04-09T07:35:37.000Z
tests/thread/tests.hpp
cppfw/nitki
c567c1b60755491bc0c9c53321d175c4df00fc89
[ "MIT" ]
1
2020-12-15T01:38:09.000Z
2020-12-15T01:38:09.000Z
#pragma once namespace TestJoinBeforeAndAfterThreadHasFinished{ void Run(); }//~namespace //==================== //Test many threads //==================== namespace TestManyThreads{ void Run(); }//~namespace //========================== //Test immediate thread exit //========================== namespace TestImmed...
15.961538
50
0.575904
cppfw
7cf265d3489293daa331751f47b69f65516d8386
698
cpp
C++
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2017-06-29T14:04:14.000Z
2020-03-21T12:48:21.000Z
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
null
null
null
Big Number/Division.cpp
MrinmoiHossain/Algorithms
d29a10316219f320b0116ef3b412457a1c1aea26
[ "MIT" ]
2
2020-03-31T15:45:19.000Z
2021-09-15T15:51:06.000Z
#include <bits/stdc++.h> #define LL long long int using namespace std; string division(string a, LL b); int main(void) { int T; cin >> T; for(int i = 1; i <= T; i++){ string a; LL b; cin >> a >> b; cout << division(a, b) << endl; } return 0; } string division(st...
15.173913
40
0.395415
MrinmoiHossain
7cf4fc1fa673ecf24f4cfb082943b0eb8ec5af76
520
cpp
C++
src/modules/osg/generated_code/ApplicationUsageProxy.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/ApplicationUsageProxy.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/ApplicationUsageProxy.pypp.cpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "wrap_osg.h" #include "applicationusageproxy.pypp.hpp" namespace bp = boost::python; void register_ApplicationUsageProxy_class(){ bp::class_< osg::ApplicationUsageProxy >( "ApplicationUsageProxy", bp::init< osg::ApplicationUsage::Type...
37.142857
304
0.728846
JaneliaSciComp
7cf7478851f0f1e06af485d309aab570636be6a8
1,842
cpp
C++
da/min/OPTI/Solvers/Source/scip/scipeventmex.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
83
2017-11-21T00:50:05.000Z
2022-03-18T00:54:25.000Z
da/min/OPTI/Solvers/Source/scip/scipeventmex.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
6
2017-11-21T00:50:44.000Z
2021-09-07T13:43:14.000Z
da/min/OPTI/Solvers/Source/scip/scipeventmex.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
15
2018-03-06T00:01:29.000Z
2021-07-28T05:18:16.000Z
/* SCIPMEX - A MATLAB MEX Interface to SCIP * Released Under the BSD 3-Clause License: * http://www.i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/License * * Copyright (C) Jonathan Currie 2013 * www.i2c2.aut.ac.nz */ #include "scipmex.h" #include "mex.h" #include <signal.h> //Ctrl-C Detection #ifdef __cplusplus ext...
28.338462
129
0.716069
Heliot7
7cfb7c135873789f76c032b27d40dd046117f774
1,163
hpp
C++
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
6
2019-04-02T07:47:37.000Z
2021-05-31T08:01:04.000Z
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
null
null
null
src/has_cycle.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
4
2019-04-15T08:52:17.000Z
2022-03-25T10:29:57.000Z
// // Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/deepgrace/giant // #include <memory>...
22.365385
90
0.505589
deepgrace
cfb052a4599f1d20f940cc7b246840a20022dac9
3,922
cpp
C++
source/x86/source_moss/kernel/input/devices/interface_mouse_ps2.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
2
2020-04-02T14:00:33.000Z
2021-06-29T05:50:30.000Z
source/x86/source_moss/kernel/input/devices/interface_mouse_ps2.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
source/x86/source_moss/kernel/input/devices/interface_mouse_ps2.cpp
imallett/MOSS
5ab7bc9c6b1669e2c99aa797d7091c6b52a0ea38
[ "MIT" ]
null
null
null
#include "interface_mouse_ps2.hpp" #include "../../../mossc/_misc.hpp" #include "../../graphics/vesa/controller.hpp" #include "../../io/io.hpp" #include "../../kernel.hpp" #include "../mouse.hpp" #include "controller_ps2.hpp" namespace MOSS { namespace Input { namespace Devices { //TODO: timeout...
29.051852
197
0.652728
imallett
cfb74c5f61e72e167965cd3b6a4877121efebe2c
2,131
cpp
C++
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
KEditor/Entity/KEEntityNamePool.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
null
null
null
#include "KEEntityNamePool.h" #include "KEditorGlobal.h" KEEntityNamePool::KEEntityNamePool() { } KEEntityNamePool::~KEEntityNamePool() { ASSERT_RESULT(m_Pool.empty()); } bool KEEntityNamePool::Init() { UnInit(); return true; } bool KEEntityNamePool::UnInit() { m_Pool.clear(); return true; } std::string KEEnt...
21.525253
82
0.712342
King19931229
cfb7c3be207d4d876b2478472d249000d3e74726
9,931
cpp
C++
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
10
2016-06-01T12:54:45.000Z
2021-09-07T17:34:37.000Z
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
null
null
null
jigtest/src/framework/sdlapplicationbase.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
4
2017-05-03T14:03:03.000Z
2021-01-04T04:31:15.000Z
//============================================================== // Copyright (C) 2004 Danny Chapman // danny@rowlhouse.freeserve.co.uk //-------------------------------------------------------------- // /// @file SDLApplicationbase.cpp // //==========================...
28.133144
87
0.518578
Ludophonic
cfb7f0230a3dad9f838546d1c0b8a0a0989955ba
17,656
cpp
C++
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/System
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
3
2020-04-24T20:23:24.000Z
2022-01-06T22:27:01.000Z
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
null
null
null
Source/System/[Platforms]/Windows/Interface.Windows.cpp
jbatonnet/system
227cf491ab5d0660a6bcf654f6cad09d1f82ba8e
[ "MIT" ]
1
2021-06-25T17:35:08.000Z
2021-06-25T17:35:08.000Z
#ifdef WINDOWS #include <System/System.h> using namespace System; using namespace System::Runtime; using namespace System::Objects; using namespace System::Devices; using namespace System::IO; using namespace System::Interface; using namespace System::Graphics; #undef using #define _INITIALIZER_LIST_ #include <Wind...
33.06367
269
0.617864
jbatonnet
cfbaa3403fe6083a83b359001d88539239ef0d88
769
cpp
C++
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
WumbukDraw/line.cpp
YangPeihao1203/WumbukDraw
e0854e62cc050c99deda04a849d46824f458cbbc
[ "MIT" ]
null
null
null
#include "line.h" Line::Line() { setAdjustFlag(false); } void Line::startDraw(QGraphicsSceneMouseEvent * event) { QPen pen = this->pen(); pen.setWidth(this->width); pen.setColor(this->color); setPen(pen); startPos=event->scenePos(); } void Line::drawing(QGraphicsSceneMouseEvent ...
18.756098
55
0.6671
YangPeihao1203
cfbc414efa03b4d00846bddacc360efa3e6b71df
16,075
cpp
C++
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
diffsim_torch3d/arcsim/src/simulation.cpp
priyasundaresan/kaolin
ddae34ba5f09bffc4368c29bc50491c5ece797d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
34.869848
112
0.612877
priyasundaresan
cfbc9166cf99ff55eb9d15aacb24a713551f7d21
2,707
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/queue_blocks.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <queue> #include <msw/buffer.hpp> namespace dawn { struct queue_blocks { typedef msw::range<msw::byte> block ; typedef msw::range<msw::byte const> const_block ; queue_blocks () ; ...
27.07
67
0.461396
yklishevich
cfbe411ee255d884970fca91398de8142dd8ec8c
7,250
hpp
C++
math/rotation.hpp
melowntech/libmath
7a473801a93ba5e244d96e773b412a3abed4a400
[ "BSD-2-Clause" ]
1
2021-09-02T08:42:59.000Z
2021-09-02T08:42:59.000Z
externals/browser/externals/browser/externals/libmath/math/rotation.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
2
2020-06-09T12:06:16.000Z
2021-10-06T08:15:04.000Z
externals/browser/externals/browser/externals/libmath/math/rotation.hpp
HanochZhu/vts-browser-unity-plugin
32a22d41e21b95fb015326f95e401d87756d0374
[ "BSD-2-Clause" ]
1
2019-09-25T05:20:17.000Z
2019-09-25T05:20:17.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
27.358491
79
0.549379
melowntech
cfbf77748654b7c729a4e77abbb95f491baf1e66
1,934
cpp
C++
Scratch Pencil Photo/Main.cpp
bayudwiyansatria/computer-vision
1cfe27441b0c92ac23195ed3c574daef1677d18a
[ "MIT" ]
1
2019-05-27T17:54:32.000Z
2019-05-27T17:54:32.000Z
Scratch Pencil Photo/Main.cpp
bayudwiyansatria/computer-vision
1cfe27441b0c92ac23195ed3c574daef1677d18a
[ "MIT" ]
null
null
null
Scratch Pencil Photo/Main.cpp
bayudwiyansatria/computer-vision
1cfe27441b0c92ac23195ed3c574daef1677d18a
[ "MIT" ]
1
2018-11-02T02:29:03.000Z
2018-11-02T02:29:03.000Z
#include <opencv/cv.h> #include <opencv/highgui.h> int main(int argc, char** argv) { int col_1, row_1; uchar b_1, g_1, r_1, b_2, g_2, r_2, b_d, g_d, r_d; IplImage* img = cvLoadImage("Theory/Scratch Pencil Photo/Input/lena.jpg"); IplImage* img1 = cvCreateImage(cvSize(img->width, img->height), img->depth, img->nCh...
32.233333
93
0.640641
bayudwiyansatria
cfc100bde1c5aae9d74ba6d1e7071f3bd1096362
3,215
cpp
C++
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
1
2021-11-02T14:31:12.000Z
2021-11-02T14:31:12.000Z
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
null
null
null
src/common/timer/timer_1ms.cpp
caozhiyi/quicX
46b486fc7786faf479b60c24da8ebdec783b3d5b
[ "BSD-3-Clause" ]
1
2021-09-30T08:23:58.000Z
2021-09-30T08:23:58.000Z
// Use of this source code is governed by a BSD 3-Clause License // that can be found in the LICENSE file. // Author: caozhiyi (caozhiyi5@gmail.com) #include "timer_1ms.h" namespace quicx { static const TIMER_CAPACITY __timer_accuracy = TC_1MS; // 1 millisecond static const TIMER_CAPACITY __timer_capacity = TC_50M...
22.640845
81
0.576361
caozhiyi
cfc56aecda2a23487b740604cb490928ac2a12b8
1,893
cpp
C++
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
139
2016-09-20T00:28:04.000Z
2020-09-27T15:05:11.000Z
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
85
2020-09-29T16:33:00.000Z
2022-03-30T01:23:23.000Z
src/v3/action_constants.cpp
siyuan0322/etcd-cpp-apiv3
1575c5b43a64f85f77897e9b5aad24e6523ea453
[ "BSD-3-Clause" ]
63
2016-12-06T11:42:29.000Z
2020-09-24T06:15:49.000Z
#include "etcd/v3/action_constants.hpp" char const * etcdv3::CREATE_ACTION = "create"; char const * etcdv3::COMPARESWAP_ACTION = "compareAndSwap"; char const * etcdv3::UPDATE_ACTION = "update"; char const * etcdv3::SET_ACTION = "set"; char const * etcdv3::GET_ACTION = "get"; char const * etcdv3::PUT_ACTION = "put"; ch...
41.152174
89
0.733228
siyuan0322
cfc5afce8a871cbdf7809d3bd8833c1e30182e5b
4,823
cc
C++
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
1
2020-08-20T22:34:36.000Z
2020-08-20T22:34:36.000Z
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
1
2020-08-27T00:01:42.000Z
2020-11-27T17:18:58.000Z
src/Table.cc
mgonnav/flaviadb
af133b30ec97834753d4d24a682cb2691688a854
[ "Apache-2.0" ]
null
null
null
#include "Where.hh" #include "printutils.hh" namespace ft = ftools; namespace fs = std::filesystem; namespace pu = printUtils; Table::Table(std::string name) { this->name = name; loadPaths(name); checkTableExists(); load_metadata(); this->reg_count = ft::getRegCount(name); this->indexes = new std::vecto...
23.758621
80
0.667427
mgonnav
cfc723067d77b4f03d2ddc39c019224197156336
5,293
cpp
C++
SimulationsOMP/ParaUtilMSDRadix16Sort.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
null
null
null
SimulationsOMP/ParaUtilMSDRadix16Sort.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
2
2020-10-19T02:03:11.000Z
2021-03-19T16:34:39.000Z
SimulationsOMP/ParaUtilMSDRadix16Sort.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
1
2020-04-28T00:33:14.000Z
2020-04-28T00:33:14.000Z
#include "SimulationsOMP_pcp.h" #include "ParaUtil.h" #include "ParaUtilSerialSort.h" #include "ParaUtilMSDRadix16Sort.h" #define Data_Digit(num, disp, mask) (((num) >> (disp)) & (mask)) #define Data_Digit_16(num, disp) Data_Digit(num, disp, 0xF) namespace ParaUtil { namespace Internal { static constexpr uint64_t r...
33.289308
104
0.501795
COFS-UWA
cfd0a388d365849c55299571788a64f78b67ee78
631
cpp
C++
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/scene/Stage.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
#include "../../include/kit2d/scene/Stage.hpp" #include "../../include/kit2d/scene/Scene.hpp" namespace kit2d { Stage::Stage(Window& window) : window(window) { window.onUpdate([this](float deltaTime) { this->scene->update(deltaTime); }); window.onRender([this](Renderer& renderer) { this->sc...
20.354839
54
0.613312
deianvn
cfd3aedf01baa8d1ae911ed9694eab6fcd72cd46
1,492
cc
C++
poj/3/3194.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
1
2015-04-17T09:54:23.000Z
2015-04-17T09:54:23.000Z
poj/3/3194.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
poj/3/3194.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> using namespace std; bool equidivision(const vector<vector<int> >& grid) { const int N = grid.size(); vector<vector<bool> > visited(N, vector<bool>(N, false)); for (int n = 0; n < N; n++) { for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) ...
24.064516
90
0.400134
eagletmt
cfd67f07a35b31f5fa7582523cad4390e276715f
1,015
cpp
C++
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/basics/36-threadNlocking.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; char *getTime() { chrono::time_point<chrono::system_clock> now = chrono::system_clock::now(); time_t t = chrono::system_clock::to_time_t(now); return ctime(&t); } double accountBalance = 100; mutex accountLock; void getMoney(int id, double amou...
23.068182
88
0.553695
chiragbhatia94
cfd6ec574659e3d92a6abb352f6e84dd8242fc97
4,026
cpp
C++
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
window.cpp
mauriliodc/path_aligner
fba4a8f95cac54c2bd5ee36626980ca7c4b9efb7
[ "MIT" ]
null
null
null
#include "window.h" Window::Window (QWidget *parent) : QMainWindow (parent),ui (new Ui::Window) { ui->setupUi(this); p=0; laser=0; } Window::~Window(){ delete ui; } void Window::on_fixed_frame_clicked() { QString odometryFilename = QFileDialog::getOpenFileName(this,tr("Open ODOMETRY log file"),"...
30.969231
121
0.616244
mauriliodc
cfd7726a7169408dc4d932fb2ff1afdf7efd955f
917
cpp
C++
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
1
2020-04-14T05:44:50.000Z
2020-04-14T05:44:50.000Z
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
null
null
null
dp/multi_zero_one_pack.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
2
2020-09-02T08:56:31.000Z
2021-06-22T11:20:58.000Z
#include <iostream> #include <algorithm> #define MAXN 101 #define MAXV 1001 using namespace std; // if you want the full pack,initialize res[0] = 0,res[1:] = -inf // or you want the maximum value, initialize res[:] = 0; //you could also use cost-effective sort to solve void orgin() { int vol[MAXN]; int val[MAXN]; ...
24.131579
65
0.514722
FrancsXiang
cfdaca73ae234be2ccb6cf70c985a27b77a94a2f
12,440
cpp
C++
src/gui/qgsmessagebar.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/gui/qgsmessagebar.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/gui/qgsmessagebar.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsmessagebar.cpp - description ------------------- begin : June 2012 copyright : (C) 2012 by Giuseppe Sucameli email : sucameli at f...
31.573604
141
0.650482
dyna-mis
cfdd07948334c7fc84c2caf3fa62b4a2bfad4efa
1,252
cpp
C++
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
1
2020-05-12T19:48:20.000Z
2020-05-12T19:48:20.000Z
test/src/Version.test.cpp
AMS21/CppBase
a6ec5542682bcebf5958d54557af1e03752a132f
[ "CC0-1.0" ]
null
null
null
#include <doctest.h> #include <cpp/Version.hpp> TEST_CASE("Version.Attribute") { #if __has_cpp_attribute(carries_dependencies) #endif #if __has_cpp_attribute(deprecated) #endif #if __has_cpp_attribute(fallthrough) #endif #if __has_cpp_attribute(likely) #endif #if __has_cpp_attribute(unlikely) #endif #if __has_cpp_att...
29.116279
62
0.746006
AMS21
cfdf565d5dd6e610dedcd293ffce8989883de855
1,302
cpp
C++
HackerRank/Mathematics/Fundamentals/Handshake/Solution.cpp
nik3212/hackerrank-challenges
676cf748a437117016607ae17c15211269bf2f92
[ "MIT" ]
1
2018-11-14T14:14:20.000Z
2018-11-14T14:14:20.000Z
HackerRank/Mathematics/Fundamentals/Handshake/Solution.cpp
nik3212/challenges
b127bc66ffa27bfdef87ac402dc080f933dad893
[ "MIT" ]
null
null
null
HackerRank/Mathematics/Fundamentals/Handshake/Solution.cpp
nik3212/challenges
b127bc66ffa27bfdef87ac402dc080f933dad893
[ "MIT" ]
null
null
null
/* At the annual meeting of Board of Directors of Acme Inc, every one starts shaking hands with everyone else in the room. Given the fact that any two persons shake hand exactly once, Can you tell the total count of handshakes? Input Format The first line contains the number of test cases T, T lines follow. Each li...
18.083333
224
0.634409
nik3212
cfe36472f7d92eb5ec50760171e5141b925409af
4,454
cpp
C++
graveyard/src/transport/axis2/ssl/AxisSSLChannelException.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
1
2021-11-10T19:36:30.000Z
2021-11-10T19:36:30.000Z
graveyard/src/transport/axis2/ssl/AxisSSLChannelException.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
null
null
null
graveyard/src/transport/axis2/ssl/AxisSSLChannelException.cpp
vlsinitsyn/axis1
65a622201e526dedf7c3aeadce7cac5bd79895bf
[ "Apache-2.0" ]
2
2021-11-02T13:09:57.000Z
2021-11-10T19:36:22.000Z
/* -*- C++ -*- */ /* * Copyright 2003-2004 The Apache Software Foundation. * * 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 ...
31.146853
95
0.710373
vlsinitsyn
cfe61a58a6e7ef9adddfaffe4f3aa0846db4eb44
4,744
cpp
C++
src/progress_bar.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/progress_bar.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/progress_bar.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2013 by David White <davewx7@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version....
29.283951
122
0.684233
sweetkristas
cfe8e78c2ad096dcfd8c34d5cbddaf14f96b6892
674
cpp
C++
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/tryandcatch.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
/* * source code: tryandcatch.cpp * author: Lukas Eder * date: 01.01.2018 * * Descr.: * Uebung zu try and catch Fehlerbehandlung inkl. inteligentem Array */ #include <iostream> #include <array> using namespace std; int main() { //Variablen array<double, 3> preise; preise.at(0) = 1.45; ...
21.741935
69
0.55638
EderLukas
cfeb15a71d3d8c8a5b4ee0d3a96fd66458c16cc0
1,209
hpp
C++
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-05T10:41:14.000Z
2015-02-05T10:41:14.000Z
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-04T20:47:52.000Z
2015-02-05T07:43:05.000Z
include/ISubThread.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
null
null
null
#ifndef INSANITY_INTERFACE_SUB_THREAD #define INSANITY_INTERFACE_SUB_THREAD #include "Constants.hpp" #include "IThread.hpp" namespace Insanity { //"Sub," in opposition to the "main" thread, represented by IApplication. class INSANITY_API ISubThread : public virtual IThread { public: //==========================...
31.815789
74
0.539289
lordio
cff5243f89c24da48b4e1a8e5bee40914b35363e
16,909
cpp
C++
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
2
2020-05-31T19:54:19.000Z
2021-09-14T12:00:12.000Z
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
src/TextureLoaderFrontend/load_dds.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
#include "load_dds.hpp" #define VK_NO_PROTOTYPES #include <vulkan/vulkan.h> //#define MEAN_AND_LEAN //#define NO_MINMAX //#include <windows.h> #include <iostream> /* Can load easier and more indepth with https://github.com/Hydroque/DDSLoader Because a lot of crappy, weird DDS file loader files were fou...
29.305026
98
0.603288
WubiCookie
cfff7dbf1afee58f5dd3a04d6f58c871730fa696
712
cpp
C++
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
cpp/stl/05_insert.cpp
Trickness/pl_learning
53c10490aed1ba4a02b14aae4890321ad099cc60
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> #include <list> #include <vector> #include <iterator> using namespace std; int iArray[5] = {1,2,3,4,5}; void Display(list<int> &a , const char* s){ cout << s << endl; copy(a.begin(),a.end(), ostream_iterator<int>(cout, " ")); cout << endl; } int main(){ list...
22.25
62
0.629213
Trickness
3202fd54536a01efd617e80e180b3288cabceecd
2,511
cc
C++
src/developer/debug/zxdb/symbols/identifier_unittest.cc
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
src/developer/debug/zxdb/symbols/identifier_unittest.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
src/developer/debug/zxdb/symbols/identifier_unittest.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 "src/developer/debug/zxdb/symbols/identifier.h" #include "gtest/gtest.h" #include "src/developer/debug/zxdb/common/err.h" namespace zxdb { TEST...
33.932432
76
0.680207
yanyushr
3205b13f2b67c5c04db23a69f1ebf07a9e31ed5d
3,456
cpp
C++
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1082_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
23.510204
106
0.530093
onexmaster
3208de8949a1662d0acd4a62337215eb51f7ad50
1,728
hpp
C++
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/EventCameraCalibration
debd774ac989674b500caf27641b7ad4e94681e9
[ "Apache-2.0" ]
22
2021-08-06T03:21:03.000Z
2022-02-25T03:40:54.000Z
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
1
2022-02-25T02:55:13.000Z
2022-02-25T15:18:45.000Z
modules/core/feature/include/opengv2/feature/FeatureBase.hpp
MobilePerceptionLab/MultiCamCalib
2f0e94228c2c4aea7f20c26e3e8daa6321ce8022
[ "Apache-2.0" ]
7
2021-08-11T12:29:35.000Z
2022-02-25T03:41:01.000Z
// // Created by huangkun on 2019/12/30. // #ifndef OPENGV2_FEATUREBASE_HPP #define OPENGV2_FEATUREBASE_HPP #include <memory> #include <Eigen/Eigen> #include <opengv2/landmark/LandmarkBase.hpp> namespace opengv2 { class FeatureBase { // TODO: inherit ObservationBase public: EIGEN_MAKE_ALIGNED_OPERA...
25.043478
111
0.600116
MobilePerceptionLab
320ad7582601aa0c407b9fc613bf6d96159f5191
518
hpp
C++
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/wrapper.hpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
#ifndef _INCLUDE_WRAPPER #define _INCLUDE_WRAPPER #include <ISmmPlugin.h> #include "iplayerinfo.h" #if SOURCE_ENGINE <= SE_DARKMESSIAH /** * Wrap the CCommand class so our code looks the same on all engines. */ class CCommand { public: const char *ArgS() { return g_Engine->Cmd_Args(); } int ArgC() { return...
15.69697
69
0.727799
Dreae
320aee2d2c17261395b2ff39b854baa01a6971bb
8,311
cc
C++
pigasus/software/tools/snort2lua/output_states/out_csv.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/tools/snort2lua/output_states/out_csv.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
pigasus/software/tools/snort2lua/output_states/out_csv.cc
zhipengzhaocmu/fpga2022_artifact
0ac088a5b04c5c75ae6aef25202b66b0f674acd3
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License Version 2 as published // by the Fr...
32.088803
90
0.553844
zhipengzhaocmu
320ba053f76ac48a47fd3cf23ed89c7d478b06f7
3,891
cpp
C++
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2017-12-12T19:23:44.000Z
2017-12-12T19:23:44.000Z
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2016-04-20T18:47:05.000Z
2016-05-04T08:05:45.000Z
src/SplitFit.cpp
IWantedToBeATranslator/2D-Strip-Packing
4ee9a220f2e9debf775b020d961f0ba547f32636
[ "MIT" ]
1
2019-07-14T15:39:27.000Z
2019-07-14T15:39:27.000Z
#include "SplitFit.h" SplitFit::SplitFit() { int levelH[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; int levels = 1; int levelW[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; int levelHmin = 0; int levelRH[30] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
24.018519
122
0.555641
IWantedToBeATranslator
320bf69707aaae190ebccb03cd7d07ac9c80ace7
677
cpp
C++
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
5
2021-03-27T21:26:07.000Z
2021-12-23T22:15:37.000Z
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
null
null
null
codes_of_questions/1007_DNA_sorting.cpp
Zaryob/algorithmsolutions
3f3270aed8274b5a7102afe5f21aa8da0245625e
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; struct dna { int pos; int key; string str; }; bool cmp(const dna &a, const dna &b) { if (a.key != b.key) { return a.key < b.key; } else { return a.pos < b.pos; } } int main() { int n, m, count; dna inv[110]; string str; cin >> n >> m...
11.877193
36
0.478582
Zaryob
320cf2711bacf04a487260e91cd6e5effe949e09
2,792
cpp
C++
source/resource/font.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
5
2020-03-25T14:46:23.000Z
2022-02-23T01:46:26.000Z
source/resource/font.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
1
2022-01-14T00:01:48.000Z
2022-01-14T00:01:48.000Z
source/resource/font.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
2
2020-03-25T14:46:24.000Z
2020-08-21T04:33:23.000Z
#include "./font.hpp" #include "./vfs.hpp" #include "../utility/logger.hpp" #include "../video/texture.hpp" #include <fstream> #include <glm/gtc/constants.hpp> #include <nlohmann/json.hpp> const font_glyph_t font_t::kNullGlyph {}; void font_t::load(const std::string& directory, const std::string& name) { auto make...
25.851852
78
0.625358
synaodev
320e6f684dea75528b653b8b6172938f63e9d919
436
cpp
C++
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
1
2020-06-14T06:14:50.000Z
2020-06-14T06:14:50.000Z
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
src/Red/Data/JSON/Number.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
#include <Red/Data/JSON/Number.h> Red::Data::JSON::Number :: Number ( double Value ): RefCounted ( 0 ), Value ( Value ) { } Red::Data::JSON::Number :: ~Number () { } Red::Data::JSON::IType :: DataType Red::Data::JSON::Number :: GetType () const { return kDataType_Number; } double Red::Data::JSON::Number :: ...
13.212121
78
0.605505
OutOfTheVoid
32112ab813d3aa682de5b9cba42ab4654fb1fb80
10,516
cpp
C++
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
work_addons/ofxXTween/src/ofxXTweener.cpp
jjongun/ofxAddons
44958f20e5dfcd71cfa5c5596aa0c480893894b8
[ "MIT" ]
null
null
null
#include "ofxXTweener.h" #pragma region Easing functions /***** LINEAR ****/ float Linear::easeNone(float t, float b, float c, float d) { return c*t / d + b; } float Linear::easeIn(float t, float b, float c, float d) { return c*t / d + b; } float Linear::easeOut(float t, float b, float c, float d) { return c*t /...
27.103093
176
0.603461
jjongun
32121d63e621256eef322efc6b1f72fcfcc9a340
761
hpp
C++
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
src/protocols/wl/data_device.hpp
Link1J/Awning
4e35e092725d1688ac94f8473fb6bffd99a5cfa0
[ "MIT" ]
null
null
null
#pragma once #include <wayland-server.h> #include <unordered_map> #include <vector> #include <string> namespace Awning::Protocols::WL::Data_Device { extern const struct wl_data_device_interface interface; namespace Interface { void Start_Drag(struct wl_client* client, struct wl_resource* resource, struct wl_res...
34.590909
173
0.792378
Link1J
321459382e58a205aac83dd508d19189b1440df1
7,119
cpp
C++
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
7
2020-10-16T11:34:27.000Z
2022-03-12T17:53:15.000Z
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
Kiper220/SREngine
f1fa36b5ded1f489a9fdb59d8d4b40eb294ba9ec
[ "MIT" ]
1
2022-03-07T14:42:22.000Z
2022-03-07T14:42:22.000Z
Engine/Dependences/Framework/Depends/LuaBridge/Tests/Source/NamespaceTests.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
6
2021-05-06T15:09:52.000Z
2022-03-12T17:57:14.000Z
// https://github.com/vinniefalco/LuaBridge // // Copyright 2019, Dmitry Tarakanov // SPDX-License-Identifier: MIT #include "TestBase.h" struct NamespaceTests : TestBase { template <class T> T variable (const std::string& name) { runLua ("result = " + name); return result <T> (); } }; TEST_F (Namesp...
22.817308
105
0.617643
GlebShikovec
3216a0912083e09e1e4d9a060d8eb8d6739fa22f
5,810
cc
C++
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
2
2020-02-25T05:52:57.000Z
2021-03-18T08:28:38.000Z
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
null
null
null
cartographer/mapping_2d/scan_matching/ceres_scan_matcher.cc
linghusmile/Cartographer_-
28be85c1af353efae802cebb299b8d2486fbd800
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 The Cartographer Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
40.068966
80
0.724269
linghusmile
3217a82afab606ad838675c40d023585b0b4a668
10,699
hpp
C++
cpp/src/test/test_position_manipulation.hpp
arthur-bit-monnot/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
13
2018-11-19T15:51:23.000Z
2022-01-16T11:24:21.000Z
cpp/src/test/test_position_manipulation.hpp
fire-rs-laas/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
14
2017-10-12T16:19:19.000Z
2018-03-12T12:07:56.000Z
cpp/src/test/test_position_manipulation.hpp
fire-rs-laas/fire-rs-saop
321e16fceebf44e8e97b482c24f37fbf6dd7d162
[ "BSD-2-Clause" ]
4
2018-03-12T12:28:55.000Z
2021-07-07T18:32:17.000Z
/* Copyright (c) 2017, CNRS-LAAS All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following di...
38.210714
105
0.549397
arthur-bit-monnot
32198d49dc2fa06def4ac0e909270088f01cb6bf
26,482
cpp
C++
himan-plugins/source/geotiff.cpp
fmidev/himan
481e0cf9a3d15c900e07d08cf7e22de1c50a6823
[ "MIT" ]
18
2017-04-20T18:51:41.000Z
2022-03-23T21:12:49.000Z
himan-plugins/source/geotiff.cpp
fmidev/himan
481e0cf9a3d15c900e07d08cf7e22de1c50a6823
[ "MIT" ]
5
2018-07-05T02:15:56.000Z
2021-06-01T09:36:51.000Z
himan-plugins/source/geotiff.cpp
fmidev/himan
481e0cf9a3d15c900e07d08cf7e22de1c50a6823
[ "MIT" ]
2
2020-02-18T06:32:53.000Z
2021-03-29T15:17:09.000Z
#include "geotiff.h" #include "cpl_conv.h" // for CPLMalloc() #include "file_accessor.h" #include "gdal_frmts.h" #include "grid.h" #include "lambert_conformal_grid.h" #include "lambert_equal_area_grid.h" #include "latitude_longitude_grid.h" #include "logger.h" #include "plugin_factory.h" #include "producer.h" #include...
29.489978
120
0.663998
fmidev
321a1cd6e50b7fda1c89b6fe67bea9189add0552
24,431
cpp
C++
be/src/olap/base_expansion_handler.cpp
DiffBlue-benchmarks/baidu-palo
27e021b0a9616a795a650026ed8c59aea7d09841
[ "Apache-2.0" ]
1
2021-07-14T07:30:48.000Z
2021-07-14T07:30:48.000Z
be/src/olap/base_expansion_handler.cpp
DiffBlue-benchmarks/baidu-palo
27e021b0a9616a795a650026ed8c59aea7d09841
[ "Apache-2.0" ]
null
null
null
be/src/olap/base_expansion_handler.cpp
DiffBlue-benchmarks/baidu-palo
27e021b0a9616a795a650026ed8c59aea7d09841
[ "Apache-2.0" ]
1
2018-06-29T06:40:03.000Z
2018-06-29T06:40:03.000Z
// Copyright (c) 2017, Baidu.com, 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 applic...
38.595577
99
0.620237
DiffBlue-benchmarks
321c3ffcbfc764ede04835b683800520a8bdff0b
404
cpp
C++
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
20
2015-01-19T02:12:50.000Z
2020-12-09T17:02:42.000Z
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
1
2015-12-15T11:28:19.000Z
2015-12-15T11:28:19.000Z
state_mach.cpp
davitkalantaryan/fork-cpp-raft
f8d08a645ba541d42c6f2db54137fbfa53b5908d
[ "BSD-3-Clause" ]
9
2015-08-20T15:35:17.000Z
2020-07-17T02:26:35.000Z
#include "state_mach.h" using namespace Raft; State::State() { } State::~State() { } bool State::is_follower() { return d_state == RAFT_STATE_FOLLOWER; } bool State::is_leader() { return d_state == RAFT_STATE_LEADER; } bool State::is_candidate() { return d_state == RAFT_STATE_CANDIDATE; } void State::set(R...
14.962963
54
0.693069
davitkalantaryan
321e52d806270a22769c244eecdbf204b18e506a
1,539
cpp
C++
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
16
2016-03-16T22:16:18.000Z
2021-04-05T04:46:38.000Z
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
11
2016-03-16T22:02:26.000Z
2021-04-04T02:20:51.000Z
samples/webserver.cpp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
5
2016-03-22T14:03:34.000Z
2021-01-06T18:08:46.000Z
#include <iostream> #include <native/native.hpp> using namespace native; using namespace http; int main() { std::shared_ptr<Loop> loop = Loop::Create(); std::shared_ptr<Server> server = Server::Create(loop); server->get("/", [](std::shared_ptr<ServerConnection> connection) -> Future<void> { // some initial ...
34.2
87
0.606888
nodenative
321ea55f66bcb059d8b71afc93e24621cc8442e6
5,572
cpp
C++
OpenCup/e.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
OpenCup/e.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
OpenCup/e.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * @author: Xingjian Bai * @date: 2020-10-11 10:31:31 * @description: * /Users/jackbai/Desktop/OI/OpenCup/e.cpp * * @notes: * g++ -fsanitize=address -ftrapv e.cpp * * * * * * * * * * * * * * * * * */ #include <bits/stdc++.h> #define F first...
25.559633
119
0.470747
JackBai0914
32234a55fff0457a3399490a0db7f51162085257
437
cc
C++
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
platform/client_native_pixmap_factory_qt.cc
tworaz/ozone_qt
a015069d3d68cfe0826e76977c974baa1f459834
[ "MIT" ]
null
null
null
// Copyright 2015 Piotr Tworek. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ozone_qt/platform/client_native_pixmap_factory_qt.h" #include "ui/ozone/common/stub_client_native_pixmap_factory.h" namespace ui { ClientNativePixmap...
27.3125
73
0.796339
tworaz