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
99f09e8272f154346db8423686c64a54e85136cb
693
hpp
C++
library/ATF/ATL___ATL_WNDCLASSINFOA.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/ATL___ATL_WNDCLASSINFOA.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/ATL___ATL_WNDCLASSINFOA.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <tagWNDCLASSEXA.hpp> START_ATF_NAMESPACE namespace ATL { #pragma pack(push, 8) struct _ATL_WNDCLASSINFOA { tagWNDCL...
27.72
108
0.629149
lemkova
99f87c60466205d1495428be4a4050bf9c916098
7,703
cpp
C++
piel/mavenmetadata.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
piel/mavenmetadata.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
piel/mavenmetadata.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
1
2017-12-28T11:37:42.000Z
2017-12-28T11:37:42.000Z
/* * Copyright (c) 2017, Dmytro Iakovliev daemondzk@gmail.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * no...
37.393204
112
0.676619
diakovliev
99f8dce19c08b1082a13e8317ab479f4966060bc
1,572
cpp
C++
LinuxEventHandler.cpp
jack-karamanian/NetInput
ae711ec2d90ceb599084ce7eb97ad8bf3ef08ed1
[ "MIT" ]
1
2017-11-06T14:20:01.000Z
2017-11-06T14:20:01.000Z
LinuxEventHandler.cpp
jack-karamanian/NetInput
ae711ec2d90ceb599084ce7eb97ad8bf3ef08ed1
[ "MIT" ]
null
null
null
LinuxEventHandler.cpp
jack-karamanian/NetInput
ae711ec2d90ceb599084ce7eb97ad8bf3ef08ed1
[ "MIT" ]
null
null
null
#include <linux/input.h> #include <unistd.h> #include <cstring> #include <iostream> #include "MouseEvent.h" #include "LinuxEventHandler.h" using namespace ni; // TODO: Implement keyboard and gamepad LinuxEventHandler::LinuxEventHandler(DeviceType devices) { if(devices & DeviceType::Mouse) { m_mouse = linux_mouse_...
26.644068
93
0.753817
jack-karamanian
99fd43dbb9c3f171a987a6e85fe29fed42d99511
1,904
hpp
C++
include/demons.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
null
null
null
include/demons.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
1
2019-05-27T20:05:10.000Z
2019-05-27T20:05:10.000Z
include/demons.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
null
null
null
#ifndef DEMONS_HPP #define DEMONS_HPP #include <iostream> #include <string> #include <vector> #include <unistd.h> #define MAX_CRASH_COUNT 5 #define DEMON_LOCATIONS "/etc/basicinit/demons/" #define DEMON_LOCATIONS_EXTENSION ".dm" enum DemonSettings { DEMONNORMAL = 0, DEMONNORESTART, }; enum DemonOperation { DEMONS...
24.101266
111
0.735819
ElectrodeYT
82068224432d47c651be31d1e77cd39532455604
667
cpp
C++
C++/course-schedule-iii.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
course-schedule-iii.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
course-schedule-iii.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(nlogn) // Space: O(k), k is the number of courses you can take class Solution { public: int scheduleCourse(vector<vector<int>>& courses) { sort(courses.begin(), courses.end(), [](const vector<int>& a, const vector<int>& b) { return a[1] < b[1]; ...
27.791667
62
0.467766
black-shadows
8209f02328adc30789c6be4737bdff299c680b6e
9,144
hpp
C++
internal/impl/libraptorq/swig/RaptorQ/v1/wrapper/CPP_RFC_API_Iterators.hpp
pastelnetwork/go-raptorq
70ea08ac7ea0022fd7967238c4ecb8f5e2af6e24
[ "Unlicense" ]
null
null
null
internal/impl/libraptorq/swig/RaptorQ/v1/wrapper/CPP_RFC_API_Iterators.hpp
pastelnetwork/go-raptorq
70ea08ac7ea0022fd7967238c4ecb8f5e2af6e24
[ "Unlicense" ]
null
null
null
internal/impl/libraptorq/swig/RaptorQ/v1/wrapper/CPP_RFC_API_Iterators.hpp
pastelnetwork/go-raptorq
70ea08ac7ea0022fd7967238c4ecb8f5e2af6e24
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2016, Luca Fulchir<luca@fulchir.it>, All rights reserved. * * This file is part of "libRaptorQ". * * libRaptorQ is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3...
28.845426
79
0.615814
pastelnetwork
8209f0306a60c40b7d54b69aafc749dd4de9c77d
1,158
cpp
C++
edu/06/3b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
edu/06/3b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
edu/06/3b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <vector> using sum_t = unsigned long long; template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } template <typename T, typename F> T search(T lb, T ub, F&& f) { if (f(lb)) return l...
15.44
65
0.440415
actium
820a564611448f6ca6bab79e37461c7c98dac975
1,668
cpp
C++
DFS.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
2
2019-09-23T15:17:15.000Z
2019-10-15T04:17:07.000Z
DFS.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
null
null
null
DFS.cpp
RadheTians/Data-Structre
c4ee2d2592ce0eec3bb3f6a582542bb8307220d9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class DFS { private: int v; vector<int> adj[10]; public: DFS(int); ~DFS(); void addPath(int u,int v); void print(); void DFT(int); bool checkItem(stack<int>,int); }; DFS::DFS(int v) { this->v = v; } DFS::~DFS() { } void DFS::addPath(in...
19.395349
93
0.498201
RadheTians
820ae2b058a0e152403d7e203fec542a42051b09
826
cpp
C++
src/Engine/Graphics/Effects/Shader.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Engine/Graphics/Effects/Shader.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Engine/Graphics/Effects/Shader.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
#include "Base.h" #include "Shader.h" #include "Game/Game.h" #include "Graphics/Renderer/Renderer.h" namespace CasaEngine { /** * */ Shader* Shader::loadShader(const char* name_) { const int PATH_SIZE = 512; char n[PATH_SIZE]; //TODO : create name corresponding to the renderer type sprintf_s(n, PATH...
15.296296
114
0.638015
xcasadio
8212b55b5889f591ca84c7dc84f8ba3a3f51e70e
4,031
cpp
C++
src/gl/texture/uri.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gl/texture/uri.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gl/texture/uri.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#include "uri.hpp" #include "../../sdl/surface.hpp" #include "../../sdl/rw.hpp" #include "../if.hpp" #include "lubee/src/pow_value.hpp" namespace rev { namespace { struct PixelBuffer { GLFormatDesc desc; lubee::SizeI size; ByteBuff buff; }; /* \param[in] sfc ピクセルデータが入ったサーフェスクラス \param[in] fmt ...
26.006452
114
0.634334
degarashi
821b814262a44cc8f9fc8a852044aa4ff6ef1b7c
2,629
hpp
C++
include/TMPro/TMP_FontWeightPair.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/TMPro/TMP_FontWeightPair.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/TMPro/TMP_FontWeightPair.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Completed includes // Begin forwa...
41.730159
206
0.718524
v0idp
821cec6a521b1bdb1ac284694efc582a5e096c3f
3,260
cpp
C++
Helper/Logger/logger.cpp
wodelover/Helper
2b87ba5027931c8087e0ff256c3298b3e49fb95d
[ "Apache-2.0" ]
1
2019-04-09T03:08:23.000Z
2019-04-09T03:08:23.000Z
Helper/Logger/logger.cpp
wodelover/Helper
2b87ba5027931c8087e0ff256c3298b3e49fb95d
[ "Apache-2.0" ]
null
null
null
Helper/Logger/logger.cpp
wodelover/Helper
2b87ba5027931c8087e0ff256c3298b3e49fb95d
[ "Apache-2.0" ]
null
null
null
/*************************************************************************/ /* Copyright Notice */ /* The code can not be copied or provided to other people without the */ /* permission of Zhang Hao,otherwise intellectual property infringement */ /* will be prose...
24.511278
83
0.579141
wodelover
82246114a6764cdd0dc7ffaf5fa6404cce4bd95c
6,309
cpp
C++
src/utils/condition_variable.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
6
2020-03-29T09:37:01.000Z
2022-01-20T08:56:31.000Z
src/utils/condition_variable.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
1
2021-03-05T08:00:50.000Z
2021-03-05T08:00:50.000Z
src/utils/condition_variable.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
11
2019-05-13T00:04:38.000Z
2022-01-20T08:56:38.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
28.29148
139
0.686797
h2ssh
822467cc905a682318d7670c8b17ecc7ed0d74fc
943
hpp
C++
libs/core/include/fcppt/container/tree/is_object.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/tree/is_object.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/tree/is_object.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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) #ifndef FCPPT_CONTAINER_TREE_IS_OBJECT_HPP_INCLUDED #define FCPPT_CONTAINER_TREE_IS_OBJECT_HPP_INC...
16.258621
72
0.743372
pmiddend
82263451d1b7517d0c460503bb56068e03e8a4d1
1,004
hpp
C++
Monopoly/GameState.hpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
3
2018-06-24T13:44:50.000Z
2019-11-18T09:49:41.000Z
Monopoly/GameState.hpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
null
null
null
Monopoly/GameState.hpp
dragonly/Monopoly
1dc013aed2bb49dd7c0c610df697f2bdfe282a8f
[ "MIT" ]
null
null
null
// // GameState.hpp // Monopoly // // Created by Dragonly on 4/27/16. // Copyright © 2016 Dragonly. All rights reserved. // #ifndef GameState_hpp #define GameState_hpp #include <iostream> #include <vector> #include <string> #include "Land.hpp" #include "Player.hpp" #include "Date.hpp" #include "Stock.hpp" using ...
19.307692
55
0.598606
dragonly
822764f49822242febd97ca74129565c59ebe5eb
3,331
hpp
C++
SysLib/Include/Snapshot_File.hpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Include/Snapshot_File.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Include/Snapshot_File.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//******************************************************** // Snapshot_File.hpp - Snapshot File Input/Output //******************************************************** #ifndef SNAPSHOT_FILE_HPP #define SNAPSHOT_FILE_HPP #include "Db_Header.hpp" //--------------------------------------------------------- // Snapshot...
40.621951
96
0.617832
kravitz
822c16d7058c14a1a06553cc0da27a446ccaf043
1,852
cpp
C++
Graph Problems/MST/Bytelandian Blingor Networks/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
1
2020-03-05T09:09:36.000Z
2020-03-05T09:09:36.000Z
Graph Problems/MST/Bytelandian Blingor Networks/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
null
null
null
Graph Problems/MST/Bytelandian Blingor Networks/Code.cpp
adelnobel/Training-for-ACM-ICPC-problems
8030d24ab3ce1f50821b22647bf9195b41f932b1
[ "MIT" ]
null
null
null
#include <algorithm> #include <functional> #include <vector> #include <map> #include <set> #include <fstream> #include <stdio.h> #include <iostream> #include <string> #include <sstream> #include <cmath> #include <queue> #include <stack> #include <list> #include <cstring> #include <ctime> using namespace std; typedef ...
18.707071
74
0.436285
adelnobel
4369ce48a6da3ee31a194578e1f6a9e43b0c19bd
4,858
cpp
C++
src/tools/editor/src/scene/entity_list.cpp
chidddy/halley
f828b74a6bbe7f172a7dba84e72429d3163bd61c
[ "Apache-2.0" ]
null
null
null
src/tools/editor/src/scene/entity_list.cpp
chidddy/halley
f828b74a6bbe7f172a7dba84e72429d3163bd61c
[ "Apache-2.0" ]
null
null
null
src/tools/editor/src/scene/entity_list.cpp
chidddy/halley
f828b74a6bbe7f172a7dba84e72429d3163bd61c
[ "Apache-2.0" ]
null
null
null
#include "entity_list.h" #include "entity_icons.h" #include "halley/ui/ui_factory.h" #include "scene_editor_window.h" using namespace Halley; EntityList::EntityList(String id, UIFactory& factory) : UIWidget(std::move(id), Vector2f(200, 30), UISizer()) , factory(factory) { makeUI(); } void EntityList::setSceneEdi...
27.91954
146
0.728077
chidddy
436db3c470e52225057828cbc69c251dcbcc7a15
248
cpp
C++
source/Object.cpp
danielga/luainterface
4c8776645682d667b03363be5c2c33479727b246
[ "BSD-3-Clause" ]
2
2019-07-29T10:19:17.000Z
2019-11-28T23:20:25.000Z
source/Object.cpp
danielga/luainterface
4c8776645682d667b03363be5c2c33479727b246
[ "BSD-3-Clause" ]
null
null
null
source/Object.cpp
danielga/luainterface
4c8776645682d667b03363be5c2c33479727b246
[ "BSD-3-Clause" ]
1
2016-12-29T14:27:29.000Z
2016-12-29T14:27:29.000Z
#include <Lua/Object.hpp> #include <Lua/Interface.hpp> #include <Reference.hpp> #include <atomic> namespace Lua { Object::Object( Interface *state, int index ) { state->PushValue( index ); reference = std::make_shared<Reference>( state ); } }
15.5
50
0.705645
danielga
43705fd41d94e5be659a833b9054c1e70f1d0daa
256
hpp
C++
dynamic/wrappers/cell_based/OffLatticeSimulation3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/OffLatticeSimulation3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/OffLatticeSimulation3_3.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#ifndef OffLatticeSimulation3_3_hpp__pyplusplus_wrapper #define OffLatticeSimulation3_3_hpp__pyplusplus_wrapper namespace py = pybind11; void register_OffLatticeSimulation3_3_class(py::module &m); #endif // OffLatticeSimulation3_3_hpp__pyplusplus_wrapper
36.571429
59
0.890625
jmsgrogan
4372599ee736cb73769210b3f1a300f34dec577f
103
cpp
C++
raygame/UnorderedList.cpp
joshalbe/Restrainment-of-El
8e8cbade3900325f8b2cff98ea14868f9c2e8106
[ "MIT" ]
null
null
null
raygame/UnorderedList.cpp
joshalbe/Restrainment-of-El
8e8cbade3900325f8b2cff98ea14868f9c2e8106
[ "MIT" ]
null
null
null
raygame/UnorderedList.cpp
joshalbe/Restrainment-of-El
8e8cbade3900325f8b2cff98ea14868f9c2e8106
[ "MIT" ]
null
null
null
#include "UnorderedList.h" UnorderedList::UnorderedList() { } UnorderedList::~UnorderedList() { }
7.923077
31
0.708738
joshalbe
4373e7e5a72e5e210eda786268e7dafe26137fe6
1,291
cpp
C++
src/godotmation_converter.cpp
kakoeimon/GodotMationCpp
d05b157b420688e1ffae9a49de80b26da21ab41f
[ "MIT" ]
2
2019-09-09T06:08:26.000Z
2020-10-14T12:01:26.000Z
src/godotmation_converter.cpp
kakoeimon/GodotMationCpp
d05b157b420688e1ffae9a49de80b26da21ab41f
[ "MIT" ]
null
null
null
src/godotmation_converter.cpp
kakoeimon/GodotMationCpp
d05b157b420688e1ffae9a49de80b26da21ab41f
[ "MIT" ]
1
2021-08-16T07:28:19.000Z
2021-08-16T07:28:19.000Z
#include "godotmation_converter.hpp" #include "godotmation_resource.hpp" #include "godotmation_state.hpp" GodotMation_Converter::GodotMation_Converter(){}; GodotMation_Converter::~GodotMation_Converter(){}; bool GodotMation_Converter::trigger(){ if(!active) return false; if(pull_mode != 1){ for(auto...
22.649123
53
0.507359
kakoeimon
43794b10a75527d75f0e0ea1696293ac39e8779e
65,688
cpp
C++
config/config.cpp
ipantao/AutoPilot-Tool
4418fa4fce09ae373c2437398997d1fec53bf3e8
[ "Apache-2.0" ]
1
2021-01-20T02:12:05.000Z
2021-01-20T02:12:05.000Z
config/config.cpp
ipantao/AutoPilot-Tool
4418fa4fce09ae373c2437398997d1fec53bf3e8
[ "Apache-2.0" ]
null
null
null
config/config.cpp
ipantao/AutoPilot-Tool
4418fa4fce09ae373c2437398997d1fec53bf3e8
[ "Apache-2.0" ]
null
null
null
#include "config.h" #ifndef TIXML_USE_STL #define TIXML_USE_STL #include "tinyxml.h" #endif #include <iostream> #include <fstream> #include <algorithm> #include <dirent.h> #include <iomanip> #include <stdlib.h> using namespace DEBUGTOOL; //------------------ // //--CTestTagGroup // //------------------ CAbstra...
22.139535
223
0.569191
ipantao
437d9794be8501c10b7eebd240ec03900d7ee2e0
13,079
cc
C++
library/src/javascript/JSON/BP-LibJSMN.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
1
2018-05-31T11:51:43.000Z
2018-05-31T11:51:43.000Z
library/src/javascript/JSON/BP-LibJSMN.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
library/src/javascript/JSON/BP-LibJSMN.cc
jason-medeiros/blockparty
4b1aabe66b13ceac70d6e42feb796909f067df9a
[ "MIT" ]
null
null
null
// include blockparty main #include "../../../include/BP-Main.h" /** * Allocates a fresh unused token from the token pull. */ static jsmntok_t *jsmn_alloc_token ( P_BP_JSON json, jsmn_parser *parser, jsmntok_t *tokens, size_t num_tokens ) { jsmntok_t *tok; if (parser->toknext >= num_tokens) { ...
21.546952
222
0.618549
jason-medeiros
437e01d2138bb1d2d59ae1d9e12cbd9f743973d4
21,405
cpp
C++
source/player/Player.cpp
jrbeck/longshot
5dde65a5331ca7bf133b1188bfd6160da4ffc649
[ "MIT" ]
null
null
null
source/player/Player.cpp
jrbeck/longshot
5dde65a5331ca7bf133b1188bfd6160da4ffc649
[ "MIT" ]
null
null
null
source/player/Player.cpp
jrbeck/longshot
5dde65a5331ca7bf133b1188bfd6160da4ffc649
[ "MIT" ]
null
null
null
#include "../player/Player.h" // WARNING: maybe i should pay attention to this // has to do with sprintf() not being safe.... #pragma warning (disable : 4996) Player::Player(GameModel* gameModel) { mGameModel = gameModel; mInventory.resizeBackpack(DEFAULT_BACKPACK_SIZE); } Player::~Player () { } int Player::res...
29.605809
172
0.688391
jrbeck
43828c561571e02d98a79b3fa550a25b5dfc765f
1,253
cpp
C++
App/programupdatergithub.cpp
hubnerp/return
62be78702de43ebe578cab5e720328aaeebabc97
[ "MIT" ]
null
null
null
App/programupdatergithub.cpp
hubnerp/return
62be78702de43ebe578cab5e720328aaeebabc97
[ "MIT" ]
null
null
null
App/programupdatergithub.cpp
hubnerp/return
62be78702de43ebe578cab5e720328aaeebabc97
[ "MIT" ]
null
null
null
#include "programupdatergithub.h" ProgramUpdaterGithub::ProgramUpdaterGithub(QObject *parent) : ProgramUpdater(QUrl("https://api.github.com/repos/hubnerp/return/releases/latest"), parent) { // } void ProgramUpdaterGithub::UpdateProgram() { // TODO - move the dialog part to GUI // if there is a newer v...
30.560976
122
0.65842
hubnerp
438e5187f931354c08d9eec9d71d42980399d989
2,649
hpp
C++
Duilib/tutorial5/win_impl_base.hpp
Johnny-Martin/Win32UI
570feb103bfda72063f13871b06326c6884cebd1
[ "MIT" ]
1
2021-02-13T18:10:51.000Z
2021-02-13T18:10:51.000Z
Duilib/tutorial6/win_impl_base.hpp
Johnny-Martin/Win32UI
570feb103bfda72063f13871b06326c6884cebd1
[ "MIT" ]
null
null
null
Duilib/tutorial6/win_impl_base.hpp
Johnny-Martin/Win32UI
570feb103bfda72063f13871b06326c6884cebd1
[ "MIT" ]
3
2018-01-28T05:55:00.000Z
2021-08-18T07:47:20.000Z
#ifndef WIN_IMPL_BASE_HPP #define WIN_IMPL_BASE_HPP #include "../DuiLib/StdAfx.h" #include <Windows.h> #include <string> typedef std::basic_string<TCHAR> tString; using namespace DuiLib; namespace DuiLib { class CWindowWnd; class INotifyUI; class IMessageFilterUI; class IDialogBuilderCallback; } class WindowImp...
31.915663
114
0.785579
Johnny-Martin
438fb8ed3f77e3d2d7cf43baca97c89fffcdaa4e
23,337
cpp
C++
src/chemkit/moleculeeditor.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/chemkit/moleculeeditor.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/chemkit/moleculeeditor.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
22.969488
106
0.613104
quizzmaster
439075ef2cbf9d6c8a464398a83ddbcd46968211
1,000
cpp
C++
problem_solving/LightOJ/1211/12572141_AC_4ms_1688kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
2
2020-09-02T12:07:47.000Z
2020-11-17T11:17:16.000Z
problem_solving/LightOJ/1211/12572141_AC_4ms_1688kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
null
null
null
problem_solving/LightOJ/1211/12572141_AC_4ms_1688kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> using namespace std; int main(){ int t, co = 0; //long long a, a1 = 0, b, b1 = 0, c, c1 = 0, x, x1 = 1005, y, y1 = 1005, z, z1 = 1005; scanf("%d", &t); while(t--){ int n; long long a, a1 = 0, b, b1 = 0, c, c1 = 0, x, x1 = 1005, y, y1 = 1005, z, z1 = 1005; scanf("%d", &n);...
25
89
0.411
cosmicray001
43916fe33268d177ae2dabe97724de0040eab140
46,725
cpp
C++
src/filesystem/filesystem_stdio.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/filesystem/filesystem_stdio.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/filesystem/filesystem_stdio.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #ifdef _WIN32 #include <io.h> #include <fcntl.h> #endif #include "basefilesystem.h" #include "packfile.h" #include "tier0/d...
29.075918
150
0.559251
DeadZoneLuna
4391afadb9f2eb606e021f4631ea9c3e3eb97339
1,776
cpp
C++
test/unit_raw.cpp
cflaviu/oid_ncode
afe3f706b883008b91a3458df8ec0c792aa9c93d
[ "MIT" ]
null
null
null
test/unit_raw.cpp
cflaviu/oid_ncode
afe3f706b883008b91a3458df8ec0c792aa9c93d
[ "MIT" ]
null
null
null
test/unit_raw.cpp
cflaviu/oid_ncode
afe3f706b883008b91a3458df8ec0c792aa9c93d
[ "MIT" ]
null
null
null
#include <catch2/catch_all.hpp> #include <stdext/oid/ncode_raw.hpp> namespace stdext::oid { using data_t = std::vector<std::uint16_t>; struct Simple_serializer { Simple_serializer(data_t& data) noexcept: _data(&data) {} void operator()(const data_t::value_type value) noexcept { _data->pus...
27.75
118
0.571509
cflaviu
43978b767f7acd43eb47e2bb31eada5fb6a3360c
5,876
cpp
C++
irohad/ametsuchi/index/backend/redis.cpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/index/backend/redis.cpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/index/backend/redis.cpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
36.04908
80
0.525357
tkyonezu
439812d92e1f5e3c3aa03d0859446bc027757099
2,595
cc
C++
src/selfplay/game.cc
eguneys/p0
cb7d8445027e248b39b8fd6ddb9378e84139e3ec
[ "MIT" ]
null
null
null
src/selfplay/game.cc
eguneys/p0
cb7d8445027e248b39b8fd6ddb9378e84139e3ec
[ "MIT" ]
null
null
null
src/selfplay/game.cc
eguneys/p0
cb7d8445027e248b39b8fd6ddb9378e84139e3ec
[ "MIT" ]
null
null
null
#include "selfplay/game.h" #include <algorithm> namespace pzero { SelfPlayGame::SelfPlayGame(PlayerOptions player) : options_(player) { tree_ = std::make_shared<NodeTree>(); tree_->ResetToPosition(SokoBoard::kStartposFen, {}); } void SelfPlayGame::Play(int threads, bool training) { while (!ab...
26.212121
74
0.601927
eguneys
439b97e850516e8bcacb19e2c7e83e390df4a8b1
1,075
cpp
C++
flare/src/paint/actor_gradient_fill.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare/src/paint/actor_gradient_fill.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare/src/paint/actor_gradient_fill.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#include "flare/paint/actor_gradient_fill.hpp" #include "flare/actor.hpp" #include "flare/actor_artboard.hpp" #include "flare/actor_shape.hpp" using namespace flare; ActorGradientFill::ActorGradientFill() : Base(ComponentType::GradientFill) {} void ActorGradientFill::copy(const ActorGradientFill* fill, ActorArtboard...
25.595238
118
0.767442
taehyub
439d2c4dc7c8e44138b8d5917cb9532bfbd74bdd
5,861
cpp
C++
src/py/wrapper/wrapper_3b59a0980c80518c808634f7a84dc3cd.cpp
asmeurer/STL
bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a
[ "Apache-2.0" ]
null
null
null
src/py/wrapper/wrapper_3b59a0980c80518c808634f7a84dc3cd.cpp
asmeurer/STL
bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a
[ "Apache-2.0" ]
null
null
null
src/py/wrapper/wrapper_3b59a0980c80518c808634f7a84dc3cd.cpp
asmeurer/STL
bec1b0e0c4fb426c7db8f28bfbbe6a6a0302512a
[ "Apache-2.0" ]
null
null
null
#include "_stl.h" namespace autowig { void method_decorator_03b285991d1f51b1a7d55a3416478017(class ::statiskit::stl::Generator< class ::std::unordered_set< unsigned long int, struct ::std::hash< unsigned long int >, struct ::std::equal_to< unsigned long int >, class ::std::allocator< unsigned long int > > > & i...
133.204545
742
0.740317
asmeurer
43a11314054920617a49dddd9b007d3a123963fd
1,089
cpp
C++
source/Process/Blend/PRNG.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
source/Process/Blend/PRNG.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
source/Process/Blend/PRNG.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
// IDDN FR.001.250001.004.S.X.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file PRNG.cpp * @author Clement Berthaud * @brief This file provides the definitions for the Blend PRNG entry point functio...
26.560976
95
0.692378
Fabrice-Praxinos
43a16d9bc60531488da7682822288c2e7e0134b6
2,146
cpp
C++
drivers/SimpleDigital/AusExGroveInfraredReflectiveSensor/src/AusExGroveInfraredReflectiveSensor.cpp
houtbrion/AusEx
fd74cbab4281da6ba4f285412f2d1f53f40206c9
[ "Apache-1.1" ]
null
null
null
drivers/SimpleDigital/AusExGroveInfraredReflectiveSensor/src/AusExGroveInfraredReflectiveSensor.cpp
houtbrion/AusEx
fd74cbab4281da6ba4f285412f2d1f53f40206c9
[ "Apache-1.1" ]
null
null
null
drivers/SimpleDigital/AusExGroveInfraredReflectiveSensor/src/AusExGroveInfraredReflectiveSensor.cpp
houtbrion/AusEx
fd74cbab4281da6ba4f285412f2d1f53f40206c9
[ "Apache-1.1" ]
null
null
null
#include "AusExGroveInfraredReflectiveSensor.h" /* * */ AUSEX_GROVE_INFRARED_REFLECTIVE_CLASS::AUSEX_GROVE_INFRARED_REFLECTIVE_CLASS(int pinNumber, int32_t sensorID ){ _pin=pinNumber; _sensorID=sensorID; } bool AUSEX_GROVE_INFRARED_REFLECTIVE_CLASS::begin(bool pullUp){ if (pullUp) { pinMode(_pin, INPUT_P...
32.515152
111
0.78192
houtbrion
43ae5ef606de4d484e6525cf1321166c3e156457
2,866
hpp
C++
SignalMapper/Geometry.hpp
TomaszRewak/Signal-simulation
d39cb63f1cf0274a64d73ed1a6ec3d199089f345
[ "MIT" ]
null
null
null
SignalMapper/Geometry.hpp
TomaszRewak/Signal-simulation
d39cb63f1cf0274a64d73ed1a6ec3d199089f345
[ "MIT" ]
null
null
null
SignalMapper/Geometry.hpp
TomaszRewak/Signal-simulation
d39cb63f1cf0274a64d73ed1a6ec3d199089f345
[ "MIT" ]
null
null
null
#pragma once #include "Math.hpp" #include <vector> #include <limits> #include <memory> #include <functional> struct SolidShape { virtual bool contains(Point point) const = 0; virtual void intersections(Vector ray, std::function<void(const Intersection&)>&& callback) const = 0; }; using SolidShapePtr = std::shared_...
20.768116
103
0.675157
TomaszRewak
43b03c52232baa2f67b22b861aaa53d8d46787b8
1,447
cc
C++
src/libctp/toolfactory.cc
jimbach/ctp
e5b33f074f81c6e6859dfaacada1b6c992c67c2b
[ "Apache-2.0" ]
null
null
null
src/libctp/toolfactory.cc
jimbach/ctp
e5b33f074f81c6e6859dfaacada1b6c992c67c2b
[ "Apache-2.0" ]
null
null
null
src/libctp/toolfactory.cc
jimbach/ctp
e5b33f074f81c6e6859dfaacada1b6c992c67c2b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2012 The VOTCA Development Team * (http://www.votca.org) * * 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 * * h...
30.145833
75
0.634416
jimbach
43b0f30fe150ba7b5a2c99b69daf6f5b7a91f006
656
cpp
C++
tests/catch_main_app.cpp
cracked-machine/cpp_adg2188
a2063a56ceaf87af6c79a948ccd9d20cd3107b78
[ "MIT" ]
null
null
null
tests/catch_main_app.cpp
cracked-machine/cpp_adg2188
a2063a56ceaf87af6c79a948ccd9d20cd3107b78
[ "MIT" ]
1
2022-03-10T10:49:30.000Z
2022-03-10T10:49:30.000Z
tests/catch_main_app.cpp
cracked-machine/cpp_adg2188
a2063a56ceaf87af6c79a948ccd9d20cd3107b78
[ "MIT" ]
null
null
null
#include <catch2/catch_all.hpp> #include <timer_manager.hpp> #include <adg2188.hpp> TEST_CASE("Test ADG2188", "[ADG2188]") { // Enable timer test fixture and start it in a new thread // TIM_TypeDef *timer = new TIM_TypeDef; // REQUIRE(stm32::TimerManager::initialise(timer)); // std::future<bool> tim_r...
32.8
136
0.704268
cracked-machine
43b4c0c65029a4b34efb5ddfd024dbff5ec0f9a5
11,273
hpp
C++
src/helpers.hpp
REXJJ/CameraCalibration
6c35d88f64846e5d7e74b4156a75080a9a5f1adf
[ "Apache-2.0" ]
null
null
null
src/helpers.hpp
REXJJ/CameraCalibration
6c35d88f64846e5d7e74b4156a75080a9a5f1adf
[ "Apache-2.0" ]
null
null
null
src/helpers.hpp
REXJJ/CameraCalibration
6c35d88f64846e5d7e74b4156a75080a9a5f1adf
[ "Apache-2.0" ]
null
null
null
#ifndef HELPERS_HPP #define HELPERS_HPP #include <iostream> #include <algorithm> #include <chrono> // Point Cloud Library #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/io/ply_io.h> #include <pcl/io/io.h> #include <pcl/io/pcd_io.h> // Eigen #includ...
36.839869
200
0.597268
REXJJ
43b546d183103f28f298c9a4190f4b47e1472276
20,192
cpp
C++
src/qt/qtwebkit/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2010 Tieto Corporation. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. ...
33.936134
180
0.730586
zwollerob
43b679c0c54b69a160296cdf4c70b30bc764f66d
2,072
cc
C++
tests/unit/Utilities/Timer_flop.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/tests/Timer_flop.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/tests/Timer_flop.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
// flop.cc #include <cstdlib> #include <cmath> #include <cstdio> #include "../Timer.hh" #define N0 1 #define NLOOP 1000000 // Must initialize the static list defined in Timer.hh //list<Timer*> Timer::TimerList(0); void flopping_test(void); Timer Everything("Everything"); Timer TotalFlopping("TotalFlopping", ...
20.116505
58
0.56805
jmikeowen
43b6a13a514e88f1f1321497235e3e97d828ff14
2,580
hpp
C++
mr/iza810/raspi_utility/include/pid.hpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
5
2020-01-24T08:05:01.000Z
2020-08-03T04:51:52.000Z
mr/iza810/raspi_utility/include/pid.hpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
null
null
null
mr/iza810/raspi_utility/include/pid.hpp
Kitasola/robocon_2019b
43acfa88fb49ddeb7ec9e15976854936a71e92b6
[ "MIT" ]
1
2020-07-15T05:43:48.000Z
2020-07-15T05:43:48.000Z
#ifndef ARRC_PID_HPP #define ARRC_PID_HPP #include "time.hpp" namespace arrc_raspi { class PidVelocity { public: PidVelocity(double p, double i, double d, double max) { setParam(p, i, d, max); delta_t_.reset(); } void setParam(double p, double i, double d, double max) { p_gain_ = p; i_gain_ = i; ...
27.446809
77
0.649612
Kitasola
43bad6df413e5ef2bbb88cd7c84aa6020c2d0f60
13,155
cpp
C++
isis/src/control/objs/ControlNetVersioner/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/control/objs/ControlNetVersioner/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/control/objs/ControlNetVersioner/unitTest.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
35.362903
123
0.665298
kdl222
43c2bbc8463aef79fbfaf572e199207854f305c8
20,227
cpp
C++
src/balancer_server/balancer_server.cpp
PetrPPetrov/gkm-world
7c24d1646e04b439733a7eb603c9a00526b39f4c
[ "BSD-2-Clause" ]
2
2021-06-04T09:27:52.000Z
2021-06-08T05:23:21.000Z
src/balancer_server/balancer_server.cpp
PetrPPetrov/gkm-world
7c24d1646e04b439733a7eb603c9a00526b39f4c
[ "BSD-2-Clause" ]
null
null
null
src/balancer_server/balancer_server.cpp
PetrPPetrov/gkm-world
7c24d1646e04b439733a7eb603c9a00526b39f4c
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2018-2020 Petr Petrovich Petrov. All rights reserved. // License: https://github.com/PetrPPetrov/gkm-world/blob/master/LICENSE #include <cassert> #include <iostream> #include <fstream> #include <memory> #include <boost/asio.hpp> #include <boost/uuid/uuid_io.hpp> #include <boost/uuid/random_generator.hpp> ...
42.853814
192
0.724576
PetrPPetrov
43c629256db515fe6c985583754eee3e3dde3859
9,557
hpp
C++
nvvk/debug_util_vk.hpp
ikapoura/nvpro_core
78951bdbef7778c6630178f79f7a2e20da923ba4
[ "Apache-2.0" ]
123
2015-01-06T17:03:34.000Z
2021-05-15T19:31:40.000Z
nvvk/debug_util_vk.hpp
ikapoura/nvpro_core
78951bdbef7778c6630178f79f7a2e20da923ba4
[ "Apache-2.0" ]
21
2015-04-26T11:41:58.000Z
2021-03-23T22:26:35.000Z
nvvk/debug_util_vk.hpp
ikapoura/nvpro_core
78951bdbef7778c6630178f79f7a2e20da923ba4
[ "Apache-2.0" ]
59
2015-04-26T05:37:10.000Z
2021-04-05T18:49:52.000Z
/* * Copyright (c) 2019-2021, NVIDIA CORPORATION. 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 ...
47.785
176
0.676363
ikapoura
43c75e8a6932cd72cdeacdbdaa3dcb2894d54cfe
853
cpp
C++
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Production/RTSProductionProgressBarWidgetComponent.cpp
HeadClot/ue4-rts
53499c49942aada835b121c89419aaa0be624cbd
[ "MIT" ]
617
2017-04-16T13:34:20.000Z
2022-03-31T23:43:47.000Z
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Production/RTSProductionProgressBarWidgetComponent.cpp
freezernick/ue4-rts
14ac47ce07d920c01c999f78996791c75de8ff8a
[ "MIT" ]
178
2017-04-05T19:30:21.000Z
2022-03-11T05:44:03.000Z
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Production/RTSProductionProgressBarWidgetComponent.cpp
freezernick/ue4-rts
14ac47ce07d920c01c999f78996791c75de8ff8a
[ "MIT" ]
147
2017-06-27T08:35:09.000Z
2022-03-28T03:06:17.000Z
#include "Production/RTSProductionProgressBarWidgetComponent.h" #include "GameFramework/Actor.h" #include "Production/RTSProductionComponent.h" void URTSProductionProgressBarWidgetComponent::BeginPlay() { Super::BeginPlay(); AActor* Owner = GetOwner(); if (!IsValid(Owner)) { return; } ...
25.848485
133
0.767878
HeadClot
43c98003a94e6028ddaa6519144b7097aeee1551
4,465
cpp
C++
src/responserules/runtime/response_types_internal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/responserules/runtime/response_types_internal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/responserules/runtime/response_types_internal.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright � 1996-2010, Valve Corporation, All rights reserved. ============// // // Purpose: Core types for the response rules -- criteria, responses, rules, and matchers. // // $NoKeywords: $ //=============================================================================// #include "rrbase.h" // memdbgo...
40.963303
118
0.668533
cstom4994
43d1e9efc981931fb8046ad63c83fe1cd44f2c08
412,808
cc
C++
test/alignment_batch_test.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
test/alignment_batch_test.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
test/alignment_batch_test.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Jasper Braun // // 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, ...
56.279209
95
0.463085
JasperBraun
43d34736b20873e82ee916efa9db64ee60a9938a
10,096
hpp
C++
OcularCore/include/Input/Keys.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
8
2017-01-27T01:06:06.000Z
2020-11-05T20:23:19.000Z
OcularCore/include/Input/Keys.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
39
2016-06-03T02:00:36.000Z
2017-03-19T17:47:39.000Z
OcularCore/include/Input/Keys.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
4
2019-05-22T09:13:36.000Z
2020-12-01T03:17:45.000Z
/** * Copyright 2014-2017 Steven T Sell (ssell@vertexfragment.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.apache.org/licenses/LICENSE-2.0 * * Unless requir...
42.242678
111
0.371434
ssell
43d464fecb5ebae74859828a1b1df759ac6ba53b
518
cpp
C++
compiler/code/IR/IRInstr/ArithmeticMnemonics/IRInstrAdd.cpp
KenzaB27/PLD-COMP-H4242
a72dcf4bd6dab6e5d2b825aa58c5e3560917490e
[ "MIT" ]
null
null
null
compiler/code/IR/IRInstr/ArithmeticMnemonics/IRInstrAdd.cpp
KenzaB27/PLD-COMP-H4242
a72dcf4bd6dab6e5d2b825aa58c5e3560917490e
[ "MIT" ]
null
null
null
compiler/code/IR/IRInstr/ArithmeticMnemonics/IRInstrAdd.cpp
KenzaB27/PLD-COMP-H4242
a72dcf4bd6dab6e5d2b825aa58c5e3560917490e
[ "MIT" ]
null
null
null
#include "IRInstrAdd.h" IRInstrAdd::IRInstrAdd(BasicBlock *bb_, string op1, string op2, string dest) : IRInstr(bb_) { this->op1 = op1; this->op2 = op2; this->dest = dest; } void IRInstrAdd::gen_asm(ostream &o) { o << " movl " + IRInstr::transParam(op1) + ", %edx\n"; o << " movl " + IR...
22.521739
91
0.548263
KenzaB27
43d6215495e9c35539fc5931dcbf514bdc33e2fe
3,566
cpp
C++
libSetReplace/test/Set_test.cpp
SantiagoGiner/SetReplace
021f360c5e8e367c61fbb1499f9d6d6088e8033f
[ "MIT" ]
null
null
null
libSetReplace/test/Set_test.cpp
SantiagoGiner/SetReplace
021f360c5e8e367c61fbb1499f9d6d6088e8033f
[ "MIT" ]
null
null
null
libSetReplace/test/Set_test.cpp
SantiagoGiner/SetReplace
021f360c5e8e367c61fbb1499f9d6d6088e8033f
[ "MIT" ]
null
null
null
#include "Set.hpp" #include <gtest/gtest.h> #include <vector> #include "Match.hpp" #include "Rule.hpp" namespace SetReplace { Set testSet(const Set::SystemType systemType, const EventSelectionFunction eventSelectionFunction) { // Negative atoms refer to patterns (useful for rules) std::vector<Rule> rules; aut...
48.189189
120
0.693775
SantiagoGiner
43d7dcdf6cdd5d7d49e3b7524359fcf2bf48898d
7,778
cpp
C++
src/dataManager.cpp
mreff555/TempCtrl
6e7759c58e614d9ef9c7c552aada75082210aaa4
[ "Apache-2.0" ]
1
2021-02-28T15:34:36.000Z
2021-02-28T15:34:36.000Z
src/dataManager.cpp
mreff555/TempCtrl
6e7759c58e614d9ef9c7c552aada75082210aaa4
[ "Apache-2.0" ]
5
2021-02-25T22:22:05.000Z
2021-06-12T23:56:35.000Z
src/dataManager.cpp
mreff555/TempCtrl
6e7759c58e614d9ef9c7c552aada75082210aaa4
[ "Apache-2.0" ]
null
null
null
#include "dataManager.hpp" #include "buttonManager.hpp" #include <cstdint> #include <thread> #include <iostream> /********************************************* * Class: DataManager * * * * Description: * * The purpose of t...
25.669967
97
0.59694
mreff555
43d874311b56f2ee4a7d008e4b05ca8bdf572fb7
11,675
cpp
C++
src/core/NEON/kernels/NEPoolingLayerKernel.cpp
longbowlee/ARMComputeLibrary
c772c0b2ecfe76cac5867915fdc296d14bb829a2
[ "MIT" ]
null
null
null
src/core/NEON/kernels/NEPoolingLayerKernel.cpp
longbowlee/ARMComputeLibrary
c772c0b2ecfe76cac5867915fdc296d14bb829a2
[ "MIT" ]
null
null
null
src/core/NEON/kernels/NEPoolingLayerKernel.cpp
longbowlee/ARMComputeLibrary
c772c0b2ecfe76cac5867915fdc296d14bb829a2
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 ...
49.261603
159
0.673319
longbowlee
43dcf05fc4a8f9bf5ac289389fbbd2f956a5c188
1,855
cpp
C++
trikControl/src/analogSensor.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
trikControl/src/analogSensor.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
trikControl/src/analogSensor.cpp
Ashatta/trikRuntime
0e08a584b09c6319c7fb3020bcd0df3f27b976b3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013 Nikita Batov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
26.884058
93
0.723989
Ashatta
43dd0dbd96aa6b9b4176d1cd4e0bcf69152eaca1
776
cpp
C++
features/policy_and_traits/isoftype.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
20
2017-07-22T19:06:39.000Z
2021-07-12T06:46:24.000Z
features/policy_and_traits/isoftype.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
null
null
null
features/policy_and_traits/isoftype.cpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
7
2018-05-20T10:26:07.000Z
2021-07-12T04:11:18.000Z
#include<iostream> #include<vector> template<typename T1, typename T2> class isOfType { public: static constexpr bool value = false; }; template<typename T> class isOfType<T,T> { public: static constexpr bool value = true; }; template<typename T> void testType(T type) { if(isOfType<T, int>::value) { ...
20.972973
79
0.601804
lostjared
43dd1916e1ca0d12d5dd5a27458c57d8ed794fb1
7,130
cpp
C++
fancy2d/Renderer/f2dRendererImpl.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
3
2021-08-07T16:07:59.000Z
2021-08-18T14:15:35.000Z
fancy2d/Renderer/f2dRendererImpl.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
null
null
null
fancy2d/Renderer/f2dRendererImpl.cpp
Legacy-LuaSTG-Engine/Legacy-LuaSTG-Ex-Plus
1266de6c56f7486e95567c5bfb092294fa363c10
[ "MIT" ]
null
null
null
#include "f2dRendererImpl.h" #include "f2dSpriteImpl.h" #include "f2dGeometryRendererImpl.h" #include "f2dFontRendererImpl.h" #include "f2dFontFileProvider.h" #include "f2dFontTexProvider.h" #include "f2dSpriteAnimationImpl.h" #include "f2dParticle.h" #include "../Engine/f2dEngineImpl.h" #include <shlobj.h> using n...
20.255682
172
0.708555
Legacy-LuaSTG-Engine
43e15121caec35410de68ab4798292b33bd94cde
9,606
hh
C++
inc/OpenDRIVE.hh
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
inc/OpenDRIVE.hh
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
inc/OpenDRIVE.hh
qianqian121/odrMgrLite
877c5676198e8c35fb72c01c411c72a453449c65
[ "Unlicense" ]
null
null
null
/* * Copyright 2007 VIRES Simulationstechnologie GmbH * ALL RIGHTS RESERVED * * This source code ("Source Code") was originally derived from a * code base owned by VIRES Simulationstechnologie GmbH ("VIRES") * * LICENSE: VIRES grants the user ("Licensee") permission to reproduce, * distribute, and create deriv...
29.739938
74
0.660837
qianqian121
43ecbbd71057f20f9d5c4a913a08cd1e4f78e479
250
cpp
C++
Level-2/18. Recursion-and-Backtracking/Josephus Problem.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-2/18. Recursion-and-Backtracking/Josephus Problem.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-2/18. Recursion-and-Backtracking/Josephus Problem.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include "bits/stdc++.h" using namespace std; int jc(int n, int k) { if (n == 1) { return 0; } int ans = jc(n - 1, k); return (ans + k) % n; } int main() { int n, k; cin >> n >> k; cout << jc(n, k) << endl; }
13.157895
29
0.432
anubhvshrma18
43ef7076e0c2a0f92a89675c7200c8e6e4f5fb3f
5,063
cpp
C++
simulator1/simulator.cpp
ManiSadati/GPU_Logic_resimulator
f2f9a911df923c25d964ef0e2b4cb120e40308e5
[ "BSD-3-Clause" ]
8
2021-03-26T13:03:32.000Z
2022-03-09T13:14:54.000Z
simulator1/simulator.cpp
ManiSadati/GPU_Logic_resimulator
f2f9a911df923c25d964ef0e2b4cb120e40308e5
[ "BSD-3-Clause" ]
null
null
null
simulator1/simulator.cpp
ManiSadati/GPU_Logic_resimulator
f2f9a911df923c25d964ef0e2b4cb120e40308e5
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, ManiSadati, MohammadShahidzade All rights reserved. * * https://github.com/ManiSadati/GPU_Logic_resimulator/blob/master/LICENSE * */ #include<bits/stdc++.h> using namespace std; #include "../vlib/type1parser.h" #include "../vlib/type1component.h" #include "../vlib/libraryparser.h" #incl...
25.700508
123
0.657713
ManiSadati
43fbbfeb5b30c5204b976f60c3503946c952a3bb
824
cpp
C++
Rubbish/ht6/ht6/6936.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ht6/ht6/6936.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ht6/ht6/6936.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
/* Дан массив, содержащий 2014 вещественных чисел. Напишите на одном из языков программирования программу, находящую в этом массиве два соседних элемента, // значения которых наименее близки, то есть абсолютная величина их разности максимальна. Если таких пар несколько, можно взять любую из них. Программа должна // в...
31.692308
190
0.654126
albarkan
a100267f3a4ab0aca318ad19901f50cd1cde0092
14,647
cpp
C++
src/test/tst_Convert.cpp
jmarquisbq/aqt-stylesheets
119f3f94c4ac0f45864e8ef1ecb72bb6cb854eb7
[ "BSL-1.0" ]
141
2015-10-07T11:18:29.000Z
2022-03-08T07:54:57.000Z
src/test/tst_Convert.cpp
sirvelo/aqt-stylesheets
4975488fcc34c52833d73e956eef90cc76ffc0f1
[ "BSL-1.0" ]
33
2015-11-18T16:35:43.000Z
2022-01-25T17:01:34.000Z
src/test/tst_Convert.cpp
sirvelo/aqt-stylesheets
4975488fcc34c52833d73e956eef90cc76ffc0f1
[ "BSL-1.0" ]
38
2015-10-07T11:18:36.000Z
2022-01-06T03:31:55.000Z
/* Copyright (c) 2015 Ableton AG, Berlin 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, distribu...
37.945596
90
0.606814
jmarquisbq
a107b785318c07ff2354f2054d22acc1b9716f96
1,907
cpp
C++
dbms/src/Parsers/ASTQueryWithOutput.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Parsers/ASTQueryWithOutput.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Parsers/ASTQueryWithOutput.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
28.462687
131
0.660724
solotzg
a107d6ccab67c71c6d7452167520e4b56e59b1b3
479
cpp
C++
999_Practice/Day_0/0003_max_3_number.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
126
2019-12-22T17:49:08.000Z
2021-12-14T18:45:51.000Z
999_Practice/Day_0/0003_max_3_number.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
7
2019-12-25T18:03:41.000Z
2021-02-20T06:25:27.000Z
999_Practice/Day_0/0003_max_3_number.cpp
Gandham-Srinithya/Data-Structure-and-Algorithms
177d03105188c83a157947ca9870bf8037e92528
[ "MIT" ]
54
2019-12-26T06:28:39.000Z
2022-02-01T05:04:43.000Z
// Program for finding max among 3 numbers #include <iostream> using namespace std; int main() { int n1, n2, n3; cin>>n1>>n2>>n3; if(n1>n2) { if(n1>n3) { cout<<"Max : "<<n1; } else { cout<<"Max : "<<n3; } } else { ...
13.305556
42
0.340292
Gandham-Srinithya
a1088712c3b9dc77d6573c1ab2f2d516a54c4d62
9,865
cxx
C++
PWGCF/Correlations/DPhi/AliAnalysisTaskCorrelationsDev.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
PWGCF/Correlations/DPhi/AliAnalysisTaskCorrelationsDev.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
PWGCF/Correlations/DPhi/AliAnalysisTaskCorrelationsDev.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
#include <TList.h> #include <TMath.h> #include <TTree.h> #include <TH2F.h> #include <TH3F.h> #include <TNtuple.h> #include <TROOT.h> #include <TInterpreter.h> #include "AliAnalysisTaskCorrelationsDev.h" #include "AliAnalyseLeadingTrackUE.h" #include "AliPIDResponse.h" #include "AliInputEventHandler.h" #include "AliAn...
30.828125
209
0.679372
benjaminaudurier
a109fd02d8d59a3046b8858b7ce0415fce0d1300
9,737
cpp
C++
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0052.cpp
mcgwh/Neptune
9f95d33e594088d9e95a3d77818de3cc6e4b7dba
[ "BSD-3-Clause" ]
1
2019-07-20T02:26:52.000Z
2019-07-20T02:26:52.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0052.cpp
mcgwh/Neptune
9f95d33e594088d9e95a3d77818de3cc6e4b7dba
[ "BSD-3-Clause" ]
null
null
null
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0052.cpp
mcgwh/Neptune
9f95d33e594088d9e95a3d77818de3cc6e4b7dba
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************** | | Neptune - Trust Anchors | | This file is automatically generated by a script, do not edit! | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modif...
42.70614
79
0.766971
mcgwh
a10cb52e5a0f0bce795af17ba7d93608ad1bb5be
9,738
cpp
C++
Nacro/SDK/FN_F_MED_ASN_Sarah_Head_01_Skeleton_AnimBP_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_F_MED_ASN_Sarah_Head_01_Skeleton_AnimBP_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_F_MED_ASN_Sarah_Head_01_Skeleton_AnimBP_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function F_MED_ASN_Sarah_Head_01_Skel...
50.455959
291
0.888067
Milxnor
a11059dd19c703a16ae31d6f484a23db178047df
971
cpp
C++
Codeforces/189A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/189A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
Codeforces/189A.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
// Problem : A. Cut Ribbon // Contest : Codeforces - Codeforces Round #119 (Div. 2) // URL : https://codeforces.com/problemset/problem/189/A // Memory Limit : 256 MB // Time Limit : 1000 ms // Powered by CP Editor (https://github.com/cpeditor/cpeditor) #include<bits/stdc++.h> #define y1 yy #define f first #define s s...
22.581395
62
0.6138
DT3264
e160b7f7809b1887980f324f48f943f3cd63aa92
250,518
hh
C++
src/doctest.hh
rzadp/lnav
853ef11435e04717249ad2f643afffa510cddfc7
[ "BSD-2-Clause" ]
28
2018-08-14T21:39:43.000Z
2021-09-03T13:49:44.000Z
src/doctest.hh
4sokol/lnav
ab671d5834f51003ec938db8321ff92216f59614
[ "BSD-2-Clause" ]
2
2018-12-17T00:55:32.000Z
2019-10-11T01:47:04.000Z
src/doctest.hh
4sokol/lnav
ab671d5834f51003ec938db8321ff92216f59614
[ "BSD-2-Clause" ]
15
2019-03-05T08:23:33.000Z
2022-01-16T19:57:26.000Z
// ====================================================================== // == DO NOT MODIFY THIS FILE BY HAND - IT IS AUTO GENERATED BY CMAKE! == // ====================================================================== // // doctest.h - the lightest feature-rich C++ single-header testing framework for unit tests and...
45.840439
186
0.604986
rzadp
e1611e08bafbb50b08b70473537a1ca9bd9b6f95
4,182
cpp
C++
src/Query/Query.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
1
2020-05-29T12:34:33.000Z
2020-05-29T12:34:33.000Z
src/Query/Query.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
src/Query/Query.cpp
jonaszell97/cdotc
089b1161155118a0b78637883f0a6a04c6e9b436
[ "MIT" ]
null
null
null
#include "cdotc/Query/Query.h" #include "cdotc/AST/Decl.h" #include "cdotc/Driver/Compiler.h" #include "cdotc/IRGen/IRGen.h" #include "cdotc/Module/Module.h" #include "cdotc/Query/QueryContext.h" #include "cdotc/Sema/SemaPass.h" #include <llvm/Support/MemoryBuffer.h> #include <llvm/Support/raw_ostream.h> using names...
23.897143
80
0.571975
jonaszell97
e1638eadf7539cf035d0c5d8278573d45076582a
26,915
hpp
C++
include/atl/detail/finite_automaton/operate.hpp
LoringHe/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
2
2020-09-02T05:04:52.000Z
2020-09-04T05:26:33.000Z
include/atl/detail/finite_automaton/operate.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
include/atl/detail/finite_automaton/operate.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
// // operate.hpp // atl // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // SPDX-License-Identifier: MIT // Copyright (c) 2020 Jinlong He. // #ifndef atl_detail_finite_automaton_operate_hpp #define atl_detail_finite_automaton_operate_hpp #include <atl/detail/finite_automaton/closure...
44.487603
109
0.53669
LoringHe
e165eded7d366eec4a61d5f3c044c6082cf8c758
80,377
hpp
C++
Source/Tools/relive_api/TlvsAE.hpp
sean-horton/alive_reversing
3645057ba156421d6c86b90327e0ca4a34670b69
[ "MIT" ]
3
2018-07-17T20:25:34.000Z
2020-07-27T19:25:50.000Z
Source/Tools/relive_api/TlvsAE.hpp
sean-horton/alive_reversing
3645057ba156421d6c86b90327e0ca4a34670b69
[ "MIT" ]
1
2021-09-12T16:59:46.000Z
2021-09-12T16:59:46.000Z
Source/Tools/relive_api/TlvsAE.hpp
sean-horton/alive_reversing
3645057ba156421d6c86b90327e0ca4a34670b69
[ "MIT" ]
1
2018-07-18T04:55:56.000Z
2018-07-18T04:55:56.000Z
#pragma once #include "TlvObjectBaseAE.hpp" #include "TlvObjectBaseMacros.hpp" #include "../AliveLibAE/Path.hpp" #include "../AliveLibAE/Switch.hpp" #include "../AliveLibAE/ElectricWall.hpp" #include "../AliveLibAE/Mudokon.hpp" #include "../AliveLibAE/BirdPortal.hpp" #include "../AliveLibAE/LCDStatusBoard.hpp" #inclu...
39.497297
162
0.594337
sean-horton
e16b07de26d43c0dba88aefdecde039d2cb61913
314
cpp
C++
Medium/1492_The_kth_Factor_Of_N.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/1492_The_kth_Factor_Of_N.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/1492_The_kth_Factor_Of_N.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: int kthFactor(int n, int k) { if( k > n ) return -1; int kthfactor = -1; for(int i = 1; i <= n && k; i++) { if(n % i == 0) { kthfactor = i; k--; } } return k == 0 ? kthfactor : -1; } };
22.428571
42
0.347134
ShehabMMohamed
e16ee3ae0e1b7d5d910dfff274900c135285296d
9,115
cpp
C++
7_linked_list/40_link_list_singly.cpp
meyash/dust
8f90d7f9cc42f61193c737cde14e9c4bb32884b4
[ "MIT" ]
1
2020-09-30T10:36:06.000Z
2020-09-30T10:36:06.000Z
7_linked_list/40_link_list_singly.cpp
meyash/dust
8f90d7f9cc42f61193c737cde14e9c4bb32884b4
[ "MIT" ]
null
null
null
7_linked_list/40_link_list_singly.cpp
meyash/dust
8f90d7f9cc42f61193c737cde14e9c4bb32884b4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Node{ public: int data; Node *next; }; class LinkedList{ private: Node *first; // head pointer public: LinkedList(){ first=NULL; } LinkedList(int *a, int size){ Node *last, *t; // t=for creating new nodes | last...
21.197674
76
0.408996
meyash
e16f0cecdd294b5b4a4dcd47a5bfe2d48736ba47
873
cpp
C++
national-computing-contest/elewaiting.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
national-computing-contest/elewaiting.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
national-computing-contest/elewaiting.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <iterator> using namespace std; int main() { vector<long long int> vec(10005); vec[1]=1; vec[2]=3; for(int i=3;i<10005;i++) { vec[i]=vec[i-1]*i; vec[i]=vec[i]%1000000007; } int t; scanf("%d",&t); while(t--) { int n; scanf("%d",&n); map<...
15.872727
61
0.512027
sagar-sam
e16f0d348c536b6d8d71cc0856e9aac54ae49e9f
21,549
cpp
C++
core/src/utils/ModelBase.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
core/src/utils/ModelBase.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
core/src/utils/ModelBase.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.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...
36.216807
120
0.656736
yangzhaofeng
e16fdf882ac47814c3b67e1ff083a516557d6928
240
hpp
C++
pythran/pythonic/include/math/atan.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/math/atan.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/math/atan.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_MATH_ATAN_HPP #define PYTHONIC_INCLUDE_MATH_ATAN_HPP #include "pythonic/include/utils/functor.hpp" #include <cmath> namespace pythonic { namespace math { DECLARE_FUNCTOR_2(atan, std::atan); } } #endif
14.117647
45
0.766667
xmar
e1711a635cf1aabe9c1f19db7ab25abc14aad3f2
2,742
cpp
C++
lib/api/winutil.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
1
2020-04-10T10:15:42.000Z
2020-04-10T10:15:42.000Z
lib/api/winutil.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
null
null
null
lib/api/winutil.cpp
Li-Pro/AutoComplete-Shell
01c0696765f2b99d4a339ca5b0e2f3ef538c35c3
[ "MIT" ]
null
null
null
#include<iostream> #include<windows.h> COORD getCursor(); bool setCursor(COORD pos); TCHAR peekNxt() { HANDLE hIn = GetStdHandle(STD_INPUT_HANDLE); if (hIn==NULL) return 0; DWORD mode; GetConsoleMode(hIn, &mode); SetConsoleMode(hIn, mode & ~(ENABLE_LINE_INPUT | ENABLE_ECHO_INPUT)); TCHAR x = 0; DWORD cnt; ...
18.402685
85
0.689643
Li-Pro
e171d32116a3c9b7ab467c964027f771fb46b399
1,849
cpp
C++
libvast/src/system/spawn_or_connect_to_node.cpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/spawn_or_connect_to_node.cpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/spawn_or_connect_to_node.cpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
40.195652
80
0.485127
a4z
e1728b23a7389224084ddda2c108f7de5ff0c4b8
464
cxx
C++
source/hardware/monitor.cxx
pintarj/ege
69e093581dac9abfa2fbfd3186b22cf834218a33
[ "MIT" ]
null
null
null
source/hardware/monitor.cxx
pintarj/ege
69e093581dac9abfa2fbfd3186b22cf834218a33
[ "MIT" ]
10
2016-09-09T18:15:32.000Z
2017-04-05T00:26:39.000Z
source/hardware/monitor.cxx
pintarj/ege
69e093581dac9abfa2fbfd3186b22cf834218a33
[ "MIT" ]
null
null
null
#include <ege/hardware/monitor.hxx> namespace ege { namespace hardware { VideoMode::VideoMode(int width, int height, int refreshRate, int redBits, int greenBits, int blueBits, const Monitor& monitor): width(width), height(height), refreshRate(refreshRate), ...
23.2
135
0.568966
pintarj
e17453803abe58c01c09abe9bbfee80dd65315e7
2,998
cpp
C++
src/GUI-qt/plugins/AdvancedColorMaps/AdvancedColorMaps.cpp
OpenCMISS-Dependencies/cube
bb425e6f75ee5dbdf665fa94b241b48deee11505
[ "Cube" ]
null
null
null
src/GUI-qt/plugins/AdvancedColorMaps/AdvancedColorMaps.cpp
OpenCMISS-Dependencies/cube
bb425e6f75ee5dbdf665fa94b241b48deee11505
[ "Cube" ]
null
null
null
src/GUI-qt/plugins/AdvancedColorMaps/AdvancedColorMaps.cpp
OpenCMISS-Dependencies/cube
bb425e6f75ee5dbdf665fa94b241b48deee11505
[ "Cube" ]
2
2016-09-19T00:16:05.000Z
2021-03-29T22:06:45.000Z
/**************************************************************************** ** CUBE http://www.scalasca.org/ ** ***************************************************************************** ** Copyright (c) 1998-2016 ** ** Fors...
25.844828
84
0.545697
OpenCMISS-Dependencies
e17fdd420e9111a99ad23e8ff6ed32702c5816de
132
cpp
C++
advent_of_code/src/advent3.cpp
arkadye/advent_of_code_framework
767378a625ca6f9defbf76e9fb6ddb7258934001
[ "CC0-1.0" ]
6
2020-11-28T00:58:39.000Z
2021-02-19T21:03:00.000Z
advent_of_code/src/advent3.cpp
arkadye/advent_of_code_framework
767378a625ca6f9defbf76e9fb6ddb7258934001
[ "CC0-1.0" ]
null
null
null
advent_of_code/src/advent3.cpp
arkadye/advent_of_code_framework
767378a625ca6f9defbf76e9fb6ddb7258934001
[ "CC0-1.0" ]
1
2021-08-22T04:45:43.000Z
2021-08-22T04:45:43.000Z
#include "../advent/advent3.h" ResultType advent_three_p1() { return ""; } ResultType advent_three_p2() { return ""; }
12
31
0.628788
arkadye
e18217fb0ec764998c5da0b1c646eddf8ef2b0d4
628
cpp
C++
base-usage/cplusplus/boost/example2.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/boost/example2.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/boost/example2.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
/************************************************************************* > File Name: example2.cpp > Author: ziqiang > Mail: ziqiang_free@163.com > Created Time: Mon 22 May 2017 05:32:57 PM CST ************************************************************************/ #include <boost/regex.hpp> #include <iostre...
21.655172
74
0.488854
sczzq
e18982c98b734ca0f866af751afdeaafd075cd33
1,936
cpp
C++
samples/system_params_by_name/test.cpp
skair39/mrpt
88238f8ac1abdcf15401e14dc3a9faa5c59ba559
[ "BSD-3-Clause" ]
2
2019-02-20T02:36:05.000Z
2019-02-20T02:46:51.000Z
samples/system_params_by_name/test.cpp
skair39/mrpt
88238f8ac1abdcf15401e14dc3a9faa5c59ba559
[ "BSD-3-Clause" ]
null
null
null
samples/system_params_by_name/test.cpp
skair39/mrpt
88238f8ac1abdcf15401e14dc3a9faa5c59ba559
[ "BSD-3-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
26.888889
80
0.449897
skair39
e18b3273e70ba5cc0265e9346cc56bc40af976d3
1,675
cpp
C++
rai/RosCom/perc/subscribeRosKinect2PCL.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
rai/RosCom/perc/subscribeRosKinect2PCL.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
rai/RosCom/perc/subscribeRosKinect2PCL.cpp
bgheneti/rai
4ac7c8444da0c30b141cf40ffed4414ef1ca3e81
[ "MIT" ]
null
null
null
#ifdef RAI_ROS #ifdef RAI_PCL #include "subscribeRosKinect2PCL.h" #include "roscom.h" #include <tf/tf.h> //#include <pcl/point_cloud.h> //#include <pcl/point_types.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl_ros/transforms.h> struct sSubscribeRosKinect2PCL{ ros::NodeHandle *nh = NULL; ros::Subs...
29.385965
120
0.706269
bgheneti
e196b3ea9dc0e306da4a3614723ebfbb401924bd
1,217
cpp
C++
test/data_structure/segment_tree_test.cpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
25
2016-05-03T02:08:58.000Z
2022-01-11T03:49:28.000Z
test/data_structure/segment_tree_test.cpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
22
2016-04-26T04:46:17.000Z
2016-12-06T03:53:32.000Z
test/data_structure/segment_tree_test.cpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
5
2017-04-04T16:10:42.000Z
2019-12-05T08:22:30.000Z
// Copyright Diego Ramirez 2014 // 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 <cpl/data_structure/segment_tree.hpp> #include <gtest/gtest.h> #include <functional> // plus #includ...
29.682927
76
0.68447
dieram3
e1971db99d83d58b98d5c6fd9104974d83d8354f
1,556
cpp
C++
test/Interop/SwiftToCxx/functions/swift-primitive-inout-functions-execution.cpp
franklinsch/swift
8a546a96eb91180b3a27068f42ed326feb2266ae
[ "Apache-2.0" ]
1
2022-03-15T08:31:21.000Z
2022-03-15T08:31:21.000Z
test/Interop/SwiftToCxx/functions/swift-primitive-inout-functions-execution.cpp
franklinsch/swift
8a546a96eb91180b3a27068f42ed326feb2266ae
[ "Apache-2.0" ]
null
null
null
test/Interop/SwiftToCxx/functions/swift-primitive-inout-functions-execution.cpp
franklinsch/swift
8a546a96eb91180b3a27068f42ed326feb2266ae
[ "Apache-2.0" ]
null
null
null
// RUN: %empty-directory(%t) // RUN: %target-swift-frontend %S/swift-primitive-inout-functions-cxx-bridging.swift -typecheck -module-name Functions -clang-header-expose-public-decls -emit-clang-header-path %t/functions.h // RUN: %target-interop-build-clangxx -c %s -I %t -o %t/swift-functions-execution.o // RUN: %targ...
30.509804
243
0.634961
franklinsch
e19a5c9294b4af49d3343b650079f5ee20fab95d
812
cpp
C++
Compiler/Compiler/Token.cpp
ArtemGolovko/Compiler
301ac16f4dc820ff98ee9543114812f54988a316
[ "MIT" ]
null
null
null
Compiler/Compiler/Token.cpp
ArtemGolovko/Compiler
301ac16f4dc820ff98ee9543114812f54988a316
[ "MIT" ]
null
null
null
Compiler/Compiler/Token.cpp
ArtemGolovko/Compiler
301ac16f4dc820ff98ee9543114812f54988a316
[ "MIT" ]
null
null
null
#include "Token.h" namespace Compiler { TokenType::TokenType(std::string type) : m_type(type) { } std::string TokenType::getStrType() const { return m_type; } bool TokenType::operator==(const TokenType& other) { return m_type == other.m_type; } bool TokenType::operator!=(const TokenType& other) { ...
14.763636
51
0.674877
ArtemGolovko
e1a1a3207e36561246c3729c7d3ad10955860069
1,165
cpp
C++
YorozuyaGSLib/source/_fireguard_block_request_wracDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_fireguard_block_request_wracDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_fireguard_block_request_wracDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_fireguard_block_request_wracDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::_fireguard_block_request_wracsize2_ptr _fireguard_block_request_wracsize2_next(nullptr); Info::_fireguard_block_request_wracsize2_clbk _fireguard_block_request_wracsize...
41.607143
124
0.71073
lemkova
e1a5bdd53925a022dbd70694df0c8bbe344104ea
2,758
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/vmd/assert_is_empty.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
ReactNativeFrontend/ios/Pods/boost/boost/vmd/assert_is_empty.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
157
2019-02-06T05:04:20.000Z
2022-03-31T21:50:28.000Z
ReactNativeFrontend/ios/Pods/boost/boost/vmd/assert_is_empty.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
// (C) Copyright Edward Diener 2011-2015 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #if !defined(BOOST_VMD_ASSERT_IS_EMPTY_HPP) #define BOOST_VMD_ASSERT_IS_EMPTY_HPP #...
25.072727
111
0.67984
Harshitha91
e1a80d0ce7a46e8fd43178553560040a8381838b
172
hpp
C++
sprout/math/muladd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/math/muladd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/math/muladd.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_MATH_MULADD_HPP #define SPROUT_MATH_MULADD_HPP #include <sprout/config.hpp> #include <sprout/math/fma.hpp> #endif // #ifndef SPROUT_MATH_MULADD_HPP
21.5
41
0.77907
osyo-manga
e1a82c9eba8de193f19388cf84f7998fc2fc645f
1,360
cpp
C++
JCommon/JAudio/JAudioClip.cpp
jimmythepage/JEngine
aec32fd2a3be9910f7f75511ba90f0d92fbd82c6
[ "MIT" ]
null
null
null
JCommon/JAudio/JAudioClip.cpp
jimmythepage/JEngine
aec32fd2a3be9910f7f75511ba90f0d92fbd82c6
[ "MIT" ]
5
2020-05-08T13:41:03.000Z
2020-05-10T11:06:23.000Z
JCommon/JAudio/JAudioClip.cpp
jimmythepage/JTPE
b86f5bbd4bbe3a5d543f1707c9b49cecc4484b05
[ "MIT" ]
null
null
null
#include "JCommonPch.h" using namespace J; using namespace J::AUDIO; JAudioClip::JAudioClip() { } JAudioClip::~JAudioClip() { } void JAudioClip::Init(const std::string name, const std::string filepath) { Init(name); if (!mAudioClipImpl) { #ifdef __SDL__ mAudioClipImpl = new JAudioClipSDL(); #else mAudioClipIm...
16.190476
74
0.716176
jimmythepage
e1aa3407b15171dd9960ab1224f24c143155a721
483
cpp
C++
any_node_example/src/any_node_example_node.cpp
mikekaram/anybotics_any_node
db0b1b941dbac0beeedefa41153d0966993fe8cd
[ "BSD-3-Clause" ]
5
2019-12-16T06:02:35.000Z
2021-08-11T14:04:01.000Z
any_node_example/src/any_node_example_node.cpp
mikekaram/anybotics_any_node
db0b1b941dbac0beeedefa41153d0966993fe8cd
[ "BSD-3-Clause" ]
1
2020-10-22T16:42:59.000Z
2020-10-23T05:53:46.000Z
any_node_example/src/any_node_example_node.cpp
mikekaram/anybotics_any_node
db0b1b941dbac0beeedefa41153d0966993fe8cd
[ "BSD-3-Clause" ]
6
2019-12-16T06:02:39.000Z
2021-08-04T16:33:34.000Z
#include "any_node/any_node.hpp" #include "any_node_example/ExampleNode.hpp" int main(int argc, char** argv) { any_node::Nodewrap<any_node_example::ExampleNode> node(argc, argv, "exampleNode", 2); // use 2 spinner threads return static_cast<int>(!node.execute()); // execute blocks until the node was requested t...
48.3
139
0.670807
mikekaram
e1ad36b0cbcf5065cc0c505997a1380101c79c27
1,021
cpp
C++
engine/source/Iron/Animation/Animation.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
engine/source/Iron/Animation/Animation.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
engine/source/Iron/Animation/Animation.cpp
amkhitaryan/Iron
0f65b8ba129d77ccdec58a03d22d1a5499e3793e
[ "MIT" ]
null
null
null
#include "Animation.h" Animation::Animation() { } Animation::Animation(Sprite *sourceSprite, float animationLength) { length = animationLength; Curve curve; int spriteTilesCount = sourceSprite->TilesCount(); for (int i = 0; i < spriteTilesCount; ++i) { Keyframe keyframe(i * animationLengt...
23.204545
93
0.681685
amkhitaryan
e1ba30cae4522c7b0e483accd843c5b7a17872a6
907
cpp
C++
Line.cpp
anttisalonen/libcommon
f16ecf275af944329a0d2285823a9c1f73c84e98
[ "MIT" ]
null
null
null
Line.cpp
anttisalonen/libcommon
f16ecf275af944329a0d2285823a9c1f73c84e98
[ "MIT" ]
null
null
null
Line.cpp
anttisalonen/libcommon
f16ecf275af944329a0d2285823a9c1f73c84e98
[ "MIT" ]
4
2016-08-03T08:43:15.000Z
2021-08-23T14:20:43.000Z
#include "Line.h" #include <cstdlib> namespace Common { /* Bresenham's algorithm */ std::list<Point2> Line::line(const Point2& from, const Point2& to) { std::list<Point2> ret; bool rev = false; int x0 = from.x; int y0 = from.y; int x1 = to.x; int y1 = to.y; bool steep = abs(y1 - y0) > abs(x1 - x0); if(steep...
15.372881
66
0.544653
anttisalonen
e1bc637bcf38bf0fc9aee395b4275b4b2f5e8dc8
6,225
cc
C++
engines/ep/src/checkpoint_config.cc
rualso/kv_engine
17680c38a77d3a67fda55f763cc2631f924ed42d
[ "BSD-3-Clause" ]
null
null
null
engines/ep/src/checkpoint_config.cc
rualso/kv_engine
17680c38a77d3a67fda55f763cc2631f924ed42d
[ "BSD-3-Clause" ]
null
null
null
engines/ep/src/checkpoint_config.cc
rualso/kv_engine
17680c38a77d3a67fda55f763cc2631f924ed42d
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, Inc * * 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 * * h...
36.403509
80
0.66988
rualso
e1c2031e16cacdb2d11e085f55ce4faf1b2caff8
3,302
cc
C++
DiskLayout.cc
shamada-code/superdiskindex
52463ced6d145e9ac03c14df40bbba45f91bfb1c
[ "MIT" ]
6
2020-09-01T16:21:21.000Z
2022-01-11T16:14:30.000Z
DiskLayout.cc
shamada-code/superdiskindex
52463ced6d145e9ac03c14df40bbba45f91bfb1c
[ "MIT" ]
null
null
null
DiskLayout.cc
shamada-code/superdiskindex
52463ced6d145e9ac03c14df40bbba45f91bfb1c
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // // SuperDiskIndex // //////////////////// // // // #include "Global.h" #include "Types.h" #include "DiskLayout.h" #include "Helpers.h" #include "Format.h" /* void DiskLayout::SetLayout(u16 cyls, u16 heads, u16 sects, bool variabletracklen) { Cyls=cyls...
17.287958
87
0.652938
shamada-code
e1cccdb180d848bbdcac7e85aa2e8af10945769f
7,178
cpp
C++
src/apps/haikudepot/server/ProcessCoordinator.cpp
farvardin/haiku
e0d4f6e1219915a6d1b3a03740a780269fd8cf75
[ "MIT" ]
2
2020-02-02T06:48:30.000Z
2020-04-05T13:58:32.000Z
src/apps/haikudepot/server/ProcessCoordinator.cpp
honza1a/haiku
3959883f5047e803205668d4eb7d083b2d81e2da
[ "MIT" ]
null
null
null
src/apps/haikudepot/server/ProcessCoordinator.cpp
honza1a/haiku
3959883f5047e803205668d4eb7d083b2d81e2da
[ "MIT" ]
null
null
null
/* * Copyright 2018, Andrew Lindesay <apl@lindesay.co.nz>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "ProcessCoordinator.h" #include <AutoLocker.h> #include <Catalog.h> #include <StringFormat.h> #include "Logger.h" #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONT...
20.508571
77
0.715241
farvardin
e1cd7ac3a1360f0d1f0bf4aa3b18fd405a9616a6
879
cpp
C++
src/lib/foundations/data_structures/int_matrix.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/data_structures/int_matrix.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/data_structures/int_matrix.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// int_matrix.cpp // // Anton Betten // // Oct 23, 2013 #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { int_matrix::int_matrix() { null(); } int_matrix::~int_matrix() { freeself(); } void int_matrix::null() { M = NULL; m = 0; n = 0; } void int_matrix::freeself...
10.341176
58
0.607509
abetten