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
7c8bcc36f96552992397f1ec7f5131d311f822bb
653
hpp
C++
graph/lib/inc/graphs_elementary.hpp
Volkodavchik/Fudzi
0a5c8286a20187d69940557a930bb5111dacbe26
[ "MIT" ]
null
null
null
graph/lib/inc/graphs_elementary.hpp
Volkodavchik/Fudzi
0a5c8286a20187d69940557a930bb5111dacbe26
[ "MIT" ]
null
null
null
graph/lib/inc/graphs_elementary.hpp
Volkodavchik/Fudzi
0a5c8286a20187d69940557a930bb5111dacbe26
[ "MIT" ]
null
null
null
/** * @file graphs_elementary.hpp * @brief Self education project. Focus on interesting algorithms * @author Ivan Deviatkin <devyatkin.ivan@gmail.com> **/ #include <vector> #include <array> #pragma once template <typename V, typename E> class Vertex; // forward declaration for Edge class // V - is t...
21.766667
86
0.666156
[ "vector" ]
7c8fffc058b61a7c3c54ac87443eba634efc933e
1,369
hpp
C++
Assignment6/Renderer.hpp
DanielDFY/GAMES101
f04148d0d0e44ee6e25769daefc45dad6011d42d
[ "MIT" ]
2
2021-05-28T12:28:33.000Z
2022-01-18T12:46:01.000Z
Assignment6/Renderer.hpp
DanielDFY/GAMES101
f04148d0d0e44ee6e25769daefc45dad6011d42d
[ "MIT" ]
null
null
null
Assignment6/Renderer.hpp
DanielDFY/GAMES101
f04148d0d0e44ee6e25769daefc45dad6011d42d
[ "MIT" ]
null
null
null
#pragma once #include "Scene.hpp" class Renderer { public: // The main render function. This where we iterate over all pixels in the image, // generate primary rays and cast these rays into the scene. The content of the // framebuffer is saved to a png image file with tools from stb library. void rend...
47.206897
102
0.731191
[ "render", "object", "model" ]
7c9520c7b5eb92c7a2ff3eccbfd9e9154c3b10cc
947
cpp
C++
Source/FishEngine/System/AnimationSystem.cpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-12-20T02:38:44.000Z
2018-12-20T02:38:44.000Z
Source/FishEngine/System/AnimationSystem.cpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
null
null
null
Source/FishEngine/System/AnimationSystem.cpp
yushroom/FishEngine_-Experiment
81e4c06f20f6b94dc561b358f8a11a092678aeeb
[ "MIT" ]
1
2018-10-25T19:40:22.000Z
2018-10-25T19:40:22.000Z
#include <FishEngine/System/AnimationSystem.hpp> #include <FishEngine/Scene.hpp> #include <FishEngine/Animation/Animation.hpp> //#include <FishEngine/Gizmos.hpp> //using namespace FishEngine; //void DrawSkeleton(const std::map<std::string, Transform*> & skeleton) //{ // for (auto&& p : skeleton) // { // auto t = p.se...
22.547619
71
0.691658
[ "transform" ]
7c96bf25d8ef03248dafc377ae2ef3792cc4db44
9,915
cpp
C++
src/cpp/rtps/resources/ListenResourceImpl.cpp
zhangzhimin/Fast-RTPS
3032f11d0c62d226eea39ea4f8428afef4558693
[ "Apache-2.0" ]
null
null
null
src/cpp/rtps/resources/ListenResourceImpl.cpp
zhangzhimin/Fast-RTPS
3032f11d0c62d226eea39ea4f8428afef4558693
[ "Apache-2.0" ]
null
null
null
src/cpp/rtps/resources/ListenResourceImpl.cpp
zhangzhimin/Fast-RTPS
3032f11d0c62d226eea39ea4f8428afef4558693
[ "Apache-2.0" ]
1
2021-08-23T01:09:51.000Z
2021-08-23T01:09:51.000Z
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
27.016349
134
0.66475
[ "vector" ]
7c9c7805d762e5367979c22663e8910082c68d16
21,100
cpp
C++
src/zincreader.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/zincreader.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/zincreader.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
// // Copyright (c) 2015, J2 Innovations // Copyright (c) 2012 Brian Frank // Licensed under the Academic Free License version 3.0 // History: // 29 Aug 2014 Radu Racariu<radur@2inn.com> Ported to C++ // 06 Jun 2011 Brian Frank Creation // #include "zincreader.hpp" #include "bin.hpp" #include "bool.hpp" #include...
28.208556
120
0.524028
[ "vector" ]
7ca3e11cfeca7f548f9854de84b816ea8ae0727f
2,015
cpp
C++
src/enemy.cpp
evanbowman/Blind-Jump
971bbfabb7a43a0de90c6131035b081b94a0bc08
[ "BSD-2-Clause" ]
79
2016-11-05T12:41:46.000Z
2022-03-23T07:05:01.000Z
src/enemy.cpp
evanbowman/Blind-Jump
971bbfabb7a43a0de90c6131035b081b94a0bc08
[ "BSD-2-Clause" ]
14
2017-02-28T02:47:43.000Z
2021-04-25T20:08:15.000Z
src/enemy.cpp
evanbowman/Blind-Jump
971bbfabb7a43a0de90c6131035b081b94a0bc08
[ "BSD-2-Clause" ]
22
2017-02-12T00:12:30.000Z
2021-12-04T08:44:35.000Z
#include "enemy.hpp" Enemy::Enemy(float _xPos, float _yPos) : Object(_xPos, _yPos), colored(false), colorAmount(0.f), frameIndex(0), colorTimer(0), frameTimer(0) {} float Enemy::getColorAmount() const { return colorAmount; } bool Enemy::isColored() const { return colored; } uint_fast8_t Enemy::checkWallCo...
31
79
0.510174
[ "object", "vector" ]
7ca55f0d662945b4f8ef8a535c08ab527c502ce6
7,413
cpp
C++
src/point_AABBTree_squared_distance.cpp
ericpko/computer-graphics-bounding-volume-hierarchy
9f4781ab2308ebf57d4ac89e1d37e51c311a17f4
[ "MIT" ]
null
null
null
src/point_AABBTree_squared_distance.cpp
ericpko/computer-graphics-bounding-volume-hierarchy
9f4781ab2308ebf57d4ac89e1d37e51c311a17f4
[ "MIT" ]
null
null
null
src/point_AABBTree_squared_distance.cpp
ericpko/computer-graphics-bounding-volume-hierarchy
9f4781ab2308ebf57d4ac89e1d37e51c311a17f4
[ "MIT" ]
null
null
null
#include "point_AABBTree_squared_distance.h" #include <queue> // std::priority_queue #include <limits> typedef std::pair<double, std::shared_ptr<AABBTree> > MyPair; bool point_AABBTree_squared_distance( const Eigen::RowVector3d & query, const std::shared_ptr<AABBTree> & root, const double min_sqrd, co...
36.160976
106
0.581681
[ "object", "vector" ]
7ca634b8afa6c3eaf28826546dc37e19c5f50165
3,390
cpp
C++
lumino/LuminoCore/src/Math/Geometries.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoCore/src/Math/Geometries.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoCore/src/Math/Geometries.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include <LuminoCore/Math/Math.hpp> #include <LuminoCore/Math/Vector3.hpp> #include <LuminoCore/Math/Matrix.hpp> #include <LuminoCore/Math/Geometries.hpp> namespace ln { //============================================================================== // Ray Ray::Ray() : origin(0.0f, 0.0f, 0.0f) , direction...
21.455696
87
0.558112
[ "transform" ]
7cbc02f807a2320b6349e91080e76454160dbfc1
1,635
hpp
C++
src/id.hpp
bcumming/arbor-gui
3b966aa56dd403d0bdf94ec76c6ec6f1fffe1add
[ "BSD-3-Clause" ]
2
2021-03-18T15:09:22.000Z
2021-03-18T15:25:21.000Z
src/id.hpp
bcumming/arbor-gui
3b966aa56dd403d0bdf94ec76c6ec6f1fffe1add
[ "BSD-3-Clause" ]
54
2020-11-12T10:23:03.000Z
2021-09-08T08:28:52.000Z
src/id.hpp
arbor-sim/gui
67e3f0318b9ea66e7be12cc4ee55a0cd2f2e945a
[ "BSD-3-Clause" ]
8
2020-11-13T19:18:59.000Z
2021-08-30T10:19:51.000Z
#pragma once #include <compare> #include <unordered_map> #include <vector> struct id_type { size_t value; auto operator<=>(const id_type&) const = default; }; namespace std { namespace { template<typename T> inline size_t combine(std::size_t seed, T const& v) { return std::ha...
32.058824
106
0.604281
[ "vector" ]
7cc899340265bb86be455d47d79b11332adde4d4
20,069
hpp
C++
src/histogram.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
src/histogram.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
src/histogram.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
#ifndef HISTOGRAM_HPP #define HISTOGRAM_HPP #include "TH1.h" #include "TH2.h" #include "TFile.h" #include "TCanvas.h" #include "TDirectory.h" #include "constants.hpp" #include "functions.hpp" #include "CartesianGenerator.hpp" #include "physics.hpp" #include "detectors.hpp" #include "THnSparse.h" #include <sys/stat.h> ...
41.0409
213
0.665454
[ "vector" ]
7ccc06a898b1f770ba1391dd54f0c57a80a2cadb
3,128
cxx
C++
src/Cxx/Images/ImageText.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/Images/ImageText.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/Images/ImageText.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkFreeTypeTools.h> #include <vtkImageActor.h> #include <vtkImageBlend.h> #include <vtkImageCanvasSource2D.h> #include <vtkImageData.h> #include <vtkImageMapper3D.h> #include <vtkInteractorStyleImage.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkPNGWriter.h> #include <vtkPointData.h> #includ...
33.634409
77
0.722826
[ "render" ]
7cd9766c925f68bf4dbb4f171d006aa0654b833d
7,014
cpp
C++
third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2011 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
33.559809
80
0.745081
[ "vector" ]
7cd97be53c9e15ad978287dfece3cf778d36e87c
31,634
cpp
C++
src/core/menu/tabs/visuals.cpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
1
2022-01-13T07:05:26.000Z
2022-01-13T07:05:26.000Z
src/core/menu/tabs/visuals.cpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
null
null
null
src/core/menu/tabs/visuals.cpp
mov-rax-rax/gamesneeze
09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1
[ "MIT" ]
1
2021-12-31T13:02:42.000Z
2021-12-31T13:02:42.000Z
#include "../menu.hpp" const char *chamsMaterials[] = {"None", "Shaded", "Flat", "Screen Pulse", "Energy Ball", "Glow", "Plastic", "Darude", "Oil"}; void drawChamsWidget( const char *label, int *material, ImColor *color, int *overlayMaterial = nullptr, ImColor *overlayColor = nullptr, int *occ...
57.411978
231
0.586742
[ "model" ]
7ce3b8381fa46483a5b80c026b5ade1ed6b80096
216
cpp
C++
Server/src/character/enemy/Enemy.cpp
YanaPIIDXer/UnityAnpanMMO
ea1cf79ee344b955d5f423bf2f8a201efaa61f9b
[ "MIT" ]
2
2021-07-07T06:35:59.000Z
2021-08-07T12:22:48.000Z
Server/src/character/enemy/Enemy.cpp
YanaPIIDXer/UnityAnpanMMO
ea1cf79ee344b955d5f423bf2f8a201efaa61f9b
[ "MIT" ]
null
null
null
Server/src/character/enemy/Enemy.cpp
YanaPIIDXer/UnityAnpanMMO
ea1cf79ee344b955d5f423bf2f8a201efaa61f9b
[ "MIT" ]
null
null
null
#include "Enemy.h" // コンストラクタ Enemy::Enemy(uint InId, Area *pInArea, const Vector &InPosition, float InRotation) : Character(InId, pInArea, InPosition, InRotation) { } // デストラクタ Enemy::~Enemy() { }
16.615385
83
0.652778
[ "vector" ]
7ce815300147298ef69fa68e41f7ffcea1fac88b
602
hpp
C++
src/core/lib/core_reflection/interfaces/i_method.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_reflection/interfaces/i_method.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_reflection/interfaces/i_method.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#ifndef I_METHOD_HPP #define I_METHOD_HPP #include <cstddef> #include "core_reflection/reflection_dll.hpp" namespace wgt { class ObjectHandle; class IDefinitionManager; class ReflectedMethodParameters; class Variant; class REFLECTION_DLL IMethod { public: virtual ~IMethod() { } virtual Variant invoke(const Obj...
21.5
96
0.755814
[ "object" ]
7ce90dc309fe6e50cb0702091bc9b8172566f016
5,581
cpp
C++
Chimera/Source/AnalogInput/AiCore.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
Chimera/Source/AnalogInput/AiCore.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
Chimera/Source/AnalogInput/AiCore.cpp
zzpwahaha/Chimera-Control-Trim
df1bbf6bea0b87b8c7c9a99dce213fdc249118f2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AiCore.h" #include <Windows.h> #include <sstream> AiCore::AiCore() : socket(AI_SAFEMODE, AI_SOCKET_ADDRESS, AI_SOCKET_PORT) { //socket.write("mac", terminator); //QByteArray tmp = socket.read(); } void AiCore::getSettingsFromConfig(ConfigStream& file) { std::string tmp; for (auto& ...
29.84492
180
0.627486
[ "vector" ]
7ce93dab91108b6f140c95285dd3fcb2b441fab1
2,032
cpp
C++
WordBalancing/src/main.cpp
dylanrainwater/Daily-Programmer
2bdeac16ad2d499c41f977f57c254a18fc39efe3
[ "MIT" ]
null
null
null
WordBalancing/src/main.cpp
dylanrainwater/Daily-Programmer
2bdeac16ad2d499c41f977f57c254a18fc39efe3
[ "MIT" ]
null
null
null
WordBalancing/src/main.cpp
dylanrainwater/Daily-Programmer
2bdeac16ad2d499c41f977f57c254a18fc39efe3
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; int main() { /* * Enter multiple lines of input separated by '\n', when a line is empty stop collecting input. */ cout << "Enter input in capital letters, just press enter to stop." << endl; vector<string> input; str...
30.787879
135
0.46998
[ "vector" ]
7cf730633aa63f2bf21213742cb9fb4ac8c24045
12,932
cpp
C++
Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/DragView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/DragView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Apps/Launcher2/src/elastos/droid/launcher2/DragView.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
27.87069
103
0.656434
[ "object" ]
7cf97a5af2427222660645782983157a46e8d1a1
1,887
hpp
C++
api/xui_api.hpp
xxoenoexx/xui
85b0fb48476e2d52882e300fa52c8e5c3dc2be09
[ "MIT" ]
16
2020-05-01T21:21:49.000Z
2022-01-14T11:38:19.000Z
api/xui_api.hpp
xxoenoexx/xui
85b0fb48476e2d52882e300fa52c8e5c3dc2be09
[ "MIT" ]
null
null
null
api/xui_api.hpp
xxoenoexx/xui
85b0fb48476e2d52882e300fa52c8e5c3dc2be09
[ "MIT" ]
3
2020-07-04T03:19:51.000Z
2021-12-10T00:28:39.000Z
#ifndef xui_api #define xui_api // Utility. #include <xui/api/objects/xui_object_utility.hpp> // Object types. #include <xui/api/objects/xui_object_base.hpp> #include <xui/api/objects/xui_object_form.hpp> #include <xui/api/objects/xui_object_page.hpp> #include <xui/api/objects/xui_object_frame.hpp> #include <xui/api/...
27.347826
94
0.687864
[ "object" ]
cfb7b97fae7a9f4909367ab7ddddbd12602344f4
5,880
hh
C++
include/cbrainx/abstractLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
1
2022-03-02T20:03:49.000Z
2022-03-02T20:03:49.000Z
include/cbrainx/abstractLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
null
null
null
include/cbrainx/abstractLayer.hh
mansoormemon/cbrainx
1b7fa699e4470bf5fc39006cb719dcfc48a7688c
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 CBrainX // Project URL: https://github.com/mansoormemon/cbrainx // // 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 // /...
30.947368
101
0.602891
[ "shape" ]
cfc96d1a6ce26c224738ca96e2fae6f1b069e3ab
716
cpp
C++
LeetCode/ThousandTwo/1695-max_erasure_value.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1695-max_erasure_value.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1695-max_erasure_value.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1695. 删除子数组的最大得分 给你一个正整数数组 nums ,请你从中删除一个含有 若干不同元素 的子数组。 删除子数组的 得分 就是子数组各元素之 和 。 返回 只删除一个 子数组可获得的 最大得分 。 如果数组 b 是数组 a 的一个连续子序列,即如果它等于 a[l],a[l+1],...,a[r] ,那么它就是 a 的一个子数组。 示例 1: 输入:nums = [4,2,4,5,6] 输出:17 解释:最优子数组是 [2,4,5,6] 示例 2: 输入:nums = [5,2,1,2,5,2,1,2,5] 输出:8 解释:最优子数组是 [5,2,1] 或...
14.039216
66
0.547486
[ "vector" ]
cfdc2d20c44418edcd49bcb850c6cdc2916fdd91
6,722
cpp
C++
src/accelerators/bvh.cpp
jjzhang166/MirageRender
a51c3dff7db6eacaf111b868ad498caa8fe5a3d2
[ "MIT" ]
166
2015-11-28T21:24:03.000Z
2022-03-17T12:29:47.000Z
src/accelerators/bvh.cpp
jjzhang166/MirageRender
a51c3dff7db6eacaf111b868ad498caa8fe5a3d2
[ "MIT" ]
5
2016-09-27T06:18:32.000Z
2017-05-26T09:31:29.000Z
src/accelerators/bvh.cpp
jjzhang166/MirageRender
a51c3dff7db6eacaf111b868ad498caa8fe5a3d2
[ "MIT" ]
16
2016-01-24T07:57:27.000Z
2021-08-04T03:31:40.000Z
#include "bvh.h" // std includes #include <iostream> #include <algorithm> #include <ctime> // mirage includes #include "../macros.h" namespace mirage { // ------------------------------------------------------------------------ // BVH Node Object // ---------------------------------------------------------------...
25.853846
136
0.613062
[ "object", "shape", "vector" ]
cfdc5657d7fbff174884d7b9ca9efa5f552f811d
13,606
cpp
C++
test/c8_check/c8_check.cpp
hashingitcom/c8
3a6c00f5b25bb98cc82b39605d5f14b0f2e820e5
[ "BSD-3-Clause" ]
2
2018-07-11T10:59:19.000Z
2020-09-20T08:36:10.000Z
test/c8_check/c8_check.cpp
hashingitcom/c8
3a6c00f5b25bb98cc82b39605d5f14b0f2e820e5
[ "BSD-3-Clause" ]
25
2017-01-09T22:08:39.000Z
2017-05-29T19:07:31.000Z
test/c8_check/c8_check.cpp
hashingitcom/c8
3a6c00f5b25bb98cc82b39605d5f14b0f2e820e5
[ "BSD-3-Clause" ]
null
null
null
/* * c8_check.cpp */ #include <algorithm> #include <chrono> #include <iomanip> #include <iostream> #include <sstream> #include <vector> #include <unistd.h> #include "result.h" #include "natural_check.h" #include "integer_check.h" #include "rational_check.h" /* * No-op test used to find timing information. */ auto...
27.710794
121
0.716228
[ "vector" ]
cfdc6f1c797f6d2604fcbb61e7c9cf1b28848efc
5,819
cpp
C++
Greedy/659. Split Array into Consecutive Subsequences.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Greedy/659. Split Array into Consecutive Subsequences.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Greedy/659. Split Array into Consecutive Subsequences.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 659. Split Array into Consecutive Subsequences /* pre: 上一个process的数 p1: 以pre结尾长度为1 的数列 pre = 4, seq = 4 p2: 以pre结尾长度为2 的数列 pre = 4, seq = [3,4] p2: 以pre结尾长度大于等于3 的数列, pre = 4, seq = [1,2,3,4] cur: 现在将要process 的数 c1: 以cur结尾长度为1 的数列 c2: 以cur结尾长度为2 的数列 c3: 以cur结尾长度大于等于3 的数列 cnt: cur 在数列中出现的个数 遇到cur, 分两种情...
31.625
151
0.522083
[ "vector" ]
cfdd4223a167a63f4695d61dd2d86636d947c2ab
13,623
cpp
C++
examples/profile_elements/profile_elements.cpp
rsanfer/tacs
32cf876d60279d5a448f91ac9a0b35b056865e5d
[ "Apache-2.0" ]
null
null
null
examples/profile_elements/profile_elements.cpp
rsanfer/tacs
32cf876d60279d5a448f91ac9a0b35b056865e5d
[ "Apache-2.0" ]
null
null
null
examples/profile_elements/profile_elements.cpp
rsanfer/tacs
32cf876d60279d5a448f91ac9a0b35b056865e5d
[ "Apache-2.0" ]
2
2018-12-14T10:32:49.000Z
2019-11-24T17:22:55.000Z
// Include the shell element classes #include "isoFSDTStiffness.h" #include "MITCShell.h" #include "MITC9.h" // Include the plane stress classes #include "PlaneStressStiffness.h" #include "PlaneStressQuad.h" #include "PlaneStressTri6.h" // Include the solid/3D element classes #include "SolidStiffness.h" #include "Sol...
33.145985
78
0.628129
[ "object", "3d", "solid" ]
cfe4ded9a4a3cb7b4bbc69cbd6e52ac61b7778e3
4,348
cpp
C++
util/partlib/src/Image.cpp
hakonmagnus/ether
87b772c51a5862ced8feabda4929e0f85d5960a1
[ "MIT" ]
2
2021-02-05T16:48:41.000Z
2021-02-05T16:49:48.000Z
util/partlib/src/Image.cpp
hakonmagnus/ether
87b772c51a5862ced8feabda4929e0f85d5960a1
[ "MIT" ]
null
null
null
util/partlib/src/Image.cpp
hakonmagnus/ether
87b772c51a5862ced8feabda4929e0f85d5960a1
[ "MIT" ]
null
null
null
//============================================================================| // _______ _________ _______ _______ | // ( ____ \\__ __/|\ /|( ____ \( ____ ) | // | ( \/ ) ( | ) ( || ( \/| ( )| | ...
35.064516
99
0.543238
[ "render" ]
cfe60c888db0bc70fcb3047046b70dfd7bc3510d
4,306
cpp
C++
external/swak/libraries/simpleFunctionObjects/misc/readAndUpdateFields/readAndUpdateFields.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/simpleFunctionObjects/misc/readAndUpdateFields/readAndUpdateFields.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/simpleFunctionObjects/misc/readAndUpdateFields/readAndUpdateFields.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright: ICE Stroemungsfoschungs GmbH Copyright held by original author ------------------------------------------------------------------------------- License This file is based on CAELUS. CAELUS is free software: you can redis...
27.081761
99
0.542963
[ "mesh", "vector" ]
cfe804647717aa596ba09b1b3984e665cc213897
1,959
cpp
C++
Attic/AtomicEditorReference/Source/UI/Modal/UIMessageModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/Modal/UIMessageModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
Attic/AtomicEditorReference/Source/UI/Modal/UIMessageModal.cpp
honigbeutler123/AtomicGameEngine
c53425f19b216eb21ecd3bda85052aaa1a6f2aaa
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/Core/Context.h> #include "AEEvents.h" #include "UI/UIMainFrame.h" #include "UI/...
28.391304
105
0.737621
[ "object" ]
3213524c132f54d5254c98f21e64739c88d658b6
9,811
hpp
C++
src/mzdb/writer/bb_inserter.hpp
jerkos/pwiz-mzdb
edeaefc4388e7c9c1b48dfa2d69ced3a080a9535
[ "Apache-2.0" ]
null
null
null
src/mzdb/writer/bb_inserter.hpp
jerkos/pwiz-mzdb
edeaefc4388e7c9c1b48dfa2d69ced3a080a9535
[ "Apache-2.0" ]
null
null
null
src/mzdb/writer/bb_inserter.hpp
jerkos/pwiz-mzdb
edeaefc4388e7c9c1b48dfa2d69ced3a080a9535
[ "Apache-2.0" ]
null
null
null
#ifndef MZBBINSERTER_H #define MZBBINSERTER_H #include "../lib/sqlite3/include/sqlite3.h" #include "bb_computer.hpp" #include "mzDBFile.h" namespace mzdb { class mzBBInserter { private: MzDBFile& m_mzdbFile; int m_bbCount, m_lastMinRunSliceIdx, m_lastMaxRunSliceIdx, m_runSliceCount; map<int, int> m_ru...
45.632558
135
0.585363
[ "vector" ]
3219bd8718f4a421706d891aeda75c5de03a53fe
24,771
cpp
C++
engine/src/window/platform/win32/win32window.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
engine/src/window/platform/win32/win32window.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
engine/src/window/platform/win32/win32window.cpp
TRBFLXR/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
// // Created by FLXR on 7/15/2018. // #undef NOGDI #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #ifndef WIN32_EXTRA_LEAN #define WIN32_EXTRA_LEAN #endif #include <windows.h> #define NOGDI #include <dbt.h> #include <xe/window/window.hpp> #include <xe/utils/logger.hpp> #include <xe/audio/audiomas...
31.002503
108
0.621735
[ "vector" ]
321f01e540e958aa86450773e7fa39b2b56ea352
818
cpp
C++
soln/maximum-erasure-value/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
soln/maximum-erasure-value/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
soln/maximum-erasure-value/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int maximumUniqueSubarray(vector<int>& nums) { unordered_set<int> s; int n = nums.size(), curr = 0, max = 0, l = 0, r = 0; // for (int i : nums) { // if(s.find(i) == s.end()) { // s.insert(i); ...
27.266667
61
0.374083
[ "vector" ]
321f27b08272e25dfc3cd5fefa26a5278a4e3e9a
4,803
cpp
C++
AssetManager.cpp
Abscission/abscission-asset-tool
617f5845a9b366d5a43f3e6ae2a2ecb104464c6b
[ "MIT" ]
2
2015-06-26T07:43:05.000Z
2015-06-26T12:20:38.000Z
AssetManager.cpp
rilwal/abscission-asset-tool
617f5845a9b366d5a43f3e6ae2a2ecb104464c6b
[ "MIT" ]
null
null
null
AssetManager.cpp
rilwal/abscission-asset-tool
617f5845a9b366d5a43f3e6ae2a2ecb104464c6b
[ "MIT" ]
null
null
null
#include <Windows.h> #include <iostream> #include <vector> #include <string> #include "include\zlib.h" struct File { std::string Filename; bool shouldCompress; }; #pragma pack(push, 1) struct Header { char FileID[4]; int NumberOfEntries; int DataLength; }; struct IndexEntry { char Name[12]; int Position; i...
32.89726
168
0.696648
[ "vector" ]
322182e5448878867b625e715ae85536cbb0e32d
3,134
cpp
C++
Engine/Source/Render/Model/AssimpModelParser/AssimpModelParser.cpp
TzuChieh/XenoGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
4
2016-09-04T12:58:44.000Z
2020-11-11T15:48:41.000Z
Engine/Source/Render/Model/AssimpModelParser/AssimpModelParser.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
1
2016-07-16T15:46:32.000Z
2016-08-05T11:01:16.000Z
Engine/Source/Render/Model/AssimpModelParser/AssimpModelParser.cpp
TzuChieh/VirtualGameEngine
69d7524ee05491c8e6f8c45fdb6a12bfcecb4731
[ "MIT" ]
null
null
null
#include "AssimpModelParser.h" #include "Render/Model/StaticModel.h" #include "Render/Renderable/StaticRenderable.h" #include "Render/Material/PhongMaterial.h" #include "Render/Model/GpuBuffer.h" #include "Render/Model/GpuMesh.h" #include "Common/ThirdPartyLib/assimp.h" #include <iostream> using namespace ve; Assim...
27.017241
113
0.75686
[ "mesh", "render", "vector", "model" ]
322ab85b6e6480f182c21c2d676f37a57253e27c
5,869
cpp
C++
Sources/Elastos/LibCore/src/elastosx/xml/parsers/DocumentBuilderFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastosx/xml/parsers/DocumentBuilderFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastosx/xml/parsers/DocumentBuilderFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
28.490291
102
0.684444
[ "object" ]
7a86dfde85eb8e5c046c83211edcd49a61152dc3
15,646
cc
C++
ash/app_list/views/app_list_bubble_apps_page.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ash/app_list/views/app_list_bubble_apps_page.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ash/app_list/views/app_list_bubble_apps_page.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "ash/app_list/views/app_list_bubble_apps_page.h" #include <algorithm> #include <limits> #include <memory> #include <string> #include <utility> ...
38.920398
80
0.750671
[ "model", "transform" ]
7a87dc5c7aace421e36d70943c3784608329ac77
532
cpp
C++
test/rpc/client.cpp
zgtz/CppNet
86cceb77bfd3a9b0c0efb38108477aaf477ec058
[ "BSD-3-Clause" ]
676
2018-07-06T04:31:11.000Z
2022-03-29T22:05:55.000Z
test/rpc/client.cpp
JiaquanLi/CppNet
86cceb77bfd3a9b0c0efb38108477aaf477ec058
[ "BSD-3-Clause" ]
16
2019-06-19T07:20:14.000Z
2022-01-09T10:41:50.000Z
test/rpc/client.cpp
JiaquanLi/CppNet
86cceb77bfd3a9b0c0efb38108477aaf477ec058
[ "BSD-3-Clause" ]
196
2019-08-27T20:01:26.000Z
2022-03-27T13:15:16.000Z
#include <iostream> #include "rpc_client.h" #include "common/util/any.h" #include "common/util/time.h" using namespace std; void Add1CallBack(int code, std::vector<cppnet::Any>& ret) { if (code == NO_ERROR) { cout << code << " " << cppnet::any_cast<int>(ret[0]) << endl; } } Call_back func = Add1Call...
21.28
70
0.599624
[ "vector" ]
7a8bbb065d727100b54553c6b29802ceef5b7fb0
10,737
cpp
C++
src/letterboxedsolver.cpp
jeremyephron/letter-boxed-solver
c7d799ca69e8109baf2075e24c82a22b300d6f1c
[ "MIT" ]
null
null
null
src/letterboxedsolver.cpp
jeremyephron/letter-boxed-solver
c7d799ca69e8109baf2075e24c82a22b300d6f1c
[ "MIT" ]
null
null
null
src/letterboxedsolver.cpp
jeremyephron/letter-boxed-solver
c7d799ca69e8109baf2075e24c82a22b300d6f1c
[ "MIT" ]
null
null
null
/* * File: letterboxedsolver.cpp * Author: Jeremy Ephron * --------------------------- * This is a program to solve the NY Times online puzzle Letter Boxed * (https://www.nytimes.com/puzzles/letter-boxed). * * The NY Times says they use the Oxford English Dictionary, for which I could * not find a text file wit...
34.194268
84
0.621868
[ "object", "vector" ]
7a9b36bfb76acbbeecea3962d393a77f1c1f9ba3
6,232
cpp
C++
src/texture_frame_buffer.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/texture_frame_buffer.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
src/texture_frame_buffer.cpp
sweetkristas/anura
5e8cbcfc7b761c5c01e5c5509a0fb159b8fb60cd
[ "CC0-1.0" ]
null
null
null
/* Copyright (C) 2003-2013 by David White <davewx7@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version....
28.456621
160
0.765886
[ "object" ]
7aa4b93387b8f918394a90508fd235f64436fd89
1,292
cpp
C++
main.cpp
priseup/any_json
b304c57968ccea8274748488d49d5f4e074245d4
[ "MIT" ]
null
null
null
main.cpp
priseup/any_json
b304c57968ccea8274748488d49d5f4e074245d4
[ "MIT" ]
null
null
null
main.cpp
priseup/any_json
b304c57968ccea8274748488d49d5f4e074245d4
[ "MIT" ]
null
null
null
#include "any.h" // #include "types.h" void test_any() { int i = 0; Any a{5}; Any g{i}; Any f{std::move(i)}; Any b(std::string{"345"}); const Any &c = a; std::cout << a.cast<int>() << std::endl; std::cout << c.cast<int>() << std::endl; Any d{a}; Any e{std::move(a)}; printf...
21.898305
64
0.48452
[ "vector" ]
7aa61ef394cd2d22486826e7e32498b5ef4ffd11
2,419
cpp
C++
src/main.cpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
src/main.cpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
src/main.cpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
/* Small utility program to generate markdown table from csv files Author: Dorian Lesbre */ #include "project.hpp" #include <string> #include <fstream> #include <vector> #include "options.hpp" #include "io.hpp" #include "parser.hpp" #include "formatter.hpp" int main(int argc, char ** argv) { // parse command line ...
26.010753
99
0.660604
[ "vector" ]
7aa931cff0d1cfdf23b5ce9734cf81e34653d879
59,449
cpp
C++
FFxtubes onset.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
1
2021-06-21T22:21:57.000Z
2021-06-21T22:21:57.000Z
FFxtubes onset.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
2
2017-07-16T01:41:11.000Z
2021-07-05T08:40:01.000Z
FFxtubes onset.cpp
WarwickDumas/FocusFusion2D
445903f3e9e447985cdfa40444787c108d834e48
[ "MIT" ]
1
2017-07-16T01:26:51.000Z
2017-07-16T01:26:51.000Z
// DropJxy.cpp, qd cpp files, avi_utils.cpp // meshutil.cpp, mesh.cpp, basics.cpp, surfacegraph_tri.cpp, vector_tensor.cpp // simulation.cpp, solver.cpp, vetted.cpp, accelerate.cpp, advance.cpp #include "headers.h" // #include some cpp files, which should appear here only : #include "qd/src/fpu.cpp" #...
29.873869
130
0.6279
[ "mesh", "render", "object" ]
7aac4325b2666783eb699edffaed9b3ae35eb351
1,879
cpp
C++
ch10/ex10_14_15_16.cpp
courri/Cpp-Primer
b459698618b876f5d259154f69f81b18ff439aac
[ "CC0-1.0" ]
2
2015-06-11T17:50:41.000Z
2017-01-23T09:37:56.000Z
ch10/ex10_14_15_16.cpp
courri/Cpp-Primer
b459698618b876f5d259154f69f81b18ff439aac
[ "CC0-1.0" ]
null
null
null
ch10/ex10_14_15_16.cpp
courri/Cpp-Primer
b459698618b876f5d259154f69f81b18ff439aac
[ "CC0-1.0" ]
1
2018-10-23T09:43:12.000Z
2018-10-23T09:43:12.000Z
//! //! @author @Yue Wang @shbling @pezy @zzzkl //! @date 02.12.2014 //! //! Exercise 10.14: //! Write a lambda that takes two ints and returns their sum. //! //! Exercise 10.15: //! Write a lambda that captures an int from its enclosing function //! and takes an int parameter. The lambda should return the sum of //!...
22.914634
78
0.575306
[ "vector" ]
7ab1e3645e26c22db24574c3946a2399850d0deb
16,541
cc
C++
src/tracing/traced_proto_unittest.cc
ankit-16/perfetto
9d372be4d8b1d1dd97452c9646b36d60ecf2487b
[ "Apache-2.0" ]
3
2022-01-27T23:05:58.000Z
2022-01-28T07:53:34.000Z
src/tracing/traced_proto_unittest.cc
ankit-16/perfetto
9d372be4d8b1d1dd97452c9646b36d60ecf2487b
[ "Apache-2.0" ]
null
null
null
src/tracing/traced_proto_unittest.cc
ankit-16/perfetto
9d372be4d8b1d1dd97452c9646b36d60ecf2487b
[ "Apache-2.0" ]
2
2022-03-29T02:58:16.000Z
2022-03-29T13:19:34.000Z
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
36.839644
78
0.751829
[ "vector" ]
7abaa1b8461123ed61bde15ab38843e4669d7cb0
20,754
cpp
C++
src/tests/basic-tests.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
src/tests/basic-tests.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
src/tests/basic-tests.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
/* * Authors: Lana Mineh and John Scott * Copyright 2021 Phasecraft Ltd. and John Scott * * 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/LI...
35.598628
81
0.670184
[ "object", "vector" ]
7ac914ecf3545f4bd0fee5aee3caebcf1073d878
165,664
hpp
C++
BECTI_RHS_USA_RUSA.Takistan/Rsc/Dialogs.hpp
RSpeekenbrink/ArmA-3-BECTI
29650d3937150443ff9c7e639c7d44770254d399
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2021-08-01T16:33:15.000Z
2021-08-01T16:33:15.000Z
BECTI_RHS_USA_RUSA.Takistan/Rsc/Dialogs.hpp
RSpeekenbrink/ArmA-3-BECTI
29650d3937150443ff9c7e639c7d44770254d399
[ "Naumen", "Condor-1.1", "MS-PL" ]
18
2017-03-21T09:52:50.000Z
2021-08-31T22:35:37.000Z
BECTI_RHS_USA_RUSA.Tanoa/Rsc/Dialogs.hpp
RSpeekenbrink/ArmA-3-BECTI
29650d3937150443ff9c7e639c7d44770254d399
[ "Naumen", "Condor-1.1", "MS-PL" ]
5
2017-06-02T07:42:39.000Z
2021-08-30T16:15:55.000Z
#include "Styles.hpp" class CTI_RscBuildMenu { movingEnable = 0; idd = 100000; onLoad = "uiNamespace setVariable ['cti_dialog_ui_buildmenu', _this select 0];['onLoad'] execVM 'Client\Events\Events_UI_BuildMenu.sqf'"; onUnload = "uiNamespace setVariable ['cti_dialog_ui_buildmenu', nil]; ['onUnload'] call compile pr...
33.885048
218
0.63138
[ "render" ]
7acbd11bc5db1d3606b762c0304011724278edd9
24,536
cpp
C++
android/android_9/frameworks/native/services/surfaceflinger/DispSync.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/native/services/surfaceflinger/DispSync.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/native/services/surfaceflinger/DispSync.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
34.655367
100
0.610491
[ "vector", "model" ]
7adc4d0d2bdbab06572498be82202699fe6b21d0
2,154
cpp
C++
Tree/Trie/Trie.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
715
2018-10-01T21:30:10.000Z
2022-03-23T09:14:10.000Z
Tree/Trie/Trie.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
157
2018-10-01T20:53:11.000Z
2021-08-03T07:00:58.000Z
Tree/Trie/Trie.cpp
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
1,225
2018-10-01T20:56:22.000Z
2022-02-22T04:00:27.000Z
//TRIE #include <bits/stdc++.h> using namespace std; #define INF 0x3f3f3f3f #define MOD 1000000007 #define si(x) scanf("%d",&x) #define sii(x,y) scanf("%d%d",&x,&y) #define siii(x,y,z) scanf("%d%d%d",&x,&y,&z) #define sl(x) scanf("%lld",&x) #define sll(x,y) scanf("%lld%lld",&x,&y) #define slll(x,y,z) scanf("%lld%lld%...
19.232143
50
0.492108
[ "vector" ]
7adf01820e68db57bba429be3f9cf19c750ab2cb
665
cpp
C++
Cliente.cpp
LeonardoBanegas99/P3Lab5_LeonardoBanegas
e98ba2f621bf233b60d7c2c33f26d323e2ac9834
[ "MIT" ]
null
null
null
Cliente.cpp
LeonardoBanegas99/P3Lab5_LeonardoBanegas
e98ba2f621bf233b60d7c2c33f26d323e2ac9834
[ "MIT" ]
null
null
null
Cliente.cpp
LeonardoBanegas99/P3Lab5_LeonardoBanegas
e98ba2f621bf233b60d7c2c33f26d323e2ac9834
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "Platos.h" #include "Cliente.h" #include <vector> using std::vector; using namespace std; Cliente::Cliente(){ } Cliente::Cliente(string nombre){ this-> nombre = nombre; } vector<Platos*> Cliente::getPlatos(){ return PlatosConsumidos; } int Cliente::getValora...
14.148936
39
0.684211
[ "vector" ]
7ae8332ec4c99067dc2b86e678863b0fcf0480ad
12,212
cpp
C++
qtdeclarative/src/qml/qml/qqmltypewrapper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdeclarative/src/qml/qml/qqmltypewrapper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdeclarative/src/qml/qml/qqmltypewrapper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
37.231707
160
0.625532
[ "object" ]
7aeab3a6ae945f1e3728623c09a4b2f630b85ce6
1,313
cpp
C++
leetcode/297.serialize-and-deserialize-binary-tree.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
2
2019-01-30T12:45:18.000Z
2021-05-06T19:02:51.000Z
leetcode/297.serialize-and-deserialize-binary-tree.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
null
null
null
leetcode/297.serialize-and-deserialize-binary-tree.cpp
vkashkumar/Competitive-Programming
c457e745208c0ca3e45b1ffce254a21504533f51
[ "MIT" ]
3
2020-10-02T15:42:04.000Z
2022-03-27T15:14:16.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ // [https://www.youtube.com/watch?v=suj1ro8TIVY&t=689s] O(n) class Codec { public: string serialize(TreeNode* root) {...
25.25
91
0.531607
[ "object" ]
7aed4fe42d19f28fdd8f47dcba6e79772c0bcaf5
38,772
cc
C++
LiteCore/tests/QueryTest.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
LiteCore/tests/QueryTest.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
LiteCore/tests/QueryTest.cc
bjornd/couchbase-lite-core
5da4cc825021bb90be591ae4ab835be201333a0a
[ "Apache-2.0" ]
null
null
null
// // QueryTest.cc // // Copyright (c) 2017 Couchbase, Inc 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 // // Unle...
33.773519
180
0.556639
[ "object", "vector" ]
7aefde5911d857a9601661365482a83a812cff18
3,468
cpp
C++
test-project/program.cpp
wtrsltnk/cpppm
6d375dae3e65631d6e463f61a9635a302f57d680
[ "MIT" ]
1
2020-03-09T19:07:25.000Z
2020-03-09T19:07:25.000Z
test-project/program.cpp
wtrsltnk/cpppm
6d375dae3e65631d6e463f61a9635a302f57d680
[ "MIT" ]
null
null
null
test-project/program.cpp
wtrsltnk/cpppm
6d375dae3e65631d6e463f61a9635a302f57d680
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <GL/glu.h> #include <bullet/BulletDynamics/btBulletDynamicsCommon.h> void Display_InitGL() { /* Enable smooth shading */ glShadeMode...
27.744
96
0.595732
[ "render", "model" ]
7afaf3c6e0ee5d53c49e4291b0794bde1f2c8899
23,550
cpp
C++
converter/Analyzer/Default/ImageAnalyzer.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
6
2019-01-24T12:13:13.000Z
2020-06-01T13:59:04.000Z
converter/Analyzer/Default/ImageAnalyzer.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
null
null
null
converter/Analyzer/Default/ImageAnalyzer.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #include "Analyzer/Default/ImageAnalyzer.h" #include "Analyzer/Default/MemoryObjAnalyzer.h" #include "Analyzer/Default/RenderPassAnalyzer.h" #include "Parser/AppTrace.h" namespace VTC { /* ================================================...
34.837278
162
0.658004
[ "render" ]
7afc7feee401a2cf0694ed11a15642b3fbd340a6
334,640
cc
C++
fbench/src/grpcclient/third_party/googleapis/gens/google/datastore/v1/datastore.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/datastore/v1/datastore.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/datastore/v1/datastore.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto #include "google/datastore/v1/datastore.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <goo...
39.795457
219
0.71544
[ "object" ]
bb053e234f3a112f5796746648a1a8847c7963a9
10,324
cpp
C++
divi/src/kernel.cpp
DiviProject/Divi
4d4e34a134c2497a3f272f48beacaf292f4b6d14
[ "MIT" ]
56
2019-05-16T21:31:18.000Z
2022-03-16T16:13:02.000Z
divi/src/kernel.cpp
Divicoin/Divi
4d4e34a134c2497a3f272f48beacaf292f4b6d14
[ "MIT" ]
98
2018-03-07T19:30:42.000Z
2019-04-29T14:17:12.000Z
divi/src/kernel.cpp
DiviProject/Divi
4d4e34a134c2497a3f272f48beacaf292f4b6d14
[ "MIT" ]
38
2019-05-07T11:08:41.000Z
2022-03-02T20:06:12.000Z
/* @flow */ // Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2015-2017 The PIVX Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "kernel.h" #include <uint256.h> #include <primitives/tran...
41.629032
173
0.736149
[ "vector" ]
bb0c3ba975c9f56f1890e6c80cb9920394d87ec0
1,560
cpp
C++
stl/vector2.cpp
immol/bologs
04e3a07a6098220f66b7bc19c1ab9e30fb73eb8c
[ "MIT" ]
1
2021-05-30T03:28:19.000Z
2021-05-30T03:28:19.000Z
stl/vector2.cpp
immol/bologs
04e3a07a6098220f66b7bc19c1ab9e30fb73eb8c
[ "MIT" ]
null
null
null
stl/vector2.cpp
immol/bologs
04e3a07a6098220f66b7bc19c1ab9e30fb73eb8c
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include<iostream> using namespace std; #include<vector> #include<algorithm> #include<string> void printVector(vector<int>& v) { for (vector<int>::iterator it = v.begin(); it != v.end(); it++) { cout << *it << " "; } cout << endl; cout << "容器容量"<<v.capacity() << endl; } void test...
19.02439
76
0.591026
[ "vector" ]
bb10335f6571ec543a6d3d583341446f58b94b88
2,540
hpp
C++
inst/include/dust/filter.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
14
2020-06-02T00:29:43.000Z
2021-06-20T06:46:33.000Z
inst/include/dust/filter.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
350
2020-06-01T18:05:42.000Z
2022-03-24T17:06:21.000Z
inst/include/dust/filter.hpp
mrc-ide/dust
24f843d3af30ccd14c233c2db8bcd03bfc42369b
[ "MIT" ]
1
2021-09-13T15:25:39.000Z
2021-09-13T15:25:39.000Z
#ifndef DUST_FILTER_HPP #define DUST_FILTER_HPP #include "dust/filter_state.hpp" #include "dust/filter_tools.hpp" namespace dust { namespace filter { // Host version template <typename T> std::vector<typename T::real_type> filter(T * obj, filter_state_host<typename T::real_type>& state, bool save_traje...
29.195402
82
0.684252
[ "vector", "model" ]
bb1d7c1909d67955dd3ad6a5f0a5daef823bfe45
7,884
cpp
C++
src/linux_parser.cpp
ppfenninger/CppND-System-Monitor
b683043700c50d68f89af8acbaf474abaaf24915
[ "MIT" ]
null
null
null
src/linux_parser.cpp
ppfenninger/CppND-System-Monitor
b683043700c50d68f89af8acbaf474abaaf24915
[ "MIT" ]
null
null
null
src/linux_parser.cpp
ppfenninger/CppND-System-Monitor
b683043700c50d68f89af8acbaf474abaaf24915
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <sstream> #include <string> #include <vector> #include <iostream> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; string LinuxParser::OperatingSystem() { string line; string key; string value; std::ifstrea...
25.10828
84
0.609589
[ "vector" ]
bb233d7f097f2766707e9efb5c1856b3e130da28
966
cpp
C++
Cplus/MaximumNumberofTasksYouCanAssign.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/MaximumNumberofTasksYouCanAssign.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/MaximumNumberofTasksYouCanAssign.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <algorithm> #include <set> #include <vector> using namespace std; class Solution { public: int maxTaskAssign(vector<int> &tasks, vector<int> &workers, int pills, int strength) { sort(tasks.begin(), tasks.end()); sort(workers.begin(), workers.end(), greater<int>()); int lo = 0, hi = min(workers.size(),...
21.954545
89
0.583851
[ "vector" ]
bb269b6232d06b68a30230605c306fe3bb5a11f4
1,040
hpp
C++
cpp-projects/3d-engine/imgui/imgui_utility.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/3d-engine/imgui/imgui_utility.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/3d-engine/imgui/imgui_utility.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
1
2021-07-06T14:47:41.000Z
2021-07-06T14:47:41.000Z
#pragma once // std #include <vector> #include <string> // imgui #include "imgui.h" namespace ImGui{ static auto vector_getter = [](void* vec, int idx, const char** out_text){ auto& vector = *static_cast<std::vector<std::string>*>(vec); if (idx < 0 || idx >= static_cast<int>(vector.size())) { retur...
25.365854
106
0.639423
[ "vector" ]
bb2a3e663767279e79a1b29845064f8add7a499d
2,291
cpp
C++
multisig/MultiSigTrxResultDialog.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
null
null
null
multisig/MultiSigTrxResultDialog.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
3
2020-03-16T05:23:24.000Z
2020-03-31T03:29:39.000Z
multisig/MultiSigTrxResultDialog.cpp
whitexwc15184/WhitecoinLightWallet
cfc458faa1695d90d2210903425377612113c064
[ "MIT" ]
1
2020-02-16T00:28:39.000Z
2020-02-16T00:28:39.000Z
#include "MultiSigTrxResultDialog.h" #include "ui_MultiSigTrxResultDialog.h" #include <QClipboard> #include "wallet.h" MultiSigTrxResultDialog::MultiSigTrxResultDialog(QWidget *parent) : QDialog(parent), ui(new Ui::MultiSigTrxResultDialog) { ui->setupUi(this); connect( XWCWallet::getInstance(), SIGN...
25.455556
111
0.666085
[ "object" ]
bb2ee60e52a7edae8220699cb10b39d26646da2b
3,335
cpp
C++
papi_test.cpp
indrekis/blog_samples_timing_2017
ec246727c1886bb0f91bc29f9e7ddcc0e387b63e
[ "BSD-3-Clause" ]
null
null
null
papi_test.cpp
indrekis/blog_samples_timing_2017
ec246727c1886bb0f91bc29f9e7ddcc0e387b63e
[ "BSD-3-Clause" ]
null
null
null
papi_test.cpp
indrekis/blog_samples_timing_2017
ec246727c1886bb0f91bc29f9e7ddcc0e387b63e
[ "BSD-3-Clause" ]
null
null
null
#include <papi.h> #include <iostream> #include <cstdlib> #include <cmath> #include <vector> #include <map> #include <random> #include <algorithm> using namespace std; int main() { std::random_device rd; std::mt19937 rand_g(rd()); // See http://icl.cs.utk.edu/projects/papi/wiki/PAPIC:Preset_Event_Definitio...
29.254386
97
0.63988
[ "vector" ]
7d6cdce87b0fd087f20d89bc05785c15c982e6b7
2,306
hpp
C++
include/sge/node.hpp
smaudet/sdl-game-engine
e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7
[ "MIT" ]
75
2017-07-19T14:00:55.000Z
2022-01-10T21:50:44.000Z
include/sge/node.hpp
smaudet/sdl-game-engine
e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7
[ "MIT" ]
3
2017-04-05T00:57:33.000Z
2018-11-14T07:48:40.000Z
include/sge/node.hpp
smaudet/sdl-game-engine
e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7
[ "MIT" ]
12
2017-09-19T09:51:48.000Z
2021-12-05T18:11:53.000Z
#ifndef __SGE_NODE_HPP #define __SGE_NODE_HPP #include <sge/engine-forward.hpp> #include <SDL.h> #include <memory> #include <string> #include <vector> namespace sge { class Node : public std::enable_shared_from_this<Node> { public: Node(const std::string &name, Engine &engine); ...
30.342105
114
0.587598
[ "vector" ]
7d81cf94376617e30365c6297b8c222c464abd34
18,560
cpp
C++
src/slave/wpa-crack-s.cpp
sdsunjay/DWPACLEC2
96ba5c01ec5785de1534841c3e7cb09783be2d32
[ "Unlicense" ]
3
2015-02-25T02:40:14.000Z
2021-05-17T00:17:29.000Z
src/slave/wpa-crack-s.cpp
sdsunjay/DWPACLEC2
96ba5c01ec5785de1534841c3e7cb09783be2d32
[ "Unlicense" ]
null
null
null
src/slave/wpa-crack-s.cpp
sdsunjay/DWPACLEC2
96ba5c01ec5785de1534841c3e7cb09783be2d32
[ "Unlicense" ]
3
2015-04-20T07:36:10.000Z
2017-10-04T05:29:12.000Z
#include <stdio.h> #include <stdlib.h> #include <string> #include <string.h> #include <unistd.h> #include <pthread.h> #include <time.h> #include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include <sqlite3.h> #include <iostream> #include "headers/common.h" ...
24.746667
217
0.635075
[ "object" ]
7d8657a1e54e24c11c92e92d5df1a949824daaa7
3,913
hpp
C++
RobWork/src/rwlibs/opengl/RenderLines.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rwlibs/opengl/RenderLines.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rwlibs/opengl/RenderLines.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
30.811024
86
0.566573
[ "geometry", "render", "vector" ]
7d91c4c68cfeaf6453d103e3b0d25cac53b443f7
1,809
cpp
C++
HAL/Camera/Drivers/Join/JoinCameraFactory.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
34
2015-07-19T06:34:09.000Z
2022-03-15T13:34:38.000Z
HAL/Camera/Drivers/Join/JoinCameraFactory.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
43
2015-02-08T17:06:28.000Z
2020-06-09T15:22:16.000Z
HAL/Camera/Drivers/Join/JoinCameraFactory.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
36
2015-04-18T15:41:49.000Z
2021-05-28T15:55:28.000Z
#include <HAL/Devices/DeviceFactory.h> #include "JoinCameraDriver.h" namespace hal { class JoinCameraFactory : public DeviceFactory<CameraDriverInterface> { public: JoinCameraFactory(const std::string& name) : DeviceFactory<CameraDriverInterface>(name) { Params() = {}; } std::shared_ptr<CameraDriverI...
27.409091
81
0.614704
[ "vector" ]
7d956522989937634bcb1090beab7318d5b8f500
9,729
hpp
C++
external/PCMSolver/PCMSolver-source/src/bi_operators/NumericalIntegrator.hpp
robertodr/externalize
c7b1dda2009dab329a6efb580c57ef8e1494cf3b
[ "MIT" ]
1
2017-02-15T22:16:34.000Z
2017-02-15T22:16:34.000Z
external/PCMSolver/PCMSolver-source/src/bi_operators/NumericalIntegrator.hpp
robertodr/externalize
c7b1dda2009dab329a6efb580c57ef8e1494cf3b
[ "MIT" ]
null
null
null
external/PCMSolver/PCMSolver-source/src/bi_operators/NumericalIntegrator.hpp
robertodr/externalize
c7b1dda2009dab329a6efb580c57ef8e1494cf3b
[ "MIT" ]
null
null
null
/* pcmsolver_copyright_start */ /* * PCMSolver, an API for the Polarizable Continuum Model * Copyright (C) 2013-2016 Roberto Di Remigio, Luca Frediani and contributors * * This file is part of PCMSolver. * * PCMSolver is free software: you can redistribute it and/or modify * it unde...
50.149485
142
0.692055
[ "vector", "model" ]
7d9a4b648f36c249eb7f3640d22ea6c5eb4d27e2
1,969
cpp
C++
test/unit/ADT/SparseVector.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
17
2021-03-04T01:10:22.000Z
2022-03-30T18:33:14.000Z
test/unit/ADT/SparseVector.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
320
2020-11-16T02:42:50.000Z
2022-03-31T16:43:26.000Z
test/unit/ADT/SparseVector.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
6
2020-11-10T02:37:10.000Z
2021-12-25T06:58:44.000Z
#include "caffeine/ADT/SparseVector.h" #include <gtest/gtest.h> using namespace caffeine; TEST(SparseVectorTests, eraseExcludedFromIterationOrder) { SparseVector<uint32_t> vector{0, 1, 2, 3, 4}; ASSERT_EQ(vector.size(), 5); ASSERT_EQ(vector.backing_size(), 5); vector.erase(1); ASSERT_EQ(vector.size(), 4);...
21.402174
58
0.68258
[ "vector" ]
7d9d596b47d0a4e8fd113af50803a8275ad77261
144
hpp
C++
sortAlgs/interface.hpp
Lw-Cui/sortAlgs
9f030aa76b743736db5056de411641b92018a362
[ "MIT" ]
1
2016-02-25T01:56:48.000Z
2016-02-25T01:56:48.000Z
sortAlgs/interface.hpp
Lw-Cui/sortAlgs
9f030aa76b743736db5056de411641b92018a362
[ "MIT" ]
null
null
null
sortAlgs/interface.hpp
Lw-Cui/sortAlgs
9f030aa76b743736db5056de411641b92018a362
[ "MIT" ]
null
null
null
#ifndef _INTERFACE_ #define _INTERFACE_ #include <vector> extern "C" { void sort(std::vector<int> &array); const char *self(); } #endif
16
39
0.673611
[ "vector" ]
7da042e5ec04c9360f4489778b9cb9c9c629d666
13,467
cpp
C++
newbase/NFmiStreamQueryData.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
null
null
null
newbase/NFmiStreamQueryData.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
7
2017-01-17T10:46:33.000Z
2019-11-21T07:50:17.000Z
newbase/NFmiStreamQueryData.cpp
fmidev/smartmet-library-newbase
12d93660c06e3c66a039ea75530bd9ca5daf7ab8
[ "MIT" ]
2
2017-01-17T07:33:28.000Z
2018-04-26T07:10:23.000Z
// ====================================================================== /*! * \file NFmiStreamQueryData.cpp * \brief Implementation of class NFmiStreamQueryData */ // ====================================================================== /*! * \class NFmiStreamQueryData * * Undocumented * */ // ==============...
24.755515
99
0.517784
[ "object" ]
7da4e190a25a2439ff02540d490970be88086036
8,086
hpp
C++
Code/MXA/DataWrappers/MXA2DArray.hpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Code/MXA/DataWrappers/MXA2DArray.hpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
null
null
null
Code/MXA/DataWrappers/MXA2DArray.hpp
mpartio/MXADataModel
cfab4b41bca5c71d0ab16fb4f3ed3097093f0a57
[ "BSD-3-Clause" ]
1
2020-08-26T07:08:26.000Z
2020-08-26T07:08:26.000Z
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008, mjackson // All rights reserved. // BSD License: http://www.opensource.org/licenses/bsd-license.html // // This code was written under United States Air Force Contract number // FA8650...
27.134228
132
0.543903
[ "object", "vector" ]
7daf92ba89c40a9225cc5c9d190ee35471e7b0a9
32,837
cpp
C++
src/core/runtime/amd_blit_sdma.cpp
pzins/ROCR-Runtime
7284822462ba776c89bc15a42bf70860f3ce2544
[ "AMDPLPA" ]
null
null
null
src/core/runtime/amd_blit_sdma.cpp
pzins/ROCR-Runtime
7284822462ba776c89bc15a42bf70860f3ce2544
[ "AMDPLPA" ]
null
null
null
src/core/runtime/amd_blit_sdma.cpp
pzins/ROCR-Runtime
7284822462ba776c89bc15a42bf70860f3ce2544
[ "AMDPLPA" ]
1
2019-07-04T00:48:20.000Z
2019-07-04T00:48:20.000Z
//////////////////////////////////////////////////////////////////////////////// // // The University of Illinois/NCSA // Open Source License (NCSA) // // Copyright (c) 2014-2015, Advanced Micro Devices, Inc. All rights reserved. // // Developed by: // // AMD Research and AMD HSA Software Development...
32.067383
99
0.713494
[ "object", "vector" ]
7db92352df1247b2e6b5ef15dcc885f69b583013
15,009
cpp
C++
sourceCode/application/logic/mathComputation/linearRegression.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
2
2022-02-27T20:08:04.000Z
2022-03-03T13:45:40.000Z
sourceCode/application/logic/mathComputation/linearRegression.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-07T17:09:04.000Z
2021-06-11T11:48:23.000Z
sourceCode/application/logic/mathComputation/linearRegression.cpp
lp-rep/stackprof-1
62d9cb96ad7dcdaa26b6383559f542cadc1c7af2
[ "CECILL-B" ]
1
2021-06-03T21:06:55.000Z
2021-06-03T21:06:55.000Z
#include <QDebug> #include <stdlib.h> #include <gsl/gsl_math.h> #include <gsl/gsl_fit.h> #include <gsl/gsl_ieee_utils.h> #include <gsl/gsl_statistics_double.h> #include <string.h> #include <stdio.h> #include <iostream> using namespace std; #include "linearRegression.h" #include "../toolbox/toolbox_math.h" #incl...
42.882857
152
0.723299
[ "vector", "model" ]
7dc01e95b4b456788f32daa68dab3ee663b4ed55
1,635
cpp
C++
aws-cpp-sdk-resiliencehub/source/model/ListUnsupportedAppVersionResourcesResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-resiliencehub/source/model/ListUnsupportedAppVersionResourcesResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-resiliencehub/source/model/ListUnsupportedAppVersionResourcesResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/resiliencehub/model/ListUnsupportedAppVersionResourcesResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/Stri...
29.196429
148
0.786544
[ "model" ]
7dc03998cde6f0dac543f3e4dbf365c0975e6f87
14,954
cc
C++
newtesting.cc
Sarvesh-Sathish/isef2020
95a2d51b0592906da2e57413f9e7f20eabaa2b3e
[ "MIT" ]
null
null
null
newtesting.cc
Sarvesh-Sathish/isef2020
95a2d51b0592906da2e57413f9e7f20eabaa2b3e
[ "MIT" ]
null
null
null
newtesting.cc
Sarvesh-Sathish/isef2020
95a2d51b0592906da2e57413f9e7f20eabaa2b3e
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <string> #include <vector> #include "ns3/core-module.h" #include "ns3/simulator-module.h" #include "ns3/node-module.h" #include "ns3/helper-module.h" #include "ns3/wifi-module.h" #include "ns3/mobility-module.h" #include "ns3/mp-internet-stack-helper.h" #include "ns3/mp...
36.473171
201
0.682225
[ "vector" ]
7dcaf7da0119fa9fb6cd7b8ff873534002bfb0f7
1,758
cpp
C++
tool/SVF/tools/WPA/wpa.cpp
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
16
2022-01-14T12:05:49.000Z
2022-03-10T07:57:26.000Z
tool/SVF/tools/WPA/wpa.cpp
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
1
2022-03-08T13:19:07.000Z
2022-03-09T06:39:43.000Z
tool/SVF/tools/WPA/wpa.cpp
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
2
2022-01-16T16:55:40.000Z
2022-03-07T10:20:55.000Z
//===- wpa.cpp -- Whole program analysis -------------------------------------// // // SVF: Static Value-Flow Analysis // // Copyright (C) <2013-2017> <Yulei Sui> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as p...
30.842105
92
0.636519
[ "vector" ]
7dcf1440188aae688a1ec01886f3b499a0fa8b28
1,683
cpp
C++
prayground/shape/plane.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
23
2021-08-25T10:40:40.000Z
2022-03-28T13:02:05.000Z
prayground/shape/plane.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
2
2021-12-04T12:50:44.000Z
2021-12-14T14:55:00.000Z
prayground/shape/plane.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
1
2021-04-15T13:13:17.000Z
2021-04-15T13:13:17.000Z
#include "plane.h" #include <prayground/core/util.h> namespace prayground { // ------------------------------------------------------------------ Plane::Plane() : m_min{-1.0f, -1.0f}, m_max{1.0f, 1.0f} { } Plane::Plane(const float2& min, const float2& max) : m_min{ min }, m_max{ max } { } // ---...
23.704225
91
0.42246
[ "shape" ]
7dd15aeb462ffda974207b83b9c063ea3c0a67b8
6,393
cpp
C++
src/lava_lib/reader_bgeo/bgeo/parser/PrimitiveGroup.cpp
cinepost/Falcor
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
7
2018-09-25T23:45:52.000Z
2021-07-07T04:08:01.000Z
src/lava_lib/reader_bgeo/bgeo/parser/PrimitiveGroup.cpp
cinepost/Falcor
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
2
2021-03-02T10:16:06.000Z
2021-08-13T10:10:21.000Z
src/lava_lib/reader_bgeo/bgeo/parser/PrimitiveGroup.cpp
cinepost/Lava
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
3
2020-06-07T05:47:48.000Z
2020-10-03T12:34:54.000Z
/* * Copyright 2018 Laika, LLC. Authored by Peter Stuart * * Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or * http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or * http://opensource.org/licenses/MIT>, at your option. This file may not be * copied, modified, or distr...
23.079422
78
0.511184
[ "vector" ]
7dd9628394f65fa878d3059b2b0f40829bbfa485
2,905
cpp
C++
lib/Player.cpp
robhardwick/fmusic
06960cf92ef58b0ef58f2a79433d225ba0e2f634
[ "MIT" ]
15
2015-06-30T17:48:13.000Z
2021-01-07T14:42:30.000Z
lib/Player.cpp
robhardwick/fmusic
06960cf92ef58b0ef58f2a79433d225ba0e2f634
[ "MIT" ]
null
null
null
lib/Player.cpp
robhardwick/fmusic
06960cf92ef58b0ef58f2a79433d225ba0e2f634
[ "MIT" ]
null
null
null
#include <chrono> #include "Player.h" #include "Song.h" #include "Log.h" #include "Instrument.h" using namespace fMusic::Core; /** * Initialise player */ Player::Player(std::shared_ptr<Log> log) : log(log), interval(DEFAULT_INTERVAL) {} /** * Stop player execution */ Player::~Player() { stop(); } ...
20.75
95
0.604819
[ "vector" ]
7dde8206e49b72f53e7041ff9b77822ab9480f4d
2,010
cpp
C++
Akel/src/Graphics/entity3d.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
3
2021-12-01T17:59:30.000Z
2022-01-22T20:29:08.000Z
Akel/src/Graphics/entity3d.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
null
null
null
Akel/src/Graphics/entity3d.cpp
NurissGames/Akel
9580f7eb1d4a0dbe20459bd83a5e681a040c29de
[ "MIT" ]
1
2021-12-01T17:59:32.000Z
2021-12-01T17:59:32.000Z
// This file is a part of Akel // Authors : @kbz_8 // Created : 05/03/2022 // Updated : 06/03/2022 #include <Graphics/entity.h> #include <Core/core.h> #define R_MASK 0xFF000000 #define G_MASK 0x00FF0000 #define B_MASK 0x0000FF00 #define A_MASK 0x000000FF namespace Ak { Entity3D::Entity3D(Models _model, Maths::Vec3<...
34.067797
219
0.561692
[ "model" ]
8fbd476c68283b40634466d2b0e36ed976e27da0
4,335
cc
C++
src/ledger/bin/storage/impl/commit_impl_unittest.cc
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
src/ledger/bin/storage/impl/commit_impl_unittest.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
src/ledger/bin/storage/impl/commit_impl_unittest.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ledger/bin/storage/impl/commit_impl.h" #include <tuple> #include "gtest/gtest.h" #include "src/ledger/bin/storage/fake/fake_page_storage.h"...
36.428571
80
0.713264
[ "vector" ]
8fbdb9b65782e11a7ef5dbae7b87a28e2a34274e
1,701
hxx
C++
include/idocp/robot/contact_surface.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
1
2021-09-04T07:43:04.000Z
2021-09-04T07:43:04.000Z
include/idocp/robot/contact_surface.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
include/idocp/robot/contact_surface.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
#ifndef IDOCP_CONTACT_SURFACE_HXX_ #define IDOCP_CONTACT_SURFACE_HXX_ #include "idocp/robot/contact_surface.hpp" #include <stdexcept> #include <iostream> namespace idocp { inline ContactSurface::ContactSurface(const Eigen::Vector3d& origin, const Eigen::Vector3d& normal_vect...
21.807692
75
0.663139
[ "vector" ]
8fc56e643beb7a4087518d7c885f07a7ad2a76c5
9,393
cc
C++
app/oxs/ext/mindriver.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/ext/mindriver.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/ext/mindriver.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
/* FILE: mindriver.cc -*-Mode: c++-*- * * Example minimization Oxs_Driver class. * */ #include <string> #include "nb.h" #include "mindriver.h" #include "director.h" #include "simstate.h" #include "minevolver.h" #include "key.h" #include "mesh.h" #include "energy.h" // Needed to make MSVC++ 5 happy OC...
32.278351
76
0.712765
[ "mesh", "object" ]
8fcb2252eeb69964e20ab8f26ce0702eccfe6c33
5,675
hpp
C++
include/efslam/io/carmen/CarmenProcessor.hpp
Pandinosaurus/Evidential-FastSLAM
0af895592077bf24b9c3c2db92a3e0e1c962c37b
[ "BSD-3-Clause" ]
17
2016-09-13T08:52:07.000Z
2022-01-12T10:24:14.000Z
include/efslam/io/carmen/CarmenProcessor.hpp
Pandinosaurus/Evidential-FastSLAM
0af895592077bf24b9c3c2db92a3e0e1c962c37b
[ "BSD-3-Clause" ]
null
null
null
include/efslam/io/carmen/CarmenProcessor.hpp
Pandinosaurus/Evidential-FastSLAM
0af895592077bf24b9c3c2db92a3e0e1c962c37b
[ "BSD-3-Clause" ]
7
2017-02-16T14:12:05.000Z
2021-06-22T12:32:45.000Z
/* * Software License Agreement (BSD License) * * Evidential FastSLAM - An evidential approach to SLAM * Copyright (c) 2013-2016, Joachim Clemens, Thomas Reineking, Tobias Kluth * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
29.557292
110
0.669604
[ "vector" ]
8fd44f89304428d553d3ada02a1e28a742226325
376
cpp
C++
internals/wip/program/types/list_strict_test.cpp
polytypic/algebraic.cpp
77813838eb775e7640506a0a3d10a3b5d2130421
[ "MIT" ]
2
2018-12-16T21:32:21.000Z
2021-12-11T20:54:36.000Z
internals/wip/program/types/list_strict_test.cpp
polytypic/algebraic.cpp
77813838eb775e7640506a0a3d10a3b5d2130421
[ "MIT" ]
null
null
null
internals/wip/program/types/list_strict_test.cpp
polytypic/algebraic.cpp
77813838eb775e7640506a0a3d10a3b5d2130421
[ "MIT" ]
null
null
null
#include "list_strict.hpp" #include "generics/pretty.hpp" #include "util/test_runner.hpp" #include "core/structures.hpp" #include <iostream> static auto list_strict_test = test_runner([]() { auto xs = list(3, 1, 4); auto ys = reverse(reverse(xs)); auto zs = map<append>([](auto &x) { return 0.5 + x; }, ys); ...
22.117647
61
0.646277
[ "render" ]
8fe01c598be7285bf563b8a9b8d024783884b187
33,543
cpp
C++
tests/EQ/RobertBristowJohnsonFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
23
2021-02-04T10:47:46.000Z
2022-03-25T03:45:00.000Z
tests/EQ/RobertBristowJohnsonFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-02-01T15:45:06.000Z
2021-09-13T19:39:05.000Z
tests/EQ/RobertBristowJohnsonFilter.cpp
AudioTK/AudioTK
dba42eea68534501efe74692b74edf4792cca231
[ "BSD-3-Clause" ]
2
2021-04-12T03:28:12.000Z
2021-12-17T00:47:11.000Z
/** * \ file RobertBristowJohnsonFilter.cpp */ #include <ATK/EQ/RobertBristowJohnsonFilter.h> #include <ATK/EQ/IIRFilter.h> #include <ATK/Mock/FFTCheckerFilter.h> #include <ATK/Mock/SimpleSinusGeneratorFilter.h> #include <gtest/gtest.h> constexpr gsl::index PROCESSSIZE = 1024*64; TEST(IIRFilter, RobertBristowJoh...
33.342942
84
0.780401
[ "vector" ]
8fe9ae866f3149b3cecca33f4a5cf5d3b0b342a8
6,832
cpp
C++
src/Lib/sctp/SctpH264RtpPolicyManager.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/sctp/SctpH264RtpPolicyManager.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/sctp/SctpH264RtpPolicyManager.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <rtp++/media/h264/H264NalUnitTypes.h> #include <rtp++/media/h264/SvcExtensionHeader.h> #include <rtp++/sctp/SctpH264RtpPolicyManager.h> namespace rtp_plus_plus { using namespace media::h264; using media::MediaSample; namespace sctp { SctpH264RtpPolicyManager::SctpH264RtpPolicyManager(...
27.111111
122
0.655591
[ "vector" ]
8feeb614c16c90204a023b964036363fc8dcec74
164,156
cpp
C++
runtime/test/TestValidateModel.cpp
aosp-goes-brrbrr/packages_modules_NeuralNetworks
87a14e21ce905ce7c4584fe9a53e4397a4d33c67
[ "Apache-2.0" ]
null
null
null
runtime/test/TestValidateModel.cpp
aosp-goes-brrbrr/packages_modules_NeuralNetworks
87a14e21ce905ce7c4584fe9a53e4397a4d33c67
[ "Apache-2.0" ]
null
null
null
runtime/test/TestValidateModel.cpp
aosp-goes-brrbrr/packages_modules_NeuralNetworks
87a14e21ce905ce7c4584fe9a53e4397a4d33c67
[ "Apache-2.0" ]
2
2021-11-28T11:20:31.000Z
2021-11-28T11:28:38.000Z
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
52.412516
100
0.725542
[ "model" ]
8fef1336dd7b75449230836c345dc6d9ee999ff3
2,755
hh
C++
userFiles/ctrl/io/ctrl_options/CtrlOptions.hh
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
userFiles/ctrl/io/ctrl_options/CtrlOptions.hh
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
userFiles/ctrl/io/ctrl_options/CtrlOptions.hh
mharding01/augmented-neuromuscular-RT-running
7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834
[ "MIT" ]
null
null
null
/*! * \author Nicolas Van der Noot * \file CtrlOptions.hh * \brief CtrlOptions class */ #ifndef _CTRL_OPTIONS_HH_ #define _CTRL_OPTIONS_HH_ #ifdef ROBOTRAN_SIMU #include "user_realtime.h" #endif enum{CTRL_DEFAULT, CTRL_REFLEX, CTRL_CPG, CTRL_STIM_TEST, CTRL_REFLEX_WANG}; enum{COMAN_DEFAULT, COMAN_SHORT_FEET, C...
34.4375
123
0.716515
[ "model", "3d" ]
8ff495b65f8996ac67fc9a9c7314647ab07e03e4
7,445
cpp
C++
Notification/NotificationWidget.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Notification/NotificationWidget.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
Notification/NotificationWidget.cpp
devonchenc/NovaImage
3d17166f9705ba23b89f1aefd31ac2db97385b1c
[ "MIT" ]
null
null
null
#include "NotificationWidget.h" #include <QString> #include <QGuiApplication> #include <QMessageBox> #include <QDesktopWidget> #include <QPropertyAnimation> #include <QHBoxLayout> #include <QVBoxLayout> #include <QLabel> #include <QPushButton> #include <QPainter> #include <QScreen> #include <QGraphicsOpacityEffect> n...
37.984694
137
0.658294
[ "geometry", "vector" ]
8ffde503b8f8dfad026295724a903978b40d0f13
2,506
cpp
C++
chapter_7/chapter_7_main.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
chapter_7/chapter_7_main.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
chapter_7/chapter_7_main.cpp
bdolinar/ray_tracer_challenge_cpp
96e746b58ca4a173583ecbccfcde714a22b12935
[ "BSD-2-Clause" ]
null
null
null
#include <fstream> #include <raytracer/camera.h> #include <raytracer/canvas.h> #include <raytracer/intersection.h> #include <raytracer/light.h> #include <raytracer/material.h> #include <raytracer/ray.h> #include <raytracer/sphere.h> #include <raytracer/transform.h> int main(int argc, char* argv[]) { World world; ...
32.973684
115
0.702314
[ "render", "vector", "transform" ]
8fff445919d5e2655aaf321428d6b478d8a49714
1,968
cpp
C++
LeetCode/C++/General/Easy/ValidWordSquare/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/ValidWordSquare/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Easy/ValidWordSquare/main.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <deque> using namespace std; /* * Approaches: * * 1) Store each row in a deque and then for each element in the column check to see if it matches * the corresponding element in the row. The edge cases to watch out for are if the column size does * n...
20.5
111
0.483232
[ "vector" ]
891381c587c06bebde889a50b7cfed729d15a794
4,012
cpp
C++
MasterSim/src/MSIM_FMUManager.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
5
2021-11-17T07:12:54.000Z
2022-03-16T15:06:39.000Z
MasterSim/src/MSIM_FMUManager.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
25
2021-09-09T07:39:13.000Z
2022-01-23T13:00:19.000Z
MasterSim/src/MSIM_FMUManager.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
null
null
null
#include "MSIM_FMUManager.h" #include <memory> // for std::autoptr #include <cstdlib> #include <IBK_messages.h> #include <IBK_Exception.h> #include "MSIM_FMU.h" namespace MASTER_SIM { FMUManager::~FMUManager() { for (std::vector<FMU*>::iterator it = m_fmus.begin(); it != m_fmus.end(); ++it) { delete *it; } ...
32.617886
135
0.706879
[ "vector", "model" ]
8919f82e49d910f72533ecd87928ae9eeba8c6a0
2,623
cpp
C++
venv/lib/python3.6/site-packages/pachi_py/pachi/dcnn.cpp
marcusfrancis/cartpole-bot
009dede4a7551501b2817eafc8765a9060e33161
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
venv/lib/python3.6/site-packages/pachi_py/pachi/dcnn.cpp
marcusfrancis/cartpole-bot
009dede4a7551501b2817eafc8765a9060e33161
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
venv/lib/python3.6/site-packages/pachi_py/pachi/dcnn.cpp
marcusfrancis/cartpole-bot
009dede4a7551501b2817eafc8765a9060e33161
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
#define DEBUG #include <assert.h> #include <ctype.h> #include <math.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/stat.h> #define CPU_ONLY 1 #include <caffe/caffe.hpp> using namespace caffe; extern "C" { #include "debug.h" #include "board.h" #inclu...
21.325203
69
0.605414
[ "vector" ]
891ce512050f0a5120e7d4fbcead382affb90520
61,873
cpp
C++
src/pipol_tracker_lib/peopleTracker.cpp
andreucm/pipol_tracker
5056dd3858cdb5139373862da220082191301d2c
[ "MIT" ]
19
2015-02-17T09:22:33.000Z
2022-03-21T02:49:55.000Z
src/pipol_tracker_lib/peopleTracker.cpp
cdondrup/pipol_tracker
5056dd3858cdb5139373862da220082191301d2c
[ "MIT" ]
null
null
null
src/pipol_tracker_lib/peopleTracker.cpp
cdondrup/pipol_tracker
5056dd3858cdb5139373862da220082191301d2c
[ "MIT" ]
11
2015-03-17T14:27:59.000Z
2022-02-07T21:57:24.000Z
#include "peopleTracker.h" CpeopleTracker::CpeopleTracker() { nextTargetId = 1; followMeTargetId = -1;//initially there is no folloMe target Id for (unsigned int ii=0; ii<NUM_DETECTORS; ii++) nextDetectionId[ii] = 1; setDefaultParameters(); } CpeopleTracker::~CpeopleTracker() { laserDetSet.clear(...
37.362923
208
0.561586
[ "shape", "vector", "model" ]
8925fd81071df3be192a86a26752b78754a4c6d7
1,467
cc
C++
leetcode/ac/90.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
leetcode/ac/90.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
leetcode/ac/90.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> tmp; vector<vector<int>> resultCab; vector<int> _nums; vector<vector<int>> subsetsWithDup(vector<int>& nums) { sort(nums.begin(), nums.end()); vector<int> none; resultCab...
18.56962
63
0.464213
[ "vector" ]
892a529ca0904f010b6c7f59783ffb4202e3f9d7
1,752
cpp
C++
src/display/line_display.cpp
corenting/chronos-cli
b277486e00db5bce46e855f411954e144b43bb28
[ "MIT" ]
null
null
null
src/display/line_display.cpp
corenting/chronos-cli
b277486e00db5bce46e855f411954e144b43bb28
[ "MIT" ]
null
null
null
src/display/line_display.cpp
corenting/chronos-cli
b277486e00db5bce46e855f411954e144b43bb28
[ "MIT" ]
null
null
null
#include <iostream> #include <boost/date_time/posix_time/posix_time.hpp> #include "line_display.h" void LineDisplay::Print(std::vector<Event> events) { int latestDisplayedDay = -1; bool first = true; for (auto event : events) { if (event.GetStart().date().day_of_week() > latestDisplayedDay) { ...
38.933333
104
0.538813
[ "vector" ]
9f16c3cee75df3ad5815e7c2f12a0e8882b9a378
951
cpp
C++
C++/base_4/mem_fun_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
C++/base_4/mem_fun_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
C++/base_4/mem_fun_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
/*********************************************************** * @name: mem_fun_1.cpp * @brief: mem_fun * @author: Jisheng Liang * @date: 2018/6/30 15:34:06 * @version: 1.0 **********************************************************/ #include <iostream> #include <functional> #include <vector> #include <algorithm> ...
21.133333
69
0.526814
[ "vector" ]
9f19fe6259bd4b9b0d869eda7333a58b1f862c34
3,687
hpp
C++
config/include/config/config.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
null
null
null
config/include/config/config.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
6
2019-11-14T13:49:39.000Z
2019-12-04T09:36:21.000Z
config/include/config/config.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
2
2019-11-20T18:01:34.000Z
2020-05-05T07:18:37.000Z
/*Copyright 2019 Anders Madsen, Emil Jørgensen Njor, Emil Stenderup Bækdahl, Frederik Baymler *Mathiesen, Nikolaj Jensen Ulrik, Simon Mejlby Virenfeldt * *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 th...
33.518182
100
0.678872
[ "vector" ]
9f1d983a80561a9a74eeda61f143aa7d274b098a
151,162
cpp
C++
src/core/qgsvectorfilewriter.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/qgsvectorfilewriter.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/core/qgsvectorfilewriter.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsvectorfilewriter.cpp generic vector file writer ------------------- begin : Sat Jun 16 2004 copyright : (C) 2004 by Tim Sutto...
41.334974
251
0.539554
[ "geometry", "shape", "vector", "transform", "3d" ]