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
dc2d8f41d464446d01bd12105ce73ad313d053d9
75,154
cpp
C++
Source/G_System/GController.cpp
WrightDevin/Gateware
f21ad808540affc47a6b88dde219c1436e9de13a
[ "MIT" ]
null
null
null
Source/G_System/GController.cpp
WrightDevin/Gateware
f21ad808540affc47a6b88dde219c1436e9de13a
[ "MIT" ]
null
null
null
Source/G_System/GController.cpp
WrightDevin/Gateware
f21ad808540affc47a6b88dde219c1436e9de13a
[ "MIT" ]
null
null
null
// Override export symbols for DLL builds (must be included before interface code). #include "../../Source/DLL_Export_Symbols.h" #include "../../Interface/G_System/GController.h" #include <mutex> #include <atomic> #include <thread> #include <string.h> #ifdef _WIN32 #include <windows.h> #include <xinput.h> //#include ...
38.42229
192
0.595976
WrightDevin
dc2e89121ec342e1f484bdecec42b773c3e78e30
1,163
cpp
C++
kalman.cpp
RachitB11/basic-kalman-filter
0b38e2420f0dc50f1e5471fe6181ae8871f27b40
[ "MIT" ]
null
null
null
kalman.cpp
RachitB11/basic-kalman-filter
0b38e2420f0dc50f1e5471fe6181ae8871f27b40
[ "MIT" ]
null
null
null
kalman.cpp
RachitB11/basic-kalman-filter
0b38e2420f0dc50f1e5471fe6181ae8871f27b40
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> #include "kalman.hpp" KalmanFilter::KalmanFilter( double dt, const Eigen::MatrixXd& A, const Eigen::MatrixXd& C, const Eigen::MatrixXd& Q, const Eigen::MatrixXd& R, const Eigen::MatrixXd& P) : A(A), C(C), Q(Q), R(R), P0(P), m(C.rows()), n(A.rows()...
19.711864
89
0.603611
RachitB11
dc2ec2d2626579cdc5c18acf364bd898b1321487
804
hpp
C++
src/ArrayUtil.hpp
AstroKriel/quokka
5a054e30f49f1e829cad91e5c92faf092b0c5822
[ "MIT" ]
null
null
null
src/ArrayUtil.hpp
AstroKriel/quokka
5a054e30f49f1e829cad91e5c92faf092b0c5822
[ "MIT" ]
null
null
null
src/ArrayUtil.hpp
AstroKriel/quokka
5a054e30f49f1e829cad91e5c92faf092b0c5822
[ "MIT" ]
null
null
null
#ifndef ARRAYUTIL_HPP_ // NOLINT #define ARRAYUTIL_HPP_ //============================================================================== // TwoMomentRad - a radiation transport library for patch-based AMR codes // Copyright 2020 Benjamin Wibking. // Released under the MIT license. See LICENSE file included in the GitHu...
33.5
80
0.560945
AstroKriel
dc2f82f1ef682e8196a2165b061959f50abbca27
997
cpp
C++
CC/CF/AND0SumBig.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/CF/AND0SumBig.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/CF/AND0SumBig.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
//AC #include <bits/stdc++.h> #define LLI long long #define MOD 1000000007 #define umap unordered_map #define uset unordered_set #define all(v) v.begin(),v.end() #define loop_arr(arr, n) for (LLI i=0;i<n;i++) {cin >> arr[i];} #define loop_vec(arr, n) for (LLI i=0;i<n;i++) {cin >> arr[i];} #define loop_print(arr) for (c...
20.770833
85
0.530592
MrRobo24
dc3651bc57a849f56caeb4d0531fc52f0050100d
1,511
cpp
C++
example/eagine/build_info.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
example/eagine/build_info.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
example/eagine/build_info.cpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// @example eagine/build_info.cpp /// /// Copyright 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 <eagine/build_info.hpp> #include <eagine/compiler_info.hpp> #include <eagine/mai...
33.577778
80
0.598279
matus-chochlik
dc37b1717dc2d8c1eeba0defa4ed919c4198cbc1
370
hpp
C++
events/window_minimised_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/window_minimised_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/window_minimised_event.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * window_minimised_event.hpp * **/ #if !defined(AAB_EVENTS_WINDOW_MINIMISED_EVENT_CLASS) #define AAB_EVENTS_WINDOW_MINIMISED_EVENT_CLASS #include"empty_event.hpp" namespace aab { namespace events{ typedef EmptyEvent <window_minimised_event> WindowMinimisedEvent; } // events } // aab #en...
16.818182
66
0.751351
MrTAB
dc3a032778e310a6b6bfa92204dac7ef604eced0
7,826
inl
C++
include/KdTree.inl
Lehdari/Panoramachine
af00840e8a2b2f5cd8bde4e8cd4037b9c7d43178
[ "CC0-1.0" ]
null
null
null
include/KdTree.inl
Lehdari/Panoramachine
af00840e8a2b2f5cd8bde4e8cd4037b9c7d43178
[ "CC0-1.0" ]
null
null
null
include/KdTree.inl
Lehdari/Panoramachine
af00840e8a2b2f5cd8bde4e8cd4037b9c7d43178
[ "CC0-1.0" ]
null
null
null
// // Project: panoramachine // File: KdTree.inl // // Copyright (c) 2021 Miika 'Lehdari' Lehtimäki // You may use, distribute and modify this code under the terms // of the licence specified in file LICENSE which is distributed // with this source code package. // template<typename T_Scalar, int K> void KdTree<Eigen:...
30.932806
106
0.598134
Lehdari
dc41e96ebac3a1acbdbae0a72f4e89d417b4c983
32,342
cpp
C++
plugins/COMCORE/pubsubpluginREDISCLUSTER/src/pubsubpluginREDISCLUSTER_CRedisClusterPubSubClientTopic.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
null
null
null
plugins/COMCORE/pubsubpluginREDISCLUSTER/src/pubsubpluginREDISCLUSTER_CRedisClusterPubSubClientTopic.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
null
null
null
plugins/COMCORE/pubsubpluginREDISCLUSTER/src/pubsubpluginREDISCLUSTER_CRedisClusterPubSubClientTopic.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
null
null
null
/* * pubsubpluginREDISCLUSTER: Generic GUCEF COMCORE plugin for providing pubsub via Redis * * Copyright (C) 1998 - 2020. Dinand Vanvelzen * * 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...
40.027228
215
0.546379
amvb
dc4431045de5ee70d01c3aca3e473cc78439cb7d
7,627
cpp
C++
src/commands.cpp
dfintha/mash
22a4806d2e8df50f291a7377c3901117889d5b76
[ "WTFPL" ]
null
null
null
src/commands.cpp
dfintha/mash
22a4806d2e8df50f291a7377c3901117889d5b76
[ "WTFPL" ]
null
null
null
src/commands.cpp
dfintha/mash
22a4806d2e8df50f291a7377c3901117889d5b76
[ "WTFPL" ]
null
null
null
#include "database.hpp" #include "container.hpp" #include "parser.hpp" #include "system.hpp" #include "commands.hpp" #include "messages.hpp" #include "plot.hpp" #include "utilities.hpp" #include <algorithm> #include <cctype> #include <fstream> #include <sstream> namespace { static bool valid_name(const std::string& n...
21.791429
70
0.632621
dfintha
dc44921bcc343f15727e54f82949494afb7f9fa5
288
cc
C++
src/test/logger_test.cc
CynricFeng/Distributed-Key-Value-Database
8379b914cb6dc98b2c8451468e588e4ec4ba460b
[ "MIT" ]
4
2020-05-30T11:40:46.000Z
2021-01-18T13:57:00.000Z
Lab3/src/test/logger_test.cc
CynricFeng/Cloud-Computing-Labs-2020
e71897a10a4b76a4f856f3547b026897c0354947
[ "MIT" ]
null
null
null
Lab3/src/test/logger_test.cc
CynricFeng/Cloud-Computing-Labs-2020
e71897a10a4b76a4f856f3547b026897c0354947
[ "MIT" ]
5
2020-02-29T11:03:30.000Z
2021-03-29T09:58:15.000Z
#include "core.hpp" #include "logger.hpp" void loggerTest() { Log l(1, LOG_PRE, "nihao"); std::string sr = l.logToStr(); Log k(sr); std::cout << k.ID << std::endl; std::cout << k.state << std::endl; std::cout << k.event.length() << " " << k.event << std::endl; }
22.153846
65
0.541667
CynricFeng
dc49485709e41878a3390dfe321907e7a0e3c8c8
2,470
cpp
C++
src/platformspecifics/x11/x11backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
16
2020-01-22T04:52:46.000Z
2022-02-22T09:53:39.000Z
src/platformspecifics/x11/x11backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
15
2020-02-16T01:12:42.000Z
2021-05-03T21:51:26.000Z
src/platformspecifics/x11/x11backend.cpp
mightybruno/KShare
c1124354be9c8bb5c1931e37e19391f0b6c4389f
[ "MIT" ]
3
2020-04-03T22:20:14.000Z
2020-09-23T07:58:09.000Z
#include "x11backend.hpp" #include <QPixmap> #include <QX11Info> #include <pwd.h> #include <unistd.h> #include <xcb/xcb_cursor.h> #include <xcb/xcb_util.h> #include <xcb/xfixes.h> std::tuple<QPoint, QPixmap> PlatformBackend::getCursor() { xcb_connection_t *connection = QX11Info::connection(); xcb_xfixes_get_c...
33.378378
135
0.654656
mightybruno
dc4d85101b13d126b1d76ce3f8ae31f4dd154936
556
cpp
C++
Camp_0-2563/1007-Intro05.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_0-2563/1007-Intro05.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_0-2563/1007-Intro05.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
/* TASK : AUTHOR: Hydrolyzed~ LANG : C SCHOOL: RYW */ #include<stdio.h> #include<math.h> int main(){ double x1,x2,x3,y1,y2,y3,k; scanf("%lf %lf %lf %lf %lf %lf %lf", &x1,&y1,&x2,&y2,&x3,&y3,&k); double a = sqrt(pow(x1-x2,2) + pow(y1-y2, 2)); double b = sqrt(pow(x1-x3,2) + pow(y1-y...
22.24
67
0.501799
MasterIceZ
dc567174127cc186df38d58502aeb8995b0bdc66
506
cpp
C++
src/armed/PropSectionBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/armed/PropSectionBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/armed/PropSectionBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt #include "StdAfx.h" #include "PropSectionBase.h" namespace Armed { ////////////////////////////////////////////////////////////////////////// PropSectionBase::PropSectionBase(QWidget...
19.461538
79
0.486166
retrowork
dc578b1a665ba6a9149fb385a537c31f2645af67
68
hpp
C++
__drivers/gv_renderer_bgfx/gv_bgfx_lib_all_in_one.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
2
2018-12-03T13:17:31.000Z
2020-04-08T07:00:02.000Z
__drivers/gv_renderer_bgfx/gv_bgfx_lib_all_in_one.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
__drivers/gv_renderer_bgfx/gv_bgfx_lib_all_in_one.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
include "bgfx/src/amalgamated.cpp" #include "bx/src/amalgamated.cpp"
34
34
0.794118
dragonsn
dc5c0920125022e5c991212049903e4692779492
5,580
cc
C++
src/tint/transform/remove_phonies.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/transform/remove_phonies.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/transform/remove_phonies.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
36.953642
100
0.523477
encounter
dc61304c5a2f7529da405aced11383b1e6ce3c56
4,298
cxx
C++
tests/test_basics/test_idafilechannel.cxx
sikol/sk-async
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
3
2021-04-08T12:47:39.000Z
2021-09-25T11:43:41.000Z
tests/test_basics/test_idafilechannel.cxx
sikol/sk-cio
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
null
null
null
tests/test_basics/test_idafilechannel.cxx
sikol/sk-cio
fc8fb2dbfa119b8b8d68c203459b8ca676576076
[ "BSL-1.0" ]
null
null
null
/* * Copyright(c) 2019, 2020, 2021 SiKol Ltd. * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organization * obtaining a copy of the software and accompanying documentation covered by * this license(the "Software") to use, reproduce,...
33.84252
80
0.633318
sikol
dc6290dfc667754fee6863542ae683706dfa9c77
552
hpp
C++
PP/tuple/zip_indices.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/tuple/zip_indices.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/tuple/zip_indices.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/compose_apply.hpp> #include <PP/containers/tuple.hpp> #include <PP/generator_tuple.hpp> #include <PP/tuple/count.hpp> #include <PP/zip_with.hpp> namespace PP::tuple { PP_CIA zip_indices = [](concepts::tuple auto&& t) { return [](auto i, auto&& element) { return container<declt...
27.6
72
0.539855
Petkr
dc632faa3113f14febd34f8dd4cc503287c9b7c1
450
hpp
C++
include/detail/Math.hpp
Tastyep/Hitbox-Builder-2D
ab86816005d7b7c44338bfa27975054b45e66cc3
[ "MIT" ]
15
2018-04-12T03:59:01.000Z
2022-01-15T22:07:55.000Z
include/detail/Math.hpp
Tastyep/Hitbox-Builder-2D
ab86816005d7b7c44338bfa27975054b45e66cc3
[ "MIT" ]
null
null
null
include/detail/Math.hpp
Tastyep/Hitbox-Builder-2D
ab86816005d7b7c44338bfa27975054b45e66cc3
[ "MIT" ]
1
2020-08-18T08:17:17.000Z
2020-08-18T08:17:17.000Z
#ifndef HITBOX_BUILDER_DETAIL_MATH_HPP #define HITBOX_BUILDER_DETAIL_MATH_HPP #include <SFML/System/Vector2.hpp> namespace HitboxBuilder { namespace Detail { namespace Math { template <typename T> float vectorDot(const sf::Vector2<T>& a, const sf::Vector2<T>& b); template <typename T> float pointDistance(const sf::...
21.428571
70
0.742222
Tastyep
dc65f4644e9238ed019f8363a923462b0c294b75
439
cpp
C++
src/gdaplanner/Printable.cpp
fairlight1337/GDAPlanner
c39d4e8fdcb0bbf18ff9e646349161853943dd5e
[ "BSD-2-Clause" ]
null
null
null
src/gdaplanner/Printable.cpp
fairlight1337/GDAPlanner
c39d4e8fdcb0bbf18ff9e646349161853943dd5e
[ "BSD-2-Clause" ]
null
null
null
src/gdaplanner/Printable.cpp
fairlight1337/GDAPlanner
c39d4e8fdcb0bbf18ff9e646349161853943dd5e
[ "BSD-2-Clause" ]
null
null
null
#include <gdaplanner/Printable.h> #include <iostream> namespace gdaplanner { Printable::Printable() { } Printable::~Printable() { } std::ostream& operator<<(std::ostream& osStream, const Printable::Ptr& prtOut) { osStream << prtOut->toString(); return osStream; } std::ostream& oper...
18.291667
82
0.635535
fairlight1337
dc66423012d8da99717a0dd4fa9e6a446bf5bf25
2,007
hpp
C++
source/SMPPUnbindResp.hpp
ict-project/libsmpp
c4f4045a62d3de90d96ccf5db8792d6753493561
[ "Apache-2.0" ]
1
2017-06-27T03:58:45.000Z
2017-06-27T03:58:45.000Z
source/SMPPUnbindResp.hpp
ict-project/libsmpp
c4f4045a62d3de90d96ccf5db8792d6753493561
[ "Apache-2.0" ]
1
2021-01-09T20:10:32.000Z
2021-01-16T11:28:42.000Z
source/SMPPUnbindResp.hpp
ict-project/libsmpp
c4f4045a62d3de90d96ccf5db8792d6753493561
[ "Apache-2.0" ]
null
null
null
/* Copyright 2007 Majoron.com (developers@majoron.com) Original sources are available at www.majoron.com 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.apa...
29.955224
79
0.721475
ict-project
dc6a532ca84d6db8a25e29cdd0f180dcec5470fa
1,830
cpp
C++
input_server/input_recorder/srcs/InputRecorder/view.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-09-09T21:01:57.000Z
2022-03-27T10:01:27.000Z
input_server/input_recorder/srcs/InputRecorder/view.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
null
null
null
input_server/input_recorder/srcs/InputRecorder/view.cpp
return/BeOSSampleCode
ca5a319fecf425a69e944f3c928a85011563a932
[ "BSD-3-Clause" ]
5
2018-04-03T01:45:23.000Z
2021-05-14T08:23:01.000Z
/* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. */ #include <string.h> #include <stdio.h> #include <CheckBox.h> #include <Path.h> #include "view.h" #include "main.h" TView::TView(BRect rect, const char *name, bool rec, bool stop, bo...
20.795455
83
0.610383
return
dc6c67c62ce08d7230e7d87e1760c198236d5af2
24,256
cpp
C++
src/unitTests/unitTests.cpp
massimo-marino/object-factory
495e9bbb6855628014b55d43bb2da3e45d0397c2
[ "MIT" ]
null
null
null
src/unitTests/unitTests.cpp
massimo-marino/object-factory
495e9bbb6855628014b55d43bb2da3e45d0397c2
[ "MIT" ]
null
null
null
src/unitTests/unitTests.cpp
massimo-marino/object-factory
495e9bbb6855628014b55d43bb2da3e45d0397c2
[ "MIT" ]
null
null
null
// // unitTests.cpp // #include "../object-counter.h" #include "../objectFactory.h" #include <future> #include <gtest/gtest.h> #include <gmock/gmock.h> // BEGIN: ignore the warnings listed below when compiled with clang from here #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wglobal-constructors" #p...
33.642164
117
0.611601
massimo-marino
dc6d561ca2d7da9d3455b73a46464b4d878b0733
1,198
cpp
C++
src/elimination.cpp
Alan-Kuan/MatrixSpaces
38d490635dbd1c6bc6fbba75bc0128e9820456fc
[ "MIT" ]
null
null
null
src/elimination.cpp
Alan-Kuan/MatrixSpaces
38d490635dbd1c6bc6fbba75bc0128e9820456fc
[ "MIT" ]
null
null
null
src/elimination.cpp
Alan-Kuan/MatrixSpaces
38d490635dbd1c6bc6fbba75bc0128e9820456fc
[ "MIT" ]
null
null
null
#include "elimination.hpp" // Row Operation of sum static void row_sum(Matrix &M, Fraction scalar, int from, int to){ for(int i = 0; i < M.col_size; i++) M[to][i] += M[from][i] * scalar; } // Row Operation of scalar multiplication static void row_prod(Matrix &M, Fraction scalar, int row){ for(int i = 0; i < M....
19.322581
103
0.602671
Alan-Kuan
dc725eeaeb53ab5f0401b621bc6033e755c7f165
975
hpp
C++
ShineNgine/PiecewiseCurveBuilder.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
ShineNgine/PiecewiseCurveBuilder.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
ShineNgine/PiecewiseCurveBuilder.hpp
FinancialEngineerLab/fineQuantlib
a07eb659a440964ded9e9f636de0fd379672f4c3
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <ql/quantlib.hpp> #include <ql/indexes/ibor/krwcd.hpp> namespace PiecewiseCurveBuilderNamespace { using namespace QuantLib; // type definition // using pQuote = ext::shared_ptr<Quote>; using pIndex = ext::shared_ptr<IborIndex>; using pHelper = ext::shared_ptr<RateHelper>; //...
26.351351
64
0.725128
FinancialEngineerLab
dc773a88866a6d95d37fb7b33a7002346f608533
16,027
cpp
C++
src/FalconEngine/Content/ModelImporter.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Content/ModelImporter.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Content/ModelImporter.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
1
2021-08-25T07:39:02.000Z
2021-08-25T07:39:02.000Z
#include <FalconEngine/Content/ModelImporter.h> #include <FalconEngine/Graphics/Renderer/Renderer.h> namespace FalconEngine { bool ModelImporter::Import(Model *model, const string& modelFilePath, const ModelImportOption& modelImportOption) { // http://assimp.sourceforge.net/lib_html/ const vector<string> mode...
40.885204
165
0.618082
LiuYiZhou95
dc78ca827e77b202d654799caed3116ebd69a58c
2,066
hh
C++
neb/inc/com/centreon/engine/xpddefault.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
neb/inc/com/centreon/engine/xpddefault.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
neb/inc/com/centreon/engine/xpddefault.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2001-2006 Ethan Galstad ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine 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 Free Software Foundation. ** ** Centr...
30.382353
78
0.782672
centreon-lab
dc7cacea4f415aadaea5cd3d6210af02e30a0952
566
cpp
C++
apps/myApps/clubProjectionMapping/src/VideoPlayer/NormalVideoPlayer.cpp
nmbakfm/club_projection_mapping
95dd0d7604fce397fcdf058d09085fb32b184257
[ "MIT" ]
1
2015-06-16T07:36:55.000Z
2015-06-16T07:36:55.000Z
apps/myApps/clubProjectionMapping/src/VideoPlayer/NormalVideoPlayer.cpp
nmbakfm/club_projection_mapping
95dd0d7604fce397fcdf058d09085fb32b184257
[ "MIT" ]
null
null
null
apps/myApps/clubProjectionMapping/src/VideoPlayer/NormalVideoPlayer.cpp
nmbakfm/club_projection_mapping
95dd0d7604fce397fcdf058d09085fb32b184257
[ "MIT" ]
null
null
null
// // NormalVideoPlayer.cpp // clubProjectionMapping // // Created by 南部 晃史 on 2015/06/21. // // #include "NormalVideoPlayer.h" void NormalVideoPlayer::drawMovie(float _x, float _y, float _w, float _h) { draw(_x, _y, _w, _h); string message = this->getMessage(); ofPoint pos = this->getPosition(); ...
24.608696
177
0.662544
nmbakfm
dc7cc7a6c7df972e8960b2cc0781b919e156b0b8
2,049
cc
C++
src/socket.cc
zhmu/rssh
2f7d0014e99462db0a1fdff8e5ba201f873d2b20
[ "Beerware" ]
null
null
null
src/socket.cc
zhmu/rssh
2f7d0014e99462db0a1fdff8e5ba201f873d2b20
[ "Beerware" ]
null
null
null
src/socket.cc
zhmu/rssh
2f7d0014e99462db0a1fdff8e5ba201f873d2b20
[ "Beerware" ]
null
null
null
#include "socket.h" #include <sys/types.h> #include <sys/socket.h> #include <assert.h> #include <netdb.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "buffer.h" namespace RSSH { Socket::Socket() : m_FD(-1) { } Socket::~Socket() { if (m_FD >= 0) close(m_FD); } bool Socket::Connect(const c...
19.893204
77
0.653001
zhmu
dc7ef19f1361cf2c4ee2431bea7723d3d1487694
7,021
cc
C++
paddle/fluid/framework/data_layout_transform.cc
wilhelmzh/Paddle
e352467c1c3843cb0036604d81a8185c6d6cb337
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/data_layout_transform.cc
wilhelmzh/Paddle
e352467c1c3843cb0036604d81a8185c6d6cb337
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/data_layout_transform.cc
wilhelmzh/Paddle
e352467c1c3843cb0036604d81a8185c6d6cb337
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 PaddlePaddle Authors. 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 requir...
36.567708
80
0.6858
wilhelmzh
dc7ffa57040af7e896a34c4cf37e158ff75b23cb
18,348
cpp
C++
modules/camera/3_0/Camera.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
modules/camera/3_0/Camera.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
modules/camera/3_0/Camera.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.58
83
0.64721
lighthouse-os
dc80f143edcf10a49b4ee39312ee2a1f918ee30c
2,114
cpp
C++
lib/codegen/printer/variable.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
4
2017-07-22T23:12:36.000Z
2022-01-13T23:57:06.000Z
lib/codegen/printer/variable.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
36
2016-11-26T17:46:16.000Z
2019-05-21T16:27:13.000Z
lib/codegen/printer/variable.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
3
2016-10-01T21:04:32.000Z
2021-03-20T06:57:53.000Z
/** * Vapor Compiler Licence * * Copyright © 2017, 2019 Michał "Griwes" Dominiak * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this...
39.148148
110
0.667928
reaver-project
dc817441e6ccfbc0c85ab6e5a6ff4486abb4d65d
4,468
cpp
C++
VTIL-Architecture/trace/cached_tracer.cpp
fIappy/VTIL-Core
e3e2ef3683f4f4be4e0c3cbfc67a4f7a8533db17
[ "BSD-3-Clause" ]
null
null
null
VTIL-Architecture/trace/cached_tracer.cpp
fIappy/VTIL-Core
e3e2ef3683f4f4be4e0c3cbfc67a4f7a8533db17
[ "BSD-3-Clause" ]
null
null
null
VTIL-Architecture/trace/cached_tracer.cpp
fIappy/VTIL-Core
e3e2ef3683f4f4be4e0c3cbfc67a4f7a8533db17
[ "BSD-3-Clause" ]
1
2020-06-20T15:25:54.000Z
2020-06-20T15:25:54.000Z
// Copyright (c) 2020 Can Boluk and contributors of the VTIL Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the a...
32.613139
79
0.667637
fIappy
dc837e8ff124b63602a78cca4735b51ecd8c09fc
47,930
cpp
C++
osprey/testsuite/cases/cern/root/TMatrixTSparse/TMatrixTBase.cpp
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/testsuite/cases/cern/root/TMatrixTSparse/TMatrixTBase.cpp
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/testsuite/cases/cern/root/TMatrixTSparse/TMatrixTBase.cpp
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
// @(#)root/matrix:$Name: $:$Id: TMatrixTBase.cxx,v 1.8 2006/05/19 04:44:59 brun Exp $ // Authors: Fons Rademakers, Eddy Offermann Nov 2003 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
38.528939
120
0.528688
sharugupta
dc83a33c9101bb410d254e2e5a2dbd8a052ce23a
3,017
cpp
C++
Figurs_Inheritance/Figurs_Inheritance/Figurs_Inheritance.cpp
alice29shevchuk/Figurs_Inheritance
2863b17efac424d3f976ecf98eada68c73ffbb1c
[ "Apache-2.0" ]
null
null
null
Figurs_Inheritance/Figurs_Inheritance/Figurs_Inheritance.cpp
alice29shevchuk/Figurs_Inheritance
2863b17efac424d3f976ecf98eada68c73ffbb1c
[ "Apache-2.0" ]
null
null
null
Figurs_Inheritance/Figurs_Inheritance/Figurs_Inheritance.cpp
alice29shevchuk/Figurs_Inheritance
2863b17efac424d3f976ecf98eada68c73ffbb1c
[ "Apache-2.0" ]
null
null
null
#include <iostream> class Figurs { protected: int x; int y; public: Figurs() { this->x = 5; this->y = 8; } int getX() { return this->x; } int getY() { return this->y; } virtual void print() { std::cout << this->x << "\t" << th...
16.854749
70
0.434206
alice29shevchuk
dc845cab66bd7f2db057c870165ca92b4b3ec18d
8,161
cpp
C++
Tool/Source/linkerwindow.cpp
cferguson-uu/storyline-scaffolding
33422e3939c86d41ef0b3b885e116966618d24fc
[ "MIT" ]
1
2019-01-26T04:40:12.000Z
2019-01-26T04:40:12.000Z
Tool/Source/linkerwindow.cpp
cferguson-uu/storyline-scaffolding
33422e3939c86d41ef0b3b885e116966618d24fc
[ "MIT" ]
null
null
null
Tool/Source/linkerwindow.cpp
cferguson-uu/storyline-scaffolding
33422e3939c86d41ef0b3b885e116966618d24fc
[ "MIT" ]
null
null
null
#include "linkerwindow.h" #include "mainctrl.h" #include <QScrollArea> LinkerWindow::LinkerWindow(zodiac::NodeHandle &node, QList<zodiac::NodeHandle> &nodeList, QWidget *parent) : QDialog(parent) , m_mainNode(node) { QList<zodiac::NodeHandle> connectedNarrativeNodes = getConnectedPlugs(node, "reqIn"); ...
34.146444
145
0.57836
cferguson-uu
dc86e651a6e8fdcb08495f80e9603902b8d45388
3,850
cpp
C++
src/plugins/dolozhee/bugreportpage.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/dolozhee/bugreportpage.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/dolozhee/bugreportpage.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
33.189655
79
0.66961
MellonQ
dc87af224a2803ee0ddb50953e41cb9ea45e7fb3
1,890
ipp
C++
src/exapi/bitmex/sample/ReadConf.ipp
XFone/exapi
05660e8b27dfa75aa0996342ee5b6b253b09c477
[ "Apache-2.0" ]
1
2020-04-11T06:06:40.000Z
2020-04-11T06:06:40.000Z
src/exapi/bitmex/sample/ReadConf.ipp
XFone/exapi
05660e8b27dfa75aa0996342ee5b6b253b09c477
[ "Apache-2.0" ]
null
null
null
src/exapi/bitmex/sample/ReadConf.ipp
XFone/exapi
05660e8b27dfa75aa0996342ee5b6b253b09c477
[ "Apache-2.0" ]
null
null
null
/* * $Id: $ * * Read config file with api-key and secrect key * * Copyright (c) 2014-2018 Zerone.IO. All rights reserved. * * $Log: $ * */ #include "Base.h" #include "Log.h" #include "ConConf.h" #include "osdeps/osutil.h" #include <cstdlib> #include <string> #include <iostream> #include <fstream> using names...
25.890411
87
0.442857
XFone
dc87cc9a6c7c180735b4fcaccf42b74fde5ee982
18,384
cpp
C++
Algo_Engine/DevIL/DevIL-master/DevIL/src-IL/src/il_pnm.cpp
Ramsubito/Algo_Engine
0c5af5e9d210f081b19452a470547ed14c640a8f
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
Algo_Engine/DevIL/DevIL-master/DevIL/src-IL/src/il_pnm.cpp
Ramsubito/Algo_Engine
0c5af5e9d210f081b19452a470547ed14c640a8f
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
Algo_Engine/DevIL/DevIL-master/DevIL/src-IL/src/il_pnm.cpp
Ramsubito/Algo_Engine
0c5af5e9d210f081b19452a470547ed14c640a8f
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
//----------------------------------------------------------------------------- // // ImageLib Sources // Copyright (C) 2000-2017 by Denton Woods // Last modified: 03/07/2009 // // Filename: src-IL/src/il_pnm.cpp // // Description: Reads/writes to/from pbm/pgm/ppm formats (enough slashes? =) // //----------------------...
21.228637
100
0.652633
Ramsubito
dc8c1cd9920de9f1e1ba9b6d88ce3b69b652b011
248
cpp
C++
old/AtCoder/wupc2012/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/AtCoder/wupc2012/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/AtCoder/wupc2012/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "vector.hpp" int main() { int n; cin >> n; vector<string> s(n), v; cin >> s; for (int i = 0; i < n; ++i) for (int j = 0; j < n; ++j) if (i != j) v.emplace_back(s[i] + s[j]); cout << *min_element(v.begin(), v.end()) << endl; }
22.545455
98
0.491935
not522
dc8fd2a73bb6d4385ed6404a849c21d7e20462c4
302
cpp
C++
Payslip Generation.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Payslip Generation.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Payslip Generation.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class C1{ public: int x,y; void getperi() { cin>>x>>y; } }; class C2:public C1 { public: int z; void display(){ z=(x+y)*2; cout<<z; } }; int main() { class C2 q; q.getperi(); q.display(); return 0; }
11.615385
21
0.493377
aaryan0348
dc913d62fb8308aaf725d6f2044940d75f989979
355
hpp
C++
net/http/http_header_field.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
net/http/http_header_field.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
net/http/http_header_field.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
#pragma once /** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include <string> namespace Net::HTTP { struct HTTPHeaderField { public: // Properties std::string fieldName; std::string fieldV...
19.722222
56
0.704225
usadson
dc92b3450eb2dc1349e1d913263972e5cf67597a
8,770
cpp
C++
src/bin2llvmir/optimizations/class_hierarchy/hierarchy_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/bin2llvmir/optimizations/class_hierarchy/hierarchy_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/bin2llvmir/optimizations/class_hierarchy/hierarchy_analysis.cpp
Andrik-555/retdec
1ac63a520da02912daf836b924f41d95b1b5fa10
[ "MIT", "BSD-3-Clause" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/** * @file src/bin2llvmir/optimizations/class_hierarchy/hierarchy_analysis.cpp * @brief Analyse results of other analyses to reconstruct class hierarchy. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <iostream> #include "retdec/bin2llvmir/utils/llvm.h" #include "retdec/bin2llvm...
23.449198
88
0.662828
Andrik-555
dc94c788918da54f97a48c75c3cf4577c2d0c321
2,266
cpp
C++
BlitzSharp3D/bbruntime/bbmath.cpp
blitzimagine/BlitzSharp3D
8bb122db92e17a685543b810700b8b47a2930f60
[ "Zlib", "BSD-3-Clause" ]
8
2019-05-28T20:02:50.000Z
2021-10-12T23:34:02.000Z
BlitzSharp3D/bbruntime/bbmath.cpp
blitzimagine/BlitzSharp3D
8bb122db92e17a685543b810700b8b47a2930f60
[ "Zlib", "BSD-3-Clause" ]
null
null
null
BlitzSharp3D/bbruntime/bbmath.cpp
blitzimagine/BlitzSharp3D
8bb122db92e17a685543b810700b8b47a2930f60
[ "Zlib", "BSD-3-Clause" ]
1
2019-12-25T01:02:00.000Z
2019-12-25T01:02:00.000Z
#include "std.h" #include "bbmath.h" static int rnd_state; static const int RND_A = 48271; static const int RND_M = 2147483647; static const int RND_Q = 44488; static const int RND_R = 3399; static const float dtor = 0.0174532925199432957692369076848861f; static const float rtod = 57.2957795130823208767981548141052f...
27.975309
71
0.667255
blitzimagine
dc96eb2c831b2d9130ba12b4412ec85c580b9cf3
3,619
cpp
C++
NMSELauncher/main.cpp
Ant2888/NMSExtender
165485f198990c1021a8998c55f77580d147a49e
[ "MIT" ]
63
2016-08-16T00:28:37.000Z
2021-03-15T00:06:11.000Z
NMSELauncher/main.cpp
Ant2888/NMSExtender
165485f198990c1021a8998c55f77580d147a49e
[ "MIT" ]
12
2016-08-17T10:38:12.000Z
2016-11-30T13:34:14.000Z
NMSELauncher/main.cpp
Ant2888/NMSExtender
165485f198990c1021a8998c55f77580d147a49e
[ "MIT" ]
21
2016-08-16T20:05:31.000Z
2020-11-15T20:12:21.000Z
#include "NMSE_Libs\Hooking.h" #include "NMSE_Libs\Steam.h" #include "NMSE_Libs\VersionControl.h" // Have to give large credit to the F4SE/SKSE/OBSE etc.. crew; Most specifically Ian Patterson and Stephen Abel #define DEBUG 0 //275850 -- game id int main(int argc, char* argv) { const char* dllName = "NMSE Core.dll"...
31.745614
134
0.657088
Ant2888
dc98c210ce8c41cd50c093c271b6acd914349460
3,113
cpp
C++
forms/hscrollbar.cpp
agry/x-com
ff226a917a80ddc4501767d947bd49ee5ab61b0d
[ "MIT" ]
null
null
null
forms/hscrollbar.cpp
agry/x-com
ff226a917a80ddc4501767d947bd49ee5ab61b0d
[ "MIT" ]
null
null
null
forms/hscrollbar.cpp
agry/x-com
ff226a917a80ddc4501767d947bd49ee5ab61b0d
[ "MIT" ]
null
null
null
#include "forms/hscrollbar.h" #include "framework/framework.h" #include "game/resources/gamecore.h" #include "framework/includes.h" namespace OpenApoc { HScrollBar::HScrollBar( Framework &fw, Control* Owner ) : Control( fw, Owner ), capture(false), GripperColour( 220, 192, 192 ), Minimum(0), Maximum(10), Value(0), ...
28.824074
178
0.665275
agry
dc993fc29291f2b2172df087755e530f8c233745
11,075
cpp
C++
src/gerbil/FastReader.cpp
danflomin/gerbil
699826e07c81a5bcb045d23ebc33371b124115ca
[ "MIT" ]
37
2017-01-04T12:31:47.000Z
2022-03-11T08:47:32.000Z
src/gerbil/FastReader.cpp
danflomin/gerbil
699826e07c81a5bcb045d23ebc33371b124115ca
[ "MIT" ]
18
2016-05-06T07:58:48.000Z
2022-02-17T04:11:17.000Z
src/gerbil/FastReader.cpp
danflomin/gerbil
699826e07c81a5bcb045d23ebc33371b124115ca
[ "MIT" ]
13
2016-05-16T12:52:50.000Z
2022-03-02T19:26:50.000Z
/* * FastReader.cpp * * Created on: 20.05.2015 * Author: marius */ #define OLD_ZIP_DECOMPR false #include "../../include/gerbil/FastReader.h" #include <errno.h> gerbil::FastReader::FastReader(const uint32_t &frBlocksNumber, std::string pPath, uint8 &_readerParserThreadsNumber) : _path(pPath), _process...
28.180662
100
0.656163
danflomin
dca016d93696d747145c8a80fb6c8b7e9d59db92
1,988
cpp
C++
src/factormap.cpp
gbryant/number-explorer
f1423bb682a6cbfd8238ba980f32659842295456
[ "Apache-2.0" ]
null
null
null
src/factormap.cpp
gbryant/number-explorer
f1423bb682a6cbfd8238ba980f32659842295456
[ "Apache-2.0" ]
null
null
null
src/factormap.cpp
gbryant/number-explorer
f1423bb682a6cbfd8238ba980f32659842295456
[ "Apache-2.0" ]
null
null
null
/*********************************************************************** Copyright 2018 Gregory Bryant 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...
23.666667
76
0.548793
gbryant
dca0e399f17f18ac042d477da446f17fdf4abb1b
1,451
cpp
C++
ByteCat/src/byteCat/lua/LuaAPI.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
2
2021-04-07T11:39:24.000Z
2022-03-02T11:24:58.000Z
ByteCat/src/byteCat/lua/LuaAPI.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
null
null
null
ByteCat/src/byteCat/lua/LuaAPI.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
null
null
null
#include "bcpch.h" #include "byteCat/lua/LuaAPI.h" namespace BC { namespace LuaAPI { // Get static std::map<const char*, std::function<void()>> GetFunctions; int Get(lua_State* vm) { if (!lua_isstring(vm, 1)) { LOG_WARN("First argument of Get function needs to be a string!"); lua_pushnil(vm); ...
18.367089
79
0.594073
CodingWithMenno
dca4ce88285ea9da954dbd362a0e6f6326377912
3,384
cpp
C++
old-sybil/FrameTestApp1/Content/D2CoreTextBridge.cpp
sugarontop/UWPFRM
ab93099b7e15c525f782cfaa225faaf4bd239686
[ "MIT" ]
null
null
null
old-sybil/FrameTestApp1/Content/D2CoreTextBridge.cpp
sugarontop/UWPFRM
ab93099b7e15c525f782cfaa225faaf4bd239686
[ "MIT" ]
null
null
null
old-sybil/FrameTestApp1/Content/D2CoreTextBridge.cpp
sugarontop/UWPFRM
ab93099b7e15c525f782cfaa225faaf4bd239686
[ "MIT" ]
null
null
null
#include "pch.h" #include "D2DContext.h" using namespace V4; D2CoreTextBridge::D2CoreTextBridge():edcxt_(nullptr),target_(nullptr) { } void D2CoreTextBridge::Set( Windows::UI::Text::Core::CoreTextEditContext^ cxt) { edcxt_ = cxt; edSelection_.StartCaretPosition = 0; edSelection_.EndCaretPosition = 0; } void D2Co...
21.55414
115
0.686466
sugarontop
dca74d1338ce7d2bbb971e4a7be7e0174860ba8a
19,806
cc
C++
native/src/Canvas.cc
denimkqqa/skija
648ee504a05b65b3fe9db2a5eaf9dca53d83e78b
[ "Apache-2.0" ]
1
2020-11-17T19:13:55.000Z
2020-11-17T19:13:55.000Z
native/src/Canvas.cc
denimkqqa/skija
648ee504a05b65b3fe9db2a5eaf9dca53d83e78b
[ "Apache-2.0" ]
null
null
null
native/src/Canvas.cc
denimkqqa/skija
648ee504a05b65b3fe9db2a5eaf9dca53d83e78b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <jni.h> #include "SkCanvas.h" #include "SkRRect.h" #include "SkTextBlob.h" #include "SkVertices.h" #include "hb.h" #include "interop.hh" static void deleteCanvas(SkCanvas* canvas) { // std::cout << "Deleting [SkCanvas " << canvas << "]" << std::endl; delete canvas; } extern "C" JN...
58.424779
189
0.757296
denimkqqa
dca8468965ec36ad45c37856e69e72303f9fe340
10,352
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Sorting_Array.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Sorting_Array.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/Foundation/Sources/Sorting_Array.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ // This ifndef/define/endif stuff only needed if qRealTemplatesAvailable && !qTemplatesHasRepository #ifndef __Sorting_Array__cc #define __Sorting_Array__cc /* * $Header: /fuji/lewis/RCS/Sorting_Array.cc,v 1.18 1992/12/03 19:20:31 lewis Exp $ ...
26.958333
128
0.670015
SophistSolutions
dca9e0920c794dea44ddf7d38c497141fb8fd040
4,446
cpp
C++
chap15/ex2/ex2_test.cpp
jamesreinders/optimization-manual
1d370df8ee5bdd1427ea8757514f1048cd394ef1
[ "0BSD" ]
374
2021-06-08T10:42:01.000Z
2022-03-29T14:21:45.000Z
chap15/ex2/ex2_test.cpp
jamesreinders/optimization-manual
1d370df8ee5bdd1427ea8757514f1048cd394ef1
[ "0BSD" ]
1
2021-06-11T20:24:02.000Z
2021-06-11T20:24:02.000Z
chap15/ex2/ex2_test.cpp
jamesreinders/optimization-manual
1d370df8ee5bdd1427ea8757514f1048cd394ef1
[ "0BSD" ]
39
2021-06-08T11:25:29.000Z
2022-03-05T05:14:17.000Z
/* * Copyright (C) 2021 by Intel Corporation * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES O...
30.244898
80
0.708277
jamesreinders
dcab93f5d2e259517c5620a4c213773767da9bfb
935
hpp
C++
Source/Scenes/DecryptTextScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
13
2020-05-01T02:03:14.000Z
2022-02-03T17:48:26.000Z
Source/Scenes/DecryptTextScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
5
2021-01-22T11:58:21.000Z
2022-01-21T21:06:17.000Z
Source/Scenes/DecryptTextScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
3
2021-01-22T09:05:50.000Z
2022-01-12T09:16:44.000Z
#pragma once #include "Scene.hpp" #include <Algorithm/Algorithm.hpp> NS_ENIGMA_BEGIN class DecryptTextScene : public Enigma::Scene { public: /* Constructors / Destructor */ explicit DecryptTextScene(); virtual ~DecryptTextScene() = default; private: /* Overrides */ void OnCreate() override; [[maybe_unused]] void ...
26.714286
109
0.762567
BaderEddineOuaich
dcb00a93b65b99dc8ac68c73b692e7e235bf433d
53,821
hpp
C++
include/UnityEngine/UI/Dropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/Dropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/UI/Dropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.UI...
61.863218
1,142
0.732651
marksteward
dcb0198aef96782001c0e38e777ae6e5b4b81fe1
15,142
cpp
C++
src/tests/systestscript.cpp
DBCGlobal/DragonBallChain
4d2b2c69048980e367a4235a70180dc0b9acc81f
[ "MIT" ]
2
2021-10-03T14:27:03.000Z
2021-10-19T15:29:27.000Z
src/tests/systestscript.cpp
DBCGlobal/DragonBallChain
4d2b2c69048980e367a4235a70180dc0b9acc81f
[ "MIT" ]
null
null
null
src/tests/systestscript.cpp
DBCGlobal/DragonBallChain
4d2b2c69048980e367a4235a70180dc0b9acc81f
[ "MIT" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2017-2019 The DragonBallChain Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifdef TODO #include <stdlib.h> #include <time.h> #include "main.h" #incl...
26.611599
109
0.698587
DBCGlobal
dcb38186c6b2d268aaaac206e0c04fd9cb8cd3ea
2,943
cpp
C++
Code/Tools/Core/Helpers/CommonDialogs.cpp
gmodarelli/KRG
ccd68101dad4aa09bfe3f05ac6419c765f2040d9
[ "MIT" ]
2
2022-03-25T17:37:45.000Z
2022-03-26T02:22:22.000Z
Code/Tools/Core/Helpers/CommonDialogs.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
null
null
null
Code/Tools/Core/Helpers/CommonDialogs.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
null
null
null
#include "CommonDialogs.h" #include "Tools/Core/ThirdParty/pfd/portable-file-dialogs.h" //------------------------------------------------------------------------- namespace KRG { FileSystem::Path SaveDialog( String const& extension, FileSystem::Path const& startingPath, String const& friendlyFilterName ) { ...
38.220779
153
0.541964
gmodarelli
dcb401bb3dd64329b0c3b61d6d2ccb3ea5e0d084
945
hpp
C++
standard/11/type_traits/type_traits.hpp
jrdbb/cpp
99a7f8ac8e280324aaa72f611558b7ccd74adfaa
[ "MIT" ]
null
null
null
standard/11/type_traits/type_traits.hpp
jrdbb/cpp
99a7f8ac8e280324aaa72f611558b7ccd74adfaa
[ "MIT" ]
9
2021-06-01T02:43:51.000Z
2021-09-12T05:26:35.000Z
standard/11/type_traits/type_traits.hpp
jrdbb/cpp
99a7f8ac8e280324aaa72f611558b7ccd74adfaa
[ "MIT" ]
null
null
null
namespace cpp { namespace std11 { template <typename T, T v> struct integral_constant { static constexpr T value = v; using value_type = T; using type = integral_constant; constexpr operator value_type() const noexcept { return value; } // custom type operator }; using false_type = integr...
22.5
52
0.704762
jrdbb
dcb43d45d5900f70f191fdb6d434bea6158c84bc
1,687
cpp
C++
Contest_3/B.cpp
Forsenlol/Practice_algorithms
6b64ac5c5cd86d12bc6fb24ebde5f5a42dca330f
[ "MIT" ]
null
null
null
Contest_3/B.cpp
Forsenlol/Practice_algorithms
6b64ac5c5cd86d12bc6fb24ebde5f5a42dca330f
[ "MIT" ]
null
null
null
Contest_3/B.cpp
Forsenlol/Practice_algorithms
6b64ac5c5cd86d12bc6fb24ebde5f5a42dca330f
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <stack> #include <algorithm> #include <bits/stdc++.h> int const N = 100000; std::vector<int> graph[N]; bool visited[N]; std::stack<int> topSort; void dfs(const int &v) { if (visited[v]) { return; } visited[v] = true; int size = gr...
23.109589
90
0.43035
Forsenlol
dcb6d587a31f66430e4dc8cb4e1a3ee37a65f579
1,159
cpp
C++
src/0140.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
38
2020-03-05T06:38:32.000Z
2022-03-11T02:32:14.000Z
src/0140.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
null
null
null
src/0140.cpp
downdemo/LeetCode-Solutions-in-Cpp17
e6ad1bd56ecea08fc418a9b50e78bdac23860e9f
[ "MIT" ]
16
2020-04-02T15:13:20.000Z
2022-02-25T07:34:35.000Z
class Solution { public: vector<string> wordBreak(string s, vector<string>& wordDict) { unordered_set<string> wordSet{begin(wordDict), end(wordDict)}; vector<bool> dp(size(s) + 1); dp[0] = true; for (int i = 1; i < size(dp); ++i) { for (int j = 0; j < i; ++j) { if (dp[j] && wordSet.coun...
24.659574
77
0.477135
downdemo
dcb90d0d9ab0e29f233bae3b656d03a99d2685c9
12,179
cpp
C++
Extensions/Widget/MainWindow.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Extensions/Widget/MainWindow.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Extensions/Widget/MainWindow.cpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// \file MainWindow.cpp /// /// Authors: Chris Peters /// Copyright 2010-2011, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #include "Precompiled.hpp" na...
33.924791
105
0.707201
RachelWilSingh
dcb9da7a75753ef64a8913e4757c3fa4df713b7f
347
hpp
C++
Practicas/P2/Practica2_Windows/Practica2/include/obj3dlib/luz.hpp
josepadial/IA
1399eb587fab8626e50429521391c9064a2d229b
[ "MIT" ]
1
2020-03-07T19:16:38.000Z
2020-03-07T19:16:38.000Z
Practicas/P2/Practica2_Windows/Practica2/include/obj3dlib/luz.hpp
josepadial/IA
1399eb587fab8626e50429521391c9064a2d229b
[ "MIT" ]
null
null
null
Practicas/P2/Practica2_Windows/Practica2/include/obj3dlib/luz.hpp
josepadial/IA
1399eb587fab8626e50429521391c9064a2d229b
[ "MIT" ]
1
2020-03-07T19:16:39.000Z
2020-03-07T19:16:39.000Z
#ifndef LUZ_H #define LUZ_H #endif // LUZ_H #include "obj3dlib/objeto3d.h" #include<GL/gl.h> class Luz : public Objeto3D{ private: GLenum nLuz; bool encendida = false; public: Luz(GLenum numero) : Objeto3D(), nLuz(numero){} ~Luz(){}; void encender(){encendida = true;} void apagar(){encendida = fa...
16.52381
51
0.645533
josepadial
dcb9f6cc85a9721f4cebaf3cf2e3ba6045f17c96
2,572
cc
C++
app_sandbox/process_a_main.cc
xyyeh/Cpp_tutorials
cb5c750a61013d252e1a7e53100690315bfa931b
[ "Unlicense" ]
1
2019-12-04T06:03:10.000Z
2019-12-04T06:03:10.000Z
app_sandbox/process_a_main.cc
xyyeh/cpp_tutorials
cb5c750a61013d252e1a7e53100690315bfa931b
[ "Unlicense" ]
null
null
null
app_sandbox/process_a_main.cc
xyyeh/cpp_tutorials
cb5c750a61013d252e1a7e53100690315bfa931b
[ "Unlicense" ]
null
null
null
#include <fcntl.h> #include <pthread.h> #include <sched.h> #include <semaphore.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <chrono> #include <iostream> #include "shm_sem.h" bool kill_program = false; vo...
24.730769
80
0.659409
xyyeh
dcc2be5828fa3dec1740d90355b941aecf14d824
5,167
cxx
C++
Qt/ApplicationComponents/pqUndoRedoReaction.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Qt/ApplicationComponents/pqUndoRedoReaction.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Qt/ApplicationComponents/pqUndoRedoReaction.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: ParaView Module: pqUndoRedoReaction.cxx Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ...
36.907143
159
0.595897
vbnhfylbh
dccbe3448eea14c04deafe4f2d9f335c7a21c874
5,200
cc
C++
ttsflow/vocoder/sptk/lib/fftr.cc
npuichigo/ttsflow
e0bf1ea99eecc105b6acccbc76872a612e31ad4d
[ "Apache-2.0" ]
16
2017-08-02T13:28:09.000Z
2021-11-23T11:31:11.000Z
ttsflow/vocoder/sptk/lib/fftr.cc
npuichigo/ttsflow
e0bf1ea99eecc105b6acccbc76872a612e31ad4d
[ "Apache-2.0" ]
1
2019-01-03T01:54:05.000Z
2019-07-12T09:53:06.000Z
ttsflow/vocoder/sptk/lib/fftr.cc
npuichigo/ttsflow
e0bf1ea99eecc105b6acccbc76872a612e31ad4d
[ "Apache-2.0" ]
6
2018-08-30T04:14:29.000Z
2021-04-14T06:37:49.000Z
/* ----------------------------------------------------------------- */ /* The Speech Signal Processing Toolkit (SPTK) */ /* developed by SPTK Working Group */ /* http://sp-tk.sourceforge.net/ */ /* -----------------------------...
36.363636
71
0.437308
npuichigo
dcd48286d9cf7c7e01f38feca8b6b7c9565f3b9d
829
cpp
C++
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_generated.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_generated.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
vulnerability_examples/vulnerable_contracts/swc-101/case_study/SSA_Encoding_generated.cpp
kunjsong01/data_set
dffdc54da103adca217b8c3c20a5097b0fe2fc1e
[ "Apache-2.0" ]
null
null
null
Generated 1 VCC(s), 1 remaining after simplification (5 assignments) Encoding remaining VCC(s) using bit-vector/floating-point arithmetic |sol:MyContract_case_study.solast@445@F@nondet@i?1!0&0#0| sort is (_ BitVec 8) |sol:@F@func_case_study::$tmp::return_value$_nondet$1?1!0&0#1| sort is (_ BitVec 8) (bvsgt ((_ zero_e...
30.703704
82
0.712907
kunjsong01
dcd66f63878a5805bd772412a0e2d0bc53b5fcd1
2,595
cc
C++
src/output/test/test_xdmf.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/output/test/test_xdmf.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/output/test/test_xdmf.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
#include "UnitTest++.h" #define MSTK_HAVE_MPI #include "Mesh_MSTK.hh" #include "OutputXDMF.hh" TEST(XDMF) { #ifdef HAVE_MPI auto comm = Amanzi::getDefaultComm(); Teuchos::RCP<Amanzi::AmanziMesh::Mesh_MSTK> Mesh = Teuchos::rcp( new Amanzi::AmanziMesh::Mesh_MSTK(0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 8, 1, 1,...
31.646341
78
0.652023
fmyuan
dcdb265da4b3a00c9e21d03fccca7300188a1b36
8,031
hpp
C++
include/HMUI/TextSegmentedControlCell.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/TextSegmentedControlCell.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HMUI/TextSegmentedControlCell.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: HMUI.SegmentedControlCell #...
48.672727
178
0.727556
RedBrumbler
dcdcfef4fe40fac50d05ff122200544392be77a2
15,188
cpp
C++
core/src/moldyn/MMPLDDataSource.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
core/src/moldyn/MMPLDDataSource.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
core/src/moldyn/MMPLDDataSource.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
/* * MMPLDDataSource.cpp * * Copyright (C) 2010 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/moldyn/MMPLDDataSource.h" #include "mmcore/param/FilePathParam.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/IntParam.h" #include "mmcore/moldyn/Mult...
35.569087
135
0.623848
sellendk
dcdd2d5580e423ca8f90452df4ff073e2ed7a5b3
1,233
cpp
C++
tests/gtests/test_data_number.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
tests/gtests/test_data_number.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
tests/gtests/test_data_number.cpp
johnrsibert/admb
063ec863a9f23f6c6afbc7d481af0476b8d63645
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <admodel.h> #include <df1b2fun.h> extern "C" { void test_ad_exit(const int exit_code); } class test_data_number: public ::testing::Test { public: virtual ~test_data_number() { } virtual void TearDown() { f1b2gradlist = NULL; df1b2variable::pool = NULL; } }; TES...
18.681818
100
0.694242
johnrsibert
dcde2ad1ff619eee89d93461f5a320eaf85720e5
42,917
cpp
C++
Source/DlgSystem/Private/Tests/DlgIOTesterTypes.cpp
Lyall-X/DlgSystem
5c83802d1705c711f2bd1ca294b3b5ef938fec77
[ "MIT" ]
null
null
null
Source/DlgSystem/Private/Tests/DlgIOTesterTypes.cpp
Lyall-X/DlgSystem
5c83802d1705c711f2bd1ca294b3b5ef938fec77
[ "MIT" ]
null
null
null
Source/DlgSystem/Private/Tests/DlgIOTesterTypes.cpp
Lyall-X/DlgSystem
5c83802d1705c711f2bd1ca294b3b5ef938fec77
[ "MIT" ]
1
2020-03-09T12:44:24.000Z
2020-03-09T12:44:24.000Z
// Copyright 2017-2018 Csaba Molnar, Daniel Butum #include "Tests/DlgIOTesterTypes.h" #include "Engine/Engine.h" #include "Tests/DlgTesterHelper.h" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // UDlgTestObjectPrimitivesBase void UDlgTestOb...
37.286707
327
0.739357
Lyall-X
dce17b55c3bdcb5b0097ce780eee2ee588a87a37
8,085
cc
C++
src/systems/joint_controller/JointController.cc
caioaamaral/ign-gazebo
770ea2ae873d52cd7d867d0a8abbd929602bf3fe
[ "ECL-2.0", "Apache-2.0" ]
2
2021-04-03T03:25:52.000Z
2021-07-08T12:03:22.000Z
src/systems/joint_controller/JointController.cc
caioaamaral/ign-gazebo
770ea2ae873d52cd7d867d0a8abbd929602bf3fe
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/systems/joint_controller/JointController.cc
caioaamaral/ign-gazebo
770ea2ae873d52cd7d867d0a8abbd929602bf3fe
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 Open Source Robotics 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 * * Unless required by appl...
31.096154
79
0.608905
caioaamaral
dce60c3525cf59f8cfadfd749f6b32a6a641c3ca
4,606
cpp
C++
google-code-jam/2020/round1a/a_b.cpp
zaurus-yusya/atcoder
5fc345b3da50222fa1366d1ce52ae58799488cef
[ "MIT" ]
3
2020-05-27T16:27:12.000Z
2021-01-27T12:47:12.000Z
google-code-jam/2020/round1a/a_b.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
google-code-jam/2020/round1a/a_b.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; #define rep(i,n) for(ll i=0;i<(n);i++) #define repr(i,n) for(ll i=(n-1);i>=0;i--) #define pb push_back #define mp make_pair #define all(x) x.begin(),x.end() #define br cout << "\n"; using namespace std; const int INF = 1e9; const int MOD = 1e9+7; using Graph = vector<vecto...
24.115183
95
0.307859
zaurus-yusya
dce843c460d895019de372d0f24b1e08a305883f
3,220
cpp
C++
MasterThesis/src/Camera.cpp
tomaslori/AbsolutEngine
b8aec615b6d87af40d8e3fe4d4ec407c78c510fc
[ "MIT" ]
null
null
null
MasterThesis/src/Camera.cpp
tomaslori/AbsolutEngine
b8aec615b6d87af40d8e3fe4d4ec407c78c510fc
[ "MIT" ]
null
null
null
MasterThesis/src/Camera.cpp
tomaslori/AbsolutEngine
b8aec615b6d87af40d8e3fe4d4ec407c78c510fc
[ "MIT" ]
null
null
null
#include "Camera.h" // Constructor with vectors Camera::Camera(glm::vec3 position, glm::vec3 up, GLfloat yaw, GLfloat pitch) : Front(glm::vec3(0.0f, 0.0f, -1.0f)), MovementSpeed(SPEED), MouseSensitivity(SENSITIVTY), Zoom(ZOOM) { this->Position = position; this->WorldUp = up; this->Yaw = yaw; this->Pitch = pitch; ...
36.590909
225
0.711801
tomaslori
dced82f14cbde2f8b06db8c17bab2b3500766ae9
7,790
cpp
C++
src/Corrade/Utility/Test/MacrosTest.cpp
JiangKevin/fmcorrade
f7f5ae8d94ad008c7529078a4ecd08c7b77bff57
[ "MIT", "Unlicense" ]
null
null
null
src/Corrade/Utility/Test/MacrosTest.cpp
JiangKevin/fmcorrade
f7f5ae8d94ad008c7529078a4ecd08c7b77bff57
[ "MIT", "Unlicense" ]
null
null
null
src/Corrade/Utility/Test/MacrosTest.cpp
JiangKevin/fmcorrade
f7f5ae8d94ad008c7529078a4ecd08c7b77bff57
[ "MIT", "Unlicense" ]
1
2020-12-31T09:16:05.000Z
2020-12-31T09:16:05.000Z
/* This file is part of Corrade. Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
32.731092
126
0.696021
JiangKevin
dcef331bb3abf90dea66dc0970d61a5bc56fdcd0
2,412
cpp
C++
extras/xmem/tests/src/main.test.cpp
Guekka/bsa
513ea4f5213635e04cbb9383b3fe7e67261e45dc
[ "MIT" ]
16
2020-02-13T05:46:18.000Z
2022-01-15T06:25:09.000Z
extras/xmem/tests/src/main.test.cpp
Guekka/bsa
513ea4f5213635e04cbb9383b3fe7e67261e45dc
[ "MIT" ]
9
2021-08-03T18:51:29.000Z
2022-03-04T14:23:16.000Z
extras/xmem/tests/src/main.test.cpp
Guekka/bsa
513ea4f5213635e04cbb9383b3fe7e67261e45dc
[ "MIT" ]
6
2020-07-26T01:15:24.000Z
2021-12-11T22:04:42.000Z
#include "../../src/main.cpp" #include <array> #include <cstdlib> #include <cstring> #include <filesystem> #include <iostream> #include <sstream> #include <streambuf> #include <string> #include <utility> #include <vector> #include <catch2/catch.hpp> #include <mmio/mmio.hpp> #include "bsa/xmem/xmem.hpp" using namesp...
21.72973
90
0.65257
Guekka
fd67b8e0ad48e3e70fbbbeecef85ff59c4da2bfd
6,209
cpp
C++
src/all/apt/Serializer.cpp
WildSheepStudio/ApplicationTools
d5e7c9dae5260e80352351889cf682123fbd9ab4
[ "MIT" ]
1
2018-03-27T08:31:45.000Z
2018-03-27T08:31:45.000Z
src/all/apt/Serializer.cpp
WildSheepStudio/ApplicationTools
d5e7c9dae5260e80352351889cf682123fbd9ab4
[ "MIT" ]
1
2018-05-17T09:57:07.000Z
2018-05-17T09:57:07.000Z
src/all/apt/Serializer.cpp
WildSheepStudio/ApplicationTools
d5e7c9dae5260e80352351889cf682123fbd9ab4
[ "MIT" ]
null
null
null
#include <apt/Serializer.h> #include <apt/log.h> #include <cstdarg> using namespace apt; // PUBLIC void Serializer::setError(const char* _msg, ...) { if (_msg) { va_list args; va_start(args, _msg); m_errStr.setfv(_msg, args); va_end(args); } else { m_errStr.clear(); } } template <typename tType, uint...
59.133333
166
0.700113
WildSheepStudio
fd692d2d4e82202f93b038e4666e1ec668a897cf
2,331
hpp
C++
core/include/TXPK/Core/Common.hpp
Seng3694/TXPK
76a5441dc70b4a5d5d2596525de950a2d2e65aab
[ "MIT" ]
6
2019-01-05T08:14:02.000Z
2021-12-02T18:29:35.000Z
core/include/TXPK/Core/Common.hpp
lineCode/TXPK
20d4cd75611a44babf2bf41d5359141020dc6684
[ "MIT" ]
1
2018-03-28T06:33:08.000Z
2018-03-29T08:22:43.000Z
core/include/TXPK/Core/Common.hpp
Seng3694/TexturePacker
76a5441dc70b4a5d5d2596525de950a2d2e65aab
[ "MIT" ]
2
2018-12-11T01:11:20.000Z
2020-10-30T08:14:04.000Z
#pragma once namespace txpk { typedef signed char int8; typedef unsigned char uint8; typedef signed short int16; typedef unsigned short uint16; typedef signed int int32; typedef unsigned int uint32; typedef signed long long int64; typedef unsigned long long uint64; /** * ...
44.826923
96
0.451308
Seng3694
fd6c19d1e4ed143173cc796435f83f942bfd379d
37,620
cpp
C++
plugins/follow/plugin.cpp
golos-classic/golos
4ed2e9d42944f8fd35458895cd06ea2b26e010f1
[ "MIT" ]
8
2019-03-29T10:44:05.000Z
2019-11-01T12:06:57.000Z
plugins/follow/plugin.cpp
golos-classic/golos
4ed2e9d42944f8fd35458895cd06ea2b26e010f1
[ "MIT" ]
42
2019-08-13T21:48:32.000Z
2019-12-09T11:27:36.000Z
plugins/follow/plugin.cpp
golos-classic/golos
4ed2e9d42944f8fd35458895cd06ea2b26e010f1
[ "MIT" ]
5
2019-04-11T17:58:55.000Z
2019-10-27T16:24:21.000Z
#include <golos/plugins/follow/follow_objects.hpp> #include <golos/plugins/follow/follow_operations.hpp> #include <golos/plugins/follow/follow_evaluators.hpp> #include <golos/protocol/config.hpp> #include <golos/protocol/exceptions.hpp> #include <golos/chain/database.hpp> #include <golos/chain/generic_custom_operation_...
44.415584
130
0.476316
golos-classic
fd6d2b9f01dc2f4f8849aa40d67ed50231d03874
561
cpp
C++
src/lib/storage/index/segment_index_type.cpp
simonstadlinger/hyrise
40a484861ee2e541389f937150f39f1c80bc097c
[ "MIT" ]
null
null
null
src/lib/storage/index/segment_index_type.cpp
simonstadlinger/hyrise
40a484861ee2e541389f937150f39f1c80bc097c
[ "MIT" ]
1
2021-07-13T09:59:26.000Z
2021-07-21T05:39:13.000Z
src/lib/storage/index/segment_index_type.cpp
simonstadlinger/hyrise
40a484861ee2e541389f937150f39f1c80bc097c
[ "MIT" ]
null
null
null
#include "segment_index_type.hpp" namespace opossum { std::string segment_index_type_to_string(SegmentIndexType type) { switch (type) { case SegmentIndexType::Invalid: return "Invalid"; case SegmentIndexType::GroupKey: return "Group Key"; case SegmentIndexType::CompositeGroupKey: retur...
24.391304
65
0.698752
simonstadlinger
fd6efdf69bebfc93792730af19e298bf73ce68c8
4,411
cpp
C++
wmi_sample.cpp
adishavit/modernizing_wmi_sample
73180b712bffb8106bd4361d603152c2165488d9
[ "BSD-3-Clause" ]
2
2018-01-01T17:11:17.000Z
2019-05-18T09:58:12.000Z
wmi_sample.cpp
adishavit/modernizing_wmi_sample
73180b712bffb8106bd4361d603152c2165488d9
[ "BSD-3-Clause" ]
null
null
null
wmi_sample.cpp
adishavit/modernizing_wmi_sample
73180b712bffb8106bd4361d603152c2165488d9
[ "BSD-3-Clause" ]
null
null
null
#define _WIN32_DCOM #include <iostream> #include <Wbemidl.h> #pragma comment(lib, "wbemuuid.lib") #include <vector> #include "scoped_utils.h" #define TRY(exp) do { auto hr__ = exp; if (hr__ < 0) throw hr__; } while(0) void Win32_PerfRawData_PerfProc_Process() { TRY(CoInitializeEx(nullptr,...
33.416667
143
0.630243
adishavit
fd736d17119c017eaebacb98e57738a415ca78d1
3,168
cpp
C++
src/QtLZip/fileheader.cpp
Vladimir-Lin/QtLZip
fae4dd5e8bd6fbe196b988af7f333906ff3f387c
[ "MIT" ]
null
null
null
src/QtLZip/fileheader.cpp
Vladimir-Lin/QtLZip
fae4dd5e8bd6fbe196b988af7f333906ff3f387c
[ "MIT" ]
null
null
null
src/QtLZip/fileheader.cpp
Vladimir-Lin/QtLZip
fae4dd5e8bd6fbe196b988af7f333906ff3f387c
[ "MIT" ]
null
null
null
/**************************************************************************** * * Copyright (C) 2016 Neutrino International Inc. * * Author : Brian Lin ( Vladimir Lin , Vladimir Forest ) * E-mail : lin.foxman@gmail.com * : lin.vladimir@gmail.com * : wolfram_lin@yahoo.com * : wolfr...
30.171429
78
0.372475
Vladimir-Lin
fd77d45cbd6bb7ae9f6e94a08e1073472eb28b7c
605
cpp
C++
wasm/tests/stack/user_from_user.cpp
joticajulian/koinos-chain
b5db60b427ebb97dabf1acf8108e94bbc75a46d4
[ "MIT" ]
null
null
null
wasm/tests/stack/user_from_user.cpp
joticajulian/koinos-chain
b5db60b427ebb97dabf1acf8108e94bbc75a46d4
[ "MIT" ]
null
null
null
wasm/tests/stack/user_from_user.cpp
joticajulian/koinos-chain
b5db60b427ebb97dabf1acf8108e94bbc75a46d4
[ "MIT" ]
null
null
null
#include <koinos/system/system_calls.hpp> using namespace std::string_literals; const std::string stack_assertion_id = "\x00\xd5\x54\xbc\x09\x8a\xb2\xb0\x36\x6b\xbc\xe8\x78\x44\x1f\xa0\x2e\xe8\x10\x29\xe1\xaa\x0c\x28\x3f"s; int main() { auto args = koinos::system::get_contract_arguments(); const auto [ caller...
26.304348
143
0.68595
joticajulian
fd7814ac4e0bdff94c34830195d2ee170a71455b
2,811
cc
C++
src/lib/testu01/genode_chrono.cc
trimpim/genode-world
dfe284836e0a2fb3efed199660087d71386fc077
[ "MIT" ]
2
2018-06-25T13:04:26.000Z
2022-01-19T14:56:34.000Z
src/lib/testu01/genode_chrono.cc
trimpim/genode-world
dfe284836e0a2fb3efed199660087d71386fc077
[ "MIT" ]
null
null
null
src/lib/testu01/genode_chrono.cc
trimpim/genode-world
dfe284836e0a2fb3efed199660087d71386fc077
[ "MIT" ]
null
null
null
#include <genode_init.h> #include <base/printf.h> Genode::Allocator *_heap = nullptr; Timer::Connection *_timer = nullptr; void testu01_init(Genode::Allocator &heap, Timer::Connection &timer) { _heap = &heap; _timer = &timer; } /* XXX: should be the CPU session time, but the timer works for now */ static void He...
23.040984
73
0.607257
trimpim
fd7b04f94be0896be077662691d1bf0ab09fa81b
11,653
cpp
C++
Utils/spawn-fastcgi.cpp
NuLL3rr0r/tse-rtsq
84da0cc5ebecdfe7c6bf0e01e332eb131022eec2
[ "MIT" ]
5
2015-10-28T07:05:27.000Z
2021-09-29T12:14:17.000Z
Utils/spawn-fastcgi.cpp
NuLL3rr0r/tse-rtsq
84da0cc5ebecdfe7c6bf0e01e332eb131022eec2
[ "MIT" ]
null
null
null
Utils/spawn-fastcgi.cpp
NuLL3rr0r/tse-rtsq
84da0cc5ebecdfe7c6bf0e01e332eb131022eec2
[ "MIT" ]
2
2015-10-24T18:24:38.000Z
2019-02-02T05:06:48.000Z
/** * @file * @author Mohammad S. Babaei <info@babaei.net> * @version 0.1.0 * * @section LICENSE * * (The MIT License) * * Copyright (c) 2016 Mohammad S. Babaei * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softw...
36.077399
154
0.47816
NuLL3rr0r
fd7cf6569a0bd251ca47012c4ffedaabae72dd47
443
hpp
C++
dev/vehicle/src/utilities/include/KalmanFilter.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
3
2021-02-23T05:23:48.000Z
2021-03-23T07:53:58.000Z
dev/vehicle/src/utilities/include/KalmanFilter.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
1
2021-04-23T01:23:19.000Z
2021-04-23T01:23:19.000Z
dev/vehicle/src/utilities/include/KalmanFilter.hpp
antarikshnarain/ArtemisLeapFrog
4bfdad2f7696d5ce3de419abbd82e9a3d659ce5a
[ "BSD-3-Clause" ]
1
2021-04-01T21:45:40.000Z
2021-04-01T21:45:40.000Z
#ifndef KalmanFilter_h #define KalmanFilter_h #include <chrono> using namespace std::chrono; class KalmanFilter { public: KalmanFilter(double angle = 0.001, double bias = 0.003, double measure = 0.03); double update(double newValue, double newRate); protected: double micros(); private: double Q...
17.038462
80
0.699774
antarikshnarain
fd80073a9999bee1300f02260ec9190dc3aa69d7
1,106
cpp
C++
dataset/test/modification/1594_code_insertion/24/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1594_code_insertion/24/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1594_code_insertion/24/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; #define ll long long int #define F first #define S second #define PB push_back #define MP make_pair #define vi vector<int> #define pi pair<int, int> #define vpi vector<pair<int, int> > #defi...
20.481481
114
0.534358
Karina5005
fd8265cc448301899327feba9432ad445d7c3d53
3,853
cpp
C++
simulator/infra/replacement/t/unit_test.cpp
kiraproger/mipt-mips
432f643315e238138050c3c792d262dfc5135720
[ "MIT" ]
351
2015-09-23T08:30:41.000Z
2022-03-19T09:25:05.000Z
simulator/infra/replacement/t/unit_test.cpp
kiraproger/mipt-mips
432f643315e238138050c3c792d262dfc5135720
[ "MIT" ]
1,098
2016-04-14T18:24:01.000Z
2022-03-28T09:15:05.000Z
simulator/infra/replacement/t/unit_test.cpp
kiraproger/mipt-mips
432f643315e238138050c3c792d262dfc5135720
[ "MIT" ]
243
2016-01-03T02:46:01.000Z
2021-11-23T14:49:09.000Z
/** * Tests for the line replacement modules. * @author Andrey Agrachev */ #include <infra/replacement/cache_replacement.h> #include <catch.hpp> TEST_CASE( "Check_bad_string_pass_to_factory_method") { CHECK_THROWS_AS( create_cache_replacement( "BAD STRING", 3), CacheReplacementException); } TEST_CASE( "Check...
28.753731
92
0.710096
kiraproger
fd8689567c09855fa83fc06e6ef7e1d5dfa5de28
10,250
cc
C++
test/common/config/version_converter_test.cc
Y0Username/envoy
9dd8ae3c69a9917d97a886ed03e1c010dcd9b098
[ "Apache-2.0" ]
null
null
null
test/common/config/version_converter_test.cc
Y0Username/envoy
9dd8ae3c69a9917d97a886ed03e1c010dcd9b098
[ "Apache-2.0" ]
197
2021-04-25T08:17:15.000Z
2022-03-30T11:17:28.000Z
test/common/config/version_converter_test.cc
Y0Username/envoy
9dd8ae3c69a9917d97a886ed03e1c010dcd9b098
[ "Apache-2.0" ]
null
null
null
#include "envoy/api/v2/cluster.pb.h" #include "envoy/api/v2/discovery.pb.h" #include "envoy/config/cluster/v3/cluster.pb.h" #include "envoy/service/discovery/v3/discovery.pb.h" #include "source/common/config/api_version.h" #include "source/common/config/version_converter.h" #include "source/common/protobuf/well_known....
50.492611
100
0.762146
Y0Username
fd86a11360ffd330b2a2aff4f1499e993e73888f
1,186
cc
C++
playground/flens/examples/example-cg.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
98
2015-01-26T20:31:37.000Z
2021-09-09T15:51:37.000Z
playground/flens/examples/example-cg.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
16
2015-01-21T07:43:45.000Z
2021-12-06T12:08:36.000Z
playground/flens/examples/example-cg.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
31
2015-01-05T08:06:45.000Z
2022-01-26T20:12:00.000Z
#include <cxxstd/complex.h> #include <cxxstd/iostream.h> #define USE_PLAYGROUND #include <flens/flens.cxx> using namespace std; using namespace flens; typedef complex<double> T; int main() { /// /// Define convenient matrix/vector types ... /// typedef GeMatrix<FullStorage<T> > Matrix; ...
20.807018
72
0.491568
stip
fd8ade297e919af9370f1dcc8046f30b40372e1b
1,166
cpp
C++
L2-025/L2-025.cpp
codexvn/PTA
f258c312565643d9a15a45f8f7bbc6811cff4019
[ "MIT" ]
null
null
null
L2-025/L2-025.cpp
codexvn/PTA
f258c312565643d9a15a45f8f7bbc6811cff4019
[ "MIT" ]
null
null
null
L2-025/L2-025.cpp
codexvn/PTA
f258c312565643d9a15a45f8f7bbc6811cff4019
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { std::ios::sync_with_stdio(false); int N, M, from, to; cin >> N >> M; vector<int> *data = new vector<int>[N + 1]; vector<bool> flag; for (int i = 0; i < M; ++i) { cin >> from >> to; data[from].push_back(to);...
27.116279
90
0.38765
codexvn
fd8b546849ecb152a996fb35e2c12639c23d1b87
1,714
cpp
C++
test/main.cpp
kendagor/cboreli
b6576255b59e443fed35d80908e3f18aea7ba1dd
[ "MIT" ]
null
null
null
test/main.cpp
kendagor/cboreli
b6576255b59e443fed35d80908e3f18aea7ba1dd
[ "MIT" ]
null
null
null
test/main.cpp
kendagor/cboreli
b6576255b59e443fed35d80908e3f18aea7ba1dd
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------- cboreli - CBOR library test/main.cpp Tests main The MIT License (MIT) Copyright (c) 2016 Elisha Kendagor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (t...
34.28
79
0.690198
kendagor
fd8d74681231b1e688b45ab61cf6777a5fa4302a
26,673
hpp
C++
Includes/Rosetta/PlayMode/Conditions/SelfCondition.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Conditions/SelfCondition.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Conditions/SelfCondition.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_PLAYMODE_SELF_CONDITION_HPP #define ROSET...
43.942339
80
0.729164
Hearthstonepp
fd8d7b3cb589b2c964e6cc8faa44f3f2ba3edd09
14,535
cc
C++
cros_gralloc/cros_gralloc_driver.cc
dyang23/minigbm
b0158941ce1215c563fa7324d846275f5a0182a3
[ "BSD-3-Clause" ]
4
2018-10-16T02:54:16.000Z
2022-01-26T08:56:12.000Z
cros_gralloc/cros_gralloc_driver.cc
dyang23/minigbm
b0158941ce1215c563fa7324d846275f5a0182a3
[ "BSD-3-Clause" ]
14
2020-12-30T04:50:01.000Z
2022-01-17T08:24:36.000Z
cros_gralloc/cros_gralloc_driver.cc
dyang23/minigbm
b0158941ce1215c563fa7324d846275f5a0182a3
[ "BSD-3-Clause" ]
17
2019-05-24T07:57:51.000Z
2022-01-11T05:28:22.000Z
/* * Copyright 2017 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "cros_gralloc_driver.h" #include <cstdlib> #include <fcntl.h> #include <sys/mman.h> #include <xf86drm.h> #include "../drv_priv.h" #in...
25.771277
100
0.708772
dyang23
fd8d98f3de0bd61acc5daf9f0555765c8f65ee39
860
hpp
C++
framework/include/app/application_single.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
framework/include/app/application_single.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
framework/include/app/application_single.hpp
wobakj/VulkanFramework
960628dbc9743f0d74bc13b7d990d0795e32a542
[ "MIT" ]
null
null
null
#ifndef APPLICATION_SINGLE_HPP #define APPLICATION_SINGLE_HPP namespace cmdline { class parser; } class Surface; class SubmitInfo; class FrameResource; template<typename T> class ApplicationSingle : public T { public: // if used as parent fo end-user app, use 1 frame resource ApplicationSingle(std::string con...
23.243243
150
0.769767
wobakj
fd8f21ec4bd53a65634a613a2a329c7718ef81a7
4,912
cpp
C++
Framework/PVRAssets/Model/Mesh.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
13
2017-07-24T05:12:53.000Z
2021-06-12T15:35:40.000Z
Framework/PVRAssets/Model/Mesh.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
null
null
null
Framework/PVRAssets/Model/Mesh.cpp
kusharami/PowerVR_Native_SDK
41557a911316126417ce4c92f1b89396f24f39d6
[ "MIT" ]
5
2017-11-03T19:23:02.000Z
2021-12-24T04:12:34.000Z
/*! \brief Implementations of methods from the Mesh class. \file PVRAssets/Model/Mesh.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ //!\cond NO_DOXYGEN #include <cstring> #include "PVRAssets/Model/Mesh.h" #include<algorithm> using std::map; u...
22.740741
148
0.729235
kusharami
fd9023dcd61800ae374c74b1c8d7aea662ebf291
3,883
hh
C++
packages/MC/mc/Fixed_Source_Solver.t.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/MC/mc/Fixed_Source_Solver.t.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/MC/mc/Fixed_Source_Solver.t.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file MC/mc/Fixed_Source_Solver.t.hh * \author Thomas M. Evans * \date Tue May 13 14:40:06 2014 * \brief Fixed_Source_Solver member definitions. * \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC. ...
30.81746
80
0.550605
GCZhang
fd921b0430d3ff9c1aa5240196d1a5bb681e37cc
1,649
cpp
C++
Source/ToonTanks/Actors/ProjectileBase.cpp
scarriere/udemy-toon-tank
eca969305365aa497d9b9f8461fd03f4cfe476e7
[ "MIT" ]
null
null
null
Source/ToonTanks/Actors/ProjectileBase.cpp
scarriere/udemy-toon-tank
eca969305365aa497d9b9f8461fd03f4cfe476e7
[ "MIT" ]
null
null
null
Source/ToonTanks/Actors/ProjectileBase.cpp
scarriere/udemy-toon-tank
eca969305365aa497d9b9f8461fd03f4cfe476e7
[ "MIT" ]
null
null
null
// Copyright Samuel Carriere 2020 #include "ProjectileBase.h" #include "GameFramework/ProjectileMovementComponent.h" #include "Kismet/GameplayStatics.h" #include "Particles/ParticleSystemComponent.h" AProjectileBase::AProjectileBase() { PrimaryActorTick.bCanEverTick = false; ProjectileMesh = CreateDefaultSubobjec...
34.354167
169
0.796847
scarriere
fd93a245f621dd68f38919f001f8ea4dd18d5d9f
408
cpp
C++
AL_28_01.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
AL_28_01.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
AL_28_01.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; int main() { char str[30] = ""; int length; scanf("%d", &length); scanf("%s", str); for (int max = length >> 1, i = 0; i <= max; ++i) { for (int j = 1, mid = (length >> 1) + 1; j <= length; ++j) { if (j >= mid - i && j <= mid + i) { putchar(str[j - ...
16.32
63
0.431373
kociap
fd9652edae0f8fb5c0e6a226a930fab68b88c090
934
cpp
C++
Runtime/Collision/CAABoxFilter.cpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/Collision/CAABoxFilter.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/Collision/CAABoxFilter.cpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#include "Runtime/Collision/CAABoxFilter.hpp" #include "Runtime/Collision/CCollisionInfoList.hpp" #include "Runtime/Collision/CollisionUtil.hpp" namespace metaforce { void CAABoxFilter::Filter(const CCollisionInfoList& in, CCollisionInfoList& out) const { FilterBoxFloorCollisions(in, out); } void CAABoxFilter::Fi...
30.129032
100
0.711991
Jcw87
fd96b8169020a1018f906be597e2ae5f74f64bc2
984
cpp
C++
src/init.cpp
sctyner/dplyr050
2cbd6a865be61043b1076785db6d9e076ee4b1d6
[ "MIT" ]
1
2018-03-20T02:46:38.000Z
2018-03-20T02:46:38.000Z
src/init.cpp
sctyner/dplyr050
2cbd6a865be61043b1076785db6d9e076ee4b1d6
[ "MIT" ]
null
null
null
src/init.cpp
sctyner/dplyr050
2cbd6a865be61043b1076785db6d9e076ee4b1d6
[ "MIT" ]
null
null
null
#include <Rcpp.h> #include <dplyr.h> using namespace Rcpp ; using namespace dplyr ; #define DPLYR_REGISTER(__FUN__) R_RegisterCCallable( "dplyr", #__FUN__, (DL_FUNC)__FUN__ ); SEXP get_cache(){ static SEXP cache = 0; if( !cache ){ SEXP vec = PROTECT(Rf_allocVector(VECSXP, 2)) ; SEXP date_clas...
25.230769
91
0.672764
sctyner