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
e02bbfa827dc0e2432bd0b9404a91bf05327574d
9,261
cpp
C++
src/IME/graphics/Camera.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
9
2021-01-11T10:43:58.000Z
2022-02-17T10:09:10.000Z
src/IME/graphics/Camera.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
null
null
null
src/IME/graphics/Camera.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
5
2021-03-07T00:32:08.000Z
2022-02-17T10:15:16.000Z
//////////////////////////////////////////////////////////////////////////////// // IME - Infinite Motion Engine // // Copyright (c) 2020-2021 Kwena Mashamaite (kwena.mashamaite1@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentatio...
30.166124
102
0.588273
KwenaMashamaite
e02f0e54e8e446ef9fcab3dd1083824f48156817
4,899
cpp
C++
src/main/loaders/PSF1Loader.cpp
nyanpasu64/vgmcis
273c6613b605378d099299227fbc665a7ed48beb
[ "Zlib" ]
538
2015-02-22T22:10:31.000Z
2022-03-31T22:57:42.000Z
src/main/loaders/PSF1Loader.cpp
nyanpasu64/vgmcis
273c6613b605378d099299227fbc665a7ed48beb
[ "Zlib" ]
230
2015-01-04T14:29:06.000Z
2022-02-28T17:25:02.000Z
src/main/loaders/PSF1Loader.cpp
nyanpasu64/vgmcis
273c6613b605378d099299227fbc665a7ed48beb
[ "Zlib" ]
105
2015-01-07T12:22:01.000Z
2022-03-26T14:16:42.000Z
#include "pch.h" #include "PSFFile.h" #include "PSF1Loader.h" #include "Root.h" using namespace std; wchar_t *GetFileWithBase(const wchar_t *f, const wchar_t *newfile); PSF1Loader::PSF1Loader(void) { } PSF1Loader::~PSF1Loader(void) { } PostLoadCommand PSF1Loader::Apply(RawFile *file) { uint8_t sig[4]; file->Ge...
28.482558
109
0.632578
nyanpasu64
e033382430cd85c130bff929a29444f804b422c0
603
hpp
C++
RealtekCardReader/WolfsSDXCSlot.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
106
2021-07-16T03:27:28.000Z
2022-03-31T15:35:50.000Z
RealtekCardReader/WolfsSDXCSlot.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
28
2021-07-16T09:03:10.000Z
2022-03-28T03:36:47.000Z
RealtekCardReader/WolfsSDXCSlot.hpp
MK-986123/RealtekCardReader
0b1a4c66082b63d057cba2a54721b62cbf11c0ac
[ "BSD-3-Clause" ]
14
2021-07-16T16:15:09.000Z
2022-02-24T22:08:21.000Z
// // WolfsSDXCSlot.hpp // RealtekCardReader // // Created by FireWolf on 6/10/21. // #ifndef WolfsSDXCSlot_hpp #define WolfsSDXCSlot_hpp #include "IOSDHostDevice.hpp" /// /// An empty class from which the host device inherits, /// so the system profiler can see the card slot and list it. /// /// @see /System/Lib...
19.451613
71
0.703151
MK-986123
e0346c0f5a31ca5b6f87552a35e2b882c0972065
3,902
cpp
C++
src/pDrawDetections/DrawDetections.cpp
msis/moos-ivp-msis
89ed68758977fc566f919e72c28cc2dc3145386c
[ "MIT" ]
5
2015-03-26T15:41:36.000Z
2021-09-21T02:46:45.000Z
src/pDrawDetections/DrawDetections.cpp
nicolaje/moos-ivp-ciscrea
89ed68758977fc566f919e72c28cc2dc3145386c
[ "MIT" ]
null
null
null
src/pDrawDetections/DrawDetections.cpp
nicolaje/moos-ivp-ciscrea
89ed68758977fc566f919e72c28cc2dc3145386c
[ "MIT" ]
4
2015-08-26T12:57:43.000Z
2021-04-01T09:27:36.000Z
/************************************************************/ /** NAME: **/ /** FILE: DrawDetections.cpp **/ /** DATE: **/ /************************************************************/...
23.93865
69
0.50897
msis
e034ba6be8e36c3053ffaec7829886e4dae14f8d
2,403
cpp
C++
Swallow/src/Swallow/Core/Application.cpp
ibotha/SwallowEngine
abd069f9670082c76d5a047b13b359b16c6ca701
[ "Apache-2.0" ]
4
2020-02-26T12:23:38.000Z
2021-03-09T04:34:18.000Z
Swallow/src/Swallow/Core/Application.cpp
ibotha/SwallowEngine
abd069f9670082c76d5a047b13b359b16c6ca701
[ "Apache-2.0" ]
1
2019-08-27T13:31:27.000Z
2019-08-27T13:31:27.000Z
Swallow/src/Swallow/Core/Application.cpp
ibotha/SwallowEngine
abd069f9670082c76d5a047b13b359b16c6ca701
[ "Apache-2.0" ]
3
2019-08-21T19:18:09.000Z
2019-08-27T16:47:32.000Z
#include <swpch.hpp> #include <Swallow/Core/Application.hpp> #include <Swallow/Core/Input.hpp> #include <imgui.h> #include <glm.hpp> #include <Swallow/Renderer/Renderer.hpp> #include <GLFW/glfw3.h> namespace Swallow { Application* Application::s_Instance = nullptr; Application::Application(const std::string& name)...
20.364407
85
0.690803
ibotha
e03b5ad2ed7e19758e184d47b8a7025bebc1c0b8
6,756
hh
C++
include/stmicro/hal/tim_type.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
include/stmicro/hal/tim_type.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
include/stmicro/hal/tim_type.hh
no111u3/lp_devices
9fcd370a2b8a3f03a8a2181e403ffe562e48a611
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Boris Vinogradov <no111u3@gmail.com> * * 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 applic...
36.518919
94
0.602724
no111u3
e03f1cd9191d151814d96f82f018c8515e7d6dc9
28,079
cpp
C++
VolumeRenderer/Fluid.cpp
DanWeston626/volume-rendering
6f41983687c4cf75ce24b4bb5bcf5c16de71807d
[ "MIT" ]
1
2021-12-27T01:19:14.000Z
2021-12-27T01:19:14.000Z
VolumeRenderer/Fluid.cpp
DanWeston626/volume-rendering
6f41983687c4cf75ce24b4bb5bcf5c16de71807d
[ "MIT" ]
null
null
null
VolumeRenderer/Fluid.cpp
DanWeston626/volume-rendering
6f41983687c4cf75ce24b4bb5bcf5c16de71807d
[ "MIT" ]
null
null
null
/// <summary> /// Fluid.cpp /// /// About: /// Fluid.cpp contains the implementation for compiling and running /// the shader based (GPU) fluid simulation. The implementation found within this /// class was partially guided by Scrawks 'SmokeFluidSim.cs' class and Valentin Hinov 'Fluid3DCalculator.cpp' /// class. Vale...
36.99473
274
0.768047
DanWeston626
e042fe680085e190aad71230e86c6922991fbf18
3,116
cpp
C++
SensorLibrary/src/SensorLibrary.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SensorLibrary/src/SensorLibrary.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SensorLibrary/src/SensorLibrary.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "stdafx.h" #include "SensorLibrary.h" #include "Recorder.h" //#include "MyGazeSensor.h" #include "MyGazeGTWSensor.h" #include "EnobioSensor.h" //#include "ShimmerSensor.h" #include "GazeOutputSensor.h" namespace SensorLib { SensorLibrary::SensorLibrary(void) { std::wstring outputFolder = L"C://sensord...
25.333333
121
0.612965
MAMEM
e052dd9678fd12acae685b496466ce20202954b6
2,476
cpp
C++
Mercury3/HgRenderQueue.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
4
2018-05-27T18:56:59.000Z
2020-08-02T21:41:30.000Z
Mercury3/HgRenderQueue.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
null
null
null
Mercury3/HgRenderQueue.cpp
axlecrusher/hgengine3
7eed878015e47a3275e2dae53cac00e93b74dc19
[ "MIT" ]
2
2019-05-16T05:23:12.000Z
2020-04-17T10:16:04.000Z
#include <HgRenderQueue.h> #include <stdlib.h> #include <Windows.h> //this structure is pretty compact. It may be good to allocate as an array for better caching typedef struct HgRenderQueue { render_packet* rp; struct HgRenderQueue* next; } HgRenderQueue; typedef struct render_queue { volatile HgRenderQueue* que...
19.967742
118
0.680129
axlecrusher
e056f73526ff6d87b40dd4651b3b1091abbb07ce
26,023
cpp
C++
automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-10-19T15:47:43.000Z
2020-10-19T15:47:43.000Z
automated-tests/src/dali-toolkit-internal/utc-Dali-BidirectionalSupport.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics 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...
37.879185
195
0.625255
wonrst
e059e767d7d4c23f79338d2631ebb3bd8251cfb3
1,341
cc
C++
wordBreakII.cc
zxylvlp/MyLeetCode
7b2fe7a5f6515c365b903511d87e6879c0b62734
[ "MIT" ]
1
2015-11-16T05:06:10.000Z
2015-11-16T05:06:10.000Z
wordBreakII.cc
zxylvlp/MyLeetCode
7b2fe7a5f6515c365b903511d87e6879c0b62734
[ "MIT" ]
null
null
null
wordBreakII.cc
zxylvlp/MyLeetCode
7b2fe7a5f6515c365b903511d87e6879c0b62734
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <unordered_set> #include <unordered_map> #include <algorithm> #include <iostream> using namespace std; class Solution { public: unordered_map<string, vector<string>> m; vector<string> combine(string word, vector<string> prev) { for (int i=0; i<prev.size(); i...
30.477273
169
0.58613
zxylvlp
e05a1e25555a3d58de3ff712bdb858677a6470d1
398
cpp
C++
graph-source-code/230-E/2291861.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/230-E/2291861.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/230-E/2291861.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include<stdio.h> int a[10000010]; int main(){ int i,j,n,m,x,y; __int64 sum,tot; scanf("%d%d",&n,&m); tot=(__int64)n*(n-1)*(n-2)/6; for(i=0;i<m;i++){ scanf("%d%d",&x,&y); a[x]++; a[y]++; } sum=0; for(i=1;i<=n;i++) sum+=(...
18.090909
39
0.414573
AmrARaouf
e05b2ade72dc338233d49b33c0f23b0f23aa65e8
720
cpp
C++
UVa Online Judge (UVa)/Volume 115/11579 - Triangle Trouble.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
UVa Online Judge (UVa)/Volume 115/11579 - Triangle Trouble.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
null
null
null
UVa Online Judge (UVa)/Volume 115/11579 - Triangle Trouble.cpp
sreejonK19/online-judge-solutions
da65d635cc488c8f305e48b49727ad62649f5671
[ "MIT" ]
2
2018-11-06T19:37:56.000Z
2018-11-09T19:05:46.000Z
#include <cstdio> #include <iostream> #include <algorithm> #include <cmath> #include <iomanip> using namespace std; double s[100005]; double triangle_area(double a, double b, double c) { if( a+b<c || b+c<a || c+a<b ) return 0.0; double s = (a+b+c)/2; double area = sqrt( s*(s-a)*(s-b)*(s-c) ); return ...
17.142857
66
0.484722
sreejonK19
e05b92001b225b6d94685b50bec55c34b6675959
336
cpp
C++
01. SolveSquare/sse/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
3
2021-12-06T20:39:29.000Z
2022-02-04T14:59:33.000Z
01. SolveSquare/sse/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
null
null
null
01. SolveSquare/sse/main.cpp
Hollbrok/Ilab-2020-21
819a30dc4485ad874c273e9a01ca4adcf8bb2ea0
[ "MIT" ]
null
null
null
#include "sse_info.h" int main() { setlocale(LC_ALL, "Russian"); printf("Welcome in SSE! "); double x1 = 0; double x2 = 0; int roots = solve_square(&x1, &x2); //printf("got roots\n"); print_result(roots, &x1, &x2); printf("See you soon..\n"); system("PAUSE"); ...
16.8
40
0.52381
Hollbrok
e05bc5403dade55aeeac6ccaf0b9bfecca854c76
51,881
cpp
C++
src/autocode/int3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/autocode/int3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
src/autocode/int3c2e.cpp
Hendiadyoin1/libcxxint
5cb6fd421ed93f707854c203f9f949f73cdea86f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2013- Qiming Sun <osirpt.sun@gmail.com> * Description: code generated by gen-code.cl */ #include <stdlib.h> #include <complex> using namespace std::literals; #include "cint_bas.hpp" #include "cart2sph.hpp" #include "g1e.hpp" #include "g2e.hpp" #include "optimizer.hpp" #include "cint1e.hpp" #incl...
37.459206
120
0.592491
Hendiadyoin1
e05e17a4e06fdbaeb9de17d5dcf1f1f73c921fb6
38,310
cpp
C++
src/sysmonx/configmanager.cpp
sbousseaden/sysmonx
8b42f1f641b449535e34423a454456b085d30013
[ "MIT" ]
2
2019-10-21T21:09:10.000Z
2019-11-01T15:35:35.000Z
src/sysmonx/configmanager.cpp
sbousseaden/sysmonx
8b42f1f641b449535e34423a454456b085d30013
[ "MIT" ]
null
null
null
src/sysmonx/configmanager.cpp
sbousseaden/sysmonx
8b42f1f641b449535e34423a454456b085d30013
[ "MIT" ]
null
null
null
#include "common.h" bool ConfigManager::Initialize(int argc, wchar_t *argv[]) { bool ret = false; CmdArgsParser cmdArgs; TraceHelpers::Logger &logger = TraceHelpers::Logger::Instance(); try { //attempting to initialize config using user provided data if (cmdArgs.Initialize(argc, argv)) { //Parsing bool...
28.935045
174
0.732837
sbousseaden
e05e2af741b91f9c93953360892d0ed8707b5921
16,169
cpp
C++
Src/GUI/Controls/CurvesPanel/CurvesPanel.cpp
jacobchesley/PhoediX
acff65c0ea06c9bd453db42b775d6585dfc06550
[ "MIT" ]
null
null
null
Src/GUI/Controls/CurvesPanel/CurvesPanel.cpp
jacobchesley/PhoediX
acff65c0ea06c9bd453db42b775d6585dfc06550
[ "MIT" ]
null
null
null
Src/GUI/Controls/CurvesPanel/CurvesPanel.cpp
jacobchesley/PhoediX
acff65c0ea06c9bd453db42b775d6585dfc06550
[ "MIT" ]
1
2018-10-20T20:44:12.000Z
2018-10-20T20:44:12.000Z
// Copyright 2018 Jacob Chesley. // See LICENSE.TXT in root of project for license information. #include "CurvesPanel.h" wxDEFINE_EVENT(CURVE_CHANGED_EVENT, wxCommandEvent); CurvePanel::CurvePanel(wxWindow * parent, int channel) :wxPanel(parent) { #if defined(__WXMSW__) || defined(__WXGTK__) this->SetDoubleBuffe...
26.419935
102
0.662379
jacobchesley
e062d274430f66a2341ffa718d091138218e5bdf
3,816
hpp
C++
deployment/configenv/xml_jlibpt/EnvHelper.hpp
gfortil/HPCC-Platform
f3f1e979f01a0b1790113ddd833ecd662f67eb21
[ "Apache-2.0" ]
1
2015-03-02T20:07:00.000Z
2015-03-02T20:07:00.000Z
deployment/configenv/xml_jlibpt/EnvHelper.hpp
gfortil/HPCC-Platform
f3f1e979f01a0b1790113ddd833ecd662f67eb21
[ "Apache-2.0" ]
1
2016-12-06T17:06:57.000Z
2016-12-06T17:06:57.000Z
deployment/configenv/xml_jlibpt/EnvHelper.hpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
1
2019-10-26T22:05:26.000Z
2019-10-26T22:05:26.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems®. 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...
31.53719
95
0.716195
gfortil
e062e15ba6e7abd3e051b875034e99d2a398fa1c
3,413
cpp
C++
src/modules/opengl/shader.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/modules/opengl/shader.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/modules/opengl/shader.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #include "shader.hpp" #include "error.hpp" #include "mge/core/trace.hpp" #include "render_context.hpp" namespace mge { MGE_USE_TRACE(OPENGL); } namespace mge::opengl { shader::shader(render_context& context, shad...
30.747748
80
0.56988
mge-engine
e064585bea6496b8c7b3043e6012f1736e6c10af
2,982
cc
C++
code/Primes.cc
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2021-08-10T15:08:35.000Z
2021-08-10T15:08:35.000Z
code/Primes.cc
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
null
null
null
code/Primes.cc
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2020-10-29T01:38:59.000Z
2020-10-29T01:38:59.000Z
typedef unsigned long long ll; typedef vector<ll> vll; typedef vector<int> vi; ll _sieve_size; bitset<10000010> bs; vll primes; void sieve(ll upper) { _sieve_size = upper + 1; bs.set(); // set all to one bs[0] = bs[1] = 0; for(ll i = 2; i < _sieve_size; i++) if (bs[i]) { for(ll j = i*i; j ...
32.413043
75
0.517773
raynoldng
e066a13c324a940585811844923d3bd0b38391f5
251
cpp
C++
srcs/multiset/ite_n0b.cpp
tristiisch/containers_test
5a4a0c098b69e79fa62348074ca0ccaeda5dde73
[ "MIT" ]
null
null
null
srcs/multiset/ite_n0b.cpp
tristiisch/containers_test
5a4a0c098b69e79fa62348074ca0ccaeda5dde73
[ "MIT" ]
null
null
null
srcs/multiset/ite_n0b.cpp
tristiisch/containers_test
5a4a0c098b69e79fa62348074ca0ccaeda5dde73
[ "MIT" ]
null
null
null
#include "common.hpp" #define T1 int int main(void) { TESTED_NAMESPACE::multiset<T1> st; TESTED_NAMESPACE::multiset<T1>::iterator ite = st.begin(); *ite = 42; // < -- error as well ; T is always const, even with regular iterator return (0); }
19.307692
81
0.677291
tristiisch
e06c15777265ac13894cfbe6dd2cef1f67233e9c
2,119
hpp
C++
Gateway/main/include/common/Engine.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/include/common/Engine.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/include/common/Engine.hpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
#pragma once #ifdef win32 #include "platform/win32/Platform_Win32.hpp" #elif linux #include "platform/win32/Platform_Linux.hpp" #elif macos #include "platform/win32/Platform_Mac.hpp" #endif // win32 #include "common/system/CmdSys.hpp" #include "event/types/EventApp.hpp" #include "event/types/EventInput.hpp" #incl...
27.881579
121
0.747522
Idogftw
e06ce05f963c91910c3f22dfbd345685c01362ba
2,440
hxx
C++
src/elle/xalloc.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/xalloc.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/xalloc.hxx
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
/// \file vcsn/misc/xalloc.hxx /// \brief Implementation for vcsn/misc/xalloc.hh. namespace elle { /*----------------. | iomanipulator. | `----------------*/ inline std::ostream& operator<<(std::ostream& o, const iomanipulator& g) { g(o); return o; } /*---------------------. | xalloc<Stor...
21.034483
80
0.618443
infinitio
e06fe1fe6ba1a19fbde7ee0fdc1c3a27d99b4ecf
589
cpp
C++
Source/Services/Dragon/DragonService.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
3
2020-06-23T20:08:48.000Z
2020-10-03T11:08:32.000Z
Source/Services/Dragon/DragonService.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
null
null
null
Source/Services/Dragon/DragonService.cpp
AzuxDario/Marsy
d7fb746250566377cd18a9651d6b74c2bef6c342
[ "MIT" ]
null
null
null
#include "DragonService.h" namespace Marsy { DragonService::DragonService(std::shared_ptr<IConnector> connector) : Service(connector) { } ServiceResponse<DragonModel> DragonService::getDragon(std::string id) { return getObject(apiDragonUrl + "/" + id); } ServiceVectorResp...
24.541667
92
0.687606
AzuxDario
2fe43dec22ef3860464bf6375853f20a26a1c3d1
1,128
hpp
C++
include/midipatcher/Port/StreamExec.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
2
2020-09-29T06:51:48.000Z
2021-10-06T17:58:00.000Z
include/midipatcher/Port/StreamExec.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
null
null
null
include/midipatcher/Port/StreamExec.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
null
null
null
#ifndef MIDIPATCHER_PORT_RAW_EXEC_H #define MIDIPATCHER_PORT_RAW_EXEC_H #include "AbstractExecPort.hpp" #include "AbstractStreamInputOutputPort.hpp" namespace MidiPatcher { class PortRegistry; namespace Port { class StreamExec : public virtual AbstractExecPort, public virtual AbstractStreamInputOutputPort ...
23.5
102
0.684397
tschiemer
2fe4735752e7347ec23a89f46aea49f14972ad02
585
hpp
C++
server/Ev/Semaphore.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
9
2020-06-02T16:40:40.000Z
2021-10-03T15:22:40.000Z
server/Ev/Semaphore.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2020-11-06T00:00:24.000Z
2022-02-14T01:59:08.000Z
server/Ev/Semaphore.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2021-01-02T15:29:50.000Z
2022-02-23T07:26:00.000Z
#ifndef CLDCB_SERVER_EV_SEMAPHORE_HPP #define CLDCB_SERVER_EV_SEMAPHORE_HPP #include<functional> #include<queue> namespace Ev { template<typename a> class Io; } namespace Ev { /* A semaphore cannot go negative. */ class Semaphore { private: unsigned int count; std::queue<std::function<void(unsigned int)>> passes...
18.28125
54
0.729915
ZmnSCPxj
2fe86b7039670d1e7975f728b89a45879306fc3d
340
hpp
C++
include/UI/DoubleMachineFigure.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
include/UI/DoubleMachineFigure.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
2
2020-04-19T08:14:08.000Z
2020-04-19T11:05:10.000Z
include/UI/DoubleMachineFigure.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
#pragma once #include "Window.hpp" #include "WindowSet.hpp" class DoubleMachineFigure : public WindowSet { public: DoubleMachineFigure(int x, int y, int number); bool isUpperStandTaken() const; void setUpperStandTaken(bool value); void redraw() override; private: bool _upperStandTaken; c...
18.888889
50
0.714706
kamilturek
2fe924afaafd75b8f5bf4c3f4e431c31e57fb366
10,954
cpp
C++
source_code/system_sys/source_code/geometrie_general/Geo_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_sys/source_code/geometrie_general/Geo_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_sys/source_code/geometrie_general/Geo_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
//#include "Geo_Point.h" #include "Sys_Headers_Precompiled.h" //constructor Geo_Point::Geo_Point(void){ this->x_coordinate=0.0; this->y_coordinate=0.0; this->number=0; //common //count the memory Sys_Memory_Count::self()->add_mem(sizeof(Geo_Point), _sys_system_modules::GEOSYS_SYS); } //copy constructor Geo_...
27.59194
147
0.746577
dabachma
2feeaa6619a29cb85ef55d92cd5589d9b8cf6449
2,929
cpp
C++
win32-OpenGL/Lighting/SpotLight.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/Lighting/SpotLight.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/Lighting/SpotLight.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
/******************************************************************************/ /*! \file SpotLight.cpp \author Oliver Ryan Chong \par email: oliver.chong\@digipen.edu \par oliver.chong 900863 \par Course: CS1050 \par Project #03 \date 11/02/2012 \brief This is the spot light Copyright (C) 2011 DigiPen Institute of T...
29
141
0.301809
Peanoquio
640062d3a3c7e05366afcf11d1b5fa36ac8cd630
51,648
cpp
C++
Windows/WMainFrame.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/WMainFrame.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/WMainFrame.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research 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: https://www.apach...
21.810811
153
0.733639
cas-nctu
640c7a969e3c16545e6e5d7c6ac5b9ed848d8904
9,528
cpp
C++
tests/filesystem/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/filesystem/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/filesystem/copy.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
#include <cerrno> #include <cstring> #include <algorithm> #include <iostream> #include <stdexcept> #include <string> #include <utility> #include <vector> #include <sys/types.h> #include <sys/stat.h> #include <filesystem.h> #include <tests/fixture/filesystem.h> #include <tests/fixture/process_dir.h> #include "copy.h" #i...
21.411236
73
0.719249
sugawaray
640fa1cd917bcbabd39b9b71f9c9210f84d250c1
517
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/CrowdTemplateCharacterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/game/CrowdTemplateCharacterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/game/CrowdTemplateCharacterData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/NativeTypes.hpp> namespace RED4ext { namespace game { struct CrowdTemplateCharacterData { static constexpr const char* NAME = "gameCrowdTemplateCharacterData"; static con...
22.478261
73
0.754352
jackhumbert
64120e583f209a761e2679676bf48b915fe77257
137
cpp
C++
src/Xenon/Xenon.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
1
2020-06-14T06:14:50.000Z
2020-06-14T06:14:50.000Z
src/Xenon/Xenon.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
src/Xenon/Xenon.cpp
OutOfTheVoid/ProjectRed
801327283f5a302be130c90d593b39957c84cce5
[ "MIT" ]
null
null
null
#include <Xenon/Xenon.h> #include <Xenon/GPU/GLInclude.h> void Xenon::Init() { #ifdef XENON_GL3W_GL_LOADER gl3wInit (); #endif }
9.133333
32
0.686131
OutOfTheVoid
641232ce3f0634b798aad427ab0412f84cbdf735
128,636
cxx
C++
Source/Applications/SceneBuilder/pqCMBSceneBuilderMainWindowCore.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/SceneBuilder/pqCMBSceneBuilderMainWindowCore.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/SceneBuilder/pqCMBSceneBuilderMainWindowCore.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
33.72732
147
0.686651
developkits
641373e0160e9a5dd15d617b1113a172d4f2807b
19,422
cpp
C++
examples/timers.cpp
pthis/CppBenchmark
0f3abfecd80a10609c478270a7420236a5d3baf6
[ "MIT" ]
100
2015-09-16T11:23:25.000Z
2022-03-23T16:41:26.000Z
examples/timers.cpp
pthis/CppBenchmark
0f3abfecd80a10609c478270a7420236a5d3baf6
[ "MIT" ]
6
2015-11-04T18:50:43.000Z
2021-12-10T23:38:38.000Z
examples/timers.cpp
pthis/CppBenchmark
0f3abfecd80a10609c478270a7420236a5d3baf6
[ "MIT" ]
44
2018-12-13T03:36:46.000Z
2021-11-07T01:23:03.000Z
// // Created by Ivan Shynkarenka on 31.07.2015 // #include "benchmark/cppbenchmark.h" #include <chrono> #include <limits> #if defined(__APPLE__) #include <mach/mach_time.h> #endif #if defined(unix) || defined(__unix) || defined(__unix__) || defined(__APPLE__) || defined(__CYGWIN__) #include <time.h> #include <sys/t...
30.346875
146
0.6609
pthis
6413fa111bd22eb41751c28b90c7f2ef0bbc0ed7
7,045
hpp
C++
cxx/include/dsaam/node.hpp
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
cxx/include/dsaam/node.hpp
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
cxx/include/dsaam/node.hpp
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
/* Copyright © 2018 CNRS All rights reserved. @author Christophe Reymann Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condit...
32.022727
105
0.676934
crey0
64146e6b12ffe71213eabff87d42994735fb4d35
4,492
cpp
C++
FFX_CAS/cas-samples/libs/cauldron/src/DX12/base/UploadHeap.cpp
TonyJennifer/OpenSource
442e705eb42197ccdc44557a61caf91deebfcd05
[ "MIT" ]
2
2019-07-27T11:40:02.000Z
2021-04-30T05:16:13.000Z
src/DX12/base/UploadHeap.cpp
ohmaya/Cauldron
d883911a0ae926efdd5c81c4319b7ef041fb2dae
[ "MIT" ]
null
null
null
src/DX12/base/UploadHeap.cpp
ohmaya/Cauldron
d883911a0ae926efdd5c81c4319b7ef041fb2dae
[ "MIT" ]
null
null
null
// AMD AMDUtils code // // Copyright(c) 2018 Advanced Micro Devices, Inc.All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitat...
37.747899
144
0.559216
TonyJennifer
6416cd6972ac1b29d42ea84ece1b64548806ecf9
2,765
cpp
C++
XJ Contests/2020/11.26/T3/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/11.26/T3/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/11.26/T3/std.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<algorithm> #pragma GCC optimize(3) #include<cstring> #include<ctime> #define fo(i,j,l) for(int i=j;i<=l;i++) #define fd(i,j,l) for(int i=j;i>=l;i--) #define random(x) rand()%(x) using namespace std; typedef unsigned long long ll; const ll N=100,mo=998244353; ll x[N],oo,ss[...
23.632479
74
0.474503
jinzhengyu1212
64184526dee9af1040f62b67873690d46cc4c034
3,353
cpp
C++
src/mongo/bson/mutable/mutable_bson_test_utils.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
1
2015-12-19T08:02:37.000Z
2015-12-19T08:02:37.000Z
src/mongo/bson/mutable/mutable_bson_test_utils.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
null
null
null
src/mongo/bson/mutable/mutable_bson_test_utils.cpp
nleite/mongo
1a1b6b0aaeefbae06942867e4dcf55d00d42afe0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013 10gen Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
31.632075
94
0.644199
nleite
641999203c11945219b30d9c933020294734fe30
49
hpp
C++
src/boost_type_traits_is_destructible.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_type_traits_is_destructible.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_type_traits_is_destructible.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/type_traits/is_destructible.hpp>
24.5
48
0.836735
miathedev
641d8d8680765f7931aefc7cf5673e04217512e5
1,978
hpp
C++
pwiz/utility/misc/Base64.hpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/utility/misc/Base64.hpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/utility/misc/Base64.hpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: Base64.hpp 1195 2009-08-14 22:12:04Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2005 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "Lice...
29.969697
85
0.692113
edyp-lab
64242104205261b3c3a4ef09e72105b98b59477c
3,643
cpp
C++
src/pbrt/util/transform_test.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
5
2021-01-28T18:05:22.000Z
2021-02-17T02:09:50.000Z
src/pbrt/util/transform_test.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
null
null
null
src/pbrt/util/transform_test.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
1
2021-09-05T16:51:07.000Z
2021-09-05T16:51:07.000Z
// pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys. // The pbrt source code is licensed under the Apache License, Version 2.0. // SPDX: Apache-2.0 #include <gtest/gtest.h> #include <pbrt/pbrt.h> #include <pbrt/util/rng.h> #include <pbrt/util/sampling.h> #include <pbrt/util/transform.h> us...
33.118182
90
0.537469
pierremoreau
6425f8796de1945f9b3f298599879c13fb9b1e9a
631
cpp
C++
demo/led_reset_mode.cpp
ricardocosme/avrWDT
5993cfd4fb7014f415559f0624c32e65347819e7
[ "MIT" ]
null
null
null
demo/led_reset_mode.cpp
ricardocosme/avrWDT
5993cfd4fb7014f415559f0624c32e65347819e7
[ "MIT" ]
null
null
null
demo/led_reset_mode.cpp
ricardocosme/avrWDT
5993cfd4fb7014f415559f0624c32e65347819e7
[ "MIT" ]
null
null
null
#include <avr/io.hpp> #include <avr/wdt.hpp> #define F_CPU 1200000 #include <util/delay.h> using namespace avr::io; using namespace avr::wdt; using namespace avr; /** Use the watchdog timer in reset mode to blink a LED connected to the pin PB0 */ static auto& led{pb0}; int main() { led.out(); /** setup PB0...
21.033333
70
0.657686
ricardocosme
643004d54834b27d3d7034fdf7809e5c61ea199b
85,091
cpp
C++
Source/AllProjects/CIDKernel/CIDKernel_RawString.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/CIDKernel/CIDKernel_RawString.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/CIDKernel/CIDKernel_RawString.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDKernel_RawString.Cpp // // AUTHOR: Dean Roddey // // CREATED: 11/10/1996 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
30.142047
95
0.551609
eudora-jia
64308c9f19564817bcacc61700a48ac3d56f67a1
802
hpp
C++
genfile/include/genfile/SampleFilterNegation.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
genfile/include/genfile/SampleFilterNegation.hpp
gavinband/bingwa
d52e166b3bb6bc32cd32ba63bf8a4a147275eca1
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
genfile/include/genfile/SampleFilterNegation.hpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef GENFILE_SAMPLE_FILTER_NEGATION_HPP #define GENFILE_SAMPLE_FILTER_NEGATION_HPP #include <memory...
25.0625
97
0.746883
gavinband
6435491e51096338db50c26058b0022d6d0a091f
566
cpp
C++
01provaRectangle/main.cpp
GiVD2020/Practica0
c72ad301c51ad747b783b01063a7c6e1589e065b
[ "Apache-2.0" ]
null
null
null
01provaRectangle/main.cpp
GiVD2020/Practica0
c72ad301c51ad747b783b01063a7c6e1589e065b
[ "Apache-2.0" ]
null
null
null
01provaRectangle/main.cpp
GiVD2020/Practica0
c72ad301c51ad747b783b01063a7c6e1589e065b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <rectangle.h> using namespace std; int main() { Rectangle r0; Rectangle r1 (2.0, 5.0); Rectangle *r2; r2 = new Rectangle(); cout<< "Area de r0: " << r0.calculArea() << endl; cout<< "Area de r1: " << r1.calculArea() << endl; cout<< "Area de r2: " << r2->calcul...
18.258065
71
0.572438
GiVD2020
643ab91406ed3ff91b02e74d26fcb6d3bce6ebf8
3,105
hpp
C++
engine/src/vulkan/texture/TextureHandler.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/texture/TextureHandler.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/texture/TextureHandler.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
#pragma once #include <pch.hpp> #include <vulkan/LogicalDevice.hpp> #include <vulkan/texture/Texture.hpp> #include <vulkan/texture/TextureSampler.hpp> #include <vulkan/util/AsyncLoader.hpp> // Class for loading and managing textures class cTextureHandler : public cAsyncLoader<cTexture> { private: // Device where ...
27.972973
92
0.667311
Velikss
643c6e1d813eab86cdfce18f066ef50483ec03e4
1,178
hpp
C++
utils/include/utils/threading/thread_pool.hpp
SharpyTeam/nlang
4b0ec278c3583c19d79cdbf9b611e9b264a55c23
[ "MIT" ]
5
2019-11-05T12:17:46.000Z
2020-04-24T19:38:30.000Z
utils/include/utils/threading/thread_pool.hpp
SharpyTeam/nlang
4b0ec278c3583c19d79cdbf9b611e9b264a55c23
[ "MIT" ]
null
null
null
utils/include/utils/threading/thread_pool.hpp
SharpyTeam/nlang
4b0ec278c3583c19d79cdbf9b611e9b264a55c23
[ "MIT" ]
null
null
null
#pragma once #include <thread> #include <vector> #include <mutex> #include <condition_variable> #include <queue> #include <functional> #include <future> #include <type_traits> #include <utility> namespace nlang { /** * Thread pool. * Execute tasks (functions) using workers, returning std::future */ class ThreadPo...
21.418182
149
0.602716
SharpyTeam
6444f4cb8c27963e40c4c657e7a0dbe9791b19ca
1,538
cpp
C++
src/libv/diff/manifest_diff.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/diff/manifest_diff.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/diff/manifest_diff.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.diff, File: src/libv/diff/manifest_diff.cpp, Author: Császár Mátyás [Vader] // hpp #include <libv/diff/manifest_diff.hpp> // libv #include <libv/algo/outer_join.hpp> // pro #include <libv/diff/manifest.hpp> namespace libv { namespace diff { // -------------------------------------------------------...
29.018868
104
0.595579
cpplibv
6446a548a51a0ddb7721aac6f56a7c48b33d739d
1,252
cpp
C++
src/qt/veil/sendconfirmation.cpp
PeterL73/veil
2825d735275cd592b1fd5207b0dfdca2d4e3e78c
[ "MIT" ]
null
null
null
src/qt/veil/sendconfirmation.cpp
PeterL73/veil
2825d735275cd592b1fd5207b0dfdca2d4e3e78c
[ "MIT" ]
null
null
null
src/qt/veil/sendconfirmation.cpp
PeterL73/veil
2825d735275cd592b1fd5207b0dfdca2d4e3e78c
[ "MIT" ]
null
null
null
#include <qt/veil/sendconfirmation.h> #include <qt/veil/forms/ui_sendconfirmation.h> SendConfirmation::SendConfirmation(QWidget *parent, const QString &addresses, const QString &amount, const QString &fee) : QDialog(parent), ui(new Ui::SendConfirmation) { ui->setupUi(this); ui->labelTitle->setProperty(...
29.809524
122
0.682907
PeterL73
64470efd1c9eab8f1ca6f5a8085cc1078fe735ba
372
cpp
C++
src/main.cpp
benvenutti/hasm
e956e9a47fc45ea2b323c5b5a4653bb4cdf83ebe
[ "MIT" ]
2
2016-08-22T21:20:30.000Z
2016-11-11T15:59:32.000Z
src/main.cpp
benvenutti/hasm
e956e9a47fc45ea2b323c5b5a4653bb4cdf83ebe
[ "MIT" ]
34
2016-08-26T01:01:21.000Z
2019-05-11T18:26:19.000Z
src/main.cpp
benvenutti/hasm
e956e9a47fc45ea2b323c5b5a4653bb4cdf83ebe
[ "MIT" ]
2
2016-12-17T00:10:20.000Z
2017-10-29T23:12:46.000Z
#include "AssemblerEngine.hpp" #include "AssemblerEngineConfig.hpp" #include "CommandLineParser.hpp" #include <cstdlib> int main( int argc, char** argv ) { const Hasm::AssemblerEngineConfig config{ Hasm::CommandLineParser::parse( argc, argv ) }; const Hasm::AssemblerEngine assembler{}; return assem...
26.571429
93
0.725806
benvenutti
644bbec883009abce3d87e19dd5ee0e0a425fcda
8,867
cpp
C++
src/apps/mplayerc/PlayerChildView.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
src/apps/mplayerc/PlayerChildView.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
1
2019-11-14T04:18:32.000Z
2019-11-14T04:18:32.000Z
src/apps/mplayerc/PlayerChildView.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
/* * $Id: PlayerChildView.cpp 2549 2013-04-24 12:28:27Z aleksoid $ * * (C) 2003-2006 Gabest * (C) 2006-2013 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE 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 Soft...
23.964865
131
0.663246
chinajeffery
644ed665bf06411eeedd158b94ab122b04c2db91
4,131
cpp
C++
visa/iga/IGALibrary/Frontend/IRToString.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
null
null
null
visa/iga/IGALibrary/Frontend/IRToString.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
1
2021-02-24T08:39:15.000Z
2021-02-24T08:39:15.000Z
visa/iga/IGALibrary/Frontend/IRToString.cpp
lfelipe/intel-graphics-compiler
da6c84a62d5d499544b2ae5f70ae7d1cb4d78fbd
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
28.6875
81
0.63665
lfelipe
644f7f45e42542d9e2400071afe56da028f0766e
16,539
cc
C++
modules/paxmon/src/update_tracker.cc
SashkaHavr/motis
1e5633943d8441c720cfba53cc1bff5151c76e99
[ "MIT" ]
null
null
null
modules/paxmon/src/update_tracker.cc
SashkaHavr/motis
1e5633943d8441c720cfba53cc1bff5151c76e99
[ "MIT" ]
58
2021-11-22T13:43:39.000Z
2022-03-18T21:49:04.000Z
modules/paxmon/src/update_tracker.cc
SashkaHavr/motis
1e5633943d8441c720cfba53cc1bff5151c76e99
[ "MIT" ]
null
null
null
#include "motis/paxmon/update_tracker.h" #include <cmath> #include <cstdint> #include <algorithm> #include <tuple> #include <vector> #include "utl/erase_if.h" #include "utl/get_or_create.h" #include "utl/to_vec.h" #include "utl/verify.h" #include "utl/zip.h" #include "motis/hash_map.h" #include "motis/hash_set.h" #...
35.798701
80
0.659895
SashkaHavr
645062dc7de5e0b140dbf85e6d9fdc6d2e634884
19,438
cpp
C++
Src/lunaui/cards/CardGroup.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
Src/lunaui/cards/CardGroup.cpp
penk/luna-sysmgr
60c7056a734cdb55a718507f3a739839c9d74edf
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
Src/lunaui/cards/CardGroup.cpp
ericblade/luna-sysmgr
82d5d7ced4ba21d3802eb2c8ae063236b6562331
[ "Apache-2.0" ]
null
null
null
/* @@@LICENSE * * Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P. * * 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 * * Unl...
24.825032
169
0.696522
ericblade
6456fd2073ed6d1f3f6324453ca9ef2a7c2b2f43
638
cpp
C++
Tree/BinaryTreetoDLL.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
Tree/BinaryTreetoDLL.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
Tree/BinaryTreetoDLL.cpp
KaranKaira/Questions-Algorithms
c6416592d335be94656f3d58a01c972059d41528
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; Node* ans(Node * root) { if(root == NULL) return NULL; if(root->left) { Node*l = ans(root->left); while(l->right) l = l->right; root->left = l; l->right = root; } if(root->right) { Node*r = ans(root->right); w...
17.722222
50
0.518809
KaranKaira
6457235cd2e7e57534fca9e7285abd5fc631a362
9,833
cpp
C++
openstudiocore/src/openstudio_lib/SubTabView.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/SubTabView.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/SubTabView.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
34.261324
122
0.641615
ORNL-BTRIC
6458f612b7806f339bbbcea2c0f2962485c0d4e7
668
cpp
C++
numcouint.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
numcouint.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
numcouint.cpp
LakhanShanker/mypage
a2a5791225156be355623ad864c5491d13483a31
[ "MIT" ]
null
null
null
#include<stdio.h> int main() { int i,j,n,ma; scanf("%d\n",&n); int a[n]; for(i=0;i<n;i++) scanf("%d",&a[i]); ma=a[0]; for(i=0;i<n;i++) { if(a[i]>ma) ma=a[i]; } int b[ma+1]; for(i=0;i<=ma;i++) { ...
18.555556
51
0.254491
LakhanShanker
645a16cd2f1210efc24bfc97830845549d1954c5
535
cpp
C++
uri/1050.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uri/1050.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uri/1050.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <iostream> using namespace std; int main() { int n; scanf("%d", &n); if(n == 61) { printf("Brasilia\n"); } else if(n == 71) { printf("Salvador\n"); } else if(n == 11) { printf("Sao Paulo\n"); } else if(n == 21) { printf("Rio de Janeiro\n"); } else if(n == 32) { printf("Juiz de Fora\n...
11.888889
33
0.527103
cosmicray001
6463807eb78fae56b900a95aa3b04d1bf9b175ae
381
cpp
C++
SandBox/src/main.cpp
HadesD/HGEnzine
722b22c1ac2a192c04cbf5729335d3ef7f50b5b0
[ "MIT" ]
null
null
null
SandBox/src/main.cpp
HadesD/HGEnzine
722b22c1ac2a192c04cbf5729335d3ef7f50b5b0
[ "MIT" ]
null
null
null
SandBox/src/main.cpp
HadesD/HGEnzine
722b22c1ac2a192c04cbf5729335d3ef7f50b5b0
[ "MIT" ]
null
null
null
#include "sandbox/Game.hpp" #include <memory> // Initialize namespace HGEnzine { namespace core { const WindowProperties g_mainWindowProperties = { 800, 600, false }; const std::string g_mainWindowTitle = "Game"; } } int main(int /* argc */, char* /* argv */[]) { std::make_shared<Sand...
14.111111
53
0.608924
HadesD
6467cb3aafde9dea704c577f98fc3364462bbb88
389
cpp
C++
programs/pinChecking.cpp
AYNSNH/reimagined-barnacle
4ea0e65339e0b449029a9bd50048bd19ed4bd64a
[ "MIT" ]
1
2021-05-10T14:50:50.000Z
2021-05-10T14:50:50.000Z
programs/pinChecking.cpp
AYNSNH/reimagined-barnacle
4ea0e65339e0b449029a9bd50048bd19ed4bd64a
[ "MIT" ]
null
null
null
programs/pinChecking.cpp
AYNSNH/reimagined-barnacle
4ea0e65339e0b449029a9bd50048bd19ed4bd64a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int userPin= 4890, pin, counter=0; do { cout << "Enter pin: "; cin>> pin; counter++; } while (userPin != pin && counter <3); if (userPin == pin && counter >=3) { cout << "enter\n"; } else...
12.548387
43
0.429306
AYNSNH
646a42c9949d8db6395ecb32284d23238d84321b
1,260
hpp
C++
knights/table/rule/rpetexp.hpp
bada-studio/knights_contract
8b90d5a90dec7b5ac44061f7537a52185fbc3789
[ "MIT", "Unlicense" ]
141
2018-07-23T16:59:08.000Z
2021-12-03T03:51:59.000Z
knights/table/rule/rpetexp.hpp
the-oasis-protocol/knights_contract
8b90d5a90dec7b5ac44061f7537a52185fbc3789
[ "Unlicense", "MIT" ]
59
2018-07-26T07:09:38.000Z
2020-10-27T13:28:41.000Z
knights/table/rule/rpetexp.hpp
the-oasis-protocol/knights_contract
8b90d5a90dec7b5ac44061f7537a52185fbc3789
[ "Unlicense", "MIT" ]
49
2018-07-24T01:13:59.000Z
2022-01-10T09:20:52.000Z
//@abi table rpetexp i64 struct rpetexp { uint64_t level = 0; uint16_t mw1 = 0; uint16_t mw2 = 0; uint16_t mw3 = 0; uint16_t mw4 = 0; uint16_t mw5 = 0; uint16_t dr2 = 0; uint16_t dr3 = 0; uint16_t dr4 = 0; uint16_t dr5 = 0; rpetexp() { } uint64_t primary_key() const...
21.355932
63
0.493651
bada-studio
64742564ee3b62200fa09338548bb0a52127af0d
5,069
cpp
C++
src/lib/foundations/geometry/points_and_lines.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/geometry/points_and_lines.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/geometry/points_and_lines.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
/* * points_and_lines.cpp * * Created on: Feb 25, 2021 * Author: betten */ #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { points_and_lines::points_and_lines() { P = NULL; Pts = NULL; nb_pts = 0; Lines = NULL; nb_lines = 0; } points_and_lines::~poi...
20.276
89
0.567962
abetten
648344f789abaad2edd98d7f991553df099f895a
999
hpp
C++
include/virt_wrap/enums/Domain/Lifecycle.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
7
2019-08-22T20:48:15.000Z
2021-12-31T16:08:59.000Z
include/virt_wrap/enums/Domain/Lifecycle.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
10
2019-08-22T21:40:43.000Z
2020-09-03T14:21:21.000Z
include/virt_wrap/enums/Domain/Lifecycle.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
2
2019-08-22T21:08:28.000Z
2019-08-23T21:31:56.000Z
#pragma once #include "virt_wrap/enums/Base.hpp" #include "virt_wrap/utility.hpp" #include <libvirt/libvirt-domain.h> namespace virt::enums::domain { class Lifecycle : private VirtEnumStorage<virDomainLifecycle>, public VirtEnumBase<Lifecycle>, public EnumHelper<Lifecycle> { friend VirtEnumBase<Lifecycle>; fri...
35.678571
125
0.738739
AeroStun
6487b9a1dc5f4e3e72a91de49ce0165430e6beb7
1,669
cpp
C++
Libraries/RobsJuceModules/rosic/infrastructure/rosic_MemoryUser.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/infrastructure/rosic_MemoryUser.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/infrastructure/rosic_MemoryUser.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//#include "rosic_MemoryUser.h" //using namespace rosic; //------------------------------------------------------------------------------------------------- // construction/destruction: MemoryUser::MemoryUser(int sizeToAllocateInBytes) { startAddress = NULL; wasAllocatedHere = false; if( sizeToAllocateInByt...
20.108434
99
0.605153
RobinSchmidt
52bf168a27c671298246ec04d4565ab80ff42fde
554
cpp
C++
net80211/wpi/IntelWiFiDriver_ieee80211.cpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
97
2020-01-08T10:39:37.000Z
2020-07-27T07:06:25.000Z
net80211/wpi/IntelWiFiDriver_ieee80211.cpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
10
2020-01-07T19:17:32.000Z
2020-08-12T08:53:23.000Z
net80211/wpi/IntelWiFiDriver_ieee80211.cpp
Champ-Goblem/IntelWiFiDriver---Voodoo80211
593128156412690a785a55a3d7615f83b0f54b74
[ "BSD-2-Clause" ]
5
2020-01-24T03:41:55.000Z
2020-02-17T12:50:26.000Z
// // IntelWiFiDriver_ieee80211.cpp // net80211 // // Created by Administrator on 02/05/2020. // #include "IntelWiFiDriver.hpp" #include "../ieee80211_proto.h" int IntelWiFiDriver::ieee80211_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int mgt) { //From if_wpi //TODO: Implement // swit...
22.16
104
0.608303
Champ-Goblem
52c5415d23c4912c95639df1e768918ccee7deb0
29,725
cpp
C++
camera/QCamera2/HAL/test/qcamera_test.cpp
StelixROM/android_device_asus_flo
76c89a7cc397d921af9d509067bd070222534e44
[ "FTL" ]
null
null
null
camera/QCamera2/HAL/test/qcamera_test.cpp
StelixROM/android_device_asus_flo
76c89a7cc397d921af9d509067bd070222534e44
[ "FTL" ]
null
null
null
camera/QCamera2/HAL/test/qcamera_test.cpp
StelixROM/android_device_asus_flo
76c89a7cc397d921af9d509067bd070222534e44
[ "FTL" ]
null
null
null
/* Copyright (c) 2012-2013, The Linux Foundataion. 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...
30.147059
87
0.537023
StelixROM
52c57d5f4612a91f9cbac314030944942a5750ac
3,879
cpp
C++
tests/util/test_spearman.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
7
2020-12-07T11:33:17.000Z
2022-01-02T07:30:52.000Z
tests/util/test_spearman.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
26
2021-01-13T18:15:23.000Z
2022-02-27T05:52:59.000Z
tests/util/test_spearman.cpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
2
2021-01-06T15:03:10.000Z
2022-01-02T07:18:45.000Z
#include "util/spearman.hpp" #include <gtest/gtest.h> #include <random> namespace { TEST(Spearman, Identical) { std::mt19937 rng(123457); std::uniform_int_distribution<uint32_t> dist(0, 10000); std::uniform_int_distribution<uint32_t> sz_dist(5, 10); for (uint32_t trial = 0; trial < 10; ++trial) { ...
28.522059
85
0.527456
ajoudaki
52c8fdfdf62e3faad420231113d38be0c69ea71e
10,866
cpp
C++
tests/results/so/AutoGeneratedCoreWrapper.cpp
Funny-Silkie/CppBindingGenerator
ca862781ebbb5e9155d5c9b301aafdae22cd1bc7
[ "MIT" ]
3
2019-06-05T02:48:37.000Z
2020-03-08T16:01:03.000Z
tests/results/so/AutoGeneratedCoreWrapper.cpp
Funny-Silkie/CppBindingGenerator
ca862781ebbb5e9155d5c9b301aafdae22cd1bc7
[ "MIT" ]
5
2019-12-01T13:52:22.000Z
2020-08-13T05:37:20.000Z
tests/results/so/AutoGeneratedCoreWrapper.cpp
Funny-Silkie/CppBindingGenerator
ca862781ebbb5e9155d5c9b301aafdae22cd1bc7
[ "MIT" ]
7
2019-09-07T15:52:41.000Z
2020-04-04T15:02:37.000Z
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // // このファイルは自動生成されました。 // このファイルへの変更は消失することがあります。 // // THIS FILE IS AUTO GENERATED. // YOUR COMMITMENT ON THIS FILE WILL BE WIPED. // // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // !!!!!!!!...
29.209677
134
0.728787
Funny-Silkie
52ca7792926ad3e77edf777bb7b7f62fe77731f3
10,258
cpp
C++
TonicEngine/Source Code/PanelConfiguration.cpp
AlexLA99/Cookie-Engine
285fe736ffea91d46dd73277f10d4a788589e2bd
[ "MIT" ]
null
null
null
TonicEngine/Source Code/PanelConfiguration.cpp
AlexLA99/Cookie-Engine
285fe736ffea91d46dd73277f10d4a788589e2bd
[ "MIT" ]
null
null
null
TonicEngine/Source Code/PanelConfiguration.cpp
AlexLA99/Cookie-Engine
285fe736ffea91d46dd73277f10d4a788589e2bd
[ "MIT" ]
null
null
null
#include "Globals.h" #include "PanelConfiguration.h" #include "ModuleGUI.h" #include "ModuleWindow.h" #include "ModuleInput.h" #include "ModuleRenderer3D.h" #include "ModuleCamera3D.h" #include "ModuleSceneIntro.h" PanelConfiguration::PanelConfiguration() : PanelManager() { } PanelConfiguration::~PanelConfiguration()...
33.413681
186
0.657048
AlexLA99
52ce0ac66c3f7af890d7394be2b3175f8a1ed40a
6,822
cpp
C++
source/app/src/main.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/app/src/main.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/app/src/main.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
#include <main.hpp> #include <locale> #include <codecvt> #include <iostream> #include <thread> #include <boost/program_options.hpp> #include <mohansella/kvstore/SimpleKVStore.hpp> using namespace mohansella::kvstore; namespace po = boost::program_options; #ifdef WIN32 int wmain(int argc, const wchar_t *argv[]) ...
30.455357
156
0.556288
mohansella
52cf4db839c80d839e5df1e777632ae967146dca
6,004
cpp
C++
src/intent_story_service/IntentStoryService.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
47
2016-07-05T15:20:33.000Z
2021-08-06T05:38:33.000Z
src/intent_story_service/IntentStoryService.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
30
2016-07-03T22:42:11.000Z
2017-11-17T15:58:10.000Z
src/intent_story_service/IntentStoryService.cpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
8
2016-07-22T20:07:58.000Z
2017-11-05T10:40:29.000Z
/* |---------------------------------------------------------| | ___ ___ _ _ | | / _ \ _ __ ___ _ __ |_ _|_ __ | |_ ___ _ __ | |_ | | | | | | '_ \ / _ \ '_ \ | || '_ \| __/ _ \ '_ \| __| | | | |_| | |_) | __/ | | || || | | | || __/ | | | |_ | | \___/| .__/ \...
41.986014
79
0.623751
open-intent-io
52d2ced82be385427da9c4135ce8f3e5ddbe1068
995
cpp
C++
src/minisef/movieobjects/dmebookmark.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/minisef/movieobjects/dmebookmark.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/minisef/movieobjects/dmebookmark.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "movieobjects/dmebookmark.h" #include "tier0/dbg.h" #include "datamodel/dmelementfactoryhelper.h" // memdbgon must be the last includ...
30.151515
79
0.41608
cstom4994
52d3f133c83dea1b5e3d169d4e0b7332427340e8
10,446
hpp
C++
src/patch/func.hpp
neivv/ai_debug_1161
af237713acf7cc9fdae8657de8f497c50bf0ce11
[ "MIT" ]
11
2015-08-25T23:27:00.000Z
2021-05-06T18:53:21.000Z
src/patch/func.hpp
neivv/ai_debug_1161
af237713acf7cc9fdae8657de8f497c50bf0ce11
[ "MIT" ]
2
2015-08-30T21:22:59.000Z
2016-05-31T17:49:42.000Z
src/patch/func.hpp
neivv/ai_debug_1161
af237713acf7cc9fdae8657de8f497c50bf0ce11
[ "MIT" ]
5
2015-08-29T22:35:28.000Z
2016-02-26T19:15:24.000Z
#ifndef FUNC_HPP #define FUNC_HPP #include "../common/assert.h" #include "write_asm.h" #include "patchmanager.h" namespace patch_func { struct StackState { constexpr StackState(int arg_count) : arg_pos(0), stack_diff(0), arg_count(arg_count) { } /// Incremented by 1 when a value is tak...
34.704319
102
0.554662
neivv
52db31a4bb871e5577238997c259c3bd875ca87a
5,142
cpp
C++
libraries/USBHost/USBHostSerial/USBHostSerial.cpp
ekoeppen/mbed
dfdfc4d41973d1fc489e3ddcd7f0b4cd4805d600
[ "Apache-2.0" ]
1
2018-04-09T10:55:25.000Z
2018-04-09T10:55:25.000Z
libraries/USBHost/USBHostSerial/USBHostSerial.cpp
suparit/mbed
49df530ae72ce97ccc773d1f2c13b38e868e6abd
[ "Apache-2.0" ]
null
null
null
libraries/USBHost/USBHostSerial/USBHostSerial.cpp
suparit/mbed
49df530ae72ce97ccc773d1f2c13b38e868e6abd
[ "Apache-2.0" ]
null
null
null
/* mbed USBHost Library * Copyright (c) 2006-2013 ARM Limited * * 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 b...
27.794595
182
0.58557
ekoeppen
52de4ce7de3c43d58d41db64e003ec82ba55e7c7
2,120
cpp
C++
Queued/Week_09/VideoBuffer/src/main.cpp
bakercp/ExperimentalMedia2015
bb596b20ebd7ffd5d85e4987e0d2d3e8f3e57e24
[ "MIT" ]
3
2015-09-01T23:34:44.000Z
2015-09-18T04:25:18.000Z
Queued/Week_09/VideoBuffer/src/main.cpp
bakercp/ExperimentalMedia2015
bb596b20ebd7ffd5d85e4987e0d2d3e8f3e57e24
[ "MIT" ]
null
null
null
Queued/Week_09/VideoBuffer/src/main.cpp
bakercp/ExperimentalMedia2015
bb596b20ebd7ffd5d85e4987e0d2d3e8f3e57e24
[ "MIT" ]
null
null
null
#line 1 "VideoBuffer" #include "ofMain.h" class ofApp: public ofBaseApp { public: #line 1 "VideoBuffer" ofVideoGrabber grabber; std::vector<ofImage> buffer; int numFramesInBuffer; ofImage image; ofEasyCam cam; void setup() { ofEnableDepthTest(); ofSetWindowShape(1280, 720); grabber.initGrabber(320,...
20
74
0.517453
bakercp
52df7be54d3c01903a64029b64d2c362d0a9097b
1,218
cpp
C++
src/shr/monitor.cpp
DAlexis/signal-hound-recorder
64d904035e3a8144344255c439008ec15a649f4f
[ "MIT" ]
null
null
null
src/shr/monitor.cpp
DAlexis/signal-hound-recorder
64d904035e3a8144344255c439008ec15a649f4f
[ "MIT" ]
null
null
null
src/shr/monitor.cpp
DAlexis/signal-hound-recorder
64d904035e3a8144344255c439008ec15a649f4f
[ "MIT" ]
1
2019-06-11T06:01:38.000Z
2019-06-11T06:01:38.000Z
#include "monitor.hpp" #include <iostream> using namespace std; /////////////////////// /// SHRecorder Monitor::Monitor(const IStreamProvider* provider, const SinkBase* sink, const Connector* connector) : m_provide(provider), m_sink(sink), m_connector(connector) { } void Monitor::run() { m_thread =...
20.644068
101
0.600985
DAlexis
52e218bb640d91b099221fc02727afb44d51575f
1,654
cpp
C++
src/wallclock.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
src/wallclock.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
src/wallclock.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
#include "wallclock.h" wallclock::wallclock(void) { starttime = std::chrono::steady_clock::now(); } void wallclock::tic(void) { accumulator = 0; ispaused = false; starttime = std::chrono::steady_clock::now(); } double wallclock::toc(void) { if (ispaused == false) return accumulator + std:...
22.351351
136
0.588271
ellery85
52e32d52523be31979540011fb5d9959200ca419
23,378
cpp
C++
descriptor.cpp
MUDOmnibus/MurkPP
b629040a2864c19897e427d825433b33a6ae8333
[ "BSD-3-Clause" ]
2
2020-06-14T03:15:40.000Z
2020-09-30T09:47:43.000Z
descriptor.cpp
DikuMUDOmnibus/Merc-Cpp
b629040a2864c19897e427d825433b33a6ae8333
[ "BSD-3-Clause" ]
null
null
null
descriptor.cpp
DikuMUDOmnibus/Merc-Cpp
b629040a2864c19897e427d825433b33a6ae8333
[ "BSD-3-Clause" ]
1
2017-11-21T04:54:24.000Z
2017-11-21T04:54:24.000Z
/*************************************************************************** * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * * Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. * * * * Merc Dik...
25.466231
120
0.549149
MUDOmnibus
52eceb182be7980051ae7fb3588cc2d0eee22f18
1,228
cpp
C++
LeetCode/138. Copy List with Random Pointer.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/138. Copy List with Random Pointer.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/138. Copy List with Random Pointer.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
1
2020-05-20T18:36:31.000Z
2020-05-20T18:36:31.000Z
/** * Definition for singly-linked list with a random pointer. * struct RandomListNode { * int label; * RandomListNode *next, *random; * RandomListNode(int x) : label(x), next(NULL), random(NULL) {} * }; */ class Solution { public: RandomListNode *copyRandomList(RandomListNode *head) { Ra...
25.583333
84
0.444625
anubhawbhalotia
52ede69bb8ad6d6f0204f87e20b4ddd5ffa1dbc8
1,555
hpp
C++
lourdes/fs/file.hpp
perezdidac/lourdes
4232d912db272fe2a26a916bbf64517cb4a9b3c6
[ "MIT" ]
3
2015-11-28T07:43:57.000Z
2016-09-05T09:04:08.000Z
lourdes/fs/file.hpp
perezdidac/lourdes
4232d912db272fe2a26a916bbf64517cb4a9b3c6
[ "MIT" ]
null
null
null
lourdes/fs/file.hpp
perezdidac/lourdes
4232d912db272fe2a26a916bbf64517cb4a9b3c6
[ "MIT" ]
null
null
null
#ifndef __LOURDES_FS_FILE_HPP #define __LOURDES_FS_FILE_HPP /// \example examples/fs/file.cpp namespace lourdes { namespace fs { class FileImpl; /// \brief Represents a file. class File { public: typedef enum { OPEN_MODE_READ, OPEN_MODE_WRITE, } OpenMode; public: ...
28.272727
79
0.630868
perezdidac
52fbce2ef6982bf476099e93ec19c211930d8aca
2,844
cpp
C++
multithread/lib/epoll/src/epoll_base.cpp
esuwu/jmishinx
47de3dfd42857c6bcd3e364ca5e648e7393057ba
[ "Apache-2.0" ]
null
null
null
multithread/lib/epoll/src/epoll_base.cpp
esuwu/jmishinx
47de3dfd42857c6bcd3e364ca5e648e7393057ba
[ "Apache-2.0" ]
null
null
null
multithread/lib/epoll/src/epoll_base.cpp
esuwu/jmishinx
47de3dfd42857c6bcd3e364ca5e648e7393057ba
[ "Apache-2.0" ]
null
null
null
// // Created by kira on 4/14/20. // #include "base_exception.h" #include "epoll_base.h" #include <sys/epoll.h> #include <netinet/in.h> #include <utility> using base_exception::Exception; using file_descriptor::FileDescriptor; namespace epoll { const size_t QUEUE_SIZE = 128; Epoll::Epoll(ClientCallback on_read, ...
27.61165
86
0.631153
esuwu
52fc3ccc0675548343fe94400da2b658d791686b
977
cpp
C++
Source/Engine/ING/Source/ING/Scripting/CSharp/Assembly/Component/Component.cpp
ING-Game-Devs/ing-engine
7379e96433f47c005fb677cb303686e628d41bfe
[ "MIT" ]
12
2022-01-17T13:25:03.000Z
2022-03-19T08:53:56.000Z
Source/Engine/ING/Source/ING/Scripting/CSharp/Assembly/Component/Component.cpp
ING-Game-Devs/ing
829611b16a324d1ba0f8fbbd5fdc418e2b9d6aa4
[ "MIT" ]
null
null
null
Source/Engine/ING/Source/ING/Scripting/CSharp/Assembly/Component/Component.cpp
ING-Game-Devs/ing
829611b16a324d1ba0f8fbbd5fdc418e2b9d6aa4
[ "MIT" ]
7
2022-01-21T03:50:09.000Z
2022-03-25T14:30:29.000Z
/** * Include Header */ #include "Component.h" /** * Include Engine */ #include <ING/Engine/Engine.h> /** * Include Configuration */ #include <ING/Configuration/Configuration.h> /** * Include Debug */ #include <ING/_Debug/Debug.h> /** * Include CSharp Context */ #include <ING/Scripting/CSharp/Con...
9.485437
83
0.60696
ING-Game-Devs
52fc5ed38409dcb42a5470f55b79c1c012962a76
930
hpp
C++
raytracing/src/Visitors/RTRayCaster.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
raytracing/src/Visitors/RTRayCaster.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
raytracing/src/Visitors/RTRayCaster.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
#ifndef CRIMILD_RAYTRACING_VISITORS_RAY_CASTER_ #define CRIMILD_RAYTRACING_VISITORS_RAY_CASTER_ #include "Mathematics/Vector.hpp" #include "Mathematics/Ray.hpp" #include "Visitors/NodeVisitor.hpp" #include <list> namespace crimild { namespace raytracing { class RTRayCaster : public NodeVisitor { public: ...
19.375
124
0.691398
hhsaez
52fd89043d96d43e82cc80e8606f4ae12b6a4441
1,130
cc
C++
cbsasl/domain.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
104
2017-05-22T20:41:57.000Z
2022-03-24T00:18:34.000Z
cbsasl/domain.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
3
2017-11-14T08:12:46.000Z
2022-03-03T11:14:17.000Z
cbsasl/domain.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
71
2017-05-22T20:41:59.000Z
2022-03-29T10:34:32.000Z
/* * Copyright 2018-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance with the Business Source License, use of this * software will be governed by...
32.285714
78
0.623894
BenHuddleston
52fdeaf0f8e3aabd5fa8afd2572a824d1b822e65
5,482
hpp
C++
RX24T/port_map.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
56
2015-06-04T14:15:38.000Z
2022-03-01T22:58:49.000Z
RX24T/port_map.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
30
2019-07-27T11:03:14.000Z
2021-12-14T09:59:57.000Z
RX24T/port_map.hpp
hirakuni45/RX
3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0
[ "BSD-3-Clause" ]
15
2017-06-24T11:33:39.000Z
2021-12-07T07:26:58.000Z
#pragma once //=====================================================================// /*! @file @brief RX24T グループ・ポート・マッピング @n コメントのピン番号は、LQFP100 パッケージの場合 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2021 Kunihito Hiramatsu @n Released under the MIT license @n https://github...
25.858491
83
0.491974
hirakuni45
52fec4ad50def0055504a965d8f2dc26c746cceb
2,536
hpp
C++
arduino/libraries/LovyanGFX/src/lgfx/v1/platforms/arduino_default/Bus_Stream.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
46
2021-05-28T10:43:21.000Z
2022-03-30T11:47:54.000Z
arduino/libraries/LovyanGFX/src/lgfx/v1/platforms/arduino_default/Bus_Stream.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
10
2021-05-30T10:37:30.000Z
2022-03-27T22:08:05.000Z
arduino/libraries/LovyanGFX/src/lgfx/v1/platforms/arduino_default/Bus_Stream.hpp
Mchaney3/AXSResearch
6843b833a95010014bb3113ca59dda3b5e1c3663
[ "Unlicense" ]
10
2021-05-29T12:07:14.000Z
2022-01-22T18:33:46.000Z
/*----------------------------------------------------------------------------/ Lovyan GFX - Graphics library for embedded devices. Original Source: https://github.com/lovyan03/LovyanGFX/ Licence: [FreeBSD](https://github.com/lovyan03/LovyanGFX/blob/master/license.txt) Author: [lovyan03](https://twitter.com/lov...
30.926829
119
0.629732
Mchaney3
5e02d504cbaf2661ae21794d1f1f596eebd03460
616
hpp
C++
UchClient/FrmRecoUser.hpp
EAirPeter/Uch
193ee52fb98d2d224cd22483b2523caf02805cfe
[ "Unlicense" ]
null
null
null
UchClient/FrmRecoUser.hpp
EAirPeter/Uch
193ee52fb98d2d224cd22483b2523caf02805cfe
[ "Unlicense" ]
null
null
null
UchClient/FrmRecoUser.hpp
EAirPeter/Uch
193ee52fb98d2d224cd22483b2523caf02805cfe
[ "Unlicense" ]
null
null
null
#pragma once #include "Common.hpp" #include <nana/gui.hpp> #include <nana/gui/widgets/button.hpp> #include <nana/gui/widgets/textbox.hpp> class FrmRecoUser : public nana::form, public HandlerBase< protocol::EvsRecoUserRes > { public: FrmRecoUser(const nana::form &frmParent); public: void...
19.25
64
0.685065
EAirPeter
5e129d500d4bafba1a9f0e251399966282ba1f4a
5,780
cpp
C++
tools/LdbResize.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
2
2015-08-07T02:14:24.000Z
2021-04-08T18:03:28.000Z
tools/LdbResize.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
null
null
null
tools/LdbResize.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
null
null
null
#include <glog/logging.h> #include <leveldb/db.h> #include <leveldb/write_batch.h> #include "caffe/proto/caffe.pb.h" #include "caffe/util/io.hpp" #include <iostream> #include <stdlib.h> //#include <direct.h> #include <sys/stat.h> #include <sys/types.h> //#include <io.h> #include <iomanip> #include <cv.h> //#inclu...
26.513761
97
0.627855
gaoyongwyl
5e12b44a201d67939b037c30619a36da07e12007
2,359
hpp
C++
platform/qt/src/qmapboxgl_p.hpp
niuruigang/mapbox_20171122
d46641cad61c2f7e634eae6383d30a8b13cd43a9
[ "BSL-1.0", "Apache-2.0" ]
1
2018-03-29T23:18:42.000Z
2018-03-29T23:18:42.000Z
platform/qt/src/qmapboxgl_p.hpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
platform/qt/src/qmapboxgl_p.hpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include "qmapboxgl.hpp" #include "qmapboxgl_renderer_frontend_p.hpp" #include <mbgl/actor/actor.hpp> #include <mbgl/map/map.hpp> #include <mbgl/renderer/renderer_backend.hpp> #include <mbgl/util/default_thread_pool.hpp> #include <mbgl/storage/default_file_source.hpp> #include <mbgl/util/geo.hpp> #includ...
29.860759
107
0.73972
niuruigang
5e14041bfb6d27cde8fae5d05b9dc573a12b5111
10,903
cpp
C++
thirdparty/ULib/src/ulib/net/client/smtp.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/net/client/smtp.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/net/client/smtp.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // smtp.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/file_config.h> #include <ulib/m...
29.871233
147
0.566083
liftchampion
5e1508988cab8a7beee3a65207b31c42e7534161
2,104
cpp
C++
A Problems/Graph Problems/UVA10452- Marcus.cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
1
2021-08-24T21:05:28.000Z
2021-08-24T21:05:28.000Z
A Problems/Graph Problems/UVA10452- Marcus.cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
null
null
null
A Problems/Graph Problems/UVA10452- Marcus.cpp
UVE-R/CP-CPP
67819f4115917f663c22ada899b27ace7b2e9b9e
[ "Unlicense" ]
null
null
null
#include <stdio.h> #include <iostream> #include <algorithm> #include <set> #include <vector> #include <map> #include <list> #include <deque> #include <math.h> #include <cstring> #include <string.h> #include <iomanip> #include <stdlib.h> #include <sstream> #include <fstream> #define M 500 #define N 9 using namespace std...
25.349398
68
0.376901
UVE-R
5e157cdb990af1c7aeb2ab2018f6a8663b2d48d2
2,644
cpp
C++
EntityComponentSystem/ECS/src/EntityManager.cpp
Malik-Allen/ECS
bab60de04c51f9a47a20fc86be1cc4d99f7735a2
[ "MIT" ]
null
null
null
EntityComponentSystem/ECS/src/EntityManager.cpp
Malik-Allen/ECS
bab60de04c51f9a47a20fc86be1cc4d99f7735a2
[ "MIT" ]
null
null
null
EntityComponentSystem/ECS/src/EntityManager.cpp
Malik-Allen/ECS
bab60de04c51f9a47a20fc86be1cc4d99f7735a2
[ "MIT" ]
null
null
null
// MIT License, Copyright (c) 2022 Malik Allen #include "EntityManager.h" namespace ECS { EntityManager::EntityManager() : m_entityCounter( 0 ) { for( int i = 0; i < MAX_ENTITIES; ++i ) { m_entityPool.CreateNewObjectInPool(); } } EntityManager::~EntityManager() { MarkAllEntitiesForCleanUp(); Clea...
20.338462
152
0.698563
Malik-Allen
5e16586254982a4712f54d2fc78733d0c1541588
645
hpp
C++
src/stan/math/fwd/scal/fun/bessel_second_kind.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/math/fwd/scal/fun/bessel_second_kind.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/math/fwd/scal/fun/bessel_second_kind.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_FWD_SCAL_FUN_BESSEL_SECOND_KIND_HPP #define STAN_MATH_FWD_SCAL_FUN_BESSEL_SECOND_KIND_HPP #include <stan/math/fwd/meta.hpp> #include <stan/math/fwd/core.hpp> #include <stan/math/prim/scal/fun/bessel_second_kind.hpp> namespace stan { namespace math { template <typename T> inline fvar<T> b...
30.714286
66
0.697674
alashworth
5e177a6ca946bb7f18ca12b6496a7e0cc08ee574
2,407
cpp
C++
src/tests/src/auth/auth-field-test.cpp
Penguin-Guru/imgbrd-grabber
69bdd5566dc2b2cb3a67456bf1a159d544699bc9
[ "Apache-2.0" ]
1,449
2015-03-16T02:21:41.000Z
2022-03-31T22:49:10.000Z
src/tests/src/auth/auth-field-test.cpp
sisco0/imgbrd-grabber
89bf97ccab3df62286784baac242f00bf006d562
[ "Apache-2.0" ]
2,325
2015-03-16T02:23:30.000Z
2022-03-31T21:38:26.000Z
src/tests/src/auth/auth-field-test.cpp
evanjs/imgbrd-grabber
491f8f3c05be3fc02bc10007735c5afa19d47449
[ "Apache-2.0" ]
242
2015-03-22T11:00:54.000Z
2022-03-31T12:37:15.000Z
#include <QSettings> #include "auth/auth-const-field.h" #include "auth/auth-field.h" #include "auth/auth-hash-field.h" #include "mixed-settings.h" #include "catch.h" MixedSettings *makeSettings(QString key, QString value) { QSettings *settings = new QSettings("tests/resources/settings.ini", QSettings::IniFormat); s...
27.988372
100
0.682177
Penguin-Guru
5e183bf7d68f4b24691d39d178b09c2c6b50302f
3,772
cc
C++
tests/functional_small/ode_steppers/with_time_step_recovery/bdf1_stepper.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tests/functional_small/ode_steppers/with_time_step_recovery/bdf1_stepper.cc
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tests/functional_small/ode_steppers/with_time_step_recovery/bdf1_stepper.cc
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
#include "pressio/ode_steppers_implicit.hpp" #include "pressio/ode_advancers.hpp" struct MyApp { using scalar_type = double; using state_type = Eigen::VectorXd; using velocity_type = state_type; using jacobian_type = Eigen::SparseMatrix<double>; public: velocity_type createVelocity() const{ veloci...
21.678161
77
0.560976
Pressio
5e1e325a43a4399cc15855992e22d519116f8cd9
302
cpp
C++
beginners/circle.cpp
EsdrasTarsis/uri-algorithms
cac07bc0346be2e863a93482d739cc19e4800242
[ "MIT" ]
2
2019-06-02T02:35:52.000Z
2019-06-02T17:01:45.000Z
beginners/circle.cpp
EsdrasTarsis/uri-algorithms
cac07bc0346be2e863a93482d739cc19e4800242
[ "MIT" ]
null
null
null
beginners/circle.cpp
EsdrasTarsis/uri-algorithms
cac07bc0346be2e863a93482d739cc19e4800242
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <iomanip> int main() { double pi = 3.14159; double radius; double area; std::cin >> radius; area = pi * pow(radius, 2); std::cout << std::fixed << std::setprecision(4); std::cout << "A=" << area << std::endl; return 0; }
17.764706
52
0.559603
EsdrasTarsis
5e1fa097ad537a13369757fcf8f44a46a2b502f0
9,500
cpp
C++
fboss/agent/hw/bcm/tests/dataplane_tests/BcmQueuePerHostTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
1
2020-03-20T22:47:21.000Z
2020-03-20T22:47:21.000Z
fboss/agent/hw/bcm/tests/dataplane_tests/BcmQueuePerHostTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/bcm/tests/dataplane_tests/BcmQueuePerHostTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
34.296029
79
0.625789
phshaikh
5e2150eb1ddd2df14deaf3e10481fea6233a29c7
1,344
hpp
C++
src/Features/Routing/EntityInspector.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
42
2021-04-27T17:03:24.000Z
2022-03-03T18:56:13.000Z
src/Features/Routing/EntityInspector.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
43
2021-04-27T21:20:06.000Z
2022-03-22T12:45:46.000Z
src/Features/Routing/EntityInspector.hpp
soni801/SourceAutoRecord
4bd9fde988eac425f86db050354db490dd3ed69b
[ "MIT" ]
29
2021-06-11T23:52:24.000Z
2022-03-30T14:33:46.000Z
#pragma once #include "Command.hpp" #include "Features/Feature.hpp" #include "Utils.hpp" #include "Variable.hpp" #define SAR_INSPECTION_EXPORT_HEADER \ "Index,Tick," \ "m_vecAbsOrigin.x,m_vecAbsOrigin.y,m_vecAbsOrigin.z," \ "m_angAbsRotatio...
23.578947
62
0.728423
soni801
5e23e2099f51d336eda01551c01af1e54ea0995f
890
cpp
C++
game/src/modules/ui_physics/system.cpp
Turtwiggy/opengl_game
cd5458a4412db12b149e0d0584e7e10b2ca2877e
[ "Apache-2.0" ]
null
null
null
game/src/modules/ui_physics/system.cpp
Turtwiggy/opengl_game
cd5458a4412db12b149e0d0584e7e10b2ca2877e
[ "Apache-2.0" ]
null
null
null
game/src/modules/ui_physics/system.cpp
Turtwiggy/opengl_game
cd5458a4412db12b149e0d0584e7e10b2ca2877e
[ "Apache-2.0" ]
null
null
null
// header #include "system.hpp" // components #include "modules/physics/components.hpp" // other lib headers #include <imgui.h> void game2d::update_ui_physics_system(entt::registry& registry, engine::Application& app) { const auto& p = registry.ctx<SINGLETON_PhysicsComponent>(); int solids = 0; int actors = 0...
26.969697
84
0.679775
Turtwiggy