hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
e9780ca94fce16675475546beb5f735871b3fb51
507
cpp
C++
src/Wirnik.cpp
BLesniew/PO-projekt
bd80894009ef3e2e511c8e03fe5cb56c2d37fc7e
[ "MIT" ]
null
null
null
src/Wirnik.cpp
BLesniew/PO-projekt
bd80894009ef3e2e511c8e03fe5cb56c2d37fc7e
[ "MIT" ]
null
null
null
src/Wirnik.cpp
BLesniew/PO-projekt
bd80894009ef3e2e511c8e03fe5cb56c2d37fc7e
[ "MIT" ]
null
null
null
#include "../inc/Wirnik.h" void Wirnik::ustawOdPozycjiDrona(Wektor3D srodekDrona, MacierzObrotu obrotDrona) { this->macierzObrotu=obrotDrona*(MacierzObrotu(Wektor3D(1,0,0),Wektor3D(0,0,-1),Wektor3D(0,1,0))); this->ObrocOKat(katObr); this->pozycjaSrodka=obrotDrona*this->pozycjaWzgledemDrona+srodekDrona; } ...
23.045455
101
0.670611
BLesniew
e9817cb64c9b64e9d9863b5875b5af0069a2f759
12,114
cc
C++
src/graphics_arena_viewer.cc
tonydimitrov97/BraitenbergAutonomousVehicles
b7e1206906a82a7fa73adfacf603ba8630cfac6b
[ "FSFAP" ]
null
null
null
src/graphics_arena_viewer.cc
tonydimitrov97/BraitenbergAutonomousVehicles
b7e1206906a82a7fa73adfacf603ba8630cfac6b
[ "FSFAP" ]
null
null
null
src/graphics_arena_viewer.cc
tonydimitrov97/BraitenbergAutonomousVehicles
b7e1206906a82a7fa73adfacf603ba8630cfac6b
[ "FSFAP" ]
null
null
null
/** * @file graphics_arena_viewer.cc * * @copyright 2017 3081 Staff, All rights reserved. */ /******************************************************************************* * Includes ******************************************************************************/ #include <vector> #include <iostream> #include ...
33.932773
110
0.59617
tonydimitrov97
e98ac3b78190e6ec7c98bae31cd47145e12db46d
223
hpp
C++
include/flexui/Nodes/Elements/Button.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
23
2020-12-20T01:41:56.000Z
2021-11-14T20:26:40.000Z
include/flexui/Nodes/Elements/Button.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
2
2020-12-23T16:29:55.000Z
2021-11-29T05:35:12.000Z
include/flexui/Nodes/Elements/Button.hpp
mlomb/flexui
242790aa13b057e25b276b6a3df79a30735c2548
[ "MIT" ]
4
2020-12-23T16:02:25.000Z
2021-09-30T08:37:51.000Z
#pragma once #include "flexui/Nodes/Element.hpp" namespace flexui { /// Button UI element class Button : public Element { public: Button(); virtual ~Button(); void executeDefault(EventBase* evt) override; }; }
14.866667
47
0.695067
mlomb
e98c6b5c817ef671c9b0d9cc02aaa4c103926e15
2,647
cpp
C++
evias/core/regexp.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
1
2015-10-31T03:18:02.000Z
2015-10-31T03:18:02.000Z
evias/core/regexp.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
evias/core/regexp.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
#include "regexp.hpp" namespace evias { namespace core { using std::string; using std::vector; using std::map; using boost::xpressive::sregex; using boost::xpressive::smatch; using boost::xpressive::regex_match; regex::regex(string p) : _noMatchThrows(false) { setPatt...
22.058333
75
0.482433
evias
e98febc4ee1c1c723b439df032e330541a412355
208
cpp
C++
src/events/set_joy_button_response.cpp
TetraSomia/liblapin
f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35
[ "BSD-3-Clause" ]
1
2021-06-14T19:26:42.000Z
2021-06-14T19:26:42.000Z
src/events/set_joy_button_response.cpp
TetraSomia/liblapin
f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35
[ "BSD-3-Clause" ]
null
null
null
src/events/set_joy_button_response.cpp
TetraSomia/liblapin
f5ee3ce9b0fff8459ec15d5e24287f2c16e5ae35
[ "BSD-3-Clause" ]
null
null
null
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2015 // // Bibliothèque Lapin #include "lapin_private.h" void bunny_set_joy_button_response(t_bunny_joy_button j) { gl_callback.button = j; }
16
58
0.745192
TetraSomia
e990c68d81032ab84bd2cf01cb1d3606640b68d3
17,578
hpp
C++
snark-logic/libs-source/zk/include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp
idealatom/podlodkin-freeton-year-control
6aa96e855fe065c9a75c76da976a87fe2d1668e6
[ "MIT" ]
null
null
null
snark-logic/libs-source/zk/include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp
idealatom/podlodkin-freeton-year-control
6aa96e855fe065c9a75c76da976a87fe2d1668e6
[ "MIT" ]
null
null
null
snark-logic/libs-source/zk/include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp
idealatom/podlodkin-freeton-year-control
6aa96e855fe065c9a75c76da976a87fe2d1668e6
[ "MIT" ]
1
2021-09-15T20:27:27.000Z
2021-09-15T20:27:27.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // Copyright (c) 2020-2021 Ilias Khairullin <ilias@nil.foundation> // // MIT License // // Permission is here...
59.586441
120
0.528957
idealatom
e9930de2785a18ef86de7a1267065dafb0532007
7,424
cpp
C++
src/libs/qlib/qpolygon.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qpolygon.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qpolygon.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * QPolygon - a 3D polygon - possibly textured * 02-07-97: Created! * 11-08-99: Although obsolete, for Lingo's sake I'm implementing texture * objects, since this module used to generate textures from an RGB source * EVERY time the polygon was drawn. No wonder it was darn slow! * Future versions: use D3 instead...
26.801444
77
0.616245
3dhater
e9961c805cd109b7175fb6d103321c563899e30f
2,804
cpp
C++
src/erhe/graphics/vertex_format.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/erhe/graphics/vertex_format.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/erhe/graphics/vertex_format.cpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#include "erhe/graphics/vertex_format.hpp" #include "erhe/log/log.hpp" #include "erhe/toolkit/verify.hpp" #include <gsl/assert> #include <algorithm> #include <cassert> namespace erhe::graphics { Vertex_format::Vertex_format() = default; Vertex_format::~Vertex_format() = default; void Vertex_format::clear() { ...
20.77037
77
0.562767
tksuoran
e99801703a337eb764e3836f31e46e809b025d24
2,603
cpp
C++
test/oglplus/fixture_glx.cpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
test/oglplus/fixture_glx.cpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
test/oglplus/fixture_glx.cpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
/* * .file test/oglplus/fixture_glx.cpp * Implements GLX-based test fixture * * Copyright 2011-2019 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #include "fixture.hpp" #include <ogl...
26.292929
78
0.604687
matus-chochlik
e99a3055eeb0d98b2e37d13ed386240756b432ad
1,174
cpp
C++
selection_sort.cpp
chaitanyav/fun_code
3e9aa04c050f357ec5389adeb2bda93c929393db
[ "0BSD" ]
1
2015-11-05T21:51:14.000Z
2015-11-05T21:51:14.000Z
selection_sort.cpp
chaitanyav/fun_code
3e9aa04c050f357ec5389adeb2bda93c929393db
[ "0BSD" ]
null
null
null
selection_sort.cpp
chaitanyav/fun_code
3e9aa04c050f357ec5389adeb2bda93c929393db
[ "0BSD" ]
null
null
null
/* *Copyright 2010, NagaChaitanya Vellanki * *Author NagaChaitanya Vellanki * * Selection sort , complexity O(n^2) */ #include <iostream> #include <stdint.h> #include <vector> #include <algorithm> using namespace std; void PrintArray(vector<int32_t> &array) { for (int32_t index = 0; index < array.size(); ind...
18.935484
59
0.580068
chaitanyav
e9a0c54e552911a42ac468fa8c40fcbb4055b844
112,119
inl
C++
runtime/legion/legion_stl.inl
AlexisPerry/legion
c9d3d829f6e6a910e776233e62629bab34cb2304
[ "Apache-2.0" ]
1
2021-02-24T16:46:03.000Z
2021-02-24T16:46:03.000Z
runtime/legion/legion_stl.inl
AlexisPerry/legion
c9d3d829f6e6a910e776233e62629bab34cb2304
[ "Apache-2.0" ]
null
null
null
runtime/legion/legion_stl.inl
AlexisPerry/legion
c9d3d829f6e6a910e776233e62629bab34cb2304
[ "Apache-2.0" ]
1
2019-07-31T21:54:40.000Z
2019-07-31T21:54:40.000Z
/* Copyright 2018 Stanford University, NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
46.696793
88
0.55343
AlexisPerry
e9a250fbf5163c494b6e1b0271bcd2f5e3a98549
495
hpp
C++
include/hash_types.hpp
PaulHowes/hash-test
377ef777ef837223e1910f2ba1b5fa7a5f1e7506
[ "Apache-2.0" ]
null
null
null
include/hash_types.hpp
PaulHowes/hash-test
377ef777ef837223e1910f2ba1b5fa7a5f1e7506
[ "Apache-2.0" ]
null
null
null
include/hash_types.hpp
PaulHowes/hash-test
377ef777ef837223e1910f2ba1b5fa7a5f1e7506
[ "Apache-2.0" ]
null
null
null
/** * @file hash_types.hpp * @brief Complex type definitions used throughout the program. */ #pragma once // Standard C++ library #include <algorithm> #include <codecvt> #include <fstream> #include <iomanip> #include <iostream> #include <locale> #include <memory> #include <random> #include <string> #include <...
19.8
65
0.717172
PaulHowes
e9b08bcfa3db2589426df4900a0710f09305e416
1,331
cpp
C++
src/impl/oclint/helper/CyclomaticComplexityMeasurement.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
null
null
null
src/impl/oclint/helper/CyclomaticComplexityMeasurement.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
null
null
null
src/impl/oclint/helper/CyclomaticComplexityMeasurement.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
2
2015-05-13T02:23:00.000Z
2020-09-14T15:25:10.000Z
#include <clang/AST/Stmt.h> #include <clang/AST/StmtCXX.h> #include <clang/AST/StmtObjC.h> #include <clang/AST/Expr.h> #include <clang/AST/ExprCXX.h> #include <clang/AST/ExprObjC.h> using namespace clang; #include "oclint/helper/CursorHelper.h" #include "oclint/helper/CyclomaticComplexityMeasurement.h" static int _c...
30.25
99
0.712998
oclint
e9b30dba1a49d889ac8c542cff29f8bf33402e4e
335,980
hpp
C++
PreComputedRndTables/halton23.hpp
gileoo/MCSurfaceTension2020-Supplemental
02c6751e69c7ebde3a43cdcad608390ca6789ba5
[ "MIT" ]
null
null
null
PreComputedRndTables/halton23.hpp
gileoo/MCSurfaceTension2020-Supplemental
02c6751e69c7ebde3a43cdcad608390ca6789ba5
[ "MIT" ]
null
null
null
PreComputedRndTables/halton23.hpp
gileoo/MCSurfaceTension2020-Supplemental
02c6751e69c7ebde3a43cdcad608390ca6789ba5
[ "MIT" ]
null
null
null
#ifndef HALTON23_HPP #define HALTON23_HPP #include <vector> std::vector<float> halton23 = { 0.000000, 0.000000, 0.500000, 0.333333, 0.250000, 0.666667, 0.750000, 0.111111, 0.125000, 0.444444, 0.625000, 0.777778, 0.375000, 0.222222, 0.875000, 0.555556, 0.062500, 0.888889, 0.562500, 0.037037, 0.312500, 0.37...
203.747726
204
0.682934
gileoo
e9b8d2284b64f2b182b7f8ac42003f6519d636a3
4,184
cpp
C++
hcaservice/ServiceBase.cpp
lehoon/hcaservice
bd19060f36785279cd8ecfa4d5bce527067081c0
[ "MIT" ]
null
null
null
hcaservice/ServiceBase.cpp
lehoon/hcaservice
bd19060f36785279cd8ecfa4d5bce527067081c0
[ "MIT" ]
null
null
null
hcaservice/ServiceBase.cpp
lehoon/hcaservice
bd19060f36785279cd8ecfa4d5bce527067081c0
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ServiceBase.h" #include <cassert> ServiceBase * ServiceBase::m_serviceInstance = NULL; ServiceBase::ServiceBase(void) { } ServiceBase::~ServiceBase(void) { } ServiceBase::ServiceBase(const CString & name, const CString & displayName, DWORD dwStartType, DWORD dwErrCtrlType, DWORD ...
23.908571
127
0.753107
lehoon
e9bc646b632c61a2e7f25977861f05d644c9c532
2,158
cpp
C++
macro_benchmark/NMT/tensorrt/samples/sampleNMT/model/slpProjection.cpp
songhappy/ai-matrix
901078e480c094235c721c49f8141aec7a84e70e
[ "Apache-2.0" ]
180
2018-09-20T07:27:40.000Z
2022-03-19T07:55:42.000Z
macro_benchmark/NMT/tensorrt/samples/sampleNMT/model/slpProjection.cpp
songhappy/ai-matrix
901078e480c094235c721c49f8141aec7a84e70e
[ "Apache-2.0" ]
80
2018-09-26T18:55:56.000Z
2022-02-10T02:03:26.000Z
macro_benchmark/NMT/tensorrt/samples/sampleNMT/model/slpProjection.cpp
songhappy/ai-matrix
901078e480c094235c721c49f8141aec7a84e70e
[ "Apache-2.0" ]
72
2018-08-30T00:49:15.000Z
2022-02-15T23:22:40.000Z
#include "slpProjection.h" #include "common.h" #include <cassert> #include <sstream> namespace nmtSample { SLPProjection::SLPProjection(ComponentWeights::ptr weights) : mWeights(weights) { // please refer to chpt_to_bin.py for the details on the format assert(mWeights->mMetaData.size() >= 3); mKernelW...
36.576271
170
0.724745
songhappy
e9bd7abeb699568796ab48ffe46cbfa0e5e045aa
5,361
cpp
C++
src/ppl/cv/arm/bgr2bgra_benchmark.cpp
ouonline/ppl.cv
4a3bdda3054c3664f043130c5ed35970edb512df
[ "Apache-2.0" ]
291
2021-06-30T13:38:19.000Z
2022-03-31T08:53:17.000Z
src/ppl/cv/arm/bgr2bgra_benchmark.cpp
zzb254188/ppl.cv
2e70d85c1a2f427f2f55dd3b1c7d4238516b5af4
[ "Apache-2.0" ]
22
2021-07-05T08:00:16.000Z
2022-03-31T01:28:36.000Z
src/ppl/cv/arm/bgr2bgra_benchmark.cpp
zzb254188/ppl.cv
2e70d85c1a2f427f2f55dd3b1c7d4238516b5af4
[ "Apache-2.0" ]
58
2021-06-30T13:43:24.000Z
2022-03-26T15:56:50.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...
43.585366
159
0.698004
ouonline
e9be7b6fdaad40ca6c5926be6b2099e2c5cd60cb
144
hh
C++
src/audio.hh
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
1
2019-08-21T05:06:04.000Z
2019-08-21T05:06:04.000Z
src/audio.hh
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
null
null
null
src/audio.hh
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
null
null
null
// // Created by Eddie Hoyle on 5/08/16. // #ifndef SEV_AUDIO_HH #define SEV_AUDIO_HH class Audio { }; void hey(); #endif //SEV_AUDIO_HH
8.470588
37
0.666667
eddiehoyle
e9c1319205924ad6ddda686e891bba9bc0c60fae
12,140
cpp
C++
smnchai/src/main.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
smnchai/src/main.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
smnchai/src/main.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
/* -*- mode: C++; indent-tabs-mode: nil; -*- */ /** \file * \brief The main SMNChai program. * * Requires YARP. * * This file is part of the openBuildNet simulation framework * (OBN-Sim) developed at EPFL. * * \author Truong X. Nghiem (xuan.nghiem@epfl.ch) */ #include <cstdlib> // getevn #include <signal...
35.497076
160
0.609308
sduerr85
83a2482b10a6e67f8c29b387b7b29a1901043bda
3,576
cpp
C++
src/MCU/Mcu.cpp
jkalter11/freeshop
c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3
[ "MIT" ]
1
2021-05-11T10:40:14.000Z
2021-05-11T10:40:14.000Z
src/MCU/Mcu.cpp
jkalter11/freeshop
c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3
[ "MIT" ]
null
null
null
src/MCU/Mcu.cpp
jkalter11/freeshop
c7b1858ed713732b8ff9afa116f05a1ed9a4d4c3
[ "MIT" ]
2
2021-06-05T15:51:05.000Z
2022-02-03T20:44:33.000Z
#include "Mcu.hpp" #include <cstring> //Thanks to Sono and his research on MCU namespace FreeShop { MCU &MCU::getInstance() { static MCU mcu; return mcu; } Result MCU::mcuInit() { return srvGetServiceHandle(&m_mcuHandle, "mcu::HWC"); } Result MCU::mcuExit() { return svcCloseHandle(m_mcuHandle); } Result M...
22.923077
64
0.627237
jkalter11
83a464cbb1fe3f44be43d4fadee77e0e3ad99ab7
2,563
hh
C++
include/mcc/board2darray.hh
nilsfriess/mcc
05545cbb22696a89ae6353a13dc0b72e58548f78
[ "MIT" ]
null
null
null
include/mcc/board2darray.hh
nilsfriess/mcc
05545cbb22696a89ae6353a13dc0b72e58548f78
[ "MIT" ]
null
null
null
include/mcc/board2darray.hh
nilsfriess/mcc
05545cbb22696a89ae6353a13dc0b72e58548f78
[ "MIT" ]
null
null
null
#include <array> #include <optional> #include <string> #include <unordered_set> #include <utility> #include <vector> #include "mcc/coordinate.hh" #include "mcc/move.hh" #include "mcc/piece.hh" namespace mcc { class Board2DArray { public: using MoveSet = std::unordered_set<Move, move_hash>; using CoordinateSet = ...
37.144928
80
0.679282
nilsfriess
83abfdde41c0c0705e8ff324d79b6e1ac00825e4
1,805
cpp
C++
demos/tutorial/graph/graph_algo_scc.cpp
churchlab/seqan
1fc5658d194c79ef85d3247acf767c97408767f7
[ "BSD-3-Clause" ]
null
null
null
demos/tutorial/graph/graph_algo_scc.cpp
churchlab/seqan
1fc5658d194c79ef85d3247acf767c97408767f7
[ "BSD-3-Clause" ]
null
null
null
demos/tutorial/graph/graph_algo_scc.cpp
churchlab/seqan
1fc5658d194c79ef85d3247acf767c97408767f7
[ "BSD-3-Clause" ]
1
2018-10-13T00:14:23.000Z
2018-10-13T00:14:23.000Z
//![includes] #include <iostream> #include <seqan/graph_algorithms.h> using namespace seqan; //![includes] //![typedefs] int main() { typedef Graph<Directed<> > TGraph; typedef VertexDescriptor<TGraph>::Type TVertexDescriptor; typedef EdgeDescriptor<TGraph>::Type TEdgeDescriptor; typedef Size<TGraph>::...
29.112903
105
0.623269
churchlab
83ac965fe81c72d99ded205954e45831aeef0da9
5,213
cpp
C++
test/transport/Ipv6Test.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
test/transport/Ipv6Test.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
test/transport/Ipv6Test.cpp
danielgronberg/SymphonyMediaBridge
2cdd2ecd45c534545c9d3f3c36d8e86771330057
[ "Apache-2.0" ]
null
null
null
#include "crypto/SslHelper.h" #include "jobmanager/JobManager.h" #include "logger/Logger.h" #include "memory/Packet.h" #include "transport/RtcSocket.h" #include "transport/RtcePoll.h" #include <atomic> #include <external/nlohmann/json.hpp> #include <gtest/gtest.h> #ifdef __APPLE__ struct mmsghdr { struct msghdr msg...
29.788571
94
0.677537
danielgronberg
83ad941c143b70720192cca0579233f40dd36aff
953
hpp
C++
engine/graphic/shape/texture.hpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
null
null
null
engine/graphic/shape/texture.hpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
4
2020-02-20T20:16:21.000Z
2020-07-06T16:36:26.000Z
engine/graphic/shape/texture.hpp
linussjo/linussjo_engine
6a5db383633ffb99a2e83666e74fe7159d7b0c53
[ "MIT" ]
null
null
null
// // texture.hpp // linussjo_engine // // Created by Linus Sjöström on 2019-10-18. // Copyright © 2019 Linus Sjöström. All rights reserved. // #ifndef texture_hpp #define texture_hpp #include <stdio.h> #include "rectangle.hpp" namespace engine::graphic::shape { const auto tex_vert = SHADERS_RESOURCE+"/textu...
26.472222
93
0.656873
linussjo
83aea8696129490bfba3cec0e4f006910c369136
3,456
cpp
C++
example/FALCON6/euler.cpp
SwaggyTyrion/CADAC
f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41
[ "MIT" ]
5
2020-04-12T10:00:49.000Z
2022-01-25T05:29:24.000Z
example/FALCON6/euler.cpp
SwaggyTyrion/CADAC
f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41
[ "MIT" ]
null
null
null
example/FALCON6/euler.cpp
SwaggyTyrion/CADAC
f5405b82fedfbc9fc9bdacfb0dfd83eb0a46fa41
[ "MIT" ]
2
2022-01-13T19:56:19.000Z
2022-02-07T20:13:05.000Z
/////////////////////////////////////////////////////////////////////////////// //FILE: 'euler.cpp' //Contains 'euler' module of class 'Flat6' // //030424 Created by Peter H Zipfel /////////////////////////////////////////////////////////////////////////////// #include "class_hierarchy.hpp" //////////////////////////...
34.909091
111
0.51331
SwaggyTyrion
83b68b80d1168fe28def99488a2abc8654d91ae9
12,188
hpp
C++
lumino/LuminoEngine/src/Audio/ARIs/ChromiumWebCore.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Audio/ARIs/ChromiumWebCore.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/src/Audio/ARIs/ChromiumWebCore.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
// License: BSD 3 Clause // Copyright (C) 2010, Google Inc. All rights reserved. // Copyright (C) 2018+, The Lumino Authors. All rights reserved. // chromium/third_party/blink/renderer/platform // chromium/third_party/blink/renderer/modules/webaudio #pragma once #include "ARIAudioBus.hpp" #define PLATFORM_EXPORT #...
29.157895
110
0.746718
GameDevery
83c2d3ffdaf0c659bd176a3991b9219d85ed57ac
487
cpp
C++
luogu/1088.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
1
2020-05-07T09:26:05.000Z
2020-05-07T09:26:05.000Z
luogu/1088.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
null
null
null
luogu/1088.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
null
null
null
#include<cmath> #include<cctype> #include<cstdio> #include<cstdlib> #include<cstring> #include<iostream> #include<algorithm> #define ns namespace #define lol long long using ns std; int n,m; int a[23333]; int main(int argc,char** argv) { cin >> n >> m; for(int i = 1;i <= n;i++) { scanf("%d",&a[i]...
16.233333
42
0.533881
shorn1
83c97d817625d368b6e4c3aff63ee961ab35e3ae
331
cpp
C++
pointers/pointer3.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
1
2021-04-04T15:47:36.000Z
2021-04-04T15:47:36.000Z
pointers/pointer3.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
pointers/pointer3.cpp
manish1822510059/cpp-program
03ec133857daf81163c621d4d54244409a94a200
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main(){ int a[10]; cout<<a<<endl; cout<<&a[0]<<endl; a[0] = 5; a[1] = 10; cout<<*a<<endl; cout<<*(a+1)<<endl; int *p =&a[0]; cout<<a<<endl; cout<<p<<endl; cout<<&p<<endl; cout<<&a<<endl; cout<<sizeof(p)<<endl; cout<<sizeof(a)<<endl; p = p+1; a = ...
11.821429
23
0.507553
manish1822510059
83d12394106f69c3ab3b3d6d56208f624fc0c179
18,445
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D/SimpleSample/SimpleSample.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D/SimpleSample/SimpleSample.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D/SimpleSample/SimpleSample.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: SimpleSample.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "DXUT.h" #include "DXUTgui.h" #include "DXU...
42.598152
131
0.574194
billionare
83d96bb9f75ecc7876824339cc99b20a1f5961f7
226
hpp
C++
swizzle/parser/detail/CreateImportPath.hpp
SenorAgosto/Swizzle
52c221de9fa293b0006f07a41b140d2afcc1a9ed
[ "BSD-4-Clause" ]
null
null
null
swizzle/parser/detail/CreateImportPath.hpp
SenorAgosto/Swizzle
52c221de9fa293b0006f07a41b140d2afcc1a9ed
[ "BSD-4-Clause" ]
null
null
null
swizzle/parser/detail/CreateImportPath.hpp
SenorAgosto/Swizzle
52c221de9fa293b0006f07a41b140d2afcc1a9ed
[ "BSD-4-Clause" ]
null
null
null
#pragma once #include <boost/filesystem/path.hpp> #include <swizzle/parser/TokenStack.hpp> namespace swizzle { namespace parser { namespace detail { boost::filesystem::path createImportPath(TokenStack& tokenStack); }}}
25.111111
69
0.765487
SenorAgosto
83dd275394b56ae4f5a28d951e511c1f501638c0
25,391
hpp
C++
src/optimization/obj_milorol_simopt.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
3
2018-10-23T21:04:15.000Z
2020-01-03T21:49:05.000Z
src/optimization/obj_milorol_simopt.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
1
2018-11-27T23:41:57.000Z
2018-11-27T23:41:57.000Z
src/optimization/obj_milorol_simopt.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
1
2018-11-13T15:53:47.000Z
2018-11-13T15:53:47.000Z
/*********************************************************************** Multiscale/Multiphysics Interfaces for Large-scale Optimization (MILO) Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certai...
38.824159
154
0.589973
bartvbw
83df82df05c4d4f7801319648f7af9425dcd441e
598
cpp
C++
primary/windows/cniconsole/modules/tacanes_widget.cpp
iclosure/cniconsole
2db1cd5a9ad5c7dd249da42332e27d9164449d04
[ "MIT" ]
null
null
null
primary/windows/cniconsole/modules/tacanes_widget.cpp
iclosure/cniconsole
2db1cd5a9ad5c7dd249da42332e27d9164449d04
[ "MIT" ]
null
null
null
primary/windows/cniconsole/modules/tacanes_widget.cpp
iclosure/cniconsole
2db1cd5a9ad5c7dd249da42332e27d9164449d04
[ "MIT" ]
null
null
null
#include "precomp.h" #include "tacanes_widget.h" #include "../../main_widget.h" CNI_NETWORK_CONTROL TacanEsWidget::q_package = CNI_NETWORK_CONTROL(); TacanEsWidget::TacanEsWidget(bool justBack, QWidget *parent) : ModuleWidgetProxy("network/tacanes/general", &q_package, parent) { setObjectName("TacanEsWidget")...
29.9
82
0.732441
iclosure
83e8aff263a16b6858bc56f78f5fc520b182bcb5
1,179
cpp
C++
2017/2017040401.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2017/2017040401.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
2017/2017040401.cpp
maku693/daily-snippets
53e3a516eeb293b3c11055db1b87d54284e6ac52
[ "MIT" ]
null
null
null
template < class SourceT, class Traits = ObservableTraits<SourceT> > struct Observable; template < class SourceT, class Traits = ObserverTraits<SourceT> > struct Observer; template <typename T> struct ObservableTraits { static void subscribe(const Observer<T>&) { /* Nope */ } }; template <typename ...
19.65
58
0.681086
maku693
83eca9c0e3f7a111cb958c78be615b21af2d2d27
1,939
cpp
C++
core/src/Graphics/Camera2D.cpp
kalouantonis/Alpha-To-Beta
0cd49eb65a645a136696e6b87553cb9cc4ee927a
[ "MIT" ]
1
2015-08-26T07:30:46.000Z
2015-08-26T07:30:46.000Z
core/src/Graphics/Camera2D.cpp
kalouantonis/Alpha-To-Beta
0cd49eb65a645a136696e6b87553cb9cc4ee927a
[ "MIT" ]
null
null
null
core/src/Graphics/Camera2D.cpp
kalouantonis/Alpha-To-Beta
0cd49eb65a645a136696e6b87553cb9cc4ee927a
[ "MIT" ]
null
null
null
/* * Camera2D.cpp * * Created on: Feb 8, 2014 * Author: slacker */ #include <SFML/Graphics/RenderTarget.hpp> #include <Graphics/Camera2D.h> #include <SFML/OpenGL.hpp> Camera2D::Camera2D(sf::RenderTargetPtr renderTarget) : m_pRenderTarget(renderTarget) , m_zoom(1.f) { m_view = m_pRenderTarget->...
17.953704
95
0.686436
kalouantonis
83f20293fe4b15a596a040872c1c9e7a1d391832
513
cpp
C++
AnyCode/stack.cpp
annaDostoevskaya/BasicDataStructuresAndAlgorithms
b7f18325f959b5cc5381cb12c1550679280d8c37
[ "MIT" ]
null
null
null
AnyCode/stack.cpp
annaDostoevskaya/BasicDataStructuresAndAlgorithms
b7f18325f959b5cc5381cb12c1550679280d8c37
[ "MIT" ]
null
null
null
AnyCode/stack.cpp
annaDostoevskaya/BasicDataStructuresAndAlgorithms
b7f18325f959b5cc5381cb12c1550679280d8c37
[ "MIT" ]
null
null
null
#include <stdio.h> #include <windows.h> typedef struct stack { int array[100]; int top; } stack_t; bool stack_empty(stack_t S) { if(S.top == 0) { return true; } return false; } void push(stack_t* S, int x) { S->top += 1; S->array[S->top] = x; } ...
14.25
39
0.463938
annaDostoevskaya
83f3e7808f61a0dd037dc3e379b7b3f674afff9e
1,446
hpp
C++
serializer/include/src_serializer.hpp
dongxiao92/Tengine
909c3fb9ca3908a6f151557e2a3590d38ed53be6
[ "Apache-2.0" ]
null
null
null
serializer/include/src_serializer.hpp
dongxiao92/Tengine
909c3fb9ca3908a6f151557e2a3590d38ed53be6
[ "Apache-2.0" ]
null
null
null
serializer/include/src_serializer.hpp
dongxiao92/Tengine
909c3fb9ca3908a6f151557e2a3590d38ed53be6
[ "Apache-2.0" ]
null
null
null
#ifndef __SRC_SERIALIZER_HPP__ #define __SRC_SERIALIZER_HPP__ #include "model_patch.h" #include "serializer.hpp" namespace TEngine { class SrcSerializer: public Serializer { public: bool LoadModel(const std::vector<std::string>& file_list, StaticGraph * static_graph) override; bool SaveModel(const std::vector<...
31.434783
103
0.72545
dongxiao92
83fd93bb608e12e65c27be70b4046fbb564db82f
7,225
cpp
C++
components/scream/src/physics/shoc/tests/shoc_conv_time_length_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
components/scream/src/physics/shoc/tests/shoc_conv_time_length_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
components/scream/src/physics/shoc/tests/shoc_conv_time_length_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
#include "catch2/catch.hpp" #include "shoc_unit_tests_common.hpp" #include "physics/share/physics_constants.hpp" #include "physics/shoc/shoc_functions.hpp" #include "physics/shoc/shoc_functions_f90.hpp" #include "share/scream_types.hpp" #include "ekat/ekat_pack.hpp" #include "ekat/util/ekat_arch.hpp" #include "ekat/k...
29.610656
110
0.644014
mauzey1
83ff6f9b4f927a52f17204fd8e0f62c81d40967b
4,715
cpp
C++
Sorting/main.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
1
2021-03-06T00:36:08.000Z
2021-03-06T00:36:08.000Z
Sorting/main.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
Sorting/main.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> // Include sorting methods #include "sorting-methods/all.h" // Include helper methods #include "helper/data-generator.h" #include "helper/check-sorting-array.h" // Store all sorting methods into sortingMethods[] typedef void (*func)(std::vector<long long>&, in...
31.019737
99
0.553128
hoanghai1803
8602a32517d44d47cc9b0893b7193add838da32e
1,191
hh
C++
src/fi/cpu_injfault.hh
koparasy/gemfi
9637af511b26e40edf55c291fb10f6fbb6af222c
[ "BSD-3-Clause" ]
9
2015-02-18T17:37:08.000Z
2022-01-25T00:47:14.000Z
src/fi/cpu_injfault.hh
koparasy/gemfi
9637af511b26e40edf55c291fb10f6fbb6af222c
[ "BSD-3-Clause" ]
1
2021-01-08T23:33:20.000Z
2021-01-08T23:33:20.000Z
src/fi/cpu_injfault.hh
koparasy/gemfi
9637af511b26e40edf55c291fb10f6fbb6af222c
[ "BSD-3-Clause" ]
5
2016-10-19T07:25:58.000Z
2020-12-12T18:35:37.000Z
#ifndef __CPU_INJECTED_FAULT_HH__ #define __CPU_INJECTED_FAULT_HH__ #include "fi/faultq.hh" #include "cpu/base.hh" #include <iostream> #include <fstream> #include "mem/mem_object.hh" class CPUInjectedFault : public InjectedFault { private: BaseCPU *_cpu; //Pointer to the cpu where the fauls is going to be injecte...
27.068182
113
0.723762
koparasy
860a63585bc61e2c0a269df80c4458f7a1fc1cb3
16,495
cpp
C++
code/missionui/fictionviewer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
code/missionui/fictionviewer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
code/missionui/fictionviewer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
/* * Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project. * You may not sell or otherwise commercially exploit the source or things you * create based on the source. */ #include "freespace.h" #include "gamesequence/gamesequence.h" #include "gamesnd/eventmusic.h" #include "gamesnd/gamesnd....
26.908646
270
0.730464
trgswe
860e9cc025e78e125c00881eacbde455df056e66
6,308
cpp
C++
src/utils/yaml_utils.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/utils/yaml_utils.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/utils/yaml_utils.cpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #include "yaml_utils.hpp" #include "common.hpp" #include "io.hpp" #include <cctype>...
26.842553
119
0.635701
aligungr
8611163a3846aae4d82d4bcc485789b70c9291bd
4,636
cpp
C++
base/number_theory_test.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
base/number_theory_test.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
base/number_theory_test.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
#include "base/number_theory.h" #include "gtest/gtest.h" TEST(NumberTheory, Sieve) { std::vector<int> prime_list{2, 3, 5, 7, 11, 13, 17, 19, 23}; EXPECT_NE(prime_list, Sieve(23)); EXPECT_EQ(prime_list, Sieve(24)); EXPECT_EQ(prime_list, Sieve(29)); EXPECT_NE(prime_list, Sieve(30)); } TEST(NumberTheory, Num...
26.491429
62
0.721743
berlios
8612bed71f60032eab02de083810cc6e81c860d1
5,024
cpp
C++
src/Vector.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
src/Vector.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
src/Vector.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
#include "Vector.h" #include "Utility.h" #include <cassert> #include <cmath> #include <cstdlib> #include <limits> #define USE_APPX_INV_SQR 0 const Vector Vector::unitX{1, 0, 0}; const Vector Vector::unitY{0, 1, 0}; const Vector Vector::unitZ{0, 0, 1}; Vector::Vector() noexcept : x(0) , y(0) , z(0) ...
20.340081
79
0.658041
ignotuscaligo
8617e368cd400328f5248b847aafe87ae2ea39ef
1,505
cpp
C++
Model.cpp
Scorpiour/AIModule
2c5dc91369373c42102dfbca946124b2d6dfb073
[ "Apache-2.0" ]
null
null
null
Model.cpp
Scorpiour/AIModule
2c5dc91369373c42102dfbca946124b2d6dfb073
[ "Apache-2.0" ]
null
null
null
Model.cpp
Scorpiour/AIModule
2c5dc91369373c42102dfbca946124b2d6dfb073
[ "Apache-2.0" ]
null
null
null
#include "Model.h" using namespace std; Model::Model(const std::string& _name):modelName(_name){ active = true; ballPos.x = 50; ballPos.y = 50; robotPos.x = -50; robotPos.y = -50; } Model::Model(const std::string& _name,const Point2F& robot,const Point2F& ball):modelName(_name),robotPos(robot),ballP...
18.580247
127
0.674419
Scorpiour
861cead62a2f5b61564661c746396c74ba628791
6,886
cpp
C++
master/user.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
1
2015-11-05T15:40:31.000Z
2015-11-05T15:40:31.000Z
master/user.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
null
null
null
master/user.cpp
besquared/sector-sphere
179b93f1b4850bdf65bcbcedd8b5715b9827da08
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************** Copyright (c) 2005 - 2010, The Board of Trustees of the University of Illinois. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
25.503704
172
0.564769
besquared
861e8be15cf18dada063f8c8c7aacad8f54d8da6
5,875
cc
C++
src/attribute/code_attribute.cc
AnthonyCalandra/bytecode-scanner
e2638a7063447bc947f0bc11d841d536735407ec
[ "MIT" ]
8
2019-07-21T20:15:46.000Z
2021-06-15T12:28:12.000Z
src/attribute/code_attribute.cc
AnthonyCalandra/bytecode-scanner
e2638a7063447bc947f0bc11d841d536735407ec
[ "MIT" ]
null
null
null
src/attribute/code_attribute.cc
AnthonyCalandra/bytecode-scanner
e2638a7063447bc947f0bc11d841d536735407ec
[ "MIT" ]
1
2020-09-24T08:28:04.000Z
2020-09-24T08:28:04.000Z
/** * Copyright 2019 Anthony Calandra * * 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, * di...
45.542636
97
0.637787
AnthonyCalandra
861f8f56bfaf8848f64f3b99cbbddec7671419be
1,364
cpp
C++
src/executors/delete.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/delete.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/delete.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
#include "global.h" /** * @brief * SYNTAX: R <- DISTINCT relation_name */ bool syntacticParseDELETE() { logger.log("syntacticParseDELETE"); parsedQuery.queryType = DELETE; parsedQuery.deleteRelationName = tokenizedQuery[2]; string str = tokenizedQuery[4]; parsedQuery.deleteValues.cl...
28.416667
77
0.6261
bhavyajeet
8625ac8d397bd64c74fa93d1566a3968a597239a
369
cpp
C++
min_dist/floyd.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
1
2020-04-14T05:44:50.000Z
2020-04-14T05:44:50.000Z
min_dist/floyd.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
null
null
null
min_dist/floyd.cpp
FrancsXiang/DataStructure-Algorithms
f8f9e6d7be94057b955330cb7058235caef5cfed
[ "MIT" ]
2
2020-09-02T08:56:31.000Z
2021-06-22T11:20:58.000Z
#include <iostream> #define MAXN 502 using namespace std; int map[MAXN][MAXN]; int main() { int n; cin >> n; for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { cin >> map[i][j];//self2self == zero not INF } } for(int k=0;k<n;k++) { for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { map[i][j] = min(map[i][j...
14.76
51
0.504065
FrancsXiang
862dc09b9fc1210c884b4f8f20faf5f3ab769e22
1,425
cpp
C++
src/binme.cpp
nico-castell/bin-unbin
66da50bbeb3b077ca6696cb6b0ed771a32c241b0
[ "MIT" ]
null
null
null
src/binme.cpp
nico-castell/bin-unbin
66da50bbeb3b077ca6696cb6b0ed771a32c241b0
[ "MIT" ]
null
null
null
src/binme.cpp
nico-castell/bin-unbin
66da50bbeb3b077ca6696cb6b0ed771a32c241b0
[ "MIT" ]
null
null
null
#include <bitset> #include <iostream> #include <vector> #include <table_maker.hpp> #if _WIN32 #include <io.h> #define ISATTY _isatty #define FILENO _fileno #else #include <unistd.h> #define ISATTY isatty #define FILENO fileno #endif using std::string; ///@brief Print message to std::cerr. Usage: "return error_out(a...
20.357143
73
0.632982
nico-castell
862f8d0a4db62be4541aec7744174b1a3e988fb8
1,135
cpp
C++
0029.DivideTwoIntegers/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
1
2020-01-13T11:10:35.000Z
2020-01-13T11:10:35.000Z
0029.DivideTwoIntegers/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
4
2020-01-01T09:47:39.000Z
2020-04-08T08:34:29.000Z
0029.DivideTwoIntegers/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
null
null
null
class Solution { public: int divide(int dividend, int divisor) { int count = 0; if(dividend == INT_MIN && divisor == -1) return INT_MAX; if(dividend == INT_MIN && divisor == INT_MIN) return 1; if(dividend > INT_MIN && divisor == INT_MIN) return 0; if(divisor == 1) return div...
28.375
76
0.495154
SumanSudhir
863208557bd33547b964a3af5e41266226aa379a
1,437
hpp
C++
homework_3/api/html_writer.hpp
saeedarabi92/Modern-Cpp-Course-For-CV-2020
674876ffd2a73592f9c560f3faa964e31b0b0df7
[ "MIT" ]
1
2021-02-03T22:40:22.000Z
2021-02-03T22:40:22.000Z
homework_3/api/html_writer.hpp
saeedarabi92/Modern-Cpp-Course-For-CV-2020
674876ffd2a73592f9c560f3faa964e31b0b0df7
[ "MIT" ]
null
null
null
homework_3/api/html_writer.hpp
saeedarabi92/Modern-Cpp-Course-For-CV-2020
674876ffd2a73592f9c560f3faa964e31b0b0df7
[ "MIT" ]
1
2021-02-21T12:56:42.000Z
2021-02-21T12:56:42.000Z
// @file html_writer.h // @author Ignacio Vizzo [ivizzo@uni-bonn.de] // // Copyright (c) 2020 Ignacio Vizzo, all rights reserved #ifndef HTML_WRITER_H_ #define HTML_WRITER_H_ #include <fstream> #include <string> namespace html_writer { /** * @brief OpenDocument() will print to the standard output the be...
23.95
79
0.709116
saeedarabi92
863350beaba4c11075121ebb1a74e8111d9350bf
2,502
cpp
C++
src/rubidium_onetimeauth/poly1305/onetimeauth_poly1305.cpp
rpnx-net/libsodium
06cecc78c73f0dce4b952463e8acc48ab5e40048
[ "MIT" ]
null
null
null
src/rubidium_onetimeauth/poly1305/onetimeauth_poly1305.cpp
rpnx-net/libsodium
06cecc78c73f0dce4b952463e8acc48ab5e40048
[ "MIT" ]
null
null
null
src/rubidium_onetimeauth/poly1305/onetimeauth_poly1305.cpp
rpnx-net/libsodium
06cecc78c73f0dce4b952463e8acc48ab5e40048
[ "MIT" ]
null
null
null
#include "onetimeauth_poly1305.h" #include "rubidium_onetimeauth_poly1305.h" #include "private/common.h" #include "private/implementations.h" #include "randombytes.h" #include "runtime.h" #include "donna/poly1305_donna.h" #if defined(HAVE_TI_MODE) && defined(HAVE_EMMINTRIN_H) # include "sse2/poly1305_sse2.h" #endif ...
27.494505
80
0.722222
rpnx-net
863455f24d5b27b09ebf95d79519894d44a96877
3,453
cpp
C++
evogen/Chunk.cpp
PumpkinCellOS/evogen
eed748959c446046b47168172ffc508c067a32c2
[ "MIT" ]
null
null
null
evogen/Chunk.cpp
PumpkinCellOS/evogen
eed748959c446046b47168172ffc508c067a32c2
[ "MIT" ]
null
null
null
evogen/Chunk.cpp
PumpkinCellOS/evogen
eed748959c446046b47168172ffc508c067a32c2
[ "MIT" ]
null
null
null
#include <evogen/Chunk.h> #include <evogen/Generator.h> #include <evogen/World.h> namespace evo { void Chunk::generate_tasks(World const& world, Generator& generator) const { // TODO: Handle compression in x,y axis (the full of blocks chunk expands to 32*32=1024 /fills now) // TODO: Reset handle flag on fini...
40.623529
142
0.408341
PumpkinCellOS
863616ad936b6170ffeacf9217f59512f80529c4
3,250
hh
C++
spinrwlock.hh
agrianius/edge-slot
cd5a136bd70c8bb5f9b5f4ce26e91f4c22c434d4
[ "MIT" ]
2
2018-04-06T02:08:42.000Z
2018-04-16T16:01:51.000Z
spinrwlock.hh
agrianius/edge-slot
cd5a136bd70c8bb5f9b5f4ce26e91f4c22c434d4
[ "MIT" ]
null
null
null
spinrwlock.hh
agrianius/edge-slot
cd5a136bd70c8bb5f9b5f4ce26e91f4c22c434d4
[ "MIT" ]
null
null
null
/* Licensed under the MIT License <http://opensource.org/licenses/MIT>. Copyright (c) 2018 Vitaliy Manushkin. 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 wit...
24.621212
78
0.616
agrianius
8639a7c1605589e13d15f68defbab2560fe0a625
910
cpp
C++
Patterns/Backtracing/47_permutation_ii.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
1
2019-12-25T16:19:21.000Z
2019-12-25T16:19:21.000Z
Patterns/Backtracing/47_permutation_ii.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
null
null
null
Patterns/Backtracing/47_permutation_ii.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
null
null
null
#include"header.hpp" class Solution { public: vector<vector<int>> permuteUnique(vector<int> &nums) { vector<vector<int>> res; // unordered_set<vector<int>> set; vector<int> path; int n = nums.size(); vector<int> used(n); sort(nums.begin(), nums.end()); fun...
26
68
0.374725
xtstc131
863b2b4e43eb25169722e885aeef1be394520d53
7,203
hpp
C++
include/MCL/BVHTree.hpp
mattoverby/mclccd
2137e4edee822c62c4aa5485cb83d7f8191c950c
[ "MIT" ]
null
null
null
include/MCL/BVHTree.hpp
mattoverby/mclccd
2137e4edee822c62c4aa5485cb83d7f8191c950c
[ "MIT" ]
null
null
null
include/MCL/BVHTree.hpp
mattoverby/mclccd
2137e4edee822c62c4aa5485cb83d7f8191c950c
[ "MIT" ]
null
null
null
// Copyright Matt Overby 2021. // Distributed under the MIT License. #ifndef MCL_BVHTREE_HPP #define MCL_BVHTREE_HPP 1 #include "BVHLeaf.hpp" #include <atomic> #include <memory> namespace Eigen // Forward declare BVH type, then include in cpp { template <typename T,int DIM, class Object> class KdBVH; } namespace mc...
37.712042
91
0.671248
mattoverby
863d50b905602aa3425b821fd5ebfa9c873dea47
7,105
cc
C++
src/MyTensor.cc
wylqq312715289/N3LDG-plus
26069aaa877359d6a5838d085187957655027d7e
[ "Apache-2.0" ]
null
null
null
src/MyTensor.cc
wylqq312715289/N3LDG-plus
26069aaa877359d6a5838d085187957655027d7e
[ "Apache-2.0" ]
null
null
null
src/MyTensor.cc
wylqq312715289/N3LDG-plus
26069aaa877359d6a5838d085187957655027d7e
[ "Apache-2.0" ]
null
null
null
#include "MyTensor-def.h" n3ldg_cpu::Tensor1D::~Tensor1D() { if (v) { delete[] v; } } void n3ldg_cpu::Tensor1D::init(int ndim) { dim = ndim; v = new dtype[dim]; zero(); } void n3ldg_cpu::Tensor1D::zero() { assert(v != NULL); for (int i = 0; i < dim; ++i) { v[i] = 0; } } std::string n3ldg_cpu...
21.083086
112
0.601267
wylqq312715289
863db8b6fce82235c89243a3f905c9ecc003a508
1,527
cpp
C++
C-C++/Fibonacci_Search.cpp
psinha30/dataStructure-Algorithms
a5b097f9136cf458d8b95350a05ac19a99f3cbf3
[ "MIT" ]
1
2019-12-30T18:07:07.000Z
2019-12-30T18:07:07.000Z
C-C++/Fibonacci_Search.cpp
psinha30/dataStructure-Algorithms
a5b097f9136cf458d8b95350a05ac19a99f3cbf3
[ "MIT" ]
null
null
null
C-C++/Fibonacci_Search.cpp
psinha30/dataStructure-Algorithms
a5b097f9136cf458d8b95350a05ac19a99f3cbf3
[ "MIT" ]
1
2018-12-20T04:58:26.000Z
2018-12-20T04:58:26.000Z
// Fibonacci search technique is a method of searching // a sorted array using a divide and conquer algorithm that narrows down possible locations with the aid of Fibonacci numbers. // Time Complexity : O(log n) #include <iostream> #include <vector> using namespace std; int fibsearch(vector<int> arr,int x){...
21.814286
127
0.569745
psinha30
8640ab280ecf64e8959aceb781237cc7273c29fd
13,847
cc
C++
src/socket.cc
CharlesHan24/CompNet-Lab2
63c8b921957bc7062967390d0011ad8ba3ce9801
[ "Apache-2.0" ]
null
null
null
src/socket.cc
CharlesHan24/CompNet-Lab2
63c8b921957bc7062967390d0011ad8ba3ce9801
[ "Apache-2.0" ]
null
null
null
src/socket.cc
CharlesHan24/CompNet-Lab2
63c8b921957bc7062967390d0011ad8ba3ce9801
[ "Apache-2.0" ]
null
null
null
#include "socket.h" #include "common.h" #include "ip.h" #include "kernel.h" #include "tcp.h" #include <sys/socket.h> #include <cstring> #include <cstdlib> #include <unistd.h> extern FILE* log_stream; extern Kernel::kernel_t core; #define MAX_SOCKET_CNT 64 #define SOCK_WAIT_TIMEOUT 1000000 namespace Wrap_Socket{ ...
33.126794
168
0.543583
CharlesHan24
864761c31d1545f66c51946aaf6d5970db7395cc
1,207
cpp
C++
src/r_character_literal_expression_r_node.cpp
aviralg/rastr
67ebb1671af12cc8199f755f88da100051e225d4
[ "MIT" ]
1
2021-11-14T21:23:09.000Z
2021-11-14T21:23:09.000Z
src/r_character_literal_expression_r_node.cpp
aviralg/rastr
67ebb1671af12cc8199f755f88da100051e225d4
[ "MIT" ]
4
2020-08-04T17:26:25.000Z
2020-08-06T21:28:33.000Z
src/r_character_literal_expression_r_node.cpp
aviralg/rastr
67ebb1671af12cc8199f755f88da100051e225d4
[ "MIT" ]
1
2021-11-12T23:21:43.000Z
2021-11-12T23:21:43.000Z
#include "r_character_literal_expression_r_node.h" #include "CharacterLiteralExpressionRNode.hpp" #include "r_cast.hpp" using rastr::ast::CharacterLiteralExpressionRNode; using rastr::ast::CharacterLiteralExpressionRNodeSPtr; SEXP r_character_literal_expression_r_node_create(SEXP r_representation) { const char* r...
31.763158
76
0.80116
aviralg
864f1051660ec505053ab9516471a044bd391433
342
cpp
C++
NKZX_NOI_OJ/P1089.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1089.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1089.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<cmath> bool isPrime(int v){ if(v<=2) return true; const int m = ceil(sqrt(v)); for(int i=2;i<=m;i++){ if(v%i==0) return false; } return true; } int main(){ int m; scanf("%d",&m); for(int i=2;i<=m;i++){ if(isPrime(i)) printf("%d ",i); ...
17.1
32
0.476608
Rose2073
8653623737b4b98295a0ffdd6a91fbdc63e3ce7d
1,562
cpp
C++
examples/helpers/camera_helper.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
examples/helpers/camera_helper.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
examples/helpers/camera_helper.cpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
#include <threepp/threepp.hpp> using namespace threepp; int main() { Canvas canvas; GLRenderer renderer(canvas); renderer.autoClear = false; auto scene = Scene::create(); auto camera = PerspectiveCamera::create(50, 0.5f * canvas.getAspect(), 1, 10); auto sphereGeometry = SphereGeometry::cr...
26.931034
85
0.635723
maidamai0
86581849feedd3f59e72d9ab22ac4374b50990d0
10,409
cpp
C++
src/renderer/shader.cpp
galek/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
8
2015-09-06T20:05:27.000Z
2021-07-14T11:12:33.000Z
src/renderer/shader.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
src/renderer/shader.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
#include "renderer/shader.h" #include "core/crc32.h" #include "core/fs/file_system.h" #include "core/fs/ifile.h" #include "core/log.h" #include "core/matrix.h" #include "core/path_utils.h" #include "core/profiler.h" #include "core/resource_manager.h" #include "core/resource_manager_base.h" #include "core/vec3.h" #inclu...
21.913684
78
0.653569
galek
86588012ab67bbbd47bd31efce51aea242bf706f
633
cpp
C++
ejercicio8-factura con descuento/ejercicio8-con-descuento.cpp
HenryLCR/repaso-cpp
1a0d0f626155528fbd6b7ee28db27da0b0b25a52
[ "MIT" ]
null
null
null
ejercicio8-factura con descuento/ejercicio8-con-descuento.cpp
HenryLCR/repaso-cpp
1a0d0f626155528fbd6b7ee28db27da0b0b25a52
[ "MIT" ]
null
null
null
ejercicio8-factura con descuento/ejercicio8-con-descuento.cpp
HenryLCR/repaso-cpp
1a0d0f626155528fbd6b7ee28db27da0b0b25a52
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ double subtotal=0, total=0, impuesto=0.15, calculo_descuento=0, calculo_impuesto=0; int descuento=0; cout<<"--- Factura ---"<< endl; cout<<"Ingrese el subtotal de la factura: "; cin>>subtotal; cout<<"Ingrese el Descuento (0 , 10 , 15,...
25.32
87
0.620853
HenryLCR
865b210c4ead1a070c3929392d1968fc34b67b0a
5,112
cxx
C++
test/k8pshTest.cxx
nicklauslittle/k8psh
04ff5f9df3e0ef246766f478ffa4446bbf1e7ec5
[ "MIT" ]
null
null
null
test/k8pshTest.cxx
nicklauslittle/k8psh
04ff5f9df3e0ef246766f478ffa4446bbf1e7ec5
[ "MIT" ]
null
null
null
test/k8pshTest.cxx
nicklauslittle/k8psh
04ff5f9df3e0ef246766f478ffa4446bbf1e7ec5
[ "MIT" ]
null
null
null
// This software is released as part of the k8psh project. // Portions of this software are public domain or licensed under the MIT license. (See the license file for details.) #define main k8pshMain #include "k8psh.cxx" #undef main #include <chrono> #include <cstdio> #include <cstdlib> #include <fstream> #include <i...
35.5
150
0.65043
nicklauslittle
8669a462f0ac99232c84c8760904d6fc941c0890
672
cpp
C++
explore/1524-lpc824/pins/main.cpp
lispnik/embello
adae98d03f5ac843160e17e490ccc72de81d8be3
[ "Unlicense" ]
10
2019-10-27T10:31:28.000Z
2022-03-04T13:55:03.000Z
explore/1524-lpc824/pins/main.cpp
davidcollins001/embello
08297eb920e7e8c35df08aa64e91bb01a5c99409
[ "Unlicense" ]
null
null
null
explore/1524-lpc824/pins/main.cpp
davidcollins001/embello
08297eb920e7e8c35df08aa64e91bb01a5c99409
[ "Unlicense" ]
7
2019-10-27T15:21:01.000Z
2022-03-04T20:04:44.000Z
// Demo of a C++ template wrapper for GPIO pins. #include "embello.h" #if 0 // see embello.h template < int N > class Pin { public: operator int () { return LPC_GPIO_PORT->B[0][N]; } void operator= (int value) { LPC_GPIO_PORT->B[0][N] = value != 0; } void setInput() { LPC_GPIO_PORT->DI...
19.2
70
0.541667
lispnik
867251c42387e7a224e36c381a44bcc73d5131a9
7,750
cc
C++
libmat/test/src/test_fn_eigenvalue_computation.cc
stiegerc/winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
2
2020-10-06T09:14:23.000Z
2020-11-25T06:08:54.000Z
libmat/test/src/test_fn_eigenvalue_computation.cc
stiegerc/Winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
1
2020-12-23T04:20:33.000Z
2020-12-23T04:20:33.000Z
libmat/test/src/test_fn_eigenvalue_computation.cc
stiegerc/Winterface
b6d501df1d0c015f2cd7126ac6b4e746d541c80c
[ "BSD-2-Clause" ]
1
2020-07-14T13:53:32.000Z
2020-07-14T13:53:32.000Z
// 2014-2019, ETH Zurich, Integrated Systems Laboratory // Authors: Christian Stieger #include "test_fn_eigenvalue_computation.h" #include "testTools.h" #include "lm_fn.h" #include <iostream> using namespace lm__; using namespace lm__::test; // tests void test_fn_eigenvalue_computation::test_eig() { // fMat { {...
24.294671
97
0.62929
stiegerc
8678b20a7435905e2e22534c9e63451769aadef8
405
hh
C++
src/job_server/job_handlers/delete_internal_file.hh
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
12
2017-11-05T21:02:58.000Z
2022-03-28T23:11:51.000Z
src/job_server/job_handlers/delete_internal_file.hh
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
11
2017-01-05T18:11:41.000Z
2019-11-01T12:40:55.000Z
src/job_server/job_handlers/delete_internal_file.hh
krzyk240/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
6
2016-12-25T11:22:34.000Z
2020-10-20T16:03:51.000Z
#pragma once #include "src/job_server/job_handlers/job_handler.hh" namespace job_server::job_handlers { class DeleteInternalFile final : public JobHandler { uint64_t internal_file_id_; public: DeleteInternalFile(uint64_t job_id, uint64_t internal_file_id) : JobHandler(job_id) , internal_file_id_(int...
21.315789
66
0.762963
varqox
867a01e5ca5a9d4604a9e4712a2c9a16ec5c533c
676
cpp
C++
source/others/75matrixZore.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/others/75matrixZore.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
source/others/75matrixZore.cpp
Tridu33/myclionarch
d4e41b3465a62a83cbf6c7119401c05009f4b636
[ "MIT" ]
null
null
null
class Solution { public: void setZeroes(vector<vector<int>>& matrix) { int m = matrix.size(); if(m == 0) return; int n = matrix[0].size(); vector<bool> row(m), col(n); for (int i = 0; i < m;i++){ for (int j = 0; j < n;j++){ if(matri...
16.487805
49
0.301775
Tridu33
867d61c2af275d7c07d4fae4d590cbbc18686d97
17,269
cpp
C++
Server/src/modules/SD3/scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.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....
33.860784
148
0.503388
ZON3DEV
86881dce1af03dd55a0cae71a2293eec22528016
1,313
hpp
C++
src/gui/level-hud/level-hud-bindings.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
44
2019-06-06T21:33:30.000Z
2022-03-26T06:18:23.000Z
src/gui/level-hud/level-hud-bindings.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
1
2019-09-27T12:04:52.000Z
2019-09-29T13:30:42.000Z
src/gui/level-hud/level-hud-bindings.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
8
2019-07-26T16:44:26.000Z
2020-11-24T17:56:18.000Z
#pragma once #include <NsGui/Grid.h> #include <NsGui/IntegrationAPI.h> #include <NsApp/DelegateCommand.h> #include <NsApp/NotifyPropertyChangedBase.h> class LevelHudBindings : public NoesisApp::NotifyPropertyChangedBase { public: LevelHudBindings(); // Flying option menu const char* getOptionsVisibility() const; ...
23.872727
70
0.785986
guillaume-haerinck
86898ef0cab42374d11e0cb244616bf6b659e466
4,039
cpp
C++
13/intcode_arcade.cpp
ComicSansMS/AdventOfCode2019
7ca0c57bf28ee8edab04c31a36dbd34d66d7f816
[ "Unlicense" ]
3
2019-12-01T17:37:33.000Z
2021-12-14T10:12:09.000Z
13/intcode_arcade.cpp
ComicSansMS/AdventOfCode2019
7ca0c57bf28ee8edab04c31a36dbd34d66d7f816
[ "Unlicense" ]
null
null
null
13/intcode_arcade.cpp
ComicSansMS/AdventOfCode2019
7ca0c57bf28ee8edab04c31a36dbd34d66d7f816
[ "Unlicense" ]
null
null
null
#include <intcode_arcade.hpp> #include <algorithm> #include <cassert> #include <ostream> #include <unordered_map> int countTiles(std::vector<Word> const& intcode_output, Tile needle) { int count = 0; for (size_t i = 2; i < intcode_output.size(); i += 3) { Tile t = static_cast<Tile>(intcode_output[i]);...
28.85
89
0.493191
ComicSansMS
868d816171e8548805df5820a95e72bd64a9a91e
2,084
cpp
C++
dainty_named_terminal.cpp
kieme/dainty_named
608e945c7f613e33b59c254f64e7e5c264a4bf47
[ "MIT" ]
null
null
null
dainty_named_terminal.cpp
kieme/dainty_named
608e945c7f613e33b59c254f64e7e5c264a4bf47
[ "MIT" ]
null
null
null
dainty_named_terminal.cpp
kieme/dainty_named
608e945c7f613e33b59c254f64e7e5c264a4bf47
[ "MIT" ]
null
null
null
/****************************************************************************** MIT License Copyright (c) 2018 kieme, frits.germs@gmx.net 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 wit...
29.771429
79
0.618042
kieme
8690a8a4f57dc9a27b91e2216ccb16dd07bab960
2,552
cpp
C++
toolbox/net/Resolver.cpp
mmitkevich/toolbox-cpp
59e26154acbd990de9658bf229ebdbf7f89fc0c8
[ "Apache-2.0" ]
1
2019-06-11T19:26:28.000Z
2019-06-11T19:26:28.000Z
toolbox/net/Resolver.cpp
mmitkevich/toolbox-cpp
59e26154acbd990de9658bf229ebdbf7f89fc0c8
[ "Apache-2.0" ]
null
null
null
toolbox/net/Resolver.cpp
mmitkevich/toolbox-cpp
59e26154acbd990de9658bf229ebdbf7f89fc0c8
[ "Apache-2.0" ]
null
null
null
// The Reactive C++ Toolbox. // Copyright (C) 2013-2019 Swirly Cloud Limited // Copyright (C) 2020 Reactive Markets Limited // // 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:...
28.355556
78
0.653605
mmitkevich
8690b7e2da4349e7aed88f3b2c4ed12f4bbde753
4,146
cpp
C++
libs/ledger/tests/chain/transaction_status_cache_tests.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/ledger/tests/chain/transaction_status_cache_tests.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/ledger/tests/chain/transaction_status_cache_tests.cpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
30.485294
89
0.702123
devjsc
8691b5d80597a4f60b0d6776271ac74a1d40da89
10,363
hpp
C++
src/run_configuration.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
3
2021-12-21T15:54:06.000Z
2022-02-10T21:13:40.000Z
src/run_configuration.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
24
2021-10-20T01:50:43.000Z
2022-03-15T15:58:25.000Z
src/run_configuration.hpp
pecos/tps
13b15a673848d5b448443bb8333ab1e66709a73a
[ "BSD-3-Clause" ]
null
null
null
// -----------------------------------------------------------------------------------bl- // BSD 3-Clause License // // Copyright (c) 2020-2022, The PECOS Development Team, University of Texas at Austin // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are...
32.384375
99
0.73058
pecos
8695a3c8c915508be5110a6e4fae3ec46ea1d5c7
731
cpp
C++
src/OptimizationBackend/EnergyFunctionalStructs.cpp
xiang-1208/my_dso
e23b8905e8295ca529d0e3f7bd3a64608c9e9a31
[ "MIT" ]
null
null
null
src/OptimizationBackend/EnergyFunctionalStructs.cpp
xiang-1208/my_dso
e23b8905e8295ca529d0e3f7bd3a64608c9e9a31
[ "MIT" ]
null
null
null
src/OptimizationBackend/EnergyFunctionalStructs.cpp
xiang-1208/my_dso
e23b8905e8295ca529d0e3f7bd3a64608c9e9a31
[ "MIT" ]
null
null
null
#include "EnergyFunctionalStructs.h" #include "FullSystem/HessianBlocks.h" //@ 从 FrameHessian 中提取数据 void EFFrame::takeData() { prior = data->getPrior().head<8>(); // 得到先验状态, 主要是光度仿射变换 delta = data->get_state_minus_stateZero().head<8>(); // 状态与FEJ零状态之间差 delta_prior = (data->get_state() - data->getPriorZer...
29.24
97
0.70725
xiang-1208
86962cb33bfd5307bb1a0649fa6ef021ee555022
1,888
hpp
C++
brfv4_mac_examples/brfv4/examples/face_tracking/candide_overlay.hpp
Tastenkunst/brfv4_mac_examples
21a0aa182df6285386be308e6880468a3c239c24
[ "BSD-3-Clause" ]
23
2017-06-30T17:08:15.000Z
2022-02-21T19:02:39.000Z
brfv4_ios_examples/brfv4/examples/face_tracking/candide_overlay.hpp
we11cheng/WCbrfv4iosDemo
74d5cf12044753956e57989fb43051d189c943e6
[ "MIT" ]
1
2019-02-20T04:04:20.000Z
2019-02-20T04:04:20.000Z
brfv4_ios_examples/brfv4/examples/face_tracking/candide_overlay.hpp
we11cheng/WCbrfv4iosDemo
74d5cf12044753956e57989fb43051d189c943e6
[ "MIT" ]
4
2018-03-27T04:48:02.000Z
2019-06-12T11:35:05.000Z
#ifndef __brf__cpp__BRFCppExample_hpp #define __brf__cpp__BRFCppExample_hpp namespace brf { class BRFCppExample: public BRFBasicCppExample { public: BRFCppExample() : BRFBasicCppExample() { } public: void initCurrentExample(brf::BRFManager& brfManager, brf::Rectangle& resolution) { brf::trace("BRFv4 - basic - fac...
29.5
95
0.726165
Tastenkunst
869904908690d51eac2960913b245a6fbf38f40b
20,535
cpp
C++
src/okmc/MobileParticleParam.cpp
imartinbragado/MMonCa
126744a90253d7d7884c6dc7ec100db00a106a66
[ "Apache-2.0" ]
4
2018-11-23T16:20:09.000Z
2020-05-15T09:13:49.000Z
src/okmc/MobileParticleParam.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
null
null
null
src/okmc/MobileParticleParam.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
6
2020-12-04T03:28:14.000Z
2022-03-09T10:38:14.000Z
/* * MobileParticleParam.cpp * * Created on: Feb 24, 2011 * * Author: ignacio.martin@imdea.org * * Copyright 2014 IMDEA Materials Institute, Getafe, Madrid, Spain * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
40.423228
126
0.623472
imartinbragado
869b11a678b37f6e5b21c688fec660e9bf23bbb1
2,856
hpp
C++
vlite/strided_iterator.hpp
verri/vlite
c4677dad17070b8fb0cbabd06018b3bcbb162860
[ "Zlib" ]
null
null
null
vlite/strided_iterator.hpp
verri/vlite
c4677dad17070b8fb0cbabd06018b3bcbb162860
[ "Zlib" ]
null
null
null
vlite/strided_iterator.hpp
verri/vlite
c4677dad17070b8fb0cbabd06018b3bcbb162860
[ "Zlib" ]
null
null
null
#ifndef VLITE_STRIDED_ITERATOR_HPP_INCLUDED #define VLITE_STRIDED_ITERATOR_HPP_INCLUDED #include <iterator> namespace vlite { template <typename T> class strided_iterator { public: using iterator_category = std::random_access_iterator_tag; using value_type = T; using difference_type = std::ptrdiff_t; using po...
24.410256
85
0.692577
verri
869dd5bb05b29b323904cd2989ae2b610bf19e5b
1,895
cpp
C++
C++/find-the-weak-connected-component-in-the-directed-graph.cpp
xenron/sandbox-dev-lintcode
114145723af43eafc84ff602ad3ac7b353a9fc38
[ "MIT" ]
695
2015-04-18T16:11:56.000Z
2022-03-11T13:28:44.000Z
C++/find-the-weak-connected-component-in-the-directed-graph.cpp
Abd-Elrazek/LintCode
8f6ee0ff38cb7cf8bf9fca800243823931604155
[ "MIT" ]
4
2015-07-04T13:07:35.000Z
2020-08-11T11:32:29.000Z
C++/find-the-weak-connected-component-in-the-directed-graph.cpp
Abd-Elrazek/LintCode
8f6ee0ff38cb7cf8bf9fca800243823931604155
[ "MIT" ]
338
2015-04-28T04:39:03.000Z
2022-03-16T03:00:15.000Z
// Time: O(nlogn) // Space: O(n) /** * Definition for Directed graph. * struct DirectedGraphNode { * int label; * vector<DirectedGraphNode *> neighbors; * DirectedGraphNode(int x) : label(x) {}; * }; */ class Solution { public: /** * @param nodes a array of directed graph node * @retu...
29.609375
74
0.538259
xenron
86a627fb058be52c232c304bc05bb5d844a558ac
2,894
cpp
C++
src/srcs/format-later-stage.cpp
linails/NLP-correlation
fa59b5aedc7b346f13f3ade1930750153f279072
[ "MIT" ]
null
null
null
src/srcs/format-later-stage.cpp
linails/NLP-correlation
fa59b5aedc7b346f13f3ade1930750153f279072
[ "MIT" ]
null
null
null
src/srcs/format-later-stage.cpp
linails/NLP-correlation
fa59b5aedc7b346f13f3ade1930750153f279072
[ "MIT" ]
null
null
null
/* * Progarm Name: format-later-stage.cpp * Created Time: 2017-03-04 08:34:13 * Last modified: 2017-03-14 14:02:42 * @author: minphone.linails linails@foxmail.com */ #include "format-later-stage.hpp" #include <iostream> #include "dic-parser.hpp" #include "stringTools.h" #include <cstring> #include <cstdlib> #inc...
24.116667
89
0.563925
linails
86a8e7727b8d7c88f086c9918a00e325b9482111
492
cpp
C++
Problema_578/Problema_578.cpp
EneRgYCZ/Problems
e8bf9aa4bba2b5ead25fc5ce482a36c861501f46
[ "MIT" ]
null
null
null
Problema_578/Problema_578.cpp
EneRgYCZ/Problems
e8bf9aa4bba2b5ead25fc5ce482a36c861501f46
[ "MIT" ]
null
null
null
Problema_578/Problema_578.cpp
EneRgYCZ/Problems
e8bf9aa4bba2b5ead25fc5ce482a36c861501f46
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; unsigned long long c, n, a[100000]; int main() { cin >> n; cin >> a[0]; int L = 1; for (int i = 1; i < n; i++) { cin >> a[i]; if (a[i] == a[i - 1]) { L++; } else { c += (L * (L - 1)) / 2;...
15.870968
35
0.278455
EneRgYCZ
86ab4d55b85bdc5c85562f23aa7cab67906842b0
1,809
cpp
C++
3rdParty/Radon/Radon/source/File.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
2
2021-02-02T19:27:20.000Z
2022-03-07T16:50:55.000Z
3rdParty/Radon/Radon/source/File.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
null
null
null
3rdParty/Radon/Radon/source/File.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
1
2022-03-07T16:51:16.000Z
2022-03-07T16:51:16.000Z
// Copyright Dmitro bjornus Szewczuk 2017 #include "../include/Radon.hpp" #include <string> #include <fstream> #include <algorithm> #include <iostream> #include <assert.h> namespace radon { File::File(const std::string & path) { this->path = path; std::ifstream stream(path.c_str()); if (stream.is_open()) { ...
22.898734
97
0.604201
pionere
86ac7737f238fc2054fb9867198da1772878f21d
4,580
cpp
C++
src/main/cpp/subsystems/DriveTrain.cpp
CougarProgramming623/DeepSpace
a4c2a8254f9a027e2172669bd4960dd938d6ad61
[ "BSD-3-Clause" ]
2
2019-02-17T17:24:36.000Z
2019-02-17T17:24:46.000Z
src/main/cpp/subsystems/DriveTrain.cpp
CougarProgramming623/DeepSpace
a4c2a8254f9a027e2172669bd4960dd938d6ad61
[ "BSD-3-Clause" ]
1
2019-02-17T17:21:37.000Z
2019-02-17T17:21:37.000Z
src/main/cpp/subsystems/DriveTrain.cpp
CougarProgramming623/DeepSpace
a4c2a8254f9a027e2172669bd4960dd938d6ad61
[ "BSD-3-Clause" ]
null
null
null
#include "subsystems/DriveTrain.h" #include "RobotConstants.h" #include "commands/Drive.h" #include <frc/DriverStation.h> #include "Constants.h" #include "OI.h" #include "Robot.h" namespace frc2019 { using namespace ohs623; DriveTrain::DriveTrain() : Subsystem("DriveTrain"), m_LeftFrontMC(LEFT_FRONT_ID), m_RightF...
34.43609
99
0.755459
CougarProgramming623
86aee253bd0b92c329a148e7df1949111080997d
10,070
cpp
C++
datagen/generate_data.cpp
gpl2021/gpl
bceb23deca7bad208245958bb74bae0026bb0263
[ "Apache-2.0" ]
null
null
null
datagen/generate_data.cpp
gpl2021/gpl
bceb23deca7bad208245958bb74bae0026bb0263
[ "Apache-2.0" ]
null
null
null
datagen/generate_data.cpp
gpl2021/gpl
bceb23deca7bad208245958bb74bae0026bb0263
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
37.715356
93
0.529791
gpl2021
86b0ca882914a5d42f67c7670dcf8f8e32fe1bcf
9,635
hpp
C++
include/ogla/lexers.hpp
Leonardo2718/OGLA
dfccfd798890da0ebe4f37cb1d46357252aad92e
[ "BSL-1.0" ]
null
null
null
include/ogla/lexers.hpp
Leonardo2718/OGLA
dfccfd798890da0ebe4f37cb1d46357252aad92e
[ "BSL-1.0" ]
null
null
null
include/ogla/lexers.hpp
Leonardo2718/OGLA
dfccfd798890da0ebe4f37cb1d46357252aad92e
[ "BSL-1.0" ]
null
null
null
/* Project: OGLA File: lexers.hpp Author: Leonardo Banderali Created: August 30, 2015 Last Modified: December 25, 2015 Description: This file declares some lexers that make use of the facilities provided by this library. As with the rest of this library, these are intended to be very generic. Hence, they are...
41
175
0.7096
Leonardo2718
86bf898202a1331de9a9a62d656618c2db35479c
1,340
cpp
C++
homework7/tree_set/tests.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
null
null
null
homework7/tree_set/tests.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
null
null
null
homework7/tree_set/tests.cpp
mxprshn/homework
809635858a5bf01af7f63f398fe47fba7c688ecc
[ "Apache-2.0" ]
2
2018-11-06T19:31:20.000Z
2018-12-17T19:39:07.000Z
#include <fstream> #include <vector> #include "set.h" bool programTest() { std::ifstream file("test.txt", std::ios::in); if (!file.is_open()) { return false; } Set *testSet = createSet(); while (!file.eof()) { int newValue = 0; file >> newValue; add(testSet, newValue); } file.close(); file.open(...
16.341463
75
0.644776
mxprshn
86c23d5e109f999c1d52effb5d9656b65aa3d518
11,497
hpp
C++
sprout/breed/transform/call.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/breed/transform/call.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/breed/transform/call.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_BREED_TRANSFORM_CALL_HPP #define SPROUT_BREED_TRANSFORM_CALL_HPP #include <type_traits> #include <sprout/config.hpp> #include <sprout/utility/pack.hpp> #include <sprout/type/type_tuple.hpp> #include <sprout/breed/breed_fwd.hpp> #include <sprout/breed/traits.hpp> #include <sprout/breed/transform...
29.180203
111
0.618683
osyo-manga
86c6ae8d32b3503523aee868026311b3e1ae92d4
1,252
hpp
C++
gcpp/classes/owildcard.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
2
2015-10-15T19:32:42.000Z
2021-12-20T15:56:04.000Z
gcpp/classes/owildcard.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
gcpp/classes/owildcard.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
/*====================================================================* * * owildcard.hpp - interface for the owildcard class. * *. Motley Tools by Charles Maier *: Published 1982-2005 by Charles Maier for personal use *; Licensed under the Internet Software Consortium License * *--------------------------...
27.217391
72
0.386581
razzlefratz
f8650d9b0f755ebda9434a0ecdfa5a284a13e430
2,082
cpp
C++
2017-08-22/G.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-08-22/G.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-08-22/G.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const int NMAX = 110; const double eps = 1e-8; struct Missile { int x; int y; int dx; int dy; int v; }; struct Circle { double x; double y; double r; }; int N, V; Circle cir[NMAX]; inline dou...
17.206612
160
0.509606
tangjz
f8656472757bbd2255dfce4e7d5dd1c604982d60
11,235
hpp
C++
libraries/protocol/include/graphene/protocol/chain_virtual_operations.hpp
VIZ-World/viz-core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
7
2018-03-21T12:56:32.000Z
2018-04-02T16:06:24.000Z
libraries/protocol/include/graphene/protocol/chain_virtual_operations.hpp
VIZ-World/viz-core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
18
2018-03-21T13:29:46.000Z
2018-05-18T10:56:43.000Z
libraries/protocol/include/graphene/protocol/chain_virtual_operations.hpp
VIZ-World/VIZ.Core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
9
2019-02-27T05:19:41.000Z
2021-07-04T22:48:33.000Z
#pragma once #include <graphene/protocol/base.hpp> #include <graphene/protocol/block_header.hpp> #include <graphene/protocol/asset.hpp> #include <fc/utf8.hpp> namespace graphene { namespace protocol { struct author_reward_operation : public virtual_operation { author_reward_operation() { ...
37.079208
214
0.627592
VIZ-World
f86975257e6f3bed7eb03cddca732f7b1d34c06a
58,408
cpp
C++
src/localPRG.cpp
rffrancon/pandora
5786548a1a1111a4990f0b8a6ec3335e4d1a5319
[ "MIT" ]
null
null
null
src/localPRG.cpp
rffrancon/pandora
5786548a1a1111a4990f0b8a6ec3335e4d1a5319
[ "MIT" ]
null
null
null
src/localPRG.cpp
rffrancon/pandora
5786548a1a1111a4990f0b8a6ec3335e4d1a5319
[ "MIT" ]
null
null
null
#include <fstream> #include <set> #include <cassert> #include <cmath> #include <algorithm> #include <numeric> #include "minimizer.h" #include "localPRG.h" #include "inthash.h" #include "utils.h" #include "fastaq.h" #define assert_msg(x) !(std::cerr << "Assertion failed: " << x << std::endl) LocalPRG::LocalPRG(uint3...
40.787709
153
0.514501
rffrancon
f88d4c73d589b26a01183286299efebe6cc98403
4,425
cpp
C++
src/kinematica/al5d_pckg/src/Main.cpp
steinzwerink/kinematica
35138025ab5237ff24812d4ce9d8cbbeabdb2ee4
[ "MIT" ]
null
null
null
src/kinematica/al5d_pckg/src/Main.cpp
steinzwerink/kinematica
35138025ab5237ff24812d4ce9d8cbbeabdb2ee4
[ "MIT" ]
null
null
null
src/kinematica/al5d_pckg/src/Main.cpp
steinzwerink/kinematica
35138025ab5237ff24812d4ce9d8cbbeabdb2ee4
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include "al5d_pckg/ConstValues.h" #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <al5d_pckg/communicatorAction.h> #include "al5d_pckg/client.h" #include "al5d_pckg/Controller.h" #include "al5d_pckg/MainApplication.hpp" //messages #include ...
41.745283
247
0.68
steinzwerink
f88e6d5b6ec3376e7ec4012386f6016b0ad41506
4,870
cpp
C++
src/consolecommands.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
src/consolecommands.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
src/consolecommands.cpp
Stellaris-code/Rayfun
2c9e5e2b0cd1636f0a046d6dce0efdce60f094cb
[ "WTFPL" ]
null
null
null
/* consolecommands %{Cpp:License:ClassName} - Yann BOUCHER (yann) 19/09/2016 ** ** ** DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE ** Version 2, December 2004 ** ** Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> ** ** Everyone is permitted to copy and distribute verbatim or modified ** c...
26.758242
105
0.523819
Stellaris-code
f891d0d99fed1456f5b363bf67670139b9da6b03
1,208
cpp
C++
iwkats_core/core/stream_parse_xml.cpp
Harvey-Liu/gemms
22efad39f54cadad44f8c6789e3eb268771a9e48
[ "Apache-2.0" ]
null
null
null
iwkats_core/core/stream_parse_xml.cpp
Harvey-Liu/gemms
22efad39f54cadad44f8c6789e3eb268771a9e48
[ "Apache-2.0" ]
null
null
null
iwkats_core/core/stream_parse_xml.cpp
Harvey-Liu/gemms
22efad39f54cadad44f8c6789e3eb268771a9e48
[ "Apache-2.0" ]
2
2018-09-25T01:06:04.000Z
2019-06-18T01:55:57.000Z
#include "stream_parse_xml.h" #include <QFile> #include <QDebug> #include <QIODevice> #include "logging.h" namespace iwkats { StreamParseXml::StreamParseXml(const QString& file_name) : file_name_(file_name) { } bool StreamParseXml::ReadXml(const ParseFunc& parse_func) { QFile file(file_name_); if(!file.open...
25.702128
61
0.682947
Harvey-Liu
f89aec97a3ba2116b16676c16f5ec1b42fafd902
17,969
cpp
C++
Algorithm/SyncThread.cpp
liaojing/videomorphing
a96ddd00cabd75f83924d80d0ebecb0867f8322c
[ "MIT" ]
21
2015-06-11T03:47:10.000Z
2021-09-28T07:50:32.000Z
Algorithm/SyncThread.cpp
PeterZs/videomorphing
a96ddd00cabd75f83924d80d0ebecb0867f8322c
[ "MIT" ]
1
2017-05-05T18:20:14.000Z
2017-05-05T18:20:14.000Z
Algorithm/SyncThread.cpp
PeterZs/videomorphing
a96ddd00cabd75f83924d80d0ebecb0867f8322c
[ "MIT" ]
12
2015-05-20T03:21:49.000Z
2020-09-08T10:47:17.000Z
#include "SyncThread.h" #include <cusparse_v2.h> #include <cublas_v2.h> #include <helper_cuda.h> // helper for CUDA error checking extern void upsample(float *dest, int dw,int dh, float *orig, int sw,int sh,float ratio); CSyncThread::CSyncThread(Parameters& parameters,Pyramid &pyramids):_pyramids(pyramids),_para...
34.357553
179
0.655518
liaojing
f8a0905d2da535ad39e0620689eed6982615a881
2,386
cpp
C++
src/vcUnitConversion.cpp
HuYueXiong/Euclideon_Vault
044cc9ee80d99702cfe3fc55832272c0b3fae9a7
[ "MIT" ]
1
2021-07-05T23:01:42.000Z
2021-07-05T23:01:42.000Z
src/vcUnitConversion.cpp
HuYueXiong/Euclideon_Vault
044cc9ee80d99702cfe3fc55832272c0b3fae9a7
[ "MIT" ]
null
null
null
src/vcUnitConversion.cpp
HuYueXiong/Euclideon_Vault
044cc9ee80d99702cfe3fc55832272c0b3fae9a7
[ "MIT" ]
null
null
null
#include "vcUnitConversion.h" double vcUnitConversion_ConvertDistance(double sourceValue, vcDistanceUnit sourceUnit, vcDistanceUnit requiredUnit) { if (sourceUnit == requiredUnit) return sourceValue; const double metreTable[vcDistance_Count] = { 1.0, 1000.0, 0.01, 0.001, 1200.0 / 3937.0, 5280.0 * 1200.0 / 393...
37.28125
223
0.73596
HuYueXiong
f8a57fd58ca80b23f0a150f64ebb3504fc638b34
9,325
cpp
C++
nfa.cpp
seasvv/cuda-grep
fa6630eb0c3e782620ec3eaf989873dadc9a036b
[ "MIT" ]
101
2015-03-30T18:43:51.000Z
2021-12-15T09:48:00.000Z
nfa.cpp
seasvv/cuda-grep
fa6630eb0c3e782620ec3eaf989873dadc9a036b
[ "MIT" ]
3
2016-01-29T10:44:12.000Z
2021-06-17T12:56:54.000Z
nfa.cpp
seasvv/cuda-grep
fa6630eb0c3e782620ec3eaf989873dadc9a036b
[ "MIT" ]
24
2015-10-16T17:41:34.000Z
2021-12-15T09:48:04.000Z
/* * Regular expression implementation. * Supports only ( | ) * + ?. No escapes. * Compiles to NFA and then simulates NFA * using Thompson's algorithm. * * See also http://swtch.com/~rsc/regexp/ and * Thompson, Ken. Regular Expression Search Algorithm, * Communications of the ACM 11(6) (June 1968), pp. 419-42...
30.374593
132
0.649223
seasvv
f8b078367c8ff1b78b3c5935d70d5999ac30ea4e
1,039
hpp
C++
src/ibeo_8l_msgs/include/object_list_lux_ros__rosidl_typesupport_introspection_cpp.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
1
2020-06-19T11:01:49.000Z
2020-06-19T11:01:49.000Z
src/ibeo_8l_msgs/include/object_list_lux_ros__rosidl_typesupport_introspection_cpp.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
null
null
null
src/ibeo_8l_msgs/include/object_list_lux_ros__rosidl_typesupport_introspection_cpp.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
2
2020-06-19T11:01:48.000Z
2020-10-29T03:07:14.000Z
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em // with input from ibeo_8l_msgs:msg/ObjectListLuxRos.idl // generated code does not contain a copyright notice #ifndef IBEO_8L_MSGS__MSG__OBJECT_LIST_LUX_ROS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ #define...
37.107143
129
0.880654
tomcamp0228