hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ef8c888becd0e0a6ca8f8b9de99a57389fd0b41f
2,121
cpp
C++
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
1
2019-11-19T20:19:18.000Z
2019-11-19T20:19:18.000Z
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
#include <array> #include <fstream> #include <iostream> #include <numeric> #include <string_view> #include <unordered_map> #include <boost/range/irange.hpp> #include <boost/range/istream_range.hpp> enum class Cmd { on, off, toggle }; using uint64 = std::uint64_t; struct Position { uint64 row, col; }; struct EndPo...
21
76
0.634135
Miroslav-Cetojevic
ef8e15eaa0e8267adccdb721ed462f9d1aaacda9
2,069
cpp
C++
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
#include <afxinet.h> #include "lib_http.h" #include "../GenesisLib/file.h" #include <memory> using std::auto_ptr; using std::wstring; void getWebDownloadToFileCurDir( wstring target, wstring to, boost::function<void(int, bool&)> callback) { getWebDownloadToFile(target, getModuleAbsPath() + to, callback); } void g...
19.704762
125
0.666022
genesos
ef8e6be06ae45c92cfcdd49c16833dbfe7413078
3,812
cc
C++
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
#include "image_io_png.h" #include <cstring> #include <vector> #include <png.h> namespace qjulia { void PNGImageReader::ReadImage(const std::string &filename, RGBImage &image) { FILE *fp = fopen(filename.c_str(), "rb"); CHECK(fp); png_byte header[8]; CHECK_EQ(8, fread(header, 1, 8, fp)); CHECK (png_sig...
28.237037
99
0.71852
zhehangd
ef92dc4f05392a981f980e0039803d85ac935153
519
hpp
C++
include/controller/guards/is_swap_items_winning.hpp
modern-cpp-examples/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
166
2016-04-27T19:01:00.000Z
2022-03-27T02:16:55.000Z
include/controller/guards/is_swap_items_winning.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
4
2016-05-19T07:47:38.000Z
2018-03-22T04:33:00.000Z
include/controller/guards/is_swap_items_winning.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
17
2016-05-18T21:17:39.000Z
2022-03-20T22:37:14.000Z
// // Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // 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) // #pragma once #include <cassert> #include "controller/data/selected.hpp" #include "mod...
23.590909
74
0.697495
modern-cpp-examples
ef94f926c766100b8c004d9d63e70ce4289adc37
417
cpp
C++
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
1
2019-08-28T23:15:25.000Z
2019-08-28T23:15:25.000Z
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
class Solution { public: string intToRoman(int num) { string arr[] ={"","I","II","III","IV","V","VI","VII","VIII","IX", "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC", "","C","CC","CCC","CD","D","DC","DCC","DCCC","CM", "","M","MM","MMM"...
37.909091
84
0.407674
windniw
ef96f571444f20231766f10544923f83f839b25d
4,586
cpp
C++
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Athena. All rights reserved. * https://athenaframework.ml * * Licensed under MIT license. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an “AS IS” BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either exp...
30.573333
85
0.551243
athenaforai
ef9741d94d95e954c3f79546db000b312ba003c0
1,047
cpp
C++
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; int points[101], dp[101][101]; int n, brushWidth, moves; int rec(int position, int remainingMoves) { if (position >= n || remainingMoves == 0) { return 0; } if (dp[position][remainingMoves] != -1) return dp[po...
16.359375
77
0.606495
Tahsin716
ef97f81a67b5d6357f333e7a5bd0d70465cae787
1,685
hpp
C++
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
6
2019-04-02T07:47:37.000Z
2021-05-31T08:01:04.000Z
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
null
null
null
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
4
2019-04-15T08:52:17.000Z
2022-03-25T10:29:57.000Z
// // Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com) // // 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) // // Official repository: https://github.com/deepgrace/giant // #include <stack> ...
33.039216
90
0.35727
deepgrace
aab3bdd54d06c97c9e82906418a8305c2d016a62
32,698
cpp
C++
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
#include <dlprim/net.hpp> #include <dlprim/json.hpp> #include <dlprim/shared_resource.hpp> #include <dlprim/ops/initialization.hpp> #include <dlprim/model.hpp> #include <sstream> #include <fstream> #include <set> #include <list> #include <algorithm> #ifndef DISABLE_HDF5 #include "H5Cpp.h" #endif namespace dlprim { ...
37.670507
149
0.504557
philipturner
aab53f4a2b75ce272f45d83272aff6173d134b2c
2,882
cc
C++
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
#include <nan.h> #include "llvm-context.h" #include "di-location.h" #include "di-local-scope.h" NAN_MODULE_INIT(DILocationWrapper::Init) { auto diLocation = Nan::GetFunction(Nan::New(diLocationTemplate())).ToLocalChecked(); Nan::Set(target, Nan::New("DILocation").ToLocalChecked(), diLocation); } llvm::DILocat...
39.479452
111
0.700902
lung21
aab93128100df8f51566e82dc2b73c1839d99f59
2,154
cpp
C++
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
2
2022-03-19T00:54:16.000Z
2022-03-20T01:56:08.000Z
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
null
null
null
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
null
null
null
#include "logger.hpp" Logger *gLogger; void Logger::init() { in_addr hostAddress = {0}; sockaddr serverAddress = {0}; if (this->socket_log_state != SOCKET_LOG_UNINITIALIZED) return; nn::nifm::Initialize(); nn::nifm::SubmitNetworkRequest(); while (nn::nifm::IsNetworkRequestOnHold()) ...
22.4375
141
0.610028
CraftyBoss
aaba0f8d6bae2a8764c1fffcc2e2e22f39b281a8
1,210
cpp
C++
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class Solution { public: vector<int> DIR = {0, 1, 0, -1, 0}; bool valid(int i, int j, int n, int m) { return i >= 0 && i < n && j >= 0 && j < m; } bool search(int i, int j, int k, vector<vector<char>>& board, string& word, vector<vec...
22.830189
77
0.475207
aabhas-sao
aabd8af909dedee58c1be66537e5ad14d011a12f
82,600
cc
C++
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
1
2018-05-25T07:20:17.000Z
2018-05-25T07:20:17.000Z
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
null
null
null
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: modules/perception/proto/perception_obstacle.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "modules/perception/proto/perception_obstacle.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/p...
35.866261
144
0.714104
Kurinkitos
aac3c40b4291ce31a7b535e9d7db75c022a1f246
829
cpp
C++
ekf/src_ta/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
2
2017-12-17T11:07:56.000Z
2021-08-19T09:35:11.000Z
ekf/src_working/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
null
null
null
ekf/src_working/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
1
2021-08-19T07:41:48.000Z
2021-08-19T07:41:48.000Z
#include "pose.h" Eigen::Vector3d R_to_rpy(const Eigen::Matrix3d& R) { Eigen::Vector3d rpy; double r = asin(R(2,1)); double p = atan2(-R(2,0)/cos(r), R(2,2)/cos(r)); double y = atan2(-R(0,1)/cos(r), R(1,1)/cos(r)); rpy(0) = r; rpy(1) = p; rpy(2) = y; return rpy; } Eigen::Matrix3d rpy_to_R(const Eigen...
25.121212
53
0.487334
KerryWu16
aac65162c20d2d4fb1a97975af9831c12d95c34c
1,589
cpp
C++
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; class Solution { private: int n; vector<int> nums; vector<char> ops; vector<int> helper(int l, int r) { vector<int> result; if (l == r) return {nums[l]}; for (int i = l; i < r; ++i) { auto left = helper(l, i...
25.222222
57
0.390183
sky-bro
aac7c0f1c1a7c9f87d611024111af8f0435cca3c
10,534
cc
C++
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
42.995918
95
0.738466
bofeng-song
aacf32b5da67d6dee429224824258952fb498764
1,804
cpp
C++
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_set> using namespace std; struct Node { int data; Node *next; } *head = nullptr, *last = nullptr; int count(Node *node) { int c = 0; while (node) { c++; node = node->next; } return c; } int i...
20.5
74
0.459534
Strider-7
aacfacef14c504311ccd082fe29853eeb1a38e90
7,420
cpp
C++
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
16
2015-09-08T08:49:11.000Z
2019-07-20T14:46:20.000Z
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
1
2019-02-10T08:27:48.000Z
2019-02-10T08:27:48.000Z
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
7
2016-05-26T17:31:46.000Z
2020-11-04T06:39:23.000Z
/* Standard Container Benchmark Version 0.9, May 23, 2003 The primary purpose of this benchmark is to show how different standard containers are in terms of performance. We have observed that programmers often use sets, multisets, deques in the situations where sorted vectors are the optimal solutions. Simi...
28.648649
92
0.671024
nettrino
aad5ff8d0dc2a3c2e59f6f6e05a56534fc156222
739
hpp
C++
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
// Copyright 2021 Mustafa Moiz. #pragma once #include <memory> #include <string> #include "input_handler.hpp" #include "cursor.hpp" #include "output_handler.hpp" #include "serializer.hpp" /** * Text editor that handles the following standard * operations: * - Navigation * - Manipulation * - Display * - Serial...
18.948718
57
0.742896
msmoiz
aad6363410d32aa2cdff10d026b96e71aca82829
4,662
cpp
C++
projects/vkworld/wrappers/VkwMemoryHelper.cpp
Bycob/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
projects/vkworld/wrappers/VkwMemoryHelper.cpp
Bycob/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
1
2020-04-21T12:59:37.000Z
2020-04-23T17:49:03.000Z
projects/vkworld/wrappers/VkwMemoryHelper.cpp
BynaryCobweb/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
#include "VkwMemoryHelper.h" #include "Vulkan.h" namespace world { void VkwMemoryHelper::GPUToImage(IVkwMemoryAccess &memory, Image &img) { GPUToImage(memory, img, img.elemSize()); } void VkwMemoryHelper::GPUToImageu(IVkwMemoryAccess &memory, Image &img) { GPUToImageu(memory, img, img.elemSize()); } // TOD...
30.671053
80
0.634921
Bycob
aadf19904a3a35e3c4c7a6bc1dfd52136e45a8c2
13,715
cpp
C++
singlib/src_lib/net.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
2
2021-08-13T01:00:49.000Z
2021-09-07T17:31:14.000Z
singlib/src_lib/net.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
singlib/src_lib/net.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
#define _WIN32_WINNT 0x600 // vista #include "net.h" #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #endif namespace sing { #ifdef _WIN32 #pragma comment(lib...
23.893728
127
0.594677
mdegirolami
aaf048f73026d9a8bc5146eded48c7239d1dfa83
3,207
cpp
C++
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
#include "caffe/util/random_helper.h" #include <iostream> #include <stdexcept> #include <cstdlib> #include <time.h> #include <math.h> namespace caffe { random_helper::random_init_helper random_helper::m_randInit; #if _HAS_CPP0X std::mt19937_64 random_helper::m_generator; std::uniform_int_distribution<unsigned int>...
31.752475
147
0.692859
MSRCCS
aaf556e844e7b1f62fc8c5079d40bac80bf99997
3,044
cpp
C++
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
#include <userver/http_server.h> #include <shared/default_app.h> #include <couchit/config.h> #include <couchit/couchDB.h> #include <userver/http_client.h> #include <userver/ssl.h> #include "../couchit/src/couchit/changes.h" #include "../userver/static_webserver.h" #include "server.h" #include "walletsvc.h" int main(in...
29.269231
89
0.718134
ondra-novak
aaf65e5d2920665f8dfad5ffa2d9f06bce4ceb9f
4,081
cpp
C++
dynamic programming/boolean_patenthesization_memoization.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
dynamic programming/boolean_patenthesization_memoization.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
dynamic programming/boolean_patenthesization_memoization.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* Given a boolean expression with following symbols. Symbols 'T' ---> true 'F' ---> false And following operators filled between symbols Operators & ---> boolean AND | ---> boolean OR ^ ---> boolean XOR Count the number of ways we can parenthesize the expression so that the value of expre...
21.707447
110
0.493506
kashyap99saksham
aaf7b8d63b31676a282a2f7410deffb2fdb5e6f7
1,096
cpp
C++
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/*Hacker Rank*/ /*Title - Sock Merchant*/ //John works at a clothing store. He has a large pile of socks that he must pair by color for sale. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are. // //For example, there are n = 7 socks with...
32.235294
230
0.629562
Shubhrmcf07
c902e5178700b51e13502179ec3c90727d3221f2
2,215
cpp
C++
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Davide Faconti - 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, copy, modi...
30.342466
161
0.733183
BehaviorTree
c903e520a3785864c52ee95e51d038ba4227aca0
382
cpp
C++
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> main() { float t,v,gas,dis; printf("\nDigite o Tempo da viagem em horas\n"); scanf("%f",&t); printf("\nDigite a Velocidade em Km/h\n"); scanf("%f",&v); dis=t*v; gas=dis/2; printf("\nA distancia percorrida pelo automovel foi: %1.f Km\n",dis); printf("\nFoi consumido %.1f l...
23.875
72
0.65445
ismaellimadb
c91163cc5ff613ab35b1c9002838b13b7ec36ad1
16,452
cpp
C++
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
2
2016-01-16T09:28:40.000Z
2016-04-14T05:21:20.000Z
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
null
null
null
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "WindowData.h" #include "Draw.h" #include "HandMotionLawsCustom.h" #include "Position.h" extern bool zoom; using namespace std; using namespace HandMoves; //------------------------------------------------------------------------------- bool RepeatMove (MyWindowData &wd); bool Make...
37.306122
112
0.47903
favorart
c91b9726d365b44398a1b0be35867be214e2fecc
53
cxx
C++
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
428
2015-01-06T17:01:38.000Z
2022-03-22T12:34:03.000Z
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
175
2015-01-06T17:07:37.000Z
2022-03-07T23:06:02.000Z
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
101
2015-01-25T14:18:42.000Z
2022-02-05T08:56:06.000Z
template <typename T> class A; typedef A<int> start;
13.25
21
0.735849
radoslawcybulski
c91eb8c8702492b102c3978e5331c89fc4ffd623
21,342
cpp
C++
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
571
2015-01-08T16:29:38.000Z
2022-03-16T06:45:42.000Z
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
45
2015-01-15T12:47:28.000Z
2022-03-04T09:22:32.000Z
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
136
2015-01-31T15:24:57.000Z
2022-02-17T19:26:24.000Z
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Image (gli.g-truc.net) /// /// Copyright (c) 2008 - 2013 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation file...
46.598253
203
0.74187
spetz911
c91f6bac4ddac5fccd0f0747a46d7a333465be0d
11,706
cc
C++
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
28.975248
80
0.626089
suzhe
c92049a8a890eb5cfc8904ab24729e5274bf7faf
673
cpp
C++
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <iomanip> using namespace std; class NT { string a, i, l; public: friend ostream &operator<<( ostream &o, const NT &n ); friend istream &operator>>( istream &i, NT &n ); }; ostream &operator<<( ostream &o, const NT &n ) { o << "(" << n.a << ") " << n.i << "-" <...
23.206897
60
0.506686
monicastle
c9231b3faca86f68810e83440b8ee3c9b4b0ff1f
986
cc
C++
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @file complejos.funciones.cc * @author Pablo Urquía Adrián alu0101398327@ull.edu.es * @date 26 de diciembre de 2020 * @brief El programa calcula la suma o resta de numeros c...
29.878788
95
0.747465
ULL-ESIT-IB-2020-2021
c923ed4109d412bf111f807d60eb5d46ed02645c
2,086
cpp
C++
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
null
null
null
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
1
2018-11-13T17:41:46.000Z
2018-11-13T20:54:38.000Z
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
1
2018-11-13T16:43:10.000Z
2018-11-13T16:43:10.000Z
// Copyright Nathaniel Christen 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 "rz-re-node.h" #include "token/rz-re-token.h" #include "rzns.h" USING_RZNS(RECore) voi...
21.070707
80
0.71093
Mosaic-DigammaDB
c925d5664112111d13f69559aafad90b42c5da45
178
cpp
C++
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
// // Created by kdahi on 2020-09-26. // #include "Kranos.h" int main(){ Kranos::Log::Init(); auto app = Kranos::CreateApplication(); app->Run(); delete app; }
13.692308
43
0.578652
KDahir247
c935b56933ae6973b030fa7e611bf911b43362bf
1,156
cpp
C++
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Explanation: The process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, return it. Follow up: Could you do it without any loop/recursion in O(1) runtime? Hide...
19.266667
100
0.563149
kashyap99saksham
c936fe0dd64bf31918c0c92382614e1a40b655c2
1,101
hpp
C++
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Threading.WaitHandle #includ...
34.40625
81
0.700272
v0idp
c9395ba269c386a05d320993fd999853206b271d
7,460
cpp
C++
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
BenceVirtonomy/SPHinXsys
a86beb4f55fbf501677dac70a293025714f7e9e6
[ "Apache-2.0" ]
92
2019-05-29T10:20:47.000Z
2022-03-28T20:51:32.000Z
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
ChiZhangatTUM/SPHinXsys
faa88cab07866f9ba5e370654ab3b515c46c6432
[ "Apache-2.0" ]
47
2019-07-18T09:37:11.000Z
2022-03-30T12:10:53.000Z
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
Xiangyu-Hu/SPHinXsys
faa88cab07866f9ba5e370654ab3b515c46c6432
[ "Apache-2.0" ]
50
2019-05-29T10:20:57.000Z
2022-03-28T03:46:13.000Z
/** * @file muscle_activation.cpp * @brief This is the first example of electro activation of myocardium * @author Chi Zhang and Xiangyu Hu */ #include "sphinxsys.h" /** Name space. */ using namespace SPH; /** Geometry parameters. */ Real PL = 1.0; /**< Length. */ Real PH = 1.0; /**< Thickness for thick plate. ...
31.476793
102
0.732172
BenceVirtonomy
c93af6079e1309e3b8ad50a41e9976cd23f41d2a
3,231
cpp
C++
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
// // Created by peter on 01.05.2020. // #include "VulkanTopLevelAccelerationStructure.h" #include "VulkanCommon.h" #include <DebugUtils/DebugLogger.h> #include <vk_mem_alloc.h> namespace rh::engine { VulkanTopLevelAccelerationStructure::VulkanTopLevelAccelerationStructure( const TLASCreateInfoVulkan &create_in...
36.303371
80
0.715258
petrgeorgievsky
c93fe6acfb887be6ef19e8515de16d04d376e2c9
14,092
cpp
C++
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
1
2015-10-18T16:19:48.000Z
2015-10-18T16:19:48.000Z
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
null
null
null
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
null
null
null
#include <tut.h> #include "../die-json.h" #include <sstream> #include <iostream> #include <vector> #include <memory> namespace { struct Value { die::json::Parser::ObjectName name; die::json::ValueType valueType; die::json::Parser::ValueStr value; bool operator==(Value const & v) const { return name == v.n...
33.002342
133
0.650156
thinlizzy
c945a5d43a215a57d44512dc6586a9dc74236a81
3,115
cpp
C++
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
1
2021-09-29T14:50:17.000Z
2021-09-29T14:50:17.000Z
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
null
null
null
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "Primitive.h" #include "imgui/imgui.h" #include "FbxLoader.h" #include "ModuleCamera3D.h" #include "ModuleRenderer3D.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled) { } Modul...
21.93662
109
0.597111
Denisdrk6
c94d50615309a9c267780d41da3124b59fd2a703
2,443
cpp
C++
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
// Chapter 7 programming challenge 2 test scores #include<iostream> #include<iomanip> using namespace std; // prototype functions void sort(double*, int); double average(double*, int); int main() { // create variables // number of test scores int intTestScores; // pointer to array double *testSc...
22.209091
84
0.635694
Es10liv
c94dcf7aa68ccef0767ae0e7a64e6447efd8ca84
3,394
cpp
C++
bin/libs/systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
9
2019-07-15T10:05:29.000Z
2022-03-14T12:55:19.000Z
bin/libs/systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
2
2019-11-30T23:27:47.000Z
2021-11-02T12:01:05.000Z
systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
tianzhuqiao/bsmedit
3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4
[ "MIT" ]
null
null
null
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2014 by all Contributors. All Rights reserved. The contents of this file are subject to the restrictions and limitations set f...
23.246575
79
0.489393
buaawj
c94fee71ae262ecc5cd5d2c79b3b955f2f5ed8b2
4,328
cpp
C++
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
// smooth_feedback: Control theory on Lie groups // https://github.com/pettni/smooth_feedback // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2021 Petter Nilsson // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and asso...
35.768595
96
0.635628
tgurriet
c95225d585036ca147288de29f0ad287be22dc49
4,463
cc
C++
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
#include "CLI11.hpp" #include "Kokkos_Core.hpp" #include "../shared/constants.hpp" #include "../shared/meta/meta_kokkos.hpp" #include "../shared/io/matrix_write.hpp" #include "../shared/io/matrix_read.hpp" #include "../shared/io/vector_write.hpp" #include "utility" int main(int argc, char *argv[]) { CLI::App app{"E...
29.95302
85
0.578759
Zhang690683220
c954364d0ef7fca47eadeb48c2eef07b91d08b14
2,943
hpp
C++
saga/saga/adaptors/register_workitem.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/saga/adaptors/register_workitem.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/saga/adaptors/register_workitem.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2010 Hartmut Kaiser // // 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 SAGA_ADAPTORS_REGISTER_WORKITEM_HPP #define SAGA_ADAPTORS_REGISTER_WORKITEM_HPP #include <saga/saga/util.hp...
41.450704
81
0.64526
saga-project
c95697aeea57894759a1f00fa1ca956222cb0415
12,238
cpp
C++
src/helpers.cpp
unbornchikken/nodeanything
dd380645fd61c92cf1874cb2c880a4d00430925a
[ "BSD-3-Clause" ]
115
2015-07-28T10:01:29.000Z
2022-03-05T23:02:11.000Z
src/helpers.cpp
unbornchikken/nodeanything
dd380645fd61c92cf1874cb2c880a4d00430925a
[ "BSD-3-Clause" ]
13
2015-08-03T09:01:37.000Z
2021-01-28T02:49:01.000Z
src/helpers.cpp
unbornchikken/nodeanything
dd380645fd61c92cf1874cb2c880a4d00430925a
[ "BSD-3-Clause" ]
12
2015-10-05T00:15:06.000Z
2019-07-23T09:27:12.000Z
/* Copyright (c) 2014-2015, ArrayFire Copyright (c) 2015 Gábor Mező aka unbornchikken (gabor.mezo@outlook.com) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must reta...
29.347722
163
0.592826
unbornchikken
c95774b3dd49362ce5f9283027fc8ecbf94574df
60
hpp
C++
src/boost_mpl_aux__preprocessed_no_ctps_bind_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_no_ctps_bind_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_no_ctps_bind_fwd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp>
30
59
0.816667
miathedev
c95c0fddb5f6dd773b7dac909993d18325ddf3d2
6,684
cpp
C++
tst/OpcUaStackCore/ServiceSet/Cancel_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
tst/OpcUaStackCore/ServiceSet/Cancel_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
tst/OpcUaStackCore/ServiceSet/Cancel_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
#include "unittest.h" #include "boost/asio.hpp" #include "OpcUaStackCore/BuildInTypes/BuildInTypes.h" #include "OpcUaStackCore/BuildInTypes/OpcUaIdentifier.h" #include "OpcUaStackCore/SecureChannel/MessageHeader.h" #include "OpcUaStackCore/SecureChannel/SequenceHeader.h" #include "OpcUaStackCore/ServiceSet/CancelReques...
31.677725
98
0.774686
gianricardo
e920dccfe5066f042bc8f7a60f02b5f3528be619
785
cpp
C++
solved/o-q/pole-position/pole.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/o-q/pole-position/pole.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/o-q/pole-position/pole.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> #include <cstring> #define MAXN 1000 #define Zero(v) memset((v), 0, sizeof(v)) int N; int grid[MAXN]; int main() { while (true) { scanf("%d", &N); if (N == 0) break; Zero(grid); bool valid = true; for (int i = 0; i < N; ++i) { int C, P; ...
16.354167
56
0.35414
abuasifkhan
e9267eeda8e83643522c8d052654483f35dc5939
1,392
hpp
C++
include/MyElf/Sections/SectionHeader.hpp
korreborg/MyElf
f7514cb7ecf923702cc34b344d1a0a51419588ee
[ "MIT" ]
1
2022-03-29T21:10:43.000Z
2022-03-29T21:10:43.000Z
include/MyElf/Sections/SectionHeader.hpp
korreborg/MyElf
f7514cb7ecf923702cc34b344d1a0a51419588ee
[ "MIT" ]
6
2022-03-29T20:21:08.000Z
2022-03-29T20:56:09.000Z
include/MyElf/Sections/SectionHeader.hpp
korreborg/MyElf
f7514cb7ecf923702cc34b344d1a0a51419588ee
[ "MIT" ]
null
null
null
#pragma once #include "../Common.hpp" //special section indexes #define SHN_UNDEF 0x0 #define SHN_LORESERVE 0xFF00 #define SHN_LOPROC 0xFF00 #define SHN_HIPROC 0xFF1F #define SHN_ABS 0xFFF1 #define SHN_COMMON 0xFFF2 #define SHN_HIRESERVE 0xFFFF //Section types #define SHT_NULL 0 #define SHT_PR...
22.095238
57
0.713362
korreborg
e929255ab8732af5534eb27118457cf3a3a44b14
2,969
hpp
C++
higan/processor/r65816/registers.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
3
2016-03-23T01:17:36.000Z
2019-10-25T06:41:09.000Z
higan/processor/r65816/registers.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
higan/processor/r65816/registers.hpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
null
null
null
struct flag_t { bool n{0}; bool v{0}; bool m{0}; bool x{0}; bool d{0}; bool i{0}; bool z{0}; bool c{0}; inline operator unsigned() const { return (n << 7) + (v << 6) + (m << 5) + (x << 4) + (d << 3) + (i << 2) + (z << 1) + (c << 0); } inline auto operator=(uint8 data) -> unsigned { ...
36.654321
85
0.575951
ameer-bauer
e93265f9f07efe2d169dd68bf147138c45361cdb
1,621
cpp
C++
src/account/GetApplicationSubscriptionHistoryResponse.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
5
2019-06-30T06:29:46.000Z
2021-12-17T12:41:23.000Z
src/account/GetApplicationSubscriptionHistoryResponse.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
2
2018-01-09T17:14:45.000Z
2020-03-23T00:16:50.000Z
src/account/GetApplicationSubscriptionHistoryResponse.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
7
2015-09-13T18:40:58.000Z
2020-01-24T10:57:56.000Z
/** * Copyright 2017 Colin Doig. Distributed under the MIT license. */ #include "greentop/account/GetApplicationSubscriptionHistoryResponse.h" namespace greentop { namespace account { GetApplicationSubscriptionHistoryResponse::GetApplicationSubscriptionHistoryResponse() { } GetApplicationSubscriptionHistoryRespo...
31.784314
148
0.750771
Sherlock92
e932a041f73bb9bf4b667c23bde3a38241c66cf2
28,526
cc
C++
test/sema/test_analyzer.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
9
2020-01-25T05:27:46.000Z
2022-01-24T02:40:50.000Z
test/sema/test_analyzer.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
1
2020-06-01T00:06:12.000Z
2020-06-01T00:06:12.000Z
test/sema/test_analyzer.cc
ligangwang/m
8a470441305689f4107c1c8b54276ef8910609c5
[ "MIT" ]
1
2020-05-08T05:19:13.000Z
2020-05-08T05:19:13.000Z
/* * Copyright (C) 2020 Ligang Wang <ligangwangs@gmail.com> * * Unit tests for type inference and semantic analsysis */ #include "codegen/codegen.h" #include "codegen/env.h" #include "parser/m_parser.h" #include "sema/analyzer.h" #include "sema/sema_context.h" #include "tutil.h" #include "gtest/gtest.h" #include <s...
36.154626
87
0.660836
ligangwang
e946a0e063efa142ad15381004e7d41e78a2bee0
1,111
cpp
C++
src/Engine/map/MapAltitude.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
591
2020-03-12T05:10:33.000Z
2022-03-30T13:41:59.000Z
src/Engine/map/MapAltitude.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
4
2020-04-06T01:55:06.000Z
2020-05-02T04:28:04.000Z
src/Engine/map/MapAltitude.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
112
2020-04-05T23:55:36.000Z
2022-03-17T11:58:02.000Z
/* * ====================== MapAltitude.cpp ======================= * -- tpr -- * CREATE -- 2019.03.11 * MODIFY -- * ---------------------------------------------------------- */ #include "pch.h" #include "MapA...
29.236842
79
0.414941
turesnake
e94c305c2b3cd0447ccdfb89a80fa1faf09529a2
10,273
cpp
C++
MandarinInstrInfo.cpp
WheretIB/llvm-mandarin
073fd12ba433e531a05a211439bb23405196811a
[ "MIT" ]
null
null
null
MandarinInstrInfo.cpp
WheretIB/llvm-mandarin
073fd12ba433e531a05a211439bb23405196811a
[ "MIT" ]
null
null
null
MandarinInstrInfo.cpp
WheretIB/llvm-mandarin
073fd12ba433e531a05a211439bb23405196811a
[ "MIT" ]
null
null
null
//===-- MandarinInstrInfo.cpp - Mandarin Instruction Information ----------------===// // // Vyacheslav Egorov // // This file is distributed under the MIT License // //===----------------------------------------------------------------------===// // // This file contains the Mandarin implementation...
32.003115
92
0.632727
WheretIB
e94ec877a7f3cc056a9555adfffecd019977ac2b
1,093
cpp
C++
src/Horn.cpp
mauriciocele/fast-rotor-estimation
1ee3f5a4aaee83f66e8ced209c2891b6e2045856
[ "MIT" ]
2
2020-07-28T15:34:57.000Z
2021-09-24T06:04:03.000Z
src/Horn.cpp
mauriciocele/fast-rotor-estimation
1ee3f5a4aaee83f66e8ced209c2891b6e2045856
[ "MIT" ]
null
null
null
src/Horn.cpp
mauriciocele/fast-rotor-estimation
1ee3f5a4aaee83f66e8ced209c2891b6e2045856
[ "MIT" ]
null
null
null
#include "Horn.h" #include <Eigen/Eigenvalues> using Eigen::Vector3d; using Eigen::Vector4d; using Eigen::Matrix3d; using Eigen::Matrix4d; using Eigen::Quaterniond; using std::vector; Quaterniond Horn(const vector<Vector3d>& P, const vector<Vector3d>& Q, const vector<double>& w) { Matrix3d M; Matrix...
26.02381
96
0.513266
mauriciocele
e952343c13a600e55880909a6c7f042ae515207b
9,426
cc
C++
android_ar/app/src/main/cpp/game_renderer.cc
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
4
2018-07-06T21:03:00.000Z
2022-02-10T10:17:21.000Z
android_ar/app/src/main/cpp/game_renderer.cc
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
null
null
null
android_ar/app/src/main/cpp/game_renderer.cc
oseiskar/3dtris
16f60c10b8496db1a584c0eaf55cc9959bffab3a
[ "Apache-2.0" ]
2
2021-08-04T05:49:30.000Z
2022-02-26T12:19:45.000Z
/* * Copyright 2017 Google Inc. 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 required by applic...
33.190141
108
0.711436
oseiskar
e95f4d29ee1c0054f8a378bc5fab1b1655df7316
1,811
cpp
C++
LeetCode/Problems/Algorithms/#662_MaximumWidthOfBinaryTree_sol2_bfs.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#662_MaximumWidthOfBinaryTree_sol2_bfs.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#662_MaximumWidthOfBinaryTree_sol2_bfs.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : v...
32.339286
94
0.429045
Tudor67
e9604b41c710292d935908af771b4d184a785ff8
11,423
cpp
C++
Source/Model/CSceneAppMediaEngine.cpp
StevoGTA/SceneApp
a24337bb749d13411b5f78460b8a7915024cbeb7
[ "MIT" ]
null
null
null
Source/Model/CSceneAppMediaEngine.cpp
StevoGTA/SceneApp
a24337bb749d13411b5f78460b8a7915024cbeb7
[ "MIT" ]
null
null
null
Source/Model/CSceneAppMediaEngine.cpp
StevoGTA/SceneApp
a24337bb749d13411b5f78460b8a7915024cbeb7
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------------------------------------------------- // CSceneAppMediaEngine.cpp ©2020 Stevo Brock All rights reserved. //---------------------------------------------------------------------------------------------------------------------- #include...
42.151292
120
0.594327
StevoGTA
e964a248419155561dad97b26eed0340ad045b78
134
cpp
C++
persistence/backend.cpp
czpwpq/hotel
2e003b019cf6b21349228740a8dae6c639945510
[ "MIT" ]
7
2017-04-05T20:06:30.000Z
2022-01-01T00:14:42.000Z
persistence/backend.cpp
czpwpq/hotel
2e003b019cf6b21349228740a8dae6c639945510
[ "MIT" ]
1
2017-01-06T13:47:45.000Z
2017-01-06T13:49:47.000Z
persistence/backend.cpp
decden/hotel
1d7d16ad0a97c9a24f8e54b9b180fcd3166d0c89
[ "MIT" ]
4
2017-04-05T20:06:31.000Z
2020-10-29T14:50:12.000Z
#include "persistence/backend.h" namespace persistence { Backend::Backend() {} Backend::~Backend() {} } // namespace persistence
16.75
32
0.701493
czpwpq
e96739bf6e4bc7f698b1de5c069b552058138a1f
309
cpp
C++
SignalTester/playsoundfile/playfile.cpp
GeertRoks/DSP_theory
508e6b52261460c7d06caffa02cab66b38d87e88
[ "MIT" ]
null
null
null
SignalTester/playsoundfile/playfile.cpp
GeertRoks/DSP_theory
508e6b52261460c7d06caffa02cab66b38d87e88
[ "MIT" ]
null
null
null
SignalTester/playsoundfile/playfile.cpp
GeertRoks/DSP_theory
508e6b52261460c7d06caffa02cab66b38d87e88
[ "MIT" ]
null
null
null
#include "playfile.hpp" Playfile::Playfile() { } Playfile::Playfile(std::string file) { } std::vector<double> Playfile::getSamples(const unsigned int num_samples) { std::vector<double> file = {}; for (unsigned int i = 0; i < num_samples; i++) { file.push_back(sample0[i]); } return file; }
17.166667
74
0.653722
GeertRoks
e96cb2a50dc79efaf5825c78e77700732319be4c
2,265
cpp
C++
tests/util/uint_types_test.cpp
patflick/dpt
5b300500c97f41d1d24c4e660af2d4499ad40520
[ "BSD-2-Clause" ]
7
2017-03-23T05:19:53.000Z
2021-02-26T14:25:08.000Z
tests/util/uint_types_test.cpp
patflick/dpt
5b300500c97f41d1d24c4e660af2d4499ad40520
[ "BSD-2-Clause" ]
2
2019-04-04T02:24:06.000Z
2019-04-04T02:57:08.000Z
tests/util/uint_types_test.cpp
patflick/dpt
5b300500c97f41d1d24c4e660af2d4499ad40520
[ "BSD-2-Clause" ]
2
2019-04-03T20:09:47.000Z
2021-10-30T16:06:47.000Z
/******************************************************************************* * tests/util/uint_types_test.cpp * * Part of dpt - Distributed Patricia Trie * * Copyright (C) 2013 Timo Bingmann <tb@panthema.net> * * Copied from: * > tests/common/uint_types_test.cpp * > * > Class representing a 40-bit or 48-...
23.112245
80
0.535541
patflick
e971b1083ac5316aa29749b05674ff5cf40ad582
1,880
cpp
C++
code/5/5_pre2_4_bombard.cpp
kdh9949/snups-scpc2020
7a3266ea6ba618e5ae066f156f404689d5e270b6
[ "MIT" ]
6
2020-07-14T01:46:39.000Z
2021-06-15T06:08:28.000Z
code/5/5_pre2_4_bombard.cpp
kdh9949/snups-scpc2020
7a3266ea6ba618e5ae066f156f404689d5e270b6
[ "MIT" ]
null
null
null
code/5/5_pre2_4_bombard.cpp
kdh9949/snups-scpc2020
7a3266ea6ba618e5ae066f156f404689d5e270b6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; using pil = pair<int, ll>; using pli = pair<ll, int>; using pll = pair<ll, ll>; using vint = vector<int>; using vll = vector<ll>; using vld = vector<ld>; using vpii = vector<pii>; using vpil = vecto...
22.650602
69
0.435106
kdh9949
e97b04f1c26a1cac1113ce8c27355b665709f46c
1,034
cpp
C++
Plugins/SkillEditor2D/Source/SkillEditor2D/Private/Editor/Preview/SkillEditorPreviewClient.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-12-18T13:50:51.000Z
2021-12-18T13:50:51.000Z
Plugins/SkillEditor2D/Source/SkillEditor2D/Private/Editor/Preview/SkillEditorPreviewClient.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
1
2021-11-30T08:09:46.000Z
2021-11-30T08:09:46.000Z
Plugins/SkillEditor2D/Source/SkillEditor2D/Private/Editor/Preview/SkillEditorPreviewClient.cpp
UnderGround-orchestra-band/SuperRogue
65a520ac6ccf859c5994e429ffe915e9ff6f1028
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SkillEditorPreviewClient.h" void SkillEditorPreviewClient::Draw(FViewport* InViewport, FCanvas* Canvas) { FEditorViewportClient::Draw(InViewport, Canvas); } void SkillEditorPreviewClient::Tick(float DeltaSeconds) { FEditorV...
25.85
109
0.727273
UnderGround-orchestra-band
e97e242c15b3b9cc5ec0a0027dd2eca45893abb7
17,718
cpp
C++
Overdrive/render/shaderprogram.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
41
2015-02-21T08:54:00.000Z
2021-05-11T16:01:29.000Z
Overdrive/render/shaderprogram.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
1
2018-05-14T10:02:09.000Z
2018-05-14T10:02:09.000Z
Overdrive/render/shaderprogram.cpp
png85/Overdrive
e763827546354c7c75395ab1a82949a685ecb880
[ "MIT" ]
10
2015-10-07T05:44:08.000Z
2020-12-01T09:00:01.000Z
#include "stdafx.h" #include "shaderprogram.h" #include "shaderAttribute.h" #include "shaderUniform.h" #include "../core/logger.h" #include <fstream> namespace overdrive { namespace render { namespace { int getShaderIndex(eShaderType type) { switch (type) { case eShaderType::VERTEX: return 0;...
26.968037
103
0.642454
png85
e980b12a489a4e89883a9d7920f0541f45d6ff5d
870
cpp
C++
src/breadboard/node_signature.cpp
Coolgamer0403/breadboard
45537cea0d6cdee70ed91d86cc6114465c351325
[ "Apache-2.0" ]
138
2015-11-19T05:00:41.000Z
2021-12-13T14:26:34.000Z
src/breadboard/node_signature.cpp
Coolgamer0403/breadboard
45537cea0d6cdee70ed91d86cc6114465c351325
[ "Apache-2.0" ]
3
2015-11-20T01:25:44.000Z
2019-09-21T11:45:12.000Z
src/breadboard/node_signature.cpp
Coolgamer0403/breadboard
45537cea0d6cdee70ed91d86cc6114465c351325
[ "Apache-2.0" ]
27
2015-11-28T02:47:02.000Z
2021-10-15T11:17:20.000Z
// Copyright 2015 Google Inc. 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 required by applicable...
33.461538
75
0.752874
Coolgamer0403
e98355928269503f85125b2b2affb2ef3c9bbbcf
2,137
cc
C++
tests/catch/unit/device/hipDeviceGetLimit.cc
neon60/HIP
586165ebc281eb9461898a5b2abbc74595f5d97d
[ "MIT" ]
null
null
null
tests/catch/unit/device/hipDeviceGetLimit.cc
neon60/HIP
586165ebc281eb9461898a5b2abbc74595f5d97d
[ "MIT" ]
null
null
null
tests/catch/unit/device/hipDeviceGetLimit.cc
neon60/HIP
586165ebc281eb9461898a5b2abbc74595f5d97d
[ "MIT" ]
null
null
null
/* Copyright (c) 2021-Present Advanced Micro Devices, Inc. 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, ...
41.096154
86
0.759008
neon60
e984dc80cc35a62fdb73bb71feeca42ebae1a025
15,164
cpp
C++
Blizzlike/ArcEmu/C++/WorldPvPScripts/ZoneHellfirePeninsula.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/ArcEmu/C++/WorldPvPScripts/ZoneHellfirePeninsula.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/ArcEmu/C++/WorldPvPScripts/ZoneHellfirePeninsula.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/** * Summit MMORPG Server Software * Copyright (c) 2008 Summit Server Team * See COPYING for license details. */ #include "StdAfx.h" // Some customizable defines. // Maybe move these to config? #define BANNER_RANGE 900 #define UPDATE_PERIOD 5000 #define CAPTURE_RATE 20 // Towers enum Towers { TOWER_STADIUM...
30.027723
174
0.672975
499453466
e985dab5ed0bb48e420189b274a354d982507df7
3,477
hpp
C++
src/entry_node.hpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
234
2020-04-24T22:09:49.000Z
2022-03-30T10:40:04.000Z
src/entry_node.hpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
199
2020-04-29T08:43:21.000Z
2022-03-29T09:05:52.000Z
src/entry_node.hpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
80
2020-04-29T14:54:41.000Z
2022-03-30T14:50:29.000Z
//***************************************************************************** // Copyright 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
38.208791
252
0.724475
BrightTux
e985df3717495afbf993ed59fe2ec49ffdcd2273
1,542
cpp
C++
test/gcc/harden.cpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
1
2018-09-27T05:08:35.000Z
2018-09-27T05:08:35.000Z
test/gcc/harden.cpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
null
null
null
test/gcc/harden.cpp
triton/cc-wrapper
4be147e091897efc080691567034127dfafd75b9
[ "Apache-2.0" ]
3
2017-12-24T22:07:05.000Z
2020-11-26T01:20:16.000Z
#include <catch2/catch.hpp> #include <gcc/harden.hpp> namespace cc_wrapper { namespace gcc { namespace harden { TEST_CASE("Enabled flags", "[isValidFlag]") { Env env; env.position_independent = true; env.optimize = true; CHECK(isValidFlag("-Wl,-rpath", env)); CHECK(isValidFlag("-c", env)); CHECK(isValid...
27.535714
46
0.64786
triton
e986e6e516b91e5a862174b3c1cfefcddd86ebfd
625
cpp
C++
ims/src/v2/model/BatchAddOrDeleteTagsResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ims/src/v2/model/BatchAddOrDeleteTagsResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ims/src/v2/model/BatchAddOrDeleteTagsResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ims/v2/model/BatchAddOrDeleteTagsResponse.h" namespace HuaweiCloud { namespace Sdk { namespace Ims { namespace V2 { namespace Model { BatchAddOrDeleteTagsResponse::BatchAddOrDeleteTagsResponse() { } BatchAddOrDeleteTagsResponse::~BatchAddOrDeleteTagsResponse() = default; void BatchAddOrDe...
13.297872
72
0.7296
yangzhaofeng
e99118ff9f0ba42e66e1309f734c6140d8c1e89c
481
hpp
C++
Engine/src/Engpch.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
Engine/src/Engpch.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
Engine/src/Engpch.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
#pragma once #include <iostream> #include <utility> #include <functional> #include <memory> #include <algorithm> #include <string> #include <vector> #include <map> #include <unordered_map> #include <unordered_set> #include <sstream> #include <fstream> #include <charconv> #include <stdarg.h> #include "Engine/Log.hpp" ...
18.5
39
0.752599
Niels04
e9911a14829fb3f0971ba2f42b74ada70355319b
542
cpp
C++
dmoj/ecoo/13r1p1-take-a-number.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/ecoo/13r1p1-take-a-number.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/ecoo/13r1p1-take-a-number.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int N; cin >> N; string a; cin >> a; int late = 0, served = 0, nextN = N; while(a != "EOF") { if(a == "TAKE") { nextN = nextN == 999? 1 : nextN+1; late++; } else if(a == "SERVE") ...
17.483871
59
0.369004
ruar18
e994016064ae4dbd0beb089a5c48321369715214
5,975
cpp
C++
src/chapter_12_networking_and_services/imap_connection.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_12_networking_and_services/imap_connection.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_12_networking_and_services/imap_connection.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "Chapter12_NetworkingAndServices/ImapConnection.h" #include "curlcpp/master/include/curl_easy.h" #include <algorithm> // transform #include <boost/algorithm/string.hpp> #include <iostream> // cout #include <iterator> // back_inserter #include <optional> #include <regex> // regex_match, smatch, sregex_ite...
34.142857
137
0.567029
rturrado
e994fce4832b5e16f91fafc14f68612e7a2e253d
1,500
cpp
C++
GameModel.cpp
zubrim/monty_hall_problem
6e6dbdf4cddad4c84b81bd250fcfccc5d44bf35c
[ "MIT" ]
null
null
null
GameModel.cpp
zubrim/monty_hall_problem
6e6dbdf4cddad4c84b81bd250fcfccc5d44bf35c
[ "MIT" ]
null
null
null
GameModel.cpp
zubrim/monty_hall_problem
6e6dbdf4cddad4c84b81bd250fcfccc5d44bf35c
[ "MIT" ]
null
null
null
#include "GameModel.h" GameModel::GameModel() : gameEngine_(GameEngine()){ } GameModel::~GameModel(){} void GameModel::changeStateTo(GameEngineState state) { switch (state) { case GameEngineState::READY: gameEngine_.reset(); break; case GameEngineState::DOOR_ELIMINATED: gameEngine_.eliminateDoor(); break; cas...
25.423729
96
0.752
zubrim
e99992d4399dec01b531f4f57c1d46846f3305a6
401
hpp
C++
src/supermarx/data/karluser.hpp
Supermarx/common
bb1aaaef4486d6c1089193824fde4533de150b4d
[ "MIT" ]
null
null
null
src/supermarx/data/karluser.hpp
Supermarx/common
bb1aaaef4486d6c1089193824fde4533de150b4d
[ "MIT" ]
null
null
null
src/supermarx/data/karluser.hpp
Supermarx/common
bb1aaaef4486d6c1089193824fde4533de150b4d
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <supermarx/token.hpp> #include <boost/fusion/include/adapt_struct.hpp> namespace supermarx { namespace data { struct karluser { std::string name; token password_salt; token password_hashed; }; } } BOOST_FUSION_ADAPT_STRUCT( supermarx::data::karluser, (std::string, n...
13.366667
48
0.743142
Supermarx
e999dfe4c99873548ae45fe6a597d0375102cb71
252
cpp
C++
Maths/7_lcm.cpp
Simran2000-jpg/CPP-Programming
cad4f362252f8bde4afadf455ddd67a85aa70dba
[ "MIT" ]
30
2020-09-30T19:16:04.000Z
2022-02-20T14:28:13.000Z
Maths/7_lcm.cpp
Simran2000-jpg/CPP-Programming
cad4f362252f8bde4afadf455ddd67a85aa70dba
[ "MIT" ]
168
2020-09-30T19:52:42.000Z
2021-10-22T03:55:57.000Z
Maths/7_lcm.cpp
Simran2000-jpg/CPP-Programming
cad4f362252f8bde4afadf455ddd67a85aa70dba
[ "MIT" ]
123
2020-09-30T19:16:12.000Z
2021-11-12T18:49:18.000Z
// LCM of two numbers a and b is equal to (a*b)/gcd(a,b); #include <iostream> #include <algorithm> using namespace std; int lcm(int a, int b){ return a * b/(__gcd(a,b)); } int main(){ int a,b; cin>>a>>b; cout<<lcm(a,b)<<endl; }
14.823529
57
0.56746
Simran2000-jpg
e99fdfc22ec9dff53c79b8ec87e1d3dd07c00867
2,799
cxx
C++
source/code/core/tasks/private/task_thread_pool_win32.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
39
2019-08-17T09:08:51.000Z
2022-02-13T10:14:19.000Z
source/code/core/tasks/private/task_thread_pool_win32.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
63
2020-05-22T16:09:30.000Z
2022-01-21T14:24:05.000Z
source/code/core/tasks/private/task_thread_pool_win32.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <ice/task_thread_pool.hxx> #include <ice/os/windows.hxx> #if ISP_WINDOWS namespace ice { namespace detail { void threadpool_coroutine_work_callback( PTP_CALLBACK_INSTANCE instance, PVOID context, PTP_WORK work ) noexcept { ice:...
31.806818
134
0.642372
iceshard-engine
e9a0d3bba2720cb3bc93ac1ad81121afb5dc90bd
1,518
cpp
C++
Algorithm/Problem48/main.cpp
et16kr/ModernCppChallengeStudy
089cbfa2ef43f81001c986b569c4122793fcd268
[ "MIT" ]
null
null
null
Algorithm/Problem48/main.cpp
et16kr/ModernCppChallengeStudy
089cbfa2ef43f81001c986b569c4122793fcd268
[ "MIT" ]
null
null
null
Algorithm/Problem48/main.cpp
et16kr/ModernCppChallengeStudy
089cbfa2ef43f81001c986b569c4122793fcd268
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; void quickSort( int arr[], int left, int right ) { int i = left, j = right; int pivot = arr[(left + right) / 2]; int temp; do { while (arr[i] < pivot) i++; while (arr[j] > pivot) j--; ...
18.071429
77
0.387352
et16kr
e9a4cb96c8f548432507409740524c201692143a
3,144
hpp
C++
src/pca9685/pca9685.hpp
daniel-blake/piio-server
fc0d9306343518c865c9bd1fb96fd70b693aaab1
[ "MIT" ]
null
null
null
src/pca9685/pca9685.hpp
daniel-blake/piio-server
fc0d9306343518c865c9bd1fb96fd70b693aaab1
[ "MIT" ]
null
null
null
src/pca9685/pca9685.hpp
daniel-blake/piio-server
fc0d9306343518c865c9bd1fb96fd70b693aaab1
[ "MIT" ]
null
null
null
#ifndef __PCA9685_H_ #define __PCA9685_H_ #include "../exception/baseexceptions.hpp" #include "../thread/thread.hpp" #include <stdint.h> /*! \file MCP23017 interface functions. Header file. */ /************************************ * * * MAIN CLASS * * ...
28.071429
95
0.619275
daniel-blake
e9a7d2df484de4d8079fc656362f8832b5e21645
5,432
cpp
C++
SDK/ARKSurvivalEvolved_ProjSpaceDolphinChargedLaser0_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjSpaceDolphinChargedLaser0_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjSpaceDolphinChargedLaser0_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjSpaceDolphinChargedLaser0_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------...
30.516854
170
0.761782
2bite
e9be7fc767e8537d66c0aa0b4fc2a22efeb9ad38
2,911
hpp
C++
src/cpu/cpu.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
src/cpu/cpu.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
src/cpu/cpu.hpp
Tunacan427/FishOS
86a173e8c423e96e70dfc624b5738e1313b0b130
[ "MIT" ]
null
null
null
#pragma once #include <kstd/types.hpp> #include <panic.hpp> namespace cpu { static inline void cli() { asm volatile("cli"); } static inline void sti() { asm volatile("sti"); } static inline void cpuid(u32 leaf, u32 subleaf, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) { asm vo...
26.463636
111
0.512195
Tunacan427
e9c44d780609a6b5ea7a921e72bf1d3dab9d2620
5,333
cc
C++
src/AMOS/msgtest.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/AMOS/msgtest.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/AMOS/msgtest.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include "foundation_AMOS.hh" #include <fstream> #include <ctime> using namespace std; using namespace AMOS; #define ITERS 500000 int main (int argc, char ** argv) { Message_t msg; Read_t red; Contig_t ctg; double loopa = 0; double loopb = 0; clock_t clocka, clockb; vector<Tile_t> tlevec; Tile_t tle...
59.921348
845
0.824864
sagrudd
8397256bd2d0a925f0e6c1a29152e1582cd95868
761
cpp
C++
stacks/Recursion/Factorial1.cpp
InamulRehman/DataStructures_and_Algorithms_Cplusplus
7fb5ca3e9313ef302c7ce9bac3bb9ec9016ab906
[ "MIT" ]
null
null
null
stacks/Recursion/Factorial1.cpp
InamulRehman/DataStructures_and_Algorithms_Cplusplus
7fb5ca3e9313ef302c7ce9bac3bb9ec9016ab906
[ "MIT" ]
null
null
null
stacks/Recursion/Factorial1.cpp
InamulRehman/DataStructures_and_Algorithms_Cplusplus
7fb5ca3e9313ef302c7ce9bac3bb9ec9016ab906
[ "MIT" ]
null
null
null
// calculating factorial using loop #include <iostream> using namespace std; class factorial { private: int fac; public: // function to calculate factorial int fact (int val) { fac = 1; if (val == 0) { return fac; } ...
15.530612
59
0.412615
InamulRehman
8398274554f23e9cb7aa54ac70e963a4059f5510
1,620
cpp
C++
src/ThreadPool.cpp
CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan
08803777a20a010015958af8bd841147fc6b7fd6
[ "MIT" ]
3
2020-06-24T07:13:59.000Z
2020-10-22T03:49:15.000Z
src/ThreadPool.cpp
CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan
08803777a20a010015958af8bd841147fc6b7fd6
[ "MIT" ]
null
null
null
src/ThreadPool.cpp
CaptainUnitaco/Clustered-Deferred-shading-in-Vulkan
08803777a20a010015958af8bd841147fc6b7fd6
[ "MIT" ]
null
null
null
/** * @file 'ThreadPool.cpp' * @brief Implementation of thread pool design pattern * @copyright The MIT license * @author Matej Karas */ #include "ThreadPool.h" Thread::Thread(size_t id) : mID(id) { mThread = std::thread(&Thread::run, this); } Thread::~Thread() { mDestroy = true; if (mThread.joinable()) {...
17.802198
80
0.656173
CaptainUnitaco
839c75e18a6aeab381fee29142df80c268967d3b
4,977
cpp
C++
ID3v2/source/ID3v2-Version.cpp
macmade/ID3v2
be8022a5ee94197a58710a55931aea7d89ae3f71
[ "MIT" ]
2
2018-12-15T22:30:58.000Z
2019-11-24T21:25:02.000Z
ID3v2/source/ID3v2-Version.cpp
macmade/ID3v2
be8022a5ee94197a58710a55931aea7d89ae3f71
[ "MIT" ]
null
null
null
ID3v2/source/ID3v2-Version.cpp
macmade/ID3v2
be8022a5ee94197a58710a55931aea7d89ae3f71
[ "MIT" ]
1
2018-01-22T13:09:06.000Z
2018-01-22T13:09:06.000Z
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2014 Jean-David Gadina - www.xs-labs.com / www.digidna.net * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation f...
27.65
144
0.53486
macmade
83a08cbb6a38c6b2cfbb6753f79b8600bc12c77e
1,737
cpp
C++
src/Receiver.cpp
NassimEzz/Projet_2A_SeriousGameAlgorithme
588eda6049d732f5908e2c0876b7363c9ff1fee3
[ "Unlicense", "MIT" ]
null
null
null
src/Receiver.cpp
NassimEzz/Projet_2A_SeriousGameAlgorithme
588eda6049d732f5908e2c0876b7363c9ff1fee3
[ "Unlicense", "MIT" ]
null
null
null
src/Receiver.cpp
NassimEzz/Projet_2A_SeriousGameAlgorithme
588eda6049d732f5908e2c0876b7363c9ff1fee3
[ "Unlicense", "MIT" ]
null
null
null
#include "Receiver.h" #include "Utils.h" Receiver::Receiver(const Point &position, const PictureInformer &emptyReceiverInformer, const std::string &wrongAnswerPicture, const std::string &lockedReceiverPicture) { _emptyReceiverPicture = emptyReceiverInformer.picturePath; _wrongAnswerPicture =...
33.403846
120
0.699482
NassimEzz
83b2054ffda44c4fe78d01b862a24bde1ec71f02
3,821
cpp
C++
source/ContratException.cpp
fantome3/test1
6b28cbbe87110baa68ef22ed7aeba13f538fcaef
[ "MIT" ]
null
null
null
source/ContratException.cpp
fantome3/test1
6b28cbbe87110baa68ef22ed7aeba13f538fcaef
[ "MIT" ]
null
null
null
source/ContratException.cpp
fantome3/test1
6b28cbbe87110baa68ef22ed7aeba13f538fcaef
[ "MIT" ]
null
null
null
/** * \file ContratException.cpp * \brief Implantation de la classe ContratException et de ses héritiers * \author administrateur * \date 16 janvier 2014 * \version révisée balises Doxygen C++ normes H2014 */ #include "ContratException.h" #include <sstream> using namespace std; /** * \brief Constructeur de la c...
41.086022
110
0.751636
fantome3
83b2ab4de7b7d92fb74840afe2843d4df7585395
290
cpp
C++
2000/60/2066.cpp
actium/timus
6231d9e7fd325cae36daf5ee2ec7e61381f04003
[ "Unlicense" ]
null
null
null
2000/60/2066.cpp
actium/timus
6231d9e7fd325cae36daf5ee2ec7e61381f04003
[ "Unlicense" ]
null
null
null
2000/60/2066.cpp
actium/timus
6231d9e7fd325cae36daf5ee2ec7e61381f04003
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; if (a > b) std::swap(a, b); if (b > c) std::swap(b, c); if (a > b) std::swap(a, b); std::cout << std::min({ a*b*c, a+b*c, a-b*c, a+b+c, a-b-c }) << '\n'; return 0; }
17.058824
73
0.441379
actium
83b8f3a485f00073195f9764c1e4982926097be8
2,992
hpp
C++
rap_kvv.hpp
linkdata/crap
1062cc4b42ae2a3dc4e7d61c19f2102f1557e180
[ "MIT" ]
null
null
null
rap_kvv.hpp
linkdata/crap
1062cc4b42ae2a3dc4e7d61c19f2102f1557e180
[ "MIT" ]
null
null
null
rap_kvv.hpp
linkdata/crap
1062cc4b42ae2a3dc4e7d61c19f2102f1557e180
[ "MIT" ]
null
null
null
#ifndef RAP_KVV_HPP #define RAP_KVV_HPP #include "rap.hpp" #include "rap_frame.h" #include "rap_reader.hpp" #include "rap_text.hpp" #include "rap_writer.hpp" #include <cassert> #include <cstdint> #include <string> #include <vector> namespace rap { class kvv { public: kvv() {} kvv(const kvv& other) ...
20.353741
61
0.389372
linkdata
83b905ae548cea507540063f5574333cca9bc799
909
cpp
C++
IssueTest/test.cpp
vvck/QXlsx
281fcb41ec186167ee3bbbe57572746f3c9c09be
[ "MIT" ]
547
2019-01-14T18:38:08.000Z
2022-03-31T07:30:00.000Z
IssueTest/test.cpp
vvck/QXlsx
281fcb41ec186167ee3bbbe57572746f3c9c09be
[ "MIT" ]
136
2019-01-07T05:44:21.000Z
2022-03-29T08:41:18.000Z
IssueTest/test.cpp
vvck/QXlsx
281fcb41ec186167ee3bbbe57572746f3c9c09be
[ "MIT" ]
201
2019-03-02T09:59:02.000Z
2022-03-25T17:43:13.000Z
// test.cpp #include <QtGlobal> #include <QCoreApplication> #include <QtCore> #include <QVector> #include <QVariant> #include <QDebug> #include <QDir> #include <QColor> #include <QImage> #include <QRgb> #include <QRandomGenerator> #include <iostream> using namespace std; #include "xlsxdocument.h" #include "xlsxchar...
18.55102
65
0.678768
vvck
83b9107f67fe4998cb60ce665677862afc9de7cb
1,943
cpp
C++
vision/src/detect/motion_simple.cpp
robotalks/analytics
fede843601cba39370e77804a78bb704b32414f1
[ "MIT" ]
null
null
null
vision/src/detect/motion_simple.cpp
robotalks/analytics
fede843601cba39370e77804a78bb704b32414f1
[ "MIT" ]
null
null
null
vision/src/detect/motion_simple.cpp
robotalks/analytics
fede843601cba39370e77804a78bb704b32414f1
[ "MIT" ]
null
null
null
#include <vector> #include "vision/detect/motion.h" namespace vision { using namespace std; using namespace cv; SimpleMotionDetector::SimpleMotionDetector(const Size &blurSize, double areaMin, double threshold) : m_blurSize(blurSize), m_areaMin(areaMin), m_threshold(threshold) { } void SimpleMotionDetector::detect...
29.439394
98
0.630468
robotalks
83be419f9aceb2831ae6e5dc1ea825a8b084692b
888
hh
C++
advent/utils/timer.hh
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
2
2017-12-01T09:18:03.000Z
2017-12-13T12:59:40.000Z
advent/utils/timer.hh
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
null
null
null
advent/utils/timer.hh
tamaroth/AdventOfCode2017
0c0f93590068b6b8fa6ed7f5d53c9fecede632bb
[ "MIT" ]
null
null
null
/// @file /// /// Time measuring. /// #pragma once #include <chrono> #include <iostream> #include <string> #include <sstream> namespace advent { using ms = std::chrono::milliseconds; using us = std::chrono::microseconds; template<typename Timepoint> std::string duration_to_string(Timepoint start, Timepoint end) { ...
23.368421
85
0.682432
tamaroth
83caaaa81636c1efbbdb0c8fdaa3d6b9e215e601
14,599
cpp
C++
VarCalc/GdaParser.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
VarCalc/GdaParser.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
VarCalc/GdaParser.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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, o...
27.545283
73
0.635728
chenyoujie
83d284ff83da1c52a3e20d49c50879f0340a3e11
192
cpp
C++
src/JSEUIMenuLeafImpl.cpp
imzcy/JavaScriptExecutable
723a13f433aafad84faa609f62955ce826063c66
[ "MIT" ]
3
2015-03-18T03:12:27.000Z
2020-11-19T10:40:12.000Z
src/JSEUIMenuLeafImpl.cpp
imzcy/JavaScriptExecutable
723a13f433aafad84faa609f62955ce826063c66
[ "MIT" ]
null
null
null
src/JSEUIMenuLeafImpl.cpp
imzcy/JavaScriptExecutable
723a13f433aafad84faa609f62955ce826063c66
[ "MIT" ]
null
null
null
#include "JSEUIMenuLeafImpl.h" namespace JSE { namespace UI { JSEUIMenuLeafImpl::JSEUIMenuLeafImpl(QWidget *parent) : QAction(parent) { } JSEUIMenuLeafImpl::~JSEUIMenuLeafImpl() {} }}
13.714286
53
0.739583
imzcy
83d4bd29208359d57a0680654dc43ad268cfb655
1,936
hpp
C++
game_files/game_order/game_order.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_order/game_order.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
game_files/game_order/game_order.hpp
sakumo7/zpr
7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e
[ "MIT" ]
null
null
null
#ifndef GAME_ORDER_HPP #define GAME_ORDER_HPP #include "../typedefs.hpp" #include <vector> #include <memory> #include "../game_engine/game_engine.hpp" typedef std::unique_ptr<std::vector<unsigned int>> ship_vector_uptr; class GameOrder{ public: virtual std::string toString() const=0; virtual int type() const = ...
31.225806
146
0.75
sakumo7
83d987d24bfb176ca10c8132e11da65f1009d534
2,715
cpp
C++
session-manager/common/call/CallInGetUserSession.cpp
Syamsuri227/FreeRDS
933f43a9f2dfd254d825e6687c8ca536ec2bf569
[ "Apache-2.0" ]
14
2015-02-17T15:43:46.000Z
2022-02-17T07:11:46.000Z
session-manager/common/call/CallInGetUserSession.cpp
Syamsuri227/FreeRDS
933f43a9f2dfd254d825e6687c8ca536ec2bf569
[ "Apache-2.0" ]
4
2015-03-22T10:26:38.000Z
2020-07-07T13:35:56.000Z
session-manager/common/call/CallInGetUserSession.cpp
Syamsuri227/FreeRDS
933f43a9f2dfd254d825e6687c8ca536ec2bf569
[ "Apache-2.0" ]
58
2015-04-08T02:24:17.000Z
2022-03-29T15:59:15.000Z
/** * Class for rpc call GetUserSession (freerds to session manager) * * Copyright 2013 Thinstuff Technologies GmbH * Copyright 2013 DI (FH) Martin Haimberger <martin.haimberger@thinstuff.at> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
24.908257
88
0.710497
Syamsuri227
83dbec132ac763ab5b591eecaf876cad502393b0
2,108
cpp
C++
MemSpy/MemSpy/Sources/CommandLine.cpp
piskunovdenis/MemSpy
84c4994a5c3a0f7a9379f64609a6eff4a3d7985f
[ "MIT" ]
null
null
null
MemSpy/MemSpy/Sources/CommandLine.cpp
piskunovdenis/MemSpy
84c4994a5c3a0f7a9379f64609a6eff4a3d7985f
[ "MIT" ]
null
null
null
MemSpy/MemSpy/Sources/CommandLine.cpp
piskunovdenis/MemSpy
84c4994a5c3a0f7a9379f64609a6eff4a3d7985f
[ "MIT" ]
null
null
null
#include <algorithm> #include <windows.h> #include <stdexcept> #include "CommandLine.hpp" #include "WideString.hpp" namespace memspy { const std::vector<wchar_t> CommandLine::kParamSeparators = { L'-', L'/' }; const std::vector<wchar_t> CommandLine::kNameValueSeparators = { L':', L'=' }; CommandLine::CommandLine...
23.685393
115
0.666034
piskunovdenis
83dc85e75596c3bcee21afa8ca606de437c7467a
4,045
cpp
C++
src/blocksigner.cpp
jazy510/XSN
6ea74506573c6253c2ce933aafce9ad8b2d95659
[ "MIT" ]
1
2021-04-04T20:38:41.000Z
2021-04-04T20:38:41.000Z
src/blocksigner.cpp
jazy510/XSN
6ea74506573c6253c2ce933aafce9ad8b2d95659
[ "MIT" ]
null
null
null
src/blocksigner.cpp
jazy510/XSN
6ea74506573c6253c2ce933aafce9ad8b2d95659
[ "MIT" ]
null
null
null
#include "blocksigner.h" #include "tpos/tposutils.h" #include "tpos/activemerchantnode.h" #include "keystore.h" #include "primitives/block.h" #include "utilstrencodings.h" CBlockSigner::CBlockSigner(CBlock &block, const CKeyStore &keystore, const TPoSContract &contract) : refBlock(block), refKeystore(keystore)...
27.705479
131
0.595797
jazy510