hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
992588cd7da596b7450205f7a5d167bc136a0e6d
1,345
cpp
C++
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
SERGRID.cpp
Marethyu12/SPOJ-solutions
10fb3352e0b8818be40f7df2285b0d30a0fdc09c
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define MAXN 500 using namespace std; struct cell { int row; int col; cell(int row, int col) : row(row), col(col) {} }; const int dr[] = {-1, 0, 1, 0}; const int dc[] = {0, 1, 0, -1}; int grid[MAXN][MAXN]; bool visited[MAXN][MAXN]; int dist[MAXN][MAXN]; int rows;...
15.639535
62
0.477323
Marethyu12
9929329a88541396d74f43e3bdb3cbf2081415d1
7,202
cpp
C++
Chapter08/voicetainment/voiceinput.cpp
PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17
a9e11ab66bbe1e022c3c620b58e8599305dfaa64
[ "MIT" ]
37
2019-03-04T14:01:19.000Z
2022-03-27T22:53:49.000Z
Chapter08/voicetainment/voiceinput.cpp
PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17
a9e11ab66bbe1e022c3c620b58e8599305dfaa64
[ "MIT" ]
1
2019-03-11T13:40:13.000Z
2020-09-21T05:31:23.000Z
Chapter08/voicetainment/voiceinput.cpp
PacktPublishing/Hands-On-Embedded-Programming-with-CPP-17
a9e11ab66bbe1e022c3c620b58e8599305dfaa64
[ "MIT" ]
16
2019-03-08T15:27:01.000Z
2021-12-27T08:45:32.000Z
#include <QDebug> #include <QThread> #include "voiceinput.h" //#include "pocketsphinx.h" //#include "ps_search.h" ////#include "psphinx_trigger.h" //#include "kws_search.h" //#include "err.h" //#include "ckd_alloc.h" //#include "strfuncs.h" //#include "pio.h" //#include "cmd_ln.h" extern "C" { #include <sphinxbas...
36.01
161
0.467787
PacktPublishing
99297dc092099ecf96ad2109804eb97585deace8
1,806
hpp
C++
include/ae_crbm.hpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
4
2017-11-07T02:36:30.000Z
2022-01-20T17:46:06.000Z
include/ae_crbm.hpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
null
null
null
include/ae_crbm.hpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
1
2019-12-11T11:03:25.000Z
2019-12-11T11:03:25.000Z
//======================================================================= // Copyright Baptiste Wicht 2015-2017. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #ifndef W...
69.461538
217
0.751938
wichtounet
992f6c3fc05b14032306fa5908943e1280d311ce
115
cpp
C++
Utils/galois-degree.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
429
2019-06-13T14:11:24.000Z
2022-03-30T18:54:31.000Z
Utils/galois-degree.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
471
2019-06-13T09:28:49.000Z
2022-03-31T17:46:03.000Z
Utils/galois-degree.cpp
lemonviv/Pivot-SPDZ
f3db87d8849e5f9fa39f321d85feec83107ee405
[ "BSD-2-Clause" ]
162
2019-08-07T09:22:11.000Z
2022-03-31T11:24:26.000Z
/* * galois-degree.cpp * */ #include "Math/gf2n.h" int main() { cout << gf2n::default_degree() << endl; }
9.583333
43
0.556522
lemonviv
99345c46d42882df32dfd6dec8d2c80a70d55a1f
2,846
cpp
C++
routing/routing_tests/edge_estimator_tests.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
routing/routing_tests/edge_estimator_tests.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
routing/routing_tests/edge_estimator_tests.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include "testing/testing.hpp" #include "routing/edge_estimator.hpp" #include "geometry/point_with_altitude.hpp" #include <cmath> namespace { using namespace routing; double const kTan = 0.1; geometry::Altitude const kAlt = 100.0; auto const kPurposes = {EdgeEstimator::Purpose::Weight, EdgeEstimator::Purpose::ETA}...
35.575
91
0.748067
smartyw
9938d089aca3e959af731f1ab306e5775192de2d
2,653
cxx
C++
StRoot/StJetMaker/mudst/StjTrgSoftMuDstTriggerSimuMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StJetMaker/mudst/StjTrgSoftMuDstTriggerSimuMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StJetMaker/mudst/StjTrgSoftMuDstTriggerSimuMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// $Id: StjTrgSoftMuDstTriggerSimuMaker.cxx,v 1.1 2008/08/18 06:37:26 tai Exp $ // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov> #include "StjTrgSoftMuDstTriggerSimuMaker.h" #include "StTriggerUtilities/StTriggerSimuMaker.h" #include "StTriggerUtilities/StTriggerSimuResult.h" #include <StjTrg.h> #include <StjTrgSof...
22.87069
121
0.744817
xiaohaijin
993f0a459257ceff76cac2200221c65f07b8a8bd
3,679
cpp
C++
eval/src/vespa/eval/instruction/generic_map.cpp
srikanthnampelli/vespa
38f92a3bbaa073983c41d1554273362ecc25df57
[ "Apache-2.0" ]
null
null
null
eval/src/vespa/eval/instruction/generic_map.cpp
srikanthnampelli/vespa
38f92a3bbaa073983c41d1554273362ecc25df57
[ "Apache-2.0" ]
null
null
null
eval/src/vespa/eval/instruction/generic_map.cpp
srikanthnampelli/vespa
38f92a3bbaa073983c41d1554273362ecc25df57
[ "Apache-2.0" ]
null
null
null
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "generic_map.h" #include <vespa/eval/eval/value.h> #include <vespa/eval/eval/inline_operation.h> #include <vespa/vespalib/util/stash.h> #include <vespa/vespalib/util/typify.h> #include <cassert> n...
36.425743
112
0.671106
srikanthnampelli
99467c61d8423028f19230a664283e93ac49f3ea
76,306
cpp
C++
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
DspAudioHost/DspAudioHostDlg.cpp
sjk7/DSPAudioHost
f26c4c4b79df2f3cbc7cb93e4341be04a0958f26
[ "MIT" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com // DspAudioHostDlg.cpp : implementation file // #include "pch.h" #include "framework.h" #include "DspAudioHost.h" #include "DspAudioHostDlg.h" #includ...
31.158024
90
0.615076
sjk7
994698e8de3948a157175c3a6907ea175f565815
521
cpp
C++
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
8
2019-07-02T15:59:30.000Z
2021-07-13T05:13:43.000Z
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
null
null
null
abp/GUI/Sciter/demo-apps/sciter-external-behavior/stdafx.cpp
pyrroman/au3-boilerplate
596a3aa68d4d6b48dd79ed737d1e11604ac9e92f
[ "BSD-3-Clause" ]
1
2019-07-02T15:59:31.000Z
2019-07-02T15:59:31.000Z
// stdafx.cpp : source file that includes just the standard includes // sciterferry.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPV...
23.681818
68
0.677543
pyrroman
9949108a4a662bc4b56755e46629700616bdb5de
1,865
cpp
C++
Audio Compression/SymbolProbability.cpp
mdmh-github/Encoding-and-Data-Compression-C
145e1779d3b64f12729a17c04e986c896eb43cce
[ "MIT" ]
null
null
null
Audio Compression/SymbolProbability.cpp
mdmh-github/Encoding-and-Data-Compression-C
145e1779d3b64f12729a17c04e986c896eb43cce
[ "MIT" ]
null
null
null
Audio Compression/SymbolProbability.cpp
mdmh-github/Encoding-and-Data-Compression-C
145e1779d3b64f12729a17c04e986c896eb43cce
[ "MIT" ]
null
null
null
/* * SimbolProbability.cpp * * Created on: 02/03/2013 * Author: root */ #include <iostream> #include <algorithm> #include <sndfile.h> #include <vector> #include "math.h" #include "stdio.h" #include "stdlib.h" using namespace std; int compare(const void * a, const void * b) { int * ad = (int*) a; int * bd ...
21.941176
91
0.686863
mdmh-github
994933d60c91d182c4ca1f5ebd324678adab2734
581
cpp
C++
Beginner/Covid Run (CVDRUN)/covid_run.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
127
2020-10-13T18:04:35.000Z
2022-02-17T10:56:27.000Z
Beginner/Covid Run (CVDRUN)/covid_run.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
132
2020-10-13T18:06:53.000Z
2021-10-17T18:44:26.000Z
Beginner/Covid Run (CVDRUN)/covid_run.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
364
2020-10-13T18:04:52.000Z
2022-03-04T14:34:53.000Z
#include<iostream> using namespace std; int main() { int T; cin>>T; while (T--) { int N,K,X,Y; cin>>N>>K>>X>>Y; bool ans=false; for(int i=X ; i<=N ; i) { if(i==Y) { ans=true; break; } ...
15.702703
31
0.282272
anishsingh42
99519d7801fb435989c2fa045d9ded1bffda6ac0
3,883
cpp
C++
Integral_Equations/Integral_Equations/Quadrature.cpp
rnsheehan/Integral_Equations
f6614b36f7624a18c0bc180f2a1684a8de9afdae
[ "MIT" ]
null
null
null
Integral_Equations/Integral_Equations/Quadrature.cpp
rnsheehan/Integral_Equations
f6614b36f7624a18c0bc180f2a1684a8de9afdae
[ "MIT" ]
null
null
null
Integral_Equations/Integral_Equations/Quadrature.cpp
rnsheehan/Integral_Equations
f6614b36f7624a18c0bc180f2a1684a8de9afdae
[ "MIT" ]
null
null
null
#ifndef ATTACH_H #include "Attach.h" #endif // Implementation of the routines in the quadrature namespace // R. Sheehan 4 - 10 - 2021 double quad::qgaus(double (*f)(double), double a, double b) { // The algorithm qgaus is taken from Numerical Recipes in C, section 4.5 // This function will implement Gauss-Legendre...
34.362832
134
0.613443
rnsheehan
995286d5bd0fa7419872fcbf0372eaa327924786
1,394
cpp
C++
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/vulkan/image/gx-vk-img-manager.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-vk-img-manager.hpp" #ifdef GX_USE_VULKAN #include "../buffer/gx-vk-buf-buffer.hpp" #include "../engine/gx-vk-eng-engine.hpp" #include "gx-vk-img-image.hpp" gearoenix::vulkan::image::Manager::Manager(engine::Engine* const e) noexcept : frame_upload_images(e->get_frames_count()) , e(e) { } gearoeni...
28.44898
77
0.664275
Hossein-Noroozpour
9953c615f29f0629e45c70226b5719d9dff7b62c
7,254
cpp
C++
src/support_data/ossimNitfEngrdaTag.cpp
DigitalGlobe/ossim
a03729866f15bcf3bf210e14d395c683321b12bc
[ "MIT" ]
1
2018-03-04T10:45:56.000Z
2018-03-04T10:45:56.000Z
src/support_data/ossimNitfEngrdaTag.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
src/support_data/ossimNitfEngrdaTag.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------- // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Author: David Burken // // Description: ENGRDA - Engineering Data tag class declaration. // // See document STDI-0002 (version 3), Appendix N...
29.729508
90
0.563551
DigitalGlobe
995c16ff6ecaf0b29eccc09fcd9ea130eb46eada
754
cpp
C++
problemsets/UVA/435.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/435.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/435.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> using namespace std; int ret[20], V[20]; int main() { int T; scanf("%d", &T); while (T--) { int P; scanf("%d", &P); int t = 0; for (int i = 0; i < ...
21.542857
91
0.400531
juarezpaulino
995dd80a18cf4b99c722d5e75eb51a0d2d672b25
1,214
hpp
C++
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
4
2019-02-01T11:16:59.000Z
2020-04-27T17:27:06.000Z
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
1
2020-04-17T22:23:01.000Z
2020-04-23T21:11:41.000Z
src/gpu/ocl/ocl_gpu_detect.hpp
ImproveMyPhone/mkl-dnn
aa13406e8a284495faaddf5396d9090a1d46f1ca
[ "Apache-2.0" ]
5
2019-02-08T07:36:01.000Z
2021-07-14T07:58:50.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
31.947368
80
0.671334
ImproveMyPhone
9965c03efabcde2149597e43db7c5fc1a57a6c12
7,652
cpp
C++
src/analysis/processing/qgsalgorithmextractlayoutmapextent.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmextractlayoutmapextent.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmextractlayoutmapextent.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsalgorithmextractlayoutmapextent.cpp --------------------- begin : March 2019 copyright : (C) 2019 by Nyall Dawson email : nyall dot dawso...
45.011765
189
0.652771
dyna-mis
9969170f75bdefe918f39ca2d350e3ca04b0b090
586
cpp
C++
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
Workers/VariableDisplayer.cpp
dennistrukhin/C-Virtual-machine
644be1f45c0d2804f93bddbfb4728e3d0c9fee5a
[ "MIT" ]
null
null
null
// // Created by Dennis Trukhin on 22/04/2018. // #include <iostream> #include "VariableDisplayer.h" VariableDisplayer::VariableDisplayer(FileReader *fr, Variables *v) { reader = fr; variables = v; } void VariableDisplayer::display() { auto index = reader->getWord().asInt(); auto var = variables->get...
22.538462
68
0.587031
dennistrukhin
996a8c3d187c620e3814c64c7ab5bcb80ee1b757
7,938
cpp
C++
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
497
2015-01-02T19:45:01.000Z
2022-03-04T19:22:07.000Z
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
40
2015-01-05T21:04:20.000Z
2020-03-25T07:01:59.000Z
src/voglreplay/replay_tool_compare_hash.cpp
kingtaurus/vogl
a7317fa38e9d909ada4e941ca7dc2df1e4415b37
[ "MIT" ]
85
2015-01-02T22:29:00.000Z
2021-11-28T02:42:48.000Z
/************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * 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 d...
42.677419
206
0.642857
kingtaurus
996b2ed2bdca65c59049fb1d0cb5f6f88fd32700
6,865
cpp
C++
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/Vulkan/Core/VulkanDriver.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
#define ZR_EXPORT 1 // export this class to dll #include <Vulkan/Core/VulkanDriver.h> // #include <VulkanDriver/VulkanRenderPassFactory.h> #include <Common/Core/MyUtilities.h> #include <Vulkan/Core/VulkanValidationLayerEnabler.h> VkResult CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCal...
39.682081
193
0.766934
StavrosBizelis
997351e4aaf176cf496a09eb99e3d0c5bcf87460
1,190
cpp
C++
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
1
2018-07-29T20:51:12.000Z
2018-07-29T20:51:12.000Z
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
12
2017-07-29T20:33:15.000Z
2018-08-11T23:29:16.000Z
JetEngine/Graphics/Renderable.cpp
matt-attack/Jet-Engine
4b86ae2b7b60a326a7a329942d2c8f656ed2bd9f
[ "MIT" ]
1
2018-07-30T12:55:20.000Z
2018-07-30T12:55:20.000Z
#include "Renderable.h" #include "../IMaterial.h" #include "CVertexBuffer.h" void BasicRenderable::SetMeshEasy(const std::string& material_name, const std::string& image_name, const EzVert* vertex, int count) { auto mat = new IMaterial(material_name.c_str()); mat->alpha = false; //ok, this is eww, but fine for now...
30.512821
131
0.709244
matt-attack
99745d53c62d84b5a215125f22724225dbb69852
5,855
cpp
C++
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
third_party_src/ksqueezedtextlabel/kde_460_kdeui/src/ksqueezedtextlabel.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
/* This file is part of the KDE libraries Copyright (C) 2000 Ronny Standtke <Ronny.Standtke@gmx.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is d...
28.42233
104
0.686422
CoSoSys
99758b5311eff1a96c57c9951983f47a2841426d
414
cpp
C++
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_11/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <iostream> using namespace boost::posix_time; int main() { ptime pt = second_clock::universal_time(); std::cout << pt.date() << '\n'; std::cout << pt.time_of_day() << '\n'; pt = from_iso_string("2...
25.875
52
0.657005
KwangjoJeong
9976b281873b3248d258667a42ba6f1e377e6db3
1,946
cpp
C++
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/NetworkInfo.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/migrationhubstrategy/model/NetworkInfo.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aw...
18.533333
69
0.725591
perfectrecall
9979e35b635eb9481593e6fe7a5e1cc891d656d8
1,094
cpp
C++
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC086/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cassert> //#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //c...
21.038462
75
0.499086
rajyan
5f5378c04bea77861bb75554ba01c2d796321c99
227
hpp
C++
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/view/concept.hpp> namespace PP { constexpr auto find(concepts::view auto&& v, auto&& p) { auto i = view::begin_(v); for (; i != view::end_(v) && !PP_F(p)(*i); ++i) ; return i; } }
16.214286
54
0.555066
Petkr
5f5c30c6d16d8f44838f6926d883ca06dd8b4359
1,368
cpp
C++
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
OpenGLTriangleIntersection/Renderer.cpp
uysalaltas/Opengl_Triangle_Point_Intersection
a310bf459e5a6c24794d9c354d2f2b771e97dae3
[ "MIT" ]
null
null
null
#include "Renderer.h" #include <glm/gtx/string_cast.hpp> Renderer::Renderer(std::vector<Vertex>& vertices, std::vector<GLuint>& indices) : m_vertices(vertices) , m_indices(indices) { std::cout << "Renderer Constructor" << std::endl; va.Bind(); for (int i = 0; i < m_indices.size(); i++) { Point a = m_vertices[...
24.428571
79
0.677632
uysalaltas
5f5cf92597fbb65c11cfcefeb8d3f75b4696f89e
7,531
cpp
C++
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
OpenC2X/dcc/src/ChannelProber.cpp
zdzaz/e-c-its
dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372
[ "MIT" ]
null
null
null
// This file is part of OpenC2X. // // OpenC2X is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // OpenC2X is distributed i...
30.489879
149
0.727925
zdzaz
5f5e9fd25cd59621fe6a511bd6dbd83d414be0ca
2,799
cpp
C++
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
5
2021-01-05T20:48:10.000Z
2021-11-03T02:11:02.000Z
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
15
2021-01-05T20:41:57.000Z
2021-12-21T16:46:54.000Z
lambda/src/Lambda/core/io/EventLoop.cpp
lambda-sh/lambda
c96de4f2bd370718c6d14d7788444660b1a7838b
[ "MIT" ]
2
2021-08-02T11:56:27.000Z
2021-08-15T09:48:40.000Z
#include <Lambda/core/io/EventLoop.h> #include <Lambda/lib/Time.h> namespace lambda::core::io { /// @todo (C3NZ): Investigate into the amount of time needed to sleep by the /// thread that this loop is running in. /// @todo (C3NZ): Is this as performant as it can possibly be? /// @todo (C3NZ): There is no way to cur...
31.449438
79
0.677385
lambda-sh
5f61743a147a6e425a8084d011ee0535e81958c5
3,213
cpp
C++
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/classification/poset_classification/poset_classification_report_options.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
/* * poset_classification_report_options.cpp * * Created on: Jul 31, 2021 * Author: betten */ #include "foundations/foundations.h" #include "group_actions/group_actions.h" #include "classification/classification.h" using namespace std; namespace orbiter { namespace classification { poset_classificat...
24.340909
120
0.73794
abetten
5f61d22453b8957c45e9a34d83111592934ea31f
2,041
cpp
C++
caffe_zyyszj/src/caffe/layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
69
2017-04-18T03:50:16.000Z
2018-12-11T09:09:12.000Z
caffe_zyyszj/src/caffe/layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
5
2017-08-14T14:47:29.000Z
2018-07-18T03:45:33.000Z
selective_joint_ft/additional_layers/split_data_layer.cpp
ZYYSzj/Selective-Joint-Fine-tuning
7dc6c30cd4768b526201986afef9b131bb94da81
[ "BSD-2-Clause" ]
17
2017-05-02T06:47:48.000Z
2018-08-09T04:12:31.000Z
#include <cfloat> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <opencv2/opencv.hpp> #include "caffe/layers/split_data_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void SplitDataLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*...
38.509434
131
0.709946
ZYYSzj
5f67e0c27ec38f883700e642b2d5e71605601ff2
712
cpp
C++
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
4
2017-01-15T14:57:26.000Z
2022-02-24T08:12:45.000Z
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
null
null
null
test/io/load_libsvm_subsampling.cpp
husk214/libsdm
7e4e72a60b0e37e6cceaa32c09b839a3895bfa40
[ "BSL-1.0" ]
3
2017-01-26T01:29:16.000Z
2018-06-23T16:49:26.000Z
#include "io.hpp" using namespace sdm; using namespace Eigen; using namespace std; int main(int argc, char const *argv[]) { if (argc > 4) { std::string file_name = argv[1]; int sub_num_ins = atof(argv[2]); int sub_num_fea = atof(argv[3]); bool random_seed_flag = static_cast<bool>(atoi(argv[4])); ...
28.48
80
0.632022
husk214
5f6d7f7f30245a49c44cbbdcc82c418ba0442cd8
2,589
cxx
C++
vtk/merge_tree_test.cxx
LLNL/ADAPT
7a7f197b53aa1413ec296241f6c9c345fd257b8e
[ "Unlicense" ]
6
2016-02-03T16:42:46.000Z
2022-03-07T09:12:09.000Z
vtk/merge_tree_test.cxx
LLNL/ADAPT
7a7f197b53aa1413ec296241f6c9c345fd257b8e
[ "Unlicense" ]
null
null
null
vtk/merge_tree_test.cxx
LLNL/ADAPT
7a7f197b53aa1413ec296241f6c9c345fd257b8e
[ "Unlicense" ]
4
2016-10-05T12:35:13.000Z
2021-07-10T21:11:16.000Z
/* * merge_tree_test.cxx * * Created on: Jan 8, 2016 * Author: bremer5 */ #include "vtkSmartPointer.h" #include <vtkXMLPolyDataWriter.h> #include <vtkXMLPolyDataReader.h> #include <vtkSTLReader.h> #include <vtkOBJReader.h> #include <vtkFloatArray.h> #include <vtkPointData.H> #include "vtkMutableDirectedGrap...
25.382353
105
0.699112
LLNL
5f70ba139aa3db79fce82817e042a9f16a76d476
712
cpp
C++
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-06-13T16:29:07.000Z
2019-12-17T18:06:59.000Z
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
null
null
null
FastWindows.UI.Composition/CompositionMaskBrush.cpp
kennykerr/Minesweeper
6f28abab141d80725beb746073d994833075b862
[ "MIT" ]
2
2019-09-21T13:15:58.000Z
2020-08-30T06:48:59.000Z
#include "pch.h" #include "CompositionMaskBrush.h" #include "CompositionMaskBrush.g.cpp" namespace winrt::FastWindows::UI::Composition::implementation { FastWindows::UI::Composition::CompositionBrush CompositionMaskBrush::Mask() { throw hresult_not_implemented(); } void CompositionMaskBrush::Ma...
29.666667
91
0.719101
kennykerr
5f71705e747482196f9be6a0ba892b3b2e48d97e
2,386
cpp
C++
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
src/test/demo_http.cpp
Harrand/Amethyst
0e107bbddf9ca85025fe7ff4b2a5cd684f9cac5d
[ "MIT" ]
null
null
null
// // Created by Harrand on 14/12/2018. // #include "socket.hpp" #include "amethyst.hpp" int main() { am::initialise(); using namespace am::net; // UDP Example /* Socket socketA{{transmission::protocol::UDP, internet::protocol::IPV4}}; socketA.bind(80); Socket socketB{{transmission::protoco...
33.605634
274
0.598491
Harrand
5f76cfd961bcf0c8beeb07b25a87e64ca15f425a
8,737
cpp
C++
GoogleTest/tests_binbuilder.cpp
andrewlavaia/Casino-Odds
aafc6eaa92149c4d673eacd7e15b61e8e220fb35
[ "MIT" ]
null
null
null
GoogleTest/tests_binbuilder.cpp
andrewlavaia/Casino-Odds
aafc6eaa92149c4d673eacd7e15b61e8e220fb35
[ "MIT" ]
null
null
null
GoogleTest/tests_binbuilder.cpp
andrewlavaia/Casino-Odds
aafc6eaa92149c4d673eacd7e15b61e8e220fb35
[ "MIT" ]
null
null
null
#include "pch.h" #include "../casino/wheel.h" #include "../Casino/binbuilder.h" #include "../casino/bin.h" #include "../casino/outcome.h" TEST(BinBuilderTests, CheckStraightBets) { Wheel wheel; for (int i = 0; i < 37; ++i) { Outcome outcome("Number " + std::to_string(i), 35); EXPECT_EQ(wheel.getBin(i).containsO...
41.803828
67
0.76857
andrewlavaia
5f77f55a5dc2d992454f548776ecaae5ef9d560c
7,551
cpp
C++
Project/qtFinal/myplayer.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
Project/qtFinal/myplayer.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
Project/qtFinal/myplayer.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
#include "myplayer.h" #include <QDebug> #include <QKeyEvent> #include "bullet.h" #include <QGraphicsScene> #include <QTimer> #include "boundary.h" #include "pad.h" #include "score.h" #include <QGraphicsPixmapItem> #include "game.h" #include <QtMultimedia> #include <QGraphicsRectItem> #include <QPixmap> #include <time.h...
31.074074
111
0.525493
mahdialikhasi
5f796ffad69498be971453314fba89ee01c2b619
7,439
cpp
C++
cpe-2015-projects/DragonCommon/libsrc/common/dragonVectorDataWriter.cpp
patinyanudklin/git_testing
81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1
[ "Unlicense" ]
null
null
null
cpe-2015-projects/DragonCommon/libsrc/common/dragonVectorDataWriter.cpp
patinyanudklin/git_testing
81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1
[ "Unlicense" ]
null
null
null
cpe-2015-projects/DragonCommon/libsrc/common/dragonVectorDataWriter.cpp
patinyanudklin/git_testing
81aa72dd211e8931df5d8a3f7852bb4ea09ad3f1
[ "Unlicense" ]
null
null
null
extern "C" { #include "drelease.h" char DRAGONVECTORDATAWRITER_CPP_ID[]= "\0@(#) " __FILE__ " $Revision: 1.10 $$Date: 2015/01/21 10:37:33 $"; D_REL_IDSTR; } /* * filename dragonVectorDataWriter.cpp * $Revision: 1.10 $ $Date: 2015/01/21 10:37:33 $ * * ~~ Copyright 2006-2015 Kurt Rudahl and Sally Goldin * ...
30.86722
84
0.622799
patinyanudklin
5f7bc0933e673eaa4dab2f2d05b26c0f54a16a68
1,768
cpp
C++
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
VkTest/VkTest/src/Core/KeyboardController.cpp
Yank1n/VkTest
1c7354bc694f35a21d65dcbe39fa4b1e6fc4eef9
[ "MIT" ]
null
null
null
#include "KeyboardController.h" void KeyboardController::Move(GLFWwindow* window, float dt, GameObject& gameObject) { glm::vec3 rotate{ 0.0f }; if (glfwGetKey(window, m_Key.lookRight) == GLFW_PRESS) rotate.y += 1.0f; if (glfwGetKey(window, m_Key.lookLeft) == GLFW_PRESS) rotate.y -= 1.0f; if (glfw...
52
103
0.667986
Yank1n
5f7d4ca5b2a12aad2d012a1d3d5e917d5eb15f8d
119,934
cpp
C++
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
src/vedaEMailClient/vedaEMailClient.cpp
vedatech/Veda_platform
5592cb0e43666b04df12eed1849a2a655de6feff
[ "MIT" ]
null
null
null
#include "vedaEMailClient.h" #include "ui_vedaEMailClient.h" vedaEMailClient::vedaEMailClient(QWidget *parent) : QWidget(parent), ui(new Ui::vedaEMailClient) { ui->setupUi(this); setWindowTitle("VEDA EMail client"); setWindowIcon(QIcon(":/Resources/veda-icon-512.png")); //#ifdef MACOS // setWin...
33.213514
206
0.570122
vedatech
5f7dee38b98c8a217027242610347707acbfcb85
3,993
cc
C++
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
1
2021-06-15T12:57:35.000Z
2021-06-15T12:57:35.000Z
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
6
2020-08-17T16:27:12.000Z
2020-08-19T13:59:45.000Z
ChiTech/ChiMesh/VolumeMesher/Extruder/volmesher_extruder_utils.cc
Naktakala/chi-tech
df5f517d5aff1d167db50ccbcf4229ac0cb668c4
[ "MIT" ]
null
null
null
#include "volmesher_extruder.h" #include "chi_mpi.h" extern ChiMPI& chi_mpi; #include "chi_log.h" extern ChiLog& chi_log; //################################################################### /**Computes the partition id of a template cell's projection onto 3D.*/ chi_mesh::Vector3 chi_mesh::VolumeMesherExtruder::Com...
31.195313
72
0.682194
zachhardy
5f818f9475dd8d88af7f52f3e7b6fd09ace621dc
918
cpp
C++
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
code/walk_to_point/rotate_and_straight_by_boss.cpp
RoboticRobo/Mapping-robot
31d9443766482ea9793c6258b0b5178245689fd1
[ "MIT" ]
null
null
null
void walk_to(double posx, double posy, double angle, int endx, int endy) { cvNamedWindow("robot"); double diffx = abs(posx - endx); double diffy = abs(posy - endy); angle = angle - 180; if (angle < 0) { angle += 360; } double target_angle = atan(diffx / diffy); target_angle = target_angle * 180 / M_PI; d...
16.105263
74
0.593682
RoboticRobo
5f83a8e10734f4d76c6f9ad8e5821351101d8899
3,402
cpp
C++
platform/flash/os_flash.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
56
2015-01-20T09:52:35.000Z
2021-06-04T22:14:18.000Z
platform/flash/os_flash.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
1
2015-10-09T02:00:21.000Z
2016-01-08T00:57:19.000Z
platform/flash/os_flash.cpp
Gerold31/godot
2bea642583efeb68886e71950384f297f2d7ee12
[ "MIT" ]
29
2015-01-12T15:59:06.000Z
2021-06-29T21:39:37.000Z
#include "os_flash.h" #include "main/main.h" #include "rasterizer_flash.h" #include "drivers/gles1/rasterizer_gles1.h" #include "servers/visual/visual_server_raster.h" #include "dir_access_flash.h" //#include "AS3.h" int OSFlash::get_video_driver_count() const { return 1; }; const char * OSFlash::get_video_driver...
19.005587
96
0.741623
Gerold31
5f8849b8ce469f7a3964ae045e2df48b913c9ff3
223
cpp
C++
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/CMMMC.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int main(){ int a, b, aa, bb; cin>>a>>b; aa=a; bb=b; while(b){ int rest=a%b; a=b; b=rest; } cout<<(aa*bb)/a; return 0; }
10.619048
21
0.434978
Al3x76
5f8a25e7c17998a5cd68ad7da626b4f854c1c676
6,242
cpp
C++
src/haxe/ds/_List/ListKeyValueIterator.cpp
mindpowered/maglev-cpp
8383ed7576202d6d61fcdfb6723a2baa74b8e010
[ "MIT" ]
null
null
null
src/haxe/ds/_List/ListKeyValueIterator.cpp
mindpowered/maglev-cpp
8383ed7576202d6d61fcdfb6723a2baa74b8e010
[ "MIT" ]
null
null
null
src/haxe/ds/_List/ListKeyValueIterator.cpp
mindpowered/maglev-cpp
8383ed7576202d6d61fcdfb6723a2baa74b8e010
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.1 #include <hxcpp.h> #ifndef INCLUDED_haxe_ds__List_ListKeyValueIterator #include <haxe/ds/_List/ListKeyValueIterator.h> #endif #ifndef INCLUDED_haxe_ds__List_ListNode #include <haxe/ds/_List/ListNode.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_9d4744d61bced7c9_299_new,"haxe.ds._List.ListKeyValue...
36.717647
208
0.744793
mindpowered
5f8c95bf580834253c1dd1f40324d1d28f9b6fb5
99
cpp
C++
Source/FSD/Private/AttackerManagerComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/AttackerManagerComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/AttackerManagerComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "AttackerManagerComponent.h" UAttackerManagerComponent::UAttackerManagerComponent() { }
16.5
56
0.828283
trumank
5f9042790753b339de0da3c2dfa03b661c7a36a9
5,954
cpp
C++
base/cluster/clusrtl/vercheck.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/cluster/clusrtl/vercheck.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/cluster/clusrtl/vercheck.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
///////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1996-2000 Microsoft Corporation // // Module Name: // VerCheck.cpp // // Abstract: // Contains the implementation of the ClRtlIsVersionCheckingDisabled() // function that checks if the cluster ve...
33.077778
136
0.52049
npocmaka
5f932c96d1112c807e8069c6b60d434c05881c93
585
cpp
C++
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
test/mp/count.cpp
Cleyera/gdv
c89dd24898a58c4f905a4d53b6c2b262f2689b09
[ "MIT" ]
null
null
null
#include <gdv/mp/test/test.h> GDV_MP_TEST_CASE(count) { using l1 = ::std::tuple<int, char, short>; using l2 = ::std::tuple<int, int, int>; using l3 = ::std::tuple<>; GDV_MP_TEST_EQ((count<l1, int>::value), (size_t)1); GDV_MP_TEST_EQ((count<l2, int>::value), (size_t)3); GDV_MP_TEST_EQ((count<l3,...
36.5625
55
0.664957
Cleyera
5f932ec813e775c12d01f8ab0039327890304df7
1,786
cpp
C++
ConsoleApplication3/ConsoleApplication3.cpp
h3dema/ExperimentsWithC-
46ee9f03d886403a25552a75803d52486b76d8dc
[ "MIT" ]
null
null
null
ConsoleApplication3/ConsoleApplication3.cpp
h3dema/ExperimentsWithC-
46ee9f03d886403a25552a75803d52486b76d8dc
[ "MIT" ]
null
null
null
ConsoleApplication3/ConsoleApplication3.cpp
h3dema/ExperimentsWithC-
46ee9f03d886403a25552a75803d52486b76d8dc
[ "MIT" ]
null
null
null
// ConsoleApplication3.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { // You can have the compiler assign the type auto whatAmI = true; // Get the number of bytes assigned...
32.472727
135
0.662374
h3dema
5f96e7dbee6b895073b78369dcaf6691a75cc87b
1,599
cpp
C++
CodeForces/Solutions/954D.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/954D.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/954D.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
#include <bits/stdc++.h> using namespace std; #define ll long long vector <ll> graph[10009]; ll visit[1009], ans = 0, dist[1009][1009]; bool check[1009][1009]; #define pb push_back struct node { ll u; ll p; node(ll ui, ll pi) { u = ui; p = pi; } }; int main() { ll n, m, s, t, tot...
20.240506
53
0.361476
Shefin-CSE16
5f98ac8dc2a29343977db8d2ddc282487b256327
1,183
cpp
C++
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
libs/conversion/test/lexical_cast_containers_test.cpp
AishwaryaDoosa/Boost1.49
67bdb3b36d72dec7414a62f3b050162e608ea266
[ "BSL-1.0" ]
null
null
null
// Testing boost::lexical_cast with boost::container::string. // // See http://www.boost.org for most recent version, including documentation. // // Copyright Antony Polukhin, 2011. // // Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www....
30.333333
86
0.72612
AishwaryaDoosa
5f98d3cae3220a6fb28a2da19d1fd0ad9aba5347
17,899
cpp
C++
tests/HighLevelFunctionsTests.cpp
dib-lab/MQF
94aa25fb0cd985bc3ebbeaf4f3c86e8a35036463
[ "BSD-3-Clause" ]
8
2018-12-22T03:11:18.000Z
2022-02-12T14:26:46.000Z
tests/HighLevelFunctionsTests.cpp
dib-lab/MQF
94aa25fb0cd985bc3ebbeaf4f3c86e8a35036463
[ "BSD-3-Clause" ]
9
2019-10-10T22:16:04.000Z
2020-09-11T08:14:05.000Z
tests/HighLevelFunctionsTests.cpp
dib-lab/MQF
94aa25fb0cd985bc3ebbeaf4f3c86e8a35036463
[ "BSD-3-Clause" ]
2
2019-11-04T19:09:28.000Z
2020-09-01T14:45:49.000Z
#include "gqf.h" #include <stdio.h> /* printf, scanf, puts, NULL */ #include <stdlib.h> #include <iostream> #include "catch.hpp" #include <vector> #include <map> #include "utils.h" using namespace std; TEST_CASE( "Merging mqf") { QF cf,cf1,cf2; QFi cfi; uint64_t qbits = 18; uint64_t small_qbits=qbits; uint...
25.424716
115
0.631488
dib-lab
5f99973dc4713b133cd44600cffa14ef46b5d021
4,417
cpp
C++
data/eklavya-2015/move_base_ros_pkg/costmap_2d/plugins/footprint_layer.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/eklavya-2015/move_base_ros_pkg/costmap_2d/plugins/footprint_layer.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/eklavya-2015/move_base_ros_pkg/costmap_2d/plugins/footprint_layer.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2008, 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
40.154545
145
0.692552
khairulislam
5f9a09a6590471c0211f223f3bf4c4f15b99aabd
2,326
cpp
C++
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/DFS/PathSumii.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 113 Path Sum ii * Medium * Jiawei Wang * 2021.8.22 */ /* Revision * $1 2021.9.28 Jiawei Wang * $2 2021.10.17 Jiawei Wang */ #include <vector> #include <deque> #include <stack> using namespace::std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() : val(0...
25.844444
97
0.580396
a4org
5f9c641d3ffe79a888629e8ded33ab1b26fe9c5e
57,524
cpp
C++
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
2
2020-10-15T08:32:42.000Z
2021-07-02T23:17:17.000Z
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
null
null
null
SILENT/pthreed.cpp
DPSablowski/silent
a042dadb9bfa0b2219e95d2b292e3e61c0298d0d
[ "Apache-2.0" ]
null
null
null
#include "pthreed.h" #include "ui_pthreed.h" #include <fstream> #include <sstream> using namespace std; double x13d, x23d, y13d, y23d; string ptdpath; QString qptdpath; pthreed::pthreed(QWidget *parent) : QDialog(parent), ui(new Ui::pthreed) { ui->setupUi(this); this->setWindowTitle("3D Spectrograph ...
31.52
105
0.513473
DPSablowski
5f9f096d5967322c3eb1d8ae124bcf402357d4ef
1,452
cpp
C++
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
5
2020-05-12T20:11:00.000Z
2021-02-26T16:59:05.000Z
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
null
null
null
toml/src/storage.cpp
Hun1eR/TOML
7c47b3fd7b9d0321f0614cc8c51da8c7e458c22b
[ "MIT" ]
null
null
null
// *********************************************************************** // Author : the_hunter // Created : 04-01-2020 // // Last Modified By : the_hunter // Last Modified On : 04-01-2020 // *********************************************************************** #include <toml/pch.h> /// <summar...
18.379747
95
0.562672
Hun1eR
5fa42e7f7a4287c5bd7052bb8399ef7c4786dab7
1,548
cpp
C++
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
DevelopmentGame/Game/Source/Hearts.cpp
RubokiReuchi/Development-Platform-Game
59175b86863bf3691422e9289fbb9fa46316f047
[ "MIT" ]
null
null
null
#include "App.h" #include "Textures.h" #include "Render.h" #include "Map.h" #include "Hearts.h" #include "Player.h" #include "Defs.h" #include "Log.h" Hearts::Hearts() : Entity() {} // Destructor Hearts::~Hearts() {} void Hearts::InitCustomEntity() { b2BodyDef c_body; c_body.type = b2_staticBody; c_body.position....
19.111111
112
0.704134
RubokiReuchi
5fa5e0ef92cc0e2b77957b9b4cde329b971ef1cf
2,945
hpp
C++
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
3
2020-04-03T14:06:41.000Z
2021-11-09T23:55:52.000Z
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
2
2020-04-03T14:21:09.000Z
2022-02-08T14:37:01.000Z
include/makeshift/experimental/functional.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
null
null
null
#ifndef INCLUDED_MAKESHIFT_EXPERIMENTAL_FUNCTIONAL_HPP_ #define INCLUDED_MAKESHIFT_EXPERIMENTAL_FUNCTIONAL_HPP_ #include <utility> // for move(), forward<>() #include <type_traits> // for move(), forward<>() #include <gsl-lite/gsl-lite.hpp> // for gsl_CPP17_OR_GREATER #include <makeshift/experimental/detail/fu...
24.139344
76
0.615959
mbeutel
5fa7529d1d4cff8639920472a609926a5bcc7b84
16,384
cpp
C++
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_configuration_built_in.cpp
Puschel2020/VulkanTools
6698657af2291c8cba809069a77e8fc90ff70406
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, 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 * * Unl...
34.565401
128
0.76123
Puschel2020
5faaf4b0cbc8272189025dd8e2311605f58fe634
1,082
cpp
C++
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
Core/Core.cpp
Zaangetsuu/Zia
05868c5cc94c571ba76fd414fac970f5cd6e4556
[ "MIT" ]
null
null
null
// // Created by corentin on 20/02/18. // #include "Core.hpp" //Core Core::_singleton = Core(); Core::Core() : _configHandler("zia.conf"), _moduleManager(), _mutex() { } Core::~Core() = default; void Core::run() { updateConfig(); } void Core::updateConfig() { zia::api::Conf configuration; config...
20.415094
77
0.630314
Zaangetsuu
5facac422da3a110af504f2c693d6be9f56b2af5
1,345
cpp
C++
GeeksForGeeks/DS/5. Queue/3.queue-using-stacks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
GeeksForGeeks/DS/5. Queue/3.queue-using-stacks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
GeeksForGeeks/DS/5. Queue/3.queue-using-stacks.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// http://www.geeksforgeeks.org/queue-using-stacks/ #include <iostream> #include <stack> using namespace std; struct queue { stack<int> stack1; stack<int> stack2; }; // Method-1 void enQueue(queue *q, int data){ while(!q->stack2.empty()){ q->stack1.push(q->stack2.top()); q->stack2.pop(); } q->stack2.push(data...
18.680556
52
0.569517
Ashwanigupta9125
5fb0e05c133e2dab3ebf65e9d1127851ef965d8c
826
cpp
C++
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/src/Settings.cpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
// // Created by Artem Shemidko on 6/22/21. // #include "Settings.hpp" Settings *Settings::m_instance = nullptr; Settings::Settings() { std::ifstream file(ConfigFilePath); if (!file.is_open()) { throw std::invalid_argument(ConfigFilePath); } m_settings = json::parse(file); file.close(); ...
20.65
68
0.639225
Hvvang
5fb3b850bd54d5d5fc57b674c97c079236794cb6
35,086
cpp
C++
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
7
2015-01-05T16:41:55.000Z
2015-01-17T11:21:06.000Z
Source/Mesh/kdtree.cpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
null
null
null
#include "inmost_mesh.h" #if defined(USE_MESH) #define _m0(x) (x & 0x7FF) #define _m1(x) (x >> 11 & 0x7FF) #define _m2(x) (x >> 22 ) namespace INMOST { inline static void crossproduct(const Storage::real vecin1[3],const Storage::real vecin2[3], Storage::real vecout[3]) { vecout[0] = vecin1[1]*vecin2[2] - vecin1[2...
31.439068
173
0.545716
INM-RAS
5fb3ffb00d3187d775d28e7408b077d2f8160ca0
946
cpp
C++
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rw_rh_engine_lib/render_client/light_state_recorder.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
// // Created by peter on 16.02.2021. // #include "light_state_recorder.h" #include <ipc/MemoryReader.h> #include <ipc/MemoryWriter.h> namespace rh::rw::engine { constexpr size_t gLightBufferSize = 1024; LightStateRecorder::LightStateRecorder() noexcept { PointLights.resize( gLightBufferSize ); PointLightCoun...
24.25641
63
0.726216
petrgeorgievsky
5fb404b72733c2b8a5fde4a34ed4076187647e9a
3,958
cpp
C++
qt/PropertyCrossLib/src/searches.cpp
isabella232/PropertyCross
7bd2c27b3a43aca88b82a1139cf8f0e3aabd29fc
[ "MIT" ]
310
2015-01-06T13:45:11.000Z
2022-02-11T16:13:35.000Z
qt/PropertyCrossLib/src/searches.cpp
FelgoSDK/PropertyCross
0ca8a254166e0dbd786ea757d92baa0a7f58e841
[ "MIT" ]
52
2015-01-24T01:06:17.000Z
2019-09-10T13:12:38.000Z
qt/PropertyCrossLib/src/searches.cpp
FelgoSDK/PropertyCross
0ca8a254166e0dbd786ea757d92baa0a7f58e841
[ "MIT" ]
122
2015-01-12T07:00:38.000Z
2022-02-11T16:13:56.000Z
#include "searches.h" #include <QSettings> #include <QDebug> #include <QDataStream> Q_DECLARE_METATYPE(Search) const QString storageKey = "recentSearches"; QDataStream& operator<<(QDataStream& out, const Search& s) { out << s.search() << s.results(); return out; } QDataStream& operator>>(QDataStream& in, Sea...
24.893082
89
0.687721
isabella232
5fbc6bdd5dab9b3c78c6004ab58b10650eded26e
105
cpp
C++
blitz3d/pivot.cpp
ZiYueCommentary/Blitz3D
866cce504c3b1b8592d034cf50468459f1c767ca
[ "Zlib" ]
8
2019-05-28T20:02:50.000Z
2021-10-12T23:34:02.000Z
blitz3d/pivot.cpp
ZiYueCommentary/Blitz3D
866cce504c3b1b8592d034cf50468459f1c767ca
[ "Zlib" ]
null
null
null
blitz3d/pivot.cpp
ZiYueCommentary/Blitz3D
866cce504c3b1b8592d034cf50468459f1c767ca
[ "Zlib" ]
1
2019-12-25T01:02:00.000Z
2019-12-25T01:02:00.000Z
#include "std.h" #include "pivot.h" Pivot::Pivot() { } Pivot::Pivot(const Object& t) : Object(t) { }
9.545455
31
0.6
ZiYueCommentary
5fbc7950a61cd3bba983184cdf49e6d6fa78c527
4,127
cpp
C++
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
src/Imploder/Linux/Imploder.cpp
perriera/ng-monitor
38b47773d7a4cc39fd677622648f0e59a616a751
[ "MIT" ]
null
null
null
#include "../include/Imploder/Linux/Imploder.hpp" #include "../extra/include/Directory.hpp" #include "../extra/include/string_support.hpp" #include <fstream> #include <iostream> #include <sstream> #include <vector> using namespace std; std::ostream &operator<<(std::ostream &out, const LinuxImploder &obj) { out << "...
31.503817
80
0.618609
perriera
5fc3b7a4ee1de9f25f0a42435b224d43751ead56
7,634
inl
C++
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
src/cryptonote_core/cryptonote_core_idle.inl
flywithfang/dfa
8f796294a2c8ed24f142183545ab87afd77c2b4e
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------------------------- double factorial(unsigned int n) { if (n <= 1) return 1.0; double f = n; while (n-- > 1) f *= n; return f; } //---------------------------------------------------------------------------...
35.179724
166
0.529211
flywithfang
5fc42f39d7fd6a43cd77347cedbc2b73a2369909
1,130
hpp
C++
WindowsLabs/RenderWorld/Include/Book/Game.hpp
aytona/MultimediaSystemsDevelopment
faf5d38c33f9bad1f0965c99851c5d184c244a87
[ "MIT" ]
null
null
null
WindowsLabs/RenderWorld/Include/Book/Game.hpp
aytona/MultimediaSystemsDevelopment
faf5d38c33f9bad1f0965c99851c5d184c244a87
[ "MIT" ]
null
null
null
WindowsLabs/RenderWorld/Include/Book/Game.hpp
aytona/MultimediaSystemsDevelopment
faf5d38c33f9bad1f0965c99851c5d184c244a87
[ "MIT" ]
null
null
null
#ifndef BOOK_GAME_HPP #define BOOK_GAME_HPP #include <Book/World.hpp> #include <SFML/System/Time.hpp> #include <SFML/Window/Keyboard.hpp> #include <SFML/Graphics/Text.hpp> #include <SFML/Graphics/Font.hpp> #include <SFML/Graphics/RenderWindow.hpp> class Game : private sf::NonCopyable { public: Game(); vo...
20.545455
68
0.695575
aytona
5fd81ae9cfe65941cbb90aa3dd2ec9a4c5c3c695
2,104
cpp
C++
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
null
null
null
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
null
null
null
src/interp_gen_inv.cpp
vincenzocoia/igcop
1ac1affbb7ec50f5946181207f6816dd37669d70
[ "MIT" ]
1
2021-02-09T08:50:05.000Z
2021-02-09T08:50:05.000Z
#include <Rcpp.h> using namespace Rcpp; //' @rdname generators_vec // [[Rcpp::export]] NumericVector interp_gen_inv_vec(NumericVector p, NumericVector eta, NumericVector alpha) { int i; int n = p.size(); double interp_gen_inv_algo (double, double, double, int, double, double); Nu...
32.369231
75
0.61692
vincenzocoia
5fd95097b1189712c7b3f5e007c7ad75096aed96
1,569
hpp
C++
2_localization/djiros_trigger/OSDK/Onboard-SDK-3.3/osdk-core/hal/inc/dji_thread_manager.hpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
8
2018-01-30T11:40:31.000Z
2021-05-03T05:52:47.000Z
2_localization/djiros_trigger/OSDK/Onboard-SDK-3.3/osdk-core/hal/inc/dji_thread_manager.hpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
null
null
null
2_localization/djiros_trigger/OSDK/Onboard-SDK-3.3/osdk-core/hal/inc/dji_thread_manager.hpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
1
2020-12-23T08:14:57.000Z
2020-12-23T08:14:57.000Z
/*! @file dji_thread_manager.hpp * @version 3.3 * @date Jun 2017 * * @brief Data protection and thread management abstract classes. * * @copyright 2016-17 DJI. All rights reserved. */ #ifndef ONBOARDSDK_THREADMANAGER_H #define ONBOARDSDK_THREADMANAGER_H namespace DJI { namespace OSDK { //! Forward Declara...
17.054348
66
0.685787
huying163
5fdc1449b4fd53a3bcbd6e00abaefbba821519ea
34,474
cpp
C++
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/FrameWork/ZXProjectManager.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
35.141692
278
0.483553
tonyt73
5fdc82ee6a7af0e8ff43d8d09ecb0dc07ab4d219
4,151
cpp
C++
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Tests/TestHarness/TestHarness.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "Stroika/Foundation/StroikaPreComp.h" #include <cstdlib> #include <iostream> #include "Stroika/Foundation/Characters/CodePage.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/Containers/Common.h"...
35.478632
150
0.655264
SophistSolutions
5fdeba227402e5fa7c2d0ed0354709a04aee8e0b
3,887
cpp
C++
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
null
null
null
src/packet.cpp
sQu1rr/wenet
83f87f5bcd6bcacb21c92b35be67ff1ecf478f84
[ "MIT" ]
1
2020-05-01T19:01:38.000Z
2020-05-01T19:01:38.000Z
#include "wenet/packet.hpp" #include <algorithm> namespace sq { namespace wenet { Packet::Flags convertFlags(Packet::Flags flags) { using Exception = Packet::Exception; if (!flags) throw Exception{"Flags cannot be empty"}; if (flags & Packet::Flag::Reliable) { if (flags & Packet::Flag::Unsequen...
27.373239
84
0.647286
sQu1rr
5fdfc31885ec2e48ed85cff98eec234121e8f1a8
13,255
cpp
C++
Criteria/mcdmweightreader.cpp
francescodelduchetto/nbs_ros
dd544818b845ce1e67aecdb942ca809c89669581
[ "MIT" ]
1
2017-06-22T08:31:08.000Z
2017-06-22T08:31:08.000Z
Criteria/mcdmweightreader.cpp
francescodelduchetto/nbs_ros
dd544818b845ce1e67aecdb942ca809c89669581
[ "MIT" ]
2
2019-11-13T15:30:28.000Z
2020-04-24T10:58:24.000Z
Criteria/mcdmweightreader.cpp
francescodelduchetto/nbs_ros
dd544818b845ce1e67aecdb942ca809c89669581
[ "MIT" ]
2
2020-06-12T13:01:30.000Z
2021-01-18T15:43:52.000Z
#include "Criteria/mcdmweightreader.h" #include "Criteria/criteriaName.h" #include <list> #include <string.h> #include<iostream> using namespace std; WeightMatrix *MCDMWeightReader::getMatrix(float w_criterion_1, float w_criterion_2, float w_criterion_3) { WeightMatrix *matrix = NULL; // cout << w_criterion_1 << ...
44.479866
169
0.704564
francescodelduchetto
5fe3994efdad7e149c195d80c3b463adf9e663de
15,356
cpp
C++
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
21
2021-08-30T15:30:22.000Z
2022-02-09T14:05:36.000Z
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
Electro/src/Platform/DX11/DX11Renderbuffer.cpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
// ELECTRO ENGINE // Copyright(c) 2021 - Electro Team - All rights reserved #include "epch.hpp" #include "DX11Renderbuffer.hpp" #include "DX11Internal.hpp" namespace Electro { // Max: 8K Texture; 8192 / 1204 = 8 static const Uint sMaxFramebufferSize = 8192; namespace Utils { ...
47.395062
179
0.670096
SurgeTechnologies
5fe53c0029d1e5affde4c094dfca9df22124ab1d
2,994
cpp
C++
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
_2007 - Undemo/src/libTexture/Texture.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
// // Simple texture class // #ifdef _WIN32 #include <windows.h> #endif #include <GL/gl.h> #include <GL/glu.h> #include <malloc.h> #include <memory.h> #include "Texture.h" Texture :: Texture () { width = 0; height = 0; numComponents = 0; data ...
25.159664
94
0.434202
retgone
5fe95fdfc63eb73eb12ecfd4e687164a67eb02a1
3,396
hpp
C++
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
math/private/taylor.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xpack_math_private_taylor #define xpack_math_private_taylor #pragma push_macro("xuser") #undef xuser #define xuser mixc::math_private_taylor::inc #include"define/base_type.hpp" #include"macro/xexport.hpp" #pragma pop_macro("xuser") // 生成 4x6 常量系数 // coe (coefficient) #define xcoe(name) ...
32.653846
69
0.46172
Better-Idea
5fedb50d51f7ad15cb04e0cbcde7555b65d6519f
1,023
cpp
C++
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
src/core/math/matrix3x3.cpp
ValtoForks/crown
0d273f352de01f0adac8a29db7f520979540b916
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012-2018 Daniele Bartolini and individual contributors. * License: https://github.com/dbartolini/crown/blob/master/LICENSE */ #include "core/math/matrix3x3.h" namespace crown { Matrix3x3& invert(Matrix3x3& m) { const f32 xx = m.x.x; const f32 xy = m.x.y; const f32 xz = m.x.z; const f32 yx =...
22.733333
73
0.54741
ValtoForks
5fee77f59464daa37af275cde91cacbec78b1a8d
2,302
cc
C++
code/bess-v1/core/utils/time_test.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
1
2020-06-22T13:21:43.000Z
2020-06-22T13:21:43.000Z
code/bess-v1/core/utils/time_test.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
null
null
null
code/bess-v1/core/utils/time_test.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
null
null
null
// Copyright (c) 2016-2017, Nefeli Networks, 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: // // * Redistributions of source code must retain the above copyright notice, this // list of...
39.689655
80
0.746308
Lossless-Virtual-Switching
5ff1c66b9dd889cc507f35caba96ca46cbadae5c
1,174
cpp
C++
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-11T09:14:31.000Z
2021-02-27T09:30:14.000Z
csapex_core_plugins/src/text/text_input.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// HEADER #include "text_input.h" /// PROJECT #include <csapex/model/node_modifier.h> #include <csapex/model/token.h> #include <csapex/msg/generic_value_message.hpp> #include <csapex/msg/io.h> #include <csapex/param/parameter_factory.h> #include <csapex/signal/event.h> #include <csapex/utility/register_apex_plugin.h>...
26.088889
106
0.689949
AdrianZw
5ff1f07f3de7eab200bafd6036dd24e193a40690
6,710
hh
C++
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
cc/virus/passage.hh
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include "ext/fmt.hh" #include "ext/compare.hh" #include "utils/string.hh" #include "utils/messages.hh" // ====================================================================== namespace ae::virus::passage { struct deconstructed_t { struct element_t ...
37.277778
195
0.557526
skepner
5ff2dbff101f428a796f1ec674d67868ca7fdab4
3,905
cpp
C++
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
1
2017-08-15T03:56:22.000Z
2017-08-15T03:56:22.000Z
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
Bumblebee/BumblebeeGLSLProgram.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
#include "BumblebeeGLSLProgram.h" // Compiles a pipeline of shaders bool BumblebeeGLSLProgram::compile(bool transform) { _program = glCreateProgram(); if (_vertex_src) { _vertex = glCreateShader(GL_VERTEX_SHADER); glShaderSource(_vertex, 1, &_vertex_src, 0); glCompileShader(_vertex); glAttachShader(_program...
22.442529
95
0.715237
radical-bumblebee
5ff335a5d357ec66fcb47cb05c69b253043bd3d3
2,908
hh
C++
Testcase4-Application-breakdown/online-compiling/src/util/iterator.hh
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
129
2020-08-09T12:02:30.000Z
2022-03-31T15:26:03.000Z
Testcase4-Application-breakdown/online-compiling/src/util/iterator.hh
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
11
2020-09-17T09:42:07.000Z
2022-03-30T19:05:38.000Z
Testcase4-Application-breakdown/online-compiling/src/util/iterator.hh
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
22
2020-08-20T06:59:24.000Z
2022-03-18T21:00:05.000Z
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #ifndef UTIL_ITERATOR_HH #define UTIL_ITERATOR_HH #include <vector> #include <iterator> template<class Iterator> class JoinIterator { private: std::vector<std::pair<Iterator, Iterator>> iterators_; size_t current_; public: typedef s...
24.436975
111
0.643398
hunhoffe
5ff5db26614cb520e4ff28062e9f370b7083aec8
1,737
cpp
C++
Algorithms/18.4Sum/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/18.4Sum/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/18.4Sum/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { vector<vector<int> > result; if(nums.size() == 0) return result; sort(nums.begin(),nums.end()); for( int pos1 = 0;pos1<nums.size();pos1++) { for(int pos2 = po...
34.74
80
0.35521
moranzcw
5ff732b63bfcd41acfa362ff09a498db600c9e2b
38,389
cpp
C++
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
2
2020-03-09T18:48:54.000Z
2020-05-14T03:58:45.000Z
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
null
null
null
SkyBox.cpp
havokentity/Reaction-Engine-Renderer
cb0452d81da6a6baf8a681141fcc8e1ba0e04b14
[ "MIT" ]
null
null
null
/* Description: Skybox class and Lens flare object class classes contained are: class Skybox class LensFlareTexObj */ #include "SkyBox.h" #include "CoreEngine.h" #include "Console.h" namespace DifferentialArts { Skybox::~Skybox() { //this->Free(); } Skybox::Skybox() { this->inUse = false; this->si...
31.937604
138
0.703587
havokentity
5ff9bf0b84bb5ff286261824a8340d93d731fd43
1,063
hpp
C++
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-31T09:27:00.000Z
2021-12-31T09:27:00.000Z
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
null
null
null
Control_movement/gimbal/Src/Imu.hpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-22T03:34:04.000Z
2021-12-22T03:34:04.000Z
#ifndef IMU_HPP #define IMU_HPP #include "bsp_imu.h" #include "RobotEngine.hpp" class Imu : public SensorEntity { private: float m_YawRaw; float m_Yaw; float m_Pitch; float m_Roll; float m_WX; float m_WY; float m_WZ; float m_ZeroYaw; uint8_t m_FrameBuffer[64]; uint8_t m_BufferQ...
19.327273
49
0.648166
PhilosopheAM
5ffa69c229eb963346e6fa5e525b430e64b046f2
1,044
cpp
C++
src_tests/arm_neon/test_vdup_n.cpp
AlexYaruki/prism
ba4b20f570d03bf896ad3634e5fbf4a6bf5b02f5
[ "Apache-2.0" ]
8
2019-06-14T09:25:46.000Z
2021-11-11T10:34:28.000Z
src_tests/arm_neon/test_vdup_n.cpp
AlexYaruki/prism
ba4b20f570d03bf896ad3634e5fbf4a6bf5b02f5
[ "Apache-2.0" ]
1
2019-10-06T02:11:17.000Z
2021-11-11T11:17:16.000Z
src_tests/arm_neon/test_vdup_n.cpp
AlexYaruki/prism
ba4b20f570d03bf896ad3634e5fbf4a6bf5b02f5
[ "Apache-2.0" ]
2
2017-06-10T01:01:00.000Z
2021-07-13T00:48:30.000Z
#include <iris/iris.h> #include <cassert> using namespace iris; template<typename T> void test_vdup_n(T(*func)(typename T::elementType)) { T output = func((typename T::elementType)47); for (size_t i = 0; i < T::length; i++) { bool cmp = output.template at<typename T::elementType>(i) == (typename T::elementType)47...
26.1
91
0.761494
AlexYaruki
2703752c059d4c8ee404fbb545c1c967fc2aa8f3
7,361
cpp
C++
computer_graphics/junkyard/tests/texture/main.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
computer_graphics/junkyard/tests/texture/main.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
computer_graphics/junkyard/tests/texture/main.cpp
asgeir/old-school-projects
96a502589c627e4556f9ee14fc1dc21ed53ce28a
[ "MIT" ]
null
null
null
#include "gl_core_3_2.h" #include "SDL.h" #include "SDL_opengl.h" #include <glm/gtx/transform.hpp> #include "common.h" #include "quad.h" #include "texture2d.h" #include "loadshaders_3_2.h" #include <cstdio> #include <cstdlib> #include <iostream> namespace { const char kVertexShader[] = R"( #version 150 in vec4 ve...
27.364312
142
0.687678
asgeir
dfd650ea0d737a754f9fbd0dd3fc1401d6610eec
2,177
cpp
C++
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
3
2019-11-19T18:47:57.000Z
2019-11-24T12:45:36.000Z
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
null
null
null
src/timer.cpp
narfg/gbemulator
4f911e50df966a79177b458f6f618f02d940e88c
[ "MIT" ]
null
null
null
#include "timer.h" Timer::Timer(uint8_t* ram): ram_(ram), div_tick_(0), tima_tick_(0) { } void Timer::tick() { // Game Boy clock frequency is 4 * 1024 * 1024 = 4194304 Hz div_tick_++; // On overflow (happens at 16384 Hz) if (div_tick_ == 0x00) { // Increment DIV ram_[0xFF0...
22.677083
63
0.439136
narfg
dfd6b522e5fe200349cfbfee506350f1accf450e
439
cpp
C++
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/AtCoder/abc075/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "adjacent_loop.hpp" #include "string.hpp" #include "vector.hpp" int main() { int h(in), w(in); Vector<String> s(h, in); for (int i = 0; i < h; ++i) { for (int j = 0; j < w; ++j) { if (s[i][j] == '#') { continue; } s[i][j] = '0'; for (auto k : AdjacentLoop<8>(i, j, h, ...
19.086957
50
0.396355
not522
dfd76ae6bec0708617086df37df6173afa346b8a
618
cpp
C++
termsrv/remdsk/server/sessmgr/global.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
termsrv/remdsk/server/sessmgr/global.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
termsrv/remdsk/server/sessmgr/global.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdafx.h" #include "helpacc.h" #include "helptab.h" #include "global.h" HelpAssistantAccount g_HelpAccount; CHelpSessionTable g_HelpSessTable; CComBSTR g_LocalSystemSID; PSID g_pSidSystem = NULL; CComBSTR g_UnknownString; CComBSTR ...
25.75
45
0.635922
npocmaka
dfdaadb1f936fdf7f0ca4d99a06279adce426195
8,891
cpp
C++
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/detail/parse.cpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
30.138983
80
0.570352
jsiwek
dfdf5ef1b67c7d6657aa8c7cb8339214d84fc674
580
hpp
C++
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
15
2015-09-02T13:25:55.000Z
2021-04-23T04:02:19.000Z
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
1
2015-11-18T03:50:18.000Z
2016-06-16T08:34:01.000Z
include/ndtree/relations/dimension.hpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
4
2016-05-20T18:57:27.000Z
2019-03-17T09:18:13.000Z
#pragma once /// \file dimension.hpp #include <ndtree/types.hpp> #include <ndtree/utility/assert.hpp> #include <ndtree/utility/ranges.hpp> namespace ndtree { inline namespace v1 { /// Range of spatial dimensions: [0, nd) /// /// TODO: make constexpr when view::iota is constexpr auto dimensions(uint_t nd) noexcept { re...
30.526316
67
0.775862
gnzlbg
dfdf9f59b62e76f3f7d1cada6dfafdd84c5f61b4
1,701
cpp
C++
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
201
2016-09-15T23:04:37.000Z
2022-03-24T06:24:42.000Z
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
60
2016-09-15T16:53:27.000Z
2022-03-31T20:57:16.000Z
src/gradientFill.cpp
da11an/tidyxl
44d47d667f0c86f2f8cea1216b821ae6a9da26c1
[ "MIT" ]
13
2017-01-02T22:04:55.000Z
2022-03-24T06:24:05.000Z
#include <Rcpp.h> #include "rapidxml.h" #include "gradientFill.h" #include "xlsxstyles.h" #include "color.h" using namespace Rcpp; gradientFill::gradientFill( rapidxml::xml_node<>* gradientFill, xlsxstyles* styles ) { // Initialize variables type_ = NA_STRING; degree_ = NA_INTEGER; left_ = NA_...
33.352941
96
0.62963
da11an
dfe3c5a9a829b2f573edac51df584a7b48455a05
3,466
cc
C++
src/declaration/type_declaration.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
src/declaration/type_declaration.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
src/declaration/type_declaration.cc
giovgiac/cassio
b673c8fe082609057904befce9a099fa64077986
[ "Apache-2.0" ]
null
null
null
/** * @file type_declaration.cc * @brief * * @copyright Copyright (c) 2018 All Rights Reserved. * */ #include <analyzer/semantic_analyzer.h> #include <core/semantic_error.h> #include <declaration/type_declaration.h> namespace cassio { std::string ExtractType(DataType type) { switch (type) { case DataType...
27.728
104
0.625505
giovgiac
dfe63303d58054b1b5169bb242b675ab720f9c39
1,145
cpp
C++
Stp/Base/System/LibraryPosix.cpp
markazmierczak/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:52.000Z
2019-07-11T12:47:52.000Z
Stp/Base/System/LibraryPosix.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
null
null
null
Stp/Base/System/LibraryPosix.cpp
Polonite/Polonite
240f099cafc5c38dc1ae1cc6fc5773e13f65e9de
[ "MIT" ]
1
2019-07-11T12:47:53.000Z
2019-07-11T12:47:53.000Z
// Copyright 2017 Polonite Authors. All rights reserved. // Distributed under MIT license that can be found in the LICENSE file. #include "Base/System/Library.h" #include "Base/Containers/Join.h" #include "Base/FileSystem/FilePath.h" #include "Base/Text/FormatMany.h" #include <dlfcn.h> namespace stp { static inlin...
24.891304
93
0.731004
markazmierczak
dfe6ab998e5211f3f3348d4fd177722018d6e9ec
1,427
cpp
C++
Models/linearvaluechanger.cpp
samcrow/GripperSimulator
fd41f86512ba308a64e12c5b1992d5e7b71c6a1f
[ "MIT" ]
null
null
null
Models/linearvaluechanger.cpp
samcrow/GripperSimulator
fd41f86512ba308a64e12c5b1992d5e7b71c6a1f
[ "MIT" ]
null
null
null
Models/linearvaluechanger.cpp
samcrow/GripperSimulator
fd41f86512ba308a64e12c5b1992d5e7b71c6a1f
[ "MIT" ]
null
null
null
#include "linearvaluechanger.h" #include <QDebug> LinearValueChanger::LinearValueChanger(double rate, double initialValue, QObject* parent) : QObject(parent), value_(initialValue), rate_(rate) { } LinearValueChanger::LinearValueChanger(QObject* parent) : LinearValueChanger(0, 0, parent) { } double L...
21.621212
91
0.640505
samcrow
dfe7eca43a001a690c7d066899a2e34841f67702
11,500
cpp
C++
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
OneCodeTeam/C++ app automates Outlook (CppAutomateOutlook)/[C++]-C++ app automates Outlook (CppAutomateOutlook)/C++/CppAutomateOutlook/Solution2.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
/****************************** Module Header ******************************\ * Module Name: Solution2.cpp * Project: CppAutomateOutlook * Copyright (c) Microsoft Corporation. * * The code in Solution2.h/cpp demontrates the use of C/C++ and the COM APIs * to automate Outlook. The raw automation is much more dif...
26.136364
79
0.652957
zzgchina888
dfeb61040b3068e2a09c5ab4bfb9fa226cfb8ae5
491
cpp
C++
clib_build/src/Objects.cpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
9
2020-09-04T01:52:41.000Z
2021-09-20T16:05:28.000Z
clib_build/src/Objects.cpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
1
2021-09-15T13:59:57.000Z
2021-09-17T21:33:53.000Z
clib_build/src/Objects.cpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
5
2020-09-05T08:17:18.000Z
2021-03-09T02:49:58.000Z
// Copyright 2020, General Electric Company. All rights reserved. See https://github.com/xcist/code/blob/master/LICENSE #include "Objects.hpp" boundingBox sphereObject::getBoundingBox() { boundingBox r; r.minX = centerX - radius; r.maxX = centerX + radius; r.minY = centerY - radius; r.maxY = centerY + radi...
20.458333
119
0.710794
pemryan