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
c761106c64a8403db0b6e91db714072e0e971750
53
cpp
C++
swimps-test/benchmark/source/swimps-benchmark-test.cpp
OMGtechy/swimps
5ad9643eb94347042aa2d29d834543c3df3732aa
[ "MIT" ]
null
null
null
swimps-test/benchmark/source/swimps-benchmark-test.cpp
OMGtechy/swimps
5ad9643eb94347042aa2d29d834543c3df3732aa
[ "MIT" ]
43
2020-05-29T22:33:50.000Z
2021-05-05T23:22:33.000Z
swimps-test/benchmark/source/swimps-benchmark-test.cpp
OMGtechy/swimps
5ad9643eb94347042aa2d29d834543c3df3732aa
[ "MIT" ]
2
2020-05-29T20:50:47.000Z
2020-11-15T18:50:55.000Z
#include "swimps-benchmark-test.h" BENCHMARK_MAIN();
17.666667
34
0.773585
OMGtechy
c7614542eea1aa3765544a873af7c4bef129aa9a
1,048
cpp
C++
src/CaseCreator/UIComponents/LocationTab/LocationZoomedViewsPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
41
2015-01-24T17:33:16.000Z
2022-01-08T19:36:40.000Z
src/CaseCreator/UIComponents/LocationTab/LocationZoomedViewsPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
15
2015-01-05T21:00:41.000Z
2016-10-18T14:37:03.000Z
src/CaseCreator/UIComponents/LocationTab/LocationZoomedViewsPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
6
2016-01-14T21:07:22.000Z
2020-11-28T09:51:15.000Z
#include "LocationZoomedViewsPage.h" #include <QVBoxLayout> LocationZoomedViewsPage::LocationZoomedViewsPage(QWidget *parent) : Page<Location>(parent) { isActive = false; QVBoxLayout *pMainLayout = new QVBoxLayout(); pZoomedViewManipulator = new ListManipulator<ZoomedView>(); pMainLayout->addWid...
20.153846
65
0.734733
Thisisderpys
c7662bee86679f84f906ba38088b6d8038cffbb2
17,218
cpp
C++
Misc/UnusedCode/RSLibAndTests/RSLibTests/Code/Experiments/Misc/PlotterExperiments.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Misc/UnusedCode/RSLibAndTests/RSLibTests/Code/Experiments/Misc/PlotterExperiments.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Misc/UnusedCode/RSLibAndTests/RSLibTests/Code/Experiments/Misc/PlotterExperiments.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//// code has become obsolete - delete soon // //#include "PlotterExperiments.h" // //void createDataFiveFunctions(int N, double xMin, double xMax, double *x, double *y1, double *y2, // double *y3, double *y4, double *y5) //{ // rsFillWithRangeLinear(x, N, xMin, xMax); // for(int n = 0; n < N; n++) // { // y1[n]...
32.671727
104
0.52387
RobinSchmidt
c768dcac9a2dec0d965eae3c4b319b028ec14f9d
2,640
cpp
C++
src/Emulators/nestopiaue/core/api/NstApiRewinder.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/nestopiaue/core/api/NstApiRewinder.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/nestopiaue/core/api/NstApiRewinder.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
//////////////////////////////////////////////////////////////////////////////////////// // // Nestopia - NES/Famicom emulator written in C++ // // Copyright (C) 2003-2008 Martin Freij // // This file is part of Nestopia. // // Nestopia is free software; you can redistribute it and/or modify // it under the te...
25.384615
89
0.619697
slajerek
c76b1d8c95fc16a96df1d9e9a51d0d4bbe013bb5
1,695
cpp
C++
01_current/Vital_Clues/src/main.cpp
r0oland/Baltopia
a772733a73fd54ad837f079b525bf8c7c09712bf
[ "MIT" ]
null
null
null
01_current/Vital_Clues/src/main.cpp
r0oland/Baltopia
a772733a73fd54ad837f079b525bf8c7c09712bf
[ "MIT" ]
null
null
null
01_current/Vital_Clues/src/main.cpp
r0oland/Baltopia
a772733a73fd54ad837f079b525bf8c7c09712bf
[ "MIT" ]
null
null
null
#include "..\lib\vital_lib.cpp" #include "..\lib\iot_lib.cpp" #include "..\include\secrets.h" uint_fast32_t updateIOTInterval = 10000; Iot MyIot(IO_USERNAME,IO_KEY,WIFI_SSID,WIFI_PASS,updateIOTInterval); Vital MyVital(ONE_WIRE_BUS,LCD_ADDRESS,LCD_COLS,LCD_ROWS); DeviceAddress PAD_SENS = {0x28, 0xFF, 0x67, 0x98, 0x9...
33.9
106
0.585841
r0oland
c775a8a4e05fb4d060f7d55ccab140e9d9af142a
3,044
hpp
C++
utils/stringUtils.hpp
jasonnaldi/htmlvalidator-cpp
80ecd5ac823b685b6490136ed8d289c8ec7477a0
[ "MIT" ]
null
null
null
utils/stringUtils.hpp
jasonnaldi/htmlvalidator-cpp
80ecd5ac823b685b6490136ed8d289c8ec7477a0
[ "MIT" ]
2
2020-10-14T17:58:14.000Z
2020-10-14T18:58:18.000Z
utils/stringUtils.hpp
jasonnaldi/htmlvalidator
80ecd5ac823b685b6490136ed8d289c8ec7477a0
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2016 Jason Naldi - direct contact: dev@jasonnaldi.com - web: https://jasonnaldi.com - github: https://github.com/jasonnaldi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
34.202247
120
0.702365
jasonnaldi
c777d7b961ff701321c1270752ebc2a7ecf79abe
10,566
cpp
C++
Listen/upd-example2/Clisten.cpp
righthalfplane/SdrGult
f6a082939d7922c08cef1f53104a84841be80910
[ "MIT" ]
55
2019-12-13T07:32:26.000Z
2022-03-18T13:50:05.000Z
Listen/upd-example2/Clisten.cpp
righthalfplane/SdrGult
f6a082939d7922c08cef1f53104a84841be80910
[ "MIT" ]
27
2019-12-30T11:01:03.000Z
2022-02-10T20:08:08.000Z
Listen/upd-example2/Clisten.cpp
righthalfplane/SdrGult
f6a082939d7922c08cef1f53104a84841be80910
[ "MIT" ]
13
2019-12-10T21:20:38.000Z
2022-03-18T13:50:08.000Z
#include "Clisten.h" #include <cstdio> #include <chrono> #include <thread> #include <complex> #include <iostream> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <liquid/liquid.h> #include <rtaudio/RtAudio.h> // #include <unistd.h> using namespace std; #include <stdl...
21.875776
126
0.582529
righthalfplane
c778c162f7934dd7fa32a227511539004c6d3cff
3,441
cpp
C++
tests/rect_spec.cpp
Polynominal/bump.hpp
a53e9d5c4d8079aa86ed9a73d36ea7188901215e
[ "MIT" ]
null
null
null
tests/rect_spec.cpp
Polynominal/bump.hpp
a53e9d5c4d8079aa86ed9a73d36ea7188901215e
[ "MIT" ]
null
null
null
tests/rect_spec.cpp
Polynominal/bump.hpp
a53e9d5c4d8079aa86ed9a73d36ea7188901215e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "../Rectangle.hpp" #include "../Collision.hpp" using namespace plugin::physics::bump; TEST(RECTANGLE, StaticIntersectTest) { { std::shared_ptr<Collision> col = std::make_shared<Collision>(); ASSERT_FALSE(Rectangle(0,0,1,1).DetectCollision...
32.158879
114
0.642546
Polynominal
c77cf327a7dabc6ff652f91640e3986a76f91c2b
340
cc
C++
src/transport_sweep/Sweep_Fixed_Source_None.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/transport_sweep/Sweep_Fixed_Source_None.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/transport_sweep/Sweep_Fixed_Source_None.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
#include "Sweep_Fixed_Source_None.h" Sweep_Fixed_Source_None::Sweep_Fixed_Source_None(const Fem_Quadrature& fem_quadrature) : V_Sweep_Fixed_Source(fem_quadrature) { } void Sweep_Fixed_Source_None::get_source(Eigen::VectorXd& source_vec) { for(int i=0; i< m_n_dfem_pts ; i++) source_vec(i) = 0.; ...
18.888889
87
0.717647
pgmaginot
c780d63763d689da712811418e40c29e1ed0fb13
4,489
cpp
C++
src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
1
2022-02-10T11:06:25.000Z
2022-02-10T11:06:25.000Z
src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
0xgpapad/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
null
null
null
src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
0xgpapad/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
1
2022-02-04T10:22:53.000Z
2022-02-04T10:22:53.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...
44.445545
196
0.709067
MaximMilashchenko
c784cc15a590a3cd34d039cce7678aea6d485fb9
746
hpp
C++
include/RadonFramework/Core/Types/Int16.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/Core/Types/Int16.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/Core/Types/Int16.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_CORE_TYPES_INT16_HPP #define RF_CORE_TYPES_INT16_HPP #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include <cstdint> namespace RadonFramework::Core::Types { /// A Int16 have always the size of 2 byte and represent a signed number. using Int16 = int16_t; /// The maximum value which can be co...
23.3125
73
0.784182
tak2004
c788c97c8b91dbd1a009e0a89af3f86f2b0b8956
179
hpp
C++
engine/widgets.hpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
null
null
null
engine/widgets.hpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
8
2020-03-29T21:03:23.000Z
2020-04-11T23:28:14.000Z
engine/widgets.hpp
jpmorris33/ire
d6a0a9468c1f98010c5959be301b717f02336895
[ "BSD-3-Clause" ]
1
2020-06-11T16:54:37.000Z
2020-06-11T16:54:37.000Z
extern int GetLoadSaveSlot(int saving); // Menu extern int GetTextBox(char *text, const char *prompt, int maxlen); extern int GetFileSelect(char *prompt, char *newfile, char *x);
44.75
66
0.759777
jpmorris33
c78bdbabeb68bdb01222fbfbc657bdb27e4c72a3
188
cpp
C++
ABC/abc121/a.cpp
EnsekiTT/atcoder
6b40332d1b2493d1b6c00c9f1912895a67a3bbcb
[ "MIT" ]
null
null
null
ABC/abc121/a.cpp
EnsekiTT/atcoder
6b40332d1b2493d1b6c00c9f1912895a67a3bbcb
[ "MIT" ]
null
null
null
ABC/abc121/a.cpp
EnsekiTT/atcoder
6b40332d1b2493d1b6c00c9f1912895a67a3bbcb
[ "MIT" ]
null
null
null
#include<iostream> #include<string> using namespace std; int main() { int H, W, h, w; cin >> H >> W; cin >> h >> w; cout << H*W - ((H-h)*w + (W-w)*h + h*w) << endl; return 0; }
14.461538
50
0.5
EnsekiTT
c78df3511a8f0f914342fe0931c4b9ee0ba82d49
10,356
cc
C++
QTProject/window.cc
jtorres6/MeshColors
bef99c377bbca9d35532d589d4b7434764fc9bd0
[ "MIT" ]
null
null
null
QTProject/window.cc
jtorres6/MeshColors
bef99c377bbca9d35532d589d4b7434764fc9bd0
[ "MIT" ]
null
null
null
QTProject/window.cc
jtorres6/MeshColors
bef99c377bbca9d35532d589d4b7434764fc9bd0
[ "MIT" ]
null
null
null
/*! \file * Copyright Domingo Martín Perandres * email: dmartin@ugr.es * web: http://calipso.ugr.es/dmartin * 2003-2019 * GPL 3 */ #include <QApplication> #include <QAction> #include <QMenuBar> #include <QFrame> #include <QWheelEvent> #include <QPushButton> #include <QLabel> #include <QColorDialog> #include <QS...
29.504274
145
0.639146
jtorres6
c78e552a8351b21e7df47a56c0c332f15d1396d0
164,196
cpp
C++
Source/Rhi/Private/NullRhi/NullRhi.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
187
2015-11-02T21:27:57.000Z
2022-02-17T21:39:17.000Z
Source/Rhi/Private/NullRhi/NullRhi.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
null
null
null
Source/Rhi/Private/NullRhi/NullRhi.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
20
2015-11-04T19:17:01.000Z
2021-11-18T11:23:25.000Z
/*********************************************************\ * Copyright (c) 2012-2021 The Unrimp Team * * 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 wit...
35.656026
501
0.587536
cofenberg
c79423b4a3e1f6d808ad197c16dd24e8336a8ac6
6,480
cpp
C++
examples/sobelfilter/xf_sobel_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
examples/sobelfilter/xf_sobel_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
examples/sobelfilter/xf_sobel_tb.cpp
lt23yuan/test
5fe36b0d1dd5b182fc03b7849d53a88936331860
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** Copyright (c) 2016, Xilinx, Inc. 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 reta...
31.609756
162
0.696914
lt23yuan
c79a2d0280a7bd566deb803c269f52dde466fff2
5,714
cpp
C++
src/design_editor/reg/overriders/RelativeBoxes.cpp
TheMrButcher/opengl_lessons
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
1
2016-10-25T21:15:16.000Z
2016-10-25T21:15:16.000Z
src/design_editor/reg/overriders/RelativeBoxes.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
375
2016-06-04T11:27:40.000Z
2019-04-14T17:11:09.000Z
src/design_editor/reg/overriders/RelativeBoxes.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
null
null
null
/** * Copyright (c) 2018 Slavnejshev Filipp * This file is licensed under the terms of the MIT license. */ #include "RelativeBoxes.h" #include "RelativeValueInUI.h" #include <reg/tools.h> #include <gamebase/impl/relpos/AligningOffset.h> #include <gamebase/impl/relpos/FixedOffset.h> namespace gamebase { namespace e...
36.864516
99
0.681309
TheMrButcher
c79a7df374db07a684110a7de92e2ea78812528f
554
cpp
C++
bloc/Ground.cpp
Dracks977/FDI-COBJ-
349900d8d4c9b704e47aa9354b12cf95ce0e327d
[ "Apache-2.0" ]
null
null
null
bloc/Ground.cpp
Dracks977/FDI-COBJ-
349900d8d4c9b704e47aa9354b12cf95ce0e327d
[ "Apache-2.0" ]
null
null
null
bloc/Ground.cpp
Dracks977/FDI-COBJ-
349900d8d4c9b704e47aa9354b12cf95ce0e327d
[ "Apache-2.0" ]
null
null
null
// // Ground.cpp for cpp in /home/annibal/cpp/cp_2/anniba_c/bloc // // Made by ANNIBAL Celine // Login <anniba_c@etna-alternance.net> // // Started on Mon Feb 13 09:41:25 2017 ANNIBAL Celine // Last update Tue Feb 14 09:54:38 2017 ANNIBAL Celine // #include "Ground.hh" Ground::Ground(char x) : ABloc(x), ASteppabl...
16.294118
68
0.66426
Dracks977
c7a1da19b39165485552bd529a2039817930d4c5
16,051
cpp
C++
src/racer/pacejka/mrun.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/racer/pacejka/mrun.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/racer/pacejka/mrun.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * Pacejka Player - visually checking Pacejka curves * 02-04-01: Created! * 16-10-01: Picked up the project again for some better editing. * NOTES: * (C) MarketGraph/RvG */ #include "main.h" #pragma hdrstop #include <d3/global.h> #include <racer/pacejka.h> #include <qlib/debug.h> DEBUG_ENABLE #define DRW ...
22.767376
76
0.578406
3dhater
c7a81945aff87e861add89a6e3e024632b3ef2ef
301
cpp
C++
Assignments/capitabazi-solution.cpp
mobilal951/DSA-Bootcamp-Cpp
a6d073388998cad98447a0837dbc1fcf5bf8b4c2
[ "MIT" ]
1
2022-02-11T16:12:36.000Z
2022-02-11T16:12:36.000Z
Assignments/capitabazi-solution.cpp
mobilal951/DSA-Bootcamp-Cpp
a6d073388998cad98447a0837dbc1fcf5bf8b4c2
[ "MIT" ]
null
null
null
Assignments/capitabazi-solution.cpp
mobilal951/DSA-Bootcamp-Cpp
a6d073388998cad98447a0837dbc1fcf5bf8b4c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); string c; getline(cin, c); for(int i=0;i<c.size();i++){ if( c[i] >= 'a' && c[i] <= 'z') cout<< (char)(c[i]-32); else cout<<endl; } return 0; };
15.842105
58
0.498339
mobilal951
c7aba5c291c6435fba54eab0fff1e3e42d0a0ea9
1,403
cpp
C++
engine/collision/Collider.cpp
ohms83/GLRayTrace
4a77049f0a41585727d47711a90287592667caf6
[ "Unlicense" ]
null
null
null
engine/collision/Collider.cpp
ohms83/GLRayTrace
4a77049f0a41585727d47711a90287592667caf6
[ "Unlicense" ]
null
null
null
engine/collision/Collider.cpp
ohms83/GLRayTrace
4a77049f0a41585727d47711a90287592667caf6
[ "Unlicense" ]
null
null
null
#include "Collider.h" #include <iostream> Collider::Collider() { } Collider::~Collider() { } bool Collider::checkSphereCollision(const glm::vec3& center1, float radius1, const glm::vec3& center2, float radius2) { float distance = glm::length(center1 - center2); return dis...
28.06
90
0.518888
ohms83
c7b236b83ef964747711ab185db70ec3c00c6c76
1,076
hpp
C++
dometer/metrics/handler/prometheus/metric_cache.hpp
maxenglander/dometer
baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9
[ "MIT" ]
null
null
null
dometer/metrics/handler/prometheus/metric_cache.hpp
maxenglander/dometer
baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9
[ "MIT" ]
null
null
null
dometer/metrics/handler/prometheus/metric_cache.hpp
maxenglander/dometer
baf9ed81f9d1e8bb67750ac278af5a9e0c4b89b9
[ "MIT" ]
null
null
null
#pragma once #include "dometer/util/lru_map.hpp" #include "prometheus/counter.h" #include "prometheus/x/types.hpp" namespace util = dometer::util; namespace dometer::metrics::handler::prometheus { class metric_cache : public util::lru_map<::prometheus::x::AnyMetricPtr, ::prometheus::x::FamilyNameAnd...
29.888889
114
0.605948
maxenglander
c7b2cceb971767f5ea1d92625e9dd859c5da3a1a
2,379
cpp
C++
src/prod/src/Naming/EseStoreTestHelper.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Naming/EseStoreTestHelper.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Naming/EseStoreTestHelper.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include ...
32.148649
134
0.474569
AnthonyM
c7b2f9c342e8d15f003bf9c159ae58f65a2797f0
2,235
hpp
C++
include/ip_list.hpp
MDFreak/md_util
6f3f983f57b85199ab874b67a8b6b7a9dcf528c8
[ "MIT" ]
null
null
null
include/ip_list.hpp
MDFreak/md_util
6f3f983f57b85199ab874b67a8b6b7a9dcf528c8
[ "MIT" ]
null
null
null
include/ip_list.hpp
MDFreak/md_util
6f3f983f57b85199ab874b67a8b6b7a9dcf528c8
[ "MIT" ]
null
null
null
/************************************************************************* | Filename..............: ip_list.hpp * Project...............: part of standard utilities * Autor.................: Martin Dorfner (MD) * Date .................: 20.11.2020 *-----------------------------------------------------------------...
31.041667
100
0.462192
MDFreak
c7b3f5aebf2227960a03ca749fc3a03f51d6062a
6,844
cpp
C++
fortune_weighted_points/algorithm/fortune.cpp
matheusdallrosa/voronoi-diagram-construction
46c08f6aa24f5cff74978eb45014c511cb8a3abb
[ "MIT" ]
2
2018-05-22T14:22:50.000Z
2020-12-29T20:25:25.000Z
fortune_weighted_points/algorithm/fortune.cpp
matheusdallrosa/voronoi-diagram-construction
46c08f6aa24f5cff74978eb45014c511cb8a3abb
[ "MIT" ]
null
null
null
fortune_weighted_points/algorithm/fortune.cpp
matheusdallrosa/voronoi-diagram-construction
46c08f6aa24f5cff74978eb45014c511cb8a3abb
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> #include <algorithm> #include <vector> #include "common/floating_point.h" #include "fortune_weighted_points/geom/hyperbole.h" #include "fortune_weighted_points/geom/distance.h" #include "inter_detector.h" #include "inter_queue.h" #include "boundary.h" #include "status.h" #includ...
38.666667
126
0.68235
matheusdallrosa
c7b4ae8d784c9502673c855f4b2675a7bb7b8fa4
318
cpp
C++
src/logging/abstract_logger.cpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
src/logging/abstract_logger.cpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
src/logging/abstract_logger.cpp
AndrSar/scgicxx
7ef793fd245ea8b629eb966fc1f3466c29c914e7
[ "BSL-1.0" ]
null
null
null
#include "../include/logging/abstract_logger.hpp" namespace scgicxx { namespace logging { abstract_logger::abstract_logger(level_enum level) : level(level) { } level_enum abstract_logger::get_level() const { return level; } void abstract_logger::set_level(level_enum level) { this->level = level; } } }
12.230769
65
0.732704
AndrSar
c7c10c8eb480e3d3656b4b9480a53d2868293798
1,072
hpp
C++
src/core/material.hpp
AndreJFBico/RadRts_BGFX
c8d37d95e68e2fc2b3db09a94f2817533e4aa700
[ "MIT" ]
null
null
null
src/core/material.hpp
AndreJFBico/RadRts_BGFX
c8d37d95e68e2fc2b3db09a94f2817533e4aa700
[ "MIT" ]
null
null
null
src/core/material.hpp
AndreJFBico/RadRts_BGFX
c8d37d95e68e2fc2b3db09a94f2817533e4aa700
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <variant> #include <bgfx/bgfx.h> #include "materials/wireframe.hpp" #include "materials/texture.hpp" // Base where all the material types rely upon struct Material { using MaterialCustomContent = std::variant<wireframe::Wireframe, Texture>; using MaterialFunctor =...
30.628571
95
0.718284
AndreJFBico
c7c44a6abbdcbf6bb15047f5fe72ad6b7b8a165e
2,154
cpp
C++
source/directinput/MouseState.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
85
2015-04-06T05:37:10.000Z
2022-03-22T19:53:03.000Z
source/directinput/MouseState.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
10
2016-03-17T11:18:24.000Z
2021-05-11T09:21:43.000Z
source/directinput/MouseState.cpp
HeavenWu/slimdx
e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac
[ "MIT" ]
45
2015-09-14T03:54:01.000Z
2022-03-22T19:53:09.000Z
#include "stdafx.h" /* * Copyright (c) 2007-2012 SlimDX Group * * 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, ...
27.615385
80
0.675487
HeavenWu
c7c8e1eb09250e5bbe96bb11c05c1f31774a8719
2,299
hpp
C++
NightEngine2/src/Core/Message/MessageObjectList.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
2
2020-03-09T06:24:46.000Z
2022-02-04T23:09:23.000Z
NightEngine2/src/Core/Message/MessageObjectList.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
null
null
null
NightEngine2/src/Core/Message/MessageObjectList.hpp
rittikornt/NightEngine2
14004b48d1708736373010a3fe47d05d876e0baa
[ "MIT" ]
2
2020-09-07T03:04:36.000Z
2022-02-04T23:09:24.000Z
/*! @file MessageObjectList.hpp @author Rittikorn Tangtrongchit @brief Contain the Interface of MessageObjectList */ #pragma once #include <sstream> #include <glm/vec3.hpp> #include "Core/Message/MessageObject.hpp" #include "Core/Message/MessageTypeEnum.hpp" //Enum List namespace NightEngine { struct TestMes...
22.320388
95
0.717268
rittikornt
c7cf2b1dd64353d0c655ce2615b7facda498a300
7,604
cpp
C++
GraphHPC/mst_reference_mpi.cpp
zaic/mst
455134f212c597da85aaa5fac1ff6ce87982b04d
[ "MIT" ]
null
null
null
GraphHPC/mst_reference_mpi.cpp
zaic/mst
455134f212c597da85aaa5fac1ff6ce87982b04d
[ "MIT" ]
null
null
null
GraphHPC/mst_reference_mpi.cpp
zaic/mst
455134f212c597da85aaa5fac1ff6ce87982b04d
[ "MIT" ]
null
null
null
#include <vector> #include <mpi.h> #include <float.h> #include <stdlib.h> #include <assert.h> #include "defs.h" #define UINT32_MAX (0xffffffff) using namespace std; /* returns global number of edge */ edge_id_t edge_to_global(edge_id_t edge, graph_t *G) { int rank = G->rank; int size = G->nproc; edge_id_t...
38.795918
136
0.555234
zaic
c7d20952e1aa470763b449627804d6af76cf7fbd
1,716
cpp
C++
include/types/has_interface.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/types/has_interface.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/types/has_interface.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "has_interface.hpp" namespace rhizome { namespace types { HasInterface::HasInterface( string const &name ) : interface_name(name) { } bool HasInterface::contains( Thing *t ) const { return t->has_interface(interface_name); } // Thing ...
28.6
85
0.501748
nathanmullenax83
c7d37d2de0058f78f0b09da1d2a593349c99160a
7,889
cpp
C++
mp/src/game/server/hl1/hl1_monstermaker.cpp
tyabus/source-sdk-2013-hl1dm
b500739c541232bceea77d5d10da085c05f34633
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/server/hl1/hl1_monstermaker.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/server/hl1/hl1_monstermaker.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: An entity that creates NPCs in the game. // //=============================================================================// #include "cbase.h" #include "entityapi.h" #include "entityoutput.h" #include "ai_basenpc.h" #include...
26.742373
134
0.489416
tyabus
c7d85acbae86781f0222764777ee57a817799559
10,458
cpp
C++
net/socket_lib_old_bound_io_thread.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
14
2018-01-04T18:30:59.000Z
2021-07-07T15:15:15.000Z
net/socket_lib_old_bound_io_thread.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
null
null
null
net/socket_lib_old_bound_io_thread.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
6
2018-08-31T03:45:43.000Z
2019-06-05T02:55:46.000Z
#define _WINSOCKAPI_ #include <WinSock2.h> #include <Windows.h> #include <vector> #include "socket_lib.h" #include "../../_api/common/mem.h" #include "../../_api/common/str.h" #include "../../_api/api.h" #pragma comment (lib, "ws2_32.lib") using namespace socket_tools; socket_tools::SOCKET_THREAD_ENTRY __st_thre...
27.163636
120
0.710461
AlexRuzin
93a6f07a625009e6086938069f03b462a55635f7
896
cpp
C++
ConsoleApplication14/ConsoleApplication14/ConsoleApplication14.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
1
2019-12-28T13:57:09.000Z
2019-12-28T13:57:09.000Z
ConsoleApplication14/ConsoleApplication14/ConsoleApplication14.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
ConsoleApplication14/ConsoleApplication14/ConsoleApplication14.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
// ConsoleApplication14.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> #include <math.h> using namespace std; int mxdiflg( const char **firstArray, size_t firstArrayLength, const char **secondArray, size_t secondArrayLength) { int xMax = 0, yM...
22.4
83
0.626116
Hramkanvas
93b2cace6c42eb54077548e5a420ef9e9ac8ca7e
6,206
cpp
C++
sussit.cpp
csaether/sussit
6471af56b0dea8ffb7d84a5c063d10e3e9b00d9d
[ "BSD-3-Clause-Clear" ]
null
null
null
sussit.cpp
csaether/sussit
6471af56b0dea8ffb7d84a5c063d10e3e9b00d9d
[ "BSD-3-Clause-Clear" ]
null
null
null
sussit.cpp
csaether/sussit
6471af56b0dea8ffb7d84a5c063d10e3e9b00d9d
[ "BSD-3-Clause-Clear" ]
null
null
null
// sussit.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <string.h> #include <errno.h> #include <sys/wait.h> #ifdef WIN32 int _tmain(int argc, _TCHAR* argv[]) #else int main(int argc, char *argv[]) #endif // <directory> [p | pr | pc | r | ...
27.954955
103
0.488398
csaether
93b7b5d43683b610bc14bf8cc044005e031d8e14
783
cpp
C++
WRK-V1.2/TOOLS/crt/src/cin.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/TOOLS/crt/src/cin.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/TOOLS/crt/src/cin.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// cin -- initialize standard input stream #include <fstream> #include <iostream> #pragma warning(disable: 4074) #pragma init_seg(compiler) static std::_Init_locks initlocks; _STD_BEGIN // OBJECT DECLARATIONS __PURE_APPDOMAIN_GLOBAL static filebuf fin(_cpp_stdin); __PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 istream ...
21.75
65
0.754789
intj-t
93b831781e97af174ec8a26f9af1d365d6ad7ea4
4,750
cpp
C++
Source/UEImgui/Private/ImguiWrap/ImguiResourceManager.cpp
ZhuRong-HomoStation/UEImgui
a4cf1fb940d3898a3ed6c48648f8ab2e6739975a
[ "MIT" ]
36
2020-12-25T05:57:39.000Z
2022-03-15T16:09:16.000Z
Source/UEImgui/Private/ImguiWrap/ImguiResourceManager.cpp
zhurongjun/UEImgui
a4cf1fb940d3898a3ed6c48648f8ab2e6739975a
[ "MIT" ]
11
2020-12-31T14:03:14.000Z
2021-03-05T07:19:06.000Z
Source/UEImgui/Private/ImguiWrap/ImguiResourceManager.cpp
zhurongjun/UEImgui
a4cf1fb940d3898a3ed6c48648f8ab2e6739975a
[ "MIT" ]
10
2020-12-24T07:14:38.000Z
2022-03-15T06:45:08.000Z
#include "ImguiWrap/ImguiResourceManager.h" #include "imgui.h" #include "Logging.h" #include "Config/ImguiConfig.h" #include "ImguiWrap/ImguiContext.h" #include "Slate/SlateTextureAtlasInterface.h" FImguiResource::FImguiResource(const FName& InName, UTexture* SourceObject) : Name(InName) , Source(SourceObject) { c...
28.787879
124
0.762737
ZhuRong-HomoStation
93bc62aad3e862b55661de0c9a3e14edc8cefffe
411
cpp
C++
RangeQueries/RangeUpdateQueries/short_m.cpp
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
27
2019-12-23T21:20:00.000Z
2022-02-06T04:28:27.000Z
RangeQueries/RangeUpdateQueries/short_m.cpp
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
2
2020-04-14T21:40:43.000Z
2020-09-06T11:15:42.000Z
RangeQueries/RangeUpdateQueries/short_m.cpp
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
9
2020-05-22T08:00:29.000Z
2021-09-14T09:01:58.000Z
#include<iostream> using namespace std;typedef long long ll;ll t[10000000];int N,Q,v,q,l,z,u,a; ll query(int r){ll s=0;for(;r>=0;r=(r&(r+1))-1)s+=t[r];return s;} void update(int i,int m){for(;i<N;i=i|(i+1))t[i]+=m;} int main(){cin>>N>>Q;for(a=0;a<N;++a){cin>>v;update(a,v);update(a+1,-v);}for(a=0;a<Q;++a){cin>>q;if(q==1...
82.2
195
0.579075
0x5eba
93bdb02753841f4a453f0a068372e893379bcf3d
2,860
cc
C++
test/TestGenomicRange.cc
yiq/SubcloneSeeker
e01e9bc8425899581d64edc491461f65c9f7e0b0
[ "MIT" ]
7
2015-04-28T04:42:08.000Z
2022-02-02T10:39:44.000Z
test/TestGenomicRange.cc
yiq/SubcloneSeeker
e01e9bc8425899581d64edc491461f65c9f7e0b0
[ "MIT" ]
1
2018-12-27T07:45:04.000Z
2018-12-27T07:45:04.000Z
test/TestGenomicRange.cc
yiq/SubcloneSeeker
e01e9bc8425899581d64edc491461f65c9f7e0b0
[ "MIT" ]
5
2015-02-25T02:47:49.000Z
2019-11-25T10:16:08.000Z
/** * @file Unit tests for class GenomicLocation * * @see GenomicLocation * @author Yi Qiao */ /* The MIT License (MIT) Copyright (c) 2013 Yi Qiao 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 Sof...
23.636364
77
0.686713
yiq
93bf279a4b02823d7bf2d21a84dce6e5d64c2731
234
cpp
C++
Source/Minigold/Minigold.cpp
Entalpi/unreal-project
71de6292591f45a0855f90a0da5d13a48caabfaa
[ "MIT" ]
null
null
null
Source/Minigold/Minigold.cpp
Entalpi/unreal-project
71de6292591f45a0855f90a0da5d13a48caabfaa
[ "MIT" ]
null
null
null
Source/Minigold/Minigold.cpp
Entalpi/unreal-project
71de6292591f45a0855f90a0da5d13a48caabfaa
[ "MIT" ]
null
null
null
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "Minigold.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Minigold, "Minigold" ); DEFINE_LOG_CATEGORY(LogMinigold)
26
78
0.799145
Entalpi
93bf28aee7c2c78c4d286ab4c84f4d78140e7a47
29,635
cpp
C++
src/game/server/swarm/asw_squadformation.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/server/swarm/asw_squadformation.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/server/swarm/asw_squadformation.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
#include "cbase.h" #include "asw_marine.h" #include "asw_marine_profile.h" #include "ai_hint.h" #include "asw_marine_hint.h" #include "asw_weapon_healgrenade_shared.h" #include "asw_shieldbug.h" #include "asw_boomer_blob.h" #include "ai_network.h" #include "triggers.h" // memdbgon must be the last include f...
31.161935
203
0.649671
BlueNovember
93ca2e05aed8828a593a45c7365891fb06507dcf
426
hpp
C++
ZumoKit/NativeLibs/universal/include/card_callback.hpp
zumo/zumokit-ios
6981dbeaec723262c400d5b3872ace2e08f17997
[ "MIT" ]
null
null
null
ZumoKit/NativeLibs/universal/include/card_callback.hpp
zumo/zumokit-ios
6981dbeaec723262c400d5b3872ace2e08f17997
[ "MIT" ]
null
null
null
ZumoKit/NativeLibs/universal/include/card_callback.hpp
zumo/zumokit-ios
6981dbeaec723262c400d5b3872ace2e08f17997
[ "MIT" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from user.djinni #pragma once #include "exceptions.hpp" namespace zumo { struct Card; /** Callback interface used by methods in User class. */ class CardCallback { public: virtual ~CardCallback() {} virtual void on_error(const ::zumo:...
18.521739
66
0.697183
zumo
93ca6241ad4d403fa0bc94d84106af5665e3047b
392
cpp
C++
Server/HttpHandlerHolder/HttpHandlerHolder.cpp
Dnnd/tp-http-server
ef76152ac740227c09c6a073aaa5858e36a4b536
[ "MIT" ]
1
2019-02-12T12:45:28.000Z
2019-02-12T12:45:28.000Z
Server/HttpHandlerHolder/HttpHandlerHolder.cpp
Dnnd/tp-http-server
ef76152ac740227c09c6a073aaa5858e36a4b536
[ "MIT" ]
null
null
null
Server/HttpHandlerHolder/HttpHandlerHolder.cpp
Dnnd/tp-http-server
ef76152ac740227c09c6a073aaa5858e36a4b536
[ "MIT" ]
null
null
null
#include <QtNetwork/QTcpSocket> #include "HttpHandlerHolder.h" #include "../HttpHandler/HttpHandler.h" Handler *HttpHandlerHolder::createHandler(QTcpSocket *socket, QObject *parent) const { Handler *handler = new HttpHandler(documentRoot_, socket, parent); return handler; } HttpHandlerHolder::HttpHandlerHolde...
28
86
0.772959
Dnnd
93d02202e8fe7f3a088b7b77831cd67cb2d441d9
31
cpp
C++
Inheritance/MyLowestClass.cpp
joshy409/Code-Design-and-Data-Structures
7c095242fe0dc0c6b0319dc07ac4c99b4c6d204f
[ "MIT" ]
null
null
null
Inheritance/MyLowestClass.cpp
joshy409/Code-Design-and-Data-Structures
7c095242fe0dc0c6b0319dc07ac4c99b4c6d204f
[ "MIT" ]
null
null
null
Inheritance/MyLowestClass.cpp
joshy409/Code-Design-and-Data-Structures
7c095242fe0dc0c6b0319dc07ac4c99b4c6d204f
[ "MIT" ]
null
null
null
#include "MyLowestClass.h"
5.166667
26
0.677419
joshy409
93d02a96652b15c9de8bc5a4745afb5ad6d538f2
1,686
cpp
C++
1021.cpp
YukiMuraRindon/LeetcodePractice
3c9f84b677e4bc7be1d6b54009768d25536c4c12
[ "MIT" ]
null
null
null
1021.cpp
YukiMuraRindon/LeetcodePractice
3c9f84b677e4bc7be1d6b54009768d25536c4c12
[ "MIT" ]
null
null
null
1021.cpp
YukiMuraRindon/LeetcodePractice
3c9f84b677e4bc7be1d6b54009768d25536c4c12
[ "MIT" ]
null
null
null
/* 有效括号字符串为空 ("")、"(" + A + ")" 或 A + B,其中 A 和 B 都是有效的括号字符串,+ 代表字符串的连接。例如,"","()","(())()" 和 "(()(()))" 都是有效的括号字符串。 如果有效字符串 S 非空,且不存在将其拆分为 S = A+B 的方法,我们称其为原语(primitive),其中 A 和 B 都是非空有效括号字符串。 给出一个非空有效字符串 S,考虑将其进行原语化分解,使得:S = P_1 + P_2 + ... + P_k,其中 P_i 是有效括号字符串原语。 对 S 进行原语化分解,删除分解中每个原语字符串的最外层括号,返回 S 。   示例 1: 输入...
19.37931
112
0.467378
YukiMuraRindon
93d74d5d46700833a72a4416b64d3d05d998fa18
6,856
cpp
C++
ODFAEG/src/odfaeg/Core/utilities.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ODFAEG/src/odfaeg/Core/utilities.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ODFAEG/src/odfaeg/Core/utilities.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
#include "../../../include/odfaeg/Core/utilities.h" #include <iostream> #include <filesystem> namespace odfaeg { namespace core { using namespace std; using namespace sf; std::vector<std::string> split(const std::string& stringToBeSplitted, const std::string& delimeter) { ...
36.468085
108
0.402713
Mechap
93dad0738fb741b34ecb19c95bc2a1b6f8f486cf
14,798
cpp
C++
qtfred/src/ui/dialogs/ShipInitialStatusDialog.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
null
null
null
qtfred/src/ui/dialogs/ShipInitialStatusDialog.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
1
2019-02-03T04:53:12.000Z
2019-02-03T04:53:12.000Z
qtfred/src/ui/dialogs/ShipInitialStatusDialog.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
1
2021-05-31T01:41:35.000Z
2021-05-31T01:41:35.000Z
#include "ShipInitialStatusDialog.h" #include "globalincs/alphacolors.h" #include "ui_ShipInitialStatus.h" #include "object/objectdock.h" #include <globalincs/linklist.h> #include <mission/object.h> #include <ui/util/SignalBlockers.h> #include <QCloseEvent> namespace fso { namespace fred { namespace dialogs { ...
33.404063
119
0.684755
trgswe
93de8771c2d80df71642549251e05045b038008c
3,595
cpp
C++
Sources/ImageTool.cpp
KTXSoftware/hake
f118e0a902546d3355cb337c29928135c886c3bd
[ "Zlib" ]
2
2017-11-26T22:33:38.000Z
2018-05-11T21:58:38.000Z
Sources/ImageTool.cpp
KTXSoftware/hake
f118e0a902546d3355cb337c29928135c886c3bd
[ "Zlib" ]
null
null
null
Sources/ImageTool.cpp
KTXSoftware/hake
f118e0a902546d3355cb337c29928135c886c3bd
[ "Zlib" ]
null
null
null
#include "ImageTool.h" #include "Files.h" #include "KhaExporter.h" #include "stb_image.h" #include "stb_image_write.h" #include <algorithm> #include <cmath> using namespace kmd; using namespace kake; namespace { typedef unsigned char u8; typedef unsigned int u32; int k_round(float value) { retur...
33.598131
174
0.560779
KTXSoftware
93e0e0453873453db5020f9322d933c27702be79
294
cpp
C++
json-parser002/lib/json_exception.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
json-parser002/lib/json_exception.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
json-parser002/lib/json_exception.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
#include "json_exception.h" #include <sstream> JsonException::JsonException(const std::string &message, int line, int column) { std::stringstream ss; ss << message << " at " << line << ':' << column; } const char *JsonException::what() const noexcept { return message_.c_str(); }
24.5
80
0.663265
syohex
93e2b6a988dc7c2161a3339802bf7cc56db7d1d4
1,316
cpp
C++
src/print.cpp
vivkin/jzon
49a7d1d4da166c7570679abaae8a1977f03bb0d4
[ "MIT" ]
7
2015-02-22T20:19:34.000Z
2021-03-08T14:09:02.000Z
src/print.cpp
vivkin/jzon
49a7d1d4da166c7570679abaae8a1977f03bb0d4
[ "MIT" ]
1
2017-08-05T18:49:13.000Z
2017-08-05T18:49:13.000Z
src/print.cpp
vivkin/jzon
49a7d1d4da166c7570679abaae8a1977f03bb0d4
[ "MIT" ]
1
2018-10-06T10:01:43.000Z
2018-10-06T10:01:43.000Z
#include "gason2.h" #include "gason2dump.h" #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { if (argc < 2) { fprintf(stderr, "usage: %s [-v] [file ...]\n", argv[0]); exit(EXIT_FAILURE); } bool verbose = false; for (int i = 1; i < argc; ++i) { if (!strcmp...
25.803922
71
0.461246
vivkin
93e4fff45d18e9041286d94ef47ed3d8ef9d7ed8
2,676
cpp
C++
src/emulator/Debugger.cpp
Wycube/Fish-8
b68b78ce348232364862b8df9737066d02ddfcd2
[ "MIT" ]
null
null
null
src/emulator/Debugger.cpp
Wycube/Fish-8
b68b78ce348232364862b8df9737066d02ddfcd2
[ "MIT" ]
null
null
null
src/emulator/Debugger.cpp
Wycube/Fish-8
b68b78ce348232364862b8df9737066d02ddfcd2
[ "MIT" ]
null
null
null
#include "Debugger.hpp" #include <fmt/printf.h> namespace fish { static std::array<const char*, 35> mnemonics = { "NOP/SYS", "CLS", "RET", "JP %03X", "CALL %03X", "SE V%X, %i", "SNE V%X, %i", "SE V%X, V%X", "LD V%X, %i", "ADD V%X, %i", "LD V%X, V%X", "OR V%X, V%X", "AND V%X, V%X", "XOR V%X,...
23.068966
70
0.55867
Wycube
93e6aac3365d5663d9ad3b0304756150227009bc
319
hpp
C++
addons/headgear/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
addons/headgear/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
addons/headgear/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
#define COMPONENT headgear #define COMPONENT_BEAUTIFIED Headgear #include "\z\havoc\addons\main\script_mod.hpp" #ifdef DEBUG_ENABLED_HEADGEAR #define DEBUG_MODE_FULL #endif #ifdef DEBUG_SETTINGS_HEADGEAR #define DEBUG_SETTINGS DEBUG_SETTINGS_HEADGEAR #endif #include "\z\havoc\addons\main\script_macros.hpp"
22.785714
50
0.818182
JeffPerk
93e7ae288beea19aca824c6dbce2618bf13c0008
5,360
cc
C++
src/preproc/do_prover3.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/preproc/do_prover3.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/preproc/do_prover3.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the f...
32.883436
103
0.680597
nerdling
93e9737656bf1132822675a1768fcf7337a24b42
24,512
hh
C++
src/yajlpp.hh
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
src/yajlpp.hh
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
src/yajlpp.hh
emilianobonassi/lnav
37f46af7a691192fba4a889e4e4da6cbfcaac8e4
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2013, Timothy Stack * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of condi...
33.03504
111
0.638014
emilianobonassi
93ed52711b43e56b8f78459b4daf2c40f084e15d
279
cc
C++
ch06/ex6_9_fact_main.cc
bashell/Cpp-Primer
405c5c43edc4bc734ee2a445b7a1f135e33c7f2b
[ "Apache-2.0" ]
null
null
null
ch06/ex6_9_fact_main.cc
bashell/Cpp-Primer
405c5c43edc4bc734ee2a445b7a1f135e33c7f2b
[ "Apache-2.0" ]
null
null
null
ch06/ex6_9_fact_main.cc
bashell/Cpp-Primer
405c5c43edc4bc734ee2a445b7a1f135e33c7f2b
[ "Apache-2.0" ]
null
null
null
// factMain.cc #include <iostream> #include "ex6_8.h" using std::cin; using std::cout; using std::endl; int main() { int val; cout << "Input a integer: " << endl; cin >> val; cout << "The factorial of " << val << " is " << MyFact(val) << endl; return 0; }
15.5
72
0.55914
bashell
93f1d21d4a7702cbbda371ba6e6e69df9974ccad
647
cpp
C++
144_preorderTraversal.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
144_preorderTraversal.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
144_preorderTraversal.cpp
imxiaobo/leetcode-solutions
a59c4c9fa424787771c8faca7ba444cae4ed6a4e
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> preorderTraversal(TreeNode *root) { std::stack<TreeNode *> stack; std::vector...
21.566667
59
0.528594
imxiaobo
93f20a846ff5f1ef0cc4db5e03fa676b9a79a707
6,062
cpp
C++
tests/matrices.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
tests/matrices.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
tests/matrices.cpp
pdm-pcb/pdmath
6c8ac4288c68bbe547e71f5bb7d1e44d3f1e35ab
[ "MIT" ]
null
null
null
#include "pdmath/Matrix3.hpp" #include "pdmath/Vector3.hpp" #include "pdmath/Matrix4.hpp" #include "pdmath/Vector4.hpp" #include "catch2/catch_test_macros.hpp" #include "catch2/catch_approx.hpp" using namespace pdm; using namespace Catch; TEST_CASE("Matrices can multiply", "[matrices]") { Mat3 m( 3.0f, -5.0f, ...
30.009901
80
0.423458
pdm-pcb
93fb027d867d902d3c6541872be8561db2b9f0f8
2,873
cpp
C++
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
src/Hexxagon/HexxagonAIPlayer.cpp
ldornbusch/hexxagon_sfml
62de9412a46da98f212f4c2fa8c934786200f02a
[ "Apache-2.0" ]
null
null
null
// HexxagonAIPlayer.cpp: implementation of the HexxagonAIPlayer class. // ////////////////////////////////////////////////////////////////////// #include "HexxagonAIPlayer.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////...
31.571429
90
0.611556
ldornbusch
93fd8bcc603f7a670dbd908b046820328c44405c
155
hpp
C++
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
1
2021-12-14T21:36:39.000Z
2021-12-14T21:36:39.000Z
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
include/SplayLibrary/3D/3D.hpp
Reiex/SplayLibrary
94b68f371ea4c662c84dfe2dd0a6d1625b60fb04
[ "MIT" ]
null
null
null
#pragma once #include <SplayLibrary/3D/Transformable3D.hpp> #include <SplayLibrary/3D/PerspectiveCamera.hpp> #include <SplayLibrary/3D/Mesh.hpp>
19.375
49
0.76129
Reiex
9e00e4e64c362ff594dc35d56dd31835d2dece09
2,349
cpp
C++
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/manual/cocoa/appicon/main.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid ...
34.043478
78
0.65049
power-electro
9e0334d3223ce649d87ca4a066c190672e17c82f
2,050
cpp
C++
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
1
2021-12-19T02:06:12.000Z
2021-12-19T02:06:12.000Z
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
Vishv_GE/Framework/Graphics/Src/BlendState.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "BlendState.h" #include "D3DUtil.h" #include "GraphicsSystem.h" using namespace Vishv; using namespace Vishv::Graphics; namespace { D3D11_BLEND GetSrcBlend(BlendState::Mode mode) { switch (mode) { case BlendState::Mode::Opaque: return D3D11_BLEND_ONE; case BlendState::Mo...
24.698795
101
0.76
InFaNsO
9e0532cb756a276c21b2f7dd8d822889833e8769
906
tcc
C++
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
1
2019-11-15T14:01:59.000Z
2019-11-15T14:01:59.000Z
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
null
null
null
include/biggles/observation.tcc
fbi-octopus/biggles
2dac4f1748ab87242951239caf274f302be1143a
[ "Apache-2.0" ]
null
null
null
#ifndef WITHIN_BIGGLES_OBSERVATION_HPP__ #error "this file must only be included by observation.hpp" #endif // WITHIN_BIGGLES_OBSERVATION_HPP__ #include <cmath> namespace biggles { inline bool observations_see_each_other(const observation& o1, const observation& o2, const float& speed_of_light) { time_stamp dt(s...
27.454545
116
0.674393
fbi-octopus
9e07e6eba2f995fe5d7c9947da1cbc6fb4e713d0
4,213
cpp
C++
Solutions/Word Break II/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Word Break/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Word Break/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <unordered_set> #include <unordered_map> #include <vector> using namespace std; class Solution { public: bool wordBreak(string s, unordered_set<string> &dict) { if (s.size() == 0) { return false; } int *dp = new int[s.size()]; ...
29.256944
107
0.402326
Crayzero
9e0910efb0364f3a7775db8f80e66e5f1afc8c49
3,602
hpp
C++
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome/type/algorithm.hpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // algorithm.hpp // jerome // // Created by Anton Leuski on 9/8/16. // Copyright © 2016 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
30.016667
88
0.628262
leuski-ict
9e0a7e544681068eb6bc06e2b0bbefecaa6f6fc3
6,920
cpp
C++
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
1
2020-10-02T04:18:27.000Z
2020-10-02T04:18:27.000Z
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
firmware/snake.cpp
fitzterra/bittycade
aa0918d924177557755a82498a55dc4712abcf4f
[ "MIT" ]
null
null
null
#include "snake.h" extern byte lost[]; /** * Generates a point at the given coordinates and returns a pointer to it. * The point is dynamically allocated and must be freed again when it is not needed anymore. **/ point* Snake::spawnSegment(int x, int y) { point *position; position = (struct point*)malloc(sizeof(...
28.953975
92
0.580347
fitzterra
9e0f3616ab802bf3927394c258e373b18b7b2872
550
hpp
C++
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
8
2021-03-16T06:48:57.000Z
2021-11-30T09:34:09.000Z
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
null
null
null
data-manager/src/server/dataManagerServer/DataManagerTCPServer.hpp
Saafke/4dm
68e235164afb1f127def35e9c15ca883ec1426d4
[ "MIT" ]
3
2021-05-02T15:38:17.000Z
2021-07-07T09:19:48.000Z
#pragma once #include "TCPConnection.hpp" #include "boost/asio.hpp" #include "boost/thread.hpp" #include "boost/bind.hpp" using boost::asio::ip::tcp; namespace dataManagerServer { class DataManagerTCPServer { public: DataManagerTCPServer(boost::asio::io_context& io_context, uint16_t port); void Stop(); bool St...
18.333333
117
0.758182
Saafke
9e14075c73d7cf1511d83e703eb6e9e1e6a37cb8
260
cpp
C++
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
Battleship/HumanPlayer.cpp
Alimektor/battleship-cpp-clr
6c1fd7c263e087592cfee3dcd487f91c1a286554
[ "MIT" ]
null
null
null
#include "HumanPlayer.h" void BattleshipGame::HumanPlayer::GetTurn() { SetEnabled(); } void BattleshipGame::HumanPlayer::SetEnabled() { this->GetBoard()->SetEnabled(); } void BattleshipGame::HumanPlayer::SetDisabled() { this->GetBoard()->SetDisabled(); }
16.25
47
0.726923
Alimektor
9e16f1dbfa8ed275dabcc360763ac04036bf904d
11,236
cpp
C++
Plugins/JVM/NWScript.cpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
Plugins/JVM/NWScript.cpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
Plugins/JVM/NWScript.cpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#include "JVM.hpp" #include "Internal.hpp" #include "Util.h" #include "Services/Events/Events.hpp" #include "API/Globals.hpp" #include "API/Constants.hpp" #include "API/CScriptLocation.hpp" #include "API/Vector.hpp" #include "API/CVirtualMachine.hpp" #include "API/CVirtualMachineCmdImplementer.hpp" #include "API/CNWVi...
42.722433
145
0.711908
acaos
9e1d75722c8b7c063101f156f436a3a30dcd83c5
5,365
cpp
C++
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
simulation/libsimulator/test/resolver.cpp
SylemST-UtilCollection/libtorrent-build
76c22d0f0aa0e6541983fa793789f3a5774cf0ca
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2015, Arvid Norberg All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
26.959799
101
0.706803
SylemST-UtilCollection
9e1f6e281c5cf2c4cbbcd9f72eb58c587a16a49f
958
cpp
C++
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
6
2021-09-05T08:31:36.000Z
2021-12-09T21:14:37.000Z
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
30
2021-05-19T15:33:03.000Z
2022-03-30T19:26:37.000Z
impl/jamtemplate/common/state_manager/state_manager_transition_fade_to_black.cpp
runvs/1hgj_352
ee7bbab20729427ce9e5f861101a75f6b3f699d3
[ "CC0-1.0" ]
3
2021-05-23T16:06:01.000Z
2021-10-01T01:17:08.000Z
#include "state_manager_transition_fade_to_black.hpp" #include "math_helper.hpp" #include <iostream> namespace jt { StateManagerTransitionFadeToBlack::StateManagerTransitionFadeToBlack( Vector2f const& overlaySize, TextureManagerInterface& tm, float timerMax) : StateManagerTransitionImpl(timerMax) { m_sha...
29.030303
98
0.72547
runvs
9e20ab1b6a0e40e6b87f721039e8f1fe29b0b9e8
798
cpp
C++
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
2
2018-03-28T06:53:23.000Z
2021-05-26T19:35:01.000Z
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
src/system/boot/platform/generic/text_console.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
/* * Copyright 2021, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #include <boot/platform/generic/text_console.h> #include <boot/vfs.h> // This is set by the boot platform during console_init(). ConsoleNode* gConsoleNode; void console_clear_screen() { gConsoleNode->Cle...
12.870968
58
0.743108
Yn0ga
9e23e11f78e9b498e214119f29e79ad06752bb93
7,595
cpp
C++
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
13
2015-02-25T02:42:38.000Z
2018-07-31T11:40:56.000Z
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
8
2015-02-12T22:27:05.000Z
2017-01-21T15:59:17.000Z
src/Plugins/ECEditor/ECEditor.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
12
2015-03-25T21:10:50.000Z
2019-04-10T09:03:10.000Z
// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "Win.h" #include "ECEditor.h" #include "Framework.h" #include "SceneStructureWindow.h" #include "ECEditorWindow.h" #include "FileDialog.h" #include "AssetAPI.h" #include "UI/UiAPI.h" #include "UI/MenuBar.h" #...
27.618182
123
0.665043
realXtend
9e26d52e7f8445379b9e0da30207d81035832aff
15,003
cc
C++
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Publisher.cc
amtj/ign-transport
3b386bf46efd2fc0b847aa7fd3911b1d9d27546c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
27.886617
80
0.603013
amtj
9e2aaf25ccb083bc8ac3b0a9ee518f7ffb2c8297
4,120
cpp
C++
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
2
2021-04-18T07:35:56.000Z
2021-04-23T07:37:58.000Z
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/Int128
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
29
2020-12-18T00:50:36.000Z
2021-03-22T21:35:18.000Z
visual_studio_environment_test/src/visual_studio_environment_test_app/test_intrinsics.cpp
cpsusie/cjm-numerics
9719f4aa7ed0fa157f4705e3f20f069e28a5755f
[ "MIT" ]
null
null
null
// Copyright © 2020-2021 CJM Screws, LLC // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
58.028169
210
0.700485
cpsusie
9e2d394371ede6bdc498346aaddee016c646311d
6,001
cpp
C++
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
1
2020-03-16T19:59:25.000Z
2020-03-16T19:59:25.000Z
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
null
null
null
TerraForm/terraindesigner.cpp
MasterQ32/TerraForm
78db64148440b8236794078833d371d0aed3d262
[ "MIT" ]
null
null
null
#include "terraindesigner.hpp" #include "dragdrop.hpp" #include "terrainfeaturegroup.hpp" #include <QDebug> #include <QtMath> #include <QMouseEvent> #include <QMimeData> static char const * const terrain_vert = R"glsl(#version 450 layout(location = 0) in float uVertexHeight; uniform mat4 uTransform; uni...
24.295547
116
0.633228
MasterQ32
9e3125e679fe0b5943aab85924d6d4ce7ce2da3a
638
cpp
C++
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
1
2020-02-12T10:52:25.000Z
2020-02-12T10:52:25.000Z
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
null
null
null
HW1_T6.cpp
MihailBeloshapkin/TASK
d851d13717366b76e165b5dab1df84951efa3cf8
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <stdio.h> int main() { int counter = 0; int operationCounter = 0; bool isSimilar = true; const int stringSize1 = 13; const int stringSize2 = 4; char string1[stringSize1] = "bckbcdbqbckc"; char string2[stringSize2] = "bck"; for (int i = 0; i < stringSize1 - stringSize2 + 1; i++) { ...
18.764706
66
0.639498
MihailBeloshapkin
9e416225132157e9504bfb0557c67938e99e68e6
71,009
cpp
C++
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
1
2021-02-14T15:04:04.000Z
2021-02-14T15:04:04.000Z
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
null
null
null
turkey/instructions.cpp
AndrewAPrice/Turkey
aa3fab9bc344b1550eac306471b0513daf286e8a
[ "Apache-2.0" ]
null
null
null
#include "hooks.h" #include "turkey.h" // do nothing void turkey_interpreter_instruction_nop(TurkeyVM *vm) { } void turkey_interpreter_instruction_add(TurkeyVM *vm) { TurkeyVariable a, b; if(!vm->variable_stack.Pop(b)) b.type = TT_Null; if(!vm->variable_stack.Pop(a)) b.type = TT_Null; TurkeyVariable ret; ret.ty...
31.629844
136
0.762523
AndrewAPrice
9e45d4a8c77de0d29808520d9b8f184b21f27967
9,969
hpp
C++
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
5
2017-04-10T18:23:35.000Z
2022-02-21T00:27:23.000Z
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
1
2020-07-09T14:25:49.000Z
2020-07-13T19:30:18.000Z
src/analysis/include/mpi/SendRecvRule.hpp
rdietric/casita
02453e1467af10710dd87065c26bccd5d2026c67
[ "BSD-3-Clause" ]
1
2022-02-21T00:27:26.000Z
2022-02-21T00:27:26.000Z
/* * This file is part of the CASITA software * * Copyright (c) 2013-2018, * Technische Universitaet Dresden, Germany * * This software may be modified and distributed under the terms of * a BSD-style license. See the COPYING file in the package base * directory for details. * */ #pragma once #include "IMPI...
35.476868
87
0.556726
rdietric
9e48476d47d9c1b22447aa0818b1fb40b07603ad
1,749
cpp
C++
plugin_vc/game_vc/CCopPed.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_vc/game_vc/CCopPed.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_vc/game_vc/CCopPed.cpp
SteepCheat/plugin-sdk
a17c5d933cb8b06e4959b370092828a6a7aa00ef
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto Vice City) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CCopPed.h" // Converted from thiscall void CCopPed::ArrestPlayer(void) 0x4EB470 void CCopPed::ArrestPlayer() { plug...
33.634615
80
0.743282
gta-chaos-mod
eaff88e76a76a81e34f6ad6e09b35eead91d7d23
5,814
cpp
C++
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
src/obj_loader.cpp
hadalhw17/meshloader
411babf21a6bddf61c6ea8fc8b8ffce325ae5e52
[ "MIT" ]
null
null
null
#include "obj_loader.hpp" #include <algorithm> #include <array> #include <fmt/format.h> #include <functional> #include <string> #include <cassert> #include <thread> namespace loader { template <class ArgumentType, class ResultType> struct unary_function { using argument_type = ArgumentType; using result_type = Re...
25.5
79
0.573443
hadalhw17
eaff8d6675c4e7af73288e00a06a6523cb9d2418
12,260
hpp
C++
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
1
2018-04-21T09:24:36.000Z
2018-04-21T09:24:36.000Z
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
4
2018-08-05T12:14:41.000Z
2021-09-20T14:38:50.000Z
include/fluidity/container/array_view.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
null
null
null
//==--- fluidity/container/array_view.hpp ------------------ -*- C++ -*- ---==// // // Fluidity // // Copyright (c) 2018 Rob Clucas. // // This file is distributed under the MIT License. See LICENSE for details. // //==-----------------------------------...
36.816817
80
0.668108
robclu
d80788d45ddaabb723daa5df302b1f59f7bf3172
1,355
hpp
C++
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/base/fraction_band_widget.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
27.653061
86
0.746863
igagis
d81d303a6c4bc521cdf5cb60c0d76c699efe3470
976
cpp
C++
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
3
2018-11-12T07:32:42.000Z
2021-07-27T04:40:41.000Z
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
null
null
null
74.cpp
adelacvg/PE
0345335a3f959342625be03ae36a21bbad45f273
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int M = 1000000; int fac[20]={1,1,2,6,24,120,720,5040,40320,362880}; int cash[1000001]; int f(int n) { int sum=0; while(n) { sum+=fac[n%10]; n/=10; } return sum; } int main() { cash[169]=3; cash[363601]=3; cash[1454]=3; ca...
17.428571
51
0.396516
adelacvg
d825a7564b9ef54397cc86c7336fc7ea33d3555b
1,528
cpp
C++
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
2
2020-07-14T19:37:43.000Z
2020-07-15T04:38:09.000Z
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
src/example_ceres_helloworld.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
/* A simple example of using the Ceres minimizer. Minimize 0.5 (10 - x)^2 using jacobian matrix computed using automatic differentiation. */ #include <ceres/ceres.h> #include <glog/log_severity.h> using ceres::AutoDiffCostFunction; using ceres::CostFunction; using ceres::Problem; using ceres::Solve; using ceres::S...
31.833333
93
0.704188
dringakn
d82ba3919471c00c10094e9a854645d6f1c568aa
461
cpp
C++
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
2
2018-10-14T03:12:45.000Z
2018-10-14T03:12:54.000Z
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
29
2018-04-03T01:02:56.000Z
2020-01-10T21:42:42.000Z
Tests/bug18.cpp
klassen-software-solutions/ksstest
c90efdbc40613230f42a84d31e9b8172bde57453
[ "MIT" ]
null
null
null
// // bug18.cpp // unittest // // Created by Steven W. Klassen on 2019-01-17. // Copyright © 2019 Klassen Software Solutions. All rights reserved. // #include <kss/test/all.h> using namespace std; using namespace kss::test; static TestSuite ts("bug18", { // The bug is that this will not compile. make_pa...
20.043478
69
0.613883
klassen-software-solutions
d83fafa0bfa6493f1b49c2bb74d1ab57adad6261
3,290
cpp
C++
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/scene/mesh/Mesh.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
1
2021-08-24T05:43:01.000Z
2021-08-24T05:43:01.000Z
#include "../../../../../include/core/p_render/scene/mesh/Mesh.hpp" using namespace scene; /* SUBMESH */ SubMesh::SubMesh(const SubMeshCreateInfo &info) : Renderable() { name_ = info.name; // set up submesh data (these submesh objects should contain the actual geometry data) numVertices_ = info.vertexCou...
33.917526
101
0.672948
jabronicus
d8470c10963e74c4c0e7f281ca1bfd5c914038a8
1,496
cpp
C++
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
5
2015-07-14T10:29:25.000Z
2016-10-11T12:45:18.000Z
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
null
null
null
ural/1085.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
3
2016-08-23T01:05:26.000Z
2017-05-28T02:04:20.000Z
/* Problem: Ural1085 Algorithm: Floyd-Warshall Time: O() Memory: O() Detail: Simple Coded by [BUPT]AkemiHomura */ #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int MaxN = 105; const int INF = 0x1fffffff; int N, M, K, L; int Stop[MaxN], Money[MaxN], S[Max...
19.946667
55
0.456551
jffifa
d8474c18e8a284c93eadb433d8226d080be9b940
1,363
hxx
C++
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/Words.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
// // Words.hxx // // // Created by Karl W Pfalzer. // #ifndef laolx_parser_Words_hxx #define laolx_parser_Words_hxx #include "laolx/parser/laolx.hxx" namespace laolx { namespace parser { class Words : public _Acceptor { public: explicit Words() {} virtual ~Words() {} class Node : ...
16.22619
55
0.608217
kpfalzer
d8491f1f1fd13e489d8a2f4083ce992df573b6c9
5,811
cpp
C++
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
1
2022-01-15T21:58:08.000Z
2022-01-15T21:58:08.000Z
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
15
2018-12-15T04:09:58.000Z
2019-09-29T18:51:06.000Z
src/partition/Partitioning.cpp
dlasalle/poros
a87e2dc1b64c47f94e0ce05adadbd7e35a63d166
[ "MIT" ]
null
null
null
/** * @file Partitioning.cpp * @brief Implementation of the partitioning class. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017-2018 * @version 1 * @date 2017-10-04 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fil...
27.9375
86
0.637928
dlasalle
d849a646f5c5f17071e8dc8783da51d6c3fb796d
679
inl
C++
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
1
2019-10-31T19:18:45.000Z
2019-10-31T19:18:45.000Z
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
ecs/inc/inline/component.inl
RyeToastyO/Ecs
ed748693d28d581abd7912acb992a912768cb62d
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // Copyright (c) 2020 Riley Diederich // License (MIT): https://github.com/RyeToastyO/Ecs/blob/master/LICENSE // ---------------------------------------------------------------------------- namespace ecs { namespace impl { template<typena...
29.521739
79
0.543446
RyeToastyO
d84a36b1b19978e5fd2c8aa0eb0af247f54c7cd5
148
cpp
C++
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
1
2021-04-19T12:36:02.000Z
2021-04-19T12:36:02.000Z
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
null
null
null
src/app/src/main.cpp
Mahmuttalemdar/TicTacToe.AI
ccd7f51c5bdfdd86996790db287d2f3d1628809b
[ "MIT" ]
null
null
null
#include <glue/src/entrance.h> int main(int argc, char* argv[]) { // Show time for TicTacToeAI Entrance::getInstance()->run(argc, argv); }
18.5
45
0.655405
Mahmuttalemdar
d84fb18dcfcbfb1d61a326e28bfa47bc75096e01
348
hpp
C++
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
6
2019-08-08T04:28:27.000Z
2022-03-19T14:27:44.000Z
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
1
2021-07-25T19:58:15.000Z
2021-07-26T19:40:00.000Z
src/manager.hpp
handtruth/mcshub
00f23171a868b80469020b6f1830c290570b0187
[ "MIT" ]
null
null
null
#ifndef _MANAGER_HEAD #define _MANAGER_HEAD #include <ekutils/cli.hpp> #include <ekutils/stdin_d.hpp> #include <ekutils/reader.hpp> namespace mcshub { class manager { ekutils::choice_cli_node root; ekutils::reader input = ekutils::reader(ekutils::input); public: manager(); void on_line(); }; } // namespace mcsh...
16.571429
57
0.741379
handtruth
d85a86e411fdee4052b2371049ac362d3ad5d2db
526
cpp
C++
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
src/AnimationWaitingThread.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
null
null
null
#include "AnimationWaitingThread.h" #include <QWaitCondition> #include <QMutex> #include <QMutexLocker> #include <QTime> AnimationWaitingThread::AnimationWaitingThread(functionPtr f_, QWaitCondition * waitCondition_, QMutex * mutex_) : f(f_), waitCondition(waitCondition_), mutex(mutex_) { go = true; } void A...
21.916667
112
0.692015
mbychawski
d866ae42b1198b97b85397a18ec8209b90893034
3,155
hpp
C++
nheqminer/3rdparty/boost/metaparse/v1/impl/concat.hpp
EuroLine/nheqminer
81c7ef889bb502d16f7d1e7ef020d0592f8af945
[ "MIT" ]
886
2016-10-20T20:59:59.000Z
2022-03-12T07:47:52.000Z
ios/Pods/boost-for-react-native/boost/metaparse/v1/impl/concat.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
369
2016-10-21T07:42:54.000Z
2020-11-19T10:49:29.000Z
ios/Pods/boost-for-react-native/boost/metaparse/v1/impl/concat.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
#ifndef BOOST_METAPARSE_V1_IMPL_CONCAT_HPP #define BOOST_METAPARSE_V1_IMPL_CONCAT_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. // 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) #include ...
29.485981
78
0.57496
EuroLine
d867a852a5188947c4499ac0345549c8b066d628
3,527
cpp
C++
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
86
2020-05-14T17:20:22.000Z
2022-01-21T22:53:24.000Z
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
6
2020-05-16T18:50:00.000Z
2022-01-21T15:30:16.000Z
source/frontend/views/debug_window.cpp
GPUOpen-Tools/radeon_memory_visualizer
309ac5b04b870aef408603eaac4bd727d5d3e698
[ "MIT" ]
11
2020-10-15T15:55:56.000Z
2022-03-16T20:38:29.000Z
//============================================================================= // Copyright (c) 2018-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief Implementation of the debug window. //==================================================================...
25.744526
116
0.633116
GPUOpen-Tools
d86e6d943a900d2b32bbb8f844002f43074e01ee
2,017
cpp
C++
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
Homeworks/Homework_10/Task_02/main.cpp
sdvelev/Data-Structures-and-Algorithms
286c29dc550bae1936869cf2c3a2c57c1242c60b
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include<queue> #include <iostream> #include <algorithm> using namespace std; vector<pair<long long, long long>> neighbourSeats = { {-1, 0}, {0, 1}, {1, 0}, {0, -1} }; int main() { long long rows; cin >> rows; long long cols; cin >> cols; long...
25.858974
102
0.567675
sdvelev
d86ec1d1d3fe451ce227964f3e0aab7d4dd1a32f
4,003
cc
C++
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
unique-binary-search-trees-2.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <random> #include <set> #include <map> #include <unordered_map> #include <unordered_set> #include <queue> #include <algorithm> using namespace std; template<class T, class S> ostream& operator<<(ostream& os, const unordered_map<T, S>& v) { bool f = true...
23.686391
65
0.439171
sonald
d86f7530fc7e0e69adabc7a514cb22ba76c74ccf
1,440
cpp
C++
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/gram_GetEnumtorSet.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// gram_GetEnumtorSet.cpp // #include "gram_GetEnumtorSet.h" // gram #include "gram_BlockTable.h" #include "gram_GetNodeName.h" #include "gram_Nonterm.h" #include "gram_Visitor.h" // semantic #include "smtc_GetEnumtor.h" #define LZZ_INLINE inline namespace { using namespace gram; } namespace { struct GetEnumtorSe...
21.818182
84
0.696528
SuperDizor
d873762ac3639ce333cbfad0522ba12c595fc408
22,294
cpp
C++
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
8
2017-10-21T16:44:25.000Z
2021-06-04T13:00:54.000Z
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
null
null
null
ReadThread.cpp
cyrilcluzel/CarbonCD
0ad3c5e9e19b1451cd71ae48f45c0aef9ebb94bc
[ "MIT" ]
4
2018-01-20T20:43:30.000Z
2021-06-04T13:00:56.000Z
#include "StdAfx.h" #include "Resource.h" #include "readthread.h" #include "ReadProgressDialog.h" #include "Setting.h" #include "CheckSector.h" #define PGB(a) ((BYTE *)(((DWORD)(a) + 0x0f) & ~0x0f)) static LPCSTR AudioMethod[11][2] = { {"READ D8", "A"}, {"MMC READ CDDA LBA", "B"}, {"MMC READ CDDA MSF", "B"...
30.290761
130
0.375258
cyrilcluzel
d87c2759295b3ff40f17b255d110ce1d113b63a8
4,350
cpp
C++
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
null
null
null
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
1
2021-12-14T13:31:42.000Z
2022-03-12T17:41:30.000Z
src/PositionsFile.cpp
adbailey4/embed_fast5
4416fab3927a4f3deae2f4637ff6c7344b4098c9
[ "MIT" ]
null
null
null
// // Created by Andrew Bailey on 2019-07-15. // // Embed libs #include "PositionsFile.hpp" #include "EmbedUtils.hpp" using namespace std; using namespace embed_utils; /** * Deconstructor for PositionsFile. */ PositionsFile::~PositionsFile() = default; /** * Default constructor for PositionsFile. */ PositionsF...
28.431373
153
0.708276
adbailey4