hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
48fd28f7f730491497414830ad306ae0ab1d8395
2,666
cpp
C++
apps/EHD/gauss/src/gauss_hermite.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2021-12-12T13:26:06.000Z
2022-03-03T16:14:53.000Z
apps/EHD/gauss/src/gauss_hermite.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
5
2019-03-01T07:08:46.000Z
2019-04-28T07:32:42.000Z
apps/EHD/gauss/src/gauss_hermite.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2017-12-13T13:13:52.000Z
2019-03-13T20:08:15.000Z
/* * Copyright 2000-2017 Romain Boman * * 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...
25.634615
78
0.555514
[ "3d" ]
5b0784daaa13ff961345db7d3e8bbdd9a49d9064
22,956
cpp
C++
src/d3d11CodeSet1/Chapter 10 Stenciling/Mirror/MirrorDemo.cpp
yottaawesome/intro-to-dx11
d4c35670133082cd9bc0da8bb032a0b92ae54c15
[ "MIT" ]
2
2020-09-07T21:26:40.000Z
2022-03-10T15:24:03.000Z
src/d3d11CodeSet1/Chapter 10 Stenciling/Mirror/MirrorDemo.cpp
yottaawesome/intro-to-dx11
d4c35670133082cd9bc0da8bb032a0b92ae54c15
[ "MIT" ]
null
null
null
src/d3d11CodeSet1/Chapter 10 Stenciling/Mirror/MirrorDemo.cpp
yottaawesome/intro-to-dx11
d4c35670133082cd9bc0da8bb032a0b92ae54c15
[ "MIT" ]
null
null
null
//*************************************************************************************** // MirrorDemo.cpp by Frank Luna (C) 2011 All Rights Reserved. // // Demonstrates using the stencil buffer to mask out areas from being drawn to, // and to prevent "double blending." // // Controls: // Hold the left mouse ...
32.607955
118
0.673201
[ "geometry", "render", "object", "vector" ]
5b07aa03addbdf88fee13e514c36377692eefeff
944
cpp
C++
source/111.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/111.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/111.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 111.cpp // LeetCode // // Created by Narikbi on 06.04.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
16.561404
58
0.613347
[ "vector" ]
5b0a348d7d922c5a48fb937f12fcd51f67902fdb
8,730
hpp
C++
c++/include/corelib/ncbiutil.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/corelib/ncbiutil.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/corelib/ncbiutil.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef CORELIB___NCBI_UTILITY__HPP #define CORELIB___NCBI_UTILITY__HPP /* $Id: ncbiutil.hpp 191081 2010-05-07 16:06:38Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Inform...
27.28125
79
0.640092
[ "object", "vector" ]
5b1508c86a96175303d1ae0223ae604ce552d147
12,062
hpp
C++
typed_python/Type.hpp
szymonlipinski/nativepython
5f0bcc709b99a43681488f2753eccc2ac37a0334
[ "Apache-2.0" ]
null
null
null
typed_python/Type.hpp
szymonlipinski/nativepython
5f0bcc709b99a43681488f2753eccc2ac37a0334
[ "Apache-2.0" ]
null
null
null
typed_python/Type.hpp
szymonlipinski/nativepython
5f0bcc709b99a43681488f2753eccc2ac37a0334
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** Copyright 2017-2019 Nativepython 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://ww...
27.856813
106
0.602305
[ "object", "vector" ]
5b150b2440c768e98ecdb559f11dce4800d26f0c
862
cpp
C++
spec/cpp_stl_98/test_ts_packet_header.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
11
2018-04-01T03:58:15.000Z
2021-08-14T09:04:55.000Z
spec/cpp_stl_98/test_ts_packet_header.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
73
2016-07-20T10:27:15.000Z
2020-12-17T18:56:46.000Z
spec/cpp_stl_98/test_ts_packet_header.cpp
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
37
2016-08-15T08:25:56.000Z
2021-08-28T14:48:46.000Z
// Autogenerated from KST: please remove this line if doing any edits by hand! #include <boost/test/unit_test.hpp> #include "ts_packet_header.h" #include <iostream> #include <fstream> #include <vector> BOOST_AUTO_TEST_CASE(test_ts_packet_header) { std::ifstream ifs("src/ts_packet.bin", std::ifstream::binary); ...
35.916667
117
0.7529
[ "vector" ]
5b15108049761c7128900dad4231dabee2fdb316
7,010
hpp
C++
Gobang/AIServer/Gobang/FiveChess.hpp
gansidui/iOS-example
418b39ef21074593dcc4958c57d8712fb19ff8b4
[ "MIT" ]
1
2020-10-01T08:35:41.000Z
2020-10-01T08:35:41.000Z
Gobang/Gobang/FiveChess.hpp
gansidui/iOS-example
418b39ef21074593dcc4958c57d8712fb19ff8b4
[ "MIT" ]
null
null
null
Gobang/Gobang/FiveChess.hpp
gansidui/iOS-example
418b39ef21074593dcc4958c57d8712fb19ff8b4
[ "MIT" ]
null
null
null
#pragma once #include<vector> using std::vector; using std::pair; #define SIZE 15 #define WHITE_CHESS 'W' #define BLACK_CHESS 'B' #define SPACE ' ' #define PEACE_CHESS '=' struct VCPoint // VC攻击时的攻击点,由活4,冲4,跳冲4,连3,跳3,组成,优先级依次递减 { int row; int col; int pri; // 优先级 friend bool operator < (const VCP...
29.087137
138
0.661626
[ "vector" ]
5b19d8ca89b0a277f890e5d593db3917b90b5908
8,252
cpp
C++
Immortal/Platform/Vulkan/RenderTarget.cpp
DaShi-Git/Immortal
e3345b4ff2a2b9d215c682db2b4530e24cc3b203
[ "Apache-2.0" ]
1
2022-01-07T09:52:18.000Z
2022-01-07T09:52:18.000Z
Immortal/Platform/Vulkan/RenderTarget.cpp
DaShi-Git/Immortal
e3345b4ff2a2b9d215c682db2b4530e24cc3b203
[ "Apache-2.0" ]
null
null
null
Immortal/Platform/Vulkan/RenderTarget.cpp
DaShi-Git/Immortal
e3345b4ff2a2b9d215c682db2b4530e24cc3b203
[ "Apache-2.0" ]
null
null
null
#include "impch.h" #include "RenderTarget.h" #include "Image.h" #include "RenderContext.h" #include "DescriptorSet.h" namespace Immortal { namespace Vulkan { std::unique_ptr<RenderTarget> RenderTarget::Create(std::unique_ptr<Image> &&colorImage) { std::vector<std::unique_ptr<Image>> images; auto device = co...
33.140562
112
0.69777
[ "vector", "transform" ]
5b1a4485aedea60e6bb0ea2e495494f00ccdf856
3,804
hpp
C++
engine/runtime/rendering/generator/lathe_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
engine/runtime/rendering/generator/lathe_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
engine/runtime/rendering/generator/lathe_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#ifndef GENERATOR_LATHEMESH_HPP #define GENERATOR_LATHEMESH_HPP #include <memory> #include <vector> #include "axis.hpp" #include "mesh_vertex.hpp" #include "shape_vertex.hpp" #include "triangle.hpp" namespace generator { /// Spins a shape around an axis to create a mesh. /// u-texture coordinate is taken from the s...
20.126984
104
0.664564
[ "mesh", "shape", "vector", "transform" ]
5b308991fa0b3c2924cba033dffea78b0e43738e
1,322
hpp
C++
silkworm/state/object.hpp
gcolvin/silkworm
11cb3ea2aa215185eb96a460f87c67f83bdc6620
[ "Apache-2.0" ]
1
2021-01-30T10:17:23.000Z
2021-01-30T10:17:23.000Z
silkworm/state/object.hpp
root-servers/silkworm
2657eeeab8876f073c30604f5186c2539dc862ac
[ "Apache-2.0" ]
null
null
null
silkworm/state/object.hpp
root-servers/silkworm
2657eeeab8876f073c30604f5186c2539dc862ac
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Silkworm 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 agreed ...
30.045455
88
0.739788
[ "object" ]
5b36fc2865f092d52d1494821f77341a455baf1c
4,295
hpp
C++
include/Core/Castor3D/Render/Passes/PassesModule.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/Castor3D/Render/Passes/PassesModule.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/Castor3D/Render/Passes/PassesModule.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___C3D_RenderPassesModule_H___ #define ___C3D_RenderPassesModule_H___ #include "Castor3D/Render/RenderModule.hpp" namespace castor3d { /**@name Render */ //@{ /**@name Passes */ //@{ /** *\~english *\brief * The render pass used to display the background. *\~fre...
20.550239
76
0.709895
[ "mesh", "render", "3d" ]
5b38b7d0b99cdd0674b1bbc5b16ea5fc390fcbdb
7,741
cpp
C++
src/c/windows-autoconfigure/parameters.cpp
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
5
2015-04-16T08:36:17.000Z
2017-05-12T17:20:12.000Z
src/c/windows-autoconfigure/parameters.cpp
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
null
null
null
src/c/windows-autoconfigure/parameters.cpp
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
4
2015-03-19T14:39:51.000Z
2019-01-23T08:22:55.000Z
/* * Parameterization interface. * * The basic model here is that caller requests for string-valued * parameters with a string key (key-value pairs, string -> string). * * The hackery here is basically intended to allow an EXE to be * binary patched after it has been built, so that parameters can * be 'in...
30.356863
81
0.320114
[ "model" ]
5b3d13bc94894b745fb66f2f881d778836db22bb
2,122
cpp
C++
qsort.cpp
dengxbin/MyCpp
df5cde6a6384924dbc04f61efb0836fb9cffc9c8
[ "Apache-2.0" ]
null
null
null
qsort.cpp
dengxbin/MyCpp
df5cde6a6384924dbc04f61efb0836fb9cffc9c8
[ "Apache-2.0" ]
null
null
null
qsort.cpp
dengxbin/MyCpp
df5cde6a6384924dbc04f61efb0836fb9cffc9c8
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<vector> #include<algorithm> #include<set> using namespace std; class Solution { public: vector<int> GetLeastNumbers_Solution(vector<int> input, int k) { vector<int> ret; if(k>input.size()) return ret; sort(input.begin(), input.end()); for(int i...
25.261905
68
0.483977
[ "vector" ]
5b400c8815609d5ce35e2ec6707bf9a02259558f
3,960
hpp
C++
includes/gcl_cpp_deprecated/type_index.hpp
GuillaumeDua/GCL_CPP
efbec6321fc7e8dc8cc4fa87f091645395c39bdf
[ "Apache-2.0" ]
10
2016-03-25T22:00:14.000Z
2021-08-14T15:17:53.000Z
includes/gcl_cpp_deprecated/type_index.hpp
GuillaumeDua/GCL_CPP
efbec6321fc7e8dc8cc4fa87f091645395c39bdf
[ "Apache-2.0" ]
29
2016-05-09T06:30:23.000Z
2021-12-30T11:33:02.000Z
includes/gcl_cpp_deprecated/type_index.hpp
GuillaumeDua/GCL_CPP
efbec6321fc7e8dc8cc4fa87f091645395c39bdf
[ "Apache-2.0" ]
1
2021-05-04T15:41:59.000Z
2021-05-04T15:41:59.000Z
#ifndef GCL_TYPE_INDEX_HPP__ # define GCL_TYPE_INDEX_HPP__ #include <gcl_cpp/mp.hpp> #include <gcl_cpp/functional.hpp> #include <tuple> #include <functional> #include <type_traits> namespace gcl { template <class t_interface, class ... ts_impl> struct type_indexer { // C++17 static_assert(std::conjunction_v<std...
29.117647
144
0.700758
[ "vector" ]
5b402d01ebb9ce98a865fa86b0809bfa59ec1ad6
5,050
cpp
C++
NULL Engine/Source/M_ResourceManager.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
NULL Engine/Source/M_ResourceManager.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
NULL Engine/Source/M_ResourceManager.cpp
xsiro/NULL_Engine
bb8da3de7f507b27d895cf8066a03faa115ff3c6
[ "MIT" ]
null
null
null
#include "VariableTypedefs.h" #include "JSONParser.h" #include "Resource.h" #include "R_Mesh.h" #include "R_Material.h" #include "R_Texture.h" #include "M_ResourceManager.h" typedef std::pair<std::map<uint32, Resource*>::iterator, bool> INSERT_RESULT; // Also valid for emplace oparations. typedef std::ma...
21.581197
157
0.699802
[ "mesh" ]
5b40348e3608e1ff9d238082d0385f84ff7e91c8
11,068
cxx
C++
src/Graphics/PrimaryDisplaySurfaceWindow.cxx
michaelgautier/gautier_rss_reader2
fd6d79b32dd91ff4c2a4aa3023660f7d02d99684
[ "Apache-2.0" ]
null
null
null
src/Graphics/PrimaryDisplaySurfaceWindow.cxx
michaelgautier/gautier_rss_reader2
fd6d79b32dd91ff4c2a4aa3023660f7d02d99684
[ "Apache-2.0" ]
null
null
null
src/Graphics/PrimaryDisplaySurfaceWindow.cxx
michaelgautier/gautier_rss_reader2
fd6d79b32dd91ff4c2a4aa3023660f7d02d99684
[ "Apache-2.0" ]
null
null
null
#include <PrimaryDisplaySurfaceWindow.hxx> /* 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 . Software distributed under the License is distribut...
37.646259
419
0.584387
[ "vector" ]
5b44557f78c10705f5a262637adaa77305a20f5d
4,839
cpp
C++
TestApp/Source/Android/app/src/main/cpp/BabylonNativeJNI.cpp
ryantrem/BabylonNative
548684984126ee6cd242f2d73ecff8c6f5614b02
[ "MIT" ]
3
2020-02-18T22:03:11.000Z
2021-11-09T11:42:08.000Z
TestApp/Source/Android/app/src/main/cpp/BabylonNativeJNI.cpp
ryantrem/BabylonNative
548684984126ee6cd242f2d73ecff8c6f5614b02
[ "MIT" ]
2
2020-04-03T22:56:41.000Z
2021-10-13T00:01:39.000Z
TestApp/Source/Android/app/src/main/cpp/BabylonNativeJNI.cpp
ryantrem/BabylonNative
548684984126ee6cd242f2d73ecff8c6f5614b02
[ "MIT" ]
null
null
null
#include <jni.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <time.h> #include <memory> #include <android/native_window.h> // requires ndk r5 or newer #include <android/native_window_jni.h> // requires ndk r5 or newer #include <android/log.h> #include <Babylon/RuntimeAndroid.h> #include <androi...
37.223077
153
0.760901
[ "vector" ]
5b48d2869ff5a80fc972c12e327444d72897e644
2,990
cpp
C++
src/client/verify_tree.cpp
mahzoun/setops
9966c208c7ca6789a08341b03ea19051ab60861d
[ "Apache-2.0" ]
3
2018-11-08T14:45:18.000Z
2021-02-04T22:06:51.000Z
src/client/verify_tree.cpp
mahzoun/SetOps
9966c208c7ca6789a08341b03ea19051ab60861d
[ "Apache-2.0" ]
null
null
null
src/client/verify_tree.cpp
mahzoun/SetOps
9966c208c7ca6789a08341b03ea19051ab60861d
[ "Apache-2.0" ]
null
null
null
// // Created by sauron on 7/24/18. // #include "client/verify_tree.h" using namespace bn; VerifyTree::VerifyTree() { verifiedtree = false; } // Verify the integrity of the sets v void VerifyTree::verifyTree(DataStructure *dataStructure, std::vector<int> v) { Utils utils; int len = dataStructure->m; ...
38.831169
115
0.495652
[ "vector" ]
5b526cdb838e0d56a81d99f6d6b326085a79b943
4,506
cpp
C++
host/app/csre-comp-example/csre-comp-example.cpp
cyansemi/csre-demo-v1
f92ad3f1dae803bf2ad31ef64271f9512f25bd06
[ "Apache-2.0" ]
1
2021-01-27T06:39:21.000Z
2021-01-27T06:39:21.000Z
host/app/csre-comp-example/csre-comp-example.cpp
cyansemi/csre-demo-v1
f92ad3f1dae803bf2ad31ef64271f9512f25bd06
[ "Apache-2.0" ]
null
null
null
host/app/csre-comp-example/csre-comp-example.cpp
cyansemi/csre-demo-v1
f92ad3f1dae803bf2ad31ef64271f9512f25bd06
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 CyanSemi Semiconductor Co. * * 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 applica...
30.863014
108
0.568575
[ "object", "vector" ]
5b56136e0f92ed22f9c0fdddcae377b448715db6
2,332
cpp
C++
src/client/graphical/mesh.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
6
2018-05-11T23:16:02.000Z
2019-06-13T01:35:07.000Z
src/client/graphical/mesh.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
33
2018-05-11T14:12:22.000Z
2022-03-12T00:55:25.000Z
src/client/graphical/mesh.cpp
arthurmco/familyline
849eee40cff266af9a3f848395ed139b7ce66197
[ "MIT" ]
1
2018-12-06T23:39:55.000Z
2018-12-06T23:39:55.000Z
#include <algorithm> #include <client/graphical/asset_object.hpp> #include <client/graphical/mesh.hpp> #include <glm/gtc/matrix_transform.hpp> #include <numeric> #include <iterator> using namespace familyline::graphics; void Mesh::update() { auto translMatrix = glm::mat4(1.0); translMatrix = glm::transla...
32.388889
97
0.607633
[ "mesh", "vector", "transform" ]
5b5989d891c1abb46b1828c28a2093f261b024f0
2,893
cpp
C++
LuJoe_ErvinAsh_COLLISIOSN/11_BoundingSpheres/AppClass.cpp
jl4312/DSA2-Collsion
d90309d542d53a70b808ed715ee2b1a6133b795d
[ "MIT" ]
null
null
null
LuJoe_ErvinAsh_COLLISIOSN/11_BoundingSpheres/AppClass.cpp
jl4312/DSA2-Collsion
d90309d542d53a70b808ed715ee2b1a6133b795d
[ "MIT" ]
null
null
null
LuJoe_ErvinAsh_COLLISIOSN/11_BoundingSpheres/AppClass.cpp
jl4312/DSA2-Collsion
d90309d542d53a70b808ed715ee2b1a6133b795d
[ "MIT" ]
null
null
null
#include "AppClass.h" void AppClass::InitWindow(String a_sWindowName) { super::InitWindow("Bounding Spheres"); // Window Name // Set the clear color based on Microsoft's CornflowerBlue (default in XNA) //if this line is in Init Application it will depend on the .cfg file, if it //is on the InitVariables it will al...
33.639535
162
0.72589
[ "mesh", "render" ]
5b5a80e2d553e381d6c8cbed2d2ab8794e5e7860
4,049
cpp
C++
src/GameEngineLib/src/proxy/CSoundProxy.cpp
hugetto/2DGame
833c6596df8c2f9daf14cb9ebfffa36b77f96218
[ "Apache-2.0" ]
null
null
null
src/GameEngineLib/src/proxy/CSoundProxy.cpp
hugetto/2DGame
833c6596df8c2f9daf14cb9ebfffa36b77f96218
[ "Apache-2.0" ]
null
null
null
src/GameEngineLib/src/proxy/CSoundProxy.cpp
hugetto/2DGame
833c6596df8c2f9daf14cb9ebfffa36b77f96218
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <proxy/CSoundProxy.h> #include <SDL_image.h> namespace hugGameEngine { CSoundProxy CSoundProxy::sSoundProxyInstance; CSoundProxy::~CSoundProxy() { for (std::vector< Mix_Music* >::iterator lIt = mMusicList.begin(); lIt != mMusicList.end(); lIt++) { Mix_...
27.544218
126
0.477402
[ "vector" ]
5b609f08438e7c4555ce878a23bdbd616c7937c7
2,783
cc
C++
src/core/resize.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
529
2019-10-01T00:01:08.000Z
2022-03-17T12:56:01.000Z
src/core/resize.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
68
2019-10-10T18:41:40.000Z
2022-03-17T07:42:49.000Z
src/core/resize.cc
inordeng/TASO
17a01a7fab21795d8bacfd7ba4f3ba00f11aedf3
[ "Apache-2.0" ]
81
2019-10-04T23:48:12.000Z
2022-03-17T13:04:25.000Z
/* Copyright 2019 Stanford * * 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 wri...
28.397959
75
0.646065
[ "shape", "vector", "model" ]
5b62249ff7aa049857316d9c0d59ecbb423d6601
577
cpp
C++
src/Engine/ModelEngine/ModelManager.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Engine/ModelEngine/ModelManager.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
src/Engine/ModelEngine/ModelManager.cpp
Jino42/stf
f10ddaf4eb0a7ba94e6f9bb7d6b2191ca3a0b3db
[ "Unlicense" ]
null
null
null
#include "ModelManager.hpp" #include <utility> #include "json.hpp" ModelManager::ModelManager() { } ModelManager &ModelManager::Get() { if (!instance_) instance_ = std::make_unique<ModelManager>(); return *instance_; } Model &ModelManager::getModel(std::string const &name) { return mapModels_.at(name); } void ...
25.086957
91
0.738302
[ "model" ]
5b627f3e172d2ad6822d2369695819f06f61575f
292
cpp
C++
Leetcode/1920_build_arry.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/1920_build_arry.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/1920_build_arry.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Solution { public: vector<int> buildArray(vector<int>& nums) { int n(nums.size()); vector <int> ans(n); for(int i=0;i<n;i++) { ans[i] = nums[nums[i]]; } return ans; } };
16.222222
47
0.486301
[ "vector" ]
5b728b86ffe665cd65e59f8633d399be69a4c09f
2,382
cpp
C++
303/E/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
303/E/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
303/E/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> #define maxn 300005 using namespace std; typedef long long int ll; typedef pair<ll,ll> ii; typedef pair<long long int,ll> li; const ll inf=(1ll<<55); vector<ii> G[maxn]; ll d[maxn]; ll par[maxn]; ll e[maxn]; int n,k; ll viscnt[maxn]; map<ii,ii> edges; set<ii> minEdge; set<i...
18.904762
64
0.382032
[ "vector" ]
ac980310446fc565821d1edf9d9f0436e6018d01
1,296
cpp
C++
Microsoft/4.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Microsoft/4.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Microsoft/4.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> spirallyTraverse(vector<vector<int>> matrix, int r, int c) { int left = 0, top = 0; int bottom = r - 1, right = c - 1; vector<int> res; if (r == 0 || c == 0) return res; int direction = 1; while (left <= right && top <= bottom) { if (direction...
23.563636
75
0.51466
[ "vector" ]
ac9c5d076f11fb26e2edb5dbd5a5e3b7c35be0aa
1,108
cpp
C++
1.two-sum/1.two-sum-2.cpp
zhaokai0402/LeetCode
58ccda5841c29bde6b65a5b68543487bf4ba4140
[ "MIT" ]
null
null
null
1.two-sum/1.two-sum-2.cpp
zhaokai0402/LeetCode
58ccda5841c29bde6b65a5b68543487bf4ba4140
[ "MIT" ]
null
null
null
1.two-sum/1.two-sum-2.cpp
zhaokai0402/LeetCode
58ccda5841c29bde6b65a5b68543487bf4ba4140
[ "MIT" ]
null
null
null
/* * @lc app=leetcode.cn id=1 lang=cpp * * [1] 两数之和 * * https://leetcode-cn.com/problems/two-sum/description/ * * algorithms * Easy (43.80%) * Total Accepted: 220.4K * Total Submissions: 503.1K * Testcase Example: '[2,7,11,15]\n9' * * 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 * ...
21.307692
65
0.488267
[ "vector" ]
aca3f5357e35a248081515c7ba5b7c46428de990
7,267
cpp
C++
qt/build-qt_test001-Desktop_Qt_5_4_2_GCC_32bit-Debug/moc_mainwindow.cpp
fsziegler/GTD-Kanban
3a5664e016a40e31c62cb0c85b3c5a4b27aca41f
[ "MIT" ]
4
2017-09-14T00:52:28.000Z
2021-07-07T09:40:24.000Z
qt/build-qt_test001-Desktop_Qt_5_4_2_GCC_32bit-Debug/moc_mainwindow.cpp
fsziegler/GTD-Kanban
3a5664e016a40e31c62cb0c85b3c5a4b27aca41f
[ "MIT" ]
1
2017-03-02T21:42:21.000Z
2017-03-02T22:54:09.000Z
qt/build-qt_test001-Desktop_Qt_5_4_2_GCC_32bit-Debug/moc_mainwindow.cpp
fsziegler/GTD-Kanban
3a5664e016a40e31c62cb0c85b3c5a4b27aca41f
[ "MIT" ]
1
2016-03-22T10:33:00.000Z
2016-03-22T10:33:00.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'mainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
36.517588
103
0.62254
[ "object" ]
aca5354c9097bcdb562618cca7fd5a6bb0c51c06
224
cpp
C++
cppVersion/Single Number.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
2
2015-11-12T13:42:37.000Z
2016-03-13T14:22:51.000Z
cppVersion/Single Number.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
1
2015-11-12T13:42:31.000Z
2015-11-13T08:04:54.000Z
cppVersion/Single Number.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { int num = 0; for(int i = 0; i < nums.size(); ++i) num ^= nums[i]; return num; } };
20.363636
64
0.397321
[ "vector" ]
aca9b2810460ba2f58f74bcba22c2ae216b0ba04
13,384
cpp
C++
runtime/test/android_fuzzing/StaticAssert.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
runtime/test/android_fuzzing/StaticAssert.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
runtime/test/android_fuzzing/StaticAssert.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
68.285714
100
0.810072
[ "model" ]
aca9c7c8afac4790fe663b8e8ec2c3fd86895b7b
12,123
hpp
C++
include/fluxions_resource_manager.hpp
microwerx/fluxions-base
8c1af66092785cbfd65d2fefb938575ab01739b8
[ "MIT" ]
null
null
null
include/fluxions_resource_manager.hpp
microwerx/fluxions-base
8c1af66092785cbfd65d2fefb938575ab01739b8
[ "MIT" ]
null
null
null
include/fluxions_resource_manager.hpp
microwerx/fluxions-base
8c1af66092785cbfd65d2fefb938575ab01739b8
[ "MIT" ]
null
null
null
#ifndef FLUXIONS_RESOURCE_MANAGER_HPP #define FLUXIONS_RESOURCE_MANAGER_HPP #include <fluxions_stdcxx.hpp> #define TRESOURCEMANAGER_VECTOR_IMPLEMENTATION 1 namespace Fluxions { extern const std::string BlankString; template <typename T> class TResourceManager { private: #ifdef TRESOURCEMANAGER_VECTOR_IMPLEMEN...
26.354348
117
0.709148
[ "object", "vector" ]
acaa6077aa61a578a7c804bed06ce2c5ced62163
2,470
cpp
C++
src/methods.cpp
guilhermeleobas/recastd
385795df308fdea2f1dc02863dce7c7547167efc
[ "MIT" ]
null
null
null
src/methods.cpp
guilhermeleobas/recastd
385795df308fdea2f1dc02863dce7c7547167efc
[ "MIT" ]
null
null
null
src/methods.cpp
guilhermeleobas/recastd
385795df308fdea2f1dc02863dce7c7547167efc
[ "MIT" ]
null
null
null
#include "debug.hpp" #include "methods.hpp" #include <vector> #include <iostream> using std::cout; using std::endl; using std::vector; uint max_nodes = 0; uint max_days = 0; void set_properties(vector<encounter>& v){ calc_t(v); subtract_min_ti(v); calc_t(v); set_day(v); calc_max_nodes(v); merge_encounte...
21.111111
93
0.548988
[ "vector" ]
acb11803ed2fea66908e5c816d72c1dd20a6b66d
14,547
hpp
C++
src/graphlab/graph/mr_disk_graph_construction.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-01T06:32:58.000Z
2018-08-01T06:32:58.000Z
src/graphlab/graph/mr_disk_graph_construction.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/graph/mr_disk_graph_construction.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2009 Carnegie Mellon University. * 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
39.422764
137
0.644325
[ "object", "vector" ]
accbe68a3abc8943f21f10aab7f47cf3fd753ead
8,824
cc
C++
examples/block-world/play_state.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
1
2020-07-11T17:03:19.000Z
2020-07-11T17:03:19.000Z
examples/block-world/play_state.cc
jpursey/gbits
4dfedd1297ca368ad1d80a03308fc4da0241f948
[ "MIT" ]
2
2021-12-10T13:38:51.000Z
2022-02-22T16:02:24.000Z
examples/block-world/play_state.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
// Copyright (c) 2020 John Pursey // // Use of this source code is governed by an MIT-style License that can be found // in the LICENSE file or at https://opensource.org/licenses/MIT. #include "play_state.h" #include <cmath> #include "absl/time/time.h" #include "gb/imgui/imgui_instance.h" #include "gb/render/materia...
29.810811
80
0.638599
[ "mesh", "render" ]
ace38af40002091b8fb22f389eb15fe174b0b27c
811
cpp
C++
c++/oicleevan/collatz.cpp
squivix/collatz
984eb387f112b2b93d0b0b61831b74fdbc0931a7
[ "MIT" ]
null
null
null
c++/oicleevan/collatz.cpp
squivix/collatz
984eb387f112b2b93d0b0b61831b74fdbc0931a7
[ "MIT" ]
null
null
null
c++/oicleevan/collatz.cpp
squivix/collatz
984eb387f112b2b93d0b0b61831b74fdbc0931a7
[ "MIT" ]
null
null
null
#include <iostream> using std::cout; using std::endl; void collatz(int number) { cout << "["; while (number > 1) { cout << number << ", "; if(number % 2) { number = (number * 3) + 1; } else { number = number / 2; } } cout << number <...
19.309524
108
0.500617
[ "vector" ]
acea14837f9d50310edfd536eaf66e572c17a5b8
925
cpp
C++
src/BabylonCpp/src/postprocesses/anaglyph_post_process.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
null
null
null
src/BabylonCpp/src/postprocesses/anaglyph_post_process.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
null
null
null
src/BabylonCpp/src/postprocesses/anaglyph_post_process.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
null
null
null
#include <babylon/postprocesses/anaglyph_post_process.h> #include <babylon/cameras/camera.h> #include <babylon/materials/effect.h> namespace BABYLON { AnaglyphPostProcess::AnaglyphPostProcess(const std::string& iName, float ratio, const std::vector<CameraPtr>& rigCame...
37
90
0.612973
[ "vector" ]
acea999b952bce0b0dc24512282cb2a561bc430e
18,886
cpp
C++
pbe/src/pbe/Scene/SceneSerializer.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
pbe/src/pbe/Scene/SceneSerializer.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
pbe/src/pbe/Scene/SceneSerializer.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "SceneSerializer.h" #include "Entity.h" #include "Components.h" #include "pbe/Script/ScriptEngine.h" #include "yaml-cpp/yaml.h" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/quaternion.hpp> #include <glm/gtx/matrix_decompose.hpp> #include <glm/gtc/type_ptr.hpp> #include <iostream> #inc...
30.46129
138
0.653182
[ "mesh", "transform" ]
acf0396744b63b3b3a4fbafbd69d432c0d71e1a8
4,092
cpp
C++
code/GwasClient.cpp
adrazhi/secure-gwas
6807737c1da6dcc4fba8550bb5edd3f795b9d3fb
[ "MIT" ]
2
2020-08-24T03:02:38.000Z
2021-02-20T20:47:10.000Z
code/GwasClient.cpp
adrazhi/secure-gwas
6807737c1da6dcc4fba8550bb5edd3f795b9d3fb
[ "MIT" ]
null
null
null
code/GwasClient.cpp
adrazhi/secure-gwas
6807737c1da6dcc4fba8550bb5edd3f795b9d3fb
[ "MIT" ]
1
2020-06-12T13:03:29.000Z
2020-06-12T13:03:29.000Z
#include "connect.h" #include "mpc.h" #include "protocol.h" #include "util.h" #include "NTL/ZZ_p.h" #include "gwasiter.h" #include <cstdlib> #include <fstream> #include <map> #include <string> #include <iostream> #include <sstream> #include <bits/stdc++.h> #include <sys/time.h> using namespace NTL; using namespace st...
29.868613
121
0.652981
[ "vector" ]
acf5d8eb5f24766ad7a20ea6e1ddbacc804dcd60
11,008
cpp
C++
lib/transforms/xregAnatCoordFrames.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/transforms/xregAnatCoordFrames.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/transforms/xregAnatCoordFrames.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
35.74026
115
0.651799
[ "vector" ]
acfb12386f83724f2842193b55ceef6519913327
31,448
cpp
C++
src/third_party/red_tamarin_stable/tamarin-cental/eval/eval-cogen-expr.cpp
michaelpdu/flash_feature_extraction
29226a4c0e81240fd5c53fd9c80b0f6b0f5a8f95
[ "Apache-2.0" ]
1
2018-11-25T01:05:03.000Z
2018-11-25T01:05:03.000Z
avmplus/eval/eval-cogen-expr.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
avmplus/eval/eval-cogen-expr.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2019-04-12T04:18:27.000Z
2019-04-12T04:18:27.000Z
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can ob...
37.572282
147
0.45227
[ "object" ]
4a08b066cb3325b5fd0160a6ee40403e240e3b83
792
hpp
C++
src/camera.hpp
KeNaCo/sm-pssm-demo
bb6355b7225d9e6d2cb82271029956b96462272b
[ "MIT" ]
null
null
null
src/camera.hpp
KeNaCo/sm-pssm-demo
bb6355b7225d9e6d2cb82271029956b96462272b
[ "MIT" ]
null
null
null
src/camera.hpp
KeNaCo/sm-pssm-demo
bb6355b7225d9e6d2cb82271029956b96462272b
[ "MIT" ]
null
null
null
/* * camera.h * * Created on: Nov 9, 2014 * Author: kenaco */ #ifndef SUBPROJECTS__SRC_CAMERA_H_ #define SUBPROJECTS__SRC_CAMERA_H_ #include <assimp/camera.h> #include <glm/glm.hpp> #include <string> #include "object.hpp" #include "light.hpp" class Camera: public Object { float near_; float far_; flo...
16.851064
52
0.705808
[ "object" ]
4a091dbbe51bc88d8bfb1c318ddc08faa9a3a16b
5,055
cpp
C++
source/merge.cpp
gocolts12/Line-Segment-Merger
2fdbc69ed8115f03a9eb8ccd47de4f30f67da8c1
[ "MIT" ]
null
null
null
source/merge.cpp
gocolts12/Line-Segment-Merger
2fdbc69ed8115f03a9eb8ccd47de4f30f67da8c1
[ "MIT" ]
null
null
null
source/merge.cpp
gocolts12/Line-Segment-Merger
2fdbc69ed8115f03a9eb8ccd47de4f30f67da8c1
[ "MIT" ]
null
null
null
#pragma once #define _USE_MATH_DEFINES #include "linesegment.h" #include "hash.h" #include <vector> #include <algorithm> #include <unordered_map> #include <string> #include <utility> #include <cmath> std::vector<LineSegment> mergeHelper(std::vector<LineSegment>& lineSegments) { //First we sort the co...
40.119048
112
0.685856
[ "vector" ]
4a0a457eba6d685befaa8e0167ce5dc775c5cabd
2,446
cpp
C++
aws-cpp-sdk-securityhub/source/model/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-securityhub/source/model/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.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-securityhub/source/model/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::...
26.879121
182
0.757155
[ "model" ]
4a137de0545c67fe99c9d9bd5728aafcba3d04b9
4,591
cpp
C++
GPEditor/gpeditor.cpp
DanielShi/GPEditor
c09568af358669824bb4672428ab3f91d582659e
[ "Apache-2.0" ]
1
2021-01-13T04:29:04.000Z
2021-01-13T04:29:04.000Z
GPEditor/gpeditor.cpp
DanielShi/GPEditor
c09568af358669824bb4672428ab3f91d582659e
[ "Apache-2.0" ]
null
null
null
GPEditor/gpeditor.cpp
DanielShi/GPEditor
c09568af358669824bb4672428ab3f91d582659e
[ "Apache-2.0" ]
1
2020-06-23T17:00:35.000Z
2020-06-23T17:00:35.000Z
#include <QDebug> #include <QFlags> #include <QFileDialog> #include <QFile> #include <QMessageBox> #include <QTabWidget> #include "gpeditor.h" #include "ui_gpeditor.h" #include "gpprojectviewer.h" #include "gpscenegraphviewer.h" #include "gpconsole.h" #include "gppropertyviewer.h" #include "gpsceneeditor.h" #include "g...
24.420213
99
0.623176
[ "model" ]
4a1405ec6bf32df4e35c009210d94005b362bfa0
27,957
cc
C++
src/Point.cc
kbrauss/FMM3D
e55ff2f6e80a8503ea0594535167099367ec84f3
[ "MIT" ]
6
2018-07-27T14:09:05.000Z
2020-12-26T02:19:31.000Z
src/Point.cc
kbrauss/FMM3D
e55ff2f6e80a8503ea0594535167099367ec84f3
[ "MIT" ]
null
null
null
src/Point.cc
kbrauss/FMM3D
e55ff2f6e80a8503ea0594535167099367ec84f3
[ "MIT" ]
2
2019-04-07T13:08:42.000Z
2020-11-21T01:20:38.000Z
/** Point.cc * Created on: June 20, 2016 * Author: Keith D Brauss * */ #include <cmath> #include <sstream> #include <string> #include <iostream> #include <limits> // DBL_EPSILON #include <vector> #include "Point.h" #include "Util.h" /** * Header Interface for Class Point * class Point { public: std::v...
53.557471
149
0.511249
[ "vector" ]
4a165292dc2509ce6a0d2543092389d2b8c4754b
885
cpp
C++
codeforces/round-303/div-2/toy_cars.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
codeforces/round-303/div-2/toy_cars.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
codeforces/round-303/div-2/toy_cars.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int cars; cin >> cars; vector<unsigned int> good_cars; for (unsigned int i {0}; i < cars; ...
17.019231
72
0.477966
[ "vector" ]
4a172fc1f1ea9c9bcedd30c67eb38730d755371c
6,937
cpp
C++
tests/domain/tst_Listener.cpp
bartkessels/backing
f2ece4252a00585369b915ae179b69f3d388d41b
[ "MIT" ]
null
null
null
tests/domain/tst_Listener.cpp
bartkessels/backing
f2ece4252a00585369b915ae179b69f3d388d41b
[ "MIT" ]
1
2020-06-30T15:51:13.000Z
2020-07-15T22:28:42.000Z
tests/domain/tst_Listener.cpp
bartkessels/Backing
f2ece4252a00585369b915ae179b69f3d388d41b
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <map> #include <memory> #include <string> #include "domain/exception/InvalidUriException.hpp" #include "domain/exception/ListenerAlreadyStartedException.hpp" #include "domain/exception/ListenerNotStartedException.hpp" #include "domain/Listener.hpp" #include "domain/Response.hpp" #i...
28.08502
128
0.706213
[ "object" ]
4a1911b2a025e70ee02335a78229240019797f13
1,076
cpp
C++
server/Bundle.cpp
BTriay/QMessenger
7fb28aa0e59b4c011442edeeb9760f334b4b6094
[ "MIT" ]
null
null
null
server/Bundle.cpp
BTriay/QMessenger
7fb28aa0e59b4c011442edeeb9760f334b4b6094
[ "MIT" ]
null
null
null
server/Bundle.cpp
BTriay/QMessenger
7fb28aa0e59b4c011442edeeb9760f334b4b6094
[ "MIT" ]
null
null
null
#include "Bundle.h" Bundle::Bundle() { bool conf_threads = false; bool conf_port = false; bool conf_db = false; std::vector<std::string> configTokens; if (configFileReader("config", configTokens)) { for (std::vector<std::string>::const_iterator it = configTokens.begin(); it != configTokens.end(); it++) { if...
25.619048
108
0.637546
[ "vector" ]
4a1971c577fdc892474f4be9e1a06d8e6c71effb
92,908
cxx
C++
inetsrv/iis/svcs/smtp/server/dirnot.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/smtp/server/dirnot.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/smtp/server/dirnot.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#define INCL_INETSRV_INCS #include "smtpinc.h" #include "dirnot.hxx" #include "headers.hxx" #include "timeconv.h" #include "smtpcli.hxx" // // ProgID for IMsg - this needs to be published in an SDK // #define TIMEOUT_INTERVAL 30 #define DIRNOT_IP_ADDRESS "127.0.0.1" #define IMSG_PROGID L"Exchange.IMsg"...
31.883322
137
0.533549
[ "object" ]
4a1c137bc700a1336a690dbb38e504d3b917f2a1
482
cpp
C++
primer/ch03/exercise3.23.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
primer/ch03/exercise3.23.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
primer/ch03/exercise3.23.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
// // Created by zing on 5/7/2020. // #include <iostream> #include <vector> using namespace std; int main(int argc, char *argv[]) { vector<int> vec = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; for(auto i = vec.begin();i != vec.end();i++){ *i *=2; } for(auto i = vec.begin();i != vec.end();i++){ ...
16.62069
54
0.435685
[ "vector" ]
4a1f4252b4309c849ff22cf8f4c77a590c64558a
46,227
cpp
C++
groups/bsl/bsls/bsls_libraryfeatures.t.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
1
2021-04-28T13:51:30.000Z
2021-04-28T13:51:30.000Z
groups/bsl/bsls/bsls_libraryfeatures.t.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
null
null
null
groups/bsl/bsls/bsls_libraryfeatures.t.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
1
2019-06-26T13:28:48.000Z
2019-06-26T13:28:48.000Z
// bsls_libraryfeatures.t.cpp -*-C++-*- #include <bsls_libraryfeatures.h> #include <bsls_bsltestutil.h> #include <bsls_compilerfeatures.h> #include <bsls_cpp11.h> #include <bsls_nativestd.h> #include <stddef.h> // for 'size_t' #include <stdio.h> // for 'printf' #include <std...
39.043074
79
0.570554
[ "object" ]
4a22b86f31598c1ca50b3b2c166f0d28694e3b22
6,081
hpp
C++
cpp/G3M/CompositeTileImageProvider.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
cpp/G3M/CompositeTileImageProvider.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
cpp/G3M/CompositeTileImageProvider.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
// // CompositeTileImageProvider.h // G3M // // Created by Diego Gomez Deck on 4/23/14. // // #ifndef __G3M__CompositeTileImageProvider__ #define __G3M__CompositeTileImageProvider__ #include <vector> #include <map> #include "CanvasTileImageProvider.hpp" #include "TileImageListener.hpp" #include "IImageListener.hp...
24.520161
83
0.612235
[ "vector" ]
4a25f81480f70a4e3399d0d8aa77844070a79152
1,747
cpp
C++
src/dropbox/team/TeamGetDevicesReport.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/team/TeamGetDevicesReport.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/team/TeamGetDevicesReport.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "team" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/team/TeamGetDevicesReport.h...
25.691176
92
0.682885
[ "object" ]
4a337fd8db07bc34b8dfee3dc476ca95f9057b9e
5,245
cpp
C++
src/vgmtrans-qt/workarea/RawFileListView.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
18
2018-01-04T17:42:15.000Z
2021-05-26T02:52:22.000Z
src/vgmtrans-qt/workarea/RawFileListView.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
6
2017-10-19T16:47:19.000Z
2021-09-10T15:26:24.000Z
src/vgmtrans-qt/workarea/RawFileListView.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
1
2017-10-19T16:40:12.000Z
2017-10-19T16:40:12.000Z
/* * VGMTrans (c) 2002-2019 * Licensed under the zlib license, * refer to the included LICENSE.txt file */ #include <QKeyEvent> #include <QMenu> #include <QHeaderView> #include "RawFileListView.h" #include "RawFile.h" /* * RawFileListViewModel */ RawFileListViewModel::RawFileListViewModel(QObject *parent) : QA...
29.138889
100
0.640038
[ "vector" ]
66552f3c24b45fbedbeeca768ef86ce17aba3d64
1,606
cc
C++
quickstart/SumToZero.cc
shortthirdman/code-eval-challenges
27d8f2474a95d4836397b3c5970dcabd5e2bff5e
[ "MIT" ]
2
2018-06-24T17:09:16.000Z
2020-08-03T11:44:54.000Z
quickstart/SumToZero.cc
shortthirdman/code-eval-challenges
27d8f2474a95d4836397b3c5970dcabd5e2bff5e
[ "MIT" ]
null
null
null
quickstart/SumToZero.cc
shortthirdman/code-eval-challenges
27d8f2474a95d4836397b3c5970dcabd5e2bff5e
[ "MIT" ]
null
null
null
/* Sum to Zero Share on LinkedIn Description: You are given an array of integers. Count the numbers of ways in which the sum of 4 elements in this array results in zero Input sample: Your program should accept as its first argument a path to a filename. Each line in this file consist of comma separated po...
23.275362
158
0.516812
[ "vector" ]
665e4dce46d97e868f5474b8c2fae3d1b3659de0
9,260
hpp
C++
include/chart.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
2
2017-07-25T04:30:08.000Z
2018-01-29T17:47:25.000Z
include/chart.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
2
2017-07-24T15:44:16.000Z
2017-09-13T11:59:34.000Z
include/chart.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
4
2017-03-08T22:41:25.000Z
2021-09-11T03:10:01.000Z
// :copyright: (c) 2017 Alex Huszagh. // :license: FreeBSD, see LICENSE.md for more details. /** * C++ bindings for libxlsxwriter charts. */ #pragma once #include "common.hpp" #include <string> #include <xlsxwriter/chart.h> namespace xlsxwriter { // ENUMS // ----- enum class ChartType: uint8_t { NONE = ...
23.383838
69
0.696112
[ "vector" ]
665f4dcf81d83b3ea7431b899a4cc56980842a1f
578
cpp
C++
libraries/chain/asset_limitation_object.cpp
META-1-Official/meta1-core
e671e78dd71ee4e799d9e6a20c8fd0b8ae7ad790
[ "MIT" ]
null
null
null
libraries/chain/asset_limitation_object.cpp
META-1-Official/meta1-core
e671e78dd71ee4e799d9e6a20c8fd0b8ae7ad790
[ "MIT" ]
null
null
null
libraries/chain/asset_limitation_object.cpp
META-1-Official/meta1-core
e671e78dd71ee4e799d9e6a20c8fd0b8ae7ad790
[ "MIT" ]
null
null
null
#include <graphene/chain/asset_limitation_object.hpp> #include <fc/io/raw.hpp> using namespace graphene::chain; FC_REFLECT_DERIVED_NO_TYPENAME(graphene::chain::asset_limitation_object, (graphene::db::object), (limit_symbol)(issuer)) GRAPHENE_IMPLEMENT_EXTERNAL_SERIALIZATION(graphene::ch...
44.461538
96
0.749135
[ "object" ]
6661c7696d654396a2295a92ee42aef70b7bcceb
5,655
cpp
C++
src/dump.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
src/dump.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
src/dump.cpp
quantum-ket/libket
8bd80261a7a4903e4108d19524b5f9eb0907daef
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020, 2021 Evandro Chagas Ribeiro da Rosa <evandro.crr@posgrad.ufsc.br> * Copyright 2020, 2021 Rafael de Santiago <r.santiago@ufsc.br> * * 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 L...
30.901639
121
0.527321
[ "vector" ]
6663156ba45362a4abc5a8d011a45ceeb642b9bf
4,161
cc
C++
chrome/browser/ash/arc/accessibility/arc_accessibility_util_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ash/arc/accessibility/arc_accessibility_util_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ash/arc/accessibility/arc_accessibility_util_unittest.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "ash/components/arc/mojom/accessibility_helper.mojom.h" #include "chrome/browser/ash/arc/accessibility/accessibility_node_info...
44.265957
88
0.765201
[ "vector" ]
6676b280776122fba4f72b512d15518f25c998fb
2,350
cpp
C++
src/spawnerSystem.cpp
Yattabyte/Particules
538ce57368b36feae6dad47f54a8736d22b39aa4
[ "MIT" ]
1
2020-05-10T13:41:15.000Z
2020-05-10T13:41:15.000Z
src/spawnerSystem.cpp
Yattabyte/Particules
538ce57368b36feae6dad47f54a8736d22b39aa4
[ "MIT" ]
3
2020-06-13T16:32:40.000Z
2020-06-25T01:50:25.000Z
src/spawnerSystem.cpp
Yattabyte/Particules
538ce57368b36feae6dad47f54a8736d22b39aa4
[ "MIT" ]
null
null
null
#include "spawnerSystem.hpp" #include "collision.hpp" ////////////////////////////////////////////////////////////////////// /// Custom Constructor ////////////////////////////////////////////////////////////////////// SpawnerSystem::SpawnerSystem( ecsWorld& gameWorld, std::shared_ptr<ParticleComponent* [513]...
42.727273
80
0.554468
[ "vector" ]
667f20ef641f19244e30dfcc36f6109ca707642b
4,094
cpp
C++
src/wrappers/zmq/socket.cpp
Longhanks/linkollector-win
a76b08fa4f20a3612988a0d84e5b14f7822638ee
[ "MIT" ]
null
null
null
src/wrappers/zmq/socket.cpp
Longhanks/linkollector-win
a76b08fa4f20a3612988a0d84e5b14f7822638ee
[ "MIT" ]
null
null
null
src/wrappers/zmq/socket.cpp
Longhanks/linkollector-win
a76b08fa4f20a3612988a0d84e5b14f7822638ee
[ "MIT" ]
null
null
null
#include "socket.h" #include "../../macros.h" #include "context.h" #include <zmq.h> #include <cstring> namespace wrappers::zmq { [[nodiscard]] static constexpr decltype(ZMQ_PAIR) to_zmq_socket_type(socket::type socket_type) { switch (socket_type) { case socket::type::pair: { return ZMQ_PAIR; } ...
24.082353
77
0.58256
[ "vector" ]
6680d4572cc5b8c1ef2a9a7ca45a04056520beb2
4,470
cpp
C++
Intermediate/Build/Win32/UE4/Inc/ObjectInspection/MoveVO.gen.cpp
Monolag/ObjectInspection
028059b183512b86796136f36e502f7b66a94722
[ "MIT" ]
3
2020-04-16T14:36:48.000Z
2020-07-06T03:23:57.000Z
Intermediate/Build/Win64/UE4Editor/Inc/ObjectInspection/MoveVO.gen.cpp
Monolag/ObjectInspection
028059b183512b86796136f36e502f7b66a94722
[ "MIT" ]
null
null
null
Intermediate/Build/Win64/UE4Editor/Inc/ObjectInspection/MoveVO.gen.cpp
Monolag/ObjectInspection
028059b183512b86796136f36e502f7b66a94722
[ "MIT" ]
null
null
null
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
43.823529
505
0.789933
[ "object" ]
6688f5668d9ea450a4eca64c4586fbf113dc544b
27,001
cpp
C++
src/UI/Source/SDFEdit.cpp
CedricGuillemet/Imog3n
1b605199715b253d783f00c78b08c7ed02e6d2bd
[ "MIT" ]
2
2021-05-14T01:00:06.000Z
2021-07-11T08:10:12.000Z
src/UI/Source/SDFEdit.cpp
CedricGuillemet/Imog3n
1b605199715b253d783f00c78b08c7ed02e6d2bd
[ "MIT" ]
null
null
null
src/UI/Source/SDFEdit.cpp
CedricGuillemet/Imog3n
1b605199715b253d783f00c78b08c7ed02e6d2bd
[ "MIT" ]
null
null
null
#include "imgui.h" #include "ImGuizmo.h" #include "glm/glm.hpp" static const float ZPI = 3.14159265358979323846f; static const float RAD2DEG = (180.f / ZPI); static const float DEG2RAD = (ZPI / 180.f); /* void Cross(const float* a, const float* b, float* r) { r[0] = a[1] * b[2] - a[2] * b[1]; r[1] = a[2] * b[0...
31.396512
208
0.501537
[ "transform" ]
668a04ceedb4b17dfacb78ede4c0176a24d604f1
409
cpp
C++
practica_4/src/regulador.cpp
AlbitaMoreno/IG
5cb330f711c6fa8044e359af5555a90378e32e55
[ "MIT" ]
null
null
null
practica_4/src/regulador.cpp
AlbitaMoreno/IG
5cb330f711c6fa8044e359af5555a90378e32e55
[ "MIT" ]
null
null
null
practica_4/src/regulador.cpp
AlbitaMoreno/IG
5cb330f711c6fa8044e359af5555a90378e32e55
[ "MIT" ]
null
null
null
#include "regulador.h" Regulador::Regulador(){} void Regulador::dibuja(bool chess, bool vertice, bool arista, bool solid, float vel, float rot){ float r = rot; float v = vel; // Velocidad de giro. glPushMatrix(); base.dibuja(chess,vertice,arista,solid,v); glPopMatrix(); glPushMatrix(); glRotatef(v,0,1,0);...
17.041667
96
0.694377
[ "solid" ]
668ff37cf5b3739fd5a760d61db05f4bf8777340
32,051
cpp
C++
src/frameworkelement.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
87
2015-01-04T13:57:18.000Z
2022-03-21T16:07:05.000Z
src/frameworkelement.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
null
null
null
src/frameworkelement.cpp
MiftahurRidho/tugas
cb343939d3f5731d8c1509beb90c051c63a83903
[ "Unlicense", "MS-PL" ]
60
2015-01-15T06:16:39.000Z
2022-03-31T22:23:12.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * frameworkelement.cpp: * * Copyright 2007 Novell, Inc. (http://www.novell.com) * * See the LICENSE file included with the distribution for details. * */ #include <config.h> #include <math.h> #include "debug.h" #include "geometr...
27.161864
189
0.712021
[ "geometry", "render", "transform" ]
669192db19c2e0d4ff1c1c26df9e7bb8e18cfd86
20,768
cc
C++
code/render/coregraphics/d3d9/d3d9rendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/coregraphics/d3d9/d3d9rendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/coregraphics/d3d9/d3d9rendertarget.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // d3d9rendertarget.cc // (C) 2007 Radon Labs GmbH //------------------------------------------------------------------------------ #include "stdneb.h" #include "coregraphics/config.h" #include "coregraphics/rendertarget.h" #include "co...
39.861804
148
0.532598
[ "render", "object" ]
6692eb03303d8e95c4b87b47dab273332fbe1039
7,363
cpp
C++
src/main.cpp
guilherme-araujo/gsop-dist
15da82ffa8add74cc61b95d3544ec3aaa0e71a32
[ "MIT" ]
null
null
null
src/main.cpp
guilherme-araujo/gsop-dist
15da82ffa8add74cc61b95d3544ec3aaa0e71a32
[ "MIT" ]
null
null
null
src/main.cpp
guilherme-araujo/gsop-dist
15da82ffa8add74cc61b95d3544ec3aaa0e71a32
[ "MIT" ]
null
null
null
#include <iostream> #include <unistd.h> #include <thread> #include <future> #include "utils/graphParser.h" #include "simulation.h" using namespace std; void waitupdate(){ usleep(10000); } string str_nbuild = "-v"; string nbuild = "20210502.001"; int main(int argc, char* argv[]){ //Default simulation values int ...
30.300412
68
0.711123
[ "vector" ]
6694881df498345020957285a2100b55dc37f87d
1,239
cpp
C++
tests/objects/core/ast.cpp
rationalis-petra/modulus
194e4029b3085e89b7e35bb925fcba079905ef80
[ "MIT" ]
1
2021-09-24T19:45:18.000Z
2021-09-24T19:45:18.000Z
tests/objects/core/ast.cpp
rationalis-petra/modulus
194e4029b3085e89b7e35bb925fcba079905ef80
[ "MIT" ]
null
null
null
tests/objects/core/ast.cpp
rationalis-petra/modulus
194e4029b3085e89b7e35bb925fcba079905ef80
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <iostream> #include "objects/numerics/integer.hpp" #include "objects/collections/ast.hpp" #include "globals/globals.hpp" using obj::Object; BOOST_AUTO_TEST_SUITE( ast_suite ) // TODO: run this before globals::numerics::add // then, we know that the add function works!...
24.78
72
0.703793
[ "object" ]
66948b76efb5495d2e7a853bc2a90822e589a9c3
51,239
cxx
C++
TOF/TOFbase/AliTOFDecoderV2.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TOF/TOFbase/AliTOFDecoderV2.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TOF/TOFbase/AliTOFDecoderV2.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
32.677934
251
0.703351
[ "3d" ]
669618214fe7cba969de3f5ea8b0fbca5c0fc4c8
2,412
cxx
C++
main/connectivity/source/simpledbt/charset_s.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/connectivity/source/simpledbt/charset_s.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/connectivity/source/simpledbt/charset_s.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.457143
107
0.502073
[ "vector" ]
66961c232a4ea4e474f677393232cd1ea2ec4c59
15,843
cpp
C++
Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2016-2019 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
49.201863
268
0.703023
[ "object" ]
669a1b62e6da4deb08d799cc8eb66cf77da7b8de
9,186
cpp
C++
Core/hkxcore.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
38
2015-03-24T00:41:59.000Z
2022-03-23T09:18:29.000Z
Core/hkxcore.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
2
2015-10-14T07:41:48.000Z
2015-12-14T02:19:05.000Z
Core/hkxcore.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
24
2015-08-03T20:41:07.000Z
2022-03-27T03:58:37.000Z
#include "stdafx.h" #include "hkxcmd.h" #include "hkxutils.h" #include "log.h" #pragma region Havok Headers ////////////////////////////////////////////////////////////////////////// // Havok Includes ////////////////////////////////////////////////////////////////////////// #include <Common/Base/hkBase.h> #include ...
39.424893
145
0.802852
[ "shape" ]
669b8ec9e3860ab85e0e80f02fc5d433bbaa2085
3,992
cc
C++
examples/src/tiledb_array_aio_read_dense.cc
mlathara/TileDB
2d1fe95615302d787950af89db0619471e6d3ef8
[ "MIT" ]
94
2016-04-06T18:23:43.000Z
2019-11-22T11:06:17.000Z
examples/src/tiledb_array_aio_read_dense.cc
mlathara/TileDB
2d1fe95615302d787950af89db0619471e6d3ef8
[ "MIT" ]
28
2016-04-13T23:12:03.000Z
2019-08-21T12:48:35.000Z
examples/src/tiledb_array_aio_read_dense.cc
mlathara/TileDB
2d1fe95615302d787950af89db0619471e6d3ef8
[ "MIT" ]
25
2016-04-06T20:02:38.000Z
2018-05-11T20:19:15.000Z
/** * @file tiledb_array_aio_read_dense_1.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal ...
35.017544
80
0.648297
[ "object", "3d" ]
669faf8da38ce660a47f6030346009e6a253bb1a
3,629
cpp
C++
Sprite.cpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
2
2020-10-31T01:34:42.000Z
2020-12-08T15:16:22.000Z
Sprite.cpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
50
2020-10-31T01:31:56.000Z
2020-12-11T15:13:43.000Z
Sprite.cpp
GenBrg/MagicCastlevania
76ed248d4f0362ea92d29a159a2027d5b16c8a7b
[ "CC-BY-4.0" ]
null
null
null
#include "Sprite.hpp" #include "GL.hpp" #include "read_write_chunk.hpp" #include "load_save_png.hpp" #include <fstream> void SpriteAtlas::LoadSprites(std::string const &filebase) { std::string png_path = filebase + ".png"; atlas_pathes.push_back(filebase + ".atlas"); std::string& atlas_path = atlas_pathes.back()...
30.241667
119
0.719758
[ "object", "vector" ]
66a12e281913b2cd002d38c3f93834e20de12052
933
cpp
C++
src/main/algorithms/cpp/array/kth_largest_element_in_an_array_215/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/array/kth_largest_element_in_an_array_215/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/array/kth_largest_element_in_an_array_215/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
#include "../../head.h" class Solution { public: int findKthLargest(std::vector<int> nums, int k) { int left = 0, right = nums.size() - 1; while (true) { int p = partition(nums, left, right); if (p == k - 1) { return nums[p]; } if (p...
24.552632
65
0.355841
[ "vector" ]
66a47b13ef3cf92c904d6752647529cb9cc041ae
6,911
cpp
C++
_Deprecated/Db_2021/DbCore/Platform/Implementation/Platform.cpp
DexterDreeeam/DxtSdk2021
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
1
2021-11-18T03:57:54.000Z
2021-11-18T03:57:54.000Z
_Deprecated/Db_2021/DbCore/Platform/Implementation/Platform.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
_Deprecated/Db_2021/DbCore/Platform/Implementation/Platform.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
#include "../../Interface.hpp" namespace P9 { namespace Platform { static Storage::index_table::Set_Ty search_qualified_document( ref<Storage::index_table> table, Interpreter::query_criteria criteria) { AUTO_TRACE; Storage::index_table::Set_Ty rst; auto& table_map = table->get_control(); escape_...
27.208661
124
0.621184
[ "vector" ]
66a4e4fae2f8c4e2d3b95a108bad67e377156629
6,782
cpp
C++
NinjaGaiden/GameComponents/TiledMap.cpp
Kaos1105/Ninja-Gaiden-NES
4d1cfd5ca045587ac6b14b738a46e78951f54bbe
[ "MIT" ]
null
null
null
NinjaGaiden/GameComponents/TiledMap.cpp
Kaos1105/Ninja-Gaiden-NES
4d1cfd5ca045587ac6b14b738a46e78951f54bbe
[ "MIT" ]
null
null
null
NinjaGaiden/GameComponents/TiledMap.cpp
Kaos1105/Ninja-Gaiden-NES
4d1cfd5ca045587ac6b14b738a46e78951f54bbe
[ "MIT" ]
1
2019-05-15T07:37:00.000Z
2019-05-15T07:37:00.000Z
#include "TiledMap.h" TiledMap * TiledMap::__instance = NULL; int TiledMap::mapID = 0; TiledMap * TiledMap::GetInstance(int id) { LPCWSTR filePath = NULL; if (id != NULL) { mapID = id; switch (id) { case TILED_MAP_ID_3_1: filePath = TILES_MATRIX_3_1; break; case TILED_MAP_ID_3_2: filePath = T...
21.877419
89
0.68033
[ "render" ]
66a9bdf99dcad0a4c1c440b1fbd05c1ddf0d88a0
2,645
cpp
C++
platform/android/src/offline/offline_region_definition.cpp
kravtsun/mapbox-gl-native
ea8ec38df156c6683c886253dbb1f6bc828686ff
[ "BSL-1.0", "Apache-2.0" ]
4
2018-02-21T14:04:04.000Z
2021-12-15T04:16:53.000Z
platform/android/src/offline/offline_region_definition.cpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
76
2018-08-30T20:47:55.000Z
2022-03-19T19:40:41.000Z
platform/android/src/offline/offline_region_definition.cpp
leejing397/GeoMap
d94d3f275234ad4434858e08a6b42e72c44dc6db
[ "BSL-1.0", "Apache-2.0" ]
3
2019-04-10T03:37:12.000Z
2019-05-28T08:59:00.000Z
#include "offline_region_definition.hpp" #include "../geometry/lat_lng_bounds.hpp" namespace mbgl { namespace android { // OfflineRegionDefinition // jni::Class<OfflineRegionDefinition> OfflineRegionDefinition::javaClass; void OfflineRegionDefinition::registerNative(jni::JNIEnv& env) { javaClass = *jni::Class<...
37.785714
171
0.748582
[ "geometry", "object" ]
66bf150a0f74c66a0875fb7d0423459570a87975
1,469
cpp
C++
source/backend/tensorrt/execution/TRTElewise.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
source/backend/tensorrt/execution/TRTElewise.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
source/backend/tensorrt/execution/TRTElewise.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // TRTElewise.cpp // MNN // // Created by MNN on 2019/09/11. // Copyright © 2018, Alibaba Group Holding Limited // #include "TRTElewise.hpp" #include <core/TensorUtils.hpp> #include "TRTBackend.hpp" using namespace std; namespace MNN { TRTElewise::TRTElewise(Backend *b, const Op *op, const std::vector<Tensor...
27.203704
95
0.622192
[ "vector" ]
66c1b025a9bbe06287d75e2a078ab1a985ac1eef
5,519
cc
C++
src/stirling/source_connectors/socket_tracer/protocols/common/timestamp_stitcher_test.cc
marianod92/pixie
f62668aeffb471287e01b1b256ae53c98c789bfa
[ "Apache-2.0" ]
null
null
null
src/stirling/source_connectors/socket_tracer/protocols/common/timestamp_stitcher_test.cc
marianod92/pixie
f62668aeffb471287e01b1b256ae53c98c789bfa
[ "Apache-2.0" ]
null
null
null
src/stirling/source_connectors/socket_tracer/protocols/common/timestamp_stitcher_test.cc
marianod92/pixie
f62668aeffb471287e01b1b256ae53c98c789bfa
[ "Apache-2.0" ]
2
2022-01-21T06:28:36.000Z
2022-01-24T03:36:54.000Z
/* * Copyright 2018- The Pixie 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 ag...
28.895288
98
0.685088
[ "vector" ]
66c87b62352d862b445c9dbd8cfdede8c302985c
6,871
cpp
C++
src/wakefs/fuse.cpp
sifive/wake
e43116b3df01a22b4b1356f553a5967a98bcb4e7
[ "Apache-2.0" ]
61
2019-05-07T00:29:59.000Z
2022-03-08T04:00:06.000Z
src/wakefs/fuse.cpp
sifive/wake
e43116b3df01a22b4b1356f553a5967a98bcb4e7
[ "Apache-2.0" ]
376
2019-05-03T02:12:48.000Z
2022-03-29T20:54:05.000Z
src/wakefs/fuse.cpp
sifive/wake
e43116b3df01a22b4b1356f553a5967a98bcb4e7
[ "Apache-2.0" ]
25
2019-05-08T21:49:32.000Z
2021-07-01T05:58:37.000Z
/* Wake FUSE launcher to capture inputs/outputs * * Copyright 2019 SiFive, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You should have received a copy of LICENSE.Apache2 along with * this software. If not, you may o...
28.27572
113
0.689856
[ "vector" ]
66cedcebab70e66fa3154af046dcdd5383b87a58
3,074
hpp
C++
include/pixiu/server/session/context.hpp
CHChang810716/pixiu
4b599c27c7ab2e402f6a6354fd4e7e6a11ab0a9c
[ "MIT" ]
2
2021-05-19T04:39:09.000Z
2021-05-19T04:57:12.000Z
include/pixiu/server/session/context.hpp
CHChang810716/pixiu
4b599c27c7ab2e402f6a6354fd4e7e6a11ab0a9c
[ "MIT" ]
5
2021-01-13T14:10:22.000Z
2021-01-23T17:54:35.000Z
include/pixiu/server/session/context.hpp
CHChang810716/pixiu
4b599c27c7ab2e402f6a6354fd4e7e6a11ab0a9c
[ "MIT" ]
1
2020-04-14T18:22:08.000Z
2020-04-14T18:22:08.000Z
#pragma once #include <memory> #include <boost/beast/http.hpp> #include <boost/beast/version.hpp> #include <regex> #include <exception> #include <pixiu/logger.hpp> #include <pixiu/utils.hpp> #include <pixiu/server/request.hpp> #include <random> #include <nlohmann/json.hpp> #include <boost/asio/spawn.hpp> namespace pix...
25.404959
83
0.589785
[ "vector" ]
202e47fd298201c84f61cb9eee0499eaa552ee39
18,310
cpp
C++
core/GunnsFluidCapacitor.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
core/GunnsFluidCapacitor.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
core/GunnsFluidCapacitor.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/** @file @brief GUNNS Fluid Capacitor Link implementation @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. PURPOSE: (Provides the classes for modeling the GUNNS fluid capacitor.) REQ...
44.549878
100
0.54047
[ "object", "vector", "model" ]
203168c9681c058930a41f85dd2654fe4da24446
96
cpp
C++
src/Core/Models/Region/TestRegion/TestRegion.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
1
2018-07-29T16:10:02.000Z
2018-07-29T16:10:02.000Z
src/Core/Models/Region/TestRegion/TestRegion.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
null
null
null
src/Core/Models/Region/TestRegion/TestRegion.cpp
tgcy210/cyclus
b9402710be94403d33aa5a9b9aa546cdcca1cb86
[ "Unlicense" ]
null
null
null
#include "TestRegion.h" extern "C" Model* constructTestRegion() { return new TestRegion(); }
16
41
0.708333
[ "model" ]
203476d41654b7aa34ab18406e3f5775dc55cca4
6,799
hpp
C++
Simulation/Fitness/FitnessSystem.hpp
devmichalek/Autonomous-Vehicles-Simulator
7edc16e5b03392f407b800cbc10922f158ebfb59
[ "MIT" ]
null
null
null
Simulation/Fitness/FitnessSystem.hpp
devmichalek/Autonomous-Vehicles-Simulator
7edc16e5b03392f407b800cbc10922f158ebfb59
[ "MIT" ]
null
null
null
Simulation/Fitness/FitnessSystem.hpp
devmichalek/Autonomous-Vehicles-Simulator
7edc16e5b03392f407b800cbc10922f158ebfb59
[ "MIT" ]
null
null
null
#pragma once #include "SimulatedVehicle.hpp" #include "StoppableTimer.hpp" class b2Contact; class FitnessSystem final { public: // Initiates internal fields, resizes vectors FitnessSystem(const size_t populationSize, const size_t checkpointCount, const double minFitnessImprovement); ~FitnessSystem() ...
28.809322
137
0.772761
[ "vector" ]
20398b285f3275e636de817d95c0d18fa68580ba
2,412
cpp
C++
tests/createdot.cpp
berenger-eu/dagpar
7b9c5417f49bbb47fd5f35a6d658c3f60df89752
[ "MIT" ]
3
2020-03-15T12:59:59.000Z
2022-02-07T05:44:04.000Z
tests/createdot.cpp
berenger-eu/dagpar
7b9c5417f49bbb47fd5f35a6d658c3f60df89752
[ "MIT" ]
null
null
null
tests/createdot.cpp
berenger-eu/dagpar
7b9c5417f49bbb47fd5f35a6d658c3f60df89752
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include "graph.hpp" #include "executor.hpp" #include "generator.hpp" #include "utils.hpp" int main(int argc, char** argv){ std::vector<std::string> params; params.insert(params.end(), argv, argv+argc); const std::string helpContent = "[HELP] You must pass the g...
36
170
0.570896
[ "vector" ]
204574e88d83a03908ab163b197524dfea8bad32
10,105
cpp
C++
src/tree/IntervallTree.cpp
fritzsedlazeck/SURVIVOR_ant
0f71ab7bf6b68f57d3212b0d6a1074a9ce0a87d9
[ "MIT" ]
11
2017-12-17T09:02:41.000Z
2020-05-11T06:04:31.000Z
src/tree/IntervallTree.cpp
fritzsedlazeck/SURVIVOR_ant
0f71ab7bf6b68f57d3212b0d6a1074a9ce0a87d9
[ "MIT" ]
13
2016-11-22T12:20:59.000Z
2020-04-27T14:34:34.000Z
src/tree/IntervallTree.cpp
fritzsedlazeck/SURVIVOR_ant
0f71ab7bf6b68f57d3212b0d6a1074a9ce0a87d9
[ "MIT" ]
2
2016-11-06T14:56:31.000Z
2019-07-30T14:24:07.000Z
/* * IntervallTree.cpp * * Created on: Jun 23, 2015 * Author: fsedlaze */ #include "IntervallTree.h" bool IntervallTree::same_breakpoint(position_str first, position_str second, int max_dist) { return (strcmp(first.chr.c_str(), second.chr.c_str()) == 0 && (abs(first.position - second.position) < max_dist)...
27.760989
229
0.609302
[ "vector" ]
2052981972efe268848058e5aa244e1a08579305
3,375
cxx
C++
Charts/vtkContextView.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
2
2015-07-11T13:30:23.000Z
2017-12-19T05:23:38.000Z
Charts/vtkContextView.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
Charts/vtkContextView.cxx
SCS-B3C/VTK5.6
d4afb224f638c1f7e847b0cd3195ea8a977bb602
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkContextView.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software i...
29.867257
99
0.612148
[ "render" ]
20635173db3deb9d81bc2dc92c1b2a1aba81a903
522
cpp
C++
codeforces/rope.cpp
diable201/Algorithms-and-Data-Structures
cabd0a9422d2b4f71bb4d286ccc8a2784f1606e9
[ "MIT" ]
1
2020-09-11T10:25:29.000Z
2020-09-11T10:25:29.000Z
codeforces/rope.cpp
diable201/Algorithms-and-Data-Structures
cabd0a9422d2b4f71bb4d286ccc8a2784f1606e9
[ "MIT" ]
null
null
null
codeforces/rope.cpp
diable201/Algorithms-and-Data-Structures
cabd0a9422d2b4f71bb4d286ccc8a2784f1606e9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n, k; cin >> n >> k; vector<int> v(n); for (int i = 0; i < n; i++) cin >> v[i]; double l = 0; // can cut double r = 1e8; // can't cut for (int t = 0; t < 100; t++) { double m = (l + r) * .5; int s ...
18.642857
37
0.342912
[ "vector" ]
20643f1aa85622218c528b06cd36808a39faa4ec
8,832
cpp
C++
reddit-browser/Source.cpp
lmatteis/sqltorrent
8b27b8cd4756749469d42fba203c272ea78614f0
[ "Apache-2.0" ]
646
2017-04-25T01:32:29.000Z
2022-03-21T14:56:04.000Z
reddit-browser/Source.cpp
lmatteis/sqltorrent
8b27b8cd4756749469d42fba203c272ea78614f0
[ "Apache-2.0" ]
3
2018-10-02T15:28:52.000Z
2021-01-21T05:40:26.000Z
reddit-browser/Source.cpp
lmatteis/sqltorrent
8b27b8cd4756749469d42fba203c272ea78614f0
[ "Apache-2.0" ]
26
2017-05-24T13:29:50.000Z
2022-01-21T04:38:59.000Z
/* Copyright 2016 BitTorrent Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
30.143345
238
0.675611
[ "vector" ]
206a0ed9bb4d9955630a81a62774fe34864bddf0
21,842
cc
C++
benchmark/problem_generator.cc
MikhailTerekhov/PoseLib
8f1a2d92c3955bc1e2ce455d4009f9df98ceb697
[ "BSD-3-Clause" ]
1
2022-03-28T12:12:59.000Z
2022-03-28T12:12:59.000Z
benchmark/problem_generator.cc
wuyuanmm/PoseLib
35cf8989ddbe721209e8d314eaa94447ab2bd504
[ "BSD-3-Clause" ]
null
null
null
benchmark/problem_generator.cc
wuyuanmm/PoseLib
35cf8989ddbe721209e8d314eaa94447ab2bd504
[ "BSD-3-Clause" ]
null
null
null
#include "problem_generator.h" #include <Eigen/Dense> #include <iostream> #include <random> #include <vector> namespace poselib { static const double kPI = 3.14159265358979323846; double CalibPoseValidator::compute_pose_error(const AbsolutePoseProblemInstance &instance, const CameraPose &pose, ...
39.073345
120
0.58209
[ "vector", "3d" ]
20731eb04c814398c66a67e125d77b94892f0ea1
26,037
cpp
C++
src/openpose/calibration/gridPatternFunctions.cpp
gormonn/openpose
9827ab75d6ee813376da1cb2a3d960c7081e9fa2
[ "DOC" ]
5
2020-04-05T05:48:07.000Z
2021-09-11T12:04:07.000Z
src/openpose/calibration/gridPatternFunctions.cpp
gormonn/openpose
9827ab75d6ee813376da1cb2a3d960c7081e9fa2
[ "DOC" ]
1
2021-01-21T14:03:25.000Z
2021-01-21T14:03:25.000Z
src/openpose/calibration/gridPatternFunctions.cpp
gormonn/openpose
9827ab75d6ee813376da1cb2a3d960c7081e9fa2
[ "DOC" ]
2
2020-05-27T06:31:08.000Z
2021-06-26T13:50:12.000Z
#include <openpose_private/calibration/gridPatternFunctions.hpp> #include <openpose/utilities/fastMath.hpp> #include <openpose/utilities/fileSystem.hpp> #include <openpose_private/utilities/openCvMultiversionHeaders.hpp> namespace op { // Private functions void improveCornersPositionsAtSubPixelLevel(std::vecto...
45.360627
119
0.511849
[ "vector" ]
2073b1b248d86a815a3931e5354ff0713eaa416a
10,625
cpp
C++
main.cpp
junhogan/Personalized-PageRank
956b842d25f12aa9c09d3521e5981b97ca1640d5
[ "BSD-3-Clause" ]
4
2021-06-27T14:04:09.000Z
2022-01-10T11:24:12.000Z
main.cpp
junhogan/Personalized-PageRank
956b842d25f12aa9c09d3521e5981b97ca1640d5
[ "BSD-3-Clause" ]
null
null
null
main.cpp
junhogan/Personalized-PageRank
956b842d25f12aa9c09d3521e5981b97ca1640d5
[ "BSD-3-Clause" ]
2
2021-03-25T22:58:42.000Z
2021-11-11T08:37:41.000Z
#include <random> #include "HelperFunctions.h" #include "Graph.h" #include "IteratedMethods.h" #include "QueryLoader.h" #include "BatchRandomWalk.h" #include "SpeedPPR.h" #include "CleanGraph.h" #include "QueryGenerator.h" int main(int argc, char **argv) { // SFMT64::initialize(); param = parseArgs(argc, arg...
48.295455
118
0.558776
[ "vector" ]
20748651e63551c97add99747d84f99bb9aefe34
3,770
cc
C++
utility/src/bird_chirp.cc
Arseny802/BirdChirp
7d310b65e6732c6433d5df7de24d2ebd8af1061d
[ "Apache-2.0" ]
null
null
null
utility/src/bird_chirp.cc
Arseny802/BirdChirp
7d310b65e6732c6433d5df7de24d2ebd8af1061d
[ "Apache-2.0" ]
null
null
null
utility/src/bird_chirp.cc
Arseny802/BirdChirp
7d310b65e6732c6433d5df7de24d2ebd8af1061d
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "receiver_pop3.h" #include <Setup.h> #include "arguments.h" #include "strategies/strategy_factory.h" static constexpr std::string_view kUtilityVersion = "0.0.1"; static constexpr std::string_view kUtilityDescription = "BirdChirp utility. Executes commands to POP3 / IMAP / SMTP server."; Bir...
29.685039
88
0.702653
[ "vector" ]
2075908dce814351fff384fba7a3ff8fb5b3f483
30,327
cpp
C++
main.cpp
epicdude312/Arcade-Classics
dd66023dcfe890cece2473f5b928a3e13fc09e74
[ "BSD-3-Clause" ]
null
null
null
main.cpp
epicdude312/Arcade-Classics
dd66023dcfe890cece2473f5b928a3e13fc09e74
[ "BSD-3-Clause" ]
null
null
null
main.cpp
epicdude312/Arcade-Classics
dd66023dcfe890cece2473f5b928a3e13fc09e74
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <stdlib.h> #include "Pokitto.h" #include "PokittoFonts.h" //create game object Pokitto::Core game; //include textures #include <textures.h> //variable declarations short gameMode = -2; //-2 = title, -1 = settings, 0 = menu, 1 = pong, 2 = breakout, 3 = snake...
31.072746
136
0.439806
[ "object" ]
2075dd68fc4612c352149307e0402f19c71997f2
5,376
cxx
C++
demo/chat_client.cxx
amarps/amaynet
58d3c3fddfaf410eaf86da5df22773b5cab9c004
[ "MIT" ]
null
null
null
demo/chat_client.cxx
amarps/amaynet
58d3c3fddfaf410eaf86da5df22773b5cab9c004
[ "MIT" ]
null
null
null
demo/chat_client.cxx
amarps/amaynet
58d3c3fddfaf410eaf86da5df22773b5cab9c004
[ "MIT" ]
null
null
null
#include <algorithm> #include <chrono> #include <condition_variable> #include <csignal> #include <iostream> #include <memory> #include <mutex> #include <string> #include <thread> #include "TCP/TCPClient.hxx" void signal_handler(int); class ClientChat { public: ClientChat() { DelayCheckChat(0.1); } ClientChat(con...
26.482759
80
0.622396
[ "vector" ]
207b5c2e8118dc01deec289c9805fc165733814d
1,169
cpp
C++
C++/LeetCode/0046.cpp
spycedcoffee/DSA
1e559ed5251a2005cc2815438d865f0293f4cd44
[ "MIT" ]
4
2021-08-28T19:16:50.000Z
2022-03-04T19:46:31.000Z
C++/LeetCode/0046.cpp
spycedcoffee/DSA
1e559ed5251a2005cc2815438d865f0293f4cd44
[ "MIT" ]
8
2021-10-29T19:10:51.000Z
2021-11-03T12:38:00.000Z
C++/LeetCode/0046.cpp
spycedcoffee/DSA
1e559ed5251a2005cc2815438d865f0293f4cd44
[ "MIT" ]
4
2021-09-06T05:53:07.000Z
2021-12-24T10:31:40.000Z
//Solution 1 :- class Solution { public: void generate(vector<int> &arr, int k, vector<vector<int>> &perms) { if (k == 1) perms.push_back(arr); else { generate(arr, k - 1, perms); for (int i{0}; i < k - 1; i++) { if (k % 2 == 0) swap(arr[i], arr[k - 1]); else ...
21.254545
70
0.468777
[ "vector" ]
20826524e6ace635877c751315b4962fbe794b89
2,542
hpp
C++
src/Factory/Module/Encoder/Turbo_product/Encoder_turbo_product.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-17T08:47:47.000Z
2022-02-17T08:47:47.000Z
src/Factory/Module/Encoder/Turbo_product/Encoder_turbo_product.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
null
null
null
src/Factory/Module/Encoder/Turbo_product/Encoder_turbo_product.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2021-11-24T01:54:41.000Z
2021-11-24T01:54:41.000Z
#ifndef FACTORY_ENCODER_TURBO_PRODUCT_HPP #define FACTORY_ENCODER_TURBO_PRODUCT_HPP #include <vector> #include <string> #include <map> #include "Tools/Arguments/Argument_tools.hpp" #include "Tools/auto_cloned_unique_ptr.hpp" #include "Module/Encoder/BCH/Encoder_BCH.hpp" #include "Module/Interleaver/Interleaver.hpp" #...
37.940299
113
0.628245
[ "vector" ]
2085e1986a7134e931f4d145ce00fd6ed52a51ed
40,673
cpp
C++
misc05_picking_slow_easy.cpp
Aclark2089/OpenGL_3DSpace
b4882d99337453e0abcb7daf7dedeb250099f27b
[ "MIT" ]
null
null
null
misc05_picking_slow_easy.cpp
Aclark2089/OpenGL_3DSpace
b4882d99337453e0abcb7daf7dedeb250099f27b
[ "MIT" ]
null
null
null
misc05_picking_slow_easy.cpp
Aclark2089/OpenGL_3DSpace
b4882d99337453e0abcb7daf7dedeb250099f27b
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <vector> #include <array> #include <sstream> #include <string> #include <math.h> // Include GLEW #include <GL/glew.h> // Include GLFW #include <glfw3.h> // Include GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/quaternion.hpp> #includ...
30.535285
186
0.667544
[ "object", "vector", "model" ]