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
dd552ff3fb052cc6a64cc3f993fc688091cbefe2
862
cpp
C++
Notebook/src-bkp/Highly Decomposite Number.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Notebook/src-bkp/Highly Decomposite Number.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Notebook/src-bkp/Highly Decomposite Number.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
bool p[MAXN]; vector<int> primes; void build(void) { memset(p, true, sizeof(p)); for (int i = 2; i <= MAXN; i++) { if (p[i]) { primes.push_back(i); for (int j = i * i; j <= MAXN; j += i) { p[j] = false; } } } } int func(Int x) { int ans = 1; for (int i = 0; i < (int) primes.size() && x > 1; i+...
15.392857
64
0.474478
aajjbb
dd55c9a76e5fab0d929abdd83067aeef115e8bf4
64
cc
C++
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
MCDataProducts/src/CrvDigiMC.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#include "MCDataProducts/inc/CrvDigiMC.hh" namespace mu2e { }
10.666667
42
0.75
bonventre
dd5bd5d2272934b306850d72505e29339fcaf099
2,006
cc
C++
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
23
2020-04-09T16:33:23.000Z
2022-03-21T16:41:11.000Z
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
2
2020-04-10T11:55:28.000Z
2020-04-10T12:11:51.000Z
cpp/functions/run/run_benchmark_santos.cc
michieluithetbroek/A-MDVRP
fe7739f3961ddb25db8f64ec20472915d3c95168
[ "MIT" ]
10
2020-05-28T18:59:52.000Z
2022-03-10T13:32:44.000Z
#include "./../../main.ih" /* * This functions runs all the instances from Santos * * TODO remove bool deterministic */ void run_benchmark_santos(int idx_instance, bool deterministic, int rep) { bool const withoutGurobi = false; if (not deterministic) throw string("Opportunistic run is not allowed! (run...
24.168675
77
0.621137
michieluithetbroek
dd5f44f135378685091c3e4105c9a09dec58f000
2,639
cpp
C++
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
src/main.cpp
finnff/IPASS-19
b65ad79282a63c1f0db3addfaf865e99677ecd2c
[ "MIT" ]
null
null
null
#include "mpu6050.hpp" #include "pongresources.hpp" int main(int argc, char **argv) { namespace target = hwlib::target; // Intialize OLED display auto scl = target::pin_oc(target::pins::d10); auto sda = target::pin_oc(target::pins::d11); auto i2c_bus = hwlib::i2c_bus_bit_banged_scl_sda(scl, sda); auto w ...
29.322222
78
0.535809
finnff
e578239b4948fa914b39f0e674029a09d13b6d54
7,285
cpp
C++
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
null
null
null
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
null
null
null
src/engine/drawSys.cpp
karwler/BKGraph
1b65f82d4c44e3982cf6cef775e88a16c857d6e3
[ "WTFPL" ]
2
2017-11-09T16:14:39.000Z
2018-02-08T19:09:40.000Z
#include "world.h" // FONT SET FontSet::FontSet(const string& path) : file(path) { // check if font can be loaded TTF_Font* tmp = TTF_OpenFont(file.c_str(), Default::fontTestHeight); if (!tmp) throw "Couldn't open font " + file + '\n' + TTF_GetError(); // get approximate height scale factor int size; TTF_Si...
33.883721
183
0.700069
karwler
e57c906c68ba77d31d2b02e65cc1fbd6aa245ee8
4,123
cpp
C++
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
solution/solutionthread.cpp
vitkorob/studentprojects
3b071eabec33f9e27eec81eaf5df339276c039be
[ "MIT" ]
null
null
null
#include "solutionthread.h" solutionThread::solutionThread() { metRKu = 1; gam = 0.2; g = 9.81; L = 2; del = 0.9; p2 = 4; eps = 0.0005; x0 = 2; v0 = 3; t = 30; step = 0.01; } double solutionThread::p(double y2) { return y2; } double solutionThread::q(double x2, double...
25.140244
110
0.489207
vitkorob
e57c9863ca18340b608f0fa9bc4715893eb932b2
1,303
cxx
C++
Qt/Components/pqColorOverlay.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Qt/Components/pqColorOverlay.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Qt/Components/pqColorOverlay.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
#include "pqColorOverlay.h" #include <QPainter> //----------------------------------------------------------------------------- pqColorOverlay::pqColorOverlay(QWidget* parent) : QWidget(parent) { setAttribute(Qt::WA_NoSystemBackground); setAttribute(Qt::WA_TransparentForMouseEvents); } //----------------------...
25.54902
79
0.403684
xj361685640
e57eee5672315a1c7762eba6e21dd57c0a8e7435
128
hpp
C++
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Vendor/GLM/glm/ext/vector_uint1.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:936046e1e48adf16a2daa297a69e3318537c55f39572a05efbae9aca1479cf89 size 711
32
75
0.882813
wdrDarx
e57fbaf38376bfb6b8788e60265427cd6c14091e
3,882
hpp
C++
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
include/cynodelic/mulinum/detail/split_helpers.hpp
cynodelic/mulinum
fc7b9e750aadaede2cee8d840e65fa3832787764
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 Álvaro Ceballos // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt /** * @file split_helpers.hpp * * @brief Helpers for the `split` metafunction. */ #ifndef CYNODELIC_MULINUM_DETAIL_SPLIT_HELPERS_HPP...
21.687151
124
0.676455
cynodelic
e582a8d0fc49f20af9374fe9a7e4fda2278e60e7
129
cc
C++
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:516879d2c1b04ff8b7ba32487c8446e3241805e4352f374533aa6756863b4cad size 4366
32.25
75
0.883721
initialz
e5847e79f40e20540105d7d68c2b19de80dc5ceb
4,115
cpp
C++
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/FORA/TypedFora/ABI/MutableVectorHandleCodegen.cpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora 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/licen...
25.401235
83
0.710814
ufora
e586cb9547fbb7a410e2af42433496cd9ae6ab0c
3,417
cxx
C++
private/inet/mshtml/src/site/ole/frame.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/src/site/ole/frame.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/src/site/ole/frame.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+--------------------------------------------------------------------- // // File: frame.cxx // // Contents: frame tag implementation // // Classes: CFrameSite, etc.. // //------------------------------------------------------------------------ #include "headers.hxx" #ifndef X_FORMKRNL_HXX...
26.083969
80
0.458589
King0987654
e5887ce1debe7449e1edd420a14fcb83002b21a4
12,076
cpp
C++
angsd/abcGL.cpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
6
2015-07-25T02:05:07.000Z
2021-05-27T08:37:01.000Z
angsd/abcGL.cpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
60
2015-01-10T20:46:25.000Z
2018-09-19T22:32:02.000Z
angsd/abcGL.cpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
8
2015-04-12T09:37:58.000Z
2017-04-25T19:30:39.000Z
/* thorfinn thorfinn@binf.ku.dk dec17 2012 part of angsd This class will calculate the GL in 4 differnt ways 1) SAMtools 0.1.16+ version 2) Simple GATK model 3) SOAPsnp 4) SYK 4 different output formats are supplied 1) binary 10xdouble persample 2) beagle output (requires estimation of maj...
25.748401
187
0.622226
peterdfields
e588ba30a9a4c0dc44a82cb38413c711dd3b5fc2
14,602
cpp
C++
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
src/qt-console/tray-monitor/runjob.cpp
tech-niche-biz/bacula-9.4.4
5e74458b612354f6838652dac9ddff94be1bbce6
[ "BSD-2-Clause" ]
null
null
null
/* Bacula(R) - The Network Backup Solution Copyright (C) 2000-2018 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the license defined in ...
28.631373
157
0.571566
tech-niche-biz
e58c9e92abb9149e44fdef1940720e0adde09a69
4,425
hpp
C++
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
2
2019-01-20T13:05:10.000Z
2021-03-31T14:09:03.000Z
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
null
null
null
ramus/patch/ips.hpp
qwertymodo/Mercurial-Magic
e5ce65510d12ac04e7ebea4ce11d200276baa141
[ "ISC" ]
1
2018-10-12T02:47:57.000Z
2018-10-12T02:47:57.000Z
#pragma once #include <nall/file.hpp> #include <nall/filemap.hpp> #include <nall/stdint.hpp> #include <nall/string.hpp> namespace ramus { struct ipspatch { inline auto modify(const uint8_t* data, uint size) -> bool; inline auto source(const uint8_t* data, uint size) -> void; inline auto target(uint8_t* data, u...
25.726744
81
0.660339
qwertymodo
e5916831f922f5efaa3a87ce01db382c07a90c38
2,472
hpp
C++
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
Assignments/P01/Menu.hpp
Landon-Brown1/2143-OOP-Brown
fded2b021b588bced3ba2a5c67e8e29694d42b2e
[ "MIT" ]
null
null
null
/* * AUTHOR: Landon Brown * FILE TITLE: Menu.hpp * FILE DESCRIPTION: Menu for the beginning of the game * DUE DATE: TBD * DATE CREATED: 03/26/2020 */ #include <iostream> #include <string> using namespace std; struct Menu{ Menu(){ } void printIntro(){ cout << endl << " @@-----------...
51.5
101
0.222492
Landon-Brown1
e59532543eb5ced40994ebd6ca67ef20a52ec6f1
4,093
hpp
C++
include/mtao/geometry/prune_vertices.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
include/mtao/geometry/prune_vertices.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
4
2020-04-18T16:16:05.000Z
2020-04-18T16:17:36.000Z
include/mtao/geometry/prune_vertices.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
#pragma once #include "mtao/geometry/kdtree.hpp" #include <map> #include "mtao/iterator/enumerate.hpp" #include "mtao/eigen/stl2eigen.hpp" namespace mtao { namespace geometry { //expects a mtao::vector<mtao::Vector<T,D>> template <typename Container , typename T > auto prune(const Cont...
38.252336
122
0.469094
mtao
e59611b4bc72740b511887ce25eecfd36758d720
439
hpp
C++
security/include/InvalidKeyException.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
security/include/InvalidKeyException.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
security/include/InvalidKeyException.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#ifndef __OBOTCHA_INVALID_KEY_EXCEPTION_HPP__ #define __OBOTCHA_INVALID_KEY_EXCEPTION_HPP__ #include <fstream> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "Object.hpp" #include "Exception.hpp" #include "String.hpp" namespace obotcha { DECLARE_EXCEPTION(InvalidKeyException){ public: ...
17.56
55
0.779043
wangsun1983
e59d226aad84cfaaabe3b77e6cc3312910d3b4bd
45,566
cpp
C++
libBKPLPlot/plbuf.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libBKPLPlot/plbuf.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libBKPLPlot/plbuf.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
// $Id: plbuf.c 12636 2013-10-26 20:47:49Z airwin $ // // Handle plot buffer. // // Copyright (C) 1992 Maurice LeBrun // Copyright (C) 2004 Alan W. Irwin // Copyright (C) 2005 Thomas J. Duck // Copyright (C) 2006 Jim Dishaw // // This file is part of PLplot. // // PLplot is free software; you can ...
30.976207
135
0.510073
rsuchecki
e59fdf2108f8a9cc91b033460bb0e43df2c9850d
1,251
cpp
C++
misc/longincsubseq.cpp
plilja/algolib
84b1e3115f18bac02632b6bef4ca11c3392e76a4
[ "Apache-2.0" ]
null
null
null
misc/longincsubseq.cpp
plilja/algolib
84b1e3115f18bac02632b6bef4ca11c3392e76a4
[ "Apache-2.0" ]
null
null
null
misc/longincsubseq.cpp
plilja/algolib
84b1e3115f18bac02632b6bef4ca11c3392e76a4
[ "Apache-2.0" ]
null
null
null
#include "longincsubseq.h" #include <cmath> using std::vector; /* * Do a binary search for the integer j. Such that lowerBound<=j<=upperBound * and that maximizes seq[M[j]] while keeping seq[M[j]]<x. */ int binSearch(vector<int> &M, const vector<int> &seq, int x, int lowerBound, int upperBound) { int lo = low...
22.745455
92
0.54996
plilja
e59fe0557fffaea876c7d5aecde27a3afe0f5c40
1,034
cpp
C++
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/N - Egg Drop/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: JU_AAA: prdx9_abir, aniks2645, kzvd4729 created: Sep/15/2017 22:21 * solution_verdict: Accepted language: GNU C++14 * run...
30.411765
111
0.352998
kzvd4729
e5a236aecc80419a14be0d7747cb1aec36bfe2c4
2,314
hpp
C++
include/ESPSerial.hpp
willson556/avr-2807
6bbb73072d94ab0cae2808d67aed5651c91a74b6
[ "MIT" ]
null
null
null
include/ESPSerial.hpp
willson556/avr-2807
6bbb73072d94ab0cae2808d67aed5651c91a74b6
[ "MIT" ]
null
null
null
include/ESPSerial.hpp
willson556/avr-2807
6bbb73072d94ab0cae2808d67aed5651c91a74b6
[ "MIT" ]
null
null
null
#pragma once #include "Transport.hpp" #include <driver/uart.h> #include <esp_timer.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> namespace AVR { class ESPSerial : public Transport { public: ESPSerial(uart_port_t port, uart_config_t config, size_t buffer_size, int timeout, int tx_pin, int rx_pin,...
26.295455
136
0.627053
willson556
e5a54cd2ebd54f02c76a28d3131a827eeba66201
31,884
cpp
C++
enduser/windows.com/wuau/wuauclt/customlb.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/windows.com/wuau/wuauclt/customlb.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/windows.com/wuau/wuauclt/customlb.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "pch.h" #pragma hdrstop void SetMYLBAcc(HWND hListWin); void DrawMYLBFocus(HWND hListWin, LPDRAWITEMSTRUCT lpdis, MYLBFOCUS enCurFocus, INT nCurFocusId); void DrawItem(LPDRAWITEMSTRUCT lpdis, BOOL fSelectionDisabled); void DrawTitle(HDC hDC, LBITEM * plbi, RECT rc); void DrawRTF(HDC hDC, LBITEM * plb...
30.164617
188
0.59475
npocmaka
e5a9272774f3c2af98b49b6bc3803df1d49c988e
3,815
cpp
C++
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
1
2021-09-13T20:22:29.000Z
2021-09-13T20:22:29.000Z
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
null
null
null
src/renderEffects/auraCompositing.cpp
mfirmin/xray-vision
c40fc300d95d55c15f0dffa484b7123eb69238b5
[ "MIT" ]
1
2021-09-13T20:22:31.000Z
2021-09-13T20:22:31.000Z
#include "auraCompositing.hpp" #include "gl/shaderUtils.hpp" #include "light/light.hpp" #include <array> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include <string> #include <sstream> AuraCompositingEffect::AuraCompositingEffect(int w, int h) : width(w), height(h) { } void AuraCompositingEffect::initi...
23.404908
103
0.627785
mfirmin
e5b01e0b2838076f577fed8c236caabd12886b77
1,409
cpp
C++
src/drone_marker_pub.cpp
i3drobotics/kimera_rviz_markers
e1de992b98dc28f508376dc5736e48efa894c90d
[ "MIT" ]
2
2019-09-22T09:20:56.000Z
2019-12-12T11:40:03.000Z
src/drone_marker_pub.cpp
i3drobotics/kimera_rviz_markers
e1de992b98dc28f508376dc5736e48efa894c90d
[ "MIT" ]
2
2020-01-16T12:56:04.000Z
2020-05-21T17:19:44.000Z
src/drone_marker_pub.cpp
i3drobotics/kimera_rviz_markers
e1de992b98dc28f508376dc5736e48efa894c90d
[ "MIT" ]
5
2019-09-23T18:16:40.000Z
2021-07-03T14:21:29.000Z
#include "kimera_rviz_markers/kimera_rviz_markers.h" int main(int argc, char** argv) { // Initialize ROS node ros::init(argc, argv, "drone_marker_pub"); ros::NodeHandle nh_; ros::NodeHandle nh_private_ ("~"); krm::DroneParams quad_params; nh_private_.getParam("frame_id", quad_params.frame_id); nh_priva...
32.767442
80
0.726757
i3drobotics
e5b2c5518f46c1344445a67cd64dc67eb029a489
5,117
cpp
C++
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
test/block.cpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018, LH_Mouse. All wrongs reserved. #include "_test_init.hpp" #include "../asteria/src/block.hpp" #include "../asteria/src/xpnode.hpp" #include "../asteria/src/statement.hpp" #include "../asteria/src/global_context.hpp" #include "../asteria/src/executive_context.hpp" usin...
49.679612
127
0.676959
MaskRay
e5b47aedd92161daa823caa61d248330e8358f2f
17,987
cpp
C++
src/app/screens/application/main_menu_screen.cpp
lili2012/BarbersAndRebarbs
8a3c10cebded55dabaf6f8673735c6f3606cb4af
[ "MIT" ]
4
2016-04-26T20:25:07.000Z
2021-12-15T06:58:57.000Z
src/app/screens/application/main_menu_screen.cpp
lili2012/BarbersAndRebarbs
8a3c10cebded55dabaf6f8673735c6f3606cb4af
[ "MIT" ]
2
2016-07-29T22:52:12.000Z
2016-09-22T08:30:29.000Z
src/app/screens/application/main_menu_screen.cpp
lili2012/BarbersAndRebarbs
8a3c10cebded55dabaf6f8673735c6f3606cb4af
[ "MIT" ]
1
2020-10-31T10:20:32.000Z
2020-10-31T10:20:32.000Z
// The MIT License (MIT) // Copyright (c) 2015 nabijaczleweli // 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...
44.743781
158
0.666148
lili2012
e5b4ebd57e1b88ac6da16124de2c7ea201245b2a
59,846
cpp
C++
src/bitmask.cpp
leannejdong/MGOSDT
29559e5feb19490e77b11d0382558cd8529feba4
[ "BSD-3-Clause" ]
1
2022-03-09T03:17:35.000Z
2022-03-09T03:17:35.000Z
src/bitmask.cpp
leannejdong/MGOSDT
29559e5feb19490e77b11d0382558cd8529feba4
[ "BSD-3-Clause" ]
null
null
null
src/bitmask.cpp
leannejdong/MGOSDT
29559e5feb19490e77b11d0382558cd8529feba4
[ "BSD-3-Clause" ]
null
null
null
#include "bitmask.hpp" // ******************************** // ** Function Module Definition ** // ******************************** std::vector< std::vector<codeblock> > Bitmask::ranges = std::vector< std::vector<codeblock> >(); std::vector<size_t> Bitmask::hashes = std::vector<size_t>(); std::vector<char> Bitmask::co...
40.246133
135
0.56764
leannejdong
e5b512b0fc43c8350dd4d4f782937f3cc617d7dd
29,034
cpp
C++
B2G/gecko/gfx/thebes/gfxPlatformFontList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/gfx/thebes/gfxPlatformFontList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/gfx/thebes/gfxPlatformFontList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifdef MOZ_LOGGING #define FORCE_PR_...
33.257732
114
0.661604
wilebeast
e5b5c80434acda90be4e02bfcc27736f0c17d656
2,910
cpp
C++
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
11. DP 2/Maximum_sum_rect.cpp
bhavinvirani/Competitive-Programming-coding-ninjas
5e50ae7ad3fc969a4970f91f8d895c986353bb71
[ "MIT" ]
null
null
null
/* Maximum Sum Rectangle Send Feedback Given a 2D array, find the maximum sum rectangle in it. In other words find maximum sum over all rectangles in the matrix. Input Format: First line of input will contain T(number of test case), each test case follows as. First line contains 2 numbers n and m denoting number of row...
24.453782
165
0.434021
bhavinvirani
e5c0f68c90c0999dfe19a01d29d9c0ff54282c05
3,491
cpp
C++
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/OptPlan/Opt_SnowflakeInterestingOrders.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* * Opt_SnowflakeInterestingOrders.h * OptDev * * Created by Nga Tran on 11/10/05. * Questions, ask Nga Tran at nga@brandeis.edu or Tien Hoang at hoangt@brandeis.edu * * This class keeps interesting orders of a snowflake query */ #include "Opt_SnowflakeInterestingOrders.h" // Default constructor Opt_Sn...
22.967105
106
0.696649
fsaintjacques
e5c3467258e82f5fb0ba2c296149d9a250bf4d61
1,964
cpp
C++
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
tools/faodel-stress/serdes/SerdesStringObject.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #include <iostream> #include "lunasa/common/GenericSequentialDataBundle.hh" #include "SerdesStringObject.hh" u...
31.174603
98
0.709776
faodel
e5c3df8ba4595b3c658c146a3ff58059345fd197
679
cpp
C++
src/classes/Ciudad.cpp
mattaereal/AntColonyOptimization
b45df28cb181395d290d6c6accbc9297fa863aff
[ "MIT" ]
null
null
null
src/classes/Ciudad.cpp
mattaereal/AntColonyOptimization
b45df28cb181395d290d6c6accbc9297fa863aff
[ "MIT" ]
null
null
null
src/classes/Ciudad.cpp
mattaereal/AntColonyOptimization
b45df28cb181395d290d6c6accbc9297fa863aff
[ "MIT" ]
null
null
null
/* * Ciudad.cpp * * Created on: May 3, 2014 * Author: matt */ #include "Ciudad.h" Ciudad::Ciudad(double c, string n, double p) { this->pheromone = p; this->cost = c; this->name = n; } Ciudad::Ciudad() { this->cost = 0; this->pheromone = 0; this->name = "Undefined, please define city"; } Ciudad::~Ci...
13.58
46
0.630339
mattaereal
e5c71a4a32057faabff0ea40bcba8665a95d7538
2,072
cpp
C++
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/net/vcn/VcnGatewayConnectionConfig_Builder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JLongArray.hpp" #include "../ipsec/ike/IkeTunnelConnectionParams.hpp" #include "./VcnGatewayConnectionConfig.hpp" #include "../../../JString.hpp" #include "./VcnGatewayConnectionConfig_Builder.hpp" namespace android::net::vcn { // Fields // QJniObject forward VcnGatewayConnectionConfig_Builder:...
31.876923
143
0.770753
YJBeetle
e5caa02a9570fe3d651f75716711e14ad46223c2
1,559
cpp
C++
src/materials/HomogeneousMedia.cpp
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
6
2020-02-06T03:30:25.000Z
2021-10-12T11:38:24.000Z
src/materials/HomogeneousMedia.cpp
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
1
2021-07-29T17:38:23.000Z
2021-07-29T17:38:23.000Z
src/materials/HomogeneousMedia.cpp
ibfernandes/NarvalEngine
fb9ad53ebc7b244f4eed76f43e7aac2faa94772a
[ "MIT" ]
1
2020-02-14T06:42:03.000Z
2020-02-14T06:42:03.000Z
#include "materials/HomogeneousMedia.h" namespace narvalengine { HomogeneousMedia::HomogeneousMedia(glm::vec3 scattering, glm::vec3 absorption, float density) { this->scattering = scattering; this->absorption = absorption; this->extinction = absorption + scattering; this->density = density; } HomogeneousM...
27.350877
97
0.695318
ibfernandes
e5cdc4d1f569a0ed885f165863170e5e1a0ebb24
764
cpp
C++
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
InsertionSortList.cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* insertionSortList(ListNode* head) { ListNode *new_head = NULL; while (head) { ListNode *next =...
27.285714
80
0.458115
yplusplus
e5d5698fd37e77a6821d26a04bb9c8aa4ce06e25
48
hpp
C++
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
include/EnglishLogicConfig.hpp
mikhov-ivan/english-logic
1554cb42d816bc8446ec3be3ba35509fb3dfe0d0
[ "MIT" ]
null
null
null
#define VERSION_MAJOR 1 #define VERSION_MINOR 0
16
23
0.833333
mikhov-ivan
e5d5f4730db4ae23fed4f1331cfe1f7b949c1554
4,806
hh
C++
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2019-10-23T06:32:40.000Z
2019-10-23T06:32:40.000Z
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
null
null
null
3DVision_SourceCode_Group12/IsoExMod/IsoEx/Extractors/ExtendedMarchingCubesT.hh
kunal71091/Depth_Normal_Fusion
407e204abfbd6c8efe2f98a07415bd623ad84422
[ "MIT" ]
1
2021-09-23T03:35:30.000Z
2021-09-23T03:35:30.000Z
/*===========================================================================*\ * * * IsoEx * * Copyright (C) 2002 by Computer Graphics Group, RWTH Aachen * * ...
38.142857
104
0.445901
kunal71091
e5d8081d82ed686cf3cc2ee5be3492a853de7911
3,909
hpp
C++
include/mbgl/style/filter.hpp
TanJay/mapbox-gl-native
6348fe9f4acccce65d1396aa9eab79e6c44bcfc2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/mbgl/style/filter.hpp
TanJay/mapbox-gl-native
6348fe9f4acccce65d1396aa9eab79e6c44bcfc2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/mbgl/style/filter.hpp
TanJay/mapbox-gl-native
6348fe9f4acccce65d1396aa9eab79e6c44bcfc2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <mbgl/util/variant.hpp> #include <mbgl/util/feature.hpp> #include <mbgl/util/geometry.hpp> #include <string> #include <vector> #include <tuple> namespace mbgl { namespace style { class Filter; class NullFilter { public: friend bool operator==(const NullFilter&, const NullFilter&) { ...
22.210227
103
0.665643
TanJay
e5d9066ad1106be9e446fbc5f940183ea2859206
3,455
cpp
C++
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackServer/AddressSpaceModel/BaseNodeClass.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2015-2017 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorge...
19.971098
86
0.754269
gianricardo
e5db1ceefa47fb1c63edd6f59d89695fab5ebf8a
1,860
hpp
C++
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
4
2016-06-24T09:22:18.000Z
2019-06-13T13:50:53.000Z
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
null
null
null
code/include/boids2D/Boid.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
2
2016-06-10T12:46:17.000Z
2018-10-14T06:37:21.000Z
#ifndef BOID_HPP #define BOID_HPP #include <glm/glm.hpp> #include <memory> #include <vector> #include "BoidType.hpp" /** * @class Boid * @brief Parent class for a Boid (can be rooted or movable) */ class Boid { public: /** * @brief Constructor for a Boid * @param[in] location The initial position * ...
19.375
62
0.639247
Shutter-Island-Team
e5db32d10e0d6bb07f5501200886eda9f3445bcb
1,433
cxx
C++
direct/src/plugin/run_p3dpython.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
direct/src/plugin/run_p3dpython.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
direct/src/plugin/run_p3dpython.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: run_p3dpython.cxx // Created by: drose (29Aug09) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You sho...
39.805556
78
0.571528
kestred
e5dbc06954d6a35ea13235b91c158246ea1a534a
287
cpp
C++
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
null
null
null
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
2
2015-09-23T17:17:52.000Z
2015-09-23T18:16:46.000Z
DarkestTowerServer/DarkestTowerServer/Fighter.cpp
OztGod/DarkestTowerServer
65043e1e7b158727f7f6ad7c008f1f2847174542
[ "MIT" ]
null
null
null
#include "Fighter.h" #include "FighterAttack.h" #include "Charge.h" Fighter::Fighter(int idx) :Hero(HeroClass::FIGHTER, 17 + rand() % 4, 5 + rand() % 2, idx) { skills.push_back(SkillInfo(std::make_unique<FighterAttack>())); skills.push_back(SkillInfo(std::make_unique<Charge>())); }
26.090909
64
0.700348
OztGod
e5de1c12a0f2f37847a3bf7b8f1b83a25aa37ca3
202
hpp
C++
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
4
2018-04-28T16:09:21.000Z
2021-08-24T12:51:55.000Z
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
29
2018-04-01T23:31:33.000Z
2020-01-02T17:02:11.000Z
addons/CBRN_sounds/sounds/assaultboy/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
10
2018-07-13T15:02:06.000Z
2021-04-06T17:12:11.000Z
class Sound_CBRN_cough_assaultboy:Sound_CBRN_coughBase {sound = "CBRN_cough_assaultboy";}; class Sound_CBRN_coughMuffled_assaultboy:Sound_CBRN_coughMuffledBase {sound = "CBRN_coughMuffled_assaultboy";};
101
111
0.876238
ASO-TheM
e5de8c7bde5e7838158f776a68a38781533229f6
8,252
cpp
C++
catkin_ws/src/control_stack/src/sim/simulator_node.cpp
VishnuPrem/multi_robot_restaurant
6aea83a3c7acd9b7d25e1a2c6e05ef3a5c28a876
[ "MIT" ]
7
2020-06-23T23:34:33.000Z
2020-12-11T20:08:11.000Z
catkin_ws/src/control_stack/src/sim/simulator_node.cpp
VishnuPrem/multi_robot_restaurant
6aea83a3c7acd9b7d25e1a2c6e05ef3a5c28a876
[ "MIT" ]
null
null
null
catkin_ws/src/control_stack/src/sim/simulator_node.cpp
VishnuPrem/multi_robot_restaurant
6aea83a3c7acd9b7d25e1a2c6e05ef3a5c28a876
[ "MIT" ]
4
2020-09-02T20:17:22.000Z
2020-10-19T01:51:29.000Z
// Copyright 2019 kvedder@seas.upenn.edu // School of Engineering and Applied Sciences, // University of Pennsylvania // // // 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 restrict...
37.853211
80
0.708434
VishnuPrem
e5e7a30ebbffc75b417222539fae251a92732333
2,747
cpp
C++
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Editor/gui/InspectorWidget/widget/impl/CameraComponentWidget.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "CameraComponentWidget.h" #include <QVBoxLayout> #include <QHBoxLayout> namespace editor::impl { CameraComponentWidget::CameraComponentWidget(QWidget* parent) : QWidget(parent) , m_Camera(nullptr) , m_Projection(nullptr) , m_ProjectionLabel(nullptr) , m_IsActiveCamera(nullptr) , m_...
25.201835
103
0.69312
obivan43
e5e9918171f8610da10971bf5ef47eacc1d9275c
5,711
cpp
C++
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/Render/Drawers/MiniMapDrawer.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#include "Core/Math/Mat4.hpp" #include "Render/D3D11Helper.hpp" #include "Resources/Mesh.hpp" #include "Resources/Texture.hpp" #include "Core/Primitives.hpp" #include "Resources/Map.hpp" #include "Render/DrawDataHandler.hpp" #include "Render/Drawers/MiniMapDrawer.hpp" #include "Render/Camera.hpp" using namespace Cooki...
28.133005
120
0.596568
qbleuse
e5ec6bfd9225a596f2111ae906a938b3348f3bd1
2,495
hpp
C++
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
inc/dirac_op.hpp
lkeegan/canonical
9380e8026f637e50b6354eaf9aeb6728b28bac3c
[ "MIT" ]
null
null
null
#ifndef LKEEGAN_CANONICAL_DIRAC_OP_H #define LKEEGAN_CANONICAL_DIRAC_OP_H #include <random> #include "4d.hpp" #include "Eigen3/Eigen/Eigenvalues" #include "omp.h" #include "su3.hpp" // staggered space-dependent gamma matrices // for now stored as 5x doubles per site but they are just +/- signs, and g[0] // is just + e...
32.828947
80
0.726653
lkeegan
e5ec74faa22ac5c889e31f6c93ef137cdb41447a
5,108
cc
C++
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
src/tim/vx/ops/rnn_cell.cc
gdh1995/TIM-VX
242a6bd05ae9153a6b563c39e6f6de16568812df
[ "MIT" ]
null
null
null
/**************************************************************************** * * Copyright (c) 2021 Vivante Corporation * * 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 ...
35.72028
80
0.669538
gdh1995
e5f27ff62e3c8fe8f15130737b095fadf08dec16
3,670
cpp
C++
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
src/coinbase_pro/parser.cpp
olned/ssc2ce-cpp
306188fa66322773721f71a8b52ea107ff2288cd
[ "BSL-1.0" ]
null
null
null
// Copyright Oleg Nedbaylo 2020. // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE // or copy at http://www.boost.org/LICENSE_1_0.txt #include "parser.hpp" #include <cstdlib> #include <fmt/format.h> #include <iostream> #include <rapidjson/document.h> namespace ssc2ce { Co...
22.9375
108
0.617984
olned
e5fa02c892e73170ede5a8caa420d2099b86323e
1,006
cpp
C++
Projects/Demo/source/Common/ControledLightComponent.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
Projects/Demo/source/Common/ControledLightComponent.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
Projects/Demo/source/Common/ControledLightComponent.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ControledLightComponent.h" #include <EtCore/Reflection/Registration.h> namespace et { namespace demo { // reflection //------------ RTTR_REGISTRATION { rttr::registration::class_<ControledLightComponent>("controled light component"); BEGIN_REGISTER_POLYMORPHIC_CLASS(ControledLight...
22.863636
91
0.698807
NeroBurner
e5fa89f24b53ada66750cbf7e14b96d67cba0025
2,386
hpp
C++
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
docker/private/priority_queue.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_docker_priority_queue #define xpack_docker_priority_queue #pragma push_macro("xuser") #undef xuser #define xuser mixc::docker_priority_queue::inc #include"algo/heap_root.hpp" #include"define/base_type.hpp" #include"docker/shared_array.hpp" #include"docker/transmitter.hpp" #include"dumb/mirror.hpp" #inclu...
26.808989
74
0.594719
Better-Idea
e5fce778a67f3c86688c7648a8bc5fde7458882f
2,127
cpp
C++
UCF HSPT Documents/2011/Solutions/genetics.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2011/Solutions/genetics.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2011/Solutions/genetics.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<fstream> #include<cctype> #include<cstdlib> using namespace std; char input[16]; //variable to store each line of input /* Array to manipulate the integer to genetic character conversion. For any character its array index is the corresponding value. For example 'G' has value of 2...
25.321429
113
0.597555
p473lr
f90046ff57205cdeb4834d4efff9cbd713a8c33e
2,328
cc
C++
cms/src/model/DeleteNotifyPolicyRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
cms/src/model/DeleteNotifyPolicyRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
cms/src/model/DeleteNotifyPolicyRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * 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...
24.765957
79
0.752148
sdk-team
f9024c35e6b29e9f8d8c30463ab7097cd9a2108d
624
cpp
C++
src/Math.cpp
mmha/efiraytracer
bd14e70db1e5390080e47c2e619a8a20d2e75ca6
[ "BSL-1.0" ]
8
2018-03-02T17:42:15.000Z
2021-09-14T21:59:19.000Z
src/Math.cpp
mmha/efiraytracer
bd14e70db1e5390080e47c2e619a8a20d2e75ca6
[ "BSL-1.0" ]
null
null
null
src/Math.cpp
mmha/efiraytracer
bd14e70db1e5390080e47c2e619a8a20d2e75ca6
[ "BSL-1.0" ]
null
null
null
#include <cstdint> // TODO Use SSE // http://www.myreckonings.com/Dead_Reckoning/Online/Materials/Fast_Approximation_of_Elementary_Functions.pdf extern "C" float tanf(float x) { float tan; __asm__("FPTAN;" : "=t"(tan) : "0"(x)); return tan; } extern "C" double sqrt(double x) { __asm__("sqrtsd %1, %0" : "+x"(x) : ...
24.96
109
0.641026
mmha
f9055ee5a4b61ca351341a9eff91ee855516a200
1,930
cpp
C++
Practicum_Homeworks_2021/04_Practice/main.cpp
NaskoVasilev/OOP-FMI
00443be9ef1931beae1e06f40fbb76ea09a46d1a
[ "MIT" ]
4
2020-11-14T11:22:39.000Z
2021-11-02T08:35:24.000Z
Practicum_Homeworks_2021/04_Practice/main.cpp
NaskoVasilev/OOP-FMI
00443be9ef1931beae1e06f40fbb76ea09a46d1a
[ "MIT" ]
null
null
null
Practicum_Homeworks_2021/04_Practice/main.cpp
NaskoVasilev/OOP-FMI
00443be9ef1931beae1e06f40fbb76ea09a46d1a
[ "MIT" ]
6
2020-11-08T12:55:25.000Z
2022-01-23T17:33:47.000Z
#include "card.hpp" #include "duelist.hpp" #include <iostream> using namespace std; int main() { MonsterCard *dragon = new MonsterCard("Blue-Eyes White Dragon", "This legendary dragon is a powerful engine of destruction.", 3000, 2500, 10); MonsterCard *magician = new...
39.387755
120
0.638342
NaskoVasilev
f905d68556ea6891fbacf9aa7d32580665bbd957
2,194
cc
C++
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
src/hlib/libcpp/os.cc
hascal/llvm
f9893068ec2cff12889d2a8c3f935bccda8769e3
[ "MIT" ]
null
null
null
string os_name() { #ifdef _WIN32 return "win32"; #elif _WIN64 return "win64"; #elif __APPLE__ || __MACH__ || macintosh || Macintosh return "macos"; #elif __linux__ return "linux"; #elif __FreeBSD__ return "freebsd"; #elif __unix || __unix__ return "unix"; #elif __ANDR...
20.12844
67
0.568368
hascal
f90bd9d71cd5d5659b11dbb985099333744bbc32
3,714
hpp
C++
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmathtest/profile/Profiler.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 3/22/16. // #ifndef RMVECTORMATH_PROFILER_HPP #define RMVECTORMATH_PROFILER_HPP #include <vector> #include <stack> #include <chrono> #include "ProfileCase.hpp" #include <profiler/MathStatistic.hpp> namespace profiler { class Profiler { protected: std::vector...
27.511111
142
0.469575
vitali-kurlovich
f90e466b4b041fdce6f38dfc35d3732befd0a0d3
1,476
cpp
C++
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_types/ship_type.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Ship type class and ship type-related functions. */ #...
26.357143
79
0.576558
Neocraftz1553
f90ecaadb121feefac9c6a25b033eb5aded3fce0
3,012
cpp
C++
recommendation/pytorch/negative_sampling_cpp/negative_sampling.cpp
mengkai94/training
2a0aa29e700a33e9d3bf2645d13d89fb525e29fc
[ "Apache-2.0" ]
567
2018-09-13T05:07:49.000Z
2020-11-23T11:52:11.000Z
recommendation/pytorch/negative_sampling_cpp/negative_sampling.cpp
mengkai94/training
2a0aa29e700a33e9d3bf2645d13d89fb525e29fc
[ "Apache-2.0" ]
222
2018-09-14T10:15:39.000Z
2020-11-20T22:21:09.000Z
recommendation/pytorch/negative_sampling_cpp/negative_sampling.cpp
mengkai94/training
2a0aa29e700a33e9d3bf2645d13d89fb525e29fc
[ "Apache-2.0" ]
279
2018-09-16T12:40:29.000Z
2020-11-17T14:22:52.000Z
#include <torch/torch.h> #include <vector> #include <iostream> #include <algorithm> #include <random> #include <cstdint> struct NegativeSampler { NegativeSampler(at::Tensor positives, int n_user, int n_item) : positives_lists(n_user) { std::cout << "C++ PyTorch extension for negative sampling created." << ...
31.051546
109
0.598274
mengkai94
f910671bb18dacb21a3fee701ad67ffed76d4d38
5,037
cpp
C++
Source/SIMPLib/Common/INamedObject.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
3
2018-01-18T18:27:02.000Z
2021-06-13T06:10:52.000Z
Source/SIMPLib/Common/INamedObject.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
211
2016-07-27T12:18:16.000Z
2021-11-02T13:42:11.000Z
Source/SIMPLib/Common/INamedObject.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
23
2016-02-15T21:23:47.000Z
2021-08-11T15:35:24.000Z
/* ============================================================================ * Copyright (c) 2019 BlueQuartz Software, LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistribut...
35.723404
90
0.475084
mhitzem
f911468765228b7d1ecd797f927a2b1e5ad48ac8
3,102
hpp
C++
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
2
2021-02-01T21:21:52.000Z
2021-02-07T07:19:18.000Z
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
null
null
null
drivers/inc/reg.hpp
scatty101/imxrt1062
4fb991c138d16e02ed8ea58b096be2034c9e5063
[ "MIT" ]
1
2021-02-01T21:25:19.000Z
2021-02-01T21:25:19.000Z
#ifndef IMXRT_DRIVERS_REG_HPP_ #define IMXRT_DRIVERS_REG_HPP_ #include <imxrt1062/hardware.hpp> namespace imxdrivers { /** * @brief DSB * */ static inline void data_sync() { __DSB(); } /** * @brief Sometimes IRQ are executed so fast, that irq flag isn't cleared until ...
25.636364
132
0.60735
scatty101
f9161a0c7752ad4996b90dd7c9ff0793a01177b3
319,755
hpp
C++
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
include/alibabacloud/pai_plugin_20220112.hpp
alibabacloud-sdk-cpp/paiplugin-20220112
350e03cc56139f270d6ef0eb75b474a79d9ded8d
[ "Apache-2.0" ]
null
null
null
// This file is auto-generated, don't edit it. Thanks. #ifndef ALIBABACLOUD_PAIPLUGIN20220112_H_ #define ALIBABACLOUD_PAIPLUGIN20220112_H_ #include <alibabacloud/open_api.hpp> #include <boost/throw_exception.hpp> #include <darabonba/core.hpp> #include <darabonba/util.hpp> #include <iostream> #include <map> #include <...
33.454175
199
0.615746
alibabacloud-sdk-cpp
f916613855148acf4ddb6053fd02d8472bba92ea
1,924
cpp
C++
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_field.cpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tom Hancocks // // 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, ...
34.357143
114
0.748441
EvocationGames
f922029c60842453b1aff0f88adab5004227c320
2,135
cpp
C++
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
1,460
2015-01-31T14:09:18.000Z
2022-03-24T09:43:19.000Z
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
254
2015-01-29T19:58:28.000Z
2022-03-30T01:00:38.000Z
plugins/notifications/notifier.cpp
boomt1337/nitroshare-desktop
3ab9eb4075f78cbf2ee0fb82cea66814406a2248
[ "MIT" ]
245
2015-02-18T16:40:52.000Z
2022-03-29T18:38:45.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Nathan Osman * * 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,...
35
104
0.717564
boomt1337
f9240d7d91ab4d35253d601837acf6a1707a1799
500
cpp
C++
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
2
2019-11-14T18:11:02.000Z
2020-01-20T22:40:31.000Z
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
null
null
null
lib/stringManipulation/src/string_manipulation.cpp
Xav83/AdventOfCode
7e305b89abe0a497efdab0f1a3bfe2bfc24b36d5
[ "MIT" ]
null
null
null
#include <functional> #include <sstream> void foreachElementsInStringDelimitedBy( const std::string &input, const char delimiter, std::function<void(const std::string &)> callback) { std::stringstream ss(input); std::string token; while (std::getline(ss, token, delimiter)) { callback(token); } } ...
26.315789
71
0.688
Xav83
f924414c965b39dcf3af5eabf4ac9a247dbad819
31,268
cpp
C++
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
unittests/test.cpp
attcs/TreeNode
1728cc3a1c605e17c328a27c12de5aa685f80fc1
[ "MIT" ]
null
null
null
#include "pch.h" #include <memory> #include "../treenode.h" #include <vector> #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) #include <execution> #endif struct DbEntity { int val = 0; }; bool operator==(DbEntity const& l, DbEntity const& r) { return l.val == r.val; } namespac...
24.428125
124
0.646444
attcs
f9244945ecec1e566af7c4149db1742b7f2ee1f7
469
cpp
C++
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
lcm.cpp
shu736/First
034d0326def08fb6b104411dd3b37eb6c1e03eda
[ "MIT" ]
null
null
null
#include <stdio.h> int lcm(int, int); int main() { int a, b, result; int prime[100]; printf("Enter two numbers: "); scanf("%d%d", &a, &b); result = lcm(a, b); printf("The LCM of %d and %d is %d\n", a, b, result); return 0; } int lcm(int a, int b) { static int comm...
16.75
58
0.460554
shu736
234d42fdfc563de21241340a582b66d85721babd
28,425
cpp
C++
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
1
2020-07-25T12:15:30.000Z
2020-07-25T12:15:30.000Z
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
null
null
null
src/j_plot.cpp
tsyw/JoSIM
c1dc2a127787a5f5f6750ef84768f30abee8dcae
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Johannes Delport // This code is licensed under MIT license (see LICENSE for details) #include "j_plot.hpp" #ifdef USING_MATPLOTLIB namespace plt = matplotlibcpp; #endif /* Determine traces to plot from the control part of the main circuit */ void traces_to_plot(InputFile& iFile, std::vec...
41.07659
161
0.552366
tsyw
234fdceea4773f1e33084b230737b0ffba9d8adf
4,431
cpp
C++
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui-1.0.4/MBA/MBA.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> /* 接口数据结构: 表示cui插件的一般信息 */ struct acui_information MBA_cui_information = { _T("飛翔システム"), /* copyright */ _T(""), /* system */ ...
23.822581
80
0.693297
MaiReo
23517d313abc400a073f8b524b70ab131eb930f0
2,585
cpp
C++
PLUTO/Src/Chombo/AMRLevelPlutoFactory.cpp
Mixpap/JetCloudSim
bc44ca3eb3956b87a4390428d897099a92a8b9b2
[ "MIT" ]
1
2018-11-21T20:32:36.000Z
2018-11-21T20:32:36.000Z
PLUTO/Src/Chombo/AMRLevelPlutoFactory.cpp
Mixpap/JetCloudSim
bc44ca3eb3956b87a4390428d897099a92a8b9b2
[ "MIT" ]
3
2018-10-08T22:20:49.000Z
2018-10-19T14:00:44.000Z
PLUTO/Src/Chombo/AMRLevelPlutoFactory.cpp
Mixpap/JetCloudSim
bc44ca3eb3956b87a4390428d897099a92a8b9b2
[ "MIT" ]
1
2019-06-26T05:37:43.000Z
2019-06-26T05:37:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "AMRLevelPlutoFactory.H" #include "NamespaceHeader.H" AMRLevelPlutoFacto...
25.594059
81
0.591876
Mixpap
2351dd801afdf4dd24e9dec216d419dd3d8c8b83
11,486
cpp
C++
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
src/stacker_system.cpp
scullion/stacker
ba9241c85962f210ea37784ebee3072dac63df46
[ "MIT" ]
null
null
null
#include "stacker_system.h" #include "stacker_shared.h" #include "stacker_attribute_buffer.h" #include "stacker_util.h" #include "stacker_platform.h" #include "stacker_document.h" #include "stacker_layer.h" namespace stkr { static void make_font_descriptor(LogicalFont *descriptor, const char *face, unsigned size, u...
38.673401
125
0.765715
scullion
2355492847a974f82b3e39e3ad68c1326d4c7bdf
407
cpp
C++
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/format.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
#include <string> #include "format.h" using std::string; string Format::ElapsedTime(long int seconds) { long int HH{seconds/3600}; long int H_re{seconds%3600}; long int MM{H_re/60}; long int SS{H_re%60}; string HH_str{std::to_string(HH)}; string MM_str{std::to_string(MM)}; string SS_str{...
23.941176
47
0.653563
nalinraut
235572b54424b5bf201c86257542fb05e43cff74
4,134
cpp
C++
19f/qual/prime/prime.cpp
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
19f/qual/prime/prime.cpp
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
19f/qual/prime/prime.cpp
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> std::unordered_set<int> PRIMES = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 1...
52.329114
100
0.516933
willzhang05
2355c6b669e088ed141f637d36ec5804b5e750df
1,510
hh
C++
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Library/User/Headers/EnableView.hh
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ #ifndef __EnableView__ #define __EnableView__ /* * $Header: /fuji/lewis/RCS/EnableView.hh,v 1.1 1992/06/20 17:33:49 lewis Exp $ * * Description: * * * TODO: * * * Notes: * * Changes: * $Log: EnableView.hh,v $ * Revision 1.1 1992/0...
19.358974
81
0.570861
SophistSolutions
2355c6bae8ee711ddb14deac4d4970de16e1fc9e
2,686
cpp
C++
problemes/probleme2xx/probleme280.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
problemes/probleme2xx/probleme280.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
problemes/probleme2xx/probleme280.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include "problemes.h" #include "arithmetique.h" #include "matrice.h" #include <bitset> typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; namespace { long double algorithme(size_t sx, size_t sy, const std::bitset<5> &haut, const std::bitset<5> &bas) { static std::map<std::tuple<size...
34.435897
119
0.513403
ZongoForSpeed
235d7868e431534664a820838212d93d28440767
7,370
cpp
C++
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
1
2021-12-27T15:12:27.000Z
2021-12-27T15:12:27.000Z
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
null
null
null
PhysicsEngine/ModulePhysics.cpp
bielrabasa/PhysicsEngine
ef3bc64c419a6da4ae234873e3d9da8c196197ec
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModulePhysics.h" #include "math.h" ModulePhysics::ModulePhysics(Application* app, bool start_enabled) : Module(app, start_enabled) { debug = true; } ModulePhysics::~ModulePhysics() { } bool ModulePhysics::Start() { LOG("Creating Physics 2D environment"); can...
30.580913
131
0.650204
bielrabasa
235e62563051f8d69068c588855edf82d894b371
1,186
cpp
C++
graph-theory/diameter_tree.cpp
Swaraj-Deep/data-structures-algorithms
0ffef6806a3e0348b56e685c73857c99341a39d8
[ "MIT" ]
2
2020-03-27T13:39:52.000Z
2020-03-29T00:14:27.000Z
graph-theory/diameter_tree.cpp
Swaraj-Deep/data-structures
0ffef6806a3e0348b56e685c73857c99341a39d8
[ "MIT" ]
null
null
null
graph-theory/diameter_tree.cpp
Swaraj-Deep/data-structures
0ffef6806a3e0348b56e685c73857c99341a39d8
[ "MIT" ]
null
null
null
/* *************************** * * * Author: Swaraj Deep * * * *************************** */ #include <iostream> #include <vector> #include <algorithm> using namespace std; void dfs_search(vector<vector<int>> &tree, vector<bool> &visited, int vertex, int dist, int...
26.355556
117
0.572513
Swaraj-Deep
2360490613d578811f9ae04a22cea2c5c4490d44
5,267
cxx
C++
src/core/SessionWatchdogContext.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
8
2018-09-18T15:33:51.000Z
2022-02-20T12:19:03.000Z
src/core/SessionWatchdogContext.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
2
2018-09-19T07:15:36.000Z
2019-03-14T17:16:19.000Z
src/core/SessionWatchdogContext.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
15
2018-09-17T07:37:06.000Z
2020-10-02T11:47:47.000Z
/** * Copyright 2018-2021 Dynatrace 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 ag...
31.538922
145
0.748813
Dynatrace
236052da1cee9c60bc77d7d85ec7c9de2059bfe4
880
hpp
C++
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
5
2021-10-01T06:48:21.000Z
2021-12-23T11:14:41.000Z
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
7
2021-09-26T19:53:53.000Z
2022-01-06T13:04:03.000Z
src/Structures/SymbolBBox.hpp
Werni2A/O2CP
a20c0102e1c5aca35874cc6bc89f083c66dfeb0e
[ "MIT" ]
1
2022-01-05T19:24:58.000Z
2022-01-05T19:24:58.000Z
#ifndef SYMBOLBBOX_H #define SYMBOLBBOX_H #include <cstdint> #include <iostream> #include <ostream> #include <string> #include "../General.hpp" struct SymbolBBox { int32_t x1; int32_t y1; int32_t x2; int32_t y2; }; [[maybe_unused]] static std::string to_string(const SymbolBBox& aObj) { std::...
18.723404
80
0.617045
Werni2A
23609737f9842ba0dbf84900221ba099a8bcf25a
7,913
cpp
C++
src/kvstore/StatisticStore.cpp
MMyheart/nebula1.0
e39fa11b88d5495e4d13cae3c14f39456b7b0629
[ "Apache-2.0" ]
null
null
null
src/kvstore/StatisticStore.cpp
MMyheart/nebula1.0
e39fa11b88d5495e4d13cae3c14f39456b7b0629
[ "Apache-2.0" ]
null
null
null
src/kvstore/StatisticStore.cpp
MMyheart/nebula1.0
e39fa11b88d5495e4d13cae3c14f39456b7b0629
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "kvstore/StatisticStore.h" #include <rocksdb/convenience.h> #include "base/Base.h" #include "fs/FileUtils.h" #i...
35.80543
100
0.614558
MMyheart
23625249e60afe425625fa27e472e0f1fd16cf6e
6,196
cpp
C++
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
1
2017-12-28T08:08:02.000Z
2017-12-28T08:08:02.000Z
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
null
null
null
ui-qt/Pretreatment/GrayHistogram/Roi/LabelGrayHistogram.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
3
2017-12-28T08:08:05.000Z
2021-11-12T07:59:13.000Z
#include "LabelGrayHistogram.h" #include <qdebug.h> #include <QPen> #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif #define LINEWIDTH 30 LabelGrayHistogram::LabelGrayHistogram(QWidget *parent) : QLabel(parent) { m_max =100; m_mode = -1; for(int i=0; i<2560;i++) { m_grade[...
27.784753
95
0.589413
qianyongjun123
2367f31d4ca3bf43363e4d2c5415ded954b3c0b7
21,908
cxx
C++
StRoot/Stl3Util/gl3/gl3Conductor.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/Stl3Util/gl3/gl3Conductor.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/Stl3Util/gl3/gl3Conductor.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
//:>------------------------------------------------------------------ //: FILE: gl3Conductor.cc //: HISTORY: //: 1 feb 2000 version 1.00 //: 6 jul 2000 add St_l3_Coordinate_Transformer //: 27 jul 2000 add print timing //:<--------------------------------------------------------...
28.195624
131
0.486169
xiaohaijin
236ad59187e5f3802e205398aece605a869c9eb4
530
cpp
C++
cpp/src/library.cpp
vibhatha/mycythonlib
38db78636646b5a14c605556ae561261dc425c8e
[ "Apache-2.0" ]
null
null
null
cpp/src/library.cpp
vibhatha/mycythonlib
38db78636646b5a14c605556ae561261dc425c8e
[ "Apache-2.0" ]
null
null
null
cpp/src/library.cpp
vibhatha/mycythonlib
38db78636646b5a14c605556ae561261dc425c8e
[ "Apache-2.0" ]
null
null
null
// // Created by vibhatha on 3/19/20. // #include "../include/library.h" #include "iostream" using namespace std; Library::Library() { } void Library::c_multiply(double *array, double multiplier, int m) { int i, j ; int index = 0 ; for (i = 0; i < m; i++) { array[index] = array[index] *...
16.060606
67
0.532075
vibhatha
236ae6d7f99c44649c72258be304280ce3c1dadb
2,025
cpp
C++
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
2
2020-10-31T09:59:36.000Z
2020-11-01T04:22:56.000Z
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
null
null
null
SAEEngineCore/submodules/object/tests/build_test/test.cpp
SAEEngine/SAEEngineCore
bede6c973caf7c4526ac5539ec2c9917139f2067
[ "MIT" ]
null
null
null
/* Return GOOD_TEST (0) if the test was passed. Return anything other than GOOD_TEST (0) if the test was failed. */ // Common standard library headers #include <cassert> /** * @brief Return this from main if the test was passsed. */ constexpr static inline int GOOD_TEST = 0; // Include the headers you need for t...
22.252747
95
0.669136
SAEEngine
2370c744e4e0262381f18133e5f777dfa220f054
12,069
cpp
C++
classes/CSocket.cpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
1
2021-03-04T07:04:50.000Z
2021-03-04T07:04:50.000Z
classes/CSocket.cpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
null
null
null
classes/CSocket.cpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
1
2021-11-29T08:24:52.000Z
2021-11-29T08:24:52.000Z
// // Class: CSocket // // Description: Class for connecting to / listening for connections from remote peers // and the reading/writing of data using sockets. It supports both plain and TLS/SSL // connections and is implemented using BOOST:ASIO synchronous API calls. At present it // only has basic TLS/SSL support an...
30.946154
128
0.50029
clockworkengineer
2372772d8a2edf2c0a7646a0368031bad79ae542
3,752
cpp
C++
SCLT/Objects/Material/MaterialBRDF.cpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
95
2016-05-05T10:46:49.000Z
2021-12-20T12:51:41.000Z
SCLT/Objects/Material/MaterialBRDF.cpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
1
2021-12-06T03:21:32.000Z
2021-12-06T03:21:32.000Z
SCLT/Objects/Material/MaterialBRDF.cpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
8
2017-03-12T03:04:08.000Z
2022-03-17T01:27:41.000Z
// // MaterialBRDF.cpp // Spectral Clara Lux tracer // // Created by Fabrizio Duroni on 23/11/15. // Copyright © 2015 Fabrizio Duroni. All rights reserved. // #include "pch.h" #include "MaterialBRDF.hpp" #include "Illuminant.hpp" Spectrum<constant::spectrumSamples> MaterialBRDF::f(const Vector3D& wi, ...
32.344828
110
0.611141
chicio
2373bfefa0e0944e7f73099ae42a8648da18b3b6
2,085
cpp
C++
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
src/Log.cpp
wibbe/zum-cpp
0fc753cac5f577eb56eaa9e8330f466b2cdaa38c
[ "MIT" ]
null
null
null
#include "Log.h" #include "bx/platform.h" #include <cstdlib> #include <cstdio> static std::string logFile() { #if BX_PLATFORM_LINUX || BX_PLATFORM_OSX static const std::string LOG_FILE = "/.zumlog"; const char * home = getenv("HOME"); if (home) return std::string(home) + LOG_FILE; else return "~" + ...
18.289474
55
0.62446
wibbe
2374eece4b5cb807686524d494c2f570d888704c
7,577
hpp
C++
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
17
2018-12-02T10:16:37.000Z
2022-02-25T22:58:35.000Z
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
27
2017-12-25T14:54:38.000Z
2021-01-28T12:30:10.000Z
include/yamail/resource_pool/async/detail/queue.hpp
JonasProgrammer/resource_pool
5b8e0d542e40805b187af7b94770e95f292379c9
[ "MIT" ]
5
2017-12-25T14:41:52.000Z
2022-03-26T06:22:22.000Z
#ifndef YAMAIL_RESOURCE_POOL_ASYNC_DETAIL_QUEUE_HPP #define YAMAIL_RESOURCE_POOL_ASYNC_DETAIL_QUEUE_HPP #include <yamail/resource_pool/error.hpp> #include <yamail/resource_pool/time_traits.hpp> #include <boost/asio/executor.hpp> #include <boost/asio/post.hpp> #include <algorithm> #include <list> #include <map> #incl...
33.526549
115
0.700937
JonasProgrammer
2378fd7fec6d7510bbff013b9a0ea4b2b7f215bd
268
cpp
C++
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
2
2021-12-20T03:20:05.000Z
2021-12-28T16:15:20.000Z
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
69
2021-08-30T13:09:01.000Z
2022-01-15T17:41:40.000Z
src/portaudiohandler.cpp
aparks5/synthcastle
ebb542d014c87a11a83b9e212668eca75a333fbf
[ "MIT" ]
null
null
null
/// Copyright(c) 2021. Anthony Parks. All rights reserved. #include "portaudiohandler.h" PortAudioHandler::PortAudioHandler() : m_result(Pa_Initialize()) { } PortAudioHandler::~PortAudioHandler() { if (m_result == paNoError) { Pa_Terminate(); } }
17.866667
59
0.682836
aparks5
2379857d0af4607a620b76853af3c51e2d41dcac
1,173
cpp
C++
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
Source/Trickery/Test.cpp
D4rk1n/ModernProblemsModernSolutions
bb8f96f9701fe3eee3b5a513b42575a3d0075bb4
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Test.h" // Sets default values for this component's properties UTest::UTest() { // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features // off to improve performa...
24.4375
121
0.700767
D4rk1n
237cc3acae3061fd145e90a3004595c0a35619b0
354
hpp
C++
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
include/toy/gadget/IntToHexChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include "toy/Standard.hpp" #include "toy/gadget/Export.hpp" namespace toy{ namespace gadget{ // 1 -> '1' // 2 -> '2' // 11 -> 'b' // 15 -> 'f' // 16 -> [error] TOY_API_GADGET extern char IntToHexChar(int); // 1 -> '1' // 2 -> '2' // 11 -> 'B' // 15 -> 'F' // 16 -> [error] TOY_API_GADGET extern ch...
14.16
53
0.573446
ToyAuthor
237fc3ac31b5b7e05509b8d16e2810e96459d81d
278
hpp
C++
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
null
null
null
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
5
2019-12-06T01:01:01.000Z
2021-04-20T21:16:34.000Z
package/config/config/config_config.hpp
mambaru/wfc_core
0c3e7fba82a9bb1580582968efae02ef7fabc87a
[ "MIT" ]
null
null
null
// // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018 // // Copyright: See COPYING file that comes with this distribution // #pragma once namespace wfc{ namespace core{ struct config_config { bool reload_sighup = false; time_t reload_changed_ms = 0; }; }}
15.444444
64
0.715827
mambaru
23814363269462e69bd0dc675502639a6f45b87f
6,427
cc
C++
chrome/browser/sync/engine/build_commit_command.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/sync/engine/build_commit_command.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/sync/engine/build_commit_command.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/engine/build_commit_command.h" #include <set> #include <string> #include <vector> #include "chrome/browser/sync/e...
41.464516
80
0.715419
rwatson
238147189c29475ac43a113d5e97782feee7d072
345
cpp
C++
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
2
2021-09-18T10:50:20.000Z
2021-11-12T13:19:45.000Z
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
null
null
null
OOP Lab/Lab9/LE/LE9_9.cpp
HANS-2002/Jab-sab-aapki-le-rahe-ho-tab-aap-bhi-kuch-lelo
8a9d67153797e9a6d438151c70f6726a50079df4
[ "MIT" ]
3
2021-09-10T14:08:12.000Z
2021-09-18T10:52:09.000Z
// (Class Template) Write a program to explain class template by creating a template T for a class // named pair having two data members of type T which are inputted by a constructor and a // member function get-max() return the greatest of two numbers to main. Note: the value of T // depends upon the data type specifi...
86.25
98
0.776812
HANS-2002
2384b259525d7b7da51ab90093316c169352b226
15,767
cpp
C++
newbase/NFmiRect.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
null
null
null
newbase/NFmiRect.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
7
2017-01-17T10:46:33.000Z
2019-11-21T07:50:17.000Z
newbase/NFmiRect.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
2
2017-01-17T07:33:28.000Z
2018-04-26T07:10:23.000Z
// ====================================================================== /*! * \file NFmiRect.cpp * \brief Implementation of class NFmiRect */ // ====================================================================== /*! * \class NFmiRect * * Undocumented * */ // ===============================================...
26.814626
99
0.490328
fmidev
2385728ed6e584fa445b30a6a16b3161dcf5820b
3,542
cpp
C++
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
null
null
null
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
null
null
null
scaffold/Setting.cpp
taozhijiang/roo
bea672b9274f91f4002a9742e096152b0d62f122
[ "BSD-3-Clause" ]
2
2019-08-23T02:31:42.000Z
2020-05-02T00:12:36.000Z
/*- * Copyright (c) 2019 TAO Zhijiang<taozhijiang@gmail.com> * * Licensed under the BSD-3-Clause license, see LICENSE for full information. * */ #include <sstream> #include <iostream> #include <scaffold/Setting.h> #include <scaffold/Status.h> namespace roo { bool Setting::init(std::string file) { cfg_fil...
25.120567
91
0.601073
taozhijiang
23875d96f499e5a6f87d8a846965a7aab0aeabaa
1,736
cxx
C++
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
null
null
null
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
null
null
null
HTRunInfo/HTDAQStackInfo.cxx
dellaquilamaster/RIBbit2
5e792724676a7b84e19e9512b2d6295287f81a4e
[ "Unlicense" ]
1
2019-05-03T17:50:21.000Z
2019-05-03T17:50:21.000Z
#include <HTDAQStackInfo.h> //________________________________________________ HTDAQStackInfo::HTDAQStackInfo(const char * name, int stackID) : fNModules(0), fStackName(name), fStackID(stackID) {} //________________________________________________ HTDAQStackInfo::~HTDAQStackInfo() { Clear(); } //__________________...
22.545455
66
0.801843
dellaquilamaster
238de8358cb0938b34eacfe1305a0bb6b5442982
3,202
cpp
C++
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
76
2018-02-20T11:30:52.000Z
2022-03-31T12:45:06.000Z
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
27
2018-11-20T14:32:49.000Z
2021-11-24T15:26:45.000Z
unit_tests/core/math/euler_angles/src/unit_euler_angles.cpp
ricortiz/OpenTissue
f8c8ebc5137325b77ba90bed897f6be2795bd6fb
[ "Zlib" ]
24
2018-02-21T01:45:26.000Z
2022-03-07T07:06:49.000Z
// // OpenTissue, A toolbox for physical based simulation and animation. // Copyright (C) 2007 Department of Computer Science, University of Copenhagen // #include <OpenTissue/configuration.h> #include <OpenTissue/core/math/math_euler_angles.h> #define BOOST_AUTO_TEST_MAIN #include <OpenTissue/utility/utility_push_bo...
27.367521
84
0.67614
ricortiz
2390b9de6c1a931be7e506b913688dfde1b290ed
902
cpp
C++
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Recover Binary Search Tree.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
25.771429
93
0.543237
Subhash3