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
386f7cece60538e57ebba7f3af6812470f254972
5,097
cpp
C++
src/RotateMatrix.cpp
lgds/NRG_USP
ff66846e92498aa429cce6fc5793bec23ad03eb4
[ "MIT" ]
3
2015-09-21T20:58:45.000Z
2019-03-20T01:21:41.000Z
src/RotateMatrix.cpp
lgds/NRG_USP
ff66846e92498aa429cce6fc5793bec23ad03eb4
[ "MIT" ]
null
null
null
src/RotateMatrix.cpp
lgds/NRG_USP
ff66846e92498aa429cce6fc5793bec23ad03eb4
[ "MIT" ]
null
null
null
#include <iostream> #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/vector.hpp> #include <boost/numeric/ublas/io.hpp> #include <boost/timer.hpp> #include <vector> #include <cmath> using namespace std; #include "NRGclasses.hpp" //#include "NRGfunctions.hpp" void RotateMatrix(CNRGmatrix* pMa...
24.985294
85
0.626251
[ "vector" ]
3880588e0c7ecc3f5dbf5c80d5bfdc586ccaa62e
26,868
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL_Solids/OpenGL_Rigids_Components/OPENGL_COMPONENT_RIGID_BODY_COLLECTION_3D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL_Solids/OpenGL_Rigids_Components/OPENGL_COMPONENT_RIGID_BODY_COLLECTION_3D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL_Solids/OpenGL_Rigids_Components/OPENGL_COMPONENT_RIGID_BODY_COLLECTION_3D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2004-2009, Zhaosheng Bao, Eran Guendelman, Geoffrey Irving, Sergey Koltakov, Nipun Kwatra, Craig Schroeder, Tamar Shinar. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file ...
59.180617
257
0.668155
[ "geometry", "object", "vector" ]
389bfffb6e897bddcc1672fb71f10db4a1d89dff
998
cpp
C++
2. Left most and right most index - GFG/2.-left-most-and-right-most-index.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
1
2022-02-27T09:01:07.000Z
2022-02-27T09:01:07.000Z
2. Left most and right most index - GFG/2.-left-most-and-right-most-index.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
2. Left most and right most index - GFG/2.-left-most-and-right-most-index.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
// { Driver Code Starts #include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution { public: pair<long,long> indexes(vector<long long> v, long long x) { // code here if(binary_search(v.begin(),v.end(),x)){ return {lower_bound(v.begin(),v.end(),x)-v.begi...
19.96
109
0.483968
[ "vector" ]
38a298f1f5f1012731658d864b59416c777eea8a
5,451
cpp
C++
src/gui/compressed_frame_jpg.cpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
5
2020-07-23T18:59:08.000Z
2021-12-14T02:56:12.000Z
src/gui/compressed_frame_jpg.cpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
4
2020-08-30T13:55:22.000Z
2022-03-24T21:14:15.000Z
src/gui/compressed_frame_jpg.cpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
3
2020-10-04T17:53:15.000Z
2022-02-24T05:55:53.000Z
#include "compressed_frame_jpg.hpp" #include "basic_types.hpp" #include "exception.hpp" #include <opencv2/highgui/highgui.hpp> #include <iostream> namespace bias { // Constants // ------------------------------------------------------------------------------------------------------- const QString Compresse...
25.353488
124
0.578059
[ "vector" ]
38a61c13b0971a64f0cf731f6146d038095a8ec4
1,811
hpp
C++
include/dca/function/domains/dmn_0.hpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
include/dca/function/domains/dmn_0.hpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
include/dca/function/domains/dmn_0.hpp
PDoakORNL/DCA-2
5a373f6af5a7d4b5be69199f60ec75a16e58c626
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Peter Staar (taa@zurich.ibm.com) // // Ultimate leaf domain of the domain tree. #...
22.085366
89
0.720596
[ "vector" ]
38a76053e146e578e8a4d904477e0c3f922bf18d
31,506
cc
C++
src/test/librgw_file_nfsns.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
4
2020-04-08T03:42:02.000Z
2020-10-01T20:34:48.000Z
src/test/librgw_file_nfsns.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
93
2020-03-26T14:29:14.000Z
2020-11-12T05:54:55.000Z
src/test/librgw_file_nfsns.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
23
2020-03-24T10:28:44.000Z
2020-09-24T09:42:19.000Z
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2015 Red Hat, Inc. * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License vers...
26.364854
78
0.603695
[ "object", "vector" ]
38a9410a7bb63c0fb1e2794ba1cfa983903717b4
10,955
cpp
C++
lib/transforms/LowerProgramUnit.cpp
clementval/fc
a5b444963c1b46e4eb34d938d992836d718010f7
[ "BSD-2-Clause" ]
null
null
null
lib/transforms/LowerProgramUnit.cpp
clementval/fc
a5b444963c1b46e4eb34d938d992836d718010f7
[ "BSD-2-Clause" ]
null
null
null
lib/transforms/LowerProgramUnit.cpp
clementval/fc
a5b444963c1b46e4eb34d938d992836d718010f7
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2019, Compiler Tree Technologies Pvt Ltd. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this ...
39.125
81
0.687814
[ "shape" ]
38b1460a2521a4f49c9a3a8de2206137d1675794
51,914
cpp
C++
Engine/source/T3D/fx/ImprovedParticle/graphEmitterNode.cpp
John3/CE-OSLab
62c1cd5ff541b610193d599294e87dcb21c3b81b
[ "Unlicense" ]
1
2016-12-16T08:30:54.000Z
2016-12-16T08:30:54.000Z
Engine/source/T3D/fx/ImprovedParticle/graphEmitterNode.cpp
T3DCE/CE-OSLab
62c1cd5ff541b610193d599294e87dcb21c3b81b
[ "Unlicense" ]
null
null
null
Engine/source/T3D/fx/ImprovedParticle/graphEmitterNode.cpp
T3DCE/CE-OSLab
62c1cd5ff541b610193d599294e87dcb21c3b81b
[ "Unlicense" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2012 Lukas Joergensen, FuzzyVoid Studio // // 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 ...
31.732274
168
0.615595
[ "object", "vector" ]
38bc16b05a65bbfad0f5f476a1f11d0eaa6be0b4
4,672
hpp
C++
herakles/vulkan/buffer.hpp
RenatoUtsch/herakles
2532227d79b9a091d2b7685d8ecd9669b14a5eb4
[ "Apache-2.0" ]
1
2020-03-18T14:52:14.000Z
2020-03-18T14:52:14.000Z
herakles/vulkan/buffer.hpp
RenatoUtsch/herakles
2532227d79b9a091d2b7685d8ecd9669b14a5eb4
[ "Apache-2.0" ]
null
null
null
herakles/vulkan/buffer.hpp
RenatoUtsch/herakles
2532227d79b9a091d2b7685d8ecd9669b14a5eb4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Renato Utsch * * 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 ...
35.12782
79
0.710188
[ "vector" ]
38bd655480f489c1fe0d4c018eae92cc6e090bab
9,713
cpp
C++
src/mafEventBus/mafEventDispatcherLocal.cpp
examyes/MAF3
f9614d36591754544b23e3a670980799254dfd2c
[ "Apache-2.0" ]
1
2020-05-15T05:19:45.000Z
2020-05-15T05:19:45.000Z
src/mafEventBus/mafEventDispatcherLocal.cpp
examyes/MAF3
f9614d36591754544b23e3a670980799254dfd2c
[ "Apache-2.0" ]
null
null
null
src/mafEventBus/mafEventDispatcherLocal.cpp
examyes/MAF3
f9614d36591754544b23e3a670980799254dfd2c
[ "Apache-2.0" ]
1
2018-02-06T03:51:57.000Z
2018-02-06T03:51:57.000Z
/* * mafEventDispatcherLocal.cpp * mafEventBus * * Created by Paolo Quadrani on 27/03/09. * Copyright 2011 SCS-B3C. All rights reserved. * * See License at: http://tiny.cc/QXJ4D * */ #include "mafEventDispatcherLocal.h" #include "mafEvent.h" using namespace mafEventBus; mafEventDispatcherLocal::mafEven...
54.26257
150
0.475136
[ "object" ]
38c1cce9fba06146a67716cc38b62c7aa1a8fe57
2,304
cc
C++
CA_hw2/motion_editor/geometry/geometry_arrow.cc
yanagiragi/2020_Computer_Animations_Assignments-
bacd423dd579c674283bf4f009e4dd8269c322ac
[ "MIT" ]
null
null
null
CA_hw2/motion_editor/geometry/geometry_arrow.cc
yanagiragi/2020_Computer_Animations_Assignments-
bacd423dd579c674283bf4f009e4dd8269c322ac
[ "MIT" ]
null
null
null
CA_hw2/motion_editor/geometry/geometry_arrow.cc
yanagiragi/2020_Computer_Animations_Assignments-
bacd423dd579c674283bf4f009e4dd8269c322ac
[ "MIT" ]
1
2020-06-02T02:26:13.000Z
2020-06-02T02:26:13.000Z
#include "geometry_arrow.h" namespace geometry { // public func. Arrow::Arrow() :start_pos_(new math::Vector3d_t), end_pos_(new math::Vector3d_t), cylinder_height_(0.0), cone_height_(0.0), cylinder_radius_(0.0), cone_radius_(0.0) { } Arrow::Arrow(const math::Vector3d_t &start_pos, const math...
18.731707
80
0.700087
[ "geometry" ]
38d4751ba8f9524fdff732a3ba52aa65cfe08b51
3,687
cpp
C++
demo/uidemo5.cpp
CUITzhaoqi/QSS-Skin-Builder
37cba6ae38f9cfeb3a5f1d8ea5a7fae534d57cb0
[ "MIT" ]
240
2019-08-22T02:10:26.000Z
2022-03-31T08:07:48.000Z
demo/uidemo5.cpp
mazj/QSS-Skin-Builder
37cba6ae38f9cfeb3a5f1d8ea5a7fae534d57cb0
[ "MIT" ]
null
null
null
demo/uidemo5.cpp
mazj/QSS-Skin-Builder
37cba6ae38f9cfeb3a5f1d8ea5a7fae534d57cb0
[ "MIT" ]
100
2019-06-26T11:22:25.000Z
2022-02-17T06:41:27.000Z
#include "uidemo5.h" #include "ui_uidemo5.h" #include "navlistview.h" #include "quiwidget.h" UIDemo5::UIDemo5(QWidget *parent) : QDialog(parent), ui(new Ui::UIDemo5) { ui->setupUi(this); this->initForm(); QUIWidget::setFormInCenter(this); QTimer::singleShot(100, this, SLOT(initIndex())); } UI...
30.471074
151
0.664497
[ "geometry" ]
38d4ebdccee139ff29d5efb875d0ccfa22b0ceb3
277
cpp
C++
templates/template_friend1.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
7
2017-11-10T05:18:30.000Z
2021-04-29T15:38:25.000Z
templates/template_friend1.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
templates/template_friend1.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> template<class T> struct B { friend void f(B b1){} friend void f(){} }; int main() { B<int> b1; //B<double> b2; // error double void f() definition; B<int> b2; f(b1); //f(); //error }
12.043478
55
0.541516
[ "vector" ]
38e14d2e44611821babd81a83018ede3294199c9
2,552
hpp
C++
spot_real/Control/Teensy/SpotMiniMini/lib/Kinematics/Kinematics.hpp
sofya-pugach/spot_mini_mini
42770145e91ed2625ccc7e4f4d7016ce14a61464
[ "MIT" ]
323
2020-06-15T20:13:29.000Z
2020-10-17T17:05:24.000Z
spot_real/Control/Teensy/SpotMiniMini/lib/Kinematics/Kinematics.hpp
moribots/minitaur_from_scratch
1d08dac0fb511aa18e829e7aa220fad293c45c63
[ "MIT" ]
15
2020-10-20T13:57:20.000Z
2022-03-10T01:54:56.000Z
spot_real/Control/Teensy/SpotMiniMini/lib/Kinematics/Kinematics.hpp
moribots/minitaur_from_scratch
1d08dac0fb511aa18e829e7aa220fad293c45c63
[ "MIT" ]
90
2020-10-21T14:05:05.000Z
2022-03-29T00:32:09.000Z
#ifndef KINEMATICS_INCLUDE_GUARD_HPP #define KINEMATICS_INCLUDE_GUARD_HPP /// \file /// \brief Leg Kinematics Library. #include <Arduino.h> enum LegQuadrant {Right, Left}; class Kinematics { private: double shoulder_length = 0.0; double elbow_length = 0.0; double wrist_length = 0.0; public...
42.533333
128
0.690439
[ "vector" ]
38e309ac2e5b2480c11bb0620bd2a4b1655bf60f
4,014
cpp
C++
prvc/prvc_share/prvc_dec_client_base.cpp
yamanalab/prv_cmp
6f968e91723749bfe731e4679863216860aa5257
[ "Apache-2.0" ]
null
null
null
prvc/prvc_share/prvc_dec_client_base.cpp
yamanalab/prv_cmp
6f968e91723749bfe731e4679863216860aa5257
[ "Apache-2.0" ]
null
null
null
prvc/prvc_share/prvc_dec_client_base.cpp
yamanalab/prv_cmp
6f968e91723749bfe731e4679863216860aa5257
[ "Apache-2.0" ]
1
2020-02-27T15:18:12.000Z
2020-02-27T15:18:12.000Z
/* * Copyright 2018 Yamana Laboratory, Waseda University * Supported by JST CREST Grant Number JPMJCR1503, Japan. * * 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...
27.493151
84
0.667414
[ "vector" ]
38fa82cf50d11a226482ef09dede71f8b854dc97
8,900
cpp
C++
webrtc-jni/src/main/cpp/src/JNI_PeerConnectionFactory.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
1
2020-10-18T04:59:44.000Z
2020-10-18T04:59:44.000Z
webrtc-jni/src/main/cpp/src/JNI_PeerConnectionFactory.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
null
null
null
webrtc-jni/src/main/cpp/src/JNI_PeerConnectionFactory.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
1
2021-04-22T12:30:45.000Z
2021-04-22T12:30:45.000Z
/* * Copyright 2019 Alex Andres * * 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 ...
35.6
146
0.76809
[ "object" ]
ac03dd858e72babfa28eb2eef6e94e64014cd21c
1,326
cpp
C++
Tema4-5/ED29/source.cpp
Yule1223/Data-Structure
90197a9f9d19332f3d2e240185bba6540eaa754d
[ "MIT" ]
null
null
null
Tema4-5/ED29/source.cpp
Yule1223/Data-Structure
90197a9f9d19332f3d2e240185bba6540eaa754d
[ "MIT" ]
null
null
null
Tema4-5/ED29/source.cpp
Yule1223/Data-Structure
90197a9f9d19332f3d2e240185bba6540eaa754d
[ "MIT" ]
null
null
null
// Yule Zhang // El coste es del orden(N) siendo n es el numero de capitulos // Porque los accesos al diccionario es del coste constante y el resto de cosas que hacemos tb #include <iostream> #include <fstream> #include <string> #include <set> #include <vector> #include <algorithm> #include <unordered_map> using na...
24.109091
94
0.68175
[ "vector" ]
f19ee7f394c0eb97ce52a0caf64077d9f52e4a52
4,916
cpp
C++
src/process.cpp
xcjusuih/Memtracker
93db5fe1cfbdb3755b952c608d34cb5a12a702ef
[ "MIT" ]
null
null
null
src/process.cpp
xcjusuih/Memtracker
93db5fe1cfbdb3755b952c608d34cb5a12a702ef
[ "MIT" ]
null
null
null
src/process.cpp
xcjusuih/Memtracker
93db5fe1cfbdb3755b952c608d34cb5a12a702ef
[ "MIT" ]
null
null
null
#include "process.hpp" #include <cstdio> #include <ctype.h> #include <cstdlib> #include <dirent.h> #include <fstream> #include <algorithm> #include <cstring> using namespace std; /** To check whether a folder is a pid folder. * Return true if it is, else false. This is * a inner function only. **/ bool is_number...
21.752212
104
0.650936
[ "object", "vector" ]
f1a29535bdefc11ab57eca17eb309582c1d7cc18
5,312
cpp
C++
Compiler/line.cpp
beldmitr/i4004
f090bc91acbf88be119d72a80301cdcf57a8c159
[ "MIT" ]
7
2017-04-07T01:17:26.000Z
2021-11-02T06:08:45.000Z
Compiler/line.cpp
beldmitr/i4004
f090bc91acbf88be119d72a80301cdcf57a8c159
[ "MIT" ]
null
null
null
Compiler/line.cpp
beldmitr/i4004
f090bc91acbf88be119d72a80301cdcf57a8c159
[ "MIT" ]
1
2018-12-13T10:47:08.000Z
2018-12-13T10:47:08.000Z
#include "line.h" Line::Line(std::string line) { std::string parsedLine = line; /* * Parsing a COMMENT * * A comment marks with symbol slash (/). * Everything starts with this symbol is a comment and will be deleted by a compiler, * because in object code there is no need in describin...
33.408805
127
0.597515
[ "object" ]
f1aa4677b459cfa0cf8bdf9984e46fcd7fb74068
1,591
cpp
C++
C/testcases/CWE15_External_Control_of_System_or_Configuration_Setting/CWE15_External_Control_of_System_or_Configuration_Setting__w32_84_goodG2B.cpp
AditiAShenoy/Juliet1.3
21ee6a5dac7c19749d71675372969fc6ebbba424
[ "MIT" ]
28
2017-01-20T15:25:54.000Z
2020-03-17T00:28:31.000Z
testcases/CWE15_External_Control_of_System_or_Configuration_Setting/CWE15_External_Control_of_System_or_Configuration_Setting__w32_84_goodG2B.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
1
2017-01-20T15:26:27.000Z
2018-08-20T00:55:37.000Z
testcases/CWE15_External_Control_of_System_or_Configuration_Setting/CWE15_External_Control_of_System_or_Configuration_Setting__w32_84_goodG2B.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
2
2019-07-15T19:07:04.000Z
2019-09-07T14:21:04.000Z
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE15_External_Control_of_System_or_Configuration_Setting__w32_84_goodG2B.cpp Label Definition File: CWE15_External_Control_of_System_or_Configuration_Setting__w32.label.xml Template File: sources-sink-84_goodG2B.tmpl.cpp */ /* * @description * CWE: 15 External Con...
37
166
0.779384
[ "object" ]
f1abe8ffa513b903c113185e720d9fe183e13dd3
19,816
cpp
C++
bethyw.cpp
stevenwhatever123/CSC371-Assignment
c1e00c429b6973b3d5cacf0c0c68f5bfeef0129d
[ "BSL-1.0" ]
null
null
null
bethyw.cpp
stevenwhatever123/CSC371-Assignment
c1e00c429b6973b3d5cacf0c0c68f5bfeef0129d
[ "BSL-1.0" ]
null
null
null
bethyw.cpp
stevenwhatever123/CSC371-Assignment
c1e00c429b6973b3d5cacf0c0c68f5bfeef0129d
[ "BSL-1.0" ]
null
null
null
/* +---------------------------------------+ | BETH YW? WELSH GOVERNMENT DATA PARSER | +---------------------------------------+ AUTHOR: 690826 This file contains all the helper functions for initialising and running Beth Yw? In languages such as Java, this would be a class, but we really don't need ...
32.221138
110
0.606631
[ "object", "vector", "transform" ]
f1acc363748f28ef585c0b058bb9d822fcbceb8a
22,430
hpp
C++
include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp
Megacephalo/proxemics_anytimerrts
6d1c76e04ace18d53af91c3bfcfc9eddbb9fec60
[ "BSD-2-Clause" ]
9
2017-02-16T01:20:04.000Z
2021-08-15T12:22:25.000Z
include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp
Megacephalo/proxemics_anytimerrts
6d1c76e04ace18d53af91c3bfcfc9eddbb9fec60
[ "BSD-2-Clause" ]
1
2017-02-16T00:59:00.000Z
2017-02-16T00:59:00.000Z
include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp
Megacephalo/proxemics_anytimerrts
6d1c76e04ace18d53af91c3bfcfc9eddbb9fec60
[ "BSD-2-Clause" ]
2
2018-09-07T03:52:45.000Z
2019-08-20T11:35:15.000Z
#ifndef _SMP_MINIMUM_TIME_REACHABILITY_HPP_ #define _SMP_MINIMUM_TIME_REACHABILITY_HPP_ #include <smp/components/multipurpose/minimum_time_reachability_thetastar.h> #include <smp/planners/rrtstar.hpp> #include <smp/common/region.hpp> #include <smp/components/model_checkers/base.hpp> #include <smp/components/cost_eval...
24.922222
233
0.640526
[ "vector", "transform" ]
f1ad25205a965b96809eec8f9c00e5cca264e5ef
1,502
cpp
C++
Algorithms/Mathematical-Algorithms/Combinatorics/permutations_without_repetitions.cpp
tensorush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
9
2021-07-11T19:53:36.000Z
2022-03-28T15:04:38.000Z
Algorithms/Mathematical-Algorithms/Combinatorics/permutations_without_repetitions.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
1
2022-01-18T09:49:36.000Z
2022-01-18T17:50:12.000Z
Algorithms/Mathematical-Algorithms/Combinatorics/permutations_without_repetitions.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
2
2021-11-15T08:02:25.000Z
2022-03-21T14:29:15.000Z
/* Permutations Without Repetitions -------------------------------- Time: O(n!) Space: O(1) */ #include <algorithm> #include <iostream> #include <vector> #include <string> template <typename T> auto PermutationsWithoutRepetitions(std::vector<T>& sequence) { std::vector<std::vector<T>> permutations...
28.339623
72
0.545273
[ "vector" ]
f1adc7754ade231a7ff8abad1719e945cef0993c
1,121
cpp
C++
BashuOJ-Code/1106.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/1106.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/1106.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<map> #include<vector> #define ri register int #define ll long long using namespace std; const int Mod=9901; const int MAXN=500005; int n,d,m,cnt; int a[MAXN],b[MAXN],C[MAXN],Ans; map<int,...
19.327586
66
0.600357
[ "vector" ]
f1b1e93ae7ab21fcec806b54c2a05c23751167c2
419
cpp
C++
LiteCppDB/LiteCppDB/QueryNot.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
2
2019-07-18T06:30:33.000Z
2020-01-23T17:40:36.000Z
LiteCppDB/LiteCppDB/QueryNot.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
LiteCppDB/LiteCppDB/QueryNot.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "QueryNot.h" namespace LiteCppDB { QueryNot::QueryNot(Query query, int order) noexcept { this->_order = 0; } std::vector<IndexNode> QueryNot::ExecuteIndex(IndexService indexer, CollectionIndex index) noexcept { return std::vector<IndexNode>(); } std::vector<IndexNode> QueryNot...
20.95
100
0.732697
[ "vector" ]
f1b73ae9575fcf8e5904ea89633ead23af5de73c
1,006
cc
C++
playground/flens/examples/example-mpi-reduce.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
98
2015-01-26T20:31:37.000Z
2021-09-09T15:51:37.000Z
playground/flens/examples/example-mpi-reduce.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
16
2015-01-21T07:43:45.000Z
2021-12-06T12:08:36.000Z
playground/flens/examples/example-mpi-reduce.cc
stip/FLENS
80495fa97dda42a0acafc8f83fc9639ae36d2e10
[ "BSD-3-Clause" ]
31
2015-01-05T08:06:45.000Z
2022-01-26T20:12:00.000Z
#include <cxxstd/iostream.h> #define USE_PLAYGROUND #define WITH_MPI #include <flens/flens.cxx> using namespace std; using namespace flens; using namespace mpi; typedef double T; int main(int argc, char* argv[]) { /// /// Define some convenient typedefs for the vector types /// typedef DenseVecto...
17.344828
61
0.533797
[ "vector" ]
f1b831ea2bed66cd992c30ddfd5c96ac1975a36a
12,061
cpp
C++
src/main.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/main.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/main.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include "glad/glad.h" #include "core/game_window.h" #include "core/event.h" #include "spdlog/spdlog.h" #include "entt/entt.hpp" #include "gui/imgui_impl_sdl.h" #include "math/perlin.h" #include "math/rng.h" #include "graphics/texture_2d.h" #include "graphics/sprite_batch.h" #includ...
33.879213
140
0.663295
[ "render", "vector", "model" ]
f1bfd64ae2c144dab4d723bbcbd7bf7e65915dec
2,812
hpp
C++
logging/LW_ZeroSimd.hpp
bxtx999/pmembench
9577a15bc7934a681f23b3096f2cd25e09f66874
[ "MIT", "Unlicense" ]
10
2021-02-09T21:07:12.000Z
2022-02-10T17:37:06.000Z
logging/LW_ZeroSimd.hpp
bxtx999/pmembench
9577a15bc7934a681f23b3096f2cd25e09f66874
[ "MIT", "Unlicense" ]
null
null
null
logging/LW_ZeroSimd.hpp
bxtx999/pmembench
9577a15bc7934a681f23b3096f2cd25e09f66874
[ "MIT", "Unlicense" ]
4
2021-04-12T08:13:09.000Z
2022-01-05T02:54:45.000Z
struct LogWriterZeroSimd { struct Entry { ub4 payload_size; // header ub4 bit_count; // header ub1 data[]; }; struct File { // Header ub1 padding[constants::kCacheLineByteCount]; // Log data ub1 data[]; }; static_assert(sizeof(File) == 64, ""); NonVolatile...
28.12
131
0.58037
[ "vector" ]
f1c7ed29de880cd361d95f2b29e88eb448f6dced
24,179
cpp
C++
Code/ServerApp/DirectX/DirectX11.cpp
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
Code/ServerApp/DirectX/DirectX11.cpp
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
Code/ServerApp/DirectX/DirectX11.cpp
Xipiryon/netImgui
75fbccdb76fe528bda1ebe285c497bfa228368c4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <mutex> #include <vector> #include <cstddef> #include <d3d11.h> #include "DirectX11.h" #include <ClearVS.h> #include <ClearPS.h> #include <ImguiVS.h> #include <ImguiPS.h> #include <Private/NetImgui_CmdPackets.h> //----------------------------------------------------------------------------...
40.164452
207
0.732619
[ "render", "vector" ]
f1c8fac0ad63b3b1c4ce1afa3d1b694f8d4612ed
1,167
cpp
C++
src/tools.cpp
sm-azure/CarND-Unscented-Kalman-Filter-Project
995fc6caa0eae1e024c7b4ac776195c4e884f741
[ "MIT" ]
null
null
null
src/tools.cpp
sm-azure/CarND-Unscented-Kalman-Filter-Project
995fc6caa0eae1e024c7b4ac776195c4e884f741
[ "MIT" ]
null
null
null
src/tools.cpp
sm-azure/CarND-Unscented-Kalman-Filter-Project
995fc6caa0eae1e024c7b4ac776195c4e884f741
[ "MIT" ]
null
null
null
#include <iostream> #include "tools.h" using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth) { VectorXd rmse = VectorXd(4); rmse ...
35.363636
81
0.547558
[ "vector" ]
f1c9d6913ca6ba859e0d7545d7e1e1492f68ecae
1,162
hh
C++
include/SensitiveDetector.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
include/SensitiveDetector.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
null
null
null
include/SensitiveDetector.hh
phirippu/instrument-simulation
0a7cec84d8945a6f11e0ddca00f1e8fc0d32d7f8
[ "CC-BY-4.0" ]
1
2021-03-08T16:01:14.000Z
2021-03-08T16:01:14.000Z
// // Created by phil on 5/18/18. // #ifndef SENSITIVEDETECTOR_HH #define SENSITIVEDETECTOR_HH #include "G4VSensitiveDetector.hh" #include "G4SystemOfUnits.hh" #include "G4Run.hh" #include "PrimaryGeneratorAction.hh" #include <vector> #include <G4MultiFunctionalDetector.hh> #include <G4PSEnergyDeposit.hh> class G4...
21.127273
68
0.708262
[ "vector" ]
f1d0ec89d4bc0754d4fa4cd8164223232b28973b
839
cpp
C++
Wars - Disarium.cpp
hgf777-br/TopCoderCPP
322d12d73ac8ed7f8e8d3448ae2fe6aa8d6fc8b4
[ "MIT" ]
null
null
null
Wars - Disarium.cpp
hgf777-br/TopCoderCPP
322d12d73ac8ed7f8e8d3448ae2fe6aa8d6fc8b4
[ "MIT" ]
null
null
null
Wars - Disarium.cpp
hgf777-br/TopCoderCPP
322d12d73ac8ed7f8e8d3448ae2fe6aa8d6fc8b4
[ "MIT" ]
null
null
null
#include <iostream> #include <clocale> #include <string> #include <vector> #include <cmath> #include <cctype> #include <numeric> #include <algorithm> #include <map> using namespace std; bool IsOdd(int i) { return ((i%2)!=0); } bool IsEven(int i) { return ((i%2)==0); } string disariumNumber (int n ) { int x = n; ...
16.45098
44
0.532777
[ "vector" ]
f1d79cf0a7544dfaa52ad4afb0245c6034207176
6,497
cpp
C++
ogsr_engine/xrGame/ui/UIButton.cpp
NikitaNikson/OGSR-Engine
72209e2d5f542df6aa7d65210fa6576ddf38e59c
[ "Apache-2.0" ]
7
2021-04-06T15:08:49.000Z
2021-07-14T15:24:29.000Z
ogsr_engine/xrGame/ui/UIButton.cpp
NikitaNikson/OGSR-Engine-Bashy
72209e2d5f542df6aa7d65210fa6576ddf38e59c
[ "Apache-2.0" ]
null
null
null
ogsr_engine/xrGame/ui/UIButton.cpp
NikitaNikson/OGSR-Engine-Bashy
72209e2d5f542df6aa7d65210fa6576ddf38e59c
[ "Apache-2.0" ]
1
2021-07-03T19:49:46.000Z
2021-07-03T19:49:46.000Z
// UIButton.cpp: класс нажимаемой кнопки // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "UIButton.h" #include "../HUDManager.h" #include "UILines.h" #include "UIBtnHint.h" #define PUSH_OFFSET_RIGHT 1 #define PUSH_OFFSET_DOWN 1 CUIButton:: CUIButton() { m_eB...
22.716783
120
0.683085
[ "render" ]
f1e2f0867bfba5a898dc62b51f3fa5753556800c
1,155
cpp
C++
Plugins/org.mitk.core.services/src/internal/mitkDataStorageReference.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.core.services/src/internal/mitkDataStorageReference.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.core.services/src/internal/mitkDataStorageReference.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
22.211538
92
0.667532
[ "object" ]
f1eeeaed8d61485a251af45acf236ec6cc37645f
247
cpp
C++
CodeInterviews-SwordOffer/Offer56-II-Count-of-Number-in-Array-II/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
CodeInterviews-SwordOffer/Offer56-II-Count-of-Number-in-Array-II/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
CodeInterviews-SwordOffer/Offer56-II-Count-of-Number-in-Array-II/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { public: int singleNumber(vector<int>& nums) { int ones = 0, twos = 0; for(int num : nums){ ones = ones ^ num & ~twos; twos = twos ^ num & ~ones; } return ones; } };
20.583333
41
0.45749
[ "vector" ]
f1ef9f5aa6d753abf8f70f560c9b8f40184b5ecf
5,255
hpp
C++
packages/data_gen/xsdir/src/DataGen_XsdirEntry.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data_gen/xsdir/src/DataGen_XsdirEntry.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data_gen/xsdir/src/DataGen_XsdirEntry.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file DataGen_XsdirEntry.hpp //! \author Alex Robinson //! \brief The xsdir entry base class declaration //! //---------------------------------------------------------------------------// #ifndef DATA_GEN_XSDIR_ENTRY_HPP #defin...
29.194444
79
0.674405
[ "vector" ]
f1f27d45bf522dcb8fc4581b643bad609bf629e3
14,701
hpp
C++
ModSource/breakingpoint_ui/config/RscDisplayLogin.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
70
2017-06-23T21:25:05.000Z
2022-03-27T02:39:33.000Z
ModSource/breakingpoint_ui/config/RscDisplayLogin.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
84
2017-08-26T22:06:28.000Z
2021-09-09T15:32:56.000Z
ModSource/breakingpoint_ui/config/RscDisplayLogin.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
71
2017-06-24T01:10:42.000Z
2022-03-18T23:02:00.000Z
// Generated by unRap v1.06 by Kegetys class RscDisplayLogin : RscStandardDisplay { onLoad = "[""onLoad"",_this,""RscDisplayLogin"",'GUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; onUnload = "[""onUnload"",_this,""RscDisplayLogin"",'GUI'] call compile preprocessfilelinenumbers ""A...
45.373457
250
0.507653
[ "model" ]
f1fa2a4d0ad25e359eb363d8b3e91215a141182b
15,031
cpp
C++
Leandro/Sampling.cpp
iancraz/TP2---Sintesis-v2
925bdbaffdd77975dc65dc27816ba121ecf45836
[ "Unlicense" ]
null
null
null
Leandro/Sampling.cpp
iancraz/TP2---Sintesis-v2
925bdbaffdd77975dc65dc27816ba121ecf45836
[ "Unlicense" ]
null
null
null
Leandro/Sampling.cpp
iancraz/TP2---Sintesis-v2
925bdbaffdd77975dc65dc27816ba121ecf45836
[ "Unlicense" ]
null
null
null
#include "Instrument.h" #include "json/json.h" #define MAX_LOOP_TIME (0.370) #define MIN_LOOP_TIME (0.) SamplingInstrument::SamplingInstrument(samplingParams_t * params) { this->type = synthType::sampling; repeat_time_begin = MIN_LOOP_TIME; repeat_time_end = MAX_LOOP_TIME; lenght_temp_buffer = params->buffLeng...
35.788095
296
0.656643
[ "vector" ]
7b03c162b00f1219f5bf16744da384a9f627c122
5,999
cpp
C++
src/slbf.cpp
ldrobotSensorTeam/ldlidar_sl_ros
e2d52173903f2bdd89c4a284c2b67bfaf7938d88
[ "MIT" ]
null
null
null
src/slbf.cpp
ldrobotSensorTeam/ldlidar_sl_ros
e2d52173903f2bdd89c4a284c2b67bfaf7938d88
[ "MIT" ]
null
null
null
src/slbf.cpp
ldrobotSensorTeam/ldlidar_sl_ros
e2d52173903f2bdd89c4a284c2b67bfaf7938d88
[ "MIT" ]
null
null
null
/** * @file slbf.cpp * @author LDRobot (contact@ldrobot.com) * @brief LiDAR near-range filtering algorithm * This code is only applicable to LDROBOT LiDAR LD00 LD03 LD08 LD14 * products sold by Shenzhen LDROBOT Co., LTD * @version 0.1 * @date 2021-11-09 * * @copyright Copyright (c) 2021 SHENZHEN LDRO...
28.29717
80
0.572929
[ "vector" ]
7b06c883a39e85cd3fd75b1f25fdd415c83992ba
7,563
cc
C++
src/render/back/vulkan/back/vulkan_canvas.cc
yydcnjjw/my-gui
7d4c0836e861e991c42cecac4ddf6eda90ff36c8
[ "Apache-2.0" ]
null
null
null
src/render/back/vulkan/back/vulkan_canvas.cc
yydcnjjw/my-gui
7d4c0836e861e991c42cecac4ddf6eda90ff36c8
[ "Apache-2.0" ]
1
2020-11-07T03:28:34.000Z
2020-11-09T05:36:31.000Z
src/render/back/vulkan/back/vulkan_canvas.cc
yydcnjjw/my-gui
7d4c0836e861e991c42cecac4ddf6eda90ff36c8
[ "Apache-2.0" ]
null
null
null
#include "canvas.h" #include "aio.h" #include "draw_list.h" #include "render_device.h" #include "util.hpp" namespace { class GPUCanvas : public my::Canvas { public: void fill_rect(const glm::vec2 &a, const glm::vec2 &b, const glm::u8vec4 &col) override { this->_draw_list.fill_rect(a,...
37.256158
81
0.582176
[ "vector" ]
7b0a49b60c652f4570c9b78660c16c6c27ec2fcc
44,218
cpp
C++
FSPF.cpp
JoeyYilinWang/Oriented-Point-Sampling
9603c29799175be5da85cd1a1c576d363a593cb4
[ "MIT" ]
1
2021-05-15T11:32:18.000Z
2021-05-15T11:32:18.000Z
FSPF.cpp
JoeyYilinWang/Oriented-Point-Sampling
9603c29799175be5da85cd1a1c576d363a593cb4
[ "MIT" ]
null
null
null
FSPF.cpp
JoeyYilinWang/Oriented-Point-Sampling
9603c29799175be5da85cd1a1c576d363a593cb4
[ "MIT" ]
2
2020-11-12T03:36:23.000Z
2021-11-18T09:25:10.000Z
#include <ros/ros.h> #include <iostream> #include <fstream> #include <pcl/io/pcd_io.h> #include <pcl/io/ply_io.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/kdtree/kdtree_flann.h> #include <algorithm> #include <vector> #include <string> #include <numeric> #include <cmath> #include <time.h> ...
30.432209
220
0.641549
[ "vector", "3d" ]
7b13c8847c6049a8af6966be722edd9972d26505
5,869
hpp
C++
source/framework/algorithm/include/lue/framework/algorithm/accu_info.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/algorithm/include/lue/framework/algorithm/accu_info.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/algorithm/include/lue/framework/algorithm/accu_info.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include "lue/framework/algorithm/policy.hpp" #include "lue/framework/partitioned_array.hpp" namespace lue { using CellClass = std::uint8_t; static constexpr CellClass intra_partition_stream_cell = 11; static constexpr CellClass ridge_cell = 12; static constexpr CellClass inter_partitio...
37.14557
91
0.604192
[ "vector" ]
7b16b31bc5c68fd143fb0f328ca4987e93170962
595
cpp
C++
机试/搜索/DFS/leetcode90.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
机试/搜索/DFS/leetcode90.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
机试/搜索/DFS/leetcode90.cpp
codehuanglei/-
933a55b5c5a49163f12e0c39b4edfa9c4f01678f
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> res; void backTrack(int start, vector<int>& path, vector<int>& nums){ res.push_back(path); for(int i = start; i < nums.size(); i++){ if(i > start && nums[i] == nums[i - 1] ) continue; path.push_back(nums[i]); ...
29.75
68
0.504202
[ "vector" ]
7b1f6b9585cf45b04dfe3a8bf4ba295fecd1e6cf
3,358
hpp
C++
NostraEngine/src/header/nostraengine/core/resource_mngt/ByteResource.hpp
Lehks/NostraEngine
0d610dcd97ba482fd8f183795140c38728c3a6b3
[ "MIT" ]
1
2020-11-23T16:46:28.000Z
2020-11-23T16:46:28.000Z
NostraEngine/src/header/nostraengine/core/resource_mngt/ByteResource.hpp
Lehks/NostraEngine
0d610dcd97ba482fd8f183795140c38728c3a6b3
[ "MIT" ]
107
2018-04-06T10:15:47.000Z
2018-09-28T07:13:46.000Z
NostraEngine/src/header/nostraengine/core/resource_mngt/ByteResource.hpp
Lehks/NostraEngine
0d610dcd97ba482fd8f183795140c38728c3a6b3
[ "MIT" ]
null
null
null
#ifndef NOU_CORE_BYTE_RESOURCE_HPP #define NOU_CORE_BYTE_RESOURCE_HPP #include "nostraengine/core/resource_mngt/ResourceType.hpp" #include "nostraengine/core/resource_mngt/ResourceMetadata.hpp" #include "nostraengine/core/resource_mngt/Resource.hpp" #include "nostraengine/core/resource_mngt/ResourceLoader.hpp" #includ...
25.439394
105
0.721263
[ "vector" ]
7b27feb9894928f8dbd773e648308d8949693491
2,147
cpp
C++
src/main_sandbox.cpp
touyuji/font_face
c0e7c3c6365520331ce39f447a91d93b779897b3
[ "MIT" ]
null
null
null
src/main_sandbox.cpp
touyuji/font_face
c0e7c3c6365520331ce39f447a91d93b779897b3
[ "MIT" ]
null
null
null
src/main_sandbox.cpp
touyuji/font_face
c0e7c3c6365520331ce39f447a91d93b779897b3
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <array> #include "font_face.hpp" #include "bitmap.hpp" #include "texture_atlas.hpp" void makefile(const std::string& filename, const tou::bitmap_image& bmp) { std::cout << "Writing bitmap " << filename << " to disk..." << std::endl; std::vector<char>...
31.115942
163
0.64462
[ "vector" ]
7b2ad477059d48aa94afcb3581585b094c43228e
1,498
cpp
C++
gstreamer_rtsp_server/main.cpp
zealous-hunter/shiny-opencv-examples
5c1ea0fe1999a93e6ffea86521385321c6936843
[ "MIT" ]
null
null
null
gstreamer_rtsp_server/main.cpp
zealous-hunter/shiny-opencv-examples
5c1ea0fe1999a93e6ffea86521385321c6936843
[ "MIT" ]
null
null
null
gstreamer_rtsp_server/main.cpp
zealous-hunter/shiny-opencv-examples
5c1ea0fe1999a93e6ffea86521385321c6936843
[ "MIT" ]
null
null
null
#include <gst/gst.h> #include <gst/rtsp-server/rtsp-server.h> int main (int argc, char *argv[]) { GMainLoop *loop; GstRTSPServer *server; GstRTSPMountPoints *mounts; GstRTSPMediaFactory *factory; gst_init (&argc, &argv); loop = g_main_loop_new (NULL, FALSE); /* create a server instance */ server =...
29.96
151
0.715621
[ "object" ]
7b2c0dde8c982363db88e37365d915708221b75b
5,640
cpp
C++
samples/arm7/gcc/lpc2xxx/common/init.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-10-07T15:27:27.000Z
2021-04-07T06:13:24.000Z
samples/arm7/gcc/lpc2xxx/common/init.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
4
2017-07-04T10:51:51.000Z
2019-09-25T11:20:24.000Z
samples/arm7/gcc/lpc2xxx/common/init.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-12-04T15:34:32.000Z
2020-07-01T16:10:59.000Z
//****************************************************************************** //* //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System //* //* NICKNAME: scmRTOS //* //* PROCESSOR: ADuC70xx (Analog Devices) //* //* TOOLKIT: ARM GCC //* //* PURPOSE: Port Test File //* //* ...
37.350993
94
0.500709
[ "vector" ]
7b2c29ade6a0079bc9b20f638582866bdecde044
11,834
cpp
C++
csi_kafka/highlevel_consumer.cpp
bitbouncer/csi-kafka
f8374b4e9ae278d0166c43614dbd8beafa14bb09
[ "BSL-1.0" ]
25
2015-03-25T14:25:28.000Z
2019-07-24T07:28:12.000Z
csi_kafka/highlevel_consumer.cpp
bitbouncer/csi-kafka
f8374b4e9ae278d0166c43614dbd8beafa14bb09
[ "BSL-1.0" ]
5
2015-02-19T06:55:15.000Z
2017-07-19T18:07:31.000Z
csi_kafka/highlevel_consumer.cpp
bitbouncer/csi-kafka
f8374b4e9ae278d0166c43614dbd8beafa14bb09
[ "BSL-1.0" ]
5
2016-07-05T08:09:58.000Z
2019-03-08T15:58:16.000Z
#ifdef WIN32 #define BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT noexcept(true) #endif #include <algorithm> #include <boost/bind.hpp> #include <boost/log/core.hpp> #include <boost/log/trivial.hpp> #include "highlevel_consumer.h" #include <csi-async/async.h> #include <csi-async/destructor_callback.h> namespace csi { namespace...
42.415771
187
0.683877
[ "vector" ]
7b412a1e3ecdf11e316a6317b79080e5161089d6
3,150
cpp
C++
src/app/voltdb/voltdb_src/src/ee/topics/orm/GroupOrmBase.cpp
OpenMPDK/SMDK
8f19d32d999731242cb1ab116a4cb445d9993b15
[ "BSD-3-Clause" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
src/app/voltdb/voltdb_src/src/ee/topics/orm/GroupOrmBase.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
src/app/voltdb/voltdb_src/src/ee/topics/orm/GroupOrmBase.cpp
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
/* This file is part of VoltDB. * Copyright (C) 2019 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later v...
28.636364
106
0.653333
[ "vector" ]
7b425961538e290d92e7571341142db702d3bdc5
3,157
hpp
C++
openstudiocore/src/utilities/bcl/BCLComponent.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/utilities/bcl/BCLComponent.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/bcl/BCLComponent.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * 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 the...
27.452174
124
0.654736
[ "vector" ]
7b459a6170a37c4497eba7a70a001ea021406132
495
cpp
C++
LeetCode/4.Median_of_Two_Sorted_Arrays.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/4.Median_of_Two_Sorted_Arrays.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/4.Median_of_Two_Sorted_Arrays.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
// O(nlogn) class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { vector<int>all; for(int i = 0; i < nums1.size(); i++) all.push_back(nums1[i]); for(int i = 0; i < nums2.size(); i++) all.push_back(nums2[i]); sort(all.begin(), all.end()); ...
33
87
0.515152
[ "vector" ]
0da49fb45c4eb755f7524361dab7c348f658b401
4,873
cpp
C++
Emag/src/view/Terminal.cpp
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
1
2022-02-16T08:38:10.000Z
2022-02-16T08:38:10.000Z
Emag/src/view/Terminal.cpp
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
null
null
null
Emag/src/view/Terminal.cpp
kolibs/School_projects
d6c45814bf21c1ae788eb2e070f9745414e07553
[ "MIT" ]
2
2020-01-11T19:07:41.000Z
2020-10-08T14:12:54.000Z
/* * View * Betend - Marais */ #include "Terminal.hpp" void Terminal::display_header(void) const { cout << "****************************" << endl; cout << "** Bienvenue aventurier ! **" << endl; cout << "** by Marie & Etienne **" << endl; cout << "****************************" << endl; cout << endl; ...
28.005747
115
0.552227
[ "vector" ]
0da67cbc9abeee2475db396dbd2a16a05021c9c4
24,189
cpp
C++
sp/src/game/client/c_env_projectedtexture.cpp
95Navigator/insolence-2013
d6f75214602a4e14b51a5abf8af0355f679ae94d
[ "Unlicense" ]
11
2018-11-04T16:19:35.000Z
2020-11-21T22:03:16.000Z
sp/src/game/client/c_env_projectedtexture.cpp
95Navigator/insolence-2013
d6f75214602a4e14b51a5abf8af0355f679ae94d
[ "Unlicense" ]
null
null
null
sp/src/game/client/c_env_projectedtexture.cpp
95Navigator/insolence-2013
d6f75214602a4e14b51a5abf8af0355f679ae94d
[ "Unlicense" ]
null
null
null
//====== Copyright � 1996-2003, Valve Corporation, All rights reserved. ======= // // Purpose: // //============================================================================= #include "cbase.h" #include "c_env_projected_texture.h" #include "shareddefs.h" #include "materialsystem/imesh.h" #include "materialsystem...
34.75431
138
0.716565
[ "render", "vector" ]
0da831251dbc38d6743be36e2bc656b345d475b9
1,941
cpp
C++
aws-cpp-sdk-securityhub/source/model/Invitation.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-securityhub/source/model/Invitation.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-securityhub/source/model/Invitation.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/securityhub/model/Invitation.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namesp...
18.663462
82
0.722823
[ "model" ]
0dab2bd7c2d64f186e5b844b37c45a9c591e6dfc
6,895
cpp
C++
examples/blocktube/openglwindow.cpp
danieldigenova/abcg
522d36ac7919967800a2330be132d7c2fad37fd8
[ "MIT" ]
null
null
null
examples/blocktube/openglwindow.cpp
danieldigenova/abcg
522d36ac7919967800a2330be132d7c2fad37fd8
[ "MIT" ]
null
null
null
examples/blocktube/openglwindow.cpp
danieldigenova/abcg
522d36ac7919967800a2330be132d7c2fad37fd8
[ "MIT" ]
null
null
null
#include "openglwindow.hpp" #include <imgui.h> #include <math.h> #include <cppitertools/itertools.hpp> #include <glm/gtx/fast_trigonometry.hpp> void OpenGLWindow::initializeGL() { glClearColor(0, 0, 0, 1); // Enable depth buffering glEnable(GL_DEPTH_TEST); // Create program m_program = createProgramFromF...
33.79902
109
0.659173
[ "render", "object", "vector", "model" ]
0db0172319a99331bc05eb71c46a70e03607abc8
5,668
cpp
C++
src/main.cpp
fdzjuancarlos/GeographicalPlace
2329c4cb293e4dbe7ebde04718221ee75f7d0546
[ "MIT" ]
null
null
null
src/main.cpp
fdzjuancarlos/GeographicalPlace
2329c4cb293e4dbe7ebde04718221ee75f7d0546
[ "MIT" ]
null
null
null
src/main.cpp
fdzjuancarlos/GeographicalPlace
2329c4cb293e4dbe7ebde04718221ee75f7d0546
[ "MIT" ]
null
null
null
// // main.cpp // MinimumGeographicCost // // Created by carlos on 9/17/14. // Copyright (c) 2014 fdzjuancarlos. All rights reserved. // #include <iostream> #include <vector> #include <fstream> #include "GeographicalMap.h" #include "Problem.h" #include "Sucessor.h" #include "hdf5.h" #include "Frontera.h" int ma...
36.101911
114
0.579217
[ "vector" ]
0db15cf9caf0b4227c84674b73be9d54d0737f5e
780
hpp
C++
include_ImHex/views/view_strings.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
4
2021-05-09T23:33:54.000Z
2022-03-06T10:16:31.000Z
include_ImHex/views/view_strings.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
null
null
null
include_ImHex/views/view_strings.hpp
Laxer3a/psdebugtool
41efa5f35785afd8f6dc868d8dbdb0dcf8eb25fb
[ "MIT" ]
6
2021-05-09T21:41:48.000Z
2021-09-08T10:54:28.000Z
#pragma once #include <hex/views/view.hpp> #include <cstdio> #include <string> namespace hex { namespace prv { class Provider; } struct FoundString { std::string string; u64 offset; size_t size; }; class ViewStrings : public View { public: explicit ViewStrings()...
19.5
69
0.615385
[ "vector" ]
0dca20a4eff87e9b3661b5b8b39dd997f283d3d9
8,998
hpp
C++
src/Core/RenderPass.hpp
nickwn/Stratum
3d99193199ef4e20aca9f9203a36f34e225cd896
[ "MIT" ]
null
null
null
src/Core/RenderPass.hpp
nickwn/Stratum
3d99193199ef4e20aca9f9203a36f34e225cd896
[ "MIT" ]
null
null
null
src/Core/RenderPass.hpp
nickwn/Stratum
3d99193199ef4e20aca9f9203a36f34e225cd896
[ "MIT" ]
null
null
null
#pragma once #include "Device.hpp" namespace stm { using RenderAttachmentId = string; class RenderPass : public DeviceResource { public: enum AttachmentTypeFlags { eInput = 1, eColor = 2, eResolve = 4, eDepthStencil = 8, ePreserve = 16 }; struct SubpassDescription { public: using AttachmentInfo = t...
43.052632
174
0.745832
[ "vector" ]
0dcac041eb517349c25e6e8c20bc72dd249ae14d
2,660
hpp
C++
modules/engine/include/randar/Render/Texture.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
1
2016-11-12T02:43:29.000Z
2016-11-12T02:43:29.000Z
modules/engine/include/randar/Render/Texture.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
modules/engine/include/randar/Render/Texture.hpp
litty-studios/randar
95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b
[ "MIT" ]
null
null
null
#ifndef RANDAR_RENDER_TEXTURE_HPP #define RANDAR_RENDER_TEXTURE_HPP #include <randar/Render/Image.hpp> #include <randar/System/GlNamedResource.hpp> #include <randar/System/GraphicsContextResource.hpp> namespace randar { class Texture : virtual public GraphicsContextResource, virtual public GlNamed...
24.62963
76
0.548496
[ "render" ]
0dccfb95d1b92581eb68e9f04c33a36b872fa329
2,588
hpp
C++
include/lib/Engine/ECS/PrivateComponentStorage.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
22
2020-05-18T02:37:09.000Z
2022-03-13T18:44:30.000Z
include/lib/Engine/ECS/PrivateComponentStorage.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
null
null
null
include/lib/Engine/ECS/PrivateComponentStorage.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
3
2020-12-21T01:21:03.000Z
2021-09-06T08:07:41.000Z
#pragma once #include <Entity.hpp> namespace UniEngine { struct POwnersCollection { std::unordered_map<Entity, size_t, Entity> m_ownersMap; std::vector<Entity> m_ownersList; POwnersCollection() { m_ownersList = std::vector<Entity>(); m_ownersMap = std::unordered_map<Entity, size_t, Entit...
37.507246
103
0.724111
[ "vector" ]
0dd4f170330a2b45fe7abf7fffe8b5c2e9ab38ec
69,307
cpp
C++
src/RenderPass_DirectLightingCacheDenoising.cpp
tksgmsy/KickstartRT
7cfca58a8ca0abfcba810dded1fc1fddd17219ab
[ "MIT" ]
81
2022-03-22T12:19:01.000Z
2022-03-31T11:33:16.000Z
src/RenderPass_DirectLightingCacheDenoising.cpp
tksgmsy/KickstartRT
7cfca58a8ca0abfcba810dded1fc1fddd17219ab
[ "MIT" ]
2
2022-03-25T16:51:53.000Z
2022-03-30T08:59:51.000Z
src/RenderPass_DirectLightingCacheDenoising.cpp
tksgmsy/KickstartRT
7cfca58a8ca0abfcba810dded1fc1fddd17219ab
[ "MIT" ]
3
2022-03-23T05:59:35.000Z
2022-03-25T05:27:39.000Z
/* * Copyright (c) 2022 NVIDIA CORPORATION. All rights reserved * * 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, ...
42.624231
206
0.740603
[ "render", "vector" ]
0ddb78d688be18a2def4fe53aa3c9542eccb2bb5
1,245
cpp
C++
2020/4.2/T111888/spj.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/4.2/T111888/spj.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/4.2/T111888/spj.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
#include "testlib.h" const int MAXN = 105; struct Comp { int x, y; } v[MAXN]; bool vis[MAXN]; int main(int argc, char* argv[]) { registerTestlibCmd(argc, argv); int n, tx, ty, sx = 0, sy = 0; n = inf.readInt(0, 100); for(int i = 1; i <= n; ++i) v[i].x = inf.readInt(-10000, 10000), v[i].y = inf.read...
40.16129
158
0.570281
[ "vector" ]
0dea3a7423810645e66b6e3cca0e251f2a95146f
14,183
cpp
C++
src/csaltTester/src/TestUserPathFunction/TestUserPointFunction.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestUserPathFunction/TestUserPointFunction.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestUserPathFunction/TestUserPointFunction.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//$Id$ //------------------------------------------------------------------------------ // TestUserPointFunction //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Author: Wendy Shoan // Created: 2015.06.30 // /** ...
38.332432
139
0.599873
[ "vector" ]
0df54c440c38ba1d4672a16a2d8d7760856e5ecf
19,886
cpp
C++
build/plugins/qCMAT/qCMAT_autogen/include_Debug/UPWGDAZVBU/moc_ccColorScaleEditorWidget.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/plugins/qCMAT/qCMAT_autogen/include_Debug/UPWGDAZVBU/moc_ccColorScaleEditorWidget.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/plugins/qCMAT/qCMAT_autogen/include_Debug/UPWGDAZVBU/moc_ccColorScaleEditorWidget.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'ccColorScaleEditorWidget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! *************************************...
33.088186
111
0.629036
[ "object" ]
0df66f959a58c2a8ebb255e533765b0b6baf5b65
12,595
cpp
C++
tools/benchmarks/monotonic_pq.cpp
ad-freiburg/stxxl
37874ce972d70c64123bf145b89f604acf4b0538
[ "BSL-1.0" ]
2
2016-05-27T08:46:03.000Z
2017-02-13T09:19:15.000Z
tools/benchmarks/monotonic_pq.cpp
ad-freiburg/stxxl
37874ce972d70c64123bf145b89f604acf4b0538
[ "BSL-1.0" ]
4
2016-09-27T12:47:08.000Z
2021-11-08T20:07:49.000Z
tools/benchmarks/monotonic_pq.cpp
ad-freiburg/stxxl
37874ce972d70c64123bf145b89f604acf4b0538
[ "BSL-1.0" ]
2
2018-08-29T13:40:13.000Z
2019-04-18T07:12:29.000Z
/*************************************************************************** * tools/benchmarks/monotonic_pq.cpp * * Part of the STXXL. See http://stxxl.org * * Copyright (C) 2003 Roman Dementiev <dementiev@mpi-sb.mpg.de> * Copyright (C) 2007, 2009 Johannes Singler <singler@ira.uka.de> * Copyright (C) 2008,...
32.294872
152
0.570147
[ "vector" ]
0dfb1bf84131eaa71d024d9acdedd13779e13626
8,402
cpp
C++
services/se_standard/test/unittest/se-test/src/test-pkcs15/access_control_conditions_test.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
services/se_standard/test/unittest/se-test/src/test-pkcs15/access_control_conditions_test.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
services/se_standard/test/unittest/se-test/src/test-pkcs15/access_control_conditions_test.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Huawei Device 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 applicable law ...
34.016194
107
0.709236
[ "vector" ]
0dfd6128c0a8d589e853567553e49b978212262c
22,283
hpp
C++
PIPS-S/CoinBALPFactorization/CoinBALPFactorization.hpp
jalving/PIPS
62f664237447c7ce05a62552952c86003d90e68f
[ "BSD-3-Clause-LBNL" ]
65
2016-02-04T18:03:39.000Z
2022-03-24T08:59:38.000Z
PIPS-S/CoinBALPFactorization/CoinBALPFactorization.hpp
jalving/PIPS
62f664237447c7ce05a62552952c86003d90e68f
[ "BSD-3-Clause-LBNL" ]
34
2015-11-17T04:26:51.000Z
2020-09-24T16:00:22.000Z
PIPS-S/CoinBALPFactorization/CoinBALPFactorization.hpp
jalving/PIPS
62f664237447c7ce05a62552952c86003d90e68f
[ "BSD-3-Clause-LBNL" ]
26
2015-10-15T20:27:52.000Z
2021-07-14T08:13:34.000Z
//* $Id: CoinFactorization.hpp 1448 2011-06-19 15:34:41Z stefan $ */ // Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef COINBALP_HPP #define COINBALP_HPP #include "CoinFactorizati...
31.252454
102
0.681371
[ "vector" ]
0dff7930052dfaa838751c87de5c9cf5e146bc08
1,965
cpp
C++
src/test/00_env/main.cpp
timrockefeller/IKMvs
925b7f0e565fbabe774fdff1c90066ad0e428898
[ "MIT" ]
1
2021-06-21T10:33:37.000Z
2021-06-21T10:33:37.000Z
src/test/00_env/main.cpp
timrockefeller/IKMvs
925b7f0e565fbabe774fdff1c90066ad0e428898
[ "MIT" ]
null
null
null
src/test/00_env/main.cpp
timrockefeller/IKMvs
925b7f0e565fbabe774fdff1c90066ad0e428898
[ "MIT" ]
null
null
null
#include <iostream> #include <IKMvs/ImageQueue.h> #include <IKMvs/SIFT/SIFTCore.h> #include <opencv2/opencv.hpp> using cv::Mat; int main(int argc, char **argv) { std::cout << "Well you made it! \n"; Mat image; image = cv::imread("../asset/banana_2.JPG", 1); cv::resize(image, image, cv::Size(1200, 800))...
33.305085
90
0.564885
[ "vector" ]
df041d4a4d8159e737a2845531935bb7ad9bf3a3
16,765
cpp
C++
Plugins/org.mitk.gui.qt.photoacoustics.spectralunmixing/src/internal/SpectralUnmixing.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
1
2020-08-13T03:06:41.000Z
2020-08-13T03:06:41.000Z
Plugins/org.mitk.gui.qt.photoacoustics.spectralunmixing/src/internal/SpectralUnmixing.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.mitk.gui.qt.photoacoustics.spectralunmixing/src/internal/SpectralUnmixing.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
34.927083
136
0.718521
[ "vector" ]
df136371c9b0a9c42c962fc8b53466237c3e350f
2,123
cpp
C++
CWin/CWin/events/event_action.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_action.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/events/event_action.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
#include "../app/app_object.h" #include "event_action.h" #include "event_target.h" cwin::events::action::~action() = default; unsigned __int64 cwin::events::action::get_talk_id() const{ return 0u; } void cwin::events::action::execute(events::object &e) const{ if (auto handler = get_handler(); handler != nullptr) ...
25.27381
83
0.720678
[ "object" ]
df1db89da5902cac906ab35861e4acb0a9cca786
1,695
cpp
C++
engines/First OGL Engine/src/GUI/PostprocessingWindow.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
1
2020-10-26T17:53:33.000Z
2020-10-26T17:53:33.000Z
engines/First OGL Engine/src/GUI/PostprocessingWindow.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
engines/First OGL Engine/src/GUI/PostprocessingWindow.cpp
sltn011/OpenGL-Learning
7f3b8cd730ba9d300406cdd6608afb1db6d23b31
[ "MIT" ]
null
null
null
#include "GUI/PostprocessingWindow.hpp" #include "OGL_E1.hpp" namespace OGL::E1::GUI { PostprocessingWindow::PostprocessingWindow( bool isEnabled ) : BasicWindow{ isEnabled } { Engine1Base *engineInstance = UtilsLibrary::getEngineInstance(); m_onTogglePostprocessing.bind(engineInstanc...
35.3125
97
0.648378
[ "render" ]
b303f55df634b1446c0c9566c0a5dd8a94abc957
12,468
cpp
C++
modules/basegl/processors/meshrenderprocessorgl.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
1
2018-04-07T14:30:29.000Z
2018-04-07T14:30:29.000Z
modules/basegl/processors/meshrenderprocessorgl.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
modules/basegl/processors/meshrenderprocessorgl.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2013-2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
39.961538
100
0.667709
[ "mesh", "geometry", "vector" ]
b306c2ea9762f52f89056cd5f94e573650c2196c
10,738
hpp
C++
Data-Structures/Linked-Lists/Singly-Linked-Lists/src/SinglyLinkedLists.hpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
1
2020-10-10T10:26:16.000Z
2020-10-10T10:26:16.000Z
Data-Structures/Linked-Lists/Singly-Linked-Lists/src/SinglyLinkedLists.hpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
null
null
null
Data-Structures/Linked-Lists/Singly-Linked-Lists/src/SinglyLinkedLists.hpp
HetDaftary/Data-Structures-and-Algorithms
716f7c3d6225188e15be856e46dad9d7ef76a4ba
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> // For getting the out interace from user. #include <vector> // For making copy of the list in O(n) time. using namespace std; template<class T> class SinglyLinkedList { private: /* The Node class we should use for making the node. */ class Node { ...
33.661442
148
0.457534
[ "vector" ]
b317bea4728e22bee71f95c4a31a83aa770872d0
2,244
cc
C++
aegis/src/model/GetEntityListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
aegis/src/model/GetEntityListRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
aegis/src/model/GetEntityListRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "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...
23.87234
75
0.745544
[ "model" ]
b317c35c1a41f93dccc365cb6bb1774a1632cc51
605
cpp
C++
LeetCodeSolutions/LeetCode_0973.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
24
2020-03-28T06:10:25.000Z
2021-11-23T05:01:29.000Z
LeetCodeSolutions/LeetCode_0973.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
null
null
null
LeetCodeSolutions/LeetCode_0973.cpp
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
8
2020-05-18T02:43:16.000Z
2021-05-24T18:11:38.000Z
struct node{ int x, y, dis; bool operator < (const node & a) const{ return a.dis > dis; } }; class Solution { public: vector<vector<int>> kClosest(vector<vector<int>>& points, int K) { priority_queue<node> q; for (auto p: points){ q.push({p[0], p[1], p[0] * p[0] + p[...
23.269231
70
0.424793
[ "vector" ]
b3218aa4eaf6e17f9596bae29909e68f6844106c
1,254
cpp
C++
src/Texture.cpp
omiroshn/Nibbler
7e8cf9ce972a22a2dbcfdffd258123e8012075df
[ "MIT" ]
null
null
null
src/Texture.cpp
omiroshn/Nibbler
7e8cf9ce972a22a2dbcfdffd258123e8012075df
[ "MIT" ]
null
null
null
src/Texture.cpp
omiroshn/Nibbler
7e8cf9ce972a22a2dbcfdffd258123e8012075df
[ "MIT" ]
null
null
null
#include "Texture.hpp" Texture::Texture(std::string const &path) { mGraphics = Graphics::Instance(); mTex = AssetManager::Instance()->GetTexture(path); SDL_QueryTexture(mTex, NULL, NULL, &mWidth, &mHeight); mRenderRect.w = mWidth; mRenderRect.h = mHeight; mClipped = false; } Texture::Texture(std::string text, s...
24.115385
79
0.691388
[ "render" ]
b32af37509a4d7efea9603fc8f58ede416b76402
1,838
cpp
C++
RenderingComponent.cpp
GBMiro/GomuGomuEngine
c9ee5ef94a3c9aeb9697582b568b646c43bacef2
[ "MIT" ]
null
null
null
RenderingComponent.cpp
GBMiro/GomuGomuEngine
c9ee5ef94a3c9aeb9697582b568b646c43bacef2
[ "MIT" ]
null
null
null
RenderingComponent.cpp
GBMiro/GomuGomuEngine
c9ee5ef94a3c9aeb9697582b568b646c43bacef2
[ "MIT" ]
null
null
null
#include "RenderingComponent.h" #include "ComponentPointLight.h" #include "ComponentDirectionalLight.h" #include "ComponentTransform.h" #include "GameObject.h" #include "Application.h" #include "ModuleScene.h" #include "Globals.h" #include <iostream> #include <algorithm> #include "MathGeoLib/Math/float3.h" RenderingCo...
31.689655
133
0.737758
[ "vector" ]
b32d0d74edb1d22752085af404a38befff6a4919
65,019
cpp
C++
lib/Languages/Sql/Sql.cpp
LibProtection/libprotection-cpp
4dc7860c8d9db15854764525e37c3f60cd2f9362
[ "MIT" ]
2
2018-11-24T13:29:35.000Z
2018-11-24T13:29:36.000Z
lib/Languages/Sql/Sql.cpp
LibProtection/libprotection-cpp
4dc7860c8d9db15854764525e37c3f60cd2f9362
[ "MIT" ]
1
2018-01-24T15:51:00.000Z
2018-02-08T13:11:01.000Z
lib/Languages/Sql/Sql.cpp
LibProtection/libprotection-cpp
4dc7860c8d9db15854764525e37c3f60cd2f9362
[ "MIT" ]
3
2017-11-28T09:42:07.000Z
2021-04-30T10:22:41.000Z
#include "protection/Languages/Sql.h" #include "SQLLexer.h" namespace protection { namespace injections { std::pair<std::string, bool> Sql::trySanitize(const std::string &text, const Token &context) const { if (dynamic_cast<decltype(this)>(context.languageProvider) != nullptr) { auto encodeResult = trySqlEncode...
44.321063
112
0.647303
[ "object", "model" ]
b32d178abdd061d47d4378b476eb632c5d1362fd
2,775
cpp
C++
codes/lightoj/1417ForwardingEmails.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/lightoj/1417ForwardingEmails.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/lightoj/1417ForwardingEmails.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ #include<bits/stdc++.h> #include<iost...
30.833333
125
0.508829
[ "vector" ]
b33ab6d8f00b26f7d6166b455d2b105c4692a106
7,624
cpp
C++
asrc/src/asrc.cpp
robiwano/libasrc
427d194521f97b6c51c27dd6ae4fe6cb720979ab
[ "BSD-2-Clause" ]
1
2022-02-23T18:19:35.000Z
2022-02-23T18:19:35.000Z
asrc/src/asrc.cpp
robiwano/libasrc
427d194521f97b6c51c27dd6ae4fe6cb720979ab
[ "BSD-2-Clause" ]
null
null
null
asrc/src/asrc.cpp
robiwano/libasrc
427d194521f97b6c51c27dd6ae4fe6cb720979ab
[ "BSD-2-Clause" ]
1
2019-08-27T13:07:01.000Z
2019-08-27T13:07:01.000Z
#include <asrc/asrc.h> #include <samplerate.h> #include <algorithm> #include <atomic> #include <chrono> #include <memory> #include <stdexcept> #include <string> #include <thread> #include <vector> using namespace std; namespace { const ASRC_VERSION version{0, 1, 0}; using clock = chrono::high_resolution_clo...
32.033613
97
0.541842
[ "vector" ]
b340d4a4317e4aa6f07d83836507a11d31982bb0
42,376
cpp
C++
src/nodes/NodeFileFilter.cpp
paullric/tempestextremes
a478fe4bd204fb83b00ba87708f9d21791260f9c
[ "Unlicense" ]
null
null
null
src/nodes/NodeFileFilter.cpp
paullric/tempestextremes
a478fe4bd204fb83b00ba87708f9d21791260f9c
[ "Unlicense" ]
4
2015-03-13T20:53:39.000Z
2016-07-21T22:01:44.000Z
src/nodes/NodeFileFilter.cpp
paullric/tempestextremes
a478fe4bd204fb83b00ba87708f9d21791260f9c
[ "Unlicense" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// \file NodeFileFilter.cpp /// \author Paul Ullrich /// \version July 2, 2020 /// /// <remarks> /// Copyright 2020 Paul Ullrich /// /// This file is distributed as part of the Tempest source code package. /// Permission is gran...
26.584693
130
0.650345
[ "vector" ]
b34c1d2dda6b346e8040bf763d4ca7ee8c75385b
7,471
cpp
C++
test/core/unit/IndexReader_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
14
2016-01-15T20:26:54.000Z
2018-11-26T20:47:43.000Z
test/core/unit/IndexReader_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
2
2016-04-26T05:29:01.000Z
2016-05-07T00:13:38.000Z
test/core/unit/IndexReader_Test.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
7
2016-02-27T11:35:59.000Z
2018-11-26T20:47:59.000Z
/* * Copyright (c) 2016, SRCH2 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions ...
32.064378
136
0.704323
[ "vector" ]
b350c567be9e0dd2979d82ac7f5b5ddb36521068
2,596
cpp
C++
algorithms/greedy_algorithm/huffman_coding.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
1
2021-08-17T05:22:09.000Z
2021-08-17T05:22:09.000Z
algorithms/greedy_algorithm/huffman_coding.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
null
null
null
algorithms/greedy_algorithm/huffman_coding.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
null
null
null
//C++ program to perform huffman coding /*algorithm, Steps to build Huffman Tree 1.Input is an array of unique characters along with their frequency of occurrences and output is Huffman Tree. 2.Create a leaf node for each unique character and build a min heap of all leaf nodes (Min Heap is used as a priority queu...
35.081081
132
0.657165
[ "vector" ]
b353fb0de98773faa0e7f13f9b111fcde17f44a5
6,226
cc
C++
system-state/diskstat.cc
haithemsekri/MyTools
20ae45baf617ed5816dacb0bbed136f4d2f13252
[ "MIT" ]
null
null
null
system-state/diskstat.cc
haithemsekri/MyTools
20ae45baf617ed5816dacb0bbed136f4d2f13252
[ "MIT" ]
null
null
null
system-state/diskstat.cc
haithemsekri/MyTools
20ae45baf617ed5816dacb0bbed136f4d2f13252
[ "MIT" ]
null
null
null
#include <errno.h> #include <fcntl.h> #include <locale.h> #include <stdlib.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <locale.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <chrono> #include <fstream> #include <iostream> #include <sstream> #includ...
27.427313
263
0.593479
[ "vector" ]
b3581cb2294e129bcd457d5279d1878d08a4c1a6
22,941
cpp
C++
CodeXL/Components/GpuDebugging/AMDTGpuDebugging/src/gwgDEBuggerAppWrapper.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
1,025
2016-04-19T21:36:08.000Z
2020-04-26T05:12:53.000Z
CodeXL/Components/GpuDebugging/AMDTGpuDebugging/src/gwgDEBuggerAppWrapper.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
244
2016-04-20T02:05:43.000Z
2020-04-29T17:40:49.000Z
CodeXL/Components/GpuDebugging/AMDTGpuDebugging/src/gwgDEBuggerAppWrapper.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
161
2016-04-20T03:23:53.000Z
2020-04-14T01:46:55.000Z
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file gwgDEBuggerAppWrapper.cpp /// //==============================================================================...
40.74778
135
0.642823
[ "object" ]
b3669f75e7a76d0a90a0eba5abbfa82bacb7510a
980
cpp
C++
graphical-system/src/Matrix.cpp
lucaspbordignon/computer-graphics
75c6b3a0bbb18379491db42018f0d5595264f49b
[ "MIT" ]
null
null
null
graphical-system/src/Matrix.cpp
lucaspbordignon/computer-graphics
75c6b3a0bbb18379491db42018f0d5595264f49b
[ "MIT" ]
null
null
null
graphical-system/src/Matrix.cpp
lucaspbordignon/computer-graphics
75c6b3a0bbb18379491db42018f0d5595264f49b
[ "MIT" ]
null
null
null
#include "Matrix.hpp" Matrix::Matrix(size_t rows, size_t cols) { std::vector<float> column(cols, 0); std::vector<std::vector<float>> mat(rows, column); _data = mat; } Matrix::Matrix(std::vector<std::vector<float>> mat) { _data = mat; } size_t Matrix::rows() const { return _data.size(); } size_t ...
18.148148
59
0.576531
[ "vector" ]
b37c70c026f9848c73658fcb441bbe203653fc3f
4,916
cc
C++
src/common.cc
aminya/node-pathwatcher
f062e348cf8c1c617bcfadd677dfe8f4ff9704f8
[ "MIT" ]
76
2015-01-16T00:14:33.000Z
2022-03-26T11:11:00.000Z
src/common.cc
aminya/node-pathwatcher
f062e348cf8c1c617bcfadd677dfe8f4ff9704f8
[ "MIT" ]
75
2015-01-21T22:39:52.000Z
2022-01-31T17:58:13.000Z
src/common.cc
aminya/node-pathwatcher
f062e348cf8c1c617bcfadd677dfe8f4ff9704f8
[ "MIT" ]
54
2015-01-20T22:54:18.000Z
2022-01-31T17:42:03.000Z
#include "common.h" static uv_async_t g_async; static int g_watch_count; static uv_sem_t g_semaphore; static uv_thread_t g_thread; static EVENT_TYPE g_type; static WatcherHandle g_handle; static std::vector<char> g_new_path; static std::vector<char> g_old_path; static Nan::Persistent<Function> g_callback; static voi...
28.917647
97
0.66131
[ "object", "vector" ]
b37ee3cb92ba7b4748bcc584a4068c9648653dd5
5,920
cpp
C++
Lib/Simulation/Src/SimLoop.cpp
Eelco81/server-test-project
966466baf0f4f76c5855553694a5ec674b4c2255
[ "MIT" ]
null
null
null
Lib/Simulation/Src/SimLoop.cpp
Eelco81/server-test-project
966466baf0f4f76c5855553694a5ec674b4c2255
[ "MIT" ]
null
null
null
Lib/Simulation/Src/SimLoop.cpp
Eelco81/server-test-project
966466baf0f4f76c5855553694a5ec674b4c2255
[ "MIT" ]
null
null
null
#include "SimPort.h" #include "SimLoop.h" #include "SimBlock.h" #include "SimConnector.h" #include "SimInitializer.h" #include "SimException.h" #include "SimPath.h" #include <algorithm> #include <regex> SIM::Loop::Loop (uint64_t inTimeStep) : mTimer (inTimeStep) { } SIM::Loop::~Loop () { Terminate (); } s...
29.89899
141
0.598986
[ "vector" ]
b38abc322428fa8bb7156981d586041e62a88959
1,601
cpp
C++
fw/test/BsplineSurfaceTests.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fw/test/BsplineSurfaceTests.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fw/test/BsplineSurfaceTests.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#include "fw/numerical/BsplineSurface.hpp" #include "IBsplineKnotGeneratorMock.hpp" using ::testing::Return; class BsplineSurfaceTests: public ::testing::Test { public: virtual void SetUp() override { _controlPoints = { {1.0, 0.0, 1.0}, {2.0, 0.0, 1.0}, {3.0, 0.0, 1.0}, {5.0, 0.0, 1.0}...
28.087719
79
0.572767
[ "vector" ]
b3a7ae091e1e1234f9e5c7a87f1dc8c7ec47057f
6,287
cc
C++
ge/single_op/task/build_task_utils.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
207
2020-03-28T02:12:50.000Z
2021-11-23T18:27:45.000Z
ge/single_op/task/build_task_utils.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
4
2020-04-17T07:32:44.000Z
2021-06-26T04:55:03.000Z
ge/single_op/task/build_task_utils.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
13
2020-03-28T02:52:26.000Z
2021-07-03T23:12:54.000Z
/** * Copyright 2019-2020 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...
38.808642
114
0.656593
[ "vector" ]
b3aa3a797559e6cd7fdbcaaeda097e7e2e838816
4,106
cc
C++
test/test_configuration.cc
flare-rpc/frat
7710595085e6d26b2b941426d93589360861a053
[ "Apache-2.0" ]
null
null
null
test/test_configuration.cc
flare-rpc/frat
7710595085e6d26b2b941426d93589360861a053
[ "Apache-2.0" ]
null
null
null
test/test_configuration.cc
flare-rpc/frat
7710595085e6d26b2b941426d93589360861a053
[ "Apache-2.0" ]
null
null
null
/* * ===================================================================================== * * Filename: test_configuration.cpp * * Description: * * Version: 1.0 * Created: 2015年10月22日 15时16分31秒 * Revision: none * Compiler: gcc * * Author: WangYao (fisherma...
30.414815
88
0.605943
[ "vector" ]
b3acdde74b92145549eb4f419123742194f2b05f
23,685
cpp
C++
2000/samples/polysamp/command.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2000/samples/polysamp/command.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2000/samples/polysamp/command.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// (C) Copyright 1996,1998 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
28.709091
150
0.534938
[ "object", "solid" ]
b3ae4143fb295250c7c5fae1451dfc466e5ceb41
498
cpp
C++
Questions Level-Wise/Medium/boats-to-save-people.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Two Pointers/boats-to-save-people.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Two Pointers/boats-to-save-people.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int numRescueBoats(vector<int>& A, int limit) { int key,c=0; map<int,int,greater<>> x; for(auto e: A) x[e]++; for(;x.size()>0;c++) { auto e=begin(x); key=e->first; e->second==1?x.erase(key):e->secon...
23.714286
62
0.431727
[ "vector" ]
b3aee7fb581dc404bdcd2c1a3a2c4a942917afe4
8,806
cc
C++
components/suggestions/image_manager.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
components/suggestions/image_manager.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
components/suggestions/image_manager.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 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 "components/suggestions/image_manager.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/location.h" #include "base/...
33.48289
80
0.696684
[ "vector" ]
a2a2fc0db35d5393ccdcc603f4e77bad2d6108e5
1,123
hpp
C++
source/plc/include/document/MEMBER_OFFSET.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/MEMBER_OFFSET.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/MEMBER_OFFSET.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #ifndef INCLUDED_MEMBER_OFFSET_HPP #define INCLUDED_MEMBER_OFFSET_HPP #include <optional> #include <variant> #include <vector> #include "erased.hpp" #include "parlex/detail/abstract_syntax_tree.hpp" #include "parlex/detail/builtins.hpp" #include "parlex/detai...
22.918367
226
0.758682
[ "vector" ]
a2a45bf2d9f5bc89aafb0a053e50583cbb1f2b8d
5,748
cxx
C++
com/netfx/src/framework/xsp/isapi/httpextproc.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/framework/xsp/isapi/httpextproc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/framework/xsp/isapi/httpextproc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/** * ASP.NET ISAPI HttpExtensionProc implementation. * * Copyright (c) 1998 Microsoft Corporation */ #include "precomp.h" #include "dbg.h" #include "util.h" #include "nisapi.h" #include "pm.h" #include "msg.h" #include "processtablemanager.h" #include "PerfCounters.h" #include "etw.h" #include "as...
22.629921
103
0.576896
[ "object" ]
a2a8d71d3690048325d23a0b76302d5bb58a296e
10,598
cpp
C++
Source/Core/Visualization/Viewer/Light.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Viewer/Light.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
Source/Core/Visualization/Viewer/Light.cpp
CCSEPBVR/KVS
f6153b3f52aa38904cc96d38d5cd609c5dccfc59
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /** * @file Light.cpp */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See http://www.viz.media.kyoto-u.ac.jp/k...
31.079179
105
0.369787
[ "vector", "model" ]
a2c24bfaac28af6c137b6164a810abe55eef835d
4,377
cpp
C++
renderer/cpu/Raytracer.cpp
skyostil/kajo
39586e602a6c8949f7f755dabb6f3edc35108ec6
[ "MIT" ]
8
2015-02-17T15:36:26.000Z
2021-03-08T10:41:27.000Z
renderer/cpu/Raytracer.cpp
skyostil/kajo
39586e602a6c8949f7f755dabb6f3edc35108ec6
[ "MIT" ]
null
null
null
renderer/cpu/Raytracer.cpp
skyostil/kajo
39586e602a6c8949f7f755dabb6f3edc35108ec6
[ "MIT" ]
2
2015-02-06T11:52:29.000Z
2021-07-16T03:48:13.000Z
// Copyright (C) 2012 Sami Kyöstilä #include "renderer/Util.h" #include "scene/Scene.h" #include "Raytracer.h" #include "Ray.h" #include "SurfacePoint.h" #include <algorithm> #include <glm/gtc/matrix_transform.hpp> #include <limits> #include <cmath> using namespace cpu; Raytracer::Raytracer(Scene* scene): m_sce...
30.186207
95
0.620059
[ "object", "vector", "transform" ]
a2c410eabc1b0765c3e86eeede7ebe79d1d11140
2,123
hpp
C++
src/query/query_join.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/query/query_join.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/query/query_join.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#pragma once #include "catalog/schema_ref.hpp" #include "query/base_query.hpp" #include "query/query_column.hpp" enum class JoinSide { INVALID = 0, LEFT = 1, RIGHT = 2 }; class QueryJoin : public BaseQuery { public: QueryJoin() : BaseQuery (QueryNodeType::JOIN, TypeId::INVALID), join_side_ ...
23.32967
81
0.679699
[ "vector" ]
a2c4f3a2985efdb371fea116db89837e87868750
2,294
cpp
C++
Programacion Competitiva/UVA/191.cpp
Angel1612/Computer_Science_UNSA
e1696fd2cb7c66f6af9aa14dbd96b4f67c787425
[ "MIT" ]
null
null
null
Programacion Competitiva/UVA/191.cpp
Angel1612/Computer_Science_UNSA
e1696fd2cb7c66f6af9aa14dbd96b4f67c787425
[ "MIT" ]
null
null
null
Programacion Competitiva/UVA/191.cpp
Angel1612/Computer_Science_UNSA
e1696fd2cb7c66f6af9aa14dbd96b4f67c787425
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <cctype> #include <stack> #include <queue> #include <list> #include <vector> #include <map> #include <sstream> #include <cmath> #include <bitset> #include <utility> #include <set> #include <numeric> #include <time.h...
30.586667
162
0.609416
[ "vector" ]