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
ac7f18198c4b7ebb51428ca0e212c7bff5992afc
746
cpp
C++
Plugins/org.mitk.gui.qt.datamanager/src/berrySingleNodeSelection.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.datamanager/src/berrySingleNodeSelection.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.datamanager/src/berrySingleNodeSelection.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
20.722222
78
0.568365
zhaomengxiao
ac806388da5d8e24ed0e5846395902524c11f99a
783
cpp
C++
C_Plus_Plus/Basic/save_image/main.cpp
Asadullah-Dal17/learn-opencv-python
2892e1b253f1c8977662148a8721d8efb7bd63b6
[ "MIT" ]
1
2021-12-12T12:17:03.000Z
2021-12-12T12:17:03.000Z
C_Plus_Plus/Basic/save_image/main.cpp
Asadullah-Dal17/learn-opencv-python
2892e1b253f1c8977662148a8721d8efb7bd63b6
[ "MIT" ]
null
null
null
C_Plus_Plus/Basic/save_image/main.cpp
Asadullah-Dal17/learn-opencv-python
2892e1b253f1c8977662148a8721d8efb7bd63b6
[ "MIT" ]
null
null
null
#include <iostream> #include <opencv2/opencv.hpp> int main(int, char**) { std::string image_path ="C:/Users/Asadullah/Projects/Opencv/Course/coding_pubic/learn-opencv-python/images/shapes_image.png"; std::string saving_path ="C:/Users/Asadullah/Projects/Opencv/Course/coding_pubic/learn-opencv-python/C_Plus...
41.210526
150
0.707535
Asadullah-Dal17
ac813c9b719672b1d58e01b342dc9615d3540e0e
640
cpp
C++
src/random.cpp
navkagleb/Random
adb8ea30178582dc77af0b460f3895ca8e4cb641
[ "MIT" ]
1
2021-06-02T15:46:00.000Z
2021-06-02T15:46:00.000Z
src/random.cpp
navkagleb/Random
adb8ea30178582dc77af0b460f3895ca8e4cb641
[ "MIT" ]
null
null
null
src/random.cpp
navkagleb/Random
adb8ea30178582dc77af0b460f3895ca8e4cb641
[ "MIT" ]
null
null
null
#include "random.hpp" namespace ng::random { bool NextBool(float probability) { return _detail::BoolDistribution(std::max(0.0f, std::min(1.0f, probability)))(_detail::GetMersenneTwisterEngine()); } std::string NextString(std::size_t size, char from, char to) { std::string next(size, '\0'); for (auto& characte...
21.333333
117
0.673438
navkagleb
ac82131e62f6b39d4c94a6eebe93eeba4ad5e920
8,614
hxx
C++
include/nifty/distributed/distributed_graph.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
null
null
null
include/nifty/distributed/distributed_graph.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
null
null
null
include/nifty/distributed/distributed_graph.hxx
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <boost/functional/hash.hpp> #include "nifty/distributed/graph_extraction.hxx" namespace nifty { namespace distributed { // A simple directed graph, // that can be constructed from the distributed region graph outputs // We use this instead of the nifty gra...
38.284444
110
0.519039
konopczynski
12bf7201cb974498cd57acd4e1c0b691255d842a
3,274
cpp
C++
Aether Framework/src/Audio/AudioDevice.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
Aether Framework/src/Audio/AudioDevice.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
Aether Framework/src/Audio/AudioDevice.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2021, Wiktor Kasjaniuk // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions...
38.069767
105
0.711057
WiktorKasjaniuk
12c097c0a363d5ddf94e57a6c758a49a938ee077
47
hpp
C++
src/boost_date_time_compiler_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_date_time_compiler_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_date_time_compiler_config.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/date_time/compiler_config.hpp>
23.5
46
0.829787
miathedev
12c53ba0bf5726820b495f029a641b18b50d04a5
1,638
cpp
C++
12-circle/circle.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
143
2016-07-28T06:00:43.000Z
2022-03-30T14:08:50.000Z
12-circle/circle.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
3
2017-11-28T10:09:52.000Z
2021-08-30T09:20:41.000Z
12-circle/circle.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
24
2016-10-27T02:02:44.000Z
2022-02-06T07:37:07.000Z
#include <iostream> #include <math.h> // M_PI, sqrt class Circle { private: float area; float radius; float diameter; public: Circle(float area = 0, float radius = 0, float diameter = 0) : area{area}, radius{radius}, diameter{diameter} {} static Circle from_radius(float radius) { return Circle(M_PI...
20.734177
64
0.571429
skaadin
12d2e88f92eace73422104e3e939ac717e36ad95
13,726
cpp
C++
TerrainSDK/vtlib/core/PagedLodGrid.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainSDK/vtlib/core/PagedLodGrid.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainSDK/vtlib/core/PagedLodGrid.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// // PagedLodGrid.cpp // // Copyright (c) 2007-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "vtlib/vtlib.h" #include "Structure3d.h" #include "vtdata/LocalCS.h" #include "vtdata/HeightField.h" #include "vtdata/vtLog.h" #include "PagedLodGrid.h" #include <algorithm> //...
24.598566
90
0.683375
nakijun
12d3cf11cb874027db4ecfaead2fb54d13967e27
16,970
cpp
C++
src/xray/editor/world/sources/sound_object_cook.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/sound_object_cook.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/sound_object_cook.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 21.12.2009 // Author : Evgeniy Obertyukh // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #pragma managed(push) #pragma unmanaged #i...
30.521583
154
0.652858
ixray-team
12d713f4f1018305d22d3ca9d75f1b702414b0b2
7,430
cpp
C++
game.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
null
null
null
game.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
1
2017-04-05T00:58:21.000Z
2017-04-05T00:58:21.000Z
game.cpp
block8437/GameEngine
e4b452c33781566e55e9339efee9441ddb924f58
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include "game.h" namespace GameEngine { Game gameObject; GameContactListener myContactListenerInstance; void _display_redirect() { gameObject.display(); } void _reshape_redirect(GLsizei width, GLsizei height) { gameObject.reshape(width, height); } void _exit_redirect() { gameObje...
24.045307
136
0.673351
block8437
12d788c3b34c43755b41891974e020fe89b4e04d
3,497
cpp
C++
lotus/src/scene/SceneManager.cpp
mayant15/lotus
6b01b6bc204c66f3f22c5d3ad59dc08312f1ad20
[ "MIT" ]
6
2020-11-13T14:02:02.000Z
2021-11-30T14:26:50.000Z
lotus/src/scene/SceneManager.cpp
sps1112/lotus
28c048b04a2f30cc1620f7fd10279038c101bd48
[ "MIT" ]
1
2020-07-16T10:51:56.000Z
2020-07-16T10:51:56.000Z
lotus/src/scene/SceneManager.cpp
sps1112/lotus
28c048b04a2f30cc1620f7fd10279038c101bd48
[ "MIT" ]
3
2020-07-13T11:36:29.000Z
2020-10-20T09:13:32.000Z
#include <lotus/scene/SceneManager.h> #include <lotus/ecs/ComponentRegistry.h> #include <lotus/debug.h> #include <lotus/filesystem.h> #include <stdexcept> #include <lotus/ecs/EventManager.h> namespace Lotus::SceneManager { SRef<Scene> currentScene; SRef<Scene> GetCurrentScene() { ...
30.408696
120
0.560766
mayant15
12d87943a99b04bdf0c3a0c6421bb9d224ba0234
356
cpp
C++
HackerRank/Recursion/reverse_string.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
1
2020-10-25T16:12:09.000Z
2020-10-25T16:12:09.000Z
HackerRank/Recursion/reverse_string.cpp
abhishek-sankar/Competitive-Coding-Solutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
3
2020-11-12T05:44:24.000Z
2021-04-05T08:09:01.000Z
HackerRank/Recursion/reverse_string.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; string reverse(string name){ // 3 steps // one step simpler? // My function CAN // how will I use the function which can do 1 step simpler to solve present problem? // Base case: if(name.length()<=1) return name; return reverse(name.substr(1))+name[0]; } int main(){...
23.733333
85
0.685393
nullpointxr
12db14f05af5c98a3b912e29cda983f9834fbab6
629
hpp
C++
public/sketch/application.hpp
vladislavmarkov/sketch
5afed3edd0245942ed2010df1d092fc7d1ed8610
[ "MIT" ]
null
null
null
public/sketch/application.hpp
vladislavmarkov/sketch
5afed3edd0245942ed2010df1d092fc7d1ed8610
[ "MIT" ]
null
null
null
public/sketch/application.hpp
vladislavmarkov/sketch
5afed3edd0245942ed2010df1d092fc7d1ed8610
[ "MIT" ]
null
null
null
#pragma once #ifndef SK_APPLICATION_HPP #define SK_APPLICATION_HPP #include <sketch/window.hpp> namespace sk { class application_t final { std::vector<window_t> _windows; bool _running = {true}; public: application_t& operator=(const application_t&) = delete; application_t& operator...
20.966667
60
0.655008
vladislavmarkov
12e1de9878cc3d4aa88a9cb99bb560e034b69a85
1,663
cpp
C++
perception_oru-port-kinetic/graph_map/src/template/template_reg_type.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2020-11-14T08:21:13.000Z
2020-11-14T08:21:13.000Z
perception_oru-port-kinetic/graph_map/src/template/template_reg_type.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2021-07-28T04:47:56.000Z
2021-07-28T04:47:56.000Z
perception_oru-port-kinetic/graph_map/src/template/template_reg_type.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
2
2020-12-18T11:25:53.000Z
2022-02-19T12:59:59.000Z
#include "graph_map/template/template_reg_type.h" namespace perception_oru{ namespace libgraphMap{ TemplateRegType::TemplateRegType(const Affine3d &sensor_pose,RegParamPtr paramptr):registrationType(sensor_pose,paramptr){ TemplateRegTypeParamPtr param = boost::dynamic_pointer_cast< TemplateRegTypeParam >(paramptr)...
30.236364
128
0.753458
lllray
12e6c2e4c800db0f43c8e684214f56283e2a5c1b
84
hpp
C++
tests/wf/operators/shift_equal_continuation.hpp
GuillaumeDua/CppShelf
fc559010a5e38cecfd1967ebbbba21fd4b38e5ee
[ "MIT" ]
3
2021-12-09T20:02:51.000Z
2022-03-23T09:22:58.000Z
tests/wf/operators/shift_equal_continuation.hpp
GuillaumeDua/CppShelf
fc559010a5e38cecfd1967ebbbba21fd4b38e5ee
[ "MIT" ]
31
2021-08-11T16:14:43.000Z
2022-03-31T11:45:24.000Z
tests/wf/operators/shift_equal_continuation.hpp
GuillaumeDua/CppShelf
fc559010a5e38cecfd1967ebbbba21fd4b38e5ee
[ "MIT" ]
null
null
null
#pragma once #include <csl/wf.hpp> namespace test::wf::operators::shift_equal { }
12
44
0.714286
GuillaumeDua
12e704d2048d8696df6c3977c76a7d017c261b4e
1,740
cpp
C++
graphs/prims.cpp
sumanbanerjee1/Algorithms-and-data-structures
0bc61036c398bd3cea5f7ddf80535520de3a33fa
[ "Apache-2.0" ]
null
null
null
graphs/prims.cpp
sumanbanerjee1/Algorithms-and-data-structures
0bc61036c398bd3cea5f7ddf80535520de3a33fa
[ "Apache-2.0" ]
null
null
null
graphs/prims.cpp
sumanbanerjee1/Algorithms-and-data-structures
0bc61036c398bd3cea5f7ddf80535520de3a33fa
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> # define inf INT_MAX using namespace std; typedef pair<int,int> iPair; class Graph{ int v; list< pair<int,int> > *adj; public: Graph(int vert) { v=vert; adj = new list< pair<int,int> > [vert]; } void addEdge(int u,int v,int w) { adj[u].push_back(make_pair(w...
16.571429
82
0.518966
sumanbanerjee1
12ebbe81215360c5ec694657e40dc4aa19622a20
9,527
cpp
C++
test/OpenDDLExportTest.cpp
lerppana/openddl-parser
a9bc8a5dee880d546136e33a5977d7a0a28eaa20
[ "MIT" ]
24
2015-02-08T23:16:05.000Z
2021-07-15T07:31:08.000Z
test/OpenDDLExportTest.cpp
lerppana/openddl-parser
a9bc8a5dee880d546136e33a5977d7a0a28eaa20
[ "MIT" ]
64
2015-01-28T21:42:06.000Z
2021-11-01T07:49:24.000Z
test/OpenDDLExportTest.cpp
lerppana/openddl-parser
a9bc8a5dee880d546136e33a5977d7a0a28eaa20
[ "MIT" ]
10
2015-11-17T09:18:57.000Z
2021-10-06T18:59:05.000Z
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2014-2020 Kim Kulling 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 ...
30.4377
103
0.65771
lerppana
12eea4cf8d075f0f2846a72b60c340db33b652de
4,856
cpp
C++
files/soko1/qutim_0.1.1/protocol/oscar/icq/multiplesending.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
files/soko1/qutim_0.1.1/protocol/oscar/icq/multiplesending.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
files/soko1/qutim_0.1.1/protocol/oscar/icq/multiplesending.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
/* multipleSending Copyright (c) 2008 by Rustam Chakin <qutim.develop@gmail.com> *************************************************************************** * * * This program is free software; you can redistribute it and/or modify ...
27.280899
154
0.644563
truebsdorg
12f00818638db4fb4442d04bef80cc851d808e1c
1,926
cpp
C++
Game/ui/documentmenu.cpp
da3m0nsec/OpenGothic
af30c52309cb84ff338d42554610679e0e245f91
[ "MIT" ]
null
null
null
Game/ui/documentmenu.cpp
da3m0nsec/OpenGothic
af30c52309cb84ff338d42554610679e0e245f91
[ "MIT" ]
null
null
null
Game/ui/documentmenu.cpp
da3m0nsec/OpenGothic
af30c52309cb84ff338d42554610679e0e245f91
[ "MIT" ]
null
null
null
#include "documentmenu.h" #include "utils/gthfont.h" #include "gothic.h" using namespace Tempest; DocumentMenu::DocumentMenu(Gothic& gothic) :gothic(gothic) { } void DocumentMenu::show(const DocumentMenu::Show &doc) { document = doc; active = true; update(); } void DocumentMenu::close() { if(!activ...
21.640449
81
0.573209
da3m0nsec
12f31d7d66104c07eb40b842fac64512ce7d4837
1,017
cpp
C++
Engine/src/DebugPass.cpp
Swizzman/DV1573_Stort_Spel
77ed6524988b0b501d9b556c487a36d929a20313
[ "MIT" ]
3
2022-01-29T12:05:53.000Z
2022-02-20T16:00:26.000Z
Engine/src/DebugPass.cpp
Swizzman/Homehearth
77ed6524988b0b501d9b556c487a36d929a20313
[ "MIT" ]
null
null
null
Engine/src/DebugPass.cpp
Swizzman/Homehearth
77ed6524988b0b501d9b556c487a36d929a20313
[ "MIT" ]
null
null
null
#include "EnginePCH.h" #include "BasePass.h" void DebugPass::PreRender(Camera* pCam, ID3D11DeviceContext* pDeviceContext) { DC->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); DC->IASetInputLayout(PM->m_defaultInputLayout.Get()); DC->VSSetShader(PM->m_defaultVertexShader.Get(), nullptr, 0);...
31.78125
98
0.73648
Swizzman
12f9ed1bfd569b99c78754fff91318080f6565de
1,115
cc
C++
day06/main.cc
HappyCerberus/moderncpp-aoc-2021
0973201f2e1c2c6c2900162e3829a68477818ced
[ "MIT" ]
20
2021-12-04T04:53:22.000Z
2022-02-24T23:37:31.000Z
day06/main.cc
HappyCerberus/moderncpp-aoc-2021
0973201f2e1c2c6c2900162e3829a68477818ced
[ "MIT" ]
null
null
null
day06/main.cc
HappyCerberus/moderncpp-aoc-2021
0973201f2e1c2c6c2900162e3829a68477818ced
[ "MIT" ]
1
2022-01-04T22:12:05.000Z
2022-01-04T22:12:05.000Z
#include "lanternfish.h" #include <fstream> #include <iostream> #include <string> int main(int argc, char *argv[]) { if (argc != 2) { std::cerr << "This program expects one parameter that is the input file to read.\n"; return 1; } std::ifstream input(argv[1]); if (!input.is_open()) { std::cerr << ...
27.875
123
0.636771
HappyCerberus
12fe5a69ec6ca62a21385ca1c1c89d205758bd44
7,569
cpp
C++
Samples/RnD/DDGI/SVGFPass.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
15
2019-11-12T21:45:58.000Z
2022-02-08T07:07:06.000Z
Samples/RnD/DDGI/SVGFPass.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
1
2020-01-16T07:21:23.000Z
2020-02-07T02:39:27.000Z
Samples/RnD/DDGI/SVGFPass.cpp
guoxx/DDGI
cc8b6b8194ff4473cdf21f72754a103cd6f8526d
[ "BSD-3-Clause" ]
3
2020-05-16T12:35:34.000Z
2022-01-23T07:30:47.000Z
#include "SVGFPass.h" using namespace Falcor; SVGFPass::SharedPtr SVGFPass::create(uint32_t width, uint32_t height) { return std::make_shared<SVGFPass>(width, height); } SVGFPass::SVGFPass(uint32_t width, uint32_t height) : mAtrousIterations(4), mFeedbackTap(1), mAtrousRadius(2), mAlpha(0.1...
41.81768
172
0.742767
guoxx
420584dddf7ea9ffe6fa2caa0c549145b39c5be7
1,011
hpp
C++
Engine/Code/Engine/Renderer/SpriteAnimDefinition.hpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/SpriteAnimDefinition.hpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/SpriteAnimDefinition.hpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
#pragma once #include "SpriteSheet.hpp" enum class SpriteAnimPlaybackType { ONCE, // for 5-frame anim, plays 0,1,2,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4... LOOP, // for 5-frame anim, plays 0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0... PINGPONG // for 5-frame anim, plays 0,1,2,3,4,3,2,1,0,1,2,3,4,3,2,1,0,...
37.444444
94
0.740851
sam830917
42075bf31ee80b30fb7175f179f7b56b5a476549
339
cpp
C++
src/xgdial.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
1
2019-12-10T20:13:11.000Z
2019-12-10T20:13:11.000Z
src/xgdial.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
null
null
null
src/xgdial.cpp
msperl/Period
da4b4364e8228852cc2b82639470dab0b3579055
[ "MIT" ]
null
null
null
/* * Program: Period98 * * File: xgdial.h * Purpose: Implementation-file for * ? * Author: Martin Sperl * Created: 1996 * Copyright: (c) 1996-1998, Martin Sperl */ #include "xgdial.h" Bool myDialogBox::OnClose(void) { int result=wxDialogBox::OnClose(); Show(FALSE); ...
16.95
43
0.587021
msperl
420b724ad3961986b054359d68284129eee05771
645
cpp
C++
test/linux/router/service.cpp
justinc1/IncludeOS
2ce07b04e7a35c8d96e773f041db32a4593ca3d0
[ "Apache-2.0" ]
null
null
null
test/linux/router/service.cpp
justinc1/IncludeOS
2ce07b04e7a35c8d96e773f041db32a4593ca3d0
[ "Apache-2.0" ]
null
null
null
test/linux/router/service.cpp
justinc1/IncludeOS
2ce07b04e7a35c8d96e773f041db32a4593ca3d0
[ "Apache-2.0" ]
null
null
null
#include <service> #include "async_device.hpp" static std::unique_ptr<Async_device> dev2; void Service::start() { extern void create_network_device(int N, const char* route, const char* ip); create_network_device(0, "10.0.0.0/24", "10.0.0.1"); // Get the first IP stack configured from config.json auto& inet =...
28.043478
78
0.683721
justinc1
420c3c03afaad46519b0bd79063348d7c72dbb6a
10,468
cpp
C++
opcodes/dxil/dxil_compute.cpp
HansKristian-Work/DXIL2SPIRV
ea9ac33ae88c9efb0f864d473eb22c3c04d166a5
[ "MIT" ]
5
2019-11-07T13:14:56.000Z
2019-12-09T20:01:47.000Z
opcodes/dxil/dxil_compute.cpp
HansKristian-Work/DXIL2SPIRV
ea9ac33ae88c9efb0f864d473eb22c3c04d166a5
[ "MIT" ]
null
null
null
opcodes/dxil/dxil_compute.cpp
HansKristian-Work/DXIL2SPIRV
ea9ac33ae88c9efb0f864d473eb22c3c04d166a5
[ "MIT" ]
null
null
null
/* Copyright (c) 2019-2022 Hans-Kristian Arntzen for Valve Corporation * * 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 ...
36.729825
116
0.734142
HansKristian-Work
4210c2aaf8f2187a480a4b39fb5310b42836d22a
772
hpp
C++
pal/src/include/pal/handleapi.hpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
8,664
2016-01-13T17:33:19.000Z
2019-05-06T19:55:36.000Z
pal/src/include/pal/handleapi.hpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
5,058
2016-01-13T17:57:02.000Z
2019-05-04T15:41:54.000Z
pal/src/include/pal/handleapi.hpp
Taritsyn/ChakraCore
b6042191545a823fcf9d53df2b09d160d5808f51
[ "MIT" ]
1,367
2016-01-13T17:54:57.000Z
2019-04-29T18:16:27.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*++ Module Name: handleapi.hpp Abstract: Declaration of the handle management APIs --*/ #ifndef _HANDLEAPI_HPP #define _HANDLEAPI_HPP #includ...
15.44
102
0.65544
Taritsyn
4210f672c013214c16e1dc820db8b5711539fa04
1,288
hpp
C++
typed_python/PyPythonObjectOfTypeInstance.hpp
npang1/nativepython
df311a5614a9660c15a8183b2dc606ff3e4600df
[ "Apache-2.0" ]
null
null
null
typed_python/PyPythonObjectOfTypeInstance.hpp
npang1/nativepython
df311a5614a9660c15a8183b2dc606ff3e4600df
[ "Apache-2.0" ]
null
null
null
typed_python/PyPythonObjectOfTypeInstance.hpp
npang1/nativepython
df311a5614a9660c15a8183b2dc606ff3e4600df
[ "Apache-2.0" ]
null
null
null
#pragma once #include "PyInstance.hpp" class PyPythonObjectOfTypeInstance : public PyInstance { public: typedef PythonObjectOfType modeled_type; static void copyConstructFromPythonInstanceConcrete(PythonObjectOfType* eltType, instance_ptr tgt, PyObject* pyRepresentation, bool isExplicit) { int isinst...
30.666667
149
0.63587
npang1
4216d37a7ec815a46ba620348eafdf13133dc2ef
2,103
cpp
C++
codes/HDU/hdu5402.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5402.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5402.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 105; const int dir[2][4][2] = { {{0, -1}, {-1, 0}, {1, 0}, {0, 1}}, {{-1, 0}, {0, 1}, {0, -1}, {1, 0}} }; const char sig[2][5] = {"LUDR", "URLD"}; int N, M, A[maxn][maxn], V[maxn][maxn]; char str[maxn * maxn]; int build ...
21.03
100
0.406087
JeraKrs
421c63e7851ba31fb469dacf5023e6b3a74f3ca8
3,790
cpp
C++
RegionGrowingColor/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
RegionGrowingColor/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
RegionGrowingColor/prova.cpp
OttoBismark/DigitalImageProcessing
83ecbe64efe8acb6ce6aea020125b2eba2569f30
[ "MIT" ]
null
null
null
/* Region Growing a colori */ #include <cstdlib> #include <opencv/cv.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/video/video.hpp> #include <iostream> #include <stdio.h> #include <opencv2/core/core.hpp> #include <math.h> #include <unistd.h> #include <vector> #inclu...
28.712121
109
0.466755
OttoBismark
421ec7da40ccd4ce7e985263c3617f6c3beafa54
1,670
hpp
C++
lib/models/customer.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
2
2016-05-03T07:38:34.000Z
2020-12-13T22:31:32.000Z
lib/models/customer.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
null
null
null
lib/models/customer.hpp
lacriment/Hayyam
488f274944df61562e19b02145a6fdbcf7dc88b1
[ "MIT" ]
null
null
null
#ifndef CUSTOMER_HPP #define CUSTOMER_HPP #include <QObject> #include <QString> #include "city.hpp" class Customer : public QObject { Q_OBJECT private: int m_Id; QString m_tc; QString m_name; QString m_surname; QString m_phone; City *m_city; QString m_address; public: explicit C...
27.377049
86
0.731138
lacriment
422465eb7bab342d3f42586d18b9683dfdefef45
1,706
cpp
C++
src/providers/mpi/connection.cpp
PeterJGeorg/pmr
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
6
2017-01-31T10:39:36.000Z
2020-08-15T12:40:21.000Z
src/providers/mpi/connection.cpp
pjgeorg/pMR
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
null
null
null
src/providers/mpi/connection.cpp
pjgeorg/pMR
e3022da0027313f947b0778188fad1a863fd7dbf
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Peter Georg // // 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 ...
28.433333
76
0.708675
PeterJGeorg
4228967ffd0e8e7f8735a54c212d0a7bffced7e9
64
cpp
C++
3DEngine/Physics/OBB.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
5
2019-07-23T03:21:04.000Z
2020-08-28T09:09:08.000Z
3DEngine/Physics/OBB.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
null
null
null
3DEngine/Physics/OBB.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
3
2019-07-25T01:36:02.000Z
2020-02-15T08:11:19.000Z
#include "OBB.h" ENGINE_NAMESPACE_START ENGINE_NAMESPACE_END
9.142857
22
0.828125
EricDDK
422d7cfc53b6ef303711742d998a759c59689269
2,935
cpp
C++
src/Canvas/NumberPadCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/Canvas/NumberPadCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/Canvas/NumberPadCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
#include "NumberPadCanvas.hpp" NumberPadCanvas::NumberPadCanvas(Canvas * canvas, uint16_t id) : Canvas(canvas, id) { for (uint8_t i=0;i<12;i++) { char text[10]; snprintf(text, sizeof(text), "%d", i+1); numberButtonsCanvas[i] = new TextCanvas(this, i); numberButtonsCanvas[i]->setText...
43.80597
106
0.479727
RobinSinghNanda
422f0cadcc4cba747dcf7969fa31b9c9316afcd1
2,286
cpp
C++
monad_test.cpp
XzoRit/cpp_monad
9777f14d38c0df62cdaecfb286ae4d2f52777927
[ "BSL-1.0" ]
null
null
null
monad_test.cpp
XzoRit/cpp_monad
9777f14d38c0df62cdaecfb286ae4d2f52777927
[ "BSL-1.0" ]
null
null
null
monad_test.cpp
XzoRit/cpp_monad
9777f14d38c0df62cdaecfb286ae4d2f52777927
[ "BSL-1.0" ]
null
null
null
#include "monad.hpp" #include <boost/test/unit_test.hpp> #include <cctype> #include <iostream> #include <variant> namespace std { ostream& boost_test_print_type(ostream& ostr, monostate const& right) { ostr << "monostate"; return ostr; } } struct init { init() { BOOST_TEST_MESSAGE("init"); } ~init() { BOOST...
23.326531
96
0.561242
XzoRit
4231df6f009026d47fff53a263e67666fce71ee6
3,125
cpp
C++
lang/codeGen/types/CodeGenArrayComplexType.cpp
zippy1978/stark
62607d606fc5fe1addea4bd433b4d8dba9d4f3b1
[ "MIT" ]
null
null
null
lang/codeGen/types/CodeGenArrayComplexType.cpp
zippy1978/stark
62607d606fc5fe1addea4bd433b4d8dba9d4f3b1
[ "MIT" ]
null
null
null
lang/codeGen/types/CodeGenArrayComplexType.cpp
zippy1978/stark
62607d606fc5fe1addea4bd433b4d8dba9d4f3b1
[ "MIT" ]
null
null
null
#include <vector> #include <llvm/IR/Constant.h> #include <llvm/IR/IRBuilder.h> #include "../CodeGenFileContext.h" #include "CodeGenComplexType.h" using namespace llvm; using namespace std; namespace stark { CodeGenArrayComplexType::CodeGenArrayComplexType(std::string typeName, CodeGenFileContext *context) : Cod...
40.584416
171
0.67104
zippy1978
423537413507863635dc62c08b62af1a6dd04a29
1,219
cpp
C++
test/cpp/misc_tests/url-1.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
test/cpp/misc_tests/url-1.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
test/cpp/misc_tests/url-1.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// // Copyright (c) 2008 João Abecasis // // 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 <saga/saga.hpp> #include <iostream> int main() { saga::url u1("http://example.com"), u2 = u1, u3; s...
29.731707
80
0.546349
saga-project
4237709d2596784d4f7ba3af9705c389b7d0c391
1,375
cpp
C++
src/ui/main.cpp
mario-martinez-proyecto1/arbol-b
832371749cfa192f3b32873b0a55e99936f5ab6a
[ "MIT" ]
null
null
null
src/ui/main.cpp
mario-martinez-proyecto1/arbol-b
832371749cfa192f3b32873b0a55e99936f5ab6a
[ "MIT" ]
null
null
null
src/ui/main.cpp
mario-martinez-proyecto1/arbol-b
832371749cfa192f3b32873b0a55e99936f5ab6a
[ "MIT" ]
null
null
null
#include <iostream> #include "../tl/Gestor.h" #include "utilitario/Validar.h" Gestor gestor; Validar validar; using namespace std; void menu(); void procesarMenu(int &, bool &); int ingresarNum(string); int main() { menu(); return 0; } void menu() { bool salir; string valor; int opcion = 0; do...
22.540984
78
0.506182
mario-martinez-proyecto1
423b4bfc1e4fa564a57f5197c188b4c0856bd2ce
947
cpp
C++
SmallestGoodBase.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
SmallestGoodBase.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
SmallestGoodBase.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
// log * log * log class Solution { public: unsigned long long calc(int d, int k) {; unsigned long long x = 1; unsigned long long sum = 0; for (int i = 0; i < d; i++) { sum += x; x *= k; } return sum; } string smallestGoodBase(string n) { ...
28.69697
59
0.317846
yplusplus
423e5287e968b03a7a40b8153df367c9f0f61624
2,306
cpp
C++
tests/hull/hullTest.cpp
Yattabyte/TestProject
21a1e047dd03f90087e2738c7d90545a067e8375
[ "BSD-3-Clause" ]
1
2020-03-02T21:56:42.000Z
2020-03-02T21:56:42.000Z
tests/hull/hullTest.cpp
Yattabyte/TestProject
21a1e047dd03f90087e2738c7d90545a067e8375
[ "BSD-3-Clause" ]
null
null
null
tests/hull/hullTest.cpp
Yattabyte/TestProject
21a1e047dd03f90087e2738c7d90545a067e8375
[ "BSD-3-Clause" ]
null
null
null
#include "hull.hpp" #include <cassert> #include <iostream> #include <limits> #include <string> ////////////////////////////////////////////////////////////////////// /// Use the shared mini namespace using namespace mini; // Constant variables for this test constexpr auto scale(10.0F); constexpr auto pointCount(16384...
31.589041
80
0.573287
Yattabyte
4244bf1064c76dbcfe7a5c0983dc66ab07321ab2
1,247
cc
C++
Codeforces/311 Division 2/Problem A/A.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/311 Division 2/Problem A/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/311 Division 2/Problem A/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
17.082192
79
0.55413
VastoLorde95
424a1938b3dfb575afc3d89a653c01ec8e2da0c7
748
cpp
C++
2265/9284084_AC_0MS_956K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
2265/9284084_AC_0MS_956K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
2265/9284084_AC_0MS_956K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#define _CRT_SECURE_NO_WARNINGS #include<cstdio> const int ID_MAX=100000; int x[ID_MAX]={0},y[ID_MAX]={0}; int main(){ for(int id=0;id+1<ID_MAX;id++){ if(x[id]>=0 && x[id]+y[id]<0){ x[id+1]=x[id]+1; y[id+1]=y[id]; } else if(y[id]<=0 && x[id]+y[id]>=0){ x[id+1]=x[id]; y[id+1]=y[id]+1; ...
19.684211
39
0.450535
vandreas19
424b3a4833b296d05cea1a528f1ec30ad7101f12
1,241
cpp
C++
UVA/11462 - Age Sort.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
UVA/11462 - Age Sort.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
UVA/11462 - Age Sort.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> /* Problem: 11462 - Age Sort Link : https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2457 Solution by: Mohamed Hisham El-Banna Gmail : Mohamed00Hisham@Gmail.com Github : www.github.com/Mhmd-Hisham LinkedIn: www.linkedin.com/in/Mhmd-Hisham */...
17.478873
109
0.475423
Mhmd-Hisham
42521aa4b8951f72b588c6847e0e199be7d2a4bb
1,169
cc
C++
src/rocksdb2/util/concurrent_arena.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/util/concurrent_arena.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/util/concurrent_arena.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2011至今,Facebook,Inc.保留所有权利。 //此源代码在两个gplv2下都获得了许可(在 //复制根目录中的文件)和Apache2.0许可证 //(在根目录的license.apache文件中找到)。 // //...
24.354167
74
0.753636
yinchengtsinghua
425ad57f0ec487f910bb9d842de40c70bfe72c4e
9,890
cpp
C++
TRANSmission/Intermediate/Build/Win64/UE4Editor/Inc/TRANSmission/Vibrator.gen.cpp
daff0111/GGJ2018
2d14edb4f1ba6a281985c758961939294cdeda9a
[ "MIT" ]
null
null
null
TRANSmission/Intermediate/Build/Win64/UE4Editor/Inc/TRANSmission/Vibrator.gen.cpp
daff0111/GGJ2018
2d14edb4f1ba6a281985c758961939294cdeda9a
[ "MIT" ]
null
null
null
TRANSmission/Intermediate/Build/Win64/UE4Editor/Inc/TRANSmission/Vibrator.gen.cpp
daff0111/GGJ2018
2d14edb4f1ba6a281985c758961939294cdeda9a
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
47.548077
456
0.768959
daff0111
425c44c6ab3335b2a34784926aa7d93aff2771dd
189
cc
C++
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
2
2021-10-08T00:50:26.000Z
2021-12-17T07:18:15.000Z
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
1
2021-09-29T07:21:20.000Z
2021-09-29T07:21:20.000Z
lib/seadsa/Debug.cc
wenhuizhang/sea-dsa
098a945af596d29940421219741bea727778bfb5
[ "BSD-3-Clause" ]
1
2021-10-12T09:02:40.000Z
2021-10-12T09:02:40.000Z
#include <seadsa/support/Debug.h> std::set<std::string> seadsa::SeaDsaLog; void seadsa::SeaDsaEnableLog (std::string x) { if (x.empty()) return; seadsa::SeaDsaLog.insert (x); }
13.5
46
0.671958
wenhuizhang
4263fd30955386762c18b28f158d1a0ba1ab0767
647
cpp
C++
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
31
2021-05-14T03:37:24.000Z
2022-03-13T17:38:32.000Z
chapter_05/ComputeMean.cpp
Kevin-Oudai/my_cpp_solutions
a0f5f533ee4825f5b2d88cacc936d80276062ca4
[ "MIT" ]
null
null
null
// Exercise 5.47 - Statistics: Compute mean and standard deviation #include <iostream> #include <cmath> int main() { std::cout << "Enter ten numbers: "; int count = 0; double num, sum = 0.0, squareSum, sumSquare = 0, mean, deviation; while (count < 10) { std::cin >> num; sum += num...
25.88
72
0.554869
Kevin-Oudai
426414a602d2273e98bb37e0867cc6d70faec56d
3,812
cpp
C++
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
Final_Project/gl_common_ext/SkyBox.cpp
Guarionex/HCI-557-CG
a84fdb3a1440992cc1cc973f4360f232f94d2025
[ "MIT" ]
null
null
null
#include "SkyBox.h" #include <iostream> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "ShaderProgram.h" using namespace cs557; SkyBox::SkyBox(string left, string right, string up, string down, string front, string back, ShaderFiles skybox_shader_files) { vector<string> faces { left, right, ...
26.289655
125
0.705666
Guarionex
42670b3adde45ea4712819604d9f4ffe20d97c8c
1,918
cpp
C++
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Leet Code/Word Break II.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/* Leet Code */ /* Title - Word Break II */ /* Created By - Akash Modak */ /* Date - 30/7/2020 */ // Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. ...
24.909091
214
0.55318
Shubhrmcf07
4269616c992300e60e21a3675c0f8141b9005ac5
1,371
cpp
C++
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
1
2021-04-17T22:38:25.000Z
2021-04-18T00:43:15.000Z
Source/Urho3D/Urho2D/Urho2D.cpp
1vanK/Dviglo
468a61e6d9a87cf7d998312c1261aaa83b37ff3c
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2021 the Urho3D project // Copyright (c) 2021 проект Dviglo // Лицензия: MIT #include "../Precompiled.h" #include "../Core/Context.h" #include "../Urho2D/StretchableSprite2D.h" #include "../Urho2D/AnimatedSprite2D.h" #include "../Urho2D/AnimationSet2D.h" #include "../Urho2D/ParticleEffect2D.h" #...
25.867925
55
0.737418
1vanK
f119e3f1a982e20ceda42c3237315147eded3850
2,960
hpp
C++
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
null
null
null
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
2
2016-05-19T11:54:58.000Z
2016-05-19T12:31:25.000Z
sc-memory/wrap/sc_stream.hpp
AbaevTM/json-parser-sc-machine
8ebe4fdc7be9076e23dd70de92761a8421a81d76
[ "MIT" ]
null
null
null
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #pragma once extern "C" { #include "sc_memory_headers.h" } #include "sc_types.hpp" #include "sc_u...
26.19469
98
0.753378
AbaevTM
f11a018f0c555085ba4418b893b7a855262dca93
24,586
cpp
C++
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
2
2020-01-02T16:07:51.000Z
2020-01-12T17:55:13.000Z
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
3
2020-01-12T19:44:56.000Z
2020-01-17T05:40:41.000Z
EU4ToVic2Tests/MapperTests/IdeaEffectsMapperTests.cpp
Clonefusion/EU4toVic2
d39157b8317152da4ca138a69d78b6335bb27eb3
[ "MIT" ]
1
2020-01-12T17:55:40.000Z
2020-01-12T17:55:40.000Z
/*Copyright (c) 2019 The Paradox Game Converters Project 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, p...
26.465016
99
0.770194
Clonefusion
f120f54376574b04555e03aced6de9a09795958b
151
cpp
C++
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part3/prog3_14.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(){ int n; vector<int> text; while(cin >> n) text.push_back(n); return 0; }
10.785714
20
0.655629
Links789
f1215ca40d4a6d21eafb106a07b2584254f51045
528
hpp
C++
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
1
2019-07-19T03:37:33.000Z
2019-07-19T03:37:33.000Z
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
wrapStringVector.hpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
#include <vector> #include "common.h" #ifndef __WRAPSTRINGVECTOR_H__ #define __WRAPSTRINGVECTOR_H__ #ifdef __cplusplus extern "C" { #endif DLL_PUBLIC wrapStringVector_t* wrapStringVector_create(std::vector<wrapString_t*> vector); DLL_PUBLIC void wrapStringVector_destroy(wrapStringVector_t* dm); DLL_PUBLIC uint64_t ...
22.956522
91
0.827652
LAGonauta
f1255f51472524661b626032a25cffd65da87655
697
cpp
C++
src/historypanel.cpp
SilangQuan/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
99
2015-01-14T01:10:37.000Z
2021-07-29T07:30:14.000Z
src/historypanel.cpp
sahwar/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
1
2019-08-07T13:06:31.000Z
2019-08-07T13:06:31.000Z
src/historypanel.cpp
sahwar/Pixer
2291ce1a32463510a9ac4b1444fb483180cfbe83
[ "MIT" ]
22
2015-01-19T14:53:22.000Z
2021-08-18T04:38:12.000Z
#include "historypanel.h" HistoryPanel::HistoryPanel(QUndoStack *stack,QWidget *parent) : QDockWidget(parent), undoView(stack) { this->setFeatures(QDockWidget::DockWidgetFloatable | \ QDockWidget::DockWidgetMovable | \ QDockWidget::DockWidgetClosable); this->setAttribute(Qt::WA_QuitOnClose, false); undoView.se...
24.034483
108
0.764706
SilangQuan
f12c9971493d54340d32f72eca1df09d36601c94
16,931
inl
C++
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
1
2022-02-25T08:14:55.000Z
2022-02-25T08:14:55.000Z
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
null
null
null
tmp/cohash-read-only/include/thrust/detail/device/cuda/reduce.inl
ismagarcia/cohash
d20c7489456c8df033f4fe86f459f1901e01114c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008-2010 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.967249
184
0.677396
ismagarcia
f133403a74e5e48ac921b67904eee315e55ce2ce
362
cpp
C++
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
145
2015-02-14T09:32:04.000Z
2022-01-21T21:17:27.000Z
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
80
2015-01-01T03:28:49.000Z
2021-04-03T09:08:54.000Z
addons/ofxKinectForWindows2/exampleBodyIndexShader/src/main.cpp
syeminpark/openFrame
2d117bf86ae58dbc2d5d0ddc6727f14e5627e6e6
[ "MIT" ]
74
2015-01-11T16:23:57.000Z
2021-12-22T07:16:13.000Z
#include "ofMain.h" #include "ofApp.h" //-------------------------------------------------------------- int main(){ #ifdef USE_PROGRAMMABLE_PIPELINE ofGLWindowSettings settings; settings.setGLVersion(4,3); settings.width = 1024; settings.height = 768; ofCreateWindow(settings); #else ofSetupOpenGL(1024, 768, OF_W...
20.111111
64
0.61326
syeminpark
f133d2a074c29505599e68d75668d881a126e20e
530
cpp
C++
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
3
2019-10-20T18:46:08.000Z
2022-02-12T20:39:53.000Z
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
null
null
null
C++/BehaviorTreesLib/Action.cpp
JuanFerrer/behavior-trees
43cc40c8bce4e3b9737bbd5bcd98a50948b91fc9
[ "MIT" ]
1
2021-04-12T09:00:07.000Z
2021-04-12T09:00:07.000Z
#include "Action.h" namespace fluentBehaviorTree { Node * Action::copy() { Action* newNode = new Action(this->getName(), this->mAction); return newNode; } //Action::Action(std::string name, EStatus(*f)()) Action::Action(std::string name, std::function<EStatus()> f) { this->setName(name); mAction = f; } ...
17.096774
63
0.637736
JuanFerrer
f133d7087112d40f2ca9b96a2d04587509da3332
8,609
cxx
C++
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
client/mock_sdl.cxx
Drako/MPSnake
a22bd7156f79f9824ce689c54ac4a7ef085efd08
[ "MIT" ]
null
null
null
#include "mock_sdl.hxx" #include "native.hxx" #include "default_colors.hxx" #include <cassert> #include <filesystem> struct SDL_Window { char const * title; int x, y, w, h; std::uint32_t flags; SDL_DisplayMode mode; }; namespace snake::client { template <MockPolicy policy> int MockSDL<policy>::getCallCou...
31.305455
114
0.663956
Drako
f1363e9b219963d000f28531bfbc954a6c2e19c6
981
cpp
C++
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
1
2021-09-30T10:02:35.000Z
2021-09-30T10:02:35.000Z
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
null
null
null
240_Search a 2D Matrix II.cpp
anubhavnandan/leetCode
2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f
[ "Apache-2.0" ]
null
null
null
//C++ 11 #include<iostream> #include<vector> using namespace std; class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { int row=-1,col=-1; for(int i=0; i<matrix.size(); i++){ for(int j=0; j<matrix[i].size(); j++){ if(i==j){ if(target==matrix[i][j]...
22.295455
80
0.474006
anubhavnandan
f1368af0b8f2b7466ea7f18c8e33951f47157d5a
391
hpp
C++
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
null
null
null
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
null
null
null
utils/parameters_utils_t.hpp
dioptra-io/diamond-miner-cpp
8f41e3211bdbdc96eecd57f6fb3c459b0350d3e5
[ "MIT" ]
1
2020-11-03T14:51:43.000Z
2020-11-03T14:51:43.000Z
// // Created by System Administrator on 2019-08-02. // #ifndef HEARTBEAT_PARAMETERS_UTILS_T_HPP #define HEARTBEAT_PARAMETERS_UTILS_T_HPP #include <cstdint> namespace utils{ extern uint16_t default_sport; extern uint16_t default_dport; extern uint32_t default_dst_ip; extern int default_1_round_flows;...
19.55
49
0.785166
dioptra-io
f138c5e88387d953e4170e678fab7166a67c5055
4,516
cpp
C++
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
1
2020-12-03T20:26:48.000Z
2020-12-03T20:26:48.000Z
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
null
null
null
firmware/src/SSRPump.cpp
solderdev/silvia
a1c5f255054849306b8383e0a98fb7322a7b625f
[ "MIT" ]
null
null
null
#include "SSRPump.hpp" #include "helpers.hpp" static void timer_callback(void); static SSRPump *instance = nullptr; SSRPump::SSRPump(uint8_t ctrl_pin, int32_t timer_id, uint32_t timer_period_us) : SSR(ctrl_pin), timer_pwm_(nullptr), pwm_percent_(PWM_0_PERCENT), time_on_(0) { if (instance) { Serial.prin...
24.021277
95
0.608725
solderdev
f13b47a006cdb1e6a82dc982ad4580ebb457e364
5,850
cc
C++
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
18
2018-01-31T02:47:39.000Z
2021-03-13T15:17:45.000Z
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
2
2017-12-03T08:05:40.000Z
2018-06-13T22:05:37.000Z
src/s3_driver.cc
h5s3/h5s3
abe0ac2e82f04f9f550ae3760fc312e9e37dc84b
[ "Apache-2.0" ]
null
null
null
#include <cassert> #include <regex> #include "h5s3/private/s3_driver.h" namespace h5s3::s3_driver { const char* s3_kv_store::name = "h5s3"; s3_kv_store::s3_kv_store(const std::string& host, bool use_tls, const std::string& bucket, const std::...
30.46875
90
0.524786
h5s3
f1402f69ee26471fd5e5f671470bf25e21306cbf
1,082
hpp
C++
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
arduino/libraries/LovyanGFX/src/LovyanGFX.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
null
null
null
/*----------------------------------------------------------------------------/ Lovyan GFX library - LCD graphics library . support platform: ESP32 (SPI/I2S) with Arduino/ESP-IDF ATSAMD51 (SPI) with Arduino Original Source: https://github.com/lovyan03/LovyanGFX/ Licence: [BSD](https://github....
22.541667
106
0.601664
Mchaney3
f14c0c480f4ef7280d98c05f6d35414e04452e82
3,443
cpp
C++
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
1
2020-08-31T13:44:12.000Z
2020-08-31T13:44:12.000Z
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
null
null
null
src/lib/ecp.cpp
peterbygrave/libecpint
2d40bce92f229c9a477e618c6008c0622e241d48
[ "MIT" ]
2
2020-03-25T09:23:24.000Z
2020-08-31T14:29:29.000Z
/* * Copyright (c) 2017 Robert Shaw * This file is a part of Libecpint. * * 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 * wi...
30.201754
103
0.637816
peterbygrave
f1550eb2c5d62e06ae8ab1c834700832abcaba7f
1,399
cpp
C++
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
null
null
null
Hard/Maximize Palindrome Length From Subsequences.cpp
hunt-s7/LeetCode-Problems
5235896710bff8a05985c45f261d3462e3b8bf2e
[ "MIT" ]
4
2020-11-30T04:38:58.000Z
2021-10-05T15:25:38.000Z
class Solution { public: int ans(string w1, string w2){ string s=w1+w2; string t=s; reverse(t.begin(),t.end()); int n=(int)s.size(); int dp[n+1][n+1]; memset(dp,0,sizeof(dp)); int f=0; for(int i=1;i<=n;i++){ ...
26.396226
77
0.2802
hunt-s7
f1560e367521bbc28fd25bdd19ec1abf439c67ae
779
hpp
C++
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolGameSettingsLoginSession.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" #include "LolGameSettingsLoginSessionStates.hpp" namespace lol { struct LolGameSettingsLoginSession { LolGameSettingsLoginSessionStates state; uint64_t summonerId; uint64_t accountId; json gasToken; }; inline void to_json(json& j, const LolGameSettingsLog...
33.869565
72
0.680359
Maufeat
f15704af65edf9cb9856d1dc391a1b14924bc61f
3,808
cc
C++
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
mds/apfPM.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/****************************************************************************** Copyright 2014 Scientific Computation Research Center, Rensselaer Polytechnic Institute. All rights reserved. This work is open source software, licensed under the terms of the BSD license as described in the LICENSE file ...
24.254777
88
0.581408
Thomas-Ulrich
f160b5fd8f6455f5ca65f73e02002c2a311c3f84
6,406
cpp
C++
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
Source/SkyEngine/src/Components/Transform.cpp
SilangQuan/PixelLab
06c5c1fcf6b07c859179f5925dc642f43b38c676
[ "MIT" ]
null
null
null
#include "Components/Transform.h" #include "Log/Log.h" Transform::Transform() { isDirty = true; position = Vector3::zero; rotation = Quaternion::identity; scale = Vector3::one; gameObject = NULL; } Transform::Transform(const Vector3& _position, const Quaternion& _rotation, const Vector3& _scale) :position(_posi...
22.320557
104
0.622697
SilangQuan
f1612d8dc9bb9598c66fb44659837df1b056c88a
17,620
hpp
C++
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
18
2015-02-12T04:41:22.000Z
2018-08-22T07:44:13.000Z
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
null
null
null
src/nark/fstring.hpp
rockeet/nark-bone
11263ff5a192c85e4a2776aac1096d01138483d2
[ "BSD-3-Clause" ]
13
2015-05-24T12:24:46.000Z
2021-01-05T10:59:40.000Z
#ifndef __nark_fstring_hpp__ #define __nark_fstring_hpp__ #include <assert.h> #include <stddef.h> #include <string.h> #include <iterator> #include <string> #include <iosfwd> #include <utility> #include <algorithm> #include <string.h> #include "config.hpp" #include "stdtypes.hpp" #include "util/throw.hpp" #include "...
31.862568
153
0.651305
rockeet
f162a01105bc84fa0207b807e0fcaf2c1502226c
4,019
cpp
C++
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
297-serialize-and-deserialize-binary-tree/serialize-and-deserialize-binary-tree.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment. // // Design an algorithm to serialize and deseria...
30.679389
297
0.458821
nagestx
f16d41e4d89e0b34a2a6424646cfe4b73a80f668
1,066
cpp
C++
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.feature.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file test.feature.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the FeatureTest class */ #include <exception> #include <iostream> #include <string> #include <vector> #include "include/feature.h" #include "test.testable.h" /** * @brief Tests the Feature cla...
24.227273
73
0.659475
prinsij
f16ec3dc35ce3fb4a90566bce1bbd9d355b2f750
9,392
cpp
C++
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/tests/spec.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#include "../thirdparty/catch2/catch.hpp" #include <iostream> #include "../elona/spec.hpp" using namespace std::literals::string_literals; using namespace elona; class TestSpec : public spec::Object { public: TestSpec() : spec::Object("test") { } }; namespace { TestSpec load(const std::string& s...
19.689727
80
0.569101
XrosFade
f170413e9e63a0f8a01a12645f5ba620ebfe83b1
1,314
cpp
C++
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
tested/make_training_set/src/make_training_set.cpp
songdaegeun/school-zone-enforcement-system
b5680909fd5a348575563534428d2117f8dc2e3f
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <image_transport/image_transport.h> //package.xml에 추가. 이미지데이터를 받고 보내기위해 사용. #include <cv_bridge/cv_bridge.h> //package.xml에 추가 #include <sensor_msgs/image_encodings.h> //package.xml에 추가. cv_bridge::CvImagePtr에 값을 대입하기 위한 인자로 사용된다. #include <opencv2/imgproc/imgproc.hpp> ...
30.55814
115
0.681887
songdaegeun
f178d496f3db84c78105b0501e91a10aef1f8576
404
cpp
C++
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
GotW/GotW1.cpp
straceX/GotW
c8df762586584065c78c64a060a1e67410c59649
[ "Apache-2.0" ]
null
null
null
/* g++ GotW1.cpp -omain -std=c++11 */ #include <iostream> int main() { int ival1 = 13; int ival2{14}; // C++11 int ival3(15); int ival4; int ival5(); // it's a function declaration std::cout << ival1 <<std::endl; std::cout << ival2 <<std::endl; std::cout << ival3 <<std::endl; std...
16.833333
47
0.534653
straceX
f17b283c2d2aa63ae9ed1fe0cd097f0cebde5804
6,172
cpp
C++
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
src/rpc_insert.cpp
ashcharles/openset
51dc29b9dffdb745a24e01a9e4d86c79d2ff20d6
[ "MIT" ]
null
null
null
#include <cinttypes> #include <regex> #include <thread> #include <random> #include "common.h" #include "rpc_global.h" #include "rpc_insert.h" #include "cjson/cjson.h" #include "str/strtools.h" #include "sba/sba.h" #include "oloop_insert.h" #include "asyncpool.h" #include "sentinel.h" #include "sidelo...
31.489796
118
0.585386
ashcharles
f184cb107e9537b5c4396f7ecc52e3025c1cbf84
16,373
cpp
C++
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
15
2021-01-24T11:59:04.000Z
2022-03-23T07:23:44.000Z
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
8
2021-05-24T18:22:45.000Z
2022-03-11T09:48:05.000Z
template/src/Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.cpp
aff3ct/py_aff3ct
8afb7e6b1db1b621db0ae4153b29a2e848e09fcf
[ "MIT" ]
4
2021-01-26T19:18:21.000Z
2021-12-07T17:02:34.000Z
#include <sstream> #include "Wrapper_py/Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.hpp" namespace py = pybind11; using namespace py::literals; using namespace aff3ct; using namespace aff3ct::module; using namespace aff3ct::tools; using namespace aff3ct::wrapper; Wrapper_Sparse_matrix ::Wrapper_Sparse_matrix(py::m...
30.776316
253
0.62658
aff3ct
f18661d5b42ddec21ee89bb630335b003b927da0
557
cpp
C++
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
10
2017-07-04T03:05:42.000Z
2022-01-20T17:37:06.000Z
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
2
2020-06-29T13:32:15.000Z
2021-12-22T23:04:43.000Z
main.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
5
2021-08-28T02:21:56.000Z
2022-01-16T21:39:16.000Z
/** @file main.c * Entry point of p/emu */ #include <SDL.h> #include <SDL_thread.h> int main_event_loop(void); #ifdef __linux__ int main(int argc, char** argv) #else int SDL_main(int argc, char** argv) #endif { SDL_Init(SDL_INIT_EVERYTHING); SDL_SetVideoMode(128 * 2, 88 * 2, 32, SDL_HWSURFACE); main_event_l...
12.953488
55
0.624776
autch
f18c14013c9b6cd736a3fed6920eb508781f94dc
1,189
hpp
C++
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
lib/crypto/crypto_AES.hpp
Pcornat/BenLib
5ec30f5eb0bbf827d4d3fd00c8cca1064109fb4c
[ "MIT" ]
null
null
null
/* ** BENSUPERPC PROJECT, 2020 ** Crypto ** Source: https://stackoverflow.com/questions/178265/what-is-the-most-hard-to-understand-piece-of-c-code-you-know https://cs.uwaterloo.ca/~m32rober/rsqrt.pdf https://github.com/bavlayan/Encrypt-Decrypt-with-OpenSSL---RSA https://stackoverflow.com/a/5580881/10152334 ** crypto.c...
27.651163
159
0.751051
Pcornat
f197bf6ee3216d0ade2497e1f115756a814b2b9b
3,473
cpp
C++
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
STM_SW/test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
#include <mbed.h> // #include "encoder_implementation/own_rotary.hpp" #include "motor_implementation/own_open_loop/open_loop.hpp" #include "motor_implementation/closed_loop/closed_loop.hpp" class Encoder { public: Encoder(); ~Encoder(); int32_t get_rotary_angle(void); void reset_rotary_angle(void);...
18.875
68
0.669738
chris3069
f1980c0fbbaf792c3ca69e0114e61712dfea79de
3,825
cpp
C++
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
3
2019-04-08T05:13:00.000Z
2020-01-02T05:40:03.000Z
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
null
null
null
main.cpp
vicrucann/ParallelTransportFrame
3357b15725a3d953ae740d069d44a2595d6a2d81
[ "MIT" ]
2
2018-07-06T05:22:01.000Z
2021-12-26T12:45:34.000Z
#include <iostream> #include <stdio.h> #ifdef _WIN32 #include <Windows.h> #endif #include <osgViewer/Viewer> #include <osg/Node> #include <osg/ShapeDrawable> #include <osgDB/WriteFile> #include <osgGA/EventHandler> #include <osg/Switch> #include "libPTFTube/PTFTube.h" const int OSG_WIDTH = 900; const int OSG_HEIGHT...
26.020408
87
0.55268
vicrucann
1af5e2ad3934fffc83afe5deeeef978bf8aaa137
28
cc
C++
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
src/tests/test_event_chain.cc
AndreyGFranca/mcec
3033b85068c1bfe45b07597b96fa810872030bf1
[ "Apache-2.0" ]
null
null
null
#include "../EventChain.h"
9.333333
26
0.642857
AndreyGFranca
1afab343c93e5de1f73a6dbfd41cdfe39584c228
425
hpp
C++
library/ATF/__dummy_block.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/__dummy_block.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/__dummy_block.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 <_dummy_position.hpp> START_ATF_NAMESPACE struct __dummy_block { char *pszBlockName; int nSubDummyNum; _dummy_position *pSubDum...
22.368421
108
0.689412
lemkova
1afc4ec5b99ad983400a0ba147a1929f1774be8b
2,401
hpp
C++
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
39
2019-03-26T08:03:44.000Z
2022-02-13T09:06:48.000Z
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
10
2019-04-08T22:18:10.000Z
2021-10-04T04:11:00.000Z
rest_rpc/rest_rpc/base/log.hpp
emogua/CGAssistant
f3ded85a8336bcc03fd1a3d370880cdeedaa570f
[ "MIT" ]
26
2019-03-26T08:13:42.000Z
2022-03-15T04:51:39.000Z
#pragma once #include <spdlog/spdlog.h> namespace timax { class log { public: static log& get() { static log _log; return _log; } bool init(const std::string& file_name) { try { log_ = spdlog::rotating_logger_mt("logger", file_name, 1024 * 1024 * 50, 2); console_log_ = spdlog::stdout_...
21.061404
80
0.63307
emogua
1afee429b5d65373d88f8a49dce90955d4c0967d
2,024
cpp
C++
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/nestopiaue/core/input/NstInpPokkunMoguraa.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
//////////////////////////////////////////////////////////////////////////////////////// // // Nestopia - NES/Famicom emulator written in C++ // // Copyright (C) 2003-2008 Martin Freij // // This file is part of Nestopia. // // Nestopia is free software; you can redistribute it and/or modify // it under the te...
25.948718
89
0.585968
slajerek
210474d24dfa9b30f862bc59e3d3dfcb4995fb91
2,771
cpp
C++
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
app/src/main/cpp/Bullet.cpp
KoreanGinseng/2d_shooting_game_for_android
be21b4f4bbf8326c834f2148f6ab6337fd2c0518
[ "MIT" ]
null
null
null
/******************************************************************************/ /*! @file Bullet.cpp @brief 弾クラス実装ファイル *******************************************************************************/ #include "Bullet.h" #include <DxLib.h> using namespace Shooting2D; /*********************************...
29.478723
104
0.381451
KoreanGinseng
2105620576082643d5af067788e47a9e9b9caba9
2,367
cpp
C++
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
2
2018-06-06T02:01:08.000Z
2020-07-25T18:10:32.000Z
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
10
2018-07-27T01:56:45.000Z
2019-02-23T01:49:36.000Z
Opal Prospect/OpenGL/TextureAtlasController.cpp
swbengs/OpalProspect
5f77dd07c1bb4197673589ac3f42546a4d0329b3
[ "MIT" ]
null
null
null
#include "TextureAtlasController.hpp" /* MIT License Copyright (c) 2018 Scott Bengs 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 t...
28.178571
85
0.73215
swbengs
210a6386dbb89d43f1738b76a6cc3b55bac54390
1,170
cpp
C++
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
4
2016-08-22T21:06:46.000Z
2021-02-28T02:06:52.000Z
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
null
null
null
src/sense-hat-sim.cpp
partouf/cpp-sense-hat
d0f4750d1d432fae1bc4793c8d161d6374ed1d9e
[ "MIT" ]
null
null
null
#include "sense-hat-sim.h" #include <memory> SenseHAT::ISenseHAT *HATInstance = nullptr; SenseHAT::SenseHATSim::SenseHATSim() : ISenseHAT() { LEDMatrix = std::make_unique<SenseHAT::SenseHATLedMatrixSim>(); } double SenseHAT::SenseHATSim::get_humidity() { return 0.0; } double SenseHAT::SenseHATSim::get_pressur...
17.727273
92
0.702564
partouf
210b0a849964627fdfa84cf20b6d61a947dd059e
185
hpp
C++
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/glsl/function/geometric/normalize.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "length.hpp" #include "agl/glsl/vec/vec.hpp" namespace agl { template<std::size_t N> Vec<float, N> normalize(Vec<float, N> v) { return v / length(v); } }
12.333333
42
0.654054
the-last-willy
2111129de076626ac8aaf1ebd0cf388996581daf
809
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_TypeParam.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_TypeParam.cpp // #include "smtc_TypeParam.h" #ifndef LZZ_ENABLE_INLINE #include "smtc_TypeParam.inl" #endif // semantic #include "smtc_NameToString.h" // util #include "util_AppendWithSpace.h" #define LZZ_INLINE inline namespace smtc { TypeParam::TypeParam (NamePtr const & name, CvType const & def_type) ...
19.731707
70
0.657602
SuperDizor
211e7f65be16fae090457534fa702e196d5f8188
829
cpp
C++
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/ProyectoFinal_GestorArchivosMAR/login.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <fstream> #include <string.h> #include <ctime> using namespace std; // seguridad para iniciar el sistema bool login() { setlocale(LC_CTYPE,"spanish"); string usuario = ""; string password = ""; bool acceso = false; int intentos = 0; while(in...
18.021739
59
0.557298
Maldanar201
2123419ecedb22992456a7c3cf3caf7672cc90ba
526
cpp
C++
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
1
2021-07-24T06:36:25.000Z
2021-07-24T06:36:25.000Z
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
9
2019-07-04T02:35:34.000Z
2019-07-09T03:00:21.000Z
src/models/piece.cpp
0xkalvin/chess
3a71fb04c3d6ec9d1a0d27fba320090c8ee7ce52
[ "MIT" ]
null
null
null
#include "piece.h" Piece::Piece(char s, int v, bool white, int q){ this->symbol = s; this->value = v; this->white = white; this->quantity = this->alive = q; this->moved = false; } Piece::~Piece(){} char Piece::getSymbol(){ return this->symbol; } int Piece::getValue(){ return this->value...
14.216216
47
0.60076
0xkalvin
2124fe39abdaac1984e9e6d4fc09a80fe0af8725
790
cpp
C++
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
CompileToCppVariable.cpp
ShaiRoitman/CompileToCppVar
6f5da9231d8594ce7b07e73a14f2b182de7608f6
[ "MIT" ]
null
null
null
#include "stdio.h" int main(int argc, char* argv[]) { if ( argc <= 1) { printf("CompileToCppVariable <Filename> [VariableName]\n"); return 1; } if ( argc > 2) { printf ("const char %s[] = {\n", argv[2]); } FILE* fp = fopen(argv[1],"rb"); if (fp == NULL) { printf ("Could not ope...
15.490196
62
0.516456
ShaiRoitman
2125e54de619aa2bfdbd0f8403008d8517f92445
1,002
cpp
C++
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
src/WindowManager.cpp
ToxicFrazzles/MultiPaddle
1650280d99e350255c6fdadcf14b02b872379748
[ "CC0-1.0" ]
null
null
null
#include "MultiPaddle/WindowManager.h" WindowManager::WindowManager(const char* windowTitle) { if(SDL_Init(SDL_INIT_VIDEO) < 0){ std::cerr << "Could not initialise sdl2: " << SDL_GetError() << std::endl; return; } window = SDL_CreateWindow( windowTitle, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, S...
22.266667
76
0.697605
ToxicFrazzles
2127fbdf3c872ac273b82f3bc0a60356869d7b94
3,422
cpp
C++
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
src/SinkRecord.cpp
rgmyr/FLASHcodeStellarCores
32b14d2e991a92d9146f4e0d939a444e8adcd163
[ "MIT" ]
null
null
null
/* * The Sink Record class reads, prints, and writes information related to sink data * read directly from the checkpoint files. The ctor should be passed a filename. */ #include "RossGlobals.h" #include "HDFIO.h" #include "Sink.hpp" #include "SinkRecord.hpp" #include <iostream> using std::cout; using std::endl;...
27.596774
92
0.630333
rgmyr
213e85ee0ff56ef4f0fcfa43aa93573e4a46321c
229
cpp
C++
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
_tempalte/main.cpp
5ooo/LeetCode
5f250cd38696f581e5c891b8977f6c27eea26ffa
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <iostream> #include <vector> #include <stack> #include <map> #include <utility> using namespace std; class Solution { public: }; int main() { Solution s; return 0; }
9.956522
20
0.663755
5ooo
213f686c659be9ddcbabed25563e8468288e3adf
38,954
cpp
C++
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVGroups.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
/* PSYCHO GAMES(C) STUDIOS - 2007 www.psychogames.net * Project: Vulture(c) * Author : Andrea Nardinocchi * eMail : andrea@nardinan.it * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
54.178025
193
0.507753
nardinan
21462d66e49eaeaa64b3b399bc64b9b1e175fbd7
28,371
cpp
C++
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui/EntisGLS/EntisGLS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> #include <crass/locale.h> #include <utility.h> #include <vector> #include <string> #include <xerisa.h> /* 【game参数游戏支持列表】 ·ドS姉とボクの放尿関...
25.675113
142
0.65715
MaiReo
2152ab9673f96e552f74c04242c24df2224dd22c
4,692
cpp
C++
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_lime_graphics_opengl_ext_EXT_texture_type_2_10_10_10_REV #include <lime/graphics/opengl/ext/EXT_texture_type_2_10_10_10_REV.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_d9ba4fd59f8a4b9b_9_new,"lime.graphics.opengl.ext.EXT_texture_type_2_10_10_10_REV","new",0x9...
39.428571
267
0.808184
seanbashaw
21567baf916fa34ae5e2c1f7b4af21b5ab57ddb6
5,356
cc
C++
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
Grove_Sensoren/Grove Serial Camera Kit - 815001001/CompactC/Webcam/WEB_CAM.cc
frankyhub/Calliope
335f0ef5ca9bcf57e14166319501ec9086bc09bf
[ "MIT" ]
null
null
null
/******************************************************************************* Project Name: WEB_CAM.cprj Required Libs's: IntFunc_lib.cc Files: CAMERA_CJ_OV528.cc, SD.Lib.cc Writer: CCPRO-TEAM Date: 10.05.2015 Function: Demonstrates the Grove Camera_C...
29.921788
98
0.510456
frankyhub