hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
8fbe026b68b788da837502a350bcc2ecfd1d3335
5,780
inl
C++
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
unit_tests/api/cl_enqueue_svm_memcpy_tests.inl
PTS93/compute-runtime
0655045c7962d551e29008547a802e398b646c6e
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "cl_api_tests.h" #include "runtime/context/context.h" #include "runtime/command_queue/command_queue.h" #include "runtime/device/device.h" using namespace OCLRT; typedef api_tests clEnqueueSVMMemcpyTests; namespace ULT...
36.815287
113
0.61436
PTS93
8fc1074187b35be6b0b071e7e036c637dbf7da4e
290
cpp
C++
C++_Essential_Training/Chap02/pointers.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2020-07-20T15:28:50.000Z
2020-07-20T15:28:50.000Z
C++_Essential_Training/Chap02/pointers.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2022-03-02T13:16:03.000Z
2022-03-02T13:16:03.000Z
C++/LinkedInLearning/Exercise Files/Chap02/pointers.cpp
Youngermaster/Learning-Programming-Languages
b94d3d85abc6c107877b11b42a3862d4aae8e3ee
[ "MIT" ]
null
null
null
// pointers.cpp by Bill Weinman [bw.org] // updated 2020-06-24 #include <cstdio> int main() { int x = 7; int y = 42; int * ip = &x; printf("The value of x is %d\n", x); printf("The value of y is %d\n", y); printf("The value of *ip is %d\n", *ip); return 0; }
17.058824
44
0.537931
MarkWMavis
8fc6c424fbdf3c50b7127849b1ada2012ae4ffe2
11,060
cpp
C++
sdl/window_sdl.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
14
2020-04-03T02:14:08.000Z
2021-07-16T21:05:56.000Z
sdl/window_sdl.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
2
2020-04-22T15:40:42.000Z
2020-04-28T21:17:23.000Z
sdl/window_sdl.cpp
franko/libcanvas
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
1
2020-04-30T07:49:02.000Z
2020-04-30T07:49:02.000Z
#ifdef WIN32 #include <windows.h> #endif #include <stdint.h> #include "sdl/window_sdl.h" #include "complete_notify.h" struct window_create_message { const char *caption; unsigned width; unsigned height; unsigned flags; window_sdl *this_window; window_close_callback *callback; }; bool wind...
34.779874
170
0.655696
franko
8fc9a7f68da384be8527c4e3455d645acc9b29b3
82
cpp
C++
deps/src/cmake-3.9.3/Tests/QtAutogen/mocPlugin/StyleE.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
2
2019-02-08T08:45:27.000Z
2020-09-07T05:55:18.000Z
deps/src/cmake-3.9.3/Tests/QtAutogen/mocPlugin/StyleE.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
deps/src/cmake-3.13.4/Tests/QtAutogen/mocPlugin/StyleE.cpp
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
1
2019-06-01T18:49:28.000Z
2019-06-01T18:49:28.000Z
#include "StyleE.hpp" QStyle* StyleE::create(const QString& key) { return 0; }
11.714286
42
0.682927
shreyasvj25
8fc9e724a31df2a22f287ca6b0a7297dc0975dab
2,303
cpp
C++
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/FASHION - Fashion Shows.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*FASHION - Fashion Shows #ad-hoc-1 A fashion show rates participants according to their level of hotness. Two different fashion shows were organized, one for men and the other for women. A date for the third is yet to be decided ;) . Now the results of both fashion shows are out. The participants of both the fashion...
30.706667
330
0.680417
ravirathee
8fcc6469197dd37ec3edc73ec51ffe09c419314f
484
cpp
C++
Algorithms/0259.3Sum_Smaller.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/0259.3Sum_Smaller.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/0259.3Sum_Smaller.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class Solution { public: int threeSumSmaller(vector<int>& ar, int target) { int n = ar.size() , ans = 0; sort(ar.begin(),ar.end()); for( int i = 0 ; i < n ; i++ ) { int k = n-1; for( int j = i+1 ; j < n ; j++ ) { while(k > j && ar[i]+ar[j]+ar[k] >= tar...
26.888889
59
0.334711
metehkaya
8fcea9f16a2ffc3d8b5979e99318ca31293cd384
1,049
cpp
C++
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_DinoEntry_Allosaurus_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_DinoEntry_Allosaurus_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
26.225
143
0.655863
2bite
8fd269d39cade5864bc69bbb61750d8df7d2c949
4,572
hpp
C++
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
test/performance/alignment/edit_distance_benchmark_template.hpp
qPCR4vir/seqan3
67ebf427dc1d49fb55e684acc108ed75d224f5d4
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
45.72
117
0.615048
qPCR4vir
8fdd77884d513302f116b2b80b40fc88ef0aa37f
3,411
cc
C++
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
null
null
null
src/2lgc/pattern/publisher/publisher_ip.cc
Joyero/lib2lgc
5ef337ebe167fd68d2432b6297e25d4e533cb612
[ "Apache-2.0" ]
1
2019-04-23T14:53:34.000Z
2019-04-23T14:53:34.000Z
/* * Copyright 2018 LE GARREC Vincent * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
28.663866
94
0.715919
Joyero
8fde7ac2661ec45703ac4816fbb5baa2b5199040
6,277
inl
C++
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
1
2021-01-02T22:15:14.000Z
2021-01-02T22:15:14.000Z
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
null
null
null
src/kernel/sched/pid.c.inl
GrieferAtWork/KOSmk2
446a982c7930eeb48710bcb234c4e4b15446b869
[ "Zlib" ]
1
2019-10-21T17:39:46.000Z
2019-10-21T17:39:46.000Z
/* Copyright (c) 2017 Griefer@Work * * * * This software is provided 'as-is', without any express or implied * * warranty. In no event will the authors be held liable for any damages * ...
35.067039
127
0.670065
GrieferAtWork
8fe27532fb4b2ce66fac217b7132d6f6ab7fc091
28,975
cpp
C++
lib/sunmoon/sunmoon.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
lib/sunmoon/sunmoon.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
lib/sunmoon/sunmoon.cpp
thorsten-l/ESP32-Weather-Forecast
1d08d0386936fedce37f3e21050e1d7b604ff03d
[ "Apache-2.0" ]
null
null
null
/* Entfernen Sie folgende Informationen auf keinen Fall: / Do not remove following text: Source code based on the javascript by Arnold Barmettler, www.astronomie.info / www.CalSky.com based on algorithms by Peter Duffett-Smith's great and easy book 'Practical Astronomy with your Calculator'. */ #include "sunmoon....
42.925926
187
0.684452
thorsten-l
8fe5c3b8d48d0137830e12e0b5ae77aa5948f390
885
hpp
C++
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
sophus_ros_conversions/include/sophus_ros_conversions.hpp
mortaas/sophus_ros_toolkit
d803a2b9639033d7fc87a9454ae7824a5c1ef653
[ "BSD-2-Clause" ]
null
null
null
/** * @file /sophus_ros_conversions/include/sophus_ros_conversions/sophus_ros_conversions.hpp */ /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef sophus_ros_conversions_SOPHUS_ROS_CONVERSION...
38.478261
90
0.39096
mortaas
8ff07693ae1080f536727bb2554245ce0208a363
2,826
cpp
C++
uva/1047.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/1047.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/1047.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (UVa) 1047 #include <bits/stdc++.h> #define FOR(i, a, b) for (int i = a; i < b; ++i) #define FORe(i, a, b) for (int i = a; i <= b; ++i) #define PAI(arr, len) /*Print array of integers*/ \ for (int _i = 0; _i < len; ++_i) { \ if (_i != len - 1) { ...
31.054945
77
0.491154
btjanaka
8ff30c72198e4e0fa0117c6a222504a4dc19c4ad
1,356
cpp
C++
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
28
2019-11-05T12:23:01.000Z
2022-03-22T10:01:53.000Z
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
7
2020-03-28T12:44:08.000Z
2022-01-23T17:02:27.000Z
aplcore/src/utils/corelocalemethods.cpp
DamianMehers/apl-core-library
9c003dbfc8bc90709396c07179c523473d380db1
[ "Apache-2.0" ]
15
2019-12-25T10:15:52.000Z
2021-12-30T03:50:00.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" ...
29.478261
94
0.669617
DamianMehers
8ff4e14cb0d7d71254592165830773d2d85e93ed
2,541
cpp
C++
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
foobar2000/foobar2000/foo_vis_taskbar/main.cpp
vakuras/vis_taskbar
b11584ad6953ea0dc23e1ae2a30d9269a8134d42
[ "MIT" ]
null
null
null
#include "foo_vis_taskbar.h" #pragma comment(lib, "..\\shared\\shared.lib") // Foobar2K Component Variables #define COMPONENT_NAME "foo_vis_taskbar" #define COMPONENT_VERSION "0.1" #define COMPONENT_DESCRIPTION "foo_vis_taskbar (c) vDk. 2010.\n\nfoo_vis_taskbar displays a visualization behind MS Windows 7 task...
26.46875
136
0.74144
vakuras
8ff4ff69c86f9d8b38e7992f4e3dc8962a6a9424
282
hxx
C++
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/reactor/http/Client.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
namespace elle { namespace reactor { namespace http { template <typename ... Args> Request Client::request(Args&& ... args) { Request res(std::forward<Args>(args)...); this->_register(res); return res; } } } }
15.666667
49
0.507092
infinitio
8ff5bef569769e94002351367c88c5a98f91ddcc
3,064
cpp
C++
src/add-ons/screen_savers/gravity/ConfigView.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/screen_savers/gravity/ConfigView.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/screen_savers/gravity/ConfigView.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com> * Copyright 2014-2016 Haiku, Inc. All rights reserved. * * Distributed under the terms of the MIT license. * * Authors: * Tri-Edge AI * John Scipione, jscipione@gmail.com */ #include "ConfigView.h" #include <LayoutBuilder.h> #include <ListView.h> ...
26.877193
75
0.738577
Kirishikesan
8ff5e2c9ec572fe7baa63217e1d767a11e1c32b8
1,969
cpp
C++
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-097/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); const int MAX_M = (int)(1e5 + 5); ///////////////////////////////////////////////////////// // node in { 0, ... } class UnionFind { public: stat...
18.231481
73
0.476384
MonadicDavidHuang
8ffcbce1424bb74fb833809b0c3c9b3b43b1d3f3
6,470
cpp
C++
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
2
2019-08-24T08:51:44.000Z
2020-12-24T05:54:48.000Z
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
null
null
null
src/CameraComponent.cpp
southdy/platformer
9d794338ac4d18ac439b5b47bab3cfeb538f79bb
[ "Apache-2.0" ]
2
2019-08-24T08:51:45.000Z
2020-12-24T05:54:51.000Z
#include "CameraComponent.h" #include "Common.h" #include "GameObject.h" #include "GameObjectController.h" #include "Messages.h" #include "PlayerComponent.h" #include "Scene.h" namespace game { CameraComponent::CameraComponent() : _camera(nullptr) , _player(nullptr) , _previousZoom(0.0f) ...
32.84264
126
0.63864
southdy
8fffedffa30031bcd5c9d2496f82e13057beed6e
663
cpp
C++
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Examen3PC/P6_OddManOut/OddManOut.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* link: https://open.kattis.com/problems/oddmanout */ int N, n = 0, G, tmp, res; int main(int argc, char const *argv[]) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin >> N; while(n++ < N){ unordered_map<int, int> odds...
19.5
60
0.446456
VanessaMMH
890736d44600075e0747c7c10fa2c1f3c3cf71da
920
cpp
C++
09/FixedVectorExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
60
2018-12-22T01:59:21.000Z
2022-02-16T07:34:51.000Z
09/FixedVectorExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
null
null
null
09/FixedVectorExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
32
2018-12-25T01:20:02.000Z
2022-01-16T01:59:33.000Z
#include <iostream> #include "FixedVector.h" #include "FixedVectorExample.h" #include "IntVector.h" using namespace std; namespace samples { void FixedVectorExample() { FixedVector<int, 3> scores; scores.Add(10); scores.Add(50); cout << "scores - <Size, Capacity>: " << "<" << scores.GetSize() << ", " ...
24.864865
76
0.627174
memnoth
890afbc648cfab0ef765008fba8a4c1ffab17e03
1,984
cpp
C++
src/telecomms/msp_payloads/transmit_packet.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
10
2018-04-28T04:44:56.000Z
2022-02-06T21:12:13.000Z
src/telecomms/msp_payloads/transmit_packet.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
null
null
null
src/telecomms/msp_payloads/transmit_packet.cpp
MelbourneSpaceProgram/msp_flight_software_public
de290a2e7181ac43af1232b2ffbca2db8ec4ecd2
[ "MIT" ]
3
2019-02-16T03:22:26.000Z
2022-02-03T14:54:22.000Z
#include <src/messages/serialised_message_builder.h> #include <src/telecomms/lithium.h> #include <src/telecomms/msp_payloads/transmit_packet.h> #include <src/telecomms/msp_payloads/transmit_payload.h> #include <src/telecomms/fec/rs8.h> #include <xdc/runtime/Log.h> #include <src/util/msp_exception.h> #include <src/util/...
35.428571
80
0.693044
MelbourneSpaceProgram
890cba4c34d8684ccc4c4aab3fb579aa858a534d
513
cpp
C++
examples/2_svg_parser.cpp
tyt2y3/tinybind
04a50a813521b468ae3994f848baac0c6f61e4dc
[ "Unlicense", "MIT" ]
18
2015-02-25T09:04:38.000Z
2021-06-10T13:57:20.000Z
examples/2_svg_parser.cpp
chinarouter/tinybind2
d4e898332cdfd1ecf47cee382ad1d8b3f0cabf11
[ "Unlicense", "MIT" ]
1
2016-03-18T11:03:31.000Z
2016-03-24T17:32:56.000Z
examples/2_svg_parser.cpp
tyt2y3/tinybind
04a50a813521b468ae3994f848baac0c6f61e4dc
[ "Unlicense", "MIT" ]
12
2015-04-09T06:34:49.000Z
2020-06-09T11:42:22.000Z
#include "../tinybind.h" //compile by g++ ../tinybind.cpp 2_svg_parser.cpp -o 2_svg_parser #include <string> #include <vector> #include <stdio.h> using namespace std; #include "../tinybind_struct.h" #include "2_svg.h" #include "../tinybind_xml.h" #include "2_svg.h" #include "../tinybind_clean.h" int main() { TiXmlD...
17.1
65
0.678363
tyt2y3
890ccbbbe9f804241fdd6140be20a3c4a22410e7
1,441
cpp
C++
W_eclipse1_3/ch08.Wiimote/jni/WiiCNew/src/log/training.cpp
00wendi00/MyProject
204a659c2d535d8ff588f6d926bf0edc7f417661
[ "Apache-2.0" ]
1
2019-04-28T11:57:07.000Z
2019-04-28T11:57:07.000Z
W_eclipse1_3/ch08.Wiimote/jni/WiiCNew/src/log/training.cpp
00wendi00/MyProject
204a659c2d535d8ff588f6d926bf0edc7f417661
[ "Apache-2.0" ]
null
null
null
W_eclipse1_3/ch08.Wiimote/jni/WiiCNew/src/log/training.cpp
00wendi00/MyProject
204a659c2d535d8ff588f6d926bf0edc7f417661
[ "Apache-2.0" ]
null
null
null
#include "training.h" Training::~Training() { clear(); } /*** * Load data into a single training */ void Training::loadTraining(ifstream& infile) { string line; getline(infile,line); if(line == "acc") { loadAccTraining(infile); logType = LOG_ACC; } else cout << "[Error]: bad log type." << endl; } vo...
17.361446
78
0.572519
00wendi00
891218f5b98c4d19e6640485ac2923287aa810f8
1,738
cpp
C++
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
1
2020-12-16T19:08:51.000Z
2020-12-16T19:08:51.000Z
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
null
null
null
USACO/Bronze/2015Dec/ContaminatedMilk.cpp
polarr/competitive-programming
06e41fd72c785eb5621e20669d76ed99fafab901
[ "CC0-1.0" ]
null
null
null
/** Code by 1egend **/ // Problem: Contaminated Milk - USACO 2015 DEC BRONZE Q3 #include <bits/stdc++.h> using namespace std; #define pb push_back #define ull unsigned long long const int MAX_N = 1e5 + 1; const int MOD = 1e9 + 7; ifstream fin("badmilk.in"); ofstream fout("badmilk.out"); void solve(){ int n, m, d, s...
20.939759
125
0.547181
polarr
8913422715206f148300fbab514d5b1e42ffaf81
2,229
hpp
C++
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
1
2021-04-12T19:31:40.000Z
2021-04-12T19:31:40.000Z
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
null
null
null
cplusplus/src/Core/Input.hpp
TeodorVecerdi/saxion_cplusplus
5ffb57deb9d43b21cc72329d04f90185ecb858ad
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Window/Event.hpp> class Input { public: inline static int mouseX; inline static int mouseY; static void setKey(int key, sf::Event::EventType mode) { bool press = mode == sf::Event::EventType::KeyPressed; if (press) { keydown[key] = true; lastKeyDown = key; } else { keyup...
21.228571
64
0.67878
TeodorVecerdi
891498db6ea5d00d8ce714b276b0d074688f987c
610
cpp
C++
day2/02_layout/smallwidget.cpp
fuzongjian/QtStudy
cff7b1848b3287f4e172f69d0a3c3cfa48bd07af
[ "Apache-2.0" ]
1
2018-10-18T06:38:35.000Z
2018-10-18T06:38:35.000Z
day2/02_layout/smallwidget.cpp
fuzongjian/QtStudy
cff7b1848b3287f4e172f69d0a3c3cfa48bd07af
[ "Apache-2.0" ]
null
null
null
day2/02_layout/smallwidget.cpp
fuzongjian/QtStudy
cff7b1848b3287f4e172f69d0a3c3cfa48bd07af
[ "Apache-2.0" ]
1
2018-10-18T06:39:02.000Z
2018-10-18T06:39:02.000Z
#include "smallwidget.h" #include <QSpinBox> #include <QSlider> #include <QHBoxLayout> SmallWidget::SmallWidget(QWidget *parent) : QWidget(parent) { QSpinBox * spin = new QSpinBox(this); QSlider * slider = new QSlider(Qt::Horizontal,this); QHBoxLayout * layout = new QHBoxLayout;//如果没有指定父对象,需要setLayout设置 ...
26.521739
79
0.695082
fuzongjian
89193cb00f97eeb6751f65cc98a72e4a64d03a7d
11,051
cpp
C++
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/core/src/MonteCarlo_SimulationElectronProperties.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_SimulationElectronProperties.cpp //! \author Alex Robinson, Luke Kersting //! \brief Simulation electron properties class def. //! //---------------------------------------------------------------------------// ...
30.78273
89
0.780472
bam241
891a2392017f84c39efb7669ea4ac5d670137760
3,155
hpp
C++
modules/cvv/src/gui/overview_table_row.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/cvv/src/gui/overview_table_row.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/cvv/src/gui/overview_table_row.hpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
#ifndef CVVISUAL_OVERVIEWTABLEROW_HPP #define CVVISUAL_OVERVIEWTABLEROW_HPP #include <vector> #include <QTableWidget> #include <QString> #include <QPixmap> #include "../impl/call.hpp" #include "../util/util.hpp" namespace cvv { namespace gui { /** * @brief A UI wrapper for an impl::Call, providing utility and UI ...
21.909722
77
0.676387
Nondzu
891a87b669334eb055fc393403c19d7478e90287
7,076
cpp
C++
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
5
2021-07-25T14:53:20.000Z
2022-03-29T06:21:23.000Z
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
null
null
null
sw/src/skt.cpp
fpgasystems/SKT
828e32de9f344f53bbd061d2b8c7642164105e48
[ "BSD-3-Clause" ]
1
2021-10-01T10:55:29.000Z
2021-10-01T10:55:29.000Z
/** * Copyright (c) 2020, Systems Group, ETH Zurich * All rights reserved. * * 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 lis...
36.287179
104
0.615885
fpgasystems
891e32a7c8cc6b810d9135ddf7c1ef7f0606e031
1,733
cxx
C++
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/neutron/nudy/src/TVNudyModelFile3.cxx
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "Geant/TVNudyModel.h" #include "TList.h" #include "Geant/TNudyEndfFile.h" #include "Geant/TNudyEndfTab1.h" #include "Geant/TNudyCore.h" using namespace Nudy; //______________________________________________________________________________ void TVNudyModel::ReadFile3(TNudyEndfFile *file) { TIter secIter(fil...
32.092593
103
0.633583
Geant-RnD
89213495e2dbbcbe313f141d110c7ea65a1fbbc4
5,557
cpp
C++
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Vessel/ShuttleA/mfdbutton.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// Copyright (c) Martin Schweiger // Licensed under the MIT License // ============================================================== // ORBITER MODULE: ShuttleA // Part of the ORBITER SDK // // mfdbutton.cpp // User interface for MFD buttons // ========================================...
32.881657
145
0.502069
Ybalrid
8921c83c983eccabc8ad5fcc4c4c8b02c1a18638
2,947
cpp
C++
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
gui/ctrl/look/tree.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
/** * @copyright (c) 2016-2021 Ing. Buero Rothfuss * Riedlinger Str. 8 * 70327 Stuttgart * Germany * http://www.rothfuss-web.de * * @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a> * * Projec...
29.178218
99
0.531388
r3dl3g
892541845c98898efa6104b194f61390ac75ee4e
1,903
hpp
C++
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
7
2019-01-20T08:36:51.000Z
2021-09-04T19:03:53.000Z
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
9
2018-08-06T03:30:47.000Z
2022-03-08T17:28:07.000Z
tools/io.hpp
pzh2386034/phosphor-ipmi-flash
c557dc1302e46c60431af8b55056c5d24331063b
[ "Apache-2.0" ]
4
2019-08-22T21:03:59.000Z
2021-12-17T10:00:05.000Z
#pragma once #include "internal/sys.hpp" #include "io_interface.hpp" #include <cstdint> #include <string> namespace host_tool { class DevMemDevice : public HostIoInterface { public: explicit DevMemDevice(const internal::Sys* sys = &internal::sys_impl) : sys(sys) {} ~DevMemDevice() = default; ...
26.430556
75
0.663163
pzh2386034
8927c202b3b63c7628ad6fa8ee59673ad134e1ba
14,673
cpp
C++
DNN_Primitives/code/amd/eventGEMM.cpp
hpc-ulisboa/nonconventional-dvfs
e1a633e541be93da0b41d27047627116f902e3b8
[ "MIT" ]
1
2021-12-02T22:40:53.000Z
2021-12-02T22:40:53.000Z
DNN_Primitives/code/amd/eventGEMM.cpp
TheEmbbededCoder/GPU-Characterization
297031f6cd7008df62a7e37927308310daebe003
[ "MIT" ]
null
null
null
DNN_Primitives/code/amd/eventGEMM.cpp
TheEmbbededCoder/GPU-Characterization
297031f6cd7008df62a7e37927308310daebe003
[ "MIT" ]
1
2022-01-11T16:48:50.000Z
2022-01-11T16:48:50.000Z
#include <chrono> #include <iomanip> #include <iostream> #include <memory> #include <stdexcept> #include <tuple> #include <vector> #include <cmath> #include <rocblas.h> #include <cstdlib> #include "tensor.h" #include "gemm_problems.h" #include <limits> #include <unistd.h> #include <sys/wait.h> #include <signal.h> ...
31.691145
136
0.491311
hpc-ulisboa
892de3217eadc76496b986f9b02315dfb9d31a50
4,781
cpp
C++
Mains/offline_sec_path_modelling.cpp
psykulsk/RpiANC
8ca3f54cdfb90ca3bf31d492714851c919c5ae39
[ "MIT-0", "MIT" ]
54
2019-12-07T06:04:11.000Z
2022-03-10T22:52:37.000Z
Mains/offline_sec_path_modelling.cpp
psykulsk/RpiANC
8ca3f54cdfb90ca3bf31d492714851c919c5ae39
[ "MIT-0", "MIT" ]
5
2020-09-20T15:00:11.000Z
2021-12-15T22:18:25.000Z
Mains/offline_sec_path_modelling.cpp
psykulsk/RpiANC
8ca3f54cdfb90ca3bf31d492714851c919c5ae39
[ "MIT-0", "MIT" ]
9
2019-04-15T08:00:18.000Z
2021-11-12T10:14:03.000Z
#include <vector> #include <chrono> #include <iostream> #include <omp.h> #include <random> #include "../Headers/capture.h" #include "../Headers/playback.h" #include "../Headers/processing.h" #include "../Headers/common.h" #include "../Headers/LMSFilter.h" #define DEPLOYED_ON_RPI #define FEEDFORWARD int main() { ...
36.776923
139
0.662623
psykulsk
892e46556209b2d612654a7e8d719f7ffb9117b0
1,257
cpp
C++
src/Network/test-parameters.cpp
wt-student-projects/computer-game-ai
33eb9e5334f64a4290c1196b2a2709c71bc1917b
[ "Apache-2.0" ]
1
2019-10-13T02:56:45.000Z
2019-10-13T02:56:45.000Z
src/Network/test-parameters.cpp
bsc-william-taylor/computer-game-ai
33eb9e5334f64a4290c1196b2a2709c71bc1917b
[ "Apache-2.0" ]
1
2017-04-08T20:50:57.000Z
2017-04-09T00:57:49.000Z
src/Network/test-parameters.cpp
wt-student-projects/computer-game-ai
33eb9e5334f64a4290c1196b2a2709c71bc1917b
[ "Apache-2.0" ]
null
null
null
#include "test-parameters.h" TestParameters::TestParameters(const char* filename) { XMLDocument document; document.LoadFile(filename); auto rootOne = getRootNode(document, "Settings", "SettingsMLP"); auto rootTwo = getRootNode(document, "Settings", "SettingsRBF"); mlp.errorThreshold = atof(root...
39.28125
96
0.733492
wt-student-projects
8930eedfefd7955d96c854d94b15ee5af5eeccff
7,002
cc
C++
mindspore/lite/tools/converter/micro/coder/opcoders/custom/custom_coder.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
1
2022-03-05T02:59:21.000Z
2022-03-05T02:59:21.000Z
mindspore/lite/tools/converter/micro/coder/opcoders/custom/custom_coder.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/converter/micro/coder/opcoders/custom/custom_coder.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
42.180723
117
0.609397
zhz44
893446b9fa99dbdb6046a924cf6fe20fb61cd374
11,760
cpp
C++
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
1
2022-03-19T20:15:50.000Z
2022-03-19T20:15:50.000Z
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
12
2022-03-22T21:18:14.000Z
2022-03-30T05:37:58.000Z
src/tests/test_observable.cpp
victimsnino/ReactivePlusPlus
bb187cc52936bce7c1ef4899d7dbb9c970cef291
[ "MIT" ]
null
null
null
// ReactivePlusPlus library // // Copyright Aleksey Loginov 2022 - present. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/victimsnin...
35.104478
152
0.596684
victimsnino
89372d171068edef7343e00f2ab26d18d94f848d
273
cpp
C++
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
LPI/aula18/src/Caixa.cpp
dayvisonmsilva/LPI
0e3186e03b0ed438795f513dd968911c6845f5e4
[ "Apache-2.0" ]
null
null
null
#include "../include/Caixa.hpp" Caixa::Caixa(string nome, double salario, double valor) : Funcionario(nome, salario), valor(valor){ } Caixa::Caixa(){} void Caixa::setValor(double valor){ this->valor = valor; } double Caixa::getValor(){ return this->valor; }
15.166667
99
0.673993
dayvisonmsilva
8938219cce88bb3f4b9affd3b266c96e38de4039
14,839
cpp
C++
src/xci/script/ast/resolve_symbols.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
11
2019-08-21T12:48:45.000Z
2022-01-21T01:49:01.000Z
src/xci/script/ast/resolve_symbols.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
3
2019-10-20T19:10:41.000Z
2021-02-11T10:32:40.000Z
src/xci/script/ast/resolve_symbols.cpp
rbrich/xcik
4eab7d1dfc8b0bc269137e28af076be943c15041
[ "Apache-2.0" ]
1
2020-10-09T20:08:17.000Z
2020-10-09T20:08:17.000Z
// resolve_symbols.cpp created on 2019-06-14 as part of xcikit project // https://github.com/rbrich/xcikit // // Copyright 2019–2021 Radek Brich // Licensed under the Apache License, Version 2.0 (see LICENSE file) #include "resolve_symbols.h" #include <xci/script/Function.h> #include <xci/script/Module.h> #include <xc...
34.191244
119
0.558326
rbrich
893930e5bcae774717a0c2d4e0fc5c9960449624
1,865
cpp
C++
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
null
null
null
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
null
null
null
blackscholes.cpp
TarekProjects/Monte-Carlo
46b7ad2ced2800b39d7d61101435335f0e36c87d
[ "MIT" ]
1
2019-01-12T10:15:35.000Z
2019-01-12T10:15:35.000Z
// Tarek Frahi #include <cmath> #include <numeric> #include "normal.hpp" #include "blackscholes.hpp" using namespace std; class BlackScholes { public: BlackScholes(void){} ~BlackScholes(void){} BS BSPrice( double S0, double K, double r, double q, double v, ...
30.080645
96
0.505094
TarekProjects
893af12217677fc2186eb76dfe27dbbdda00a52e
1,482
cpp
C++
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
date_input.cpp
Jonathan-Harty/Member-Management-System
65387cd8e786eebccb13b0d1d5da327bb43f7956
[ "MIT" ]
null
null
null
#include "date_input.h" DateInput::DateInput(QWidget *parent) : QWidget(parent) { dayInput = new QComboBox; fillDay(dayInput); monthInput = new QComboBox; fillMonth(monthInput); yearInput = new QComboBox; fillYear(yearInput); dateLayout = new QHBoxLayout; dateLayout->addWid...
21.794118
56
0.591093
Jonathan-Harty
9f13e5fa7d659beabe44f5099c35253a48976e44
6,882
cpp
C++
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
evie/utils.cpp
sni4ok/mgame
adda2a23055550ee2d992d3bd183e6983b52f395
[ "MIT" ]
null
null
null
/* author: Ilya Andronov <sni4ok@yandex.ru> */ #include "utils.hpp" #include "mlog.hpp" #include <errno.h> void throw_system_failure(const std::string& msg) { throw std::runtime_error(es() % (errno ? strerror(errno) : "") % ", " % msg); } std::string to_string(double value) { char buf[32]; uint32_t ...
26.988235
134
0.569021
sni4ok
9f13f58c75a24002b459deff3ea2256977bd615a
720
cpp
C++
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
null
null
null
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
null
null
null
urlRegex.cpp
StetsonMathCS/hint
a6aaa510eea0781c9f6c06252adae7a51d654eda
[ "MIT" ]
2
2020-04-23T20:29:37.000Z
2020-04-27T23:24:27.000Z
//Author: Cole Spitzer //Date 05-01-20 //Purpose: To go through the map and add all of the answers to the Data Structure #include "urls.cpp" //What this does is get the URL from the myMap. Which we are stroing as hint,URL, answer //it then runs it through the function answer //this gives us back the answer from the f...
34.285714
140
0.693056
StetsonMathCS
9f16e9609559303bb0f17158f123add7bb3456d2
1,848
cc
C++
game/material.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
2
2015-03-12T16:19:10.000Z
2015-11-24T20:23:26.000Z
game/material.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
15
2015-03-14T14:13:12.000Z
2015-06-02T18:39:55.000Z
game/material.cc
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
#include "material.hh" std::set<SharedTexture2D> Material::allTexturesSet = std::set<SharedTexture2D>(); std::vector<SharedTexture2D> Material::allTexturesVector = std::vector<SharedTexture2D>(); Material::Material(std::string filePath, float ambientFactor, float diffuseFactor, float specularFactor, float shi...
28.430769
105
0.719156
Faerbit
9f1b831c1cfee6211693c05549a1b6c73546f199
2,087
cc
C++
instrumentation/windows-x86-markers/common.cc
fengjixuchui/bochspwn-reloaded
8e5884441b7b9f953ebdac61d0c869cb85aefcc7
[ "Apache-2.0" ]
149
2018-08-22T13:17:25.000Z
2018-09-10T01:31:04.000Z
instrumentation/windows-x86-markers/common.cc
fengjixuchui/bochspwn-reloaded
8e5884441b7b9f953ebdac61d0c869cb85aefcc7
[ "Apache-2.0" ]
7
2018-10-30T13:15:13.000Z
2021-01-20T06:42:16.000Z
instrumentation/windows-x86-markers/common.cc
fengjixuchui/bochspwn-reloaded
8e5884441b7b9f953ebdac61d0c869cb85aefcc7
[ "Apache-2.0" ]
29
2018-09-12T01:32:30.000Z
2021-12-28T02:22:44.000Z
///////////////////////////////////////////////////////////////////////// // // Author: Mateusz Jurczyk (mjurczyk@google.com) // // Copyright 2017-2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain ...
26.75641
83
0.652132
fengjixuchui
9f1ca8e28d6d309edd4af3418aeaf494633a98f4
425,806
cpp
C++
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-02-23T09:13:07.000Z
2021-08-13T14:15:06.000Z
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
3
2021-12-02T17:51:48.000Z
2022-03-04T20:02:32.000Z
src/offset/profiles/win7_sp0_x86.cpp
MarkMankins/libosi
2d67ed8066098bc798a53c06dffb5ba257d89bde
[ "BSD-3-Clause" ]
2
2021-12-07T00:42:31.000Z
2022-03-04T15:42:12.000Z
#include "offset/offset.h" #include <map> #include <string> #define POINTER 0x80000000 #include "win7_sp0_x86.h" namespace windows_7sp0_x86 { enum Type : unsigned int { UNKNOWN, _WHEA_ERROR_RECORD_HEADER, _MMVAD_SHORT, _IO_WORKITEM, _WHEA_MEMORY_ERROR_SECTION, __unnamed_1c3f, _PROC_IDLE_S...
37.146122
90
0.570563
MarkMankins
9f1cb3ee3332a123f48ac49129aba3253e793b6c
3,057
cc
C++
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
2
2020-12-14T16:18:09.000Z
2020-12-17T10:42:17.000Z
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
null
null
null
puzzles/day_22/part2.cc
craig-chasseur/aoc2020
0174c04ba593d6bbc7b4e9bf57e31f46f76d8f06
[ "MIT" ]
1
2021-05-04T09:05:25.000Z
2021-05-04T09:05:25.000Z
#include <deque> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/numbers.h" #include "absl/strings/string_view.h" #include "util/check.h" #include "util/io.h" namespace { enum class Player { kPlayer1, kPlayer2 }; struct Winner { Player player...
29.114286
76
0.636899
craig-chasseur
9f1cf4573f1c73746ffff6d73afa16e6954b39d5
576
cpp
C++
7.Functions/7.14.topfive.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
1
2019-09-18T01:48:06.000Z
2019-09-18T01:48:06.000Z
7.Functions/7.14.topfive.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
1
2019-09-18T11:31:31.000Z
2019-09-22T04:47:31.000Z
7.Functions/7.14.topfive.cpp
HuangStomach/Cpp-primer-plus
c8b2b90f10057e72da3ab570da7cc39220c88f70
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; const int SIZE = 5; void display(const string sa[], int n); int main(int argc, char const *argv[]) { string list[SIZE]; cout << "Enter your " << SIZE << " favourite astronomical sights:\n"; for (int i = 0; i < SIZE; i++) { cout << i + 1 <...
21.333333
73
0.513889
HuangStomach
9f1cfdb1635c51b1f9dbb450001d84e99270af38
9,122
cpp
C++
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/ui/base/Clipboard.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/ui/base/Clipboard.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/WebView/Chromium/src/elastos/droid/webview/chromium/native/ui/base/Clipboard.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
31.564014
95
0.604144
jingcao80
9f1de8cbaaf6cb7b22aad742bc9f0bdb9e08fd06
1,286
hpp
C++
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
2
2020-12-01T15:13:08.000Z
2021-11-11T16:10:10.000Z
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
null
null
null
include/WgUtils/camera.hpp
TheVaffel/Wingine
17d5bf19a9c56a0e3ae6a84df2332319d82e9493
[ "MIT" ]
null
null
null
#ifndef WGUT_CAMERA_HPP #define WGUT_CAMERA_HPP #include <FlatAlg.hpp> namespace wgut { class Camera{ const falg::Mat4 clip = {1.f, 0.f, 0.f, 0.f, 0.f, -1.f, 0.f, 0.f, 0.f, 0.f, 0.5f, 0.5f, 0.f, 0.f, 0.0f, 1...
28.577778
130
0.531104
TheVaffel
9f21a8214d428f2e6b81e4587ac90618eb62c19e
470
cc
C++
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
2
2022-01-01T16:55:02.000Z
2022-03-16T14:47:29.000Z
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
jax/training/21-05/21-05-30-weekly/c_caesar_cipher.cc
JaxVanYang/acm
ee41f1cbf692b7b1463a9467401bb6e7d38aecce
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int maxn = 55; char s[3][maxn]; void solve() { int n, m; scanf("%d%d", &n, &m); for (int i = 0; i < 3; ++i) scanf("%s", s + i); int shift = (s[0][0] - s[1][0] + 26) % 26; for (int i = 0; i < m; ++i) s[2][i] = 'A' + (s[2][i] - 'A' + shift) % 26; pu...
20.434783
77
0.412766
JaxVanYang
9f253590aba3761bf8ce36cbc91226192ca096be
1,207
cc
C++
code30/cpp/20190816/bo_thread/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
2
2020-12-09T09:55:51.000Z
2021-01-08T11:38:22.000Z
mycode/cpp/0820/networklib/v4/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
null
null
null
mycode/cpp/0820/networklib/v4/Thread.cc
stdbilly/CS_Note
a8a87e135a525d53c283a4c70fb942c9ca59a758
[ "MIT" ]
null
null
null
/// /// @file Thread.cc /// @author lemon(haohb13@gmail.com) /// @date 2019-08-15 09:41:33 /// #include "Thread.h" #include <iostream> using std::cout; using std::endl; namespace wd { namespace current_thread { __thread const char * threadName = "wd thread"; } //end of namespace current_thread using ...
15.278481
77
0.656172
stdbilly
9f26daa7777bdcc0e95b682b3283246113ebf5fe
740
hpp
C++
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
1
2022-02-10T20:25:00.000Z
2022-02-10T20:25:00.000Z
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
null
null
null
include/libembeddedhal/input_pin/pin_resistors.hpp
MaliaLabor/libembeddedhal
9f40affd438602df7ad818a1573c51347fd753bd
[ "Apache-2.0" ]
null
null
null
#pragma once namespace embed { /** * @brief Set of possible pin mode resistor settings. * * See each enumeration to get more details about when and how these should be * used. * */ enum class pin_resistor { /// No pull up. This will cause the pin to float. This may be desirable if the /// pin has an external...
29.6
80
0.698649
MaliaLabor
9f2c414843dbe63a59b011a0fcde085232126728
459
cpp
C++
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
6
2018-07-11T07:11:24.000Z
2021-11-03T16:14:22.000Z
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
1
2019-02-28T14:55:49.000Z
2019-02-28T14:55:49.000Z
GUI.cpp
OUDON/etumble
bc522eaa75b861460a0a781bcd0c6b1cd6325c17
[ "MIT" ]
null
null
null
#include "GUI.hpp" #include "common.hpp" #include <QPushButton> GUI::GUI() : app(nullptr) {} int GUI::start(int *argcp, char *argv[]) { if (app != nullptr) { std::cerr << "This application is already started." << std::endl; return -1; } app = new QApplication(*argcp, argv); main_win...
17
73
0.592593
OUDON
9f330f70555bb8bbaa236f8dd8554c47ac9050cc
1,914
hpp
C++
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Math/Include/Quaternion.hpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#pragma once #ifndef _MATH_QUATERNION_HPP_ #define _MATH_QUATERNION_HPP_ #include <cmath> #include "Vector3.hpp" namespace Fnd { namespace Math { struct Quaternion { float x; float y; float z; float w; inline Quaternion() { } inline Quaternion( float x_, float y_, float z_, float w...
18.403846
84
0.524556
jordanlittlefair
9f3d842872eb863f20a98efd033a334c6db9ba4f
3,293
cpp
C++
ChaosNodeDirectory/ChaosNodeDirectory.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
2
2020-04-16T13:20:57.000Z
2021-06-24T02:05:25.000Z
ChaosNodeDirectory/ChaosNodeDirectory.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
ChaosNodeDirectory/ChaosNodeDirectory.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
/* * ChaosNodeDirectory.cpp * !CHOAS * Created by Bisegni Claudio. * * Copyright 2012 INFN, National Institute of Nuclear Physics * * 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 t...
26.991803
96
0.668387
fast01
9f3dd9e7dc58aa88167112f45b111e72d4469cdc
3,490
hpp
C++
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Utility/Calendar/kCalendarToString.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Date/kDate.hpp" #include "Time/kTime.hpp" #include "../String/kToString.hpp" namespace klib::kString::stringify { using namespace klib::kCalendar; ///////////////////////////////////////////////////////////////////////////////////////////////// // Date Components //////////////////////////...
26.439394
98
0.589685
KingKiller100
9f3e3b5270eb8ecbbdf4862ecdcfafdc6caef1bd
1,753
hpp
C++
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKitNet
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
28
2018-05-25T17:30:18.000Z
2020-08-05T01:56:57.000Z
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKit-net
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
2
2018-10-05T05:27:44.000Z
2020-03-20T17:05:44.000Z
AudioKit/AudioKitCore/Synth/VoiceBase.hpp
AudioKit/AudioKit-net
a6a367cb3fd2b0daac967a9d8c2f9807aa1184ed
[ "MIT" ]
2
2018-09-12T06:06:41.000Z
2020-05-20T15:12:09.000Z
// // VoiceBase.hpp // AudioKit Core // // Created by Shane Dunne, revision history on Github. // Copyright © 2018 AudioKit. All rights reserved. // #pragma once #include "VoiceBase.hpp" namespace AudioKitCore { struct VoiceBase { void* pTimbreParams; // pointer to a block of shared parameters...
38.108696
107
0.648032
AudioKit
9f3e68502b062b5c6be0cad399f716c0e4217f01
2,555
cpp
C++
GrannyViewer/iris/granny/grnbones.cpp
zerodowned/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
1
2019-02-08T18:03:28.000Z
2019-02-08T18:03:28.000Z
GrannyViewer/iris/granny/grnbones.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
null
null
null
GrannyViewer/iris/granny/grnbones.cpp
SiENcE/Iris1_DeveloperTools
0b5510bb46824d8939846f73c7e63ed7eecf827d
[ "DOC" ]
7
2015-03-11T22:06:23.000Z
2019-12-21T09:49:57.000Z
/***** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it...
22.8125
84
0.64227
zerodowned
9f4595290ef9342321ad8e9674156ecaa640962f
10,317
cpp
C++
ThirdParty/bullet-2.75/Demos/MiniCL_VectorAdd/MiniCL.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
32
2016-05-22T23:09:19.000Z
2022-03-13T03:32:27.000Z
ThirdParty/bullet-2.75/Demos/MiniCL_VectorAdd/MiniCL.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
2
2016-05-30T19:45:58.000Z
2018-01-24T22:29:51.000Z
ThirdParty/bullet-2.75/Demos/MiniCL_VectorAdd/MiniCL.cpp
CarysT/medusa
8e79f7738534d8cf60577ec42ed86621533ac269
[ "MIT" ]
17
2016-05-27T11:01:42.000Z
2022-03-13T03:32:30.000Z
#include <MiniCL/cl.h> #define __PHYSICS_COMMON_H__ 1 #ifdef WIN32 #include "BulletMultiThreaded/Win32ThreadSupport.h" #else #include "BulletMultiThreaded/SequentialThreadSupport.h" #endif #include "BulletMultiThreaded/MiniCLTaskScheduler.h" #include "BulletMultiThreaded/MiniCLTask/MiniCLTask.h" #include "LinearMath/b...
29.731988
130
0.635941
CarysT
9f473dbad1378b3eb01efb03fde9cb41369df537
588
cpp
C++
Matrici/linia_k.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
Matrici/linia_k.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
Matrici/linia_k.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <iostream> using namespace std; int main() { int a[100][100], i, j, n, m, k ; cout<<"Numarul de linii "; cin>>n; cout<<"Numarul de coloane "; cin>>m; for(i=1; i<=n; i++) { for(j=1; j<=m; j++) { cout<<"a["<<i<<"]["<<j<<"] = "; cin>>a[i][j]; ...
24.5
67
0.394558
rusucosmin
9f490601e6b3c5b143013344f59aaa4079a66c3b
13,215
cpp
C++
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
4
2020-12-22T17:48:49.000Z
2021-02-20T21:48:24.000Z
src/config.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Dmytro Shestakov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
32.389706
115
0.530685
hrandib
9f4cc1cd00d9043fcd67b630a410bfdc9ccb9a35
771
cpp
C++
206.reverse-linked-list.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
206.reverse-linked-list.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
206.reverse-linked-list.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=206 lang=cpp * * [206] Reverse Linked List */ // @lc code=start /** * 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, ListNo...
21.416667
62
0.50454
lurenhaothu
9f4dbb4dbc951452414d6b7c162d89560f673d8d
1,460
cpp
C++
C++/0786-K-th-Smallest-Prime-Fraction/soln-1.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0786-K-th-Smallest-Prime-Fraction/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0786-K-th-Smallest-Prime-Fraction/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: vector<int> kthSmallestPrimeFraction(vector<int>& A, int K) { // binary search double lo = 0.0, hi = 1.0; sort(A.begin(), A.end()); int n = A.size(); int a = 0, b = 0; while (lo < hi) { double mid = (lo + hi) / 2.0; // ...
33.181818
94
0.318493
wyaadarsh
9f4ee22bf3b076769425001d41005526fdc38834
1,512
cpp
C++
cpp/ast/LILVarName.cpp
veosotano/lil
da2d0774615827d521362ffb731e8abfa3887507
[ "MIT" ]
6
2021-01-02T16:36:28.000Z
2022-01-23T21:50:29.000Z
cpp/ast/LILVarName.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
cpp/ast/LILVarName.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
/******************************************************************** * * LIL Is a Language * * AUTHORS: Miro Keller * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This file encapsulates the name of a property * ***********************************...
20.432432
70
0.615079
veosotano
9f4f361258bc74463142207f6a7c9e03a5290791
549
hpp
C++
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
CalielOfSeptem/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
1
2017-03-30T14:31:33.000Z
2017-03-30T14:31:33.000Z
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
HoraceWeebler/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
null
null
null
telnetpp/include/telnetpp/detail/subnegotiation_router.hpp
HoraceWeebler/septem
fe7a615eb6c279d3746ee78de8864b5e07bf7e3e
[ "MIT" ]
null
null
null
#pragma once #include "telnetpp/detail/router.hpp" #include "telnetpp/subnegotiation.hpp" #include "telnetpp/element.hpp" #include <vector> namespace telnetpp { namespace detail { struct subnegotiation_router_key_from_message_policy { static telnetpp::u8 key_from_message(subnegotiation const &sub) { ...
18.931034
67
0.708561
CalielOfSeptem
9f506f6cad187b349c6b766f8524df0dd96d2763
1,554
cc
C++
tests/test_transport.cc
phisixersai/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
1
2015-07-03T13:18:34.000Z
2015-07-03T13:18:34.000Z
tests/test_transport.cc
rise-worlds/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
null
null
null
tests/test_transport.cc
rise-worlds/ppapi
a4d4a5a249d3f369903be3e1fa1a1dfd16de82e0
[ "BSD-3-Clause" ]
1
2020-01-16T01:46:31.000Z
2020-01-16T01:46:31.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/tests/test_transport.h" #include <string.h> #include <string> #include "ppapi/c/dev/ppb_testing_dev.h" #include "ppapi/c/dev/ppb_tr...
30.470588
79
0.743243
phisixersai
9f5141850f36a231c98af5f6e7f119d467c66d9c
3,200
cpp
C++
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
1
2017-07-17T12:36:34.000Z
2017-07-17T12:36:34.000Z
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
2
2016-10-30T13:46:59.000Z
2017-06-15T12:18:21.000Z
skye/ut_mock_template_function.cpp
coryan/Skye
cf02c2a37a3aa73bd0474f1068737b764f0a0c56
[ "Apache-2.0" ]
null
null
null
#include <skye/mock_template_function.hpp> #include <boost/test/unit_test.hpp> #include <sstream> /** * Define helper types for the tests. */ namespace { /// A non-copyable class struct test_no_copy { test_no_copy() : value(42) {} explicit test_no_copy(int x) : value(x) {} test_no_copy(test_...
23.529412
79
0.695313
coryan
9f52b781a7f5879c533c8a1408b524cf4890d8dc
2,026
cpp
C++
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
4
2018-10-11T19:59:07.000Z
2020-04-30T04:06:57.000Z
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
44
2018-10-09T16:21:14.000Z
2019-07-26T14:51:26.000Z
src/common/option.cpp
jdillenkofer/klong
b5aa9b5960f1d5398890f6fba0de6296ce405322
[ "MIT" ]
null
null
null
#include "common/option.h" namespace klong { Result<Option, std::string> parseOptions(int argc, char* argv[]) { Result<Option, std::string> optionResult; Option option; int c; while ((c = getopt(argc, argv, "hvcgdso:b:ip")) != -1) { switch (c) { c...
31.169231
70
0.459033
jdillenkofer
9f53c90f4b696d3007baee608c7f42749eab17ea
4,444
cpp
C++
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
416
2015-02-01T22:19:30.000Z
2022-03-29T10:48:00.000Z
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
24
2015-06-26T17:48:08.000Z
2021-11-06T00:20:58.000Z
src/visionaray/gl/debug_callback.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
39
2015-02-02T11:47:21.000Z
2022-03-29T10:44:43.000Z
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <iostream> #include <ostream> #include <sstream> #include <stdexcept> #include <string> #include <visionaray/detail/platform.h> #if defined(VSNRAY_OS_DARWIN) || defined(VSNRAY_OS_LINUX) #include <execinfo.h> #include <si...
25.837209
111
0.564131
tjachmann
9f53d7d339f4508c9640959cb2f8cbcdc2df1d51
2,066
cpp
C++
libraries/chain/webassembly/mos-vm-oc.cpp
moschain/moschain-master
418531f281a8a1fb58621bb7f38ad3202edce46f
[ "MIT" ]
null
null
null
libraries/chain/webassembly/mos-vm-oc.cpp
moschain/moschain-master
418531f281a8a1fb58621bb7f38ad3202edce46f
[ "MIT" ]
null
null
null
libraries/chain/webassembly/mos-vm-oc.cpp
moschain/moschain-master
418531f281a8a1fb58621bb7f38ad3202edce46f
[ "MIT" ]
null
null
null
#include <mos/chain/webassembly/mos-vm-oc.hpp> #include <mos/chain/wasm_mos_constraints.hpp> #include <mos/chain/wasm_mos_injection.hpp> #include <mos/chain/apply_context.hpp> #include <mos/chain/exceptions.hpp> #include <vector> #include <iterator> namespace mos { namespace chain { namespace webassembly { namespace ...
37.563636
167
0.707164
moschain
9f5627660d1ac41bcdd6b017984e6a090b0a579c
1,178
hpp
C++
include/argot/conc/expand/expansion_operator.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/conc/expand/expansion_operator.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/conc/expand/expansion_operator.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2018 Matt Calabrese 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) ===================================================...
30.205128
80
0.662139
mattcalabrese
9f56818db0dda76c839b0c53a9b7698665ac279c
82
cpp
C++
_WinMain/GameObject.cpp
SinJunghyeon/Battle-City
6e1427f6ea939e48ef3da65789d40372c005a8fb
[ "MIT" ]
null
null
null
_WinMain/GameObject.cpp
SinJunghyeon/Battle-City
6e1427f6ea939e48ef3da65789d40372c005a8fb
[ "MIT" ]
null
null
null
_WinMain/GameObject.cpp
SinJunghyeon/Battle-City
6e1427f6ea939e48ef3da65789d40372c005a8fb
[ "MIT" ]
null
null
null
#include "GameObject.h" void GameObject::Move() { } GameObject::GameObject() { }
9.111111
24
0.682927
SinJunghyeon
9f56f0487f8ab67087ec4f1436670af39c32c34c
5,466
cpp
C++
RVAF-GUI/teechart/gaugepointerrange.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
4
2018-03-31T10:45:19.000Z
2021-10-09T02:57:13.000Z
RVAF-GUI/teechart/gaugepointerrange.cpp
P-Chao/RVAF-GUI
3bbeed7d2ffa400f754f095e7c08400f701813d4
[ "BSD-2-Clause" ]
1
2018-04-22T05:12:36.000Z
2018-04-22T05:12:36.000Z
RVAF-GUI/teechart/gaugepointerrange.cpp
YangQun1/RVAF-GUI
f187e2325fc8fdbac84a63515b7dd67c09e2fc72
[ "BSD-2-Clause" ]
5
2018-01-13T15:57:14.000Z
2019-11-12T03:23:18.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 "gaugepointerrange.h" // Dispatch interfaces ref...
24.511211
139
0.709294
YangQun1
9f5f1cb969f3b4ad35874559a61e2fa45120f3d5
935
cpp
C++
tu/game_1.cpp
eoserv/mainclone-eoserv
e18e87f169140b6c0da80b9d866f672e8f6dced5
[ "Zlib" ]
2
2020-01-14T10:44:21.000Z
2020-01-15T08:01:55.000Z
tu/game_1.cpp
eoserv/mainclone-eoserv
e18e87f169140b6c0da80b9d866f672e8f6dced5
[ "Zlib" ]
null
null
null
tu/game_1.cpp
eoserv/mainclone-eoserv
e18e87f169140b6c0da80b9d866f672e8f6dced5
[ "Zlib" ]
null
null
null
/* $Id$ * EOSERV is released under the zlib license. * See LICENSE.txt for more info. */ #include "../src/character.cpp" #include "../src/command_source.cpp" #include "../src/map.cpp" #include "../src/npc.cpp" #include "../src/npc_ai.cpp" #include "../src/npc_data.cpp" #include "../src/party.cpp" #include "../src/...
32.241379
59
0.736898
eoserv
9f5f4594f6690ae362084dd9f79407db90b8933b
3,441
cc
C++
src/connectivity/openthread/third_party/openthread/platform/alarm.cc
dahlia-os/fuchsia-pine64-pinephone
57aace6f0b0bd75306426c98ab9eb3ff4524a61d
[ "BSD-3-Clause" ]
10
2020-12-28T17:04:44.000Z
2022-03-12T03:20:43.000Z
src/connectivity/openthread/third_party/openthread/platform/alarm.cc
oshunter/fuchsia
2196fc8c176d01969466b97bba3f31ec55f7767b
[ "BSD-3-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
src/connectivity/openthread/third_party/openthread/platform/alarm.cc
oshunter/fuchsia
2196fc8c176d01969466b97bba3f31ec55f7767b
[ "BSD-3-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * 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 ...
35.84375
93
0.768381
dahlia-os
9f61b4015d2b5d53db52124b775dc5ef2b6f1102
8,947
cpp
C++
libs/besiq/correct.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
1
2015-10-21T14:22:12.000Z
2015-10-21T14:22:12.000Z
libs/besiq/correct.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2019-05-26T20:52:31.000Z
2019-05-28T16:19:49.000Z
libs/besiq/correct.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2016-11-06T14:58:37.000Z
2019-05-26T14:03:13.000Z
#include <algorithm> #include <iostream> #include <glm/models/binomial.hpp> #include <besiq/io/resultfile.hpp> #include <besiq/io/metaresult.hpp> #include <besiq/method/scaleinv_method.hpp> #include <besiq/correct.hpp> struct heap_result { std::pair<std::string, std::string> variant_pair; float pvalue; ...
29.048701
157
0.545546
hoehleatsu
9f6234d21ffab4221c1e830e8761c577a4ff324d
1,762
cpp
C++
cpp/opendnp3/src/opendnp3/gen/ControlCode.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
null
null
null
cpp/opendnp3/src/opendnp3/gen/ControlCode.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
null
null
null
cpp/opendnp3/src/opendnp3/gen/ControlCode.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
3
2016-07-13T18:54:13.000Z
2021-04-12T13:30:39.000Z
// // _ _ ______ _ _ _ _ _ _ _ // | \ | | | ____| | (_) | (_) | | | | // | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | | // | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | | // | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_| // |_| \_|\___/ |______\__,_|_|\...
25.171429
67
0.546538
tarm
9f62e3b68cf61d15204f5a94461f72a8bf4bfaab
9,863
cpp
C++
threepp/renderers/gl/SpriteRenderer.cpp
Graphics-Physics-Libraries/three.cpp-imported
788b4202e15fa245a4b60e2da0b91f7d4d0592e1
[ "MIT" ]
76
2017-12-20T05:09:04.000Z
2022-01-24T10:20:15.000Z
threepp/renderers/gl/SpriteRenderer.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
5
2018-06-06T15:41:01.000Z
2019-11-30T15:10:25.000Z
threepp/renderers/gl/SpriteRenderer.cpp
melMass/three.cpp
5a328b40036e359598baec8b3fcddae4f33e410a
[ "MIT" ]
23
2017-10-12T16:46:33.000Z
2022-03-16T06:16:03.000Z
// // Created by byter on 22.10.17. // #include "SpriteRenderer.h" #include <algorithm> #include <array> #include <sstream> #include "Renderer_impl.h" namespace three { namespace gl { using namespace std; struct SpriteRendererData { GLint position_att; GLint uv_att; GLint projectionMatrix; GLint map; GLin...
27.021918
108
0.648484
Graphics-Physics-Libraries
9f6489be8a18135a225e571b433c0bcc38753a3b
7,936
cpp
C++
editor/gui/src/materialexplorer.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/gui/src/materialexplorer.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
editor/gui/src/materialexplorer.cpp
lizardkinger/blacksun
0119948726d2a057c13d208044c7664a8348a1ea
[ "Linux-OpenIB" ]
null
null
null
/*************************************************************************** * Copyright (C) 2006 by The Hunter * * hunter@localhost * * * * This program is free software; you can redistribute it and/or modify * * it under the ter...
37.971292
127
0.62563
lizardkinger
9f6bdce4b3b3b81e2ebe0fd64559aaf297459a8e
5,587
cpp
C++
deps/OpenTSTOOL/mex-dev/NN/takens_estimator.cpp
andrestc/thesis
afe3a71a83394682d68f9fbe0fe13747506757ec
[ "MIT" ]
3
2020-08-24T07:11:26.000Z
2021-06-10T03:05:14.000Z
deps/OpenTSTOOL/mex-dev/NN/takens_estimator.cpp
andrestc/thesis
afe3a71a83394682d68f9fbe0fe13747506757ec
[ "MIT" ]
null
null
null
deps/OpenTSTOOL/mex-dev/NN/takens_estimator.cpp
andrestc/thesis
afe3a71a83394682d68f9fbe0fe13747506757ec
[ "MIT" ]
2
2020-05-24T09:31:29.000Z
2021-03-01T13:40:25.000Z
// takens estimator for the correlation dimension (D_2) // // cmerk DPI Goettingen 1998 #include "mextools/mextools.h" // this includes the code for the nearest neighbor searcher and the prediction routines #include "NNSearcher/point_set.h" #include "include.mex" template<class METRIC> void compute(int...
31.564972
162
0.629318
andrestc
9f6c95e21ec191d53dce4ce07a912fc811df04cc
25,502
cpp
C++
test/custom_types_Test.cpp
mbeckh/llamalog
0441f3c6ce8871a343186f5c9ca35e8df4e8d542
[ "Apache-2.0" ]
null
null
null
test/custom_types_Test.cpp
mbeckh/llamalog
0441f3c6ce8871a343186f5c9ca35e8df4e8d542
[ "Apache-2.0" ]
15
2020-06-11T22:43:54.000Z
2020-10-25T11:49:17.000Z
test/custom_types_Test.cpp
mbeckh/llamalog
0441f3c6ce8871a343186f5c9ca35e8df4e8d542
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Michael Beckh 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 writing, software distr...
29.078677
111
0.751549
mbeckh
9f6ef8242a0a780ac9eba841cb7f4307d495fcf5
826
cpp
C++
landscaper/src/physics.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
landscaper/src/physics.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
landscaper/src/physics.cpp
llGuy/landscaper
7b9874c73bd7f5f07a340b9043fdeace032b6c49
[ "MIT" ]
null
null
null
#include "physics.h" #include "detail.h" physics_handler::physics_handler(void) : gravity_at_sea(-10.5f) { } //auto physics_handler::move(entity & ent, action a, f32 td) -> void //{ /*using detail::up; ent.momentum = glm::vec3(0.0f); glm::vec3 lateral_dir = { ent.direction.x, 0, ent.direction.z }; switch (a) ...
28.482759
91
0.664649
llGuy
9f7158aa0fcab43d6d2482e15e7f841fc5ebbafc
619
cpp
C++
src/scene/encounter/encounter.cpp
selcia-eremeev/chen
96a2f4fbe444b26668983fb4c3f360d1a22cd2f7
[ "MIT" ]
1
2021-03-22T16:03:24.000Z
2021-03-22T16:03:24.000Z
src/scene/encounter/encounter.cpp
selcia-eremeev/chen
96a2f4fbe444b26668983fb4c3f360d1a22cd2f7
[ "MIT" ]
9
2021-03-23T20:08:51.000Z
2021-03-27T20:44:09.000Z
src/scene/encounter/encounter.cpp
selcia-eremeev/chen
96a2f4fbe444b26668983fb4c3f360d1a22cd2f7
[ "MIT" ]
null
null
null
#include "scene/encounter/encounter.hpp" int Encounter::Initialize(void) { RESOURCES->LoadGraph("encounter", "resources\\movies\\encounter.mp4"); DxLib::PlayMovieToGraph(RESOURCES->graphics["encounter"]); return 0; } int Encounter::Update(void) { if (!DxLib::GetMovieStateToGraph(RESOURCES->graphics["encounter"]))...
24.76
71
0.712439
selcia-eremeev
9f723d70c30d7ace2c3e0b32212f2912f333c314
14,865
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/debugger/debuggerkitinformation.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/debugger/debuggerkitinformation.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/debugger/debuggerkitinformation.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
39.325397
116
0.606054
kevinlq
9f7a0f5775fb937a8d1625bd2c3a6644c4f2aa28
9,343
cpp
C++
src/craft/interfaces/WorldInterface.cpp
dkoeplin/Craft
87fda0d7c072820f40ffea379986f0adf421849f
[ "MIT" ]
null
null
null
src/craft/interfaces/WorldInterface.cpp
dkoeplin/Craft
87fda0d7c072820f40ffea379986f0adf421849f
[ "MIT" ]
null
null
null
src/craft/interfaces/WorldInterface.cpp
dkoeplin/Craft
87fda0d7c072820f40ffea379986f0adf421849f
[ "MIT" ]
null
null
null
#include "WorldInterface.h" #include <cmath> #include "GL/glew.h" #include "GLFW/glfw3.h" #include "craft/draw/Crosshairs.h" #include "craft/draw/Render.h" #include "craft/draw/Text.h" #include "craft/interfaces/DebugInterface.h" #include "craft/items/Item.h" #include "craft/physics/Physics.h" #include "craft/player...
31.887372
115
0.582361
dkoeplin
9f7ca4bc381d80d3d88b2cc91ff8935038e8ee96
17,531
cpp
C++
Peridigm/Code/Energy_damage_criterion/src/damage/Peridigm_EnergyReleaseDamageModel.cpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
Peridigm/Code/Energy_damage_criterion/src/damage/Peridigm_EnergyReleaseDamageModel.cpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
Peridigm/Code/Energy_damage_criterion/src/damage/Peridigm_EnergyReleaseDamageModel.cpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
/*! \file Peridigm_EnergyReleaseDamageModel.cpp */ //@HEADER // ************************************************************************ // // Peridigm // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the ...
44.951282
177
0.630825
oldninja
9f7cb6fbc5ccfadc1b4bcbd36dd33ee91a8f0976
2,166
cpp
C++
src/llri-vk/detail/queue.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
2
2022-02-08T07:11:32.000Z
2022-02-08T08:10:31.000Z
src/llri-vk/detail/queue.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
1
2022-02-14T18:26:31.000Z
2022-02-14T18:26:31.000Z
src/llri-vk/detail/queue.cpp
Rythe-Interactive/Rythe-LLRI
0bf9ff71c41b39f7189cbc5ebbf4a74420cedc05
[ "MIT" ]
null
null
null
/** * @file queue.cpp * Copyright (c) 2021 Leon Brands, Rythe Interactive * SPDX-License-Identifier: MIT */ #include <llri/llri.hpp> #include <llri-vk/utils.hpp> namespace llri { result Queue::impl_submit(const submit_desc& desc) { std::vector<VkCommandBuffer> buffers(desc.numCommandLists); ...
38
130
0.672207
Rythe-Interactive
9f7e230260567e66234d10c595f5c713381cb914
983
cpp
C++
compiler-rt/test/asan/TestCases/Windows/sse_misalignment.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/test/asan/TestCases/Windows/sse_misalignment.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/test/asan/TestCases/Windows/sse_misalignment.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clang_cl_asan -Od %s -Fe%t // RUN: %env_asan_opts=handle_sigfpe=1 not %run %t 2>&1 | FileCheck %s // Test the error output from misaligned SSE2 memory access. This is a READ // memory access. Windows appears to always provide an address of -1 for these // types of faults, and there doesn't seem to be a way to...
33.896552
82
0.69176
mkinsner
9f832ae2273e729e3fbf602bf420672d3e860c45
13,036
hpp
C++
xercesc/xerces-c1_7_0-linux7.2/include/xercesc/validators/DTD/DTDScanner.hpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
2
2020-01-06T07:43:30.000Z
2020-07-11T20:53:53.000Z
xercesc/xerces-c1_7_0-linux7.2/include/xercesc/validators/DTD/DTDScanner.hpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
null
null
null
xercesc/xerces-c1_7_0-linux7.2/include/xercesc/validators/DTD/DTDScanner.hpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
null
null
null
/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sou...
36.929178
123
0.56927
anjingbin
9f834ead9a3f6b4ad3f1596ed7a399762fad2161
13,750
hpp
C++
src/arduino/drivers/ssd1306.hpp
ZigmundRat/gfx_demo
48afdb20d5ae655b7f7fdc86175b9abb63465190
[ "MIT" ]
null
null
null
src/arduino/drivers/ssd1306.hpp
ZigmundRat/gfx_demo
48afdb20d5ae655b7f7fdc86175b9abb63465190
[ "MIT" ]
null
null
null
src/arduino/drivers/ssd1306.hpp
ZigmundRat/gfx_demo
48afdb20d5ae655b7f7fdc86175b9abb63465190
[ "MIT" ]
null
null
null
#include "common/tft_driver.hpp" #include "gfx_pixel.hpp" #include "gfx_positioning.hpp" namespace arduino { template<uint16_t Width, uint16_t Height, typename Bus, uint8_t Address = 0x3C, bool Vdc3_3=true, uint32_t WriteSpeedPercent=400, int8...
37.568306
105
0.444509
ZigmundRat
9f83c781f6f9f2412965c6508633963c0a2ed4a1
983
cc
C++
content/public/common/page_state_ios.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
content/public/common/page_state_ios.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/public/common/page_state_ios.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/common/page_state.h" #include "base/files/file_path.h" #include "base/logging.h" namespace content { // static PageState P...
22.340909
73
0.733469
pozdnyakov
9f883e0a57c86ef1fd04f25a1215f843662d4b5a
10,227
cpp
C++
test/Mutex.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
1
2021-09-12T21:05:45.000Z
2021-09-12T21:05:45.000Z
test/Mutex.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-01-24T18:00:15.000Z
2020-02-03T21:15:54.000Z
test/Mutex.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-06-15T16:27:58.000Z
2021-09-12T21:05:49.000Z
///////////////////////////////////////////////////////////////////////////////////// /// /// @file /// @author Kuba Sejdak /// @copyright BSD 2-Clause License /// /// Copyright (c) 2020-2021, Kuba Sejdak <kuba.sejdak@gmail.com> /// All rights reserved. /// /// Redistribution and use in source and binary forms, with or...
29.22
95
0.640364
kubasejdak
9f8a4536c7ee1d2574bfcfc3a8efaa3560c94136
4,310
cpp
C++
Sources/PSApplication.cpp
Slin/ProjectSteve
3e94c61e3d114fb4c15f9bcc72b1508d185f7a9c
[ "MIT" ]
null
null
null
Sources/PSApplication.cpp
Slin/ProjectSteve
3e94c61e3d114fb4c15f9bcc72b1508d185f7a9c
[ "MIT" ]
null
null
null
Sources/PSApplication.cpp
Slin/ProjectSteve
3e94c61e3d114fb4c15f9bcc72b1508d185f7a9c
[ "MIT" ]
null
null
null
// // PSApplication.cpp // ProjectSteve // // Copyright 2018 by SlinDev. All rights reserved. // Unauthorized use is punishable by torture, mutilation, and vivisection. // #include "PSApplication.h" #include "PSWorld.h" #if RN_PLATFORM_ANDROID #include "RNOculusMobileWindow.h" #elif RN_PLATFORM_WINDOWS #ifdef B...
24.488636
130
0.721346
Slin
9f8a5c913bc22e3bb31414f77cb356d62a46fc6d
820
hpp
C++
humble-crap/commandline-interface.hpp
lukesalisbury/humble-crap
814c551cfdfa2687d531b50d350a0d2a6f5cf832
[ "Unlicense" ]
2
2015-02-02T23:40:03.000Z
2016-02-17T17:58:18.000Z
humble-crap/commandline-interface.hpp
lukesalisbury/humble-crap
814c551cfdfa2687d531b50d350a0d2a6f5cf832
[ "Unlicense" ]
null
null
null
humble-crap/commandline-interface.hpp
lukesalisbury/humble-crap
814c551cfdfa2687d531b50d350a0d2a6f5cf832
[ "Unlicense" ]
null
null
null
#ifndef CLI_INTERFACE_HPP #define CLI_INTERFACE_HPP #include <QObject> #include <QCoreApplication> class CommandLineTask { }; class CommandLineInterface : public QObject { Q_OBJECT public: CommandLineInterface(QCoreApplication * a, QObject * parent = nullptr); ~CommandLineInterface(); signals: void taskCo...
16.4
73
0.740244
lukesalisbury
9f8a93ac56f39e2e5538bc2d0dbc39b854615437
1,192
cpp
C++
Shoot/src/GraphicExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
5
2016-11-13T08:13:57.000Z
2019-03-31T10:22:38.000Z
Shoot/src/GraphicExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
null
null
null
Shoot/src/GraphicExtensionHandler.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
1
2016-12-23T11:25:35.000Z
2016-12-23T11:25:35.000Z
/* Amine Rehioui Created: July 6th 2013 */ #include "Shoot.h" #include "GraphicExtensionHandler.h" #if SHOOT_PLATFORM == SHOOT_PLATFORM_IOS || SHOOT_PLATFORM == SHOOT_PLATFORM_ANDROID #include "OpenGLExtensionHandlerES2.h" #elif !defined(DX11) #include "OpenGLExtensionHandlerWin32.h" #endif namespace shoot { //...
20.20339
86
0.756711
franticsoftware
9f8b7c4c0f4ea80ad820a7f26a9e5126be0ef742
22,003
cc
C++
iocore/net/unit_tests/test_ProxyProtocol.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
1,351
2015-01-03T08:25:40.000Z
2022-03-31T09:14:08.000Z
iocore/net/unit_tests/test_ProxyProtocol.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
7,009
2015-01-14T16:22:45.000Z
2022-03-31T17:18:04.000Z
iocore/net/unit_tests/test_ProxyProtocol.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
901
2015-01-11T19:21:08.000Z
2022-03-18T18:21:33.000Z
/** @file Catch based unit tests for PROXY Protocol @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this ...
41.515094
120
0.525247
cmcfarlen
9f915c4603e8f83b4352c452f8072cb37d48dc1e
4,790
cpp
C++
src/Systems/DX9RenderSystem/DX9RenderErrorHelper.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Systems/DX9RenderSystem/DX9RenderErrorHelper.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Systems/DX9RenderSystem/DX9RenderErrorHelper.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "DX9RenderErrorHelper.h" #include "Kernel/Logger.h" #include "Config/Utils.h" namespace Mengine { namespace Helper { const Char * getDX9ErrorMessage( HRESULT _hr ) { switch( _hr ) { #if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) ...
51.505376
143
0.602296
irov