hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
d2b9329600d820be12ae5c36395cf8872d6ddd45
622
cpp
C++
BeakJoon/c++/solved/1000/1764.cpp
heeboy007/PS-MyAnswers
e5e02972ab64279d96eb43e85941a46b82315fbd
[ "MIT" ]
null
null
null
BeakJoon/c++/solved/1000/1764.cpp
heeboy007/PS-MyAnswers
e5e02972ab64279d96eb43e85941a46b82315fbd
[ "MIT" ]
null
null
null
BeakJoon/c++/solved/1000/1764.cpp
heeboy007/PS-MyAnswers
e5e02972ab64279d96eb43e85941a46b82315fbd
[ "MIT" ]
null
null
null
#include<iostream> #include<set> #include<vector> #include<algorithm> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); set<string> s; vector<string> v; int n, m; cin >> n >> m; while(n--){ string input; cin >> input; s.insert(i...
16.810811
37
0.482315
heeboy007
d2b9aa173bf1cca601f0ac9b79473a26a0225895
29,356
cpp
C++
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
nodes/dash_shared/src/sync_db.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include "sync_db.h" #include "../../shared/db/db_schemes.h" #include <smf/cluster/generator.h> #include <cyng/table/meta.hpp> #include <cyng/io/serializer.h> #include <cyng/tuple_cast.hpp> #include <boost/algorithm/string.hpp> #include <...
28.226923
234
0.598617
solosTec
d2bd648559a621c4b9ee276afe119fd1ef0202ae
361
cpp
C++
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
cuddlySys/updatepetprofile.cpp
alisultan14/Pet_Matchmaker
98b9b2261430ca52d56f5ad670b486c0533444a6
[ "MIT" ]
null
null
null
#include "updatepetprofile.h" #include "ui_updatepetprofile.h" /** * @brief Constructor for the class * @param parent */ updatepetprofile::updatepetprofile(QWidget *parent) : QWidget(parent), ui(new Ui::updatepetprofile) { ui->setupUi(this); } /** * @brief Destructor for the class */ updatepetprofile...
16.409091
53
0.689751
alisultan14
d2c4a86d2544d252c415e7a8fed4b6dc477617c9
2,837
cpp
C++
RVAF-GUI/teechart/highlowseries.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
4
2018-03-31T10:45:19.000Z
2021-10-09T02:57:13.000Z
RVAF-GUI/teechart/highlowseries.cpp
P-Chao/RVAF-GUI
3bbeed7d2ffa400f754f095e7c08400f701813d4
[ "BSD-2-Clause" ]
1
2018-04-22T05:12:36.000Z
2018-04-22T05:12:36.000Z
RVAF-GUI/teechart/highlowseries.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
5
2018-01-13T15:57:14.000Z
2019-11-12T03:23:18.000Z
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "highlowseries.h" // Dispatch interfaces referen...
26.027523
109
0.694043
YangQun1
d2c64b2dd24a59bb3dd307e7ca8d91bb9df81260
8,336
hpp
C++
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Mathf.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include <initializer_list> // Including type: System.ValueType #include "System/ValueType.hpp" // Completed includes // Begin il2cpp-utils forw...
47.096045
201
0.691819
darknight1050
d2c731a879f215d360cef570db551c42de6fdd96
4,216
cxx
C++
ParaViewCore/ServerManager/Rendering/vtkSMComparativeAnimationCueUndoElement.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
ParaViewCore/ServerManager/Rendering/vtkSMComparativeAnimationCueUndoElement.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
ParaViewCore/ServerManager/Rendering/vtkSMComparativeAnimationCueUndoElement.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
/*========================================================================= Program: ParaView Module: vtkSMComparativeAnimationCueUndoElement.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distrib...
36.66087
99
0.644213
brown-ccv
d2c7e9ab7e38e29a8a77911dce767c34047af947
11,563
cc
C++
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-04-21T06:39:42.000Z
2021-04-21T06:39:42.000Z
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/tcp/scoreboard-rh.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1996 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
26.890698
106
0.653204
nitishk017
d2d4f3e19e863715bcb44468eb2a960df7b33953
3,534
cpp
C++
Assignments/Subject/3 - Assignment/main.cpp
sherali801/data_structures_and_algorithms
8f0351398c2519ff2eaee20fad5b815d06f0966e
[ "Apache-2.0" ]
null
null
null
Assignments/Subject/3 - Assignment/main.cpp
sherali801/data_structures_and_algorithms
8f0351398c2519ff2eaee20fad5b815d06f0966e
[ "Apache-2.0" ]
null
null
null
Assignments/Subject/3 - Assignment/main.cpp
sherali801/data_structures_and_algorithms
8f0351398c2519ff2eaee20fad5b815d06f0966e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <map> #include <unordered_map> #include <conio.h> using namespace std; #include "class.BST.h" #include "class.BSTNode.h" int main() { unordered_map<string, int> searchQueries;//hold all queries without redundancy fstream * fileHandle = new fstream(...
32.422018
112
0.63073
sherali801
d2d4fb3e81870b5007f46b2a23d4511f5b85e1e2
489
hpp
C++
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/xfMdiFrame.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#pragma once #include "xfwin.hpp" namespace Hxsoft{ namespace XFrame { class XFRAME_API xfMdiFrame : public xfWin { public: xfMdiFrame(void); ~xfMdiFrame(void); public: virtual int OnXCommand(LPCTSTR pStrID, class xfControl * pControl); public: HWND m_hMdiClient; public: virtual int AddSheet(xfWin ...
19.56
69
0.728016
qianxj
d2d51e30449a024b8d8bfe29da811c37a009916a
765
cc
C++
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
1
2018-09-20T08:27:38.000Z
2018-09-20T08:27:38.000Z
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
null
null
null
examples/netcat/NetCat.cc
LeoGale/wood
8eef60cbeb006c732f6eadfd48d917e264bae401
[ "BSD-2-Clause" ]
null
null
null
#include <thread> #include <assert.h> #include <unistd.h> #include <wood/net/EventLoop.hh> int main() { assert(wood::EventLoop::getCurerntEventLoop() == nullptr); wood::EventLoop loop; assert(wood::EventLoop::getCurerntEventLoop() == &loop); std::thread ex([&loop](){ a...
21.857143
74
0.418301
LeoGale
d2e156fc854b87e3d940fcd13c28ad5a0385bcf8
1,118
hpp
C++
products/BellHybrid/apps/application-bell-meditation-timer/windows/MeditationTimerWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
1
2022-01-09T18:03:54.000Z
2022-01-09T18:03:54.000Z
products/BellHybrid/apps/application-bell-meditation-timer/windows/MeditationTimerWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
null
null
null
products/BellHybrid/apps/application-bell-meditation-timer/windows/MeditationTimerWindow.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <apps-common/widgets/spinners/Spinners.hpp> #include <widgets/BellBaseLayout.hpp> #include <Application.hpp> #include <AppWindow.hpp> #include <InputEvent.hpp> ...
30.216216
105
0.703936
bitigchi
d2e1c460f4706588be2c969a3492d31fbb82824f
1,572
cpp
C++
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
linkedList/singleLinkedList/middleElementLinkedList.cpp
hkansal27/15days-code
0ff3c3c55e3b8a96e0d55c6c1e88d1e4122965e1
[ "MIT" ]
null
null
null
// A sample program to find the middle element of the single linked list. // one simple approach is to first find the length of the linked list then again traversal to find the middle element. // second algo is implemented below: #include<iostream> using namespace std; class Node { public: int data; Node * n...
20.96
118
0.566158
hkansal27
d2e394b875b885274550f9db4d4284526d7b8261
3,781
cc
C++
test/theta_sketch_dup_test.cc
googleinterns/cardinality-estimation-with-data-deletions
7371c757feda0ae75fc61990c29569b5aa2568f9
[ "Apache-2.0" ]
null
null
null
test/theta_sketch_dup_test.cc
googleinterns/cardinality-estimation-with-data-deletions
7371c757feda0ae75fc61990c29569b5aa2568f9
[ "Apache-2.0" ]
null
null
null
test/theta_sketch_dup_test.cc
googleinterns/cardinality-estimation-with-data-deletions
7371c757feda0ae75fc61990c29569b5aa2568f9
[ "Apache-2.0" ]
1
2020-05-14T18:58:54.000Z
2020-05-14T18:58:54.000Z
#include "theta_sketch_dup.h" #include <gtest/gtest.h> #include <random> #include <set> #include <string> #include "gen_string.h" namespace datasketches { TEST(ThetaSketchDup, TestSerializeDeterminedCaseWithoutEstimation) { // @a: theta sketch with storage set to be [2^5, 2^5*threshold) // @b: theta sketch deseri...
37.81
80
0.700608
googleinterns
d2e3e7d318a6cb5b7b7f768f2c37986834e176c9
42,106
cc
C++
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/input_handler.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
#include "input_handler.hh" #include "window.hh" #include "utf8.hh" #include "user_interface.hh" #include "buffer_manager.hh" #include "register_manager.hh" #include "normal.hh" #include "event_manager.hh" #include "client.hh" #include "color_registry.hh" #include "file.hh" #include "word_db.hh" #include <unordered_m...
32.895313
111
0.546074
nojhan
d2e3f3c448b905106cf36ebf622423c87f35ffef
1,044
hpp
C++
fold.hpp
wo3kie/cxxDojo
c63388eb37a62272bfb9ca5c0b207fc5387a29ad
[ "MIT" ]
2
2015-10-26T22:06:11.000Z
2015-11-25T14:35:00.000Z
fold.hpp
wo3kie/dojo
c63388eb37a62272bfb9ca5c0b207fc5387a29ad
[ "MIT" ]
null
null
null
fold.hpp
wo3kie/dojo
c63388eb37a62272bfb9ca5c0b207fc5387a29ad
[ "MIT" ]
null
null
null
/* * Website: * https://github.com/wo3kie/dojo * /* * Website: * https://github.com/wo3kie/dojo * * Author: * Lukasz Czerwinski */ #ifndef __CXX_DOJO_FOLD_HPP__ #define __CXX_DOJO_FOLD_HPP__ #include <functional> #include <iostream> /* * rfold(f, a, b, c, d) == f(a, f(b, f(c, d))) */ templ...
21.75
92
0.585249
wo3kie
d2e4418179bc5c59c361a7ddae44a46f32e42af6
3,322
cpp
C++
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slywin32/src/win32/os/window.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
#include "sly/win32/os/window.h" using namespace sly::os; Win32Window::Win32Window(Win32WindowSystem& parent) : _parent(parent), _initialized(false) { } sly::retval<void> Win32Window::release() { if(_initialized) { setVisible(false); DestroyWindow(_hWND); _hWND = nullptr; ...
26.365079
109
0.643287
Gibbeon
5e4333c9a9bcd2c090290f1d14474bed5986266c
1,149
hpp
C++
example/generated-src/cwrapper/cw__textbox_listener.hpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
example/generated-src/cwrapper/cw__textbox_listener.hpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
example/generated-src/cwrapper/cw__textbox_listener.hpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from example.djinni #pragma once #include <atomic> #include <experimental/optional> #include "textbox_listener.hpp" #ifdef __cplusplus extern "C" { #endif #include "cw__textbox_listener.h" #ifdef __cplusplus } #endif struct DjinniWrapperTextbox...
29.461538
111
0.749347
trafi
5e44a3b5dc5626758232f2c869ca651829479a98
2,339
hpp
C++
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/assignments/assignment6/helper.hpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
#include <fstream> #include <string.h> /********************************************************************* ** Program Filename: fileWrite ** Author: Mason Sidebottom ** Date: Feb. 2019 ** Description: Helper functionality for binary file IO *********************************************************************...
33.898551
99
0.446345
franzmk
5e45349a9480f07bc6f22d8abf2101dcea77be4a
2,492
cpp
C++
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
src/eepp/audio/soundfilereadermp3.cpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <eepp/audio/soundfilereadermp3.hpp> #define DR_MP3_IMPLEMENTATION #include <algorithm> #include <cctype> #include <dr_libs/dr_mp3.h> #include <eepp/audio/mp3info.hpp> #include <eepp/core/core.hpp> #include <eepp/system/iostreammemory.hpp> static size_t drmp3_func_read( void* data, void* ptr, size_t size ) { ...
25.171717
90
0.708668
jayrulez
5e493106bfcc6ba8979dc00ba487f5ef7f8fb672
8,009
cpp
C++
src/rl_connection.cpp
ShenDezhou/sogou-qdb-redis
bef543811765dda132552a3fa65cfe31c871a17f
[ "MIT" ]
null
null
null
src/rl_connection.cpp
ShenDezhou/sogou-qdb-redis
bef543811765dda132552a3fa65cfe31c871a17f
[ "MIT" ]
null
null
null
src/rl_connection.cpp
ShenDezhou/sogou-qdb-redis
bef543811765dda132552a3fa65cfe31c871a17f
[ "MIT" ]
null
null
null
/*-*- c++ -*- * * rl_connection.cpp * author : KDr2 * */ #include <algorithm> #include <stdio.h> #include <string.h> #include <errno.h> #include <assert.h> #include <unistd.h> #include <sys/socket.h> #include "rl_util.h" #include "rl_server.h" #include "rl_connection.h" #include "rl_request.h" #define CHECK_B...
26.003247
118
0.578849
ShenDezhou
5e4a7ef09ef2e4b1883a4db634bd13bfd4e42291
312
cpp
C++
aql/benchmark/lib_76/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_76/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_76/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_5.h" #include "class_6.h" #include "class_7.h" #include "class_0.h" #include "class_9.h" #include "class_3.h" #include <lib_37/class_5.h> #include <lib_15/class_3.h> #include <lib_28/class_4.h> #include <lib_46/class_6.h> #include <lib_70/class_9.h> class_5::class_5() {} class_5::~class_5() {}
20.8
27
0.714744
menify
5e4a914be837958d0a775f4615d9dc20868c646d
753
cpp
C++
Backbone/UserManager/XMLManager/XMLManager.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
Backbone/UserManager/XMLManager/XMLManager.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
Backbone/UserManager/XMLManager/XMLManager.cpp
ed-quiroga-2103/OdisseyC
cf7ec95c574bfd4b2581f9af092dae50803dcebb
[ "Apache-2.0" ]
null
null
null
// // Created by eduardo on 28/04/18. // #include <iostream> #include "XMLManager.h" XMLDoc* XMLManager::newXMLDoc(int opnum, string CDATA) { XMLDoc* doc = new XMLDoc(0); doc->newChild(opnum, CDATA); return doc; } void XMLManager::saveXML(XMLDoc doc, string name) { doc.saveXML(name); return; } s...
24.290323
84
0.671979
ed-quiroga-2103
5e4be236582911556188763659fd9ab7a5b5e7fd
534
cpp
C++
Upsolving/URI/2172.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-01-25T21:22:55.000Z
2019-03-20T18:04:01.000Z
Upsolving/URI/2172.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Upsolving/URI/2172.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define INF 0x3F3F3F3F #define LINF 0x3F3F3F3F3F3F3F3FLL #define DINF (double)1e+30 #define forn(i, n) for ( int i = 0; i < (n); ++i ) #define forxn(i, x, n) for ( int i = (x); i < (n); ++i ) #define forr(i, a, b) for ( int i = (a); i <= (b); ++i ) #define ford(i, a, b) for ( int i = (a); i >...
19.071429
56
0.537453
rodrigoAMF7
5e4e19d16e3b7897c4b21b9fbdd2b56344315f87
20,639
cpp
C++
Engine/Source/Runtime/Core/Private/Apple/ApplePlatformSymbolication.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Core/Private/Apple/ApplePlatformSymbolication.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Core/Private/Apple/ApplePlatformSymbolication.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= ApplePlatformSymbolication.cpp: Apple platform implementation of symbolication =============================================================================*/ #include "ApplePl...
43.177824
210
0.778526
windystrife
5e5114dd4ac3c8542e7978a2c8e2b1ceb95aab06
765
cc
C++
test/abc136/test_gathering_children.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc136/test_gathering_children.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc136/test_gathering_children.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include <vector> #include "gtest/gtest.h" #include "abc136/gathering_children.h" using namespace std; TEST(TestGatheringChildren, First) { vector<char> input = {'R', 'R', 'L', 'R', 'L'}; vector<int> ans = {0, 1, 2, 1, 1}; EXPECT_EQ(ans, gathering_children(input)); } TEST(TestGatheringChildren, Second) { vec...
31.875
104
0.552941
nryotaro
5e516da768c2054897032efed128b7565b103cd1
401
cpp
C++
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
3
2018-04-05T04:04:17.000Z
2021-02-01T17:50:01.000Z
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
null
null
null
third_party/common/src/RE/GameSettingCollection.cpp
qis/alchemy
fe6897fa8c065eccc49b61c8c82eda223d865d51
[ "0BSD" ]
1
2021-02-01T17:50:03.000Z
2021-02-01T17:50:03.000Z
#include "RE/GameSettingCollection.h" #include "RE/Offsets.h" #include "REL/Relocation.h" namespace RE { GameSettingCollection* GameSettingCollection::GetSingleton() { REL::Offset<GameSettingCollection**> singleton(Offset::GameSettingCollection::Singleton); return *singleton; } Setting* GameSettingCollecti...
19.095238
91
0.763092
qis
5e52823b75293ea1aaa1aa4fc7f759592ab0df80
7,217
cpp
C++
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/afx/xm/afxXM_Aim.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
27.651341
117
0.65221
vbillet
5e536b2583624ff446f0da1baa8400a0d00529de
1,431
cpp
C++
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
usaco12.cpp
versionwen/ACM
7be6de3f7b563cac927b5f84fff97864eb0b9d37
[ "Apache-2.0" ]
null
null
null
/* ID: scwswx2 LANG: C++ PROG: crypt1 */ /*#include <iostream> #include <fstream> #include <string> #include <cstring> #include <map> #include <cstdio> #include <algorithm> using namespace std; int table[10]; int check ( int x ) { while (x) { if (!table[x%10]){ ...
21.681818
48
0.331936
versionwen
5e550339af045cd98886f1befda646e1558b2523
6,359
cpp
C++
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
52
2015-01-13T05:17:23.000Z
2021-05-09T14:09:39.000Z
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
7
2015-01-12T10:25:14.000Z
2018-09-18T12:34:15.000Z
libs/ram/Core/ramGlobal.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
31
2015-01-12T06:39:15.000Z
2020-04-06T07:05:08.000Z
// // ramGlobal.cpp - RAMDanceToolkit // // Copyright 2012-2013 YCAM InterLab, Yoshito Onishi, Satoru Higa, Motoi Shimizu, and Kyle McDonald // // 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 Licens...
26.831224
144
0.736122
YCAMInterlab
5e577f7f085c0266f90064f9f4c9d7376fcfdfd6
1,654
cpp
C++
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/gamelogic/SSTerrainFollow.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Ola Enberg ***************************************************/ #include "SSTerrainFollow.h" #include <gfx/GraphicsEngine.h> #include "../../datadriven/DenseComponentCollection.h" #include "../../component/PlacementComponent.h" #include "../../compone...
34.458333
161
0.729746
Robograde
5e58d9b177591bf633607aa836258e0d2e4d6e4b
1,053
hpp
C++
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
src/include/operators/crossover.hpp
AndrSar/ga
0185ed52a7b71e64f5f7cfd8dd0187663d70f5f6
[ "BSL-1.0" ]
null
null
null
#pragma once #include "../detail/detail.hpp" #include "../random_generator.hpp" #include <vector> namespace ga { namespace operators { template <class GenotypeModel> class crossover { public: using genotype = typename GenotypeModel::representation; using gene_value_type = typename GenotypeModel::value_type...
21.489796
90
0.717949
AndrSar
5e58dc866b936d77cffbf8f319d51d0d453bf584
13,351
cpp
C++
binding/Python/interactive/src/Rivet/DockingManager.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
binding/Python/interactive/src/Rivet/DockingManager.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
binding/Python/interactive/src/Rivet/DockingManager.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 DockingManager.cpp * @author Clement Berthaud * @brief pyULIS_Interactive application for testing pyULIS. * @copyright...
32.965432
205
0.485507
Fabrice-Praxinos
5e5b7ac48008a29b994edb31e3a52d6226016709
1,545
cc
C++
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-string-cmp-desugar.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
/** ** Checking string comparisons desugaring. */ #include <ostream> #include <string> #include <ast/all.hh> #include <ast/libast.hh> #include <desugar/desugar-visitor.hh> #include <misc/file-library.hh> #include <parse/libparse.hh> #include <type/type-checker.hh> #include <type/types.hh> using namespace ast; usin...
25.327869
72
0.565696
MrMaDGaME
5e5bc5c88129877bb07eef053149da72fc08a862
600
hpp
C++
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
Ladybug3D/Libraries/Renderer/Editor.hpp
wlsvy/Ladybug3D
9cd92843bf6cdff806aa4283c5594028a53e20b3
[ "MIT" ]
null
null
null
#pragma once #include <D3D12/D3D12_Define.hpp> #include <memory> namespace Ladybug3D { class Editor { public: static constexpr UINT EDITOR_DESCRIPTOR_SIZE = 64; void Initialize(void* hwnd, ID3D12Device* device, unsigned int frameCount); void NewFrame(); void Render(ID3D12Graph...
25
84
0.68
wlsvy
5e65feb904a960179bc1f92364f826e0e7365e2f
1,091
cc
C++
chrome/browser/extensions/wasm_app_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/extensions/wasm_app_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/extensions/wasm_app_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_browsertest.h" #include "content/public/test/browser_test.h" using extensions::Extension; // Test ensures ...
32.088235
76
0.721357
zealoussnow
5e6802193d69edc37ae030323b4f7c1d5fe5c2c9
22,188
cc
C++
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkHyperTreeGridCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkHyperTreeCursorWrap.h" #include "vtkHyperTreeGridCursorWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkHyperTreeGridWrap.h" #include "vt...
31.833572
111
0.720119
axkibe
5e68fb61f2d11b469386d6daaba624edc2026233
2,146
cpp
C++
src/ml/neural_net/compute_context.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1
2020-05-25T22:17:48.000Z
2020-05-25T22:17:48.000Z
src/ml/neural_net/compute_context.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
3
2022-02-15T04:42:24.000Z
2022-03-12T01:05:15.000Z
src/ml/neural_net/compute_context.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2018 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <ml/neural_net/compute_context.hpp> #include <algorithm> #include <map> namespace turi {...
29.39726
86
0.682665
Bpowers4
5e6945471a919e1b986c4a664041b61b200f2a45
482
hpp
C++
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
CreaStein !!!/Test_SDL_DirectX9.0c/cl_CustomCube.hpp
RSF-Deus/Creastein
ec5aafbf09940dd630fc329a4450e1e37a0d2f62
[ "MIT" ]
null
null
null
#pragma once #include "header_ressources.hpp" #include "cl_CustomObject.hpp" class CustomCube : public CustomObject { protected: float fRot; public: CustomCube(CustomForme* _Forme); CustomCube(CustomForme* _Forme, D3DXVECTOR3& _TranVector); CustomCube(CustomForme* _Forme, D3DXVECTOR3& _TranVector, D3DXVECTOR3&...
21.909091
120
0.786307
RSF-Deus
5e6a0b26f6059777554956dff53f4f18f709f3b3
476
hpp
C++
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-06T23:54:01.000Z
2020-08-24T09:18:33.000Z
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
6
2019-03-07T00:31:48.000Z
2021-01-10T13:28:41.000Z
algorithm_dtocs.hpp
jkloe/pageDistanceBasedContourGenerator
92e8768b596c98ffc09f4b5eeb7db8aafccda01a
[ "MIT" ]
8
2019-03-07T00:08:43.000Z
2021-05-13T12:14:08.000Z
#ifndef ALGORITHM_DTOCS_HPP_GF3U3S3CO1 #define ALGORITHM_DTOCS_HPP_GF3U3S3CO1 #include "algorithm_distance_map.hpp" namespace prhlt { class Algorithm_DTOCS: public Algorithm_Distance_Map{ public: Algorithm_DTOCS(cv::Mat &ex_image); protected: virtual float calculate_neighbo...
28
83
0.701681
jkloe
5e6a3bc05fe12d35beda603fa15212b5f1a4f4b1
8,231
hh
C++
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:31.000Z
2021-12-09T22:02:36.000Z
Kaskade/fem/errorest.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the library KASKADE 7 */ /* see http://www.zib.de/projects/kaskade7-finite-element-toolbox */ ...
36.582222
127
0.598226
chenzongxiong
5e6a9a59f2c3f9c63495574ae5fed6034f7a0a04
59
cpp
C++
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
1
2018-12-17T09:33:54.000Z
2018-12-17T09:33:54.000Z
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
null
null
null
LightCubes/source/src/gl3d/sceneGraph.cpp
LeeCIT/LightCubes
35e1ec3c1447f72642ece0b602dfbd7213fe806b
[ "MIT" ]
null
null
null
#include "sceneGraph.h" namespace sceneGraphSys { };
5.363636
23
0.677966
LeeCIT
5e6e59d85c62b87c3d5845a779a46568124c8e0a
1,610
cpp
C++
main.cpp
jrandiny/Sudoku-Dagozilla
2de1023947f5de1e5bfcf891dc17f8e223e0041b
[ "MIT" ]
1
2018-12-19T15:50:00.000Z
2018-12-19T15:50:00.000Z
main.cpp
jrandiny/Sudoku-Dagozilla
2de1023947f5de1e5bfcf891dc17f8e223e0041b
[ "MIT" ]
null
null
null
main.cpp
jrandiny/Sudoku-Dagozilla
2de1023947f5de1e5bfcf891dc17f8e223e0041b
[ "MIT" ]
null
null
null
#include "Node.h" #include "Board.h" #include "Reader.h" #include "Solver.h" #include <iostream> using namespace std; int main(){ string jenis_input; Reader read; Board papan; cout<<"Program Menyelesaikan Hyper Sudoku"<<endl<<"----------------------------------"<<endl<<endl; while(true){ cout<<"Pilih cara in...
18.941176
100
0.632919
jrandiny
5e6ebaa91f7041a28b381a7f3c0a778d68693894
4,242
cpp
C++
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
17
2018-07-04T14:06:31.000Z
2021-11-11T20:43:38.000Z
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
null
null
null
src/MeasurementProvider.cpp
josefadamcik/RoomMonitor
77dbd9b37b47aef5a7de840ed403dd7bd0d7d58b
[ "MIT" ]
1
2019-12-26T12:59:00.000Z
2019-12-26T12:59:00.000Z
#include "MeasurementProvider.h" #define SHT21_TRIGGER_TEMP_MEASURE_NOHOLD 0xF3 #define SHT21_TRIGGER_HUMD_MEASURE_NOHOLD 0xF5 #define SHT21_TRIGGER_TEMP_MEASURE_HOLD 0xE3 #define SHT21_TRIGGER_HUMD_MEASURE_HOLD 0xE5 MeasurementProvider::MeasurementProvider( uint8_t tempSensAddr, uint8_t lightSensAddr, ...
26.679245
107
0.657944
josefadamcik
5e6f3082b05ef40505cc3d1ddc8961c2d4d021e3
10,707
hpp
C++
multidrone_kml_parser/include/multidrone_kml_parser/geographic_to_cartesian.hpp
grvcTeam/multidrone_planning
421a7d81a3417cdc6bcb690d3d88bb4e9d6b6638
[ "MIT" ]
12
2020-07-02T07:00:35.000Z
2021-12-08T07:59:41.000Z
multidrone_kml_parser/include/multidrone_kml_parser/geographic_to_cartesian.hpp
grvcTeam/multidrone_planning
421a7d81a3417cdc6bcb690d3d88bb4e9d6b6638
[ "MIT" ]
null
null
null
multidrone_kml_parser/include/multidrone_kml_parser/geographic_to_cartesian.hpp
grvcTeam/multidrone_planning
421a7d81a3417cdc6bcb690d3d88bb4e9d6b6638
[ "MIT" ]
2
2021-01-01T06:35:22.000Z
2021-04-24T09:54:21.000Z
/** * MULTIDRONE Project: * * Geographic to Cartesian coordinate conversion and vice versa, with an intermediate conversion to UTM. * * This library suppose that the path of the robot cannot cross more than 2 different UTM zones. * */ #ifndef GEOGRAPHIC_TO_CARTESIAN #define GEOGRAPHIC_TO_CARTESIAN #include <ma...
66.503106
313
0.74045
grvcTeam
5e70cdde2f80b822ff82028972a0a5be883e1d68
9,483
hpp
C++
algos.hpp
sg0/neve
d68f2b4740f30a1cab5412bf32c33db515844955
[ "BSD-3-Clause" ]
1
2021-06-20T19:16:04.000Z
2021-06-20T19:16:04.000Z
algos.hpp
sg0/neve
d68f2b4740f30a1cab5412bf32c33db515844955
[ "BSD-3-Clause" ]
null
null
null
algos.hpp
sg0/neve
d68f2b4740f30a1cab5412bf32c33db515844955
[ "BSD-3-Clause" ]
2
2021-06-28T17:05:18.000Z
2022-03-20T23:39:13.000Z
// *********************************************************************** // // NEVE // // *********************************************************************** // // Copyright (2019) Battelle Memorial Institute // All rights reserved. // // Redistribution and ...
33.273684
103
0.452599
sg0
5e763ed5f586408e8ff628f829660ee724f3b6f9
4,076
cpp
C++
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
1
2022-01-28T04:54:52.000Z
2022-01-28T04:54:52.000Z
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
null
null
null
src/main-last.cpp
j-jorge/find-simd
eb5ca42a36c5957379b133b67c12ecb2cd4e59ac
[ "Apache-2.0" ]
1
2022-01-28T04:54:57.000Z
2022-01-28T04:54:57.000Z
#include "find.hpp" #include <algorithm> #include <iostream> #include <vector> #include <cstdio> #include <chrono> #include <numeric> #include <benchmark/benchmark.h> static std::vector<int> build_ordered_vector(size_t n) { std::vector<int> values(n); std::iota(values.begin(), values.end(), 1); return values;...
31.114504
77
0.418302
j-jorge
5e765b2cb378fd461aec047ec77d0e03dfdc43c1
3,256
cpp
C++
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
src/sigogl/ws_run.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
/*======================================================================= Copyright (c) 2018 Marcelo Kallmann. This software is distributed under the Apache License, Version 2.0. All copies must contain the full copyright notice licence.txt located at the base folder of the distribution. ================...
21.281046
96
0.561732
harsha336
5e77840110b226f16cf6e0d89ebbc9b186558d67
21,028
cpp
C++
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
core/src/tile/tileManager.cpp
JungWonHyung/test2
3556db60b017dfe2313fffa0b04fc166cb19fd0e
[ "MIT" ]
null
null
null
#include "tile/tileManager.h" #include "data/tileSource.h" #include "map.h" #include "platform.h" #include "tile/tile.h" #include "tile/tileCache.h" #include "util/mapProjection.h" #include "view/view.h" #include "glm/gtx/norm.hpp" #include <algorithm> #define DBG(...) // LOGD(__VA_ARGS__) namespace Tangram { en...
30.475362
107
0.568242
JungWonHyung
5e7a884153484f9c7b33720e401823626aaff820
7,954
cpp
C++
GRTlib/GRT/CoreModules/MLBase.cpp
vladnis/grt-android-lib
291401bfcc163677cb21f58fc28cab94fd97553b
[ "MIT" ]
1
2015-07-12T09:32:02.000Z
2015-07-12T09:32:02.000Z
GRTlib/src/CoreModules/MLBase.cpp
vladnis/GRT-Benchmark
5cbce6919f596fea3677660d89d8d41060bacbb6
[ "Apache-2.0" ]
null
null
null
GRTlib/src/CoreModules/MLBase.cpp
vladnis/GRT-Benchmark
5cbce6919f596fea3677660d89d8d41060bacbb6
[ "Apache-2.0" ]
null
null
null
/** GRT MIT License Copyright (c) <2012> <Nicholas Gillian, Media Lab, 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...
34.137339
116
0.707066
vladnis
5e7b56c302b1d9d2ab81b4ad7588750539a35857
2,324
cpp
C++
tests/ClusterManagerTest.cpp
cybergarage/round-common
cfbf66cd7afa5eee9fadb37e51f1a16b3f3c1189
[ "BSD-3-Clause" ]
5
2015-06-14T13:12:41.000Z
2017-01-09T13:34:14.000Z
tests/ClusterManagerTest.cpp
cybergarage/round-common
cfbf66cd7afa5eee9fadb37e51f1a16b3f3c1189
[ "BSD-3-Clause" ]
2
2015-06-08T05:41:05.000Z
2015-06-13T08:16:12.000Z
tests/ClusterManagerTest.cpp
cybergarage/round-common
cfbf66cd7afa5eee9fadb37e51f1a16b3f3c1189
[ "BSD-3-Clause" ]
1
2016-07-01T03:11:27.000Z
2016-07-01T03:11:27.000Z
/****************************************************************** * * Round for C * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include "RoundTest...
28.341463
85
0.715577
cybergarage
5e803e956a5759d1df385d6b1a8438ab092d0876
986
cpp
C++
src/data/Accuracy.cpp
mr-c/pbcopper
6226c0adf041db717360cf0066bc91e8f556bf48
[ "BSD-3-Clause-Clear" ]
null
null
null
src/data/Accuracy.cpp
mr-c/pbcopper
6226c0adf041db717360cf0066bc91e8f556bf48
[ "BSD-3-Clause-Clear" ]
null
null
null
src/data/Accuracy.cpp
mr-c/pbcopper
6226c0adf041db717360cf0066bc91e8f556bf48
[ "BSD-3-Clause-Clear" ]
null
null
null
// Author: Derek Barnett #include <pbcopper/data/Accuracy.h> #include <cassert> #include <type_traits> #include <boost/algorithm/clamp.hpp> namespace PacBio { namespace Data { const float Accuracy::MIN = 0.0f; const float Accuracy::MAX = 1.0f; static_assert(std::is_copy_constructible<Accuracy>::value, ...
28.171429
80
0.706897
mr-c
5e82b61df977500f5067014125164e44bfffa340
83,122
cpp
C++
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
5
2019-02-26T18:46:52.000Z
2022-01-27T23:48:26.000Z
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
1
2020-06-07T23:44:29.000Z
2021-04-03T18:49:54.000Z
Sources/Vulkan/erm/extensions/VkExtensions.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
null
null
null
#include "erm/extensions/VkExtensions.h" #include <assert.h> /* loaders */ /* /////////////////////////////////// */ #if VK_EXT_debug_marker static PFN_vkDebugMarkerSetObjectTagEXT pfn_vkDebugMarkerSetObjectTagEXT = 0; static PFN_vkDebugMarkerSetObjectNameEXT pfn_vkDebugMarkerSetObjectNameEXT = 0; static PFN_vkCmdDeb...
47.634384
367
0.862479
JALB91
5e85639fac693539d79a0ea70f2d78fb56224e58
3,489
cpp
C++
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
qipmsg/trunk/src/dir_dialog.cpp
cuibo10/feige_src
1bfd47eaa046d401f83dfae5715b5487283ba343
[ "MIT" ]
null
null
null
// This file is part of QIpMsg. // // QIpMsg is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // QIpMsg is distributed in the hope...
28.137097
78
0.685583
cuibo10
5e8675ab6269e5b629c34db078715762012c3017
2,239
cpp
C++
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
Regex_match.cpp
Foxitute/RegexOnC-
2c6124a2221352ac2e8aa85d025541f10f52f2f2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <regex> void regex_match(std::string str) { // regex_match // ([a-z ]){0, 99999} \\w - for letters, \\s - space std::cmatch result; std::regex regular("([\\w-]+)" "(@)" "([\\w-]+)" "(\.)" "(\\w{2,5})"); // 2-5 symbols ...
23.568421
75
0.528808
Foxitute
5e88d1d5aeebe02d7f7f4f1b97284aecf5c8a7d1
587
hpp
C++
algorithms/p634/634.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
9
2017-06-05T15:10:35.000Z
2021-06-08T03:10:46.000Z
algorithms/p634/634.hpp
baishuai/leetcode
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
3
2017-07-12T14:08:39.000Z
2017-10-11T03:08:15.000Z
algorithms/p634/634.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
1
2017-07-21T03:51:51.000Z
2017-07-21T03:51:51.000Z
// // Created by bai on 17-7-2. // #ifndef LEETCODE_634_HPP #define LEETCODE_634_HPP #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <unordered_map> #include <unordered_set> #include <numeric> using namespace std; class Solution { public: int findDerangement(int n) { ...
17.264706
49
0.565588
baishuai
5e897dbaaf5357c6b8f92d02714b43f492512ad3
1,965
cpp
C++
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/state/cardrivethrough.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; class FSM { class State* current; public: FSM(); void setCurrent( State* s ) { current = s; } void suckUpMoney( int ); void carDrivesThrough(); }; class State { int total; protected: int getTotal() { return total; } pub...
22.329545
75
0.572519
enuguru
5e8af562f28b066ea443d9d8ff45d4ff33e59849
11,316
cpp
C++
src/OpenCL/CLScene.cpp
mikoro/raycer
281cbd42cae21c8612ed99d10eb4c113e6daa3d1
[ "MIT" ]
31
2016-04-10T16:40:38.000Z
2021-11-19T13:01:34.000Z
src/OpenCL/CLScene.cpp
mikoro/raycer
281cbd42cae21c8612ed99d10eb4c113e6daa3d1
[ "MIT" ]
null
null
null
src/OpenCL/CLScene.cpp
mikoro/raycer
281cbd42cae21c8612ed99d10eb4c113e6daa3d1
[ "MIT" ]
3
2017-10-01T22:33:57.000Z
2019-08-17T12:29:33.000Z
// Copyright © 2015 Mikko Ronkainen <firstname@mikkoronkainen.com> // License: MIT, see the LICENSE file. #include "stdafx.h" #include "OpenCL/CLScene.h" #include "Raytracing/Scene.h" #include "App.h" #include "Utils/Log.h" using namespace Raycer; namespace { void readVector2(cl_float2& destination, const Vector2...
42.863636
133
0.799576
mikoro
5e8bf8891b6c97c6dbc71d06f39a318039a85d23
12,350
hxx
C++
Modules/Registration/Common/include/itkGradientDifferenceImageToImageMetric.hxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2021-01-10T14:19:08.000Z
2021-01-10T14:19:08.000Z
Modules/Registration/Common/include/itkGradientDifferenceImageToImageMetric.hxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2017-03-19T12:56:50.000Z
2018-10-24T10:40:21.000Z
Modules/Registration/Common/include/itkGradientDifferenceImageToImageMetric.hxx
HongdaZ/ITK
f5d004fa3607b8e11edc30f1ba299df35af8aff8
[ "Apache-2.0" ]
1
2020-07-24T22:58:19.000Z
2020-07-24T22:58:19.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
29.545455
114
0.727854
HongdaZ
5e8bfd44ce46f1d18d0f10c2ef3813a4abdfcfab
3,800
cpp
C++
Examples/HelloFluidSim/main.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
216
2017-01-25T04:34:30.000Z
2021-07-15T12:36:06.000Z
Examples/HelloFluidSim/main.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
323
2017-01-26T13:53:13.000Z
2021-07-14T16:03:38.000Z
Examples/HelloFluidSim/main.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
33
2017-01-25T05:05:49.000Z
2021-06-17T17:30:56.000Z
// This code is based on Jet framework. // Copyright (c) 2018 Doyub Kim // CubbyFlow is voxel-based fluid simulation engine for computer games. // Copyright (c) 2020 CubbyFlow Team // Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo // AI Part: Dongheon Cho, Minseo Kim // We are making my contributions/subm...
26.760563
80
0.592895
ADMTec
5e8f1f723a9de1c53eade71fb46968a8a6219c8c
1,502
cpp
C++
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
1
2020-09-18T22:33:37.000Z
2020-09-18T22:33:37.000Z
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
null
null
null
source/rcnn/modeling/rpn/utils.cpp
conanhung/maskrcnn_benchmark.cpp
eab9787d3140e003662a31a8e01f7ae39469e9a0
[ "MIT" ]
null
null
null
#include "rpn/utils.h" #include <cassert> #include <iostream> #include <cat.h> namespace rcnn{ namespace modeling{ torch::Tensor PermuteAndFlatten(torch::Tensor& layer, int64_t N, int64_t A, int64_t C, int64_t H, int64_t W){ layer = layer.view({N, -1, C, H, W}); layer = layer.permute({0, 3, 4, 1, 2}); layer =...
31.957447
147
0.66245
conanhung
5e907214b76edb4ed4c8a811738b4be0da904e38
8,996
cpp
C++
3rdparty/kdl_parser/src/kdl_parser.cpp
rocos-sia/rocos-app
83aa8aa31dd303d77693cfc5ad48055d051fa4bc
[ "MIT" ]
3
2021-12-06T15:30:58.000Z
2022-03-29T13:21:40.000Z
3rdparty/kdl_parser/src/kdl_parser.cpp
thinkexist1989/rocos-app
7d6ab256c8212504b0a8bbe1ec1dea0c41ea3ff2
[ "MIT" ]
null
null
null
3rdparty/kdl_parser/src/kdl_parser.cpp
thinkexist1989/rocos-app
7d6ab256c8212504b0a8bbe1ec1dea0c41ea3ff2
[ "MIT" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.318519
110
0.618608
rocos-sia
5e907df894871fd4913ca0fc6a19937b83b2fc52
1,037
cpp
C++
leetcode/contest-246/1904. The Number of Full Rounds You Have Played.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
107
2019-10-25T07:46:59.000Z
2022-03-29T11:10:56.000Z
leetcode/contest-246/1904. The Number of Full Rounds You Have Played.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
1
2021-08-13T05:42:27.000Z
2021-08-13T05:42:27.000Z
leetcode/contest-246/1904. The Number of Full Rounds You Have Played.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
18
2020-12-09T14:24:22.000Z
2022-03-30T06:56:01.000Z
#include <bits/stdc++.h> using namespace std; struct Time { int h, m; Time(int h, int m) : h(h), m(m) {} Time(string s) { h = (s[0] - '0') * 10 + s[1] - '0'; m = (s[3] - '0') * 10 + s[4] - '0'; } }; bool cmp(Time s, Time f) { if (s.h < f.h) return true; if (s.h > f.h) return fals...
23.568182
61
0.398264
upupming
5e94f2286108eb672682e36f876c6d7120ac124f
4,569
cp
C++
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Linux/Sources/Support/JXMultiImageCheckbox.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
28.030675
148
0.591814
mulberry-mail
5e953edfa47bec9eeda3805f4d18b0067825c15b
6,781
cc
C++
views/controls/textfield/textfield.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
views/controls/textfield/textfield.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
views/controls/textfield/textfield.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "views/controls/textfield/textfield.h" #include "app/gfx/insets.h" #if defined(OS_WIN) #include "app/win_util.h" #endif #include "base/strin...
25.397004
80
0.692081
zachlatta
5e96838dc84f050a83b3cff06f613681a0ba0b70
2,482
cpp
C++
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/replay/ReplayUtility.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Daniel "MonzUn" Bengtsson ***************************************************/ #include "ReplayUtility.h" #include <messaging/GameMessages.h> using namespace SerializationUtility; ReplayFrame::ReplayFrame( ) {} ReplayFrame::~ReplayFrame( ) { for ( i...
35.457143
126
0.711523
Robograde
5e9c6e3170e48c33b13b076213827f8b46e04e3e
2,093
cpp
C++
src/ndnSIM/helper/ndn-face-container.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2021-09-07T04:12:15.000Z
2021-09-07T04:12:15.000Z
src/ndnSIM/helper/ndn-face-container.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
null
null
null
src/ndnSIM/helper/ndn-face-container.cpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2020-07-15T06:21:03.000Z
2020-07-15T06:21:03.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2011-2015 Regents of the University of California. * * This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and * contributors. * * ndnSIM is free software: you can redistribute it and/or modify it under...
22.505376
86
0.71763
NDNLink
5e9c9565c604f811f449f55c1b7b13ebadb983c3
8,621
cc
C++
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
S0006E-Graphics/lab-env-master/projects/GrafikLabb/code/Graphics.cc
miraz12/Projects
ae24a4caa347f74f7ccc36014e8f7b0f801d47db
[ "MIT" ]
null
null
null
#include "config.h" #include "Graphics.h" #include <cstring> #include <chrono> #include "MeshResource.h" #include "GraphicsNode.h" #include "JointsStructure.h" #define PI 3.14159265 //#define true false using namespace Display; namespace Labb2 { Graphics::Graphics() { } Graphics::~Graphics() { } bool Grap...
21.825316
201
0.519545
miraz12
5ea1ba69aa45b824e72a50c7fd3bb59c7b96a9b8
3,445
cpp
C++
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Test/Qosh/src/stak.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
20.264706
72
0.666183
mfaithfull
5ea331084ee6c9a229ac38ecefc976f5dec7e688
2,319
cpp
C++
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_15_DFS_03-nov-2021/make_a_large_island.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <set> int floodFill(std::vector<std::vector<int>>& grid, int i, int j, int mark) { if (grid[i][j] != 1) return 0; grid[i][j] = mark; int area = 1; if (i > 0) area += floodFill(grid, i - 1, j, mark); if (i < grid.size() - 1) area += floodFill(grid, i + 1, j, m...
22.960396
97
0.575679
MisaelVM
5ea37dd78a2b63f728f4d3a92db6b9d1b6ebca7d
98,088
hpp
C++
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
4
2018-04-11T13:31:10.000Z
2018-11-13T09:59:39.000Z
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
null
null
null
AarbitraryWindowedGuidedImageFilter/GaussianFilterSpectralRecursive.hpp
norishigefukushima/AarbitraryWindowedGuidedImageFilter
d6c88c65c7f2521c6728024e12e7cbb36ad095b1
[ "BSD-3-Clause" ]
2
2018-04-11T02:09:08.000Z
2018-06-03T07:43:56.000Z
#pragma once #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> using namespace cv; using namespace std; #define ___MM256_TRANSPOSE8_PS(in0, in1, in2, in3, in4, in5, in6, in7, out0, out1, out2, out3, out4, out5, out6, out7, __in0, __in1, __in2, __in3, __in4, __in5, __in6, __in7, __out0, __out1, __out2, __out3...
43.750223
376
0.592692
norishigefukushima
5ea471441838daab58612181478ed8f625535a19
234
cpp
C++
torch/csrc/cuda/serialization.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
torch/csrc/cuda/serialization.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
torch/csrc/cuda/serialization.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
#include "torch/csrc/python_headers.h" #include "THCP.h" #include "override_macros.h" #include <system_error> #include <memory> #define THC_GENERIC_FILE "torch/csrc/generic/serialization.cpp" #include <THC/THCGenerateAllTypes.h>
18
63
0.777778
DavidKo3
5ea5c38a54bbddb0af567a118f6fd080996075ed
2,678
hpp
C++
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
1
2018-06-09T04:40:01.000Z
2018-06-09T04:40:01.000Z
include/tnt/deps/simd/detail/preprocessor/facilities/is_empty.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2003. # * (C) Copyright Edward Diener 2014. # * Distributed under the Boost Software License, Version 1.0. (See...
46.982456
130
0.676998
JordanCheney
5eaaa8feb9f470edc8ae8aa3a1ae75043b27c7a6
2,996
cpp
C++
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
MyGame/Motor2D/j1EntityManager.cpp
AlexisCosano/DevCodex
32891063f5c4d7b766a517415c749d222649e070
[ "MIT" ]
null
null
null
#include "j1EntityManager.h" #include "j1App.h" #include "p2Defs.h" #include "p2Log.h" #include "j1Player.h" #include "j1GroundedEnemy.h" #include "j1FlyingEnemy.h" j1EntityManager::j1EntityManager() : j1Module() { name = "entities"; } j1EntityManager::~j1EntityManager() { } bool j1EntityManager::Awake(pugi::xml_no...
15.604167
64
0.648198
AlexisCosano
5eaee45bf8f9a844bccaf9f28099a4db7aa6b6fe
250
hpp
C++
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
src/common/thread_compat.hpp
Helios-vmg/napalm
15f61c742a4488304583865f35cb286e777112fe
[ "BSD-2-Clause" ]
null
null
null
#pragma once #if defined __MINGW32__ && !(defined _GLIBCXX_HAS_GTHREADS) #include <mingw.thread.h> #include <mingw.mutex.h> #include <mingw.condition_variable.h> #else #include <thread> #include <mutex> #include <condition_variable> #endif
22.727273
60
0.74
Helios-vmg
5eb7e84f957c3891ba0d0b57500ab7dc3b2431d7
10,096
cpp
C++
external/the-forge/Middleware_3/UI/imgui_user.cpp
learn-computer-graphics/the-forge-samples
36ee5310bf76271bf41186475c433cf050ab32af
[ "Apache-2.0" ]
18
2020-05-05T18:11:59.000Z
2021-12-16T07:07:46.000Z
external/the-forge/Middleware_3/UI/imgui_user.cpp
boberfly/the-forge-glfw
c3b4642f83bec165af481e8a7d6916330d4bd07b
[ "Apache-2.0" ]
null
null
null
external/the-forge/Middleware_3/UI/imgui_user.cpp
boberfly/the-forge-glfw
c3b4642f83bec165af481e8a7d6916330d4bd07b
[ "Apache-2.0" ]
6
2020-05-23T21:42:12.000Z
2021-08-09T13:44:02.000Z
/* * Copyright (c) 2018-2021 The Forge Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional in...
37.117647
135
0.716918
learn-computer-graphics
5eb8ccc8ab15da553c58a923713aaf6571c993a1
537
cpp
C++
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/grafuri_ROYWARSHALL
559c2dcc9c9d30778d4be21b3513da5c9aa374e8
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> using namespace std; int n,a[50][50]; void citire() { int x,y; ifstream f("in.txt"); f>>n; while(f>>x>>y) a[x][y]=a[y][x]=1; } void afisare() { int i,j; for(i=1;i<=n;i++) { for(j=1;j<=n;j++) cout<<a[i][j]<<" "; cout<<endl; } cout<<endl; } void Roy_Warshall() { ...
11.933333
48
0.495345
seerj30
5ebceeee70a2cddf47ca71d83545a8048d9b7251
3,364
cc
C++
drivers/gpu/msd-intel-gen/tests/unit_tests/test_connection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
drivers/gpu/msd-intel-gen/tests/unit_tests/test_connection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
drivers/gpu/msd-intel-gen/tests/unit_tests/test_connection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mock/mock_bus_mapper.h" #include "msd_intel_connection.h" #include "gtest/gtest.h" class TestMsdIntelConnection : public MsdIntelConnection::Own...
42.582278
93
0.631986
PowerOlive
5ebd77712f82833e915e3a6e1ee56d50318f20f9
2,188
cpp
C++
OIandACM/OJ/Nowcoder/5670F.cpp
ASC8384/-
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
8
2019-08-09T14:28:13.000Z
2021-02-23T03:22:15.000Z
OIandACM/OJ/Nowcoder/5670F.cpp
ASC8384/Template
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
null
null
null
OIandACM/OJ/Nowcoder/5670F.cpp
ASC8384/Template
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
4
2019-08-16T12:00:41.000Z
2019-11-29T12:01:17.000Z
/* ** Author: ASC_8384 ** Website: www.ASC8384.top ** License: CC0 ** Time: 2020-07-25 12:08:43 */ #include <bits/stdc++.h> using namespace std; typedef long long ll; const int size = 2e5 + 9; const ll mod = 1e9 + 7; int a[size]; int maxx = 0; void prt1(int x) { cout << '+'; // string s(x, '-'); // string s = "...
16.575758
40
0.452011
ASC8384
5ebddd06b54e498a0d17c1fb3c4fecf080b7b8cf
1,266
cpp
C++
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
mpags-cipher.git/MPAGSCipher/TransformChar.cpp
MPAGS-CPP-2019/mpags-day-2-GluonicPenguin
4a548ed268b16ef085abd75ba6cfd90263bd8b99
[ "MIT" ]
null
null
null
// TransformChar.cpp file, carrying function in separate file #include<cctype> #include<string> #include<iostream> // Function to transform characters to string std::string transformChar(const char inputChar){ std::string inputStrForm {""}; // Uppercase alphabetic characters if (std::isalpha(inputChar)) {...
23.018182
65
0.557662
MPAGS-CPP-2019
5ec09f659eca554b549963522452618e28e639ad
1,315
cc
C++
pw_software_update/manifest_accessor.cc
octml/pigweed
e273d46024ef7b5a7c7ec584e4aaada41c541fc4
[ "Apache-2.0" ]
86
2021-03-09T23:49:40.000Z
2022-03-30T08:14:51.000Z
pw_software_update/manifest_accessor.cc
octml/pigweed
e273d46024ef7b5a7c7ec584e4aaada41c541fc4
[ "Apache-2.0" ]
4
2021-07-27T20:32:03.000Z
2022-03-08T10:39:07.000Z
pw_software_update/manifest_accessor.cc
octml/pigweed
e273d46024ef7b5a7c7ec584e4aaada41c541fc4
[ "Apache-2.0" ]
22
2021-03-11T15:15:47.000Z
2022-02-09T06:16:36.000Z
// Copyright 2021 The Pigweed Authors // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
35.540541
80
0.78327
octml
5ecbe055c8193a4eb162ff73366ebda544f09e10
6,010
cpp
C++
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
20
2016-02-15T23:22:06.000Z
2021-12-07T00:13:49.000Z
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
1
2017-09-04T00:28:19.000Z
2017-09-05T11:00:12.000Z
src/Pyros3D/Utils/Mouse3D/Mouse3D.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
3
2016-08-10T02:44:08.000Z
2021-05-28T23:03:10.000Z
//============================================================================ // Name : Mouse3D.cpp // Author : Duarte Peixinho // Version : // Copyright : ;) // Description : Mouse 3D Class //============================================================================ #include <Pyros3D/Utils/Mouse3...
23.385214
176
0.565391
Peixinho
5ece59e0e23c720c19bb40416ba4176396f58711
1,132
hpp
C++
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
13
2020-05-01T02:03:14.000Z
2022-02-03T17:48:26.000Z
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
5
2021-01-22T11:58:21.000Z
2022-01-21T21:06:17.000Z
Source/Scenes/DecryptFileScene.hpp
BaderEddineOuaich/Enigma
a42365146c80fb59e38f5653e17d4c931195e646
[ "MIT" ]
3
2021-01-22T09:05:50.000Z
2022-01-12T09:16:44.000Z
#pragma once #include "Scene.hpp" #include <Algorithm/Algorithm.hpp> NS_ENIGMA_BEGIN class DecryptFileScene : public Scene { public: /* Constructors / Destructor */ DecryptFileScene(); virtual ~DecryptFileScene() = default; private: /* Overrides */ void OnCreate() override; [[maybe_unused]] void OnUpdate(const f...
29.025641
109
0.762367
BaderEddineOuaich
5ed04b0d11ff119a4796a4b9ec09f1ae30a6fdab
167
cpp
C++
source/F/ReLu.cpp
webbery/MiniEngine
7ff9793be96fc11d9fe04c1fd22ea5ba5a1d80d8
[ "MIT" ]
3
2019-09-25T14:20:32.000Z
2021-11-20T07:53:57.000Z
source/F/ReLu.cpp
webbery/MiniEngine
7ff9793be96fc11d9fe04c1fd22ea5ba5a1d80d8
[ "MIT" ]
1
2020-05-13T04:17:58.000Z
2020-05-13T07:35:00.000Z
source/F/ReLu.cpp
webbery/MiniEngine
7ff9793be96fc11d9fe04c1fd22ea5ba5a1d80d8
[ "MIT" ]
1
2020-05-19T05:03:01.000Z
2020-05-19T05:03:01.000Z
#include "F/ReLu.h" namespace engine { ReLu::ReLu(Node* node) { } void ReLu::forward(/*const Eigen::MatrixXf& value*/) { } void ReLu::backward() { } }
8.35
53
0.586826
webbery
5ed1e4838d85f4f2d8e30f857ef3fd79eddd4bf8
410
hpp
C++
tests/files/src-stm32/include/Power.hpp
Tasssadar/mkdoxy
8d5f563dc83cd90d3f1db4e171580bf56a391a6b
[ "MIT" ]
null
null
null
tests/files/src-stm32/include/Power.hpp
Tasssadar/mkdoxy
8d5f563dc83cd90d3f1db4e171580bf56a391a6b
[ "MIT" ]
19
2021-08-16T21:48:03.000Z
2021-11-13T18:13:56.000Z
tests/files/src-stm32/include/Power.hpp
JakubAndrysek/mkdocs-doxygen-snippets-plugin
9caadb772083e134dd67e59f7981245223b6ce78
[ "MIT" ]
1
2021-11-16T15:58:25.000Z
2021-11-16T15:58:25.000Z
#pragma once void powerInit(); void powerPoll(); uint16_t powerBatteryMv(); uint16_t powerBatteryMidMv(); uint16_t powerTemperatureC(); uint16_t powerVrefMv(); static constexpr uint16_t POWER_CALIBRATE_DEFAULT = 0; static constexpr uint16_t POWER_CALIBRATE_NO_CHANGE = 0xFFFF; void powerCalibrate(uint16_t vccMv, uint...
24.117647
71
0.812195
Tasssadar
5ed9f572fd6dbefe9abae9ed029762f2e65bf9e9
42,489
cpp
C++
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/meshes/extrude_polygon_scene.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/babylon_stl_util.h> #include <babylon/buffers/vertex_buffer.h> #include <babylon/cameras/arc_rotate_camera.h> #include <babylon/interfaces/icanvas.h> #include <babylon/interfaces/irenderable_scene_with_hud.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materials/standard_material.h...
41.533724
100
0.512274
samdauwe
5eda7a9a5a1a0619e7d0ea373894e962f5c0bb43
3,546
cpp
C++
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
stocks_trade.cpp
mattregul/df-ai
9e74c015e173b9f67cf95e45fdb0ce02e987f1df
[ "Zlib" ]
null
null
null
#include "ai.h" #include "stocks.h" #include "df/general_ref.h" #include "df/item_foodst.h" bool Stocks::willing_to_trade_item(color_ostream & out, df::item *item) { if (virtual_cast<df::item_foodst>(item)) { return true; } if (item->isFoodStorage()) { bool any_contents = false; ...
28.829268
285
0.565426
mattregul
5edb4636708ab8b61422e468e1bcf33a5bbf0bb0
456
cpp
C++
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
9
2020-06-02T16:40:40.000Z
2021-10-03T15:22:40.000Z
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2020-11-06T00:00:24.000Z
2022-02-14T01:59:08.000Z
common/Net/Fd.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2021-01-02T15:29:50.000Z
2022-02-23T07:26:00.000Z
#include<errno.h> #include<unistd.h> #include<utility> #include"Net/Fd.hpp" namespace Net { Fd& Fd::operator=(Fd&& o) { auto tmp = Fd(std::move(o)); swap(tmp); return *this; } Fd::~Fd() { if (fd >= 0) { /* Ignore errors. * This is a destructor, so it is * entirely possible that this * occurred due to ...
15.2
38
0.607456
ZmnSCPxj
5edc373a45e0fb948f85a0796b4b088d34d448ac
3,479
cpp
C++
oneEngine/oneGame/source/after/entities/world/events/EventBanditSpawnSmall.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/after/entities/world/events/EventBanditSpawnSmall.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/after/entities/world/events/EventBanditSpawnSmall.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "EventBanditSpawnSmall.h" #include "after/entities/character/npc/zoned/CZonedCharacterController.h" #include "after/entities/world/CNpcSpawner.h" #include "after/types/character/NPC_WorldState.h" #include "after/interfaces/io/CZonedCharacterIO.h" #include "after/entities/character/NPC/CNpcBase.h" #include "...
28.056452
156
0.675194
jonting
5edc8bfef4f7236867a536407485d247cc1558d3
2,833
cpp
C++
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
TopCoderSRM/SRM635/IdentifyingWood.cpp
zombiecry/AlgorithmPractice
f42933883bd62a86aeef9740356f5010c6c9bebf
[ "MIT" ]
null
null
null
// BEGIN CUT HERE // END CUT HERE #line 5 "IdentifyingWood.cpp" #include <vector> #include <list> #include <bitset> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #inc...
32.563218
314
0.590187
zombiecry
5edd03f8d20b117cb6d4ddadac1e529de038f59a
548
hh
C++
src/Zynga/CodeBase/V1/File/Functions.hh
isabella232/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
3
2018-05-20T11:41:54.000Z
2020-08-20T14:55:09.000Z
src/Zynga/CodeBase/V1/File/Functions.hh
zynga/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
1
2021-02-24T01:22:04.000Z
2021-02-24T01:22:04.000Z
src/Zynga/CodeBase/V1/File/Functions.hh
isabella232/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
3
2018-07-30T23:04:34.000Z
2021-01-04T11:10:24.000Z
<?hh // strict namespace Zynga\CodeBase\V1\File; use Zynga\CodeBase\V1\File; use Zynga\CodeBase\V1\Code\Code_Method; class Functions { private File $_parent; private Map<string, Code_Method> $_functions; public function __construct(File $parent) { $this->_parent = $parent; $this->_functions = Map {}; ...
20.296296
64
0.682482
isabella232
5edf254d52b46d7f901c8a46cdbc0b992d3eda4f
3,242
cxx
C++
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
XY/testing/test_AB.cxx
fmauger/BoostSerializationTwoCompilationUnitsDemo
6ddb5e10d72383042258e3e9f13a1ae51a96cbff
[ "OLDAP-2.3" ]
null
null
null
// Standard library: #include <iostream> #include <fstream> /// Third Party: // - Boost: #include <boost/serialization/nvp.hpp> #include <boost/archive/xml_oarchive.hpp> #include <boost/archive/xml_iarchive.hpp> // Ourselves: #include <XY/config.hpp> #if BSTCUD_WITH_EOS == 1 #include <eos/portable_oarchive.hpp> #in...
29.472727
70
0.559531
fmauger
5ee0805621a7661148327ddbf1aa332461ddb931
7,268
cpp
C++
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
660
2017-11-21T15:55:52.000Z
2022-03-31T06:31:00.000Z
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
1,070
2017-12-01T00:26:10.000Z
2022-03-31T17:55:26.000Z
media_driver/agnostic/gen8/codec/hal/codechal_kernel_hme_g8.cpp
lacc97/media-driver
8aa1d74b80668f9963e691b1c01ab564f50aec85
[ "Intel", "BSD-3-Clause", "MIT" ]
309
2017-11-30T08:34:09.000Z
2022-03-30T18:52:07.000Z
/* * Copyright (c) 2017, Intel Corporation * * 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, publis...
44.048485
160
0.726472
lacc97
5ee2066454a7ab9999491f028bcaa3647abf74df
712
cpp
C++
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/properties/vsheet_cmatrix.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "vSheets.h" CSheet_CMatrix::CSheet_CMatrix(CBaseNode *pNode, CNodeView *view, KeyValues *data, Panel *parent) : BaseClass(pNode, view, data, parent) { SetParent(parent); m_pCBox_MType = new ComboBox(this, "cbox_mtype", 10, false); for (int i = 0; i < CMATRIX_LAST; i+...
26.37037
97
0.706461
cstom4994
5ee413f5311948e62f5d3d287c45a4ae742842f4
294
cpp
C++
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
Smart_Home/src/core/main.cpp
Forsyth-Creations/Smart_Home_VT
0b53ecf15eeacafacf28d311eb360f84184e63d4
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "smarthome\SmartHome.h" #include <SoftwareSerial.h> SmartHome home = SmartHome(); void setup() { // put your setup code here, to run once: Serial.begin(9600); home.init(); } void loop() { // put your main code here, to run repeatedly: home.run(); }
14
48
0.663265
Forsyth-Creations
5ee5dc81098368d12401b468d376fdbe41907e3a
1,223
cpp
C++
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
1
2021-02-08T14:50:50.000Z
2021-02-08T14:50:50.000Z
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
src/cpp/arrays/10_rotate_matrix.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void swapFour(int &x, int &y, int &z,int &a) { int temp = x; x = y; y = z; z = a; a = temp; } void printMatrix(vector<vector<int>> A) { for(int i=0;i<A.size();i++) { for(int j=0;j<A[i].size();j++) { cout<<A[i][j]<< " ...
20.383333
79
0.376942
ajaybiswas22
5ee6865fad9c2fcf874d70d1c35635e2714cc1d0
6,602
cpp
C++
Framework/Audio/Audio.cpp
dengwenyi88/Deferred_Lighting
b45b6590150a3119b0c2365f4795d93b3b4f0748
[ "MIT" ]
110
2017-06-23T17:12:28.000Z
2022-02-22T19:11:38.000Z
RunTest/Framework3/Audio/Audio.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
null
null
null
RunTest/Framework3/Audio/Audio.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
3
2018-02-12T00:16:18.000Z
2018-02-18T11:12:35.000Z
/* * * * * * * * * * * * * Author's note * * * * * * * * * * * *\ * _ _ _ _ _ _ _ _ _ _ _ _ * * |_| |_| |_| |_| |_|_ _|_| |_| |_| _|_|_|_|_| * * |_|_ _ _|_| |_| |_| |_|_|_|_|_| |_| |_| |_|_ _ _ * * |_|_|_|_|_| |_| |_| |_| |_| |_| |_| |_| |_...
29.212389
107
0.642684
dengwenyi88
5ee81ea9b33246e8e0912bb59182c86a6f510bbc
4,345
cpp
C++
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
135
2021-05-06T04:03:27.000Z
2022-03-31T01:34:03.000Z
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
17
2021-05-10T06:44:54.000Z
2022-03-07T09:00:43.000Z
src/backbones/VGG.cpp
0x0000dead/LibtorchSegmentation
04332ea83a6ea843bd8a52e3c95deda449457373
[ "MIT" ]
33
2021-05-05T16:12:17.000Z
2022-03-22T07:56:26.000Z
#include "VGG.h" torch::nn::Sequential make_features(std::vector<int> &cfg, bool batch_norm) { torch::nn::Sequential features; int in_channels = 3; for (auto v : cfg) { if (v == -1) { features->push_back(torch::nn::MaxPool2d(maxpool_options(2, 2))); } else { auto conv2d = torch::nn::Conv2d(conv_options(...
31.035714
104
0.653855
0x0000dead
5eeefc8955a126639d411835065af8b4d429f63d
244,816
cc
C++
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
61
2020-03-17T12:30:11.000Z
2022-03-01T18:59:11.000Z
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
12
2020-03-24T15:46:54.000Z
2022-01-08T02:03:31.000Z
source/auto_generated/gpu_perf_api_counter_generator/public_counter_definitions_dx12_gfx8.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
19
2020-03-16T17:32:09.000Z
2022-03-29T23:35:31.000Z
//============================================================================== // Copyright (c) 2010-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief Public Counter Definitions for DX12 GFX8. //============================================================...
51.388749
5,062
0.708009
AdamJMiles
d672c802c84915fc4e0b55e4bc0f6d3631ff8741
43,112
cpp
C++
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/Microsoft/Win32/mscorlib_Microsoft_Win32_RegistryKey.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/Microsoft/Win32/SafeHandles/mscorlib_Microsoft_Win32_SafeHandles_SafeRegistryHandle.h> #include <mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl...
58.024226
332
0.733531
brunolauze
d673d0c37431ecff31e029d1f3ab6af51f5cec84
376
cpp
C++
Leetcode_9.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
Leetcode_9.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
Leetcode_9.cpp
xulu199705/LeetCode
9a654a10117a93f9ad9728d6b86eb3713185545e
[ "MIT" ]
null
null
null
// Palindrome Number #include "leetcode.h" class Solution { public: bool isPalindrome(int x) { string str = std::to_string(x); string str_rev = str; reverse(str_rev.begin(),str_rev.end()); return (str == str_rev ? true : false); } }; static auto speedup = [](){ ios::sync_w...
18.8
47
0.585106
xulu199705