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
4c0626c7d2a69cac7f587421fa72c5a47b31cd3c
1,133
hpp
C++
src/hdvw/queue.hpp
Hovushka/HDVW
98fe909d4e0f822712318515835b02bac56bac28
[ "MIT" ]
null
null
null
src/hdvw/queue.hpp
Hovushka/HDVW
98fe909d4e0f822712318515835b02bac56bac28
[ "MIT" ]
null
null
null
src/hdvw/queue.hpp
Hovushka/HDVW
98fe909d4e0f822712318515835b02bac56bac28
[ "MIT" ]
null
null
null
#pragma once #include <vulkan/vulkan.hpp> #include <hdvw/device.hpp> #include <hdvw/fence.hpp> #include <memory> namespace hd { enum class QueueType { eGraphics, ePresent, eTransfer, eCompute, }; struct QueueCreateInfo { Device device; QueueType type; ...
20.6
69
0.565755
[ "vector" ]
4c0d55448ad9dbff5e9958215965489b04202a11
600
cpp
C++
Game/GameCubes/Cube.cpp
Ddelval/OpenGL-project
a80c9c436bf1bf41ae28c27195d45d85ed94af82
[ "MIT" ]
1
2021-03-08T14:50:35.000Z
2021-03-08T14:50:35.000Z
Game/GameCubes/Cube.cpp
Ddelval/OpenGL-project
a80c9c436bf1bf41ae28c27195d45d85ed94af82
[ "MIT" ]
null
null
null
Game/GameCubes/Cube.cpp
Ddelval/OpenGL-project
a80c9c436bf1bf41ae28c27195d45d85ed94af82
[ "MIT" ]
null
null
null
#include "GameCubes/Cube.hpp" #include "Graphics/MeshBuilder.hpp" using namespace GameModel; Cube::Cube(std::array<const Texture*, 6>& arr, const Texture* cubeImage) { faces = Graphics::MeshBuilder::buildCube(glm::vec3(0,0,0),glm::mat4(1),arr); this->cubeImage = cubeImage; } const Graphics::Mesh* Cube::getFa...
24
80
0.706667
[ "mesh" ]
4c1264a0a63fc51004e2fe3aedd6e6fccb5894a3
1,599
cpp
C++
src/GridEvaluation/VtkWriter.cpp
DanielZint/hpmeshgen
cdfb9163ed92523fcf41a127c8173097e935c0a3
[ "MIT" ]
2
2022-02-09T08:51:16.000Z
2022-02-09T08:51:27.000Z
src/GridEvaluation/VtkWriter.cpp
DanielZint/hpmeshgen
cdfb9163ed92523fcf41a127c8173097e935c0a3
[ "MIT" ]
null
null
null
src/GridEvaluation/VtkWriter.cpp
DanielZint/hpmeshgen
cdfb9163ed92523fcf41a127c8173097e935c0a3
[ "MIT" ]
null
null
null
#include "VtkWriter.h" void VtkWriter::meshToVtk() { using std::endl; ofs_ << "DATASET UNSTRUCTURED_GRID" << endl; ofs_ << "POINTS " << mesh_.n_vertices() << " float" << endl; for( const auto& v : mesh_.vertices() ) { const auto& p = mesh_.point( v ); if( isBinary_ ) { float p0 = p[0]; float p1 = p[1]...
23.865672
75
0.510944
[ "vector" ]
4c1376398616103e178aeac3162b85acd8299d69
3,641
cc
C++
gitstatus/src/arena.cc
ptavares/powerlevel10k
6aeb13b08aab0b35f0c9b0212f1c0cba89eaa5d3
[ "MIT" ]
27,470
2019-03-02T11:50:28.000Z
2022-03-31T21:59:56.000Z
gitstatus/src/arena.cc
ptavares/powerlevel10k
6aeb13b08aab0b35f0c9b0212f1c0cba89eaa5d3
[ "MIT" ]
1,796
2019-03-02T19:45:24.000Z
2022-03-31T10:39:08.000Z
gitstatus/src/arena.cc
ptavares/powerlevel10k
6aeb13b08aab0b35f0c9b0212f1c0cba89eaa5d3
[ "MIT" ]
1,863
2019-03-03T14:31:31.000Z
2022-03-30T21:42:34.000Z
// Copyright 2019 Roman Perepelitsa. // // This file is part of GitStatus. // // GitStatus is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later ve...
30.596639
100
0.672068
[ "object", "vector" ]
4c1802618640579756748b487f830f1d327b0927
1,728
hpp
C++
src/QtApp/ConfigPages/ConfigPageAbstract.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
17
2022-01-08T09:27:08.000Z
2022-03-19T08:23:42.000Z
src/QtApp/ConfigPages/ConfigPageAbstract.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
11
2022-01-08T11:25:42.000Z
2022-02-13T05:17:00.000Z
src/QtApp/ConfigPages/ConfigPageAbstract.hpp
mapron/d2modgen
6906de7bfc4c2cebf7ca523c559ae8ae26012034
[ "MIT" ]
2
2022-01-14T16:43:55.000Z
2022-03-09T07:56:43.000Z
/* * Copyright (C) 2022 Smirnov Vladimir / mapron1@gmail.com * SPDX-License-Identifier: MIT * See LICENSE file for details. */ #pragma once #include "TableUtils.hpp" #include "../ValueEditors/SliderWidget.hpp" #include "../ValueEditors/CheckboxWidget.hpp" #include "../ValueEditors/LineWidget.hpp" #include "IConf...
25.411765
97
0.686921
[ "vector" ]
4c19086857b09512ee29ccf303542f12453680b9
9,922
cpp
C++
daedalus/DATFile.cpp
kejran/ZenLib
d4d1461791467749c594163308fbc30d4df1a83e
[ "MIT" ]
5
2020-07-19T17:31:08.000Z
2022-01-10T19:41:29.000Z
daedalus/DATFile.cpp
DramaDesu/ZenLib
705a9f8462b2aa927d4dc9f4431b8a394e93b391
[ "MIT" ]
5
2019-09-16T23:23:29.000Z
2022-03-20T13:11:36.000Z
daedalus/DATFile.cpp
DramaDesu/ZenLib
705a9f8462b2aa927d4dc9f4431b8a394e93b391
[ "MIT" ]
6
2019-09-15T15:34:53.000Z
2022-03-18T21:37:08.000Z
// // Created by andre on 09.05.16. // #include "DATFile.h" #include "zenload/zenParser.h" #include <algorithm> #include <map> #include <cctype> #include <utils/logger.h> using namespace ZenLoad; using namespace Daedalus; DATFile::DATFile(const uint8_t* pData, size_t numBytes){ ZenLoad::ZenParser input(pData, num...
26.961957
127
0.644427
[ "object" ]
4c1e6f65496eff7bbd151143c7f07cbb1201458e
17,149
cc
C++
src/Server.cc
florian-richter/node-rfc
dd37da5f005254f3a7d5c4eaafcfd39e6ac03f37
[ "Apache-2.0" ]
223
2015-01-20T12:55:10.000Z
2022-03-06T20:24:34.000Z
src/Server.cc
florian-richter/node-rfc
dd37da5f005254f3a7d5c4eaafcfd39e6ac03f37
[ "Apache-2.0" ]
244
2015-02-11T14:41:17.000Z
2022-03-31T13:00:10.000Z
src/Server.cc
florian-richter/node-rfc
dd37da5f005254f3a7d5c4eaafcfd39e6ac03f37
[ "Apache-2.0" ]
82
2015-02-11T13:09:58.000Z
2022-03-27T13:11:24.000Z
// SPDX-FileCopyrightText: 2014 SAP SE Srdjan Boskovic <srdjan.boskovic@sap.com> // // SPDX-License-Identifier: Apache-2.0 #include "Server.h" #include <node_api.h> #include <assert.h> namespace node_rfc { extern Napi::Env __env; uint_t Server::_id = 1; Server *__server = NULL; typedef struct {...
31.875465
144
0.564115
[ "object" ]
4c1facad9f6c5175def9c77e8d28676c804ad885
20,874
cpp
C++
src/trunk/libs/seiscomp3/processing/fx/dfx.cpp
kbouk/seiscomp3
2385e4197274135c70aaef93a0b7df65ed8fa6a6
[ "Naumen", "Condor-1.1", "MS-PL" ]
94
2015-02-04T13:57:34.000Z
2021-11-01T15:10:06.000Z
src/trunk/libs/seiscomp3/processing/fx/dfx.cpp
kbouk/seiscomp3
2385e4197274135c70aaef93a0b7df65ed8fa6a6
[ "Naumen", "Condor-1.1", "MS-PL" ]
233
2015-01-28T15:16:46.000Z
2021-08-23T11:31:37.000Z
src/trunk/libs/seiscomp3/processing/fx/dfx.cpp
kbouk/seiscomp3
2385e4197274135c70aaef93a0b7df65ed8fa6a6
[ "Naumen", "Condor-1.1", "MS-PL" ]
95
2015-02-13T15:53:30.000Z
2021-11-02T14:54:54.000Z
/*************************************************************************** * Copyright (C) Preparatory Commission for the Comprehensive * * Nuclear-Test-Ban Treaty Organization (CTBTO). * * * * You can...
30.384279
133
0.564291
[ "vector" ]
4c23c80b62133444d5fc7165425ad93a5e2310f9
159,064
cxx
C++
ds/security/protocols/kerberos/server/gettgs.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/protocols/kerberos/server/gettgs.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/protocols/kerberos/server/gettgs.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1993. // // File: gettgs.cxx // // Contents: GetTGSTicket and support functions // // Classes: // // Functions: // // History: 04-Mar-94 ...
31.921333
163
0.527109
[ "object" ]
4c24a99a006a8cd62441134fd888869639d72eff
19,105
cpp
C++
src/net/ServerConnection.cpp
tristanseifert/cubeland
f4d3956d1c25065f22f1167a27408ebc14a4fe4f
[ "BSD-2-Clause" ]
1
2021-02-20T16:08:31.000Z
2021-02-20T16:08:31.000Z
src/net/ServerConnection.cpp
tristanseifert/cubeland
f4d3956d1c25065f22f1167a27408ebc14a4fe4f
[ "BSD-2-Clause" ]
1
2021-04-27T05:10:35.000Z
2021-04-27T05:10:35.000Z
src/net/ServerConnection.cpp
tristanseifert/cubeland
f4d3956d1c25065f22f1167a27408ebc14a4fe4f
[ "BSD-2-Clause" ]
null
null
null
#include "ServerConnection.h" #include "handlers/Auth.h" #include "handlers/BlockChange.h" #include "handlers/Chat.h" #include "handlers/Chunk.h" #include "handlers/PlayerInfo.h" #include "handlers/PlayerMovement.h" #include "handlers/Time.h" #include "handlers/WorldInfo.h" #include "world/RemoteSource.h" #include "we...
30.086614
108
0.598273
[ "vector" ]
4c2861f4ffef34d74ab5fbfd24b0d6856ccbb0c0
839
cpp
C++
G/410_Split_Array_Largest_Sum/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
3
2019-09-21T16:25:44.000Z
2021-08-29T20:43:57.000Z
G/410_Split_Array_Largest_Sum/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
G/410_Split_Array_Largest_Sum/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <climits> using namespace std; //// 22.53%, 20.00% //// dp class Solution { public: int splitArray(vector<int>& nums, int m) { int n = nums.size(); // dp, dp[i][j] = largest sum from nums[0:i] among j subarrays vector<vec...
26.21875
85
0.443385
[ "vector" ]
4c2a100d39721ca43d515e78f68111b21c467aa0
11,009
cpp
C++
dev/Gems/Water/Code/Source/WaterOceanComponent.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
1
2020-03-24T04:54:22.000Z
2020-03-24T04:54:22.000Z
dev/Gems/Water/Code/Source/WaterOceanComponent.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
null
null
null
dev/Gems/Water/Code/Source/WaterOceanComponent.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
2
2019-07-09T00:03:08.000Z
2020-03-24T04:54:27.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
55.045
155
0.689345
[ "transform" ]
4c31ba10e220c691485c478c9d1f2e8e69734871
7,205
cpp
C++
src/UserInterface/TextureDrawer.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
src/UserInterface/TextureDrawer.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
src/UserInterface/TextureDrawer.cpp
sabachan/framework
e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "TextureDrawer.h" #include "Context.h" #include <Rendering/Material.h> #include <Rendering/RenderBatchDico.h> #include <Rendering/RenderDevice.h> #include <Rendering/TransientRenderBatch.h> #include <Rendering/VertexTypes.h> #include <RenderEngine/CompositingLayer.h> #include <...
44.751553
189
0.573352
[ "transform" ]
4c3a1565fd4bc197b56b08a3622a20cb2699d619
9,002
cc
C++
src/lib/fidl_codec/wire_types.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/lib/fidl_codec/wire_types.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
src/lib/fidl_codec/wire_types.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2019 The Fuchsia 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 "wire_types.h" #include <zircon/fidl.h> #include "rapidjson/error/en.h" #include "src/lib/fidl_codec/library_loader.h" #include "src/lib/fidl_co...
37.508333
99
0.691846
[ "vector" ]
4c3aaba57cc1d6223c629524ca939d3fbe4d128c
13,571
cpp
C++
content/OTRadioLink/utility/OTV0P2BASE_SensorSHT21.cpp
Denzo77/OTRadioLink
55561db8b70e3c9535ed33d6f61a048915586922
[ "Apache-2.0" ]
4
2016-10-09T11:42:51.000Z
2020-12-07T18:58:50.000Z
content/OTRadioLink/utility/OTV0P2BASE_SensorSHT21.cpp
Denzo77/OTRadioLink
55561db8b70e3c9535ed33d6f61a048915586922
[ "Apache-2.0" ]
13
2015-11-02T13:38:17.000Z
2019-03-01T12:59:37.000Z
content/OTRadioLink/utility/OTV0P2BASE_SensorSHT21.cpp
Denzo77/OTRadioLink
55561db8b70e3c9535ed33d6f61a048915586922
[ "Apache-2.0" ]
10
2016-01-27T23:07:40.000Z
2020-12-28T21:07:38.000Z
/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
38.228169
105
0.688232
[ "model" ]
4c3ba58cecca470dd8417567da6f4effd1d65d26
6,918
cpp
C++
uwsim_resources/uwsim_osgbullet/src/osgbInteraction/LaunchHandler.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
1
2020-11-30T09:55:33.000Z
2020-11-30T09:55:33.000Z
uwsim_resources/uwsim_osgbullet/src/osgbInteraction/LaunchHandler.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
null
null
null
uwsim_resources/uwsim_osgbullet/src/osgbInteraction/LaunchHandler.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
2
2020-11-21T19:50:54.000Z
2020-12-27T09:35:29.000Z
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgBullet is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the F...
32.327103
148
0.634866
[ "object", "shape", "model" ]
4c4116e10b529bd4c7c718ce3062f967aac7d3ca
22,959
cpp
C++
FalloutStrategy/FalloutEngine/j1Player.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
7
2020-06-01T10:22:47.000Z
2020-12-22T13:50:39.000Z
FalloutStrategy/FalloutEngine/j1Player.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
108
2020-03-16T09:34:19.000Z
2020-06-15T15:16:42.000Z
FalloutStrategy/FalloutEngine/j1Player.cpp
Kalima-Entertainment/Fallout_Strategy
5985589c75fa4559e061b9e848f906ee7ebafd7b
[ "MIT" ]
2
2020-02-24T08:51:19.000Z
2020-02-24T14:05:31.000Z
#include "j1Player.h" #include "j1App.h" #include "j1Window.h" #include "j1Render.h" #include "j1Input.h" #include "j1EntityManager.h" #include "j1Map.h" #include "j1Entity.h" #include "DynamicEntity.h" #include "StaticEntity.h" #include "p2Log.h" #include "UI_Label.h" #include "UI_Button.h" #include "j1Gui.h" #include...
38.265
188
0.664053
[ "render", "vector" ]
4c52609be017cfda077b8b684dd1106b23d72f0d
2,933
cpp
C++
CSE5 Problems/Graph Algorithms/Labyrinth.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
null
null
null
CSE5 Problems/Graph Algorithms/Labyrinth.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-10-01T18:26:34.000Z
2021-10-01T18:26:34.000Z
CSE5 Problems/Graph Algorithms/Labyrinth.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
7
2021-10-01T16:07:29.000Z
2021-10-04T13:23:48.000Z
#include<bits/stdc++.h> using namespace std; bool checkboundary(int x, int y, int n, int m ,vector<vector<bool>> &vis,vector<vector<char>> &data) { if(x >= 0 and x < n and y>= 0 and y < m and !vis[x][y] and (data[x][y] == '.' or data[x][y] == 'A' or data[x][y] == 'B')) return true; return false; } bool pe...
27.669811
144
0.457211
[ "vector" ]
4c61b8ff79ef3a5d16bdc8ba1b4aa9680b06f20e
10,048
cpp
C++
src/Logger.cpp
Vbitz/Engine2D
01848ccea6052dd2673c9f61c9f01374328ca1d7
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-23T05:11:19.000Z
2020-05-23T05:11:19.000Z
src/Logger.cpp
Vbitz/Engine2D
01848ccea6052dd2673c9f61c9f01374328ca1d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Logger.cpp
Vbitz/Engine2D
01848ccea6052dd2673c9f61c9f01374328ca1d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Filename: Logger.cpp Purpose: Logging subsystem Part of Engine2D Copyright (C) 2014 Vbitz 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/licen...
35.25614
144
0.505275
[ "vector" ]
4c65016c953f6ef0b3f4c494b4603b8c644f2b71
5,694
cpp
C++
engine/renderers/opengl/OpenGLMesh.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
17
2016-09-25T07:11:34.000Z
2021-09-13T07:05:59.000Z
engine/renderers/opengl/OpenGLMesh.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
8
2019-01-25T23:39:56.000Z
2019-04-10T17:23:04.000Z
engine/renderers/opengl/OpenGLMesh.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
4
2018-06-13T09:44:42.000Z
2021-03-18T12:27:07.000Z
/* Copyright (C) 2016-2019,2021 Rodrigo Jose Hernandez Cordoba 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 agree...
33.892857
132
0.58869
[ "mesh" ]
4c69a26b95ecb455631f7e6d657fc9a412262453
237
cpp
C++
Aiko/src/engine/entities/entity.cpp
jotask/aiko_engine
41ea03002fa094e728d95aa91aff267bc400b313
[ "MIT" ]
null
null
null
Aiko/src/engine/entities/entity.cpp
jotask/aiko_engine
41ea03002fa094e728d95aa91aff267bc400b313
[ "MIT" ]
null
null
null
Aiko/src/engine/entities/entity.cpp
jotask/aiko_engine
41ea03002fa094e728d95aa91aff267bc400b313
[ "MIT" ]
null
null
null
#include "entity.h" namespace aiko { Entity::Entity() { } Entity::~Entity() { } void Entity::update(const TimeStamp& delta) { } void Entity::render(sf::RenderWindow& window) { } }
9.115385
49
0.514768
[ "render" ]
4c6bf7eace8b0de3f9bf606933553693fa039b5b
164,749
cpp
C++
hackathon/Chao_Wang/Critical_points_detection/Branch_detection_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/Chao_Wang/Critical_points_detection/Branch_detection_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/Chao_Wang/Critical_points_detection/Branch_detection_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* Branch_detection_plugin.cpp * This is a test plugin, you can use it as a demo. * 2018-5-20 : by Chao Wang */ #include"Branch_detection_plugin.h" #include <iostream> #include <fstream> #include "basic_surf_objs.h" #include "v3d_message.h" #include <vector> #include "new_ray-shooting.h" #include "../../../../vaa3d...
37.383481
210
0.519627
[ "vector", "model", "3d" ]
dbca98f669ad25ab167beec4f44ed6b45c14c8c4
1,459
cpp
C++
src/Modules/Editor/UI/EntityInspector.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
5
2018-10-12T17:40:17.000Z
2020-11-20T10:49:34.000Z
src/Modules/Editor/UI/EntityInspector.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
71
2018-07-19T01:59:38.000Z
2020-03-29T18:03:13.000Z
src/Modules/Editor/UI/EntityInspector.cpp
Yattabyte/reVision
014cb450d1c30b8f64abbacf00425b4f814b05a0
[ "MIT" ]
1
2022-03-24T13:21:25.000Z
2022-03-24T13:21:25.000Z
#include "Modules/Editor/UI/EntityInspector.h" #include "Modules/Editor/Editor_M.h" #include "imgui.h" // Component Inspectors #include "Modules/Editor/Systems/Inspector_Transform_System.h" #include "Modules/Editor/Systems/Inspector_Prop_System.h" #include "Modules/Editor/Systems/Inspector_Skeleton_System.h" #include ...
39.432432
105
0.788897
[ "render" ]
dbd342fab386b31d8418fc794dd519c5da5fdcdf
8,935
cpp
C++
code/engine.vc2008/xrGame/Level_network.cpp
ipl-adm/xray-oxygen
3ae4d4911f5b000e93bdf108eb68db25315b2fc6
[ "Apache-2.0" ]
1
2021-06-15T13:04:36.000Z
2021-06-15T13:04:36.000Z
code/engine.vc2008/xrGame/Level_network.cpp
ipl-adm/xray-oxygen
3ae4d4911f5b000e93bdf108eb68db25315b2fc6
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrGame/Level_network.cpp
ipl-adm/xray-oxygen
3ae4d4911f5b000e93bdf108eb68db25315b2fc6
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Level.h" #include "Level_Bullet_Manager.h" #include "xrserver.h" #include "xrmessages.h" #include "game_cl_base.h" #include "PHCommander.h" #include "net_queue.h" #include "MainMenu.h" #include "space_restriction_manager.h" #include "ai_space.h" #include "script_engine.h" #include "stalker...
24.018817
142
0.626525
[ "render", "object" ]
dbd5c211e07a20f68f7c1c32200baa8d9e98b355
1,455
cpp
C++
flint/Checks/InitializeFromItself.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
1
2020-08-11T21:58:41.000Z
2020-08-11T21:58:41.000Z
flint/Checks/InitializeFromItself.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
null
null
null
flint/Checks/InitializeFromItself.cpp
AaronDMarasco/FlintPlusPlus
d1e4afc99d8c0616b8574bf8edc52a92170c6e10
[ "BSL-1.0" ]
null
null
null
#include "../Checks.hpp" using namespace std; namespace flint { /** * Check all member intializations to make sure they do not initialize on themselves * * @param path * The path to the file currently being linted * @param tokens * The token list for the file * @return * Returns the numbe...
40.416667
119
0.679038
[ "vector" ]
dbd958bda04d8f9ed606abffa195880a3b0bf761
13,662
cpp
C++
CodeRed/DirectX12/DirectX12Utility.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
34
2019-09-11T09:12:16.000Z
2022-02-13T12:50:25.000Z
CodeRed/DirectX12/DirectX12Utility.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
7
2019-09-22T14:21:26.000Z
2020-03-24T10:36:20.000Z
CodeRed/DirectX12/DirectX12Utility.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
6
2019-10-21T18:05:55.000Z
2021-04-22T05:07:30.000Z
#include "../Shared/Exception/NotSupportException.hpp" #include "../Shared/Exception/InvalidException.hpp" #include "../Shared/Exception/Exception.hpp" #include "../Shared/Enum/PrimitiveTopology.hpp" #include "../Shared/Enum/ShaderVisibility.hpp" #include "../Shared/Enum/CompareOperator.hpp" #include "../Shared/Enum/S...
34.240602
104
0.811814
[ "vector", "solid" ]
dbe01bcde1e14733382174da97464519c7edb262
1,673
cpp
C++
src/_leetcode/leet_207.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_207.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_207.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_207.cpp ========================== * -- tpr -- * CREATE -- 2020.07.23 * MODIFY -- * ---------------------------------------------------------- * 207. 课程表 */ #include "innLeet.h...
23.236111
83
0.363419
[ "vector" ]
dbe44d76df3f9d471cfc5e57472cbdae4a61fbda
5,257
cpp
C++
data-server/test/watch_base_unittest.cpp
sdtm1016/sharkstore-1
21a147f888a3ab82af64da41c222c2e41b25f30e
[ "Apache-2.0" ]
1
2020-08-09T15:06:17.000Z
2020-08-09T15:06:17.000Z
data-server/test/watch_base_unittest.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
data-server/test/watch_base_unittest.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #define private public #include "range/watch.h" #include "frame/sf_util.h" int main(int argc, char* argv[]) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } namespace { using namespace sharkstore::dataserver; class TestWatcherSet: public range::WatcherSet{ public: ...
29.869318
109
0.5895
[ "vector" ]
dbefd59f7e11e1c5f5e8c04f288c6ea033cbb75b
3,810
cpp
C++
src/coherence/util/filter/ContainsAnyFilter.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/util/filter/ContainsAnyFilter.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/util/filter/ContainsAnyFilter.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "coherence/util/filter/ContainsAnyFilter.hpp" #include "coherence/io/pof/SystemPofContext.hpp" #include "coherence/util/Collection.hp...
28.863636
92
0.535958
[ "object" ]
dbf1546718951875203953d3b6d662096ca245ee
711
cpp
C++
baekjoon/dijkstra/1753-shortest-path/1753-dijkstra.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
baekjoon/dijkstra/1753-shortest-path/1753-dijkstra.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
baekjoon/dijkstra/1753-shortest-path/1753-dijkstra.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <vector> #include <algorithm> #include <queue> using namespace std; using Pair = pair<int,int>; using ull = long long int; vector<Pair> edge[20001]; int d[20001]; const int INF = 0x0fffffff; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); ...
14.510204
57
0.500703
[ "vector" ]
dbf64897823d9b079e37b08c70ff3e86f14cba98
7,271
cc
C++
muduo/net/InetAddress.cc
HZMCIU/muduo
dd863a47746b7d160c461df7d1f169833b152b67
[ "BSD-3-Clause" ]
null
null
null
muduo/net/InetAddress.cc
HZMCIU/muduo
dd863a47746b7d160c461df7d1f169833b152b67
[ "BSD-3-Clause" ]
null
null
null
muduo/net/InetAddress.cc
HZMCIU/muduo
dd863a47746b7d160c461df7d1f169833b152b67
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2010, Shuo Chen. All rights reserved. // http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: Shuo Chen (chenshuo at chenshuo dot com) #include "muduo/net/InetAddress.h" #include "muduo/base/Logging.h" #inc...
40.394444
174
0.648191
[ "object", "vector" ]
dbf876f66f4e5992e5a043d5d25389e1ea7b4ba6
9,800
cpp
C++
GLEANKernel/GLEANLib/Utility Classes/OPV_Containers.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
1
2018-06-22T23:01:13.000Z
2018-06-22T23:01:13.000Z
GLEANKernel/GLEANLib/Utility Classes/OPV_Containers.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
null
null
null
GLEANKernel/GLEANLib/Utility Classes/OPV_Containers.cpp
dekieras/GLEANKernel
fac01f025b65273be96c5ea677c0ce192c570799
[ "MIT" ]
null
null
null
#include "OPV_Containers.h" #include "Standard_utility_symbols.h" #include "Output_tee.h" #include <iostream> using std::ostream; using std::cout; using std::cerr; using std::endl; using std::map; using std::less; using std::pair; using std::make_pair; using std::list; /* PV_Container members */ void PV_Containe...
35
121
0.731633
[ "object" ]
dbf877135cc69428b51757540d0e3889fc33684f
533
cpp
C++
leet_code/arrays/monotonicArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/monotonicArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/monotonicArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool isIncreasing(vector<int> &nums) { for (int i = 1; i < nums.size(); i++){ if (!(nums[i] >= nums[i - 1])) return false; } return true; } bool isDecreasing(vector<int> &nums) { for (int i = 1; i < nums.size(); i++){ if (!(nums[i] <= nums[i ...
19.035714
58
0.551595
[ "vector" ]
e00a7b0c72747999876744f09e109f3726d9bf84
1,127
cpp
C++
src/AWayBack.Tools/AnimatorController.cpp
hazevich/AWayBack.Tools
d5006dcd29733f7a8d05ef7391065f3f44d72257
[ "MIT" ]
4
2021-08-01T21:45:01.000Z
2022-02-08T10:46:06.000Z
src/AWayBack.Tools/AnimatorController.cpp
hazevich/AWayBack.Tools
d5006dcd29733f7a8d05ef7391065f3f44d72257
[ "MIT" ]
null
null
null
src/AWayBack.Tools/AnimatorController.cpp
hazevich/AWayBack.Tools
d5006dcd29733f7a8d05ef7391065f3f44d72257
[ "MIT" ]
null
null
null
#include "AnimatorController.h" namespace AWayBack::UI::AnimationEditor { void AnimatorController::CreateNewAnimationAtlas(const AnimationAtlasData& animationAtlasData) { delete _animationAtlas; _animationAtlas = new AnimationAtlas(animationAtlasData.Folder, animationAtlasData.Name, std::vecto...
31.305556
180
0.722272
[ "vector" ]
e01079c68cc63f2a9d980ebf36add01930b87195
6,742
cpp
C++
A5/expression_evaluation_templates.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
A5/expression_evaluation_templates.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
A5/expression_evaluation_templates.cpp
anish-sk/CS2810
982259146b210c201ea94ce5068c05c8471cbf30
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <sstream> #define ll long long const int maximum_degree = 3002; using namespace std; template<class T> class Stack{ public: vector<T> st; Stack(){ st=vector<T>(); } void pop();// pops the eleme...
24.97037
100
0.434441
[ "vector" ]
e01461b4bcf617d18283449d75ceaea2d1a0c2f6
5,346
cpp
C++
kratos/tests/cpp_tests/containers/test_model.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
kratos/tests/cpp_tests/containers/test_model.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
kratos/tests/cpp_tests/containers/test_model.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Philipp Bucher // // // Pr...
37.384615
159
0.625327
[ "vector", "model" ]
e017d96bbbb5d111af6f4a9de25d2f6ae220ba4f
19,477
cpp
C++
src/unity/toolkits/supervised_learning/unity_supervised_learning.cpp
TimothyRHuertas/turicreate
afa00bee56d168190c6f122e14c9fbc6656b4e97
[ "BSD-3-Clause" ]
1
2019-04-16T19:51:18.000Z
2019-04-16T19:51:18.000Z
src/unity/toolkits/supervised_learning/unity_supervised_learning.cpp
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
src/unity/toolkits/supervised_learning/unity_supervised_learning.cpp
tashby/turicreate
7f07ce795833d0c56c72b3a1fb9339bed6d178d1
[ "BSD-3-Clause" ]
1
2020-10-21T17:46:28.000Z
2020-10-21T17:46:28.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 */ // Data structures #include <flexible_type/flexible_type_base_types.hpp> #include <unity/lib/unity_s...
36.888258
96
0.733686
[ "object", "vector", "model" ]
e01c81e3277bee24acc669faaa788b3c53e6776b
3,494
ipp
C++
include/External/stlib/packages/numerical/random/discrete/DiscreteGeneratorBinarySearchRecursiveCdf.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/numerical/random/discrete/DiscreteGeneratorBinarySearchRecursiveCdf.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/numerical/random/discrete/DiscreteGeneratorBinarySearchRecursiveCdf.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- #if !defined(__numerical_random_DiscreteGeneratorBinarySearchRecursiveCdf_ipp__) #error This file is an implementation detail of DiscreteGeneratorBinarySearchRecursiveCdf. #endif namespace numerical { // Return a discrete deviate. template<class Generator> inline typename DiscreteGeneratorB...
28.177419
91
0.599313
[ "vector" ]
e0209b14789c2351a819c3807788412ab8cbd46a
6,142
cpp
C++
qmf/test/WALSEngineTest.cpp
ddtuan99/qmf
ec1e6e8d399101f4e1915d354007a6fc576623d6
[ "Apache-2.0" ]
485
2016-04-15T03:32:37.000Z
2022-01-31T23:12:01.000Z
qmf/test/WALSEngineTest.cpp
Seanpm2001-Quora/qmf
c36330e97604cdd69805365e297590c293962b77
[ "Apache-2.0" ]
29
2016-04-19T20:06:51.000Z
2021-02-04T06:26:36.000Z
qmf/test/WALSEngineTest.cpp
Seanpm2001-Quora/qmf
c36330e97604cdd69805365e297590c293962b77
[ "Apache-2.0" ]
104
2016-04-19T17:54:59.000Z
2022-01-31T23:15:09.000Z
/* * Copyright 2016 Quora, 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...
29.671498
75
0.627483
[ "vector" ]
e0357f3925cdc6410a5438b70a8dd6ccf28260da
21,483
cxx
C++
PWG/muon/AliAnalysisTaskMuonDistributions.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWG/muon/AliAnalysisTaskMuonDistributions.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWG/muon/AliAnalysisTaskMuonDistributions.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
35.686047
189
0.67067
[ "vector" ]
e03914d6fe952e9a579b679397c9ad2067c9d177
3,235
cpp
C++
Tool/Tile.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
Tool/Tile.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
Tool/Tile.cpp
sangshub/55231
1f31ab8610999856e932bac9327255475f56e4d4
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "Tile.h" #include "BufferMgr.h" #include "TextureMgr.h" #include "Pipeline.h" #include "MainCamMgr.h" #include "Device.h" #include "CamMgr.h" CTile::CTile() : m_iOption(0) , m_iDrawId(0) , m_iCubeCnt(0) , m_iObjCnt(0) , m_pObj(NULL) { } CTile::~CTile() { } HRESULT CTile::Initialize() { ...
19.969136
100
0.730757
[ "render" ]
e03b5f1d6a834a160c76263dc6bf9cc9e7c55bdb
6,976
cpp
C++
CPGF/Plot2d/DataPlot.cpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
CPGF/Plot2d/DataPlot.cpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
CPGF/Plot2d/DataPlot.cpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
#ifndef DATA_PLOT_CPP #define DATA_PLOT_CPP #include "DataPlot.hpp" #include <stdexcept> #include <limits> #include <cmath> using namespace CPGF::AffineSpace; using namespace CPGF::Plot2d; using namespace CPGF::Objects2d; using namespace CPGF; DataPlot::DataPlot(const std::vector<double>& Y, const std::vector<double...
31.282511
107
0.601347
[ "object", "shape", "vector", "transform", "solid" ]
e03be10ef3e8db78005999606b0f92ccb404f09d
17,323
cpp
C++
pomelo/parser.cpp
edmundmk/pomelo
d7d9381aea290a4e74d04270b892c8b32ee4045d
[ "MIT" ]
7
2018-12-08T06:58:11.000Z
2021-11-08T10:35:18.000Z
pomelo/parser.cpp
edmundmk/pomelo
d7d9381aea290a4e74d04270b892c8b32ee4045d
[ "MIT" ]
2
2020-09-23T18:49:42.000Z
2020-09-24T17:38:23.000Z
pomelo/parser.cpp
edmundmk/pomelo
d7d9381aea290a4e74d04270b892c8b32ee4045d
[ "MIT" ]
4
2019-02-09T15:36:58.000Z
2021-08-20T13:05:42.000Z
// // parser.cpp // pomelo // // Created by Edmund Kapusniak on 11/12/2017. // Copyright © 2017 Edmund Kapusniak. // // Licensed under the MIT License. See LICENSE file in the project root for // full license information. // #include "parser.h" #include <stdio.h> #include <string.h> parser::parser( errors_ptr...
23.665301
100
0.401605
[ "vector" ]
e03c1af6ef646165d6491a14f1df8dc5b6718adf
979
cpp
C++
uva/10004.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
uva/10004.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
uva/10004.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (UVa) 10004 #include <bits/stdc++.h> #define GET(x) scanf("%d", &x) #define GED(x) scanf("%lf", &x) typedef long long ll; using namespace std; typedef pair<int, int> ii; int n, l; int main() { int u, v; while (GET(n) && n) { GET(l); vector<unordered_set<int>...
20.395833
57
0.493361
[ "vector" ]
e0414726d0f4063117c06e43a27b4e17435940b8
9,094
cpp
C++
src/CX_Private.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
7
2015-02-19T21:21:34.000Z
2022-03-18T13:38:20.000Z
src/CX_Private.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
null
null
null
src/CX_Private.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
4
2018-02-16T12:56:13.000Z
2022-03-23T01:27:33.000Z
#include "CX_Private.h" #include "GLFW/glfw3.h" #include "CX_Mouse.h" namespace CX { namespace Private { //////////////////// // CX_GLFenceSync // //////////////////// CX_GLFenceSync::CX_GLFenceSync(void) : _syncSuccess(false), _syncCompleteTime(-1), _syncStart(-1), _status(SyncStatus::NotStarted) {} void CX_...
24.846995
151
0.710798
[ "object", "vector" ]
e048a96e445657b0494fb85c917fe17dd07fba4d
663
cpp
C++
anole/objects/contobject.cpp
MU001999/amoeba
a2147f9cdef4741a07451178361ba2e76998ae30
[ "MIT" ]
8
2020-05-11T00:33:13.000Z
2022-01-29T07:09:57.000Z
anole/objects/contobject.cpp
MU001999/amoeba
a2147f9cdef4741a07451178361ba2e76998ae30
[ "MIT" ]
34
2020-04-16T14:23:43.000Z
2021-12-12T11:44:08.000Z
anole/objects/contobject.cpp
MU001999/amoeba
a2147f9cdef4741a07451178361ba2e76998ae30
[ "MIT" ]
14
2020-09-02T13:30:00.000Z
2021-01-05T12:21:52.000Z
#include "objects.hpp" #include "../runtime/runtime.hpp" namespace anole { ContObject::ContObject(SPtr<Context> resume) : Object(ObjectType::Continuation) , resume_(std::make_shared<Context>(*resume)) { // ... } SPtr<Context> ContObject::resume() { return resume_; } void ContObject::call(Size n) { i...
18.416667
61
0.659125
[ "object" ]
e04bec192d03edbf0f5747f1460ca0f88ed6d681
1,536
cpp
C++
source/component/routine.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
5
2020-03-25T14:46:23.000Z
2022-02-23T01:46:26.000Z
source/component/routine.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
1
2022-01-14T00:01:48.000Z
2022-01-14T00:01:48.000Z
source/component/routine.cpp
synaodev/LeviathanRacket
c70dfddf0097c7f4e902ec5de46a6eabed5a4691
[ "MIT" ]
2
2020-03-25T14:46:24.000Z
2020-08-21T04:33:23.000Z
#include "./routine.hpp" #include "./kontext.hpp" #include "../utility/logger.hpp" // Ctor Table static std::vector<void(*)(std::unordered_map<entt::id_type, routine_ctor_fn>&)>& get_ctor_callback_list() { static std::vector<void(*)(std::unordered_map<entt::id_type, routine_ctor_fn>&)> ctor_callback_list; return ct...
28.981132
216
0.726563
[ "vector" ]
e069c680deb85a063525da916a4495a1acc4d17a
3,194
cpp
C++
USACO/Training Pages/Chapter 6/wissqu.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
USACO/Training Pages/Chapter 6/wissqu.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
USACO/Training Pages/Chapter 6/wissqu.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
/* ID: vamaddu1 PROG: wissqu LANG: C++11 */ #define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <d...
29.036364
155
0.557921
[ "vector" ]
e071bdc6a22da943c46ffc920fc1dc5f033ba1a7
9,373
cpp
C++
applications/qTox/test/net/toxmedata_test.cpp
gaohangaohan/qkd-net
90f52104412b5c5c82668362dbd3e4791261f332
[ "MIT" ]
17
2019-04-21T14:10:57.000Z
2022-03-26T09:32:53.000Z
applications/qTox/test/net/toxmedata_test.cpp
gaohangaohan/qkd-net
90f52104412b5c5c82668362dbd3e4791261f332
[ "MIT" ]
22
2019-01-11T19:13:44.000Z
2022-02-26T17:58:32.000Z
applications/qTox/test/net/toxmedata_test.cpp
gaohangaohan/qkd-net
90f52104412b5c5c82668362dbd3e4791261f332
[ "MIT" ]
17
2019-03-06T17:29:29.000Z
2021-08-10T10:17:09.000Z
/* Copyright © 2017 by The qTox Project Contributors This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
32.32069
93
0.633735
[ "object" ]
e073a27f0be56719f120a6185a249a4ee48315f2
5,493
cpp
C++
test/hook.cpp
ergo720/lib86cpu
e8f7dd7233f9f6011bb68f5e3a57f966e9aed6a7
[ "BSD-2-Clause" ]
12
2019-11-15T20:43:46.000Z
2022-03-29T13:03:34.000Z
test/hook.cpp
ergo720/lib86cpu
e8f7dd7233f9f6011bb68f5e3a57f966e9aed6a7
[ "BSD-2-Clause" ]
null
null
null
test/hook.cpp
ergo720/lib86cpu
e8f7dd7233f9f6011bb68f5e3a57f966e9aed6a7
[ "BSD-2-Clause" ]
2
2022-03-17T05:36:24.000Z
2022-03-17T06:02:29.000Z
/* * lib86cpu hook api test generator * * ergo720 Copyright (c) 2021 */ #include "run.h" #if _MSC_VER #define FASTCALL __fastcall #define STDCALL __stdcall #define CDECL __cdecl #else #error Don't know how to specify calling conventions with this compiler #endif static uint8_t ho...
35.43871
153
0.67049
[ "vector" ]
2fe0557f263c8247d3b7a63d40fd30213ac966a7
50,448
cpp
C++
src/lib/mutation.cpp
ultimatesource/mutk
6500fa48da752cc84802c464679ec4c1ebd840ea
[ "MIT" ]
1
2021-04-14T20:05:06.000Z
2021-04-14T20:05:06.000Z
src/lib/mutation.cpp
ultimatesource/mutk
6500fa48da752cc84802c464679ec4c1ebd840ea
[ "MIT" ]
2
2020-02-04T01:19:34.000Z
2021-09-07T04:11:12.000Z
src/lib/mutation.cpp
ultimatesource/mutk
6500fa48da752cc84802c464679ec4c1ebd840ea
[ "MIT" ]
1
2021-04-22T22:28:05.000Z
2021-04-22T22:28:05.000Z
/* # Copyright (c) 2014-2020 Reed A. Cartwright <reed@cartwright.ht> # # This file is part of the Ultimate Source Code Project. # # 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 restr...
34.936288
108
0.499465
[ "shape", "vector", "model" ]
2fea7cbc75ee8528622d6be1b5c6c5bad190fa09
17,192
cpp
C++
2000/utils/brep/samples/brepsamp/brfdump.cpp
kevinzhwl/ObjectARXCore
ce09e150aa7d87675ca15c9416497c0487e3d4d4
[ "MIT" ]
12
2015-10-05T07:11:57.000Z
2021-11-20T10:22:38.000Z
2000/utils/brep/samples/brepsamp/brfdump.cpp
HelloWangQi/ObjectARXCore
ce09e150aa7d87675ca15c9416497c0487e3d4d4
[ "MIT" ]
null
null
null
2000/utils/brep/samples/brepsamp/brfdump.cpp
HelloWangQi/ObjectARXCore
ce09e150aa7d87675ca15c9416497c0487e3d4d4
[ "MIT" ]
14
2015-12-04T08:42:08.000Z
2022-01-08T02:09:23.000Z
// (C) Copyright 1996-1999 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
39.888631
82
0.650768
[ "geometry", "object" ]
2feac82f6c6f6be09c01822f81e4a5734e82ac68
2,209
hh
C++
test/field/UserField.test.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
test/field/UserField.test.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
test/field/UserField.test.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
31.557143
79
0.532368
[ "vector" ]
6401830571abbb95818de1c334c36d791cee10af
1,566
cpp
C++
problems/rainbowroadrace/submissions/accepted/rainbow-zf.cpp
icpc/na-rocky-mountain-2018-public
416a94258f99ab68ff7d9777faca55c94cdaf5f5
[ "MIT" ]
1
2022-03-22T16:34:26.000Z
2022-03-22T16:34:26.000Z
problems/rainbowroadrace/submissions/accepted/rainbow-zf.cpp
icpc/na-rocky-mountain-2018-public
416a94258f99ab68ff7d9777faca55c94cdaf5f5
[ "MIT" ]
null
null
null
problems/rainbowroadrace/submissions/accepted/rainbow-zf.cpp
icpc/na-rocky-mountain-2018-public
416a94258f99ab68ff7d9777faca55c94cdaf5f5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #define MAXN (7*7*7) #define INF (1ll<<60) using namespace std; typedef long long ll; struct edge { int u, v; ll d; }; int main() { int cindex[256]; const char *colours = "ROYGBIV"; ll g[MAXN][MAXN]; vector<edge> streets[7]; for (int i = 0; i < 7...
24.092308
92
0.372925
[ "vector" ]
64139896d7b1e1c949fcd2d87b417e74a5691e67
20,075
cpp
C++
body-tracking-samples/simple_3d_skeleton_save/main.cpp
johg90/Azure-Kinect-Samples
4c538bae58b0b94d460b1ab7b258ba4335fa0677
[ "MIT" ]
null
null
null
body-tracking-samples/simple_3d_skeleton_save/main.cpp
johg90/Azure-Kinect-Samples
4c538bae58b0b94d460b1ab7b258ba4335fa0677
[ "MIT" ]
null
null
null
body-tracking-samples/simple_3d_skeleton_save/main.cpp
johg90/Azure-Kinect-Samples
4c538bae58b0b94d460b1ab7b258ba4335fa0677
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <array> #include <iostream> #include <map> #include <vector> #include <k4arecord/playback.h> #include <k4a/k4a.h> #include <k4abt.h> #include <BodyTrackingHelpers.h> #include <Utilities.h> #include <Window3dWrappe...
37.94896
135
0.617086
[ "render", "vector", "3d" ]
64198973f41e03d750c4e61689db81893ca357f5
1,231
hh
C++
src/pks/energy/energy_tcm_registration.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/energy/energy_tcm_registration.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/energy/energy_tcm_registration.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Energy Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Ethan Coon Self-registering factory for TCM implementations. ...
27.977273
110
0.773355
[ "model" ]
641cbd418641e4f4707d3a4a0df3db0b9856ce13
561
hpp
C++
include/eigenml/core/vectors/sorting.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
include/eigenml/core/vectors/sorting.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
include/eigenml/core/vectors/sorting.hpp
guillempalou/eigenml
3991ddbfd01032cbbe698f6ec35eecbfe127e9b4
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <numeric> #include <algorithm> #include <eigenml/core/types.hpp> namespace eigenml { namespace core { template <typename T> std::vector<size_t> argsort(const T& v) { // initialize original index locations std::vector<size_t> idx(v.size()); // fills idx[i] =...
24.391304
102
0.588235
[ "vector" ]
642445a4e7b258c0dbb35f6e82551e8d3a165cbb
297
cpp
C++
leetcode/problems/121.Best-Time-to-Buy-and-Sell-Stock.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-08T19:28:40.000Z
2020-10-08T19:28:40.000Z
leetcode/problems/121.Best-Time-to-Buy-and-Sell-Stock.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
null
null
null
leetcode/problems/121.Best-Time-to-Buy-and-Sell-Stock.cpp
leohr/competitive-programming
f97488e0cb777c1df78257ce2644ac4ff8191267
[ "MIT" ]
1
2020-10-24T02:32:27.000Z
2020-10-24T02:32:27.000Z
class Solution { public: int maxProfit(vector<int>& prices) { int ans = 0; int cmin = prices[0]; for (int i = 1; i < prices.size(); ++i) { ans = max(ans, prices[i] - cmin); cmin = min(cmin, prices[i]); } return ans; } };
24.75
49
0.451178
[ "vector" ]
6433eabdf1a769ed9e77e033bb6b2df7b50c2eff
1,118
cpp
C++
Medium/Remove Duplicates from Sorted Array II.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Remove Duplicates from Sorted Array II.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Remove Duplicates from Sorted Array II.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
//Runtime: 4 ms, faster than 86.14% of C++ online submissions for Remove Duplicates from Sorted Array II. class Solution { public: int removeDuplicates(vector<int>& nums) { ios_base::sync_with_stdio(false); cin.tie(NULL); int i=0,c=1; for (int j = 1 ; j < nums.size(); j++) ...
23.291667
105
0.384615
[ "vector" ]
6439db9254c6f2b737f13324a18ffc49d7aa8d86
1,580
cpp
C++
benchmark/bench_fwd_ntt.cpp
tgonzalez89-intel/hexl-fpga
2ac91d65cd623c03eb6b27708ddfbbffb2ed127a
[ "Apache-2.0" ]
null
null
null
benchmark/bench_fwd_ntt.cpp
tgonzalez89-intel/hexl-fpga
2ac91d65cd623c03eb6b27708ddfbbffb2ed127a
[ "Apache-2.0" ]
null
null
null
benchmark/bench_fwd_ntt.cpp
tgonzalez89-intel/hexl-fpga
2ac91d65cd623c03eb6b27708ddfbbffb2ed127a
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include <benchmark/benchmark.h> #include <random> #include <vector> #include "hexl-fpga.h" class ntt : public benchmark::Fixture { public: void load_ntt_data(size_t work_size); void fpga_ntt_test(size_t work_size); private...
25.079365
75
0.660759
[ "vector" ]
643bdd1e4ef6ffc368910dfcf9405f98a0e1131a
1,582
cpp
C++
aws-cpp-sdk-grafana/source/model/SamlAuthentication.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-grafana/source/model/SamlAuthentication.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-grafana/source/model/SamlAuthentication.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/grafana/model/SamlAuthentication.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
20.815789
111
0.752212
[ "model" ]
643c19b4355f898cd61475402358e59a68fcd545
2,169
hpp
C++
SigTM/lib/helper/compare_method.hpp
regenschauer490/TopicModel
d9a2be5801d7e4da7429bca828039accf1b30033
[ "MIT" ]
null
null
null
SigTM/lib/helper/compare_method.hpp
regenschauer490/TopicModel
d9a2be5801d7e4da7429bca828039accf1b30033
[ "MIT" ]
null
null
null
SigTM/lib/helper/compare_method.hpp
regenschauer490/TopicModel
d9a2be5801d7e4da7429bca828039accf1b30033
[ "MIT" ]
null
null
null
/* Copyright(c) 2014 Akihiro Nishimura This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef SIG_COMPARE_METHOD_HPP #define SIG_COMPARE_METHOD_HPP #include "SigUtil/lib/distance/cosine_similarity.hpp" #include "SigUtil/lib/distance/KL_divergence.hpp" ...
22.59375
126
0.675888
[ "vector" ]
6443f2c2944f10ed5aa5e2ec2698eb23410d0561
9,613
cpp
C++
pbrt/src/core/probes.cpp
benjaminum/surface-reconstruction-benchmark
c9e7516297620ba01fc91917f0186fbe677bbf7c
[ "BSD-2-Clause" ]
39
2019-03-28T03:02:41.000Z
2022-01-28T14:45:04.000Z
pbrt/src/core/probes.cpp
benjaminum/surface-reconstruction-benchmark
c9e7516297620ba01fc91917f0186fbe677bbf7c
[ "BSD-2-Clause" ]
8
2020-09-08T16:02:42.000Z
2021-05-25T06:36:16.000Z
pbrt/src/core/probes.cpp
benjaminum/surface-reconstruction-benchmark
c9e7516297620ba01fc91917f0186fbe677bbf7c
[ "BSD-2-Clause" ]
12
2018-11-14T02:01:56.000Z
2022-01-21T06:47:16.000Z
/* pbrt source code Copyright(c) 1998-2010 Matt Pharr and Greg Humphreys. This file is part of pbrt. pbrt is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
26.777159
96
0.655571
[ "shape" ]
6455fe888df1fa783a7007690c734830405a5c86
4,802
hpp
C++
oanda_v20/include/oanda/v20/order/GuaranteedStopLossOrderRequest.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
oanda_v20/include/oanda/v20/order/GuaranteedStopLossOrderRequest.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
oanda_v20/include/oanda/v20/order/GuaranteedStopLossOrderRequest.hpp
CodeRancher/offcenter_oanda
c7817299b2c7199508307b2379179923e3f60fdc
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Scott Brauer * * 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...
37.811024
127
0.747813
[ "object", "vector" ]
645abe45c80bb04a34f784a30e630f2c3c26158a
5,280
cpp
C++
Codeforces/265_1/B.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Codeforces/265_1/B.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Codeforces/265_1/B.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
// clang-format off #include<bits/stdc++.h> // g++ -std=c++17 -Wl,-stack_size -Wl,0x10000000 main.cpp #define mp make_pair #define pu push_back #define INF 1e18 #define MOD 1000000007 #define EPS 1e-6 #define ll long long int #define ld long double #define fi first #define se second #define t1(x) cerr<<#...
33.207547
222
0.52178
[ "vector" ]
645b1daf2edd019f586cf3654c24c76ef61bb5cf
2,507
cpp
C++
external/webkit/Source/WebCore/bindings/v8/ScriptInstance.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
WebKit/Source/WebCore/bindings/v8/ScriptInstance.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
WebKit/Source/WebCore/bindings/v8/ScriptInstance.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2008, 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of co...
29.845238
75
0.74272
[ "object" ]
645bf97f118b53d7a18d419104d5e441d8bd9076
9,216
cc
C++
entropy_tests/entropy.cc
pdillinger/wormhashing
9d4e10bbae4c02dd4fbb03c84fb81388c62f74e7
[ "MIT" ]
7
2019-09-04T05:35:55.000Z
2021-11-23T07:07:25.000Z
entropy_tests/entropy.cc
pdillinger/wormhashing
9d4e10bbae4c02dd4fbb03c84fb81388c62f74e7
[ "MIT" ]
null
null
null
entropy_tests/entropy.cc
pdillinger/wormhashing
9d4e10bbae4c02dd4fbb03c84fb81388c62f74e7
[ "MIT" ]
null
null
null
/* Copyright (c) Peter C. Dillinger Copyright (c) Facebook, Inc. and its affiliates. 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...
31.77931
96
0.573351
[ "vector" ]
645dd6825a119f6291a66c84f5f978a5fd42cd17
8,363
cxx
C++
source/module/pyuno_util.cxx
hanya/pyuno3
71a8bcccf382e7afe37eedb1cfc0e0240c2319bd
[ "Apache-2.0" ]
3
2018-03-02T11:47:07.000Z
2022-02-04T19:25:05.000Z
source/module/pyuno_util.cxx
hanya/pyuno3
71a8bcccf382e7afe37eedb1cfc0e0240c2319bd
[ "Apache-2.0" ]
null
null
null
source/module/pyuno_util.cxx
hanya/pyuno3
71a8bcccf382e7afe37eedb1cfc0e0240c2319bd
[ "Apache-2.0" ]
null
null
null
/************************************************************** * * 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...
31.919847
109
0.628841
[ "object" ]
64611c002e82e4f828e8a85d647c77fbea8cc538
8,237
cc
C++
src/bgp/test/xmpp_sess_toggle_test.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
3
2019-01-11T06:16:40.000Z
2021-02-24T23:48:21.000Z
src/bgp/test/xmpp_sess_toggle_test.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
null
null
null
src/bgp/test/xmpp_sess_toggle_test.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
2
2019-02-06T12:52:00.000Z
2019-04-11T23:19:28.000Z
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <fstream> #include <sstream> #include <boost/assign/list_of.hpp> #include "bgp/bgp_peer_membership.h" #include "bgp/bgp_session_manager.h" #include "bgp/bgp_xmpp_channel.h" #include "bgp/test/bgp_server_test_util.h" #include "control-...
30.735075
82
0.625106
[ "object", "vector" ]
64690ed40cbf79f40e95e72e3314df7812f709ab
21,181
cpp
C++
ARP/BE/MiniBucket.cpp
dechterlab/CVO
1085223ef383584837d6ac4ff723b9ff54b05071
[ "MIT" ]
null
null
null
ARP/BE/MiniBucket.cpp
dechterlab/CVO
1085223ef383584837d6ac4ff723b9ff54b05071
[ "MIT" ]
null
null
null
ARP/BE/MiniBucket.cpp
dechterlab/CVO
1085223ef383584837d6ac4ff723b9ff54b05071
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <memory.h> #include <Function.hxx> #include <Bucket.hxx> #include <MBEworkspace.hxx> #include <Bucket.hxx> #include <MiniBucket.hxx> #include <Sort.hxx> BucketElimination::MiniBucket::MiniBucket(void) : _Workspace(NULL), _IDX(-1), _Width(-1), _Signature(NULL), _SortedSignature(N...
29.706872
208
0.667249
[ "vector" ]
646d818f4c34a688ca4ce6857948aa979e570684
12,352
cpp
C++
src/core/ScriptManager.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/core/ScriptManager.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/core/ScriptManager.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
#include <NovelTea/ScriptManager.hpp> #include <NovelTea/Game.hpp> #include <NovelTea/ActiveText.hpp> #include <NovelTea/Action.hpp> #include <NovelTea/Cutscene.hpp> #include <NovelTea/Dialogue.hpp> #include <NovelTea/DialogueSegment.hpp> #include <NovelTea/Object.hpp> #include <NovelTea/ObjectList.hpp> #include <Novel...
37.889571
142
0.76692
[ "object", "vector" ]
647c659b82aafb63fca22afc8bb6f62eea899dc2
5,207
cpp
C++
src/cc/eval.cpp
sg777/chips
2ee80e2024b59a97b915ee85f672faa254f71e32
[ "MIT" ]
5
2017-12-30T19:20:14.000Z
2021-05-29T22:36:14.000Z
src/cc/eval.cpp
sg777/chips
2ee80e2024b59a97b915ee85f672faa254f71e32
[ "MIT" ]
9
2020-08-12T23:08:04.000Z
2022-03-01T11:34:25.000Z
src/cc/eval.cpp
sg777/chips
2ee80e2024b59a97b915ee85f672faa254f71e32
[ "MIT" ]
19
2017-08-29T02:08:40.000Z
2021-05-22T09:14:09.000Z
#include <assert.h> #include <cryptoconditions.h> #include "primitives/transaction.h" #include "chainparams.h" #include "script/cc.h" #include "cc/eval.h" #include "chain.h" #include "core_io.h" #include "validation.h" Eval* EVAL_TEST = 0; bool RunCCEval(const CC *cond, const CTransaction &tx, unsigned int nIn) { ...
25.52451
101
0.627041
[ "vector" ]
648098c587bd0e450d338d89bd18c0ee2170bd95
11,272
cpp
C++
costmap_converter-master/src/costmap_to_lines_ransac.cpp
RuidongDavidLin/CUMTB_gazebo
a190c1dc17a587c789b5d856b3ee1b6de45e5503
[ "MIT" ]
1
2021-01-10T10:52:03.000Z
2021-01-10T10:52:03.000Z
costmap_converter-master/src/costmap_to_lines_ransac.cpp
RuidongDavidLin/CUMTB_gazebo
a190c1dc17a587c789b5d856b3ee1b6de45e5503
[ "MIT" ]
1
2020-11-12T09:53:16.000Z
2020-11-12T09:53:16.000Z
costmap_converter-master/src/costmap_to_lines_ransac.cpp
RuidongDavidLin/CUMTB_gazebo
a190c1dc17a587c789b5d856b3ee1b6de45e5503
[ "MIT" ]
null
null
null
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2016, * TU Dortmund - Institute of Control Theory and Systems Engineering. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
32.862974
149
0.655252
[ "vector", "model" ]
6484dc47734fb258894a7629d373ca76c7069ea3
2,655
cpp
C++
rtx/core/geometry/cylinder.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
28
2018-09-06T18:08:28.000Z
2021-12-19T13:30:41.000Z
rtx/core/geometry/cylinder.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
3
2019-03-01T02:50:15.000Z
2019-06-25T08:12:21.000Z
rtx/core/geometry/cylinder.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
8
2018-10-26T12:05:52.000Z
2019-09-04T05:14:24.000Z
#include "cylinder.h" #include "../header/enum.h" namespace rtx { CylinderGeometry::CylinderGeometry(float radius, float height) : Geometry() { _radius = radius; _y_max = height / 2.0f; _y_min = -height / 2.0f; _height = height; _transformation_matrix = glm::mat4(1.0f); } int CylinderGeometry::...
40.846154
159
0.717514
[ "geometry" ]
64868046c9a8d1b45f9f38c6de27509e9aec9089
34,513
cc
C++
content/browser/accessibility/browser_accessibility.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/accessibility/browser_accessibility.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/accessibility/browser_accessibility.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2012 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 "content/browser/accessibility/browser_accessibility.h" #include <stddef.h> #include <algorithm> #include <iterator> #include "base/loggin...
32.105116
80
0.710805
[ "geometry", "object", "vector" ]
52c0f85b38c05ecdbccc77e3f11d0970ed165a8c
4,755
cc
C++
media/gpu/gpu_video_encode_accelerator_helpers.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
media/gpu/gpu_video_encode_accelerator_helpers.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
media/gpu/gpu_video_encode_accelerator_helpers.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 2018 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 "media/gpu/gpu_video_encode_accelerator_helpers.h" #include <algorithm> #include "base/check_op.h" #include "base/notreached.h" namespace medi...
40.641026
80
0.714406
[ "vector" ]
52c462c5230dcf47fc9864fdf4a70c8c90dc7aa0
2,901
cc
C++
burnsuper.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
burnsuper.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
burnsuper.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <dirent.h> #include "urb.hh" #include "zone.hh" #include "cudamem.hh" #include "numutils.hh" #include "imgutils.hh" #include "superenc.hh" #include "cholo.hh" #include "strutils.hh" #include "partrait.hh" #include "catalog.hh" #include "supergen.hh" #include "tmutils.hh"...
19.34
55
0.564633
[ "vector" ]
52c576c06ad8023ede632700c546afc1453c9ec1
6,891
hpp
C++
src/controller/VoiceSocket.hpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
11
2020-05-16T08:41:15.000Z
2022-03-19T23:03:42.000Z
src/controller/VoiceSocket.hpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
4
2020-05-15T06:59:01.000Z
2020-10-06T18:13:23.000Z
src/controller/VoiceSocket.hpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
5
2020-05-16T09:06:39.000Z
2021-02-23T21:12:46.000Z
/* * MIT License * * Copyright (c) 2020 Christian Tost * * 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, m...
37.862637
125
0.551734
[ "object", "vector" ]
52c6c805b83f7b3125c92e40c30771d9192746e5
12,058
cpp
C++
include/et/scene3d/drawer/drawflow.cpp
sergeyreznik/et-engine
a95fe4b9c5db0e873361f36908de284d0ae4b6d6
[ "BSD-3-Clause" ]
55
2015-01-13T22:50:36.000Z
2022-02-26T01:55:02.000Z
include/et/scene3d/drawer/drawflow.cpp
sergeyreznik/et-engine
a95fe4b9c5db0e873361f36908de284d0ae4b6d6
[ "BSD-3-Clause" ]
4
2015-01-17T01:57:42.000Z
2016-07-29T07:49:27.000Z
include/et/scene3d/drawer/drawflow.cpp
sergeyreznik/et-engine
a95fe4b9c5db0e873361f36908de284d0ae4b6d6
[ "BSD-3-Clause" ]
10
2015-01-17T18:46:44.000Z
2021-05-21T09:19:13.000Z
/* * This file is part of `et engine` * Copyright 2009-2016 by Sergey Reznik * Please, modify content only if you know what are you doing. * */ #include <et/scene3d/drawer/drawflow.h> namespace et { namespace s3d { const TextureFormat HDRTextureFormat = TextureFormat::RGBA32F; HDRFlow::HDRFlow(RenderInterface:...
39.534426
167
0.755598
[ "render" ]
52cc276cd63fa489e52c24a354e93a6a1ac3d918
28,881
hpp
C++
xfinal/http_handler.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
57
2019-05-14T09:55:14.000Z
2022-03-17T07:08:55.000Z
xfinal/http_handler.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
12
2019-05-18T02:34:48.000Z
2021-06-29T15:30:41.000Z
xfinal/http_handler.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
22
2019-06-15T10:09:33.000Z
2022-01-18T09:24:25.000Z
#pragma once #include <string> #include "string_view.hpp" #include <map> #include "content_type.hpp" #include "files.hpp" #include <unordered_map> #include <asio.hpp> #include "response_status.hpp" #include <vector> #include <tuple> #include "inja.hpp" #include "session.hpp" #include "any.hpp" namespace xfinal { clas...
30.305352
186
0.656245
[ "render", "vector" ]
52cd23ecf4377763518ff9feaeec90970b9cbeaa
50,560
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/MSNet.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/MSNet.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/MSNet.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
37.816006
181
0.640922
[ "vector", "model" ]
52cdb8cb46f9ad29ae3124cfec7ee6406ba95930
9,218
cc
C++
INET_EC/applications/voipstream/VoIPStreamReceiver.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
12
2020-11-30T08:04:23.000Z
2022-03-23T11:49:26.000Z
Simulation/OMNeT++/inet/src/inet/applications/voipstream/VoIPStreamReceiver.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
1
2021-01-26T10:49:56.000Z
2021-01-31T16:58:52.000Z
Simulation/OMNeT++/inet/src/inet/applications/voipstream/VoIPStreamReceiver.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
8
2021-03-15T02:05:51.000Z
2022-03-21T13:14:02.000Z
// // Copyright (C) 2005 M. Bohge (bohge@tkn.tu-berlin.de), M. Renwanz // Copyright (C) 2010 Zoltan Bojthe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the...
34.916667
156
0.691473
[ "model" ]
52dd7be596e375b00cb2b23cabef34cf478befda
2,837
cpp
C++
src/HAL/Internal/SdlSurface.cpp
gameraccoon/hide-and-seek
c6ddc6419e041f0d63f6d4497dd5b95aaa54ef25
[ "MIT" ]
3
2021-02-19T09:14:29.000Z
2022-03-08T08:35:45.000Z
src/HAL/Internal/SdlSurface.cpp
gameraccoon/hide-and-seek
c6ddc6419e041f0d63f6d4497dd5b95aaa54ef25
[ "MIT" ]
1
2019-11-23T09:13:25.000Z
2020-04-18T20:12:04.000Z
src/HAL/Internal/SdlSurface.cpp
gameraccoon/hide-and-seek
c6ddc6419e041f0d63f6d4497dd5b95aaa54ef25
[ "MIT" ]
null
null
null
#include "Base/precomp.h" #include "SdlSurface.h" #include "Base/Debug/ConcurrentAccessDetector.h" #include <stdexcept> #include <string> #include <glew/glew.h> #include <sdl/SDL.h> #include <sdl/SDL_surface.h> #include <sdl/SDL_image.h> #ifdef CONCURRENT_ACCESS_DETECTION namespace HAL { extern ConcurrentAccessDet...
19.701389
81
0.684173
[ "render" ]
52dfb7ccc324285727514a768c4144bbf22ea1c8
9,195
cpp
C++
source/trt_engine/trt_network_crt/plugins/reflection_padding_plugin/reflection_padding_plugin.cpp
MirrorYu/Forward
55e9da5dad3b5f08f4ca52cdf92614c476bbf6f9
[ "BSD-3-Clause" ]
1
2021-03-24T11:49:35.000Z
2021-03-24T11:49:35.000Z
source/trt_engine/trt_network_crt/plugins/reflection_padding_plugin/reflection_padding_plugin.cpp
MirrorYu/Forward
55e9da5dad3b5f08f4ca52cdf92614c476bbf6f9
[ "BSD-3-Clause" ]
null
null
null
source/trt_engine/trt_network_crt/plugins/reflection_padding_plugin/reflection_padding_plugin.cpp
MirrorYu/Forward
55e9da5dad3b5f08f4ca52cdf92614c476bbf6f9
[ "BSD-3-Clause" ]
1
2021-07-23T04:27:22.000Z
2021-07-23T04:27:22.000Z
// Copyright (C) 2021 THL A29 Limited, a Tencent company. 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.0 // // Unless ...
40.328947
100
0.628603
[ "vector" ]
52eb2e766e3961a7f98f885b716c5eb595620505
52,152
cpp
C++
mrgRegression.cpp
wassfila/BPR
8887b59bcaab20e5f31afbe5742397519ad22e9e
[ "BSD-3-Clause" ]
1
2017-04-11T02:33:19.000Z
2017-04-11T02:33:19.000Z
mrgRegression.cpp
wassfila/BPR
8887b59bcaab20e5f31afbe5742397519ad22e9e
[ "BSD-3-Clause" ]
null
null
null
mrgRegression.cpp
wassfila/BPR
8887b59bcaab20e5f31afbe5742397519ad22e9e
[ "BSD-3-Clause" ]
null
null
null
#include "mrgRegression.h" #include "MultiCamStream.h" #include <time.h> #include <iostream> #include <fstream> #include <ppl.h> using namespace std; using namespace mrg; using namespace mcv; //------------------------------------------------------------------------------------------------------------------- //--...
34.814419
148
0.549778
[ "vector", "model" ]
52f34089b0e8698343d4aae0a5038010797892e8
7,722
cc
C++
mpi/alltoallv.cc
elliottslaughter/task-bench
7673970c03990ea5a04c302953da2c145fd9a0a4
[ "Apache-2.0" ]
null
null
null
mpi/alltoallv.cc
elliottslaughter/task-bench
7673970c03990ea5a04c302953da2c145fd9a0a4
[ "Apache-2.0" ]
null
null
null
mpi/alltoallv.cc
elliottslaughter/task-bench
7673970c03990ea5a04c302953da2c145fd9a0a4
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Stanford University * * 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 agree...
35.585253
80
0.658249
[ "vector" ]
52fcf8a12bee5e87e8af607534c1cc1227e12f99
1,754
cpp
C++
competitive programming/leetcode/2020-September-Challenge/Day-05-All Elements in Two Binary Search Trees.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/2020-September-Challenge/Day-05-All Elements in Two Binary Search Trees.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/2020-September-Challenge/Day-05-All Elements in Two Binary Search Trees.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: root1 = [2,1,4], root2 = [1,0,3] Output: [0,1,1,2,3,4] Example 2: Input: root1 = [0,-10,10], root2 = [5,1,7,0,2] Output: [-10,0,0,1,2,5,7,10] Example 3: Input: ro...
21.654321
93
0.580958
[ "vector" ]
52fda20107cb5d56e506fbac6f0956f4bc972a78
20,481
hpp
C++
crow_test05/books/jsoncons/json_filter.hpp
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
null
null
null
crow_test05/books/jsoncons/json_filter.hpp
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
null
null
null
crow_test05/books/jsoncons/json_filter.hpp
chanchann/Burger_client
548753124b563123a479f3e3a5a42f792001d673
[ "MIT" ]
3
2020-12-11T23:03:41.000Z
2022-01-20T09:52:28.000Z
// Copyright 2013 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_JSON_FILTER_HPP #define JSONCONS_JSON_FILTER_HPP #includ...
33.520458
143
0.61413
[ "shape" ]
5e0733ac120270d0b03419f258f953fcc3cd2f7f
35,373
cpp
C++
private/shell/ext/thumbvw/thisv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/thumbvw/thisv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/thumbvw/thisv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/* sample source code for IE4 view extension * * Copyright Microsoft 1996 * * This file implements the IShellView2 interface */ #include "precomp.h" #include "wininet.h" ///////////////////////////////////////////////////////////////////////////////////////////////////// STDMETHODIMP CThumbnailView::...
32.571823
119
0.473242
[ "object" ]
5e1ff64f3ee31e9ace0a33f1b7b23b5ef95378a6
1,885
cpp
C++
src/eepp/graphics/ctextureatlas.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/graphics/ctextureatlas.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/graphics/ctextureatlas.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
#include <eepp/graphics/ctextureatlas.hpp> namespace EE { namespace Graphics { cTextureAtlas::cTextureAtlas( const std::string& name ) : tResourceManager<cSubTexture> ( true ) { Name( name ); } cTextureAtlas::~cTextureAtlas() { } const std::string& cTextureAtlas::Name() const { return mName; } void cTextureAtla...
25.821918
157
0.711936
[ "vector" ]
5e258a12b11919fad006d89188973f5bbe9a44f9
5,374
cpp
C++
source/Util/SetParameters/SetParameters.cpp
YoungYan-0/mecheye_cpp_samples
a6d1431631b0b5ab064182b9cfa758b491b5099d
[ "BSD-3-Clause" ]
null
null
null
source/Util/SetParameters/SetParameters.cpp
YoungYan-0/mecheye_cpp_samples
a6d1431631b0b5ab064182b9cfa758b491b5099d
[ "BSD-3-Clause" ]
null
null
null
source/Util/SetParameters/SetParameters.cpp
YoungYan-0/mecheye_cpp_samples
a6d1431631b0b5ab064182b9cfa758b491b5099d
[ "BSD-3-Clause" ]
2
2022-03-24T02:24:00.000Z
2022-03-31T01:17:54.000Z
/******************************************************************************* *BSD 3-Clause License * *Copyright (c) 2016-2022, Mech-Mind Robotics *All rights reserved. * *Redistribution and use in source and binary forms, with or without *modification, are permitted provided that the following conditions are...
45.542373
100
0.678638
[ "vector", "3d" ]
5e27399c292fd9646b6619211843d86ba12d4223
5,351
tpp
C++
include/cinolib/arrow.tpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
include/cinolib/arrow.tpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
include/cinolib/arrow.tpp
francescozoccheddu/cinolib
6d6f7d359db673aca1c203a208f50e0a7a362b76
[ "MIT" ]
null
null
null
/******************************************************************************** * This file is part of CinoLib * * Copyright(C) 2022: Marco Livesu * * ...
44.22314
96
0.441413
[ "geometry", "vector" ]
5e287d0962b5cae5b0866880047db99d86052a5a
7,400
cpp
C++
src/image_intel.cpp
YADRO-KNS/obmc-yadro-fwupdate
388f4a004e4fe29ee55b964527088714c55f8c70
[ "Apache-2.0" ]
null
null
null
src/image_intel.cpp
YADRO-KNS/obmc-yadro-fwupdate
388f4a004e4fe29ee55b964527088714c55f8c70
[ "Apache-2.0" ]
3
2021-02-25T06:38:33.000Z
2021-03-16T12:00:22.000Z
src/image_intel.cpp
YADRO-KNS/obmc-yadro-fwupdate
388f4a004e4fe29ee55b964527088714c55f8c70
[ "Apache-2.0" ]
null
null
null
/* * SPDX-License-Identifier: Apache-2.0 * Copyright (C) 2020 YADRO. */ #include "config.h" #include "image_intel.hpp" #include "dbus.hpp" #include "subprocess.hpp" #include "tracer.hpp" #include <sys/mount.h> #include <unistd.h> #include <fstream> #include <regex> constexpr size_t IMAGE_A_ADDR = 0x20080000; c...
25.964912
84
0.567568
[ "vector" ]
5e30026f522ba9c411dc0eaf36d9d94db37e0177
620
hpp
C++
GameBoard.hpp
itsdegan/YahtC-
c040545b09dc016ab7fca34c01841d2ac5aa531d
[ "MIT" ]
null
null
null
GameBoard.hpp
itsdegan/YahtC-
c040545b09dc016ab7fca34c01841d2ac5aa531d
[ "MIT" ]
null
null
null
GameBoard.hpp
itsdegan/YahtC-
c040545b09dc016ab7fca34c01841d2ac5aa531d
[ "MIT" ]
null
null
null
#ifndef GAMEBOARD_H #define GAMEBOARD_H #include "Dice.hpp" #include "Player.hpp" #include <vector> class Player; class GameBoard{ private: Dice _dice; int _playerAmount; std::vector<Player*> _players; // Check if the players have moves left ie. scorecard has a spot // that can be filled. ...
20.666667
68
0.674194
[ "vector" ]
5e3f473212ee7f23926675bb4e680e58b5830179
2,280
cpp
C++
src/execution/seq_scan_executor.cpp
ZhanGHanG9991/bustub
8b51905623f843a83bcd0c50be2dd431110119ab
[ "MIT" ]
null
null
null
src/execution/seq_scan_executor.cpp
ZhanGHanG9991/bustub
8b51905623f843a83bcd0c50be2dd431110119ab
[ "MIT" ]
null
null
null
src/execution/seq_scan_executor.cpp
ZhanGHanG9991/bustub
8b51905623f843a83bcd0c50be2dd431110119ab
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // // BusTub // // seq_scan_executor.cpp // // Identification: src/execution/seq_scan_executor.cpp // // Copyright (c) 2015-2021, Carnegie Mellon University Database Group // //===-------------------------...
32.112676
110
0.616228
[ "vector" ]
1e13c937215eb9950990c0deb11045bc0d64e12b
2,414
cpp
C++
Code/Physics/Physical.cpp
4rlenrey/JumpHigh
af5f24c8b8fd2c46bb80f3b3e9755b419964d3da
[ "MIT" ]
8
2020-09-23T19:32:48.000Z
2022-01-18T16:43:47.000Z
Code/Physics/Physical.cpp
Haranoi17/JumpHigh
3cd5e47fb991d828e0843cf3bfb05511d2da7f9e
[ "MIT" ]
null
null
null
Code/Physics/Physical.cpp
Haranoi17/JumpHigh
3cd5e47fb991d828e0843cf3bfb05511d2da7f9e
[ "MIT" ]
5
2020-09-23T19:32:51.000Z
2022-03-11T06:18:07.000Z
#include "Physical.h" #include "VectorFunctions/VectorFunctions.h" #include <iostream> const float Physical::DEFAULT_MASS = 1.0f; const float Physical::ACCELERATION_SCALE = 7000.0f; const float Physical::GENERAL_FRICTION_FORCE_VALUE = 0.2f; const float Physical::MIN_SPEED_THRESHOLD = 1e-4; const sf::Vector2...
22.773585
131
0.654515
[ "object" ]
1e1c7b85ce619c82263028acf0bc6bdfbf825e56
3,672
cpp
C++
backend/BackendX11Base.cpp
wmww/Hedgehog
299c01e70224e43cbb3c853f4707ad9170c4c761
[ "MIT" ]
20
2017-10-01T05:13:35.000Z
2021-08-13T05:28:45.000Z
backend/BackendX11Base.cpp
wmww/Hedgehog
299c01e70224e43cbb3c853f4707ad9170c4c761
[ "MIT" ]
null
null
null
backend/BackendX11Base.cpp
wmww/Hedgehog
299c01e70224e43cbb3c853f4707ad9170c4c761
[ "MIT" ]
1
2018-12-10T15:59:16.000Z
2018-12-10T15:59:16.000Z
#include "BackendX11Base.h" #include <linux/input.h> // for BTN_LEFT and maybe other stuff #include <X11/Xlib.h> #include <X11/Xutil.h> // change to toggle debug statements on and off #define debug debug_off uint x11BtnToLinuxBtn(uint x11Btn) { switch (x11Btn) { case Button1: return BTN_LEFT; case Button2: r...
22.254545
117
0.697985
[ "geometry" ]
1e1d0b7e08f01fcb3aac900f3074b911d3ae4e59
3,183
cpp
C++
android-31/android/webkit/CookieManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/webkit/CookieManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/webkit/CookieManager.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./WebView.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./CookieManager.hpp" namespace android::webkit { // Fields // QJniObject forward CookieManager::CookieManager(QJniObject obj) : JObject(obj) {} // Constructors CookieManager::CookieManager() : JObject( "android.w...
20.14557
99
0.681118
[ "object" ]
1e295ee4f994599e6b4b713d1002408e94227046
7,584
cxx
C++
pandatool/src/pstatserver/pStatServer.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/pstatserver/pStatServer.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/pstatserver/pStatServer.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file pStatServer.cxx * @aut...
25.795918
78
0.698312
[ "3d" ]
1e2aaafeda6a5f84f8c379b87e9a9b1448012044
3,986
cpp
C++
src/core/mesh.cpp
RNG65536/MCRT
50feef7d3f02686923e14e50a630d17e79c3263c
[ "MIT" ]
3
2018-09-11T13:30:15.000Z
2021-01-27T11:01:55.000Z
src/core/mesh.cpp
RNG65536/MCRT
50feef7d3f02686923e14e50a630d17e79c3263c
[ "MIT" ]
null
null
null
src/core/mesh.cpp
RNG65536/MCRT
50feef7d3f02686923e14e50a630d17e79c3263c
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <sstream> #include "mesh.h" #include "numeric.h" template <typename T> static void dumpVector(const std::vector<T>& data, std::ofstream& ofs) { int len = sizeof(T) * static_cast<int>(data.size()); ofs.write((const char*)&len, sizeof(int)); ofs.write((const ch...
25.716129
80
0.543904
[ "mesh", "vector", "transform" ]