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
74dee206c0ee79370dfdc6f8a43e5999552ed788
43,649
cpp
C++
src/blender/blender_shader.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
src/blender/blender_shader.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
src/blender/blender_shader.cpp
alecsavvy/cycles
2ad08fa83a7b0ad275a97bc183db34a9c98d6384
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2013 Blender Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
32.992441
109
0.700543
[ "render", "object", "vector" ]
74e54ac3c4f0055299f6582fe9a5c4ef31950732
28,247
cpp
C++
Addins/ExportKF.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
null
null
null
Addins/ExportKF.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
null
null
null
Addins/ExportKF.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
null
null
null
#pragma region Headers #include "stdafx.h" #include "hkxcmd.h" #include "hkxutils.h" #include "hkfutils.h" #include "log.h" #include <direct.h> #include <stdlib.h> #include <stdio.h> #pragma region Niflib Headers ////////////////////////////////////////////////////////////////////////// // Niflib Includes //////////...
29.090628
176
0.632138
[ "shape", "vector", "transform" ]
d55d7d50ed82615aff1e6b35829707a325a8bd80
55,343
hpp
C++
youbot/youbot_driver/include/youbot_driver/youbot/YouBotGripperParameter.hpp
MrJaeqx/ESA--WORK
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
2
2018-03-09T13:44:29.000Z
2019-12-18T16:17:03.000Z
youbot/youbot_driver/include/youbot_driver/youbot/YouBotGripperParameter.hpp
MrJaeqx/ESA--WORK
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
32
2017-11-19T16:26:41.000Z
2018-01-19T12:36:10.000Z
youbot/youbot_driver/include/youbot_driver/youbot/YouBotGripperParameter.hpp
FontysAtWork/ESA-PROJ
50d5b397f634db98e2627a764c7731e76a4b3feb
[ "MIT" ]
1
2017-11-19T12:45:37.000Z
2017-11-19T12:45:37.000Z
#ifndef YOUBOT_YOUBOTGRIPPERPARAMETER_H #define YOUBOT_YOUBOTGRIPPERPARAMETER_H /**************************************************************** * * Copyright (c) 2011 * All rights reserved. * * Hochschule Bonn-Rhein-Sieg * University of Applied Sciences * Computer Science Department * * ++++++++++++++++++++...
27.451885
334
0.626565
[ "vector" ]
d55f98fa57d9cd6cfad8f70881f90b6c7d2a1163
958
cpp
C++
g4g/1380.cpp
perryizgr8/scratchpad
d7dbd65d53fd0936df6e9112b9468855b9c5089e
[ "MIT" ]
null
null
null
g4g/1380.cpp
perryizgr8/scratchpad
d7dbd65d53fd0936df6e9112b9468855b9c5089e
[ "MIT" ]
null
null
null
g4g/1380.cpp
perryizgr8/scratchpad
d7dbd65d53fd0936df6e9112b9468855b9c5089e
[ "MIT" ]
null
null
null
//Set Bits //bit Adobe Brocade Cisco Juniper Networks //Given a positive integer N, print count of set bits in it. For example, if the given number is 6, output should be 2 as there are two set bits in it. // //Input: // //The first line of input contains an integer T denoting the number of test cases. Th...
17.418182
152
0.598121
[ "vector" ]
d560ddcc68ae3743ed2a734b2af4c192d549879b
2,502
cpp
C++
graph/mst/mst.cpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
graph/mst/mst.cpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
graph/mst/mst.cpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
// // spanning_trees.cpp // lista5 // // Created by Kacper Raczy on 02.06.2018. // Copyright © 2018 Kacper Raczy. All rights reserved. // #include "mst.hpp" bool mst_comp(edge e1, edge e2) { return e1.weight < e2.weight; } // Subset operations void make_set(subset* set, int x) { set->parent = x; set...
23.828571
91
0.535572
[ "vector" ]
d56567d1f1ec58f2f20592427c873cac373828d4
4,369
cxx
C++
src/vtk/DRCFilters/vtkPlaneSegmentation.cxx
edrumwri/director
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
[ "BSD-3-Clause" ]
18
2018-11-05T09:16:11.000Z
2021-12-21T09:05:50.000Z
src/vtk/DRCFilters/vtkPlaneSegmentation.cxx
edrumwri/director
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
[ "BSD-3-Clause" ]
36
2018-10-09T21:33:43.000Z
2020-12-10T11:22:29.000Z
src/vtk/DRCFilters/vtkPlaneSegmentation.cxx
edrumwri/director
c82aff0ed2ad0083dc5ac9cf4b90994d2d852be8
[ "BSD-3-Clause" ]
5
2017-02-22T17:56:52.000Z
2019-07-21T09:04:53.000Z
#include "vtkPlaneSegmentation.h" //#include "vtkPCLConversions.h" #include "vtkPolyData.h" #include "vtkPointData.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkSmartPointer.h" #include "vtkStreamingDemandDrivenPipeline.h" #include "vtkPlane.h" #include "vt...
33.868217
94
0.644999
[ "vector", "model" ]
d5669ee64930074e95c62982d3765e8480bc67f5
786
cpp
C++
Kattis/kornislav.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/kornislav.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/kornislav.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// // https://open.kattis.com/problems/kornislav #include <vector> #include <algorithm> #include <iostream> #include <sstream> #include <string> #include <stack> #include <cmath> #include <map> #include <utility> #include <queue> #include <iomanip> #include <deque> #include <set> #define Forcase int __t;cin>>__t;getch...
18.27907
75
0.622137
[ "vector" ]
d5674b4251646c01465f357f0d0b21a64bbede82
517
hpp
C++
physics/physics.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
physics/physics.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
physics/physics.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_PHYSICS_PHYSICS_HPP___ #define ___INANITY_PHYSICS_PHYSICS_HPP___ /* Общий файл для подсистемы физики. По идее, физика может работать через различные бэкэнды. Сейчас есть только подсистема Bullet. */ #include "../Object.hpp" // Решено просто включать математику во всю физику. #include "../inanity-ma...
24.619048
63
0.820116
[ "object" ]
d575a060f1c7ca9dd9647f3843d12e5dae737c85
6,566
hh
C++
src/Material/HelmholtzEquationOfState.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
1
2020-10-21T01:56:55.000Z
2020-10-21T01:56:55.000Z
src/Material/HelmholtzEquationOfState.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/Material/HelmholtzEquationOfState.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
// // HelmholtzEquationOfState.h // // // Created by Raskin, Cody Dantes on 8/28/14. // // #ifndef ____HelmholtzEquationOfState_hh__ #define ____HelmholtzEquationOfState_hh__ #include "EquationOfState.hh" #include "Field/FieldList.hh" namespace Spheral { template<typename Dimension> class HelmholtzEquat...
46.9
159
0.637527
[ "vector" ]
d578582e6e48fc01ee5923cb2f2b18777d57c717
5,310
hpp
C++
boost/boost/iostreams/filter/aggregate.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1,210
2020-08-18T07:57:36.000Z
2022-03-31T15:06:05.000Z
boost/boost/iostreams/filter/aggregate.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
boost/boost/iostreams/filter/aggregate.hpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
275
2020-08-18T08:35:16.000Z
2022-03-31T15:06:07.000Z
// (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) // (C) Copyright 2003-2007 Jonathan Turkanis // 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.) // See http://www.boost.org/libs/iostreams for docume...
31.420118
81
0.603578
[ "vector" ]
d57a2f952cbd889a8c4d8730110720fb588fe3fa
23,739
cc
C++
gestop/proto/landmarkList.pb.cc
ofnote/gestop
8534ae582c0fb6c6cd5f86d0d01d9ef0dd611093
[ "Apache-2.0" ]
24
2020-10-02T08:58:48.000Z
2022-03-30T06:04:07.000Z
gestop/proto/landmarkList.pb.cc
ofnote/gestop
8534ae582c0fb6c6cd5f86d0d01d9ef0dd611093
[ "Apache-2.0" ]
6
2020-10-02T09:26:35.000Z
2022-03-12T00:48:54.000Z
gestop/proto/landmarkList.pb.cc
ofnote/gestop
8534ae582c0fb6c6cd5f86d0d01d9ef0dd611093
[ "Apache-2.0" ]
6
2020-10-02T08:58:52.000Z
2021-05-10T15:57:22.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: landmarkList.proto #include "landmarkList.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor.h> #in...
39.433555
171
0.74426
[ "object" ]
d57b610438a635e5093796b641205ab68fc40866
5,145
cpp
C++
examples/aircraft/aircraft.cpp
yinanl/rocs
bf2483903e39f4c0ea254a9ef56720a1259955ad
[ "BSD-3-Clause" ]
null
null
null
examples/aircraft/aircraft.cpp
yinanl/rocs
bf2483903e39f4c0ea254a9ef56720a1259955ad
[ "BSD-3-Clause" ]
null
null
null
examples/aircraft/aircraft.cpp
yinanl/rocs
bf2483903e39f4c0ea254a9ef56720a1259955ad
[ "BSD-3-Clause" ]
null
null
null
/** * Safe landing control of DC9-30 with the specification-guided engine. * * Created by Yinan Li on Feb. 10, 2020. * Hybrid Systems Group, University of Waterloo. */ #include <iostream> #include "src/system.hpp" #include "src/csolver.h" // #include "src/matlabio.h" #include "src/hdf5io.h" /* Parameters of...
29.568966
90
0.535083
[ "vector", "model" ]
d57ee9d3a0bf05ebdbe88211e44e388a44b5bebf
12,954
cxx
C++
src/stra_nodes/stra_copy.cxx
flame/tblis-strassen
6e929ab34c366c4ec6804ad2bf7cae4b84ee81ab
[ "BSD-3-Clause" ]
9
2017-08-25T08:25:01.000Z
2021-12-02T20:41:28.000Z
src/stra_nodes/stra_copy.cxx
flame/tblis-strassen
6e929ab34c366c4ec6804ad2bf7cae4b84ee81ab
[ "BSD-3-Clause" ]
null
null
null
src/stra_nodes/stra_copy.cxx
flame/tblis-strassen
6e929ab34c366c4ec6804ad2bf7cae4b84ee81ab
[ "BSD-3-Clause" ]
3
2018-07-31T05:58:20.000Z
2022-01-11T03:36:46.000Z
template<typename T, int Mat, unsigned N> void tensor2matrix(const communicator& comm, const config& cfg, stra_tensor_view<T,N> A, matrix_view<T>& Ap) const //stra_block_scatter_matrix<T,N> A, matrix_view<T>& Ap) const { // -1: before, allocate buffers for Ap...
37.547826
136
0.413
[ "vector" ]
d5827bbedd9941d05ce85f79eef5584207ab6b40
1,759
cpp
C++
problems/kickstart/2017/E/trapezoid-counting/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/kickstart/2017/E/trapezoid-counting/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/kickstart/2017/E/trapezoid-counting/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** auto solve() { int N; cin >> N; vector<int> sticks(N); vector<int> counts; for (int i = 0; i < N; ++i) { cin >> sticks[i]; } sort(begin(sticks), end(sticks)); int write = 0, read = 0; while (read < N) { int en...
24.430556
71
0.423536
[ "vector" ]
d587f791e631ec35cef20922d14156be9df97c09
109,021
cpp
C++
engine/tests/kernel_tests/window_overlap_kernel_test.cpp
drabastomek/blazingsql
68414712019f19c4e967466fbf4ce7d54fdd4068
[ "Apache-2.0" ]
null
null
null
engine/tests/kernel_tests/window_overlap_kernel_test.cpp
drabastomek/blazingsql
68414712019f19c4e967466fbf4ce7d54fdd4068
[ "Apache-2.0" ]
null
null
null
engine/tests/kernel_tests/window_overlap_kernel_test.cpp
drabastomek/blazingsql
68414712019f19c4e967466fbf4ce7d54fdd4068
[ "Apache-2.0" ]
null
null
null
#include <spdlog/spdlog.h> #include "tests/utilities/BlazingUnitTest.h" #include "utilities/DebuggingUtils.h" #include "utilities/CommonOperations.h" #include <chrono> #include <thread> //#include <gtest/gtest.h> #include "cudf_test/column_wrapper.hpp" #include "cudf_test/type_lists.hpp" // cudf::test::NumericTypes ...
56.167439
226
0.726924
[ "vector" ]
d58aec8c0919094a40b7dacc2c2bd58f63c43b40
7,184
cpp
C++
old/md5/md5.cpp
CodeCrackerSND/BarsWF_v2
6f77a7bca11f9b6044abde7f16984ddf1a68e31d
[ "MIT" ]
12
2020-02-10T12:55:41.000Z
2021-07-08T14:28:51.000Z
old/md5/md5.cpp
CodeCrackerSND/BarsWF_v1
68cdf3acc89d659b4d1f80393e2782908118c5a9
[ "MIT" ]
1
2020-12-30T04:45:48.000Z
2020-12-30T04:45:48.000Z
old/md5/md5.cpp
CodeCrackerSND/BarsWF_v2
6f77a7bca11f9b6044abde7f16984ddf1a68e31d
[ "MIT" ]
7
2020-02-09T12:20:21.000Z
2021-07-25T20:14:08.000Z
// md5.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <assert.h> #include <iostream> #include <sstream> #include <string> #include <conio.h> #include <windows.h> using namespace std; typedef unsigned char hl_uint8; typedef unsigned short int hl_uint16; typedef unsigned...
29.933333
87
0.534243
[ "transform" ]
d5928633e6a569f29e231710f6878edab6e47d8d
2,796
cpp
C++
examples/ARC/main.cpp
emarc99/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
146
2017-03-21T07:50:43.000Z
2022-03-19T03:32:22.000Z
examples/ARC/main.cpp
Crasader/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
50
2017-03-22T04:08:15.000Z
2019-10-21T16:55:48.000Z
examples/ARC/main.cpp
Crasader/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
55
2017-03-21T07:52:58.000Z
2021-12-27T13:02:08.000Z
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * 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 * ...
28.242424
82
0.683119
[ "object" ]
d5928a3353dd44ab4d5e93d209a3e971b115d60b
8,970
cc
C++
chromium/ui/views/touchui/touch_selection_menu_runner_views.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
chromium/ui/views/touchui/touch_selection_menu_runner_views.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
chromium/ui/views/touchui/touch_selection_menu_runner_views.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright 2015 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 "ui/views/touchui/touch_selection_menu_runner_views.h" #include <stddef.h> #include "base/macros.h" #include "base/strings/utf_string_conversio...
32.5
80
0.722631
[ "geometry", "object" ]
d593aef5921a54e9e01fb241279f0291d6f36180
10,417
cpp
C++
be/src/olap/delta_writer.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
2
2020-08-05T05:23:51.000Z
2021-01-27T06:31:13.000Z
be/src/olap/delta_writer.cpp
imay/incubator-doris
cefe1794d4b9feb9e5e8377750994b53c411cab9
[ "Apache-2.0" ]
null
null
null
be/src/olap/delta_writer.cpp
imay/incubator-doris
cefe1794d4b9feb9e5e8377750994b53c411cab9
[ "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...
41.501992
119
0.635884
[ "vector" ]
d5ab0294ea5ea1e4847c59390715c28d4890ce01
5,442
cpp
C++
src/game/shared/tf/tf_weapon_bonesaw.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/shared/tf/tf_weapon_bonesaw.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/shared/tf/tf_weapon_bonesaw.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "cbase.h" #include "tf_weapon_bonesaw.h" #include "tf_weapon_medigun.h" #ifdef GAME_DLL #include "tf_player.h" #else #include "c_tf_p...
28.492147
138
0.538956
[ "model" ]
d5b07fa21fcbeb867731b4fc3054f322d1c2d36a
1,321
cpp
C++
source/scenes/dsItem2D.cpp
nczeroshift/entropia
26e71e8c2acf608d3050482e2ce450635f51bb64
[ "MIT" ]
null
null
null
source/scenes/dsItem2D.cpp
nczeroshift/entropia
26e71e8c2acf608d3050482e2ce450635f51bb64
[ "MIT" ]
null
null
null
source/scenes/dsItem2D.cpp
nczeroshift/entropia
26e71e8c2acf608d3050482e2ce450635f51bb64
[ "MIT" ]
null
null
null
#include "dsItem2D.h" #include "../dsUtils.h" dsItem2D::dsItem2D(DS::Data * data) : DS::Stage(data), m_Alpha(255), m_ScaleX(1.0), m_ScaleY(1.0){ } dsItem2D::~dsItem2D() { } void dsItem2D::Load() { } void dsItem2D::Update(DS::StageProxy * proxy, double start, double end, double time) { const double off = tim...
24.462963
98
0.660863
[ "render" ]
d5b332c114daa6f893be60869eec1e9722e4c56e
19,476
cpp
C++
Extensions/GlyphRift/RiftHMD.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
25
2017-08-05T07:29:00.000Z
2022-02-02T06:28:27.000Z
Extensions/GlyphRift/RiftHMD.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
null
null
null
Extensions/GlyphRift/RiftHMD.cpp
zgpxgame/hieroglyph3
bb1c59d82a69062bb76431b691fbcb381930768a
[ "MIT" ]
9
2018-07-14T08:40:29.000Z
2021-03-19T08:51:30.000Z
//-------------------------------------------------------------------------------- // This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed // under the MIT License, available in the root of this distribution and // at the following URL: // // http://www.opensource.org/licenses/mit-license.ph...
34.716578
132
0.588417
[ "render", "object", "vector" ]
d5b60a31014e1275b9ffe6f1a1f83d0b79b949a5
13,851
cpp
C++
media_driver/agnostic/common/vp/hal/vphal_mdf_wrapper.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
660
2017-11-21T15:55:52.000Z
2022-03-31T06:31:00.000Z
media_driver/agnostic/common/vp/hal/vphal_mdf_wrapper.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
1,070
2017-12-01T00:26:10.000Z
2022-03-31T17:55:26.000Z
media_driver/agnostic/common/vp/hal/vphal_mdf_wrapper.cpp
ashakhno/media-driver
79c20b78a539afdb55b5fd0006e959f92c12fa64
[ "Intel", "BSD-3-Clause", "MIT" ]
309
2017-11-30T08:34:09.000Z
2022-03-30T18:52:07.000Z
/* * Copyright (c) 2009-2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, p...
27.212181
147
0.623782
[ "render", "vector" ]
d5b8ef0bf0e2462366e16fc7e38ffd71ca6d8fc4
5,428
cpp
C++
clients/cpp-pistache-server/generated/model/PipelineRunImpllinks.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/PipelineRunImpllinks.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/PipelineRunImpllinks.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cl...
21.975709
127
0.635962
[ "model" ]
d5b98ffb89d935b7caa9262030522a210c996a2d
5,044
cpp
C++
src/rtl/AdaptiveRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
2
2021-02-13T14:18:39.000Z
2021-11-04T07:21:21.000Z
src/rtl/AdaptiveRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
src/rtl/AdaptiveRenderer.cpp
potato3d/rtrt
cac9f2f80d94bf60adf0bbd009f5076973ee10c6
[ "MIT" ]
null
null
null
#include <rtl/AdaptiveRenderer.h> #include <rtu/random.h> #include <omp.h> namespace rtl { void AdaptiveRenderer::init() { rtu::Random::autoSeed(); _epsilon = 0.01f; _maxRecursionDepth = 3; } void AdaptiveRenderer::render() { unsigned int width; unsigned int height; rtsViewport( width, height ); int w = (int...
35.027778
117
0.646114
[ "render" ]
d5bd99efb939b3a74cd3ef497e9424af5ee745ae
4,976
cpp
C++
src/analysis/processing/qgsalgorithmintersection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmintersection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmintersection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsalgorithmintersection.cpp --------------------- Date : April 2018 Copyright : (C) 2018 by Martin Dobias Email : wonder dot sk at gmail dot com ********************************************...
43.269565
201
0.65213
[ "vector" ]
d5c771e7dd3af6a4f1e586719f83b91f467f6ff9
743
cpp
C++
6_STLContainerIterator/own/Iterator2.cpp
stefan-ewald/UdemyCpp
f880b566774882a1722e2c76c5ce3bdbd33b35d0
[ "MIT" ]
null
null
null
6_STLContainerIterator/own/Iterator2.cpp
stefan-ewald/UdemyCpp
f880b566774882a1722e2c76c5ce3bdbd33b35d0
[ "MIT" ]
null
null
null
6_STLContainerIterator/own/Iterator2.cpp
stefan-ewald/UdemyCpp
f880b566774882a1722e2c76c5ce3bdbd33b35d0
[ "MIT" ]
null
null
null
#include <iostream> #include <iterator> #include <list> #include <numeric> #include <vector> int main() { std::vector<int> vec(5, 0); std::iota(vec.begin(), vec.end(), 0); std::list<int> list(5, 0); std::iota(list.begin(), list.end(), 0); auto it = list.begin(); std::advance(it, 2); // replac...
22.515152
66
0.546433
[ "vector" ]
d5ce5ca3537edc5eccaf75ab62f182486dc1e2bc
4,016
cpp
C++
FireCube/UI/UIText.cpp
ashleygwinnell/firecube
ea6bec6bab98d922dce76610a739beb5f7f88b61
[ "MIT" ]
1
2020-03-31T20:41:48.000Z
2020-03-31T20:41:48.000Z
FireCube/UI/UIText.cpp
ashleygwinnell/firecube
ea6bec6bab98d922dce76610a739beb5f7f88b61
[ "MIT" ]
null
null
null
FireCube/UI/UIText.cpp
ashleygwinnell/firecube
ea6bec6bab98d922dce76610a739beb5f7f88b61
[ "MIT" ]
null
null
null
#include "UI/UIText.h" #include "Rendering/Font.h" using namespace FireCube; UIText::UIText(Engine *engine) : UIElement(engine), color(1.0f) { } UIText::~UIText() { } void UIText::GetParts(std::vector<UIPart> &parts, std::vector<UIVertex> &data) { if (vertexData.empty()) { return; } UIPart part; part.t...
29.529412
201
0.656375
[ "vector" ]
d5cf000180b9d9d64d7a407b59a28520d952010d
24,802
cpp
C++
Utilities/Open3DMotion/src/Open3DMotion/MotionFile/Formats/MDF/ForcePlateMDF.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
61
2015-04-21T20:40:37.000Z
2022-03-25T03:35:03.000Z
Utilities/Open3DMotion/src/Open3DMotion/MotionFile/Formats/MDF/ForcePlateMDF.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
40
2018-03-11T15:14:50.000Z
2022-03-23T18:13:48.000Z
Utilities/Open3DMotion/src/Open3DMotion/MotionFile/Formats/MDF/ForcePlateMDF.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
56
2015-05-11T11:04:35.000Z
2022-01-15T20:37:04.000Z
/*-- Open3DMotion Copyright (c) 2004-2012. All rights reserved. See LICENSE.txt for more information. --*/ #include "ForcePlateMDF.h" #include "MDFVarTypes.h" #include "Open3DMotion/Maths/LinearSolve3.h" #include "Open3DMotion/Maths/RigidTransform3.h" #include <math.h> namespace Open3DMotion ...
30.099515
125
0.620192
[ "vector", "model", "transform" ]
d5d06eb74ec8c856b445df02542439045361ce6c
4,723
cpp
C++
build.cpp
cjemerson/cs411_hw2
a373ce741b224b6647c89e8aafe65131789ec793
[ "MIT" ]
null
null
null
build.cpp
cjemerson/cs411_hw2
a373ce741b224b6647c89e8aafe65131789ec793
[ "MIT" ]
null
null
null
build.cpp
cjemerson/cs411_hw2
a373ce741b224b6647c89e8aafe65131789ec793
[ "MIT" ]
null
null
null
// build.cpp // Charles Emerson // 23 September 2019 // Updated: 23 September 2019 // // For CS 411 Fall 2019 // Source for function build // Solution for Assignment 2, Exercise A #include "build.h" /***** FUNCTION DECLARATIONS *****/ // Workhorse function (RECURSIVE) // *** Default arguments specifi...
34.224638
108
0.638154
[ "vector" ]
d5dd142f84f90a9ec3b0d12ba11e4f6052cf38f5
7,083
hpp
C++
include/autoppl/expression/distribution/uniform.hpp
JamesYang007/autoppl
e78f8d229d2e399f86f338e473da5ddc7dbed053
[ "MIT" ]
37
2020-04-12T19:45:12.000Z
2021-06-28T19:05:38.000Z
include/autoppl/expression/distribution/uniform.hpp
JamesYang007/autoppl
e78f8d229d2e399f86f338e473da5ddc7dbed053
[ "MIT" ]
11
2020-04-26T14:55:52.000Z
2020-09-13T19:21:50.000Z
include/autoppl/expression/distribution/uniform.hpp
JamesYang007/autoppl
e78f8d229d2e399f86f338e473da5ddc7dbed053
[ "MIT" ]
7
2020-04-15T04:45:22.000Z
2022-03-25T17:28:42.000Z
#pragma once #include <cassert> #include <random> #include <fastad_bits/reverse/stat/uniform.hpp> #include <autoppl/util/traits/traits.hpp> #include <autoppl/expression/distribution/dist_utils.hpp> #include <autoppl/math/density.hpp> #include <autoppl/math/math.hpp> #define PPL_UNIFORM_PARAM_SHAPE \ "Uniform param...
29.886076
83
0.575039
[ "shape", "vector" ]
d5e29ce3afd3c6082478361e267721b83371e486
2,520
cpp
C++
c++/segment2D.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
38
2018-09-17T18:16:24.000Z
2022-02-10T10:26:23.000Z
c++/segment2D.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
1
2020-10-01T10:48:45.000Z
2020-10-04T11:27:44.000Z
c++/segment2D.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
12
2018-11-13T13:36:41.000Z
2021-05-02T10:07:44.000Z
/// Name: Segment2D /// Description: Segment Tree implementation using bottom-up technique for 2D matrix /// Detail: Segment tree, Data Structure, Range Query, 2D /// Guarantee: } // Segment2D vector< vector< int > >arr, tree; // NOTE: Arr size is n*m, tree size is (4n)*(4m) void build_y(int vx, int lx, int r...
32.727273
91
0.475
[ "vector" ]
d5e4f4d5e106a1cb0f1d0007261f88d98689f14e
14,438
cpp
C++
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/SignAgent.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
null
null
null
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/SignAgent.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
2
2018-01-13T01:58:40.000Z
2018-01-13T02:22:28.000Z
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/SignAgent.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
1
2017-11-22T22:19:54.000Z
2017-11-22T22:19:54.000Z
#include "stdafx.h" //SignAgent void SignAgent( std::wstring fileName, PCCERT_CONTEXT appAuthCert, INT32 buildNo ) { DWORD retVal = STDFUFILES_NOERROR; DWORD dwKeySpec; BOOL pfCallerFreeProvOrCryptKey; HCRYPTPROV_OR_NCRYPT_KEY_HANDLE codeAuth = NULL; HANDLE hHexFile = INVALID_HANDLE_VALU...
39.664835
192
0.557487
[ "vector" ]
d5e52f483cd705bab12006c7e80bbf89a539b9d7
1,251
hpp
C++
EaMC++/07_CRTP_variadic_templates/operators/operators.hpp
Jorengarenar/homework
5e69aa0fb1b21ffaf88d62af263ea719e82e9c70
[ "Unlicense" ]
null
null
null
EaMC++/07_CRTP_variadic_templates/operators/operators.hpp
Jorengarenar/homework
5e69aa0fb1b21ffaf88d62af263ea719e82e9c70
[ "Unlicense" ]
null
null
null
EaMC++/07_CRTP_variadic_templates/operators/operators.hpp
Jorengarenar/homework
5e69aa0fb1b21ffaf88d62af263ea719e82e9c70
[ "Unlicense" ]
null
null
null
#pragma once template<int N> class Vector; template<typename L, typename R> class Vector_lazy { public: using F = int (*)(L,R,int); Vector_lazy(L&& left_, R&& right_, F op_) : left(std::forward<L>(left_)), right(std::forward<R>(right_)), op(op_) {} int operator [](int n) { retu...
21.568966
77
0.533173
[ "vector" ]
d5f6c986a03a2029f5264038c0c2d307fe1f8a2c
2,061
cpp
C++
leetcode2/aliendictionary.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
leetcode2/aliendictionary.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
leetcode2/aliendictionary.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
class Solution { public: //adjacent list graph unordered_map<char, unordered_set<char> > g; vector<int> vis; int t; string alienOrder(vector<string>& words) { if(words.size()==1){ return words[0]; } g=buildGraph(words); string res=to...
24.535714
79
0.378457
[ "vector" ]
d5f8ce601ea2d65c80acc96cb684f07c31e949ee
3,585
cc
C++
Geometry/HcalAlgo/plugins/DDHCalTestBeamAlgo.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-03-09T19:47:49.000Z
2019-03-09T19:47:49.000Z
Geometry/HcalAlgo/plugins/DDHCalTestBeamAlgo.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Geometry/HcalAlgo/plugins/DDHCalTestBeamAlgo.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
/////////////////////////////////////////////////////////////////////////////// // File: DDHCalTestBeamAlgo.cc // Description: Position inside the mother according to (eta,phi) /////////////////////////////////////////////////////////////////////////////// #include <cmath> #include <algorithm> namespace std{} using ...
38.138298
83
0.586611
[ "geometry" ]
d5f9693289a0f39d5d21756e6bd4d7a6b4703079
654
cpp
C++
problemsets/Codeforces/C++/B776.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/B776.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/B776.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <bits/stdc++.h> using namespace std; #define eb emplace_back #define fi first #define se second typedef pair<int,int> pii; #define MAX 100010 bool comp[MAX]; vector<int> prime; void sieve (int n) { comp[1] = 1; for (in...
16.35
38
0.553517
[ "vector" ]
d5faea0c3bbd121996803ef6d598b42b6ddcb175
1,191
cc
C++
src/AndroidInterface.cc
Ascent-AeroSystems-Inc/qgroundcontrol-herelink
388aa2aaa3536a3f0870e7e9004617833adc5e75
[ "Apache-2.0" ]
12
2020-04-19T17:36:34.000Z
2022-02-02T01:42:06.000Z
src/AndroidInterface.cc
Ascent-AeroSystems-Inc/qgroundcontrol-herelink
388aa2aaa3536a3f0870e7e9004617833adc5e75
[ "Apache-2.0" ]
27
2020-04-20T16:33:54.000Z
2022-03-10T13:57:23.000Z
src/AndroidInterface.cc
Ascent-AeroSystems-Inc/qgroundcontrol-herelink
388aa2aaa3536a3f0870e7e9004617833adc5e75
[ "Apache-2.0" ]
39
2020-04-18T00:45:45.000Z
2022-03-21T10:41:46.000Z
/**************************************************************************** * * Copyright (C) 2018 Pinecone Inc. All rights reserved. * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ******************************************************...
39.7
130
0.600336
[ "object" ]
d5fe9067e0b3d0e0e65c8e0650eab64365dd5114
5,812
cpp
C++
lab4_sem2/main.cpp
Neknu/labs_algorythm
aeed6c60ca5db4daaac9f01554c2d7f4a2700ab7
[ "Apache-2.0" ]
null
null
null
lab4_sem2/main.cpp
Neknu/labs_algorythm
aeed6c60ca5db4daaac9f01554c2d7f4a2700ab7
[ "Apache-2.0" ]
null
null
null
lab4_sem2/main.cpp
Neknu/labs_algorythm
aeed6c60ca5db4daaac9f01554c2d7f4a2700ab7
[ "Apache-2.0" ]
4
2019-10-29T10:39:38.000Z
2020-05-28T21:00:56.000Z
#include <iostream> #include <vector> #include <string> #include <iomanip> #include <algorithm> #include "sqlite3.h" using std::string; using std::cout; using std::cin; using std::vector; using std::endl; const char separator = ' '; const int nameWidth = 35; const int numWidth = 5; const int MAX_N = 100; struct Pr...
25.716814
148
0.511872
[ "vector" ]
91078f557623984cc26388680936f00db6f4d169
2,074
cxx
C++
pandatool/src/xfile/xFileArrayDef.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/xfile/xFileArrayDef.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/xfile/xFileArrayDef.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "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 xFileArrayDef.cxx * @a...
27.289474
78
0.675988
[ "3d" ]
510672dd664d324dce75a4d3951545fa5ac16512
5,693
cc
C++
src/ast/module.cc
zatkh/verona
8e0c5b1cd7f80ce3d2419c43e97cacad7472323c
[ "MIT" ]
null
null
null
src/ast/module.cc
zatkh/verona
8e0c5b1cd7f80ce3d2419c43e97cacad7472323c
[ "MIT" ]
null
null
null
src/ast/module.cc
zatkh/verona
8e0c5b1cd7f80ce3d2419c43e97cacad7472323c
[ "MIT" ]
1
2020-07-30T13:26:05.000Z
2020-07-30T13:26:05.000Z
// Copyright Microsoft and Project Verona Contributors. // SPDX-License-Identifier: MIT #include "module.h" #include "path.h" using namespace peg::udl; namespace { using namespace module; ModulePtr make_module(const std::string& name) { return std::make_shared<Module>(name); } // This ensures that a ...
22.151751
80
0.548217
[ "vector" ]
51096422a39e72852c2e76935c2841988ccca9be
42,303
cc
C++
src/render.cc
Segarraraj/VulkanDemo
9738e8d0b3c4f90f991c9fc677cbb5406a6a190f
[ "CC0-1.0" ]
null
null
null
src/render.cc
Segarraraj/VulkanDemo
9738e8d0b3c4f90f991c9fc677cbb5406a6a190f
[ "CC0-1.0" ]
null
null
null
src/render.cc
Segarraraj/VulkanDemo
9738e8d0b3c4f90f991c9fc677cbb5406a6a190f
[ "CC0-1.0" ]
null
null
null
#include "render.h" #include "logger.h" #include "utils.h" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "chrono" static struct UniformBufferObject { glm::mat4 model; glm::mat4 view; glm::mat4 projection; }; static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback( VkDebugUtilsMessageS...
34.646192
161
0.755407
[ "render", "vector", "model" ]
5113211d29a7235bd0f53ad704c8763fd7246f03
2,045
cpp
C++
src/SortList.cpp
lzz5235/leetcode
8713b7924a84a0c7d6887e1c8052738b5a778d1f
[ "MIT" ]
null
null
null
src/SortList.cpp
lzz5235/leetcode
8713b7924a84a0c7d6887e1c8052738b5a778d1f
[ "MIT" ]
null
null
null
src/SortList.cpp
lzz5235/leetcode
8713b7924a84a0c7d6887e1c8052738b5a778d1f
[ "MIT" ]
null
null
null
//Sort a linked list in O(n log n) time using constant space complexity. #include <iostream> #include <algorithm> #include <stack> #include <string> #include <vector> #include <stdint.h> #include <assert.h> #include <queue> using namespace std; struct ListNode { int val; ListNode *next; Lis...
19.854369
73
0.578973
[ "vector" ]
511bade1cc8dc07eadde628feda2c477440c3f7d
6,183
cpp
C++
src/dawn_native/SpirvUtils.cpp
mingmingtasd/Dawn
3668d352bc5fe13af27dc178d203f67032537a7f
[ "Apache-2.0" ]
null
null
null
src/dawn_native/SpirvUtils.cpp
mingmingtasd/Dawn
3668d352bc5fe13af27dc178d203f67032537a7f
[ "Apache-2.0" ]
null
null
null
src/dawn_native/SpirvUtils.cpp
mingmingtasd/Dawn
3668d352bc5fe13af27dc178d203f67032537a7f
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Dawn Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
40.677632
91
0.589681
[ "model" ]
511ef7bfb01d5ca199453fdafe24479c7e306a36
8,160
cpp
C++
src/nbla/function/generic/instance_normalization.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
2,792
2017-06-26T13:05:44.000Z
2022-03-28T07:55:26.000Z
src/nbla/function/generic/instance_normalization.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
138
2017-06-27T07:04:44.000Z
2022-02-28T01:37:15.000Z
src/nbla/function/generic/instance_normalization.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
380
2017-06-26T13:23:52.000Z
2022-03-25T16:51:30.000Z
// Copyright 2021 Sony Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
33.036437
80
0.650245
[ "shape", "vector" ]
51240058771e4251a6bfb189a6ccf93af8caa66a
8,518
cpp
C++
matrix_real.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
1
2021-06-21T22:21:57.000Z
2021-06-21T22:21:57.000Z
matrix_real.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
2
2017-07-16T01:41:11.000Z
2021-07-05T08:40:01.000Z
matrix_real.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
1
2017-07-16T01:26:51.000Z
2017-07-16T01:26:51.000Z
#include <iostream> #include <conio.h> #include "matrix_real.h" using std::cout; // CompactMatrix class based on the Bandec class given on p.59 of // Press, Teukolsky, Vetterling and Flannery // Numerical Recipes for Scientific Computing, third edition (2007) // [ they cite for this, Keller, H.B. (1968) ...
28.777027
116
0.569382
[ "vector" ]
5125e2364113fffa33bc195d5c90c7c7e1eab919
3,069
cc
C++
util/arena_impl.cc
cld378632668/rocksdb-test
8cd0ca501abe0cf4a30e8173c8452b1c9b416282
[ "BSD-3-Clause" ]
1
2017-12-26T01:52:03.000Z
2017-12-26T01:52:03.000Z
util/arena_impl.cc
cld378632668/rocksdb-test
8cd0ca501abe0cf4a30e8173c8452b1c9b416282
[ "BSD-3-Clause" ]
null
null
null
util/arena_impl.cc
cld378632668/rocksdb-test
8cd0ca501abe0cf4a30e8173c8452b1c9b416282
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // Copyright (c) 2011 The...
32.648936
79
0.713587
[ "object" ]
5126c050b935210a1c920c47b9a44feb6682a4bd
6,695
cpp
C++
Light OJ/1165.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
Light OJ/1165.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
Light OJ/1165.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
#pragma comment(linker, "/stack:640000000") #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iomanip> #include <iterator> #include <list> #include <map...
24.257246
109
0.450037
[ "vector" ]
5127fa0a6f97d7875285625ee2f1e5d698704ed6
7,649
hpp
C++
plat2d/plat2d.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
28
2015-02-10T04:06:16.000Z
2022-03-11T11:51:38.000Z
plat2d/plat2d.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
3
2016-11-03T12:03:28.000Z
2020-07-13T17:35:40.000Z
plat2d/plat2d.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
9
2015-10-22T20:22:45.000Z
2020-06-30T20:11:31.000Z
// Copyright © 2013 the Search Authors under the MIT license. See AUTHORS for the list of authors. #include "player.hpp" #include "lvl.hpp" #include "../visnav/visgraph.hpp" #include <vector> #include <string> #include <cstdio> void fatal(const char*, ...); extern "C" unsigned long hashbytes(unsigned char[], unsigned ...
25.841216
111
0.624526
[ "vector" ]
512d3f9b4a7c7787f184880fa9292e9294a26b6e
3,516
hpp
C++
inference-engine/tests/ngraph_functions/include/ngraph_functions/low_precision_transformations/common/dequantization_operations.hpp
dbudniko/openvino
6666e5fed3434637e538cf9d3219077c320c3c16
[ "Apache-2.0" ]
1
2021-01-17T03:24:52.000Z
2021-01-17T03:24:52.000Z
inference-engine/tests/ngraph_functions/include/ngraph_functions/low_precision_transformations/common/dequantization_operations.hpp
dbudniko/openvino
6666e5fed3434637e538cf9d3219077c320c3c16
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
inference-engine/tests/ngraph_helpers/lpt_ngraph_functions/include/lpt_ngraph_functions/common/dequantization_operations.hpp
dorloff/openvino
1c3848a96fdd325b044babe6d5cd26db341cf85b
[ "Apache-2.0" ]
1
2020-12-18T15:47:45.000Z
2020-12-18T15:47:45.000Z
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ngraph/ngraph.hpp> #include "fake_quantize_on_data.hpp" namespace ngraph { namespace builder { namespace subgraph { class DequantizationOperations { public: class Convert { public: Convert(); ...
32.555556
123
0.64818
[ "shape", "vector" ]
5133eb4fdb53ed18771a822c3f8eb0b1fef33d67
7,768
hpp
C++
solver/modules/slide/include/slide/details/WhaleSolver.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
2
2021-04-14T06:41:18.000Z
2021-04-29T01:56:08.000Z
solver/modules/slide/include/slide/details/WhaleSolver.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
solver/modules/slide/include/slide/details/WhaleSolver.hpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
#ifndef SLIDE_DETAILS_WHALE_SOLVER_HPP_ #define SLIDE_DETAILS_WHALE_SOLVER_HPP_ #include <utility> #include <tbb/parallel_for_each.h> #include <tbb/parallel_sort.h> #include <tbb/task_scheduler_init.h> #include "../ParityFeature.hpp" #include "../WhaleSolver.hpp" #include "util/dense_hash_set.hpp" #include "util/Spi...
34.070175
126
0.518151
[ "vector" ]
5134aa26747e6067332489dea9e43c0f3c01ecfd
3,898
cpp
C++
GLShape/GLFrustum.cpp
chen0040/cpp-steering-behaviors
c73d2ae8037556d42440b54ba6eb6190e467fae9
[ "MIT" ]
2
2020-11-10T12:24:41.000Z
2021-09-25T08:24:06.000Z
GLShape/GLFrustum.cpp
chen0040/cpp-steering-behaviors
c73d2ae8037556d42440b54ba6eb6190e467fae9
[ "MIT" ]
null
null
null
GLShape/GLFrustum.cpp
chen0040/cpp-steering-behaviors
c73d2ae8037556d42440b54ba6eb6190e467fae9
[ "MIT" ]
1
2021-08-14T16:34:33.000Z
2021-08-14T16:34:33.000Z
#include "GLFrustum.h" #include <cmath> #include <vector> void GLFrustum::MakeCameraFrustum() { GLfloat projection[16]; GLfloat modelview[16]; glGetFloatv(GL_PROJECTION_MATRIX, projection); glGetFloatv(GL_MODELVIEW_MATRIX, modelview); glPushMatrix(); glLoadMatrixf(projection); glMultMatrixf(modelview); glGet...
23.481928
86
0.733197
[ "vector" ]
513bc8de998b6e6f6ea1ec0d76600b141eb9e068
1,440
cpp
C++
TowerDefense_old_001/cpp/classes/Structure/abstract/StructureCommons.cpp
Gab-Z/rozetta
491e255a9eec4bdf803a866a50be35d2ad3e4ff8
[ "Apache-2.0" ]
1
2019-11-28T08:02:06.000Z
2019-11-28T08:02:06.000Z
TowerDefense_old_001/cpp/classes/Structure/abstract/StructureCommons.cpp
Gab-Z/rozetta
491e255a9eec4bdf803a866a50be35d2ad3e4ff8
[ "Apache-2.0" ]
null
null
null
TowerDefense_old_001/cpp/classes/Structure/abstract/StructureCommons.cpp
Gab-Z/rozetta
491e255a9eec4bdf803a866a50be35d2ad3e4ff8
[ "Apache-2.0" ]
null
null
null
#include "StructureCommons.h" StructureCommons::StructureCommons(){ } StructureCommons::StructureCommons( int _x, int _y ){ x = _x; y = _y; } StructureCommons::StructureCommons( int _x, int _y, GridIndicesList _points){ x = _x; y = _y; positions = _points; } StructureCommons::StructureCommons( int _x, int _...
25.714286
95
0.65625
[ "vector" ]
5140da1fa102d5cc57b1fe8d742c2770ee3ddd6b
917
cpp
C++
src/predecl/InvWishartDistrDecl.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
22
2016-07-11T15:34:14.000Z
2021-04-19T04:11:13.000Z
src/predecl/InvWishartDistrDecl.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
14
2016-07-11T14:28:42.000Z
2017-01-27T02:59:24.000Z
src/predecl/InvWishartDistrDecl.cpp
shiruizhao/swift
2026acce35f0717c7a3e9dc522ff1c69f8dc3227
[ "BSD-4-Clause-UC", "BSD-4-Clause" ]
7
2016-10-03T10:05:06.000Z
2021-05-31T00:58:35.000Z
#include "InvWishartDistrDecl.h" namespace swift { namespace predecl { InvWishartDistrDecl::InvWishartDistrDecl() : PreDecl(std::string("InvWishart")) { } InvWishartDistrDecl::~InvWishartDistrDecl() { } std::shared_ptr<ir::Expr> InvWishartDistrDecl::getNew( std::vector<std::shared_ptr<ir::Expr>>& args, fa...
24.783784
71
0.679389
[ "vector" ]
514173d60997371fa8d7457c87a408e19891832f
2,278
cpp
C++
201510_201609/1003_CR_qualA/Afinal.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
201510_201609/1003_CR_qualA/Afinal.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
201510_201609/1003_CR_qualA/Afinal.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
#include <string> #include <iostream> #include <cstdio> #include <cstdlib> #include <unistd.h> #include <algorithm> #include <random> #include <vector> #include <tuple> using namespace std; typedef tuple<double, int, int, int> info; string query(string url) { FILE *f = popen(("curl -s -k \"" + url + "\"").c_str(),...
21.903846
86
0.507463
[ "vector" ]
5150444cea8f253907be27330a17eeccbdfa47a4
64,376
cpp
C++
Ruby2CORBA/ext/libr2tao/typecode.cpp
noda50/RubyItk
2b494e98f14ad1b899a4d4476c61ff369e24b8ce
[ "Apache-2.0" ]
null
null
null
Ruby2CORBA/ext/libr2tao/typecode.cpp
noda50/RubyItk
2b494e98f14ad1b899a4d4476c61ff369e24b8ce
[ "Apache-2.0" ]
null
null
null
Ruby2CORBA/ext/libr2tao/typecode.cpp
noda50/RubyItk
2b494e98f14ad1b899a4d4476c61ff369e24b8ce
[ "Apache-2.0" ]
null
null
null
/*-------------------------------------------------------------------- # typecode.cpp - R2TAO CORBA TypeCode support # # Author: Martin Corino # # This program is free software; you can redistribute it and/or # modify it under the terms of the R2CORBA LICENSE which is # included with this program. # # Copyright (c) Rem...
29.858998
137
0.582515
[ "object" ]
5159c936aa68b2b70ccd9d0ad1823dbcf6d0f0ea
3,048
cpp
C++
AllChapters/Code/Chapter09Sample01.cpp
percentcer/Hands-On-Game-Animation-Programming
52f9bdb9db964192bfdddc512c6a40055830f17a
[ "MIT" ]
103
2020-05-22T09:17:54.000Z
2022-03-29T07:31:05.000Z
AllChapters/Code/Chapter09Sample01.cpp
PacktPublishing/Game-Animation-Programming
62c589661c51aaa83c4d060b0475b26b31e53a1d
[ "MIT" ]
2
2020-10-14T20:09:58.000Z
2021-02-07T05:15:41.000Z
AllChapters/Code/Chapter09Sample01.cpp
PacktPublishing/Game-Animation-Programming
62c589661c51aaa83c4d060b0475b26b31e53a1d
[ "MIT" ]
32
2020-06-15T20:15:28.000Z
2022-03-27T07:22:09.000Z
#define _CRT_SECURE_NO_WARNINGS #include "Chapter09Sample01.h" #include "GLTFLoader.h" void Chapter09Sample01::Initialize() { cgltf_data* gltf = LoadGLTFFile("Assets/Woman.gltf"); mRestPose = LoadRestPose(gltf); mClips = LoadAnimationClips(gltf); FreeGLTFFile(gltf); mRestPoseVisual = new DebugDraw(); mRestPoseV...
29.592233
118
0.723097
[ "render", "model" ]
515cb95b5e2b494f3268da596ef16c03d1a34056
8,765
cpp
C++
Units/ScreenMultideck/ScreenMultideck.cpp
FlowsheetSimulation/Dyssol-open
557d57d959800868e1b3fd161b26cad16481382b
[ "BSD-3-Clause" ]
7
2020-12-02T02:54:31.000Z
2022-03-08T20:37:46.000Z
Units/ScreenMultideck/ScreenMultideck.cpp
FlowsheetSimulation/Dyssol-open
557d57d959800868e1b3fd161b26cad16481382b
[ "BSD-3-Clause" ]
33
2021-03-26T12:20:18.000Z
2022-02-23T11:37:56.000Z
Units/ScreenMultideck/ScreenMultideck.cpp
FlowsheetSimulation/Dyssol-open
557d57d959800868e1b3fd161b26cad16481382b
[ "BSD-3-Clause" ]
6
2020-07-17T08:17:37.000Z
2022-02-24T13:45:16.000Z
/* Copyright (c) 2021, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */ #define DLL_EXPORT #include "ScreenMultideck.h" extern "C" DECLDIR CBaseUnit* DYSSOL_CREATE_MODEL_FUN() { return new CScreenMultideck(); } void CScreenMultideck::CreateBasic...
37.139831
207
0.674615
[ "vector", "model", "solid" ]
51608af11709c0c68b7f8602e18e9948cf87d64e
3,905
cpp
C++
common/src/utilities.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
common/src/utilities.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
common/src/utilities.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "utilities.h" #include "direction.h" #include <array> namespace utils { bool isInteger(std::string_view str) { auto it = str.begin(); if ((*it) == '-') { it++; } return std::all_of(it, str.end(), [](char l) { return (l >= '0' && l <= '9'); }...
31.24
113
0.493982
[ "vector" ]
5165260e4d3132241dc841ed58928d53120e4cdf
1,238
cpp
C++
code-forces/615 Div 3/B.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
1
2020-04-23T00:35:38.000Z
2020-04-23T00:35:38.000Z
code-forces/615 Div 3/B.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
code-forces/615 Div 3/B.cpp
ErickJoestar/competitive-programming
76afb766dbc18e16315559c863fbff19a955a569
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ENDL '\n' #define deb(u) cout << #u " : " << (u) << ENDL; #define deba(alias, u) cout << alias << ": " << (u) << ENDL; #define debp(u, v) cout << u << " : " << v << ENDL; #define pb push_back #define F first #define S second #define lli long long #define pii pair<int, int> #define pll p...
19.046154
60
0.424879
[ "vector" ]
516ecd7faa604cb9d8f6a5a93e38a7c6cfa7b64f
1,349
cpp
C++
Game/src/PostProcessors/SSReflectionProcessor.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
null
null
null
Game/src/PostProcessors/SSReflectionProcessor.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
null
null
null
Game/src/PostProcessors/SSReflectionProcessor.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
null
null
null
#ifndef SSREFLECTION_PROCESSOR_CPP #define SSREFLECTION_PROCESSOR_CPP #include <core/system/Renderer.h> #include <resource/PostProcessor.h> #include <resource/Material.h> #include "../Shader/SSReflectionShader.cpp" #ifdef PB_MEM_DEBUG #include "PhotonBox/util/MEMDebug.h" #define new DEBUG_NEW #endif class SSReflect...
26.45098
80
0.765752
[ "render" ]
5170c9c257b9c31bc5c189f4d53906b2cb29aef2
1,592
cpp
C++
ProducerConsumer/interface/bindproducer.cpp
cosunae/cloudruption
abfaf51aa7f7adad35c63564d3e468049759f8d3
[ "MIT" ]
null
null
null
ProducerConsumer/interface/bindproducer.cpp
cosunae/cloudruption
abfaf51aa7f7adad35c63564d3e468049759f8d3
[ "MIT" ]
null
null
null
ProducerConsumer/interface/bindproducer.cpp
cosunae/cloudruption
abfaf51aa7f7adad35c63564d3e468049759f8d3
[ "MIT" ]
null
null
null
#include <algorithm> #include "../KafkaProducer.h" #ifdef AWSSDK #include <aws/core/Aws.h> #include <aws/monitoring/CloudWatchClient.h> #include <aws/monitoring/model/PutMetricDataRequest.h> #endif extern "C" { KafkaProducer *create_producer(const char *broker, const char *product) { KafkaProducer *pr...
29.481481
113
0.598618
[ "model" ]
51762c0271164c1de70dfa653fb8ec5f91198fa4
15,532
cpp
C++
tests/test_objectpacker.cpp
GamePad64/cborpp
b0b5ebe83b7065d7f398757c7f2c19d6bd4510aa
[ "MIT" ]
1
2017-01-28T10:07:24.000Z
2017-01-28T10:07:24.000Z
tests/test_objectpacker.cpp
GamePad64/unicbor
b0b5ebe83b7065d7f398757c7f2c19d6bd4510aa
[ "MIT" ]
null
null
null
tests/test_objectpacker.cpp
GamePad64/unicbor
b0b5ebe83b7065d7f398757c7f2c19d6bd4510aa
[ "MIT" ]
null
null
null
/* Copyright (C) 2015 Alexander Shishenko <alex@shishenko.com> * * 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, co...
23.604863
155
0.70197
[ "object", "vector" ]
517ebbde7f2ecdd4cc13b93928f1a9692eda8b18
1,932
cpp
C++
lib/Target/Sophon/BM188x/TGRelu.cpp
zakk0610/onnc
ed470ff76dce0c5338b285ecfbd88b03e667d295
[ "BSD-3-Clause" ]
1
2018-08-27T02:51:59.000Z
2018-08-27T02:51:59.000Z
lib/Target/Sophon/BM188x/TGRelu.cpp
ffk0716/onnc
91e4955ade64b479db17aaeccacf4b7339fe44d2
[ "BSD-3-Clause" ]
null
null
null
lib/Target/Sophon/BM188x/TGRelu.cpp
ffk0716/onnc
91e4955ade64b479db17aaeccacf4b7339fe44d2
[ "BSD-3-Clause" ]
null
null
null
//===---------------------------------------------------------------------===// // // The ONNC Project // // Copyright(c) 2018, The ONNC Team // // This file is part of the ONNC Project and is distributed under // 3-clause BSD license (https://opensource.org/licenses/BSD-3-Clause) // // See ...
28
79
0.52795
[ "vector" ]
517fb5c5a403ec221f604e3855b78917dd3da144
426
cpp
C++
Priority Queues/Kth Largest Elements.cpp
Unknownone-af/Data-Structures
a4d591f012b2998dd34d249dcc0f293be272f617
[ "MIT" ]
1
2020-06-21T23:57:34.000Z
2020-06-21T23:57:34.000Z
Priority Queues/Kth Largest Elements.cpp
Unknownone-af/Data-Structures
a4d591f012b2998dd34d249dcc0f293be272f617
[ "MIT" ]
null
null
null
Priority Queues/Kth Largest Elements.cpp
Unknownone-af/Data-Structures
a4d591f012b2998dd34d249dcc0f293be272f617
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; #include<queue> int kthLargest(vector<int> a, int n, int k){ priority_queue<int> pq; for(int i=0;i<n;i++){ pq.push(a[i]); } for(int i=1;i<k;i++){ pq.pop(); } return pq.top(); } int main(){ int n,k,s; vector<int> arr; cin >>n; for(in...
14.689655
44
0.556338
[ "vector" ]
3d60ddfb20460dfc7f7ed14dcbf55ff750d9ae25
7,355
hpp
C++
library/math/gaussian_elimination.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
2
2021-10-04T15:46:56.000Z
2022-01-14T19:28:43.000Z
library/math/gaussian_elimination.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
null
null
null
library/math/gaussian_elimination.hpp
suisen-cp/cp-library-cpp
8fbbdcdbceb60f5adc56ff4740549ce3c1a1ea43
[ "CC0-1.0" ]
null
null
null
#ifndef SUISEN_GAUSSIAN_ELIMINATION #define SUISEN_GAUSSIAN_ELIMINATION #include <cmath> #include <optional> #include <vector> namespace suisen { namespace internal { namespace gauss_jordan { template <typename T> bool equals_zero(const T& v) { return v == 0; } template...
43.011696
165
0.488375
[ "vector" ]
3d637d1b3070b22ac52d0bd6ca6d04ca8a16ded2
4,915
hxx
C++
MessageBuffer.hxx
cbond/msrp
d498f1ac8848319f4ecb617ad251e76de827a9a2
[ "BSL-1.0" ]
null
null
null
MessageBuffer.hxx
cbond/msrp
d498f1ac8848319f4ecb617ad251e76de827a9a2
[ "BSL-1.0" ]
null
null
null
MessageBuffer.hxx
cbond/msrp
d498f1ac8848319f4ecb617ad251e76de827a9a2
[ "BSL-1.0" ]
1
2021-07-20T12:14:59.000Z
2021-07-20T12:14:59.000Z
#ifndef MSRP_MESSAGECONTENTS_HXX #define MSRP_MESSAGECONTENTS_HXX #include <cassert> #include <cstddef> #include <memory> #include <stdexcept> #include <string> #include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> #include <boost/spirit.hpp> #include <boost/range.hpp> #include <asio/buffer.hpp> #include ...
29.608434
85
0.680773
[ "object" ]
3d63c3d321e9501efde00837a743ce7f264336d3
3,443
hh
C++
src/graphics/Mesh.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
6
2016-09-19T09:02:32.000Z
2021-03-01T05:50:53.000Z
src/graphics/Mesh.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
null
null
null
src/graphics/Mesh.hh
othieno/clockwork
ac2b7d2e0324fff1440df90670de181dce234dd0
[ "MIT" ]
2
2016-06-01T02:18:07.000Z
2021-06-25T13:32:22.000Z
/* * This file is part of Clockwork. * * Copyright (c) 2013-2016 Jeremy Othieno. * * The MIT License (MIT) * 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, includi...
24.949275
80
0.684868
[ "mesh", "object", "3d" ]
3d6566a25529ee6b6b2a6a7e6423027cd93ec649
12,751
cc
C++
applications/camera_calibration/src/camera_calibration/relative_pose_initialization/noncentral_camera_planar_target.cc
lingbo-yu/camera_calibration
ff5f09fa2253b01b80c24ec600936f5d083d03f3
[ "BSD-3-Clause" ]
474
2019-12-09T06:20:57.000Z
2022-03-31T06:14:38.000Z
applications/camera_calibration/src/camera_calibration/relative_pose_initialization/noncentral_camera_planar_target.cc
lingbo-yu/camera_calibration
ff5f09fa2253b01b80c24ec600936f5d083d03f3
[ "BSD-3-Clause" ]
60
2020-01-10T08:41:57.000Z
2022-03-19T15:39:43.000Z
applications/camera_calibration/src/camera_calibration/relative_pose_initialization/noncentral_camera_planar_target.cc
lingbo-yu/camera_calibration
ff5f09fa2253b01b80c24ec600936f5d083d03f3
[ "BSD-3-Clause" ]
90
2019-12-09T08:48:06.000Z
2022-03-31T06:14:38.000Z
// Copyright 2019 ETH Zürich, Thomas Schöps // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the follow...
35.518106
141
0.532664
[ "vector", "model" ]
3d6a7d0a58f947dc9e875f889b741a123526c634
34,953
cpp
C++
SCANVariants/other-projects/dbscan-v1.0.0/parallel_mpi/dbscan.cpp
CheYulin/ScanOptimizing
691b39309da1c6b5df46b264b5a300a35d644f70
[ "MIT" ]
19
2019-05-22T13:17:58.000Z
2021-11-26T11:42:08.000Z
SCANVariants/other-projects/dbscan-v1.0.0/parallel_mpi/dbscan.cpp
CheYulin/ScanOptimizing
691b39309da1c6b5df46b264b5a300a35d644f70
[ "MIT" ]
2
2020-08-15T05:00:16.000Z
2021-11-16T06:09:42.000Z
SCANVariants/other-projects/dbscan-v1.0.0/parallel_mpi/dbscan.cpp
CheYulin/ScanOptimizing
691b39309da1c6b5df46b264b5a300a35d644f70
[ "MIT" ]
9
2018-12-20T10:09:00.000Z
2021-11-26T11:42:10.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* Files: mpi_main.cpp clusters.cpp clusters.h utils.h utils.cpp */ /* dbscan.cpp dbscan.h kdtree2.cpp kdtree2.hpp */ /* geometric_partitioning.h geometric_partitioning.cpp */ /* */ ...
29.079035
207
0.543988
[ "vector" ]
3d6b2391fb8edaa61ac3a0219f44199bf9ef7b53
6,178
cpp
C++
worldeditor/src/managers/toolwindowmanager/qtoolwindowmanagerwrapper.cpp
weblate/thunder
e9b741b7f23e18cea79cee964c8a62ed9248fbf2
[ "Apache-2.0" ]
1
2022-03-20T16:13:53.000Z
2022-03-20T16:13:53.000Z
worldeditor/src/managers/toolwindowmanager/qtoolwindowmanagerwrapper.cpp
weblate/thunder
e9b741b7f23e18cea79cee964c8a62ed9248fbf2
[ "Apache-2.0" ]
null
null
null
worldeditor/src/managers/toolwindowmanager/qtoolwindowmanagerwrapper.cpp
weblate/thunder
e9b741b7f23e18cea79cee964c8a62ed9248fbf2
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2014 Pavel Strakhov <ri@idzaaus.org> ** ** 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 wi...
42.315068
105
0.69877
[ "geometry" ]
3d6c55ad32d2537cd0d4a6b50cedf176c65d306e
3,150
hpp
C++
bithorded/server/server.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
bithorded/server/server.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
bithorded/server/server.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012 Ulrik Mikaelsson <ulrik.mikaelsson@gmail.com> 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 requir...
33.157895
134
0.762222
[ "vector" ]
3d773f345264ac895692afb23a589c8802733c1f
34,414
hpp
C++
ThirdParty-mod/java2cpp/android/telephony/TelephonyManager.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/telephony/TelephonyManager.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/telephony/TelephonyManager.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.telephony.TelephonyManager ================================================================================*/ #ifndef J2CPP_INCLU...
44.120513
150
0.784826
[ "object" ]
3d778ff2242d05e23a336fd75073b7945eb979fc
120,443
cpp
C++
01_Develop/libXMFFmpeg/Source/libswscale/swscale.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMFFmpeg/Source/libswscale/swscale.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMFFmpeg/Source/libswscale/swscale.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* * Copyright (C) 2001-2011 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg 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.1 of the Licens...
39.411976
178
0.533306
[ "transform" ]
3d77cb4b778707612b86d327c2242ab3c7a635a9
260
hpp
C++
gearoenix/render/texture/gx-rnd-txt-wrap.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/texture/gx-rnd-txt-wrap.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/texture/gx-rnd-txt-wrap.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_TEXTURE_WRAP_HPP #define GEAROENIX_RENDER_TEXTURE_WRAP_HPP #include "../../core/gx-cr-types.hpp" namespace gearoenix::render::texture { enum struct Wrap : core::TypeId { ClampToEdge = 1, Mirror = 2, Repeat = 3, }; } #endif
21.666667
41
0.719231
[ "render" ]
3d7e4040dec621e22620d78d4c799b96f79bc2bb
7,077
hh
C++
libsrc/pylith/problems/Problem.hh
aivazis/pylith
4261a0ba637b4a32494ee05d9fef9861f2c5f443
[ "MIT" ]
null
null
null
libsrc/pylith/problems/Problem.hh
aivazis/pylith
4261a0ba637b4a32494ee05d9fef9861f2c5f443
[ "MIT" ]
null
null
null
libsrc/pylith/problems/Problem.hh
aivazis/pylith
4261a0ba637b4a32494ee05d9fef9861f2c5f443
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University at Buffalo // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
32.168182
120
0.614102
[ "mesh", "object", "vector" ]
3d800083d4084e930b20d75bfc5d7f56f763abbd
2,630
cpp
C++
code/fused_ops/csrc/softmax_dropout/interface.cpp
PKU-DAIR/2021_CCF_BDCI_LargeBERT_Rank1st
6382433cda69c655f03c3cc284dc076407f18dc9
[ "Apache-2.0" ]
4
2022-01-21T01:51:29.000Z
2022-03-29T11:56:42.000Z
code/fused_ops/csrc/softmax_dropout/interface.cpp
PKU-DAIR/2021_CCF_BDCI_LargeBERT_Rank1st
6382433cda69c655f03c3cc284dc076407f18dc9
[ "Apache-2.0" ]
null
null
null
code/fused_ops/csrc/softmax_dropout/interface.cpp
PKU-DAIR/2021_CCF_BDCI_LargeBERT_Rank1st
6382433cda69c655f03c3cc284dc076407f18dc9
[ "Apache-2.0" ]
null
null
null
#include <torch/extension.h> #include <ATen/Generator.h> #include <ATen/CUDAGeneratorImpl.h> #include <vector> std::vector<c10::optional<torch::Tensor>> fwd_cuda( bool is_training, const torch::Tensor &input, float dropout_prob, c10::optional<at::Generator> gen_ ); torch::Tensor bwd_cuda( torch::...
38.676471
112
0.68403
[ "vector", "3d" ]
3d85db10c6c4eb6e3c4452b75f3c1657cdd97672
16,630
hpp
C++
deps/boost/include/boost/gil/image_processing/threshold.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
80
2021-09-07T12:44:32.000Z
2022-03-29T01:22:19.000Z
deps/boost/include/boost/gil/image_processing/threshold.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
2
2021-12-23T02:49:42.000Z
2022-02-15T05:28:24.000Z
deps/boost/include/boost/gil/image_processing/threshold.hpp
kindlychung/mediasoup-sfu-cpp
f69d2f48f7edbf4f0c57244280a47bea985f39cf
[ "Apache-2.0" ]
25
2021-09-14T06:24:25.000Z
2022-03-20T06:55:07.000Z
// // Copyright 2019 Miral Shah <miralshah2211@gmail.com> // // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_GIL_IMAGE_PROCESSING_THRESHOLD_HPP #define BOO...
35.763441
105
0.658629
[ "object", "vector" ]
3d8d94ce4f7f6d20484ccd6225b7ef774026fac9
6,678
cpp
C++
taylor.cpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
2
2019-11-23T12:35:49.000Z
2022-02-10T08:27:54.000Z
taylor.cpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
8
2019-11-15T08:13:48.000Z
2020-04-29T00:35:42.000Z
taylor.cpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
null
null
null
// taylor.cpp #include "taylor.hpp" #include "cyclic_fn.hpp" // want: // function object x -> (-1)^x // function object x -> f(x/2) if even, 0 if odd // function object x -> x-1 // cos is then x -> -1^(x/2) when even, 0 if odd // sin is then x -> -1^((x-1)/2) when odd, 0 when even // so gateway function ...
40.228916
220
0.677149
[ "object" ]
3d918274694908b8fa0cd88608b3d8be5c93757d
14,904
hpp
C++
include/GlobalNamespace/ILobbyPlayersDataModel.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ILobbyPlayersDataModel.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ILobbyPlayersDataModel.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Collections.Generic.IReadOnlyDictionary`2 #include "System/Collections/...
63.152542
239
0.766304
[ "vector" ]
3d968c1d803c0fd0700b8aad303183f400541a09
14,527
cpp
C++
src/libs/configParser/configParser.cpp
kamranshamaei/tarsim
dcb0f28f7b1422ba125c85cd53a1420d69d466eb
[ "Apache-2.0" ]
22
2019-03-01T01:41:53.000Z
2022-02-28T03:57:40.000Z
src/libs/configParser/configParser.cpp
kamranshamaei/tarsim
dcb0f28f7b1422ba125c85cd53a1420d69d466eb
[ "Apache-2.0" ]
5
2020-01-08T19:21:48.000Z
2021-07-15T20:39:17.000Z
src/libs/configParser/configParser.cpp
kamranshamaei/tarsim
dcb0f28f7b1422ba125c85cd53a1420d69d466eb
[ "Apache-2.0" ]
7
2019-03-01T02:59:11.000Z
2022-02-17T14:08:11.000Z
/* * * @file: configParser.cpp * * @Created on: March 31, 2018 * @Author: Kamran Shamaei * * * @brief - * <Requirement Doc Reference> * <Design Doc Reference> * * @copyright Copyright [2017-2018] Kamran Shamaei . * All Rights Reserved. * * This file is subject to the terms and conditions defined in * fi...
28.262646
98
0.570111
[ "object" ]
3d9fcfc91705285143c4b112ebf8aca806702e6d
4,621
hpp
C++
Executable/TopDownShooter/Extension/Celerity/PipelineBuilder.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Executable/TopDownShooter/Extension/Celerity/PipelineBuilder.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Executable/TopDownShooter/Extension/Celerity/PipelineBuilder.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#pragma once #include <unordered_set> #include <Celerity/Pipeline.hpp> #include <Celerity/World.hpp> #include <Flow/TaskRegister.hpp> #include <Task/Executor.hpp> namespace Emergence::Celerity { class TaskConstructor final { public: TaskConstructor (const TaskConstructor &_other) = delete; TaskConstructor...
37.877049
119
0.750271
[ "vector" ]
3da2aa3b3737e966aef320e15c95ec17eb839e7e
3,826
cpp
C++
src/subcommand/break_main.cpp
AndreaGuarracino/odgi
f4e2be6c3248c56cd584e217ea9616c48ffd3a2b
[ "MIT" ]
1
2021-04-06T08:41:42.000Z
2021-04-06T08:41:42.000Z
src/subcommand/break_main.cpp
AndreaGuarracino/odgi
f4e2be6c3248c56cd584e217ea9616c48ffd3a2b
[ "MIT" ]
null
null
null
src/subcommand/break_main.cpp
AndreaGuarracino/odgi
f4e2be6c3248c56cd584e217ea9616c48ffd3a2b
[ "MIT" ]
null
null
null
#include "subcommand.hpp" #include <iostream> #include "odgi.hpp" #include "args.hxx" #include "algorithms/break_cycles.hpp" namespace odgi { using namespace odgi::subcommand; int main_break(int argc, char** argv) { // trick argumentparser to do the right thing with the subcommand for (uint64_t i = 1; i < a...
34.160714
156
0.531626
[ "vector" ]
3db44cc9aecd663f96f42cc847afc6f09748ed40
7,588
cc
C++
src/iosource/PktSrc.cc
markh15/zeek
b41cb78f8d6e205d49e175aef2d2279918809cf7
[ "Apache-2.0" ]
null
null
null
src/iosource/PktSrc.cc
markh15/zeek
b41cb78f8d6e205d49e175aef2d2279918809cf7
[ "Apache-2.0" ]
null
null
null
src/iosource/PktSrc.cc
markh15/zeek
b41cb78f8d6e205d49e175aef2d2279918809cf7
[ "Apache-2.0" ]
null
null
null
// See the file "COPYING" in the main distribution directory for copyright. #include "zeek-config.h" #include "PktSrc.h" #include <sys/stat.h> #include "util.h" #include "Hash.h" #include "Net.h" #include "Sessions.h" #include "broker/Manager.h" #include "iosource/Manager.h" #include "BPF_Program.h" #include "pcap/...
21.13649
117
0.680416
[ "vector" ]
3dc03cf65e0c5da75938ed3be9c33682d38f2b1f
617
hpp
C++
GraphPathfinding/GraphAdapter.hpp
KonstantinTomashevich/gamedev-utils
e210616667a621391898ea3aaf773cf5d07275b9
[ "MIT" ]
1
2021-02-04T18:35:59.000Z
2021-02-04T18:35:59.000Z
GraphPathfinding/GraphAdapter.hpp
KonstantinTomashevich/gamedev-utils
e210616667a621391898ea3aaf773cf5d07275b9
[ "MIT" ]
null
null
null
GraphPathfinding/GraphAdapter.hpp
KonstantinTomashevich/gamedev-utils
e210616667a621391898ea3aaf773cf5d07275b9
[ "MIT" ]
null
null
null
#pragma once #include <vector> struct VertexOutcomingConnection { int target; float weight; }; struct GraphEdge { int inVertex; int outVertex; float weight; }; template <class T> class SimpleIterator { public: virtual void Increment () = 0; virtual T Get () = 0; virtual bool Valid ()...
18.147059
103
0.6953
[ "vector" ]
3dc2404f7e3550da67190750ed9215c74edad30a
82,040
hpp
C++
src/config/configuration_manager.hpp
sandeepcvmware/concord
51108446dbcfa41f823d2d368bc658a44b6931f2
[ "Apache-2.0" ]
null
null
null
src/config/configuration_manager.hpp
sandeepcvmware/concord
51108446dbcfa41f823d2d368bc658a44b6931f2
[ "Apache-2.0" ]
null
null
null
src/config/configuration_manager.hpp
sandeepcvmware/concord
51108446dbcfa41f823d2d368bc658a44b6931f2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // // Definitions used by configuration management system. // The most central component of this system is the ConcordConfiguration class, // which provides a framework for defining and managing configuration // informat...
53.691099
80
0.75345
[ "object", "vector", "model" ]
3dc3d5384df2891a176e45858ac7d06a555139ac
3,397
cpp
C++
snap/eclipse-workspace/CMPE320_prototype1/src/Recipe.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
snap/eclipse-workspace/CMPE320_prototype1/src/Recipe.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
snap/eclipse-workspace/CMPE320_prototype1/src/Recipe.cpp
ETSnider/PantryPal
8239c37701497195878ec07db37ccca61b23d2bb
[ "MIT" ]
null
null
null
#include<vector> #include<string> #include<iostream> #include "Recipe.h" using namespace std; /// <summary> /// 1 parameter Recipe constructor. nm is set to the "name" of the Recipe object, while the /// "ingredients" attribute is instantiated as empty, and "directions" instantiated as /// "Put your recipe d...
29.284483
112
0.671769
[ "object", "vector" ]
3dc4181a2e5b1ce2a9bc03b5d19b4f22443d43aa
1,627
hpp
C++
src/converters/log.hpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
38
2015-08-20T15:35:48.000Z
2022-03-23T13:43:06.000Z
src/converters/log.hpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
109
2015-07-31T16:11:14.000Z
2022-03-17T14:08:23.000Z
src/converters/log.hpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
78
2015-08-23T08:50:39.000Z
2022-03-07T11:05:39.000Z
/* * Copyright 2015 Aldebaran * * 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...
25.421875
91
0.748617
[ "vector" ]
3dc6c1f906a85b849cd678c7c16da8b9b595954c
53,852
cpp
C++
lib/UIlib/UIManager.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
lib/UIlib/UIManager.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
lib/UIlib/UIManager.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
#include "StdAfx.h" #include "UIManager.h" #include "UIAnim.h" #include <zmouse.h> ///////////////////////////////////////////////////////////////////////////////////// // // static UINT GetNameHash(LPCTSTR pstrName) { UINT i = 0; SIZE_T len = _tcslen(pstrName); while( len-- > 0 ) i = (i << 5) + i + pstrN...
34.432225
209
0.617396
[ "render", "3d" ]
3dcf9b07c048d0b94cd18bae2acb4ba4025a1351
74,937
cpp
C++
ManagedScripts/Mda_settings.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:36:30.000Z
2021-10-04T02:36:30.000Z
ManagedScripts/Mda_settings.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/Mda_settings.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert 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 distr...
22.557797
123
0.604628
[ "object" ]
3dd21ea8a1860d686693981a423b45d917bf8eb2
4,420
cpp
C++
v_0_2/util_functions/a_star.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
1
2018-07-03T21:17:29.000Z
2018-07-03T21:17:29.000Z
v_0_2/util_functions/a_star.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
null
null
null
v_0_2/util_functions/a_star.cpp
TimoLoomets/TeamSuccessRobotex2018Taxify
702da19a93761892174f3950924e0da07ea0c568
[ "MIT" ]
2
2018-07-03T21:17:31.000Z
2018-07-06T15:55:21.000Z
#ifndef A_STAR_CPP #define A_STAR_CPP #include <bits/stdc++.h> #include "../util_functions/util_functions.hpp" //#include "../input_readers/graph_file_reader.cpp" //#include "../graph_handlers/graph_depos_handler.cpp" class a_star_instance{ public: std::map<std::pair<double, double>, std::map<std::pair<double, dou...
35.36
100
0.63733
[ "vector" ]
3dd418a9d72601f10a3733d85c16bd3d0e2ce420
16,756
cpp
C++
Libraries/ManagedAnimatTools/ManagedAnimatTools/DataObjectInterface.cpp
NeuroRoboticTech/AnimatLabPublicSource
c5b23f8898513582afb7891eb994a7bd40a89f08
[ "BSD-3-Clause" ]
8
2015-01-09T21:59:50.000Z
2021-04-14T14:08:47.000Z
Libraries/ManagedAnimatTools/ManagedAnimatTools/DataObjectInterface.cpp
NeuroRoboticTech/AnimatLabPublicSource
c5b23f8898513582afb7891eb994a7bd40a89f08
[ "BSD-3-Clause" ]
null
null
null
Libraries/ManagedAnimatTools/ManagedAnimatTools/DataObjectInterface.cpp
NeuroRoboticTech/AnimatLabPublicSource
c5b23f8898513582afb7891eb994a7bd40a89f08
[ "BSD-3-Clause" ]
2
2018-12-21T02:58:30.000Z
2020-08-12T11:44:39.000Z
#include "stdafx.h" #include "Util.h" #include "PropertyUpdateException.h" #include "SimulatorInterface.h" #include "SimGUICallback.h" #include "DataObjectInterface.h" #include "MovableItemCallback.h" namespace AnimatGUI { namespace Interfaces { DataObjectInterface::DataObjectInterface(ManagedAnimatInt...
30.245487
189
0.698556
[ "object" ]
3dd7a14ac75cfe41870611d3b7342ecaca7b71e8
11,682
cpp
C++
source/glannotations/source/Renderer/QuadStrip.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
source/glannotations/source/Renderer/QuadStrip.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
source/glannotations/source/Renderer/QuadStrip.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
#include <glannotations/Renderer/QuadStrip.h> #include "../ShaderSources.hpp" #include <glbinding/gl/functions.h> #include <glbinding/gl/enum.h> #include <globjects/VertexAttributeBinding.h> #include <algorithm> static const char* vertShader = R"( #version 330 layout (location = 0) in vec3 position; layout (locat...
26.855172
189
0.627461
[ "vector" ]
3ddac8128712a49572ae50be5c8f8fb488f8d4ce
6,436
cpp
C++
src/icebox/icebox_cmd/main.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
1
2021-05-22T16:50:12.000Z
2021-05-22T16:50:12.000Z
src/icebox/icebox_cmd/main.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
null
null
null
src/icebox/icebox_cmd/main.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
null
null
null
#define FDP_MODULE "main" #include <icebox/core.hpp> #include <icebox/log.hpp> #include <icebox/plugins/syscalls.hpp> #include <icebox/utils/path.hpp> #include <icebox/utils/pe.hpp> #include <chrono> #include <string> #include <thread> namespace { template <typename T> void test_tracer(core::Core& core, proc_...
34.978261
182
0.524705
[ "vector" ]
3ddf2846ce44f8862159f15663fb2ddcbe7508d0
17,749
cpp
C++
src/Trikin_Astar/reference/PCTrajNode.cpp
GaoLon/trikin_astar
b935dfe111f540c031232998de1ecad632a54246
[ "MIT" ]
null
null
null
src/Trikin_Astar/reference/PCTrajNode.cpp
GaoLon/trikin_astar
b935dfe111f540c031232998de1ecad632a54246
[ "MIT" ]
null
null
null
src/Trikin_Astar/reference/PCTrajNode.cpp
GaoLon/trikin_astar
b935dfe111f540c031232998de1ecad632a54246
[ "MIT" ]
null
null
null
#include "PCTrajNode.h" extern pcl::KdTreeFLANN<pcl::PointXYZI> kdtree; param_restrain PCTrajNode::PR; pcl::PointCloud<pcl::PointXYZI>::Ptr PCTrajNode::PCMap(new pcl::PointCloud<pcl::PointXYZI>); PCTrajNode::PCTrajNode(const Matrix4d& Tr, double _kap) :T(MatrixXd::Identity(4, 4)), \ tau(0.0), kappa(_kap), ...
26.139912
139
0.585047
[ "vector" ]
3de725e195266d9d91a2aef5f3386274b1a66de3
386
cpp
C++
week02/src/vector_example.cpp
msu-csc232-sp22/lectures
8066358b93f74ea0cb22068f19a4bea5e7b0dadb
[ "MIT" ]
7
2022-01-18T20:46:57.000Z
2022-03-02T18:30:39.000Z
week02/src/vector_example.cpp
msu-csc232-sp22/lectures
8066358b93f74ea0cb22068f19a4bea5e7b0dadb
[ "MIT" ]
null
null
null
week02/src/vector_example.cpp
msu-csc232-sp22/lectures
8066358b93f74ea0cb22068f19a4bea5e7b0dadb
[ "MIT" ]
5
2022-01-19T00:42:08.000Z
2022-03-09T18:43:19.000Z
#include <cstdlib> #include <iostream> #include <vector> using std::cout; using std::endl; using std::vector; int main() { vector<int> squares( 100 ); for ( int i = 0; i < squares.size( ); ++i ) { squares[ i ] = i * i; } for (int i = 0; i < squares.size( ); ++i ) { cout << i ...
15.44
49
0.5
[ "vector" ]
3dea4593b6982d3c9f9063059b354d6e2829ea2e
229
hpp
C++
src/nmea-sender/ConfigParser.hpp
open-simulation-platform/sensors-and-senders
72acf3f5494a14e9eeda684d834ec6944b0e7e0d
[ "MIT" ]
4
2021-04-16T07:28:16.000Z
2022-03-12T23:00:46.000Z
src/nmea-sender/ConfigParser.hpp
open-simulation-platform/sensors-and-senders
72acf3f5494a14e9eeda684d834ec6944b0e7e0d
[ "MIT" ]
null
null
null
src/nmea-sender/ConfigParser.hpp
open-simulation-platform/sensors-and-senders
72acf3f5494a14e9eeda684d834ec6944b0e7e0d
[ "MIT" ]
2
2020-08-05T17:10:55.000Z
2021-06-03T21:18:32.000Z
#pragma once #include <vector> #include "NmeaTelegram.hpp" struct NmeaConfig { std::string remoteIp; int remotePort; std::vector<Nmea::Telegram> telegrams; }; NmeaConfig parse_nmea_config(const std::string& path);
17.615385
54
0.724891
[ "vector" ]
3df490eb37bdd1dcd4c14b5c693f35ee3dce2395
14,874
cpp
C++
src/duna.cpp
emepetres/dunaWatchdog
314e2b96089a23d79a04c0c8d34f65b5199f02e9
[ "MIT" ]
null
null
null
src/duna.cpp
emepetres/dunaWatchdog
314e2b96089a23d79a04c0c8d34f65b5199f02e9
[ "MIT" ]
null
null
null
src/duna.cpp
emepetres/dunaWatchdog
314e2b96089a23d79a04c0c8d34f65b5199f02e9
[ "MIT" ]
null
null
null
/******************************************************************************* The MIT License (MIT) Copyright (c) 2016 Javier Carnero This file is part of DunaWatchdog. Permission is hereby granted, free of charge, to any person obtaining a copy of DunaWatchdog and associated documentation files (the "Softwa...
27.906191
179
0.585048
[ "vector" ]
3dfed127101e21d8e2f4708bcb1f5e2761af18f8
491,872
cpp
C++
djangoProject1/venv/Lib/site-packages/spacy/symbols.cpp
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
djangoProject1/venv/Lib/site-packages/spacy/symbols.cpp
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
djangoProject1/venv/Lib/site-packages/spacy/symbols.cpp
meddhafer97/Risk-management-khnowledge-based-system
aba86734801a9e0313071e2c9931295e0da08ed0
[ "MIT" ]
null
null
null
/* Generated by Cython 0.29.24 */ /* BEGIN: Cython Metadata { "distutils": { "extra_compile_args": [ "-std=c++11" ], "include_dirs": [ "C:\\hostedtoolcache\\windows\\Python\\3.9.7\\x64\\lib\\site-packages\\numpy\\core\\include", "C:\\hostedtoolcache\\wind...
45.866468
341
0.712588
[ "object", "shape" ]
3dff1a924f34f61a16507876a1623821602e2d54
973
cpp
C++
array/C++/0215-kth-largest-element-in-an-array/main.cpp
ljyljy/LeetCode-Solution-in-Good-Style
0998211d21796868061eb22e2cbb9bcd112cedce
[ "Apache-2.0" ]
1
2020-04-02T13:31:31.000Z
2020-04-02T13:31:31.000Z
array/C++/0215-kth-largest-element-in-an-array/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
null
null
null
array/C++/0215-kth-largest-element-in-an-array/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
1
2021-06-17T09:21:54.000Z
2021-06-17T09:21:54.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int findKthLargest(vector<int> &nums, int k) { int l = 0, r = nums.size() - 1; k = nums.size() - k; while (l <= r) { int p = partition(nums, l, r); if (k < p) { r = ...
22.113636
54
0.358684
[ "vector" ]