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
b93e09783a7aecc460f08528362c1569b0c592ce
3,298
cpp
C++
PhysXChips_Dlg/PhysXRigidDynamic_Dlg.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
3
2021-04-27T08:52:40.000Z
2021-05-19T18:05:40.000Z
PhysXChips_Dlg/PhysXRigidDynamic_Dlg.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
PhysXChips_Dlg/PhysXRigidDynamic_Dlg.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
// Copyright(c) 2013-2019, mCODE A/S // 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 // notice, this list of conditio...
64.666667
205
0.739539
snaxgameengine
b941eea895579899b81da4a62b21b2bba3738ed8
49
hpp
C++
src/boost_log_sinks_attribute_mapping.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_log_sinks_attribute_mapping.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_log_sinks_attribute_mapping.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/log/sinks/attribute_mapping.hpp>
24.5
48
0.816327
miathedev
b947d0b549363508cae2e17e7ff9f5eddb259fe5
7,810
cpp
C++
FEBioSource2.9/FEBioMech/FE2DFiberNeoHookean.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-08-24T08:37:21.000Z
2021-08-24T08:37:21.000Z
FEBioSource2.9/FEBioMech/FE2DFiberNeoHookean.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
null
null
null
FEBioSource2.9/FEBioMech/FE2DFiberNeoHookean.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-03-15T08:22:06.000Z
2021-03-15T08:22:06.000Z
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2019 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
32.406639
82
0.565685
wzaylor
b94a33adf78d2b21e61582137ee61764ca00c42b
7,906
cpp
C++
ruby/input/joypad/directinput.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ruby/input/joypad/directinput.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ruby/input/joypad/directinput.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#pragma once auto CALLBACK DirectInput_EnumJoypadsCallback(const DIDEVICEINSTANCE* instance, void* p) -> BOOL; auto CALLBACK DirectInput_EnumJoypadAxesCallback(const DIDEVICEOBJECTINSTANCE* instance, void* p) -> BOOL; auto CALLBACK DirectInput_EnumJoypadEffectsCallback(const DIDEVICEOBJECTINSTANCE* instance, void* p) ...
36.266055
115
0.676069
CasualPokePlayer
b94af4968211cb6419b66b0e2a6075d15181bac4
7,645
hpp
C++
drivers/usb/hcds/ehci/src/ehci.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
1
2020-07-29T12:13:14.000Z
2020-07-29T12:13:14.000Z
drivers/usb/hcds/ehci/src/ehci.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
null
null
null
drivers/usb/hcds/ehci/src/ehci.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
null
null
null
#include <queue> #include <arch/mem_space.hpp> #include <async/recurring-event.hpp> #include <async/mutex.hpp> #include <async/result.hpp> #include <helix/memory.hpp> #include "spec.hpp" struct Controller; struct DeviceState; struct ConfigurationState; struct InterfaceState; struct EndpointState; // TODO: This cou...
29.980392
93
0.591629
kITerE
b94b32da02b41b69030f9732bb465d25ecf4f8ee
5,259
cpp
C++
src/wcx_plugin.cpp
remittor/paxz.wcx
8c10a4673c4e613383f7c61041e4116007ba032d
[ "MIT" ]
9
2019-11-27T09:41:03.000Z
2022-02-19T13:32:57.000Z
src/wcx_plugin.cpp
remittor/paxz.wcx
8c10a4673c4e613383f7c61041e4116007ba032d
[ "MIT" ]
null
null
null
src/wcx_plugin.cpp
remittor/paxz.wcx
8c10a4673c4e613383f7c61041e4116007ba032d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "wcx_plugin.h" #include "winuser.h" #include "res\resource.h" namespace wcx { plugin::plugin() { m_module = NULL; m_main_thread_id = 0; m_ProcessDataProcW = NULL; m_packer_count = 0; m_testmode = false; m_inited = false; } plugin::~plugin() { destroy(); } int plugin::init...
24.123853
127
0.60715
remittor
b94beb1635e95f0f2a53b68cbe6e653381df716f
37,992
cpp
C++
projects/biogears/libBiogears/src/cdm/engine/PhysiologyEngineDynamicStabilization.cpp
faaizT/core
488b357deece8dd4f7be318eefb49f6330be8239
[ "Apache-2.0" ]
1
2020-10-23T18:23:00.000Z
2020-10-23T18:23:00.000Z
projects/biogears/libBiogears/src/cdm/engine/PhysiologyEngineDynamicStabilization.cpp
faaizT/core
488b357deece8dd4f7be318eefb49f6330be8239
[ "Apache-2.0" ]
5
2020-12-23T00:19:32.000Z
2020-12-29T20:53:58.000Z
projects/biogears/libBiogears/src/cdm/engine/PhysiologyEngineDynamicStabilization.cpp
vybhavramachandran/biogears-vybhav
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
null
null
null
/************************************************************************************** Copyright 2015 Applied Research Associates, 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.ap...
43.369863
288
0.628053
faaizT
b94d28d5edd1ff76f25a1ebe8dcccdadaa510f5b
87,176
hpp
C++
TakistanRoleplay/Config_Spyglass.hpp
hdvertgaming/TakistanRoleplay
56ba5bf9f9d67d6cab20cecf0681c663b2f5d731
[ "Apache-2.0" ]
null
null
null
TakistanRoleplay/Config_Spyglass.hpp
hdvertgaming/TakistanRoleplay
56ba5bf9f9d67d6cab20cecf0681c663b2f5d731
[ "Apache-2.0" ]
null
null
null
TakistanRoleplay/Config_Spyglass.hpp
hdvertgaming/TakistanRoleplay
56ba5bf9f9d67d6cab20cecf0681c663b2f5d731
[ "Apache-2.0" ]
null
null
null
class SpyGlass { civSlotNumber = 75; copSlotNumber = 19; medSlotNumber = 4; /* Internal functions, sort by what they are. Please note any functions you add need the functions named defined and the functions meta name which is the functions name + _meta i.e: "life_fnc_mycoolfunction","life_fnc_mycoolfunctio...
3,352.923077
28,516
0.860891
hdvertgaming
b94d49dcbdae512cead5329caef5e01d92c53d84
1,561
cpp
C++
test/module/libs/crypto/signature_test.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-01-15T08:47:16.000Z
2017-01-15T08:47:16.000Z
test/module/libs/crypto/signature_test.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-11-08T02:34:24.000Z
2017-11-08T02:34:24.000Z
test/module/libs/crypto/signature_test.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
null
null
null
/* Copyright Soramitsu Co., Ltd. 2016 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 law or agre...
33.212766
78
0.736707
laSinteZ
b95319e3fb095934e324df92172559c4ac330c21
5,791
hpp
C++
othello.hpp
jj1guj/dekunobou-gui
59f8e28b138d12abc698bece0475cb3e38f8a66f
[ "MIT" ]
null
null
null
othello.hpp
jj1guj/dekunobou-gui
59f8e28b138d12abc698bece0475cb3e38f8a66f
[ "MIT" ]
null
null
null
othello.hpp
jj1guj/dekunobou-gui
59f8e28b138d12abc698bece0475cb3e38f8a66f
[ "MIT" ]
null
null
null
#include"dekunobou.hpp" #pragma once class Board{ public: int board[8][8];//先手:1, 後手:-1 bool turn=false;//先手ならfalse, 後手ならtrue int point[2];//各手番の獲得枚数{先手, 後手} int flip_limit[8];//縦横斜め8方向どこまでひっくり返していいか //{横(左), 横(右), 縦(上), 縦(下), 右斜め(上), 右斜め(下), 左斜め(上), 左斜め(下)} //序盤・中盤・終盤のどれか //序盤なら0,...
27.060748
68
0.455534
jj1guj
b953d14922455e7f81492c3ef248f33fd5e0afb4
5,557
cpp
C++
HornSchunckOF/main.cpp
liuyang9609/Optical-Flow
365a6fd8d8e684f255ccefe696157e683256bd61
[ "MIT" ]
null
null
null
HornSchunckOF/main.cpp
liuyang9609/Optical-Flow
365a6fd8d8e684f255ccefe696157e683256bd61
[ "MIT" ]
null
null
null
HornSchunckOF/main.cpp
liuyang9609/Optical-Flow
365a6fd8d8e684f255ccefe696157e683256bd61
[ "MIT" ]
null
null
null
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <opencv2/core/core.hpp> #include <opencv2/video.hpp> #include <stdlib.h> #include <stdio.h> #include <iostream> #include "hornSchunck.cpp" #include "plotFlow.cpp" void preprocess(cv::Mat imagePrevRaw, cv::Mat imageNextRaw, cv::Mat &...
42.419847
188
0.61526
liuyang9609
b954bdc2c6521127f198490c8bac38797f2b8022
2,709
cc
C++
packages/solver/Solver.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/solver/Solver.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/solver/Solver.cc
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#include "Solver.hh" #include <iomanip> #include <iostream> #include <string> #include "Check.hh" #include "XML_Node.hh" using namespace std; Solver:: Solver(int solver_print, Solver::Type type): solver_print_(solver_print) { } void Solver:: print_name(string solution_type) const { if (solver_print_...
20.838462
78
0.515319
brbass
b9596c0b297c3d1ebcbe965b3f613534700bcdd2
1,061
cc
C++
cc/modules/tracking/Trackers/TrackerMedianFlow.cc
mstallmo/opencv4nodejs
5ab4fcb17c39c4a16f77c8de8c29dc357532d9cb
[ "MIT" ]
1
2018-05-07T13:03:20.000Z
2018-05-07T13:03:20.000Z
cc/modules/tracking/Trackers/TrackerMedianFlow.cc
goldyraj/facerecognition
9b0820135eb8cdaf783b3d560695bfb324083270
[ "MIT" ]
null
null
null
cc/modules/tracking/Trackers/TrackerMedianFlow.cc
goldyraj/facerecognition
9b0820135eb8cdaf783b3d560695bfb324083270
[ "MIT" ]
1
2020-02-18T06:44:04.000Z
2020-02-18T06:44:04.000Z
#ifdef HAVE_TRACKING #include "TrackerMedianFlow.h" Nan::Persistent<v8::FunctionTemplate> TrackerMedianFlow::constructor; NAN_MODULE_INIT(TrackerMedianFlow::Init) { v8::Local<v8::FunctionTemplate> ctor = Nan::New<v8::FunctionTemplate>(TrackerMedianFlow::New); v8::Local<v8::ObjectTemplate> instanceTemplate = ctor->...
27.205128
95
0.756833
mstallmo
b95c1f59d925472219d937d6ae88ddd65ea5a1d0
2,236
cpp
C++
server/src/http_msg_server/HttpConn.cpp
xiaominfc/TeamTalk
20084010a9804d1ff0ed7bb5924fde7041b952eb
[ "Apache-2.0" ]
65
2017-11-18T15:43:56.000Z
2022-01-30T08:07:11.000Z
server/src/http_msg_server/HttpConn.cpp
xiaominfc/TeamTalk
20084010a9804d1ff0ed7bb5924fde7041b952eb
[ "Apache-2.0" ]
3
2018-09-04T14:27:45.000Z
2020-10-29T07:22:45.000Z
server/src/http_msg_server/HttpConn.cpp
xiaominfc/TeamTalk
20084010a9804d1ff0ed7bb5924fde7041b952eb
[ "Apache-2.0" ]
36
2018-07-10T04:21:08.000Z
2021-11-09T07:21:10.000Z
/* * HttpConn.cpp * * Created on: 2013-9-29 * Author: ziteng@mogujie.com */ #include "HttpConn.h" #include "HttpParserWrapper.h" #include "HttpQuery.h" static HttpConnMap_t g_http_conn_map; // conn_handle 从0开始递增,可以防止因socket handle重用引起的一些冲突 static uint32_t g_conn_handle_generator = 0; CHttpConn* FindHttpConn...
19.443478
94
0.713327
xiaominfc
b95c223b7d35bd403d256be906466f45a295a0be
3,422
cpp
C++
TheGame/AIPlayer.cpp
dynamiquel/The-Game
d9ae1499ea514260e4d47dac85893aea8891a2cf
[ "MIT" ]
null
null
null
TheGame/AIPlayer.cpp
dynamiquel/The-Game
d9ae1499ea514260e4d47dac85893aea8891a2cf
[ "MIT" ]
null
null
null
TheGame/AIPlayer.cpp
dynamiquel/The-Game
d9ae1499ea514260e4d47dac85893aea8891a2cf
[ "MIT" ]
null
null
null
#include "AIPlayer.h" #include "Utilities.h" #include <iostream> short selectedPile = -1; AIPlayer::AIPlayer() { isAI = true; completed = false; } // Asks the user to choose a card and returns its index. short& AIPlayer::ChooseCard(const PlayPile* playPiles) { std::cout << "\n\n Choose the card you want to play ...
33.881188
135
0.696084
dynamiquel
b95d6f064af5c8480c038d9d11495ca23744a531
880
hpp
C++
leviathan_config.hpp
bkovacev/levd
f942946f4db7f8c2bad14c5c7025ac303855ced7
[ "MIT" ]
1
2020-04-23T11:28:55.000Z
2020-04-23T11:28:55.000Z
leviathan_config.hpp
bkovacev/levd
f942946f4db7f8c2bad14c5c7025ac303855ced7
[ "MIT" ]
null
null
null
leviathan_config.hpp
bkovacev/levd
f942946f4db7f8c2bad14c5c7025ac303855ced7
[ "MIT" ]
1
2020-04-23T11:28:59.000Z
2020-04-23T11:28:59.000Z
#ifndef LEVIATHAN_CONFIG_H #define LEVIATHAN_CONFIG_H #include <functional> #include <map> #include <string> #define DEFAULT_RED 0xFF0000 using LineFunction = std::function<int32_t(int32_t)>; enum class TempSource { CPU, LIQUID }; inline TempSource stringToTempSource(const std::string &tss) { return tss == "liqu...
22
64
0.723864
bkovacev
b95e4da83dbb91e93edd8e4aac66d3e4a766fba1
2,281
hpp
C++
cpp/subprojects/common/include/common/rule_refinement/rule_refinement_exact.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
8
2020-06-30T01:06:43.000Z
2022-03-14T01:58:29.000Z
cpp/subprojects/common/include/common/rule_refinement/rule_refinement_exact.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
3
2020-12-14T11:30:18.000Z
2022-02-07T06:31:51.000Z
cpp/subprojects/common/include/common/rule_refinement/rule_refinement_exact.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
4
2020-06-24T08:45:00.000Z
2021-12-23T21:44:51.000Z
/* * @author Michael Rapp (michael.rapp.ml@gmail.com) */ #pragma once #include "common/rule_refinement/rule_refinement.hpp" #include "common/rule_refinement/rule_refinement_callback.hpp" #include "common/input/feature_vector.hpp" #include "common/sampling/weight_vector.hpp" /** * Allows to find the best refinemen...
40.017544
120
0.686541
Waguy02
b960346296df837f5bb142b511be996fe5036985
962
cpp
C++
source/LeetCode/DynamicPlaning/MaxSumofSubarray.cpp
Mas9uerade/Mas9uerade.github.io
9cc273313fc1360daff57fe16dd1a60fe910259d
[ "Apache-2.0" ]
1
2018-04-14T03:43:27.000Z
2018-04-14T03:43:27.000Z
source/LeetCode/DynamicPlaning/MaxSumofSubarray.cpp
Mas9uerade/Mas9uerade.github.io
9cc273313fc1360daff57fe16dd1a60fe910259d
[ "Apache-2.0" ]
null
null
null
source/LeetCode/DynamicPlaning/MaxSumofSubarray.cpp
Mas9uerade/Mas9uerade.github.io
9cc273313fc1360daff57fe16dd1a60fe910259d
[ "Apache-2.0" ]
null
null
null
int maxsumofSubarray(vector<int>& arr) { if (arr.size() == 0) { return 0; } if (arr.size() == 1) { return arr[0]; } int max = arr[0]; int end_index = 0; int relink_cost = 0; for (int i = 1; i < arr.size(); ++i) { //判断是否可以续链 if (end_index == i - 1) { //判断取 arr[i] 与 max + arr[i] 与 max 的最大值,若取max 则...
15.03125
52
0.480249
Mas9uerade
b964bde2b0c0f2b8af2150a123a317efdcadb4ed
3,227
cc
C++
src/xenia/base/filesystem.cc
cloudhaacker/xenia
54b211ed1885cdfb9ef6d74e60f7e615aaf56d45
[ "BSD-3-Clause" ]
16
2018-06-23T19:49:55.000Z
2021-12-29T01:29:28.000Z
src/xenia/base/filesystem.cc
cloudhaacker/xenia
54b211ed1885cdfb9ef6d74e60f7e615aaf56d45
[ "BSD-3-Clause" ]
1
2017-10-01T08:53:46.000Z
2017-11-11T01:47:23.000Z
src/xenia/base/filesystem.cc
cloudhaacker/xenia
54b211ed1885cdfb9ef6d74e60f7e615aaf56d45
[ "BSD-3-Clause" ]
15
2018-07-12T22:36:01.000Z
2020-10-25T15:51:08.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2015 Ben Vanik. All rights reserved. ...
29.072072
79
0.494267
cloudhaacker
b96ae03b0c0f89cc38d87ca59a7f9310533ba2d9
1,426
hpp
C++
dxlibex/type_traits/is_well_format.hpp
Nagarei/DxLibEx
650fd0dad2cd1625d04f009faa649e8e9ffa0e1b
[ "BSL-1.0" ]
32
2015-10-19T15:51:15.000Z
2021-08-06T05:51:28.000Z
dxlibex/type_traits/is_well_format.hpp
Nagarei/DxLibEx
650fd0dad2cd1625d04f009faa649e8e9ffa0e1b
[ "BSL-1.0" ]
92
2015-10-17T12:20:53.000Z
2020-08-12T13:34:21.000Z
dxlibex/type_traits/is_well_format.hpp
Nagarei/DxLibEx
650fd0dad2cd1625d04f009faa649e8e9ffa0e1b
[ "BSL-1.0" ]
6
2016-05-09T03:23:18.000Z
2020-04-08T05:57:43.000Z
/*============================================================================= Copyright (C) 2015-2017 DxLibEx project https://github.com/Nagarei/DxLibEx/ Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt) =====================================================...
39.611111
141
0.699158
Nagarei
b96d7fcdda2914cc2d368bbb6387f461defad275
2,632
cpp
C++
code/engine.vc2008/xrScripts/lopen.cpp
icetorch2001/xray-oxygen
8c210ac2824f794cea69266048fe12d584ee3f04
[ "Apache-2.0" ]
1
2021-09-14T14:28:56.000Z
2021-09-14T14:28:56.000Z
code/engine.vc2008/xrScripts/lopen.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrScripts/lopen.cpp
ArtemGen/xray-oxygen
f62d3e1f4e211986c057fd37e97fd03c98b5e275
[ "Apache-2.0" ]
3
2021-11-01T06:21:26.000Z
2022-01-08T16:13:23.000Z
// file: lopen.cpp // func: Open lua modules-namespace // author: ForserX #include "stdafx.h" #include "luaopen.hpp" extern "C" { extern const struct luaL_Reg funcs[]; int luaopen_LuaXML_lib(lua_State* L); int luaopen_lfs(lua_State *L); } int lopen::luaopen_ext(lua_State *L) { luaL_openlib(L, "mrsh", funcs, 0); ...
23.927273
107
0.666033
icetorch2001
b96d84fed3140b04a6fae66ee9a9de76838e53f3
1,605
cpp
C++
test/src/physics/collision/narrowphase/algorithm/gjk/GJKConvexObjectTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
18
2020-06-12T00:04:46.000Z
2022-01-11T14:56:19.000Z
test/src/physics/collision/narrowphase/algorithm/gjk/GJKConvexObjectTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
null
null
null
test/src/physics/collision/narrowphase/algorithm/gjk/GJKConvexObjectTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
6
2020-08-16T15:58:41.000Z
2022-03-05T13:17:50.000Z
#include <cppunit/TestSuite.h> #include <cppunit/TestCaller.h> #include <memory> #include <UrchinCommon.h> #include <UrchinPhysicsEngine.h> #include <AssertHelper.h> #include <physics/collision/narrowphase/algorithm/gjk/GJKConvexObjectTest.h> #include <physics/collision/narrowphase/algorithm/gjk/GJKTestHelper.h> using...
41.153846
133
0.751402
petitg1987
b9712383dac34c4a5f56a13032aa1a4da2c1826b
24,782
cpp
C++
src/server/Xml/XmlLibrary.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
src/server/Xml/XmlLibrary.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
src/server/Xml/XmlLibrary.cpp
anewholm/generalserver
99321562921c317f1ef14a2b84abfe91f0f871b6
[ "X11" ]
null
null
null
//platform agnostic file #include "Xml/XmlLibrary.h" #include "Repository.h" #include "Xml/XmlNamespace.h" #include "IXml/IXslNode.h" #include "IXml/IXmlGrammarContext.h" #include "Debug.h" #include "Utilities/strtools.h" #include <string.h> #include <sstream> using namespace std; //Abstract Factory Method: http://e...
45.723247
235
0.614962
anewholm
b973ae8d5c0bf3c1a2b3f26a9a1addd3cd985d9f
871
cpp
C++
VCPlusPlus/CPlusPlusTest2/FindMaxIncreasingSeqInArr/FindMaxIncreasingSeqInArr.cpp
madbadPi/TelerikAcademy
37eafec75b510b636a1e7da55fffed7bdc7f3d85
[ "MIT" ]
null
null
null
VCPlusPlus/CPlusPlusTest2/FindMaxIncreasingSeqInArr/FindMaxIncreasingSeqInArr.cpp
madbadPi/TelerikAcademy
37eafec75b510b636a1e7da55fffed7bdc7f3d85
[ "MIT" ]
null
null
null
VCPlusPlus/CPlusPlusTest2/FindMaxIncreasingSeqInArr/FindMaxIncreasingSeqInArr.cpp
madbadPi/TelerikAcademy
37eafec75b510b636a1e7da55fffed7bdc7f3d85
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> std::vector<int> findmaxseqinarr(int myarray[], int size) { std::vector<int> newarr; int counter = 0; int max = 0; for (int i = 0; i < size-1; i++) { while (myarray[i] == myarray[i+1]-1) { counter++; i++; } if (counter > max) { newarr.clear(); for (int...
18.145833
64
0.562572
madbadPi
b975a9f2fd71c785a56edc527f87d59d0bc1b788
686
hpp
C++
tau/TauEngine/include/dx/dx12/DX12CommandQueue.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauEngine/include/dx/dx12/DX12CommandQueue.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauEngine/include/dx/dx12/DX12CommandQueue.hpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#pragma once #include "graphics/CommandQueue.hpp" #ifdef _WIN32 #include <d3d12.h> class TAU_DLL DX12CommandQueue final : public ICommandQueue { DELETE_CM(DX12CommandQueue); private: ID3D12CommandQueue* _d3dQueue; public: DX12CommandQueue(ID3D12CommandQueue* const d3dQueue) noexcept : _d3dQueue(d...
25.407407
93
0.744898
hyfloac
b9778f9ed814307723bfeead10ffed356ba446b2
615
cpp
C++
Hacke Rank Problems/Summation of primes.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
Hacke Rank Problems/Summation of primes.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
Hacke Rank Problems/Summation of primes.cpp
anand434/-Algorithm-And-DataStructures
e4197db5342def163a8bd22de4187b90bc5ff1d3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector <int> v; bool isPrime(int x){ for(int i = 3 ; i <= (int)sqrt(x) ; i+=2) if(x%i==0) return false; return true; } void genPrime(){ v.push_back(2); v.push_back(3); for(int i = 5 ; i < 1000001 ; i+=2){ if(i%3 != 0) ...
18.636364
45
0.426016
anand434
b97bf29096e378a5954bcb0cec657dfbe37a02f9
2,225
cpp
C++
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
5
2019-03-29T16:47:47.000Z
2019-05-08T18:34:50.000Z
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
3
2019-04-21T08:05:04.000Z
2019-04-21T08:05:44.000Z
tiled_resources/src/tiled_resources/free_camera.cpp
kingofthebongo2008/computer-games-sofia-univeristy
1d54a02a456b3dde5eb5793e01a99a76daf6f033
[ "Apache-2.0" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
31.338028
172
0.69573
kingofthebongo2008
b9862267f72f660edbae79206a7407820cc6e9f5
1,081
hpp
C++
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
1
2019-08-08T01:24:16.000Z
2019-08-08T01:24:16.000Z
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
null
null
null
include/boost/safe_float/policy/check_division_underflow.hpp
aTom3333/safefloat
760a1fa243672d49271836e8c431f002a615eca5
[ "BSL-1.0" ]
2
2019-05-28T11:31:09.000Z
2019-10-12T21:55:25.000Z
#ifndef BOOST_SAFE_FLOAT_POLICY_CHECK_DIVISION_UNDERFLOW_HPP #define BOOST_SAFE_FLOAT_POLICY_CHECK_DIVISION_UNDERFLOW_HPP #include <boost/safe_float/policy/check_base_policy.hpp> #ifdef FENV_AVAILABLE #pragma STDC FENV_ACCESS ON #include <fenv.h> #endif namespace boost { namespace safe_float{ namespace policy{ temp...
21.62
62
0.723404
aTom3333
b98a990c934c3475c3f717c25434c26e3f732677
7,488
cpp
C++
AudioSources/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
2
2021-03-02T05:14:39.000Z
2022-03-19T01:47:57.000Z
Examples/Average/Source/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
null
null
null
Examples/Average/Source/AverageProcessor.cpp
MeijisIrlnd/airwindows
e2818f43711fa8b6f424d31824c35bb47bb82140
[ "MIT" ]
null
null
null
/* ======================================== * Average - Average.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #include "AverageProcessor.h" AverageProcessor::AverageProcessor() { paramBindings = { {AVERAGE, &A}, {DRY_WET, &B} }; ...
34.666667
98
0.633948
MeijisIrlnd
b98b70d92418f5dfb400dec82d785426b7496e85
1,553
cpp
C++
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
5
2017-12-28T08:22:20.000Z
2022-03-30T01:26:17.000Z
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
runa/widgets/button_cfg.cpp
walkinsky8/nana-runner
103992e07e7e644d349437fdf959364ffe9cb653
[ "BSL-1.0" ]
null
null
null
/** * Runa C++ Library * Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(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) */ // Created on 2017/11/15 #include "stdafx.h" #ifndef __NANA_RUNNER_LIB_ALL_...
23.892308
75
0.600773
walkinsky8
b98d1e9d6beb6c36eaa318dbd39b9244d9b19e75
6,851
cpp
C++
src/gui/graphtitlebar.cpp
evoplex/evoplex
c6e78af5fb0d2fc5a5ce7b02e5e4ec61de8934b6
[ "Apache-2.0" ]
101
2018-06-21T04:29:18.000Z
2022-03-09T13:04:15.000Z
src/gui/graphtitlebar.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
30
2018-06-26T15:12:03.000Z
2019-10-10T04:02:13.000Z
src/gui/graphtitlebar.cpp
ElsevierSoftwareX/SOFTX_2018_211
cbfac5af0ad76b7c88a7ea296d94785692da3048
[ "Apache-2.0" ]
23
2018-06-23T16:10:24.000Z
2021-11-03T15:12:51.000Z
/** * This file is part of Evoplex. * * Evoplex is a multi-agent system for networks. * Copyright (C) 2018 - Marcos Cardinot <marcos@cardinot.net> * * 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 Soft...
34.60101
99
0.652897
evoplex
b98f9c6da292c86c57f277aa1f99a9aaf9c40ad0
2,683
cc
C++
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/instrumentation/converter/convert_to_string/convergence_to_string.cc
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#include "instrumentation/converter/convert_to_string/convergence_to_string.h" #include <iomanip> #include <sstream> #include "instrumentation/converter/factory.hpp" namespace bart { namespace instrumentation { namespace converter { namespace convert_to_string { namespace { using OutputTerm = ConvergenceToStri...
33.5375
118
0.70369
SlaybaughLab
b991d542f132e27c5c1ea88b0b34c70584fac927
364
cpp
C++
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
source/scapes/foundation/shaders/Compiler.cpp
eZii-jester-data/pbr-sandbox
853aa023f063fd48760a8c3848687976189f3f98
[ "MIT" ]
null
null
null
#include "shaders/spirv/Compiler.h" #include <cassert> namespace scapes::foundation::shaders { Compiler *Compiler::create(ShaderILType type, io::FileSystem *file_system) { switch (type) { case ShaderILType::SPIRV: return new spirv::Compiler(file_system); } return nullptr; } void Compiler::destroy(Com...
16.545455
75
0.717033
eZii-jester-data
b999e370c4ca22535a5423fe1e490d2ab8140d49
22,847
cpp
C++
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/test/format/zeek.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
60.602122
205
0.689631
frerich
b99a9821cd922cb7c2721ce2bdc20592e18f56ab
6,173
cpp
C++
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
1
2021-05-19T23:01:58.000Z
2021-05-19T23:01:58.000Z
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
logdevice/server/IS_LOG_EMPTY_onReceived.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "IS_LOG_EMPTY_onReceived.h" #include "logdevice/common/Sender.h" #include "lo...
37.186747
80
0.658675
mickvav
b99dfd6d63016ee46a62f42c622c79a4ef9f09d7
9,890
hpp
C++
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XPath/XPathExecutionContextDefault.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
24.419753
198
0.718301
rherardi
b99f46cfe30482b2f31b95961356219d62c421e8
20,921
cpp
C++
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
src/nodes.cpp
TUM-I5/LinA
6834d7f0cc283b75c0569f01285ff4ccaa047b37
[ "BSD-3-Clause" ]
null
null
null
/** This file is generated. Do not edit. */ #include "nodes.h" namespace lina { #if !defined(CONVERGENCE_ORDER) #error CONVERGENCE_ORDER must be set. #elif CONVERGENCE_ORDER == 2 double const LGLNodes[] = {0.00000000000000000000000000000000, 1.00000000000000000000000000000000}; #elif CONVERGENCE_ORDER == 3 double const...
298.871429
1,179
0.898666
TUM-I5
b9a46e7464f3b553e1f6c8192ff9a1b876cc056a
12,021
cc
C++
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
null
null
null
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2021-12-10T15:04:04.000Z
2022-01-10T18:56:53.000Z
MathUtils/src/Measurement_Arithmetic.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2018-06-05T14:08:08.000Z
2018-06-05T14:08:08.000Z
/** * @file Measurement_Arithmetic.cc * @brief Implementation of measurement arithetics methods * @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen) */ #ifdef CMSSW_GIT_HASH #include "UserUtils/MathUtils/interface/Measurement.hpp" #include "UserUtils/MathUtils/interface/StatisticsUtil.hpp" #else #inclu...
33.391667
81
0.602945
yimuchen
b9a4daf27f425972ca64b0bd2037ef91724c769b
4,255
hpp
C++
include/atl/detail/finite_automaton/copy.hpp
LoringHe/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
2
2020-09-02T05:04:52.000Z
2020-09-04T05:26:33.000Z
include/atl/detail/finite_automaton/copy.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
include/atl/detail/finite_automaton/copy.hpp
Jinlong-He/fml
fe4e5341b0f07ffd4d04207b3039cf4157ef3cba
[ "MIT" ]
null
null
null
// // copy.hpp // atl // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // SPDX-License-Identifier: MIT // Copyright (c) 2020 Jinlong He. // #ifndef atl_detail_finite_automaton_copy_hpp #define atl_detail_finite_automaton_copy_hpp #include <atl/detail/finite_automaton/finite_automaton...
37.324561
94
0.5349
LoringHe
b9a5a0b27723eef5f93f494716089a20e1cd3a50
2,107
cpp
C++
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
rmw_coredx_cpp/src/rmw_destroy_wait_set.cpp
rupertholman/rmw_coredx
1c97655212bfa90b1353f019ae08e8b2c487db8d
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 Twin Oaks Computing, Inc. // Modifications copyright (C) 2017-2018 Twin Oaks Computing, 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....
26.670886
91
0.714286
rupertholman
b9a67fb63c8d5d0fc0e03819a0e3d12ad282ee37
3,690
cpp
C++
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
3
2021-01-19T21:29:10.000Z
2021-08-20T19:54:49.000Z
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
124
2021-01-14T15:30:48.000Z
2022-03-28T14:44:31.000Z
tests/ablateLibrary/mathFunctions/functionPointerTests.cpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
17
2021-02-10T22:34:57.000Z
2022-03-21T18:46:06.000Z
#include <memory> #include "gtest/gtest.h" #include "mathFunctions/functionPointer.hpp" namespace ablateTesting::mathFunctions { TEST(FunctionPointerTests, ShouldEvalToScalarFromXYZ) { // arrange auto function = ablate::mathFunctions::FunctionPointer([](auto dim, auto time, auto loc, auto nf, auto u, auto ctx...
32.654867
121
0.582927
mtmcgurn-buffalo
b9abec4116c2ceaf0b8a1cff7580494bae07df7e
2,443
hpp
C++
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
1
2018-04-14T14:04:39.000Z
2018-04-14T14:04:39.000Z
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
null
null
null
include/vcrate/bytecode/Operations.hpp
VCrate/bytecode-description
c46f61fda817301b6705bc16654c634dc2c3212d
[ "MIT" ]
null
null
null
#pragma once #include <vcrate/Alias.hpp> #include <vector> #include <string> namespace vcrate { namespace bytecode { enum class Operations : ui8 { ADD, // Add (RRW) SUB, // Subtract (RRW) MOD, // Modulo (RRW) MUL, // Multiply (RRW) MULU, // Multiply unsigned (RRW) DIV, // Divide (RRW) ...
24.43
105
0.583299
VCrate
b9ac5d1dbe0d12ca27aad1c32e0e0b52d4c5c00a
74,278
cpp
C++
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
core/indigo-core/molecule/src/cml_loader.cpp
khyurri/Indigo
82f9ef9f43ca605f7265709e7a9256f1ff468d6c
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * Copyright (C) from 2009 to Present EPAM Systems. * * This file is part of Indigo toolkit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
37.916284
158
0.472037
khyurri
b9ae8e66380bcd5f2f311589bf33dd45eb7fae9a
4,478
cpp
C++
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
examples/sys.cpp
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
#include <rudiments/sys.h> #include <rudiments/charstring.h> #include <rudiments/stdio.h> int main(int argc, const char **argv) { char *osname=sys::getOperatingSystemName(); stdoutput.printf("OS Name : %s\n",osname); delete[] osname; char *release=sys::getOperatingSystemRelease(); stdoutput.printf("OS Release ...
24.604396
58
0.667039
davidwed
b9af20942ea0eccde72856b692d6e54fbd3658c7
1,716
cpp
C++
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
30
2020-08-24T03:51:05.000Z
2022-02-26T15:29:38.000Z
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
43
2020-08-27T19:34:36.000Z
2022-02-25T14:09:39.000Z
test/pointsTest.cpp
bostonceltics20/phoebe
b7e6294ee32d7f94299cd027ba2e72c3552ab246
[ "MIT" ]
10
2020-10-14T23:15:01.000Z
2022-01-15T18:54:26.000Z
#include "points.h" #include "gtest/gtest.h" TEST(PointsTest, PointsHandling) { Eigen::Matrix3d directUnitCell; directUnitCell.row(0) << -5.1, 0., 5.1; directUnitCell.row(1) << 0., 5.1, 5.1; directUnitCell.row(2) << -5.1, 5.1, 0.; Eigen::MatrixXd atomicPositions(2, 3); atomicPositions.row(0) << 0., 0., 0.;...
28.6
76
0.630536
bostonceltics20
b9b7066a97c14ee8064df1578ad4c0e1c528d200
1,445
cpp
C++
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
208. Implement Trie (Prefix Tree).cpp
ivanilos/leetcode
6b13870a49180eed5c1548410f2c9cca219d1cab
[ "MIT" ]
null
null
null
class Trie { public: /** Initialize your data structure here. */ Trie() { trie.push_back(map<char, int>()); // root word_end.push_back(false); } /** Inserts a word into the trie. */ void insert(string word) { int pos = 0; for (char c : word) { if (!tr...
25.350877
86
0.491349
ivanilos
b9bc2c7f1ddda22d289596138bc7ee033922bc9a
2,677
cpp
C++
libs/kinematics/src/CVehicleSimul_Holo.cpp
zarmomin/mrpt
1baff7cf8ec9fd23e1a72714553bcbd88c201966
[ "BSD-3-Clause" ]
1
2021-12-10T06:24:08.000Z
2021-12-10T06:24:08.000Z
libs/kinematics/src/CVehicleSimul_Holo.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
null
null
null
libs/kinematics/src/CVehicleSimul_Holo.cpp
gao-ouyang/mrpt
4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7
[ "BSD-3-Clause" ]
1
2019-09-11T02:55:04.000Z
2019-09-11T02:55:04.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
31.127907
80
0.617482
zarmomin
b9bd18a26cb2ea4e7ddbcc52ed0988ce10ed86d1
1,183
hpp
C++
src/app/preset-window.hpp
mimo31/fluid-sim
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
1
2020-11-26T17:20:28.000Z
2020-11-26T17:20:28.000Z
src/app/preset-window.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
src/app/preset-window.hpp
mimo31/brandy0
481c3e5a5456350bccb8795aa119a3487dff3021
[ "MIT" ]
null
null
null
/** * preset-window.hpp * * Author: Viktor Fukala * Created on 2021/03/07 */ #ifndef PRESET_WINDOW_HPP #define PRESET_WINDOW_HPP #include "gtkmm/button.h" #include "gtkmm/comboboxtext.h" #include "gtkmm/grid.h" #include "gtkmm/label.h" #include "brandy-window.hpp" #include "config-state-abstr.hpp" namespace br...
23.66
96
0.748943
mimo31
b9c0186ff3a05cadadeb8ff336fdcbb6a8103d29
1,102
cpp
C++
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
3
2020-11-16T08:58:30.000Z
2020-11-16T08:58:33.000Z
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
基础算法/manacher算法/acw_3188_2.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* 复杂度O(N)的根本原因是最后的回文边界mr是单调递增的 从前往后计算每个位置为中心的回文串半径长度 然后用最右边的边界来更新mid */ const int N = 2e7 + 10; //double length of original string int n; char a[N], b[N]; int p[N]; //max radius of each mid void init() { int k = 0; b[k++] = '$', b[k++] = '#'; for (int i = ...
20.036364
71
0.465517
tempure
b9c4055c46bdfb8290f95d5459c93bdabdeffe4f
1,357
hpp
C++
libs/core/include/fcppt/symbol/class.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/symbol/class.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/symbol/class.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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_SYMBOL_CLASS_HPP_INCLUDED #define FCPPT_SYMBOL_CLASS_HPP_INCLUDED #include <fcppt/co...
23.807018
78
0.778187
freundlich
b9c530d5c6d278efbacd6f3411dff1829cc0cd49
1,067
hpp
C++
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/2-quad/quad.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * quad.hpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #ifndef TEST_ATTO_OPENGL_QUAD_H_ #define TEST_ATTO_OPENGL_QUAD_H_ #inc...
27.358974
71
0.648547
ubikoo
b9c5f5d8285d15d1b895b0401697eebc03f0fe60
6,809
hpp
C++
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
37
2018-11-05T19:15:46.000Z
2022-03-09T10:16:28.000Z
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
13
2020-01-05T13:32:27.000Z
2022-03-09T17:21:07.000Z
include/frg/variant.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
16
2020-01-01T15:45:02.000Z
2022-03-06T22:19:58.000Z
#pragma once #include <frg/eternal.hpp> #include <frg/macros.hpp> #include <type_traits> #include <stddef.h> namespace frg { namespace _variant { // check if S is one of the types T template<typename S, typename... T> struct exists : public std::false_type { }; template<typename S, typename... T> struct exists...
27.12749
88
0.66368
czapek1337
b9c8382f5af5e59c460f6945834add844ef15325
295
hpp
C++
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
AbstractFactory/AbstractProductA.hpp
colorhistory/design-patterns
854b07c786cc6ceb80b687ed933c6560c288215b
[ "MIT" ]
null
null
null
#ifndef ABSTRACTPRODUCTA_HPP #define ABSTRACTPRODUCTA_HPP namespace DP { class AbstractProductA { public: AbstractProductA(); virtual ~AbstractProductA() = 0; // ADT virtual void use() = 0; }; } // namespace DP #endif // ABSTRACTPRODUCTA_HPP
17.352941
40
0.623729
colorhistory
b9ca906a10d8183ecea31e49c6665bb968557a34
1,790
hpp
C++
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
parser.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
#ifndef PARSER_HPP #define PARSER_HPP #include <iostream> #include <string> #include <cstring> const int N = 9; typedef unsigned short int mask; class Parser { private: std::string inputString; mask unsolvedBoard[N*N]; public: /** * Returns integer if char is a digit, 0 ot...
24.189189
80
0.56257
ultinate
844d895ad5e0be173061f99795e753e96c4c03ef
6,588
cc
C++
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
2
2020-03-12T14:31:34.000Z
2020-03-26T22:46:19.000Z
cpp/src/arrow/tensor/coo_converter.cc
palmerlao/arrow
4e680c46ad5aa76ba1dc85574c4e96a51450364f
[ "Apache-2.0" ]
2
2020-12-28T16:59:24.000Z
2021-02-21T12:33:41.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
35.419355
89
0.653764
palmerlao
84519821fbf22ef34c7456d85b821515cc453270
204
hpp
C++
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
src/cpu.hpp
AsuMagic/fusiongb
b2b61ed3c14bc96d50216d07442a4d5c7c518f6e
[ "MIT" ]
null
null
null
#ifndef CPU_HPP #define CPU_HPP #include "register.hpp" #include <vector> namespace fusion { struct CPU { RegisterFile _regs; std::vector<uint8_t> _ram; CPU(); void loop(); }; } #endif // CPU_HPP
10.2
27
0.691176
AsuMagic
8456d78544fc118b2adea2da78e6a41cef92e433
754
cpp
C++
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
PAT (Advanced Level) Practice/1002.cpp
geek-LHW/PAT
f128f5977569f73c3c0b59cf0397bd94f9dfb205
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<iomanip> using namespace std; int main(){ double Poly[1001] = {0}; //多项式A int k; scanf("%d", &k); for (int i = 0; i < k;i++){ int exp; double coef; scanf("%d%lf", &exp, &coef); Poly[exp] = coef; } //多项式B scanf("%d", &k); f...
19.333333
43
0.393899
geek-LHW
846108268d520df9571e9f0d4b2f924875875a55
76,927
cpp
C++
dwarf/SB/Core/x/xLaserBolt.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
dwarf/SB/Core/x/xLaserBolt.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
dwarf/SB/Core/x/xLaserBolt.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
typedef struct static_queue_0; typedef struct RwObjectHasFrame; typedef struct RxPipelineNode; typedef struct zEntHangable; typedef struct static_queue_1; typedef enum _zPlayerWallJumpState; typedef struct RpPolygon; typedef struct xVec3; typedef struct xLaserBoltEmitter; typedef struct xEnv; typedef struct bolt; typed...
21.469997
111
0.757497
stravant
84665d3c2e7f8a41845f8a470cfb7131d230c737
212
cpp
C++
solutions/rjKdSzNl.cpp
luyencode/cpp-solutions
627397fb887654e9f5ee64cfb73d708f6f6706f7
[ "MIT" ]
60
2021-04-10T11:17:33.000Z
2022-03-23T06:15:42.000Z
solutions/rjKdSzNl.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
1
2021-08-13T11:32:27.000Z
2021-08-13T11:32:27.000Z
solutions/rjKdSzNl.cpp
letuankiet-29-10-2002/cpp-solutions
7d9cddf211af54ff207da883b469f4ddd75d5916
[ "MIT" ]
67
2021-04-10T17:32:50.000Z
2022-03-23T15:50:17.000Z
/* Sưu tầm bởi @nguyenvanhieuvn Thực hành nhiều bài tập hơn tại https://luyencode.net/ */ void Xuat(LIST l) { for(NODE* p = l.pHead; p != NULL; p = p->pNext) { printf("%4d", p->info); } }
17.666667
56
0.556604
luyencode
84680ee68589bc89dcfe67faceeb660016ab63f8
489
cpp
C++
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
test/is_unsigned.cpp
morrow1nd/mystd
77281d806c3cc2010b76e38ac236c4036a454d7e
[ "MIT" ]
null
null
null
#include "test.h" #include <inner/type_traits.h> class A {}; enum E : unsigned {}; enum class Ec : unsigned {}; enum Ecs : signed int {}; int main() { assert(is_unsigned_v<A> == false); assert(is_unsigned_v<float> == false); assert(is_unsigned_v<signed int> == false); assert(is_unsigned...
23.285714
49
0.619632
morrow1nd
846b9f3f9bf7efb24aa2c15eea48bed5a40938e1
545
cpp
C++
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owRenderNew/DX11_Creator.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // General #include "DX11_Creator.h" // Additional #include "DX11\\RenderDeviceDX11.h" #include "DX11\\RenderWindowDX11.h" RenderDevice* DX11_Creator::CreateRenderDevice() { return new RenderDeviceDX11(); } RenderWindow* DX11_Creator::CreateRenderWindow(HWND hWnd, RenderDevice* device, cstring ...
25.952381
146
0.785321
adan830
846c94fb21cd5ee6524e9ae4b0c77e222305b806
1,883
cpp
C++
src/game/shared/neotokyo/neo_controlpoint.cpp
L-Leite/neotokyo-re
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
4
2017-08-29T15:39:53.000Z
2019-06-04T07:37:48.000Z
src/game/shared/neotokyo/neo_controlpoint.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
null
null
null
src/game/shared/neotokyo/neo_controlpoint.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
1
2021-08-10T20:01:00.000Z
2021-08-10T20:01:00.000Z
#include "cbase.h" #include "neo_controlpoint.h" #include "neo_gamerules.h" IMPLEMENT_NETWORKCLASS_ALIASED( NeoControlPoint, DT_NeoControlPoint ) BEGIN_NETWORK_TABLE( CNeoControlPoint, DT_NeoControlPoint ) #ifdef CLIENT_DLL //RecvPropStringT( RECVINFO( m_Name ) ), RecvPropInt( RECVINFO( m_ID ) ), RecvPropVector( ...
21.157303
81
0.713224
L-Leite
846d3f976ffdeb9e7c9ed90bc76d471e7f6317c3
836
hpp
C++
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
null
null
null
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
1
2022-01-03T14:43:35.000Z
2022-01-03T14:43:35.000Z
src/providers/ffz/FfzBadges.hpp
1xelerate/chatterino2
57783c7478a955f5224e5025653c0f8549df12fc
[ "MIT" ]
null
null
null
#pragma once #include <boost/optional.hpp> #include <common/Singleton.hpp> #include "common/Aliases.hpp" #include "util/QStringHash.hpp" #include <map> #include <memory> #include <shared_mutex> #include <unordered_map> #include <vector> #include <QColor> namespace chatterino { struct Emote; using EmotePtr = std::...
19.904762
71
0.726077
1xelerate
84706ba1a08ca20f636eaa48a5051da425d7af2e
3,047
cpp
C++
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
src/components/timer/timer.cpp
elmerucr/E64
1f7d57fadc6804948aa832d0f5f6800a8631f622
[ "MIT" ]
null
null
null
// timer.cpp // E64 // // Copyright © 2019-2022 elmerucr. All rights reserved. #include "timer.hpp" #include "common.hpp" E64::timer_ic::timer_ic(exceptions_ic *unit) { exceptions = unit; irq_number = exceptions->connect_device(); } void E64::timer_ic::reset() { registers[0] = 0x00; // No pending irq's regist...
23.083333
70
0.628159
elmerucr
84708ed239f1a74e5abb29675b2c7273a13354c2
1,459
cpp
C++
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
Windows_Project/Test2/CollideComponent.cpp
Torbjornsson/TDA572-2019
7e281b2ac72600db57e0f128eaedccea133f9701
[ "MIT" ]
null
null
null
#include "pch.h" #include "Component.h" #include "GameObject.h" #include "avancezlib.h" void CollideComponent::Create(AvancezLib* engine, GameObject* go, std::set<GameObject*>* game_objects, ObjectPool<GameObject>* coll_objects){ Component::Create(engine, go, game_objects); this->coll_objects = coll_objects; ...
36.475
141
0.627142
Torbjornsson
847189942b8ef8644dca43e701b77473773e9657
734
cpp
C++
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
src/blink.cpp
Tivian/micro-sci
dd2c1dca912218557c1143028696b844c5ec7578
[ "MIT" ]
null
null
null
#include "blink.hpp" #include "lcd.hpp" #include <avr/io.h> #include <avr/interrupt.h> namespace Blink { namespace { volatile bool blink = false; volatile uint8_t timeout = 0; volatile uint8_t delay = 0; } void init(uint8_t delay) { speed(delay); OCR0A = 0xFF; TCCR0A |= _BV(WG...
17.902439
55
0.559946
Tivian
8472164ceb9fd8bc264bbd92078d0f1576ca5c7f
511
cpp
C++
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
c10/ex10_24.cpp
qzhang0/CppPrimer
315ef879bd4d3b51d594e33b049adee0d47e4c11
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <functional> using namespace std; using std::placeholders::_1; bool check_size(const string& s, int i) { return s.size() < i; } int main() { vector<int> ivec{0, 1, 2, 3, 4, 5, 6}; auto result = find_if(ivec.be...
19.653846
86
0.577299
qzhang0
84791dfe5d8cdbc4917e4d3e1a30a888b4ce0d9f
1,797
cpp
C++
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
null
null
null
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
2
2018-12-13T09:10:03.000Z
2018-12-22T13:52:00.000Z
src/GUI.cpp
montoyo/mgpcl
8e65d01e483124936de3650154e0e7e9586d27c0
[ "MIT" ]
null
null
null
/* Copyright (C) 2017 BARBOTIN Nicolas * * 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, publi...
24.958333
92
0.72621
montoyo
847a705867274c9681669a12d56da33ff156735a
408
cc
C++
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
32
2019-08-15T09:16:48.000Z
2020-02-09T16:23:30.000Z
atcoder/abc/079/a_good_integer.cc
boobam0618/competitive-programming
0341bd8bb240b1ed0d84cc60db91508242fc867b
[ "MIT" ]
null
null
null
#include <iostream> int main() { int n; std::cin >> n; int thousands = n / 1000; int hundreds = n / 100 % 10; int tens = n / 10 % 10; int ones = n % 10; std::string is_good_integer; if (thousands == hundreds && hundreds == tens || hundreds == tens && tens == ones) { is_good_integer = "Yes"; ...
20.4
50
0.568627
boobam0618
847b4738437e4552f902362fe840355d554d98c4
1,985
cpp
C++
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
controllers/ControllerAdaugaRefill.cpp
xiofurry/magazin-manager-project
bb0c765f87c8f08493cefcaae39ed42639229585
[ "MIT" ]
null
null
null
// // Created by xiodine on 4/19/15. // #include <sstream> #include "ControllerAdaugaRefill.h" #include "../views/ViewConsole.h" ControllerAdaugaRefill::ControllerAdaugaRefill() : Controller() { } ControllerAdaugaRefill::~ControllerAdaugaRefill() { } std::size_t ControllerAdaugaRefill::showOptions(ModelStoc &stoc...
27.569444
98
0.559194
xiofurry
847bf32da15223813d7279e6e8226808fa6e626c
10,168
cpp
C++
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/MsnPkgDlg.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain t...
28.166205
100
0.511802
RogerioY
848317df56ef0f0347b205e49b6e0ac9e30efd4d
4,861
cpp
C++
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
EjercicioiPud/EjercicioiPud/mainApartadob17-18.cpp
gejors55/Algorithm
107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533
[ "MIT" ]
null
null
null
// Examen junio 2016: Implementacion de un sistema de reproduccion de musica // APDO B: hay que reducir los costes de deleteSong y play #include "lista.h" #include "DiccionarioHash.h" #include <iostream> #include <string> using namespace std; typedef string Cancion; typedef string Artista; class SongInfo { public: ...
26.708791
123
0.67517
gejors55
848511b8fca7ca5773692746797029eb92023728
19,813
cpp
C++
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2016-10-12T09:16:32.000Z
2016-10-13T03:49:47.000Z
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2017-11-24T09:18:45.000Z
2017-11-24T09:20:53.000Z
ortc/services/cpp/services_STUNRequester.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2014, Hookflash 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 notice, this list of conditions and the fol...
41.976695
186
0.465704
ortclib
84883167c136c85e9d284932f1e8e047fa5e8c5e
190
cpp
C++
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
2
2018-10-01T09:03:35.000Z
2019-05-24T08:53:06.000Z
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
Cpp_Programs/races/luogu201809/U38228.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long t = 1, n = 1, m, k; int main(){ cin>>k>>m; while(t % m != k){ n++; t *= 10; t++; } cout<<n<<endl; return 0; }
10
29
0.463158
xiazeyu
848d3ca446afec18d09b4df45250d87f812141c1
10,758
hpp
C++
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
Systems/Engine/ComponentHierarchy.hpp
RachelWilSingh/ZeroCore
e9a2f82d395e5c89fb98eceac44ce60d016dbff3
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
/////////////////////////////////////////////////////////////////////////////// /// /// \file ComponentHierarchy.cpp /// /// Authors: Joshua Claeys /// Copyright 2015, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma once namespace Ze...
32.501511
89
0.602993
RachelWilSingh
84910428c956dcee2663eb045837180f46ac9b40
4,066
hpp
C++
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/ruby/ruby_observation.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // 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 // // ...
34.457627
95
0.615101
bburns
849d1a4611202993be04185a261a961e28f549bb
815
cpp
C++
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
7
2019-01-20T08:36:51.000Z
2021-09-04T19:03:53.000Z
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
9
2018-08-06T03:30:47.000Z
2022-03-08T17:28:07.000Z
bmc/version-handler/test/version_createhandler_unittest.cpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
4
2019-08-22T21:03:59.000Z
2021-12-17T10:00:05.000Z
#include "version_handler.hpp" #include "version_mock.hpp" #include <array> #include <utility> #include <gtest/gtest.h> namespace ipmi_flash { TEST(VersionHandlerCanHandleTest, VerifyGoodInfoMapPasses) { constexpr std::array blobs{"blob0", "blob1"}; VersionBlobHandler handler(createMockVersionConfigs(blobs)...
26.290323
64
0.741104
pzh2386034
849e873e41c7c54aa501e113692a1e59a073ebce
678
cpp
C++
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
227
2018-08-18T00:02:49.000Z
2022-03-30T00:28:10.000Z
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
16
2018-08-24T20:44:39.000Z
2021-08-24T20:05:06.000Z
real-app/src/OStreamSink.cpp
rasa/REAL
077e6fe2e6242f41bf401960562ccfecc6ca6a18
[ "MIT" ]
18
2018-12-02T16:44:21.000Z
2022-02-25T23:49:38.000Z
#include "OStreamSink.h" using namespace miniant::Spdlog; OStreamSink::OStreamSink(std::shared_ptr<std::ostream> outputStream, bool forceFlush): m_outputStream(std::move(outputStream)), m_forceFlush(forceFlush) {} std::mutex& OStreamSink::GetMutex() { return mutex_; } void OStreamSink::sink_it_(const sp...
28.25
106
0.733038
rasa
849ee3eb41d189b2cc0ad4597b63c4a8628ad4d2
2,883
cpp
C++
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
1
2021-11-05T14:44:55.000Z
2021-11-05T14:44:55.000Z
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
null
null
null
hands-on/architecture/pipeline.cpp
Hiigaran/esc21
d0d7f0fa7079edc124821e96ef677cda2a2235a1
[ "CC-BY-4.0" ]
null
null
null
#include <chrono> #include <array> #include <iostream> #include "benchmark.h" inline size_t fib(size_t n) { if (n == 0) return n; if (n == 1) return 1; return fib(n - 1) + fib(n - 2); } inline double perform_computation(int w) { return fib(w); } int main() { using namespace std; auto start = ...
25.741071
104
0.511967
Hiigaran
84a52c7a97a583936d15231606e92eca3fe64d19
824
cpp
C++
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
169
2021-05-30T10:02:19.000Z
2022-03-27T18:09:32.000Z
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
1
2021-10-02T14:46:26.000Z
2021-10-02T14:46:26.000Z
Geeks For Geeks Solutions/HashMap/Largest subarray with 0 sum.cpp
bilwa496/Placement-Preparation
bd32ee717f671d95c17f524ed28b0179e0feb044
[ "MIT" ]
44
2021-05-30T19:56:29.000Z
2022-03-17T14:49:00.000Z
#include <bits/stdc++.h> using namespace std; int maxLen(int A[], int n); int main() { int T; cin >> T; while (T--) { int N; cin >> N; int A[N]; for (int i = 0; i < N; i++) cin >> A[i]; cout << maxLen(A, N) << endl; } } // } Driver Code Ends ...
15.259259
46
0.368932
bilwa496
84a7ad34c1b7631dfbce902fcdddbbe570b70d38
19,099
cpp
C++
SoA/TestBiomeScreen.cpp
Revan1985/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
267
2018-06-03T23:05:05.000Z
2022-03-17T00:28:40.000Z
SoA/TestBiomeScreen.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
16
2018-06-05T18:59:11.000Z
2021-09-28T05:05:16.000Z
SoA/TestBiomeScreen.cpp
davidkestering/SoACode-Public
c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe
[ "MIT" ]
113
2018-06-03T23:56:13.000Z
2022-03-21T00:07:16.000Z
#include "stdafx.h" #include "TestBiomeScreen.h" #include <Vorb/ui/InputDispatcher.h> #include <Vorb/colors.h> #include "App.h" #include "ChunkRenderer.h" #include "DevConsole.h" #include "InputMapper.h" #include "Inputs.h" #include "LoadTaskBlockData.h" #include "RenderUtils.h" #include "ShaderLoader.h" #include "So...
36.941973
156
0.591392
Revan1985
84aa2b80d01d0db6875c37daed06be8580d112e4
73,265
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs47.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.IEqualityComparer`1<WindTurbineScriptableObject> struct IEqualityComparer_1_t754733F7B8BE7D6A4821...
47.025032
257
0.819969
JBrentJ
84ad32e1a1e176b44e4c9c1187af7f74d8f815c2
679
cpp
C++
solved-problems/google-coding-competitions/kick-start/2019/Practice-Round/B.Mural.cpp
developer4fun/competitive_programming
9e95945ae63d41696ca7b50f026b8fe05aec49de
[ "MIT" ]
1
2022-02-14T14:14:21.000Z
2022-02-14T14:14:21.000Z
solved-problems/google-coding-competitions/kick-start/2019/Practice-Round/B.Mural.cpp
developer4fun/competitiveProgramming
9e95945ae63d41696ca7b50f026b8fe05aec49de
[ "MIT" ]
6
2022-01-16T21:15:24.000Z
2022-03-04T15:59:28.000Z
kick-start/2019/Practice-Round/B.Mural.cpp
ggardusi/google-coding-competitions
878d0ad0a4abed6862d0667248e1008b8bb56fb5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; std::mt19937 rng(int(std::chrono::steady_clock::now().time_since_epoch().count())); int main() { std::ios_base::sync_with_stdio(0); std::cin.tie(0); std::cout.tie(0); int t; cin >> t; for (int test = 1; test <= t; test += 1) { int n; cin >> n; stri...
22.633333
83
0.46539
developer4fun
84aeafb91e3ce385a621876dfe0a650bb993fd00
6,310
cpp
C++
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
2
2022-03-03T13:51:09.000Z
2022-03-03T13:51:11.000Z
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
null
null
null
KEIHANNA_MAIN-teensy40/src/main.cpp
nakamoto800/Hercules_2022
e50347fdba847e81ffbc24f3e9a720c460e6b9f3
[ "MIT" ]
1
2022-01-29T22:19:49.000Z
2022-01-29T22:19:49.000Z
//ライブラリ読み込み #include <Arduino.h> #include <DSR1202.h> #include <U8g2lib.h> //ライブラリセットアップ DSR1202 dsr1202(1); //AQM1248Aは128 * 48 U8G2_ST7565_AK_AQM1248_F_4W_HW_SPI u8g2(U8G2_R0, 10, 34, 35); //CS, DC(RS), Reset(適当) //定数置き場 #define buzzer 33 //圧電ブザー #define button_LCD_R 27 //タクトスイッチ(右) #define button_LCD_L 32 //タクトスイ...
26.851064
105
0.538827
nakamoto800
84b04b2e4bade7acf7233e7f301da9efa80c5675
2,698
hpp
C++
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/stan/model/prob_grad.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MODEL_PROB_GRAD_HPP #define STAN_MODEL_PROB_GRAD_HPP #include <cstddef> #include <sstream> #include <stdexcept> #include <string> #include <utility> #include <vector> namespace stan { namespace model { /** * Base class for models, holding the basic parameter sizes and ...
27.814433
73
0.58636
alashworth
84b98f4c790d2dc73a44010c470c0065f47311cb
6,477
hpp
C++
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
1
2021-07-07T06:32:44.000Z
2021-07-07T06:32:44.000Z
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
null
null
null
AirLib/include/controllers/ros_flight/firmware/mode.hpp
1514louluo/AirSim
ea8bc4337a9a9bccb54243db3523ea5d67e538ea
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include "sensors.hpp" #include "rc.hpp" #include "commonstate.hpp" #include "param.hpp" namespace ros_flight { class Mode { public: typedef enum { INVALID_CONTROL_MODE, INVALID_ARMED_STATE, } error_state_t; void init(Board* _board, CommLink* _comm_li...
30.842857
195
0.582214
1514louluo
84bba774620d5c99a65288f95797b49f4a1f9e6d
5,883
cpp
C++
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
SWFFile.cpp
brucewangkorea/swfreplacer
24f01045fd7686ff8c9f97bf89199afd8d3cc0d6
[ "Apache-2.0" ]
null
null
null
/* * File: SWFFile.cpp * Author: brucewang * * Created on October 24, 2009, 9:27 PM */ #include "SWFFile.h" #include <stdlib.h> #include <stdio.h> #include <memory.h> #include "DefineEditText.h" #include "DefineJPEG2.h" #include "Exports.h" #include "DefineSprite.h" /// Destructor SWFFile::~SWFFile() { ...
25.467532
98
0.552269
brucewangkorea
84c900f63a0a150d4dc999465ce50bed7aafd72b
4,923
cpp
C++
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
1
2019-10-13T06:23:52.000Z
2019-10-13T06:23:52.000Z
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
null
null
null
XDKSamples/IntroGraphics/SimpleTriangleCppWinRT/Main.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // Main.cpp // // Entry point for Xbox One exclusive title. // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------...
28.293103
120
0.582978
ComputeWorks
84cb0f5e39663683ceab48c50756def1aa58c77f
1,028
cpp
C++
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/SumOfAllOddLengthSubarrays.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
// each array member has to be added to the sum according to the number of odd-length subarrays it appears in // each appears in 1 1-length, and 3 3-length unless it's near the edge, and 5 5-length with the same exception etc. // until the biggest odd that fits in the array length // if you're kth from the nearest edge...
42.833333
116
0.555447
SelvorWhim
84d03ca96cf0b464878f5667a6009dae43af8697
1,369
cpp
C++
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
assembler/src/symbol_table.cpp
floyza/nand2tetris-exercises
01f1e9414b6b340353f0e8478ea5d5937db1198d
[ "MIT" ]
null
null
null
#include "symbol_table.hpp" #include <iostream> #include <cassert> Symbol_table::Symbol_table() { symbol_defs["SP"] = 0; symbol_defs["LCL"] = 1; symbol_defs["ARG"] = 2; symbol_defs["THIS"] = 3; symbol_defs["THAT"] = 4; symbol_defs["SCREEN"] = 16384; symbol_defs["KBD"] = 24576; symbol_defs["R0"] = 0; symbol_de...
23.20339
85
0.661066
floyza
84d328f67b81428fbb49ac27f68235ae26554039
13,186
cpp
C++
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
src/OpenLoco/Entities/EntityManager.cpp
CyberSys/OpenLoco
e2c33334d2833aa82c30d73bdd730b2a624c56b0
[ "MIT" ]
null
null
null
#include "EntityManager.h" #include "../Console.h" #include "../Core/LocoFixedVector.hpp" #include "../Entities/Misc.h" #include "../Game.h" #include "../GameCommands/GameCommands.h" #include "../GameState.h" #include "../Interop/Interop.hpp" #include "../Localisation/StringIds.h" #include "../Map/Tile.h" #include "../...
30.665116
101
0.57781
CyberSys
84d43161872ab0cf38259fad45953b744efb9a1d
2,550
cpp
C++
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
null
null
null
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
14
2015-05-18T12:46:13.000Z
2021-09-01T11:50:06.000Z
src/util/LayoutView.cpp
korli/Album
cf7144d63f4a54a8a84c0b499cadb7da72cf5642
[ "MIT" ]
9
2015-04-26T19:01:07.000Z
2021-06-25T06:36:59.000Z
/** Copyright (c) 2006-2008 by Matjaz Kovac 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, di...
24.056604
103
0.725098
korli
84e025ddd5bba61131693ac773b610fbeed19d26
21,043
cpp
C++
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
4
2019-03-10T14:08:03.000Z
2020-01-14T15:41:29.000Z
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
null
null
null
tests/future/future_sequence_with_failures_test.cpp
opensoft/asynqro
e7d534f67a00eb47cb3e227e896c7fa3976d89a3
[ "BSD-3-Clause" ]
null
null
null
#include "copycountcontainers.h" #include "futurebasetest.h" #ifdef ASYNQRO_QT_SUPPORT # include <QLinkedList> # include <QList> # include <QVector> #endif #include <list> #include <vector> using namespace std::chrono_literals; template <typename, typename> struct InnerTypeChanger; template <template <type...
39.554511
118
0.676757
opensoft
84e08c0e96253bb5bc5846fda80a7e37d673ff52
1,500
cpp
C++
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
1
2018-08-23T17:31:23.000Z
2018-08-23T17:31:23.000Z
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
null
null
null
LPA-TPS/KnightsInFEN.cpp
OttoWBitt/LPA
706596b64b38cff690dcc624998a70bd0929ea27
[ "MIT" ]
null
null
null
/* Nome: Otto Bittencourt Matricula: 504654 LPA */ #include<iostream> #include<cstdio> #include<cstring> using namespace std; int loop = 0; char board[5][5]; char target[5][5] = { '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '0', '0', ' ', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', }...
15.625
51
0.486
OttoWBitt
84e0bb08d41b721206af82aade2a49e8c08200b3
9,365
cpp
C++
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/olenin_method_conjugate_gradient/gradient.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Olenin Sergey #include <mpi.h> #include <ctime> #include <random> #include <vector> #include "../../../modules/task_3/olenin_method_conjugate_gradient/gradient.h" std::vector<double> rand_matrix(int size) { if (0 >= size) throw "wrong matrix size"; std::default_random_engine gene; gene.seed(st...
28.207831
80
0.593914
Oskg
84e1d56ff8faac504ce60f40a4db29830ca9f906
32,087
cpp
C++
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
distributions/univariate/continuous/StableRand.cpp
aWeinzierl/RandLib
7af0237d1902aadbf2451b7dfab02c52cf98ae87
[ "MIT" ]
null
null
null
#include "StableRand.h" #include "LevyRand.h" #include "CauchyRand.h" #include "NormalRand.h" #include "UniformRand.h" #include "ExponentialRand.h" #include <functional> StableDistribution::StableDistribution(double exponent, double skewness, double scale, double location) { SetParameters(exponent, skewness, scale...
30.942141
151
0.607099
aWeinzierl
84e358c80f6bf140121735659d6c042ecb82cb30
2,325
cpp
C++
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
src/mog_train.cpp
palikar/skin_detector
2b8e776fe140136299579fbcd2e95efe716395f7
[ "MIT" ]
null
null
null
#include <mog.h> void MOG::train( std::vector<cv::Mat>& training_images, std::vector<cv::Mat>& masks ){ cv::Mat pos_samples, neg_samples; std::cout << "Organizing the data" << std::endl; // organize all the samples organizeSamples(training_images, masks, pos_samples, neg_samples); std::cout << ...
31.849315
86
0.529462
palikar
84e47bd1256f7360f5d878622043a3854d6971c0
699
cpp
C++
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
src/NoughtGraphic.cpp
That-Cool-Coder/sfml-tictactoe
af43fd32b70acd8e73b54a2feb074df93c36bc6d
[ "MIT" ]
null
null
null
#include "NoughtGraphic.hpp" NoughtGraphic::NoughtGraphic() {} NoughtGraphic::NoughtGraphic(int i_radius) { radius = i_radius; } void NoughtGraphic::draw(int xPos, int yPos, sf::RenderWindow &window, sf::Color backgroundColor) { // xPos and yPos should be pos of center m_outerShape.setFillColor(m_col...
27.96
70
0.728183
That-Cool-Coder
84e52caf5bf2e0397bacf14b940faf1faa98f580
1,259
hpp
C++
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
11
2020-02-11T20:25:48.000Z
2022-03-23T14:50:36.000Z
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
null
null
null
include/cpp/vkt/Crop.hpp
Kniggi/volkit
ca9f6eca143bb1306d743ba64d9e55057822d2e4
[ "MIT" ]
4
2020-02-11T20:25:57.000Z
2021-12-13T14:47:38.000Z
// This file is distributed under the MIT license. // See the LICENSE file for details. #pragma once #include <cstdint> #include "common.hpp" #include "forward.hpp" #include "linalg.hpp" namespace vkt { VKTAPI Error CropResize(HierarchicalVolume& dst, HierarchicalVolume& src, ...
29.97619
52
0.462272
Kniggi
84e8e7b53145f7af8ed027e2f6c6d359fdac4871
1,228
cpp
C++
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
Ass_4/C files/billu.cpp
pratik8696/Assignment
6fa02f4f7ec135b13dbebea9920eeb2a57bd1489
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { vector<int> billu; //initialization/declaration //input billu.push_back(4); //billu[0] billu.push_back(7); //billu[1] billu.push_back(18); //billu[2] billu.push_back(45); //billu[3] billu.push_back...
19.492063
51
0.488599
pratik8696