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
0d85065ed52c0a907164cb7450cd5652f31fdc2a
5,596
cpp
C++
cpp/cpp_libs/src/eigen_lib.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
cpp/cpp_libs/src/eigen_lib.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
cpp/cpp_libs/src/eigen_lib.cpp
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
/** * @file eigen_lib.cpp * @author Maximilian Harr <maximilian.harr@daimler.com> * @date 08.01.2016 * * @brief Performs linear algebra calculations using Eigen library * * * * Coding Standard: * wiki.ros.org/CppStyleGuide * https://google.github.io/styleguide/cppguide.html * ...
30.917127
100
0.579164
[ "vector", "3d" ]
0d88b6c9417b9608352ec31fba8d3712ca59b306
5,887
cpp
C++
Inheritance/Lesson1 abstract_interface_concrete/abstract_interface_concrete.cpp
Geek-a-Byte/Daily-Coding-Problems
d4c3147de4c345040c4b5dffebd72cd79bcfb8c4
[ "MIT" ]
1
2021-02-14T13:27:57.000Z
2021-02-14T13:27:57.000Z
Inheritance/Lesson1 abstract_interface_concrete/abstract_interface_concrete.cpp
Geek-a-Byte/OOP
d4c3147de4c345040c4b5dffebd72cd79bcfb8c4
[ "MIT" ]
null
null
null
Inheritance/Lesson1 abstract_interface_concrete/abstract_interface_concrete.cpp
Geek-a-Byte/OOP
d4c3147de4c345040c4b5dffebd72cd79bcfb8c4
[ "MIT" ]
null
null
null
//very imp source: https://www.codesdope.com/cpp-virtual-and-abstract/ /* //*Runtime polymorphism Runtime polymorphism is also known as dynamic polymorphism. In runtime polymorphism, the compiler matches the function call with the correct function definition at runtime, it is also called late binding/dynamic binding/...
40.6
160
0.744692
[ "object" ]
0d89f44efdbb54fa85abc37aa30d860670358bb6
4,479
cpp
C++
src/main.cpp
tomaszmj/openglpress
3e3f57197c185188f4fd2058c5b2b4dc7e4e85b9
[ "MIT" ]
null
null
null
src/main.cpp
tomaszmj/openglpress
3e3f57197c185188f4fd2058c5b2b4dc7e4e85b9
[ "MIT" ]
null
null
null
src/main.cpp
tomaszmj/openglpress
3e3f57197c185188f4fd2058c5b2b4dc7e4e85b9
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include <ShaderProgram.h> #include <GLFW/glfw3.h> #include <iostream> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <Textures.h> #include <SimpleCubeModel.h> #include <CubeModel.h> #include <CubeModelInside.h> #include <CylinderModel.h> #in...
38.947826
123
0.710203
[ "render", "object" ]
0d8dc0177c9817ba66271bc65e8609d91ad4b0d9
19,853
cpp
C++
Cpp/Docker/Mangler.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
5
2019-08-19T18:18:08.000Z
2019-12-13T19:26:03.000Z
Cpp/Docker/Mangler.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
3
2019-04-15T19:24:36.000Z
2020-02-29T13:09:07.000Z
Cpp/Docker/Mangler.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
2
2019-10-08T23:16:05.000Z
2019-12-18T22:58:04.000Z
#include "../../H/Docker/Mangler.h" #include "../../H/Nodes/Node.h" #include <iomanip> #include <sstream> vector<pair<string, vector<pair<string, pair<int, string>>>>> MANGLER::IDS; bool Functoin_Name_Is_Before_End_Of_Namespace = false; string MANGLER::Un_Mangle(string raw) { //try to find if there are any ...
28.898108
183
0.573465
[ "vector" ]
0d99d29a2aa6179825ea8ac6a4a4b0af2566d6fe
5,178
cc
C++
RAVL2/PatternRec/IO/FunctionIO.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/PatternRec/IO/FunctionIO.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/PatternRec/IO/FunctionIO.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2003, OmniPerception Ltd. // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here ...
42.442623
99
0.694477
[ "vector" ]
0d9e186a9f59726b598cd37c60195a8b8ec7898f
15,540
cpp
C++
assignment10/assignment10/game.cpp
mvillafranca0/HWassignmentsDirectX
d9019bd77c0f7380cb980baf4127c5c3d389de13
[ "MIT" ]
null
null
null
assignment10/assignment10/game.cpp
mvillafranca0/HWassignmentsDirectX
d9019bd77c0f7380cb980baf4127c5c3d389de13
[ "MIT" ]
null
null
null
assignment10/assignment10/game.cpp
mvillafranca0/HWassignmentsDirectX
d9019bd77c0f7380cb980baf4127c5c3d389de13
[ "MIT" ]
null
null
null
#include "MyDirectX.h" LPD3DXSPRITE sprite_obj; //font LPDIRECT3DTEXTURE9 font; LPD3DXSPRITE sprite_handler; struct TRANSFORM { D3DXVECTOR3 position; float xrot, yrot, zrot; float scale; }; const string APPTITLE = "Paddle 3D Game"; const int SCREENWIDTH = 640; const int SCREENHEIGHT =...
27.167832
100
0.553668
[ "render", "object", "vector", "model", "transform", "3d", "solid" ]
d3fdf422dbf59b3da3984c3418c0eed687dd9068
2,468
cpp
C++
CVUI/CVUI/main.cpp
LeiYangJustin/CVUI4CellularSolid
6fd13dfaf494d9e3800e95827502c4fd8a4f8210
[ "MIT" ]
null
null
null
CVUI/CVUI/main.cpp
LeiYangJustin/CVUI4CellularSolid
6fd13dfaf494d9e3800e95827502c4fd8a4f8210
[ "MIT" ]
null
null
null
CVUI/CVUI/main.cpp
LeiYangJustin/CVUI4CellularSolid
6fd13dfaf494d9e3800e95827502c4fd8a4f8210
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> // INCLUDE OPENCV DIR #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgcodecs/imgcodecs.hpp> #include <opencv2/opencv.hpp> #include <CGAL/bounding_box.h> #define THRESHOLD 1.0 #define MAXITER 3 //...
26.255319
106
0.711102
[ "vector" ]
311c8c57a16a821a09373080b8a5f9a8a8e45ac9
6,979
cpp
C++
src/UnitTest/unit_test.cpp
Jim61C/GMD_Tracker
6c522b26f664c259bd371214e44c9c2cd32c51d0
[ "MIT" ]
2
2018-04-14T14:33:30.000Z
2018-06-19T21:49:19.000Z
src/UnitTest/unit_test.cpp
Jim61C/GMD_Tracker
6c522b26f664c259bd371214e44c9c2cd32c51d0
[ "MIT" ]
null
null
null
src/UnitTest/unit_test.cpp
Jim61C/GMD_Tracker
6c522b26f664c259bd371214e44c9c2cd32c51d0
[ "MIT" ]
null
null
null
// shared_ptr::reset example #include <iostream> #include <memory> #include <boost/shared_ptr.hpp> #include <helper/bounding_box.h> #include <helper/CommonCV.h> #include <Eigen/Dense> #include "../rapidxml/rapidxml.hpp" #include "../rapidxml/rapidxml_utils.hpp" #include <assert.h> #include <string.h> using namespace st...
29.95279
197
0.565411
[ "object", "vector" ]
311e5441c95322b62d242cfcef97dfdebd65fbe1
67,200
cpp
C++
source/blender/vr/intern/vr_widget_loopcut.cpp
sigmike/blender
f7f4c42a71d5c69362d9ef0b757216accebf56f3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
source/blender/vr/intern/vr_widget_loopcut.cpp
sigmike/blender
f7f4c42a71d5c69362d9ef0b757216accebf56f3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
source/blender/vr/intern/vr_widget_loopcut.cpp
sigmike/blender
f7f4c42a71d5c69362d9ef0b757216accebf56f3
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program 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 (at your option) any later version. * * This program is d...
29.268293
198
0.601503
[ "mesh", "render", "object", "shape", "vector", "transform", "3d" ]
31268adbfd76ce737f08a4e2d17d16db86b89d60
52,322
cpp
C++
src/alm2.cpp
anyks/alm
e168ae3c2be39ff2349e266253dd43f4b237eddd
[ "MIT" ]
40
2020-02-17T19:36:19.000Z
2022-03-04T09:41:54.000Z
src/alm2.cpp
anyks/alm
e168ae3c2be39ff2349e266253dd43f4b237eddd
[ "MIT" ]
1
2020-08-03T21:25:37.000Z
2020-08-04T22:04:26.000Z
src/alm2.cpp
anyks/alm
e168ae3c2be39ff2349e266253dd43f4b237eddd
[ "MIT" ]
3
2020-05-22T14:10:59.000Z
2021-04-10T17:24:12.000Z
/** * author: Yuriy Lobarev * telegram: @forman * phone: +7(910)983-95-90 * email: forman@anyks.com * site: https://anyks.com */ #include <alm.hpp> /** * exist Метод проверки существования последовательности * @param seq список слов последовательности * @return результат проверки */ cons...
36.691445
183
0.663602
[ "vector" ]
31275b304d88c31904934afc88ba102c2cad4aa6
20,010
cpp
C++
qtdeclarative/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdeclarative/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdeclarative/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid comme...
38.77907
149
0.65907
[ "render", "object" ]
31281c65d0d7f80be65b3b77b31c9b7411291b72
2,491
cpp
C++
src/Mesh.cpp
jonixis/Crest
dc2397775262ff4edfba7354398917a5070586b4
[ "MIT" ]
null
null
null
src/Mesh.cpp
jonixis/Crest
dc2397775262ff4edfba7354398917a5070586b4
[ "MIT" ]
null
null
null
src/Mesh.cpp
jonixis/Crest
dc2397775262ff4edfba7354398917a5070586b4
[ "MIT" ]
null
null
null
#include "Mesh.h" #include <iostream> #include <memory> #include "Renderer.h" Mesh::Mesh(const std::vector<Vertex> &vertices, const std::vector<unsigned int> &indices) : m_vertices(vertices), m_indices(indices) { init(); ...
29.305882
113
0.607788
[ "mesh", "vector", "model" ]
312b0d93efdfa4b6a056da6bd13ab5b0f63cd95e
2,682
cpp
C++
almostsorted.cpp
rishavpramanik/hackerrankpers
b452731af65239f152a4578de4a1a20588a94d86
[ "MIT" ]
1
2021-08-19T21:28:43.000Z
2021-08-19T21:28:43.000Z
almostsorted.cpp
rishavpramanik/hackerrankpers
b452731af65239f152a4578de4a1a20588a94d86
[ "MIT" ]
2
2021-09-29T20:02:44.000Z
2021-09-29T20:07:05.000Z
almostsorted.cpp
rishavpramanik/hackerrankpers
b452731af65239f152a4578de4a1a20588a94d86
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<string> split_string(string); //Case 1 : Increasing --> Decreasing --> Increasing pair<bool,pair<int,int> > isCase1(vector<int>arr,int n){ int i = 0; while(i<n-1 && arr[i]<arr[i+1]){ i++; } int peak_loc = i; while(i<n-1 && a...
27.090909
113
0.51305
[ "vector" ]
312d9a2360326008f26a2c2918c860c5073b21c0
2,713
cpp
C++
Dijkstra/d-ary.cpp
AngusRitossa/Heaps
0658004f4a209387de2fb1490ce0c1ae890b40de
[ "MIT" ]
4
2018-07-10T07:34:25.000Z
2021-08-20T05:21:11.000Z
Dijkstra/d-ary.cpp
AngusRitossa/Heaps
0658004f4a209387de2fb1490ce0c1ae890b40de
[ "MIT" ]
null
null
null
Dijkstra/d-ary.cpp
AngusRitossa/Heaps
0658004f4a209387de2fb1490ce0c1ae890b40de
[ "MIT" ]
null
null
null
// Dijkstra's algorithm implemented with a d-ary heap: O((v + e) log v) #include <cstdio> #include <vector> #include <utility> #include <queue> #include <chrono> using namespace std; using namespace chrono; #define D 16 #define MAXN 1000001 typedef long long ll; struct daryheap { ll heap[MAXN]; int node[MAXN]; int a...
18.086667
90
0.574272
[ "vector" ]
3139d25482b13a142621e7996b9c0f25167dca11
25,812
cxx
C++
etf/src/TAMWDCArray.cxx
asiarabbit/BINGER
f525a7445be1aa3ac3f8fb235f6097c999f25f2d
[ "MIT" ]
1
2017-11-23T14:47:47.000Z
2017-11-23T14:47:47.000Z
etf/src/TAMWDCArray.cxx
asiarabbit/BINGER
f525a7445be1aa3ac3f8fb235f6097c999f25f2d
[ "MIT" ]
null
null
null
etf/src/TAMWDCArray.cxx
asiarabbit/BINGER
f525a7445be1aa3ac3f8fb235f6097c999f25f2d
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////// // Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP // // // // BINGER/inc/etf/TAMWDCArray.cxx // // TAMWDCArray.cxx -- source f...
42.176471
179
0.585619
[ "object", "vector", "3d" ]
31430f113e56b31963b2feaafa6fcef30a91beca
2,012
cpp
C++
Source/BattleRoyale/core/GameMode/BattleRoyale/GameRules/CheckThereIsOnlyOneTeamAliveRule.cpp
homeguatlla/BattleRoyale
9d68a4a902c9b0052788769ae6b963d65ef060a4
[ "Unlicense" ]
2
2022-02-11T07:25:49.000Z
2022-03-14T23:00:28.000Z
Source/BattleRoyale/core/GameMode/BattleRoyale/GameRules/CheckThereIsOnlyOneTeamAliveRule.cpp
homeguatlla/BattleRoyale
9d68a4a902c9b0052788769ae6b963d65ef060a4
[ "Unlicense" ]
null
null
null
Source/BattleRoyale/core/GameMode/BattleRoyale/GameRules/CheckThereIsOnlyOneTeamAliveRule.cpp
homeguatlla/BattleRoyale
9d68a4a902c9b0052788769ae6b963d65ef060a4
[ "Unlicense" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "CheckThereIsOnlyOneTeamAliveRule.h" #include "EndOfGameRule.h" #include "BattleRoyale/BattleRoyale.h" #include "BattleRoyale/core/GameMode/IGameState.h" #include "BattleRoyale/core/GameMode/IPlayerState.h" void CheckThereIsOnly...
25.15
100
0.746521
[ "vector" ]
314a34092ca6413fb02f2856944784f481b27a4d
1,452
cpp
C++
aws-cpp-sdk-alexaforbusiness/source/model/ResolveRoomResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-alexaforbusiness/source/model/ResolveRoomResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-alexaforbusiness/source/model/ResolveRoomResult.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/alexaforbusiness/model/ResolveRoomResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include ...
25.928571
142
0.759642
[ "model" ]
314d6baa8f90689567eb68401772ee9d20e2f7a5
73,121
cpp
C++
lib/scipoptsuite-5.0.1/ug/src/ug_scip/scipParaInitiator.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/ug/src/ug_scip/scipParaInitiator.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/ug/src/ug_scip/scipParaInitiator.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and software framework */ /* UG --- Ubquity Generator Framework */ ...
34.670934
170
0.579943
[ "transform" ]
314fba4e4128a162c6544e388002ff6d2276ea80
7,588
cpp
C++
src/core/impgeneration.cpp
TimoBx/pbrt
1d5634953a79eb251b1a245382cc3587b6e0a15a
[ "BSD-2-Clause" ]
null
null
null
src/core/impgeneration.cpp
TimoBx/pbrt
1d5634953a79eb251b1a245382cc3587b6e0a15a
[ "BSD-2-Clause" ]
null
null
null
src/core/impgeneration.cpp
TimoBx/pbrt
1d5634953a79eb251b1a245382cc3587b6e0a15a
[ "BSD-2-Clause" ]
null
null
null
// core/impgeneration.cpp* #include "impgeneration.h" #include "api.h" #include "imageio.h" #include "lights/infinite.h" #include "paramset.h" #include <limits> #include <algorithm> #include <iostream> #include <string> #include <fstream> namespace pbrt { /* Takes a .pbrt file name as parameter, and returns...
36.30622
143
0.641671
[ "vector", "transform" ]
315391a1def098a583dda7f1204aa7dcfb91c0e3
3,314
cpp
C++
Desktop/colortie.cpp
Waller-Lab/CompCellScopeTIE
1b05098b339d7ef3cdd7c894e5084beed81b1b89
[ "MIT" ]
null
null
null
Desktop/colortie.cpp
Waller-Lab/CompCellScopeTIE
1b05098b339d7ef3cdd7c894e5084beed81b1b89
[ "MIT" ]
null
null
null
Desktop/colortie.cpp
Waller-Lab/CompCellScopeTIE
1b05098b339d7ef3cdd7c894e5084beed81b1b89
[ "MIT" ]
null
null
null
#include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/contrib/contrib.hpp" #include <math.h> #include <iostream> using namespace cv; using namespace std; int* meshgrid_x(int width); int* meshgrid_y(int height); int main(int argc, char ** argv)...
29.855856
95
0.561255
[ "vector" ]
315a8d5087bfc8c0faf642e4795e0639f927c132
2,407
cpp
C++
src/ResourceManager.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
2
2016-07-25T22:47:28.000Z
2020-08-10T08:02:06.000Z
src/ResourceManager.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
null
null
null
src/ResourceManager.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
1
2020-08-10T08:02:08.000Z
2020-08-10T08:02:08.000Z
// // Created by inosphe on 2016. 3. 28.. // #include "ResourceManager.h" #include <fstream> #include <ios> #include "Logger.h" #include <fbxsdk.h> #include <fbxsdk/fileio/fbxiosettings.h> #include "FBXLoader.h" #include "FBXModel.h" #include "Image.h" #include "RESOURCE_PATH.h" #include "stb_image.h" namespace Reso...
23.598039
125
0.700872
[ "vector" ]
315c97d05deffe29c7b55d00d1039f24a49ae91f
26,772
hpp
C++
include/poac/util/net.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
null
null
null
include/poac/util/net.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
null
null
null
include/poac/util/net.hpp
ken-matsui/poac
e4503027f3993be493824f48dc31818029784238
[ "Apache-2.0" ]
null
null
null
#ifndef POAC_UTIL_NET_HPP #define POAC_UTIL_NET_HPP // std #include <cstdint> #include <filesystem> #include <iostream> #include <fstream> #include <string> #include <string_view> #include <sstream> #include <numeric> #include <map> #include <unordered_map> #include <memory> #include <variant> #include <optional> // ...
38.082504
111
0.519311
[ "vector" ]
315f4d2b43b5037985c1c930ea1d2d075aa86429
2,795
cc
C++
chrome/browser/ui/app_list/crostini/crostini_app_item.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/ui/app_list/crostini/crostini_app_item.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/app_list/crostini/crostini_app_item.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "chrome/browser/ui/app_list/crostini/crostini_app_item.h" #include <utility> #include "ash/public/cpp/app_list/app_list_constants.h" #include "...
34.9375
78
0.748837
[ "model" ]
316042187ab3ef703dae1407b89b1334f01078a2
694
hpp
C++
player/playerlib/reader/ReaderStreamManager.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/reader/ReaderStreamManager.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/reader/ReaderStreamManager.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
#ifndef _STREAM_MANAGER_INTERFACE_HPP_ #define _STREAM_MANAGER_INTERFACE_HPP_ #include <ref/FFL_Ref.hpp> #include "Stream.hpp" namespace reader{ class ReaderBase; class ReaderStreamManager { public: // // 添加reader下的一个stream到管理中,返回当前这个stream的id // virtual int32_t addStream(ReaderBase* reader, StreamPtr str...
22.387097
93
0.716138
[ "vector" ]
3163e5fdcf890676c45dd320ee2b88b28020e4fc
2,617
cpp
C++
Examples/DroppingBalls/AddRandomSphereBehavior.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
24
2015-01-19T16:18:59.000Z
2022-03-13T03:29:11.000Z
Examples/DroppingBalls/AddRandomSphereBehavior.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
3
2018-12-21T14:54:08.000Z
2022-03-14T12:38:07.000Z
Examples/DroppingBalls/AddRandomSphereBehavior.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
8
2015-04-10T19:45:36.000Z
2022-02-02T17:00:59.000Z
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
26.979381
80
0.746274
[ "vector" ]
3165918911ff712ab557c4c92c67f1e2ce9730ac
11,202
hpp
C++
source/TouhouDanmakufu/Common/StgItem.hpp
Mugenri/Touhou-Danmakufu-ph3sx-2
4ab7e40682341ff41d7467b83bb64c9a669a6064
[ "MIT" ]
null
null
null
source/TouhouDanmakufu/Common/StgItem.hpp
Mugenri/Touhou-Danmakufu-ph3sx-2
4ab7e40682341ff41d7467b83bb64c9a669a6064
[ "MIT" ]
null
null
null
source/TouhouDanmakufu/Common/StgItem.hpp
Mugenri/Touhou-Danmakufu-ph3sx-2
4ab7e40682341ff41d7467b83bb64c9a669a6064
[ "MIT" ]
null
null
null
#pragma once #include "../../GcLib/pch.h" #include "StgCommon.hpp" #include "StgIntersection.hpp" //#include "StgShot.hpp" class StgShotVertexBufferContainer; class StgItemDataList; class StgItemData; struct StgItemDataFrame; class StgItemObject; //*******************************************************************...
28.075188
108
0.725763
[ "render", "vector" ]
317312870fd912e996192192ad0e5e0b7483e171
1,345
cpp
C++
Uncategorized/tle16c7p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/tle16c7p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/tle16c7p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define all(x) (x).begin(), (x).end() #define gc getchar() #define pc(x) putchar(x) template<typename T> void scan(T &x){x = 0;bool _=0;T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;} template<typename T> void print...
34.487179
175
0.533829
[ "vector" ]
3177d43792a52e2dbed638cd2bf8855775043039
5,847
cc
C++
TopQuarkAnalysis/TopJetCombination/plugins/TtFullLepHypGenMatch.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
TopQuarkAnalysis/TopJetCombination/plugins/TtFullLepHypGenMatch.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
TopQuarkAnalysis/TopJetCombination/plugins/TtFullLepHypGenMatch.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "TopQuarkAnalysis/TopJetCombination/plugins/TtFullLepHypGenMatch.h" #include "AnalysisDataFormats/TopObjects/interface/TtFullLepEvtPartons.h" #include "DataFormats/Math/interface/deltaR.h" TtFullLepHypGenMatch::TtFullLepHypGenMatch(const edm::ParameterSet& cfg): TtFullLepHypothesis( cfg ), genEvtToken_( c...
35.436364
150
0.616898
[ "vector" ]
317dae1cbf95f52e6c482b46ef88fd246227cf35
1,883
hpp
C++
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/DivideAndConquer/Structure/BinaryIndexedTree.hpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/DivideAndConquer/Structure/BinaryIndexedTree.hpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/DivideAndConquer/Structure/BinaryIndexedTree.hpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
#pragma once #include <cassert> #include <cstdint> #include <iostream> #include <vector> template<class R = int64_t> class BinaryIndexedTree { const std::vector<R> &original; std::vector<R> tree; constexpr static int low_bit(int a) { return a & (-a); } public: explicit BinaryIndexedTree(const std::vect...
33.035088
101
0.473181
[ "vector" ]
31901387a0d46d67bc7883fafa585379c59b4d0d
17,304
cpp
C++
src/tracking/tracking.cpp
sridhargunnam/tracking
6ac997d407a2fe6090f1f87292b7218c31c9f4a9
[ "Unlicense" ]
null
null
null
src/tracking/tracking.cpp
sridhargunnam/tracking
6ac997d407a2fe6090f1f87292b7218c31c9f4a9
[ "Unlicense" ]
null
null
null
src/tracking/tracking.cpp
sridhargunnam/tracking
6ac997d407a2fe6090f1f87292b7218c31c9f4a9
[ "Unlicense" ]
null
null
null
// // Created by sgunnam on 10/4/20. // #include "tracking.h" class KalmanWrapper{ cv::KalmanFilter kalman_filter_; cv::Mat processNoise_; cv::Mat measurement_ ; cv::Mat measurementPrev_; }; Tracking::Tracking(ConfigurationParams configuration_params) : configuration_params_(configuration_params) { switc...
47.669421
213
0.621359
[ "vector" ]
3192cbfaeb4f0cf10f57c4b0b4accc5c71f54d2f
302
hh
C++
transformations/hist/RebinN.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
transformations/hist/RebinN.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
transformations/hist/RebinN.hh
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "GNAObject.hh" #include "Eigen/Sparse" class RebinN: public GNAObject, public TransformationBind<RebinN> { public: RebinN(size_t n); void doRebin(FunctionArgs& fargs); void doTypes(TypesFunctionArgs& fargs); private: size_t m_njoin; };
16.777778
49
0.711921
[ "vector" ]
3193108b628e6e1bef420b420230b62195e98fab
356
cpp
C++
Arrays/Easy/Running Sum of 1 D array.cpp
saubhagya0111/Leetcode-Solutions
2bebcb225cb3c07733b15dc003fb61f6d50b371a
[ "MIT" ]
null
null
null
Arrays/Easy/Running Sum of 1 D array.cpp
saubhagya0111/Leetcode-Solutions
2bebcb225cb3c07733b15dc003fb61f6d50b371a
[ "MIT" ]
null
null
null
Arrays/Easy/Running Sum of 1 D array.cpp
saubhagya0111/Leetcode-Solutions
2bebcb225cb3c07733b15dc003fb61f6d50b371a
[ "MIT" ]
null
null
null
class Solution { public: vector<int> runningSum(vector<int>& nums) { int element; vector<int> v; for(int i=0;i<nums.size();i++) { element=0; for(int j=0;j<=i;j++) { element+=nums[j]; } v.push_back(element); ...
19.777778
47
0.404494
[ "vector" ]
3193de437252e89843092206a788d972a3f6ee3b
9,215
hpp
C++
stapl_release/stapl/skeletons/transformations/optimizers/zip_reduce.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/skeletons/transformations/optimizers/zip_reduce.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/skeletons/transformations/optimizers/zip_reduce.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
35.717054
79
0.565708
[ "vector" ]
3195ab30aeb5be2f9a1f7c799c4d3faf778fa0d9
37,710
cpp
C++
SOURCES/sim/digi/waypoint.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/digi/waypoint.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/digi/waypoint.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "stdhdr.h" #include "digi.h" #include "otwdrive.h" #include "PilotInputs.h" #include "campwp.h" #include "simveh.h" #include "fcc.h" #include "simdrive.h" #include "facbrain.h" #include "mission.h" #include "object.h" #include "MsgInc\FACMsg.h" #include "MsgInc\ATCMsg.h" #include "MsgInc\RadioChatterMsg.h" #in...
31.011513
168
0.622753
[ "object" ]
3196807bb0ca5bab2b36a28cb31cebd2fd8a7b42
4,368
cc
C++
src/monitor.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
null
null
null
src/monitor.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
null
null
null
src/monitor.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
null
null
null
#include "monitor.hh" #include "debug.hh" namespace hgdb { Monitor::Monitor() { // everything is 0 if not set up get_value = [](const std::string&) { return 0; }; } Monitor::Monitor(std::function<std::optional<int64_t>(const std::string&)> get_value) : get_value(std::move(get_value)) {} uint64_t Monitor...
34.393701
96
0.598214
[ "vector" ]
319cc1f802067dd572fce491ba0263e9bd3de7f9
6,740
cxx
C++
main/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/slidesorter/model/SlsPageDescriptor.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...
21.812298
77
0.617953
[ "model" ]
31a2066c89eb6742bd843b1a4108382d6f1f9995
2,240
cpp
C++
booserver/batch_config.cpp
sundersb/booserver
c91dcdd33af3aba590d177f50dafe994a16ba24b
[ "BSD-2-Clause" ]
1
2019-03-03T04:40:07.000Z
2019-03-03T04:40:07.000Z
booserver/batch_config.cpp
sundersb/booserver
c91dcdd33af3aba590d177f50dafe994a16ba24b
[ "BSD-2-Clause" ]
null
null
null
booserver/batch_config.cpp
sundersb/booserver
c91dcdd33af3aba590d177f50dafe994a16ba24b
[ "BSD-2-Clause" ]
null
null
null
#include "batch_config.h" #include <dirent.h> #include <sys/stat.h> const std::string PREFIX_COLOR("color_"); const std::string SUFFIX_COLOR(".conf"); const std::string SUFFIX_IMAGE("_2160.png"); std::vector<std::string> readDir(const std::string &path) { std::vector<std::string> result; struct dirent *entry; ...
24.347826
84
0.661161
[ "vector" ]
31a404688c4cbfcd2e99adcab077c8adc1865046
772
cpp
C++
GeeksForGeeks/Bottom View of Binary Tree.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Bottom View of Binary Tree.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Bottom View of Binary Tree.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <locale> #include <algorithm> #include <cmath> #include <unordered_map> #include <bitset> #include <climits> #include <queue> #include <stack> using namespace std; // TREE void preorder(vector<int> &ve, Node * root){ if(!root) return; pr...
19.3
67
0.582902
[ "vector" ]
b3b369e5e57f03ffe55f57f94e41c038578cc8b7
1,555
hpp
C++
src/util/usage_log_t.hpp
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
src/util/usage_log_t.hpp
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
src/util/usage_log_t.hpp
JeanTracker/qt-qml-project-template-with-ci
022992af4bd4e4df006a3125fe124a56a25c23a5
[ "BSD-2-Clause" ]
null
null
null
#ifndef PROJ_LIB_UTIL_USAGE_LOG_H #define PROJ_LIB_UTIL_USAGE_LOG_H #include <QDebug> #include <memory> // gets us pointer_traits #include <string> namespace project { // TODO: consider adding a template arg for __LINE__, using https://stackoverflow.com/q/3773378/10278 template <class WrappedPtrIsh> // WrappedPtrIsh...
33.085106
101
0.688746
[ "object" ]
b3b3f59603ef00745f135d95fccd87474068cc26
974
hpp
C++
VSProject/LeetCodeSol/Src/TwoSumII.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/TwoSumII.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/Src/TwoSumII.hpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
/******************************************************************************************* * @file TwoSumII-InputAArrayIsSorted.hpp 2019\2\3 17:14:32 $ * @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试) * @note Leetcode 167. Two Sum II - Input array is sorted ******************************...
40.583333
93
0.477413
[ "vector" ]
b3bd00555df23920958a020fbf3e90055da0c2ca
2,325
cpp
C++
moses/moses/TranslationModel/RuleTable/LoaderFactory.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/moses/TranslationModel/RuleTable/LoaderFactory.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2021-11-25T18:08:22.000Z
2021-11-25T18:08:22.000Z
moses/moses/TranslationModel/RuleTable/LoaderFactory.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
/*********************************************************************** Moses - statistical machine translation system Copyright (C) 2006-2011 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by ...
31.849315
79
0.664516
[ "object", "vector" ]
b3bd604afae9b7978e85be3ea827c5539873c7cf
36,937
cpp
C++
Mapf-solver/src/LNS.cpp
Jiaoyang-Li/Flatland
6667f181d6f39f8c1d63f38799d7fce21ab4e87b
[ "BSD-4-Clause-UC" ]
21
2021-01-14T09:39:07.000Z
2022-03-25T16:19:13.000Z
Mapf-solver/src/LNS.cpp
lj086/Flatland
6667f181d6f39f8c1d63f38799d7fce21ab4e87b
[ "BSD-4-Clause-UC" ]
1
2022-03-07T08:05:55.000Z
2022-03-07T08:05:55.000Z
Mapf-solver/src/LNS.cpp
lj086/Flatland
6667f181d6f39f8c1d63f38799d7fce21ab4e87b
[ "BSD-4-Clause-UC" ]
9
2021-01-14T09:39:08.000Z
2022-03-24T11:16:44.000Z
/* * @author: Team An_old_driver * @created: 09-2020 * Copyright (c) 2020 The University of Southern California. All Rights Reserved. * Copyrights licensed under an Academic/non-profit use license. * See the accompanying LICENSE file for terms. */ #include "LNS.h" bool LNS::run(float _hard_time_limit, float _sof...
36.462981
187
0.539594
[ "vector" ]
b3d3ee1c1a7e127660aaafab039f18ccb175213e
14,164
cc
C++
src/image/ImageTransform.cc
sgherbst/simple-base-lib
6c5f96fd0f8d588b3b9eebbe542465a618f08d96
[ "MIT" ]
1
2022-02-21T19:14:10.000Z
2022-02-21T19:14:10.000Z
src/image/ImageTransform.cc
sgherbst/simple-base-lib
6c5f96fd0f8d588b3b9eebbe542465a618f08d96
[ "MIT" ]
null
null
null
src/image/ImageTransform.cc
sgherbst/simple-base-lib
6c5f96fd0f8d588b3b9eebbe542465a618f08d96
[ "MIT" ]
3
2017-01-05T08:12:05.000Z
2022-02-21T20:39:49.000Z
// Licensed under MIT license; see license.txt. #include <sbl/image/ImageTransform.h> #include <sbl/math/MathUtil.h> #ifdef USE_OPENCV #include <opencv/cv.h> #include <opencv/highgui.h> #endif namespace sbl { //------------------------------------------- // IMAGE TRANSFORMATION //----------------------------------...
38.912088
204
0.680316
[ "transform" ]
b3d6453f766197a3cf627138d676990c5b963408
17,008
cpp
C++
src/externalpotential.cpp
rc83/faunus
0325913ab5ae6216b19491cd7f93054983e05067
[ "MIT" ]
null
null
null
src/externalpotential.cpp
rc83/faunus
0325913ab5ae6216b19491cd7f93054983e05067
[ "MIT" ]
3
2019-04-24T08:45:06.000Z
2019-05-10T05:40:08.000Z
src/externalpotential.cpp
rc83/faunus
0325913ab5ae6216b19491cd7f93054983e05067
[ "MIT" ]
null
null
null
#include "externalpotential.h" #include "multipole.h" #include "aux/eigensupport.h" #include "functionparser.h" #include "space.h" #include "spdlog/spdlog.h" namespace Faunus { namespace Energy { // ------------ Energybase ------------- void Energybase::to_json(json &) const {} void Energybase::sync(Energybase *, C...
38.049217
119
0.567909
[ "geometry", "object", "vector" ]
b3d646795481bdf58b961139fc6b971733b4072a
10,323
cpp
C++
src/Topology.cpp
stepanvanecek/sys-sage
c92ea3d21e2cb85cde04553c2ec3e65b23149bf6
[ "MIT" ]
1
2022-01-31T22:20:34.000Z
2022-01-31T22:20:34.000Z
src/Topology.cpp
stepanvanecek/sys-sage
c92ea3d21e2cb85cde04553c2ec3e65b23149bf6
[ "MIT" ]
null
null
null
src/Topology.cpp
stepanvanecek/sys-sage
c92ea3d21e2cb85cde04553c2ec3e65b23149bf6
[ "MIT" ]
null
null
null
#include "Topology.hpp" void Component::PrintSubtree() { PrintSubtree(0); } void Component::PrintSubtree(int level) { //cout << "---PrintSubtree---" << endl; for (int i = 0; i < level; ++i) cout << " " ; cout << GetComponentTypeStr() << " (name " << name << ") id " << id << " - children: " << chil...
32.667722
239
0.628403
[ "vector" ]
b3dd040cb3b99b20d42dd875e43eb512818ebf27
1,642
cpp
C++
dynamic_programming/edit_distance.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
null
null
null
dynamic_programming/edit_distance.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
1
2022-01-02T14:58:03.000Z
2022-01-02T14:58:03.000Z
dynamic_programming/edit_distance.cpp
rressi/exercises
b3d19f73361c3b1286d39d9f05d24cd1ebb3f034
[ "MIT" ]
null
null
null
#include "edit_distance.h" #include <algorithm> #include <vector> namespace dp { bool matchStringsWithMaxEditDistanceOfOne(StringView s, StringView t); bool matchStrings(StringView s, StringView t, Distance maxDistance) { switch (maxDistance) { case 0: return s == t; case 1: return matchStri...
23.797101
72
0.56821
[ "vector" ]
b3e5b0d49e6361ff586c04bf64402497299ea0f7
909
cpp
C++
Source/FactoryGame/FGProductionIndicatorInstanceManager.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGProductionIndicatorInstanceManager.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGProductionIndicatorInstanceManager.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGProductionIndicatorInstanceManager.h" UFGProductionIndicatorInstanceManager::UFGProductionIndicatorInstanceManager(){ } void UFGProductionIndicatorInstanceManager::OnUnregister(){ Super::OnUnregister(); } void UFGProduc...
69.923077
139
0.852585
[ "transform" ]
b3e81d4fe3c85b026458ba2d08c2f96bd7ae0dd8
578
cpp
C++
Frame.cpp
fchern/ttaos
60fb785b866e2bbcaf5433a78a7cfad0934a3073
[ "MIT" ]
null
null
null
Frame.cpp
fchern/ttaos
60fb785b866e2bbcaf5433a78a7cfad0934a3073
[ "MIT" ]
null
null
null
Frame.cpp
fchern/ttaos
60fb785b866e2bbcaf5433a78a7cfad0934a3073
[ "MIT" ]
null
null
null
/* * Frame.cpp */ #include "Frame.h" #include<vector> #include<set> #include<sstream> #include<fstream> #include<iostream> #include<stdexcept> #include "../structs/AccountEntryStruct.h" #include <boost/lexical_cast.hpp> #include "boost/format.hpp" #include "TerranEnums.h" #include <boost/tokenizer.hpp> #include <...
15.621622
46
0.733564
[ "vector" ]
b3e82f07d5e8b006e211f5f25536fe4946b554bb
3,029
cc
C++
components/service/ucloud/aliyuncvc/src/model/ListIsvStatisticsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/aliyuncvc/src/model/ListIsvStatisticsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/aliyuncvc/src/model/ListIsvStatisticsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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 required...
32.569892
91
0.759327
[ "model" ]
b3f554fcd98f38fbf8bcdca6dec9a5f5a08c23cf
3,605
cpp
C++
shore-sm-6.0.2/src/sthread/tests/thread4.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
3
2016-07-15T08:22:56.000Z
2019-10-10T02:26:08.000Z
shore-sm-6.0.2/src/sthread/tests/thread4.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
null
null
null
shore-sm-6.0.2/src/sthread/tests/thread4.cpp
glycerine/shore-mt
39f1802ba9588bc9d32d34386ed0193477f7e8d1
[ "Spencer-94", "Spencer-86", "Xnet", "Linux-OpenIB", "Spencer-99", "X11", "CECILL-B" ]
2
2020-12-23T06:49:23.000Z
2021-03-05T07:00:28.000Z
/*<std-header orig-src='shore'> $Id: thread4.cpp,v 1.32 2010/06/08 22:27:54 nhall Exp $ SHORE -- Scalable Heterogeneous Object REpository Copyright (c) 1994-99 Computer Sciences Department, University of Wisconsin -- Madison All Rights Reserved. Permission to use, copy, modify and distribute ...
22.53125
68
0.676006
[ "object" ]
b61673d9c592eaabbb0977aecd1bf45cd9ede167
96,170
cc
C++
src/pass/zero_elimination.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
null
null
null
src/pass/zero_elimination.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
null
null
null
src/pass/zero_elimination.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
37.713725
120
0.653645
[ "vector", "transform" ]
b62b710852dc22ad250778d599e38d03b0556fde
5,952
cpp
C++
apps/KinectV2OSC/addons/ofxImGui/example-helpers/src/ofApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
52
2015-01-13T05:17:23.000Z
2021-05-09T14:09:39.000Z
apps/KinectV2OSC/addons/ofxImGui/example-helpers/src/ofApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
7
2015-01-12T10:25:14.000Z
2018-09-18T12:34:15.000Z
apps/KinectV2OSC/addons/ofxImGui/example-helpers/src/ofApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
31
2015-01-12T06:39:15.000Z
2020-04-06T07:05:08.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetLogLevel(OF_LOG_NOTICE); ofDisableArbTex(); ofSetBackgroundAuto(false); ofSetVerticalSync(true); ofSetFrameRate(60); this->stepper = 0.0f; // Gui this->gui.setup(); this->guiVisible = true; } //--...
23.903614
101
0.544859
[ "mesh", "render", "vector" ]
b62ee3f3dddd853646b673d5e7840719466072eb
5,017
cpp
C++
examples/either.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
examples/either.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
examples/either.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/either/apply.hpp> #include <fcppt/either/bind.hpp> #include <fcppt/either/error.hp...
12.831202
61
0.601953
[ "object" ]
b630cd3cb4962b4678c845592b9651c15dfe7874
11,302
cpp
C++
cognitics/src/sfa/SegmentIntersector.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/sfa/SegmentIntersector.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
cognitics/src/sfa/SegmentIntersector.cpp
mikedig/cdb-productivity-api
e2bedaa550a8afa780c01f864d72e0aebd87dd5a
[ "MIT" ]
null
null
null
/************************************************************************* Copyright (c) 2019 Cognitics, Inc. 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...
33.93994
132
0.496726
[ "geometry", "vector" ]
ac0750e8e211334f3ab43a6524bcbe1dfa6a467c
4,204
cpp
C++
frontend/dcwMain.cpp
WeDPR-Team/libPSI
9c506b7be66e99363eb20878a8e146534a47bb78
[ "Unlicense" ]
91
2016-06-19T15:01:08.000Z
2022-03-26T21:05:00.000Z
frontend/dcwMain.cpp
WeDPR-Team/libPSI
9c506b7be66e99363eb20878a8e146534a47bb78
[ "Unlicense" ]
30
2019-03-04T11:49:37.000Z
2022-03-10T07:45:59.000Z
frontend/dcwMain.cpp
WeDPR-Team/libPSI
9c506b7be66e99363eb20878a8e146534a47bb78
[ "Unlicense" ]
31
2017-09-25T03:05:25.000Z
2022-01-19T09:25:38.000Z
#include "dcwMain.h" #include "cryptoTools/Network/Endpoint.h" #include "libPSI/PSI/Dcw/DcwRBfPsiReceiver.h" #include "libPSI/PSI/Dcw/DcwRBfPsiSender.h" #include "cryptoTools/Common/Defines.h" #include "libOTe/TwoChooseOne/IknpOtExtReceiver.h" #include "libOTe/TwoChooseOne/IknpOtExtSender.h" #include "libOTe/T...
29.605634
143
0.550904
[ "vector" ]
ac0b5432dedb38592e07a29bbea750558f74031d
2,365
hpp
C++
include/ghex/buffer_info.hpp
GridTools/GHEX
1adce924c02cf0553d2ceed69f7dc37e39c7013d
[ "BSD-3-Clause" ]
9
2020-01-30T08:12:40.000Z
2022-01-17T11:18:07.000Z
include/ghex/buffer_info.hpp
ghex-org/GHEX
6eb91410d5c01d36a70f0eb106c1f065df3cee9f
[ "BSD-3-Clause" ]
50
2019-12-19T13:25:56.000Z
2021-09-16T13:57:36.000Z
include/ghex/buffer_info.hpp
ghex-org/GHEX
6eb91410d5c01d36a70f0eb106c1f065df3cee9f
[ "BSD-3-Clause" ]
10
2019-12-10T15:31:36.000Z
2021-07-04T19:31:28.000Z
/* * GridTools * * Copyright (c) 2014-2021, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #pragma once #include <ghex/arch_traits.hpp> #include <vector> namespace ghex { // forward declaration template<typename ...
27.823529
85
0.717548
[ "vector" ]
ac0e1e417f7be43be55a04f44fb8ea0beb54ee31
17,333
cc
C++
hand-gesture-recognition/hand-gesture-recognition-calculator.cc
Amankumar1456/IC464_Sixth_Sense
08ba64f0d94b2a7acb6b79eb2159cbdf493d1a65
[ "Apache-2.0" ]
1
2020-09-30T08:14:46.000Z
2020-09-30T08:14:46.000Z
hand-gesture-recognition/hand-gesture-recognition-calculator.cc
Amankumar1456/IC464_Sixth_Sense
08ba64f0d94b2a7acb6b79eb2159cbdf493d1a65
[ "Apache-2.0" ]
null
null
null
hand-gesture-recognition/hand-gesture-recognition-calculator.cc
Amankumar1456/IC464_Sixth_Sense
08ba64f0d94b2a7acb6b79eb2159cbdf493d1a65
[ "Apache-2.0" ]
1
2020-08-04T12:36:14.000Z
2020-08-04T12:36:14.000Z
#include <cmath> #include <stdlib.h> <<<<<<< HEAD #include <iostream> #include <cstring> ======= >>>>>>> 3a7d6a46c987f0ce67fc909c3c407a9997a71478 #include "mediapipe/framework/calculator_framework.h" #include "mediapipe/framework/formats/landmark.pb.h" #include "mediapipe/framework/formats/rect.pb.h" namespace mediapi...
33.078244
212
0.618647
[ "vector" ]
ac16d7dcd7801943536afbd5b555f7022c86dd7b
17,119
cc
C++
smbprovider/smbprovider_test_helper.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
smbprovider/smbprovider_test_helper.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
smbprovider/smbprovider_test_helper.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS 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 "smbprovider/smbprovider_test_helper.h" #include <algorithm> #include <gtest/gtest.h> #include "smbprovider/mount_config.h" #include "smbpr...
35.964286
80
0.687482
[ "vector" ]
ac1d8cd77737515ec2765ae433ffc026bb5e6bd5
17,812
hpp
C++
deps/boost/include/boost/numeric/ublas/tensor/functions.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
deps/boost/include/boost/numeric/ublas/tensor/functions.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
deps/boost/include/boost/numeric/ublas/tensor/functions.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
// // Copyright (c) 2018-2019, Cem Bassoy, cem.bassoy@gmail.com // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // The authors gratefully acknowledge the support of // Fraunhofer IOSB, Ettling...
31.864043
150
0.641029
[ "object", "vector", "transform" ]
ac29ae1e8d5e05704e433a550b7b809c27b34747
49,340
cc
C++
src/core/device/swap_cuda_gpu.cc
lijiansong/singa
352cfc910deff0d6a8383c5e97f45795c67cb206
[ "Apache-2.0" ]
null
null
null
src/core/device/swap_cuda_gpu.cc
lijiansong/singa
352cfc910deff0d6a8383c5e97f45795c67cb206
[ "Apache-2.0" ]
null
null
null
src/core/device/swap_cuda_gpu.cc
lijiansong/singa
352cfc910deff0d6a8383c5e97f45795c67cb206
[ "Apache-2.0" ]
null
null
null
/** * Cuda gpu device with variable swap in / out supporting. */ #include "singa/singa_config.h" #ifdef USE_CUDA #include <cublas_v2.h> #include <cuda.h> #include <cuda_runtime.h> #include <curand.h> #include <algorithm> #include <chrono> #include <fstream> #include <iostream> #include <string> #include <thread> #in...
37.924673
118
0.649757
[ "vector" ]
ac2c67f29328d386da5c8c81c5fe42d9cd7bc781
777
hpp
C++
libs/core/render/include/bksge/core/render/d3d12/detail/inl/bool_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/inl/bool_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/inl/bool_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bool_inl.hpp * * @brief Bool の実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_D3D12_DETAIL_INL_BOOL_INL_HPP #define BKSGE_CORE_RENDER_D3D12_DETAIL_INL_BOOL_INL_HPP #include <bksge/core/render/config.hpp> #if BKSGE_CORE_RENDER_HAS_D3D12_RENDERER #include <bksge/core/render/d3d12/...
16.531915
58
0.722008
[ "render" ]
ac30910dede0b9a843595b5f4c25609fa3a22a0e
2,934
cpp
C++
video/test/test_exceptions_handler.cpp
fgenolini/frank
0581c503f0a724cb29dc1901df9da5893947190f
[ "MIT" ]
1
2020-10-12T03:08:22.000Z
2020-10-12T03:08:22.000Z
video/test/test_exceptions_handler.cpp
fgenolini/frank
0581c503f0a724cb29dc1901df9da5893947190f
[ "MIT" ]
17
2020-04-23T08:32:59.000Z
2020-08-20T16:58:26.000Z
video/test/test_exceptions_handler.cpp
fgenolini/frank
0581c503f0a724cb29dc1901df9da5893947190f
[ "MIT" ]
1
2020-10-12T03:33:27.000Z
2020-10-12T03:33:27.000Z
#include "config.h" #ifndef _TEST_EXCEPTIONS_HANDLER_ #error _TEST_EXCEPTIONS_HANDLER_ not defined #endif WARNINGS_OFF #include <exception> #include <catch2/catch.hpp> WARNINGS_ON #include "exception/exceptions.h" #include "test/testable_exit.h" namespace test::frank { struct test_exception : public std::exceptio...
25.076923
69
0.64758
[ "object" ]
ac326f7f23b13d85a661e6a7afeb3250ed1d6ab0
19,030
cpp
C++
test_PDE/test_Gray_Scott.cpp
koutasekine/vcp
3ce9a6f87be516158622219792668844d7a3a50f
[ "MIT" ]
null
null
null
test_PDE/test_Gray_Scott.cpp
koutasekine/vcp
3ce9a6f87be516158622219792668844d7a3a50f
[ "MIT" ]
null
null
null
test_PDE/test_Gray_Scott.cpp
koutasekine/vcp
3ce9a6f87be516158622219792668844d7a3a50f
[ "MIT" ]
null
null
null
// VCP Library // http ://verified.computation.jp // // VCP Library is licensed under the BSD 3 - clause "New" or "Revised" License // Copyright(c) 2017, Kouta Sekine <k.sekine@computation.jp> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted...
38.06
178
0.606148
[ "vector" ]
ac3b70aa7d9d09b627fa2fc1ee258c629b1c8646
556
hpp
C++
Source/Ilum/Graphics/Descriptor/DescriptorSet.hpp
Chaf-Libraries/Ilum
83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8
[ "MIT" ]
11
2022-01-09T05:32:56.000Z
2022-03-28T06:35:16.000Z
Source/Ilum/Graphics/Descriptor/DescriptorSet.hpp
LavenSun/IlumEngine
94841e56af3c5214f04e7a94cb7369f4935c5788
[ "MIT" ]
null
null
null
Source/Ilum/Graphics/Descriptor/DescriptorSet.hpp
LavenSun/IlumEngine
94841e56af3c5214f04e7a94cb7369f4935c5788
[ "MIT" ]
1
2021-11-20T15:39:03.000Z
2021-11-20T15:39:03.000Z
#pragma once #include "Utils/PCH.hpp" namespace Ilum { class Pipeline; class CommandBuffer; class Shader; class DescriptorSet { public: DescriptorSet(const Shader &shader, uint32_t set_index = 0); ~DescriptorSet(); void update(const std::vector<VkWriteDescriptorSet> &write_descriptor_sets) const; const VkDe...
18.533333
83
0.732014
[ "vector" ]
ac462d517283092e459f71d0c825efac97f05a1d
3,956
hxx
C++
main/chart2/source/view/axes/VPolarGrid.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/view/axes/VPolarGrid.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/view/axes/VPolarGrid.hxx
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...
43.472527
122
0.553589
[ "vector" ]
ac46dcfc7b441f9450d015ec92f3f0afb80c9e96
3,919
hpp
C++
three/core/geometry.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/core/geometry.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/core/geometry.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
#ifndef THREE_GEOMETRY_HPP #define THREE_GEOMETRY_HPP #include <three/common.hpp> #include <three/core/geometry_buffer.hpp> #include <three/core/geometry_group.hpp> #include <three/core/math.hpp> #include <three/core/color.hpp> #include <three/core/face.hpp> #include <three/core/vector3.hpp> #include <three/core/ver...
21.893855
99
0.599898
[ "geometry", "vector" ]
ac47a38078c4f2b012493acaa05131fac2a41171
1,470
cpp
C++
plugin/plugin/core/moduleloader.cpp
perandersson/plugin
1602fa6cd97fcacb62d72084c03f22bd7117951a
[ "MIT" ]
9
2016-03-30T03:05:03.000Z
2020-04-14T00:48:35.000Z
plugin/plugin/core/moduleloader.cpp
perandersson/plugin
1602fa6cd97fcacb62d72084c03f22bd7117951a
[ "MIT" ]
null
null
null
plugin/plugin/core/moduleloader.cpp
perandersson/plugin
1602fa6cd97fcacb62d72084c03f22bd7117951a
[ "MIT" ]
3
2016-08-03T04:12:29.000Z
2020-04-14T00:48:36.000Z
#include "moduleloader.h" #include <cassert> #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> LibraryHandle ModuleLoader::GetLibraryHandle(const char* fileName) { char tmp[1024] = { 0 }; sprintf(tmp, "%s.dll", fileName); auto library = LoadLibraryA(tmp); if (library == nullptr) return nullptr; a...
24.5
98
0.742177
[ "vector" ]
ac50937ef3e28c1ac5aae651f9cf266ad07abcc4
3,640
cpp
C++
paddle/gserver/activations/MKLDNNActivation.cpp
AI-books/Paddle
5b5f4f514047975ac09ec42b31e46dabf235e7dd
[ "Apache-2.0" ]
null
null
null
paddle/gserver/activations/MKLDNNActivation.cpp
AI-books/Paddle
5b5f4f514047975ac09ec42b31e46dabf235e7dd
[ "Apache-2.0" ]
null
null
null
paddle/gserver/activations/MKLDNNActivation.cpp
AI-books/Paddle
5b5f4f514047975ac09ec42b31e46dabf235e7dd
[ "Apache-2.0" ]
1
2020-06-04T04:27:15.000Z
2020-06-04T04:27:15.000Z
/* Copyright (c) 2017 PaddlePaddle Authors. All Rights Reserve. 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 ...
41.363636
77
0.571978
[ "vector" ]
ac5f04dd9416cef6c425bab371ee6032bbbdd502
3,272
cpp
C++
source/aeonlog.cpp
AeonSplice/aeonsplice
0228a4b69d798c020410e4b06fa7d51f5efaafc7
[ "MIT" ]
null
null
null
source/aeonlog.cpp
AeonSplice/aeonsplice
0228a4b69d798c020410e4b06fa7d51f5efaafc7
[ "MIT" ]
15
2016-09-09T03:46:00.000Z
2017-01-31T20:14:56.000Z
source/aeonlog.cpp
AeonSplice/aeonsplice
0228a4b69d798c020410e4b06fa7d51f5efaafc7
[ "MIT" ]
null
null
null
#include "aeonlog.hpp" // Don't include stuff above here. Because standards. #include <iostream> #include "aeonconfig.hpp" #include "aeonutil.hpp" using namespace std; namespace aeon { bool isDebug = true; bool overwriteLog = false; std::string logLocation = ""; void overwriteLogFile() { ...
25.968254
86
0.460269
[ "vector" ]
ac5ff7f54ed24822b23c3ec377ffdbaaf5889795
2,181
cpp
C++
isis/src/base/objs/OriginalLabel/OriginalLabel.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
isis/src/base/objs/OriginalLabel/OriginalLabel.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
isis/src/base/objs/OriginalLabel/OriginalLabel.cpp
Kelvinrr/ISIS3
6e2df9c22d8d11564c0c3cda5d1606da58af547f
[ "CC0-1.0" ]
null
null
null
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
25.964286
83
0.657955
[ "object" ]
ac65c5eea7314ba8376ed69f7a8a588d0bed970b
1,254
cpp
C++
PolyDock/PolyDock/src/pd/ecs/sys/root/DesktopSystem.cpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
1
2021-01-10T06:43:03.000Z
2021-01-10T06:43:03.000Z
PolyDock/PolyDock/src/pd/ecs/sys/root/DesktopSystem.cpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
null
null
null
PolyDock/PolyDock/src/pd/ecs/sys/root/DesktopSystem.cpp
Qt-Widgets/PolyDock
f32def214753ca0f6bab9968bc2bb5e451cb6e4f
[ "MIT" ]
null
null
null
#include <pd/pch/PCH.h> #include <pd/ecs/sys/root/DesktopSystem.hpp> #include <pd/ecs/cmp/root/Desktop.hpp> using namespace ::pd::ecs::sys; using namespace ::pd::ecs::cmp::root; using namespace ::Eigen; // --------------------------------------------------------------------------------------------------------- void ...
29.857143
108
0.578947
[ "geometry" ]
ac6a2d7bc28385ec4662b06f901d5f3cbf1b56d6
17,362
cpp
C++
copasi/bindings/common/downcast_common.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/bindings/common/downcast_common.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/bindings/common/downcast_common.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/bindings/common/downcast_common.cpp,v $ // $Revision: 1.3 $ // $Name: $ // $Author: shoops $ // $Date: 2012/06/21 16:46:55 $ // End CVS Header // Copyright (C) 2012 - 2011 by Pedro Mendes, Virginia Tech Intellectual // Properti...
26.108271
117
0.71835
[ "object" ]
ac74d7274ce445fb272f3860888690ed0fd8092f
48,714
cc
C++
be/src/exec/parquet-column-readers.cc
michaelhkw/impala
4aa8e2d5cf590d6366a600f15bed3e998ccc4031
[ "Apache-2.0" ]
null
null
null
be/src/exec/parquet-column-readers.cc
michaelhkw/impala
4aa8e2d5cf590d6366a600f15bed3e998ccc4031
[ "Apache-2.0" ]
null
null
null
be/src/exec/parquet-column-readers.cc
michaelhkw/impala
4aa8e2d5cf590d6366a600f15bed3e998ccc4031
[ "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 you under the Apache License, Version 2.0 (the // "License"); you may...
38.815936
92
0.693435
[ "object" ]
ac87e555e262a0eb19f7c50fe6422de17f833299
2,251
cpp
C++
solutions/LeetCode/C++/225.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/225.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/225.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 4 ms submission class MyStack { public: /** Initialize your data structure here. */ MyStack() { } /** Push element x onto stack. */ void push(int x) { if (buf.size() == 0) buf.push(x); else { int...
19.573913
98
0.555753
[ "object" ]
12cd41559dcddd58bea86cc0c36307a79f207f48
8,752
cc
C++
dense_map/geometry_mapper/src/interest_point.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
1
2021-12-07T22:59:34.000Z
2021-12-07T22:59:34.000Z
dense_map/geometry_mapper/src/interest_point.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
null
null
null
dense_map/geometry_mapper/src/interest_point.cc
oleg-alexandrov/isaac
94996bc1a20fa090336e67b3db5c10a9bb30f0f7
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The "ISAAC - Integrated System for Autonomous and Adaptive Caretaking * platform" software is licensed under the Apache License, Version 2.0 * ...
41.875598
117
0.691271
[ "vector" ]
12cdcfabef6ccad08e17448333263904cc192e95
878
cc
C++
test/asyncworker.cc
ntoskrnl7/node-addon-api
148fa2e4f71685e88ed7af7c4b2cbf3853d3960d
[ "MIT" ]
13
2019-06-18T14:30:56.000Z
2021-04-25T06:06:52.000Z
test/asyncworker.cc
ntoskrnl7/node-addon-api
148fa2e4f71685e88ed7af7c4b2cbf3853d3960d
[ "MIT" ]
7
2018-04-16T13:27:06.000Z
2018-11-20T00:13:52.000Z
test/asyncworker.cc
ntoskrnl7/node-addon-api
148fa2e4f71685e88ed7af7c4b2cbf3853d3960d
[ "MIT" ]
4
2018-03-18T23:24:36.000Z
2019-10-28T14:00:57.000Z
#include "napi.h" using namespace Napi; class TestWorker : public AsyncWorker { public: static void DoWork(const CallbackInfo& info) { bool succeed = info[0].As<Boolean>(); Object resource = info[1].As<Object>(); Function cb = info[2].As<Function>(); Value data = info[3]; TestWorker* worker = n...
23.72973
76
0.661731
[ "object" ]
12cf1f011c96bcf7fcff225377e29964e3bf7513
687
cpp
C++
cpp/6335.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/6335.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/6335.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; struct Info { int year, a, b; }; int main() { fastio; for (int c = 1, n; cin >> n && n; c++) { vector<Info> v(n); for (auto& [year, a, b] : v) cin >> year >> a >> b; auto Sol = [&]() -> int { for (int y = 0; y < 10...
22.9
60
0.465793
[ "vector" ]
12d5de0f4e690aac03361b641206d0eff29e142f
895
hpp
C++
old/include/test/InputTest.hpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
old/include/test/InputTest.hpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
47
2019-12-30T22:14:04.000Z
2022-03-26T02:04:06.000Z
old/include/test/InputTest.hpp
edwino-stein/elrond-common
145909bb883e9877e9de3325d2a9002639271200
[ "Apache-2.0" ]
null
null
null
#if !defined _ELROND_TEST_INPUT_HPP #define _ELROND_TEST_INPUT_HPP #include "elrond_test_types.hpp" namespace elrond { namespace test { class InputTest : public elrond::module::BaseInputModule { protected: using InputListenerCollection = std::vector<...
30.862069
95
0.562011
[ "vector" ]
12ddf19aba7afa34ddfafd83cd7567c9c15e992e
2,800
cpp
C++
src/FergilnadEngine/FergilnadSprite.cpp
anunez97/fergilnad-game-engine
75528633d32aed41223e0f52d8d7715073d9210a
[ "MIT" ]
null
null
null
src/FergilnadEngine/FergilnadSprite.cpp
anunez97/fergilnad-game-engine
75528633d32aed41223e0f52d8d7715073d9210a
[ "MIT" ]
null
null
null
src/FergilnadEngine/FergilnadSprite.cpp
anunez97/fergilnad-game-engine
75528633d32aed41223e0f52d8d7715073d9210a
[ "MIT" ]
null
null
null
// Fergilnad Sprite #include "FergilnadSprite.h" #include "ModelManager.h" #include "ShaderManager.h" #include "TextureManager.h" #include "ImageManager.h" FergilnadSprite::FergilnadSprite(std::string imgKey) :angle(0.0f), scaleX(1.0f), scaleY(1.0f), scalePX(1.0f), scalePY(1.0f), posX(0.0f), posY(0.0f) { ...
26.923077
150
0.688214
[ "render" ]
12e130115b4062e2064e7d75e7c7f78c35983933
74,615
cc
C++
src/python.cc
madhu-nvda/python_backend
56727b5b78d5d04720eac718c5f3ef1b9d591a94
[ "BSD-3-Clause" ]
null
null
null
src/python.cc
madhu-nvda/python_backend
56727b5b78d5d04720eac718c5f3ef1b9d591a94
[ "BSD-3-Clause" ]
null
null
null
src/python.cc
madhu-nvda/python_backend
56727b5b78d5d04720eac718c5f3ef1b9d591a94
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020-2022, NVIDIA CORPORATION & AFFILIATES. 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...
37.233034
80
0.651437
[ "object", "shape", "vector", "model" ]
12e9299a2ca04de05405ad4f8d7fb530b06d26b6
781
hpp
C++
source/FAST/Visualization/Plotting/Plotter.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Visualization/Plotting/Plotter.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Visualization/Plotting/Plotter.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <FAST/ProcessObject.hpp> #include <FAST/Data/Color.hpp> #include <FAST/Data/SimpleDataObject.hpp> #include <deque> #include <QObject> class QTimer; class JKQTPlotter; namespace fast{ // Abstract Plot object class FAST_EXPORT Plotter : public QObject, public ProcessObject { Q_OBJECT public...
20.552632
66
0.700384
[ "object" ]
12ece8729fb1f290664931cd7990f69327a154ca
20,919
cxx
C++
xp_comm_proj/stm3/msms/ComputeSES.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/stm3/msms/ComputeSES.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/stm3/msms/ComputeSES.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
// // Computed the Solvent Excluded Surface with the msms program // (see: http://www.scripps.edu/pub/olson-web/people/sanner/html/msms_home.html) // The input are a list of atoms coordinates and a list of atoms radii // The output is the computed surface. // // The msms executable is pointed by the MSMSSERVER environm...
28.774415
146
0.679048
[ "mesh" ]
12ee5d5fcfe2051286dacddf179601c9b8d61a6d
3,029
hpp
C++
include/curl.hpp
mamba-org/powerloader
19c6304b9f7fbdb5312877568575524df4c5f9d3
[ "BSD-3-Clause" ]
4
2021-12-01T15:31:48.000Z
2021-12-14T18:27:19.000Z
include/curl.hpp
mamba-org/powerloader
19c6304b9f7fbdb5312877568575524df4c5f9d3
[ "BSD-3-Clause" ]
25
2021-12-06T18:36:05.000Z
2022-02-23T08:03:57.000Z
include/curl.hpp
mamba-org/powerloader
19c6304b9f7fbdb5312877568575524df4c5f9d3
[ "BSD-3-Clause" ]
3
2021-12-06T10:44:26.000Z
2022-02-18T16:11:23.000Z
#ifndef PW_CURL_HPP #define PW_CURL_HPP #include <filesystem> #include <functional> #include <map> #include <sstream> #include <string> #include <vector> #include <spdlog/fmt/fmt.h> #include <nlohmann/json.hpp> #include <tl/expected.hpp> #include "utils.hpp" #include "enums.hpp" namespace powerloader { extern "...
24.827869
89
0.608452
[ "vector" ]
12f0e3ffb8f4ba68221f246754579ac7ee3ba3e1
703
cc
C++
119. Triangle/TEST.cc
corkiwang1122/LeetCode
39b1680b58173e6ec23a475605c3450ce8f78a81
[ "MIT" ]
3,690
2015-01-03T03:40:23.000Z
2022-03-31T08:10:19.000Z
119. Triangle/TEST.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
21
2015-01-25T16:39:43.000Z
2021-02-26T05:28:22.000Z
119. Triangle/TEST.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
1,290
2015-01-09T01:28:20.000Z
2022-03-28T12:20:39.000Z
#define CATCH_CONFIG_MAIN #include "../Catch/single_include/catch.hpp" #include "solution.h" using std::vector; TEST_CASE("Triangle", "[minimumTotal]") { Solution s; SECTION( "example" ) { vector<vector<int>> vec{{2},{3,4},{6,5,7},{4,1,8,3}}; REQUIRE( s.minimumTotal(vec) == 11 ); } ...
33.47619
294
0.489331
[ "vector" ]
12f701ff87731fa0335127fc00c8efeafeea2ce3
3,024
cpp
C++
vm/native/java_lang_Object.cpp
omapzoom/platform-dalvik
415add46dbc6d1957d405d7dc7ace8a1fd91f339
[ "Apache-2.0" ]
1,306
2015-09-01T05:06:16.000Z
2022-03-10T07:13:10.000Z
dalvik/vm/native/java_lang_Object.cpp
cnrat/DexHunter
b8f46563c7f3aeb79cf40db09e1d231649f1a29a
[ "Apache-2.0" ]
11
2015-09-02T09:06:42.000Z
2020-12-26T04:59:34.000Z
dalvik/vm/native/java_lang_Object.cpp
cnrat/DexHunter
b8f46563c7f3aeb79cf40db09e1d231649f1a29a
[ "Apache-2.0" ]
598
2015-09-01T05:06:18.000Z
2022-03-27T07:59:49.000Z
/* * Copyright (C) 2008 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...
27.243243
78
0.686508
[ "object" ]
12f82edaab41b14788ff3dfbc8cb8aac5518d95e
4,261
cpp
C++
service/type-analysis/WholeProgramState.cpp
penguin-wwy/redex
31baadec7ccddcadb5ddaf4947a63112f2eadc04
[ "MIT" ]
null
null
null
service/type-analysis/WholeProgramState.cpp
penguin-wwy/redex
31baadec7ccddcadb5ddaf4947a63112f2eadc04
[ "MIT" ]
null
null
null
service/type-analysis/WholeProgramState.cpp
penguin-wwy/redex
31baadec7ccddcadb5ddaf4947a63112f2eadc04
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "WholeProgramState.h" #include "BaseIRAnalyzer.h" #include "Resolver.h" #include "Walkers.h" using namespace type_analyz...
29.590278
80
0.652898
[ "vector" ]
4209c25f64fd50f498728848bc0d9b35d4350705
1,193
cpp
C++
dil/dil-lifetimes.cpp
pre-graduate/dil
881003a95ed6724fb500307fdcf15364b0afcd51
[ "Apache-2.0" ]
1
2015-12-12T10:50:24.000Z
2015-12-12T10:50:24.000Z
dil/dil-lifetimes.cpp
pre-graduate/dil
881003a95ed6724fb500307fdcf15364b0afcd51
[ "Apache-2.0" ]
1
2015-12-11T17:06:54.000Z
2015-12-12T10:43:51.000Z
dil/dil-lifetimes.cpp
william-taylor/dependency-injection-container
881003a95ed6724fb500307fdcf15364b0afcd51
[ "Apache-2.0" ]
null
null
null
#include "dil-lifetimes.h" #include "dil-entry.h" void dil::local_lifetime::release(entry * entry) { const auto deleteClosure = entry->getDeleteClosure(); for (auto& ptr : allocated_objects) { deleteClosure(ptr); } } dil::raw_pointer dil::local_lifetime::acquire(entry * entry) { const aut...
19.241935
66
0.609388
[ "object" ]
420b6373d0aec6f8af54e27ce8c5cb795feac211
1,219
cpp
C++
torch/csrc/jit/api/object.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
torch/csrc/jit/api/object.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
torch/csrc/jit/api/object.cpp
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
#include <torch/csrc/jit/api/object.h> #include <ATen/core/jit_type.h> #include <torch/csrc/jit/api/compilation_unit.h> #include <torch/csrc/jit/frontend/resolver.h> #include <torch/csrc/jit/frontend/sugared_value.h> namespace torch { namespace jit { Object::Object( std::shared_ptr<CompilationUnit> cu, const...
25.395833
78
0.674323
[ "object" ]
420e5ea0bafd749d1f98c4897f05301b501ba4b8
1,280
cpp
C++
util/tosha3/tosha3.cpp
Warchant/ed25519-sha3
b25f5f25b999ae7e86fe779db628c486c5bae24a
[ "Apache-2.0" ]
24
2018-02-08T05:28:44.000Z
2022-01-16T07:43:47.000Z
util/tosha3/tosha3.cpp
Warchant/ed25519-sha3
b25f5f25b999ae7e86fe779db628c486c5bae24a
[ "Apache-2.0" ]
6
2018-03-23T20:31:57.000Z
2019-09-29T09:47:25.000Z
util/tosha3/tosha3.cpp
Warchant/ed25519-sha3
b25f5f25b999ae7e86fe779db628c486c5bae24a
[ "Apache-2.0" ]
19
2018-02-05T15:54:24.000Z
2022-01-29T20:08:32.000Z
#include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <vector> #include <ed25519/ed25519.h> #define STR2(x) #x #define STR(x) STR2(x) #include "helpers.hpp" int main() { std::ifstream f(STR(TESTDATAIN_PATH)); std::ofstream out(STR(TESTDATAOUT_PATH)); if (!f.i...
20.31746
75
0.576563
[ "vector" ]
420e63653b73772bf1d897c9be6e33bf56aea787
5,945
cc
C++
source/src/io_device.cc
tmadlener/SIO
c68c770649592c03957746e1522256300e31fcab
[ "BSD-3-Clause" ]
17
2016-09-12T15:39:23.000Z
2021-07-27T00:25:25.000Z
source/src/io_device.cc
tmadlener/SIO
c68c770649592c03957746e1522256300e31fcab
[ "BSD-3-Clause" ]
88
2016-10-03T18:49:06.000Z
2022-03-23T18:19:28.000Z
source/src/io_device.cc
tmadlener/SIO
c68c770649592c03957746e1522256300e31fcab
[ "BSD-3-Clause" ]
44
2016-09-12T15:42:26.000Z
2021-12-02T12:33:05.000Z
// -- sio headers #include <sio/io_device.h> #include <sio/api.h> namespace sio { read_device::read_device( buffer_span buf ) : _buffer(std::move(buf)) { /* nop */ } //-------------------------------------------------------------------------- void read_device::set_buffer( const buffer_span &buf ) { ...
36.030303
123
0.514718
[ "object" ]
420fe25f7c48f5302d174b8c8479ff7d830ff9c8
11,562
hpp
C++
ngsPopGen/ngsStat.hpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
6
2015-07-25T02:05:07.000Z
2021-05-27T08:37:01.000Z
ngsPopGen/ngsStat.hpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
60
2015-01-10T20:46:25.000Z
2018-09-19T22:32:02.000Z
ngsPopGen/ngsStat.hpp
peterdfields/angsd-wrapper
199abf0b513a763114511f08dfce742305f41a91
[ "MIT" ]
8
2015-04-12T09:37:58.000Z
2017-04-25T19:30:39.000Z
/// TEMPLATES // a general matrix style structure template <typename T> struct matrix{ int x; int y; T** data; }; // a general array style structure template <typename T> struct array{ int x; T* data; }; template <typename T> T *collapse(std::vector<T> &v){ T *tmp = new T[v.size()]; for(int i=0;i<v.si...
27.793269
922
0.612005
[ "vector" ]
421c4388bc9362c81ea9299e2e20e856a39dc414
3,577
cpp
C++
day07/src/main.cpp
lento234/advent2021
1abe10f97a008bea22ece05724b8cd826222fc80
[ "MIT" ]
6
2021-12-01T23:41:35.000Z
2021-12-16T23:17:37.000Z
day07/src/main.cpp
lento234/advent2021
1abe10f97a008bea22ece05724b8cd826222fc80
[ "MIT" ]
null
null
null
day07/src/main.cpp
lento234/advent2021
1abe10f97a008bea22ece05724b8cd826222fc80
[ "MIT" ]
1
2021-12-03T22:14:26.000Z
2021-12-03T22:14:26.000Z
// Advent of Code: Day 07 // Lento Manickathan #include <algorithm> #include <chrono> #include <fmt/ranges.h> #include <numeric> #include <string> #include <vector> #include <utils/parser.h> #include <utils/timer.h> /* static int64_t problem1_naive(utils::Text<std::string>& input) { std::vector<int64_t> positions...
26.894737
98
0.580375
[ "vector" ]
4227017655fa15d83ca9a3b1da6947e4fe5ff5a6
3,750
cc
C++
usr_local/src/sparrowhawk/src/lib/regexp.cc
parnurzeal/tts-tutorial
db11aed2adc5101cc6d06d1138f74d5f5afe666f
[ "Apache-2.0" ]
30
2016-09-23T06:38:08.000Z
2022-02-14T02:02:14.000Z
usr_local/src/sparrowhawk/src/lib/regexp.cc
xbsdsongnan/docker-festival
1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6
[ "Apache-2.0" ]
1
2017-07-03T06:27:44.000Z
2017-07-03T06:27:44.000Z
usr_local/src/sparrowhawk/src/lib/regexp.cc
xbsdsongnan/docker-festival
1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6
[ "Apache-2.0" ]
13
2016-11-06T05:52:23.000Z
2020-08-26T18:38:00.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed ...
26.408451
89
0.621867
[ "vector" ]
423fef5e337e134e7a21ea9407215abbdeb5b147
215,723
cpp
C++
src/ui/debug/debug_ui.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
3
2020-03-05T23:56:14.000Z
2021-02-17T19:06:50.000Z
src/ui/debug/debug_ui.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-07T01:23:47.000Z
2021-03-07T01:23:47.000Z
src/ui/debug/debug_ui.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-03T07:54:16.000Z
2021-03-03T07:54:16.000Z
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version 3.9.0 Dec 31 2020) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "ui/debug/calibrat...
51.819121
120
0.536711
[ "object" ]
4241011e3869f31f85a8c3bebbb199668c6f0146
10,719
cpp
C++
admin/snapin/wsecmgr/precpage.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/wsecmgr/precpage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/wsecmgr/precpage.cpp
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 1996-2001. // // File: precpage.cpp // // Contents: implementation of CPrecedencePage // //------------------------------------------------------------------...
30.109551
117
0.506391
[ "vector" ]
4242fdeebc18094efb6c9685e8cd78f632eb9026
766
cpp
C++
cpp/algorithm_move.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/algorithm_move.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/algorithm_move.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/algorithm_move.exe ./cpp/algorithm_move.cpp && (cd ../_build/cpp/;./algorithm_move.exe) https://en.cppreference.com/w/cpp/algorithm/move */ #include <algorithm> #include <iostream> #include <vector> #include <list> #include <iterator> #include <thread> #include <chrono> void...
26.413793
129
0.630548
[ "vector" ]
4246cd9bbfa899fd9c3671ab5d766f9cedf59f39
344
cpp
C++
LeetCode/CoinChange.cpp
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
2
2019-08-27T21:48:55.000Z
2020-04-20T05:56:56.000Z
LeetCode/CoinChange.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
1
2020-10-10T16:14:54.000Z
2020-10-10T16:14:54.000Z
LeetCode/CoinChange.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
2
2020-10-21T17:12:05.000Z
2020-10-27T09:34:57.000Z
class Solution { public: int coinChange(vector<int>& coins, int amount) { vector<int> dp(amount + 1, amount + 1); dp[0] = 0; for(int i = 1; i <= amount; i++) { for(auto coin : coins) { if(coin <= i) { dp[i] = min(dp[i], dp[i-coin] + 1); } } } if(dp[amount] > amount) return -1; ret...
20.235294
52
0.514535
[ "vector" ]
424ae6d0ceab2b725949c3b3618fe46743cca6f9
27,614
cpp
C++
src/custom_nodes/model_zoo_intel_object_detection/model_zoo_intel_object_detection.cpp
IntelAI/OpenVINO-model-server
281cffcc358013afcec0d810331acc66c18297f7
[ "Apache-2.0" ]
305
2018-10-01T12:41:28.000Z
2020-04-24T10:36:08.000Z
src/custom_nodes/model_zoo_intel_object_detection/model_zoo_intel_object_detection.cpp
IntelAI/OpenVINO-model-server
281cffcc358013afcec0d810331acc66c18297f7
[ "Apache-2.0" ]
61
2018-11-15T09:23:01.000Z
2020-04-23T09:29:56.000Z
src/custom_nodes/model_zoo_intel_object_detection/model_zoo_intel_object_detection.cpp
IntelAI/OpenVINO-model-server
281cffcc358013afcec0d810331acc66c18297f7
[ "Apache-2.0" ]
67
2018-10-13T14:33:48.000Z
2020-04-22T19:01:32.000Z
//***************************************************************************** // Copyright 2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
51.422719
288
0.704679
[ "shape", "vector" ]
4250b6e7d1028e0e006eb9f7f948e4d465180237
1,144
cpp
C++
test/test_nearest_intersection_dist_batch.cpp
cogsys-tuebingen/cslibs_boost_geometry
a6438e6ef62afb2699173c75430b7f97e0cc451f
[ "BSD-3-Clause" ]
null
null
null
test/test_nearest_intersection_dist_batch.cpp
cogsys-tuebingen/cslibs_boost_geometry
a6438e6ef62afb2699173c75430b7f97e0cc451f
[ "BSD-3-Clause" ]
null
null
null
test/test_nearest_intersection_dist_batch.cpp
cogsys-tuebingen/cslibs_boost_geometry
a6438e6ef62afb2699173c75430b7f97e0cc451f
[ "BSD-3-Clause" ]
1
2019-10-16T09:43:15.000Z
2019-10-16T09:43:15.000Z
#include <cslibs_boost_geometry/algorithms.h> #include <gtest/gtest.h> #include "points_and_lines.hpp" using namespace cslibs_boost_geometry::algorithms; using namespace cslibs_boost_geometry::types; using namespace cslibs_boost_geometry::test_samples; TEST(TestCSLibsBoostGeometry, testNearestIntersectionDistBatch) ...
31.777778
91
0.727273
[ "vector" ]
425427c6ac423767590d4de54f777257ae23e9b7
10,458
cpp
C++
hoodwind/firmware/mvc/view.cpp
jessecrossen/hautmidi
7ef969d842c6cd9bc412d08ca422d962547e88e8
[ "Unlicense" ]
4
2017-09-28T02:06:42.000Z
2021-07-15T01:58:58.000Z
hoodwind/firmware/mvc/view.cpp
jessecrossen/hautmidi
7ef969d842c6cd9bc412d08ca422d962547e88e8
[ "Unlicense" ]
null
null
null
hoodwind/firmware/mvc/view.cpp
jessecrossen/hautmidi
7ef969d842c6cd9bc412d08ca422d962547e88e8
[ "Unlicense" ]
null
null
null
#include "view.h" #include "../debug.h" // VIEW *********************************************************************** // constructor View::View() { _parent = _nextChild = _nextModelView = NULL; _children = NULL; _model = NULL; _visible = true; _enabled = false; _cs = { .bg = TFT_RGB(0, 0, 0), ...
24.152425
96
0.576018
[ "render", "model" ]