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
2d71e53ef0fe60bfaf3f27660ba5cb7856a5c0d2
2,108
cpp
C++
tests/cpp/test_quiver_cpu.cpp
jakeKonrad/torch-quiver
16e01b8b61459ae41b7386b6a57ef9d20dfb6606
[ "Apache-2.0" ]
196
2021-10-30T23:40:27.000Z
2022-03-28T03:43:18.000Z
tests/cpp/test_quiver_cpu.cpp
jakeKonrad/torch-quiver
16e01b8b61459ae41b7386b6a57ef9d20dfb6606
[ "Apache-2.0" ]
32
2021-11-03T15:07:50.000Z
2022-03-07T09:03:33.000Z
tests/cpp/test_quiver_cpu.cpp
jakeKonrad/torch-quiver
16e01b8b61459ae41b7386b6a57ef9d20dfb6606
[ "Apache-2.0" ]
24
2021-10-31T12:28:34.000Z
2022-03-19T03:03:13.000Z
#include <algorithm> #include <unordered_set> #include <vector> #include <quiver/quiver.cpu.hpp> #include "testing.hpp" class simple_graph { int nodes_; int neighbor_; std::vector<std::pair<int64_t, int64_t>> edges_; public: simple_graph(int N, int neighbor) : nodes_(N), neighbor_(neighbor...
27.736842
78
0.569734
[ "vector" ]
2d7201b11826f8ff797293f970cd3085e7cde6cf
5,964
hpp
C++
iceoryx_hoofs/include/iceoryx_hoofs/internal/relocatable_pointer/relocatable_ptr.hpp
sloretz/iceoryx
6ca4d0ad7122bda725c697b7b9cf3fd8ae73b51d
[ "Apache-2.0" ]
560
2021-01-09T11:09:16.000Z
2022-03-29T15:55:08.000Z
iceoryx_hoofs/include/iceoryx_hoofs/internal/relocatable_pointer/relocatable_ptr.hpp
sloretz/iceoryx
6ca4d0ad7122bda725c697b7b9cf3fd8ae73b51d
[ "Apache-2.0" ]
779
2021-01-05T08:46:43.000Z
2022-03-31T17:45:11.000Z
iceoryx_hoofs/include/iceoryx_hoofs/internal/relocatable_pointer/relocatable_ptr.hpp
sloretz/iceoryx
6ca4d0ad7122bda725c697b7b9cf3fd8ae73b51d
[ "Apache-2.0" ]
122
2021-01-11T02:06:26.000Z
2022-03-31T20:00:26.000Z
// Copyright (c) 2021 by Apex.AI 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 // // Unless required by ap...
40.026846
100
0.715292
[ "object" ]
2d749a350732005cbcd0dcf9d7fd7d1c5992826c
4,866
cc
C++
vpc/src/model/DescribeRouteTableListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vpc/src/model/DescribeRouteTableListRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vpc/src/model/DescribeRouteTableListRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "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...
25.746032
101
0.765105
[ "vector", "model" ]
2d7ce26c49302255425762cbb477404155cf9dff
1,781
cpp
C++
Leetcode/Hot100/208_Implement_Trie_(Prefix_Tree).cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
1
2019-11-26T11:52:25.000Z
2019-11-26T11:52:25.000Z
Leetcode/Hot100/208_Implement_Trie_(Prefix_Tree).cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
null
null
null
Leetcode/Hot100/208_Implement_Trie_(Prefix_Tree).cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
null
null
null
/* Implement a trie with insert, search, and startsWith methods. Example: Trie trie = new Trie(); trie.insert("apple"); trie.search("apple"); // returns true trie.search("app"); // returns false trie.startsWith("app"); // returns true trie.insert("app"); trie.search("app"); // returns true Note: You may ...
25.084507
86
0.56822
[ "object", "vector" ]
2d7f42ab0cf45cec2de45b0c0daf91ee88b2aa15
1,162
hpp
C++
Source/Object/Item/Damage/damage.hpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
Source/Object/Item/Damage/damage.hpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
Source/Object/Item/Damage/damage.hpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 Vitaly Dikov // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt) #ifndef DAMAGE_HPP #define DAMAGE_HPP #include"damageCommon.hpp" #include"damageReference.hpp" #include"damageText.hpp" namespace g...
20.034483
99
0.623064
[ "object" ]
2d80b14571b5f737f8651c41152112056f3ccae5
24,552
cpp
C++
src/corgi/corgi_adapter.cpp
google/scene_lab
3f68e1cf48479ee6507b81092c392736e11085d5
[ "Apache-2.0" ]
65
2015-11-19T05:01:04.000Z
2021-10-12T12:50:29.000Z
src/corgi/corgi_adapter.cpp
google/scene_lab
3f68e1cf48479ee6507b81092c392736e11085d5
[ "Apache-2.0" ]
null
null
null
src/corgi/corgi_adapter.cpp
google/scene_lab
3f68e1cf48479ee6507b81092c392736e11085d5
[ "Apache-2.0" ]
20
2015-11-19T10:07:28.000Z
2021-09-05T08:52:43.000Z
// Copyright 2016 Google 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 // // Unless required by applicable...
35.377522
80
0.701043
[ "object", "vector", "transform" ]
2d8f41ebec71c1c06a0e58010af3b005d2d7738c
10,916
cpp
C++
math/applications/ellipsoid-calc.cpp
mission-systems-pty-ltd/snark
2bc8a20292ee3684d3a9897ba6fee43fed8d89ae
[ "BSD-3-Clause" ]
63
2015-01-14T14:38:02.000Z
2022-02-01T09:56:03.000Z
math/applications/ellipsoid-calc.cpp
NEU-LC/snark
db890f73f4c4bbe679405f3a607fd9ea373deb2c
[ "BSD-3-Clause" ]
39
2015-01-21T00:57:38.000Z
2020-04-22T04:22:35.000Z
math/applications/ellipsoid-calc.cpp
NEU-LC/snark
db890f73f4c4bbe679405f3a607fd9ea373deb2c
[ "BSD-3-Clause" ]
36
2015-01-15T04:17:14.000Z
2022-02-17T17:13:35.000Z
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2011 The University of Sydney // 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. Redistr...
53.509804
201
0.579608
[ "shape", "vector" ]
2d90a6dd55d4fa621cbc3173332cc6cb14e9bfda
1,922
hpp
C++
packages/subsets/subsets/Sweep3.hpp
CryptoExperts/AC21-divprop-convexity
ed4fb715c484b12413a5c59e4f189bcc37889449
[ "MIT" ]
4
2021-11-13T03:31:00.000Z
2022-02-25T02:02:58.000Z
packages/subsets/subsets/Sweep3.hpp
CryptoExperts/AC21-divprop-convexity
ed4fb715c484b12413a5c59e4f189bcc37889449
[ "MIT" ]
null
null
null
packages/subsets/subsets/Sweep3.hpp
CryptoExperts/AC21-divprop-convexity
ed4fb715c484b12413a5c59e4f189bcc37889449
[ "MIT" ]
null
null
null
#pragma once #include "common.hpp" #include "ternary.hpp" template<auto func, typename T> void GenericSweep3(vector<T> &arr, uint64_t mask) { auto size = arr.size(); int n = log3(size); ensure(arr.size() == pow3(n)); uint64_t hi = size / 3; uint64_t hi_stride = 3; uint64_t lo = 1; fori(i...
27.855072
83
0.525494
[ "vector" ]
2d976f822a6bbe91369ead35fb55da6db2561711
11,396
cpp
C++
src/sys/xml/sax_reader.cpp
itm/shawn
49cb715d0044a20a01a19bc4d7b62f9f209df83c
[ "BSD-3-Clause" ]
15
2015-07-07T15:48:30.000Z
2019-10-27T18:49:49.000Z
src/sys/xml/sax_reader.cpp
itm/shawn
49cb715d0044a20a01a19bc4d7b62f9f209df83c
[ "BSD-3-Clause" ]
null
null
null
src/sys/xml/sax_reader.cpp
itm/shawn
49cb715d0044a20a01a19bc4d7b62f9f209df83c
[ "BSD-3-Clause" ]
4
2016-11-23T05:50:01.000Z
2019-09-18T12:44:36.000Z
/************************************************************************ ** This file is part of the network simulator Shawn. ** ** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project ** ** Shawn is free software; you can redistribute it and/or modify it ** ** under the terms of t...
30.308511
113
0.409354
[ "object" ]
2da001dafcd63e73b82709ab4c4a56b1c2ba10c1
7,974
cpp
C++
Events/src/apKernelSourceBreakpointsUpdatedEvent.cpp
GPUOpen-Tools/common-src-AMDTAPIClasses
33c696c3b9d17d621675645bfa1437d67dc27d0b
[ "MIT" ]
1
2017-01-28T14:12:29.000Z
2017-01-28T14:12:29.000Z
Events/src/apKernelSourceBreakpointsUpdatedEvent.cpp
GPUOpen-Tools/common-src-AMDTAPIClasses
33c696c3b9d17d621675645bfa1437d67dc27d0b
[ "MIT" ]
null
null
null
Events/src/apKernelSourceBreakpointsUpdatedEvent.cpp
GPUOpen-Tools/common-src-AMDTAPIClasses
33c696c3b9d17d621675645bfa1437d67dc27d0b
[ "MIT" ]
2
2016-09-21T12:28:23.000Z
2019-11-01T23:07:02.000Z
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file apKernelSourceBreakpointsUpdatedEvent.cpp /// //==============================================================...
38.336538
148
0.576499
[ "object", "vector" ]
2da3b5e2a7ef740082f9d62769eb5e3282b0674b
4,783
hpp
C++
geom/SO3.hpp
kerail/Daisu
d028dd44bf94c3a94897b508beae4efc384bffd0
[ "MIT" ]
null
null
null
geom/SO3.hpp
kerail/Daisu
d028dd44bf94c3a94897b508beae4efc384bffd0
[ "MIT" ]
null
null
null
geom/SO3.hpp
kerail/Daisu
d028dd44bf94c3a94897b508beae4efc384bffd0
[ "MIT" ]
null
null
null
// // Created by kerail on 10.07.16. // #ifndef DAISU_SO3_HPP #define DAISU_SO3_HPP #include <Eigen/Core> #include <Eigen/Geometry> #include <cmath> #include <limits> template<class T> class SO3 { public: typedef Eigen::Matrix<T, 3, 1> Vector3; typedef Eigen::Matrix<T, 3, 3> Matrix33; typedef Eigen::Quaternio...
23.678218
89
0.533974
[ "geometry" ]
2da788061ca609972237276b0b0da98e263f90d9
3,507
hpp
C++
rclcpp/include/rclcpp/parameter.hpp
ApexAI/rclcpp
6b34bcc94c12e2213b6de7af57c3d10109402906
[ "Apache-2.0" ]
null
null
null
rclcpp/include/rclcpp/parameter.hpp
ApexAI/rclcpp
6b34bcc94c12e2213b6de7af57c3d10109402906
[ "Apache-2.0" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
rclcpp/include/rclcpp/parameter.hpp
ApexAI/rclcpp
6b34bcc94c12e2213b6de7af57c3d10109402906
[ "Apache-2.0" ]
1
2019-04-02T07:50:18.000Z
2019-04-02T07:50:18.000Z
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
21.515337
78
0.738523
[ "vector" ]
2da975d91b69019d28ad94bf7d645866588df2a6
13,961
cc
C++
tools/framebuffer_viewer/framebuffer_viewer.cc
tsubo164/Fujiyama-Renderer
a451548ba2f0f6379b523e0abf1df57c664f444c
[ "MIT" ]
36
2015-05-28T05:41:10.000Z
2021-06-07T15:43:54.000Z
tools/framebuffer_viewer/framebuffer_viewer.cc
tsubo164/Fujiyama-Renderer
a451548ba2f0f6379b523e0abf1df57c664f444c
[ "MIT" ]
1
2015-03-06T16:44:10.000Z
2015-06-25T05:45:49.000Z
tools/framebuffer_viewer/framebuffer_viewer.cc
tsubo164/Fujiyama-Renderer
a451548ba2f0f6379b523e0abf1df57c664f444c
[ "MIT" ]
6
2015-01-16T00:15:31.000Z
2018-07-08T22:00:08.000Z
// Copyright (c) 2011-2020 Hiroshi Tsubokawa // See LICENSE and README #include "framebuffer_viewer.h" #include "fj_framebuffer_io.h" #include "fj_rectangle.h" #include "fj_protocol.h" #include "fj_numeric.h" #include "fj_mipmap.h" #include "fj_color.h" #include "fj_box.h" #include "compatible_opengl.h" #include "loa...
22.886885
95
0.622663
[ "render" ]
2db8cdee0419c1e64da890d1960e5cfb69fe0e4f
2,096
cpp
C++
src/tracer.cpp
cormackikkert/cadical
a863ff9967bb271f40650e700d7c80f68aa95c3f
[ "MIT" ]
168
2016-11-15T17:41:23.000Z
2022-03-04T16:58:07.000Z
src/tracer.cpp
cormackikkert/cadical
a863ff9967bb271f40650e700d7c80f68aa95c3f
[ "MIT" ]
41
2018-01-29T17:07:12.000Z
2022-03-25T07:02:40.000Z
src/tracer.cpp
cormackikkert/cadical
a863ff9967bb271f40650e700d7c80f68aa95c3f
[ "MIT" ]
68
2017-12-04T22:31:21.000Z
2022-03-13T01:49:23.000Z
#include "internal.hpp" namespace CaDiCaL { /*------------------------------------------------------------------------*/ Tracer::Tracer (Internal * i, File * f, bool b) : internal (i), file (f), binary (b), added (0), deleted (0) { (void) internal; LOG ("TRACER new"); } Tracer::~Tracer () { LOG ("TRACER...
24.091954
76
0.517653
[ "vector" ]
2dbbddcf9870fc453b0140bcc0cf31fbb61d2d2f
1,322
hpp
C++
src/include/concore/as_scheduler.hpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
52
2020-05-23T21:34:33.000Z
2022-02-23T03:06:50.000Z
src/include/concore/as_scheduler.hpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
null
null
null
src/include/concore/as_scheduler.hpp
lucteo/concore
ffbc3b8cead7498ddad601dcf357fa72529f81ad
[ "MIT" ]
2
2021-05-06T18:41:25.000Z
2021-07-24T03:50:42.000Z
/** * @file as_scheduler.hpp * @brief Definition of @ref concore::v1::as_scheduler "as_scheduler" * * @see @ref concore::v1::as_scheduler "as_scheduler" */ #pragma once #include <concore/as_sender.hpp> namespace concore { inline namespace v1 { /** * @brief Wrapper that transforms an executor into a ...
25.921569
100
0.6823
[ "model" ]
2dbf7d940131cae96f90d5f3a8449bc13df53ccf
15,594
cpp
C++
human_activity_anticipation/src/featuresRGBD_skel.cpp
birlrobotics/birlBaxter_demos
a4871cbf2587a759c958c8451746554e1663e829
[ "MIT" ]
24
2016-12-29T11:17:41.000Z
2021-12-06T00:49:10.000Z
human_activity_anticipation/src/featuresRGBD_skel.cpp
birlrobotics/birlBaxter_demos
a4871cbf2587a759c958c8451746554e1663e829
[ "MIT" ]
2
2019-11-20T05:52:02.000Z
2019-12-30T09:07:56.000Z
human_activity_anticipation/src/featuresRGBD_skel.cpp
birlrobotics/birlBaxter_demos
a4871cbf2587a759c958c8451746554e1663e829
[ "MIT" ]
9
2018-02-10T06:12:12.000Z
2021-10-11T11:56:07.000Z
#include <vector> #include <assert.h> //#include "Point2D.h" //#include "HOG.cpp" //#include "HOGFeaturesOfBlock.cpp" using namespace std; enum BodyPart { HEAD, TORSO, LEFTARM, RIGHTARM, LEFTHAND, RIGHTHAND, FULLBODY }; class FeaturesSkelRGBD{ public: FILE* pRecFile; bool mirrored; static const int BLOCK...
36.013857
115
0.66205
[ "object", "vector" ]
2dcb90d149789df4c80c2acdb32d58a19b92e45f
26,234
cpp
C++
src/modules/linear_systems/sparse_linear_systems.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
4
2018-09-18T07:44:22.000Z
2021-11-14T19:45:18.000Z
src/modules/linear_systems/sparse_linear_systems.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
1
2018-09-06T05:50:17.000Z
2018-09-06T05:50:17.000Z
src/modules/linear_systems/sparse_linear_systems.cpp
fmcquillan99/apache-madlib
e2dea62d1eadc7f662f2d926c71f42332f414ca0
[ "Apache-2.0" ]
1
2019-09-03T20:50:13.000Z
2019-09-03T20:50:13.000Z
/* ----------------------------------------------------------------------- *//** * * @file sparse_linear_systems.cpp * * @brief sparse linear systems * * We implement sparse linear systems using the direct. * *//* ----------------------------------------------------------------------- */ #include <limits> #inc...
33.633333
101
0.624647
[ "object", "vector" ]
2dd045504880c85dae166e783afbcae18675113d
6,618
cpp
C++
mainwindow.cpp
karolyi15/C-idle-
384c7104092cf6de31022dbedd101fa2ba7ee970
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
karolyi15/C-idle-
384c7104092cf6de31022dbedd101fa2ba7ee970
[ "Apache-2.0" ]
null
null
null
mainwindow.cpp
karolyi15/C-idle-
384c7104092cf6de31022dbedd101fa2ba7ee970
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" //*****************************************MAIN WINDOW*******************************************// //***********************************************************************************************// MainWindow::MainWindow(){ //****************************OBJEC...
29.945701
99
0.504382
[ "geometry" ]
2dd2656cab9271b3cee6de3e91cece008f3f588c
6,866
cpp
C++
DFS/332. Reconstruct Itinerary.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
DFS/332. Reconstruct Itinerary.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
DFS/332. Reconstruct Itinerary.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 332. Reconstruct Itinerary Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of the tickets belong to a man who departs from JFK. Thus, the itinerary must begin with JFK. Note: If there are multiple valid itinerarie...
36.913978
140
0.578357
[ "vector" ]
2dd5de12ace13f1ce04a7521dfa289be9164de19
4,274
cpp
C++
cpptest.cpp
taboege/libpropcalc
b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6
[ "Artistic-2.0" ]
1
2021-06-01T01:08:56.000Z
2021-06-01T01:08:56.000Z
cpptest.cpp
taboege/libpropcalc
b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6
[ "Artistic-2.0" ]
null
null
null
cpptest.cpp
taboege/libpropcalc
b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6
[ "Artistic-2.0" ]
null
null
null
#include <iostream> #include <sstream> #include <string> #include <propcalc/propcalc.hpp> using namespace std; string dimacs = R"( c Gaussoids on n=3 p cnf 6 42 1 4 -3 0 1 4 -2 0 2 4 -1 0 2 4 -3 0 1 3 -2 0 1 3 -4 0 1 2 -3 -5 0 3 2 -1 0 3 2 -4 0 4 2 -3 0 4 2 -1 0 3 1 -4 0 3 1 -2 0 3 4 -1 -5 0 1 6 -5 0 1 6 -2 0 2 6 -1...
21.585859
94
0.543519
[ "transform" ]
2de025cd8b536394aeaf4982259eb28f8934648a
1,054
cpp
C++
test/cppworkspace/test/src/testcase_namespaces/test_ptrs.cpp
farre/midas
f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d
[ "MIT" ]
null
null
null
test/cppworkspace/test/src/testcase_namespaces/test_ptrs.cpp
farre/midas
f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d
[ "MIT" ]
16
2022-02-09T09:46:20.000Z
2022-03-28T13:03:31.000Z
test/cppworkspace/test/src/testcase_namespaces/test_ptrs.cpp
farre/midas
f31a0e6eea6e74186a1dad11c1a81bd913ef3c4d
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <map> #include <algorithm> using usize = std::size_t; static int W_ID = 0; struct Ref { int* value = nullptr; bool has_value() const { return value != nullptr; } }; struct Foo { std::string name; int id; float f; }; struct Widget { static Wid...
22.425532
94
0.547438
[ "vector" ]
2de65194e927641cd1fd0a82a160079857675e74
3,742
cpp
C++
third_party/CppAD/example/utility/lu_invert.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/example/utility/lu_invert.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/example/utility/lu_invert.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-20 Bradley M. Bell CppAD is distributed under the terms of the Eclipse Public License Version 2.0. This Source Code may also be made available under the following Secon...
28.784615
79
0.435329
[ "vector" ]
2de7eed83921ec692b075a3702fbfb4c3f258052
5,337
cpp
C++
src/mytest.cpp
boldwings/GALGO-2.0
d066dfc4629571245a0e1070d75158fffc41339f
[ "MIT" ]
null
null
null
src/mytest.cpp
boldwings/GALGO-2.0
d066dfc4629571245a0e1070d75158fffc41339f
[ "MIT" ]
null
null
null
src/mytest.cpp
boldwings/GALGO-2.0
d066dfc4629571245a0e1070d75158fffc41339f
[ "MIT" ]
null
null
null
//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #include "Galgo.hpp...
36.306122
137
0.609144
[ "vector" ]
2de90d5cc1de292aeac4d8e8e5153e735917ce72
9,911
cpp
C++
TMessagesProj/jni/gifvideo.cpp
Fghgfh/Reyhangram
4ffba4522ad889f16dfe5b159ae169265d09ff34
[ "Apache-2.0" ]
null
null
null
TMessagesProj/jni/gifvideo.cpp
Fghgfh/Reyhangram
4ffba4522ad889f16dfe5b159ae169265d09ff34
[ "Apache-2.0" ]
null
null
null
TMessagesProj/jni/gifvideo.cpp
Fghgfh/Reyhangram
4ffba4522ad889f16dfe5b159ae169265d09ff34
[ "Apache-2.0" ]
null
null
null
#include <jni.h> #include <utils.h> #include <libyuv.h> #include <android/bitmap.h> #include <cstdint> #include <limits> #include <string> extern "C" { #include <libavformat/avformat.h> #include <libavutil/eval.h> static const std::string av_make_error_str(int errnum) { char errbuf[AV_ERROR_MAX_STRING_SIZE]; ...
34.294118
276
0.539199
[ "object" ]
2df8b9fc6db3d822039d42b968612dbaaf72942a
715
hpp
C++
libraries/chain/include/scorum/chain/evaluators/update_game_markets_evaluator.hpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
libraries/chain/include/scorum/chain/evaluators/update_game_markets_evaluator.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
libraries/chain/include/scorum/chain/evaluators/update_game_markets_evaluator.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
#pragma once #include <vector> #include <scorum/protocol/scorum_operations.hpp> #include <scorum/chain/evaluators/evaluator.hpp> namespace scorum { namespace chain { struct account_service_i; struct game_service_i; struct betting_service_i; class update_game_markets_evaluator : public evaluator_impl<data_service_fac...
24.655172
114
0.812587
[ "vector" ]
2dfd1b4a924fc034cdc66f454bc5c7cee9aa932c
2,289
cpp
C++
Problems/Hackerrank/variableSizedArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/Hackerrank/variableSizedArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/Hackerrank/variableSizedArray.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
//------------------------------------------- //---------- Variable Sized Arrays ---------- //------------------------------------------- /* Descr.: Consider an n-element array, a, where each index i in the array contains a reference to an array of k integers (where the value of k varies from array to array). Given...
31.791667
163
0.598952
[ "vector" ]
93009589434ff57b72e97d7903e3b910661545fa
431
hpp
C++
src/problem/instance.hpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
6
2018-02-15T03:54:35.000Z
2022-02-24T03:06:05.000Z
src/problem/instance.hpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
null
null
null
src/problem/instance.hpp
ctjandra/ddopt-bounds
aaf7407da930503a17969cee71718ffcf0c1fe96
[ "MIT" ]
2
2021-01-07T02:29:55.000Z
2021-12-05T13:21:13.000Z
/* * Abstract classes that need to be implemented in order to model a new problem to be solved. */ #ifndef INSTANCE_HPP_ #define INSTANCE_HPP_ class Instance { public: double* weights; /**< (linear) objective function (maximize) */ int nvars; ...
21.55
103
0.561485
[ "model" ]
9301b2f83dc9ea536405e3d781ab1078fd09b310
7,450
cpp
C++
src/Plugins/CameraApplication/CameraApplication.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
13
2015-02-25T02:42:38.000Z
2018-07-31T11:40:56.000Z
src/Plugins/CameraApplication/CameraApplication.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
8
2015-02-12T22:27:05.000Z
2017-01-21T15:59:17.000Z
src/Plugins/CameraApplication/CameraApplication.cpp
realXtend/tundra-urho3d
436d41c3e3dd1a9b629703ee76fd0ef2ee212ef8
[ "Apache-2.0" ]
12
2015-03-25T21:10:50.000Z
2019-04-10T09:03:10.000Z
// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "CameraApplication.h" #include "GraphicsWorld.h" #include "Framework.h" #include "Placeable.h" #include "../UrhoRenderer/Camera.h" // Possible ambiguity with Urho3D's Camera component #include "SceneAPI.h" #i...
30.284553
152
0.673289
[ "transform" ]
93020b3298bc1006c69ab23db8baca6768c5ddb6
1,592
cpp
C++
examples/google-code-jam/cchao/c (1).cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/cchao/c (1).cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/cchao/c (1).cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <cctype> #include <iostream> #include <sstream> #include <algorithm> #include <stack> #include <queue> #include <deque> #include <vector> #include <map> #include <set> using namespace std; struct mountain { int h; int up; int ...
20.675325
59
0.356784
[ "vector" ]
9304e76a4750fa3d14b64b22cfa67c15549ce73c
2,498
hh
C++
Original Geant4 code/include/ExN03RunAction.hh
ArtistMonkey83/MEGALib_SSGX
b1493cef112c06621322a5d2d21eb504bd9ef8e1
[ "Apache-2.0" ]
null
null
null
Original Geant4 code/include/ExN03RunAction.hh
ArtistMonkey83/MEGALib_SSGX
b1493cef112c06621322a5d2d21eb504bd9ef8e1
[ "Apache-2.0" ]
null
null
null
Original Geant4 code/include/ExN03RunAction.hh
ArtistMonkey83/MEGALib_SSGX
b1493cef112c06621322a5d2d21eb504bd9ef8e1
[ "Apache-2.0" ]
1
2018-04-09T00:10:04.000Z
2018-04-09T00:10:04.000Z
// // ExN03RunAction.hh CIPHER 3 // #ifndef ExN03RunAction_h #define ExN03RunAction_h 1 #include "G4VPhysicalVolume.hh" #include "G4VTouchable.hh" #include "G4TouchableHistory.hh" #include "G4UserRunAction.hh" #include "globals.hh" #include "G4ios.hh" #include "iomanip" #include <assert.h> #include "iostream" #incl...
19.515625
123
0.672538
[ "vector" ]
930553f60ad6d9954b40bfd852109c6ed668950e
2,295
cpp
C++
MegaManX3/StageMiniBoss1.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
7
2019-09-19T06:59:47.000Z
2022-01-26T10:21:49.000Z
MegaManX3/StageMiniBoss1.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
3
2020-01-20T04:28:59.000Z
2020-01-20T05:01:43.000Z
MegaManX3/StageMiniBoss1.cpp
bboyturtles13/Mega-Man-X3
b84b35176d72cf43cbce6fd34c5e8e28638a442a
[ "MIT" ]
6
2019-11-15T02:13:12.000Z
2022-01-27T12:30:29.000Z
#include "StageMiniBoss1.h" StageMiniBoss1::StageMiniBoss1() { gateLeft = new Gate(2304, 897, 16, 48, false); gateRight = new Gate(2546, 897, 16, 48, false); gateLeft->state = GateOpen; gateRight->state = GateLock; genjibo = new Genjibo(-1, 2518, 700); shurikein = new Shurikein(-1, 2518, 920); shurikein->s...
19.784483
104
0.679303
[ "render" ]
930c9ebd54405e6956dae16e319fb5e227e3dea1
584
cpp
C++
1046.最后一块石头的重量/lastStoneWeight.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2019-10-21T14:40:39.000Z
2019-10-21T14:40:39.000Z
1046.最后一块石头的重量/lastStoneWeight.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
null
null
null
1046.最后一块石头的重量/lastStoneWeight.cpp
YichengZhong/Top-Interview-Questions
124828d321f482a0eaa30012b3706267487bfd24
[ "MIT" ]
1
2020-11-04T07:33:34.000Z
2020-11-04T07:33:34.000Z
class Solution { public: int lastStoneWeight(vector<int>& stones) { if(stones.size()==0) { return 0; } while(stones.size()>1) { sort(stones.begin(),stones.end()); int temp=stones[stones.size()-1]-stones[stones.size()-2]; stone...
18.83871
69
0.410959
[ "vector" ]
930d9fd68ebe936f407394cc86d6dd48d129f350
9,097
cpp
C++
src/emulator.cpp
YuviTz1/Gameboy-Emulator
f666d4b75cbbac74695b695358d24d97fc63546b
[ "MIT" ]
null
null
null
src/emulator.cpp
YuviTz1/Gameboy-Emulator
f666d4b75cbbac74695b695358d24d97fc63546b
[ "MIT" ]
null
null
null
src/emulator.cpp
YuviTz1/Gameboy-Emulator
f666d4b75cbbac74695b695358d24d97fc63546b
[ "MIT" ]
null
null
null
#include "emulator.h" Emulator::Emulator() { cpu.init(&memory); display.init(&memory); } // Start emulation of CPU void Emulator::run() { sf::Time time; while(display.window.isOpen()) { // CPU cycles to emulate per frame draw float cycles_per_frame = cpu.CLOCK_SPEED / framerate; float time_between_frames ...
20.215556
84
0.666154
[ "render" ]
9314336af542be5816dfa29781485b38dc8705dc
2,216
cpp
C++
boost/libs/functional/hash/test/hash_std_tuple_test.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
2
2018-12-15T19:56:07.000Z
2021-01-10T09:49:33.000Z
boost/libs/functional/hash/test/hash_std_tuple_test.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
null
null
null
boost/libs/functional/hash/test/hash_std_tuple_test.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1
2020-11-23T01:52:12.000Z
2020-11-23T01:52:12.000Z
// Copyright 2012 Daniel James. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "./config.hpp" #ifdef TEST_EXTENSIONS # ifdef TEST_STD_INCLUDES # include <functional> # else # include <boost/func...
28.410256
80
0.676895
[ "vector" ]
7939eab53de948fce81925d1435d744f5c30df2b
5,084
cpp
C++
src/Util/JoystickWindows.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
2
2019-01-24T17:57:49.000Z
2021-09-21T21:42:22.000Z
src/Util/JoystickWindows.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
null
null
null
src/Util/JoystickWindows.cpp
jun0/choreonoid
37167e52bfa054088272e1924d2062604104ac08
[ "MIT" ]
1
2020-12-11T06:42:16.000Z
2020-12-11T06:42:16.000Z
/** @author Shizuko Hattori @author Shin'ichiro Nakaoka */ #include "Joystick.h" #include "ExtJoystick.h" #include <boost/dynamic_bitset.hpp> #include <windows.h> #include <mmsystem.h> #include <vector> #include <string> using namespace std; using namespace cnoid; namespace cnoid { class JoystickImpl { publi...
19.629344
96
0.584382
[ "vector" ]
793b710791a78272b44f90111aada0d652a76940
742
cc
C++
src/388.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
src/388.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
src/388.cc
o-olll/shuati
64a031a5218670afd4bdbba5d3af3c428757b3fd
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <sstream> #include <vector> #include <unordered_map> #include <string> #include "utils.h" using namespace std; int lengthLongestPath(string input) { istringstream iss(input); string line; unordered_map<int,int> counts; int res = 0; while (getline(iss, line)) { ...
19.025641
49
0.567385
[ "vector" ]
793ebfaba00ceed0f8fd165d2509f5a24f1739ff
7,557
cpp
C++
source/test_core/test_analytical_solver_implementation.cpp
UshakovSergeySergey/kinverse
bae781e885cfa0771ec8e53506ec5cc57ac17154
[ "BSD-3-Clause" ]
1
2020-12-19T13:40:31.000Z
2020-12-19T13:40:31.000Z
source/test_core/test_analytical_solver_implementation.cpp
UshakovSergeySergey/kinverse
bae781e885cfa0771ec8e53506ec5cc57ac17154
[ "BSD-3-Clause" ]
13
2020-12-09T10:57:31.000Z
2020-12-19T13:01:52.000Z
source/test_core/test_analytical_solver_implementation.cpp
UshakovSergeySergey/kinverse
bae781e885cfa0771ec8e53506ec5cc57ac17154
[ "BSD-3-Clause" ]
null
null
null
/** * BSD 3-Clause License * * Copyright (c) 2020, Sergey Ushakov * 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 no...
41.751381
153
0.72767
[ "vector" ]
794166e253991be6145b51c1d31becbb53e75b5d
1,233
cpp
C++
p1108.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
p1108.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
p1108.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <string> using namespace std; bool is_legal(string& str) { int dotcnt = 0; int afterdot = 0; int negcnt = 0; int len = str.size(); bool dot = false; for (int i = 0; i < len; i++) { auto x = str[i]; if (x == '-') { negcnt++; if (negcnt > ...
16.890411
65
0.537713
[ "vector" ]
79467e033970c501505008f5079d6c6786328f49
13,288
cpp
C++
src/ransac_plain.cpp
michaelczhou/travel_mod
198ac84f012ba7acca1c58b895a5edffaf8360e3
[ "MIT" ]
null
null
null
src/ransac_plain.cpp
michaelczhou/travel_mod
198ac84f012ba7acca1c58b895a5edffaf8360e3
[ "MIT" ]
null
null
null
src/ransac_plain.cpp
michaelczhou/travel_mod
198ac84f012ba7acca1c58b895a5edffaf8360e3
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <time.h> #include "Eigen/Dense" #include <opencv2/opencv.hpp> namespace RANSAC { using namespace std; using namespace cv; // Parallel Loop Body to determine whether the point is on the plane class Parallel_Cos: public ParallelLoopBody { ...
36.01084
180
0.47193
[ "vector", "model" ]
7947e95620dd417fbb0512d015a61f9f635cf107
4,346
cpp
C++
c++/print.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
38
2018-09-17T18:16:24.000Z
2022-02-10T10:26:23.000Z
c++/print.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
1
2020-10-01T10:48:45.000Z
2020-10-04T11:27:44.000Z
c++/print.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
12
2018-11-13T13:36:41.000Z
2021-05-02T10:07:44.000Z
/// Name: PrintFunctions /// Description: Print function for various containers /// Detail: /// Guarantee: } // PrintFunctions // Print function prototype template <typename T> void print(const T data); void print(const __int128_t data); void print(const __uint128_t data); template <typename T, typen...
18.260504
55
0.492637
[ "vector" ]
79499c8bda40f749dc0b8701af08e8d14d026cb9
8,502
cpp
C++
EU4toV2/Source/Configuration.cpp
nickbabcock/EU4toVic2
e81ccd21e1218c92193aae6c7d98d96697fc46ab
[ "MIT" ]
1
2020-07-10T15:37:02.000Z
2020-07-10T15:37:02.000Z
EU4toV2/Source/Configuration.cpp
nickbabcock/EU4toVic2
e81ccd21e1218c92193aae6c7d98d96697fc46ab
[ "MIT" ]
null
null
null
EU4toV2/Source/Configuration.cpp
nickbabcock/EU4toVic2
e81ccd21e1218c92193aae6c7d98d96697fc46ab
[ "MIT" ]
null
null
null
#include "Configuration.h" #include "Log.h" #include "OSCompatibilityLayer.h" #include "ParserHelpers.h" #include <fstream> #include <vector> #include "CommonFunctions.h" Configuration theConfiguration; void Configuration::instantiate(std::istream& theStream, bool (*DoesFolderExist)(const std::string& path2), bool (*...
45.956757
159
0.740061
[ "vector" ]
79503b8ed683b877e752c8ce49d55e0c020e2023
15,184
cpp
C++
workspace/src/EKF/EKF.cpp
arunj088/barc
859b385480e16de16cc4c4adb57f49e98bfd3ade
[ "MIT" ]
null
null
null
workspace/src/EKF/EKF.cpp
arunj088/barc
859b385480e16de16cc4c4adb57f49e98bfd3ade
[ "MIT" ]
4
2020-02-12T02:28:33.000Z
2021-06-10T21:49:51.000Z
workspace/src/EKF/EKF.cpp
arunj088/barc
859b385480e16de16cc4c4adb57f49e98bfd3ade
[ "MIT" ]
null
null
null
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // // File: EKF.cpp // // Code generated for Simulink model 'EKF'. // // Model version : 1....
30.551308
86
0.593322
[ "model" ]
7957f1cb159565909dedd79ba4be3c5f1abe2fdc
1,615
cpp
C++
PTA/1015.cpp
wenbo1188/Data-Structure-Review
727f65af03c8c76eafefd5dff6208392ce7a1298
[ "MIT" ]
null
null
null
PTA/1015.cpp
wenbo1188/Data-Structure-Review
727f65af03c8c76eafefd5dff6208392ce7a1298
[ "MIT" ]
null
null
null
PTA/1015.cpp
wenbo1188/Data-Structure-Review
727f65af03c8c76eafefd5dff6208392ce7a1298
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define MAX 10010 typedef struct pair { int num; int radix; }PAIR; int judge_prime(int num) { if (num == 1) { return 0; } if (num == 2) { return 1; } for (int i = 2;i <= (int)sqrt(num);++i) { if (num % i ==...
16.15
48
0.364087
[ "vector" ]
795886dace5e70a2bdbd59bdf7171fb43d88f304
2,866
cpp
C++
kernel/platform/pc/src/irq/pic.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
4
2021-06-22T20:52:30.000Z
2022-02-04T00:19:44.000Z
kernel/platform/pc/src/irq/pic.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
kernel/platform/pc/src/irq/pic.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
#include "pic.h" #include <arch/x86_io.h> /// Master PIC IO address #define PIC1 0x20 /// Slave PIC IO address #define PIC2 0xA0 #define PIC1_COMMAND PIC1 #define PIC1_DATA (PIC1+1) #define PIC2_COMMAND PIC2 #define PIC2_DATA (PIC...
27.037736
103
0.633287
[ "vector" ]
795ddd4cad289a718348f0ae2d3f21f6936f41f4
1,726
cpp
C++
common/util/os.cpp
LuminarLight/jak-project
f341be65e9848977158c9a9a2898f0f047a157df
[ "ISC" ]
54
2022-02-08T13:07:50.000Z
2022-03-31T14:18:42.000Z
common/util/os.cpp
LuminarLight/jak-project
f341be65e9848977158c9a9a2898f0f047a157df
[ "ISC" ]
120
2022-02-08T05:19:11.000Z
2022-03-30T22:26:52.000Z
common/util/os.cpp
LuminarLight/jak-project
f341be65e9848977158c9a9a2898f0f047a157df
[ "ISC" ]
8
2022-02-13T22:39:55.000Z
2022-03-30T02:17:57.000Z
#include "os.h" #include "common/common_types.h" #ifdef __linux__ #include <sys/resource.h> size_t get_peak_rss() { rusage x; getrusage(RUSAGE_SELF, &x); return x.ru_maxrss * 1024; } #else size_t get_peak_rss() { return 0; } #endif #ifdef _WIN32 // windows has a __cpuid #include <intrin.h> #else // using ...
19.613636
74
0.561414
[ "model" ]
795debbf19421525dbc7cc7e59887876cc2effbf
8,431
cpp
C++
create_image_task.cpp
The-never-lemon/Fractal_Designer
88df89caafd7cb623fdbc26bcdf6a1efe88cdb84
[ "MIT" ]
null
null
null
create_image_task.cpp
The-never-lemon/Fractal_Designer
88df89caafd7cb623fdbc26bcdf6a1efe88cdb84
[ "MIT" ]
null
null
null
create_image_task.cpp
The-never-lemon/Fractal_Designer
88df89caafd7cb623fdbc26bcdf6a1efe88cdb84
[ "MIT" ]
null
null
null
#include "create_image_task.h" #include "mainwindow.h" Create_Image_Task::Create_Image_Task(QWidget* parent) { MainWindow* p = (MainWindow*) parent; connect(this, &Create_Image_Task::updateImage_preview, p, &MainWindow::getImage); connect(this, &Create_Image_Task::progressInform_previ...
37.30531
193
0.49401
[ "vector" ]
795e31053e8440aef12ea941b844f8a7f6c4b6ef
5,134
cpp
C++
src/Utils/tests/TestDoubleBufferContainer.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2021-02-26T05:25:48.000Z
2021-09-16T22:30:41.000Z
src/Utils/tests/TestDoubleBufferContainer.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
1
2019-10-19T10:36:43.000Z
2019-10-19T10:36:43.000Z
src/Utils/tests/TestDoubleBufferContainer.cpp
Megaxela/HGEngineReloaded
62d319308c2d8a62f6854721c31afc4981aa13df
[ "MIT" ]
2
2019-10-22T18:56:59.000Z
2020-03-12T04:38:31.000Z
// HG::Utils #include <HG/Utils/DoubleBufferContainer.hpp> // GTest #include <gtest/gtest.h> TEST(Utils, DoubleBufferContainerConstructorsDefault) { HG::Utils::DoubleBufferContainer<std::size_t> data; ASSERT_EQ(data.size(), 0); ASSERT_EQ(data.added().size(), 0); ASSERT_EQ(data.current().size(), 0); ...
21.302905
72
0.613946
[ "vector" ]
79644a6aaa7d91a15a670d8c54ca74b162d71e14
16,278
cpp
C++
applications/3DimViewer/src/CDataInfoDialog.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
6
2020-04-14T16:10:55.000Z
2021-05-21T07:13:55.000Z
applications/3DimViewer/src/CDataInfoDialog.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
null
null
null
applications/3DimViewer/src/CDataInfoDialog.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
2
2020-07-24T16:25:38.000Z
2021-01-19T09:23:18.000Z
/////////////////////////////////////////////////////////////////////////////// // $Id$ // // 3DimViewer // Lightweight 3D DICOM viewer. // // Copyright 2008-2016 3Dim Laboratory s.r.o. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with...
36.911565
215
0.609657
[ "geometry", "model", "3d" ]
7975f1ba9dc2948c2cbaf38abc401284497b7328
5,739
cpp
C++
src/highlevel_feature_extractor.cpp
sanmit/HFO-benchmark
0104ff7527485c8a7c159e6bf16c410eded72c0a
[ "MIT" ]
null
null
null
src/highlevel_feature_extractor.cpp
sanmit/HFO-benchmark
0104ff7527485c8a7c159e6bf16c410eded72c0a
[ "MIT" ]
null
null
null
src/highlevel_feature_extractor.cpp
sanmit/HFO-benchmark
0104ff7527485c8a7c159e6bf16c410eded72c0a
[ "MIT" ]
null
null
null
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include "highlevel_feature_extractor.h" #include <rcsc/common/server_param.h> using namespace rcsc; HighLevelFeatureExtractor::HighLevelFeatureExtractor(int num_teammates, int num_opponents, ...
36.322785
88
0.670326
[ "vector" ]
7977266d7e4e97b114dedb47b4d556608cf67335
7,962
cpp
C++
src/mlpack/methods/decision_tree/decision_tree_main.cpp
NaxAlpha/mlpack-build
1f0c1454d4b35eb97ff115669919c205cee5bd1c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/decision_tree/decision_tree_main.cpp
NaxAlpha/mlpack-build
1f0c1454d4b35eb97ff115669919c205cee5bd1c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/decision_tree/decision_tree_main.cpp
NaxAlpha/mlpack-build
1f0c1454d4b35eb97ff115669919c205cee5bd1c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file decision_tree_main.cpp * @author Ryan Curtin * * A command-line program to build a decision tree. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If...
36.691244
80
0.657498
[ "model" ]
79777685ef5bc99fb2c20df1c581956d3b895f8a
6,029
cpp
C++
poincare/src/code_point_layout.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,442
2017-08-28T19:39:45.000Z
2022-03-30T00:56:14.000Z
poincare/src/code_point_layout.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,321
2017-08-28T23:03:10.000Z
2022-03-31T19:32:17.000Z
poincare/src/code_point_layout.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
421
2017-08-28T22:02:39.000Z
2022-03-28T20:52:21.000Z
#include <poincare/code_point_layout.h> #include <poincare/layout_helper.h> #include <poincare/serialization_helper.h> #include <escher/metric.h> namespace Poincare { // LayoutNode void CodePointLayoutNode::moveCursorLeft(LayoutCursor * cursor, bool * shouldRecomputeLayout, bool forSelection) { if (cursor->position...
37.918239
184
0.699619
[ "render" ]
797b20ca247f32d43e8d308f90e336386be62e6e
4,964
hpp
C++
src/task_thread.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
1
2020-12-12T16:51:58.000Z
2020-12-12T16:51:58.000Z
src/task_thread.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
src/task_thread.hpp
ptrmu/camsim
2d79bf2eff32a33aca81cc205cb9256937abcbed
[ "BSD-3-Clause" ]
null
null
null
#ifndef _TASK_THREAD_HPP #define _TASK_THREAD_HPP #include <atomic> #include <condition_variable> #include <chrono> #include <functional> #include <future> #include <mutex> #include <queue> #include <thread> namespace task_thread { // Items are moved into the queue. In other words, The queue takes // ownership o...
24.574257
112
0.581789
[ "object" ]
7981afa3b09e52d428d65ac2471919cf6f6d1459
17,872
cc
C++
src/update_engine/ext2_metadata.cc
coreos/update_engine
b0a992aca295028f9854a9036f1e089c09539fb1
[ "BSD-3-Clause" ]
34
2015-01-29T16:35:35.000Z
2021-11-18T20:17:00.000Z
src/update_engine/ext2_metadata.cc
coreos/update_engine
b0a992aca295028f9854a9036f1e089c09539fb1
[ "BSD-3-Clause" ]
81
2015-01-30T17:41:45.000Z
2018-07-12T09:16:15.000Z
src/update_engine/ext2_metadata.cc
flatcar-linux/update_engine
748eb99b18b67747f2e047327e9f2a18aa09d3b5
[ "BSD-3-Clause" ]
39
2015-04-08T23:49:19.000Z
2022-03-15T12:10:45.000Z
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <string> #include <vector> #include <et/com_err.h> #include <ext2fs/ext2_io.h> #include <ext2fs/ext2fs.h> #include ...
36.032258
78
0.582867
[ "vector" ]
798231e1595310a316b83dd0010e1b96cd594655
540
cpp
C++
algorithms/RotateImage/solution.cpp
senlinzhan/algorithms
8a8ba89844d645f3e0461e81e25c0bb44b837521
[ "MIT" ]
2
2017-12-02T05:47:10.000Z
2018-01-08T08:43:15.000Z
algorithms/RotateImage/solution.cpp
senlinzhan/algorithms
8a8ba89844d645f3e0461e81e25c0bb44b837521
[ "MIT" ]
null
null
null
algorithms/RotateImage/solution.cpp
senlinzhan/algorithms
8a8ba89844d645f3e0461e81e25c0bb44b837521
[ "MIT" ]
1
2018-07-06T02:14:18.000Z
2018-07-06T02:14:18.000Z
class Solution { public: void rotate(vector<vector<int>>& matrix) { int size = matrix.size(); for (int i = 0; i < size - 1; i++) { for (int j = 0; j < size - i - 1; j++) { std::swap(matrix[i][j], matrix[size - j - 1][size - i - 1]); } ...
22.5
76
0.348148
[ "vector" ]
7983e86fe8f46686dba2060fed54bd542489c233
509
cpp
C++
OJ/codeforces.com/500A.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
14
2018-06-21T14:41:26.000Z
2021-12-19T14:43:51.000Z
OJ/codeforces.com/500A.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
null
null
null
OJ/codeforces.com/500A.cpp
webturing/CPlusPlus
6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f
[ "AFL-2.0" ]
2
2020-04-20T11:16:53.000Z
2021-01-02T15:58:35.000Z
// // Created by jal on 2019-05-25. // #include <bits/stdc++.h> using namespace std; int main(){ int n, t; cin >> n >> t; t--; vector<int>v(n); for(int i = 0; i < n-1; i++){ cin >> v[i]; } int i = 0; int flag = 0; while(i < n-1){ if(i == t){ flag = 1; ...
15.90625
33
0.353635
[ "vector" ]
798aec5c0616922dc193b2171d187580b4876aef
366
cpp
C++
CMinus/CMinus/type/type_with_storage.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_with_storage.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_with_storage.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
#include "type_with_storage.h" cminus::type::with_storage::with_storage(const std::string &name, logic::storage::object *parent) : storage_base_type(name, parent){} cminus::type::with_storage::~with_storage() = default; void cminus::type::with_storage::print(logic::runtime &runtime, bool is_qualified) const{ stora...
33.272727
97
0.76776
[ "object" ]
799131fd6796ac866b46396581ede99c8f87e93b
7,601
cpp
C++
src/amalg/Amalg.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
578
2019-05-04T09:09:42.000Z
2022-03-27T23:02:21.000Z
src/amalg/Amalg.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
14
2019-05-11T14:34:56.000Z
2021-02-02T07:06:46.000Z
src/amalg/Amalg.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
42
2019-05-11T16:04:19.000Z
2022-01-24T02:21:43.000Z
#include <stl/string.h> #include <stl/set.h> #include <stl/map.h> #include <stl/algorithm.h> #include <infra/Vector.h> #include <infra/File.h> #include <infra/StringOps.h> #include <amalg/Amalg.h> #include <stl/string.hpp> #include <stl/vector.hpp> #include <stl/unordered_set.hpp> #include <stl/unordered_map.hpp> #in...
28.04797
164
0.634653
[ "vector" ]
7992938eafb3ff348358cf1ec9b353801ffc10a7
13,523
cpp
C++
src/indexing/test/indexing.cpp
lynshi/CCF
a651fb542eab3f53431bf791d6d31c81d0d6ee51
[ "Apache-2.0" ]
null
null
null
src/indexing/test/indexing.cpp
lynshi/CCF
a651fb542eab3f53431bf791d6d31c81d0d6ee51
[ "Apache-2.0" ]
null
null
null
src/indexing/test/indexing.cpp
lynshi/CCF
a651fb542eab3f53431bf791d6d31c81d0d6ee51
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #include "ccf/indexing/strategies/seqnos_by_key_in_memory.h" #include "consensus/aft/raft.h" #include "consensus/aft/test/logging_stub.h" #include "ds/test/stub_writer.h" #include "indexing/historical_transaction_fet...
32.822816
80
0.71493
[ "vector" ]
799564d4563fd7a43bdebb2923fa1bfc6da0948c
35,665
cxx
C++
inetcore/winhttp/v5.1/auth/passport.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/winhttp/v5.1/auth/passport.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/winhttp/v5.1/auth/passport.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include <wininetp.h> #include <urlmon.h> #include <splugin.hxx> #include "htuu.h" #include "auth.h" /*--------------------------------------------------------------------------- PASSPORT_CTX ---------------------------------------------------------------------------*/ /*----------------------------------...
29.019528
134
0.508622
[ "object" ]
79a0f26a86b4121cf76a498e46b1007d88cd7c9a
76
hpp
C++
src/boost_geometry_strategies_default_comparable_distance_result.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_strategies_default_comparable_distance_result.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_strategies_default_comparable_distance_result.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/strategies/default_comparable_distance_result.hpp>
38
75
0.881579
[ "geometry" ]
79a263291e21a95f696d1d07d4c1e246845552ae
6,447
hpp
C++
core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/net/DNSClient.hpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
158
2016-11-17T19:37:51.000Z
2022-03-21T19:57:55.000Z
core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/net/DNSClient.hpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
94
2016-11-18T09:55:57.000Z
2021-01-14T08:50:40.000Z
core/sceneManager/network/3rdParty/raknet/DependentExtensions/cat/net/DNSClient.hpp
wterkaj/ApertusVR
424ec5515ae08780542f33cc4841a8f9a96337b3
[ "MIT" ]
60
2015-02-17T00:12:11.000Z
2021-08-21T22:16:58.000Z
/* Copyright (c) 2009-2010 Christopher A. Taylor. 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...
33.578125
95
0.772918
[ "object" ]
79a2f021f97c0ad6dfb8d1ed6a0129fc032b29fa
7,780
cpp
C++
server/objectSurvey.cpp
goreacraft/OneLife
53897c580b97ed72013a59e52925953256b96175
[ "Linux-OpenIB" ]
69
2018-10-05T23:29:10.000Z
2022-03-29T22:34:24.000Z
server/objectSurvey.cpp
goreacraft/OneLife
53897c580b97ed72013a59e52925953256b96175
[ "Linux-OpenIB" ]
62
2018-11-08T14:14:40.000Z
2022-03-01T20:38:01.000Z
server/objectSurvey.cpp
goreacraft/OneLife
53897c580b97ed72013a59e52925953256b96175
[ "Linux-OpenIB" ]
24
2018-10-11T09:20:27.000Z
2021-11-06T19:23:17.000Z
#include "minorGems/system/Time.h" #include "minorGems/util/SimpleVector.h" #include "minorGems/util/SettingsManager.h" #include "minorGems/io/file/File.h" #include "minorGems/util/log/AppLog.h" #include "../gameSource/objectBank.h" #include "map.h" #include <stdlib.h> static double lastCheckTime = 0; void initObj...
26.107383
76
0.486247
[ "object" ]
79a3df9a04ca9864d13f294f85c32457b5b7061c
9,459
cpp
C++
modules/gate_ops/diffusion/test_diffusion.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
29
2020-04-13T04:40:35.000Z
2021-12-17T11:21:35.000Z
modules/gate_ops/diffusion/test_diffusion.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
6
2020-03-12T17:40:00.000Z
2021-01-20T12:15:08.000Z
modules/gate_ops/diffusion/test_diffusion.cpp
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
9
2020-09-28T05:00:30.000Z
2022-03-04T02:11:49.000Z
#include "diffusion.hpp" #include "oracle.hpp" #include "Simulator.hpp" #include "IntelSimulator.cpp" #include "catch2/catch.hpp" #include <bitset> using namespace QNLP; typedef ComplexDP Type; /** * @brief Test diffusion for 4 qubits * */ TEST_CASE("4 qubit diffusion using module","[diffusion]"){ std::size...
37.535714
104
0.504916
[ "object", "vector" ]
79a862d04bc2437fbf04b224353879ffb21b715d
4,662
cpp
C++
src/examples/exampleSink.cpp
KanaHayama/opensmile
d800be39d6d5f01321abf3f07300429f7d402eb9
[ "BSD-3-Clause" ]
202
2016-06-16T12:09:36.000Z
2022-03-17T08:27:46.000Z
src/examples/exampleSink.cpp
KanaHayama/opensmile
d800be39d6d5f01321abf3f07300429f7d402eb9
[ "BSD-3-Clause" ]
206
2018-02-19T15:35:57.000Z
2022-03-25T11:27:38.000Z
src/examples/exampleSink.cpp
KanaHayama/opensmile
d800be39d6d5f01321abf3f07300429f7d402eb9
[ "BSD-3-Clause" ]
88
2016-01-27T00:23:31.000Z
2022-03-23T11:35:12.000Z
/*F*************************************************************************** * * openSMILE - the Munich open source Multimedia Interpretation by * Large-scale Extraction toolkit * * This file is part of openSMILE. * * openSMILE is copyright (c) by audEERING GmbH. All rights reserved. * * See file "COPYI...
27.75
138
0.672244
[ "vector" ]
79aa39aa765929aa98936b77d5b0080d61d3909b
1,920
hpp
C++
include/cru/ui/mapper/Mapper.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
1
2021-09-30T11:43:03.000Z
2021-09-30T11:43:03.000Z
include/cru/ui/mapper/Mapper.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
11
2021-08-22T12:55:56.000Z
2022-03-13T15:01:29.000Z
include/cru/ui/mapper/Mapper.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../Base.hpp" #include "cru/common/Exception.hpp" #include "cru/xml/XmlNode.hpp" #include <typeindex> #include <typeinfo> namespace cru::ui::mapper { template <typename T> class Mapper; class CRU_UI_API MapperBase : public Object { public: explicit MapperBase(std::type_index type_index); ...
23.13253
76
0.703646
[ "object" ]
79acd9fee034df85aa5c6393345c765be179d20b
38,030
cpp
C++
termsrv/newclient/rdpdr/w32proc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
termsrv/newclient/rdpdr/w32proc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
termsrv/newclient/rdpdr/w32proc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1998-2000 Microsoft Corporation Module Name: w32proc.cpp Abstract: Contains the parent of the Win32 IO processing class hierarchy for TS Device Redirection, W32ProcObj. Author: madan appiah (madana) 16-Sep-1998 Revision History: --*/ #include <precom.h>...
24.054396
95
0.54578
[ "object" ]
79b72cae34ce74844d593b21aedc24e4fbea69a4
1,713
cpp
C++
CGR_Codeforces/b.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
CGR_Codeforces/b.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
CGR_Codeforces/b.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * @author: Xingjian Bai * @date: 2020-10-10 16:01:05 * @description: * /Users/jackbai/Desktop/OI/CGR_Codeforces/b.cpp * * @notes: * g++ -O2 -fsanitize=address -ftrapv b.cpp * * * * * * * * * * * * * * * * * */ #include <bits/stdc++.h> #def...
21.4125
67
0.461179
[ "vector" ]
79c088d6490aeb54f7b1a2de2a82c70d00261e54
2,257
cpp
C++
third_party/di-cpp14/extension/policies/types_dumper.cpp
robhendriks/city-defence
6567222087fc74bf374423d4aab5512cbe86ac07
[ "MIT" ]
null
null
null
third_party/di-cpp14/extension/policies/types_dumper.cpp
robhendriks/city-defence
6567222087fc74bf374423d4aab5512cbe86ac07
[ "MIT" ]
null
null
null
third_party/di-cpp14/extension/policies/types_dumper.cpp
robhendriks/city-defence
6567222087fc74bf374423d4aab5512cbe86ac07
[ "MIT" ]
1
2022-03-29T02:01:56.000Z
2022-03-29T02:01:56.000Z
// // Copyright (c) 2012-2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // //<- #include <iostream> #include <memory> #include <string> #include <typeinfo> #in...
24.532609
126
0.548073
[ "vector" ]
79c983dd18b993c490b6b9b24ee33f1dc786fd2f
812
cpp
C++
Questions Level-Wise/Medium/max-increase-to-keep-city-skyline.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/max-increase-to-keep-city-skyline.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/max-increase-to-keep-city-skyline.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int maxIncreaseKeepingSkyline(vector<vector<int>>& grid) { int count=0; vector<int> lr(grid.size()); vector<int> tb(grid[0].size()); for(int i=0;i<grid.size();i++) { for(int j=0;j<grid[i].size();j++) { ...
26.193548
62
0.343596
[ "vector" ]
79cec4c9ccad82d8fe1bf5cb9bb328d8198d0869
4,781
cpp
C++
nestedtensor/csrc/autograd_functions.cpp
SamuelMarks/nestedtensor
b8ab0e498013cb725084a3a769cd96aacbf02aac
[ "BSD-3-Clause" ]
1
2021-07-16T16:09:51.000Z
2021-07-16T16:09:51.000Z
nestedtensor/csrc/autograd_functions.cpp
SamuelMarks/nestedtensor
b8ab0e498013cb725084a3a769cd96aacbf02aac
[ "BSD-3-Clause" ]
null
null
null
nestedtensor/csrc/autograd_functions.cpp
SamuelMarks/nestedtensor
b8ab0e498013cb725084a3a769cd96aacbf02aac
[ "BSD-3-Clause" ]
null
null
null
#include <nestedtensor/csrc/nested_tensor_impl.h> #include <nestedtensor/csrc/utils/nested_node_functions.h> #include <torch/extension.h> #include <torch/library.h> using namespace torch::nn; namespace F = torch::nn::functional; namespace at { Tensor NestedTensor_dropout(const Tensor& input, double p, bool train) { ...
28.628743
77
0.667015
[ "vector" ]
79d43ce80b6670bc9c2c56aafcd3aad4aff24795
1,843
cc
C++
iqa/src/model/GetPredictResultRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
iqa/src/model/GetPredictResultRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
iqa/src/model/GetPredictResultRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "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...
24.905405
75
0.745524
[ "model" ]
79db70c3595dbd307dfcebc2f3816704da844da2
2,714
hpp
C++
inst/include/geojsonsf/sf/sfc/utils/sfc_utils.hpp
layik/geojsonsf
7c86ade17fcdd72a9b2bc7074a259282a20813d2
[ "MIT" ]
61
2018-04-02T12:01:19.000Z
2022-01-25T14:30:56.000Z
inst/include/geojsonsf/sf/sfc/utils/sfc_utils.hpp
layik/geojsonsf
7c86ade17fcdd72a9b2bc7074a259282a20813d2
[ "MIT" ]
75
2018-04-11T00:01:45.000Z
2022-03-03T23:29:53.000Z
inst/include/geojsonsf/sf/sfc/utils/sfc_utils.hpp
layik/geojsonsf
7c86ade17fcdd72a9b2bc7074a259282a20813d2
[ "MIT" ]
7
2018-04-15T10:33:33.000Z
2021-12-09T12:02:35.000Z
#ifndef GEOJSONSF_SFC_UTILS_H #define GEOJSONSF_SFC_UTILS_H #include "geojsonsf/geojsonsf.h" #include "geometries/bbox/bbox.hpp" #include "sfheaders/sfc/sfc_attributes.hpp" namespace geojsonsf { namespace sfc { namespace utils { inline Rcpp::NumericVector start_bbox() { Rcpp::NumericVector bbox(4); // xmin, ym...
23.396552
72
0.628592
[ "geometry" ]
0764e122bed049d5cdcca2789cb4f3079e319089
16,075
hxx
C++
Helpers.hxx
daviddoria/CriminisiLidarInpainting
e599d9bf4732b1d94991f6348ad1c8cf6e8bce30
[ "Apache-2.0" ]
2
2017-12-24T17:00:54.000Z
2018-12-01T01:46:53.000Z
Helpers.hxx
daviddoria/CriminisiLidarInpainting
e599d9bf4732b1d94991f6348ad1c8cf6e8bce30
[ "Apache-2.0" ]
null
null
null
Helpers.hxx
daviddoria/CriminisiLidarInpainting
e599d9bf4732b1d94991f6348ad1c8cf6e8bce30
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright David Doria 2011 daviddoria@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
32.474747
168
0.71098
[ "vector" ]
0765eb0a39a0a998ed302abecb5886386e0037e3
576
cpp
C++
Source/Initialization/InjectorMomentum.cpp
guj/WarpX
7833e281dd9fa695a57d097eac31acef7ccaa3eb
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Initialization/InjectorMomentum.cpp
guj/WarpX
7833e281dd9fa695a57d097eac31acef7ccaa3eb
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/Initialization/InjectorMomentum.cpp
guj/WarpX
7833e281dd9fa695a57d097eac31acef7ccaa3eb
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* Copyright 2019-2020 Axel Huebl, Maxence Thevenet, Revathi Jambunathan * Weiqun Zhang * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include <InjectorMomentum.H> #include <PlasmaInjector.H> using namespace amrex; InjectorMomentum::~InjectorMomentum () { switch (type) { case Typ...
18.580645
72
0.621528
[ "object" ]
07699ab7d8a68a610f3d61b3b4e33859013f792d
21,475
cpp
C++
private/shell/ext/cabview/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/cabview/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/cabview/folder.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//******************************************************************************************* // // Filename : folder.cpp // // CAB Files Shell Extension // // Copyright (c) 1994 - 1997 Microsoft Corporation. All rights reserved // //**************************************************************************...
24.021253
148
0.514366
[ "object" ]
077a9c33e4a24586e0ba087d9e8275c47d2c62fe
5,604
cpp
C++
src/gdal_feature_defn.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
1
2015-07-04T20:09:20.000Z
2015-07-04T20:09:20.000Z
src/gdal_feature_defn.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
null
null
null
src/gdal_feature_defn.cpp
blairdgeo/node-gdal
a9bb3c082b30605ed1668dd9fe49afd25a7bb9d6
[ "Apache-2.0" ]
null
null
null
#include "gdal_common.hpp" #include "gdal_feature_defn.hpp" #include "gdal_field_defn.hpp" #include "collections/feature_defn_fields.hpp" namespace node_gdal { Persistent<FunctionTemplate> FeatureDefn::constructor; void FeatureDefn::Initialize(Handle<Object> target) { NanScope(); Local<FunctionTemplate> lcons = ...
23.35
92
0.710742
[ "geometry", "object" ]
077db37773f01a349bcf40a0f65f10813097d9e3
21,674
cc
C++
tensorflow/compiler/plugin/poplar/driver/passes/function_combiner.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
74
2020-07-06T17:11:39.000Z
2022-01-28T06:31:28.000Z
tensorflow/compiler/plugin/poplar/driver/passes/function_combiner.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
9
2020-10-13T23:25:29.000Z
2022-02-10T06:54:48.000Z
tensorflow/compiler/plugin/poplar/driver/passes/function_combiner.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
12
2020-07-08T07:27:17.000Z
2021-12-27T08:54:27.000Z
/* Copyright 2020 The TensorFlow Authors. 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 by applicable law or a...
38.842294
87
0.7055
[ "shape", "vector" ]
077e23fdb332fe245fab33d3a0dfc20cad1f7279
20,247
cpp
C++
transports/lib/astartehttpendpoint.cpp
hemeraos/hyperdrive
d7f472203eeae7e5cb7283f92192d05c9a7d2b63
[ "Apache-2.0" ]
null
null
null
transports/lib/astartehttpendpoint.cpp
hemeraos/hyperdrive
d7f472203eeae7e5cb7283f92192d05c9a7d2b63
[ "Apache-2.0" ]
null
null
null
transports/lib/astartehttpendpoint.cpp
hemeraos/hyperdrive
d7f472203eeae7e5cb7283f92192d05c9a7d2b63
[ "Apache-2.0" ]
1
2021-02-08T15:48:36.000Z
2021-02-08T15:48:36.000Z
#include "astartehttpendpoint.h" #include "astartehttpendpoint_p.h" #include "astartecrypto.h" #include "astarteverifycertificateoperation.h" #include "hyperdrivemqttclientwrapper.h" #include <QtCore/QDir> #include <QtCore/QDebug> #include <QtCore/QLoggingCategory> #include <QtCore/QFile> #include <QtCore/QJsonArray>...
42.805497
164
0.640984
[ "object" ]
0782f855c10b50480d87b509f39bb55a98ae05d7
3,411
cpp
C++
posix-tests/rx-test.cpp
Mogball/rx-cpp
445d704cc818223188168976251b62d299d83274
[ "MIT" ]
11
2015-05-31T17:19:20.000Z
2021-07-01T00:34:57.000Z
posix-tests/rx-test.cpp
Mogball/rx-cpp
445d704cc818223188168976251b62d299d83274
[ "MIT" ]
null
null
null
posix-tests/rx-test.cpp
Mogball/rx-cpp
445d704cc818223188168976251b62d299d83274
[ "MIT" ]
1
2020-07-10T18:25:57.000Z
2020-07-10T18:25:57.000Z
#include <iostream> #include <map> #include <vector> #include "rx.h" #include <stdlib.h> using namespace std; using namespace textutil; template <class T> ostream& operator<< (ostream& os, const vector<T>& v) { for (auto& val: v) os << val << ' '; return os; } template <class T> ostream& operator<< (ostream&...
28.663866
84
0.553797
[ "object", "vector" ]
0783218be0dcb1bd9079d4085393bfdb94326569
4,469
cpp
C++
src/keyboard_control.cpp
rhogroup/rflex
ce9ba63dcfdb99acebfab7216ae6f0fe6d055a65
[ "MIT" ]
1
2018-02-21T14:23:35.000Z
2018-02-21T14:23:35.000Z
src/keyboard_control.cpp
rhogroup/rflex
ce9ba63dcfdb99acebfab7216ae6f0fe6d055a65
[ "MIT" ]
null
null
null
src/keyboard_control.cpp
rhogroup/rflex
ce9ba63dcfdb99acebfab7216ae6f0fe6d055a65
[ "MIT" ]
null
null
null
/* * Motor Controller using keyboard inputs * Keval Patel - September 26, 2013 * * Player - One Hell of a Robot Server * Copyright (C) 2000 * Brian Gerkey, Kasper Stoy, Richard Vaughan, & Andrew Howard * * * This program is free software; you can redistribute it and/or modify * it under the terms of...
32.620438
123
0.68606
[ "object" ]
07875fdfd27ce5f1795a1e4cec768a73b259568e
3,666
cc
C++
tests/unit/lib/observers/ParameterObserverTest_unittest.cc
vinnik-dmitry07/shogun
376bf8f500d3856f5ffe6f145dff84cbf55de104
[ "BSD-3-Clause" ]
2,753
2015-01-02T11:34:13.000Z
2022-03-25T07:04:27.000Z
tests/unit/lib/observers/ParameterObserverTest_unittest.cc
vinnik-dmitry07/shogun
376bf8f500d3856f5ffe6f145dff84cbf55de104
[ "BSD-3-Clause" ]
2,404
2015-01-02T19:31:41.000Z
2022-03-09T10:58:22.000Z
tests/unit/lib/observers/ParameterObserverTest_unittest.cc
vinnik-dmitry07/shogun
376bf8f500d3856f5ffe6f145dff84cbf55de104
[ "BSD-3-Clause" ]
1,156
2015-01-03T01:57:21.000Z
2022-03-26T01:06:28.000Z
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Giovanni De Toni * */ #include <gtest/gtest.h> #include <shogun/lib/config.h> #include <shogun/lib/observers/ParameterObserverLogger.h> #include <vector> using namespace shogun; class MockEmitter : public SGObject { p...
25.636364
78
0.753682
[ "vector" ]
0787b85c123110054421ea1d6d0f9c7660811117
11,059
cpp
C++
autode/ext/src/optimisers.cpp
tlestang/autodE
56fd4c78e7d7e78c5747428190211ff69dc6d94a
[ "MIT" ]
90
2020-03-13T15:03:35.000Z
2022-03-14T13:41:04.000Z
autode/ext/src/optimisers.cpp
skphy/autodE
fd80995206ac601299d2f78105d0fe4deee8c2cf
[ "MIT" ]
117
2020-06-13T00:11:06.000Z
2022-03-24T08:54:16.000Z
autode/ext/src/optimisers.cpp
skphy/autodE
fd80995206ac601299d2f78105d0fe4deee8c2cf
[ "MIT" ]
26
2020-08-14T04:52:53.000Z
2022-03-06T13:04:17.000Z
#include "optimisers.h" #include "utils.h" #include "points.h" #include <stdexcept> #include <cmath> namespace autode { void SDOptimiser::step(autode::Molecule &molecule, double step_factor){ // Perform a SD step in the direction of the gradient for (int i = 0; i < 3 * molecule.n_atoms; i++) { ...
33.110778
103
0.496609
[ "vector" ]
078b12b70df198624a354fcc50bcb2ecaa25e3cc
3,969
cpp
C++
pasa-plugins/slclust/src/graph.cpp
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
4
2019-01-16T12:05:05.000Z
2021-11-17T08:38:21.000Z
pasa-plugins/slclust/src/graph.cpp
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
null
null
null
pasa-plugins/slclust/src/graph.cpp
tafujino/PASApipeline
4e7cac908e8c951c60814e8c26ccc9d69e2cfdb7
[ "BSD-3-Clause" ]
7
2015-03-24T14:23:58.000Z
2020-01-15T16:54:10.000Z
#include "graph.h" // constructor //currently using default // destructor // rlease memory allocated for graph nodes: Graph::~Graph () { for (unsigned int i=0; i < allNodes.size(); i++) { delete allNodes[i]; } } void Graph::addLinkedNodes (string a, string b) { if (VERBOSE >= debug) cout << "Addin...
22.942197
93
0.586042
[ "vector" ]
078dad87cbd5881e2a7462d28f18a9fd22c6e634
57,503
cpp
C++
test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
// Copyright 2020 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...
50.797703
134
0.658192
[ "object", "vector" ]
079d74d363d54eb84d9110cf32b2f6fad6362991
2,577
cpp
C++
src/triangle-rasterizer-demo/src/trdInstructions.cpp
frmr/triangle-rasterizer-demo
963f32435ebae5b7fbe6fa212709bdc3ea66ac36
[ "MIT" ]
null
null
null
src/triangle-rasterizer-demo/src/trdInstructions.cpp
frmr/triangle-rasterizer-demo
963f32435ebae5b7fbe6fa212709bdc3ea66ac36
[ "MIT" ]
null
null
null
src/triangle-rasterizer-demo/src/trdInstructions.cpp
frmr/triangle-rasterizer-demo
963f32435ebae5b7fbe6fa212709bdc3ea66ac36
[ "MIT" ]
null
null
null
#include "trdInstructions.hpp" void trd::Instructions::draw(const Settings& settings, tr::ColorBuffer& buffer) { std::vector<tf::String> lines; lines.push_back(tf::String("WASD: Move camera")); lines.push_back(tf::String("Space: Move camera up")); lines.push_back(tf::String("Ctrl: Move camera down")); lines.pu...
52.591837
167
0.649205
[ "vector" ]
079ed1628496930e302f8915204f9d52b6c12110
8,247
cpp
C++
StudyWatch_SDK_healthwearableApp/Source/sdk/src/eda_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
2
2019-03-11T15:24:51.000Z
2022-03-07T09:42:05.000Z
StudyWatch_SDK_healthwearableApp/Source/sdk/src/eda_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
null
null
null
StudyWatch_SDK_healthwearableApp/Source/sdk/src/eda_application.cpp
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
1
2021-03-16T08:26:05.000Z
2021-03-16T08:26:05.000Z
#include "eda_application.hpp" eda_application::~eda_application(void) { } eda_application::eda_application(watch *sdk) : m2m2_application(sdk), eda_stream(M2M2_ADDR_MED_EDA_STREAM, this) {} /*! \brief Fetches a human-readable string describing the application. */ std::string eda_application::get_name(vo...
30.544444
121
0.705832
[ "vector" ]
07a37092344b67c185f12c0a8f63a462fb8e2754
831
hpp
C++
src/frontends/onnx/frontend/src/op/depth_to_space.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/frontends/onnx/frontend/src/op/depth_to_space.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/frontends/onnx/frontend/src/op/depth_to_space.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" namespace ngraph { namespace onnx_import { namespace op { namespace set_1 { /// \brief Permutes input tensor data from depth into blocks of spatial ...
26.806452
83
0.687124
[ "shape" ]
07a6d16eb04410f1174b21812fbbb9c634ee5b0b
25,162
cpp
C++
sp/volna.cpp
reguly/volna
d5aedfb583ac6533eede847b0b5714c4d3c458cf
[ "BSD-2-Clause" ]
3
2021-07-08T23:53:52.000Z
2022-01-25T11:55:28.000Z
sp/volna.cpp
reguly/volna
d5aedfb583ac6533eede847b0b5714c4d3c458cf
[ "BSD-2-Clause" ]
1
2019-12-02T17:31:28.000Z
2019-12-02T17:31:28.000Z
sp/volna.cpp
DanGiles/volna
0008584b0457478da8b1a69ca7d0d2a81b644d89
[ "BSD-2-Clause" ]
7
2018-02-05T19:34:34.000Z
2021-11-01T08:46:34.000Z
/*Copyright 2018, Frederic Dias, Serge Guillas, Istvan Reguly Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
45.336937
755
0.648478
[ "mesh", "geometry", "vector" ]
07aaf69f2980f4d87d6765374882a1d2de61e491
719
cpp
C++
VoteCountBooth.cpp
ChandanSP1123/ObserverPatternCpp
1748e413c999d2974c319e3ae96ac270267d0d09
[ "MIT" ]
null
null
null
VoteCountBooth.cpp
ChandanSP1123/ObserverPatternCpp
1748e413c999d2974c319e3ae96ac270267d0d09
[ "MIT" ]
null
null
null
VoteCountBooth.cpp
ChandanSP1123/ObserverPatternCpp
1748e413c999d2974c319e3ae96ac270267d0d09
[ "MIT" ]
null
null
null
#include "VoteCountBooth.hpp" #include "algorithm" void VoteCountBooth::Subscribe(Observer *Object) { ObserverList.push_back(Object); } void VoteCountBooth::Unsubscribe(Observer *Object) { ObserverList.erase(std::remove_if(ObserverList.begin(), ObserverList.end(), [&](Observer *a) ...
25.678571
104
0.655076
[ "object", "vector" ]
07ae691e4d935d72396a286b02384db2f593c6f1
10,755
cpp
C++
02_Triangle/Source/Sample/SampleApp.cpp
n-suudai/D3D11Sample
ade7976b67d306c07ae29d2f9dd3becfb9770e33
[ "MIT" ]
null
null
null
02_Triangle/Source/Sample/SampleApp.cpp
n-suudai/D3D11Sample
ade7976b67d306c07ae29d2f9dd3becfb9770e33
[ "MIT" ]
null
null
null
02_Triangle/Source/Sample/SampleApp.cpp
n-suudai/D3D11Sample
ade7976b67d306c07ae29d2f9dd3becfb9770e33
[ "MIT" ]
null
null
null
#include "SampleApp.hpp" // DXGI & D3D11 のライブラリをリンク #pragma comment(lib, "dxgi.lib") #pragma comment(lib, "d3d11.lib") using Vertex = Vertex_PositionColor; const Vertex g_vertices[] = { { { 0.0f, 0.5f, 0.5f, 1.0f },{ 1.0f, 1.0f, 0.0f, 1.0f } }, { { 0.5f, -0.5f, 0.5f, 1.0f },{ 1.0f, 1.0f, 0.0f, 1.0f } },...
23.741722
111
0.601209
[ "render", "vector" ]
07b4720e6392dae1471a8f75607f84271c152049
33,141
cpp
C++
src/formatvalue.cpp
panzi/formatstring
8c7cb73cd69e29c3289924de7bb51e28cd032f79
[ "Unlicense", "MIT" ]
37
2015-01-08T15:53:05.000Z
2021-11-08T08:51:59.000Z
src/formatvalue.cpp
panzi/formatstring
8c7cb73cd69e29c3289924de7bb51e28cd032f79
[ "Unlicense", "MIT" ]
1
2021-02-21T07:49:37.000Z
2021-02-22T09:09:57.000Z
src/formatvalue.cpp
panzi/formatstring
8c7cb73cd69e29c3289924de7bb51e28cd032f79
[ "Unlicense", "MIT" ]
1
2016-07-13T10:25:04.000Z
2016-07-13T10:25:04.000Z
#include "formatstring/formatvalue.h" #include <vector> namespace formatstring { namespace impl { template<typename Char> struct basic_grouping; template<> struct basic_grouping<char> { static const std::locale non_grouping_locale; static const std::locale ...
40.21966
153
0.631846
[ "vector" ]
07b4cb33e4bdea4c9a116aaa6986db32974889b9
11,090
cpp
C++
VectorEngine/BlueWave.Interop.Asio/AsioDriver.cpp
allenwp/vector-engine
498d1a0c3eac15e4b8aca3486b42b5e0af790b82
[ "MIT" ]
24
2020-02-28T21:34:13.000Z
2022-01-06T10:03:41.000Z
VectorEngine/BlueWave.Interop.Asio/AsioDriver.cpp
allenwp/vector-engine
498d1a0c3eac15e4b8aca3486b42b5e0af790b82
[ "MIT" ]
null
null
null
VectorEngine/BlueWave.Interop.Asio/AsioDriver.cpp
allenwp/vector-engine
498d1a0c3eac15e4b8aca3486b42b5e0af790b82
[ "MIT" ]
2
2020-02-28T22:53:05.000Z
2021-08-10T06:35:37.000Z
// // BlueWave.Interop.Asio by Rob Philpott. Please send all bugs/enhancements to // rob@bigdevelopments.co.uk. This file and the code contained within is freeware and may be // distributed and edited without restriction. You may be bound by licencing restrictions // imposed by Steinberg - check with them prior to dis...
25.790698
113
0.676105
[ "object" ]
07bdcae7bed47f89f6fa910139dd033ed090f694
7,122
cpp
C++
src/tdme/audio/AudioStream.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/audio/AudioStream.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/audio/AudioStream.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/audio/AudioStream.h> #if defined(__APPLE__) #include <OpenAL/al.h> #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__linux__) || defined(_WIN32) || defined(__HAIKU__) #include <AL/al.h> #endif #include <array> #include <string> #include <vector> #include <tdme/ut...
26.875472
136
0.683235
[ "vector" ]
07beef4ea3d63a886d6a0e2f5ec2f8dca8b82c07
1,855
hpp
C++
miniFE-sycl/src/Vector.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
miniFE-sycl/src/Vector.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
miniFE-sycl/src/Vector.hpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
#ifndef _Vector_hpp_ #define _Vector_hpp_ //@HEADER // ************************************************************************ // // MiniFE: Simple Finite Element Assembly and Solve // Copyright (2006-2013) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use...
26.884058
75
0.667385
[ "vector" ]
07cc007e427ba7c6486fdc753b1d2e7621a69609
845
cpp
C++
Leetcode/C++ Solutions/Arrays/firstMissingPositive.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
1
2020-01-06T02:21:56.000Z
2020-01-06T02:21:56.000Z
Leetcode/C++ Solutions/Arrays/firstMissingPositive.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
null
null
null
Leetcode/C++ Solutions/Arrays/firstMissingPositive.cpp
Mostofa-Najmus-Sakib/Applied-Algorithm
bc656fd655617407856e0ce45b68585fa81c5035
[ "MIT" ]
3
2021-02-22T17:41:01.000Z
2022-01-13T05:03:19.000Z
/* LeetCode Problem 41. First Missing Positive Link: https://leetcode.com/problems/first-missing-positive/ Written by: Mostofa Adib Shakib Language: C++ */ class Solution { public: int firstMissingPositive(vector<int>& nums) { int smallestPositive = 1; sort(nums.begin(), nums.end()); ...
27.258065
119
0.504142
[ "vector" ]
07cc57f775efc2898521a3ef825f338ac7f2a6cc
4,664
hpp
C++
test_tf2/test/permuter.hpp
ymd-stella/geometry2
0188f9bdac47c32cd0563b41d24d13d79ce9437e
[ "BSD-3-Clause" ]
null
null
null
test_tf2/test/permuter.hpp
ymd-stella/geometry2
0188f9bdac47c32cd0563b41d24d13d79ce9437e
[ "BSD-3-Clause" ]
null
null
null
test_tf2/test/permuter.hpp
ymd-stella/geometry2
0188f9bdac47c32cd0563b41d24d13d79ce9437e
[ "BSD-3-Clause" ]
1
2020-11-14T17:08:06.000Z
2020-11-14T17:08:06.000Z
/* * Copyright (c) 2009, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
27.435294
93
0.689108
[ "vector" ]
07d072471c7ff72cce0bffbcbcfbb5e388e71b9c
4,390
cpp
C++
pagemodular.cpp
Maou-Senpai/referenCe
839837d88053c96f31ae37356316ca7b30adb95e
[ "MIT" ]
null
null
null
pagemodular.cpp
Maou-Senpai/referenCe
839837d88053c96f31ae37356316ca7b30adb95e
[ "MIT" ]
null
null
null
pagemodular.cpp
Maou-Senpai/referenCe
839837d88053c96f31ae37356316ca7b30adb95e
[ "MIT" ]
null
null
null
//Header Files #include "pagemodular.h" // Initializes dictionaries PageModular::PageModular() { } // FUNCTION NAME: showPage() // // PARAMETERS: None // // RETURN VALUE: None // // CALLS TO: mainwindow.ui // // CALLED FROM: none // // METHOD: // // Creates the elements of the page void PageM...
22.512821
133
0.624146
[ "vector" ]
07d830675101a2066e54beb2edcb74c7288db16a
44,541
cpp
C++
Engine/Plugins/Media/MfMedia/Source/MfMedia/Private/Mf/MfMediaUtils.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Media/MfMedia/Source/MfMedia/Private/Mf/MfMediaUtils.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Media/MfMedia/Source/MfMedia/Private/Mf/MfMediaUtils.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "MfMediaUtils.h" #if MFMEDIA_SUPPORTED_PLATFORM #include "HAL/FileManager.h" #include "HAL/PlatformProcess.h" #include "Misc/FileHelper.h" #include "Serialization/Archive.h" #include "Serialization/ArrayReader.h" #include "MfMediaByteStream.h" #i...
51.137773
178
0.733773
[ "transform" ]
07de35af8bfce94410ff9799c90cdf812718a89e
59,141
hpp
C++
include/bio_ik/forward_kinematics.hpp
SammyRamone/bio_ik
f903cd3190f4acf15342aef70cddcef6cbbf8819
[ "BSD-3-Clause" ]
1
2022-03-24T09:26:46.000Z
2022-03-24T09:26:46.000Z
include/bio_ik/forward_kinematics.hpp
SammyRamone/bio_ik
f903cd3190f4acf15342aef70cddcef6cbbf8819
[ "BSD-3-Clause" ]
9
2022-01-03T18:59:17.000Z
2022-02-05T20:06:22.000Z
include/bio_ik/forward_kinematics.hpp
SammyRamone/bio_ik
f903cd3190f4acf15342aef70cddcef6cbbf8819
[ "BSD-3-Clause" ]
2
2022-01-11T23:57:32.000Z
2022-02-26T10:27:02.000Z
// Copyright (c) 2016-2017, Philipp Sebastian Ruppel // // 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 a...
39.140304
239
0.616983
[ "vector", "model" ]
07e17d721a02d810e1248226f1f81237cfb002d1
23,366
cpp
C++
examples/GwenGUISupport/gwenInternalData.cpp
ousttrue/bullet3
8ad206dd144b94767718cd71cf21f0d37ea89268
[ "Zlib" ]
null
null
null
examples/GwenGUISupport/gwenInternalData.cpp
ousttrue/bullet3
8ad206dd144b94767718cd71cf21f0d37ea89268
[ "Zlib" ]
null
null
null
examples/GwenGUISupport/gwenInternalData.cpp
ousttrue/bullet3
8ad206dd144b94767718cd71cf21f0d37ea89268
[ "Zlib" ]
null
null
null
#include "gwenInternalData.h" #include "Gwen/Controls/TreeNode.h" #include "GwenTextureWindow.h" #include "GraphingTexture.h" #include "opengl_fontstashcallbacks.h" #include <memory> #include <tuple> #include <functional> #include <Common2dCanvasInterface.h> #include <CommonExampleInterface.h> #include <Bulle...
26.826636
136
0.670804
[ "render" ]