hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
474d2df2309b28e66063c496b04f53530c1adac4
1,170
cpp
C++
homework/day_6/riemann_sum.cpp
msse-2021-bootcamp/team1-project
b950b01c6b74169b582c6b5dca5644a6ede90571
[ "BSD-3-Clause" ]
null
null
null
homework/day_6/riemann_sum.cpp
msse-2021-bootcamp/team1-project
b950b01c6b74169b582c6b5dca5644a6ede90571
[ "BSD-3-Clause" ]
37
2021-08-10T20:34:20.000Z
2021-08-23T16:07:31.000Z
homework/day_6/riemann_sum.cpp
msse-2021-bootcamp/team1-project
b950b01c6b74169b582c6b5dca5644a6ede90571
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> double eval_integrand(double x) { return 1 / (1 + x * x); } double integration_function(int a, int b, int points){ double integeral_sum = 0; double rect_size = ((double)b-a)/points; for(int i=0; i < points; i++) { double step = eval_integrand((double)a+(rect_size/2)+(double)i*rect_size);...
30.789474
77
0.622222
msse-2021-bootcamp
474f582ae2ed8114949a1ad4c2589f998e864f0c
2,189
hpp
C++
include/boost/tr1/memory.hpp
dstrigl/mcotf
92a9caf6173b1241a2f9ed45cd379469762b7178
[ "BSL-1.0" ]
null
null
null
include/boost/tr1/memory.hpp
dstrigl/mcotf
92a9caf6173b1241a2f9ed45cd379469762b7178
[ "BSL-1.0" ]
null
null
null
include/boost/tr1/memory.hpp
dstrigl/mcotf
92a9caf6173b1241a2f9ed45cd379469762b7178
[ "BSL-1.0" ]
null
null
null
// (C) Copyright John Maddock 2005. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_TR1_MEMORY_HPP_INCLUDED # define BOOST_TR1_MEMORY_HPP_INCLUDED # inc...
30.402778
88
0.728643
dstrigl
4754443389953f72ee2510aa4b3d97e499a1c220
1,768
cpp
C++
DS/queque_group.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
2
2019-05-09T16:35:21.000Z
2019-08-19T11:57:53.000Z
DS/queque_group.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
null
null
null
DS/queque_group.cpp
ParrySMS/Exp
78459e141308827b3e9a4ceb227808517d476a53
[ "Apache-2.0" ]
2
2019-03-29T05:31:55.000Z
2019-12-03T07:35:42.000Z
#include <queue> #include <map> #include <stack> #include <string> #include <math.h> #include <iostream> #include <iomanip> using namespace std; int main() { int i,t,n,value,data; int q_group_num,data_group_num; string op; map <int,int> group; map <int,int>::iterator it; // queue <int> q; queue <int> *qAr[10];...
15.508772
58
0.495475
ParrySMS
47586f654e83ab9a91981eb0969bb8038c9b2d97
1,589
cpp
C++
HALLibTest/RegisterTest/SCTest.cpp
GerdHirsch/HALLib
dd14ef56cb8dfe98c296ddf2f49412fdd7a3fb4c
[ "MIT" ]
1
2021-01-22T19:16:41.000Z
2021-01-22T19:16:41.000Z
HALLibTest/RegisterTest/SCTest.cpp
GerdHirsch/HALLib
dd14ef56cb8dfe98c296ddf2f49412fdd7a3fb4c
[ "MIT" ]
null
null
null
HALLibTest/RegisterTest/SCTest.cpp
GerdHirsch/HALLib
dd14ef56cb8dfe98c296ddf2f49412fdd7a3fb4c
[ "MIT" ]
null
null
null
/* * SCTest.cpp * * Created on: 05.01.2014 * Author: Gerd */ #include <RegisterTest/SCTest.h> namespace Mock { // SystemControl Mock Register // External Interrupts (EXT) SCTest::ExpectedType EXTINT_; SCTest::ExpectedType EXTWAKE_; SCTest::ExpectedType EXTMODE_; SCTest::ExpectedType EXTP...
22.380282
62
0.69163
GerdHirsch
e6e0db2e37717cc09beea7d57777c6a437ef14e3
2,296
hpp
C++
source/LibFgBase/src/FgGuiApiDialogs.hpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgGuiApiDialogs.hpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgGuiApiDialogs.hpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
// // Copyright (c) 2015 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // // Authors: Andrew Beatty // Created: Sept. 20, 2011 // #ifndef FGGUIAPIDIALOGS_HPP #define FGGUIA...
33.275362
111
0.702526
maamountki
e6e177c560967fd9754d05cf2b6ba78987ef2421
169
hpp
C++
benchsuite/utils/rand.hpp
angelicadavila/UNIZAR_PHD
532a87467ceb49d3c3851bb23e26003bfc1888d3
[ "MIT" ]
null
null
null
benchsuite/utils/rand.hpp
angelicadavila/UNIZAR_PHD
532a87467ceb49d3c3851bb23e26003bfc1888d3
[ "MIT" ]
null
null
null
benchsuite/utils/rand.hpp
angelicadavila/UNIZAR_PHD
532a87467ceb49d3c3851bb23e26003bfc1888d3
[ "MIT" ]
null
null
null
#ifndef ENGINECL_UTILS_RAND_HPP #define ENGINECL_UTILS_RAND_HPP #include <cstdlib> float random(float rand_max, float rand_min); #endif /* ENGINECL_UTILS_RAND_HPP */
16.9
39
0.810651
angelicadavila
e6e989f28ce118aa5e060f12b0cf6b563888543f
3,913
cc
C++
lib/wabt/src/stream.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/wabt/src/stream.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
lib/wabt/src/stream.cc
rekhadpr/demoazure1
394d777e507b171876734d871d50e47254636b9d
[ "MIT" ]
null
null
null
/* * Copyright 2016 WebAssembly Community Group participants * * 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...
29.201493
78
0.600307
rekhadpr
e6f88861aafd0b1cd9a3c559f0a16dbb44adbb67
1,410
hpp
C++
Lia/irange/numeric_range_iterator.hpp
Rapptz/Lia
9c4745457e4ab517bdedd58015bf370f07b7099f
[ "MIT" ]
2
2021-04-05T23:28:12.000Z
2021-11-08T11:52:34.000Z
Lia/irange/numeric_range_iterator.hpp
Rapptz/Lia
9c4745457e4ab517bdedd58015bf370f07b7099f
[ "MIT" ]
null
null
null
Lia/irange/numeric_range_iterator.hpp
Rapptz/Lia
9c4745457e4ab517bdedd58015bf370f07b7099f
[ "MIT" ]
1
2021-06-07T18:05:04.000Z
2021-06-07T18:05:04.000Z
#ifndef LIA_IRANGE_NUMERIC_RANGE_ITERATOR_HPP #define LIA_IRANGE_NUMERIC_RANGE_ITERATOR_HPP #include "../detail/iterator.hpp" namespace lia { template<typename T, bool Infinite = false> struct numeric_range_iterator : std::iterator<std::bidirectional_iterator_tag, T> { private: T current; std::ptrdiff_t step;...
23.898305
83
0.624113
Rapptz
fc052b381aa3e52e847c40850ba8e07e95918749
4,704
cpp
C++
scan_all/src/scan_all.cpp
npczs/scan_all
204f48527ae7e5722dde69b1c1d36f69b053c268
[ "MIT" ]
null
null
null
scan_all/src/scan_all.cpp
npczs/scan_all
204f48527ae7e5722dde69b1c1d36f69b053c268
[ "MIT" ]
null
null
null
scan_all/src/scan_all.cpp
npczs/scan_all
204f48527ae7e5722dde69b1c1d36f69b053c268
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "sensor_msgs/LaserScan.h" #include "sensor_msgs/PointCloud2.h" #include <laser_geometry/laser_geometry.h> #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/approximate_time.h> #include <message_filters/time_synchronize...
35.908397
119
0.677721
npczs
fc05e6c9c1d178e2c5f2819343cf20256ec67c6a
1,353
cpp
C++
maliit-plugin-chinese/plugin/plugin.cpp
webOS-ports/ime-manager
e71b9c458e4aa9203991ba84eed7104306372ce3
[ "Apache-2.0" ]
2
2018-03-22T19:04:43.000Z
2019-05-06T05:21:10.000Z
maliit-plugin-chinese/plugin/plugin.cpp
webOS-ports/ime-manager
e71b9c458e4aa9203991ba84eed7104306372ce3
[ "Apache-2.0" ]
null
null
null
maliit-plugin-chinese/plugin/plugin.cpp
webOS-ports/ime-manager
e71b9c458e4aa9203991ba84eed7104306372ce3
[ "Apache-2.0" ]
3
2018-03-22T19:04:45.000Z
2022-01-18T15:46:29.000Z
// Copyright (c) 2017-2019 LG Electronics, 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...
28.1875
86
0.733925
webOS-ports
fc08c3697a46579af3eb2b0681d83a5b8afbe79c
2,653
hpp
C++
src/tree/segment_tree.hpp
dushivani/stlmp
0db76e421cef34dc532612acb5f85293460896b5
[ "MIT" ]
null
null
null
src/tree/segment_tree.hpp
dushivani/stlmp
0db76e421cef34dc532612acb5f85293460896b5
[ "MIT" ]
null
null
null
src/tree/segment_tree.hpp
dushivani/stlmp
0db76e421cef34dc532612acb5f85293460896b5
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> class segment_tree{ private: int *st; int *ar; int len; int sz; //size of segment tree // function to get middle of a segment int _get_mid(int start, int end){ return start + (end - start) / 2; } // util function to contruc...
27.635417
79
0.565398
dushivani
fc0ced4d04a54b48958607a0259283e3c6222c45
24,713
cc
C++
src/engines/nvlsm.cc
umn-cris/pmemkv
efc5ccb4203ec07a0dbe7a2364b4dc4c02eccdab
[ "BSD-3-Clause" ]
null
null
null
src/engines/nvlsm.cc
umn-cris/pmemkv
efc5ccb4203ec07a0dbe7a2364b4dc4c02eccdab
[ "BSD-3-Clause" ]
null
null
null
src/engines/nvlsm.cc
umn-cris/pmemkv
efc5ccb4203ec07a0dbe7a2364b4dc4c02eccdab
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017-2018, Intel Corporation * * 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 list of conditions and ...
32.559947
103
0.575527
umn-cris
fc11743da33fab8de0895a935551bbb67e59477a
49,186
cpp
C++
emp-tool/circuits/float32_add.cpp
wangxiao1254/emp-tool
d7caa06980ef8c48c429d59646775fa6de48b952
[ "MIT" ]
131
2017-03-08T12:08:56.000Z
2022-03-31T14:05:36.000Z
emp-tool/circuits/float32_add.cpp
MohammadHashemi-ai/emp-tool
44b1ddef7bf6bb8eefeede89f27084a96d1d349c
[ "MIT" ]
106
2017-05-15T18:19:29.000Z
2022-03-31T22:43:23.000Z
emp-tool/circuits/float32_add.cpp
MohammadHashemi-ai/emp-tool
44b1ddef7bf6bb8eefeede89f27084a96d1d349c
[ "MIT" ]
91
2016-10-27T11:40:46.000Z
2022-03-31T14:05:40.000Z
#include "emp-tool/circuits/float32.h" using emp::Float; using emp::Bit; Float Float::operator+(const Float& rhs) const{ Float res(*this); Bit *B = new Bit[2520]; memcpy(B, value.data(), sizeof(block)*32); memcpy(B+32, rhs.value.data(), sizeof(block)*32); uint32_t gates[] = { 30, 0, 64, 2, 62, 64, 65, 0, 65, 0...
19.897249
79
0.547676
wangxiao1254
fc14fc1be5ca69f99bdf3ec859d0f9efa0f89d7e
604
cxx
C++
test/CircularBufferTest.cxx
kb1vc/SoDaSignals
f7ae9be3e8865e24e9b61643f099b59f5a5efd1a
[ "BSD-2-Clause" ]
null
null
null
test/CircularBufferTest.cxx
kb1vc/SoDaSignals
f7ae9be3e8865e24e9b61643f099b59f5a5efd1a
[ "BSD-2-Clause" ]
null
null
null
test/CircularBufferTest.cxx
kb1vc/SoDaSignals
f7ae9be3e8865e24e9b61643f099b59f5a5efd1a
[ "BSD-2-Clause" ]
null
null
null
#include "../include/CircularBuffer.hxx" #include <iostream> template<typename T> void dumpCBuf(SoDa::CircularBuffer<T> b) { for(int i = 0; i < b.size(); i++) { std::cout << i << ": " << b[i] << "\n"; } } int main(int argc, char * argv[]) { // create a circular buffer of chars. SoDa::CircularBuffer<char> ...
17.764706
46
0.536424
kb1vc
fc1894ecf2c63c99af1acbb69a72b0a20b3ba336
4,428
hpp
C++
miniFE-sycl/basic/optional/ThreadPool/src/TPI.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
692
2015-11-12T13:56:43.000Z
2022-03-30T03:45:59.000Z
miniFE-sycl/basic/optional/ThreadPool/src/TPI.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
1,096
2015-11-12T09:08:22.000Z
2022-03-31T21:48:41.000Z
miniFE-sycl/basic/optional/ThreadPool/src/TPI.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
224
2015-11-12T21:17:03.000Z
2022-03-30T00:57:48.000Z
/*------------------------------------------------------------------------*/ /* TPI: Thread Pool Interface */ /* Copyright (2008) Sandia Corporation */ /* */ /* Under te...
32.558824
95
0.467706
BeauJoh
fc1b8b35b7bf004252541f7e5231f4761118336a
5,871
cpp
C++
atto/tests/opencl/6-image-texture-gl/rop.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opencl/6-image-texture-gl/rop.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opencl/6-image-texture-gl/rop.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * rop.cpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #include "rop.hpp" using namespace atto; /** * Rop static member varia...
33.741379
81
0.548459
ubikoo
fc23adfe38b72667bd6f2184a26ade0cc9a20921
8,886
cc
C++
cpp/interface/interface.cc
yiskylee/NICE
bdd625bf431fe29919b39207ca20a06cc7399ff9
[ "MIT" ]
4
2016-04-28T14:17:58.000Z
2018-07-28T01:37:25.000Z
cpp/interface/interface.cc
yiskylee/NICE
bdd625bf431fe29919b39207ca20a06cc7399ff9
[ "MIT" ]
48
2016-05-04T12:47:02.000Z
2017-12-14T19:58:49.000Z
cpp/interface/interface.cc
yiskylee/NICE
bdd625bf431fe29919b39207ca20a06cc7399ff9
[ "MIT" ]
19
2016-05-03T14:22:42.000Z
2017-07-06T19:01:49.000Z
// The MIT License (MIT) // // Copyright (c) 2016 Northeastern University // // 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 //...
45.804124
80
0.651249
yiskylee
fc26f206c46766099a22684bcdaf164b1542a32f
17,104
hpp
C++
src/cpu/sm83_op_codes.hpp
joelghill/LameBoy
66653070f4aefc03fac651dbf741465c3bb9bd76
[ "Apache-2.0" ]
null
null
null
src/cpu/sm83_op_codes.hpp
joelghill/LameBoy
66653070f4aefc03fac651dbf741465c3bb9bd76
[ "Apache-2.0" ]
null
null
null
src/cpu/sm83_op_codes.hpp
joelghill/LameBoy
66653070f4aefc03fac651dbf741465c3bb9bd76
[ "Apache-2.0" ]
null
null
null
/** * @brief Definitions for C++ implementation of all SM83 Op Codes * */ #ifndef SM83_OP_CODES_H #define SM83_OP_CODES_H #include <iostream> #include "./sm83_state.hpp" using namespace std; /** * @brief Adds a number to a SM83 register * * @param state The SM83 state object to operate on * @param reg_getter...
31.851024
133
0.714745
joelghill
fc35a8035f422644adc069489a37d14ac2c7bc40
3,900
hpp
C++
logos/epoch/archiver.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/epoch/archiver.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/epoch/archiver.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
/// /// @file /// This file contains declaration of the Archiver class - container for epoch/microblock handling related classes /// #pragma once #include <logos/microblock/microblock_handler.hpp> #include <logos/consensus/primary_delegate.hpp> #include <logos/epoch/epoch_voting_manager.hpp> #include <logos/epoch/event...
36.111111
123
0.717949
LogosNetwork
fc38e19fb62c2162c831c11ccc8acf439d5edc36
2,013
cc
C++
src/desugar/test-bounds-checking.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-bounds-checking.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
src/desugar/test-bounds-checking.cc
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
// Checking bounds checking. #include <ostream> #include <string> #include <ast/all.hh> #include <ast/libast.hh> #include <bind/libbind.hh> #include <desugar/bounds-checking-visitor.hh> #include <parse/libparse.hh> #include <type/libtype.hh> using namespace ast; using namespace desugar; const char* program_name = "...
29.602941
76
0.474913
MrMaDGaME
fc392a57652d69714a97b7dc32dca945c00b2885
596
cpp
C++
openjudge/01/13/15.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
openjudge/01/13/15.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
openjudge/01/13/15.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> struct N { long long int n; int times; }; int main () { std::vector <N> l; long long int a; int n, max = 0, maxn; std::cin >> n; for (int b = 0; b < n; b += 1) { std::cin >> a; bool flag = true; for (int c = 0; c < l.size (); c += 1) { if (l [c].n == a) { l...
15.282051
42
0.449664
TheBadZhang
fc39a0f65b1e21160a628e12abe4f4a3774a9bdd
24,864
cpp
C++
src/towns/crtc/crtc.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
src/towns/crtc/crtc.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
src/towns/crtc/crtc.cpp
Artanejp/TOWNSEMU
72ccc5588314de210cd8b77fe7f42b92ed79bed9
[ "BSD-3-Clause" ]
null
null
null
/* LICENSE>> Copyright 2020 Soji Yamakawa (CaptainYS, http://www.ysflight.com) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condition...
26.735484
755
0.688908
Artanejp
fc425f7fec53c0a7720e6a98ea7b958249f693b4
8,586
cpp
C++
contracts/eosio.system/voting.cpp
terradacs/beos-core
31e19170bcad573b1d498811284e62babd478f92
[ "MIT" ]
9
2019-04-04T18:46:14.000Z
2022-03-03T16:22:56.000Z
contracts/eosio.system/voting.cpp
terradacs/beos-core
31e19170bcad573b1d498811284e62babd478f92
[ "MIT" ]
null
null
null
contracts/eosio.system/voting.cpp
terradacs/beos-core
31e19170bcad573b1d498811284e62babd478f92
[ "MIT" ]
3
2019-03-19T17:45:08.000Z
2021-03-22T21:45:35.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #include "eosio.system.hpp" #include <eosiolib/eosio.hpp> #include <eosiolib/crypto.h> #include <eosiolib/print.hpp> #include <eosiolib/datastream.hpp> #include <eosiolib/serialize.hpp> #include <eosiolib/multi_index.hpp> #include <eosiolib/privileged.hpp> #i...
36.07563
155
0.659213
terradacs
fc43f5086b9876dd84363e87f15dd923e2330dce
2,010
cpp
C++
core/features/misc/prediction.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
50
2019-06-12T19:22:28.000Z
2022-03-07T20:40:16.000Z
core/features/misc/prediction.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
13
2019-06-17T15:21:28.000Z
2021-03-21T19:09:43.000Z
core/features/misc/prediction.cpp
Lucianthin/Csgo-Cheat
83ead94156f8f4fb7186265b37c7a38e1cdb2dd8
[ "MIT" ]
26
2019-06-16T19:33:12.000Z
2022-02-02T10:48:44.000Z
#include "prediction.hpp" #include "../../../dependencies/utilities/md5.hpp" #include "../../../dependencies/interfaces/interfaces.hpp" #include <iostream> #include <fstream> c_prediction engine_prediction; void c_prediction::start_prediction(c_usercmd* command) noexcept { auto local_player = reinterpret_cast<player...
35.892857
155
0.760199
Lucianthin
fc48d83fa808bc931ffa58105a64e24e08fc613c
2,679
hpp
C++
boost/numeric/mtl/utility/transposed_matrix_type.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
boost/numeric/mtl/utility/transposed_matrix_type.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
boost/numeric/mtl/utility/transposed_matrix_type.hpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and A...
32.670732
104
0.776036
lit-uriy
fc4cc9762c71cf2e7a49e9dff9d5ff2e19fe519a
11,449
hpp
C++
include/clients/common/BufferedProcess.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
include/clients/common/BufferedProcess.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
include/clients/common/BufferedProcess.hpp
jamesb93/flucoma-core
3e964dd569f6fff15bd5249a705dc0da8f7b2ad8
[ "BSD-3-Clause" ]
null
null
null
/* Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) Copyright 2017-2019 University of Huddersfield. Licensed under the BSD-3 License. See license.md file in the project root for full license information. This project has received funding from the European Research Council (ERC) under the European...
33.772861
79
0.614202
jamesb93
fc4d924bf910b268f625579acc25780542f6472f
4,205
cpp
C++
alica_tests/autogenerated/src/MultiAgentTestPlan1413200862180.cpp
Hugo-V-V/alica
8cbba9c01b52d11854ec0c5367d4a8ec4f896cfd
[ "MIT" ]
null
null
null
alica_tests/autogenerated/src/MultiAgentTestPlan1413200862180.cpp
Hugo-V-V/alica
8cbba9c01b52d11854ec0c5367d4a8ec4f896cfd
[ "MIT" ]
null
null
null
alica_tests/autogenerated/src/MultiAgentTestPlan1413200862180.cpp
Hugo-V-V/alica
8cbba9c01b52d11854ec0c5367d4a8ec4f896cfd
[ "MIT" ]
null
null
null
#include "MultiAgentTestPlan1413200862180.h" /*PROTECTED REGION ID(eph1413200862180) ENABLED START*/ // Add additional using directives here #include "TestWorldModel.h" #include <engine/AlicaEngine.h> #include <essentials/IdentifierConstPtr.h> /*PROTECTED REGION END*/ namespace alica { // Plan:MultiAgentTestPlan /** ...
32.596899
155
0.706064
Hugo-V-V
fc524ede56f7fb131b040d12fcb9a88d30fb891e
2,779
cpp
C++
restbed/example/transfer_encoding_request/source/example.cpp
stevens2017/Aware
cd4754a34c809707c219a173dc1ad494e149cdb1
[ "BSD-3-Clause" ]
null
null
null
restbed/example/transfer_encoding_request/source/example.cpp
stevens2017/Aware
cd4754a34c809707c219a173dc1ad494e149cdb1
[ "BSD-3-Clause" ]
null
null
null
restbed/example/transfer_encoding_request/source/example.cpp
stevens2017/Aware
cd4754a34c809707c219a173dc1ad494e149cdb1
[ "BSD-3-Clause" ]
null
null
null
/* * Example illustrating Transfer-Encoding request processing. * * Server Usage: * ./distribution/example/transfer_encoding_request * * Client Usage: * curl -w'\n' -v -X POST --header "Transfer-Encoding: chunked" -d @distribution/resource/request.txt 'http://localhost:1984/resources' */ #include <string...
28.357143
138
0.623965
stevens2017
fc5583923f44deb1a403652fc2a5bc291be16386
999
cpp
C++
Recursion/PascalTriangle/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
1
2020-12-02T09:21:52.000Z
2020-12-02T09:21:52.000Z
Recursion/PascalTriangle/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
null
null
null
Recursion/PascalTriangle/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
null
null
null
//https://brilliant.org/wiki/pascals-triangle/#:~:text=Pascal's%20triangle%20is%20a%20triangular,Pascal%20(1623%20%2D%201662). /* Implementation of nCr i.e. Selction Formula Can be implemented usng two methods: 1. Using formula - O(n) 2. Using Pascal's Triange - O(n) */ #include <iostream> using namespace std; //h...
20.8125
126
0.588589
rsghotra
fc58a3769983bc62f3bbfb8cd89bf64a2546f0aa
543
hh
C++
library/LayoutEmbedding/VirtualVertexAttribute.hh
jsb/LayoutEmbedding
6ef02ed0043dfabce6d593486358d6ef15cbf3ba
[ "MIT" ]
18
2021-02-18T15:35:25.000Z
2022-03-01T07:20:37.000Z
library/LayoutEmbedding/VirtualVertexAttribute.hh
jsb/LayoutEmbedding
6ef02ed0043dfabce6d593486358d6ef15cbf3ba
[ "MIT" ]
null
null
null
library/LayoutEmbedding/VirtualVertexAttribute.hh
jsb/LayoutEmbedding
6ef02ed0043dfabce6d593486358d6ef15cbf3ba
[ "MIT" ]
5
2021-02-17T14:52:42.000Z
2021-10-05T09:51:25.000Z
#pragma once #include <LayoutEmbedding/VirtualVertex.hh> #include <polymesh/pm.hh> namespace LayoutEmbedding { template <typename T> struct VirtualVertexAttribute { pm::vertex_attribute<T> v_a; pm::edge_attribute<T> e_a; VirtualVertexAttribute(const pm::Mesh& _m) : v_a(_m), e_a(_m) ...
16.454545
48
0.587477
jsb
fc5a41759760e78ae01f846d71b447b98fb3dce5
375
cpp
C++
c10/10.42.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
null
null
null
c10/10.42.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
null
null
null
c10/10.42.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
1
2020-05-30T04:30:16.000Z
2020-05-30T04:30:16.000Z
#include <iostream> #include <algorithm> #include <list> int main() { std::list<std::string> lst { "the", "quick", "red", "fox", "jumps", "over", "the", "slow", "red", "turtle" }; //sort lst.sort(); //uniqie lst.unique(); //print for( auto const & val : lst ) { std::cout << val << " " << std::flush; }...
15.625
110
0.541333
sarthak-gupta-sg
fc5b3be22422c3d0c0352f39b487e1196342b6c2
567
cpp
C++
BZOJ/3725/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3725/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/3725/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #define rep(i,x,y) for(int i=(x);i<=(y);++i) #define per(i,x,y) for(int i=(x);i>=(y);--i) using std::max; using std::min; const int N=1e6+10,inf=1e9; int n; char s[N]; bool check(int k){ char lstc='*'; int lstp=-inf; rep(i,1,n)if(s[i]!='*'){ int l=max(1,i-n+k),...
17.71875
44
0.567901
sjj118
fc5d525707ccf05e4c6f3dc473a0059a48ad98b6
2,335
hh
C++
tests/unit/CXXTests/testNodeIterators.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/CXXTests/testNodeIterators.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/CXXTests/testNodeIterators.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//------------------------------------------------------------------------------ // testNodeIterators // A collection of test functions for the node iterators. // // Created by JMO, Thu Mar 25 14:21:41 2004 //------------------------------------------------------------------------------ #ifndef __Spheral_testNodeIterat...
37.063492
80
0.421413
jmikeowen
fc667cb415c5924d057c19bbd1c09e6d8f699914
758
cpp
C++
libvast/src/data/integer.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
249
2019-08-26T01:44:45.000Z
2022-03-26T14:12:32.000Z
libvast/src/data/integer.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
586
2019-08-06T13:10:36.000Z
2022-03-31T08:31:00.000Z
libvast/src/data/integer.cpp
satta/vast
6c7587effd4265c4a5de23252bc7c7af3ef78bee
[ "BSD-3-Clause" ]
37
2019-08-16T02:01:14.000Z
2022-02-21T16:13:59.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/data/integer.hpp" namespace vast { inte...
23.6875
57
0.638522
lava
fc67d8570879f9bd7ecc4a369c5cba896e75e59f
4,779
cpp
C++
cocos2dx_playground/Classes/step_clickclick_game_Stage.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2020-06-11T17:09:44.000Z
2021-12-25T00:34:33.000Z
cocos2dx_playground/Classes/step_clickclick_game_Stage.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2019-12-21T15:01:01.000Z
2020-12-05T15:42:43.000Z
cocos2dx_playground/Classes/step_clickclick_game_Stage.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
1
2020-09-07T01:32:16.000Z
2020-09-07T01:32:16.000Z
#include "step_clickclick_game_Stage.h" #include <algorithm> #include <cassert> #include <chrono> #include <new> #include <random> #include "cpg_Random.h" namespace { #if defined( DEBUG ) || defined( _DEBUG ) #define CHECK_ODD_NUMBER( number ) ( assert( 1 == ( ( number ) & 1 ) ) ) #define CHECK_SIZE( pivot, numbe...
23.312195
124
0.628793
R2Road
fc696135fa2874796da836a3194c730c0d99186b
756
cc
C++
src/file/Filename.cc
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/file/Filename.cc
sdsnatcher73/openMSX
6de09386ff674668325ddf700b0b16334ad1d2ef
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/file/Filename.cc
imulilla/openMSX_TSXadv
afffe852f73cb5f9a1f1d60f0ab9ff9a4da98c31
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#include "Filename.hh" #include "MSXException.hh" #include "serialize.hh" #include <cassert> namespace openmsx { void Filename::updateAfterLoadState() { if (empty()) return; if (FileOperations::exists(resolvedFilename)) return; try { resolvedFilename = FileOperations::getAbsolutePath( userFileContext().resol...
21
59
0.723545
sdsnatcher73
fc6b697c6c6cbeb71b6a78fb5b7b5f5a556cfea5
6,187
cpp
C++
XDKSamples/System/FrontPanelDolphin/Dolphin.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
298
2019-05-09T20:54:35.000Z
2022-03-31T20:10:51.000Z
XDKSamples/System/FrontPanelDolphin/Dolphin.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
14
2019-07-07T15:25:15.000Z
2022-02-05T02:44:29.000Z
XDKSamples/System/FrontPanelDolphin/Dolphin.cpp
ComputeWorks/Xbox-ATG-Samples
6b88d6a03cf1efae7007a928713896863ec04ca5
[ "MIT" ]
137
2019-05-07T20:58:34.000Z
2022-03-30T08:01:34.000Z
//-------------------------------------------------------------------------------------- // Dolphin.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pch.h" #inc...
41.246667
147
0.659609
ComputeWorks
fc6d43f448b7a2c064e3971807a8361df4da8fef
2,176
hpp
C++
csvlib/csv/parser.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
1
2020-01-20T16:07:12.000Z
2020-01-20T16:07:12.000Z
csvlib/csv/parser.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
null
null
null
csvlib/csv/parser.hpp
dagronf/csvlib
790f48b7bc9d361508ea4b3fc3e9a2c962da0a47
[ "MIT" ]
null
null
null
// // CSVParser.hpp // // Created by Darren Ford on 7/10/18. // Copyright © 2018 Darren Ford. All rights reserved. // // MIT license // // 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 w...
31.085714
120
0.725643
dagronf
fc7154833556969122eefefac7127319098a7a97
7,549
cpp
C++
Unreal2D/Plugins/UE2D/Source/UE2D/Private/Rendering/UE2DSpriteAtlasRenderProxy.cpp
dominiquefaure/UE2D
3d853ed072d0fa40cbf70de56caef53e04aa9d41
[ "MIT" ]
null
null
null
Unreal2D/Plugins/UE2D/Source/UE2D/Private/Rendering/UE2DSpriteAtlasRenderProxy.cpp
dominiquefaure/UE2D
3d853ed072d0fa40cbf70de56caef53e04aa9d41
[ "MIT" ]
null
null
null
Unreal2D/Plugins/UE2D/Source/UE2D/Private/Rendering/UE2DSpriteAtlasRenderProxy.cpp
dominiquefaure/UE2D
3d853ed072d0fa40cbf70de56caef53e04aa9d41
[ "MIT" ]
null
null
null
#include "UE2DSpriteAtlasRenderProxy.h" #include "UE2DSpriteDrawRecord.h" //------------------------------------------------------------------------------------------------ FUE2DSpriteAtlasRenderSceneProxy::FUE2DSpriteAtlasRenderSceneProxy( const UUE2DSpriteAtlasComponent* InComponent , uint32 InMaxSpriteNum ): FPrim...
38.712821
201
0.610942
dominiquefaure
fc74bcac02f750ba02266a8783c14b7b376d3cc7
1,175
cpp
C++
Libraries/Meta/Object.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Meta/Object.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Meta/Object.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { // @TrevorS: Move this to be filled out automatically in my binding! BoundType* ObjectBindingVirtualTypeFn(const byte* memory) { const Object* object = (const Object*)memory; return object->ZilchGetDerivedType(); } ZilchDefineType(Objec...
22.169811
71
0.72766
RyanTylerRae
fc76cdf84adb4d62bcfcc91580878d68cb7c9b23
682
cpp
C++
cumulative_sum/abc122_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
cumulative_sum/abc122_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
cumulative_sum/abc122_c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; // 'C'が右隣にあるような'A'の個数 // "TTACTTTA|C"のような「右端の'A'の右隣に'C'がある」というような'A'を除外する /* 参考リンク ABC 122 C - GeT AC https://atcoder.jp/contests/abc122/tasks/abc122_c */ int ma...
17.947368
56
0.472141
Takumi1122
fc81c088aaf11772e5449746a6cbe2052a5f8660
802
cpp
C++
src/main.cpp
ToruNiina/cortex
a4933b81290bef547843ffda0a411e442ebee116
[ "MIT" ]
null
null
null
src/main.cpp
ToruNiina/cortex
a4933b81290bef547843ffda0a411e442ebee116
[ "MIT" ]
null
null
null
src/main.cpp
ToruNiina/cortex
a4933b81290bef547843ffda0a411e442ebee116
[ "MIT" ]
null
null
null
#include "cortex/cortex.hpp" #include <fstream> int main(int argc, char **argv) { if(argc == 1) { cortex::Cortex ctx; ctx.run(); } else if(argc == 2) { const std::string filename(argv[1]); std::ifstream ifs(filename); if(!ifs.good()) { std...
21.105263
70
0.46384
ToruNiina
fc84bac51dcd60f0039ecea8c642016c9e9d690a
11,499
cpp
C++
src/Terrain.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
1
2016-05-17T03:36:52.000Z
2016-05-17T03:36:52.000Z
src/Terrain.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
src/Terrain.cpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Material.h" #include "FileFuncs.h" #include "Mesh.h" #include "PhysicsEngine.h" #include "devil_wrapper.h" #include "ActionQueueRenderInstance.h" #include "GrassLayer.h" #include "TreeLayer.h" #include "Terrain.h" #include "RenderMethodTags.h" dReal heightfieldCallback(void *_...
31.941667
89
0.592573
foxostro
fc88ea60224551b9c812c5e80ae7fe240ac57d69
2,536
cpp
C++
simulator/dht.cpp
tovarchristian21/Medical-Health-Records-usign-Blockchain-in-a-P2P-Network
b7d04635a92b73192c0abbb085e9ad27854c520c
[ "MIT" ]
null
null
null
simulator/dht.cpp
tovarchristian21/Medical-Health-Records-usign-Blockchain-in-a-P2P-Network
b7d04635a92b73192c0abbb085e9ad27854c520c
[ "MIT" ]
null
null
null
simulator/dht.cpp
tovarchristian21/Medical-Health-Records-usign-Blockchain-in-a-P2P-Network
b7d04635a92b73192c0abbb085e9ad27854c520c
[ "MIT" ]
null
null
null
#include "dht.h" Node::Node(int guid) { guid_m=guid; known_m=GNULL; predecessor_m=this;//(Node*)&guid_m; successor_m=nullptr; } void Node::info() { cout<<"✺ Node: "<<guid_m<<endl; if(predecessor_m) cout<<" Predecessor: "<<predecess...
24.384615
133
0.49724
tovarchristian21
fc8aa3d06a79bccf2c5d7706297ba48e9d895126
4,016
ipp
C++
implement/oglplus/enums/stencil_operation_class.ipp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
459
2016-03-16T04:11:37.000Z
2022-03-31T08:05:21.000Z
implement/oglplus/enums/stencil_operation_class.ipp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
2
2016-08-08T18:26:27.000Z
2017-05-08T23:42:22.000Z
implement/oglplus/enums/stencil_operation_class.ipp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
47
2016-05-31T15:55:52.000Z
2022-03-28T14:49:40.000Z
// File implement/oglplus/enums/stencil_operation_class.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/stencil_operation.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2015 Matus Chochlik. // Distributed under the Boost Sof...
21.136842
68
0.722361
Extrunder
475fca554a27ce4827df6b0a9c4bd135f6dec188
7,787
cpp
C++
src/plugins/imagefilter_addnoise/filter.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
6
2015-05-07T18:44:34.000Z
2018-12-12T15:57:40.000Z
src/plugins/imagefilter_addnoise/filter.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
null
null
null
src/plugins/imagefilter_addnoise/filter.cpp
deiflou/ibp
9728f7569b59aa261dcaffc8332a1b02c2cd5fbe
[ "MIT" ]
2
2021-03-22T10:01:32.000Z
2021-12-20T05:23:46.000Z
// // MIT License // // Copyright (c) Deif Lou // // 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, me...
31.654472
106
0.598176
deiflou
47632bc98adf6613167c7027a1847ff6a8ca7de3
2,325
cpp
C++
iRODS/lib/api/src/rcDataObjRead.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/src/rcDataObjRead.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/src/rcDataObjRead.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/** * @file rcDataObjRead.c * */ /*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* This is script-generated code. */ /* See dataObjRead.h for a description of this API call.*/ #include "dataObjRead.hpp...
29.807692
79
0.672258
PlantandFoodResearch
4767f06e147d7b2389e90234127a83724dea0118
35,290
cc
C++
tensorflow/core/protobuf/tensor_bundle.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
tensorflow/core/protobuf/tensor_bundle.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
2
2021-08-25T15:57:35.000Z
2022-02-10T01:09:32.000Z
tensorflow/core/protobuf/tensor_bundle.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/tensor_bundle.proto #include "tensorflow/core/protobuf/tensor_bundle.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format...
40.563218
251
0.749674
1250281649
476cfa4140ebcde57181d9eed890dc82870d6084
3,207
cpp
C++
src/gui/backends/sdl_ems/sdl2_backend.cpp
xhighway999/xhfr
532864ed0d0531fbd8af38d4b0cf206dc5d0a138
[ "MIT" ]
2
2021-03-23T05:21:34.000Z
2021-07-27T08:28:08.000Z
src/gui/backends/sdl_ems/sdl2_backend.cpp
xhighway999/xhfr
532864ed0d0531fbd8af38d4b0cf206dc5d0a138
[ "MIT" ]
null
null
null
src/gui/backends/sdl_ems/sdl2_backend.cpp
xhighway999/xhfr
532864ed0d0531fbd8af38d4b0cf206dc5d0a138
[ "MIT" ]
1
2021-05-31T12:01:03.000Z
2021-05-31T12:01:03.000Z
#include "sdl2_backend.hpp" namespace xhfr { bool done = false; SDL_Window* g_Window = NULL; SDL_GLContext g_GLContext = NULL; ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); const char* glsl_version = "#version 100"; bool backend_init(const char* appName, int w, int h) { // Setup SDL if (SDL_...
30.254717
80
0.704708
xhighway999
477017c758c87a9cead1d82b4358d805bb47f1dc
1,858
cpp
C++
libutil/cText.cpp
7-wolf/cc3172
f64b1af87e088ad8a8c0c3fd952c0abbf9346e49
[ "MIT" ]
1
2019-11-22T19:43:29.000Z
2019-11-22T19:43:29.000Z
libutil/cText.cpp
7-wolf/cc3172
f64b1af87e088ad8a8c0c3fd952c0abbf9346e49
[ "MIT" ]
null
null
null
libutil/cText.cpp
7-wolf/cc3172
f64b1af87e088ad8a8c0c3fd952c0abbf9346e49
[ "MIT" ]
3
2019-12-25T01:43:35.000Z
2020-02-26T09:59:47.000Z
#include "cText.h" #include "_ccu.h" cText* cText::create(int width /* = 0 */) { CREATE(cText, eFont::normal, width); } bool cText::init(eFont e, int width) { if (!ui::RichText::init()) { return false; } _efnt = e; ignoreContentAdaptWithSize(false); setFontSize((int)e); setFontFace(ccu::cArial); _index = w...
22.938272
136
0.656082
7-wolf
47742cd4d7dda469dd762f79c2658eb7da746fdd
3,708
hh
C++
src/ECS/Join.hh
JonathanIlk/Tropical-Island-Laser-Battle
1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed
[ "MIT" ]
1
2022-03-25T11:18:41.000Z
2022-03-25T11:18:41.000Z
src/ECS/Join.hh
JonathanIlk/Tropical-Island-Laser-Battle
1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed
[ "MIT" ]
null
null
null
src/ECS/Join.hh
JonathanIlk/Tropical-Island-Laser-Battle
1dd7d2ce95a7b003f8cc87b2bf4bac27e026a9ed
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #pragma once #include <cassert> #include <map> #include <tuple> #include <vector> #include <ECS.hh> namespace ECS { template<typename ...T> struct JoinIter; template<> struct JoinIter<> { using result = std::tuple<entity>; entity id; JoinIter(entity start = 0) : id{start}...
30.393443
111
0.556365
JonathanIlk
47746f613d4e7b9fa266b6d0c0c9c800bad65ece
3,597
cpp
C++
src/dialogue_state.cpp
rcabot/codscape
5619b40d7857066818c8409d3db4371d3c8f758c
[ "Unlicense" ]
null
null
null
src/dialogue_state.cpp
rcabot/codscape
5619b40d7857066818c8409d3db4371d3c8f758c
[ "Unlicense" ]
null
null
null
src/dialogue_state.cpp
rcabot/codscape
5619b40d7857066818c8409d3db4371d3c8f758c
[ "Unlicense" ]
null
null
null
#include "dialogue_state.hpp" #include "registry.hpp" #include <sstream> dialogue_state::~dialogue_state() { } void dialogue_state::advance() { if(options_.size() > 0) return; bool pause_execution = false; do { current_line_index_++; const node& current_node{nodes_[curre...
27.669231
143
0.598276
rcabot
4776f12a51488d28d4d5d0020b5a8c3fe39401bb
322
cpp
C++
src/main.cpp
theShmoo/aoc2020
b507c33b5ca47e0c73bd5c6b4ec9d2f087598028
[ "Unlicense" ]
null
null
null
src/main.cpp
theShmoo/aoc2020
b507c33b5ca47e0c73bd5c6b4ec9d2f087598028
[ "Unlicense" ]
null
null
null
src/main.cpp
theShmoo/aoc2020
b507c33b5ca47e0c73bd5c6b4ec9d2f087598028
[ "Unlicense" ]
null
null
null
#include "days.hpp" static constexpr days::day current_day = days::day::day_13; auto main([[maybe_unused]] int argc, [[maybe_unused]] const char **argv) -> int { spdlog::info("Advent of Code 2020"); days::solve_problem<current_day, days::part::part_1>(); days::solve_problem<current_day, days::part::part_2>(); ...
26.833333
79
0.698758
theShmoo
47787f452f036c8a6a41612d5303d73b179824e3
678
cc
C++
chapter4/read_distances.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
chapter4/read_distances.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
chapter4/read_distances.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
#include "external/ppp2code/file/std_lib_facilities.h" #include <limits> int main() { vector<double> distances; for (double x; cin >> x;) { distances.push_back(x); } if (distances.empty()) return 0; double sum {}; double shortest = numeric_limits<double>::max(); double longest = numeric_limits<d...
20.545455
56
0.603245
homuler
477b2584967b0369f69eb20a929b4bf05d2d2a5e
301
cpp
C++
E_6_fattoriale.cpp
Blackcat12/Informatica_3
80a538c1613d3a9c89d9dda6c39053aa3d596086
[ "MIT" ]
null
null
null
E_6_fattoriale.cpp
Blackcat12/Informatica_3
80a538c1613d3a9c89d9dda6c39053aa3d596086
[ "MIT" ]
null
null
null
E_6_fattoriale.cpp
Blackcat12/Informatica_3
80a538c1613d3a9c89d9dda6c39053aa3d596086
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> #include<math.h> /*Diego Gattari 3INA 30/12/2016 programma:media ver 1.0 */ main () { int n; int i; int fatt; scanf("%d", &n); for(i=1;n>=i;i=i+1){ fatt=n*(n-1); n--; } printf("il fattoriale e' %d \n",fatt); }
14.333333
43
0.501661
Blackcat12
477bc8cc305b55da5239a815f09634d8c58bdd47
137
cpp
C++
ch2/useHello.cpp
Cc19245/slambook_mylearn
7c589a80706d4268bf5d661a4f0f12890ec490bc
[ "MIT" ]
5,684
2016-06-27T14:00:02.000Z
2022-03-31T07:42:00.000Z
ch2/useHello.cpp
Cc19245/slambook_mylearn
7c589a80706d4268bf5d661a4f0f12890ec490bc
[ "MIT" ]
265
2016-11-08T09:00:19.000Z
2022-03-24T12:46:39.000Z
ch2/useHello.cpp
Cc19245/slambook_mylearn
7c589a80706d4268bf5d661a4f0f12890ec490bc
[ "MIT" ]
3,243
2016-07-26T12:36:15.000Z
2022-03-30T20:48:41.000Z
#include "libHelloSLAM.h" // 使用 libHelloSLAM.h 中的 printHello() 函数 int main( int argc, char** argv ) { printHello(); return 0; }
15.222222
39
0.642336
Cc19245
477c443eada63ad5b0bd048124c477a277c312ab
1,459
cpp
C++
Plugins/LeapMotion/Source/LeapMotion/Private/LeapSwipeGesture.cpp
benmadany/PaintSpace
0e32a14416f35573928d2a49670d2eefa241aab6
[ "MIT" ]
15
2016-07-24T22:57:30.000Z
2020-06-30T17:48:10.000Z
Plugins/LeapMotion/Source/LeapMotion/Private/LeapSwipeGesture.cpp
sleepfrontofmtv/leap-ue4
6eb2263dd379484235a5c78d3246050b5a2f5a3b
[ "MIT" ]
1
2017-03-30T13:41:21.000Z
2017-04-02T20:23:32.000Z
Plugins/LeapMotion/Source/LeapMotion/Private/LeapSwipeGesture.cpp
sleepfrontofmtv/leap-ue4
6eb2263dd379484235a5c78d3246050b5a2f5a3b
[ "MIT" ]
7
2016-03-25T02:31:37.000Z
2020-06-30T17:48:19.000Z
#include "LeapMotionPrivatePCH.h" #include "LeapSwipeGesture.h" class PrivateSwipeGesture { public: ~PrivateSwipeGesture() { if (!cleanupCalled) Cleanup(); } void Cleanup() { if (pointable) pointable->CleanupRootReferences(); cleanupCalled = true; } bool cleanupCalled = false; Leap::SwipeGesture ge...
23.15873
126
0.762166
benmadany
477d8ac4bfb8d6a9f7944a89fa4c374186fd8cf7
1,891
hpp
C++
src/Resources/ImageLoader.hpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
src/Resources/ImageLoader.hpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
src/Resources/ImageLoader.hpp
LazyFalcon/GameConcept-v1
e0259d683bb711921d068924de1aa1c30c00db4d
[ "MIT" ]
null
null
null
#pragma once struct ImageData { ImageData() = default; ImageData(ImageData&&) = default; enum Datatype { Bitmap, U16, I16, U32, I32, Float }; u32 ID; u32 width; u32 height; u32 numOfChannels; u32 channels; u32 channelSize; u32 bitDepth; // image depth in bytes: 1,...
23.6375
113
0.665785
LazyFalcon
47822190fba1551a6cebe3742b3a8d47c35cbeeb
497
cpp
C++
main.cpp
SJ-magic-study/study__fopen_in_terminal
e0169a9c3db1736a5a0ed9d097ae65510602b5f6
[ "MIT" ]
null
null
null
main.cpp
SJ-magic-study/study__fopen_in_terminal
e0169a9c3db1736a5a0ed9d097ae65510602b5f6
[ "MIT" ]
null
null
null
main.cpp
SJ-magic-study/study__fopen_in_terminal
e0169a9c3db1736a5a0ed9d097ae65510602b5f6
[ "MIT" ]
null
null
null
/************************************************************ ************************************************************/ #include <stdio.h> /************************************************************ ************************************************************/ int main() { FILE* fp = NULL; // fp = fopen("../da...
20.708333
61
0.273642
SJ-magic-study
47909447fdbdbec397cb33621e6d0796a78115d1
3,081
cpp
C++
ut/source/test_ck_blob_tree.cpp
dicroce/cppkit
dc64dacacc54665b079836a1bc7d8fb028616ffe
[ "BSD-2-Clause-FreeBSD" ]
12
2015-03-27T21:29:02.000Z
2016-11-26T23:43:52.000Z
ut/source/test_ck_blob_tree.cpp
dicroce/cppkit
dc64dacacc54665b079836a1bc7d8fb028616ffe
[ "BSD-2-Clause-FreeBSD" ]
1
2017-01-18T00:32:12.000Z
2017-01-18T00:32:12.000Z
ut/source/test_ck_blob_tree.cpp
dicroce/cppkit
dc64dacacc54665b079836a1bc7d8fb028616ffe
[ "BSD-2-Clause-FreeBSD" ]
6
2015-02-08T13:10:27.000Z
2017-01-18T00:24:47.000Z
#include "test_ck_blob_tree.h" #include "cppkit/ck_uuid_utils.h" #include "cppkit/ck_blob_tree.h" #include "cppkit/ck_sha_256.h" using namespace std; using namespace cppkit; REGISTER_TEST_FIXTURE(test_ck_blob_tree); void test_ck_blob_tree::setup() { } void test_ck_blob_tree::teardown() { } string hasher(const uin...
29.912621
77
0.633561
dicroce
479262ed5dbf969194d9a1c5c08249f67b957b6e
229
cpp
C++
Source/CPP_20/Module/Module_4_SubModuleImpl.cpp
AllveGit/CPP_20_Training
c3785d07e741ed23d3ea78fa13f70e0da092cdec
[ "MIT" ]
null
null
null
Source/CPP_20/Module/Module_4_SubModuleImpl.cpp
AllveGit/CPP_20_Training
c3785d07e741ed23d3ea78fa13f70e0da092cdec
[ "MIT" ]
null
null
null
Source/CPP_20/Module/Module_4_SubModuleImpl.cpp
AllveGit/CPP_20_Training
c3785d07e741ed23d3ea78fa13f70e0da092cdec
[ "MIT" ]
null
null
null
// Implementation Unit module Module_4_SubModuleImpl; const char* GetImplPart1Str() { return "I'm SubModule Implementation Unit Part 1!"; } const char* GetImplPart2Str() { return "I'm SubModule Implementation Unit Part 2!"; }
19.083333
52
0.759825
AllveGit
4792b6ed8aebf7dc5fac219f2e3340480e63ce53
1,364
cpp
C++
leetcode/143.leetcode.2.cpp
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:49.000Z
2021-01-08T06:57:49.000Z
leetcode/143.leetcode.2.cpp
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
null
null
null
leetcode/143.leetcode.2.cpp
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:52.000Z
2021-01-08T06:57:52.000Z
/** 143. Reorder List https://leetcode.com/problems/reorder-list/ official solution **/ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *ne...
25.259259
64
0.507331
jianershi
4792ede425df041299bf1fb2e0e53742d253f946
1,002
cpp
C++
honours_project/components/cmp_sprite.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
honours_project/components/cmp_sprite.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
honours_project/components/cmp_sprite.cpp
alexbarker/soc10101_honours_project
c29c10f0e5d7bed50819c948f841dd97e7d68809
[ "MIT" ]
null
null
null
#include "cmp_sprite.h" #include "system_renderer.h" // SOC10101 - Honours Project (40 Credits) // Snake Prototype 3 // Version 0.x.x // Alexander Barker // 40333139 // Last Updated on 17th November 2018 // xxx.cpp - XXX. using namespace std; SpriteComponent::SpriteComponent(Entity* p) : Component(p), _sprite(...
26.368421
67
0.718563
alexbarker
479771b2e315c1b4d187b698701a17b424e15889
702
cpp
C++
ChristmasLightsController/manipulation/RandomWalk.cpp
FreeApophis/arduino-christmas-lights
b4de586a64f4b8ea540dc664839d87e6ca683986
[ "MIT" ]
null
null
null
ChristmasLightsController/manipulation/RandomWalk.cpp
FreeApophis/arduino-christmas-lights
b4de586a64f4b8ea540dc664839d87e6ca683986
[ "MIT" ]
1
2020-03-11T07:26:59.000Z
2020-03-11T07:26:59.000Z
ChristmasLightsController/manipulation/RandomWalk.cpp
FreeApophis/arduino-christmas-lights
b4de586a64f4b8ea540dc664839d87e6ca683986
[ "MIT" ]
null
null
null
#include "RandomWalk.h" auto RandomWalk(const uint8_t val, const uint8_t maxVal, const uint8_t changeAmount, const uint8_t directions) -> uint8_t { const unsigned char direction = random(directions) == 0; // direction of random walk if (direction == 0) { // decrease val by changeAmount down to a min of...
28.08
121
0.574074
FreeApophis
479b94ea145c36cd15432ceb99024b0707e05e84
4,581
cpp
C++
Graphs/Tree/CentroidDecomp.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
Graphs/Tree/CentroidDecomp.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
Graphs/Tree/CentroidDecomp.cpp
NhatMinh0208/CP-Library
4d174b01a569106d2d7ad0fa5e3594175e97de31
[ "MIT" ]
null
null
null
/* Normie's implementation of centroid decomposition. This particular version solves a variant of 613D where you are asked to find the longest path crossing each node instead. */ // Standard library in one include. #include <bits/stdc++.h> using namespace std; // ordered_set library. #include <ext/pb_ds/assoc_conta...
19.576923
153
0.608601
NhatMinh0208
47a0106aa17f667170e6dff3a599a6fd90c2cbb8
1,709
cpp
C++
src/lib/libmute8/test/CoreAudio/testcoreaudiodevice.cpp
pezcode/mute8
a5510f9849341e3cb4fce82a67c7c2c6c3d53d49
[ "ISC" ]
1
2019-03-05T11:59:05.000Z
2019-03-05T11:59:05.000Z
src/lib/libmute8/test/CoreAudio/testcoreaudiodevice.cpp
pezcode/mute8
a5510f9849341e3cb4fce82a67c7c2c6c3d53d49
[ "ISC" ]
null
null
null
src/lib/libmute8/test/CoreAudio/testcoreaudiodevice.cpp
pezcode/mute8
a5510f9849341e3cb4fce82a67c7c2c6c3d53d49
[ "ISC" ]
2
2019-03-05T11:59:06.000Z
2019-04-15T14:14:06.000Z
#include "testcoreaudiodevice.h" #include <impl/CoreAudio/deviceenumerator.h> #include <impl/CoreAudio/audiodevice.h> #include <algorithm> // copy_if #include <stdexcept> using namespace mute8; void TestCoreAudioDevice::initTestCase() { CoreDeviceEnumerator enumerator; enumerator.populate(); if(enumerato...
28.966102
190
0.685196
pezcode
47a045c11105e7691ad1120146f7949e71a2929a
4,819
hpp
C++
src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/ControlEventHandler.hpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/ControlEventHandler.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/ControlEventHandler.hpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
/// @file /// @brief Contains Switch::System::Windows::Forms::ControlEventHandler event handler. #pragma once #include <Switch/System/EventHandler.hpp> #include "ControlEventArgs.hpp" /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @...
66.013699
383
0.665076
victor-timoshin
47ae6d1a3e70ae36ad4345737c5b1091f8a04154
4,311
cpp
C++
Calculus/tv_auto_on_off/voxel-sdk/libvoxel/Voxel/Filter/TemporalMedianFilter.cpp
3dtof/DemoApplications
0eb35d76a72b3972d5c3eeea36274697c0ad82b3
[ "BSD-3-Clause" ]
14
2016-04-01T23:51:04.000Z
2022-03-19T04:02:43.000Z
Voxel/Filter/TemporalMedianFilter.cpp
Metrilus/voxelsdk
751641a08285c4a31e68491df8887f79e71d34d2
[ "BSD-3-Clause" ]
14
2016-05-31T05:16:52.000Z
2019-07-04T02:48:31.000Z
Voxel/Filter/TemporalMedianFilter.cpp
Metrilus/voxelsdk
751641a08285c4a31e68491df8887f79e71d34d2
[ "BSD-3-Clause" ]
14
2016-04-27T22:57:16.000Z
2022-03-29T03:48:42.000Z
#include "TemporalMedianFilter.h" #include <utility> namespace Voxel { TemporalMedianFilter::TemporalMedianFilter(uint order, float deadband): Filter("TemporalMedianFilter"), _order(order), _deadband(deadband) { _addParameters({ FilterParameterPtr(new UnsignedFilterParameter("order", "Order", "Order of th...
25.814371
139
0.609371
3dtof
47b04c38c428721bd6518f6a9b4db1aaa6f93997
10,908
cpp
C++
hazelcast/src/hazelcast/client/cluster.cpp
RikeVoltz/hazelcast-cpp-client
8bf2c22aba474503f8b49d5d6e80af072dbf4cf6
[ "Apache-2.0" ]
78
2015-10-23T13:50:12.000Z
2021-12-17T11:22:58.000Z
hazelcast/src/hazelcast/client/cluster.cpp
RikeVoltz/hazelcast-cpp-client
8bf2c22aba474503f8b49d5d6e80af072dbf4cf6
[ "Apache-2.0" ]
949
2015-10-26T12:18:38.000Z
2022-03-31T15:49:08.000Z
hazelcast/src/hazelcast/client/cluster.cpp
RikeVoltz/hazelcast-cpp-client
8bf2c22aba474503f8b49d5d6e80af072dbf4cf6
[ "Apache-2.0" ]
49
2015-10-23T13:51:52.000Z
2021-09-01T00:26:45.000Z
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
39.956044
147
0.600293
RikeVoltz
47b2ba135a0afc0940f011658599cdfa54090037
294
cpp
C++
ch03/ex3_3_3.cpp
SASUKE40/primer
08c58aeee1673d006510f3e0ec8856d94002e793
[ "MIT" ]
null
null
null
ch03/ex3_3_3.cpp
SASUKE40/primer
08c58aeee1673d006510f3e0ec8856d94002e793
[ "MIT" ]
null
null
null
ch03/ex3_3_3.cpp
SASUKE40/primer
08c58aeee1673d006510f3e0ec8856d94002e793
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <vector> using std::string; using std::cin; using std::cout; using std::endl; using std::getline; using std::vector; int main() { vector<int> v{ 1,2,3,4,5,6,7,8,9 }; for (auto& i : v) i *= i; for (auto i : v) cout << i << endl; return 0; }
17.294118
36
0.615646
SASUKE40
47b3a130bbe55d0ef1ea387832e1496593a6f595
3,890
hpp
C++
include/fea/entity/entity.hpp
therocode/featherkit
8631c9acb0fef6c5039783173ef173ec9488f53b
[ "Zlib" ]
22
2015-01-13T10:49:38.000Z
2020-12-23T15:25:59.000Z
include/fea/entity/entity.hpp
therocode/featherkit
8631c9acb0fef6c5039783173ef173ec9488f53b
[ "Zlib" ]
27
2015-01-11T03:47:27.000Z
2015-12-10T17:52:17.000Z
include/fea/entity/entity.hpp
therocode/featherkit
8631c9acb0fef6c5039783173ef173ec9488f53b
[ "Zlib" ]
7
2015-09-18T15:06:45.000Z
2020-02-19T15:12:34.000Z
#pragma once #include <fea/config.hpp> #include <fea/entity/entitymanager.hpp> namespace fea { class FEA_API Entity { public: Entity(EntityId id, EntityManager& entityManager); template<class DataType> const DataType& getAttribute(const std::string& attribute) const;...
44.712644
326
0.658355
therocode
47c12a8ba723985e4e2df1422e0203994be08463
6,011
cpp
C++
Shader.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
Shader.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
Shader.cpp
andkrau/nuance
32b9d6b9257c6c51944727456fce2e7caf074182
[ "W3C" ]
null
null
null
#include <stdio.h> #include "Shader.h" void ShaderProgram::ShaderProgram() { hProgramObject = 0; hVertexShaderObject = 0; hFragmentShaderObject = 0; bVertexShaderObjectAttached = false; bFragmentShaderObjectAttached = false; } void ShaderProgram::~ShaderProgram() { Uninitalize(); } bool ...
20.515358
126
0.659957
andkrau
47c15683474f85d1f2d5cca51d4a3518b0e872d8
2,253
cpp
C++
Test/pcap/pcapTest.cpp
diridari/PCAPStreamMerge
8aba6f1cf0db48d02bd0bf3cf24fedf44ee569a2
[ "MIT" ]
1
2019-01-22T01:53:10.000Z
2019-01-22T01:53:10.000Z
Test/pcap/pcapTest.cpp
diridari/PCAPStreamMerge
8aba6f1cf0db48d02bd0bf3cf24fedf44ee569a2
[ "MIT" ]
null
null
null
Test/pcap/pcapTest.cpp
diridari/PCAPStreamMerge
8aba6f1cf0db48d02bd0bf3cf24fedf44ee569a2
[ "MIT" ]
null
null
null
// // Created by basto on 9/3/17. // #include "../gtest/gtest.h" #include "../../include/IO/Writer/PCAPWriter.h" #include "../../include/PCAP.h" #include "../../include/LinuxEncalsulation.h" int8_t pcapF3[] = {0x16, (char) 0xEF, (char) 0xC4, 0x4A, (char) 0xB3, 0x45, 0x09, 0x00, 0x04, 0, 0, 0, 0x04, 0, 0, 0, ...
25.602273
117
0.580115
diridari
47c586907b436753b39b3c2dac01b3547cc593f4
9,503
cpp
C++
src/Layers/SandboxLayer.cpp
xubury/OpenGLApp
60d199351ec0406b372dd0aeaaea0a5b1664a327
[ "BSD-3-Clause" ]
2
2021-06-27T12:52:57.000Z
2021-08-24T21:25:57.000Z
src/Layers/SandboxLayer.cpp
xubury/OpenGLApp
60d199351ec0406b372dd0aeaaea0a5b1664a327
[ "BSD-3-Clause" ]
null
null
null
src/Layers/SandboxLayer.cpp
xubury/OpenGLApp
60d199351ec0406b372dd0aeaaea0a5b1664a327
[ "BSD-3-Clause" ]
null
null
null
#include "Layers/SandboxLayer.hpp" #include "Apps/Application.hpp" #include "Component/BoundingBox.hpp" #include "Component/Light.hpp" #include "Component/ShadowMap.hpp" #include "Entity/ModelEntity.hpp" #include "Entity/Cube.hpp" #include "Entity/Sphere.hpp" #include "Physics/PhysicsWorld.hpp" #include "Physics/Rigidb...
40.266949
80
0.606756
xubury
47cb6d533597db346b27e62416fe36ef5371ce17
253
hpp
C++
include/3dstris/util/hash.hpp
3DStris/3DStris
a99be7997a0bdb351260aad720a79059bc09258d
[ "MIT" ]
28
2019-11-16T22:16:57.000Z
2022-01-02T02:32:10.000Z
include/3dstris/util/hash.hpp
weblate/3DStris
8f3ac84110c39200df91032338951ca66347d78c
[ "MIT" ]
47
2020-01-07T18:35:03.000Z
2021-02-14T16:21:12.000Z
include/3dstris/util/hash.hpp
weblate/3DStris
8f3ac84110c39200df91032338951ca66347d78c
[ "MIT" ]
6
2019-11-16T15:24:14.000Z
2021-05-09T02:33:55.000Z
#pragma once #include <3dstris/util/string.hpp> struct StringHash { using is_transparent = void; size_t operator()(StringView v) const; }; struct StringEq { using is_transparent = void; bool operator()(StringView lhs, StringView rhs) const; };
15.8125
55
0.735178
3DStris
47cb984d3ccca39891776f8bcf6c989b6977ff3d
1,259
cpp
C++
CityRenderingEngine/engine/rendering/Frustum.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
2
2021-03-13T13:33:25.000Z
2021-03-13T14:19:18.000Z
CityRenderingEngine/engine/rendering/Frustum.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
1
2020-05-23T05:48:01.000Z
2020-05-24T08:36:06.000Z
CityRenderingEngine/engine/rendering/Frustum.cpp
roooodcastro/city-rendering-engine
eb0f2f948ab509baf7f5e08ec05f6eb510805eac
[ "MIT" ]
1
2021-03-13T13:33:33.000Z
2021-03-13T13:33:33.000Z
#include "Frustum.h" Frustum::Frustum(const Matrix4 &mvp) { updateMatrix(mvp); } void Frustum::updateMatrix(const Matrix4 &mvp) { Vector3 xaxis = Vector3(mvp.values[0], mvp.values[4], mvp.values[8]); Vector3 yaxis = Vector3(mvp.values[1], mvp.values[5], mvp.values[9]); Vector3 zaxis = Vector3(mvp.valu...
37.029412
96
0.614774
roooodcastro
47d72998e96bcbf6a87956643cef4c0941e4fc6e
2,225
cc
C++
engine/gui/game/guiProgressCtrl.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/gui/game/guiProgressCtrl.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/gui/game/guiProgressCtrl.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "console/console.h" #include "console/consoleTypes.h" #include "dgl/dgl.h" #include "gui...
23.924731
137
0.633708
ClayHanson
c5188f624ffb8abdcbe322163a39d500dc24e299
3,041
inl
C++
SoftRP/TextureUnitImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
SoftRP/TextureUnitImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
SoftRP/TextureUnitImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
#ifndef SOFTRP_TEXTURE_UNIT_IMPL_INL_ #define SOFTRP_TEXTURE_UNIT_IMPL_INL_ #include "TextureUnit.h" #include "LinearSampler.h" #include "MipMapSampler.h" #include <stdexcept> namespace SoftRP { inline void TextureUnit::setTexture(Texture2D<Math::Vector4>* texture) { m_texture = texture; } inline void TextureUni...
34.556818
138
0.759619
loreStefani
c51e324bdc303e1d8b0cd566ccdf5a3569e45d13
2,909
cpp
C++
inkbox/Source/Tests.cpp
bassicali/inkbox
dad235c55dd3e68d67b7d3d9de5481125da14339
[ "MIT" ]
6
2021-06-24T05:43:28.000Z
2022-02-12T03:08:27.000Z
inkbox/Source/Tests.cpp
bassicali/inkbox
dad235c55dd3e68d67b7d3d9de5481125da14339
[ "MIT" ]
null
null
null
inkbox/Source/Tests.cpp
bassicali/inkbox
dad235c55dd3e68d67b7d3d9de5481125da14339
[ "MIT" ]
2
2021-02-23T07:08:04.000Z
2021-11-29T10:56:29.000Z
#include "Tests.h" #include "Utils.h" #include <glm/mat3x3.hpp> #include <glm/mat4x4.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/rotate_vector.hpp> #include <glm/geometric.hpp> using namespace glm; using namespace utils; TestManager& TestManager::Get() { static TestManager mgr; ...
23.459677
89
0.580268
bassicali
c520ba6afb849109bebde24ccbfda74f4759f697
3,145
cpp
C++
XRVessels/DeltaGliderXR1/XR1Lib/XR1AreasLEDs.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
10
2021-08-20T05:49:10.000Z
2022-01-07T13:00:20.000Z
XRVessels/DeltaGliderXR1/XR1Lib/XR1AreasLEDs.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
null
null
null
XRVessels/DeltaGliderXR1/XR1Lib/XR1AreasLEDs.cpp
dbeachy1/XRVessels
8dd2d879886154de2f31fa75393d8a6ac56a2089
[ "MIT" ]
4
2021-09-11T12:08:01.000Z
2022-02-09T00:16:19.000Z
/** XR Vessel add-ons for OpenOrbiter Space Flight Simulator Copyright (C) 2006-2021 Douglas Beachy This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any...
34.944444
166
0.687122
dbeachy1
c522a265311c032438ca7895d47e6a3516a16376
1,503
cpp
C++
1139_First_Contant/1139_First_Contant/1139_First_Contant.cpp
Iluvata/PAT-Advanced-Level-Practice
08a02e82eef30c81ed9ef8e4f327f7b2a9535582
[ "MIT" ]
2
2020-10-17T12:26:42.000Z
2021-11-12T08:47:10.000Z
1139_First_Contant/1139_First_Contant/1139_First_Contant.cpp
Iluvata/PAT-Advanced-Level-Practice
08a02e82eef30c81ed9ef8e4f327f7b2a9535582
[ "MIT" ]
1
2020-10-19T11:31:55.000Z
2020-10-19T11:31:55.000Z
1139_First_Contant/1139_First_Contant/1139_First_Contant.cpp
Iluvata/PAT-Advanced-Level-Practice
08a02e82eef30c81ed9ef8e4f327f7b2a9535582
[ "MIT" ]
1
2020-10-18T01:08:34.000Z
2020-10-18T01:08:34.000Z
// 1139_First_Contant.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include "pch.h" #include <iostream> #include <vector> #include <map> #include <string> #include <algorithm> #include <set> using namespace std; struct Contact { int f1, f2; }; bool cmp(Contact &c1, Contact &c2) { if (c1.f1 == c2.f1) { return c1.f2 ...
18.7875
82
0.519627
Iluvata
c523a449ce0a69524ec2148cf31f4339c21c2b94
1,483
cpp
C++
IndieLib/tests/unittests/Image.cpp
DarthMike/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
29
2015-03-05T08:11:23.000Z
2020-11-11T08:27:22.000Z
IndieLib/tests/unittests/Image.cpp
PowerOlive/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
1
2019-04-03T18:59:01.000Z
2019-04-14T11:46:45.000Z
IndieLib/tests/unittests/Image.cpp
PowerOlive/indielib-crossplatform
473a589ae050b6d1c274cf58adf08731e63ae870
[ "Zlib" ]
9
2015-03-05T08:17:10.000Z
2021-08-09T07:15:37.000Z
/*********************************** The zlib License ************************************ * * Copyright (c) 2013 Indielib-crossplatform Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the...
30.895833
91
0.62913
DarthMike
c526ded1cca2abdfba58f3b175b460c90cb4b007
2,188
cpp
C++
3030ccom/lab4.cpp
rnegron/university-projects
fb7aa7335176543c4c1c952f3acce714378a02e1
[ "MIT" ]
null
null
null
3030ccom/lab4.cpp
rnegron/university-projects
fb7aa7335176543c4c1c952f3acce714378a02e1
[ "MIT" ]
null
null
null
3030ccom/lab4.cpp
rnegron/university-projects
fb7aa7335176543c4c1c952f3acce714378a02e1
[ "MIT" ]
null
null
null
/* Raul Negron Otero 801-13-xxxx Programa: lab4.cpp Este programa le pide al usuario un numero 1 o 2. Luego le pide un valor en grados. Dependiendo de la seleccion entre 1 y 2, convierte el valor en grados a celsius o farenheit. Utiliza dos funciones separadas para cada conversion. Variables: * celsius = tipo ...
45.583333
115
0.728062
rnegron
c52f280838fae108720b482e2df75af63c0f4467
1,091
cpp
C++
src/test/storage/value_column_test.cpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
src/test/storage/value_column_test.cpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
src/test/storage/value_column_test.cpp
lawben/DYOD_WS1718_Sprint1
3b70ac6603fe108cfe76cc81fed763c5d3c7cd84
[ "MIT" ]
null
null
null
#include <limits> #include <string> #include <vector> #include "../base_test.hpp" #include "gtest/gtest.h" #include "../lib/storage/value_column.hpp" namespace opossum { class StorageValueColumnTest : public BaseTest { protected: ValueColumn<int> vc_int; ValueColumn<std::string> vc_str; ValueColumn<double> v...
21.392157
57
0.713107
lawben
c52fb59b42f696a683791f2258ccabdfbf9af07a
1,534
hh
C++
Sources/AGEngine/Render/Pipelining/Pipelines/CustomPipeline/DeferredShading.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Pipelining/Pipelines/CustomPipeline/DeferredShading.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Pipelining/Pipelines/CustomPipeline/DeferredShading.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once #include <Utils/Debug.hpp> #include <Utils/OpenGL.hh> #include <Render/Pipelining/Pipelines/ARenderingPipeline.hh> #include <glm/glm.hpp> #include <Render/Textures/Texture2D.hh> #include <memory> namespace AGE { class DeferredMerging; class DeferredSkyBox; class DeferredShading : public ARenderingP...
31.306122
106
0.782269
Another-Game-Engine
c5329fbe6573c0b574be5cb2bb91079955035caf
591
hpp
C++
rmvmath/matrix/matrix4x2/func/TMatrix4x2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/matrix/matrix4x2/func/TMatrix4x2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/matrix/matrix4x2/func/TMatrix4x2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 1/7/16. // #ifndef RMVECTORMATH_TMATRIX4X2_FUNC_HPP #define RMVECTORMATH_TMATRIX4X2_FUNC_HPP #include "../TMatrix4x2_def.hpp" #include "../../matrix2x4/TMatrix2x4_def.hpp" namespace rmmath { namespace matrix { template<typename T> inline TMatrix2x4 <T> tra...
19.064516
66
0.593909
vitali-kurlovich
c536d8a37743db581ee41898f91d77e0e7a2309e
524
hpp
C++
src/arithmetic/extractor/vector.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
2
2016-06-01T14:44:21.000Z
2018-05-04T11:55:02.000Z
src/arithmetic/extractor/vector.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
1
2021-03-21T11:36:18.000Z
2021-03-21T14:49:17.000Z
src/arithmetic/extractor/vector.hpp
r3c/tesca
e5ea2f4f2c4a35c47f38468a89f2f05038fb18d8
[ "MIT" ]
null
null
null
#ifndef __TESCA_ARITHMETIC_EXTRACTOR_VECTOR_HPP #define __TESCA_ARITHMETIC_EXTRACTOR_VECTOR_HPP #include <vector> #include "../../../lib/glay/src/glay.hpp" #include "../extractor.hpp" namespace Tesca { namespace Arithmetic { class VectorExtractor : public Extractor { public: VectorExtractor (const std::...
18.068966
59
0.719466
r3c
c5380cd0add5ca294fa44caca233b6948593b912
1,266
hpp
C++
unit_tests/inputRe_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
1
2020-06-28T20:40:57.000Z
2020-06-28T20:40:57.000Z
unit_tests/inputRe_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
null
null
null
unit_tests/inputRe_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
1
2021-04-02T21:47:58.000Z
2021-04-02T21:47:58.000Z
#ifndef INPUTRE_TESTS #define INPUTRE_TESTS #include <fstream> #include "gtest/gtest.h" #include "../header/InputRe_op.hpp" #include "../header/Cmnd.hpp" TEST(InputRedirectionTestSet,inputCapital) { ofstream output; output.open("out.txt"); output <<"Professor Brian Crites" <<endl; output.close(); Cmnd* l =new ...
19.476923
59
0.620853
Sdc97
c53ae3ada5a4c3bc10654356d20291d3302f6540
28,282
inl
C++
include/visionaray/math/simd/detail/builtin/float16.inl
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
null
null
null
include/visionaray/math/simd/detail/builtin/float16.inl
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
null
null
null
include/visionaray/math/simd/detail/builtin/float16.inl
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
null
null
null
// This file is distributed under the MIT license. // See the LICENSE file for details. #include "../../../detail/math.h" namespace MATH_NAMESPACE { namespace simd { //------------------------------------------------------------------------------------------------- // float16 members // MATH_FUNC VSNRAY_FORCE_INLIN...
29.801897
99
0.43579
tjachmann
c542593328bf5f9d58bde8a4bea8c602c6fc718f
2,568
cpp
C++
src/tests/ThreadSyncConceptTest/ThreadSyncConceptTest.cpp
ADDubovik/StateReportable
07132939e5ce5b38037e611c6dc5231566294b79
[ "MIT" ]
1
2022-02-13T11:42:50.000Z
2022-02-13T11:42:50.000Z
src/tests/ThreadSyncConceptTest/ThreadSyncConceptTest.cpp
ADDubovik/StateReportable
07132939e5ce5b38037e611c6dc5231566294b79
[ "MIT" ]
null
null
null
src/tests/ThreadSyncConceptTest/ThreadSyncConceptTest.cpp
ADDubovik/StateReportable
07132939e5ce5b38037e611c6dc5231566294b79
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> // Tests a concept of synchonizing messages transfer from a lot of reporter threads // to a signle collector thread #include "core/VectorHelpers.h" #include <atomic> #include <future> #include <thread> #include <mutex> #include <vector> #include <algorithm> #include <iostream> #include <se...
22.526316
106
0.679907
ADDubovik
c542d1a6d6fdf5a002653c05c8e76f680e472d24
196
cpp
C++
Hacks/antiafkkick.cpp
manigamer22/nagahook-priv-src
8dfe6a603fae1251312ca75e0a196c865eed72e8
[ "Unlicense" ]
1
2020-02-20T16:50:09.000Z
2020-02-20T16:50:09.000Z
Hacks/antiafkkick.cpp
officialquake/nagahook-priv-src
0e6928f7a7d7089f81bcac1065c7d7a86766e970
[ "Unlicense" ]
null
null
null
Hacks/antiafkkick.cpp
officialquake/nagahook-priv-src
0e6928f7a7d7089f81bcac1065c7d7a86766e970
[ "Unlicense" ]
2
2019-12-26T15:14:30.000Z
2019-12-28T01:26:25.000Z
#include "antiafkkick.hpp" CAfk* afk = new CAfk(); void CAfk::afkkick(CUserCmd* cmd) { if (vars.visuals.antiafkkick && cmd->command_number % 2){ cmd->buttons |= 1 << 26; } }
13.066667
61
0.591837
manigamer22
c546bc997d45aef452bcb43c163776b485c07242
22,965
cpp
C++
ui-qt/ToolLib/Logic/LogicCondJump/CondJumpWidget.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
1
2017-12-28T08:08:02.000Z
2017-12-28T08:08:02.000Z
ui-qt/ToolLib/Logic/LogicCondJump/CondJumpWidget.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
null
null
null
ui-qt/ToolLib/Logic/LogicCondJump/CondJumpWidget.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
3
2017-12-28T08:08:05.000Z
2021-11-12T07:59:13.000Z
#include <QDebug> #include "CondJumpWidget.h" #include "ui_CondJumpWidget.h" #include <QMessageBox> #include "LinkDataGlobal.h" #include "CondJumpListItem.h" CondJumpWidget::CondJumpWidget(QWidget *parent) : QWidget(parent), ui(new Ui::CondJumpWidget) { m_ok_io = 1; m_ng_io = 2; ui->setupUi(this); ...
29.367008
186
0.634357
qianyongjun123
c546f82fdc7c55ef0e4c500cc08a7525f4134c13
1,474
cpp
C++
UEPrototype/Source/UEPrototype/Private/Tool/ToolModuleManager.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
UEPrototype/Source/UEPrototype/Private/Tool/ToolModuleManager.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
UEPrototype/Source/UEPrototype/Private/Tool/ToolModuleManager.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Tool/ToolModuleManager.h" #include "UEPrototype.h" #include "VPFrameworkLibrary.h" #include "UObjectIterator.h" #include "Tool/ToolKit.h" #include "Tool/ToolManager.h" UToolModuleManager::UToolModuleManager() { // DEBUG VP_C...
20.191781
93
0.710991
Jaeguins
c54a7a8ce9afe45d3d08dd9484fb7d2a6bc77f98
2,219
cpp
C++
Leetcode Daily Challenge/October-2020/21. Asteroid Collision.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Leetcode Daily Challenge/October-2020/21. Asteroid Collision.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Leetcode Daily Challenge/October-2020/21. Asteroid Collision.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Asteroid Collision ================== We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the s...
23.606383
216
0.581794
Akshad7829
c54caa28b642a5dbfa51678971f68e0b0abcb6c5
20,062
cpp
C++
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialClassInfoManager.cpp
Bowbee/GDKPrebuilt
420b3fa19fdc36755a43e655c057b5624264407a
[ "MIT" ]
363
2018-07-30T12:57:42.000Z
2022-03-25T14:30:28.000Z
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialClassInfoManager.cpp
Bowbee/GDKPrebuilt
420b3fa19fdc36755a43e655c057b5624264407a
[ "MIT" ]
1,634
2018-07-30T14:30:25.000Z
2022-03-03T01:55:15.000Z
SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialClassInfoManager.cpp
Bowbee/GDKPrebuilt
420b3fa19fdc36755a43e655c057b5624264407a
[ "MIT" ]
153
2018-07-31T13:45:02.000Z
2022-03-03T05:20:24.000Z
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #include "Interop/SpatialClassInfoManager.h" #include "AssetRegistryModule.h" #include "Engine/BlueprintGeneratedClass.h" #include "Engine/Engine.h" #include "GameFramework/Actor.h" #include "Misc/MessageDialog.h" #include "Runtime/Launch/Resources/Version.h...
33.051071
274
0.78053
Bowbee
c54e33846ba8b0c9de804d1272eac0afc7165ed7
2,309
cpp
C++
src/NetComponent.cpp
ustisha/ArduinoNet
1aca2b7e60e6035851ba446a123e9a3175fe9d8c
[ "MIT" ]
null
null
null
src/NetComponent.cpp
ustisha/ArduinoNet
1aca2b7e60e6035851ba446a123e9a3175fe9d8c
[ "MIT" ]
null
null
null
src/NetComponent.cpp
ustisha/ArduinoNet
1aca2b7e60e6035851ba446a123e9a3175fe9d8c
[ "MIT" ]
null
null
null
#include "../include/NetComponent.h" NetComponent::NetComponent(SmartNet *n, uint8_t sp, uint8_t max) : sport(sp), i(0), maxCmp(max), ...
33.463768
118
0.535297
ustisha
c54e3e441f094e8870973a721cb53765de2cfe52
793
hpp
C++
include/RED4ext/Types/generated/game/data/SimpleValueNode.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/data/SimpleValueNode.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/data/SimpleValueNode.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/SimpleTypes.hpp> #include <RED4ext/Types/generated/game/data/SimpleValueNodeValueType.hpp> #include <RED4ext/Types/generated/game/data/ValueDat...
28.321429
73
0.742749
Cyberpunk-Extended-Development-Team
c54f1cb28753638b457914b2b2a653e2cb2ed961
6,072
hpp
C++
include/codegen/include/UnityEngine/ParticleSystem_MainModule.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/ParticleSystem_MainModule.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/ParticleSystem_MainModule.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:33 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: UnityEngine.Particle...
61.959184
157
0.783597
Futuremappermydud
c550c83eae675be960d46a2ca7e1702591d13d7a
2,563
hpp
C++
src/gui/cwidgets/libtree.hpp
mscatto/ocelot
6ca57f7611178dd289314a45745c041f7de2f7fd
[ "MIT" ]
1
2021-04-29T22:27:11.000Z
2021-04-29T22:27:11.000Z
src/gui/cwidgets/libtree.hpp
mscatto/ocelot
6ca57f7611178dd289314a45745c041f7de2f7fd
[ "MIT" ]
null
null
null
src/gui/cwidgets/libtree.hpp
mscatto/ocelot
6ca57f7611178dd289314a45745c041f7de2f7fd
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * Copyright (c) 2018 Matheus Scattolin Anselmo * * 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 ...
29.45977
100
0.752243
mscatto
c556d68652b59cb6596b9630343f986e03789fbb
1,181
hpp
C++
src/framework/mtb/pal/gpio-mtb.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
39
2019-01-08T23:35:11.000Z
2022-03-13T23:43:04.000Z
src/framework/mtb/pal/gpio-mtb.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
16
2018-11-18T19:19:41.000Z
2022-02-14T14:09:37.000Z
src/framework/mtb/pal/gpio-mtb.hpp
OlafFilies/magnetic-angle-sensor
87618e9df29ab278e2af5eea7d9120769e197f9f
[ "MIT" ]
21
2019-01-18T01:32:47.000Z
2022-02-19T15:51:08.000Z
/** * @file gpio-mtb.hpp * @brief MTB PAL for the GPIO * @date Spt 2020 * @copyright Copyright (c) 2019-2020 Infineon Technologies AG * * SPDX-License-Identifier: MIT */ #ifndef GPIO_MTB_HPP_ #define GPIO_MTB_HPP_ #include "../../../config/tle5012-conf.hpp" #if (TLE5012_FRAMEWORK == TLE...
23.156863
93
0.545301
OlafFilies