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
cebefcfa86ed528de60b9fc78e36968ef9615386
8,855
cpp
C++
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
tests/is_base_of/overview.cpp
connojd/bsl
9adebf89bf34ac14d92b26007cb19d5508de54ac
[ "MIT" ]
null
null
null
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
53.993902
87
0.74026
connojd
cebf3cf1108f22fd2fd3cb3140f720d05ef77d67
974
hpp
C++
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
2
2020-12-10T20:22:17.000Z
2020-12-10T20:23:35.000Z
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
include/Vnavbar.hpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "UI.hpp" #include "BasicShape.hpp" namespace sfs { class Vnavbar : public UI { public: Vnavbar(Scene &scene, const sf::Vector2f &position = sf::Vector2f(0, 0), const sf::Vector2f &size = sf::Vector2f(30, 100), const sf::Color &color = sf::Color::White) noexcept; Vnavbar(const Vnavbar...
28.647059
73
0.726899
LeandreBl
cebffae855066159637830ad06838055ad8e69cf
621
cpp
C++
cpp/ql/test/library-tests/ptr_to_member/segfault/segfault.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
cpp/ql/test/library-tests/ptr_to_member/segfault/segfault.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
cpp/ql/test/library-tests/ptr_to_member/segfault/segfault.cpp
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
class F { public: }; typedef int (F::* FMethod) (int prefix); typedef int F::* FData; struct piecewise_construct_t { }; struct index { }; class tuple { }; template<unsigned long __i, typename... _Elements> void get(tuple __t); template<class T> struct S { T second; S(piecewise_construct_t, tuple __sec...
14.44186
67
0.616747
vadi2
cec25dfc8d1e980d4b72f5d0dcc40ca37b3b6b65
828
hpp
C++
contrib/backends/nntpchan-daemon/include/nntpchan/staticfile_frontend.hpp
majestrate/nntpchan
f92f68c3cdce4b7ce6d4121ca4356b36ebcd933f
[ "MIT" ]
233
2015-08-06T02:51:52.000Z
2022-02-14T11:29:13.000Z
contrib/backends/nntpchan-daemon/include/nntpchan/staticfile_frontend.hpp
Revivify/nntpchan
0d555bb88a2298dae9aacf11348e34c52befa3d8
[ "MIT" ]
98
2015-09-19T22:29:00.000Z
2021-06-12T09:43:13.000Z
contrib/backends/nntpchan-daemon/include/nntpchan/staticfile_frontend.hpp
Revivify/nntpchan
0d555bb88a2298dae9aacf11348e34c52befa3d8
[ "MIT" ]
49
2015-08-06T02:51:55.000Z
2020-03-11T04:23:56.000Z
#ifndef NNTPCHAN_STATICFILE_FRONTEND_HPP #define NNTPCHAN_STATICFILE_FRONTEND_HPP #include "frontend.hpp" #include "message.hpp" #include "model.hpp" #include "template_engine.hpp" #include <experimental/filesystem> namespace nntpchan { namespace fs = std::experimental::filesystem; class StaticFileFrontend : public ...
23.657143
118
0.786232
majestrate
cec715d578e6c654d9056e2632f77b75d882218c
2,932
cpp
C++
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
quicksort_vs_insertion_sort/main.cpp
saarioka/CPP-snippets
e8f07d76ee0b532f2c90b7360d666342ab7c8291
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <ctime> #include <algorithm> // random_shuffle #include <vector> #include <ctime> #include <stdio.h> #include <chrono> using namespace std; // quicksort template <class T> void quicksort(T &A, int a1, int y1){ if(a1 >= y1) return; int x = A[(a1+y1)/2]; int a = a1-1; int y ...
22.212121
87
0.518076
saarioka
cec809df4d3df0f7b134a7afaf19661f4c6c4dc2
49,510
cpp
C++
filters/Tracker3dFilter/src/Tracker3dFilter.cpp
nzjrs/opencv_old_libdc1394
b4ed48568cd774e8ec47336d59887261eb8d518c
[ "BSD-3-Clause" ]
1
2016-05-09T04:17:32.000Z
2016-05-09T04:17:32.000Z
filters/Tracker3dFilter/src/Tracker3dFilter.cpp
hcl3210/opencv
b34b1c3540716a3dadfd2b9e3bbc4253774c636d
[ "BSD-3-Clause" ]
null
null
null
filters/Tracker3dFilter/src/Tracker3dFilter.cpp
hcl3210/opencv
b34b1c3540716a3dadfd2b9e3bbc4253774c636d
[ "BSD-3-Clause" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
28.130682
130
0.594223
nzjrs
cecbf5d970405fb691fc28bfc30c0d42b0211690
13,051
hpp
C++
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
14
2020-05-17T21:38:03.000Z
2020-11-21T00:16:25.000Z
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
70
2020-04-26T17:08:52.000Z
2020-11-21T17:34:03.000Z
src/centurion/opengl.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019-2022 Albin Johansson * * 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, c...
25.391051
95
0.718489
Creeperface01
cecf0b2d995a1a72bebc16cc927848ca5717c9c4
425
cc
C++
chrome/test/signaling_task.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
chrome/test/signaling_task.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
chrome/test/signaling_task.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2010 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/test/signaling_task.h" #include "base/synchronization/waitable_event.h" SignalingTask::SignalingTask(base::WaitableEvent* event) : ...
25
74
0.743529
meego-tablet-ux
ced507c3169c8c7c063f8361e9746cccd06d3317
2,787
cpp
C++
B2G/gecko/layout/style/nsDOMCSSValueList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/layout/style/nsDOMCSSValueList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/layout/style/nsDOMCSSValueList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* DOM object representing lists of values in DOM computed style */ #include "nsDOMCSSValueList.h" #include "nsCO...
21.944882
87
0.739864
wilebeast
ced54dbb98e55c9638b6f9d0975021dde6d557ae
8,733
hpp
C++
stdio.hpp
recolic/rlib
4c669bb4952bd0512ec542333f7d655b10c3eeeb
[ "MIT" ]
7
2018-12-05T02:08:14.000Z
2020-07-27T03:11:19.000Z
stdio.hpp
recolic/rlib
4c669bb4952bd0512ec542333f7d655b10c3eeeb
[ "MIT" ]
4
2018-07-29T03:43:13.000Z
2020-03-26T08:08:33.000Z
stdio.hpp
recolic/rlib
4c669bb4952bd0512ec542333f7d655b10c3eeeb
[ "MIT" ]
2
2020-03-26T08:04:22.000Z
2021-08-20T03:19:28.000Z
/* * * stdio wrapper for modern c++: python like print/println/printf/printfln * print_iter println_iter * Recolic Keghart <root@recolic.net> * MIT License * */ #ifndef R_STDIO_HPP #define R_STDIO_HPP #include <rlib/require/cxx11> // Use fold expression if cxx17 is available. #inc...
36.3875
166
0.630024
recolic
ced556d24274a10ce37286ca3de032c6b4258690
1,432
cpp
C++
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
src/ParamsLog.cpp
quekyuyang/stitch-cpp
9158d03d4fe2b09d4672b38d0762426178cb646c
[ "MIT" ]
null
null
null
#include <vector> #include <fstream> #include "ParamsLog.hpp" #include <nlohmann/json.hpp> using json = nlohmann::json; void ParamsLogManager::addNodeData(std::vector<Node> &nodes) { for (const auto &node : nodes) { std::string ID_pair(node.getID() + "-" + node.getBestLink().getTargetID()); const cv::Mat...
27.018868
92
0.713687
quekyuyang
ced7b79c6ed690d3423fe8550ea3e244b6efa1de
1,084
cpp
C++
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3261/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int maxn=6e5+10,maxp=3e7; int root[maxn],n,m,xn; struct Trie{ int tot,son[maxp][2],val[maxp]; int modify(int v,int&k,int d){ int t=++tot;...
27.1
82
0.550738
sjj118
cedced8eb090c546fdb13af436625604296d896b
586
cpp
C++
C++/Data_Structures/sorting/bubble_sort.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
1
2021-10-04T14:39:02.000Z
2021-10-04T14:39:02.000Z
C++/Data_Structures/sorting/bubble_sort.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
1
2021-10-06T04:41:55.000Z
2021-10-06T04:41:55.000Z
C++/Data_Structures/sorting/bubble_sort.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
1
2021-10-08T12:31:04.000Z
2021-10-08T12:31:04.000Z
// program to implement bubble sort #include<stdio.h> #define MAX 150 int main() { int arr[MAX]; int temp,i,j,size; printf("Enter size of array : "); scanf("%d",&size); printf("Enter %d elements\n", size); for(i=0; i<size; i++) { scanf("%d", &arr[i]); } for(i=0; i<size-1; i++) { for(j=0;...
14.292683
68
0.511945
IUC4801
cedf1d3f2815230f1c11aa68733ec3f2f0a2643b
2,098
cc
C++
core/network/PiiMimeTypeMap.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
core/network/PiiMimeTypeMap.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
core/network/PiiMimeTypeMap.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
27.605263
84
0.693518
topiolli
cee247b8ed4ea3a5e334a00a920cc167c35f4971
1,626
cpp
C++
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
src/knapsack/dynamic.cpp
ThermalSpan/cpp-knapsack
dcc577a3ef9f9da1f2a85400465f488d91fdd8cf
[ "MIT" ]
null
null
null
// // dynamic.cpp // knapsack // // Created by Russell Wilhelm Bentley on 1/26/16. // Copyright (c) 2015 Russell Wilhelm Bentley. // Distributed under the MIT license // #include <iostream> #include "dynamic.h" using namespace std; void dynamicSolve (ItemVec &vec, int capacity) { int x, y, index, doNotTake, doTa...
26.655738
97
0.50123
ThermalSpan
cee4def62b0375fe1890a48a8be5ce80e75f12e7
2,636
cpp
C++
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
6
2021-11-06T08:42:41.000Z
2022-01-06T11:42:18.000Z
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:09:57.000Z
2022-01-09T18:09:57.000Z
lib/thornhill/src/kernel.cpp
andr3h3nriqu3s11/thornhill
ec31eb06dd914bcb7fd22ff31386b40996656d94
[ "MIT" ]
1
2022-01-09T18:07:42.000Z
2022-01-09T18:07:42.000Z
#include <cstring> #include <thornhill> #include "drivers/hardware/serial.hpp" using namespace std; using namespace Thornhill; namespace Thornhill::Kernel { void printChar(char c) { ThornhillSerial::writeCharacter(c); } void print(const char* message, bool appendNewline) { ThornhillSerial::write(mes...
28.344086
69
0.371017
andr3h3nriqu3s11
ceef16b8847785459e6d10d1411ba662812cfd15
3,488
hpp
C++
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
228
2018-11-23T19:32:42.000Z
2022-03-25T10:30:51.000Z
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
14
2019-03-11T22:44:14.000Z
2022-03-16T14:50:35.000Z
src/assembler/LinearElasticity.hpp
danielepanozzo/polyfem
34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba
[ "MIT" ]
45
2018-12-31T02:04:57.000Z
2022-03-08T02:42:01.000Z
#pragma once #include <polyfem/Common.hpp> #include <polyfem/ElementAssemblyValues.hpp> #include <polyfem/ElementBases.hpp> #include <polyfem/ElasticityUtils.hpp> #include <polyfem/AutodiffTypes.hpp> #include <Eigen/Dense> #include <functional> //local assembler for linear elasticity namespace polyfem { class Lin...
47.780822
281
0.770069
danielepanozzo
cef423c0a06783d80051447743e05e420fb46bb3
863
cpp
C++
leetcode/1094.cpp
pravinsrc/AlgorithmTraining_leetcode
72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb
[ "MIT" ]
null
null
null
leetcode/1094.cpp
pravinsrc/AlgorithmTraining_leetcode
72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb
[ "MIT" ]
null
null
null
leetcode/1094.cpp
pravinsrc/AlgorithmTraining_leetcode
72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb
[ "MIT" ]
null
null
null
#include <algorithm> #include <map> #include <vector> class Solution { public: bool carPooling(std::vector<std::vector<int>>& trips, int capacity) { std::map<int, int> pool_map{}; bool success{true}; for (const auto& trip : trips) { auto start{trip[1]}; auto end{...
21.575
71
0.432213
pravinsrc
cef7d285a9c0e707d21f972b609644e5a3683a3b
66,737
cpp
C++
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
18
2016-05-24T11:46:43.000Z
2020-11-03T17:11:27.000Z
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
13
2017-11-04T17:41:30.000Z
2018-09-05T11:32:22.000Z
test/examples/conc_queue_examples.cpp
giucamp/density
b6a9653b36ec0c37c26f879574295a56e6345a7b
[ "BSL-1.0" ]
1
2018-09-27T21:00:20.000Z
2018-09-27T21:00:20.000Z
// Copyright Giuseppe Campana (giu.campana@gmail.com) 2016-2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "../test_framework/density_test_common.h" // #include "test_framework/pro...
41.272109
125
0.574943
giucamp
300045ee0e2efaeecde3a8fb9d02197701b34471
2,962
cpp
C++
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
leveldb_rest.cpp
nucleati/leveldb_rest
921116a58bfed934d25b06675ed51c98fa3ea903
[ "MIT" ]
null
null
null
#include </Simple-Web-Server/client_http.hpp> #include </Simple-Web-Server/server_http.hpp> #include <future> // Added for the json-example #define BOOST_SPIRIT_THREADSAFE #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include <algorithm> #include <boost/filesystem.hpp> #inclu...
29.62
114
0.664416
nucleati
30066a5ff92dc6432fa71d3d12d9d629e0e896bc
3,912
cpp
C++
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
14
2019-11-15T18:19:35.000Z
2022-02-03T12:09:14.000Z
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
null
null
null
src/cpp/server.cpp
MayaPosch/NymphMQTT
10707ba763606424ab2b81e310cb53a38fa66687
[ "BSD-3-Clause" ]
1
2020-03-20T22:45:14.000Z
2020-03-20T22:45:14.000Z
/* server.cpp - Definition of the NymphMQTT server class. Revision 0. Features: - Provides public API for NymphMQTT server. Notes: - 2021/01/03, Maya Posch */ #include "server.h" #include "dispatcher.h" #include "nymph_logger.h" #include "session.h" #include "server_connections.h" #include <...
25.23871
103
0.712168
MayaPosch
3007f8e7f05243b560d509242b738c2e8b0e31a0
26,219
cpp
C++
private/shell/ext/mydocs/src/idlist.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/mydocs/src/idlist.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/mydocs/src/idlist.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/*---------------------------------------------------------------------------- / Title; / idlist.cpp / / Authors; / Rick Turner (ricktu) / / Notes; /----------------------------------------------------------------------------*/ #include "precomp.hxx" #include "stddef.h" #pragma hdrstop /*-------------...
25.01813
108
0.459438
King0987654
30086c6c23c601d124f5c797085d4214e774e3a8
921
cpp
C++
A_Little_Elephant_and_Rozdil.cpp
ar1936/CPP
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
1
2021-04-20T13:49:56.000Z
2021-04-20T13:49:56.000Z
A_Little_Elephant_and_Rozdil.cpp
ar1936/cpp
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
null
null
null
A_Little_Elephant_and_Rozdil.cpp
ar1936/cpp
4c76c2bf5308d8d3b6e295482e3ce4284fbeaf13
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iomanip> using namespace std; typedef long long ll; typedef double db; #define pb push_back #define ppb pop_back #define mpll map<ll, ll> #define vll vector<ll> #define str string #define si size() #define vs vector<string> #define vc vector<char> #define sll set<ll> #de...
19.595745
59
0.560261
ar1936
3013fb6f6a50bb42007c55c626a89e05e132988d
20,028
cpp
C++
codebase/CVX_DP_ORIGINAL/cvx_clustering.cpp
JimmyLin192/ConvexLatentVariable
d81d2c465796ada22b370e76eaf22065c5823633
[ "BSD-3-Clause" ]
1
2015-03-18T00:44:26.000Z
2015-03-18T00:44:26.000Z
codebase/CVX_DP_ORIGINAL/cvx_clustering.cpp
JimmyLin192/ConvexLatentVariable
d81d2c465796ada22b370e76eaf22065c5823633
[ "BSD-3-Clause" ]
null
null
null
codebase/CVX_DP_ORIGINAL/cvx_clustering.cpp
JimmyLin192/ConvexLatentVariable
d81d2c465796ada22b370e76eaf22065c5823633
[ "BSD-3-Clause" ]
null
null
null
/*############################################################### ## MODULE: cvx_clustering.cpp ## VERSION: 1.0 ## SINCE 2014-06-14 ## AUTHOR: ## Jimmy Lin (xl5224) - JimmyLin@utexas.edu ## DESCRIPTION: ## ################################################################# ## Edited by MacVim ## Class Info auto-...
33.269103
117
0.529159
JimmyLin192
30151745d9266c4dc1312469e78003bc6e110386
1,989
cpp
C++
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
36
2017-01-17T22:58:08.000Z
2021-12-28T00:04:52.000Z
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
3
2017-03-26T20:47:25.000Z
2019-12-12T01:50:02.000Z
libstarlight/source/starlight/ui/Button.cpp
mothie/libstarlight
91bd6892ccc95ccf255cad73ef659b6cf37ab4a9
[ "MIT" ]
9
2017-04-17T19:01:24.000Z
2021-12-01T18:26:01.000Z
#include "Button.h" #include "starlight/_incLib/json.hpp" #include "starlight/InputManager.h" #include "starlight/GFXManager.h" #include "starlight/ThemeManager.h" using starlight::Vector2; using starlight::Color; using starlight::gfx::Font; using starlight::InputManager; using starlight::GFXManager; using starlig...
24.8625
92
0.659628
mothie
30154bff9150b9d07aec2c1723305bce74593c50
157,567
cxx
C++
ds/ds/src/ntdsa/src/samlogon.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/ds/src/ntdsa/src/samlogon.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/ds/src/ntdsa/src/samlogon.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1994 - 1999 // // File: samlogon.c // //-------------------------------------------------------------------------- /*++ Abstract: This file contai...
30.643135
117
0.501368
npocmaka
30188d28702d70d3aaf829bc7ee178ce28093cc4
641
cpp
C++
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
null
null
null
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
1
2020-10-11T18:39:08.000Z
2020-10-11T18:39:17.000Z
03-Making Decisions/Program_4-23.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
2
2020-10-12T20:33:32.000Z
2020-10-12T20:34:00.000Z
// The switch statement in this program tells the user something // he or she already knows: the data just entered! #include <iostream> using namespace std; int main() { char choice; cout << "Enter A, B, or C: "; cin >> choice; switch (choice) { case 'A' : cout << "You entered A.\n";...
22.892857
65
0.517941
ringosimonchen0820
301e8aa973d8eae4d8bbf4b693e39389f51ac7b7
4,695
cpp
C++
training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.cpp
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
// Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. // 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,...
50.483871
200
0.531629
steelONIONknight
302809c717e7dba0037e3b21afb8d20faf67d385
23,420
cpp
C++
dbswznm/WznmAMMachineMakefile.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
dbswznm/WznmAMMachineMakefile.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
dbswznm/WznmAMMachineMakefile.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file WznmAMMachineMakefile.cpp * database access for table TblWznmAMMachineMakefile (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "WznmAMMachineMakefile.h" using namespa...
27.012687
195
0.675491
mpsitech
6f72df799e5a12e1e05ecad1356ee41387923580
1,327
cpp
C++
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
7
2017-05-03T11:47:42.000Z
2021-10-12T02:46:16.000Z
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
3
2021-02-22T19:14:05.000Z
2021-06-14T20:36:47.000Z
src/population/reproducer/PassionateReproducer.cpp
jansvoboda11/gram
62e5b525ea648b4d452cb2153bcca90dfbee9de5
[ "MIT" ]
2
2020-01-29T05:37:00.000Z
2022-01-17T06:03:48.000Z
#include "gram/population/reproducer/PassionateReproducer.h" #include <algorithm> #include <memory> #include "gram/individual/Individual.h" #include "gram/operator/crossover/Crossover.h" #include "gram/operator/mutation/Mutation.h" #include "gram/operator/selector/IndividualSelector.h" #include "gram/population/Indiv...
28.234043
116
0.74529
jansvoboda11
6f807d0caccd5ee9fa9f6be4d17bcabca111da1b
15,170
cpp
C++
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
demos/fractal/fractal_demo.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#include "fractal_demo.hpp" #include <cassert> #include <cmath> #include <future> #include <thread> #include <utility> #include <vector> #include <termox/termox.hpp> #include "float_t.hpp" #include "julia.hpp" #include "mandelbrot.hpp" namespace { using fractal::Float_t; auto constexpr zoom_scale = 0.05; auto co...
34.873563
80
0.572841
a-n-t-h-o-n-y
6f86e37e18f7a6957282ae6811afe60b5ced4665
7,071
cpp
C++
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
billing/src/v20180709/model/PayModeSummaryOverviewItem.cpp
datalliance88/tencentcloud-sdk-cpp
fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
30.089362
157
0.694103
datalliance88
6f890288d684594be9ab41a64e1ea24be9669ee1
1,681
cpp
C++
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
src/SLEngine.Shared/graphics/texture2D.cpp
SergioMasson/SimpleLittleEngine
10a0a43d7f4abae3574e902505b457455f0cb61b
[ "MIT" ]
null
null
null
#include "pch.h" #include "coreGraphics.h" #include <fstream> #include <iterator> #include <vector> #include "texture2D.h" #include "dds.h" using namespace sle; graphics::Texture2D::Texture2D(const wchar_t* filePath) { std::ifstream input(filePath, std::ios::binary); std::vector<char> bytes( (std::istreambuf_ite...
32.326923
106
0.767995
SergioMasson
6f8a93d6c9b07c694e4bbc26d938cf0f89e261af
15,955
cpp
C++
api/c++/persistence/PersistenceService.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
api/c++/persistence/PersistenceService.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
api/c++/persistence/PersistenceService.cpp
AudiovisualMetadataPlatform/mico
7a4faf553859119faf1abfa15d41a7c88835136f
[ "Apache-2.0" ]
null
null
null
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
36.343964
137
0.62482
AudiovisualMetadataPlatform
6f8cd43d044cfbac72e83f9a89554c2eea13fff7
2,409
hpp
C++
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/determinant.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_MATRIX_DETAIL_DETERMINANT_HPP_INCLUDED #define FCPPT_MATH_MATRIX_DETAIL_DETERMI...
13.844828
61
0.576588
pmiddend
6f8d7eae3e515934fa4bd754d6f749babaaa2380
46
hpp
C++
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_log_utility_manipulators.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/log/utility/manipulators.hpp>
23
45
0.804348
miathedev
6f8ecb75e93f4737e55b506c0d42046a0034f092
13,172
cpp
C++
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/typemanager.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
/* Copyright 2009-2021 Nicolas Colombe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
29.077263
460
0.601124
eXl-Nic
6f91fe545d655a91ce5e6bbcaaff9de6252f4ed0
9,157
hpp
C++
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauUtils/include/TUMaths.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
// ReSharper disable CppClangTidyClangDiagnosticSignCompare #pragma once #include "NumTypes.hpp" /** * Equal to pi/180. */ #define RADIANS_TO_DEGREES_CONVERTER_VAL 57.29577951308232087679815481410517 /** * Equal to 180/pi */ #define DEGREES_TO_RADIANS_CONVERTER_VAL 0.0174532925199432957692369076848...
28.262346
101
0.611663
hyfloac
6f934bf0f862e239e196e4ed20105ed5bcadbaf7
4,638
cpp
C++
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
54
2015-02-09T11:46:30.000Z
2021-08-13T14:08:52.000Z
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
null
null
null
paxos++/detail/tcp_connection.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
17
2015-01-13T03:18:49.000Z
2022-03-23T02:20:57.000Z
#include <iostream> #include <functional> #include <assert.h> #include <boost/asio/write.hpp> #include <boost/asio/placeholders.hpp> #include "util/debug.hpp" #include "parser.hpp" #include "command_dispatcher.hpp" #include "tcp_connection.hpp" namespace paxos { namespace detail { tcp_connection:...
24.670213
102
0.55994
armos-db
6f958355910429a3c5ab6590c7d0f0d3ba96cfa4
276
hpp
C++
src/color.hpp
adamhutchings/chirpc
70d190fa79fa9f968b8de14ca41a8f50bae0019b
[ "MIT" ]
1
2021-06-02T13:24:13.000Z
2021-06-02T13:24:13.000Z
src/color.hpp
dekrain/chirpc
93a6230da746d1e6e16230d79b151dee0d3f4a09
[ "MIT" ]
null
null
null
src/color.hpp
dekrain/chirpc
93a6230da746d1e6e16230d79b151dee0d3f4a09
[ "MIT" ]
null
null
null
/* Command-Line coloring, currently works only on linux VT100-based terminals.. This should be overhaul, rn this is very hacky. */ #pragma once #include <iostream> enum class color { red, blue, green, yellow, }; std::string write_color(std::string, color);
16.235294
77
0.692029
adamhutchings
6f9821aac5c9809f3b37c5ad13ae5ed5bacf5b2d
529
cpp
C++
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/product-of-the-last-k-numbers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: ctor: O(1) // add : O(1) // get : O(1) // Space: O(n) class ProductOfNumbers { public: ProductOfNumbers() : accu_(1, 1) { } void add(int num) { if (!num) { accu_ = {1}; return; } accu_.emplace_back(accu_.back() * nu...
17.064516
58
0.42344
jaiskid
6f9c7fe902da0dc2f08f7ff3983c543facfc4bd9
1,482
hpp
C++
lib/include/hwloc/hwloc_memory_info_extractor.hpp
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-05-08T13:55:31.000Z
2020-05-08T13:55:31.000Z
lib/include/hwloc/hwloc_memory_info_extractor.hpp
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
3
2020-01-16T10:30:28.000Z
2020-01-27T11:23:49.000Z
lib/include/hwloc/hwloc_memory_info_extractor.hpp
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-01-16T09:08:14.000Z
2020-01-16T09:08:14.000Z
#ifndef __SYSMAP_HWLOC_MEMORY_INFO_EXTRACTOR_HPP__ #define __SYSMAP_HWLOC_MEMORY_INFO_EXTRACTOR_HPP__ #include "../extractors/memory_info_extractor.hpp" extern "C"{ #include <hwloc.h> } namespace sysmap { namespace hwloc { /** *@class Hwloc_Memory_Info_Extractor */ struct Hwloc_Memory_Info_E...
26.945455
110
0.618758
harryherold
6f9ec2aa436144b454448ab7ed43166d4df05571
2,337
cpp
C++
mptrack/MoveFXSlotDialog.cpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
335
2017-02-25T16:39:27.000Z
2022-03-29T17:45:42.000Z
mptrack/MoveFXSlotDialog.cpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
7
2018-02-05T18:22:38.000Z
2022-02-15T19:35:24.000Z
mptrack/MoveFXSlotDialog.cpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
69
2017-04-10T00:48:09.000Z
2022-03-20T10:24:45.000Z
/* * MoveFXSlotDialog.h * ------------------ * Purpose: Implementationof OpenMPT's move plugin dialog. * Notes : (currently none) * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include "Mptrack.h" #include "MoveFXSlot...
25.681319
169
0.733847
ford442
6f9ffdbb067904197270bf9e6c4198a18f56a85e
493
cpp
C++
debugpoint.cpp
gberthou/PeacefulWorld
50c32b16c550799f3b7ba52b4bf8c1c66dcbdf43
[ "MIT" ]
null
null
null
debugpoint.cpp
gberthou/PeacefulWorld
50c32b16c550799f3b7ba52b4bf8c1c66dcbdf43
[ "MIT" ]
null
null
null
debugpoint.cpp
gberthou/PeacefulWorld
50c32b16c550799f3b7ba52b4bf8c1c66dcbdf43
[ "MIT" ]
null
null
null
#include "debugpoint.h" DebugPoint::DebugPoint(): model(8, 8, {1, 0, 0}) { } void DebugPoint::AddPoint(const SphericCoord &point) { points.push_back(point); } void DebugPoint::Draw(const glutils::ProgramWorld &program) { const float MAP_RADIUS = .5f; const float SCALE = .02f; for(const auto &poi...
19.72
115
0.661258
gberthou
6fa2d4f12b5516aaec0d7d3d08a9842cd5423925
1,309
hpp
C++
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
includes/Transaction.hpp
moguchev/Wallet
ddc38f49b3f563e9a68b784bf315206d21631116
[ "MIT" ]
null
null
null
#ifndef TRANSACTION_HPP #define TRANSACTION_HPP #include <algorithm> #include <fstream> #include <includes/Script.hpp> #include <includes/TxIn.hpp> #include <includes/TxOut.hpp> #include <string> using outputs = std::vector<TxOut>; using inputs = std::vector<TxIn>; class Transaction { public: Transaction() = defa...
18.7
57
0.70741
moguchev
6fa64d0afec87fcb3308d2df19b49776968eaa8c
699
cpp
C++
Task 1/Josephus Problem/Solution.cpp
anjali-coder/Hacktoberfest_2020
05cf51d9b791b89f93158971637ba931a3037dc5
[ "MIT" ]
74
2021-09-22T06:29:40.000Z
2022-01-20T14:46:11.000Z
Task 1/Josephus Problem/Solution.cpp
anjali-coder/Hacktoberfest_2020
05cf51d9b791b89f93158971637ba931a3037dc5
[ "MIT" ]
65
2020-10-02T11:03:42.000Z
2020-11-01T06:00:25.000Z
Task 1/Josephus Problem/Solution.cpp
anjali-coder/Hacktoberfest_2020
05cf51d9b791b89f93158971637ba931a3037dc5
[ "MIT" ]
184
2020-10-02T10:53:53.000Z
2021-08-20T12:27:04.000Z
#include<iostream> using namespace std; int jos(int n,int k) { if(n==1) return 0; else { return (jos(n-1,k)+k)%n; } } int main() { int n,k,choice; cout<<"\n\tEnter the total no of people : "; cin>>n; cout<<"\n\tEnter the k : "; cin>>k; cout<<"The numbering start form whe...
21.181818
67
0.48927
anjali-coder
6fa73f82aaf4c72123eb26e2a0d5365e0d31cd44
1,764
cpp
C++
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer/mixer.editableObject_PolygonDuplicate.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
#include "mixer.sdkImpl.h" #include "mixer.application.h" #include "mixer.viewportCamera.h" #include "mixer.pluginGUIImpl.h" #include "mixer.editableObject.h" #include "containers/mixer.BST.h" #include <set> extern miApplication * g_app; void miEditableObject::PolygonDuplicate() { miArray<miPolygon*> newPolygons; ...
23.52
112
0.681406
3dhater
6fa958e87f8361094f5b5fadb9ad561a6ae1039e
1,954
hpp
C++
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
boiled-plates/bop-utility/Benchmark.hpp
Lokidottir/boiled-plates
2ada3a86f5ea9a12a3244f9f6de54ce8329dbe38
[ "MIT" ]
null
null
null
#ifndef BOP_BENCHMARK_HPP #define BOP_BENCHMARK_HPP #include <chrono> namespace bop { namespace util { #ifndef BOP_UTIL_DEFAULT_TYPES #define BOP_UTIL_DEFAULT_TYPES typedef double prec_type; typedef uint64_t uint_type; #endif template<typename ...params> void...
36.867925
161
0.562948
Lokidottir
6faa0e34657af00fdaf827230b44506650038fa7
1,767
cpp
C++
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/form-largest-integer-with-digits-that-add-up-to-target.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(t) // Space: O(t) class Solution { public: string largestNumber(vector<int>& cost, int target) { vector<int> dp(1); dp[0] = 0; for (int t = 1; t <= target; ++t) { dp.emplace_back(-1); for (int i = 0; i < 9; ++i) { if (t < cost[i] || dp[t -...
27.609375
81
0.370119
Akhil-Kashyap
6fabb7217734c99c79c1b9c076e29efd63650c74
1,865
cpp
C++
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
1
2022-03-16T08:56:31.000Z
2022-03-16T08:56:31.000Z
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
2
2022-03-17T11:27:14.000Z
2022-03-18T07:41:00.000Z
Fudl/easy/solved/Equivalent Resistance, Circuit Building.cpp
AhmedMostafa7474/Codingame-Solutions
da696a095c143c5d216bc06f6689ad1c0e25d0e0
[ "MIT" ]
6
2022-03-13T19:56:11.000Z
2022-03-17T12:08:22.000Z
#include <ctype.h> #include <iomanip> #include <cstdio> #include <ios> #include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> #include <stack> using namespace std; /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. ...
21.193182
59
0.472386
AhmedMostafa7474
6fae2b8cf2e308aa2ec94a8d5b288b79a75abeb0
394
cc
C++
geometry/render/render_engine_vtk_factory.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
geometry/render/render_engine_vtk_factory.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
geometry/render/render_engine_vtk_factory.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/geometry/render/render_engine_vtk_factory.h" #include "drake/geometry/render/render_engine_vtk.h" namespace drake { namespace geometry { namespace render { std::unique_ptr<RenderEngine> MakeRenderEngineVtk( const RenderEngineVtkParams& params) { return std::make_unique<RenderEngineVtk>(params);...
23.176471
60
0.774112
RobotLocomotion
6faef9985d7c2a365462673f37a33686614a73a8
258
cpp
C++
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
classes/RandomUtility.cpp
dstratossong/CC3K
026c2de810a7174a001427e2b9c3499b5ef1444f
[ "Apache-2.0" ]
null
null
null
// // Created by glados on 4/11/15. // #include <stdlib.h> #include <iostream> #include "RandomUtility.h" int RandomUtility::get_random_integer(int range) { return rand() % range; } void RandomUtility::seed() { srand((unsigned int) time(NULL)); }
16.125
50
0.674419
dstratossong
6fb11542c6ea9c59dd65ca5c48c30dee2c65cb43
1,215
cpp
C++
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
KTLT_doan1/file.cpp
ipupro2/KTLTr-Project-1
1ee29823a75b9518d6cc4d0b94edebc2a46ec63c
[ "MIT" ]
null
null
null
#include "file.h" void LoadScore(saveData data[]) { ifstream inNameScore; inNameScore.open("save.sav"); if (!inNameScore) { inNameScore.close(); ofstream outNameScore; outNameScore.open("save.sav"); for (int i = 0; i < 10; i++) outNameScore << "Noname 0" << endl; outNameScore.close(); ...
20.25
58
0.548971
ipupro2
6fb33bf4fabc61bc75f4dd6f0059b84b3f4cc796
4,765
cpp
C++
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
1
2021-08-07T13:02:01.000Z
2021-08-07T13:02:01.000Z
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
src/render/Shader.cpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
#include<render/Shader.hpp> #include<render/ShaderInstanceLoader.hpp> #include<fs/Path.hpp> #include<fs/FileSystem.hpp> #include<sstream> namespace tutorial::graphics { bool Shader::_has_shader_cachae = true; using ShaderCompiler = std::string; struct CompileStrategy { std::string version; std::string shader_...
28.878788
95
0.684995
Yousazoe
6fb57f0384bd58536feaec3aec330c5773f1e535
1,738
cpp
C++
engine/graphics/src/graphics_glfw_wrappers.cpp
hapass/defold
fd3602f27a2596a2ad62bf9a70ae9d7acda24ad8
[ "Apache-2.0" ]
1
2020-05-19T15:47:07.000Z
2020-05-19T15:47:07.000Z
engine/graphics/src/graphics_glfw_wrappers.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
engine/graphics/src/graphics_glfw_wrappers.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
44.564103
129
0.794016
hapass
6fb6238c77ea47bca6d5fc7ddeb3796bf917ba05
62
cpp
C++
source/romocc/core/Object.cpp
SINTEFMedtek/libromocc
65a10849401cec02fc1c9ac8b1bdebbbfc4ff1c0
[ "BSD-2-Clause" ]
2
2019-07-03T10:02:11.000Z
2020-04-20T09:01:42.000Z
source/romocc/core/Object.cpp
SINTEFMedtek/libromocc
65a10849401cec02fc1c9ac8b1bdebbbfc4ff1c0
[ "BSD-2-Clause" ]
4
2019-08-05T07:55:22.000Z
2020-05-11T11:05:59.000Z
source/romocc/core/Object.cpp
SINTEFMedtek/libromocc
65a10849401cec02fc1c9ac8b1bdebbbfc4ff1c0
[ "BSD-2-Clause" ]
1
2020-06-22T09:55:47.000Z
2020-06-22T09:55:47.000Z
// // Created by androst on 02.06.19. // #include "Object.h"
10.333333
34
0.612903
SINTEFMedtek
6fb976ab82764e96e51eca155329457c4d7d3694
2,449
cpp
C++
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
1
2019-11-25T03:11:45.000Z
2019-11-25T03:11:45.000Z
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
null
null
null
src/edit-row/treeview_enable_edit_next_field.cpp
rasmusbonnedal/gtk-snippets
54bd00e295c5701002bd5c9b42383d584120def0
[ "MIT" ]
1
2020-06-19T18:32:04.000Z
2020-06-19T18:32:04.000Z
// // Copyright (C) 2019 Rasmus Bonnedal // #include "treeview_enable_edit_next_field.h" namespace { void setCursorNextFieldHandler(const Glib::ustring& path_string, const Glib::ustring& new_text, Gtk::TreeViewColumn* column, ...
38.265625
119
0.633728
rasmusbonnedal
6fb9b215a5d925f19e9cb756aa2b56168835071b
7,484
cpp
C++
src/main.cpp
FCS-holding/falcon-genome
bbba762ec54139392be843e9edff21766d5d7f5b
[ "Apache-2.0" ]
null
null
null
src/main.cpp
FCS-holding/falcon-genome
bbba762ec54139392be843e9edff21766d5d7f5b
[ "Apache-2.0" ]
null
null
null
src/main.cpp
FCS-holding/falcon-genome
bbba762ec54139392be843e9edff21766d5d7f5b
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <boost/thread/lockable_adapter.hpp> #include <boost/thread/mutex.hpp> #include <iostream> #include <string> #include "fcs-genome/common.h" #include "fcs-genome/config.h" #include "fcs-genome/Executor.h" #define print_cmd_col(str1, str2) std::cout \ << " " << std::left << std::setw(...
30.92562
88
0.62186
FCS-holding
6fc0687c87e7a65c1b5259d6403a31bec8424ca8
2,115
cc
C++
band/control/border.cc
jwowillo/band
d5268232f695459914773d5c189de85a5cdfdfc5
[ "MIT" ]
null
null
null
band/control/border.cc
jwowillo/band
d5268232f695459914773d5c189de85a5cdfdfc5
[ "MIT" ]
null
null
null
band/control/border.cc
jwowillo/band
d5268232f695459914773d5c189de85a5cdfdfc5
[ "MIT" ]
null
null
null
#include "band/control/border.h" #include <cmath> #include "band/control/rectangle.h" namespace band { namespace control { void Border::SetArea(const ::band::Area& area) { area_ = area; } Dimension Border::Thickness() const { return thickness_; } void Border::SetThickness(const Dimension& thickness) { thick...
25.178571
78
0.702128
jwowillo
6fc1200e6c8493970730ac8160e71cfede239788
1,592
cpp
C++
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
sem_2/course_algorithms/contest_5/B.cpp
KingCakeTheFruity/mipt
e32cfe5e53236cdd2933d8b666ca995508300f0f
[ "MIT" ]
null
null
null
/* Пишем Крускалу, делая вид, что что-то может быть приятнее dsu */ #include <cstdio> #include <cstdlib> #include <vector> #include <algorithm> #include <set> using std::vector; using std::reverse; using std::find; using std::set; using std::min; vector<long long> dsu; vector<long long> dsu_size; struct Pair { lon...
15.607843
61
0.568467
KingCakeTheFruity
6fc5a3f2f96a6118da72cb714d115c6548375138
3,929
hpp
C++
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
32
2019-09-19T05:25:07.000Z
2019-12-05T20:28:17.000Z
snmp_fetch/api/types.hpp
higherorderfunctor/snmp-fetch
c95e9f60d38901c500456dc6f07af343b36b4938
[ "CC0-1.0" ]
null
null
null
/** * type.hpp - Common type definitions. */ #ifndef SNMP_FETCH__TYPES_H #define SNMP_FETCH__TYPES_H #include <iostream> #include <boost/format.hpp> extern "C" { #include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h> } #include "utils.hpp" namespace snmp_fetch { // default values #define...
22.58046
94
0.71494
higherorderfunctor
6fc610be415c6d6c19d1b53b773bdf0b10c1ac3c
2,513
cpp
C++
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
1
2018-01-29T02:49:05.000Z
2018-01-29T02:49:05.000Z
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
26
2017-05-08T22:57:14.000Z
2018-05-15T20:55:26.000Z
Test/Math/Test_MathCore.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2018 Andrew Depke */ #include "gtest/gtest.h" #include "../../Red/Math/MathCore.h" using namespace Red; TEST(MathCoreSuite, AbsGeneralInt) { EXPECT_EQ(3, Abs(3)); EXPECT_EQ(3, Abs(-3)); EXPECT_EQ(0, Abs(0)); } TEST(MathCoreSuite, AbsGeneralFloat) { EXPECT_FLOAT_EQ(3.0f, Abs(3.0f)); EXPEC...
23.485981
97
0.68842
XenonicDev
6fc6e4cfb9f36f5eb8fa56104d1872f9014380dd
8,655
cpp
C++
src/server/safs/filtersafs.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/safs/filtersafs.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/safs/filtersafs.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
33.677043
109
0.570422
jvirkki
6fd3d114bf81b64d43165668d4ca94f6e752bce5
539
cpp
C++
Pair_Inheritance/money.cpp
w1ldy0uth/OOP_VSU_labs
21a13abccb6bf267e012c6aeaea3bc2148f1eb41
[ "MIT" ]
1
2021-09-20T20:37:14.000Z
2021-09-20T20:37:14.000Z
Pair_Inheritance/money.cpp
w1ldy0uth/OOP_VSU_labs
21a13abccb6bf267e012c6aeaea3bc2148f1eb41
[ "MIT" ]
null
null
null
Pair_Inheritance/money.cpp
w1ldy0uth/OOP_VSU_labs
21a13abccb6bf267e012c6aeaea3bc2148f1eb41
[ "MIT" ]
null
null
null
#include "money.h" Money Money::operator/(int val) { Money res; int t =a * 100 + b; t /= val; res.a = t / 100; res.b = t%100; return res; } int Money::operator/(const Money& obj) { return (a*100+b)/(obj.a*100+obj.b); } void Money::norm() { if (b >= 100) { a = a + b / 100; ...
14.567568
54
0.445269
w1ldy0uth
6fd4f9df67eaaae02c4bad0b328741e36348eb7c
291
cpp
C++
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
null
null
null
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
8
2018-11-13T14:33:26.000Z
2018-11-23T18:01:38.000Z
src/agent.cpp
kaidokert/MosquitoBorneDisease
b3584f12a9c3be2907360152c04032b213f19cd1
[ "BSD-3-Clause" ]
2
2019-08-05T07:21:28.000Z
2019-08-23T06:24:23.000Z
/* # Sub-module containing agent functions # # This file is part of SMosMod. # Copyright (c) 2017-2018, Imperial College London # For licensing information, see the LICENSE file distributed with the SMosMod # software package. */ #include "agent.hpp" Agent::Agent(double a) : age(a) {}
22.384615
79
0.725086
kaidokert
6fd6ece4a9cbb2847937978c423e9211904afbd8
2,976
hpp
C++
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwgui/inventorywindow.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef MGUI_Inventory_H #define MGUI_Inventory_H #include "../mwrender/characterpreview.hpp" #include "windowpinnablebase.hpp" #include "widgets.hpp" #include "mode.hpp" namespace MWGui { class ItemView; class SortFilterItemModel; class TradeItemModel; class DragAndDrop; class ItemModel; cl...
25.878261
115
0.589718
Bodillium
6fda95da7513c71b2424519b6f8a5a6367b4cef7
3,243
cpp
C++
Acceleration/memcached/hls/sources/hashTable/memRead.cpp
pooyaww/Vivado_HLS_Samples
6dc48bded1fc577c99404fc99c5089ae7279189a
[ "BSD-3-Clause" ]
326
2016-07-06T01:50:43.000Z
2022-03-31T21:50:19.000Z
Acceleration/memcached/hls/sources/hashTable/memRead.cpp
asicguy/HLx_Examples
249406bf7718c33d10a837ddd2ee71a683d481e8
[ "BSD-3-Clause" ]
10
2017-04-05T16:02:19.000Z
2021-06-09T14:26:40.000Z
Acceleration/memcached/hls/sources/hashTable/memRead.cpp
asicguy/HLx_Examples
249406bf7718c33d10a837ddd2ee71a683d481e8
[ "BSD-3-Clause" ]
192
2016-08-31T09:15:18.000Z
2022-03-01T11:28:12.000Z
/************************************************ Copyright (c) 2016, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright noti...
39.54878
208
0.714154
pooyaww
6fdc5403627b016de97575f7b628f60fa2c16412
1,486
cpp
C++
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
13
2021-03-07T01:57:37.000Z
2022-03-08T05:45:06.000Z
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
1
2021-02-13T20:16:06.000Z
2021-03-22T18:42:58.000Z
src/ImageWriter.cpp
iaddis/milkdrop2020
9354242ccf17909be7e9ab2f140d8508030bc3b1
[ "MIT" ]
4
2021-03-27T03:23:31.000Z
2022-01-24T00:38:07.000Z
//#define STB_IMAGE_WRITE_STATIC #define STB_IMAGE_WRITE_IMPLEMENTATION #include "../external/stb/stb_image_write.h" #include "ImageWriter.h" #include <string> #include "path.h" bool ImageWriteToPNG(const std::string &path, const uint32_t *data, int width, int height) { int pitch = width * sizeof(data[0]); /...
24.766667
91
0.662853
iaddis
6fe23e0207021da283b5b2934bcc1f0f5b52de59
988
cpp
C++
src/vnx_keyvalue_server.cpp
madMAx43v3r/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
1
2021-09-11T04:07:29.000Z
2021-09-11T04:07:29.000Z
src/vnx_keyvalue_server.cpp
vashil211/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
1
2021-06-13T16:13:54.000Z
2021-06-13T16:13:54.000Z
src/vnx_keyvalue_server.cpp
madMAx43v3r/vnx-keyvalue
dbb28a2494c12741ba6ce14c579bc5973981d5ac
[ "MIT" ]
2
2021-06-10T18:10:03.000Z
2021-06-12T05:46:00.000Z
/* * vnx_keyvalue_server.cpp * * Created on: Mar 22, 2020 * Author: mad */ #include <vnx/keyvalue/Server.h> #include <vnx/vnx.h> #include <vnx/Terminal.h> #include <vnx/Server.h> int main(int argc, char** argv) { std::map<std::string, std::string> options; options["s"] = "server"; options["server"] = ...
21.478261
116
0.663968
madMAx43v3r
6fe36be835bebb48bbae0b9c8e24bf76d2cdca23
1,177
cpp
C++
9.File Handling/i-Design/2/User.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
26
2021-03-17T03:15:22.000Z
2021-06-09T13:29:41.000Z
9.File Handling/i-Design/2/User.cpp
Servatom/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
6
2021-03-16T19:04:05.000Z
2021-06-03T13:41:04.000Z
9.File Handling/i-Design/2/User.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
42
2021-03-17T03:16:22.000Z
2021-06-14T21:11:20.000Z
#include<iostream> #include<string> #include<stdio.h> #include<fstream> #include<list> #include<iterator> #include<sstream> using namespace std; class User{ private: string name; string username; string password; string contactnumber; public: User(){} User(string ...
24.520833
82
0.540357
Concept-Team
6fe38eaf77b861677540d0680f3905e2307a1ef7
801
cpp
C++
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
null
null
null
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
null
null
null
src/index/ranker/ranker_factory.cpp
saq7/MeTA
0392964c1cdc073ae5123f7d64affdc4105acc4f
[ "MIT" ]
1
2021-09-06T06:08:38.000Z
2021-09-06T06:08:38.000Z
/** * @file ranker_factory.cpp * @author Chase Geigle */ #include "cpptoml.h" #include "index/ranker/all.h" #include "index/ranker/ranker_factory.h" namespace meta { namespace index { template <class Ranker> void ranker_factory::reg() { add(Ranker::id, make_ranker<Ranker>); } ranker_factory::ranker_factory()...
19.536585
65
0.679151
saq7
6fe831bce94053dac21d5d4c5d9aaa44fd35b756
278
cpp
C++
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
1
2021-05-21T02:23:38.000Z
2021-05-21T02:23:38.000Z
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
null
null
null
Programmers/MidWord.cpp
YEAjiJUNG/AlgorithmPractice
720abd9bb3bf1eeadf57402379fdf30921f7c333
[ "Apache-2.0" ]
null
null
null
#include <string> #include <vector> using namespace std; string solution(string s) { string answer = ""; if(s.size() % 2 == 0){ answer += s[s.size()/2 -1]; answer += s[s.size()/2]; } else{ answer = s[s.size()/2]; } return answer; }
16.352941
35
0.507194
YEAjiJUNG
6fec4faf907996fac4d71b4ecf1a61147969ef04
4,863
cpp
C++
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
312
2016-12-26T12:32:03.000Z
2022-03-29T13:37:59.000Z
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
271
2017-01-12T03:59:31.000Z
2022-03-31T02:26:45.000Z
osal/mpp_platform.cpp
Fruit-Pi/mpp
dd7097fbab86eeed807e177620212847a9bc8f70
[ "Apache-2.0" ]
195
2016-12-01T07:22:01.000Z
2022-03-30T23:09:00.000Z
/* * Copyright 2015 Rockchip Electronics Co. LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.788571
84
0.644047
Fruit-Pi
6ff5413513d9f236e76309c83167a7ae1242665a
1,503
hpp
C++
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
HW05/hw05.hpp
MetalheadKen/NTUST-Parallel-Course
4a4e726a5220eaf7403375b61cf6ce8a7cd9cbb9
[ "MIT" ]
null
null
null
#pragma once #include <cstring> #include <cmath> #include "YoUtil.hpp" struct mygpu { YoUtil::GPU *gpu; cl::CommandQueue cmdQueue; cl::Device device; cl::Context context; cl::Program *program; cl::Buffer point_buf; cl::Buffer accum_buf; }; void prepareGPU(mygpu& gpu); vo...
24.241935
141
0.698603
MetalheadKen
b5008194f9a06527ecf6fe1cf98b96de0345d8a6
2,782
cpp
C++
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/jniCalls/gestureClass.cpp
smkang99/openGL
321edc6b473cfdb33ad448fdf83fabb35707858f
[ "Apache-2.0" ]
null
null
null
// // Created by 15102 on 3/9/2020. // #include <jni.h> //#include "modelAssimp.h" #include <myJNIHelper.h> #include <modelAssimp.h> #ifdef __cplusplus extern "C" { #endif extern ModelAssimp *gAssimpObject; JNIEXPORT void JNICALL Java_com_example_hellojni_GestureClass_DoubleTapNative(JNIEnv *env, jobject instance) {...
28.387755
89
0.670022
smkang99
b501c34433a2e60198711749c6b60b82f2520efc
471
cpp
C++
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/besttimetobuyandsellstock.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: /** * @param prices: Given an integer array * @return: Maximum profit */ int maxProfit(vector<int> &prices) { // write your code here int minprice=INT_MAX; int res=0; for(auto price : prices){ minprice=min(minprice,pric...
19.625
44
0.477707
WIZARD-CXY
b504542f8702ec26723a813f4c76c73fa641682d
607
hpp
C++
source/pkgsrc/games/criticalmass/patches/patch-game_ParticleGroupManager.hpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/games/criticalmass/patches/patch-game_ParticleGroupManager.hpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/games/criticalmass/patches/patch-game_ParticleGroupManager.hpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-game_ParticleGroupManager.hpp,v 1.1 2013/06/16 20:40:40 joerg Exp $ --- game/ParticleGroupManager.hpp.orig 2013-06-15 10:08:18.000000000 +0000 +++ game/ParticleGroupManager.hpp @@ -47,7 +47,7 @@ private: ParticleGroupManager &operator=(const ParticleGroupManager&); hash_map< - const ...
43.357143
118
0.736409
Scottx86-64
b504a01594dae37b8379ab8d0546b9ba5b066487
2,858
hh
C++
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
20
2017-05-09T15:37:04.000Z
2021-11-24T10:51:02.000Z
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
2
2017-05-24T08:00:25.000Z
2017-05-24T08:01:01.000Z
src/ggl/MR_ApplyRule.hh
michaelapeterka/GGL
99e585b773ad8f33e39160d2cbd71c00e036fa37
[ "MIT" ]
7
2017-05-29T10:55:18.000Z
2020-12-04T14:24:51.000Z
#ifndef GGL_MR_APPLYRULE_HH_ #define GGL_MR_APPLYRULE_HH_ #include "sgm/Match_Reporter.hh" #include "ggl/Graph_Storage.hh" #include "ggl/Graph.hh" #include "ggl/RuleGraph.hh" #include <climits> namespace ggl { /*! @brief Graph Grammar Rule application for each reported match * * A ...
32.11236
83
0.644507
michaelapeterka
b504dc03621f5bbc2c9585a00ab2448c02992932
37,853
cpp
C++
URL.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
URL.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
URL.cpp
malord/prime
f0e8be99b7dcd482708b9c928322bc07a3128506
[ "MIT" ]
null
null
null
// Copyright 2000-2021 Mark H. P. Lord #include "URL.h" #include "Range.h" #include "StringUtils.h" #include "Templates.h" #include "TextEncoding.h" namespace Prime { inline StringView RebaseStringView(StringView view, const char* oldBase, const char* newBase) { return StringView(view.begin() - oldBase + newBase...
24.280308
216
0.603968
malord
b505660d07d2b5c52b2dc66d597edda14aa7df49
842
cpp
C++
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
1
2021-08-21T03:48:09.000Z
2021-08-21T03:48:09.000Z
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
null
null
null
main.cpp
MCLEANS/STM32F4_FreeRTOS_TEMPLATE
b7ca381938baed6eb3295d7ec3511e15a9c06706
[ "MIT" ]
null
null
null
#include "stm32f4xx.h" #include "clockconfig.h" #include <FreeRTOS.h> #include <task.h> #include <portmacro.h> custom_libraries::clock_config system_clock; extern "C" void led1_task(void* pvParameter){ while(1){ for(volatile int i = 0; i < 2000000; i++){} GPIOD->ODR ^= (1<<12); } } extern "C" void led2_t...
21.05
60
0.665083
MCLEANS
b506c91327b7d0379aeb3de194e5c62f8f232bbf
3,246
cc
C++
mysql-server/unittest/gunit/mysys_my_loadpath-t.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/unittest/gunit/mysys_my_loadpath-t.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/unittest/gunit/mysys_my_loadpath-t.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
39.108434
79
0.735675
silenc3502
b508fbfdd518f36bd26fcf04dcd37df520ef145f
3,829
cpp
C++
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
src/model/io/yuv420rgbbuffer.cpp
fanghaocong/GitlHEVCAnalyzer
1dbf3adca4822b0a55af03c7a7f49c92798c91d6
[ "Apache-2.0" ]
null
null
null
#include "yuv420rgbbuffer.h" #include <QFile> #include <QDebug> extern "C" { #include "libswscale/swscale.h" #include "libavutil/imgutils.h" #include "libavutil/frame.h" } static enum AVPixelFormat bitDepth2PixelFormat( int iBitDepth ) { enum AVPixelFormat pixelFormat; if ( iBitDepth == 8 ) { pixe...
26.776224
135
0.680595
fanghaocong
b515866b31997aa2964694fb5b68f587dddcebd0
1,268
cc
C++
src/profiling/symbolizer/local_symbolizer_unittest.cc
jumeder/perfetto
df3ae5e6f975204d2f35aeed61cbbd0746151d8e
[ "Apache-2.0" ]
null
null
null
src/profiling/symbolizer/local_symbolizer_unittest.cc
jumeder/perfetto
df3ae5e6f975204d2f35aeed61cbbd0746151d8e
[ "Apache-2.0" ]
1
2021-02-23T11:18:01.000Z
2021-02-23T11:18:01.000Z
src/profiling/symbolizer/local_symbolizer_unittest.cc
jumeder/perfetto
df3ae5e6f975204d2f35aeed61cbbd0746151d8e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
29.488372
77
0.73817
jumeder
b517ad009d89ba9a9df95013f0dab81716a2a52f
1,077
cpp
C++
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
8
2019-03-28T04:15:59.000Z
2021-03-23T14:29:43.000Z
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
null
null
null
code/clock_real/mts_clock_real.cpp
mtsquant/MTS
ab7ecab0f88c844289b5c81e5627326fe36e682f
[ "Apache-2.0" ]
5
2019-11-06T12:39:21.000Z
2021-01-28T19:14:14.000Z
/***************************************************************************** * Copyright [2017-2019] [MTSQuant] * * 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/lic...
34.741935
78
0.629526
mtsquant
b518c4c20432ed4d234525178b2092092974d575
2,351
cpp
C++
vegastrike/src/cmd/fg_util.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/fg_util.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/cmd/fg_util.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include "savegame.h" #include "fg_util.h" #include "faction_generic.h" #include <algorithm> namespace fg_util { // void itoa( unsigned int dat, char *output ) { if (dat == 0) { *output++ = '0'; *output = '\0'; } else { char *s = output; while (dat) { *s++ = '0'+d...
21.18018
121
0.56997
Ezeer
b518e4b42c4ca9a8a5577f4ff97282c4bdab6f52
13,542
cpp
C++
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
main.cpp
Joel714/GameProject
417b0f65d2f2c9dde2d2bf68f6ac092501dfcabc
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <cassert> #include <GL/gl.h> #include <GL/glut.h> #ifdef FREEGLUT #include <GL/freeglut_ext.h> #endif #ifndef NDEBUG #define msglError( ) _msglError( stderr, __FILE__, __LINE__ ) #else #define msglError( ) #endif #include <FreeImage.h> #include "keys.h" #include "pla...
28.812766
127
0.603604
Joel714
b519402bd985faa4b8e0961fa74cd224cdcf84ff
555
cpp
C++
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
cpp/evenOddQuery.cpp
Rohit-RA-2020/hackerrank-math
466a9b25311c8ba9d457720d618d8930667e498f
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/even-odd-query #include <iostream> using namespace std; int A[100008], N; int find(int x, int y) { if (A[x] % 2) return 1; if (x == y) return 0; if (A[x + 1] == 0) return 1; return 0; } int main() { int x, y, Q; cin >> N; f...
16.323529
55
0.421622
Rohit-RA-2020
b51c26cf9fa26a79b625b701c31623f4b175f203
16,938
cpp
C++
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-11-18T09:01:49.000Z
2021-09-24T10:31:14.000Z
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
1
2021-11-12T12:19:15.000Z
2021-11-16T12:17:01.000Z
franka_polishing/src/nodes/nflat_surfaces_node.cpp
amaroUC/TOOLING4G
d25d43c0e14798617b7c4be60fd9eed2df25aa17
[ "Apache-2.0" ]
2
2020-07-25T07:38:20.000Z
2021-11-08T15:19:08.000Z
// ============================================================================= // Name : nflat_surfaces_node.cpp // Author : Hélio Ochoa // Description : // ============================================================================= #include <franka_polishing/spacenav.h> #include <visualization_msgs/Mar...
33.146771
141
0.483115
amaroUC
b51c63825b0872889f37f5883f6eeafb83052b81
1,650
cc
C++
ir/value/foreign_fn.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
10
2015-10-28T18:54:41.000Z
2021-12-29T16:48:31.000Z
ir/value/foreign_fn.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
95
2020-02-27T22:34:02.000Z
2022-03-06T19:45:24.000Z
ir/value/foreign_fn.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
2
2019-02-01T23:16:04.000Z
2020-02-27T16:06:02.000Z
#include "ir/value/foreign_fn.h" #include "absl/container/flat_hash_map.h" #include "base/debug.h" #include "base/flyweight_map.h" #include "base/guarded.h" namespace ir { namespace { // Note: We store both the foreign function pointer and it's type. This means // that we could have the same foreign function multip...
26.190476
77
0.664848
perimosocordiae
b52316be55163b26ceef1181b10414f4fa4b8a9f
400
cpp
C++
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 915B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include <algorithm> using namespace std; int main(){ int n, p, l, r; scanf("%d %d %d %d", &n, &p, &l, &r); if(l == 1 && r == n) printf("0\n"); else if(l == 1 && r != n) printf("%d\n", abs(p - r) + 1); else if(r == n && l != 1) printf("%d\n", abs(p - l) + 1); ...
26.666667
65
0.455
Jvillegasd
dde249bfdafe6afef31f10f3bf6464b7719a2bcf
40,247
cpp
C++
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/text/Font.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_IntMap #include <haxe/ds/IntMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_haxe_io...
47.970203
248
0.682014
arturspon
dde40449f8455a3781147ccc19987bfef51bcdaf
73
cpp
C++
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
LearningOpenGL/Source/Core/Material/Material.cpp
zhengweifu/LearningOpenGL
0d73b035ffa11112d62f0af974f4a8622eef6598
[ "MIT" ]
null
null
null
#include "Core/Material/Material.h" LEARN_OPENGL_BEGIN LEARN_OPENGL_END
14.6
35
0.849315
zhengweifu
ddeb3b3e963ca7fc1ade5249914d8461ee1b7e69
5,219
cpp
C++
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
2
2019-05-17T16:16:21.000Z
2019-08-21T20:18:22.000Z
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
1
2018-10-18T22:05:12.000Z
2018-10-18T22:05:12.000Z
hyperUI/source/StandardUI/UIRoundProgressElement.cpp
sadcatsoft/hyperui
f26242a9034ad1e0abf54bd7691fe48809262f5b
[ "MIT" ]
null
null
null
/***************************************************************************** Disclaimer: This software is supplied to you by Sad Cat Software ("Sad Cat") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Sad Cat software constitutes ac...
45.780702
183
0.659513
sadcatsoft
ddebca10b021a7199efef6f9a0c6c75f07d7e582
1,201
hpp
C++
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
25
2020-05-01T01:20:03.000Z
2022-01-19T02:48:12.000Z
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
null
null
null
gui/myscene.hpp
mguludag/QTextRecognizer
29dd7b746be831c01b6260ab20ca926f7ff835ca
[ "MIT" ]
7
2020-07-20T12:02:34.000Z
2022-01-06T03:09:31.000Z
#ifndef MYSCENE_HPP #define MYSCENE_HPP #include <QGraphicsScene> #include <QGraphicsSceneMouseEvent> #include <QMimeData> #include <QObject> #include <QUrl> #include <QWidget> class MyScene : public QGraphicsScene { Q_OBJECT struct Props { QPointF m_pos, m_topleft, m_bottomright; } Props; pu...
21.836364
62
0.68443
mguludag
ddec9c4d0072be8232273bcf815412ca49de9664
1,383
hpp
C++
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
29.425532
77
0.71222
DianaAssistant
ddf16c028182f525afa574368bb95a15376b0483
2,551
cpp
C++
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); vector<string> split(const string &); /* * Complete the 'dynamicArray' function below. * * The function is expected to return an INTEGER_ARRAY. * The function accepts following parameters: * 1. INTEGER n ...
20.909836
82
0.577813
VaibhavDS19
ddf38c23944d3160b61f3fbc21fc437d746fc983
6,836
cpp
C++
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2019-06-25T13:06:14.000Z
2019-06-25T13:06:14.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
128
2018-10-23T12:45:15.000Z
2021-12-28T13:09:39.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2021-01-20T23:17:34.000Z
2021-01-20T23:17:34.000Z
// // _COREREGCLASSINFOWIN_CPP_ // // Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC // All Rights Reserved // contact@tactcomplabs.com // // See LICENSE in the top level directory for licensing details // #include "CoreGenPortal/PortalCore/CoreRegClassInfoWin.h" // Event Table wxBEGIN_EVENT_TABLE(CoreR...
37.355191
101
0.521065
opensocsysarch
ddf4dc2e60f13eb507819fa679390a2faface3ec
809
cpp
C++
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, devgo.club // All rights reserved. #include <stdint.h> #include <stdlib.h> #include <iostream> int32_t get_max(int32_t x = 101, int32_t y = 102, int32_t z = 103); int32_t get_max(int32_t x, int32_t y); int main(int argc, char **argv) { int32_t a = 1; int32_t b = 2; int32_t c = 3; std...
17.212766
78
0.599506
dev-go
ddf6a1deca6d3f253dfa1803ab574c0dcd66aead
660
cpp
C++
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl using LL = long long; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int cas = 1; std::cin >> cas; while (cas--) { LL n; std::cin >> n; if (n & 1) { std::cout << -1 << std:...
20
64
0.480303
GoatGirl98
fb04460a52eaf8025e256f7b7a5bdc70ab6f86ef
7,202
cpp
C++
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_Niagara_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------...
30.260504
125
0.711469
realrespecter