hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
1555c4ca153eb26fdd031e40311cced5b70ceaac
405
cpp
C++
C++/0739-Daily-Temperatures/soln-1.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0739-Daily-Temperatures/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0739-Daily-Temperatures/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: vector<int> dailyTemperatures(vector<int>& T) { stack<int> st; const int n = T.size(); vector<int> ans(n, 0); for(int i = 0; i < n; ++i) { while (!st.empty() && T[i] > T[st.top()]) { ans[st.top()] = i - st.top(); st...
23.823529
55
0.392593
wyaadarsh
155fa02032a320e9d3cb6fd3537c6d2d5d9a129f
11,141
cc
C++
algorithms/map-optimization-legacy/src/ba-optimization-options.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
algorithms/map-optimization-legacy/src/ba-optimization-options.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
algorithms/map-optimization-legacy/src/ba-optimization-options.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include "map-optimization-legacy/ba-optimization-options.h" #include <glog/logging.h> #include <maplab-common/conversions.h> #include <maplab-common/gravity-provider.h> DEFINE_bool( lba_fix_ncamera_intrinsics, true, "Whether or not to fix the intrinsics of the ncamera(s)."); DEFINE_bool( lba_fix_ncamera_...
45.105263
81
0.776322
AdronTech
1560bcd78ff0db310f8831074b2a41881b309ed0
991
hpp
C++
CaWE/GuiEditor/Commands/Create.hpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/GuiEditor/Commands/Create.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/GuiEditor/Commands/Create.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef CAFU_GUIEDITOR_COMMAND_CREATE_HPP_INCLUDED #define CAFU_GUIEDITOR_COMMAND_CREATE_HPP_INCLUDED #include "../../CommandPattern.hpp" #include "Templates/Pointer....
22.522727
93
0.67003
dns
15656440d6137938d28333ca28fd96f233563a26
650
cpp
C++
src/base/ev_base.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
6
2018-07-28T08:03:24.000Z
2022-03-31T08:56:57.000Z
src/base/ev_base.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
null
null
null
src/base/ev_base.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
2
2019-05-21T02:26:36.000Z
2020-04-13T16:46:20.000Z
/** * Created by Jian Chen * @since 2017.02.03 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com */ #include "socket/base/ev_base.hpp" // ----------------------------------------------------------------------------- // ev_base const int chen::ev_base::Readable = 1 << 0; const int chen::ev_ba...
24.074074
80
0.556923
chensoft
15661111768fbcc964ff4b3df494d70d7904a1d5
340
cpp
C++
789.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
789.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
789.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: bool escapeGhosts(vector<vector<int>>& ghosts, vector<int>& target) { int dist = abs(target[0]) + abs(target[1]); for(int i = 0; i < ghosts.size(); i++){ if (dist >= abs(ghosts[i][0] - target[0]) + abs(ghosts[i][1] - target[1])) return false; } re...
30.909091
100
0.532353
zfang399
15663e00dc713f393337aa82e12adf2e2ad249e2
8,070
cpp
C++
dataAQ.cpp
LearnerDroid/cs32lab06
36a2cb19b51cc7796a4e9acbd6ac5fd41139e230
[ "MIT" ]
null
null
null
dataAQ.cpp
LearnerDroid/cs32lab06
36a2cb19b51cc7796a4e9acbd6ac5fd41139e230
[ "MIT" ]
null
null
null
dataAQ.cpp
LearnerDroid/cs32lab06
36a2cb19b51cc7796a4e9acbd6ac5fd41139e230
[ "MIT" ]
null
null
null
#include "dataAQ.h" #include "demogData.h" #include "comboDemogData.h" #include "comboHospitalData.h" #include "countyDemogData.h" #include "comboHospitalData.h" #include "hospitalData.h" #include "cityHospitalData.h" #include "parse.h" #include <iostream> #include <algorithm> #include <fstream> #include <sstream> #def...
48.035714
577
0.669145
LearnerDroid
d080fb1b4f64a31c0d6a70bea15bfeba622e8b51
1,057
cpp
C++
sources/Emulator.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
2
2022-02-19T04:57:16.000Z
2022-02-19T05:45:39.000Z
sources/Emulator.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
1
2022-02-19T04:59:05.000Z
2022-02-19T11:02:17.000Z
sources/Emulator.cpp
NiwakaDev/NIWAKA_X86
ae07dcd5e006c6b48459c18efd4a65e4492ce7b4
[ "MIT" ]
null
null
null
#include "Memory.h" #include "Cpu.h" #include "IoManager.h" #include "Bios.h" #include "IntHandler.h" #include "Device.h" #include "Pic.h" #include "Emulator.h" Emulator::Emulator(Memory* memory, Bios* bios, Cpu* cpu, IoManager* io_manager){ this->mem = memory; this->bios = bios; this->cpu = cpu; this->...
26.425
86
0.601703
NiwakaDev
d081f38d1e67e302c5b176c3b84bb67b317e771e
3,049
cc
C++
src/nodal_properties.cc
andrewsolis/mpm
c6ea73d3bac177a440f0aa0a5e66829c294a00e5
[ "MIT" ]
154
2017-11-29T06:41:18.000Z
2022-03-09T23:19:05.000Z
src/nodal_properties.cc
andrewsolis/mpm
c6ea73d3bac177a440f0aa0a5e66829c294a00e5
[ "MIT" ]
707
2017-08-30T16:12:59.000Z
2022-02-25T20:33:02.000Z
src/nodal_properties.cc
andrewsolis/mpm
c6ea73d3bac177a440f0aa0a5e66829c294a00e5
[ "MIT" ]
83
2017-11-22T15:22:07.000Z
2022-03-19T17:02:51.000Z
#include "nodal_properties.h" // Function to create new property with given name and size (rows x cols) bool mpm::NodalProperties::create_property(const std::string& property, unsigned rows, unsigned columns) { // Create a matrix with size of rows times columns and insert i...
49.177419
80
0.686783
andrewsolis
d084bc1c05e1bc0f984e99276c75a9657d0fee3a
11,365
cpp
C++
paint_board.cpp
sakky016/PaintBoardWithUndo
339cf6204e36252a6974181f14ce099f6f3fbb88
[ "Apache-2.0" ]
null
null
null
paint_board.cpp
sakky016/PaintBoardWithUndo
339cf6204e36252a6974181f14ce099f6f3fbb88
[ "Apache-2.0" ]
null
null
null
paint_board.cpp
sakky016/PaintBoardWithUndo
339cf6204e36252a6974181f14ce099f6f3fbb88
[ "Apache-2.0" ]
null
null
null
#include<conio.h> #include"paint_board.h" #include<iostream> //---------------------------------------------------------------------------------------------- // @name : PaintBoard // // @description : Constructor // // @returns : Nothing //--------...
32.195467
101
0.368676
sakky016
d0851bc25b62c5768475da587a815d827f138170
9,540
cpp
C++
benchmark_apps/elmerfem/ElmerGUI/Application/twod/twodview.cpp
readex-eu/readex-apps
38493b11806c306f4e8f1b7b2d97764b45fac8e2
[ "BSD-3-Clause" ]
2
2020-11-25T13:10:11.000Z
2021-03-15T20:26:35.000Z
elmerfem/ElmerGUI/Application/twod/twodview.cpp
jcmcmurry/pipelining
8fface1a501b5050f58e7b902aacdcdde68e9648
[ "MIT" ]
null
null
null
elmerfem/ElmerGUI/Application/twod/twodview.cpp
jcmcmurry/pipelining
8fface1a501b5050f58e7b902aacdcdde68e9648
[ "MIT" ]
2
2021-08-02T23:23:40.000Z
2022-02-26T12:39:30.000Z
/***************************************************************************** * * * Elmer, A Finite Element Software for Multiphysical Problems * * * * ...
38.313253
114
0.58218
readex-eu
d0874a1724f343d76a204d0d95f37594499c8190
6,208
hpp
C++
lib/inc/thinsqlitepp/impl/statement_impl.hpp
gershnik/thinsqlitepp
c132c83c7733c1cb6173b09039ccf48d62507e49
[ "BSD-3-Clause" ]
null
null
null
lib/inc/thinsqlitepp/impl/statement_impl.hpp
gershnik/thinsqlitepp
c132c83c7733c1cb6173b09039ccf48d62507e49
[ "BSD-3-Clause" ]
null
null
null
lib/inc/thinsqlitepp/impl/statement_impl.hpp
gershnik/thinsqlitepp
c132c83c7733c1cb6173b09039ccf48d62507e49
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2019 Eugene Gershnik Use of this source code is governed by a BSD-style license that can be found in the LICENSE file or at https://github.com/gershnik/thinsqlitepp/blob/main/LICENSE */ #ifndef HEADER_SQLITEPP_STATEMENT_IMPL_INCLUDED #define HEADER_SQLITEPP_STATEMENT_IMPL_INCLUDED #include "database...
33.376344
107
0.536082
gershnik
d0883a7b1b82cffcb3238d45cffc94598e9f15a8
754
cpp
C++
codes/codeforces/OmkarandCompletion.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codeforces/OmkarandCompletion.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codeforces/OmkarandCompletion.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ #include <bits/stdc++.h> #include <st...
22.176471
61
0.460212
smmehrab
d08982cea5f4b208d7befbe2c2022ed9ef1511c1
444
cpp
C++
src/modell/objects/MTransX1.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
src/modell/objects/MTransX1.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
src/modell/objects/MTransX1.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
#include "mtransx1.h" #include "opengl2.h" MTransX1::MTransX1(void) {} MTransX1::MTransX1(MTranslation2 *command){ this->command = command; } MTransX1::~MTransX1(void) {} void MTransX1::display(OpenGL &aOpenGL){ aOpenGL.display(this); } void MTransX1::update(GLubyte aKey){ update2(); } void MTransX1::up...
15.310345
43
0.693694
hemmerling
d08a5e3c4d3f1d7cf2e2b1465b5d105aa1e5f54f
903
cpp
C++
common/stack/stackNumber.cpp
doctorsrn/manipulator_torque_controller
c276afe950448ecd03867498524f94b251f5238d
[ "MIT" ]
11
2020-01-12T19:50:43.000Z
2022-01-27T20:15:24.000Z
common/stack/stackNumber.cpp
doctorsrn/manipulator_torque_controller
c276afe950448ecd03867498524f94b251f5238d
[ "MIT" ]
2
2022-01-23T06:46:27.000Z
2022-02-21T06:17:01.000Z
coppeliaSim-client/common/stack/stackNumber.cpp
mhsitu/welding_robot
03a1a5f83049311777f948715d7bf5399dc2dbbb
[ "MIT" ]
2
2020-10-09T06:10:05.000Z
2021-11-21T13:00:13.000Z
#include "stackNumber.h" #include <sstream> CStackNumber::CStackNumber(double n) { _objectType=STACK_NUMBER; _value=n; } CStackNumber::~CStackNumber() { } std::string CStackNumber::toString() const { std::stringstream ss; ss << _value; return(ss.str()); } float CStackNumber::getFloatValue() { ...
13.681818
50
0.682171
doctorsrn
d08b77bb54317f62de909d6d66f83bb5501b9761
6,536
cpp
C++
src/Bloom.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
1
2020-10-26T17:53:33.000Z
2020-10-26T17:53:33.000Z
src/Bloom.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
src/Bloom.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
#include "Bloom.hpp" namespace OGL { Bloom::Bloom( Shader &&downsamplingShader, Shader &&horizontalBlurShader, Shader &&verticalBlurShader, Shader &&combineShader, glm::vec3 thresHold ) : m_downsamplingShader{ std::move(downsamplingShader) }, m_horizontalBlurSha...
33.177665
116
0.626224
sltn011
d08f48515301709c5cccfcabeb509b06d4533129
9,122
cpp
C++
src/RTL/Component/SceneGraph/CIFXViewResource.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
44
2016-05-06T00:47:11.000Z
2022-02-11T06:51:37.000Z
src/RTL/Component/SceneGraph/CIFXViewResource.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
3
2016-06-27T12:37:31.000Z
2021-03-24T12:39:48.000Z
src/RTL/Component/SceneGraph/CIFXViewResource.cpp
alemuntoni/u3d
7907b907464a2db53dac03fdc137dcb46d447513
[ "Apache-2.0" ]
15
2016-02-28T11:08:30.000Z
2021-06-01T03:32:01.000Z
//*************************************************************************** // // Copyright (c) 1999 - 2006 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 // // ...
21.822967
85
0.725828
alemuntoni
d09020f7e8459f220d23b95a8e19f661d505174f
7,664
hpp
C++
include/Topics.hpp
juliusHuelsmann/Logger
8fd61f0318229dfdbb334a0d41e71fd48cd74979
[ "Apache-2.0" ]
null
null
null
include/Topics.hpp
juliusHuelsmann/Logger
8fd61f0318229dfdbb334a0d41e71fd48cd74979
[ "Apache-2.0" ]
7
2018-11-02T21:44:06.000Z
2018-11-19T09:13:36.000Z
include/Topics.hpp
juliusHuelsmann/Logger
8fd61f0318229dfdbb334a0d41e71fd48cd74979
[ "Apache-2.0" ]
null
null
null
#ifndef _TOPICS_HPP_ #define _TOPICS_HPP_ #include <outputHandler/OutputHandler.h> #include <outputHandler/StdIo.h> #include <SlogConstants.h> #include <guard/MutexReturn.h> #include <topics/Topic.h> #include <iostream> #include <sstream> #include <string> #include <ctime> #include <algorithm> #include <cassert> #in...
32.752137
85
0.626174
juliusHuelsmann
d092a46ac91962e86187d573f3cfc211ffd2c2a4
3,372
cc
C++
src/4env/env.cc
romz-pl/upscaledb
781206f75a9f49b67dc0cd2c0e191435e60f4693
[ "Apache-2.0" ]
null
null
null
src/4env/env.cc
romz-pl/upscaledb
781206f75a9f49b67dc0cd2c0e191435e60f4693
[ "Apache-2.0" ]
9
2018-05-05T08:01:58.000Z
2018-05-07T19:10:01.000Z
src/4env/env.cc
romz-pl/upscaledb
781206f75a9f49b67dc0cd2c0e191435e60f4693
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2005-2017 Christoph Rupp (chris@crupp.de). * * 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 ...
24.794118
75
0.674081
romz-pl
d0957ef912818acc8cea594b0348d71d21daf660
467
cpp
C++
2DProject2ndYear/main.cpp
ryan0432/AIE_PhysicsBS
0ed7181b2e0624174e28dfa7b2035f8f1e597198
[ "MIT" ]
null
null
null
2DProject2ndYear/main.cpp
ryan0432/AIE_PhysicsBS
0ed7181b2e0624174e28dfa7b2035f8f1e597198
[ "MIT" ]
null
null
null
2DProject2ndYear/main.cpp
ryan0432/AIE_PhysicsBS
0ed7181b2e0624174e28dfa7b2035f8f1e597198
[ "MIT" ]
null
null
null
#include "_2DProject2ndYearApp.h" #include "PhysicsEngineApp.h" #include "BrickTest.h" #include <vld.h> // visual leak detection #include <crtdbg.h> // traditional method to check memory leak #include <Imgui.h> int main() { // leak detection //_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); // alloc...
20.304348
64
0.721627
ryan0432
d096b820283b096111d61c95bab22b4f663a60ea
4,742
cpp
C++
codeforce/E53/E53G.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
codeforce/E53/E53G.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
codeforce/E53/E53G.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <string> #include <tuple> #include <string> using namespace std; struct SuffixDataStructure { const std::vector<int> &a; std::vector<int> sa; std::vector<int> isa; std::vector<int> lcp; std::vector<int> lg; std::vector<std::vector<int> > ...
23.475248
131
0.412273
heiseish
d097074d91e884566fb39e3e198fa2f261f1aca7
497
cpp
C++
boost.asio/chapter01/passive-socket/main.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
boost.asio/chapter01/passive-socket/main.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
boost.asio/chapter01/passive-socket/main.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
#include <boost/asio.hpp> #include <iostream> int main() { namespace asio = boost::asio; // step 1 asio::io_service ios; // step 2 asio::ip::tcp protocal = asio::ip::tcp::v6(); // step 3 asio::ip::tcp::acceptor acceptor(ios); boost::system::error_code ec; acceptor.open(protocal, ec); if (ec.value() != 0) { ...
23.666667
66
0.627767
pvthuyet
d09b2be2b7726c9cf8ff5138d01db8578843a47c
3,509
cpp
C++
lib-input/src/buttonsadafruit.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
5
2019-04-25T20:03:19.000Z
2021-12-29T23:28:17.000Z
lib-input/src/buttonsadafruit.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
null
null
null
lib-input/src/buttonsadafruit.cpp
rodb70/rpidmx512
6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd
[ "MIT" ]
1
2021-12-31T01:33:02.000Z
2021-12-31T01:33:02.000Z
#if defined (RASPPI) /** * @file buttonsadafruit.cpp * */ /* Copyright (C) 2017-2019 by Arjan van Vught mailto:info@orangepi-dmx.nl * * 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 wi...
28.762295
147
0.708179
rodb70
d09bf2248e5a222dabaf7e3d6e9a71116894d5de
352
cc
C++
webkit/media/android/webmediaplayer_proxy_android.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
webkit/media/android/webmediaplayer_proxy_android.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
webkit/media/android/webmediaplayer_proxy_android.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "webkit/media/android/webmediaplayer_proxy_android.h" namespace webkit_media { WebMediaPlayerProxyAndroid::~WebMediaPlayerProxyAndroid() {}...
29.333333
73
0.778409
quisquous
d09c65f9434d047f6393f2ab7424074d5f8682f2
30,055
cpp
C++
src/Button.cpp
cclark2a/SchmickleWorks
6945cc443c1a65426770b11f0de1b44b5fdcbd85
[ "Unlicense" ]
15
2018-02-19T19:45:32.000Z
2020-07-23T07:23:37.000Z
src/Button.cpp
cclark2a/SchmickleWorks
6945cc443c1a65426770b11f0de1b44b5fdcbd85
[ "Unlicense" ]
24
2018-08-09T13:49:40.000Z
2019-11-08T19:31:55.000Z
src/Button.cpp
cclark2a/SchmickleWorks
6945cc443c1a65426770b11f0de1b44b5fdcbd85
[ "Unlicense" ]
null
null
null
#include "Button.hpp" #include "Display.hpp" #include "Taker.hpp" #include "Wheel.hpp" #include "Widget.hpp" // try to get rest working as well as note void AdderButton::onDragEndPreamble(const event::DragEnd& e) { // insertLoc, shiftTime set by caller shiftLoc = insertLoc + 1; startTime = this->ntw()->n()...
35.950957
108
0.598669
cclark2a
d09d725432a318c583c8b59538636389100bc3c1
3,102
cpp
C++
Sources/Elastos/LibCore/src/elastos/net/SocketImpl.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
1
2019-04-15T13:08:56.000Z
2019-04-15T13:08:56.000Z
Sources/Elastos/LibCore/src/elastos/net/SocketImpl.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastos/net/SocketImpl.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
null
null
null
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
23.861538
84
0.652482
xiaoweiruby
d09e4be5225b159e0973d74a71e0c31dd158ee78
1,854
tpp
C++
rb_tree/includes/btree_delete.tpp
paulahemsi/ft_containers
c7d6c878c25bf4faeb60f86f977639c8a7006776
[ "MIT" ]
1
2022-03-02T15:14:16.000Z
2022-03-02T15:14:16.000Z
rb_tree/includes/btree_delete.tpp
paulahemsi/ft_containers
c7d6c878c25bf4faeb60f86f977639c8a7006776
[ "MIT" ]
73
2021-12-11T18:54:53.000Z
2022-03-28T01:32:52.000Z
rb_tree/includes/btree_delete.tpp
paulahemsi/ft_containers
c7d6c878c25bf4faeb60f86f977639c8a7006776
[ "MIT" ]
null
null
null
#ifndef BTREE_DELETE_TPP #define BTREE_DELETE_TPP #include "btree.tpp" #include "btree_create_node.tpp" #include "btree_delete_rules.tpp" template <class T> ft::btree<T> * find_neighbor(ft::btree<T> *node) { if (!is_nil(node->left)) return (find_predecessor_below(node->left)); else return (find_successor_below...
25.054054
80
0.735707
paulahemsi
d09fcd04433388bfb34be49d83d963aee00c6a5c
634
cpp
C++
leetcode/two_sum/leetcode_804.cpp
HuangJingGitHub/PracMakePert_C
94e570c55d9e391913ccd9c5c72026ab926809b2
[ "Apache-2.0" ]
1
2019-10-17T03:13:29.000Z
2019-10-17T03:13:29.000Z
leetcode/two_sum/leetcode_804.cpp
HuangJingGitHub/PracMakePert_C-Cpp
6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5
[ "Apache-2.0" ]
null
null
null
leetcode/two_sum/leetcode_804.cpp
HuangJingGitHub/PracMakePert_C-Cpp
6ed39e757ad8ba7bdd75fffdaf28d17a294a11e5
[ "Apache-2.0" ]
null
null
null
class Solution { public: int uniqueMorseRepresentations(vector<string>& words) { vector<string> dic{".-","-...","-.-.","-..",".","..-.","--.", "....","..",".---","-.-",".-..","--","-.", "---",".--.","--.-",".-.","...","-","..-", ...
31.7
70
0.324921
HuangJingGitHub
d0a12678e771de4ce7b18142dfdb630718a0f0ba
466
hpp
C++
transmission_interface_extensions/include/transmission_interface_extensions/common_namespaces.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
transmission_interface_extensions/include/transmission_interface_extensions/common_namespaces.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
null
null
null
transmission_interface_extensions/include/transmission_interface_extensions/common_namespaces.hpp
smilerobotics/ros_control_extensions
1eee21217708dcee80aa3d91b2c6415c1f4feffa
[ "MIT" ]
1
2021-10-14T06:37:36.000Z
2021-10-14T06:37:36.000Z
#ifndef TRANSMISSION_INTERFACE_EXTENSIONS_COMMON_NAMESPACES_HPP #define TRANSMISSION_INTERFACE_EXTENSIONS_COMMON_NAMESPACES_HPP namespace hardware_interface {} namespace hardware_interface_extensions {} namespace transmission_interface {} namespace transmission_interface_extensions { namespace hi = hardware_interfa...
29.125
63
0.879828
smilerobotics
d0a285f3f8a5506ab698fd1dc084435df009c5ba
1,457
cpp
C++
slUtil.cpp
FigBug/slCommon
b49d31c4f2f131506fe5ac53f2ac6e47b3ee109b
[ "MIT" ]
null
null
null
slUtil.cpp
FigBug/slCommon
b49d31c4f2f131506fe5ac53f2ac6e47b3ee109b
[ "MIT" ]
null
null
null
slUtil.cpp
FigBug/slCommon
b49d31c4f2f131506fe5ac53f2ac6e47b3ee109b
[ "MIT" ]
null
null
null
#include "slUtil.h" LevelTracker::LevelTracker (float decayPerSecond) : decayRate (decayPerSecond) { } void LevelTracker::trackBuffer (AudioSampleBuffer& buffer) { for (int i = 0; i < buffer.getNumChannels(); i++) trackBuffer (buffer.getReadPointer (0), buffer.getNumSamples()); } void LevelTr...
24.694915
84
0.59849
FigBug
d0a2bdd276f46fbf2b4a70e42e3ec1638d8e9b3b
4,013
cpp
C++
CS2370/Labs/LabVectorT/Vector.cpp
Davidjbennett/DavidBennett.github.io
09a2652b7ace8741bf23c6432abd58ee790b9f0c
[ "MIT" ]
3
2021-05-18T16:17:29.000Z
2022-01-20T15:46:59.000Z
CS2370/Labs/LabVectorT/Vector.cpp
Davidjbennett/DavidBennett
09a2652b7ace8741bf23c6432abd58ee790b9f0c
[ "MIT" ]
null
null
null
CS2370/Labs/LabVectorT/Vector.cpp
Davidjbennett/DavidBennett
09a2652b7ace8741bf23c6432abd58ee790b9f0c
[ "MIT" ]
null
null
null
#include "Vector.h" #include "test.h" #include <iostream> #include <cstddef> #include <stdexcept> using namespace std; using std::size_t; // constructor Vector::Vector(){ data_ptr = new int[CHUNK]; capacity = CHUNK; n_elems = 0; } // copy constructor Vector::Vector(const Vector &v){ this->capacity = v....
23.605882
75
0.58161
Davidjbennett
d0a3baceee4f28ff0f39f64bf7f5268ee7ac5a7c
28
cpp
C++
PictureFrame/src/propertyhelper.cpp
taiko000/PictureFrame
9895f46b64f365618caa968d5fa1769e4c53d90b
[ "Apache-2.0" ]
null
null
null
PictureFrame/src/propertyhelper.cpp
taiko000/PictureFrame
9895f46b64f365618caa968d5fa1769e4c53d90b
[ "Apache-2.0" ]
null
null
null
PictureFrame/src/propertyhelper.cpp
taiko000/PictureFrame
9895f46b64f365618caa968d5fa1769e4c53d90b
[ "Apache-2.0" ]
null
null
null
#include "propertyhelper.h"
14
27
0.785714
taiko000
d0a4d865cadc72f67e6388db2cc36154818ba265
12,460
cpp
C++
clf_object_recognition_merger/src/object_merger.cpp
CentralLabFacilities/clf_object_recognition
f4579980682687c3706c1dded8a255903795097d
[ "Apache-2.0" ]
2
2019-01-22T05:00:05.000Z
2019-01-22T05:00:20.000Z
clf_object_recognition_merger/src/object_merger.cpp
CentralLabFacilities/clf_object_recognition
f4579980682687c3706c1dded8a255903795097d
[ "Apache-2.0" ]
null
null
null
clf_object_recognition_merger/src/object_merger.cpp
CentralLabFacilities/clf_object_recognition
f4579980682687c3706c1dded8a255903795097d
[ "Apache-2.0" ]
null
null
null
// ros #include <ros/ros.h> // msg #include <vision_msgs/Detection3D.h> #include <vision_msgs/Detection3DArray.h> #include <vision_msgs/Detection2D.h> #include <vision_msgs/Detection2DArray.h> #include <vision_msgs/ObjectHypothesisWithPose.h> // srv #include <clf_object_recognition_msgs/Detect3D.h> #include <clf_obje...
38.220859
180
0.662119
CentralLabFacilities
d0a5cbdbef2939103c237028f888b0bd3fe9c230
10,566
hpp
C++
generic_ext/comm_tool_scatter.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
generic_ext/comm_tool_scatter.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
generic_ext/comm_tool_scatter.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
/**************************************************************************************************/ /** * @file comm_tool_scatter.hpp * @brief STL container wrapper for PS::Comm::scatter() */ /**************************************************************************************************/ #pragma once #include <c...
39.27881
138
0.530475
Tokumasu-Lab
d0a772d51042d726237c37e9f95db81912eb93f5
382
cpp
C++
acm/contest/7.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
acm/contest/7.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
acm/contest/7.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> using namespace std; int main(int argc, char const *argv[]){ int a,b; cin>>a>>b; map<int,int> mp; for(int i=1;i<=b;i++){ for(int j=(a/i)*i;j<=b;j+=i){ mp[j]+=i; } } long long int sum=0; for(int i=a;i<=b;i++){ //c...
15.916667
39
0.575916
AadityaJ
d0a868938d64c864bda8abfd03170595f625ed70
2,468
cpp
C++
moai/src/moaicore/MOAICollisionShape.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAICollisionShape.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAICollisionShape.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <moaicore/MOAICollisionShape.h> //================================================================// // MOAICollisionShape //================================================================// //-------...
29.035294
81
0.449757
jjimenezg93
d0a96f7199b16477408266572e239c0516121321
11,031
cpp
C++
data/8.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/8.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/8.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int o3At,E7 ,NPTt ,yQV,oY ,rs3s//oDd , BJfEsB ,klq ,Dhv1 //j ,MQ , N2 ,QXu, nn4 , IlemB , MvE,/*vd6V*/ NZ ,X , nuYH, zAc,rwvjkO//U1Rd //k , WPltg ,Zd,AL , qndos , //GA26v IDDAh6, A ,/*zM72*/Po4hp , /*Q*/EaG, Y5ia , kH , LybZ , Af3M, l/*sV*/ , D2Rch, BhdS //Js3H , YeG ,Xc,yjc0 , Ou , Cj ,...
10.987052
76
0.458526
TianyiChen
d0af510f34f2f8a51519428af0ce2e5d1278127b
12,282
cpp
C++
src/lib/utils/meta_table_manager.cpp
nannancy/hyrise
a22d270b0692a24605fe02937cbd070ee4b8ebcb
[ "MIT" ]
null
null
null
src/lib/utils/meta_table_manager.cpp
nannancy/hyrise
a22d270b0692a24605fe02937cbd070ee4b8ebcb
[ "MIT" ]
11
2019-12-02T20:47:52.000Z
2020-02-04T23:19:31.000Z
src/lib/utils/meta_table_manager.cpp
nannancy/hyrise
a22d270b0692a24605fe02937cbd070ee4b8ebcb
[ "MIT" ]
null
null
null
#include "meta_table_manager.hpp" #include "constant_mappings.hpp" #include "hyrise.hpp" #include "resolve_type.hpp" #include "statistics/table_statistics.hpp" #include "storage/base_encoded_segment.hpp" #include "storage/dictionary_segment.hpp" #include "storage/fixed_string_dictionary_segment.hpp" #include "storage/...
51.605042
120
0.650708
nannancy
d0b0709cdd17548982516f20f0fed6741ecab45c
1,200
cpp
C++
Assignment4/1025.6.34.cpp
cebarobot/Data-Structures-UCAS
26d47f96b3b985b921a05e901b5d72713501baa4
[ "MIT" ]
2
2022-02-04T07:05:38.000Z
2022-03-29T11:16:30.000Z
Assignment4/1025.6.34.cpp
cebarobot/Data-Structures-UCAS
26d47f96b3b985b921a05e901b5d72713501baa4
[ "MIT" ]
null
null
null
Assignment4/1025.6.34.cpp
cebarobot/Data-Structures-UCAS
26d47f96b3b985b921a05e901b5d72713501baa4
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <cstdio> #include <algorithm> using namespace std; const int maxn = 110; int array_L[maxn]; int array_R[maxn]; int array_T[maxn]; bool is_parent(int uu, int vv) { // printf("---%d %d\n", uu, vv); if (uu == vv) { return true; } if (array_T[vv]) { ...
19.354839
43
0.4225
cebarobot
d0b11866e091002fc395d58222a1a7109b90bafb
1,588
cpp
C++
aashishgahlawat/codeforces/E/166-E/166-E-32309345.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/E/166-E/166-E-32309345.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/E/166-E/166-E-32309345.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define mp make_pair #define pb push_back #define len(a) (int)a.size() #define all(a) (a.begin(),a.end()) #define fi first #define sc second #define ort(x,y) (x+y)/2 #define endl '\n' #define FAST ios_base::sync_with_stdio(false); #define d1(x) cerr<<#x<<":"<<x<<endl; #defi...
24.8125
117
0.564232
aashishgahlawat
d0b415cc938c7f9172b5af466464ef30381115a5
35,033
cpp
C++
src/lib/operators/aggregate.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/lib/operators/aggregate.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/lib/operators/aggregate.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#include "aggregate.hpp" #include <algorithm> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "constant_mappings.hpp" #include "resolve_type.hpp" #include "scheduler/abstract_task.hpp" #include "scheduler/current_scheduler.hpp" #include "s...
42.056423
120
0.706277
IanJamesMcKay
d0b8ce1cfba602d6ad9bd5cffcca7c37ee3c3ec9
442
cpp
C++
samples/unit_test/test.cpp
vagran/adk
1cf18aeca58444fc8ff59b29a4c25e22d5e50bb2
[ "BSD-3-Clause" ]
3
2015-10-12T06:06:00.000Z
2020-01-17T18:16:18.000Z
samples/unit_test/test.cpp
vagran/adk
1cf18aeca58444fc8ff59b29a4c25e22d5e50bb2
[ "BSD-3-Clause" ]
null
null
null
samples/unit_test/test.cpp
vagran/adk
1cf18aeca58444fc8ff59b29a4c25e22d5e50bb2
[ "BSD-3-Clause" ]
null
null
null
/* This file is a part of ADK library. * Copyright (c) 2012-2015, Artyom Lebedev <artyom.lebedev@gmail.com> * All rights reserved. * See LICENSE file for copyright details. */ /** @file test.cpp * Sample unit test implementation. */ #include <adk_ut.h> #include "component/component.h" UT_TEST("Sample test") {...
19.217391
69
0.667421
vagran
d0b9ab84b7453162a1bceeee651d4ad7befcbb19
714
cpp
C++
JAL/PAT/Medium/1021.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
JAL/PAT/Medium/1021.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
JAL/PAT/Medium/1021.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; using piir = pair<int, int>; template <typename T = int> inline void oo(string str, T val) { cerr << str << val << endl; } template <typename T = int> inline T read() { T x; cin >> x; return x; } #define endl '\n' #define FOR(i, x, y) \ fo...
21
67
0.558824
webturing
d0c2975064906077a5fc556f6d0a1756bbc3a948
565
cc
C++
test/mocks/upstream/cluster.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
test/mocks/upstream/cluster.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
test/mocks/upstream/cluster.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include "cluster.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace Envoy { namespace Upstream { using ::testing::_; using ::testing::Invoke; using ::testing::Return; MockCluster::MockCluster() { ON_CALL(*this, info()).WillByDefault(Return(info_)); ON_CALL(*this, initialize(_)) .WillByDefault(I...
23.541667
76
0.686726
dcillera
d0c327df56e5ab30e0b0660b5d1ce80c5951629c
52,074
cpp
C++
tests/RoundRectTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
tests/RoundRectTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
tests/RoundRectTest.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkMatrix.h" #include "include/core/SkRRect.h" #include "include/pathops/SkPathOps.h" #include "include/utils/SkRandom.h" #include "src/core/SkPointPriv....
40.026134
100
0.634002
NearTox
d0c577cd46beffe2d8a2321287d9a7881fe253aa
1,777
cpp
C++
project/src/Leaderboard.cpp
lorenzovngl/progetto-grafica
0f222e62da703c323cdc0f7edb39ee89d3fe566a
[ "MIT" ]
null
null
null
project/src/Leaderboard.cpp
lorenzovngl/progetto-grafica
0f222e62da703c323cdc0f7edb39ee89d3fe566a
[ "MIT" ]
null
null
null
project/src/Leaderboard.cpp
lorenzovngl/progetto-grafica
0f222e62da703c323cdc0f7edb39ee89d3fe566a
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #ifdef __APPLE__ #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #endif #include "headers/Leaderboard.h" Leaderboard::Leade...
24.342466
118
0.608329
lorenzovngl
d0c69747e40715b632f725eaaa10ec3221eca15b
2,506
cc
C++
rxcppuniq/base/monitoring.cc
google/rxcppuniq
2c21f54de1d0d9c3ddb392f2cb83a3de540ba72a
[ "Apache-2.0" ]
9
2019-09-11T17:16:29.000Z
2022-02-26T07:02:38.000Z
rxcppuniq/base/monitoring.cc
google/rxcppuniq
2c21f54de1d0d9c3ddb392f2cb83a3de540ba72a
[ "Apache-2.0" ]
1
2019-09-11T17:51:25.000Z
2019-09-11T18:10:26.000Z
rxcppuniq/base/monitoring.cc
google/rxcppuniq
2c21f54de1d0d9c3ddb392f2cb83a3de540ba72a
[ "Apache-2.0" ]
6
2019-11-06T17:20:49.000Z
2021-10-14T16:08:05.000Z
/* * Copyright 2017 Google LLC * * 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 ...
27.844444
79
0.655626
google
d0c98eb31a226532c4a5029954799c1c75cf8359
906
cpp
C++
CSES/Sorting And Searching/ArrayDivision.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
32
2020-05-23T07:40:31.000Z
2021-02-02T18:14:30.000Z
CSES/Sorting And Searching/ArrayDivision.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
45
2020-05-22T10:30:51.000Z
2020-12-28T08:17:13.000Z
CSES/Sorting And Searching/ArrayDivision.cpp
ShraxO1/OneDayOneAlgo
68fe90f642985680e4014fdd1fe2ecd30097661d
[ "MIT" ]
31
2020-05-22T10:18:16.000Z
2020-10-23T07:52:35.000Z
#include <iostream> #include<map> #include<vector> #include<algorithm> using namespace std; #define OJ \ freopen("input.txt", "r", stdin); \ freopen("output.txt", "w", stdout); #define FIO \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
19.695652
61
0.442605
ShraxO1
d0ca3b6854e3be3a7201824ce806213f065e94ad
26,020
cpp
C++
Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenManifest.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenManifest.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Developer/BlueprintNativeCodeGen/Private/BlueprintNativeCodeGenManifest.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "BlueprintNativeCodeGenManifest.h" #include "UObject/Package.h" #include "Misc/FileHelper.h" #include "Misc/Paths.h" #include "Misc/App.h" #include "Engine/Blueprint.h" #include "Dom/JsonObject.h" #include "Serialization/JsonReader.h" #include "Seri...
41.76565
272
0.664796
windystrife
d0cbb04c1d00f83a39b1d1ab3677595c2e9d10ec
1,521
cpp
C++
Model-View/DataRole/main.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
Model-View/DataRole/main.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
Model-View/DataRole/main.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
#include <QApplication> #include <QDebug> #include <QStandardItemModel> #include <QTreeView> int main(int argc, char **argv) { QApplication app(argc, argv); QStandardItemModel model; QStandardItem *parentItem = model.invisibleRootItem(); QStandardItem *item0 = new QStandardItem; item0->setText("...
29.823529
85
0.65812
BigWhiteCat
d0cf57e8f7a16229a3cd5592a4f6af0830658218
12,406
hpp
C++
include/scrollgrid/scrollgrid2.hpp
castacks/scrollgrid
710324173907a182eb688effcf1c9ec998ade1e0
[ "BSD-3-Clause" ]
9
2017-07-20T23:04:49.000Z
2021-11-12T08:03:10.000Z
include/scrollgrid/scrollgrid2.hpp
castacks/scrollgrid
710324173907a182eb688effcf1c9ec998ade1e0
[ "BSD-3-Clause" ]
null
null
null
include/scrollgrid/scrollgrid2.hpp
castacks/scrollgrid
710324173907a182eb688effcf1c9ec998ade1e0
[ "BSD-3-Clause" ]
3
2018-04-06T16:41:58.000Z
2022-03-12T01:39:22.000Z
/** * Copyright (c) 2015 Carnegie Mellon University, Daniel Maturana <dimatura@cmu.edu> * * For License information please see the LICENSE file in the root directory. * */ #ifndef SCROLLGRID2_HPP_YPBBYE5Q #define SCROLLGRID2_HPP_YPBBYE5Q #include <math.h> #include <stdint.h> #include <vector> #include <Eigen/C...
30.258537
116
0.664759
castacks
d0d3fb20075e27b3eff9598a173568f29a0d07f8
4,613
cc
C++
asylo/test/loader/loader_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
asylo/test/loader/loader_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
asylo/test/loader/loader_test.cc
qinkunbao/asylo
6c6c4a185a1ee927996b43a060d924a49548d999
[ "Apache-2.0" ]
null
null
null
/* * * Copyright 2017 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
28.83125
76
0.725775
qinkunbao
d0d687d7117b4d3bca1064af8409fc259ebbbb2f
2,149
cpp
C++
totp/TOTP.cpp
galilov/youtube-microcontrollers
0c02e335eb01b5675e9aaadf664e4b7c0517a4fa
[ "Unlicense" ]
null
null
null
totp/TOTP.cpp
galilov/youtube-microcontrollers
0c02e335eb01b5675e9aaadf664e4b7c0517a4fa
[ "Unlicense" ]
null
null
null
totp/TOTP.cpp
galilov/youtube-microcontrollers
0c02e335eb01b5675e9aaadf664e4b7c0517a4fa
[ "Unlicense" ]
null
null
null
// OpenAuthentication Time-based One-time Password Algorithm (RFC 6238) // For the complete description of the algorithm see // http://tools.ietf.org/html/rfc4226#section-5.3 // // Luca Dentella (http://www.lucadentella.it) #include "TOTP.h" #include "Sha1.h" // Init the library with the private key, its length and t...
32.074627
99
0.657515
galilov
d0d7621e0178cdd4706c0cc2f5144a7b83515a48
5,487
cpp
C++
src/database/models.cpp
ogoes/hash
a2cf27e1fe0ba6bb78b1008fd32a4b06e60cd7c6
[ "MIT" ]
null
null
null
src/database/models.cpp
ogoes/hash
a2cf27e1fe0ba6bb78b1008fd32a4b06e60cd7c6
[ "MIT" ]
null
null
null
src/database/models.cpp
ogoes/hash
a2cf27e1fe0ba6bb78b1008fd32a4b06e60cd7c6
[ "MIT" ]
null
null
null
#include "database/models.h" using namespace models; Player::Player () {} Player::~Player () {} Player* Player::set_id ( uint id ) { this->id = id; this->has_id = true; return this; } Player* Player::set_username ( std::string username ) { this->username = username; this->has_username = true; ...
23.650862
80
0.549116
ogoes
d0e2fd2f550b346519cc9e222304baaa651d8683
1,299
cpp
C++
ejercicios/cocineros/chef.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
1
2018-02-22T12:33:44.000Z
2018-02-22T12:33:44.000Z
ejercicios/cocineros/chef.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
ejercicios/cocineros/chef.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <mutex> #include "../../hilos/semaphore.cpp" #include "recipe.cpp" mutex knife; mutex oven; Semaphore semaphore; class Chef { void cut(Recipe* r) { lock_guard<mutex> guard(knife); for (int i = 0; i < r->cuttingTime; i++) { std::cout << name...
24.980769
65
0.458814
jrinconada
d0e8105c9fc484adf8a360f7427a674672bb6d84
9,379
cpp
C++
src/chainsim/PuyoField.cpp
puyogg/puyo-chain-detector
b71811759c31dc5041d4f3b2d1c89bf7bec0d89f
[ "MIT" ]
5
2020-09-14T14:03:58.000Z
2022-01-21T04:03:08.000Z
src/chainsim/PuyoField.cpp
puyogg/puyo-chain-detector
b71811759c31dc5041d4f3b2d1c89bf7bec0d89f
[ "MIT" ]
5
2021-02-13T03:11:13.000Z
2022-03-12T00:54:25.000Z
src/chainsim/PuyoField.cpp
puyogg/puyo-chain-detector
b71811759c31dc5041d4f3b2d1c89bf7bec0d89f
[ "MIT" ]
2
2020-08-15T14:59:14.000Z
2020-08-15T16:34:53.000Z
#include "Fields.hpp" #include <queue> #include <iostream> namespace Chainsim { // Puyo Field class PuyoField::PuyoField() : Field<Color>(DEFAULT_ROWS, DEFAULT_COLS), m_hrows{ DEFAULT_HROWS }, m_puyoToPop{ DEFAULT_PUYOTOPOP } { m_data = std::vector<Color>(m_cols * m_rows, Color::NONE); m_bool ...
28.681957
139
0.549739
puyogg
d0e87fc80e8037fbf633aba724f01d79af7774ae
189
hh
C++
extern/polymesh/src/polymesh/detail/math.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/detail/math.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/detail/math.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once namespace polymesh::detail { template <class ScalarT> struct pos3 { ScalarT x; ScalarT y; ScalarT z; }; using pos3f = pos3<float>; using pos3d = pos3<double>; }
11.117647
27
0.666667
rovedit
d0ea73981db21847986e53689154cf0fbab6d01b
365
hpp
C++
Lodestar/aux/AlgebraicOperators.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
4
2020-06-05T14:08:23.000Z
2021-06-26T22:15:31.000Z
Lodestar/aux/AlgebraicOperators.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
2
2021-06-25T15:14:01.000Z
2021-07-01T17:43:20.000Z
Lodestar/aux/AlgebraicOperators.hpp
helkebir/Lodestar
6b325d3e7a388676ed31d44eac1146630ee4bb2c
[ "BSD-3-Clause" ]
1
2021-06-16T03:15:23.000Z
2021-06-16T03:15:23.000Z
// // Created by Hamza El-Kebir on 6/12/21. // #ifndef LODESTAR_ALGEBRAICOPERATORS_HPP #define LODESTAR_ALGEBRAICOPERATORS_HPP enum class AlgebraicOperators { Addition, Subtraction, Multiplication, Division, Exponentiation }; template <AlgebraicOperators... TOps> struct AlgebraicOperatorsPack { ...
16.590909
40
0.761644
helkebir
d0ed33f29a6797137fd5f3b159c3b53a2111102c
5,114
cpp
C++
LV5-Using virtual base class/Zadatci_LV5/Zadatci_LV5.cpp
MarioSomodi/Objektno-Orijentirano-Programiranje
f1aaa8162faddf6101721eafa413d00ccf6ff858
[ "MIT" ]
null
null
null
LV5-Using virtual base class/Zadatci_LV5/Zadatci_LV5.cpp
MarioSomodi/Objektno-Orijentirano-Programiranje
f1aaa8162faddf6101721eafa413d00ccf6ff858
[ "MIT" ]
null
null
null
LV5-Using virtual base class/Zadatci_LV5/Zadatci_LV5.cpp
MarioSomodi/Objektno-Orijentirano-Programiranje
f1aaa8162faddf6101721eafa413d00ccf6ff858
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <iostream> #include "Krug.h" #include "Trokut.h" #include "Kvadrat.h" #include <vector> #include "tinyxml2.h" #include <iterator> #include <algorithm> using namespace tinyxml2; using namespace std; int main() { /* Testing Krug k1(12.23, "plavi"); cout << k1.DajOpseg(...
30.993939
117
0.627689
MarioSomodi
d0edbcac303416aaf4fc111d7cbd0fde92d13908
250
hpp
C++
src/mbgl/style/bucket_parameters.hpp
kravtsun/mapbox-gl-native
ea8ec38df156c6683c886253dbb1f6bc828686ff
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/style/bucket_parameters.hpp
kravtsun/mapbox-gl-native
ea8ec38df156c6683c886253dbb1f6bc828686ff
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/style/bucket_parameters.hpp
kravtsun/mapbox-gl-native
ea8ec38df156c6683c886253dbb1f6bc828686ff
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <mbgl/map/mode.hpp> #include <mbgl/tile/tile_id.hpp> namespace mbgl { namespace style { class BucketParameters { public: const OverscaledTileID tileID; const MapMode mode; }; } // namespace style } // namespace mbgl
14.705882
34
0.72
kravtsun
d0f2c99f0a9fda1ba2c1a8e3f35a6b492a5bacde
47,143
cpp
C++
tools/IMFPlayer/src/hardware/dbopl.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
137
2015-01-01T21:04:51.000Z
2022-03-30T01:41:10.000Z
tools/IMFPlayer/src/hardware/dbopl.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
154
2015-01-01T16:34:39.000Z
2022-01-28T14:14:45.000Z
tools/IMFPlayer/src/hardware/dbopl.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
35
2015-03-24T02:20:54.000Z
2021-05-13T11:44:22.000Z
/* * Copyright (C) 2002-2010 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) anyght later version. * * Thi...
30.161868
116
0.618841
vogonsorg
d0f692b7fa12559dfc2a02ac4e554c9e0949afcc
7,103
cpp
C++
src/grpc/quick/qquickgrpcsubscription.cpp
ddobrev/qtprotobuf
c31170f47341c1da9988f7a660be8261d6cdcc6e
[ "MIT" ]
null
null
null
src/grpc/quick/qquickgrpcsubscription.cpp
ddobrev/qtprotobuf
c31170f47341c1da9988f7a660be8261d6cdcc6e
[ "MIT" ]
null
null
null
src/grpc/quick/qquickgrpcsubscription.cpp
ddobrev/qtprotobuf
c31170f47341c1da9988f7a660be8261d6cdcc6e
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Alexey Edelev <semlanik@gmail.com> * * This file is part of qtprotobuf project https://git.semlanik.org/semlanik/qtprotobuf * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Softwar...
40.129944
202
0.680276
ddobrev
d0fa11487a08b90b63fc74f7221e94519c49a59a
784
cpp
C++
DeviceCode/Targets/Native/Interop/ManagedCode/CQ_NETMF_CQ_FRK_FM3_Hardware/Stubs/CQ_NETMF_CQ_FRK_FM3_Hardware.cpp
Sirokujira/MicroFrameworkPK_v4_3
a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e
[ "Apache-2.0" ]
null
null
null
DeviceCode/Targets/Native/Interop/ManagedCode/CQ_NETMF_CQ_FRK_FM3_Hardware/Stubs/CQ_NETMF_CQ_FRK_FM3_Hardware.cpp
Sirokujira/MicroFrameworkPK_v4_3
a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e
[ "Apache-2.0" ]
null
null
null
DeviceCode/Targets/Native/Interop/ManagedCode/CQ_NETMF_CQ_FRK_FM3_Hardware/Stubs/CQ_NETMF_CQ_FRK_FM3_Hardware.cpp
Sirokujira/MicroFrameworkPK_v4_3
a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e
[ "Apache-2.0" ]
1
2019-12-05T18:59:01.000Z
2019-12-05T18:59:01.000Z
//----------------------------------------------------------------------------- // // ** DO NOT EDIT THIS FILE! ** // This file was generated by a tool // re-running the tool will overwrite this file. // //----------------------------------------------------------------------------- #include "CQ_NETMF_CQ_FRK...
22.4
125
0.572704
Sirokujira
d0fc826362cdafb1ef9725642c027f03f8041bf7
2,511
hpp
C++
include/range/v3/experimental/view/shared.hpp
berolinux/range-v3
d8ce45f1698931399fb09a322307eb95567be832
[ "MIT" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
include/range/v3/experimental/view/shared.hpp
berolinux/range-v3
d8ce45f1698931399fb09a322307eb95567be832
[ "MIT" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
include/range/v3/experimental/view/shared.hpp
berolinux/range-v3
d8ce45f1698931399fb09a322307eb95567be832
[ "MIT" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
/// \file // Range v3 library // // Copyright Filip Matzner 2017 // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler/range-...
27
84
0.545998
berolinux
d0fe834270a0752580cd614340dd2d036fcc225c
60,900
cc
C++
grpc/clients/cpp/generated/wallet/v1/wallet.pb.cc
legg/api
a818834f8a935b802af3b01b4237e64ed41ab3f2
[ "MIT" ]
6
2021-05-20T15:30:46.000Z
2022-02-22T12:06:39.000Z
grpc/clients/cpp/generated/wallet/v1/wallet.pb.cc
legg/api
a818834f8a935b802af3b01b4237e64ed41ab3f2
[ "MIT" ]
29
2021-03-16T11:58:05.000Z
2021-10-05T14:04:45.000Z
grpc/clients/cpp/generated/wallet/v1/wallet.pb.cc
legg/api
a818834f8a935b802af3b01b4237e64ed41ab3f2
[ "MIT" ]
6
2021-05-07T06:43:02.000Z
2022-03-29T07:18:01.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: wallet/v1/wallet.proto #include "wallet/v1/wallet.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descripto...
45.481703
194
0.750115
legg
cb9b706d6bd2c1b1d7243b87017c5e7361fd173c
443
cpp
C++
test/general/headers.cpp
komiga/Beard
059c7aed8c9d9818bcda2284c1e004309d70d2e1
[ "MIT" ]
3
2015-06-19T20:06:19.000Z
2019-04-11T20:04:00.000Z
test/general/headers.cpp
komiga/Beard
059c7aed8c9d9818bcda2284c1e004309d70d2e1
[ "MIT" ]
null
null
null
test/general/headers.cpp
komiga/Beard
059c7aed8c9d9818bcda2284c1e004309d70d2e1
[ "MIT" ]
null
null
null
#include <Beard/config.hpp> #include <Beard/utility.hpp> #include <Beard/ErrorCode.hpp> #include <Beard/aux.hpp> #include <Beard/String.hpp> #include <Beard/Error.hpp> #include <Beard/detail/gr_core.hpp> #include <Beard/detail/gr_ceformat.hpp> #include <Beard/detail/debug.hpp> #include <Beard/tty/Defs.hpp> #include ...
20.136364
39
0.742664
komiga
cba1c45e531565fdd03678a71570e27ccb506fa4
5,693
cpp
C++
Simple++/Network/Server.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Network/Server.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/Network/Server.cpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
#include "Server.h" namespace Network { Server::Server() : mIsBinded( false ) { } Server::~Server() { close(); } bool Server::listen( unsigned short port, SockType sockType, IpFamily ipFamily, int maxClients ) { return _listen( NULL, StringASCII( port ).getData(), sockType, ipFamily, maxClients ); ...
26.47907
214
0.645003
Oriode
cba2f72867e76b7d13524f329bd0189683090056
7,325
cpp
C++
src/lib/analysis/advisor/Inspection.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/advisor/Inspection.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/advisor/Inspection.cpp
GVProf/hpctoolkit
baf45028ead83ceba3e952bb8d0b14caf9ea5f78
[ "BSD-3-Clause" ]
2
2021-11-30T18:24:10.000Z
2022-02-13T18:13:17.000Z
//************************* System Include Files **************************** #include <fstream> #include <iostream> #include <iomanip> #include <climits> #include <cstdio> #include <cstring> #include <string> #include <algorithm> #include <stack> #include <typeinfo> #include <unordered_map> #include <sys/stat.h> ...
29.53629
107
0.593857
GVProf
cba8b71b091fd3417882130d65401db0d0994a62
7,784
cpp
C++
DisPG/DisPG/util.cpp
hackflame/PgResarch
5a2bb5433aae617cf9737bd1efc1643886f6bcf5
[ "MIT" ]
228
2015-01-04T01:28:05.000Z
2022-03-28T01:37:46.000Z
DisPG/DisPG/util.cpp
zgz715/PgResarch
5a2bb5433aae617cf9737bd1efc1643886f6bcf5
[ "MIT" ]
3
2015-07-24T04:34:05.000Z
2018-10-07T06:08:57.000Z
DisPG/DisPG/util.cpp
zgz715/PgResarch
5a2bb5433aae617cf9737bd1efc1643886f6bcf5
[ "MIT" ]
111
2015-01-05T19:32:10.000Z
2021-11-24T03:07:26.000Z
// // This module implements auxiliary functions. These functions do not have // prefixes on their names. // #include "stdafx.h" #include "util.h" //////////////////////////////////////////////////////////////////////////////// // // macro utilities // ///////////////////////////////////////////////////////////////...
26.297297
98
0.635149
hackflame
cba99ee10cd3b28bf2f9e3779c82bcf228c13d5e
13,472
cpp
C++
src/vidhrdw/lwings.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/vidhrdw/lwings.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/vidhrdw/lwings.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** vidhrdw.c Functions to emulate the video hardware of the machine. ***************************************************************************/ #include "driver.h" #include "vidhrdw/generic.h" #include "osdepend.h" unsigned char *lwin...
26.261209
151
0.565395
pierrelouys
cbabf1d4201f5f4cf4de68d0c2674cd26e9bab64
1,051
hpp
C++
coding/csv_reader.hpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
13
2019-09-16T17:45:31.000Z
2022-01-29T15:51:52.000Z
coding/csv_reader.hpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
37
2019-10-04T00:55:46.000Z
2019-12-27T15:13:19.000Z
coding/csv_reader.hpp
maksimandrianov/omim
cbc5a80d09d585afbda01e471887f63b9d3ab0c2
[ "Apache-2.0" ]
13
2019-10-02T15:03:58.000Z
2020-12-28T13:06:22.000Z
#pragma once #include "coding/reader.hpp" #include <functional> #include <sstream> #include <string> #include <vector> namespace coding { class CSVReader { public: struct Params { Params() {} bool m_readHeader = false; char m_delimiter = ','; }; CSVReader() = default; using Row = std::vector<...
23.355556
89
0.649857
Barysman
cbb10b61d84d535032a741a75db84a9e87bee635
437
cpp
C++
tests/operation/out.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
tests/operation/out.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
tests/operation/out.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2020 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include <actl/operation/scalar/all.hpp> #include "test.hpp" TEST_CASE("output parameter") { int res{}; CHECK(6 =...
24.277778
60
0.638444
AlCash07
cbb29f4bd651a9f40f5f1ea413809f830d86f536
1,354
hpp
C++
include/Color.hpp
Crazy-Piri/Img2CPC
af748085b3e1d1d63697aedb12d7021236b1e8ff
[ "MIT" ]
6
2015-08-10T13:10:19.000Z
2020-06-06T08:15:34.000Z
include/Color.hpp
Crazy-Piri/Img2CPC
af748085b3e1d1d63697aedb12d7021236b1e8ff
[ "MIT" ]
5
2016-04-10T13:20:01.000Z
2021-06-23T06:36:32.000Z
include/Color.hpp
Crazy-Piri/Img2CPC
af748085b3e1d1d63697aedb12d7021236b1e8ff
[ "MIT" ]
4
2015-08-15T16:45:32.000Z
2020-08-15T19:57:54.000Z
#ifndef _COLOR_H_ #define _COLOR_H_ #include <cmath> #include <iostream> using namespace std; class Color { public: unsigned char A; unsigned char R; unsigned char G; unsigned char B; Color(): Color(0, 0,0,0) {}; Color(const unsigned char r, const unsigned char g, const unsigned b): A(255), R(r),G(...
22.949153
97
0.532496
Crazy-Piri
cbbb8834b87999c28a2ba680766a7a7a6f1e3e9b
98
hpp
C++
include/test_data.hpp
andrewkatson/json
c11ca0a075f2d4bb5b5b613b5319597cf15db11e
[ "MIT" ]
null
null
null
include/test_data.hpp
andrewkatson/json
c11ca0a075f2d4bb5b5b613b5319597cf15db11e
[ "MIT" ]
null
null
null
include/test_data.hpp
andrewkatson/json
c11ca0a075f2d4bb5b5b613b5319597cf15db11e
[ "MIT" ]
null
null
null
#define TEST_DATA_DIRECTORY "/home/andrew/DenariiServices/Core/external/json/json/json_test_data"
49
97
0.857143
andrewkatson
cbbd73f6660cba7352885432152cbafb50c0ad6d
7,593
cpp
C++
src/qt/qtwebkit/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebKit2/UIProcess/InspectorServer/WebInspectorServer.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2022-02-18T10:41:38.000Z
2022-02-18T10:41:38.000Z
/* * Copyright (C) 2011 Apple Inc. All Rights Reserved. * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) * * 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 mus...
34.357466
130
0.73278
viewdy
cbbdd34d39b29ff1d27cddb7447d9b48f7f2bc57
2,514
cpp
C++
src/common/file_watcher.cpp
eBay/block-aggregator
d16d10718f42da42ef8df8048eecb25df0d55f4a
[ "Apache-2.0" ]
18
2021-12-16T11:31:07.000Z
2022-03-29T06:44:02.000Z
src/common/file_watcher.cpp
eBay/block-aggregator
d16d10718f42da42ef8df8048eecb25df0d55f4a
[ "Apache-2.0" ]
1
2022-02-03T19:42:35.000Z
2022-02-03T19:42:35.000Z
src/common/file_watcher.cpp
eBay/block-aggregator
d16d10718f42da42ef8df8048eecb25df0d55f4a
[ "Apache-2.0" ]
3
2021-12-18T13:54:13.000Z
2022-02-15T17:03:42.000Z
/************************************************************************ Copyright 2021, eBay, 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 https://www.apache.org/licenses/LICENSE-2.0 ...
33.078947
114
0.604614
eBay
cbc32c5849ee5e01e91f5fa2d22eb64b8e2928e8
698
hpp
C++
src/arithmetic/bucket.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
2
2016-06-01T14:44:21.000Z
2018-05-04T11:55:02.000Z
src/arithmetic/bucket.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
1
2021-03-21T11:36:18.000Z
2021-03-21T14:49:17.000Z
src/arithmetic/bucket.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
null
null
null
#ifndef __TESCA_ARITHMETIC_BUCKET_HPP #define __TESCA_ARITHMETIC_BUCKET_HPP #include "../../lib/glay/src/glay.hpp" #include "../storage/variant.hpp" namespace Tesca { namespace Arithmetic { class Bucket { public: Bucket (Bucket const&); Bucket (Glay::Int32u); ~Bucket (); Bucket& operator = ...
18.368421
61
0.657593
r3c
cbc4f3e3c8059ad79718c963c6790252082636c6
3,602
cc
C++
tensorflow/core/transforms/utils/eval_utils_test.cc
TheRakeshPurohit/tensorflow
bee6d5a268122df99e1e55a7b92517e84ad25bab
[ "Apache-2.0" ]
3
2022-03-09T01:39:56.000Z
2022-03-30T23:17:58.000Z
tensorflow/core/transforms/utils/eval_utils_test.cc
TheRakeshPurohit/tensorflow
bee6d5a268122df99e1e55a7b92517e84ad25bab
[ "Apache-2.0" ]
null
null
null
tensorflow/core/transforms/utils/eval_utils_test.cc
TheRakeshPurohit/tensorflow
bee6d5a268122df99e1e55a7b92517e84ad25bab
[ "Apache-2.0" ]
1
2022-03-22T00:45:15.000Z
2022-03-22T00:45:15.000Z
/* Copyright 2022 The TensorFlow Authors. 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 a...
37.520833
124
0.673792
TheRakeshPurohit
cbc55c23aabd6be2d881a9136e18c06b287f1909
2,484
cpp
C++
win8.1/test/readme.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
12
2015-08-17T12:59:12.000Z
2021-10-10T02:54:40.000Z
win8.1/test/readme.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
null
null
null
win8.1/test/readme.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
5
2019-03-08T04:13:44.000Z
2019-12-17T09:51:09.000Z
// Copyright 2013 Paul Vick // // 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 writin...
40.064516
132
0.5938
panopticoncentral
cbc5aad420f0548a1937734403c34d8bf29369ce
4,555
cpp
C++
console/src/boost_1_78_0/libs/filesystem/test/issues/reparse_tag_file_placeholder.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
console/src/boost_1_78_0/libs/filesystem/test/issues/reparse_tag_file_placeholder.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
console/src/boost_1_78_0/libs/filesystem/test/issues/reparse_tag_file_placeholder.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
41
2015-07-08T19:18:35.000Z
2021-01-14T16:39:56.000Z
// Boost reparse_tag_file_placeholder.cpp ---------------------------------------------------------// // Copyright Roman Savchenko 2020 // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt // Library home page: http://www.boost.org/libs/filesystem #include ...
29.012739
166
0.686718
vany152
cbca8f819c06a57e7b04f6b80df354673bf4ef76
4,051
cpp
C++
modules/attention_segmentation/src/LocationMap.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
17
2015-11-16T14:21:10.000Z
2020-11-09T02:57:33.000Z
modules/attention_segmentation/src/LocationMap.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
35
2015-07-27T15:04:43.000Z
2019-08-22T10:52:35.000Z
modules/attention_segmentation/src/LocationMap.cpp
ToMadoRe/v4r
7cb817e05cb9d99cb2f68db009c27d7144d07f09
[ "MIT" ]
18
2015-08-06T09:26:27.000Z
2020-09-03T01:31:00.000Z
/** * Copyright (C) 2012 * Ekaterina Potapova * Automation and Control Institute * Vienna University of Technology * Gusshausstraße 25-29 * 1040 Vienna, Austria * potapova(at)acin.tuwien.ac.at * * This program is free software: you can redistribute it and/or modify * it under the terms ...
23.690058
104
0.626265
ToMadoRe
cbcc52e70beef2eee742e1c514a298755efe0a30
4,447
cpp
C++
final-project/repositories/High_level_synthesis_for_Image_Deblurring_Processor/2020MSOC_Final-main/deblur.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
7
2021-02-10T17:59:48.000Z
2021-09-27T15:02:56.000Z
final-project/repositories/High_level_synthesis_for_Image_Deblurring_Processor/2020MSOC_Final-main/deblur.cpp
mediaic/MSoC-HLS
d876b6bdfe45caba63811b16b273a9723e9baf65
[ "MIT" ]
null
null
null
final-project/repositories/High_level_synthesis_for_Image_Deblurring_Processor/2020MSOC_Final-main/deblur.cpp
mediaic/MSoC-HLS
d876b6bdfe45caba63811b16b273a9723e9baf65
[ "MIT" ]
1
2021-09-27T15:14:50.000Z
2021-09-27T15:14:50.000Z
#include "deblur.h" void gather_result(eita_t data_out[HEIGHT][WIDTH]) { //data_in copy to data_out for_y : for (int y = 0; y < HEIGHT; y++) { for_x : for (int x = 0; x < WIDTH; x++) { if(data_out[y][x]<0.0) data_out[y][x]=0.0; } } } void array_display(int k,cmpxDataIn data_out[HEIGHT][WIDTH]) { ...
33.186567
182
0.540589
bol-edu
cbcd0ef8bc515c65044757062273b32f0068437d
3,018
hpp
C++
include/blacknot/assert.hpp
yzt/blacknot
58f2bc4264aae8c4300159c33ac0929edf07d36c
[ "MIT" ]
16
2015-03-17T11:38:58.000Z
2019-06-07T16:59:17.000Z
include/blacknot/assert.hpp
yzt/blacknot
58f2bc4264aae8c4300159c33ac0929edf07d36c
[ "MIT" ]
1
2020-04-03T07:14:19.000Z
2020-04-03T07:14:19.000Z
include/blacknot/assert.hpp
yzt/blacknot
58f2bc4264aae8c4300159c33ac0929edf07d36c
[ "MIT" ]
null
null
null
//====================================================================== // This is part of Project Blacknot: // https://github.com/yzt/blacknot //====================================================================== #pragma once //====================================================================== #include <blac...
46.430769
161
0.523194
yzt
cbd103eb5bd48dc7858554b641a4486e3b9e8e3a
812
cpp
C++
1st/unique_binary_search_trees.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/unique_binary_search_trees.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/unique_binary_search_trees.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using std::cout; using std::endl; class Solution { public: int numTrees(int n) { if (n <= 0) return 0; int *res = new int[n+1](); res[0] = 1; res[1] = 1; for (int i = 2; i <= n; ++i) { for (int j = 0; j < i; ++j) { ...
20.3
59
0.415025
buptlxb
cbdafb03ab1b587da77687fd19d36207438a8f18
11,043
cpp
C++
Source/Constraint/constraint_angle.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Constraint/constraint_angle.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Constraint/constraint_angle.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribu...
37.68942
142
0.701983
neonkingfr
cbdb015e5e4ec0d145e6756c4930c1ecfb0a3957
1,931
cpp
C++
Source/VectorWarUE4/Private/VectorWar/Components/MovementComponent.cpp
hakansanli/VectorWarUE4
042c4321f0cab9f6ea2344e98d1db38a4b1ade06
[ "MIT" ]
null
null
null
Source/VectorWarUE4/Private/VectorWar/Components/MovementComponent.cpp
hakansanli/VectorWarUE4
042c4321f0cab9f6ea2344e98d1db38a4b1ade06
[ "MIT" ]
null
null
null
Source/VectorWarUE4/Private/VectorWar/Components/MovementComponent.cpp
hakansanli/VectorWarUE4
042c4321f0cab9f6ea2344e98d1db38a4b1ade06
[ "MIT" ]
null
null
null
#include "MovementComponent.h" #include "ECS/Entity.h" #include "InputReceiverComponent.h" #include "ComponentFactory.h" #include <math.h> #include "BodyComponent.h" #include "VectorWar/vectorwar.h" void MovementComponent::Update(Entity* entity) { auto inputReceiver=(InputReceiverComponent*)entity->GetCompone...
37.862745
113
0.590368
hakansanli
cbe5463e3a4b4df6971d54efaad81d97df641544
499
cpp
C++
examples/imgui_demo/imgui_demo.cpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
52
2021-11-19T09:08:30.000Z
2022-03-28T00:53:43.000Z
examples/imgui_demo/imgui_demo.cpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
1
2021-10-30T06:55:35.000Z
2021-10-30T06:55:35.000Z
examples/imgui_demo/imgui_demo.cpp
L-Sun/game_engine
e153280dae975c2770a202ca3b55e672626a172e
[ "MIT" ]
2
2021-12-15T02:10:42.000Z
2022-01-08T17:50:25.000Z
#include "imgui_demo.hpp" #include <hitagi/gui/gui_manager.hpp> #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks.h> using namespace hitagi; int ImGuiDemo::Initialize() { m_Logger = spdlog::stdout_color_mt("ImGuiDemo"); return 0; } void ImGuiDemo::Finalize() { m_Logger->info("ImGuiDe...
19.192308
52
0.669339
L-Sun
cbe5566c3e0bc7613787e8eceba489f88000b3dc
8,179
cpp
C++
MagicianApprentice/MagicianApprentice/Player.cpp
vandalo/MagicianApprentice
d8f0419399fd6579960ad1b85028ecfc88a83e25
[ "MIT" ]
null
null
null
MagicianApprentice/MagicianApprentice/Player.cpp
vandalo/MagicianApprentice
d8f0419399fd6579960ad1b85028ecfc88a83e25
[ "MIT" ]
null
null
null
MagicianApprentice/MagicianApprentice/Player.cpp
vandalo/MagicianApprentice
d8f0419399fd6579960ad1b85028ecfc88a83e25
[ "MIT" ]
null
null
null
#include <iostream> #include "Utils.h" #include "Player.h" #include "Exit.h" #include "Room.h" #include "Item.h" #include "Spell.h" #include "Monster.h" #include <string> #include "World.h" Player::Player(const char* name, const char* description, Entity* parent, World* myWorld) : Creature(name, description, parent),...
19.427553
114
0.55618
vandalo
cbe73101f952e4043fe767d8c61dc32c7d116e4b
6,368
cc
C++
ecs/src/model/DescribeSecurityGroupAttributeResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ecs/src/model/DescribeSecurityGroupAttributeResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ecs/src/model/DescribeSecurityGroupAttributeResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
44.222222
121
0.798053
aliyun
cbe7e405bbd78e85e4a9e32be91309c95ebfe609
965
cpp
C++
HackerRank/University-Codesprint-5/Cube-loving-Numbers.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
HackerRank/University-Codesprint-5/Cube-loving-Numbers.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
HackerRank/University-Codesprint-5/Cube-loving-Numbers.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author : TISparta * > Date : 09-09-18 * > Tags : Inclusion-Exclusion Principle * > Difficulty : 4 / 10 */ #include <bits/stdc++.h> using namespace std; typedef long long ll; const int SZ = 1e6; int t; ll n, ans; bool isPrime[SZ + 1]; vector <int> prime; void sieve () { memset(isPrime, true, sizeof ...
17.87037
68
0.53886
TISparta
cbebc3d40bb7e6b9c9568b642a68e529abf28cc1
2,765
cpp
C++
ehunter/genotyping/AlleleChecker.cpp
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
122
2017-01-06T16:19:31.000Z
2022-03-08T00:05:50.000Z
ehunter/genotyping/AlleleChecker.cpp
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
90
2017-01-04T00:23:34.000Z
2022-02-27T12:55:52.000Z
ehunter/genotyping/AlleleChecker.cpp
bw2/ExpansionHunter
6a6005a4bae2c49f56ec8997a301b70a75b042b6
[ "BSL-1.0", "Apache-2.0" ]
35
2017-03-02T13:39:58.000Z
2022-03-30T17:34:11.000Z
// // Expansion Hunter // Copyright 2016-2019 Illumina, 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 ...
28.214286
117
0.688608
bw2
cbebd7bce4351504b038d57b0d9e7e92cb57a291
2,242
hpp
C++
src/deps/include/boost/url/rfc/query_bnf.hpp
sandmanhome/liuguang
73fb6ee06654d80f8c9dedee1ddfa4f9be2d5fb3
[ "Apache-2.0" ]
null
null
null
src/deps/include/boost/url/rfc/query_bnf.hpp
sandmanhome/liuguang
73fb6ee06654d80f8c9dedee1ddfa4f9be2d5fb3
[ "Apache-2.0" ]
null
null
null
src/deps/include/boost/url/rfc/query_bnf.hpp
sandmanhome/liuguang
73fb6ee06654d80f8c9dedee1ddfa4f9be2d5fb3
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco 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/CPPAlliance/url // #ifndef BOOST_URL_R...
20.198198
79
0.554862
sandmanhome
cbec9a7211d61a68f33d3c8e2c7cb935427d8dec
5,014
cpp
C++
src/add-ons/print/drivers/pdf/source/DrawShape.cpp
deep-1/haiku
b273e9733d25babe5e6702dc1e24f3dff1ffd6dc
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/add-ons/print/drivers/pdf/source/DrawShape.cpp
jessicah/haiku
c337460525c39e870d31221d205a299d9cd79c6a
[ "MIT" ]
null
null
null
src/add-ons/print/drivers/pdf/source/DrawShape.cpp
jessicah/haiku
c337460525c39e870d31221d205a299d9cd79c6a
[ "MIT" ]
1
2020-05-08T04:02:02.000Z
2020-05-08T04:02:02.000Z
/* DrawShape Copyright (c) 2002 OpenBeOS. Author: Michael Pfeiffer 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, ...
24.821782
158
0.594535
deep-1
cbedab134d53bff3e272b7a6b088b4fe8e192f68
1,506
cpp
C++
cpp/src/exercise/e0200/e0149.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0200/e0149.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0200/e0149.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/max-points-on-a-line/ #include "extern.h" typedef pair<int, int> pii; class S0149 { void gcd(pii& p) { int l = abs(p.first), r = abs(p.second); if (r == 0) p = make_pair(1, 0); else if (l == 0) p = make_pair(0, 1); else { if (l < r) ...
29.529412
92
0.434263
ajz34
cbef4911f3ffa13f77cf15b9834b2717f9982061
1,271
cpp
C++
src/critics/goal_critic.cpp
doisyg/mppic
e9cd561c5e108061bd90cf157f0f73327b21e51a
[ "MIT" ]
null
null
null
src/critics/goal_critic.cpp
doisyg/mppic
e9cd561c5e108061bd90cf157f0f73327b21e51a
[ "MIT" ]
null
null
null
src/critics/goal_critic.cpp
doisyg/mppic
e9cd561c5e108061bd90cf157f0f73327b21e51a
[ "MIT" ]
null
null
null
// Copyright 2022 FastSense, Samsung Research #include "mppic/critics/goal_critic.hpp" namespace mppi::critics { void GoalCritic::initialize() { auto node = parent_.lock(); auto getParam = utils::getParamGetter(node, name_); getParam(power_, "goal_cost_power", 1); getParam(weight_, "goal_cost_weight", 20.0);...
28.244444
80
0.707317
doisyg
cbf176038b5218527024600bf137be49963ea712
2,212
cpp
C++
Binary Tree/Diameter.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Binary Tree/Diameter.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Binary Tree/Diameter.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//Find the diameter of a tree /* approach 1: TC: O(n^2): We find the left height and right height also for the possibility that there might exist a subtree greater than the current left or right approach 2: TC:O(n): We find the height in the same recursive call only. */ #include<iostream> using namespace std; ...
20.867925
74
0.657776
susantabiswas
cbf22d95707136e9855e8fcd66bb0aeab0f25db3
972
cpp
C++
Bit Manipulation/8divideWithoutUsingDivideOperator.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
1
2021-01-18T14:51:20.000Z
2021-01-18T14:51:20.000Z
Bit Manipulation/8divideWithoutUsingDivideOperator.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
Bit Manipulation/8divideWithoutUsingDivideOperator.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
// C++ implementation to Divide two // integers without using multiplication, // division and mod operator #include <bits/stdc++.h> using namespace std; // Function to divide a by b and // return floor value it int divide(long long dividend, long long divisor) { // Calculate sign of divisor i.e., // sign will be nega...
19.44
51
0.641975
Coderangshu
cbf470a0292ce7fdd8f7703835534eb65713fff2
5,252
cpp
C++
src/stellarium.cpp
racerxdl/esp32-rotracker
db5adaae9edfaa13595c92027933afa9d8874b92
[ "MIT" ]
null
null
null
src/stellarium.cpp
racerxdl/esp32-rotracker
db5adaae9edfaa13595c92027933afa9d8874b92
[ "MIT" ]
null
null
null
src/stellarium.cpp
racerxdl/esp32-rotracker
db5adaae9edfaa13595c92027933afa9d8874b92
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <math.h> #include <AsyncTCP.h> #include <map> #include "stellarium.h" #include "clock.h" #include "storage.h" #include "steppers.h" #include "Sideral.h" #include "log.h" #define TCP_SERVER_PORT 10001 AsyncServer stellariumServer(TCP_SERVER_PORT); std::map<AsyncClient *, int> stellariumC...
33.031447
135
0.728104
racerxdl
cbf4e39f3e27ddb133a8af29bc7c3d622ff85873
377
cpp
C++
cpp/inform.cpp
ELIFE-ASU/informjs
2a894fe11724bcef1feda50e7a5b5ba95a36a6a7
[ "MIT" ]
null
null
null
cpp/inform.cpp
ELIFE-ASU/informjs
2a894fe11724bcef1feda50e7a5b5ba95a36a6a7
[ "MIT" ]
null
null
null
cpp/inform.cpp
ELIFE-ASU/informjs
2a894fe11724bcef1feda50e7a5b5ba95a36a6a7
[ "MIT" ]
null
null
null
#include "./series.h" namespace inform { using namespace v8; void init(Local<Object> exports) { NODE_SET_METHOD(exports, "mutualInfo", inform::mutual_info); NODE_SET_METHOD(exports, "activeInfo", inform::active_info); NODE_SET_METHOD(exports, "transferEntropy", inform::transfer_entropy...
26.928571
78
0.697613
ELIFE-ASU
cbf57af14d6430b38abc962b5904864e14db87ea
525
hh
C++
models/cad/include/env/wind_no.hh
cihuang123/Next-simulation
e8552a5804184b30022d103d47c8728fb242b5bc
[ "BSD-3-Clause" ]
null
null
null
models/cad/include/env/wind_no.hh
cihuang123/Next-simulation
e8552a5804184b30022d103d47c8728fb242b5bc
[ "BSD-3-Clause" ]
null
null
null
models/cad/include/env/wind_no.hh
cihuang123/Next-simulation
e8552a5804184b30022d103d47c8728fb242b5bc
[ "BSD-3-Clause" ]
2
2021-05-05T14:59:37.000Z
2021-06-17T03:19:45.000Z
#ifndef __wind_no_HH__ #define __wind_no_HH__ /********************************* TRICK HEADER ******************************* PURPOSE: (constant wind model) LIBRARY DEPENDENCY: ((../../src/env/wind_no.cpp)) *******************************************************************************/ #include "env/wind....
21.875
80
0.493333
cihuang123
cbf57bcfe413d3b3dd58c1787f50c4eae5a8ebcc
14,503
cpp
C++
src/zlib/Win32app.cpp
FreeAllegiance/AllegianceDX7
3955756dffea8e7e31d3a55fcf6184232b792195
[ "MIT" ]
76
2015-08-18T19:18:40.000Z
2022-01-08T12:47:22.000Z
src/zlib/Win32app.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
37
2015-08-14T22:44:12.000Z
2020-01-21T01:03:06.000Z
src/zlib/Win32app.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
42
2015-08-13T23:31:35.000Z
2022-03-17T02:20:26.000Z
#include "Win32app.h" #include "regkey.h" #include "SlmVer.h" //Imago 7/10 #include <dbghelp.h> #include <crtdbg.h> #include "zstring.h" #include "VersionInfo.h" #include <ctime> #include "zmath.h" #include "window.h" #include "Logger.h" #ifndef NO_STEAM #include "steam_api.h" #endif ////////////////////////////...
24.498311
159
0.605116
FreeAllegiance