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
16b538d7bc2bfcff14150772eeaec4fb5fbade5e
40,145
cpp
C++
TCP_with_Security/server/server.cpp
CaiGwatkin/CPP_PublicKeyEncryptedTCP
c78fba13fb46371db8c5da0c0cfcc9bfb0f33dfe
[ "MIT" ]
null
null
null
TCP_with_Security/server/server.cpp
CaiGwatkin/CPP_PublicKeyEncryptedTCP
c78fba13fb46371db8c5da0c0cfcc9bfb0f33dfe
[ "MIT" ]
null
null
null
TCP_with_Security/server/server.cpp
CaiGwatkin/CPP_PublicKeyEncryptedTCP
c78fba13fb46371db8c5da0c0cfcc9bfb0f33dfe
[ "MIT" ]
null
null
null
#include "server.h" enum { KEY_E, KEY_D, KEY_N }; // Used to access values in key arrays. /** * The main function, handles everything. */ int main(int argc, char *argv[]) { cout << "<<< TCP (CROSS-PLATFORM, IPv6-ready) SERVER, by Cai and Steve >>>" << end...
66.245875
172
0.413526
CaiGwatkin
16b55cc8c69d15ceea37a31a1d9ebe19d433d7fd
352
cpp
C++
PlanetDemo/PlanetMain.cpp
sereslorant/planet_gen
63f6b8ce42e3c7fb57d0d616dca9a20722c46dd6
[ "MIT" ]
null
null
null
PlanetDemo/PlanetMain.cpp
sereslorant/planet_gen
63f6b8ce42e3c7fb57d0d616dca9a20722c46dd6
[ "MIT" ]
null
null
null
PlanetDemo/PlanetMain.cpp
sereslorant/planet_gen
63f6b8ce42e3c7fb57d0d616dca9a20722c46dd6
[ "MIT" ]
null
null
null
#include <DemoFramework/SDL2DemoFramework.h> #include <DemoFramework/Camera3D.h> #include <PlanetDemo/Demo/PlanetDemo/PlanetDemo.h> int main(int argc,char *argv[]) { Camera3D *camera = new Camera3D; SDL2DemoFramework DemoFramework(800,600,nullptr,camera); DemoFramework.SetDemo(new PlanetDemo(*camera)); DemoF...
19.555556
57
0.761364
sereslorant
16b8e744f77ad1f2dd876e027a840fd56a9b86c3
1,743
hpp
C++
src/web-server.hpp
errorcode4319/SXC-HTTP-Server
29e33c5059151498cc3cdf109cb20a16d3956ff5
[ "MIT" ]
null
null
null
src/web-server.hpp
errorcode4319/SXC-HTTP-Server
29e33c5059151498cc3cdf109cb20a16d3956ff5
[ "MIT" ]
null
null
null
src/web-server.hpp
errorcode4319/SXC-HTTP-Server
29e33c5059151498cc3cdf109cb20a16d3956ff5
[ "MIT" ]
1
2021-11-29T03:48:23.000Z
2021-11-29T03:48:23.000Z
#ifndef _WEB_SERVER_HPP #define _WEB_SERVER_HPP #include "http-router.hpp" #include <memory> #include <set> using namespace http; class WebServer { public: WebServer(std::string_view ip = "0.0.0.0", uint16_t port = 8080) : WebServer(8, ip, port){} WebServer(int maxWorker, std::string_view ip, uint16_t p...
31.690909
110
0.598967
errorcode4319
16bab548562aca07ac73c98f5c4ac3d473d90136
7,574
hpp
C++
InputOutput/ReadSubfindHDF5.hpp
dnelson86/sublink
b5ef5938868f7f1095b564f1e529675cfab44f85
[ "BSD-3-Clause" ]
1
2022-01-20T22:24:12.000Z
2022-01-20T22:24:12.000Z
InputOutput/ReadSubfindHDF5.hpp
dnelson86/sublink
b5ef5938868f7f1095b564f1e529675cfab44f85
[ "BSD-3-Clause" ]
null
null
null
InputOutput/ReadSubfindHDF5.hpp
dnelson86/sublink
b5ef5938868f7f1095b564f1e529675cfab44f85
[ "BSD-3-Clause" ]
null
null
null
#pragma once /** @file ReadSubfindHDF5.hpp * @brief Utilities to read Subfind HDF5 snapshot files. * * @author Vicente Rodriguez-Gomez (v.rodriguez@irya.unam.mx) */ #include <iostream> #include <vector> #include <string> #include <sstream> #include <iomanip> // setfill, setw, setprecision #include <cassert> #inc...
33.662222
95
0.666227
dnelson86
16bbe59f02f6220ffd9d2fd10ad4288e0c8d8f5c
23,639
cpp
C++
src/app/DeviceManager.cpp
Kuranes/KickstartRT_demo
6de7453ca42e46db180f8bead7ba23f9e8936b69
[ "MIT" ]
83
2021-07-19T13:55:33.000Z
2022-03-29T16:00:57.000Z
src/app/DeviceManager.cpp
Kuranes/KickstartRT_demo
6de7453ca42e46db180f8bead7ba23f9e8936b69
[ "MIT" ]
2
2021-11-04T06:41:28.000Z
2021-11-30T08:25:28.000Z
src/app/DeviceManager.cpp
Kuranes/KickstartRT_demo
6de7453ca42e46db180f8bead7ba23f9e8936b69
[ "MIT" ]
10
2021-07-19T15:03:58.000Z
2022-01-10T07:15:35.000Z
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * 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,...
29.809584
115
0.682009
Kuranes
16c52a71d360e1389589486ddab2303b378dadb4
323
hpp
C++
tests/timer.hpp
niklasnson/taste
e897a30c3a73a3cd0f8cccbf78f95594b4be303a
[ "MIT" ]
null
null
null
tests/timer.hpp
niklasnson/taste
e897a30c3a73a3cd0f8cccbf78f95594b4be303a
[ "MIT" ]
2
2018-04-23T12:57:46.000Z
2018-05-10T08:57:26.000Z
tests/timer.hpp
niklasnson/taste
e897a30c3a73a3cd0f8cccbf78f95594b4be303a
[ "MIT" ]
1
2018-04-09T11:24:39.000Z
2018-04-09T11:24:39.000Z
#ifndef TIMER_HPP #define TIMER_HPP #include <chrono> /*! * \brief A timer class where done() will return true if the timer has "gone * off". */ class Timer { public: Timer(double max_seconds); bool done(); private: std::chrono::high_resolution_clock::time_point start; double max; }; #endif /* TIMER_HPP ...
16.15
76
0.690402
niklasnson
16cd8f7fe8671fd3957e1a2f42af4785355b2db6
11,720
cpp
C++
src/SeasonManager.cpp
powerof3/SeasonsOfSkyrim
6a35bf36e6c1d808eea6a77a485eb267e0b36236
[ "MIT" ]
6
2022-01-25T04:15:38.000Z
2022-03-04T13:02:30.000Z
src/SeasonManager.cpp
powerof3/SeasonsOfSkyrim
6a35bf36e6c1d808eea6a77a485eb267e0b36236
[ "MIT" ]
null
null
null
src/SeasonManager.cpp
powerof3/SeasonsOfSkyrim
6a35bf36e6c1d808eea6a77a485eb267e0b36236
[ "MIT" ]
4
2022-01-25T04:15:42.000Z
2022-03-14T02:53:59.000Z
#include "SeasonManager.h" Season* SeasonManager::GetSeasonImpl(SEASON a_season) { switch (a_season) { case SEASON::kWinter: return &winter; case SEASON::kSpring: return &spring; case SEASON::kSummer: return &summer; case SEASON::kAutumn: return &autumn; default: return nullptr; } } Season* SeasonMan...
25.871965
184
0.715273
powerof3
16d1daee76c9036372e1de10c7bfa48ed291a21e
8,397
hpp
C++
library/include/lvgl/Chart.hpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
1
2022-01-03T19:16:58.000Z
2022-01-03T19:16:58.000Z
library/include/lvgl/Chart.hpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
null
null
null
library/include/lvgl/Chart.hpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
null
null
null
#ifndef LVGLAPI_LVGL_CHART_HPP #define LVGLAPI_LVGL_CHART_HPP #include <var/View.hpp> #include "Bar.hpp" #include "Color.hpp" #include "ObjectAccess.hpp" namespace lvgl { class Chart : public ObjectAccess<Chart> { template <typename Type> class Feature { public: Feature() = default; Feature(lv_obj_t *o...
28.177852
99
0.669287
StratifyLabs
16d3cba255e39d4af337f5de8412bd0417c50944
12,454
cpp
C++
Expression.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
Expression.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
Expression.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
#include "NewBie_Lang.hpp" #include "NewBie.hpp" using namespace zyd2001::NewBie; using namespace std; //extern InterpreterImp *inter; //Value &InterpreterImp::evaluate(const Expression &e) //{ // switch (e.type) // { // case zyd2001::NewBie::LITERAL_EXPRESSION: // return e.get<LiteralExpress...
37.287425
135
0.457684
zyd2001
16dbd41d3d1277f44f8669e26b2953c3101373f1
880
cpp
C++
Algorithm_0001-0250/id0165_CompareVersion/code.cpp
Louis266/LeetCode
467a25ae2206d1c1e3ec52c155d3cb07395d5f95
[ "MIT" ]
null
null
null
Algorithm_0001-0250/id0165_CompareVersion/code.cpp
Louis266/LeetCode
467a25ae2206d1c1e3ec52c155d3cb07395d5f95
[ "MIT" ]
null
null
null
Algorithm_0001-0250/id0165_CompareVersion/code.cpp
Louis266/LeetCode
467a25ae2206d1c1e3ec52c155d3cb07395d5f95
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int compareVersion(string version1, string version2) { int len_1 = version1.size(); int len_2 = version2.size(); int i = 0; int j = 0; while (i < len_1 || j < len_2) { int num_1 = 0; int num_2 = 0; while (i < ...
17.6
53
0.435227
Louis266
16dc47a82baab9178e3d1984c08897c2ad298274
923
cpp
C++
src/textsnake/movingdirection.cpp
EFG-Game-Jams/GMTK2021
36829ec7f31240f08bac236cdec3340b309b1a0a
[ "MIT" ]
null
null
null
src/textsnake/movingdirection.cpp
EFG-Game-Jams/GMTK2021
36829ec7f31240f08bac236cdec3340b309b1a0a
[ "MIT" ]
null
null
null
src/textsnake/movingdirection.cpp
EFG-Game-Jams/GMTK2021
36829ec7f31240f08bac236cdec3340b309b1a0a
[ "MIT" ]
null
null
null
#include "movingdirection.hpp" #include <cassert> MovingDirection GetOppositeMovingDirection(MovingDirection d) { switch (d) { case MovingDirection::North: return MovingDirection::South; case MovingDirection::South: return MovingDirection::North; case MovingDirection::East: return MovingDire...
19.229167
69
0.734561
EFG-Game-Jams
16e0b0b0100f8ceeed81959d52f42e4d8e8c603a
2,473
cpp
C++
src/Tests/DEC.cpp
rhoem1/65co2
dd510f8f5afec4bbfee3f5d003e7dbeb3ca8fb1f
[ "BSD-2-Clause" ]
null
null
null
src/Tests/DEC.cpp
rhoem1/65co2
dd510f8f5afec4bbfee3f5d003e7dbeb3ca8fb1f
[ "BSD-2-Clause" ]
null
null
null
src/Tests/DEC.cpp
rhoem1/65co2
dd510f8f5afec4bbfee3f5d003e7dbeb3ca8fb1f
[ "BSD-2-Clause" ]
null
null
null
#include "gtest/gtest.h" #include "Cpu/65co2.h" #include "testcpu.h" TEST_F(CpuTest, INS_DEX) { X = randomByte(); code(SixtyFiveCeeOhTwo::INS_LDX_IM, X); executeCycles(2); code(SixtyFiveCeeOhTwo::INS_DEX); executeCycles(2); X = loByte(X - 1); expectFlagsForValue(X); expectRegisters(0, X, 0, 0xFD); ...
22.688073
56
0.691468
rhoem1
16e18fe5be0063b58ba359f03b0979a301a463b2
446
cc
C++
leetcode/cpp/anagrams.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/anagrams.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/cpp/anagrams.cc
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<string> anagrams(vector<string> &strs) { vector<string> ret; if (strs.empty()) return ret; unordered_map<string, vector<int>> table; for (int i = 0; i < strs.size(); i++) { string s = strs[i]; sort(s.begin(), s.end()); table[s].push_back(i); } for (const auto &i ...
20.272727
48
0.571749
haonancool
16e4a77b0667c98f8edc3155339806bf527a4474
301
cpp
C++
OpenDireEngine/src/Renderer/Renderer.cpp
RyanUph/OpenDireEngine
778b9f15216c0bad9c26ba2da033fd3379e96c40
[ "Apache-2.0" ]
1
2019-07-09T18:51:10.000Z
2019-07-09T18:51:10.000Z
OpenDireEngine/src/Renderer/Renderer.cpp
RyanUph/OpenDireEngine
778b9f15216c0bad9c26ba2da033fd3379e96c40
[ "Apache-2.0" ]
5
2019-07-09T18:58:16.000Z
2019-07-09T21:03:55.000Z
OpenDireEngine/src/Renderer/Renderer.cpp
RyanUph/OpenDireEngine
778b9f15216c0bad9c26ba2da033fd3379e96c40
[ "Apache-2.0" ]
null
null
null
#include "Renderer.h" void Renderer::Clear() const { glClear(GL_COLOR_BUFFER_BIT); } void Renderer::Draw(const VertexArray & va, const IndexBuffer & ib, const Shader & shader) const { shader.Bind(); va.Bind(); ib.Bind(); glDrawElements(GL_TRIANGLES, ib.GetCount(), GL_UNSIGNED_INT, nullptr); }
20.066667
96
0.724252
RyanUph
16e91a00fa992d214084fbf53fe86c0d244ba9db
12,169
cpp
C++
src/server/plugins/java/Pkcs12Util.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/plugins/java/Pkcs12Util.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/plugins/java/Pkcs12Util.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
26.628009
98
0.637768
jvirkki
16f2a8ff7b6f9d13130d2ac05a258839afbedf63
2,689
hpp
C++
src/PluginSegmentation/Steps/SubtractStep.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginSegmentation/Steps/SubtractStep.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginSegmentation/Steps/SubtractStep.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
36.835616
80
0.778728
voxie-viewer
16f4e4e74b45e0bed9c6e11d470f3f365ecb6a97
266
cpp
C++
Count-Without-spaces.cpp
rohan-0100010110010100/FrontEnd-ComplerDesign-Lab
dde0c8609982bf6aa209af600af781984fc0b621
[ "MIT" ]
null
null
null
Count-Without-spaces.cpp
rohan-0100010110010100/FrontEnd-ComplerDesign-Lab
dde0c8609982bf6aa209af600af781984fc0b621
[ "MIT" ]
null
null
null
Count-Without-spaces.cpp
rohan-0100010110010100/FrontEnd-ComplerDesign-Lab
dde0c8609982bf6aa209af600af781984fc0b621
[ "MIT" ]
2
2018-10-11T14:14:55.000Z
2020-02-27T10:28:59.000Z
#include <stdio.h> #include <conio.h> int main() { int nc=0,i; char c[90]; clrscr(); gets(c); for (i=0; c[i]!='\0'; ++i) { if(c[i]!=' ') ++nc; } printf ( "%d\n" ,nc); getch(); return 0; }
13.3
33
0.357143
rohan-0100010110010100
a844c655731af98590dd815662b7639482dccbf2
360
hpp
C++
tests/fixtures/WavyInWavy.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
tests/fixtures/WavyInWavy.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
tests/fixtures/WavyInWavy.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
1
2021-07-21T06:48:19.000Z
2021-07-21T06:48:19.000Z
// Copyright (c) 2020 Matthew J. Smith and Overkit contributors // License: MIT (http://opensource.org/licenses/MIT) #ifndef OVK_TESTS_FIXTURES_WAVY_IN_WAVY_HPP_LOADED #define OVK_TESTS_FIXTURES_WAVY_IN_WAVY_HPP_LOADED #include <overkit.hpp> namespace tests { ovk::domain WavyInWavy(int NumDims, ovk::comm_view Comm,...
22.5
84
0.791667
gyzhangqm
a844df71c5c4b63166e9ff573695ffa31e42167b
549
cpp
C++
example/less-than-1k/operation/blend/alpha3.cpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
example/less-than-1k/operation/blend/alpha3.cpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
example/less-than-1k/operation/blend/alpha3.cpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#include <iostream> #include <iomanip> #include "color/color.hpp" int main( int argc, char *argv[] ) { ::color::rgba<double> a, b; a = ::color::constant::orange_t{}; b = ::color::constant::lime_t{}; ::color::rgba<double> j; ::color::set::alpha( a, 0.5 ); ::color::set::alpha( b, 0.25 ); ...
21.115385
66
0.51184
ehtec
a846f6240947da20aead1783d78c20bfdea05dbe
748
hpp
C++
liero/menu/booleanSwitchBehavior.hpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
null
null
null
liero/menu/booleanSwitchBehavior.hpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
2
2015-02-11T09:43:33.000Z
2015-02-11T17:57:58.000Z
liero/menu/booleanSwitchBehavior.hpp
lauri-kaariainen/emscripten_openliero
ab3268237c7084e00f3bccb4442f0ad7762d8419
[ "BSD-2-Clause" ]
null
null
null
#ifndef UUID_0F083A4D564C4D79CA6387B1D0F1901E #define UUID_0F083A4D564C4D79CA6387B1D0F1901E #include "itemBehavior.hpp" #include <functional> struct Common; struct Menu; struct BooleanSwitchBehavior : ItemBehavior { BooleanSwitchBehavior(Common& common, bool& v) : common(common), v(v) , set([&](bool ...
21.371429
79
0.692513
lauri-kaariainen
a8485a6bb3a0d103583e3a4428217a7d5edc2041
8,351
cpp
C++
Source/AliveLibAE/MultiSwitchController.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
1
2021-04-11T23:44:43.000Z
2021-04-11T23:44:43.000Z
Source/AliveLibAE/MultiSwitchController.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
Source/AliveLibAE/MultiSwitchController.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MultiSwitchController.hpp" #include "Function.hpp" #include "Map.hpp" #include "Events.hpp" #include "SwitchStates.hpp" #include "Game.hpp" #include "stdlib.hpp" BaseGameObject* MultiSwitchController::VDestructor(signed int flags) { return vdtor_4D61A0(flags); } void MultiSwitchContr...
25.854489
106
0.623398
THEONLYDarkShadow
a849098789e9e25e93cc122e54c2186858122506
24,659
cpp
C++
Views/albaViewArbitrarySlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Views/albaViewArbitrarySlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Views/albaViewArbitrarySlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA Module: albaViewArbitrarySlice Authors: Eleonora Mambrini , Stefano Perticoni, Gianluigi Crimi Copyright (c) BIC All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is dist...
29.390942
144
0.637577
IOR-BIC
a84bc4d4e58120645f767a7b30d35ff0321ffecb
14,353
cc
C++
source/format/KBVector3.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2021-05-24T19:43:30.000Z
2022-01-06T21:03:23.000Z
source/format/KBVector3.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
4
2020-05-04T15:52:26.000Z
2021-09-13T10:51:03.000Z
source/format/KBVector3.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2020-06-14T10:53:58.000Z
2022-01-06T21:03:30.000Z
#include "KBGlobal.hh" #include "KBVector3.hh" #include "KBGeoLine.hh" #include <iostream> using namespace std; ClassImp(KBVector3) void KBVector3::Print(Option_t *option) const { TString opts = TString(option); Int_t rank = 0; if (opts.Index("r1")>=0) { rank = 1; opts.ReplaceAll("r1",""); } if (opts.Index(...
36.897172
106
0.619313
ggfdsa10
a8528206f3fa40e393df91e83d368592e9d537db
671
cpp
C++
YasEngine/Main.cpp
lukesawicki/YASEngine
fca4612bf25ccc622553babca1db281b13f6dd89
[ "MIT" ]
3
2021-01-27T06:17:26.000Z
2022-01-19T18:27:54.000Z
YasEngine/Main.cpp
lukesawicki/YASEngine
fca4612bf25ccc622553babca1db281b13f6dd89
[ "MIT" ]
null
null
null
YasEngine/Main.cpp
lukesawicki/YASEngine
fca4612bf25ccc622553babca1db281b13f6dd89
[ "MIT" ]
null
null
null
#include"stdafx.hpp" #include"Main.hpp" //-----------------------------------------------------------------------------|---------------------------------------| // Main function off windows application. Return int. 0 - there were not errors. !=0 there were errors. // hInstance handle to this application. hPrevInstanc...
37.277778
120
0.622951
lukesawicki
a8542b6be17b7a88cf617a230111ed2ae67a50ba
15,011
cpp
C++
src/core/cpu/kernels/CpuSoftmaxKernel.cpp
Ehsan-aghapour/AI-Sheduling-Reprodution
657dfa7c875445ab275c8a4418bbf29ed4d94891
[ "MIT" ]
1
2021-08-24T15:44:31.000Z
2021-08-24T15:44:31.000Z
src/core/cpu/kernels/CpuSoftmaxKernel.cpp
Ehsan-aghapour/AI-Sheduling-Reprodution
657dfa7c875445ab275c8a4418bbf29ed4d94891
[ "MIT" ]
1
2021-08-31T14:38:07.000Z
2022-02-16T16:34:13.000Z
src/core/cpu/kernels/CpuSoftmaxKernel.cpp
Ehsan-aghapour/AI-Sheduling-Reprodution
657dfa7c875445ab275c8a4418bbf29ed4d94891
[ "MIT" ]
1
2021-03-28T07:09:48.000Z
2021-03-28T07:09:48.000Z
/* * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
38.195929
180
0.720605
Ehsan-aghapour
a859c63976934ffa9046825eb7c64cc53f2f9508
985
hpp
C++
Option.hpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
Option.hpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
Option.hpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
#pragma once #ifndef Option_hpp #define Option_hpp #include "Payoff.h" #include "matrix.hpp" #include <vector> class VanillaOption { public: PayOff* pay_off; const double K = 0.0; const double r = 0.0; const double T = 0.0; const double sigma = 0.0; VanillaOption(const double& _K, const double& _r,...
20.957447
133
0.699492
FlorianSchirrer
a85d2188350ae1035e94c1d9221309dd38068efb
6,161
cpp
C++
cpp/tests/t/io/TriangleMeshIO.cpp
forrestjgq/Open3D
dcf94bd21943d943b54b402aed4e868da2687180
[ "MIT" ]
null
null
null
cpp/tests/t/io/TriangleMeshIO.cpp
forrestjgq/Open3D
dcf94bd21943d943b54b402aed4e868da2687180
[ "MIT" ]
null
null
null
cpp/tests/t/io/TriangleMeshIO.cpp
forrestjgq/Open3D
dcf94bd21943d943b54b402aed4e868da2687180
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
48.511811
80
0.563545
forrestjgq
a85d8df59a23efa53d060153efb80edf14b8143d
1,173
cpp
C++
Engine/Window.cpp
PranavBahuguna/3DEngine-v2
30853832409d1e0b4743f58c05e07b570c72a554
[ "MIT" ]
null
null
null
Engine/Window.cpp
PranavBahuguna/3DEngine-v2
30853832409d1e0b4743f58c05e07b570c72a554
[ "MIT" ]
11
2021-01-11T20:26:50.000Z
2021-02-02T19:44:32.000Z
Engine/Window.cpp
PranavBahuguna/3DEngine-v2
30853832409d1e0b4743f58c05e07b570c72a554
[ "MIT" ]
null
null
null
#include "Window.hpp" #include "Error.hpp" #include <stdexcept> Window::Window(const std::string &name, WindowMode wMode, int width, int height) : _name(name) { // Set window dimensions from screen if fullscreen is enabled GLFWmonitor *monitor = nullptr; if (wMode == WindowMode::FULLSCREEN || wMode ==...
33.514286
97
0.690537
PranavBahuguna
a85fb9c94e336866a627e49ca1310281d767f86c
2,258
cc
C++
src/http.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
src/http.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
src/http.cc
websms-com/websmscom-cpp
a9214bd7dcc02c0e058a345e353d7417597f77c9
[ "MIT" ]
null
null
null
/** * Copyright (C) 2012, sms.at mobile internet services gmbh * * @author Markus Opitz */ #include "http.h" #include <string> #include <vector> #include <curl/curl.h> #include <jansson.h> namespace { class CurlInitialization { public: CurlInitialization() { DBG("%s", "CURL", "global init"); curl_glo...
25.370787
119
0.658547
websms-com
a864817540f1771d1aa3c4e39e956dc2cd20b621
1,954
cpp
C++
Morphs/Importers/Utils/ImagingComponent/Source/Win/WindowsCommon.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
16
2020-01-09T13:36:46.000Z
2021-11-16T10:09:54.000Z
Morphs/Importers/Utils/ImagingComponent/Source/Win/WindowsCommon.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
30
2020-01-09T00:49:50.000Z
2020-07-14T18:21:52.000Z
Morphs/Importers/Utils/ImagingComponent/Source/Win/WindowsCommon.cpp
SergioRZMasson/BabylonPolymorph
9def147959dc6292a36f9a2b055edf1d58cb2851
[ "MIT" ]
10
2020-04-09T14:10:29.000Z
2022-03-18T09:18:40.000Z
/******************************************************** * * * Copyright (C) Microsoft. All rights reserved. * * * ********************************************************/ #include "WindowsCommon.h" #incl...
31.516129
119
0.551689
SergioRZMasson
a865d7a235a6341f78e311a9460792072a7cb35d
8,460
hpp
C++
src/AnimationInfo.hpp
AnimatedLEDStrip/client-cpp
b16ec6b638659d4af0c31c3767590dcfee0290b4
[ "MIT" ]
null
null
null
src/AnimationInfo.hpp
AnimatedLEDStrip/client-cpp
b16ec6b638659d4af0c31c3767590dcfee0290b4
[ "MIT" ]
null
null
null
src/AnimationInfo.hpp
AnimatedLEDStrip/client-cpp
b16ec6b638659d4af0c31c3767590dcfee0290b4
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019-2020 AnimatedLEDStrip * * 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,...
33.705179
108
0.605083
AnimatedLEDStrip
a8686f8339c62175b585606a3b6914a7889c91b8
7,056
cpp
C++
src/frameworks/av/media/libstagefright/codecs/amrnb/common/src/pow2.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
src/frameworks/av/media/libstagefright/codecs/amrnb/common/src/pow2.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
src/frameworks/av/media/libstagefright/codecs/amrnb/common/src/pow2.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
12
2020-04-15T11:37:33.000Z
2021-09-13T13:19:04.000Z
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
34.758621
89
0.439909
dAck2cC2
a86eda212c1705cffcb1bda3c677a653c0828f72
7,114
cpp
C++
src/kits/print/Jobs.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
2
2018-03-28T06:53:23.000Z
2021-05-26T19:35:01.000Z
src/kits/print/Jobs.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
src/kits/print/Jobs.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
/*****************************************************************************/ // Jobs // // Author // Michael Pfeiffer // // This application and all source files used in its construction, except // where noted, are licensed under the MIT License, and have been written // and are: // // Copyright (c) 2002 Haiku P...
26.744361
85
0.671633
Yn0ga
a86fb0c5aed930e1d50caa345bc1df3275d42a22
5,851
hpp
C++
external/Exiv2/include/exiv2/matroskavideo.hpp
cyberCBM/GroPho_Editor
265a992e7b94354e52c506cb95c764f4e34923c3
[ "MIT" ]
6
2016-10-04T10:12:11.000Z
2021-09-18T22:37:29.000Z
external/Exiv2/include/exiv2/matroskavideo.hpp
cyberCBM/GroPho_Editor
265a992e7b94354e52c506cb95c764f4e34923c3
[ "MIT" ]
null
null
null
external/Exiv2/include/exiv2/matroskavideo.hpp
cyberCBM/GroPho_Editor
265a992e7b94354e52c506cb95c764f4e34923c3
[ "MIT" ]
2
2018-05-20T08:32:40.000Z
2019-07-06T18:27:19.000Z
// ***************************************************************** -*- C++ -*- /* * Copyright (C) 2004-2013 Andreas Huggel <ahuggel@gmx.net> * * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public...
37.031646
88
0.579559
cyberCBM
a871f1512934a407ac82ba16650f8a44a0256239
2,146
cpp
C++
editor/model/actions/CreateGroupNodeAction.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
642
2017-12-10T14:22:04.000Z
2022-03-03T15:23:23.000Z
editor/model/actions/CreateGroupNodeAction.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
151
2017-12-21T02:08:45.000Z
2020-07-03T14:18:51.000Z
editor/model/actions/CreateGroupNodeAction.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
30
2018-09-11T14:06:31.000Z
2021-11-09T04:19:00.000Z
#include "CreateGroupNodeAction.h" #include "../ModelRoot.h" #include "../PoolOperators.h" #include "../objects/ControlSurface.h" #include "../objects/GroupNode.h" #include "../objects/GroupSurface.h" using namespace AxiomModel; CreateGroupNodeAction::CreateGroupNodeAction(const QUuid &uuid, const QUuid &parentUuid, ...
53.65
119
0.592731
remaininlight
a873a1855c205098d2617703730373cbfdb5c830
4,984
cpp
C++
tests/poa/excessive_object_deactivations/excessive_object_deactivations.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
null
null
null
tests/poa/excessive_object_deactivations/excessive_object_deactivations.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
null
null
null
tests/poa/excessive_object_deactivations/excessive_object_deactivations.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
null
null
null
/** * @file excessive_object_deactivations.cpp * @author Johnny Willemsen * * @brief Test object deactivation * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "testS.h" #include "testlib/taox11_testlog.h" #include "tao/x11/portable_server/portableserver_functions.h" int result {}; class t...
24.92
88
0.652889
ClausKlein
a8761b04976be34cbbbb6ac262f8f711691133df
808
hpp
C++
libs/core/include/fcppt/record/element_init_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/record/element_init_impl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/record/element_init_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_RECORD_ELEMENT_INIT_IMPL_HPP_INCLUDED #define FCPPT_RECORD_ELEMENT_INIT_IMPL_HPP_INCL...
28.857143
71
0.75495
freundlich
a876f54a7d4a1ec1e276d905bfe8ec1daa948e78
33,782
cpp
C++
extensions/csa/midend/parserConverter.cpp
pauladbol/obs-microp4
92e3b53c52c7ebf8787ce2f6a7f946c1b73546ad
[ "Apache-2.0" ]
22
2020-08-03T18:28:39.000Z
2021-09-27T00:25:26.000Z
extensions/csa/midend/parserConverter.cpp
pauladbol/obs-microp4
92e3b53c52c7ebf8787ce2f6a7f946c1b73546ad
[ "Apache-2.0" ]
null
null
null
extensions/csa/midend/parserConverter.cpp
pauladbol/obs-microp4
92e3b53c52c7ebf8787ce2f6a7f946c1b73546ad
[ "Apache-2.0" ]
5
2020-08-20T02:53:31.000Z
2021-04-13T23:43:12.000Z
/* * Author: Hardik Soni * Email: hks57@cornell.edu */ #include "parserConverter.h" #include "ir/ir.h" #include "frontends/p4/coreLibrary.h" #include "frontends/p4/parserCallGraph.h" #include <algorithm> #include <cmath> #include <list> #include <vector> #include <unordered_set> namespace CSA { const IR::Node* P...
43.815824
105
0.534397
pauladbol
a87966ff3e3c017b42b548376155750d146241e5
15,190
hxx
C++
Components/Metrics/PatternIntensity/itkPatternIntensityImageToImageMetric.hxx
miasongshu/elastix
6abfa5c8f044cbe6cf8aa86e462452ca8cc90ec3
[ "Apache-2.0" ]
318
2017-05-22T11:39:46.000Z
2022-03-27T04:40:13.000Z
Components/Metrics/PatternIntensity/itkPatternIntensityImageToImageMetric.hxx
lbgbox/elastix
a4981d7f0257a904855ee0440b35f783ded26215
[ "Apache-2.0" ]
358
2017-05-22T11:36:05.000Z
2022-03-18T15:49:10.000Z
Components/Metrics/PatternIntensity/itkPatternIntensityImageToImageMetric.hxx
lbgbox/elastix
a4981d7f0257a904855ee0440b35f783ded26215
[ "Apache-2.0" ]
102
2017-05-22T11:38:44.000Z
2021-12-23T20:27:51.000Z
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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 * * h...
34.759725
120
0.697103
miasongshu
a87c590c37fb897e5fd338db45c817699d96ad0d
759
cpp
C++
PETCS/Basic/mwc15c4p4.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Basic/mwc15c4p4.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Basic/mwc15c4p4.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MM = 1005; int N, A, B; vector<int> adj[MM]; bool vis[MM]; void dfs(int src) { vis[src] = true; for(auto &x : adj[src]) { if(!vis[src]) { dfs(src); } } } int main() { cin.sync_with_stdio(0); cin.tie(0...
20.513514
46
0.43083
dl4us
a87e218e314e61798a0dd61d77ef44d797869ee1
343
cpp
C++
contest/AtCoder/abc027/D.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc027/D.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc027/D.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "string.hpp" int main() { String s(in); int t = 0; Vector<int> v; for (char c : s) { if (c == '+') { ++t; } if (c == '-') { --t; } if (c == 'M') { v.emplace_back(t); } } v.sort(); for (int i = 0; i < v.size() / 2; ++i) { v[i] *= -1; } cout << v.a...
14.291667
42
0.364431
not522
a87f6027d9fe5dc2cf89df633d2b84b12a5712e8
3,373
hpp
C++
include/Assertions.hpp
WilliamClements/CppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
15
2018-10-08T00:44:45.000Z
2021-04-20T06:56:15.000Z
include/Assertions.hpp
WilliamClements/MacCppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
3
2018-10-16T11:55:26.000Z
2018-10-22T12:42:11.000Z
include/Assertions.hpp
WilliamClements/MacCppPlayer
ac1346768ed12ddfc64b975faef50a50af8b7cb6
[ "Apache-2.0" ]
1
2019-02-26T16:54:11.000Z
2019-02-26T16:54:11.000Z
/* Copyright 2018 William Clements, Autodesk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
33.73
112
0.721316
WilliamClements
a88098d2d6031f25394b9261372c13419f6bde50
498
hpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/functor/mock_ode_functor.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/functor/mock_ode_functor.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/functor/mock_ode_functor.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
struct mock_ode_functor { template <typename T0, typename T1, typename T2> inline std::vector<typename stan::return_type<T1,T2>::type> operator()(const T0& t_in, const std::vector<T1>& y_in, const std::vector<T2>& theta, const std::vector<double>& x, const...
31.125
64
0.594378
yizhang-cae
a886aba6184fe86271938eaee3f634b1cc1fbf94
829
cpp
C++
LambdaEngine/Source/Time/API/Clock.cpp
IbexOmega/CrazyCanvas
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
18
2020-09-04T08:00:54.000Z
2021-08-29T23:04:45.000Z
LambdaEngine/Source/Time/API/Clock.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
32
2020-09-12T19:24:50.000Z
2020-12-11T14:29:44.000Z
LambdaEngine/Source/Time/API/Clock.cpp
IbexOmega/LambdaEngine
f60f01aaf9c988e4da8990dc1ef3caac20cecf7e
[ "MIT" ]
2
2020-12-15T15:36:13.000Z
2021-03-27T14:27:02.000Z
#include "Time/API/Clock.h" #include "Time/API/PlatformTime.h" namespace LambdaEngine { Clock::Clock() : m_LastTime(0) , m_TotalTime(0) , m_DeltaTime(0) { Tick(); } void Clock::Tick() { const uint64 now = PlatformTime::GetPerformanceCounter(); const uint64 delta = now - m_LastTime; constexpr uint6...
21.25641
70
0.704463
IbexOmega
a8897a4f2cf66de8375c4d06f4e298f538bace37
2,424
cpp
C++
src/calibration/slamBase.cpp
lhypds/livox-auto-calibration-dev
e39461ac56d6f35c8c90d1a52fe017719bf89bad
[ "BSD-3-Clause" ]
3
2021-08-15T15:55:03.000Z
2022-03-07T00:29:25.000Z
src/calibration/slamBase.cpp
lhypds/livox-auto-calibration-dev
e39461ac56d6f35c8c90d1a52fe017719bf89bad
[ "BSD-3-Clause" ]
null
null
null
src/calibration/slamBase.cpp
lhypds/livox-auto-calibration-dev
e39461ac56d6f35c8c90d1a52fe017719bf89bad
[ "BSD-3-Clause" ]
null
null
null
/* The mapping algorithm is an advanced implementation of the following open source project: [blam](https://github.com/erik-nelson/blam). Modifier: livox dev@livoxtech.com Modifier: enzan liu@enzan-k.com Copyright (c) 2015, The Regents of the University of California (Regents). All rights reserved. Redistribution...
31.076923
89
0.742162
lhypds
a88a8a6e03e4efff99fe95dd2898252be2a20803
843
hpp
C++
Krakoa/Source/UI/Flags/ComboBoxFlags.hpp
KingKiller100/Krakatoa-Engine
ff07f7328d428c04e06b561b6afd315eea39865c
[ "Apache-2.0" ]
1
2020-04-05T13:37:48.000Z
2020-04-05T13:37:48.000Z
Krakoa/Source/UI/Flags/ComboBoxFlags.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
Krakoa/Source/UI/Flags/ComboBoxFlags.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Utility/Enum/kEnum.hpp> namespace krakoa::ui { ENUM_CLASS(ComboBoxFlags, int, None = 0, PopupAlignLeft = 1 << 0, // Align the popup toward the left by default HeightSmall = 1 << 1, // Max ~4 items visible. Tip: If you want your combo popup to be a specific size ...
42.15
185
0.642942
KingKiller100
a892d6a8cd7ce5d719196236ff581d2713274f57
731
cpp
C++
Leetcode/Array/shortest-unsorted-continuous-subarray.cpp
rajnishmsrit/technical-interview-coding
0a2a72b54d4865ee38b85184425d4a4875d95f01
[ "MIT" ]
null
null
null
Leetcode/Array/shortest-unsorted-continuous-subarray.cpp
rajnishmsrit/technical-interview-coding
0a2a72b54d4865ee38b85184425d4a4875d95f01
[ "MIT" ]
null
null
null
Leetcode/Array/shortest-unsorted-continuous-subarray.cpp
rajnishmsrit/technical-interview-coding
0a2a72b54d4865ee38b85184425d4a4875d95f01
[ "MIT" ]
null
null
null
# include <bits/stdc++.h> using namespace std; class Solution { public: int findUnsortedSubarray(vector<int>& nums) { vector <int> sorted = nums; sort(sorted.begin(), sorted.end()); int start = nums.size(); int end = 0; for (int i = 0; i< nums.size(); i++){ if(n...
20.885714
62
0.474692
rajnishmsrit
a8955a814cba7f90e6f15cac5a4990d4bcea998e
1,976
hpp
C++
include/rts/operator/Operator.hpp
gh-rdf3x/gh-rdf3x
4184d355b922d9d2f1aa63a36461bf889617928c
[ "Xnet", "X11" ]
40
2015-02-17T03:27:19.000Z
2022-03-24T15:17:38.000Z
include/rts/operator/Operator.hpp
gh-rdf3x/gh-rdf3x
4184d355b922d9d2f1aa63a36461bf889617928c
[ "Xnet", "X11" ]
3
2016-02-22T17:36:59.000Z
2020-04-09T14:45:15.000Z
include/rts/operator/Operator.hpp
gh-rdf3x/gh-rdf3x
4184d355b922d9d2f1aa63a36461bf889617928c
[ "Xnet", "X11" ]
15
2015-01-15T20:39:48.000Z
2020-11-11T03:07:11.000Z
#ifndef H_rts_operator_Operator #define H_rts_operator_Operator //--------------------------------------------------------------------------- // RDF-3X // (c) 2008 Thomas Neumann. Web site: http://www.mpi-inf.mpg.de/~neumann/rdf3x // // This work is licensed under the Creative Commons // Attribution-Noncommercial-Share...
35.927273
84
0.620445
gh-rdf3x
a899d7386df7b3143d0edd04593104fb502c34b6
7,436
cc
C++
src/externalized/VanillaWeapons_unittests.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
346
2016-02-16T11:17:25.000Z
2022-03-28T18:18:14.000Z
src/externalized/VanillaWeapons_unittests.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
1,119
2016-02-14T23:19:56.000Z
2022-03-31T21:57:58.000Z
src/externalized/VanillaWeapons_unittests.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
90
2016-02-17T22:17:11.000Z
2022-03-12T11:59:56.000Z
#ifdef WITH_UNITTESTS #include "gtest/gtest.h" #include "game/Tactical/Items.h" #include "AmmoTypeModel.h" #include "CalibreModel.h" #include "DefaultContentManager.h" #include "DefaultContentManagerUT.h" #include "GameInstance.h" #include "GamePolicy.h" #include "MagazineModel.h" #include "WeaponModels.h" TEST(Item...
38.528497
105
0.783351
FluffyQuack
a89f0fa3029fc9fe5c2b84e8ff0d80b0730b152d
193
cpp
C++
find-minimum-in-rotated-sorted-array/find-minimum-in-rotated-sorted-array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
find-minimum-in-rotated-sorted-array/find-minimum-in-rotated-sorted-array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
find-minimum-in-rotated-sorted-array/find-minimum-in-rotated-sorted-array.cpp
siddharthshenoy/LEET
130a7c526417ea9d1896553c8f048e248d4bba35
[ "MIT" ]
null
null
null
class Solution { public: int findMin(vector<int>& nums) { int a = *min_element(nums.begin(),nums.end()); binary_search(nums.begin(),nums.end(),a); return a; } };
24.125
54
0.569948
siddharthshenoy
a8a1a2a15b32a75dbf8060b2a12af2c3ec2f3212
1,202
hh
C++
TEvtGen/EvtGen/EvtGenModels/EvtbTosllFF.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/EvtGen/EvtGenModels/EvtbTosllFF.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/EvtGen/EvtGenModels/EvtbTosllFF.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
27.318182
76
0.527454
AllaMaevskaya
a8a803a1e3c6abe3ec01d87e5d98fc3899fb7973
494
hpp
C++
dynamic_programming/convert_online_dp_to_offline_dp.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
dynamic_programming/convert_online_dp_to_offline_dp.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
dynamic_programming/convert_online_dp_to_offline_dp.hpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
#pragma once #include <functional> void convert_online_dp_to_offline_dp(const int n, const std::function<void(int, int, int)> induce) { std::function<void(const int, const int)> solve = [&solve, induce](const int l, const int r) -> void { if (l + 1 == r) { // dp(l) <- dp(l) ・ b_l. ...
27.444444
101
0.487854
emthrm
a8ac56d4f13c788709e41e9dee61d3172c67a0bf
366
cpp
C++
test/unit/math/mix/core/operator_subtraction_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-07-23T14:57:41.000Z
2019-07-23T14:57:41.000Z
test/unit/math/mix/core/operator_subtraction_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-23T19:58:36.000Z
2019-09-24T12:03:41.000Z
test/unit/math/mix/core/operator_subtraction_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <test/unit/math/mix/mat/util/autodiff_tester.hpp> struct op_subtraction_f { template <typename T1, typename T2> static typename boost::math::tools::promote_args<T1, T2>::type apply( const T1& x1, const T2& x2) { return x1 - x2; } }; TEST(mathMixCore, opratorSubraction) { stan::math::test::t...
26.142857
71
0.70765
jrmie
a8acb300535e73bbdd6960439f002dabd8dbe0df
2,192
cpp
C++
src/engine/object/bounding_box/circle_box.cpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
1
2020-05-18T14:09:11.000Z
2020-05-18T14:09:11.000Z
src/engine/object/bounding_box/circle_box.cpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
null
null
null
src/engine/object/bounding_box/circle_box.cpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
null
null
null
// // Created by Trần Công Việt An on 5/5/20. // #include <iostream> #include "bounding_box.hpp" namespace BoundingBox { CircleBox::~CircleBox() = default; CircleBox::CircleBox(const Geometry::Point &offset, double radius) : circle(offset, radius) {} CircleBox::CircleBox(double radius) : circle(radius) {} ...
39.854545
98
0.593978
aldermann
a8afee4e1121810a79984dda499fc2395b9f4568
10,147
cpp
C++
applications/mne_browse_raw_qt/Windows/scalewindow.cpp
fjpolo/mne-cpp
fe5ce28680dbcfc3cd2e24954e31a5bf0531f28d
[ "BSD-3-Clause" ]
null
null
null
applications/mne_browse_raw_qt/Windows/scalewindow.cpp
fjpolo/mne-cpp
fe5ce28680dbcfc3cd2e24954e31a5bf0531f28d
[ "BSD-3-Clause" ]
null
null
null
applications/mne_browse_raw_qt/Windows/scalewindow.cpp
fjpolo/mne-cpp
fe5ce28680dbcfc3cd2e24954e31a5bf0531f28d
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file scalewindow.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version ...
42.634454
141
0.555435
fjpolo
a8b14e6dfd9a6c82cf507f10657b748758a44801
1,953
cpp
C++
Kernel/Time/TimeManager.cpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
Kernel/Time/TimeManager.cpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
Kernel/Time/TimeManager.cpp
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
#include "TimeManager.hpp" #include <Devices/DeviceManager.hpp> #include <Libkernel/Assert.hpp> namespace Kernel::Time { bool TimeManager::initialize() { m_real_time_clock = DeviceManager::the().get_device(10, 135, DeviceType::Char); auto pit = static_cast<InterruptTimer*>(DeviceManager::the().find_attached_d...
27.507042
102
0.631336
Plunkerusr
a8b658a8a6e18a4f2fbb10797f5f0f995ca91ae1
32,296
cpp
C++
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/engines/e_ubsec.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
529
2015-03-10T00:17:45.000Z
2022-03-17T02:21:19.000Z
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/engines/e_ubsec.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
495
2015-03-10T22:02:46.000Z
2019-05-16T13:05:00.000Z
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/engines/e_ubsec.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
332
2015-03-10T08:04:36.000Z
2022-03-29T04:18:36.000Z
/* crypto/engine/hw_ubsec.c */ /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL * project 2000. * * Cloned shamelessly by Joe Tardo. */ /* ==================================================================== * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. * * Redi...
30.126866
115
0.639553
PervasiveDigital
a8c2a1b2cf1d370f954d8280c5acd537406b103b
6,703
cpp
C++
cow2/TeeChartAPI/windroseseries.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
25
2016-03-05T17:45:17.000Z
2022-01-05T10:03:49.000Z
cow2/TeeChartAPI/windroseseries.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
1
2016-08-04T15:16:48.000Z
2016-08-24T00:49:03.000Z
cow2/TeeChartAPI/windroseseries.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
14
2016-12-08T16:37:57.000Z
2021-12-05T15:57:57.000Z
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "windroseseries.h" // Dispatch interfaces referenced by t...
22.64527
82
0.7431
zhaochaohui
a8c4faa8c2ee65a0bb0406b7939b71201742a7ac
2,656
cpp
C++
shared/test/unit_test/program/program_info_tests.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
shared/test/unit_test/program/program_info_tests.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
shared/test/unit_test/program/program_info_tests.cpp
lukaszgotszaldintel/compute-runtime
9b12dc43904806db07616ffb8b1c4495aa7d610f
[ "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/program/program_info.h" #include "opencl/source/program/kernel_info.h" #include "opencl/test/unit_test/mocks/mock_kernel.h" #include "gmock/gmock.h" #include "gtest/gtest.h" TEST(ProgramInfoTests, WhenP...
42.83871
121
0.795181
lukaszgotszaldintel
a8c4fcd4dae3b65be267e0f3e9b36605ad47ba42
2,895
cpp
C++
udpclient.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
udpclient.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
udpclient.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
//---------------------------------------------------------------- // udpclient.cpp // // This program sends a datagram to a specified port on the // remote host whose name is supplied on the commwand-line. // Its message is from a celebrated poem by Matthew Arnold. // // usage: $ ./udpclient <hostname> <portnu...
32.52809
71
0.494646
shirishbahirat
a8cb4dedfa4ee2a75a99380e4a28b18a3a98d7c9
6,069
cpp
C++
apps/Core/main.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
3
2015-10-29T16:11:49.000Z
2021-08-28T08:53:09.000Z
apps/Core/main.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
13
2015-10-29T05:39:16.000Z
2017-06-11T19:10:07.000Z
apps/Core/main.cpp
Koncord/YAPE
9def79c493bc50b41a371c6e80174d47f795b8f1
[ "Apache-2.0" ]
1
2022-03-01T18:47:58.000Z
2022-03-01T18:47:58.000Z
/* * * Copyright (c) 2015-2017 Stanislav Zhukov * * 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 appli...
27.09375
148
0.557423
Koncord
a8cb8ba4fccd9f948dd7cfa504e25f12f8351a74
12,575
cpp
C++
PlaygroundCore/DynamicBvh.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
PlaygroundCore/DynamicBvh.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
PlaygroundCore/DynamicBvh.cpp
jakubtyrcha/playground
d6be4387ffb2d9a2106f01b4c1b1a46ce78c1cef
[ "MIT" ]
null
null
null
#include "Pch.h" #include "DynamicBvh.h" namespace Playground { using Handle = DynamicBvh::Handle; bool DynamicBvh::Node::IsLeaf() const { return ChildrenNum() == 0; } i32 DynamicBvh::Node::ChildrenNum() const { if(children[0] == -1) { plgr_assert(children[1] == NULL_NODE); ...
29.176334
155
0.521352
jakubtyrcha
a8cca387ba035d9d5d8f15ec3303464b42d4963e
2,165
cpp
C++
MSA_World2d.cpp
memo/msalibs_2000
e9ead8735b8f72235809b181707ededdb665d65d
[ "MIT" ]
1
2015-05-14T16:34:49.000Z
2015-05-14T16:34:49.000Z
MSA_World2d.cpp
memo/msalibs_2000
e9ead8735b8f72235809b181707ededdb665d65d
[ "MIT" ]
null
null
null
MSA_World2d.cpp
memo/msalibs_2000
e9ead8735b8f72235809b181707ededdb665d65d
[ "MIT" ]
null
null
null
#include <assert.h> #include "ddutil.h" #include "..\_MSA_Utils\MSA_Utils.h" #include "MSA_world2d.h" MSA_WORLD2D::MSA_WORLD2D() { Init(); } MSA_WORLD2D::MSA_WORLD2D(MSA_DDRAW *tTheDDraw) { Init(); TheDDraw=tTheDDraw; assert(DDSetColorKey(TheDDraw->pDDS4_Back, RGB(0,0,0))==DD_OK); } MSA_WORLD2D::~MSA_WORLD2D...
15.80292
102
0.63418
memo
a8cead0714b5f1bd2b50a6c4160cb7164f6c1192
5,966
cxx
C++
Modules/Radiometry/SARCalibration/test/otbSarConcatenateBurstsImageFilter.cxx
orfeotoolbox/OTB
7782dd7f07e8a7fb713837d2f1d6d92def41f742
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Radiometry/SARCalibration/test/otbSarConcatenateBurstsImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Radiometry/SARCalibration/test/otbSarConcatenateBurstsImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
40.585034
155
0.743044
orfeotoolbox
a8d1557b365c7f60f3ace797dae93c901a1495b4
62,937
hpp
C++
viennacl/linalg/opencl/sparse_matrix_operations.hpp
yuchengs/viennacl-dev
99f250fdb729de01ff5e9aebbed7b2ed3b1d8dfa
[ "MIT" ]
224
2015-02-15T21:50:13.000Z
2022-01-14T18:27:03.000Z
viennacl/linalg/opencl/sparse_matrix_operations.hpp
yuchengs/viennacl-dev
99f250fdb729de01ff5e9aebbed7b2ed3b1d8dfa
[ "MIT" ]
189
2015-01-09T17:08:04.000Z
2021-06-04T06:23:22.000Z
viennacl/linalg/opencl/sparse_matrix_operations.hpp
yuchengs/viennacl-dev
99f250fdb729de01ff5e9aebbed7b2ed3b1d8dfa
[ "MIT" ]
84
2015-01-15T14:06:13.000Z
2022-01-23T14:51:17.000Z
#ifndef VIENNACL_LINALG_OPENCL_SPARSE_MATRIX_OPERATIONS_HPP_ #define VIENNACL_LINALG_OPENCL_SPARSE_MATRIX_OPERATIONS_HPP_ /* ========================================================================= Copyright (c) 2010-2016, Institute for Microelectronics, Institute for Analysis and Scien...
50.551807
183
0.596724
yuchengs
a8d609689e399c01333e4b6bc926987687043e58
2,077
hpp
C++
CubeDemo/CubeDemo.hpp
TheSharpOwl/Mizu
33b32a15e4b7e572bce4824c86fa4a4a4b45aa33
[ "MIT" ]
1
2021-07-25T15:25:22.000Z
2021-07-25T15:25:22.000Z
CubeDemo/CubeDemo.hpp
TheSharpOwl/Mizu
33b32a15e4b7e572bce4824c86fa4a4a4b45aa33
[ "MIT" ]
13
2021-06-15T20:02:59.000Z
2022-02-01T21:18:05.000Z
CubeDemo/CubeDemo.hpp
TheSharpOwl/Mizu
33b32a15e4b7e572bce4824c86fa4a4a4b45aa33
[ "MIT" ]
null
null
null
#pragma once #include "DX12LibPCH.h" #include "Mizu/Game.hpp" #include "Mizu/Window.hpp" namespace Mizu { struct ResizeEventArgs; struct UpdateEventArgs; struct RenderEventArgs; class CubeDemo : public Game { template<typename T> using cp = Microsoft::WRL::ComPtr<T>; public: CubeDemo(int width, int hei...
25.641975
168
0.78623
TheSharpOwl
a8d99119ecb8ad6a88092920c8734518240bbdd4
1,099
hpp
C++
NWNXLib/API/API/CExoApp.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
NWNXLib/API/API/CExoApp.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
NWNXLib/API/API/CExoApp.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CExoApp) #endif struct CExoAppInternal; typedef int BOOL; struct CExoApp { CExoAppInternal * m_pcExoAppInternal; CExoApp(); ~CExoApp(); BOOL AdmitNetworkAddress(uint32_t nProtocol, CExoString ...
21.134615
95
0.740673
GideonCrawle
a8dc886472441374008e96fa25037d568a40faf7
3,421
cpp
C++
Data Structure/Segment Tree/Number of elements Greater than 'k' in L to R.cpp
vector94/Competitive-programming-library
732edf71889f5770564dfb7ec6a1bf477b1d3ba2
[ "MIT" ]
null
null
null
Data Structure/Segment Tree/Number of elements Greater than 'k' in L to R.cpp
vector94/Competitive-programming-library
732edf71889f5770564dfb7ec6a1bf477b1d3ba2
[ "MIT" ]
null
null
null
Data Structure/Segment Tree/Number of elements Greater than 'k' in L to R.cpp
vector94/Competitive-programming-library
732edf71889f5770564dfb7ec6a1bf477b1d3ba2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(x) x.begin(), x.end() /** Imagine we have an array b1, b2, ..., bn where bi = 1 if an only if ai > k, then we can easily answer the query (i, j, k) in O(log(n)) using a simple segment tree (answer is bi ...
23.593103
139
0.474423
vector94
a8dee9b264fcc93b75aa4b0d1f4bd9eb77178b16
2,620
cpp
C++
Solution/Game/Source/Scenes/StartScene.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
2
2017-11-09T20:05:36.000Z
2018-07-05T00:55:01.000Z
Solution/Game/Source/Scenes/StartScene.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
null
null
null
Solution/Game/Source/Scenes/StartScene.cpp
rohunb/PhoenixEngine
4d21f9000c2e0c553c398785e8cebff1bc190a8c
[ "MIT" ]
null
null
null
#include "StartScene.h" #include "Platform/Event/Event.h" #include "Utility/Containers/Vector.h" using namespace Phoenix; void FStartScene::OnInit(FComponentManager& ComponentManager) { /*auto& myObj = this->CreateGameObject(); myObj.AddComponent<Transform>();*/ typedef SizeT EntityID; const FChar* const Golem...
36.388889
121
0.787023
rohunb
a8e136798470674ee1e1179e29fb78861cca6d93
690
cpp
C++
Sid's Levels/Level - 3/Sorting and Searching/Sort Colours.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/Level - 3/Sorting and Searching/Sort Colours.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/Level - 3/Sorting and Searching/Sort Colours.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: void sortColors(vector<int>& nums) { //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA int low = 0, mid = 0, high = nums.size()-1; while(mid <= high) {...
24.642857
73
0.394203
Tiger-Team-01
a8e1f8852900d537c49fc272308b7529941ea64d
1,643
cpp
C++
src_smartcontract_db/scan_select/scan_columns/AllScanColumns.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
1
2020-10-15T08:24:35.000Z
2020-10-15T08:24:35.000Z
src_smartcontract_db/scan_select/scan_columns/AllScanColumns.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
src_smartcontract_db/scan_select/scan_columns/AllScanColumns.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
/* * AllScanColumns.cpp * * Created on: 2020/08/19 * Author: iizuka */ #include "scan_select/scan_columns/AllScanColumns.h" #include "base/UnicodeString.h" #include "schema_table/record/table_record/CdbRecord.h" #include "trx/scan/transaction_scan_result/ScanResultFieldMetadata.h" #include "trx/scan/tran...
23.811594
137
0.734023
alinous-core
a8e3850df851aad6a79330daaea387f8196f5cdc
931
cpp
C++
Source/EclairEd/ConversationCharacterFactory.cpp
BeatItOtaku/Eclair3
a6129725918b63612fb4477d80305c930962974c
[ "MIT" ]
null
null
null
Source/EclairEd/ConversationCharacterFactory.cpp
BeatItOtaku/Eclair3
a6129725918b63612fb4477d80305c930962974c
[ "MIT" ]
1
2019-08-18T15:57:03.000Z
2019-08-18T15:57:03.000Z
Source/EclairEd/ConversationCharacterFactory.cpp
BeatItOtaku/Eclair3
a6129725918b63612fb4477d80305c930962974c
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ConversationCharacterFactory.h" #include "ConversationCharacter.h" UConversationCharacterFactory::UConversationCharacterFactory() : Super() { SupportedClass = UConversationCharacter::StaticClass(); bCreateNew = true; bEditAfte...
28.212121
120
0.807734
BeatItOtaku
a8ed9052f4e37151d63cccc237a3d56f71899ea1
8,345
cpp
C++
ROS_WS/catkin_ws/src/site/src/point_cloud_segmentation_ou_cluster.cpp
OrangeSodahub/ROS-WS
5b3c56ea1b46025298360eed9c06f25f7c5f7fe6
[ "MIT" ]
1
2022-03-20T19:16:06.000Z
2022-03-20T19:16:06.000Z
ROS_WS/catkin_ws/src/site/src/point_cloud_segmentation_ou_cluster.cpp
OrangeSodahub/ROS-WS
5b3c56ea1b46025298360eed9c06f25f7c5f7fe6
[ "MIT" ]
null
null
null
ROS_WS/catkin_ws/src/site/src/point_cloud_segmentation_ou_cluster.cpp
OrangeSodahub/ROS-WS
5b3c56ea1b46025298360eed9c06f25f7c5f7fe6
[ "MIT" ]
null
null
null
/* 欧式聚类分割 */ #include <pcl/ModelCoefficients.h> #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/filters/extract_indices.h> #include <pcl/filters/voxel_grid.h> #include <pcl/features/normal_3d.h> #include <pcl/kdtree/kdtree.h> #include <pcl/sample_consensus/method_types.h> #include <pcl/sample_con...
49.672619
137
0.691552
OrangeSodahub
a8ef072a1cd1837134acbd6b055f0e0da7a2a7ac
11,546
hpp
C++
lib/BaseGfx/BaseGfx.hpp
0demongamer0/esp-rgb-led-matrix
0a822f53a85ede34aa8154770218e010e77a9472
[ "MIT" ]
108
2019-10-19T18:14:53.000Z
2022-03-31T15:20:46.000Z
lib/BaseGfx/BaseGfx.hpp
0demongamer0/esp-rgb-led-matrix
0a822f53a85ede34aa8154770218e010e77a9472
[ "MIT" ]
55
2019-06-11T19:45:03.000Z
2022-03-28T14:52:17.000Z
lib/BaseGfx/BaseGfx.hpp
0demongamer0/esp-rgb-led-matrix
0a822f53a85ede34aa8154770218e010e77a9472
[ "MIT" ]
23
2019-06-05T20:24:49.000Z
2022-03-22T21:13:35.000Z
/* MIT License * * Copyright (c) 2019 - 2021 Andreas Merkle <web@blue-andi.de> * * 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 ...
29.083123
101
0.486489
0demongamer0
5ef213ab7901ed44484631927d69173fbd709993
3,465
cpp
C++
UEPrototype/Source/UEPrototype/Private/Command/MaterialCommand.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
UEPrototype/Source/UEPrototype/Private/Command/MaterialCommand.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
UEPrototype/Source/UEPrototype/Private/Command/MaterialCommand.cpp
Jaeguins/Prototype
faa6b2626c3cfc187a9f4e44fef641de527fe0ca
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MaterialCommand.h" #include "UEPrototype.h" #include "EditorModulesManager.h" #include "Command/CommandConstraintManager.h" #include "Command/CmdActivatedConstraint.h" #include "ActorInfo/ActorConstraintMarker.h" #include "ActorI...
26.860465
161
0.73824
Jaeguins
5ef47354ca36a06352dc33e75b43edfc09fa847f
18,279
cpp
C++
trunk/ProjectFootball/src/engine/wm/gui/renderer/CPFStaticText.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
trunk/ProjectFootball/src/engine/wm/gui/renderer/CPFStaticText.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
trunk/ProjectFootball/src/engine/wm/gui/renderer/CPFStaticText.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/******************************************************************************* * Copyright (C) 2009 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or ...
36.053254
135
0.581213
dividio
5ef655600a38a8b74e8cb534a5c21466c36f6c71
4,540
cpp
C++
src/meshloader.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
11
2015-02-13T13:18:01.000Z
2017-10-14T02:27:35.000Z
src/meshloader.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
null
null
null
src/meshloader.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
2
2019-05-18T03:14:08.000Z
2019-12-10T15:03:41.000Z
#include "meshloader.h" #include "fileio.h" #include "log.h" #include "gfx.h" bool read_int(const char **s, int &i) { while ((**s) != '\0' && !isdigit(**s)) (*s)++; if (**s == '\0') return false; i = 0; while ((**s) != '\0' && isdigit(**s)) { i *= 10; i += int(**s) - int('0'); (*s)++; } return true; }...
28.734177
108
0.661233
lightbits
5ef8092a295649490467a6a2e77783fcd9d9e8d5
1,927
cpp
C++
src/services/timers/DelayTimer.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
26
2018-11-11T14:08:21.000Z
2022-01-09T05:07:39.000Z
src/services/timers/DelayTimer.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
66
2018-04-05T13:59:16.000Z
2021-10-29T20:09:06.000Z
src/services/timers/DelayTimer.cpp
AyanamiRei1/EonTimer
dd12fe4e400f846da14f51e983e37e9c45a8a45a
[ "MIT" ]
22
2019-07-13T02:43:54.000Z
2022-02-08T00:17:08.000Z
// // Created by Dylan Meadows on 2020-03-12. // #include "DelayTimer.h" #include <util/Functions.h> namespace service::timer { const int CLOSE_THRESHOLD = 167; const double UPDATE_FACTOR = 1.0; const double CLOSE_UPDATE_FACTOR = 0.75; DelayTimer::DelayTimer(const SecondTimer *secondTimer, const Cal...
42.822222
110
0.639855
AyanamiRei1
5ef8c51d71000dbb770906eb9453feec65048ca9
254
hpp
C++
source/Logic/System/AnimationSystem.hpp
KidomMoc/YahahaEngine
15a097aa5b8f130d19dbc019d444c9c317b337e8
[ "MIT" ]
null
null
null
source/Logic/System/AnimationSystem.hpp
KidomMoc/YahahaEngine
15a097aa5b8f130d19dbc019d444c9c317b337e8
[ "MIT" ]
null
null
null
source/Logic/System/AnimationSystem.hpp
KidomMoc/YahahaEngine
15a097aa5b8f130d19dbc019d444c9c317b337e8
[ "MIT" ]
null
null
null
#ifndef KFTG_ANIMATION_SYSTEM #define KFTG_ANIMATION_SYSTEM #include "System.hpp" namespace KFTG { class AnimationSystem : public System { public: AnimationSystem (); virtual void update (u16 deltaTime) override; }; } #endif KFTG_ANIMATION_SYSTEM
13.368421
46
0.783465
KidomMoc
5ef9fb8c4bd6f2ee5a0f780ca2bc27418852cd52
226
cpp
C++
src/global.cpp
sjasmplus/sjasmplus
76c3a8dff12ea9b6cfeb6c5771167b68ab91648c
[ "Zlib" ]
39
2018-12-02T01:13:53.000Z
2022-01-29T18:31:28.000Z
src/global.cpp
sjasmplus/sjasmplus
76c3a8dff12ea9b6cfeb6c5771167b68ab91648c
[ "Zlib" ]
14
2018-12-01T19:58:12.000Z
2022-01-30T20:51:05.000Z
src/global.cpp
sjasmplus/sjasmplus
76c3a8dff12ea9b6cfeb6c5771167b68ab91648c
[ "Zlib" ]
11
2018-12-05T11:37:37.000Z
2021-02-06T16:35:07.000Z
#include "global.h" const char *lp, *bp; char line[LINEMAX]; int pass = 0, IsLabelNotFound = 0; unsigned int CurrentGlobalLine = 0, CurrentLocalLine = 0, CompiledCurrentLine = 0; stack<RepeatInfo> RepeatStack; /* added */
20.545455
82
0.721239
sjasmplus
5efcb59479d69dab765d08015c532b62a67b8c79
467
hpp
C++
lib/autocheck/include/autocheck/sequence.hpp
distributedledgerinc/mxnc-stellar
e621584d490a75b6726efdb7433be482f129bdb0
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
71
2015-01-30T21:35:48.000Z
2022-03-23T00:24:14.000Z
lib/autocheck/include/autocheck/sequence.hpp
flukekiafer/stellar-core
bbda3e666f03d3aa04c4fc4a5c2fae980120570d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
6
2015-07-08T12:23:47.000Z
2019-01-06T00:40:30.000Z
lib/autocheck/include/autocheck/sequence.hpp
flukekiafer/stellar-core
bbda3e666f03d3aa04c4fc4a5c2fae980120570d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
11
2015-01-31T20:07:40.000Z
2020-04-07T17:20:04.000Z
#ifndef AUTOCHECK_SEQUENCE_HPP #define AUTOCHECK_SEQUENCE_HPP #include "ostream.hpp" namespace autocheck { template <typename T> std::ostream& operator<< (std::ostream& out, const std::vector<T>& seq) { out << "["; bool first = true; for (auto b = seq.begin(), e = seq.end(); b != e; ++b) { if (...
16.678571
75
0.522484
distributedledgerinc
6f07e00e70a10a3bb7b084a6b19c14bf79cc97f5
3,230
cpp
C++
exe/qtlua/packages/qtwidget/qtlualistener.cpp
sweapre/torchtest
20d904dbcd84019ec358f9bae4802c30d1caae12
[ "BSD-3-Clause" ]
41
2015-01-22T16:18:39.000Z
2021-10-19T02:26:53.000Z
qtlua/packages/qtwidget/qtlualistener.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
53
2015-02-09T03:20:31.000Z
2017-12-29T20:54:29.000Z
qtlua/packages/qtwidget/qtlualistener.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
19
2015-01-22T16:18:39.000Z
2020-04-07T12:24:40.000Z
// -*- C++ -*- #include "qtlualistener.h" #include <QEvent> #include <QFocusEvent> #include <QKeyEvent> #include <QMetaEnum> #include <QMetaObject> #include <QMouseEvent> #include <QObject> #include <QPaintEvent> #include <QResizeEvent> #ifndef Q_MOC_RUN static QMetaEnum f_enumerator(const char *s) { struct QFak...
25.03876
75
0.552941
sweapre
6f0f58874379e93944600982c1fbebcafc5ac4bb
4,326
hpp
C++
src/observation_file_writer_bin.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
src/observation_file_writer_bin.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
3
2019-05-28T05:34:50.000Z
2019-12-09T12:58:22.000Z
src/observation_file_writer_bin.hpp
jose-navarro/astrolabe
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
/** \file observation_file_writer_bin.hpp \brief Class defining the interface of observation binary file writers. \ingroup ASTROLABE_data_IO */ #ifndef OBSERVATION_FILE_WRITER_BIN_HPP #define OBSERVATION_FILE_WRITER_BIN_HPP #include "obs_e_based_file_writer_bin.hpp" /** * @brief Class defining the interface of ...
41.2
81
0.59755
jose-navarro
6f0fda9a8b2d737ca99294d3e9d6df434d229301
338
cpp
C++
Demo/AdaptiveTessellation/Main.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
Demo/AdaptiveTessellation/Main.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
Demo/AdaptiveTessellation/Main.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
#include "AdaptiveTessellation.h" INT WINAPI wWinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPWSTR /*lpCmdLine*/, int /*nShow*/) { AppAdaptiveTessellation AdaptiveTessellation; AdaptiveTessellation.Startup(L"DemoAdaptiveTessellation"); AdaptiveTessellation.Running(); AdaptiveTessellation.ShutDow...
24.142857
110
0.784024
Alpha255
6f122d534fd5dcb435f622f1583be5a7ee37d16c
14,862
hpp
C++
src/includes/Client.hpp
Exus1/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
2
2017-09-29T14:57:04.000Z
2017-11-05T20:54:26.000Z
src/includes/Client.hpp
karolkrupa/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
null
null
null
src/includes/Client.hpp
karolkrupa/TeamSpeak3-C-Query-API
c0cf094180f4217c456edfaaa6021c64b74edd3c
[ "MIT" ]
null
null
null
#pragma once #include <Server.hpp> #include <Group.hpp> #include <Channel.hpp> #include <Permission.hpp> #include <string> #include <map> #include <structs/ts3ObjectProperties.hpp> using namespace std; /** @biref Zawiera wszystkie elementy API */ namespace Ts3Api { struct ts3Response; //class Permission; ...
21.791789
103
0.5471
Exus1
6f1454c36775e59a16fab69a913093d70796b54e
14,196
cpp
C++
src/samples/transition/transitionObject.cpp
glines/libmc
4d74c630252a0e46fda9dbec357bd1cd47223f1f
[ "MIT" ]
14
2017-01-10T16:33:25.000Z
2020-05-12T18:49:02.000Z
src/samples/transition/transitionObject.cpp
auntieNeo/libmc
4d74c630252a0e46fda9dbec357bd1cd47223f1f
[ "MIT" ]
null
null
null
src/samples/transition/transitionObject.cpp
auntieNeo/libmc
4d74c630252a0e46fda9dbec357bd1cd47223f1f
[ "MIT" ]
3
2017-09-20T01:05:10.000Z
2020-12-29T09:13:23.000Z
/* * Copyright (c) 2016 Jonathan Glines * Jonathan Glines <jonathan@glines.net> * * 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 ...
31.131579
79
0.586433
glines
6f15ae0d29fa55d2ff488edb3861a0ed258c707f
302,098
cpp
C++
runtime/src/parallel.cpp
jbedorf/Bonsai
fadafb64be03381f4fc119d6952de81df1e02600
[ "Apache-2.0" ]
1
2016-04-13T07:38:18.000Z
2016-04-13T07:38:18.000Z
runtime/src/parallel.cpp
jbedorf/Bonsai
fadafb64be03381f4fc119d6952de81df1e02600
[ "Apache-2.0" ]
null
null
null
runtime/src/parallel.cpp
jbedorf/Bonsai
fadafb64be03381f4fc119d6952de81df1e02600
[ "Apache-2.0" ]
null
null
null
#include "octree.h" //#define USE_MPI #ifdef USE_MPI #include <xmmintrin.h> #include "radix.h" #include <parallel/algorithm> #include <map> #include "dd2d.h" extern "C" uint2 thrust_partitionDomains( my_dev::dev_mem<uint2> &validList, my_dev::dev_mem<uint2> &validList2, ...
34.84406
255
0.618074
jbedorf
6f15f7214bfd412c7b7ea60a0a2f1113e19ce8f8
1,880
cpp
C++
code/server/src/main.cpp
doleron/raspberry-as-gige-camera
ac73b09f126870684e8417da4be6ebb44822a322
[ "MIT" ]
20
2021-08-29T17:54:48.000Z
2022-03-06T07:17:10.000Z
code/server/src/main.cpp
doleron/raspberry-as-gige-camera
ac73b09f126870684e8417da4be6ebb44822a322
[ "MIT" ]
null
null
null
code/server/src/main.cpp
doleron/raspberry-as-gige-camera
ac73b09f126870684e8417da4be6ebb44822a322
[ "MIT" ]
2
2021-11-28T09:51:30.000Z
2022-02-05T08:40:16.000Z
#include <chrono> #include <thread> #include "rpiasgige/tcp_server.hpp" int main(int argc, char **argv) { const std::string keys = "{device | /dev/video0 | camera path such as /dev/video0 }" "{usb_bus_id | | usb bus id like: usb-0000:00:14.0-1 }" ...
34.814815
133
0.610638
doleron
6f1ab1f04994610c7927b34920739d137c0631b1
4,975
cpp
C++
src/caffe/layers/softmax_layer.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
1
2017-01-04T03:35:46.000Z
2017-01-04T03:35:46.000Z
src/caffe/layers/softmax_layer.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/layers/softmax_layer.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <vector> #include "caffe/layers/softmax_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void SoftmaxLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { softmax_axis_ = bottom[0]->Canon...
32.096774
80
0.660905
shayanshams66
6f1dcc2a9aaa02a9c9bbc617ac428dd414970df1
5,530
cpp
C++
ClosestPointOnMesh/ClosestPointOnMesh/ClosestPointOnMesh.cpp
RJ45toCerebrum/CurveAttachmentTool
6312fde9ce8cdac005503143383f1c9d895ad0da
[ "MIT" ]
null
null
null
ClosestPointOnMesh/ClosestPointOnMesh/ClosestPointOnMesh.cpp
RJ45toCerebrum/CurveAttachmentTool
6312fde9ce8cdac005503143383f1c9d895ad0da
[ "MIT" ]
null
null
null
ClosestPointOnMesh/ClosestPointOnMesh/ClosestPointOnMesh.cpp
RJ45toCerebrum/CurveAttachmentTool
6312fde9ce8cdac005503143383f1c9d895ad0da
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ClosestPointOnMesh.h" //std::stringstream ss; //ss << "Number of points: " << N; //MGlobal::displayWarning(ss.str().c_str()); const char kMeshFlag[] = "mesh"; const char kMeshFlagShort[] = "m"; const char kPointsFlag[] = "points"; const char kPointsFlagShort[] = "p"; const char kWorldSpa...
28.802083
115
0.715009
RJ45toCerebrum
6f1fea353ba76aad59d885ecea53f4da5bf1f025
163,898
cpp
C++
source/Lib/EncoderLib/EncCu.cpp
kaixinzuochuxi/exploration-version
91911fd72ef764011379af21f60cbee08f1d87f5
[ "BSD-3-Clause" ]
null
null
null
source/Lib/EncoderLib/EncCu.cpp
kaixinzuochuxi/exploration-version
91911fd72ef764011379af21f60cbee08f1d87f5
[ "BSD-3-Clause" ]
null
null
null
source/Lib/EncoderLib/EncCu.cpp
kaixinzuochuxi/exploration-version
91911fd72ef764011379af21f60cbee08f1d87f5
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2019, ITU/ISO/IEC * All rights reserve...
34.47581
243
0.640032
kaixinzuochuxi
6f20560e61468be155ccab9a397b0ee5f5932dbf
3,242
cpp
C++
trainings/2015-07-25-Multi-University-2015-1 /I.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-07-25-Multi-University-2015-1 /I.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-07-25-Multi-University-2015-1 /I.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <cstdio> #include <cmath> #include <iostream> #include <set> using namespace std; const int N = 222222; const int M = 25; set<pair<int, int> > go; struct Node { int x, y, key, next; } road[N * 2]; int n, Q, start[N], cnt, tot, dfn[N], vis[N]; int dis[N], father[N][M], deep[N], test = 0; void build(in...
22.513889
80
0.418877
HcPlu
6f20efed8526dad4b8daf3a9a45554cad3e3e7c8
2,433
cpp
C++
src/maya/renderCommand.cpp
Nadrin/aurora
e5aa6f78408f724efb4c6e9c95cd0dd9c49d432d
[ "MIT" ]
3
2018-04-04T12:30:16.000Z
2019-11-22T06:10:47.000Z
src/maya/renderCommand.cpp
Nadrin/aurora
e5aa6f78408f724efb4c6e9c95cd0dd9c49d432d
[ "MIT" ]
null
null
null
src/maya/renderCommand.cpp
Nadrin/aurora
e5aa6f78408f724efb4c6e9c95cd0dd9c49d432d
[ "MIT" ]
null
null
null
/* Aurora Renderer * Copyright (c) 2013 Michal Siejak * Licensed under MIT open-source license, see COPYING.txt file for details. */ #include <stdafx.h> #include <maya/renderCommand.h> #include <core/engine.h> using namespace Aurora; const char* RenderCommand::name = "auroraRender"; // Command parameters namespa...
24.089109
80
0.691328
Nadrin
6f26ba412e75519538770bb6121acdfad118243f
138
cpp
C++
P1314.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
P1314.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
P1314.cpp
ZayLhy/NOIP
f256c8d706b3ac985de04a5fae77246f44ba5b23
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; int main(){ return 0; }
15.333333
20
0.731884
ZayLhy
6f2c08aeef78024ff7553bc8df520be816120c50
2,560
hpp
C++
include/RED4ext/Scripting/Natives/Generated/work/WorkspotTree.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/Scripting/Natives/Generated/work/WorkspotTree.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/work/WorkspotTree.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/ISerializable.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives...
37.101449
76
0.733594
jackhumbert
6f2c8e8af9668362da4a683775f27ad20d878a81
1,724
cpp
C++
002-add-two-numbers/add-two-numbers.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
null
null
null
002-add-two-numbers/add-two-numbers.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
2
2021-03-31T19:10:41.000Z
2021-12-13T19:58:15.000Z
002-add-two-numbers/add-two-numbers.cpp
TJUSsr/leetcodesolution
8244de2d76c9e8e5b9d98dd1e8efed4d680d44ee
[ "MIT" ]
null
null
null
// You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. // // You may assume the two numbers do not contain any leading zero, except the number 0 itself...
26.9375
223
0.488979
TJUSsr
6f2d2040e50761f90c24227a77400f3fad1957a4
153
hpp
C++
sources/LycanthEngine/LycanthEngine/Src/Prerequisites.hpp
Euxiniar/LycanthEngine
d4c962ddbbb2123778dbb4e1e3104c86eb57f768
[ "MIT" ]
null
null
null
sources/LycanthEngine/LycanthEngine/Src/Prerequisites.hpp
Euxiniar/LycanthEngine
d4c962ddbbb2123778dbb4e1e3104c86eb57f768
[ "MIT" ]
null
null
null
sources/LycanthEngine/LycanthEngine/Src/Prerequisites.hpp
Euxiniar/LycanthEngine
d4c962ddbbb2123778dbb4e1e3104c86eb57f768
[ "MIT" ]
null
null
null
#pragma once #define ENGINE_NAME "LycanthEngine" #define N_SWAPCHAIN_IMAGES (3) #define N_TRIANGLES (16) #ifdef _DEBUG #define ENABLE_VALIDATION #endif
17
35
0.803922
Euxiniar
6f2d747fcca086763fb1cf80e8c121b4ad971c8d
1,297
cpp
C++
GFG/Array/subArrayWithSum.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
1
2020-11-05T03:32:27.000Z
2020-11-05T03:32:27.000Z
GFG/Array/subArrayWithSum.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
null
null
null
GFG/Array/subArrayWithSum.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; vector<int> sum(vector<int> v, int n, int s) { vector<vector<int> > dp (n, vector<int> (n, 0)); vector<int> ans; dp[0][0] = v[0]; for(int j = 1 ; j < n; j++) { dp[0][j] = dp[0][j-1] + v[j]; if(dp[0][j] == s){ ans....
20.265625
65
0.390902
SanchitTaliyan
6f30cf85b7e45d5e53a2160d87b83be547871397
1,688
cpp
C++
machine_learning/data_handler/src/irisdatahandler.cpp
MasahiroOgawa/mopf
3547a481fabbff5ac6cea529531af7c6bdee3005
[ "MIT" ]
null
null
null
machine_learning/data_handler/src/irisdatahandler.cpp
MasahiroOgawa/mopf
3547a481fabbff5ac6cea529531af7c6bdee3005
[ "MIT" ]
null
null
null
machine_learning/data_handler/src/irisdatahandler.cpp
MasahiroOgawa/mopf
3547a481fabbff5ac6cea529531af7c6bdee3005
[ "MIT" ]
null
null
null
#include "irisdatahandler.h" #include <fstream> #include <stdexcept> #include <iostream> using namespace std; namespace mo { IrisDataHandler::IrisDataHandler() { cls_map_["Iris-setosa"] = (Matrix(3,1) << 1, 0, 0); cls_map_["Iris-versicolor"] = (Matrix(3,1) << 0, 1, 0); cls_map_["Iris-virginica"] = (Matri...
25.575758
66
0.597749
MasahiroOgawa
6f3335035b036d556d86102db15b52bf0ac3c240
2,736
cpp
C++
world/Logic.cpp
Pickle/XLEngine
c1aa5cf4584cb1940373505e4350336662fecf43
[ "MIT" ]
179
2018-04-04T12:35:07.000Z
2021-11-28T03:53:30.000Z
world/Logic.cpp
Pickle/XLEngine
c1aa5cf4584cb1940373505e4350336662fecf43
[ "MIT" ]
34
2018-04-04T17:15:40.000Z
2021-11-28T03:01:22.000Z
world/Logic.cpp
Pickle/XLEngine
c1aa5cf4584cb1940373505e4350336662fecf43
[ "MIT" ]
25
2018-04-04T23:49:46.000Z
2022-02-05T01:02:58.000Z
#include "Logic.h" #include "Object.h" Logic *Logic::s_pCurLogic = nullptr; Logic::Logic(const std::string& sName, void *pOwner, uint32_t uType) { m_sName = sName; m_pOwner = pOwner; m_uType = uType; m_uMsgMask = 0; //first initialize all the callbacks to null. for (uint32_t c=0; c<LCB_COUNT;...
27.636364
91
0.622076
Pickle