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
900bec79bda00185ffaccaf6ed5f5ac0b79c3355
618
hpp
C++
include/Analyzer.hpp
pinxau1000/Simple-Buffer-Analyzer
7df52a5a6f557ba7ec95f7a8d0e32b2338b012c2
[ "MIT" ]
null
null
null
include/Analyzer.hpp
pinxau1000/Simple-Buffer-Analyzer
7df52a5a6f557ba7ec95f7a8d0e32b2338b012c2
[ "MIT" ]
null
null
null
include/Analyzer.hpp
pinxau1000/Simple-Buffer-Analyzer
7df52a5a6f557ba7ec95f7a8d0e32b2338b012c2
[ "MIT" ]
null
null
null
// // Created by pinxau1000 on 12/07/21. // #ifndef MAIN_ANALYZER_HPP #define MAIN_ANALYZER_HPP #include <iostream> #include <exception> #include <vector> #include <string> #include <cmath> #include <ctime> #include "Buffer.hpp" #include "Bitstream.hpp" #include "Definitions.hpp" Buffer analyze(std::string arg_csv_f...
26.869565
122
0.721683
pinxau1000
900befff6025f7b5c413a811831768e78c2d4a0c
168
hpp
C++
src/EventHandler.hpp
tblyons/goon
fd5fbdda14fe1b4869e365c7cebec2bcb7de06e3
[ "Unlicense" ]
1
2021-03-14T01:27:42.000Z
2021-03-14T01:27:42.000Z
apps/Goon/src/EventHandler.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
15
2021-08-21T13:41:29.000Z
2022-03-08T14:13:43.000Z
apps/Goon/src/EventHandler.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
null
null
null
// License: The Unlicense (https://unlicense.org) #ifndef GOON_EVENTHANDLER_HPP #define GOON_EVENTHANDLER_HPP void SetUpEvents(void); #endif // GOON_EVENTHANDLER_HPP
21
49
0.803571
tblyons
90144adc4e684ba0b37255dcb76a4200d471c0ad
3,114
cpp
C++
src/set_fen.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
null
null
null
src/set_fen.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
null
null
null
src/set_fen.cpp
dave7895/libchess
f32d66249830c0cb2c378121dcca473c49b17e3e
[ "MIT" ]
2
2022-02-15T15:19:55.000Z
2022-02-21T22:54:13.000Z
#include <cassert> #include <sstream> #include "libchess/position.hpp" namespace libchess { void Position::set_fen(const std::string &fen) noexcept { if (fen == "startpos") { set_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"); return; } clear(); std::stringstream ss{...
23.413534
76
0.376044
dave7895
901a35832d897d880e5cd9bbfdd6b38dd7fe5609
4,263
cpp
C++
src/LongVector.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/LongVector.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
src/LongVector.cpp
TheReincarnator/glaziery
f688943163b73cea7034e929539fff8aa39d63e5
[ "MIT" ]
null
null
null
/* * This file is part of the Glaziery. * Copyright Thomas Jacob. * * READ README.TXT BEFORE USE!! */ // Main header file #include <Glaziery/src/Headers.h> LongVector::LongVector() : x(0), y(0) { ASSERTION_COBJECT(this); } LongVector::LongVector(long x, long y) : x(x), y(y) { ASSERTION_COBJECT(this); } Lon...
17.052
76
0.665259
TheReincarnator
901dc2e6bc4b2cef7f026b31d38a488172ce7c11
12,444
cpp
C++
Source/Core/Visualization/Renderer/StochasticRenderingCompositor.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Renderer/StochasticRenderingCompositor.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Renderer/StochasticRenderingCompositor.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file StochasticRenderingCompositor.cpp * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All right...
35.758621
107
0.530698
GoTamura
901f216b738ef752e13af09fd49db08fcdc3d643
19,363
cpp
C++
test/unit/stack/intrusive_fcstack.cpp
Nemo1369/libcds
6c96ab635067b2018b14afe5dd0251b9af3ffddf
[ "BSD-2-Clause" ]
null
null
null
test/unit/stack/intrusive_fcstack.cpp
Nemo1369/libcds
6c96ab635067b2018b14afe5dd0251b9af3ffddf
[ "BSD-2-Clause" ]
1
2017-11-12T06:43:27.000Z
2017-11-12T06:43:27.000Z
test/unit/stack/intrusive_fcstack.cpp
Nemo1369/libcds
6c96ab635067b2018b14afe5dd0251b9af3ffddf
[ "BSD-2-Clause" ]
2
2020-10-01T04:12:27.000Z
2021-07-01T07:46:19.000Z
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, with...
41.462527
133
0.644063
Nemo1369
9025836f7f09dec7a6699cfa2840b3256db101c9
27,997
cpp
C++
src/cellgrid.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
src/cellgrid.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
src/cellgrid.cpp
machinelevel/bens-game
e265d9a045426e71c86585503566e3572372f5a7
[ "MIT" ]
null
null
null
/************************************************************\ cellgrid.cpp Files for controlling the grid of cells in Ben's project \************************************************************/ #include <stdio.h> #include <stdint.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <GL/gl.h> #include <s...
29.133195
105
0.596814
machinelevel
902692ee3d6ef1f03b7ca71cec7c1f79eaa9fdc8
2,269
cpp
C++
src/cpp/sym_table.cpp
jacoburton104/perspective
556ef5fc5c74ff5c56cafa6b89804aff80a11fbd
[ "Apache-2.0" ]
1
2021-07-09T05:21:15.000Z
2021-07-09T05:21:15.000Z
src/cpp/sym_table.cpp
netdebug/perspective
e725ea2b713a671544b2406189fe71358d7b66df
[ "Apache-2.0" ]
null
null
null
src/cpp/sym_table.cpp
netdebug/perspective
e725ea2b713a671544b2406189fe71358d7b66df
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * * Copyright (c) 2017, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ #include <perspecti...
20.441441
79
0.633759
jacoburton104
902da8ebf18cc52e8154d8340308434776985734
514
cpp
C++
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
#include "RenderTargetView.h" #include "Helper.h" namespace SharpMedia { namespace Graphics { namespace Driver { namespace Direct3D10 { D3D10RenderTargetView::D3D10RenderTargetView(ID3D10RenderTargetView* view) { this->view = view; } D3D10RenderTargetView::~D3D10RenderTargetView() { this->view->Release();...
16.580645
75
0.72179
zigaosolin
903103ab69cc91a1fc14c36b93042c3775559100
470
cpp
C++
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> sortedSquares(vector<int> &nums) { priority_queue<int, vector<int>, greater<int>> q; vector<int> res; for (int i : nums) { q.push(...
19.583333
48
0.444681
vishwajeet-hogale
9031263f8cbc650f99e928e654511839a814face
3,314
cpp
C++
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Headers/GUIMessageBox.h" namespace Divide { GUIMessageBox::GUIMessageBox(const string& name, const string& title, const string& message, const vec2<I32>& offsetFromCentre, ...
33.816327
144
0.63096
IonutCava
90324190c5b67bd39c5f4884f3ad838afffe1788
1,322
cpp
C++
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
7
2016-08-25T07:42:10.000Z
2019-10-30T09:05:29.000Z
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
1
2018-08-16T20:38:26.000Z
2018-08-16T22:11:32.000Z
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
10
2018-01-31T15:10:16.000Z
2018-08-16T18:15:20.000Z
#include "Clustering.hpp" #include "CommonGraphs.hpp" #include <gtest/gtest.h> #include <iostream> void assert_are_same_float(const std::vector<double>& A, const std::vector<double>& B) { ASSERT_EQ(A.size(), B.size()); for (auto i : indices(A)) { ASSERT_FLOAT_EQ(A[i], B[i...
20.984127
60
0.624811
lgruelas
903f9b1c677294829f94fbf55e9f8dc2ba5ed48a
4,926
cpp
C++
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Headers/UndoManager.h" #include "Headers/Utils.h" #include "Editor/Headers/Editor.h" #include "Headers/EditorOptionsWindow.h" #include "Core/Headers/PlatformContext.h" #include <IconFontCppHeaders/IconsForkAwesome.h> namespace Divide { EditorOptionsWindow::EditorOptionsWindow(Platf...
38.787402
173
0.591758
IonutCava
903fadf042ed4431ad4c69cef2c56090e4b424d3
3,060
cpp
C++
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
33.626374
126
0.677124
CoSoSys
9044db185229421b97182ff0a27aa1ce2f73216f
7,758
cpp
C++
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
1
2022-03-04T16:36:48.000Z
2022-03-04T16:36:48.000Z
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
1
2022-02-28T05:17:59.000Z
2022-02-28T05:17:59.000Z
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021-2022, NVIDIA 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.org/licenses/LICENSE-2.0 * * Unless required by applicable...
45.905325
98
0.667827
res-life
904520de086348cf21afed8a702dc451e3b99645
3,346
cpp
C++
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
2
2019-02-08T16:53:53.000Z
2021-03-21T05:09:13.000Z
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
null
null
null
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
3
2017-05-08T04:44:56.000Z
2018-12-01T16:12:44.000Z
#include "zipstream.h" #include "utils.h" #include "zipformat.h" #include <cassert> #include <ctime> #include <sys/stat.h> template <int BYTES> struct getType; template <> struct getType<4> { using type = int32_t; }; template <int BYTES, typename T = typename getType<BYTES>::type> T readBytes(uint8_t const* ptr...
27.652893
75
0.5263
robinmoussu
90499cec06459321763dd15cb1cd75b010965b2b
752
cpp
C++
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> #include <unistd.h> #include <string> #include "board.hpp" #include "command_line_options.h" using namespace std; using namespace RuleStrings; /* This file exists to aid quick comparison between performances of two branches. */ int main(int argc, char** argv){ srand(time...
19.789474
70
0.704787
miguelrodriguesdossantos
904de316d86f53af738469b6c0987d5d272883a0
246
hpp
C++
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
// // Created by leodlplq on 18/11/2021. // #pragma once #include "Vertex.hpp" #include "glad/glad.h" class vbo { public: GLuint _id; vbo(Vertex* vertices, GLsizeiptr size); void bind(); void unbind(); void deleteVbo(); };
13.666667
43
0.626016
Kenny38GH
905d99eda51c401b3210f38cc77d711274747bcd
53,452
cpp
C++
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #define _NBL_STATIC_LIB_ #include <nabla.h> #include "../common/Camera.hpp" #include "../common/CommonAPI.h" #include "nbl/ext/Scree...
57.97397
239
0.627479
deprilula28
9062ce2842494425e6a4ea1295d791f91160075f
7,557
cpp
C++
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" /* 客户端通知服务器从摊位中拿走此物品 */ #include "CGStallRemoveItem.h" #include "GCStallRemoveItem.h" #include "GamePlayer.h" #include "Obj_Human.h" #include "Scene.h" #include "Log.h" #include "ItemOperator.h" #include "HumanItemLogic.h" UINT CGStallRemoveItemHandler::Execute( CGStallRemoveItem* pPacket, Play...
37.974874
142
0.592166
viticm
9066b4d3be7d6c2b62013e62ccef5441636185da
1,112
cpp
C++
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) Nuno Alves de Sousa 2019 * * Use, modification and distribution is subject to the Boost Software License, * Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #include <celero/Celero.h> #include <fixture.hpp> #include <mkl.h> CELERO_MAIN...
26.47619
81
0.720324
seriouslyhypersonic
90687b5190c80a3c7c005f5fe2d40921b351cff6
11,297
cpp
C++
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
1
2019-08-27T14:36:00.000Z
2019-08-27T14:36:00.000Z
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
null
null
null
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2012-2014, The Microsystems Design Labratory (MDL) * Department of Computer Science and Engineering, The Pennsylvania State University * All rights reserved. * * This source code is part of NVMain - A cycle accurate timing...
33.226471
84
0.500929
code-lamem
9068cd65b2531f63fc4eca84dc2e99af5531e3c6
4,685
cc
C++
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
null
null
null
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
null
null
null
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
1
2019-12-02T22:31:08.000Z
2019-12-02T22:31:08.000Z
#include "Framebuffer.h" #include "FramebufferTexture.h" #include "DepthFramebufferTexture.h" #include "GraphNode.h" #include "RenderingContext.h" GLuint Framebuffer::active_framebuffer_id = 0; Framebuffer::Framebuffer(unsigned int w, unsigned int h) : width(w), height(h) { color_tex = NULL; depth_tex = NULL; co...
24.657895
78
0.785912
pstiasny
90694f119ea87a46434d16d7c24cf05caf4648df
2,075
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat.hpp> #include <gtest/gtest.h> using stan::math::check_ordered; TEST(ErrorHandlingMatrix, checkOrdered) { Eigen::Matrix<double, Eigen::Dynamic, 1> y; y.resize(3); y << 0, 1, 2; EXPECT_NO_THROW(check_ordered("check_ordered", "y", y)); y << 0, 10, std::numeric_limits<double>::inf...
28.040541
93
0.615904
yizhang-cae
906a2524fe426138f4e1108f215ef70d6b50fbb4
36,024
cpp
C++
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
1
2021-05-10T02:07:12.000Z
2021-05-10T02:07:12.000Z
#include <iostream> #include <fstream> #include <gtc/matrix_transform.hpp> #include <gtc/type_ptr.hpp> #include <memory> #include "application.h" #include "camera.h" #include "utility.h" #include "material.h" #include "macros.h" #include "render_graph.h" #include "nodes/forward_node.h" #include "nodes/cubemap_skybox_no...
39.24183
273
0.515018
hdachev
906b7416fccae8b3af91851f3b4dcd5301c0c104
483
cpp
C++
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CTaskSimpleFacial.h" CTaskSimpleFacial::CTaskSimpleFacial(eFacialExpression nFacialExpress, int nDuration) : CTa...
37.153846
110
0.780538
MayconFelipeA
906b770be0557513b38aa2e86e6953ee76de6f45
45,893
cpp
C++
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
orinem/aws-sdk-cpp
f38413cc1f278689ef14e9ebdd74a489a48776be
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
45.619284
269
0.783627
orinem
906c27d56bc24a4ac2a48fa53fdd7821d5e5f405
3,313
cpp
C++
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
#include <cpplocate/cpplocate.h> #if defined SYSTEM_LINUX #include <unistd.h> #include <limits.h> #elif defined SYSTEM_WINDOWS #include <stdlib.h> #elif defined SYSTEM_SOLARIS #include <stdlib.h> #include <limits.h> #elif defined SYSTEM_DARWIN #include <mach-o/dyld.h> #elif defined SYSTEM_FREE...
18.931429
84
0.598853
helmesjo
906cf38280a216b2fac548bef4a0f9d47b36abbc
1,394
cc
C++
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2011至今,Facebook,Inc.保留所有权利。 //此源代码在两个gplv2下都获得了许可(在 //复制根目录中的文件)和Apache2.0许可证 //(在根目录的license.apache文件中找到)。 // //...
21.446154
69
0.662123
yinchengtsinghua
906d57444875fde21714cb5e41b17f06969ab1d2
97
cpp
C++
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
#include "movebehavior.h" MoveBehavior::MoveBehavior() { } MoveBehavior::~MoveBehavior() { }
8.083333
29
0.701031
zenitaeglos
9070c486a2eccf11ce71491643e47edb3543c1e2
806
cpp
C++
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define pii pair <int, int> #define all(v) (v).begin() (v).end() #define fi first #define se second #define ll long long #define ull long long #define ld long double #define MOD 1000000007 #define MAXN 200005 using namespace std; map <int, int> DP[M...
17.521739
47
0.532258
Victoralin10
907319f2232ab9f64e20be32d130956246853a4c
4,607
cpp
C++
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2019, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
31.128378
90
0.504884
dalg24
90797082a0f4ca7439543035bd08f5a61b201d42
2,236
cpp
C++
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
4
2019-10-19T18:30:26.000Z
2019-12-15T17:54:27.000Z
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
null
null
null
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
null
null
null
#include "Light.h" Light::Light() :Light(vec3(0, 0, 0)) { } Light::Light(vec3 position) { setPosition(vec4(position.x, position.y, position.z, 1.0)); setAmbient(vec4(1.0, 1.0, 1.0, 1.0)); setDiffuse(vec4(0.0, 0.0, 0.0, 1.0)); setSpecular(vec4(0.0, 0.0, 0.0, 1.0)); } Light::Light(float x, float y, float z) :Light...
19.614035
103
0.650268
catinapoke
908026e9f741b99671f70fd49c30840c0c3ad925
170
cpp
C++
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
1
2021-03-19T14:32:16.000Z
2021-03-19T14:32:16.000Z
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
null
null
null
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
1
2021-03-19T14:32:18.000Z
2021-03-19T14:32:18.000Z
#include "Hooks.h" #include "EnemyHealthManager.h" namespace Hooks { void Install() { EnemyHealthManager::InstallHooks(); logger::info("Installed all hooks"); } }
15.454545
38
0.711765
Exit-9B
9083c828bb3a94f8f3618f072dff28ba8df65ea1
2,952
cc
C++
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
#include "Dialogs.h" #include <stdio.h> #include "game/Directories.h" #include "game/Tactical/Soldier_Profile.h" #include "game/Tactical/Soldier_Profile_Type.h" #include "MercProfile.h" const char* Content::GetDialogueTextFilename(const MercProfile &profile, bool useAlternateDialogueFile, bool isCurrentl...
25.894737
113
0.671748
oldlaptop
90846bb77f329996dc9479a922ccfff66d831ae4
3,703
cpp
C++
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "NodeBase.h" #include "Node2d.h" #include "Node3d.h" using namespace ci; using namespace ci::app; using namespace std; class ScenegraphTestApp : public App { public: void mouseMove( MouseEvent event ); void mous...
24.361842
82
0.712935
calebjohnston
90849e310a69a084de74906cbf8f6c09f67e143d
61,373
inl
C++
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
1
2020-05-31T21:14:49.000Z
2020-05-31T21:14:49.000Z
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
null
null
null
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020-2021 Daniel S. Buckstein 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 t...
25.604088
96
0.675053
dbuckstein
908711a2194f5d82a80a46a8537ec2f653d75e7d
2,541
cpp
C++
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
class Solution { public: int largestSubmatrix(vector<vector<int>>& matrix) { vector<int> conti_seg_left,conti_seg_right; // speical for line int line_counter = 0; int total_counter = 0; if(matrix.size() == 1){ for(int i=0; i<matrix[0].size(); i++){ ...
33
70
0.358127
sptuan
908ce98a98ca51186e12f3042435ce3af8a27cba
810
cpp
C++
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
/* * Pin.h * * Created on: Jan 2, 2021 * Author: ianicknoejovich */ #include <HAL/InputPin.h> InputPin::InputPin(uint8_t port, uint8_t pin, Mode mode) : Pin(port, pin) { _mode = mode; } void InputPin::init(void){ GPIO_setDir(_port, _pin, INPUT); if(_mode == PULLDOWN) GPIO_setInputMode(_port, _pin, _m...
25.3125
110
0.7
SqLemon
908f67e681541d578b4cd466bda4805f73cce902
1,765
cpp
C++
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2018-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/vinniefalco/BeastLounge // #include "l...
21.52439
80
0.5983
ReddyArunreddy
9093b2b88c85bb24c49e59169ca9c1a7ccc7eb9d
4,475
cpp
C++
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
3
2021-11-13T02:18:59.000Z
2021-12-04T18:16:01.000Z
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
#include <thread> #include "catch2/catch.hpp" #include "shared/diagnostics/counter_set.h" using namespace pbr::shared::diagnostics; ////////// /// increment ////////// TEST_CASE("increment - valid amount - increments counter", "[shared/diagnostics]") { counter_set c; auto key = "key"; auto value = 10; ...
23.677249
91
0.642458
snowmeltarcade
90959b3dd90afb9a9bb2734d16fef8bdfda59684
18,918
cc
C++
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
47
2019-12-29T02:52:48.000Z
2022-02-21T08:39:14.000Z
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
null
null
null
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
16
2020-07-21T06:28:25.000Z
2022-02-02T13:40:36.000Z
// Copyright 2020 The MediaPipe Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
29.28483
82
0.654773
Yuuraa
90983beec8f4579019604a4f5fe12d342d12cab7
11,829
cpp
C++
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014-2017 Intel Corporation * Copyright (c) 2017, Fuzhou Rockchip 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.or...
40.789655
163
0.704793
rockchip-toybrick
909e3d56baefe70e1e3c4fc6048bb0bcdcdd240a
393
cpp
C++
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#include "scene.h" #include "utils.h" #include <core/system/subsystem.h> std::vector<runtime::entity> scene::instantiate(mode mod) { if(mod == mode::standard) { auto& ecs = core::get_subsystem<runtime::entity_component_system>(); ecs.dispose(); } std::vector<runtime::entity> out_vec; if(!data) return out_...
17.863636
70
0.699746
ValtoForks
90a5bfac2a60f91735e7509413cb52df81968193
1,061
cpp
C++
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
4
2020-08-07T02:18:13.000Z
2021-07-08T09:46:11.000Z
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
#include "lua_env.h" #include "core/object/entity.h" #include "core/object/component.h" #include "world/scene.h" namespace luna { void luna::LuaEnv::Init() { // m_state = luaL_newstate(); // const luaL_Reg lualibs[] = { // { LUA_COLIBNAME, luaopen_base }, // { LUA_LOADLIBNAME, luaopen_package }, // { LUA_TABL...
20.803922
77
0.598492
LunarGameTeam
90a98e4cd7a03185d19e2b699f3ce8272de4b9d7
3,761
hpp
C++
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
// Arduino async serial port library with nine data bits support. // // 2015, (c) Gk Ltd. // MIT License #ifndef TINY_BASIC_HPP_ #define TINY_BASIC_HPP_ #include <tiny/detail/auto_sense.hpp> #include <iterator> #include <bitset> #include <stdint.h> namespace tiny { #ifdef bit # undef bit #endif // bit #ifdef TI...
21.369318
74
0.670035
yell0w4x
90ab42f31a104a3e7ed5de92918fefab26330e23
214
cpp
C++
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
5
2020-03-06T10:01:28.000Z
2020-05-06T07:57:20.000Z
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
1
2020-03-06T02:51:50.000Z
2020-03-06T04:33:30.000Z
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
29
2020-03-05T15:15:24.000Z
2021-07-21T07:05:00.000Z
#include "VertexBuffer.hpp" VertexBuffer::VertexBuffer(const void *data, const unsigned int size) { glGenBuffers(1, &m_RendererID); Bind(); glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW); }
23.777778
69
0.733645
rabinadk1
90ab57fa83b576215082827427467f947a158eb3
675
cc
C++
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
11
2015-03-06T13:14:32.000Z
2020-06-09T23:34:28.000Z
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
62
2015-01-04T05:47:40.000Z
2018-06-15T17:00:25.000Z
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
2
2017-04-05T20:35:49.000Z
2017-07-30T03:44:02.000Z
#include <ugdk/time/manager.h> #include "SDL_timer.h" namespace ugdk { namespace time { Manager::Manager() { last_update_ = current_time_ = initial_time_ = SDL_GetTicks(); } void Manager::Update() { last_update_ = current_time_; current_time_ = SDL_GetTicks(); } uint32 Manager::TimeElapsed() const { ...
19.285714
66
0.715556
uspgamedev
90aead07e280f730ea042b4a74cb137141dbcc46
5,421
hpp
C++
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:21 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: HMUI.TextSlider #include "HMUI/TextSlider.hpp" // Including ...
45.554622
163
0.740638
Futuremappermydud
90b0960d974ad6a84c89a3d7ea0498d656a6482c
566
cpp
C++
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
1
2021-02-12T08:24:17.000Z
2021-02-12T08:24:17.000Z
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
null
null
null
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
null
null
null
#include<iostream.h> #include<conio.h> #include<fstream.h> #include<ctype.h> void alphacount() { fstream f; f.open("notes3.txt",ios::in|ios::out); char ch; int count=0; char ans='y'; while(ans=='y') { cout<<"\nEnter a character "; cin>>ch; f<<ch; cout<<"\nDo you want to continue "; ...
11.32
47
0.526502
AyushVerma-code
90b32d3646f414cd94bd41b90a51ca6072a5bc3a
3,594
cpp
C++
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
/* Copyright (c) 2005-2016, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
43.829268
128
0.772955
clairemiller
ff9b1c0934cc08187bc8bd8b0e814679b27b59bc
4,247
cpp
C++
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
9
2021-11-17T10:27:18.000Z
2022-03-16T09:43:24.000Z
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2022-03-17T08:31:05.000Z
2022-03-28T02:50:59.000Z
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2021-12-21T09:49:02.000Z
2021-12-21T09:49:02.000Z
#include "sb16.h" const uint32_t PCI_Enable_Bit = 0x80000000; const uint32_t PCI_Config_Address = 0xCF8; const uint32_t PCI_Config_Data = 0xCFC; unsigned char pci_bus_sb16 = 0; unsigned char pci_device_sb16 = 0; unsigned char pci_device_fn_sb16 = 0; SoundBlaster16* SB16; uint32_t sb16_ioaddr; DSP* dspPort; DSP_Wri...
30.120567
95
0.662821
pradosh-arduino
ff9c16a85d3df00ea4a530f703ce464ba1714c7c
1,854
cpp
C++
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // This file is part of Iron's source files. // Iron is free software, licensed under the MIT/X11 License. // A copy of the license is provided with the library in the LICENSE file. // Copyright (c) 2016, 2017, Igor Dimitrijevic // /////////...
21.310345
95
0.434736
biug
ff9c196469416f6b335467100b9fa172436555b0
868
cpp
C++
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
1
2020-04-26T10:28:41.000Z
2020-04-26T10:28:41.000Z
#include <iostream> #include <fstream> using namespace std; // matrix is two dimensional array. You should transposition matrix void transposition(int rows, int cols, int **matrix) { for (int i = 0; i < cols; i++) { cout << matrix[0][i]; for (int j = 1; j < rows; j++) { cout << " " << matrix[j][i]; ...
18.083333
68
0.534562
Smithienious
ff9ee956272ccb07a5a4f771657487b2715743cb
5,718
cc
C++
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
#include "extensions/filters/http/gfunction/gfunction_filter.h" #include <algorithm> #include <list> #include <string> #include <vector> #include "envoy/http/header_map.h" #include "common/buffer/buffer_impl.h" #include "common/common/empty_string.h" #include "common/common/hex.h" #include "common/common/utility.h" ...
30.741935
98
0.714236
adesaegher
ffa582936f230158ae857b11dd54dac8f154b20c
547
cpp
C++
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
16
2019-05-02T09:42:38.000Z
2022-01-28T02:08:44.000Z
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
4
2019-07-06T13:27:24.000Z
2022-01-27T19:11:10.000Z
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
2
2019-05-23T08:33:52.000Z
2019-07-07T16:56:02.000Z
/* * wavetable.cpp * Samuel Laing - 2019 * * just a few utility functions to be used by the GendyOscillator */ #include "wavetable.hpp" namespace rack { float wrap(float in, float lb, float ub) { float out = in; if (in > ub) out = lb; else if (in < lb) out = ub; return out; } ...
17.645161
65
0.499086
stephanepericat
ffa5f26ab8bc81d742f1f150d8e1b06714137991
3,019
cpp
C++
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include "ext/numeric" using namespace __gnu_cxx; using namespace std; typedef long long ll; const int N = 1e5 + 10, M = 2 * N; int tenInvPW[N]; int n,m; int phi(int x){//complexity sqrt(x) int res=x; for(int i=2;i<=x/i;i++) { if (x % i) continue; res -= res / i; ...
22.871212
103
0.516396
bishoy-magdy
ffac724073668a2c90de89fb7ec654900e698e06
147,237
cpp
C++
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
1
2015-11-06T03:39:51.000Z
2015-11-06T03:39:51.000Z
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
null
null
null
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2014 Dropbox, 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 t...
38.594233
145
0.59301
amyvmiwei
ffaeb5b6af46af8b75dfd837172594f1836cdbf0
762
cpp
C++
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/intrusive_ptr.hpp> #include <atlbase.h> #include <iostream> void intrusive_ptr_add_ref(IDispatch *p) { p->AddRef(); } void intrusive_ptr_release(IDispatch *p) { p->Release(); } void check_windows_folder() { CLSID clsid; CLSIDFromProgID(CComBSTR{"Scripting.FileSystemObject"}, &clsid); void *p; ...
28.222222
76
0.708661
KwangjoJeong
ffafe8964fc691f8d19fe82fc728b7f7a5c4cbcf
1,267
cpp
C++
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2022 Sergey Naumov ** ** Permission to use, copy, modify, and/or distribute this ** software for any purpose with or without fee is hereby granted. ** ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ** WAR...
30.902439
77
0.659826
sergeynaumovio
ffb7247aa8dc214775abccb10e9feb1a4297ed2f
3,577
hpp
C++
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
10
2019-08-25T07:59:43.000Z
2020-04-22T21:06:19.000Z
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
2
2019-08-25T18:17:32.000Z
2019-09-05T05:51:41.000Z
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
1
2019-09-05T21:04:02.000Z
2019-09-05T21:04:02.000Z
//Copyright Alice Framework, All Rights Reserved #pragma once #include <Basic/Types.hpp> #include <Basic/Inline.hpp> #include <Configuration.hpp> #if defined(AliceSse) #if defined(_MSC_VER) #include <intrin.h> #else #include <xmmintrin.h> #endif #endif #if defined(AliceSse2) #if defined(_MSC_VER) #if !def...
31.377193
90
0.448141
AProgrammerFemale
ffb84e55963aa3a2421bdaf8bf6f79b4cbfc520b
1,031
hpp
C++
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
class CfgMagazines { class Default; class CA_Magazine; class 30Rnd_test_mag: CA_Magazine { scope = public; /// or 2, to be precise displayName = "Test magazine"; picture = "\A3\Weapons_F\Data\placeholder_co.paa"; /// just some icon ammo = B_Test_Caseless; count = 30; /// 30 rounds is enough initSpeed...
34.366667
138
0.71193
hoxxii
ffbd103c7a0a75cc4b37445da092e94c7af1b95c
1,732
cpp
C++
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2010/06/07 2:09 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net **********...
29.355932
76
0.632794
palchukovsky
ffbdec6bb0d5c58b44e382c02c0f7256af7257aa
61,718
cpp
C++
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
#include <list> #include <memory> #include <algorithm> #include <vector> #include <iterator> #include <cassert> #include <tuple> #include <array> #include <thread> #include <future> #include <atomic> #include <cmath> #include <cstring> #include "basedefs.h" #include "face.h" #include "hgt_optimizer.h" #include "binary_...
35.778551
178
0.696312
lpsztemp
ffbedafd1c1ffd4835eac9d1aa99cbb8bc48a4f4
11,033
cpp
C++
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
#include <graphics/PixelFormat.h> #include <math/Rectangle.h> #include <system/Clipboard.h> #include <system/JNI.h> #include <system/System.h> #ifdef HX_MACOS #include <CoreFoundation/CoreFoundation.h> #endif #ifdef HX_WINDOWS #include <shlobj.h> #include <stdio.h> //#include <io.h> //#include <fcntl.h> #ifdef __MING...
19.088235
202
0.628388
ubald
ffbf7e11e20dd95107c6ac3bcd024ed2ab30fbe9
707
cpp
C++
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
1
2019-05-28T01:53:36.000Z
2019-05-28T01:53:36.000Z
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
null
null
null
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
null
null
null
#include <functional> #include <iostream> #include <iterator> #include <map> #include <queue> #include <set> #include <sstream> #include <vector> using namespace std; auto to_binary = [&](auto n) { vector<char> b; while (n != 0) { b.push_back(n & 1 == 1 ? '1' : '0'); n /= 2; } reverse(...
19.108108
63
0.523338
Shuumatsu
ffc1ec7b7db76f37d39ecd7a2bc03c0e050477eb
11,817
cpp
C++
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
#include "pch.h" #include "util.Unicode.h" #include "UtilMacros.Assertions.h" #include "UtilMacros.General.h" #include "util.range_checked_cast.h" #include "util.CStringBufferAccess.h" NAMESPACE_BEGIN( vlr ) NAMESPACE_BEGIN( util ) HRESULT CStringConversion::MultiByte_to_UTF16( std::string_view svValue, wchar_t* ...
32.643646
161
0.800288
nick42
ffc33ffe362865453ca5d4e153cd433cf9efa726
10,393
cpp
C++
Alien Engine/Alien Engine/ComponentCollider.cpp
OverPowered-Team/Alien-GameEngine
713a8846a95fdf253d0869bdcad4ecd006b2e166
[ "MIT" ]
7
2020-02-20T15:11:11.000Z
2020-05-19T00:29:04.000Z
Alien Engine/Alien Engine/ComponentCollider.cpp
OverPowered-Team/Alien-GameEngine
713a8846a95fdf253d0869bdcad4ecd006b2e166
[ "MIT" ]
125
2020-02-29T17:17:31.000Z
2020-05-06T19:50:01.000Z
Alien Engine/Alien Engine/ComponentCollider.cpp
OverPowered-Team/Alien-GameEngine
713a8846a95fdf253d0869bdcad4ecd006b2e166
[ "MIT" ]
1
2020-05-19T00:29:06.000Z
2020-05-19T00:29:06.000Z
#include "Globals.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "ComponentCollider.h" #include "ComponentTransform.h" #include "ComponentRigidBody.h" #include "ComponentPhysics.h" #include "ComponentMesh.h" #include "GameObject.h" #include "ReturnZ.h" #include "Time.h" #include "Event.h" #include ...
25.917706
179
0.726354
OverPowered-Team
ffcbfd889ee9e227f648268446c050fbe2c9a90f
3,403
cpp
C++
src/options.cpp
caetanosauer/fineline
03423d7f926435a01c2f0f2264763a11c8f332ce
[ "MIT" ]
null
null
null
src/options.cpp
caetanosauer/fineline
03423d7f926435a01c2f0f2264763a11c8f332ce
[ "MIT" ]
null
null
null
src/options.cpp
caetanosauer/fineline
03423d7f926435a01c2f0f2264763a11c8f332ce
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2016 Caetano Sauer * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modif...
36.98913
100
0.702615
caetanosauer
ffceb64ad0844a4e19e637c4f1f6311104cdfb74
10,308
cpp
C++
raygame/Player.cpp
DynashEtvala/Splat2D
44a296a834e5f1def9ef100f1b650174fcfe0d05
[ "MIT" ]
null
null
null
raygame/Player.cpp
DynashEtvala/Splat2D
44a296a834e5f1def9ef100f1b650174fcfe0d05
[ "MIT" ]
null
null
null
raygame/Player.cpp
DynashEtvala/Splat2D
44a296a834e5f1def9ef100f1b650174fcfe0d05
[ "MIT" ]
null
null
null
#include "Player.h" #include "Math.h" #include "Controller.h" #include "FloorTile.h" #include "SpawnPad.h" #include <math.h> Player::Player() { weap = BASE_GUN; speed = weap.walkSpeed; teamColor = BLACK; playerNumber = 0; } Player::Player(Vector2 start, Weapon w, Color tcol, Color ecol, int pnum) { static Text...
26.162437
351
0.617385
DynashEtvala
ffd7390f9b8f9ab2cf776fbcd187b4a6a79d3a4b
458
cpp
C++
C++/Maximizing XOR.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
1
2019-10-15T09:14:29.000Z
2019-10-15T09:14:29.000Z
C++/Maximizing XOR.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
5
2019-10-30T05:24:27.000Z
2019-10-30T05:28:03.000Z
C++/Maximizing XOR.cpp
karunagatiyala/hackerrank_problems-or-hackerearth_problems
645bb30465ee962733433a9a30fd5873b9fe33c2
[ "MIT" ]
10
2019-10-15T03:04:17.000Z
2019-10-29T18:39:11.000Z
#include <bits/stdc++.h> using namespace std; // Complete the maximizingXor function below. int maximizingXor(int l, int r) { } int main() { ofstream fout(getenv("OUTPUT_PATH")); int l; cin >> l; cin.ignore(numeric_limits<streamsize>::max(), '\n'); int r; cin >> r; cin.ignore(numeric_...
14.774194
56
0.591703
karunagatiyala
ffda05a12aae3a915f386d16577289974c4d811f
10,998
cpp
C++
SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp
tjca1/MSI-Afterburner
5bbac4a0af16be326b1f2886ae016ca0a54487e8
[ "MIT" ]
null
null
null
SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp
tjca1/MSI-Afterburner
5bbac4a0af16be326b1f2886ae016ca0a54487e8
[ "MIT" ]
1
2021-11-21T01:40:59.000Z
2021-11-21T01:40:59.000Z
SDK/Samples/Plugins/Monitoring/AIDA64/AIDA64SetupSourceDlg.cpp
tjca1/MSI-Afterburner
5bbac4a0af16be326b1f2886ae016ca0a54487e8
[ "MIT" ]
1
2021-12-25T03:40:50.000Z
2021-12-25T03:40:50.000Z
// AIDA64SetupSourceDlg.cpp : implementation file // // created by Unwinder ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "AIDA64SetupSourceDlg.h" #include "AIDA64Globals.h" #include "MAHMSharedMemory.h" //////////////////////////////////////////////////////...
34.914286
81
0.619476
tjca1
ffdabdd4f68355ce6317c319adc23e98a1eb726e
1,852
cpp
C++
Gardenino_Sketch/SensorLogger.cpp
Diebanez/gardenino
88ce597e47dcaecbe1a99eb962bdc95a30bd5932
[ "MIT" ]
null
null
null
Gardenino_Sketch/SensorLogger.cpp
Diebanez/gardenino
88ce597e47dcaecbe1a99eb962bdc95a30bd5932
[ "MIT" ]
4
2021-12-31T13:22:59.000Z
2022-01-03T10:36:22.000Z
Gardenino_Sketch/SensorLogger.cpp
Diebanez/gardenino
88ce597e47dcaecbe1a99eb962bdc95a30bd5932
[ "MIT" ]
null
null
null
#include "SensorLogger.h" #include <SD.h> #include "Debug.h" SensorLogger::SensorLogger(Clock *logClock) : PrintLogSpan(0, 1, 0, 0), LogClock(logClock) { } void SensorLogger::AddSensorToLog(Sensor *target) { SensorToLog.AddElement(target); } void SensorLogger::Init(TimeSpan LogSpan) { PrintLogSpan = Log...
24.368421
152
0.577214
Diebanez
ffde21b56ac873665291a65e9a9c13bcb998a662
1,064
cpp
C++
rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp
VitorNevess/Rabbits-Life
24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46
[ "Apache-2.0" ]
null
null
null
rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp
VitorNevess/Rabbits-Life
24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46
[ "Apache-2.0" ]
1
2019-11-16T00:54:00.000Z
2019-11-16T00:54:00.000Z
rabbitsLife/rabbitsLife/Draw/DrawTruckYellow.cpp
VitorNevess/Rabbits-Life
24d46ca84ad441b25a37bc2d9a4b2c65a03d3d46
[ "Apache-2.0" ]
null
null
null
// // DrawTruckYellow.cpp // rabbitsLife // // Created by joao.vitor.f.naves on 13/10/19. // Copyright © 2019 vitor.neves. All rights reserved. // #define GL_SILENCE_DEPRECATION #include <GLUT/GLUT.h> class DrawTruckYellow { //public public: float xCloser = 0;//mais perto float xFurther = 0;//mais lo...
19.703704
54
0.620301
VitorNevess
ffe0ead6be26d6b7242ca321c59d350efa7b43b7
309
cpp
C++
GeneratorType.cpp
Xecutor/paparl
fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc
[ "MIT" ]
null
null
null
GeneratorType.cpp
Xecutor/paparl
fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc
[ "MIT" ]
null
null
null
GeneratorType.cpp
Xecutor/paparl
fb0096d49d11a4110ba4eb2b0d42508f9c87d4bc
[ "MIT" ]
null
null
null
#include "GeneratorType.hpp" std::string getGeneratorNameByType(GeneratorType gt) { using GT=GeneratorType; switch(gt) { case GT::downtown:return "Downtown"; case GT::seaport:return "Seaport"; case GT::suburbs:return "Suburbs"; case GT::warehouse:return "Warehouse"; } return ""; }
20.6
52
0.68932
Xecutor
ffe2da45917417d1bbc4c7e6d2fda4cb68ccf694
60,493
cpp
C++
c++/src/algo/blast/api/blast_options_cxx.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/algo/blast/api/blast_options_cxx.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/algo/blast/api/blast_options_cxx.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef SKIP_DOXYGEN_PROCESSING static char const rcsid[] = "$Id: blast_options_cxx.cpp 371842 2012-08-13 13:56:38Z fongah2 $"; #endif /* SKIP_DOXYGEN_PROCESSING */ /* =========================================================================== * * PUBLIC DOMAIN NOTICE * ...
23.257593
98
0.609277
OpenHero
ffe40f7d4488ee495de9bd09bb1b3f7358dff1b2
5,528
cpp
C++
src/Main/calculateEvec.cpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
1
2022-01-27T14:45:51.000Z
2022-01-27T14:45:51.000Z
src/Main/calculateEvec.cpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
3
2021-09-14T01:30:26.000Z
2021-09-25T14:05:10.000Z
src/Main/calculateEvec.cpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
1
2022-01-03T18:16:26.000Z
2022-01-03T18:16:26.000Z
#include "calculateEvec.hpp" void calculateEvec(LSMSSystemParameters &lsms, LocalTypeInfo &local) { const Real tolerance = 1.0e-8; for (int i=0; i<local.num_local; i++) { // Small part in mufind_c.f from LSMS 1.9 if (lsms.n_spin_cant == 2) // nspin >=3 { // Calculate moment Real ...
38.124138
154
0.516281
pmu2022
ffe4485adf577a78dbafbdce23b9b679fdd896f5
774
cpp
C++
libsnes/bsnes/snes/chip/msu1/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
libsnes/bsnes/snes/chip/msu1/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
libsnes/bsnes/snes/chip/msu1/serialization.cpp
ircluzar/BizhawkLegacy-Vanguard
cd8b6dfe881f3c9d322b73c29f0d71df2ce3178e
[ "MIT" ]
null
null
null
#ifdef MSU1_CPP void MSU1::serialize(serializer &s) { Processor::serialize(s); s.integer(mmio.data_offset); s.integer(mmio.audio_offset); s.integer(mmio.audio_loop_offset); s.integer(mmio.audio_track); s.integer(mmio.audio_volume); s.integer(mmio.data_busy); s.integer(mmio.audio_busy); s.integer(m...
25.8
132
0.697674
ircluzar
ffe60ac81a3223be2a12b8dce2baa45abd78a8f1
3,982
cpp
C++
src/core/physics/body_template.cpp
texel-sensei/eversim
187262756186add9ee8583cbaa1d3ef9e6d0aa53
[ "Apache-2.0" ]
null
null
null
src/core/physics/body_template.cpp
texel-sensei/eversim
187262756186add9ee8583cbaa1d3ef9e6d0aa53
[ "Apache-2.0" ]
72
2017-07-18T16:38:29.000Z
2020-09-01T15:25:22.000Z
src/core/physics/body_template.cpp
texel-sensei/eversim
187262756186add9ee8583cbaa1d3ef9e6d0aa53
[ "Apache-2.0" ]
null
null
null
#include "core/physics/body_template.h" #include "core/physics/errors.h" #include <fstream> #include <sstream> using namespace std; namespace eversim { namespace core { namespace physics { void body_template_loader::register_factory(std::string const& type, factory_ptr factory) { constraint_loaders[type] = move...
22
102
0.670517
texel-sensei
ffe7144243e30615abcc8e67abda78cfd1699428
448
cpp
C++
src/statusbar.cpp
roediger/tableau-log-viewer
4c63f8f91e71ebc0a1524f103a40459f9808bb06
[ "MIT" ]
133
2016-10-14T04:36:10.000Z
2022-03-10T21:27:15.000Z
src/statusbar.cpp
Tableau-projects/tableau-log-viewer
4c63f8f91e71ebc0a1524f103a40459f9808bb06
[ "MIT" ]
39
2016-10-14T06:28:35.000Z
2020-07-24T00:42:40.000Z
src/statusbar.cpp
Tableau-projects/tableau-log-viewer
4c63f8f91e71ebc0a1524f103a40459f9808bb06
[ "MIT" ]
46
2016-10-18T15:38:10.000Z
2021-11-17T07:51:33.000Z
#include "statusbar.h" StatusBar::StatusBar(QMainWindow* parent) : m_qbar(parent->statusBar()), m_statusLabel(new QLabel(parent)) { m_statusLabel->setContentsMargins(0, 0, 8, 0); m_qbar->addPermanentWidget(m_statusLabel); } void StatusBar::ShowMessage(const QString& message, int timeout) { m_qbar-...
22.4
64
0.729911
roediger
ffee4de2ae3d9b280dac966a1ffced153c8a454c
11,699
cpp
C++
Engine/source/scene/zones/sceneZoneSpace.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/scene/zones/sceneZoneSpace.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/scene/zones/sceneZoneSpace.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
32.22865
127
0.578511
vbillet
fff098f07b243bc508116a069c4da83d1a40d185
44,300
cc
C++
src/redis_strings.cc
WyattJia/blackwidow
5d070e2970f68fafde8105d358acd09c571ea398
[ "BSD-3-Clause" ]
67
2018-08-01T05:52:25.000Z
2022-03-22T04:08:22.000Z
src/redis_strings.cc
WyattJia/blackwidow
5d070e2970f68fafde8105d358acd09c571ea398
[ "BSD-3-Clause" ]
7
2018-11-30T01:48:07.000Z
2022-02-10T12:17:07.000Z
src/redis_strings.cc
WyattJia/blackwidow
5d070e2970f68fafde8105d358acd09c571ea398
[ "BSD-3-Clause" ]
30
2018-08-15T06:34:31.000Z
2022-03-20T09:04:27.000Z
// Copyright (c) 2017-present, Qihoo, 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. #include "src/redis_st...
30.785268
101
0.599797
WyattJia
fff3c70ae2abda3d5d44cc736ac9dc25e5b28f4b
499
cpp
C++
BinarySearch/BinarySearch/BinarySearchIterative.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
BinarySearch/BinarySearch/BinarySearchIterative.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
BinarySearch/BinarySearch/BinarySearchIterative.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int binarySearchIterative(vector<int> vctr, int target) { int min = 0; int max = vctr.size() - 1; while (min < max) { int guess = (min + max) / 2; if (vctr.at(guess) == target) { return guess; }...
16.633333
56
0.442886
gabrieltavares0123
fffa5e882f086e22a2285b40d3032c15c0a7c0ee
96
cpp
C++
engine/tile.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
12
2017-02-09T21:03:41.000Z
2021-04-26T14:50:20.000Z
engine/tile.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
engine/tile.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
#include "tile.h" Tile::Tile() {} Tile::~Tile() {} void Tile::setValue(int v) { value = v; }
12
28
0.5625
jarreed0
fffd62bbb6e1b8264051b74822bb0478aceb7ad0
1,159
cpp
C++
leetcode/_190_reverse_bits.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
3
2017-02-19T14:38:32.000Z
2017-07-22T17:06:55.000Z
leetcode/_190_reverse_bits.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
null
null
null
leetcode/_190_reverse_bits.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
null
null
null
//============================================================================== // Copyright 2016 Windy Darian (Ruoyu Fan) // // 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:...
37.387097
80
0.572908
WindyDarian
fffe8b330a6e5fcd721da4dd534bc318934d6e1c
6,889
cc
C++
cc/jwt/jwt_object.cc
iambrosie/tink
33accb5bcdff71f34d7551a669831ec9a52674aa
[ "Apache-2.0" ]
2
2020-11-09T11:25:34.000Z
2022-03-04T06:21:44.000Z
cc/jwt/jwt_object.cc
iambrosie/tink
33accb5bcdff71f34d7551a669831ec9a52674aa
[ "Apache-2.0" ]
null
null
null
cc/jwt/jwt_object.cc
iambrosie/tink
33accb5bcdff71f34d7551a669831ec9a52674aa
[ "Apache-2.0" ]
1
2020-08-11T04:52:46.000Z
2020-08-11T04:52:46.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed ...
30.082969
79
0.710553
iambrosie
ffff16f67e2c31036540669161cfba4f91fd25a9
1,093
hpp
C++
agency/cuda/detail/concurrency/heterogeneous_barrier.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/cuda/detail/concurrency/heterogeneous_barrier.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/cuda/detail/concurrency/heterogeneous_barrier.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#include <agency/detail/config.hpp> namespace agency { namespace cuda { namespace detail { template<class HostBarrier, class DeviceBarrier> class heterogeneous_barrier { public: using host_barrier_type = HostBarrier; using device_barrier_type = DeviceBarrier; __agency_exec_check_disable__ __AGENC...
17.078125
48
0.732845
nerikhman
0800547f1460cf6d60e590ab2d6519d50a0acb5c
7,602
cpp
C++
wallet/api/v6_3/v6_3_api_parse.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
wallet/api/v6_3/v6_3_api_parse.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
wallet/api/v6_3/v6_3_api_parse.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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...
30.408
136
0.549724
unwaz
08015cfc4fb0c74687667d358446a4aa478dd6b8
21,417
hpp
C++
source/utils/ImageCopiers.hpp
bobvodka/GameTextureLoader3
47db5781eb650b9746ffed327786c7e73410cbe0
[ "MIT" ]
null
null
null
source/utils/ImageCopiers.hpp
bobvodka/GameTextureLoader3
47db5781eb650b9746ffed327786c7e73410cbe0
[ "MIT" ]
null
null
null
source/utils/ImageCopiers.hpp
bobvodka/GameTextureLoader3
47db5781eb650b9746ffed327786c7e73410cbe0
[ "MIT" ]
null
null
null
// A series of templated routines to copy image objects between memory buffers #ifndef GTL_IMAGECOPIERS_HPP #define GTL_IMAGECOPIERS_HPP #include <boost/function.hpp> #include <boost/bind.hpp> #include "Utils.hpp" #include "memoryIterators.hpp" //CHECK ALL THE OFFSET MATHS!!! //IT FEELS LIKE BAD BAD VOODOO!!! // na...
33.780757
150
0.673344
bobvodka
0801e69aabfd892b207c36f3d04c8b5c070f3df5
280
cpp
C++
lib/AST/Break.cpp
yangzh1998/purpo
87cdf981580fa25f5b7062e5fd90c920c49ff116
[ "MIT" ]
4
2021-11-25T14:26:39.000Z
2021-11-25T19:22:38.000Z
lib/AST/Break.cpp
yangzh1998/purpo
87cdf981580fa25f5b7062e5fd90c920c49ff116
[ "MIT" ]
null
null
null
lib/AST/Break.cpp
yangzh1998/purpo
87cdf981580fa25f5b7062e5fd90c920c49ff116
[ "MIT" ]
null
null
null
// // Created by YANG Zehai on 2021/11/11. // #include "AST/Break.h" using namespace pur; using namespace pur::ast; Break::Break(const pars::Location& loc): Stmt(ASTNodeType::kBreak, loc) { /* empty */ } void Break::Accept(Visitor& visitor) { visitor.VisitBreak(*this); }
16.470588
73
0.678571
yangzh1998
080ab7fa5adf4750d4a44aa398d617ffea615351
2,605
cc
C++
tests/test.cc
sv1990/automatic-differentiation
b2eb0685c0bb31086a57957464641965a5b6ae0c
[ "MIT" ]
null
null
null
tests/test.cc
sv1990/automatic-differentiation
b2eb0685c0bb31086a57957464641965a5b6ae0c
[ "MIT" ]
null
null
null
tests/test.cc
sv1990/automatic-differentiation
b2eb0685c0bb31086a57957464641965a5b6ae0c
[ "MIT" ]
null
null
null
#include "ad/ad.hh" #include "ad/ostream.hh" #include <cassert> #undef NDEBUG template <typename T, typename U> constexpr bool same_type(T, U) noexcept { return std::is_same_v<T, U>; } template <typename T> constexpr bool is_static_expression(T) { return ad::detail::is_static_v<T>; } int main() { using names...
34.733333
78
0.619578
sv1990
080d328b2ae90baa12db3ff3a8778a02da56280c
133
cpp
C++
recursive/tests/failing_test.cpp
PhilipDaniels/autotools-template
e11ee788c7ca9f9b941778330cac4e562b23d8fe
[ "MIT" ]
20
2016-02-01T13:07:45.000Z
2020-08-30T18:59:39.000Z
recursive/tests/failing_test.cpp
PhilipDaniels/autotools-template
e11ee788c7ca9f9b941778330cac4e562b23d8fe
[ "MIT" ]
null
null
null
recursive/tests/failing_test.cpp
PhilipDaniels/autotools-template
e11ee788c7ca9f9b941778330cac4e562b23d8fe
[ "MIT" ]
4
2018-05-13T19:05:28.000Z
2021-12-29T18:08:46.000Z
#define CATCH_CONFIG_MAIN #include "mycatch.hpp" #include "foo.hpp" TEST_CASE("Testing works", "[works]") { REQUIRE(2 > 3); }
12.090909
37
0.661654
PhilipDaniels
080e32a0c1261e77869375530610f956681a9dda
2,283
cpp
C++
gym/101190/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/101190/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/101190/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef DGC #include "debug.h" #else #define debug(...) #endif typedef long long ll; typedef long double ld; typedef complex<ll> point; #define F first #define S second struct info { ll a, b; }; int main() { #ifdef DGC freopen("a.txt", "r", stdin); //freopen("b.txt...
17.037313
73
0.505475
albexl
080ef9b7d80aaaad57c68515a6eeeef80697a3cb
545
cpp
C++
algorithm/kmp.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
algorithm/kmp.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
algorithm/kmp.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<string> using namespace std; string s1, s2; void kmp() { string new_s = s2+"#"+s1; vector<int> prefix_func(new_s.size()); for(int i = 1; i < new_s.size(); i++) { int j = prefix_func[i-1]; while(j>0&&new_s[j]!=new_s[i]) j=prefix_func[j-1]; ...
18.166667
58
0.522936
freedomDR
081396bdef5c61cb3eccd6f19a0c2fe9e838fed5
8,925
cpp
C++
test/omp/test_omp_external_distance_interaction.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
test/omp/test_omp_external_distance_interaction.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
2
2020-04-07T11:41:45.000Z
2020-04-08T10:01:38.000Z
test/omp/test_omp_external_distance_interaction.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE "test_omp_external_distance_interaction" #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <mjolnir/math/math.hpp> #include <mjolnir/core/BoundaryCondition.hpp> #include <mjolnir/core/SimulatorTraits.hpp> #includ...
41.901408
132
0.643249
yutakasi634
0819301c98d806c431bdf1c95c36fa35d20f7475
3,400
hpp
C++
IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp
ConiKost/intel-graphics-compiler
f5227c9658da35d08d7f711552ebcb12638ebc18
[ "Intel", "MIT" ]
1
2020-09-03T17:11:47.000Z
2020-09-03T17:11:47.000Z
IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp
ConiKost/intel-graphics-compiler
f5227c9658da35d08d7f711552ebcb12638ebc18
[ "Intel", "MIT" ]
null
null
null
IGC/Compiler/Optimizer/OpenCLPasses/ProgramScopeConstants/ProgramScopeConstantAnalysis.hpp
ConiKost/intel-graphics-compiler
f5227c9658da35d08d7f711552ebcb12638ebc18
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2017-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ #pragma once #include "Compiler/MetaDataUtilsWrapper.h" #include "common/LLVMWarn...
35.789474
88
0.632059
ConiKost
08196178478447608c42dee8386ed18a7bd59944
26,759
hpp
C++
src/sframe/sframe.hpp
karthikdash/turicreate
86a6d9a339a77b7b55f67233352da0e7471400bc
[ "BSD-3-Clause" ]
1
2018-04-11T19:06:57.000Z
2018-04-11T19:06:57.000Z
src/sframe/sframe.hpp
karthikdash/turicreate
86a6d9a339a77b7b55f67233352da0e7471400bc
[ "BSD-3-Clause" ]
null
null
null
src/sframe/sframe.hpp
karthikdash/turicreate
86a6d9a339a77b7b55f67233352da0e7471400bc
[ "BSD-3-Clause" ]
1
2019-01-12T01:07:34.000Z
2019-01-12T01:07:34.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #ifndef TURI_UNITY_LIB_SFRAME_HPP #define TURI_UNITY_LIB_SFRAME_HPP #include <iostream> #include <al...
34.394602
96
0.630704
karthikdash
081fb04b87b9bf4a565b7e4702c1a2608373d1cc
67
cpp
C++
core/Instruments/AnalogDrums/AnalogDrum.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/Instruments/AnalogDrums/AnalogDrum.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/Instruments/AnalogDrums/AnalogDrum.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
1
2022-03-29T19:45:51.000Z
2022-03-29T19:45:51.000Z
// // Created by ibelikov on 23.12.19. // #include "AnalogDrum.h"
11.166667
35
0.641791
ferluht
0827622e6748b8e62d1effaf51041b021fb28ab8
794
cpp
C++
src/diff/deltas/asset_type_2_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
3
2017-07-02T08:33:22.000Z
2019-03-16T00:48:11.000Z
src/diff/deltas/asset_type_2_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
src/diff/deltas/asset_type_2_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
#include "asset_type_2_delta.hpp" #include "../../json_writer.hpp" namespace zizany { asset_type_2_delta::asset_type_2_delta(const int asset_id_, const int old_type_2_, const int new_type_2_) : asset_id(asset_id_), old_type_2(old_type_2_), new_type_2(new_type_2_) { } void asset_type_2_del...
29.407407
109
0.675063
kmichel
082a0dec5a4414f0ce972588177e96140b513227
1,130
cpp
C++
libsnn/src/loss/hillinger.cpp
rahulsrma26/simpleNN
4a8858df503336ce5cf00850d89015e93e07cb36
[ "MIT" ]
11
2019-11-02T13:48:36.000Z
2020-03-06T22:57:40.000Z
libsnn/src/loss/hillinger.cpp
rahulsrma26/simpleAI
4a8858df503336ce5cf00850d89015e93e07cb36
[ "MIT" ]
1
2019-12-13T15:08:55.000Z
2019-12-15T17:16:08.000Z
libsnn/src/loss/hillinger.cpp
rahulsrma26/simpleAI
4a8858df503336ce5cf00850d89015e93e07cb36
[ "MIT" ]
null
null
null
#include "snn/loss/hillinger.hpp" namespace snn { namespace losses { constexpr real h_eps = 1e-5f; hillinger::hillinger(const kwargs& args) { std::ignore = args; } std::string hillinger::type() { return TEXT::HILLINGER; } std::string hillinger::name() const { return this->type(); } real hillinger::f(...
28.974359
81
0.567257
rahulsrma26