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
fe7760beff8ef00c5c81a670a7e2297d84069c75
877
cpp
C++
src/chipmunkpp/body.cpp
jhasse/chipmunkpp
34914f21da2f97ffc5c5d9fa913ca0a03a9dab11
[ "Zlib" ]
30
2015-04-06T21:43:12.000Z
2021-03-06T10:06:39.000Z
src/chipmunkpp/body.cpp
jhasse/chipmunkpp
34914f21da2f97ffc5c5d9fa913ca0a03a9dab11
[ "Zlib" ]
5
2015-04-22T08:13:18.000Z
2021-01-03T20:22:03.000Z
src/chipmunkpp/body.cpp
jhasse/chipmunkpp
34914f21da2f97ffc5c5d9fa913ca0a03a9dab11
[ "Zlib" ]
1
2020-03-25T19:15:17.000Z
2020-03-25T19:15:17.000Z
#include "body.hpp" namespace cp { Body::Body(cpFloat mass, cpFloat inertia) : body(cpBodyNew(mass, inertia)), owning(true) { } Body::Body(Body&& other) : body(other.body), owning(other.owning) { other.body = nullptr; other.owning = false; } Body::~Body() { if (owning) { cpBodyFree(body); } } Body...
17.897959
91
0.672748
jhasse
fe77abf80934b8d011df4da358b72ddbb9ed1d4e
131
hxx
C++
src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/ServiceStatistics/UNIX_ServiceStatistics_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_DARWIN #ifndef __UNIX_SERVICESTATISTICS_PRIVATE_H #define __UNIX_SERVICESTATISTICS_PRIVATE_H #endif #endif
10.916667
42
0.854962
brunolauze
fe7db57857d79b2f5d5c92bf44409416680c338a
11,253
cpp
C++
DerivedSources/WebCore/JSJavaScriptCallFrame.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
DerivedSources/WebCore/JSJavaScriptCallFrame.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
DerivedSources/WebCore/JSJavaScriptCallFrame.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* This file is part of the WebKit open source project. This file has been generated by generate-bindings.pl. DO NOT MODIFY! This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation...
45.012
177
0.786101
VincentWei
fe7ddf46c0a5a2d96031b50ca07c29f723c96f02
8,147
cc
C++
content/shell/browser/layout_test/layout_test_message_filter.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
content/shell/browser/layout_test/layout_test_message_filter.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/shell/browser/layout_test/layout_test_message_filter.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.000Z
// Copyright 2013 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 "content/shell/browser/layout_test/layout_test_message_filter.h" #include <stddef.h> #include "base/files/file_util.h" #include "base/threading...
39.741463
81
0.778323
metux
fe7e3d2928859d2dadec35ab96d0067245fa0354
5,780
cc
C++
tests/CompileTests/ElsaTestCases/t0132.cc
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
tests/CompileTests/ElsaTestCases/t0132.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
tests/CompileTests/ElsaTestCases/t0132.cc
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
// t0132.cc // looking more closely at 13.6 para 14 // For every T, where T is a pointer to object type, there exist // candidate operator functions of the form // // ptrdiff_t operator-(T, T); struct Int { operator int* (); // line 11 }; struct Float { operator float* (); // line 15 }; // the bu...
16.561605
87
0.572145
maurizioabba
fe7e5823e4f366d4ea2a1ca4d128e0cee37b4e5a
11,555
cpp
C++
common/src/ninjamclient.cpp
ventosus/abNinjam
fc50af9e2603c2184f24f3a3483203d69d4b2c2a
[ "MIT" ]
14
2020-05-13T21:14:22.000Z
2021-04-05T12:28:00.000Z
common/src/ninjamclient.cpp
ventosus/abNinjam
fc50af9e2603c2184f24f3a3483203d69d4b2c2a
[ "MIT" ]
12
2020-05-13T22:56:29.000Z
2021-07-08T13:17:32.000Z
common/src/ninjamclient.cpp
ventosus/abNinjam
fc50af9e2603c2184f24f3a3483203d69d4b2c2a
[ "MIT" ]
4
2020-05-15T11:03:42.000Z
2020-11-24T18:06:29.000Z
#include "../include/ninjamclient.h" #include "../include/fileutil.h" #include "../include/licensedialog.h" #include "../include/stringutil.h" #include <sstream> using namespace AbNinjam::Common; using namespace std; static int agree = 1; static bool autoAgree = false; static int bpm = 110; int licensecallback(void...
34.287834
80
0.624924
ventosus
fe81b4c0d1eb50764ee4c99d35cc48075f3dfde1
22,320
cpp
C++
DatabaseUpgrade.cpp
addam/SkauTan
a46b60e91741da343a50a63948d3a19d961550d0
[ "Unlicense" ]
null
null
null
DatabaseUpgrade.cpp
addam/SkauTan
a46b60e91741da343a50a63948d3a19d961550d0
[ "Unlicense" ]
null
null
null
DatabaseUpgrade.cpp
addam/SkauTan
a46b60e91741da343a50a63948d3a19d961550d0
[ "Unlicense" ]
null
null
null
#include "DatabaseUpgrade.h" #include <vector> #include <QSqlError> #include <QSqlRecord> #include <QDebug> #include "Database.h" class VersionScript { public: VersionScript(std::vector<std::string> && a_Commands): m_Commands(std::move(a_Commands)) {} std::vector<std::string> m_Commands; /** Applies this ...
29.21466
116
0.640636
addam
fe86126093db6f4a84d4852b503118f3ec71737f
3,562
cpp
C++
cpp/src/utilities/solvers/ej_diffusion/ej_diffusion.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
14
2021-06-17T17:17:07.000Z
2022-03-26T05:20:20.000Z
cpp/src/utilities/solvers/ej_diffusion/ej_diffusion.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
6
2021-11-01T20:37:39.000Z
2022-03-11T17:18:53.000Z
cpp/src/utilities/solvers/ej_diffusion/ej_diffusion.cpp
dalexa10/puma
ca02309c9f5c71e2e80ad8d64155dd6ca936c667
[ "NASA-1.3" ]
8
2021-07-20T09:24:23.000Z
2022-02-26T16:32:00.000Z
#include "ej_diffusion.h" EJ_Diffusion::EJ_Diffusion(puma::Matrix<double> *T, puma::Matrix<double> *kMat, char dir, double solverTol, int solverMaxIt, bool print, int numThreads) { this->T = T; this->kMat = kMat; this->dir = dir; this->solverTol = solverTol; this->solverMaxIt = solverMaxIt; t...
25.625899
176
0.504773
dalexa10
fe86780268c1ff4b208053446b7199550f6d58b3
953
cpp
C++
Projects/Kalinka5_Factorial2.cpp
Nakama3942/SimpleProjects
2d927fde6b3fd4a597a3035c25a0534873aa1f47
[ "WTFPL" ]
1
2020-11-08T22:03:56.000Z
2020-11-08T22:03:56.000Z
Projects/Kalinka5_Factorial2.cpp
Nakama3942/SimpleProjects
2d927fde6b3fd4a597a3035c25a0534873aa1f47
[ "WTFPL" ]
null
null
null
Projects/Kalinka5_Factorial2.cpp
Nakama3942/SimpleProjects
2d927fde6b3fd4a597a3035c25a0534873aa1f47
[ "WTFPL" ]
null
null
null
//*Пользовател вводит натуральное число n и действительное x, а программа просчитывает сумму по формуле x + x^2/2! + .. + x^n/n! #include <iostream> #include <math.h> using namespace std; int factorial(int n) { if (n == 1) return 1; else return n * factorial(n - 1); } double form(...
20.276596
129
0.451207
Nakama3942
fe878002ee03f2a738d4991d2bd0fba3d0dcc2c5
1,244
cpp
C++
src/vhdlConvertor/archParser.cpp
lionheart117/hdlConvertor
935941471fbb592942776d2c46af2be0b14b9b06
[ "MIT" ]
1
2021-08-02T02:23:39.000Z
2021-08-02T02:23:39.000Z
src/vhdlConvertor/archParser.cpp
dalance/hdlConvertor
34efb6ce0e38b7fa73251c179a8e34cabe1c7772
[ "MIT" ]
null
null
null
src/vhdlConvertor/archParser.cpp
dalance/hdlConvertor
34efb6ce0e38b7fa73251c179a8e34cabe1c7772
[ "MIT" ]
null
null
null
#include <hdlConvertor/vhdlConvertor/archParser.h> #include <hdlConvertor/vhdlConvertor/blockDeclarationParser.h> #include <hdlConvertor/vhdlConvertor/referenceParser.h> #include <hdlConvertor/vhdlConvertor/statementParser.h> #include <hdlConvertor/createObject.h> namespace hdlConvertor { namespace vhdl { using vhdl...
28.272727
69
0.732315
lionheart117
fe87d7fa4f8dd3e443e18593732904a0f64538fb
3,154
cpp
C++
benchmarks/hoard/threadtest/threadtest.cpp
cksystemsgroup/scalloc-artifact
118de2d4947c8c6e6d15754bcd5054396533d31f
[ "BSD-2-Clause" ]
9
2015-10-27T15:09:47.000Z
2019-04-26T13:45:07.000Z
benchmarks/hoard/threadtest/threadtest.cpp
cksystemsgroup/scalloc-artifact
118de2d4947c8c6e6d15754bcd5054396533d31f
[ "BSD-2-Clause" ]
1
2016-06-18T10:54:23.000Z
2016-08-18T12:16:59.000Z
benchmarks/hoard/threadtest/threadtest.cpp
cksystemsgroup/scalloc-artifact
118de2d4947c8c6e6d15754bcd5054396533d31f
[ "BSD-2-Clause" ]
3
2016-09-25T04:37:09.000Z
2018-03-16T18:34:00.000Z
///-*-C++-*-////////////////////////////////////////////////////////////////// // // Hoard: A Fast, Scalable, and Memory-Efficient Allocator // for Shared-Memory Multiprocessors // Contact author: Emery Berger, http://www.cs.utexas.edu/users/emery // // Copyright (c) 1998-2000, The University of Texas at Austin....
20.217949
145
0.563094
cksystemsgroup
fe8974b2dac84aaacbb75cce904b77d742e7550d
1,612
cpp
C++
src/visual/ellipse.cpp
alvgaona/ekf-mono-slam
e0dd23d8d5e3e1f60819bec836640176af9cd8e9
[ "MIT" ]
9
2020-04-28T02:45:01.000Z
2021-07-25T04:17:35.000Z
src/visual/ellipse.cpp
alvgaona/ekf-mono-slam
e0dd23d8d5e3e1f60819bec836640176af9cd8e9
[ "MIT" ]
null
null
null
src/visual/ellipse.cpp
alvgaona/ekf-mono-slam
e0dd23d8d5e3e1f60819bec836640176af9cd8e9
[ "MIT" ]
null
null
null
#include "visual/ellipse.h" using namespace EkfMath; Ellipse::Ellipse(cv::Point2f center, cv::Mat matrix) { center_ = center; matrix_ = matrix; cv::eigen(matrix, eigen_values_, eigen_vectors_); } cv::Size2f Ellipse::Axes() { cv::Size2f axes(static_cast<double>(2.0L * sqrt(eigen_values_.at<double>(0, 0) * CHI...
31
97
0.648263
alvgaona
fe8981cb2ff13d6a8e72ac7b3b6185dbb03d248e
755
hpp
C++
src/dispatcher.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/dispatcher.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/dispatcher.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
#pragma once #include "mutex.hpp" #include <functional> #include <gtkmm.h> #include <list> class Dispatcher { private: Mutex functions_mutex; std::list<std::function<void()>> functions GUARDED_BY(functions_mutex); Glib::Dispatcher dispatcher; sigc::connection connection; void connect(); public: /// Must ...
20.972222
73
0.692715
jlangvand
fe8c0c80e9a34226c3dc53614fe2db92c7b2dda5
26,192
hpp
C++
shared/utils/il2cpp-functions.hpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
shared/utils/il2cpp-functions.hpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
shared/utils/il2cpp-functions.hpp
Metalit/beatsaber-hook
d9eed309cee7c3aca3da6c983f8787d2395c1713
[ "MIT" ]
null
null
null
#ifndef IL2CPP_FUNCTIONS_H #define IL2CPP_FUNCTIONS_H #pragma pack(push) #include <cstddef> #include <stdio.h> #include <stdlib.h> #include "logging.hpp" #include "utils.h" #if !defined(UNITY_2019) && __has_include("il2cpp-runtime-stats.h") #define UNITY_2019 #endif #if defined(__GLIBCXX__) || defined(__GLIBCPP__) ...
55.491525
246
0.748511
Metalit
fe8e1d7761a863d7868d2afa0acf21e713da7564
8,543
hpp
C++
include/lbann/utils/cudnn.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/utils/cudnn.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
include/lbann/utils/cudnn.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
41.270531
83
0.610675
andy-yoo
fe8e341043d412fbf85d071ec983141d6afb4d5f
2,938
cc
C++
cyber/scheduler/scheduler_policy_test.cc
ghdawn/apollo
002eba4a1635d6af7f1ebd2118464bca6f86b106
[ "Apache-2.0" ]
null
null
null
cyber/scheduler/scheduler_policy_test.cc
ghdawn/apollo
002eba4a1635d6af7f1ebd2118464bca6f86b106
[ "Apache-2.0" ]
null
null
null
cyber/scheduler/scheduler_policy_test.cc
ghdawn/apollo
002eba4a1635d6af7f1ebd2118464bca6f86b106
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
32.644444
79
0.67631
ghdawn
fe9210adf4e62aec6f352ae853e618bf0948d838
3,224
hpp
C++
INCLUDE/Vcl/qclipbrd.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
INCLUDE/Vcl/qclipbrd.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
INCLUDE/Vcl/qclipbrd.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'QClipbrd.pas' rev: 6.00 #ifndef QClipbrdHPP #define QClipbrdHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <QGraph...
37.057471
104
0.701303
earthsiege2
fe921c3cd9461783b02aa6b9ab8b135d093f5b30
946
cpp
C++
oops/7.1.virtual functions.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
21
2021-10-02T14:14:33.000Z
2022-01-12T16:27:49.000Z
oops/7.1.virtual functions.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
10
2021-10-02T15:52:56.000Z
2021-10-31T14:13:23.000Z
oops/7.1.virtual functions.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
64
2021-10-02T09:20:19.000Z
2021-10-31T20:21:01.000Z
#include<iostream> using namespace std; class Base{ public: void print(){cout<<"Base"<<endl;} }; class Derived:public Base{ public: void print(){ cout<<"Derived"<<endl; } }; int main(){ Base b; Derived d; b.print(); d.print(); Base*ptr=&d; ptr->pri...
28.666667
96
0.606765
mrjayantk237
fe92ffca13c5d8825ec617b976adfe37f72c82f3
15,997
hxx
C++
src/dcc/Loco.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
src/dcc/Loco.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
src/dcc/Loco.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
/** \copyright * Copyright (c) 2014, Balazs Racz * 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 the above copyright notice, * this li...
31.740079
106
0.653185
TrainzLuvr
fe93860617f6c225e0e67e3ec42077ffe238e898
2,908
cpp
C++
earth_enterprise/src/fusion/fusionui/AssetLog.cpp
tornado12345/earthenterprise
0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9
[ "Apache-2.0" ]
2,661
2017-03-20T22:12:50.000Z
2022-03-30T09:43:19.000Z
earth_enterprise/src/fusion/fusionui/AssetLog.cpp
tornado12345/earthenterprise
0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9
[ "Apache-2.0" ]
1,531
2017-03-24T17:20:32.000Z
2022-03-16T18:11:14.000Z
earth_enterprise/src/fusion/fusionui/AssetLog.cpp
tornado12345/earthenterprise
0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9
[ "Apache-2.0" ]
990
2017-03-24T11:54:28.000Z
2022-03-22T11:51:47.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
24.233333
95
0.666437
tornado12345
fe96f577c4a8cc52efd1178c2edb70564ea6d497
6,969
cpp
C++
Graphics/ParticleEmitter.cpp
craigjlovell/aieBootstrap-master
2b0b850ed4be9103b15e38631fee496c93e1f5a5
[ "MIT" ]
null
null
null
Graphics/ParticleEmitter.cpp
craigjlovell/aieBootstrap-master
2b0b850ed4be9103b15e38631fee496c93e1f5a5
[ "MIT" ]
null
null
null
Graphics/ParticleEmitter.cpp
craigjlovell/aieBootstrap-master
2b0b850ed4be9103b15e38631fee496c93e1f5a5
[ "MIT" ]
null
null
null
#include "ParticleEmitter.h" #include <glm/ext.hpp> #include <gl_core_4_4.h> ParticleEmitter::ParticleEmitter() : m_particles(nullptr), m_firstDead(0), m_maxParticles(0), m_position(0,0,0), m_vao(0), m_vbo(0), m_ibo(0), m_vertexData(nullptr) { } ParticleEmitter::~ParticleEmitter() { delete[] m_particles; delete[] m...
33.666667
266
0.710719
craigjlovell
fe9ace811ea5bdcbd7e065c7ef9e5804b48710f8
656
cpp
C++
N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0440-K-th-Smallest-in-Lexicographical-Order/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { public: int findKthNumber(int n, int k) { int curr = 1; k--; while(k > 0){ int steps = getStep(curr, n); if(steps <= k){ k -= steps; curr++; }else{ curr = curr*10; k--; ...
21.16129
46
0.368902
loyio
fe9b37b2274ada186eae49059f7a75616cd7f1d2
2,841
cpp
C++
pdg-deprecated/PDGHelper.cpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2021-04-20T18:43:44.000Z
2021-04-20T18:43:44.000Z
pdg-deprecated/PDGHelper.cpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2021-09-23T14:55:43.000Z
2021-09-23T18:09:35.000Z
pdg-deprecated/PDGHelper.cpp
gaps-closure/capo
894d2f6d291ff79e18c77e0ca7073531147cbee8
[ "BSD-3-Clause" ]
1
2020-05-21T03:12:16.000Z
2020-05-21T03:12:16.000Z
#include <fstream> #include "PDGHelper.h" using namespace llvm; using namespace pdg; std::map<const Function *, FunctionWrapper *> pdg::funcMap; std::map<const CallInst *, CallWrapper *> pdg::callMap; std::set<InstructionWrapper *> pdg::instnodes; std::set<InstructionWrapper *> pdg::globalList; std::map<const Instruct...
33.423529
86
0.598381
gaps-closure
fea0ee0327af3d45bc525ac54da3d5c90b734b23
16,514
cc
C++
components/ntp_snippets/remote/json_request.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/ntp_snippets/remote/json_request.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/ntp_snippets/remote/json_request.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "components/ntp_snippets/remote/json_request.h" #include <algorithm> #include <utility> #include <vector> #include "base/command_line.h" #inclu...
36.944072
80
0.714848
zipated
fea15aabecf641d5e10a0afbff8f635f076e6992
10,158
hpp
C++
Tensile/Source/client/include/ResultReporter.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
null
null
null
Tensile/Source/client/include/ResultReporter.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
null
null
null
Tensile/Source/client/include/ResultReporter.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright (c) 2019 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
43.784483
148
0.546171
micmelesse
fea2c6aeef91d4ffcd4855e451f5dde9d7e300a0
2,133
cpp
C++
1.0.2/cores/rp2040/Bootsel.cpp
UM-battery-lab/Longan-RP2040
81f2f50eac4149cc608acf9662f64641095d49c6
[ "MIT" ]
null
null
null
1.0.2/cores/rp2040/Bootsel.cpp
UM-battery-lab/Longan-RP2040
81f2f50eac4149cc608acf9662f64641095d49c6
[ "MIT" ]
null
null
null
1.0.2/cores/rp2040/Bootsel.cpp
UM-battery-lab/Longan-RP2040
81f2f50eac4149cc608acf9662f64641095d49c6
[ "MIT" ]
1
2022-02-15T16:22:47.000Z
2022-02-15T16:22:47.000Z
/** Copyright (c) 2020 Raspberry Pi (Trading) Ltd. SPDX-License-Identifier: BSD-3-Clause */ #include <Arduino.h> #include "pico/stdlib.h" #include "hardware/gpio.h" #include "hardware/sync.h" #include "hardware/structs/ioqspi.h" #include "hardware/structs/sio.h" // This example blinks the Pico LED when the BO...
34.967213
81
0.700891
UM-battery-lab
fea5787d36aa11d39cfbd670ba034d1cdc00f4f8
14,447
cc
C++
vbd/vbd.cc
akihito-takeuchi/cpp-variable-binding
9664d1245984faf4e40090eab99304ad2d817072
[ "MIT" ]
null
null
null
vbd/vbd.cc
akihito-takeuchi/cpp-variable-binding
9664d1245984faf4e40090eab99304ad2d817072
[ "MIT" ]
null
null
null
vbd/vbd.cc
akihito-takeuchi/cpp-variable-binding
9664d1245984faf4e40090eab99304ad2d817072
[ "MIT" ]
null
null
null
// Copyright (c) 2019 Akihito Takeuchi // Distributed under the MIT License : http://opensource.org/licenses/MIT #include "vbd/vbd.h" #include "vbd/vbd_impl.h" #include "vbd/graphstyle.h" #include <iostream> #include <boost/format.hpp> #include <boost/lexical_cast.hpp> #include <boost/algorithm/string/predicate.hpp> ...
31.135776
81
0.67232
akihito-takeuchi
fea847180db4236e8668e6eb2ada7c4f2fbe1cce
7,833
cxx
C++
Qt/Widgets/pqDoubleLineEdit.cxx
hkroeger/caetool-paraview
716d3174523674134a93bfe3a3d335c1ed87d7f1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Qt/Widgets/pqDoubleLineEdit.cxx
hkroeger/caetool-paraview
716d3174523674134a93bfe3a3d335c1ed87d7f1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Qt/Widgets/pqDoubleLineEdit.cxx
hkroeger/caetool-paraview
716d3174523674134a93bfe3a3d335c1ed87d7f1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: ParaView Module: pqDoubleLineEdit.cxx Copyright (c) 2005-2018 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the Para...
30.838583
99
0.58994
hkroeger
feabcfc588f146b159af57cfc2db2be828a42ae2
4,295
cpp
C++
libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp
LaudateCorpus1/llvm-project-staging
cc926dc3a87af7023aa9b6c392347a0a8ed6949b
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp
LaudateCorpus1/llvm-project-staging
cc926dc3a87af7023aa9b6c392347a0a8ed6949b
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp
LaudateCorpus1/llvm-project-staging
cc926dc3a87af7023aa9b6c392347a0a8ed6949b
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
31.580882
84
0.6156
LaudateCorpus1
feaddedf41b86ec82c6e11f99c2a1f995861925e
5,166
cpp
C++
src/XScript.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
src/XScript.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
src/XScript.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
#include "cinder/Utilities.h" #include "XScript.h" #include "XNode.h" #include "XRect.h" #include "XText.h" #include "XImage.h" #include "XSVG.h" using namespace ci; using namespace ci::app; using namespace std; namespace xui { struct XNodeHelper { static float getX(XNode const* node) { return node->getX(); } s...
28.384615
111
0.646535
DashW
feaf9b4f8a7902a8d1ed0745a72ea920a5f56eaa
2,731
cpp
C++
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
3
2020-03-25T01:59:20.000Z
2020-06-02T17:58:05.000Z
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
null
null
null
Plugins/MadaraLibrary/Source/ThirdParty/madara/expression/CompositeAndNode.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
1
2020-11-05T23:04:05.000Z
2020-11-05T23:04:05.000Z
/* -*- C++ -*- */ #ifndef COMPOSITE_AND_NODE_CPP #define COMPOSITE_AND_NODE_CPP #ifndef _MADARA_NO_KARL_ #include <iostream> #include "madara/expression/ComponentNode.h" #include "madara/expression/Visitor.h" #include "madara/expression/CompositeAndNode.h" #include "madara/expression/LeafNode.h" // Ctor madara::e...
27.31
80
0.692054
jredmondson
feb06acef31e784da976ebc368b7b575ad5873c7
6,222
cpp
C++
src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp
kulibali/neurolab
c522358a22fb384dbea6fee87b49d8572f8db844
[ "BSD-3-Clause" ]
1
2021-10-09T16:12:07.000Z
2021-10-09T16:12:07.000Z
src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp
kulibali/neurolab
c522358a22fb384dbea6fee87b49d8572f8db844
[ "BSD-3-Clause" ]
null
null
null
src/thirdparty/qtpropertybrowser/qtpropertybrowser-2.5_1-opensource/examples/object_controller/main.cpp
kulibali/neurolab
c522358a22fb384dbea6fee87b49d8572f8db844
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees hol...
35.554286
78
0.704275
kulibali
feb0ea9d4a09ee235757bfcef501fef7c831ed4f
4,998
cxx
C++
PWGLF/totEt/AliAnalysisEtReconstructedPhos.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGLF/totEt/AliAnalysisEtReconstructedPhos.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGLF/totEt/AliAnalysisEtReconstructedPhos.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
//_________________________________________________________________________ // Utility Class for transverse energy studies // Base class for ESD analysis, for PHOS // - reconstruction output // implementation file // //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL) //________________________________...
34.951049
227
0.727091
maroozm
feb18c7aec0091b3e0f740202dc56c6266321ec6
3,595
cpp
C++
main.cpp
nabetani/boost-sort
779e1cfcd06eac7ffd32865ef8d3bcba0609e333
[ "MIT" ]
null
null
null
main.cpp
nabetani/boost-sort
779e1cfcd06eac7ffd32865ef8d3bcba0609e333
[ "MIT" ]
null
null
null
main.cpp
nabetani/boost-sort
779e1cfcd06eac7ffd32865ef8d3bcba0609e333
[ "MIT" ]
null
null
null
#include <algorithm> #include <boost/sort/flat_stable_sort/flat_stable_sort.hpp> #include <boost/sort/pdqsort/pdqsort.hpp> #include <boost/sort/spinsort/spinsort.hpp> #include <boost/sort/spreadsort/integer_sort.hpp> #include <chrono> #include <functional> #include <iostream> #include <random> #include <string> #includ...
26.240876
80
0.582476
nabetani
feb1c87282bdd85aa97b36c40c66da7cbd435407
12,509
cpp
C++
game/chooseserverform.cpp
spiffcode/hostile-takeover
363c8f7f02c25f90255b28a5e2eaea784b2a502f
[ "BSD-2-Clause-FreeBSD" ]
113
2015-01-07T00:37:37.000Z
2022-03-08T17:58:24.000Z
game/chooseserverform.cpp
spiffcode/hostile-takeover
363c8f7f02c25f90255b28a5e2eaea784b2a502f
[ "BSD-2-Clause-FreeBSD" ]
6
2015-04-13T16:16:00.000Z
2021-06-08T04:49:09.000Z
game/chooseserverform.cpp
spiffcode/hostile-takeover
363c8f7f02c25f90255b28a5e2eaea784b2a502f
[ "BSD-2-Clause-FreeBSD" ]
49
2015-01-08T04:27:35.000Z
2022-03-08T04:55:08.000Z
#include "game/chooseserverform.h" #include "game/simplerequest.h" #include "game/serviceurls.h" #include "game/loginhandler.h" #include "mpshared/constants.h" #include "base/format.h" #include "base/thread.h" #include "base/misc.h" #include "yajl/wrapper/jsonbuilder.h" #include "game/xtransport.h" #include <algorithm>...
31.508816
108
0.613079
spiffcode
feb454ba743335fc8a9fb308cf1838a1bf77a282
1,412
cpp
C++
MavLinkCom/src/AdHocConnection.cpp
jeyong/AirSim
1fd6a3fc311c704bbbb0b2b6b245e8fa0ba26c8b
[ "MIT" ]
8
2018-06-13T08:44:13.000Z
2020-06-29T06:43:31.000Z
MavLinkCom/src/AdHocConnection.cpp
jeyong/AirSim
1fd6a3fc311c704bbbb0b2b6b245e8fa0ba26c8b
[ "MIT" ]
14
2021-02-25T22:32:34.000Z
2021-08-20T17:17:12.000Z
MavLinkCom/src/AdHocConnection.cpp
jeyong/AirSim
1fd6a3fc311c704bbbb0b2b6b245e8fa0ba26c8b
[ "MIT" ]
7
2020-05-22T20:08:22.000Z
2021-01-22T09:39:17.000Z
#include "AdHocConnection.hpp" #include "impl/AdHocConnectionImpl.hpp" using namespace mavlinkcom; using namespace mavlinkcom_impl; AdHocConnection::AdHocConnection() { pImpl.reset(new AdHocConnectionImpl()); } std::shared_ptr<AdHocConnection> AdHocConnection::connectLocalUdp(const std::string& nodeN...
25.214286
160
0.731586
jeyong
feb6c072ed5af3d2ebfbd8ea77d955e4dce3d5e9
3,874
cc
C++
modules/pacing/paced_sender_unittest.cc
tstan123/webrtc-client-native
ef66da2abd2db839c9e57958ea090538ab339808
[ "BSD-3-Clause" ]
128
2019-10-07T14:03:15.000Z
2022-02-25T10:25:57.000Z
modules/pacing/paced_sender_unittest.cc
tstan123/webrtc-client-native
ef66da2abd2db839c9e57958ea090538ab339808
[ "BSD-3-Clause" ]
51
2019-10-19T04:58:30.000Z
2022-01-03T07:16:46.000Z
modules/pacing/paced_sender_unittest.cc
tstan123/webrtc-client-native
ef66da2abd2db839c9e57958ea090538ab339808
[ "BSD-3-Clause" ]
90
2019-10-16T06:13:14.000Z
2022-03-02T10:29:19.000Z
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
32.283333
79
0.728704
tstan123
feb9c3d70cea77934f163a13008042476d41e0d0
431
cpp
C++
areas/MarjanQML/main.cpp
misoboute/playground
9732bf50ddec7fd2112d60b372c4489f9d1b1763
[ "MIT" ]
null
null
null
areas/MarjanQML/main.cpp
misoboute/playground
9732bf50ddec7fd2112d60b372c4489f9d1b1763
[ "MIT" ]
1
2019-12-01T11:03:21.000Z
2020-07-27T12:21:28.000Z
areas/MarjanQML/main.cpp
misoboute/playground
9732bf50ddec7fd2112d60b372c4489f9d1b1763
[ "MIT" ]
2
2019-07-26T10:01:25.000Z
2019-12-01T10:55:26.000Z
#include <iostream> #include <QApplication> #include <QQmlApplicationEngine> int main(int argc, char** argv) { // try // { QApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); return app.exec(); // } // catch(c...
21.55
67
0.559165
misoboute
febaa98e494ff30b63d5ed1fc27864108e2bc989
8,503
cpp
C++
disc-fe/src/Panzer_Workset_Utilities.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/src/Panzer_Workset_Utilities.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/src/Panzer_Workset_Utilities.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
37.791111
106
0.605551
hillyuan
febbb2ed11a059d64236ff107a5afc7b4ff44681
32,948
cpp
C++
tools/aapt2/configuration/ConfigurationParser_test.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
tools/aapt2/configuration/ConfigurationParser_test.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
tools/aapt2/configuration/ConfigurationParser_test.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.758197
100
0.686445
Y-D-Lu
febd6c03ff3b2245435029e01184494618f038d6
6,331
cxx
C++
SimVascular-master/Code/Source/sv4gui/Plugins/org.sv.gui.qt.application/sv4gui_CloseProjectAction.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Plugins/org.sv.gui.qt.application/sv4gui_CloseProjectAction.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
SimVascular-master/Code/Source/sv4gui/Plugins/org.sv.gui.qt.application/sv4gui_CloseProjectAction.cxx
mccsssk2/SimVascularPM3_March2020
3cce6cc7be66545bea5dc3915a2db50a3892bf04
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) Stanford University, The Regents of the University of * California, and others. * * All Rights Reserved. * * See Copyright-SimVascular.txt for additional details. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
37.023392
133
0.673511
mccsssk2
febdf4064217a57acc335f150e4fe6d60fc26ee8
957
hpp
C++
include/flatboobs/types.hpp
akhilman/flatboobs
1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231
[ "MIT" ]
null
null
null
include/flatboobs/types.hpp
akhilman/flatboobs
1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231
[ "MIT" ]
1
2019-04-14T17:47:11.000Z
2019-04-17T16:42:41.000Z
include/flatboobs/types.hpp
akhilman/flatboobs
1bf116d7dbd1bc51b3c98c1c5f968ed6daa62231
[ "MIT" ]
null
null
null
#ifndef FLATBOOBS_TYPES_HPP_ #define FLATBOOBS_TYPES_HPP_ #include <flatbuffers/flatbuffers.h> #include <map> #include <type_traits> namespace flatboobs { using content_id_t = size_t; using offset_map_t = std::map<flatboobs::content_id_t, flatbuffers::uoffset_t>; struct BaseStruct {}; struct BaseTable {}; struct Ba...
27.342857
79
0.765935
akhilman
febe01c76be441f4c8d5a789a8a4d0a655af8cca
19,531
hpp
C++
include/memory/hadesmem/pelib/pe_file.hpp
phlip9/hadesmem
59e13a92c05918b8c842141fd5cac1ed390cd79e
[ "MIT" ]
19
2017-10-19T23:13:11.000Z
2022-03-29T11:37:26.000Z
include/memory/hadesmem/pelib/pe_file.hpp
namreeb/hadesmem
f0a1f0f2c7a00e0c5f085162a09e2a6cb6bb1684
[ "MIT" ]
null
null
null
include/memory/hadesmem/pelib/pe_file.hpp
namreeb/hadesmem
f0a1f0f2c7a00e0c5f085162a09e2a6cb6bb1684
[ "MIT" ]
10
2018-04-04T07:55:16.000Z
2021-11-23T20:22:43.000Z
// Copyright (C) 2010-2015 Joshua Boyce // See the file COPYING for copying permission. #pragma once #include <cstddef> #include <cstdint> #include <iosfwd> #include <memory> #include <ostream> #include <utility> #include <windows.h> #include <winnt.h> #include <hadesmem/config.hpp> #include <hadesmem/detail/assert...
32.660535
80
0.644002
phlip9
febed95a96c85ab196036847ce07a8466f010626
2,521
hpp
C++
gamelib/gamelib_physics_component.hpp
scifi6546/game
27d79976ba879263147cbf36e520c72c80f0461d
[ "MIT" ]
null
null
null
gamelib/gamelib_physics_component.hpp
scifi6546/game
27d79976ba879263147cbf36e520c72c80f0461d
[ "MIT" ]
null
null
null
gamelib/gamelib_physics_component.hpp
scifi6546/game
27d79976ba879263147cbf36e520c72c80f0461d
[ "MIT" ]
null
null
null
#ifndef GAMELIB_PHYSICS_COMPONENT_HPP #define GAMELIB_PHYSICS_COMPONENT_HPP #include <gamelib_actor.hpp> #include <gamelib_world.hpp> namespace GameLib { class PhysicsComponent { public: virtual ~PhysicsComponent() {} // handles needed initialization before play begins virtual void beginPlay(Actor& actor) {} ...
31.123457
73
0.746926
scifi6546
febffc789b4d3409c18920173f117cb8985bfbb2
2,621
cpp
C++
BFS/Food Cubes/FoodCubes.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
2
2019-09-30T01:26:41.000Z
2019-10-02T01:36:34.000Z
BFS/Food Cubes/FoodCubes.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
null
null
null
BFS/Food Cubes/FoodCubes.cpp
Sean16SYSU/Algorithms4N
24f06c29d476c4bd9c90bcc89dac90ba3a448c27
[ "MIT" ]
3
2020-05-18T15:09:01.000Z
2020-12-21T10:14:51.000Z
#include <iostream> using namespace std; #include <queue> #include <cstring> #include <algorithm> #define INF 1 << 30 #define MINF 1 << 31 bool map[103][103][103]; // true 表示是障碍,否则就不是障碍 bool visited[103][103][103]; // true表示访问过 int ans; struct Node { int x, y, z; Node(int a = 0, int b = 0, int c = 0) : x(a)...
33.177215
105
0.295307
Sean16SYSU
fec0e40f0895a575bc3b69a0d4474f0328f114c8
4,733
cc
C++
ns-allinone-3.30/ns-3.30/src/network/helper/simple-net-device-helper.cc
NEWPLAN/ns3_v3.30
c931036574ee1efd58dad6df3f6d8365b4948bcd
[ "Apache-2.0" ]
null
null
null
ns-allinone-3.30/ns-3.30/src/network/helper/simple-net-device-helper.cc
NEWPLAN/ns3_v3.30
c931036574ee1efd58dad6df3f6d8365b4948bcd
[ "Apache-2.0" ]
null
null
null
ns-allinone-3.30/ns-3.30/src/network/helper/simple-net-device-helper.cc
NEWPLAN/ns3_v3.30
c931036574ee1efd58dad6df3f6d8365b4948bcd
[ "Apache-2.0" ]
1
2019-10-23T15:15:27.000Z
2019-10-23T15:15:27.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 Universita' di Firenze * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This progr...
31.97973
140
0.707796
NEWPLAN
fec0fe0f65781dc0cb2374ab06071229c8834699
11,168
cpp
C++
test/RenderTests/src/RenderTestSuite.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
test/RenderTests/src/RenderTestSuite.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
test/RenderTests/src/RenderTestSuite.cpp
NeroBurner/osre
20d3510222cebcfc5241fda3936eabef01cc969b
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2015-2019 OSRE ( Open Source Render Engine ) by Kim Kulling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
31.459155
120
0.661891
NeroBurner
fec139e8d540cf55b7f1fe580b500512300380b4
937
hpp
C++
gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/pipeline/gx-rnd-pip-unlit-resource-set.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_PIPELINE_UNLIT_RESOURCE_SET_HPP #define GEAROENIX_RENDER_PIPELINE_UNLIT_RESOURCE_SET_HPP #include "../../core/gx-cr-build-configuration.hpp" #include "gx-rnd-pip-resource-set.hpp" namespace gearoenix::render::pipeline { class Unlit; class UnlitResourceSet : public ResourceSet { protected: ...
32.310345
80
0.763074
Hossein-Noroozpour
fec1658be242f868f880112605401c48d25d15c9
3,506
hh
C++
inc/stb_model.hh
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
inc/stb_model.hh
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
inc/stb_model.hh
stbd/stoolbox
4535e1df2795cb0157420e7d4b1a01f3bda441da
[ "MIT" ]
null
null
null
#ifndef STB_GL_MODEL_HH_ #define STB_GL_MODEL_HH_ #include "stb_types.hh" #include <string> #include <vector> #include <boost/ref.hpp> #include <memory> #include <cstdio> namespace stb { class ModelData { public: enum AttributeDataMode { TRIANGLE, TRIANGE_STRIP }; enum AttributeBufferData...
36.14433
102
0.676554
stbd
fec4dda402d389a6d9d547cbae360a9f3dc2b342
2,086
cc
C++
MathEngine/Expressions/Expression/Expression.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
MathEngine/Expressions/Expression/Expression.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
MathEngine/Expressions/Expression/Expression.cc
antoniojkim/CalcPlusPlus
33cede17001e0a7038f99ea40dd6f9e433cf6454
[ "MIT" ]
null
null
null
#include <algorithm> #include <sstream> #include "../Expression.h" #include "../NumericalExpression.h" #include "../InvalidExpression.h" using namespace std; const Variables emptyVars; Expression::Expression(Scanner::Type kind): kind{kind} {} Expression::~Expression() = default; expression Expression::simplify(...
27.090909
108
0.670182
antoniojkim
feca807a84de2b3f2c4b0b24dc78ac07da04dbf5
314
cpp
C++
LilEngie/Core/src/Entity/Components/PointLight.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
LilEngie/Core/src/Entity/Components/PointLight.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
LilEngie/Core/src/Entity/Components/PointLight.cpp
Nordaj/LilEngie
453cee13c45ae33abe2665e1446fc90e67b1117a
[ "MIT" ]
null
null
null
#include <iostream> #include <glm/glm.hpp> #include <Entity/GameObject.h> #include <Entity/Component.h> #include <Graphics/LightHandler.h> #include "PointLight.h" PointLight::PointLight(GameObject *obj) :Component(obj) { } void PointLight::Start() { //Add to lightmanager LightHandler::AddPointLight(this); }
18.470588
39
0.745223
Nordaj
fecb6b1dfa14901f5f477bc3772ba064d5782ebc
322
cpp
C++
Source/Sample/Sample2/TransformObject.cpp
MasyoLab/Directx9-Framework
b7525865744b64a7c10078656cfb086a1276c819
[ "MIT" ]
null
null
null
Source/Sample/Sample2/TransformObject.cpp
MasyoLab/Directx9-Framework
b7525865744b64a7c10078656cfb086a1276c819
[ "MIT" ]
null
null
null
Source/Sample/Sample2/TransformObject.cpp
MasyoLab/Directx9-Framework
b7525865744b64a7c10078656cfb086a1276c819
[ "MIT" ]
null
null
null
#include "TransformObject.h" TransformObject::TransformObject() { SetComponentName("TransformObject"); } TransformObject::~TransformObject() { } void TransformObject::Update() { } void TransformObject::UpdateMatrix() { CreateWorldMatrix(); } void TransformObject::GUISystem() { GUIGameObject(); GUITransform(); ...
12.384615
37
0.745342
MasyoLab
feceb1ac6da166ac7be7ce6a2a87e8ab7722e9b2
5,149
cpp
C++
Planning/waypoint_generator/src/ROI_publisher.cpp
acr-iitkgp/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
6
2020-01-07T15:45:14.000Z
2021-06-19T12:14:20.000Z
Planning/waypoint_generator/src/ROI_publisher.cpp
manthan99/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
null
null
null
Planning/waypoint_generator/src/ROI_publisher.cpp
manthan99/swarm_search
3857edde0238c2f5d83a33c8969e6e3e3b9a3dcf
[ "MIT" ]
3
2020-04-21T06:29:26.000Z
2020-11-23T05:39:41.000Z
#include <cmath> #include "ros/ros.h" #include <math.h> #include "geodetic_conv.hpp" #include "sensor_msgs/NavSatFix.h" #include "geometry_msgs/Point.h" #include <geometry_msgs/Twist.h> #include "waypoint_generator/point_list.h" #include "geometry_msgs/PoseStamped.h" #include <std_msgs/Float64.h> // #define M_PI 3.141...
31.206061
131
0.707322
acr-iitkgp
fecf8281fde3a86854821e28b53de5f20bea0084
60,415
cxx
C++
PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx
vfilova/AliPhysics
2ec91e234e5601e855daf3e58ef90a1eaae2f413
[ "BSD-3-Clause" ]
1
2021-06-11T20:36:16.000Z
2021-06-11T20:36:16.000Z
PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx
vfilova/AliPhysics
2ec91e234e5601e855daf3e58ef90a1eaae2f413
[ "BSD-3-Clause" ]
1
2017-03-14T15:11:43.000Z
2017-03-14T15:53:09.000Z
PWGCF/EBYE/NetLambda/AliAnalysisTaskNetLambdaIdent.cxx
vfilova/AliPhysics
2ec91e234e5601e855daf3e58ef90a1eaae2f413
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
39.720579
503
0.645634
vfilova
fed36904f2fc71038820c11a975dd5e84661f9b9
10,657
hpp
C++
include/ouchilib/crypto/algorithm/aes.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-06-11T05:22:54.000Z
2019-06-11T05:22:54.000Z
include/ouchilib/crypto/algorithm/aes.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
1
2019-10-30T14:33:37.000Z
2019-10-31T15:01:09.000Z
include/ouchilib/crypto/algorithm/aes.hpp
ouchiminh/ouchilib
de1bab0aa75c9e567ce06d76c95bc330dffbf52e
[ "MIT" ]
null
null
null
#pragma once #include <cstdlib> #include <cstdint> #include <cstring> #include <utility> #include "ouchilib/utl/step.hpp" #include "../common.hpp" namespace ouchi::crypto { inline constexpr std::uint32_t rotword(std::uint32_t in) { return rotl(in, 8); } static_assert(rotword(0x00112233) == 0x11223300); inline ...
38.472924
88
0.546683
ouchiminh
fed39d787278374c634830ccebc1956f0c48cb73
1,012
hpp
C++
deps/src/boost_1_65_1/boost/python/detail/map_entry.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
deps/src/boost_1_65_1/boost/python/detail/map_entry.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
deps/src/boost_1_65_1/boost/python/detail/map_entry.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Copyright David Abrahams 2002. // 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 MAP_ENTRY_DWA2002118_HPP # define MAP_ENTRY_DWA2002118_HPP namespace boost { namespace python { namespace detail { // A ...
23
66
0.689723
shreyasvj25
fed84fbd1fca11209ac857300227a4feb515a420
2,207
cpp
C++
src/cpp/SPL/FrontEnd/UsedOperatorInvocations.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
10
2021-02-19T20:19:24.000Z
2021-09-16T05:11:50.000Z
src/cpp/SPL/FrontEnd/UsedOperatorInvocations.cpp
xguerin/openstreams
7000370b81a7f8778db283b2ba9f9ead984b7439
[ "Apache-2.0" ]
7
2021-02-20T01:17:12.000Z
2021-06-08T14:56:34.000Z
src/cpp/SPL/FrontEnd/UsedOperatorInvocations.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
4
2021-02-19T18:43:10.000Z
2022-02-23T14:18:16.000Z
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
31.985507
94
0.708654
IBMStreams
fedbac19f574b275988c8a19b137fe48ae95b4c0
6,301
cpp
C++
tests/report/enc/datetime.cpp
jbdelcuv/openenclave
c2e9cfabd788597f283c8dd39edda5837b1b1339
[ "MIT" ]
617
2019-06-19T22:08:04.000Z
2022-03-25T09:21:03.000Z
tests/report/enc/datetime.cpp
jbdelcuv/openenclave
c2e9cfabd788597f283c8dd39edda5837b1b1339
[ "MIT" ]
2,545
2019-06-18T21:46:10.000Z
2022-03-31T23:26:51.000Z
tests/report/enc/datetime.cpp
jbdelcuv/openenclave
c2e9cfabd788597f283c8dd39edda5837b1b1339
[ "MIT" ]
292
2019-07-02T15:40:35.000Z
2022-03-27T13:27:10.000Z
// Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. #include <openenclave/enclave.h> #include <openenclave/internal/datetime.h> #include <openenclave/internal/tests.h> #include <stdio.h> #include <string.h> #include "../../../common/sgx/quote.h" #include "tests_t.h" void TestPositive(co...
41.728477
80
0.679416
jbdelcuv
fedd42565c43c97d8076d5105b8d6f5d96c178a4
9,288
cpp
C++
lib/Modules.in.cpp
bastille-attic/SoapySDR
7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea
[ "BSL-1.0" ]
1
2021-03-04T07:02:11.000Z
2021-03-04T07:02:11.000Z
lib/Modules.in.cpp
bastille-attic/SoapySDR
7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea
[ "BSL-1.0" ]
null
null
null
lib/Modules.in.cpp
bastille-attic/SoapySDR
7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2014-2016 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include <SoapySDR/Modules.hpp> #include <SoapySDR/Logger.hpp> #include <SoapySDR/Version.hpp> #include <vector> #include <string> #include <cstdlib> //getenv #include <sstream> #include <map> #ifdef _MSC_VER #include <windows.h> #else #include ...
30.754967
136
0.612618
bastille-attic
fee0330c29683881624ff108e2fe55816e4ae2fc
1,256
cpp
C++
socket/src/socket_error.cpp
Clonkk/ezHttpServer
41299d480d8ef19c264d41fb0731f93edff2f6ea
[ "MIT" ]
1
2018-01-20T08:40:10.000Z
2018-01-20T08:40:10.000Z
socket/src/socket_error.cpp
Clonkk/cpp11HttpServer
41299d480d8ef19c264d41fb0731f93edff2f6ea
[ "MIT" ]
null
null
null
socket/src/socket_error.cpp
Clonkk/cpp11HttpServer
41299d480d8ef19c264d41fb0731f93edff2f6ea
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 Régis Caillaud * * This source code is provided 'as-is', without any express or implied * warranty. In no event will the author be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose...
36.941176
79
0.710191
Clonkk
fee0c29c953b6268b3ed45eb11e73a53641ee7a9
1,219
hpp
C++
examples/csv_parser/constants.hpp
7starsea/py_utilities
fbf03d8b49546a7cd3b20313b5db2f8fc96bcea8
[ "MIT" ]
null
null
null
examples/csv_parser/constants.hpp
7starsea/py_utilities
fbf03d8b49546a7cd3b20313b5db2f8fc96bcea8
[ "MIT" ]
null
null
null
examples/csv_parser/constants.hpp
7starsea/py_utilities
fbf03d8b49546a7cd3b20313b5db2f8fc96bcea8
[ "MIT" ]
null
null
null
#pragma once #include <deque> #include "csv_format.hpp" #include "csv_row.hpp" namespace csv { // Get operating system specific details #if defined(_WIN32) #include <Windows.h> #undef max #undef min inline int getpagesize() { _SYSTEM_INFO sys_info = {}; ...
26.5
76
0.589007
7starsea
fee0f3651c895726877d2399c814d1abb4b5f2c9
51
cpp
C++
Linear_Algebra/Application/triangle.cpp
TomBarten/linear-algebra
2b4bdfff0249c9208db6a1d2adaf10113149a779
[ "MIT" ]
1
2021-08-30T20:28:34.000Z
2021-08-30T20:28:34.000Z
Linear_Algebra/Application/triangle.cpp
TomBarten/linear-algebra
2b4bdfff0249c9208db6a1d2adaf10113149a779
[ "MIT" ]
null
null
null
Linear_Algebra/Application/triangle.cpp
TomBarten/linear-algebra
2b4bdfff0249c9208db6a1d2adaf10113149a779
[ "MIT" ]
null
null
null
#include "triangle.h" namespace application { }
7.285714
22
0.705882
TomBarten
fee14cc9a8df9ac6ed581fc097296b6c758e6551
15,162
cpp
C++
hardware/src/display_monitor_andr.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
2
2020-11-19T03:23:35.000Z
2021-02-25T03:34:40.000Z
hardware/src/display_monitor_andr.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
hardware/src/display_monitor_andr.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
/******************************************************************************* MIT License Copyright (c) 2021 Romain Vinders 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, ...
49.875
159
0.675636
vinders
feeb9096e0fd0c5907e02d8b5eab5d6e2c52cf26
3,693
cc
C++
events/src/KeyEvent.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
10
2020-04-15T16:58:39.000Z
2021-09-13T01:50:07.000Z
events/src/KeyEvent.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
255
2020-04-17T22:25:00.000Z
2022-03-31T23:58:50.000Z
events/src/KeyEvent.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
19
2020-05-21T09:01:59.000Z
2021-11-29T20:24:04.000Z
/* * Copyright (C) 2016 Open Source Robotics 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 required by appl...
22.937888
75
0.525318
vatanaksoytezer
feee3c3ca7adc89971261b30b40eb1fcc1225c21
3,375
cc
C++
2016-1B-A/tests.cc
lpenz/google-codejam
d4a499a37001cce1e26e7c392b2eb9bb275b18cb
[ "Apache-2.0" ]
null
null
null
2016-1B-A/tests.cc
lpenz/google-codejam
d4a499a37001cce1e26e7c392b2eb9bb275b18cb
[ "Apache-2.0" ]
null
null
null
2016-1B-A/tests.cc
lpenz/google-codejam
d4a499a37001cce1e26e7c392b2eb9bb275b18cb
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #define NOMAIN #include "solver.cc" TEST(Sample, Case1) { EXPECT_EQ(solve("OZONETOWER"), "012"); } TEST(Sample, Case2) { EXPECT_EQ(solve("WEIGHFOXTOURIST"), "2468"); } TEST(Sample, Case3) { EXPECT_EQ(solve("OURNEONFOE"), "114"); } TEST(Sample, Case4) { EXPECT_EQ(solve("ETHE...
76.704545
2,642
0.906074
lpenz
feeebf1298ff7f9a0d5d5f588a7ec581e7cdee5e
12,716
cpp
C++
ruby_marshal/src/cpp_stl_98/ruby_marshal.cpp
kaitai-io/formats-kaitai-io.github.io
2700514a2a8f67c5351fe93962c70abea02fd3d3
[ "0BSD" ]
4
2018-12-10T09:21:19.000Z
2021-11-03T16:43:22.000Z
ruby_marshal/src/cpp_stl_98/ruby_marshal.cpp
kaitai-io/formats-kaitai-io.github.io
2700514a2a8f67c5351fe93962c70abea02fd3d3
[ "0BSD" ]
null
null
null
ruby_marshal/src/cpp_stl_98/ruby_marshal.cpp
kaitai-io/formats-kaitai-io.github.io
2700514a2a8f67c5351fe93962c70abea02fd3d3
[ "0BSD" ]
3
2019-04-08T08:22:22.000Z
2021-10-10T19:11:51.000Z
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild #include "ruby_marshal.h" #include "kaitai/exceptions.h" ruby_marshal_t::ruby_marshal_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, ruby_marshal_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent;...
25.180198
358
0.591931
kaitai-io
fef21fde4e50939f14c95851d34669baa6c9e07b
5,282
hxx
C++
include/opengm/functions/modelviewfunction.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
include/opengm/functions/modelviewfunction.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
include/opengm/functions/modelviewfunction.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#pragma once #ifndef OPENGM_MODELVIEWFUNCTION_HXX #define OPENGM_MODELVIEWFUNCTION_HXX #include "opengm/functions/function_properties_base.hxx" namespace opengm { /// Function that refers to a factor of another GraphicalModel /// /// \tparam GM type of the graphical model which we want to view /// \tparam MARRAY typ...
27.65445
129
0.695191
burcin
fef22804ea27051568f02524adb66cd9abef0aa8
1,772
cpp
C++
src/keyboard.cpp
EduardoPagotto/Esp32DisplayKeyboard
492b10e5e974050778f3cd47c57d72a32f0c09ca
[ "MIT" ]
null
null
null
src/keyboard.cpp
EduardoPagotto/Esp32DisplayKeyboard
492b10e5e974050778f3cd47c57d72a32f0c09ca
[ "MIT" ]
null
null
null
src/keyboard.cpp
EduardoPagotto/Esp32DisplayKeyboard
492b10e5e974050778f3cd47c57d72a32f0c09ca
[ "MIT" ]
null
null
null
#include "../include/keyboard.hpp" #include "Arduino.h" #define LINHAS 4 #define COLUNAS 4 const int linhas[] = {16, 17, 13, 19}; const int colunas[] = {21, 22, 12, 25}; const char hexaKey[LINHAS][COLUNAS] = {{'1', '2', '3', 'A'}, // Linha 0 {'4', '5', '6', 'B'}, // Linha 1 ...
24.957746
76
0.461061
EduardoPagotto
fef2345454027bc0c790750ef89900d764782667
2,793
hpp
C++
stacks/layer/data/Outputs.hpp
akatray/stacks
2922b6556983894c550f7b650bcabdbfaf45e9d9
[ "Unlicense" ]
1
2019-08-27T22:16:40.000Z
2019-08-27T22:16:40.000Z
stacks/layer/data/Outputs.hpp
akatray/stacks
2922b6556983894c550f7b650bcabdbfaf45e9d9
[ "Unlicense" ]
null
null
null
stacks/layer/data/Outputs.hpp
akatray/stacks
2922b6556983894c550f7b650bcabdbfaf45e9d9
[ "Unlicense" ]
null
null
null
// ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ // Pragma. // --------------------------------------------------------------------------------------------------------------------------...
41.686567
183
0.332617
akatray
fef2972a16a97c7c0f003dbb1c0c21b4e0e8dcac
17,123
cpp
C++
src/graysvr/ntservice.cpp
shiryux/UOLatam-0.57a
892aefd42cbcf4c1ca9b4f89b196cea0757a93f1
[ "Apache-2.0" ]
null
null
null
src/graysvr/ntservice.cpp
shiryux/UOLatam-0.57a
892aefd42cbcf4c1ca9b4f89b196cea0757a93f1
[ "Apache-2.0" ]
null
null
null
src/graysvr/ntservice.cpp
shiryux/UOLatam-0.57a
892aefd42cbcf4c1ca9b4f89b196cea0757a93f1
[ "Apache-2.0" ]
null
null
null
// Stuff for making this application run as an NT service #ifdef _WIN32 #include "graysvr.h" #include "../common/grayver.h" #include "ntservice.h" #include <direct.h> CNTService g_Service; CNTService::CNTService() { m_hStatusHandle = NULL; m_fIsNTService = false; } // Try to create the registry ke...
33.248544
129
0.708346
shiryux
fef2e40bd84ca91dd09ff9464209a409eb81e5c1
533
cpp
C++
Tests/Source/StackTests.cpp
stefanfrings/LuaBridge
36c0c62815f9f6bf43c81a3977502cd3996302a0
[ "X11", "MIT" ]
1,171
2015-01-03T06:19:58.000Z
2022-03-31T10:37:08.000Z
Tests/Source/StackTests.cpp
nikita-yfh/LuaBridge
6c1d0a1126487f993e5f93141c0954ff6600fdfe
[ "X11", "MIT" ]
164
2015-01-20T11:58:39.000Z
2022-03-29T20:36:12.000Z
Tests/Source/StackTests.cpp
nikita-yfh/LuaBridge
6c1d0a1126487f993e5f93141c0954ff6600fdfe
[ "X11", "MIT" ]
324
2015-01-02T11:03:48.000Z
2022-03-15T08:00:35.000Z
// https://github.com/vinniefalco/LuaBridge // Copyright 2020, Dmitry Tarakanov // SPDX-License-Identifier: MIT #include "TestBase.h" struct StackTests : TestBase { }; TEST_F(StackTests, IntegralTypes) { luabridge::push(L, true); ASSERT_TRUE(luabridge::isInstance<bool>(L, -1)); ASSERT_FALSE(luabridge::is...
23.173913
53
0.690432
stefanfrings
fef32977f29d3c5c2d16bfc95596e18ccd7dc9cb
9,783
cpp
C++
tests/service_test.cpp
angelcaban/cpp_rest_servlets
8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9
[ "MIT" ]
null
null
null
tests/service_test.cpp
angelcaban/cpp_rest_servlets
8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9
[ "MIT" ]
null
null
null
tests/service_test.cpp
angelcaban/cpp_rest_servlets
8debf35c67ce9cd96dfc9ca3c4ea06b77abcaea9
[ "MIT" ]
null
null
null
/* * Copyright 2018 Angel Caban * * 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, d...
31.156051
88
0.69263
angelcaban
fef34e4ab1fdee3e1ce2b3987da134b992681e33
1,307
cc
C++
base/i18n/encoding_detection.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
base/i18n/encoding_detection.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
802
2017-04-21T14:18:36.000Z
2022-03-31T21:20:48.000Z
base/i18n/encoding_detection.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2016 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 "base/i18n/encoding_detection.h" #include "build/build_config.h" #include "third_party/ced/src/compact_enc_det/compact_enc_det.h" // third_part...
31.878049
73
0.732976
zealoussnow
fef46847de52199d4d5232b62c53b9f42c8bca4a
5,387
cpp
C++
3rd/snap7-1.4.2/src/sys/snap_threads.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
133
2015-02-19T04:49:23.000Z
2022-02-23T22:15:53.000Z
3rd/snap7-1.4.2/src/sys/snap_threads.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
76
2015-02-21T09:41:56.000Z
2022-03-03T11:59:15.000Z
3rd/snap7-1.4.2/src/sys/snap_threads.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
51
2015-03-02T21:48:09.000Z
2022-03-17T12:10:36.000Z
/*=============================================================================| | PROJECT SNAP7 1.3.0 | |==============================================================================| | Copyright (C) 2013, 2015 Davide Nardella ...
33.04908
80
0.437906
xeniumlee
67940aaa92211fc635e986b50812605503c0f757
2,062
hpp
C++
libraries/kid/include/bts/kid/name_record.hpp
denkhaus/bitsharesx
60b3653881e02873ff6802ea0c5e3c531da773c0
[ "Unlicense" ]
1
2018-01-25T19:18:09.000Z
2018-01-25T19:18:09.000Z
libraries/kid/include/bts/kid/name_record.hpp
denkhaus/bitsharesx
60b3653881e02873ff6802ea0c5e3c531da773c0
[ "Unlicense" ]
null
null
null
libraries/kid/include/bts/kid/name_record.hpp
denkhaus/bitsharesx
60b3653881e02873ff6802ea0c5e3c531da773c0
[ "Unlicense" ]
null
null
null
#include <fc/crypto/elliptic.hpp> #include <fc/time.hpp> #include <fc/reflect/reflect.hpp> namespace bts { namespace kid { struct name_record { name_record():nonce(0){} fc::sha256 digest()const; fc::sha256 digest512()const; uint64_t difficulty()const; std::string ...
31.723077
116
0.625606
denkhaus
67958a523b0b2d33c2a73728e731ab9c14addadc
322
cpp
C++
other/map.cpp
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
20
2019-03-12T20:12:31.000Z
2022-02-07T04:23:22.000Z
other/map.cpp
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
30
2019-07-22T19:25:42.000Z
2020-06-18T17:58:43.000Z
other/map.cpp
David-Durst/embeddedHaskellAetherling
34c5403e07433e572170699f3bd69c5b5c3eff2d
[ "BSD-3-Clause" ]
3
2019-10-14T18:07:26.000Z
2022-01-20T14:36:17.000Z
#include<printf.h> int main(int argc, char** argv) { int inputs[200]; for (int i = 0; i < 200; i++){ inputs[i] = i; } int map_result[200]; for (int i = 0; i < 200; i++){ map_result[i] = inputs[i]+5; } for (int i = 0; i < 200; i++){ printf("output %d: %d\n", i, map_result[i]); } return 0; ...
18.941176
48
0.509317
David-Durst
679696d5b6af9b261dd46cd2fad05aec41b7f5ac
962
cpp
C++
ImportantExample/neuPlayer/tagviewer.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
3
2018-12-24T19:35:52.000Z
2022-02-04T14:45:59.000Z
ImportantExample/neuPlayer/tagviewer.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
null
null
null
ImportantExample/neuPlayer/tagviewer.cpp
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
1
2019-05-09T02:42:40.000Z
2019-05-09T02:42:40.000Z
#include "tagviewer.h" #include "ui_tagviewer.h" TagViewer::TagViewer(QList<QString> currentMediaInfo, QPixmap *cover, QWidget *parent) : QDialog(parent), ui(new Ui::TagViewer) { ui->setupUi(this); this->setAttribute(Qt::WA_DeleteOnClose); this->setWindowFlags(this->windowFlags() & ~Qt::WindowConte...
29.151515
88
0.674636
xiaohaijin
67981bdb8f675c75abc54b9f0046564817586c4f
14,279
cpp
C++
src/package.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/package.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
src/package.cpp
akivajp/lev
945aa438ce4718f60cde35556c55655515cb423b
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/package.cpp // Purpose: source for package management // Author: Akiva Miura <akiva.miura@gmail.com> // Modified by: // Created: 09/01/2011 // Copyright: (C) 2010-2012 Akiva Miura // Licence: MIT License...
28.275248
90
0.555011
akivajp
679d36cd794c628dc3f91a0716de1834fafb66e1
3,494
cpp
C++
src/ThirdParty/jvarTest.cpp
beached/JsonBenchmark
87d4862f872cb05d58ccbfb4df008e0c4ca72818
[ "MIT" ]
7
2020-07-22T10:45:44.000Z
2021-09-30T10:09:54.000Z
src/ThirdParty/jvarTest.cpp
beached/JsonBenchmark
87d4862f872cb05d58ccbfb4df008e0c4ca72818
[ "MIT" ]
6
2020-07-25T08:58:25.000Z
2020-07-30T10:12:20.000Z
src/ThirdParty/jvarTest.cpp
beached/JsonBenchmark
87d4862f872cb05d58ccbfb4df008e0c4ca72818
[ "MIT" ]
1
2021-05-29T21:15:01.000Z
2021-05-29T21:15:01.000Z
#include "test.h" #include "jvar/include/jvar.h" #include "jvar/include/util.h" #include "jvar/include/var.h" #include "jvar/include/str.h" #include "jvar/include/json.h" #include "jvar/include/arr.h" #include <memory> using namespace jvar; static void GenStat(Stat& stat, Variant* v) { switch (v->type()) { ...
22.113924
82
0.524041
beached
679e6d2ed372fc834f9902f857806e1f6b47c76e
10,682
cc
C++
src/StandAlone/tools/pfs/pfs.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/StandAlone/tools/pfs/pfs.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/StandAlone/tools/pfs/pfs.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
/* * The MIT License * * Copyright (c) 1997-2021 The University of Utah * * 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 * right...
40.927203
230
0.562816
abagusetty
679f93ad06bf71a186e626b3a651474e328bb23c
199
cpp
C++
problemsets/Codeforces/C++/A1093.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/A1093.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/A1093.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include<cstdio> int main() { int n, a; scanf("%d",&n); while (n--) scanf("%d",&a), printf("%d\n",(a+6)/7); }
18.090909
52
0.557789
juarezpaulino
679fc3c1e1b697ae382c6fbf106de0bb7724607c
15,522
cpp
C++
shared/source/compiler_interface/linker.cpp
rscohn2/compute-runtime
c0b6e6852d1c3870b089de651c3dd27ca82b1431
[ "MIT" ]
null
null
null
shared/source/compiler_interface/linker.cpp
rscohn2/compute-runtime
c0b6e6852d1c3870b089de651c3dd27ca82b1431
[ "MIT" ]
null
null
null
shared/source/compiler_interface/linker.cpp
rscohn2/compute-runtime
c0b6e6852d1c3870b089de651c3dd27ca82b1431
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "linker.h" #include "shared/source/device/device.h" #include "shared/source/helpers/blit_commands_helper.h" #include "shared/source/helpers/debug_helpers.h" #include "shared/source/helpers/hw_helper.h" #include "shared/...
46.059347
174
0.656939
rscohn2
67a0c9387dfcbf49484de7caa9145b2ab5098fe4
13,571
hh
C++
include/aleph/containers/DimensionalityEstimators.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
56
2019-04-24T22:11:15.000Z
2022-03-22T11:37:47.000Z
include/aleph/containers/DimensionalityEstimators.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
48
2016-11-30T09:37:13.000Z
2019-01-30T21:43:39.000Z
include/aleph/containers/DimensionalityEstimators.hh
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
11
2019-05-02T11:54:31.000Z
2020-12-10T14:05:40.000Z
#ifndef ALEPH_CONTAINERS_DIMENSIONALITY_ESTIMATORS_HH__ #define ALEPH_CONTAINERS_DIMENSIONALITY_ESTIMATORS_HH__ #include <aleph/math/KahanSummation.hh> #include <aleph/math/PrincipalComponentAnalysis.hh> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/kruskal_min_spanning_tree.hpp> #include <iterator...
30.91344
139
0.626851
eudoxos
67a12d236833f9b07ce8184646f77b7be4976ea5
1,016
hpp
C++
include/game/skirmish/coordinates.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
include/game/skirmish/coordinates.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
include/game/skirmish/coordinates.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#ifndef QRW_COORDINATES_HPP #define QRW_COORDINATES_HPP #include "core/sid.hpp" #include "meta/reflectable.hpp" namespace qrw { class Coordinates : public Reflectable { public: friend class CoordinateMetaClass; static SID typeName; const SID& getTypeName() const override { return typeName; } Coordi...
18.472727
63
0.680118
namelessvoid
67a27bb618bae12c19fb9904244376228074f50f
36,307
cpp
C++
src/xrCore/Model.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
2
2020-01-30T12:51:49.000Z
2020-08-31T08:36:49.000Z
src/xrCore/Model.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
src/xrCore/Model.cpp
acidicMercury8/xray-1.0
65e85c0e31e82d612c793d980dc4b73fa186c76c
[ "Linux-OpenIB" ]
null
null
null
/**************************************************************************** * This file is part of PPMd project * * Written and distributed to public domain by Dmitry Shkarin 1997, * * 1999-2001 * * ...
35.80572
131
0.468147
acidicMercury8
67a38dd233ddc1d2209bb6b47a22be249c5e3398
3,612
hpp
C++
include/extractor/internal_extractor_edge.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/extractor/internal_extractor_edge.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/extractor/internal_extractor_edge.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
1
2021-11-24T14:24:44.000Z
2021-11-24T14:24:44.000Z
#ifndef INTERNAL_EXTRACTOR_EDGE_HPP #define INTERNAL_EXTRACTOR_EDGE_HPP #include "extractor/guidance/road_classification.hpp" #include "extractor/guidance/turn_lane_types.hpp" #include "extractor/node_based_edge.hpp" #include "extractor/travel_mode.hpp" #include "osrm/coordinate.hpp" #include "util/typedefs.hpp" #inc...
29.606557
98
0.650886
neilbu
67a4625ed3e410aad9ed727da698dc60d6772ff9
2,821
hpp
C++
Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2021-08-11T18:40:26.000Z
2021-08-11T18:40:26.000Z
Nacro/SDK/FN_AthenaLeaderboardTabButton_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function AthenaLeaderb...
32.425287
154
0.689826
Milxnor
67a46dca2533e0f32b5eb37c87a52aa4de4b6429
2,666
cpp
C++
include/base/util/unicode.cpp
HaiyongLi/LuaDebugCode
8a12e5b21ab5fb74b7b5cd1b50393191df1382ca
[ "MIT" ]
2
2019-09-29T07:06:32.000Z
2021-09-10T09:46:19.000Z
include/base/util/unicode.cpp
HaiyongLi/LuaDebugCode
8a12e5b21ab5fb74b7b5cd1b50393191df1382ca
[ "MIT" ]
null
null
null
include/base/util/unicode.cpp
HaiyongLi/LuaDebugCode
8a12e5b21ab5fb74b7b5cd1b50393191df1382ca
[ "MIT" ]
null
null
null
#include <base/util/unicode.h> #include <rapidjson/encodings.h> #include <vector> #if defined(_WIN32) #include <Windows.h> #endif namespace base { template <class T> struct input_stream { typedef T Ch; input_stream(const T* t) : t_(t) { } T Take() { return *t_++; } const T* t_; }; template <class T> str...
20.045113
105
0.624156
HaiyongLi
67a5027469acaca0cad6740babdd86453150bef6
3,736
cpp
C++
FileIO/FileIO.cpp
James-Chapman/cpp-code-snippets
324ac7c840c1dab5d2458ac50619e0c7e873f97b
[ "MIT" ]
null
null
null
FileIO/FileIO.cpp
James-Chapman/cpp-code-snippets
324ac7c840c1dab5d2458ac50619e0c7e873f97b
[ "MIT" ]
null
null
null
FileIO/FileIO.cpp
James-Chapman/cpp-code-snippets
324ac7c840c1dab5d2458ac50619e0c7e873f97b
[ "MIT" ]
null
null
null
/********************************************************** * * Make file i/o easy. * * ***********************************************************/ #include "FileIO.hpp" #include <cstring> using namespace Uplinkzero; FileIO::FileIO(const char * path, bool write /*= false*/, bool read/* = true*/) : m_handle(null...
20.194595
79
0.534797
James-Chapman
67a5372338837a665cfff0b62a048da7542226e8
1,602
cpp
C++
base/Windows/singx86/bytev.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/singx86/bytev.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/singx86/bytev.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // ---------------------------------------------------------------------------- #include "singx86.h" struct ByteVector { ULONG64 ulDataOffset; ULONG64 ...
30.807692
80
0.553683
sphinxlogic
67a659291e8357acd1a0abe142e9b5af8c78988d
7,833
cpp
C++
02-Opengl-window/main.cpp
NeroGames/Learn-SFML
44e4e17b9af0eacf776f0d8bdbea869433224cff
[ "MIT" ]
null
null
null
02-Opengl-window/main.cpp
NeroGames/Learn-SFML
44e4e17b9af0eacf776f0d8bdbea869433224cff
[ "MIT" ]
null
null
null
02-Opengl-window/main.cpp
NeroGames/Learn-SFML
44e4e17b9af0eacf776f0d8bdbea869433224cff
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// // Nero Game Engine - SFML Tutorials // Copyright (c) 2021 Sanou A. K. Landry //////////////////////////////////////////////////////////// ///////////////////////////HEADERS////////////////////////// //Glew #include <GL/glew.h> //SFML #include <SFML/Window.hp...
37.123223
170
0.634623
NeroGames
67a6ab2b2600f763670c66c975a683fe59560e97
5,213
cpp
C++
Source/Services/Presence/presence_title_record.cpp
yklys/Xbox-Live-API
e409400ec38c0c131b16e09281cdc83199d1c90f
[ "MIT" ]
1
2019-04-19T01:37:34.000Z
2019-04-19T01:37:34.000Z
Source/Services/Presence/presence_title_record.cpp
DalavanCloud/xbox-live-api
2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7
[ "MIT" ]
null
null
null
Source/Services/Presence/presence_title_record.cpp
DalavanCloud/xbox-live-api
2166ffcb4a1ca1f5d89a43dce9ab4c5ff9b797b7
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/presence.h" #include "presence_internal.h" NAMESPACE_MICROSOFT_XBOX_SERVICES_PRESENCE_CPP_BEGIN presence_title_record::presence_title_record( ...
29.619318
111
0.761366
yklys
67aaf36ac088bd70e014232334638ae0fb58ca7a
3,340
cpp
C++
irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp
IvanTyulyandin/iroha
442a08325c7b808236569600653370e28ec5eff6
[ "Apache-2.0" ]
24
2016-09-26T17:11:46.000Z
2020-03-03T13:42:58.000Z
irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp
ecsantana76/iroha
9cc430bb2c8eb885393e2a636fa92d1e605443ae
[ "Apache-2.0" ]
11
2016-10-13T10:09:55.000Z
2019-06-13T08:49:11.000Z
irohad/pending_txs_storage/impl/pending_txs_storage_impl.cpp
ecsantana76/iroha
9cc430bb2c8eb885393e2a636fa92d1e605443ae
[ "Apache-2.0" ]
4
2016-09-27T13:18:28.000Z
2019-08-05T20:47:15.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "pending_txs_storage/impl/pending_txs_storage_impl.hpp" #include "interfaces/transaction.hpp" #include "multi_sig_transactions/state/mst_state.hpp" namespace iroha { PendingTransactionStorageImpl::Pending...
34.081633
79
0.690419
IvanTyulyandin
67ab0d1481045c36caa100f8e18e569e1a252ad4
37,047
cpp
C++
dali/treeview/inspectctrl.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
1
2020-08-01T19:54:56.000Z
2020-08-01T19:54:56.000Z
dali/treeview/inspectctrl.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
dali/treeview/inspectctrl.cpp
emuharemagic/HPCC-Platform
bbd5423b25f6ba2d675521c8917f9ecfa97dace5
[ "Apache-2.0" ]
null
null
null
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
26.98252
201
0.5828
emuharemagic
67ae6d5c8d54ad99fb27f838fe49b44f04b64a30
1,021
cpp
C++
competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/flavious_josephus_legend.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1030 #include <iostream> #include <vector> using namespace std; int verify_last_value(vector<int> &v) { int counter = 0; for (int i = 0; i < v.size(); i++) if (v[i] == 1) counter++; return counter; } int can_be_counted(vector<int> &v, int index, int n) ...
16.737705
66
0.528893
LeandroTk
67b0732e1ecada8dd7b12fd07324e23c0150319d
15,984
cpp
C++
Bhazel/src/Graphics/Buffer.cpp
MadEqua/Bhazel
09ddd57fe4e5d81d0017c98f39e51003ca9f1e1f
[ "MIT" ]
null
null
null
Bhazel/src/Graphics/Buffer.cpp
MadEqua/Bhazel
09ddd57fe4e5d81d0017c98f39e51003ca9f1e1f
[ "MIT" ]
null
null
null
Bhazel/src/Graphics/Buffer.cpp
MadEqua/Bhazel
09ddd57fe4e5d81d0017c98f39e51003ca9f1e1f
[ "MIT" ]
null
null
null
#include "bzpch.h" #include "Buffer.h" #include "Core/Engine.h" #include "Graphics/GraphicsContext.h" namespace BZ { DataElement::DataElement(DataType dataType, DataElements dataElements, bool normalized) : dataType(dataType), dataElements(dataElements), normalized(normalized), sizeBytes(getDataTypeSizeByt...
38.890511
111
0.599474
MadEqua
67b1ecfc9fcc567b793c9ec4c19e751afcc412bf
3,074
cpp
C++
src/Bot_Motor.cpp
robojay/_2020Bot_Library
ca97bdc40c5bb95563fde27c6ffe6ca29f70d4a8
[ "MIT" ]
1
2017-10-08T21:19:02.000Z
2017-10-08T21:19:02.000Z
src/Bot_Motor.cpp
robojay/_2020Bot_Library
ca97bdc40c5bb95563fde27c6ffe6ca29f70d4a8
[ "MIT" ]
2
2018-02-19T02:01:14.000Z
2018-08-29T00:47:37.000Z
src/Bot_Motor.cpp
robojay/_2020Bot_Library
ca97bdc40c5bb95563fde27c6ffe6ca29f70d4a8
[ "MIT" ]
3
2017-05-08T15:29:33.000Z
2018-07-15T10:49:48.000Z
/* * Bot_Motor.cpp * * 2020Bot Brush Motor Library * */ #include "Arduino.h" #include "Bot_Motor.h" Bot_Motor::Bot_Motor() { _leftAPin = LeftAPin; _leftBPin = LeftBPin; _rightAPin = RightAPin; _rightBPin = RightBPin; } Bot_Motor::Bot_Motor(uint8_t leftAPin, uint8_t leftBPin, uint8_t rightAPin, uint8_t ...
20.091503
96
0.6311
robojay
67b1fa9045b34e365f41b2000ee814a92e030616
4,051
cc
C++
cc/data-fix.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/data-fix.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/data-fix.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
#include "acmacs-whocc/log.hh" #include "acmacs-whocc/data-fix.hh" #include "acmacs-whocc/sheet-extractor.hh" // ---------------------------------------------------------------------- #pragma GCC diagnostic push #ifdef __clang__ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-W...
33.204918
151
0.5137
acorg
67b2972d99859fe166cb62942a5c43d974e5add0
3,214
cpp
C++
src/peripheral/tm1637_display.cpp
Yanick-Salzmann/grower-controller-rpi
30f279e960a3cc8125f112c76ee943b1fa766191
[ "MIT" ]
null
null
null
src/peripheral/tm1637_display.cpp
Yanick-Salzmann/grower-controller-rpi
30f279e960a3cc8125f112c76ee943b1fa766191
[ "MIT" ]
null
null
null
src/peripheral/tm1637_display.cpp
Yanick-Salzmann/grower-controller-rpi
30f279e960a3cc8125f112c76ee943b1fa766191
[ "MIT" ]
null
null
null
#include "tm1637_display.hpp" #include <unistd.h> #include <stdexcept> namespace grower::peripheral { tm1637_display::tm1637_display(uint8_t pin_clk, uint8_t pin_dio, uint32_t bit_delay) : _bit_delay{bit_delay}, _pin_clk{wiring::gpio::open_pin(pin_clk)}, _pin_dio{wiring::gpio::o...
24.348485
106
0.514624
Yanick-Salzmann
67b2cd9991983d069d1c807324e99bd52a36d771
1,308
cpp
C++
Demo Code/operator_overload_example/animal_class_example/animal.cpp
pranavas11/CS162-Introduction-to-CS-II
c17c5c1f844de1be4a49646201d77717394dfdbc
[ "MIT" ]
null
null
null
Demo Code/operator_overload_example/animal_class_example/animal.cpp
pranavas11/CS162-Introduction-to-CS-II
c17c5c1f844de1be4a49646201d77717394dfdbc
[ "MIT" ]
null
null
null
Demo Code/operator_overload_example/animal_class_example/animal.cpp
pranavas11/CS162-Introduction-to-CS-II
c17c5c1f844de1be4a49646201d77717394dfdbc
[ "MIT" ]
null
null
null
/* Animal Class */ #include <iostream> #include "animal.h" Animal::Animal(string name) { cout << "Alternate animal constructor called" << endl; this->name = name; this->age = 0; } Animal::Animal(string name, int age) { cout << "Alternate 2 animal constructor called" << endl; this->name = name; this->age = age...
20.123077
61
0.663609
pranavas11