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
9ebdcfefd1371b705898dbc6c5aa52e1265c67a0
4,056
hpp
C++
include/Wg/ListView.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
include/Wg/ListView.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
include/Wg/ListView.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #pragma once #include "Wg/Base.hpp" #include "Wg/Widget.hpp" #include "Wg/CancelableEvent.hpp" #include "Wg/I...
23.445087
102
0.670118
[ "vector" ]
9ec87c3d5a54d4541478dd57f8b2ddeba7654bfc
9,307
cpp
C++
tests/Futures/Promise-test.cpp
sita1999/arangodb
6a4f462fa209010cd064f99e63d85ce1d432c500
[ "Apache-2.0" ]
1
2018-12-08T01:58:16.000Z
2018-12-08T01:58:16.000Z
tests/Futures/Promise-test.cpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
null
null
null
tests/Futures/Promise-test.cpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
1
2018-11-04T01:30:53.000Z
2018-11-04T01:30:53.000Z
//////////////////////////////////////////////////////////////////////////////// /// @brief test case for Futures/Try object /// /// @file /// /// DISCLAIMER /// /// Copyright 2018 ArangoDB GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file excep...
25.018817
131
0.545181
[ "object" ]
9ec9db1996de8040f5f0e49af52402991b8e29cf
7,763
hpp
C++
hpx/parallel/executors/thread_execution.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
1
2019-09-26T09:10:13.000Z
2019-09-26T09:10:13.000Z
hpx/parallel/executors/thread_execution.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
null
null
null
hpx/parallel/executors/thread_execution.hpp
atrantan/hpx
6c214b2f3e3fc58648513c9f1cfef37fde59333c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017 Hartmut Kaiser // // 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) /// \file parallel/executors/thread_execution.hpp #if !defined(HPX_PARALLEL_EXECUTORS_THREAD_EXECUTION_JAN_03_2017_1145AM)...
35.447489
81
0.544506
[ "shape", "vector" ]
19b66aac5b10bd8e0156f8a3f14480e764a832bd
5,345
cpp
C++
src/c/objective.cpp
rupea/LabelFilters
a70b1f90427fe44bd43fee842aad34704d51854c
[ "BSD-3-Clause" ]
4
2019-04-23T01:32:47.000Z
2019-12-12T07:02:52.000Z
src/c/objective.cpp
rupea/LabelFilters
a70b1f90427fe44bd43fee842aad34704d51854c
[ "BSD-3-Clause" ]
1
2019-01-21T22:05:09.000Z
2019-03-06T15:37:35.000Z
src/c/objective.cpp
rupea/LabelFilters
a70b1f90427fe44bd43fee842aad34704d51854c
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2017 NEC Laboratories America, Inc. ("NECLA"). All rights reserved. * * This source code is licensed under the license found in the LICENSE file in * the root directory of this source tree. An additional grant of patent rights * can be found in the PATENTS file in the same directory. */ #include...
34.707792
169
0.658185
[ "vector" ]
19bbf129ebdc2f615bacac395926f6c8ddd481d0
1,179
cpp
C++
PrutEngine/src/Renderer.cpp
valvy/PrutEngine
1865dba7e441b2ab9415bc45506284c4b28f8779
[ "MIT" ]
null
null
null
PrutEngine/src/Renderer.cpp
valvy/PrutEngine
1865dba7e441b2ab9415bc45506284c4b28f8779
[ "MIT" ]
null
null
null
PrutEngine/src/Renderer.cpp
valvy/PrutEngine
1865dba7e441b2ab9415bc45506284c4b28f8779
[ "MIT" ]
null
null
null
#include "prutengine/Renderer.hpp" #include "prutengine/AssetManager.hpp" using namespace PrutEngine; Renderer::~Renderer(){ } void Renderer::set(const std::string& mesh, const std::string& texture, std::shared_ptr<Data::GraphicsProgram> program){ const auto assetManager = Application::getInstance()->getAs...
26.795455
124
0.721798
[ "mesh" ]
19c27ce4262d6e28d9f78ebcca49d0995c51268a
9,084
cpp
C++
src/editor/InspectorEditor.cpp
Guarneri1743/SoftRasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
4
2020-12-14T10:58:35.000Z
2020-12-14T16:38:18.000Z
src/editor/InspectorEditor.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
src/editor/InspectorEditor.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
#include "InspectorEditor.hpp" #include <algorithm> #include <filesystem> #include "imgui/imgui.h" #include "Define.hpp" #include "InputManager.hpp" #include "Window.hpp" #include "Singleton.hpp" #include "Scene.hpp" #include "Utility.hpp" #include "Logger.hpp" #include "Serialization.hpp" #include "Time.hpp" #include...
26.639296
193
0.648943
[ "model", "transform" ]
19d54e63ba62708d9484ab2f3c050f9c20cd51cf
1,086
hpp
C++
src/editor/property_integer_limited.hpp
acidicMercury8/xray-1.6
52fba7348a93a52ff9694f2c9dd40c0d090e791e
[ "Linux-OpenIB" ]
10
2021-05-04T06:40:27.000Z
2022-01-20T20:24:28.000Z
src/editor/property_integer_limited.hpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
null
null
null
src/editor/property_integer_limited.hpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
2
2021-11-07T16:57:19.000Z
2021-12-05T13:17:12.000Z
//////////////////////////////////////////////////////////////////////////// // Module : property_integer_limited.hpp // Created : 12.12.2007 // Modified : 12.12.2007 // Author : Dmitriy Iassenev // Description : limited integer property implementation class /////////////////////////////////////////////////...
30.166667
77
0.616943
[ "object" ]
19e70f1e92436dbacaf3bece72ab00a0e38580f6
3,114
cc
C++
bssopenapi/src/model/DescribeResourceCoverageTotalResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
bssopenapi/src/model/DescribeResourceCoverageTotalResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
bssopenapi/src/model/DescribeResourceCoverageTotalResult.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...
34.21978
106
0.774888
[ "model" ]
19e9abb49653d0275edb443cbc512b2bd90ea776
9,048
cpp
C++
src/linux_parser.cpp
epengc/Udacity_System_Monitor
81441161221445c17f00df9023978e0cfa1224ea
[ "MIT" ]
null
null
null
src/linux_parser.cpp
epengc/Udacity_System_Monitor
81441161221445c17f00df9023978e0cfa1224ea
[ "MIT" ]
null
null
null
src/linux_parser.cpp
epengc/Udacity_System_Monitor
81441161221445c17f00df9023978e0cfa1224ea
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; using std::size_t; using std::map; using std::stoi; using std::stol; // DONE: An example of how to read data from the filesystem string Li...
28.186916
110
0.599691
[ "vector" ]
19e9e99d887a33a1e280b149dce6129d7df4b8bb
1,183
cpp
C++
Algorithms/UnionFind/0839-similar-string-groups.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
Algorithms/UnionFind/0839-similar-string-groups.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
Algorithms/UnionFind/0839-similar-string-groups.cpp
sandychn/LeetCode-Solutions
d0dd55d62b099c5b7db947822ab2111a4ecdc941
[ "MIT" ]
null
null
null
class UnionFind { public: UnionFind(int size): parent(size), setCount(size) { iota(parent.begin(), parent.end(), 0); } int find(int x) { return parent[x] == x ? x : parent[x] = find(parent[x]); } void join(int x, int y) { if ((x = find(x)) == (y = find(y))) retur...
21.907407
65
0.411665
[ "vector" ]
19ea353cf51868a1ebb0eb0d0b4fd464a0cfca8b
2,642
cpp
C++
src/apps/debuganalyzer/model/ThreadModel.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/apps/debuganalyzer/model/ThreadModel.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/apps/debuganalyzer/model/ThreadModel.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include "ThreadModel.h" #include <new> // #pragma mark - WaitObjectGroup ThreadModel::WaitObjectGroup::WaitObjectGroup( Model::ThreadWaitObject** waitObjects, int32 count) : fWaitObjects(waitObje...
20.323077
80
0.708176
[ "object", "model" ]
19ef3ff4f7f284c3196ceae52be9a8080ed68a78
7,916
cc
C++
mojo/edk/system/handle_table_unittest.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
mojo/edk/system/handle_table_unittest.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
mojo/edk/system/handle_table_unittest.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "mojo/edk/system/handle_table.h" #include <vector> #include "mojo/edk/system/dispatcher.h" #include "mojo/edk/system/handle.h" #include "mojo/e...
31.043137
80
0.708818
[ "object", "vector" ]
19f732136a25d894d833bccea0c18179c07841d0
14,125
hpp
C++
examples/common_glut/bicali/bicali.hpp
lucasb-eyer/bouge
0ac49789101a6c42c1ef404cc324d1f5ec05d1d8
[ "Zlib" ]
3
2015-10-10T21:27:00.000Z
2016-05-29T05:48:23.000Z
examples/common_glut/bicali/bicali.hpp
lucasb-eyer/bouge
0ac49789101a6c42c1ef404cc324d1f5ec05d1d8
[ "Zlib" ]
null
null
null
examples/common_glut/bicali/bicali.hpp
lucasb-eyer/bouge
0ac49789101a6c42c1ef404cc324d1f5ec05d1d8
[ "Zlib" ]
1
2019-03-18T05:23:45.000Z
2019-03-18T05:23:45.000Z
//////////////////////////////////////////////////////////// // // BiCali - OpenGL 3 bitmap font system // Copyright (C) 2011 Lucas Beyer (pompei2@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the ...
34.620098
211
0.606442
[ "render", "object", "vector" ]
19f9a5772488a31572b237309142b792246c2674
703
cpp
C++
src/Or.cpp
amelk002/test11
adb6be15f75f05b50b6a7c3359bdfcbb1d2e1f18
[ "BSD-3-Clause" ]
null
null
null
src/Or.cpp
amelk002/test11
adb6be15f75f05b50b6a7c3359bdfcbb1d2e1f18
[ "BSD-3-Clause" ]
null
null
null
src/Or.cpp
amelk002/test11
adb6be15f75f05b50b6a7c3359bdfcbb1d2e1f18
[ "BSD-3-Clause" ]
null
null
null
#ifndef __OR_CPP__ #define __OR_CPP__ #include <iostream> #include <iostream> #include <string> #include <cstdlib> #include <fstream> #include <vector> #include <cmath> #include <sstream> #include <stdio.h> #include <unistd.h> using namespace std; #include "Base.h" #include "Connector.h" #include "Cmd.h" Or::Or() { ...
14.957447
37
0.607397
[ "vector" ]
c20e6714e85dad64eaddc92ad78cd468078dce81
744
cpp
C++
spoj/STAMPS.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
5
2020-06-30T12:44:25.000Z
2021-07-14T06:35:57.000Z
spoj/STAMPS.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
spoj/STAMPS.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; void f(){ ll m, n; cin>>m>>n; vector<ll> a(n); for(ll i=0;i<n;i++){ cin>>a[i]; } sort(a.begin(), a.end(), greater<ll>()); ll sum=0; for(ll i=0;i<n;i++){ sum+=a[i]; if(sum>=m){ cout<<i...
18.146341
44
0.467742
[ "vector" ]
c2189494ede932682a3f4844fc967fec7016d73d
3,311
hpp
C++
join/crypto/include/join/base64.hpp
mrabine/join
63c6193f2cc229328c36748d7f9ef8aca915bec3
[ "MIT" ]
1
2021-09-14T13:53:07.000Z
2021-09-14T13:53:07.000Z
join/crypto/include/join/base64.hpp
joinframework/join
63c6193f2cc229328c36748d7f9ef8aca915bec3
[ "MIT" ]
15
2021-08-09T23:55:02.000Z
2021-11-22T11:05:41.000Z
join/crypto/include/join/base64.hpp
mrabine/join
63c6193f2cc229328c36748d7f9ef8aca915bec3
[ "MIT" ]
null
null
null
/** * MIT License * * Copyright (c) 2021 Mathieu Rabine * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
29.04386
83
0.61341
[ "vector" ]
c2196237ac6b155d6ea7fd47de2a2acf7c44de33
461
hpp
C++
src/core/lifetime_tracker.hpp
sunnyygou/CS184_Final_Project
e853d758da7aae2011a39034bb78795659baf116
[ "MIT" ]
1
2021-04-17T21:42:12.000Z
2021-04-17T21:42:12.000Z
src/core/lifetime_tracker.hpp
sunnyygou/CS184_Final_Project
e853d758da7aae2011a39034bb78795659baf116
[ "MIT" ]
null
null
null
src/core/lifetime_tracker.hpp
sunnyygou/CS184_Final_Project
e853d758da7aae2011a39034bb78795659baf116
[ "MIT" ]
1
2021-04-27T06:06:58.000Z
2021-04-27T06:06:58.000Z
#pragma once #include "berkeley_gfx.hpp" #include <vulkan/vulkan.hpp> namespace BG { class Tracker { private: int m_numFramesInFlight = 3; int m_currentFrame = 0; struct FrameObjects { std::vector<vk::UniqueFramebuffer> framebuffers; void ClearAll(); }; std::vector<FrameOb...
14.870968
54
0.659436
[ "vector" ]
c21c580460c7c44ef815f726aef3fdd7c9630b11
34,889
cpp
C++
src/if/os_interface.cpp
open-switch/opx-nas-linux
073b287c7c998b0dc16bc732fa37bbdddfd69d66
[ "CC-BY-4.0" ]
1
2017-12-28T16:57:02.000Z
2017-12-28T16:57:02.000Z
src/if/os_interface.cpp
open-switch/opx-nas-linux
073b287c7c998b0dc16bc732fa37bbdddfd69d66
[ "CC-BY-4.0" ]
10
2017-08-07T22:43:34.000Z
2021-06-09T13:34:01.000Z
src/if/os_interface.cpp
open-switch/opx-nas-linux
073b287c7c998b0dc16bc732fa37bbdddfd69d66
[ "CC-BY-4.0" ]
14
2017-01-05T19:18:42.000Z
2020-03-06T10:01:04.000Z
/* * Copyright (c) 2019 Dell 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 * * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARR...
40.287529
129
0.670699
[ "object" ]
c21e33b076c25fa1d55bafbc5a667dc523bc1521
2,406
cpp
C++
test/core/src/test_atomistics.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
14
2019-11-16T10:34:04.000Z
2022-03-28T09:32:42.000Z
test/core/src/test_atomistics.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
5
2019-11-21T05:54:07.000Z
2022-03-29T07:56:34.000Z
test/core/src/test_atomistics.cpp
dgehringer/sqsgenerator
562697166a53f806629e8e1086b381871d9a675e
[ "MIT" ]
4
2020-09-28T14:28:23.000Z
2021-03-05T14:11:44.000Z
// // Created by dominik on 02.06.21. // #include "types.hpp" #include "atomistics.hpp" #include <gtest/gtest.h> using namespace sqsgenerator::utils::atomistics; namespace sqsgenerator::test { class AtomisticsTestFixture : public ::testing::Test { protected: size_t m_numSpecies; std::vector<...
31.657895
85
0.620948
[ "vector" ]
c221bbe7c227c3cd34e89fd97607933959793bf2
1,145
cpp
C++
DinoLasers/ProgressBar.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/ProgressBar.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/ProgressBar.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
#include "ProgressBar.h" ProgressBar::ProgressBar(String name, float maxValue) : UI(name) { width = 20; maxVal = maxValue; currentVal = maxVal; fillColor = REWHITE; } ProgressBar::~ProgressBar() { } void ProgressBar::SetCurrentValue(float newValue) { currentVal = glm::clamp(newValue, 0.0f, maxVal); } float...
19.741379
92
0.620087
[ "render" ]
c225d4e542a0cab9fbf7aefe806c172b403c86f0
7,477
hpp
C++
LocalSpace.hpp
simbuerg/isl-
28a72cbebcb20cb722dc8712af145ed9af200865
[ "MIT" ]
null
null
null
LocalSpace.hpp
simbuerg/isl-
28a72cbebcb20cb722dc8712af145ed9af200865
[ "MIT" ]
null
null
null
LocalSpace.hpp
simbuerg/isl-
28a72cbebcb20cb722dc8712af145ed9af200865
[ "MIT" ]
null
null
null
#ifndef ISL_CXX_LocalSpace_IMPL_H #define ISL_CXX_LocalSpace_IMPL_H #include "isl/LocalSpace.h" #include "isl/Aff.hpp" #include "isl/BasicMap.hpp" #include "isl/Id.hpp" #include "isl/Space.hpp" #include "isl/Bool.h" #include "isl/DimType.h" #include "isl/Format.h" #include "isl/IslBase.h" #include "isl/IslException.h...
29.670635
119
0.707236
[ "object" ]
ea4d43833467de94a92d00a859d49f9df8ecda19
838
cpp
C++
tests/test_class.cpp
Time0o/fire-llvm
5694116ff64ccc6e8f17a7220c1f3015b548173e
[ "MIT" ]
23
2021-12-27T14:56:07.000Z
2022-03-07T18:42:56.000Z
tests/test_class.cpp
Time0o/fire-llvm
5694116ff64ccc6e8f17a7220c1f3015b548173e
[ "MIT" ]
null
null
null
tests/test_class.cpp
Time0o/fire-llvm
5694116ff64ccc6e8f17a7220c1f3015b548173e
[ "MIT" ]
2
2021-12-28T07:11:41.000Z
2022-03-24T07:20:47.000Z
#include <fire-llvm/fire.hpp> #include <iostream> #include <optional> #include <string> #include <vector> struct S { std::string hello(std::string const &msg) { return msg; } int add(int a, int b) { return a + b; } bool flag(bool f) { return f; } int default_arg(int d = 0) { r...
14.448276
56
0.52148
[ "vector" ]
ea53e6975551720aaada063d07f6ce819626f253
3,455
cpp
C++
testdbwindow.cpp
ifconfig/besetzungsrechnerqt
7efc291b05bba5a350bdd75a3ecb6a7d33c3f5ec
[ "Apache-2.0" ]
null
null
null
testdbwindow.cpp
ifconfig/besetzungsrechnerqt
7efc291b05bba5a350bdd75a3ecb6a7d33c3f5ec
[ "Apache-2.0" ]
null
null
null
testdbwindow.cpp
ifconfig/besetzungsrechnerqt
7efc291b05bba5a350bdd75a3ecb6a7d33c3f5ec
[ "Apache-2.0" ]
null
null
null
#include "testdbwindow.h" #include "ui_testdbwindow.h" TestDbWindow::TestDbWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::TestDbWindow) { ui->setupUi(this); } TestDbWindow::~TestDbWindow() { delete ui; } void TestDbWindow::on_pushButton_clicked() { QJsonObject configurationObject = loadConfObj...
31.990741
105
0.723589
[ "object" ]
ea68d25553f9a55846a9933aff49b64254b1fa7f
513
cpp
C++
card_karuba_lib/util.cpp
MariusUrbonas/karuba-card-game-learning-enviroment
eee638229f045cd8563209c81aee6f2f319292cf
[ "MIT" ]
1
2019-05-19T16:24:51.000Z
2019-05-19T16:24:51.000Z
card_karuba_lib/util.cpp
MariusUrbonas/karuba-card-game-learning-enviroment
eee638229f045cd8563209c81aee6f2f319292cf
[ "MIT" ]
null
null
null
card_karuba_lib/util.cpp
MariusUrbonas/karuba-card-game-learning-enviroment
eee638229f045cd8563209c81aee6f2f319292cf
[ "MIT" ]
null
null
null
// // Created by Marius Urbonas on 2019-05-07. // #include "util.h" #include <string> #include <vector> namespace card_karuba_env { std::string RankIndexToString(int rank) { if (rank >= 0 && rank <= kMaxNumRanks) { std::vector<std::string> str_ranks = {"1", "2", "3", "4", "5", "6", "7", "8",...
24.428571
118
0.448343
[ "vector" ]
ea6ed0a1b7fe8d9b4a567e048b22044fbf155c5b
83,147
cpp
C++
printscan/ui/wiaacmgr/acqmgrcw.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
printscan/ui/wiaacmgr/acqmgrcw.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
printscan/ui/wiaacmgr/acqmgrcw.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************************************************************* * * (C) COPYRIGHT MICROSOFT CORPORATION, 1998 * * TITLE: ACQMGRCW.CPP * * VERSION: 1.0 * * AUTHOR: ShaunIv * * DATE: 9/27/1999 * * DESCRIPTION: * *************************************...
37.966667
218
0.578036
[ "object" ]
ea6f25cba74cdb0c0d4b322f6971270cf04ad68d
13,485
cpp
C++
src/tensors/cpu/sharp/sse_gemm.cpp
hieuhoang/marian-dev
f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2
[ "MIT" ]
13
2020-06-01T13:00:23.000Z
2022-01-29T01:40:40.000Z
src/tensors/cpu/sharp/sse_gemm.cpp
hieuhoang/marian-dev
f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2
[ "MIT" ]
2
2020-10-21T23:38:48.000Z
2021-03-25T05:40:35.000Z
src/tensors/cpu/sharp/sse_gemm.cpp
hieuhoang/marian-dev
f2347a827fcfd7eebaaa552e2b3c2461f8ea45c2
[ "MIT" ]
5
2020-06-05T13:10:40.000Z
2021-01-19T07:37:23.000Z
// Copyright (c) 2017 Microsoft Corporation // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, pu...
39.429825
80
0.628254
[ "model" ]
ea70a6b93ea45f68fc9ccabd66934b0387148c10
4,499
hpp
C++
src/framework/protocol/carrier.hpp
deepgrace/carrier
64e37cb426c4b0d8fc97902347fb056b6925c3ed
[ "BSL-1.0" ]
23
2019-04-02T07:47:30.000Z
2022-03-15T03:32:42.000Z
src/framework/protocol/carrier.hpp
deepgrace/carrier
64e37cb426c4b0d8fc97902347fb056b6925c3ed
[ "BSL-1.0" ]
null
null
null
src/framework/protocol/carrier.hpp
deepgrace/carrier
64e37cb426c4b0d8fc97902347fb056b6925c3ed
[ "BSL-1.0" ]
6
2018-12-12T09:18:31.000Z
2021-08-11T07:51:20.000Z
// // Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/deepgrace/carrier // #ifndef CARRIER...
32.366906
114
0.572572
[ "vector" ]
ea74a3857a2d5b486c5f2277abdccb13fa60b8cb
1,108
cpp
C++
HackerBlocks/More/ROTATE THE MATRIX - ADHOC - HACKERBLOCKS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
HackerBlocks/More/ROTATE THE MATRIX - ADHOC - HACKERBLOCKS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
HackerBlocks/More/ROTATE THE MATRIX - ADHOC - HACKERBLOCKS.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// https://csacademy.com/contest/archive/task/matrix_rotations/statement/ #include<bits/stdc++.h> #include<unordered_set> using namespace std; #define fio ios_base::sync_with_stdio(false) #define ll long long int #define s(x) scanf("%lld",&x) #define s2(x,y) s(x)+s(y) #define s3(x,y,z) s(x)+s(y)+s(z) #define p(x)...
19.785714
73
0.555054
[ "vector" ]
ea79c660eff3d54d76d4d5eb74f0ed8fb3c358cc
4,600
cpp
C++
vlp16-viewer/src/velodyne_driver/driver.cpp
jdj2261/Velodyne-Object-Clustering
14dde5e96490e6f1e83799babca702b7a6d3b128
[ "MIT" ]
2
2021-08-04T04:26:04.000Z
2021-12-07T15:07:20.000Z
vlp16-viewer/src/velodyne_driver/driver.cpp
jdj2261/Velodyne-Object-Clustering
14dde5e96490e6f1e83799babca702b7a6d3b128
[ "MIT" ]
1
2021-05-20T02:30:36.000Z
2021-05-20T02:30:36.000Z
vlp16-viewer/src/velodyne_driver/driver.cpp
jdj2261/velodyne-object-clustering
14dde5e96490e6f1e83799babca702b7a6d3b128
[ "MIT" ]
null
null
null
/** @author Dae Jong Jin ** @date 2021. 05. 15 ** @file Velodyne 3D LIDAR data driver classes */ #include "velodyne_driver/driver.h" #include <iostream> #include <cmath> #include <vector> #include <fcntl.h> namespace velodyne_driver { void VelodyneDriver::init_driver() { config_.model = "VLP16";...
38.983051
104
0.548478
[ "vector", "model", "3d" ]
ea848959b651eb04effc25ad9efb7eb497ef2025
2,248
cc
C++
deploy/lite_shitu/src/vector_search.cc
PaddlePaddle/PaddleImgClass
f5265a1f2ab7aa113ae5245223f0528e3239a5e7
[ "Apache-2.0" ]
7
2020-03-30T04:32:01.000Z
2020-03-30T07:51:00.000Z
deploy/lite_shitu/src/vector_search.cc
PaddlePaddle/PaddleClassification
51c1bdb27af15441995bf9840f7020cca9b7d9a8
[ "Apache-2.0" ]
null
null
null
deploy/lite_shitu/src/vector_search.cc
PaddlePaddle/PaddleClassification
51c1bdb27af15441995bf9840f7020cca9b7d9a8
[ "Apache-2.0" ]
1
2020-04-07T17:03:24.000Z
2020-04-07T17:03:24.000Z
// Copyright (c) 2020 PaddlePaddle 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...
33.552239
77
0.66548
[ "vector" ]
ea8cb2e6041692a5d1eaa936b04ac2a61f60a230
4,195
cpp
C++
geometry/3d/tetra.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
1
2017-08-11T19:12:24.000Z
2017-08-11T19:12:24.000Z
geometry/3d/tetra.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
11
2018-07-07T20:09:44.000Z
2020-02-16T22:45:09.000Z
geometry/3d/tetra.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
null
null
null
//------------------------------------------------------------ // snakeoil (c) Alexis Constantin Link // Distributed under the MIT license //------------------------------------------------------------ #include "tetra.h" #include "../mesh/polygon_mesh.h" using namespace so_geo ; using namespace so_geo::so_3d ; //***...
26.719745
87
0.442908
[ "mesh", "vector" ]
ea8d09e516f1a579a47922986a34d4141334b71d
20,087
cpp
C++
libtang/src/Bitstream.cpp
TechnoMancer/prjtang
ffce01342c4fa301d408089d419a2c1ee391b599
[ "ISC" ]
6
2019-12-06T14:31:57.000Z
2019-12-06T23:24:20.000Z
libtang/src/Bitstream.cpp
TechnoMancer/prjtang
ffce01342c4fa301d408089d419a2c1ee391b599
[ "ISC" ]
null
null
null
libtang/src/Bitstream.cpp
TechnoMancer/prjtang
ffce01342c4fa301d408089d419a2c1ee391b599
[ "ISC" ]
null
null
null
#include "Bitstream.hpp" #include <bitset> #include <boost/algorithm/string/predicate.hpp> #include <cstring> #include <iostream> namespace Tang { // Add a single byte to the running CRC16 accumulator void Crc16::update_crc16(uint8_t val) { int bit_flag; for (int i = 7; i >= 0; i--) { bit_flag = crc16...
34.219761
120
0.512521
[ "vector", "3d" ]
ea9082a013a103f6390d8e84867a60217d90550e
268
cpp
C++
libs/core/render/src/gl/detail/egl/bksge_core_render_gl_detail_egl_egl_context.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/src/gl/detail/egl/bksge_core_render_gl_detail_egl_egl_context.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/src/gl/detail/egl/bksge_core_render_gl_detail_egl_egl_context.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bksge_core_render_gl_detail_egl_egl_context.cpp * * @brief EglContext の実装 * * @author myoukaku */ #include <bksge/fnd/config.hpp> #if !defined(BKSGE_HEADER_ONLY) #include <bksge/core/render/gl/detail/egl/inl/egl_context_inl.hpp> #endif
20.615385
67
0.712687
[ "render" ]
ea9fcd66924fdb9415179cbb3b765a34363f6c57
459
hpp
C++
tinytemplate.hpp
comargo/tinytemplate
0182eb7acb029ce85eaf668323a24e71034f87bf
[ "MIT" ]
null
null
null
tinytemplate.hpp
comargo/tinytemplate
0182eb7acb029ce85eaf668323a24e71034f87bf
[ "MIT" ]
null
null
null
tinytemplate.hpp
comargo/tinytemplate
0182eb7acb029ce85eaf668323a24e71034f87bf
[ "MIT" ]
null
null
null
#ifndef TINYTEMPLATE_HPP #define TINYTEMPLATE_HPP #include <string> #include <map> #include <stdexcept> namespace tinytemplate { class render_error : public std::runtime_error { public: explicit render_error(const std::string &what_arg); explicit render_error(const char *what_arg); }; std::string ren...
20.863636
124
0.747277
[ "render" ]
eaa17c952ef2879d1a8289332d23fa13a73dab5c
4,676
cc
C++
app/src/main.cc
rkaminsk/clingo-lpx
9188371b56652549b9a045e868ab22517d555f9f
[ "MIT" ]
null
null
null
app/src/main.cc
rkaminsk/clingo-lpx
9188371b56652549b9a045e868ab22517d555f9f
[ "MIT" ]
5
2021-04-26T10:26:00.000Z
2021-11-16T09:58:23.000Z
app/src/main.cc
rkaminsk/simplex
9188371b56652549b9a045e868ab22517d555f9f
[ "MIT" ]
null
null
null
// {{{ MIT License // Copyright Roland Kaminski // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merg...
35.969231
107
0.619333
[ "model" ]
eaa7bc2ecf170f65984068ab53d693a771326636
5,529
cpp
C++
moos-ivp/ivp/src/app_aloghelm/main.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/app_aloghelm/main.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/app_aloghelm/main.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: main.cpp */ /* DATE: June 3rd, 2008 ...
38.664336
84
0.490866
[ "vector" ]
eaadd4da19753830b5d444433917f3d46acee492
7,258
hpp
C++
cpp/src/utils/NeedlemanWunsch.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
8
2018-10-08T15:47:21.000Z
2021-11-09T07:13:05.000Z
cpp/src/utils/NeedlemanWunsch.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2018-11-05T09:16:27.000Z
2020-04-09T12:32:56.000Z
cpp/src/utils/NeedlemanWunsch.hpp
dylex/wecall
35d24cefa4fba549e737cd99329ae1b17dd0156b
[ "MIT" ]
4
2019-09-03T15:46:39.000Z
2021-06-04T07:28:33.000Z
// All content Copyright (C) 2018 Genomics plc #ifndef NEEDLEMAN_WUNSCH_HPP #define NEEDLEMAN_WUNSCH_HPP #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/matrix_proxy.hpp> #include <boost/optional/optional.hpp> #include "utils/referenceSequence.hpp" #include "variant/type/variant.hpp" namespac...
39.879121
120
0.611325
[ "vector" ]
eab468d6f52ffaa9fc87783475815282a593095e
30,548
cpp
C++
sources/DirectoryServer.cpp
KhaledSoliman/P2P-Image-App
ef3cdd083aef1871f8383e44205c81aab2799257
[ "MIT" ]
null
null
null
sources/DirectoryServer.cpp
KhaledSoliman/P2P-Image-App
ef3cdd083aef1871f8383e44205c81aab2799257
[ "MIT" ]
11
2019-10-23T17:10:36.000Z
2019-11-22T19:59:48.000Z
sources/DirectoryServer.cpp
KhaledSoliman/Distributed-Systems-Fall19
ef3cdd083aef1871f8383e44205c81aab2799257
[ "MIT" ]
null
null
null
#include "../headers/DirectoryServer.h" #include "../headers/MessageStructures.h" #include <boost/algorithm/string.hpp> #include <boost/range/adaptor/map.hpp> #include <boost/random/random_device.hpp> #include <boost/random/uniform_int_distribution.hpp> #include <boost/thread.hpp> #pragma clang diagnostic push #pragma...
39.014049
115
0.589269
[ "vector" ]
eab80c97162d0e696f7fe17c51f7f6417c051813
794
cpp
C++
atcoder/abc068/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
atcoder/abc068/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
atcoder/abc068/C/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int N, M; vector<int> A, B; bool solve() { unordered_set<int> is; for (int i = 0; i < M; ++i) { if (A[i] == 0) { is.insert(B[i]); } if (B[i] == 0) { is.insert(A[i]); } } for (int i = 0; i < M; ++i) {...
19.85
59
0.420655
[ "vector" ]
eab9f8160cd8955b2e80a37b032af1961a460f12
4,123
cc
C++
src/bgp/test/bgp_test_util.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
3
2019-01-11T06:16:40.000Z
2021-02-24T23:48:21.000Z
src/bgp/test/bgp_test_util.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
null
null
null
src/bgp/test/bgp_test_util.cc
biswajit-mandal/contrail-controller
80c4a7e8515f7296b18ba4c21a439bd3daefcc4a
[ "Apache-2.0" ]
18
2017-01-12T09:28:44.000Z
2019-04-18T20:47:42.000Z
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "bgp/test/bgp_test_util.h" #include <assert.h> #include <stdio.h> #include <pugixml/pugixml.hpp> using pugi::xml_document; using pugi::xml_node; using pugi::node_pcdata; using namespace std; namespace bgp_util { string NetworkConfigGe...
36.486726
81
0.617997
[ "vector" ]
eabc0ace137d1b0d786599bee874aff9507dd5b0
7,287
cc
C++
voro++/examples/no_release/sphere_mesh.cc
lsmo-epfl/zeoplusplus
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
2
2019-11-14T02:27:33.000Z
2020-05-05T23:17:47.000Z
voro++/examples/no_release/sphere_mesh.cc
lsmo-epfl/zeoplusplus
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
4
2018-10-17T08:20:58.000Z
2020-12-19T03:28:01.000Z
voro++/examples/no_release/sphere_mesh.cc
lsmo-epfl/zeopp-lsmo
b8acd8d08d7256aecdbb92454250760314a00b06
[ "BSD-3-Clause-LBNL" ]
3
2019-03-04T11:25:44.000Z
2019-05-29T16:37:12.000Z
// Voronoi calculation example code // // Author : Chris H. Rycroft (LBL / UC Berkeley) // Email : chr@alum.mit.edu // Date : August 30th 2011 #include "voro++.hh" using namespace voro; #include <vector> using namespace std; // Set up constants for the container geometry const double boxl = 1.2; // Set up ...
27.498113
80
0.4777
[ "mesh", "geometry", "vector" ]
eac1732d1963ebb2186fc3589738098bd4004f26
814
hpp
C++
templates/projects/sfml_window/include/Window.hpp
Lehdari/Pulautin
5f5b5221b33a1c1c18e75d0d041c9aad6c4b4af6
[ "MIT" ]
null
null
null
templates/projects/sfml_window/include/Window.hpp
Lehdari/Pulautin
5f5b5221b33a1c1c18e75d0d041c9aad6c4b4af6
[ "MIT" ]
null
null
null
templates/projects/sfml_window/include/Window.hpp
Lehdari/Pulautin
5f5b5221b33a1c1c18e75d0d041c9aad6c4b4af6
[ "MIT" ]
null
null
null
// // Created by Lehdari on 29.9.2018. // #ifndef TYPES_HPP #define TYPES_HPP #include <SFML/Window.hpp> class Window { public: struct Settings { std::string windowName; sf::VideoMode videoMode; int64_t framerateLimit; Settings(const std::string& windowName = "", ...
19.853659
74
0.578624
[ "render" ]
eac7295521e957a1960ee5e1b62c4b07dd53b1d5
14,492
hpp
C++
patch/patch_undo.hpp
ePi5131/patch.aul
cfdea967549ad8527b2c0830eb0f40a8cbec149a
[ "MIT" ]
14
2022-03-29T09:23:39.000Z
2022-03-31T10:03:52.000Z
patch/patch_undo.hpp
ePi5131/patch.aul
cfdea967549ad8527b2c0830eb0f40a8cbec149a
[ "MIT" ]
5
2022-03-30T07:53:18.000Z
2022-03-31T10:07:08.000Z
patch/patch_undo.hpp
ePi5131/patch.aul
cfdea967549ad8527b2c0830eb0f40a8cbec149a
[ "MIT" ]
1
2022-03-30T07:02:24.000Z
2022-03-30T07:02:24.000Z
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will...
45.716088
162
0.634488
[ "object" ]
eacab1e88baa19853bc2f25f7b13d86fe9a240b6
8,284
hpp
C++
src/Viewer/src/Geometry2DBeam.hpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
15
2018-04-20T19:16:50.000Z
2022-02-11T04:11:41.000Z
src/Viewer/src/Geometry2DBeam.hpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
31
2016-04-05T20:56:28.000Z
2022-03-31T22:02:46.000Z
src/Viewer/src/Geometry2DBeam.hpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
6
2018-04-20T19:38:58.000Z
2020-04-06T00:30:47.000Z
#ifndef GEOMETRY2DBEAM_H #define GEOMETRY2DBEAM_H #include <memory> #include <vector> namespace FenestrationCommon { enum class Side; } namespace Viewer { class CViewSegment2D; class CGeometry2D; class CSegment2D; class CPoint2D; //////////////////////////////////////////////////////////////...
36.817778
100
0.566997
[ "vector" ]
ead07fb500e8f3a32785b87c9e078320a891dd53
62,652
cpp
C++
common/bpcodec/test/TestBundleViewV7.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
common/bpcodec/test/TestBundleViewV7.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
common/bpcodec/test/TestBundleViewV7.cpp
ewb4/HDTN
a0e577351bd28c3aeb7e656e03a2d93cf84712a0
[ "NASA-1.3" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <boost/thread.hpp> #include "codec/BundleViewV7.h" #include <iostream> #include <string> #include <inttypes.h> #include <vector> #include "Uri.h" #include <boost/next_prior.hpp> #include <boost/make_unique.hpp> #include "PaddedVectorUint8.h" static const uint64_t PRIMARY_SR...
58.883459
210
0.684639
[ "render", "vector" ]
eae598cf717c05dc61abda4f5ee77e4e3d5f024b
1,096
hpp
C++
include/midipatcher/Port/VirtMidiIn.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
2
2020-09-29T06:51:48.000Z
2021-10-06T17:58:00.000Z
include/midipatcher/Port/VirtMidiIn.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
null
null
null
include/midipatcher/Port/VirtMidiIn.hpp
tschiemer/midipatcher
a0922df002fe8b99ed551f7092c94fecff600728
[ "MIT" ]
null
null
null
#ifndef MIDIPATCHER_PORT_VIRT_MIDI_IN_H #define MIDIPATCHER_PORT_VIRT_MIDI_IN_H #include "AbstractInputPort.hpp" #include <RtMidi.h> namespace MidiPatcher { namespace Port { class VirtMidiIn : AbstractInputPort { public: static const constexpr char * PortClass = "VirtMidiIn"; std::string ge...
21.490196
109
0.680657
[ "vector" ]
eae69fd70be8777a9baeb277ec872f14ffa94023
80,831
cpp
C++
pd/pe_header.cpp
elsisoft/Process-Dump
b5eb1fcfb14566cd279a0fb17ea79152d8a197db
[ "MIT" ]
1,196
2015-11-21T22:59:47.000Z
2022-03-22T09:16:46.000Z
pd/pe_header.cpp
hdbeefup/Process-Dump
b5eb1fcfb14566cd279a0fb17ea79152d8a197db
[ "MIT" ]
19
2016-09-19T15:51:14.000Z
2021-08-31T18:54:47.000Z
pd/pe_header.cpp
hdbeefup/Process-Dump
b5eb1fcfb14566cd279a0fb17ea79152d8a197db
[ "MIT" ]
235
2015-11-23T09:21:12.000Z
2022-03-25T20:28:50.000Z
#include "StdAfx.h" #include "pe_header.h" pe_header::pe_header( char* filename, PD_OPTIONS* options ) { this->_options = options; this->_image_size = 0; this->_raw_header_size = 0; this->_disk_image_size = 0; this->_stream = (stream_wrapper*) new file_stream( filename ); _original_base = 0; _unique_...
39.23835
276
0.692606
[ "object" ]
eae78d4bd332954d892de441cde27b0fcdd7e279
72,736
cc
C++
virtual-UE-eNB/srsLTE-5d82f19988bc148d7f4cec7a0f29184375a64b40/srsenb/src/upper/rrc.cc
Joanguitar/docker-nextepc
2b606487968fe63ce19a8acf58938a84d97ffb89
[ "MIT" ]
1
2020-10-02T00:20:22.000Z
2020-10-02T00:20:22.000Z
srsenb/src/upper/rrc.cc
rzrepo/U-CIMAN
292be030da3a2ec6fe8230630547e04837e2fa34
[ "MIT" ]
null
null
null
srsenb/src/upper/rrc.cc
rzrepo/U-CIMAN
292be030da3a2ec6fe8230630547e04837e2fa34
[ "MIT" ]
3
2020-04-04T18:26:04.000Z
2021-09-24T18:41:01.000Z
/** * * \section COPYRIGHT * * Copyright 2013-2017 Software Radio Systems Limited * * \section LICENSE * * This file is part of srsLTE. * * srsUE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
36.56913
177
0.696711
[ "vector" ]
eaf48a0a00a2f84fa62e46b7a19618087cd030cd
6,708
cc
C++
core/scene_element.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
1
2017-07-27T15:08:19.000Z
2017-07-27T15:08:19.000Z
core/scene_element.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
null
null
null
core/scene_element.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
1
2020-10-01T08:46:10.000Z
2020-10-01T08:46:10.000Z
// Copyright (c) 2014 The Caroline authors. All rights reserved. // Use of this source file is governed by a MIT license that can be found in the // LICENSE file. /// @author Glazachev Vladimir <glazachev.vladimir@gmail.com> /// @author Mlodik Mikhail <mlodik_m@mail.ru> #include "core/scene_element.h" #include <cmath...
28.066946
80
0.607782
[ "mesh", "vector", "transform" ]
46ad2d849875d4cdfd9aa8b71a35669b22a9c59e
2,356
cpp
C++
chap5/chap5-1.4.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap5/chap5-1.4.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap5/chap5-1.4.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
/* 数学趣题 三色球问题 有红、黄、绿三种颜色的球,其中红球3个,黄球3个,绿球6个。 现将这12个球混放在一个盒子中,从中任意摸出8个球,编程计算摸出球的各种颜色搭配。 */ #include <iostream> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <vector> using namespace std; /**************************方法1,穷举实现****************************************/ void Qion...
14.02381
80
0.5191
[ "vector", "3d" ]
46b574f892e2a71d5db7a11e26371aba6ef357ce
82,904
cpp
C++
GCG_Source.build/module.urllib3.packages.backports.makefile.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.urllib3.packages.backports.makefile.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.urllib3.packages.backports.makefile.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'urllib3.packages.backports.makefile' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
33.618816
354
0.708928
[ "object" ]
46bca4abeb930bd7d348a8e6c1fd938ac6eec0a6
489
cpp
C++
_includes/leet255/leet2551.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet255/leet2551.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet255/leet2551.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: bool verifyPreorder(vector<int>& preorder) { if(preorder.size() < 1) { return true; } stack<int> s; int bound = INT_MIN; for(auto num : preorder) { if(num < bound) { return false; } while...
22.227273
48
0.390593
[ "vector" ]
46bdcb9ef4533f6e7d4984edd5585c10fe8d7ec7
5,571
hpp
C++
include/dds/core/BuiltinTopicTypes.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
include/dds/core/BuiltinTopicTypes.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
include/dds/core/BuiltinTopicTypes.hpp
jason-fox/Fast-RTPS
af466cfe63a8319cc9d37514267de8952627a9a4
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
/* * Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Corp. * Copyright 2010, Real-Time Innovations, Inc. * Copyright 2019, Proyectos y Sistemas de Mantenimiento SL (eProsima). * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
25.208145
82
0.664872
[ "object", "vector" ]
46c96aa14d90f143f93735890bc2fe5780707afc
3,047
cpp
C++
OpenGL Backend/scene.cpp
gm-archive/pineapple-ide
215044b2ccbf3bf30ab2dc03247c75a7de80a505
[ "MIT" ]
null
null
null
OpenGL Backend/scene.cpp
gm-archive/pineapple-ide
215044b2ccbf3bf30ab2dc03247c75a7de80a505
[ "MIT" ]
null
null
null
OpenGL Backend/scene.cpp
gm-archive/pineapple-ide
215044b2ccbf3bf30ab2dc03247c75a7de80a505
[ "MIT" ]
null
null
null
#include "SDL/SDL.h" #include "SDL/SDL_opengl.h" #include <vector> #include <list> #include "application.h" #include "actor.h" #include "scene.h" #include "window.h" using namespace Pineapple; using namespace std; // //Scene base constructor // Scene::Scene(int width, int height) { glClearColor(0, 0, 0, 1); th...
17.923529
102
0.543814
[ "vector" ]
46cd0bd013d661b73ce12fde0e2117c0ded3acca
1,195
cpp
C++
785.is_graph_bipartite.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
5
2019-09-12T05:23:44.000Z
2021-11-15T11:19:39.000Z
785.is_graph_bipartite.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
18
2019-09-23T13:11:06.000Z
2019-11-09T11:20:17.000Z
785.is_graph_bipartite.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
null
null
null
#include <vector> #define WHITE 0 #define RED 1 #define GREEN -1 using namespace std; class Solution { public: bool isBipartite(vector<vector<int>> &graph) { // 0 - no-color // 1 - red color // -1 - green color vector<int> colored(graph.size(), WHITE); for (int i = ...
19.590164
80
0.451046
[ "vector" ]
46e8db1f9e8db9de7c042af159cdfd58907c8d7a
1,025
cpp
C++
0900/80/985b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0900/80/985b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0900/80/985b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <string> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } void answer(bool v) { constexpr const char* s[2] = { "NO", "YES" }; std::cout << s[v] << '\n'; } void s...
17.372881
65
0.468293
[ "vector" ]
46ee6362d5e8d0111117fb3983e1ff6a937b8bfa
437
cpp
C++
Medium/Sort Colors.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Sort Colors.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
Medium/Sort Colors.cpp
TheCodeAlpha26/Lets-LeetCode
00110044763a683d262fed196f7b0742d2e8505f
[ "Apache-2.0" ]
null
null
null
class Solution { public: void sortColors(vector<int>& nums) { int r=0,w=0,b=0,i=0; for(int i=0;i<nums.size();i++) if(nums[i]==0) r++; else if(nums[i]==1) w++; else b++; for(i=0;i<r;i++) nums[...
20.809524
39
0.338673
[ "vector" ]
2001b5760ce29221a3f3c58192d4479505f7806c
72,952
cpp
C++
flowstar-release/Polynomial.cpp
souradeep-111/sherlock
bf34fb4713e5140b893c98382055fb963230d69d
[ "MIT" ]
34
2018-02-17T14:18:57.000Z
2022-03-08T19:21:00.000Z
flowstar-release/Polynomial.cpp
souradeep-111/sherlock_2
763e5817cca2b69f0e96560835a442434980b3a8
[ "MIT" ]
4
2018-02-09T07:58:44.000Z
2021-01-15T14:32:02.000Z
flowstar-release/Polynomial.cpp
souradeep-111/sherlock_2
763e5817cca2b69f0e96560835a442434980b3a8
[ "MIT" ]
12
2018-02-05T15:13:05.000Z
2021-10-05T04:16:44.000Z
/*--- Flow*: A Verification Tool for Cyber-Physical Systems. Authors: Xin Chen, Sriram Sankaranarayanan, and Erika Abraham. Email: Xin Chen <chenxin415@gmail.com> if you have questions or comments. The code is released as is under the GNU General Public License (GPL). ---*/ #include "Polynomial.h" #include "T...
19.027647
276
0.671113
[ "vector" ]
2016b058d51257d664573b06c672140fe77b6caa
3,203
cpp
C++
src/components/fm.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
17
2021-03-22T14:17:16.000Z
2022-02-22T20:58:27.000Z
src/components/fm.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
null
null
null
src/components/fm.cpp
jan-van-bergen/Synth
cc6fee6376974a3cc2e86899ab2859a5f1fb7e33
[ "MIT" ]
1
2021-11-17T18:00:55.000Z
2021-11-17T18:00:55.000Z
#include "fm.h" #include "synth/synth.h" void FMComponent::update(Synth const & synth) { auto steps_per_second = 4.0f / 60.0f * float(synth.settings.tempo); update_voices(steps_per_second); for (int v = 0; v < voices.size(); v++) { auto & voice = voices[v]; auto carrier_freq = util::note_freq(voice.note); ...
26.915966
109
0.644708
[ "render", "object" ]
2018b7cbfc5f42809644390a1af9680a72a912d6
23,193
cpp
C++
Codes/qstarstar.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
null
null
null
Codes/qstarstar.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
null
null
null
Codes/qstarstar.cpp
CasperLumby/Bottleneck_Size_Estimation
9f9d81e35c1ac9dc74541401e8da70d428be1ad1
[ "MIT" ]
1
2019-06-12T13:25:36.000Z
2019-06-12T13:25:36.000Z
#include <algorithm> #include <iostream> #include <list> #include <string> #include <array> #include <fstream> #include <math.h> #include <math.h> #include <vector> #include <sstream> #include <gsl/gsl_rng.h> #include <gsl/gsl_sf_gamma.h> #include <numeric> #include <gsl/gsl_blas.h> #include <gsl/gsl_sf...
37.589951
229
0.636226
[ "vector" ]
20190c95b613076e7e97d984e0f31fba881d1d47
24,295
cpp
C++
shell/shdocvw/winlist.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/shdocvw/winlist.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/shdocvw/winlist.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//-------------------------------------------------------------------------- // Manage the windows list, such that we can get the IDispatch for each of // the shell windows to be marshalled to different processes //--------------------------------------------------------------------------- //---------------------...
28.515258
140
0.550278
[ "object" ]
201d531c6a3816d47aa9658bef53e6a73736cb13
50,828
cc
C++
src/bgp/test/bgp_mvpn_integration_test.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
37
2020-09-21T10:42:26.000Z
2022-01-09T10:16:40.000Z
src/bgp/test/bgp_mvpn_integration_test.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
null
null
null
src/bgp/test/bgp_mvpn_integration_test.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
21
2020-08-25T12:48:42.000Z
2022-03-22T04:32:18.000Z
/* * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. */ #include <boost/foreach.hpp> #include <boost/format.hpp> #include "bgp/bgp_config.h" #include "bgp/bgp_config_parser.h" #include "bgp/bgp_factory.h" #include "bgp/bgp_multicast.h" #include "bgp/bgp_mvpn.h" #include "bgp/bgp_sandesh.h" #include "...
39.008442
82
0.59359
[ "vector" ]
20220866e1681e32484a2589009d372f5c2b1e9b
702
cpp
C++
dynamic-programming/C++/0121-best-time-to-buy-and-sell-stock/main.cpp
ljyljy/LeetCode-Solution-in-Good-Style
0998211d21796868061eb22e2cbb9bcd112cedce
[ "Apache-2.0" ]
1
2020-03-09T00:45:32.000Z
2020-03-09T00:45:32.000Z
dynamic-programming/C++/0121-best-time-to-buy-and-sell-stock/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
null
null
null
dynamic-programming/C++/0121-best-time-to-buy-and-sell-stock/main.cpp
lemonnader/LeetCode-Solution-Well-Formed
baabdb1990fd49ab82a712e121f49c4f68b29459
[ "Apache-2.0" ]
1
2021-06-17T09:21:54.000Z
2021-06-17T09:21:54.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int maxProfit(vector<int> &prices) { int size = prices.size(); if (size <= 1) { return 0; } // 差分数组 vector<int> diff(size - 1, 0); for (int i = 0; i < size - 1; ++i) { ...
20.057143
48
0.425926
[ "vector" ]
45d8c0853d0cb66d9c50b3866910af44bb09ccfa
7,542
hpp
C++
src/SkillSet.hpp
GeorgeWeb/Heroes_Journey
2f1ee746fe6834a1c49a148539dd5a618e363972
[ "MIT" ]
1
2020-05-19T06:47:10.000Z
2020-05-19T06:47:10.000Z
src/SkillSet.hpp
GeorgeWeb/HeroesJourney
2f1ee746fe6834a1c49a148539dd5a618e363972
[ "MIT" ]
null
null
null
src/SkillSet.hpp
GeorgeWeb/HeroesJourney
2f1ee746fe6834a1c49a148539dd5a618e363972
[ "MIT" ]
null
null
null
#ifndef SKILL_SET_H #define SKILL_SET_H #include "Components/StatusComponent.hpp" #include "DEFINITIONS.hpp" namespace HJ { using namespace Components; enum class SKILL_TARGET : int { SELF = 0, ALLY = 1, ENEMY = 2, ENEMY_TEAM = 3 }; enum class DAMAGE_BASE : int { MELEE = 0, RANGED = 1, DEFENCE...
20.383784
75
0.640546
[ "vector" ]
45f292395f8b722b9c1317128583e0d28176245b
565
cpp
C++
TAO/TAO_IDL/be/be_init.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/TAO_IDL/be/be_init.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/TAO_IDL/be/be_init.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: be_init.cpp 85771 2009-06-23 20:11:39Z mitza $ #include "global_extern.h" #include "be_extern.h" #include "../../tao/Version.h" TAO_IDL_BE_Export void BE_version (void) { ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO_IDL_BE, version ") ACE_TEXT (TAO_VERSION) ACE_TEXT ("\n"))); } TAO_IDL_...
18.225806
70
0.619469
[ "object" ]
45f37e350f093d0bd33f593a7d9b4ae011b8682a
20,506
cpp
C++
DKPlugins/DKRml/DKRml.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
29
2015-05-03T06:23:22.000Z
2022-02-10T15:16:26.000Z
DKPlugins/DKRml/DKRml.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
125
2016-02-28T06:13:49.000Z
2022-01-04T11:50:08.000Z
DKPlugins/DKRml/DKRml.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
8
2016-12-04T02:29:34.000Z
2022-01-04T01:11:25.000Z
#include "DK/stdafx.h" #ifdef USE_rmlui_debugger #include <RmlUi/Debugger.h> #endif #include "DKRml/DKRml.h" #include "DKWindow/DKWindow.h" #include "DKCurl/DKCurl.h" #include "DKDuktape/DKDuktape.h" #include "DKXml/DKXml.h" #include "DKRml/DKRmlHeadInstancer.h" #include <RmlUi/Core/StreamMemory.h> #include "../../3r...
34.233723
147
0.691164
[ "object" ]
45fdaed525c24edb0dc3bc6fb62c162b12da1d4b
503
cpp
C++
CodeForces/Complete/600-699/618B-GuessThePermutation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/600-699/618B-GuessThePermutation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/600-699/618B-GuessThePermutation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> #include <vector> #include <algorithm> int main(){ int n; std::cin >> n; std::vector<int> perm(n, 0); for(int row = 0; row < n; row++){ int current(0); for(int col = 0; col < n; col++){int x; std::cin >> x; current = std::max(current, x);} perm[row] = current; ...
25.15
95
0.489066
[ "vector" ]
45fff1dcb706c7fe3e6232be8dd115be07044a00
2,003
hpp
C++
src/ELL_OPT.hpp
efocht/hpcg-ve-open
73dfcef70ad3dea32329264e035a602523ca1cf7
[ "BSD-3-Clause" ]
1
2022-02-12T03:22:50.000Z
2022-02-12T03:22:50.000Z
src/ELL_OPT.hpp
efocht/hpcg-ve-open
73dfcef70ad3dea32329264e035a602523ca1cf7
[ "BSD-3-Clause" ]
null
null
null
src/ELL_OPT.hpp
efocht/hpcg-ve-open
73dfcef70ad3dea32329264e035a602523ca1cf7
[ "BSD-3-Clause" ]
null
null
null
#ifndef ELL_OPT_HPP #define ELL_OPT_HPP #include "Geometry.hpp" // // +--------+--------+ // | | | // | | | // | L | U | n // | | | rows // | | | // | | | // +--------+--------+ // |<- mL ->|<- mU ->| // // matrix stored column wise, t...
27.067568
78
0.581628
[ "geometry", "vector" ]
3411dee90fef5f34a6c612dd53c07af8c87a1a98
3,304
hpp
C++
include/topology/flag.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2020-04-24T17:34:54.000Z
2021-04-07T15:56:00.000Z
include/topology/flag.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2021-05-13T14:16:35.000Z
2021-08-15T15:11:55.000Z
include/topology/flag.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
1
2021-05-09T12:17:30.000Z
2021-05-09T12:17:30.000Z
#pragma once namespace bats { // template over filtration type // CpxT should be a template <typename CpxT, typename NT> void add_dimension_recursive_flag( CpxT &X, const NT &nbrs, // lists of neighbors const size_t d, // dimension const size_t maxd, // max dimension const std::vector<size_t> &ite...
28
84
0.565375
[ "vector" ]
3417d155aa0b94bb76c06c5473f92fe89f819ee9
703
hpp
C++
src/input/action_factory.hpp
DonRomanos/Terms_of_Enrampagement
7c825e1d6f460809df97af645736b69c27acadf8
[ "MIT" ]
null
null
null
src/input/action_factory.hpp
DonRomanos/Terms_of_Enrampagement
7c825e1d6f460809df97af645736b69c27acadf8
[ "MIT" ]
null
null
null
src/input/action_factory.hpp
DonRomanos/Terms_of_Enrampagement
7c825e1d6f460809df97af645736b69c27acadf8
[ "MIT" ]
null
null
null
#pragma once #include "actions.hpp" #include "input_provider.hpp" #include "action_table.hpp" #include <vector> #include <memory> struct GLFWwindow; namespace input { class ActionFactory { public: [[nodiscard]] virtual std::vector<core::Actions> produce_actions() = 0; virtual ~ActionFactory() = 0 {}; }; c...
21.30303
101
0.753912
[ "vector" ]
34242ce5b6dc3cbbcc8b41c79ad80dbc9134a1ff
11,803
cpp
C++
cpp/extras/benchmarks/bench.cpp
tenzir/libfilter
d0d23243f841cc625588afc16f2cacdfeb1cae56
[ "Apache-2.0" ]
22
2020-08-04T15:13:52.000Z
2022-02-08T18:51:09.000Z
cpp/extras/benchmarks/bench.cpp
tenzir/libfilter
d0d23243f841cc625588afc16f2cacdfeb1cae56
[ "Apache-2.0" ]
3
2021-10-09T00:38:05.000Z
2022-01-24T02:27:16.000Z
cpp/extras/benchmarks/bench.cpp
tenzir/libfilter
d0d23243f841cc625588afc16f2cacdfeb1cae56
[ "Apache-2.0" ]
2
2021-03-31T04:34:54.000Z
2021-06-22T19:30:34.000Z
// This is a benchmark of insert time, find time, (both in nanoseconds) and false positive // probability. The results are printed to stdout. // // The output is CSV. Each line has the form // // filter_name, ndv, bytes, sample_type, payload // // The sample_type can be "insert_nanos", "find_nanos", or "fpp". #include...
35.87538
94
0.613912
[ "vector" ]
342b0f358818e789e33e65b82f9ffbcca9aed66d
29,565
cpp
C++
test/qcan/test_qcan_frame.cpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
36
2016-08-23T13:05:02.000Z
2022-02-13T07:11:05.000Z
test/qcan/test_qcan_frame.cpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
19
2017-01-30T08:59:40.000Z
2018-10-30T07:55:33.000Z
test/qcan/test_qcan_frame.cpp
canpie/canpie
330acb5e041bee7e7a865e3242fd89c9fe07f5ce
[ "Apache-2.0" ]
16
2016-06-02T11:15:02.000Z
2020-07-10T11:49:12.000Z
//====================================================================================================================// // File: test_qcan_frame.cpp // // Description: QCAN classes - Test QCan frame ...
43.541973
120
0.390631
[ "object" ]
3431a3d8af447f9db9c165cd881c2ea9f3f4a69c
16,030
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/hardware/hdmi/HdmiTimerRecordSources.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/hardware/hdmi/HdmiTimerRecordSources.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/hardware/hdmi/HdmiTimerRecordSources.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 // // ...
35.30837
109
0.683593
[ "object" ]
343705d99fc925c00d8f062b6a7808e143bc3dcd
3,571
cpp
C++
snippets/utilities/regex.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
334
2020-08-29T16:41:02.000Z
2022-03-28T06:26:28.000Z
snippets/utilities/regex.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
4
2021-02-06T21:18:20.000Z
2022-03-16T17:10:44.000Z
snippets/utilities/regex.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
33
2020-08-31T11:36:44.000Z
2022-03-31T07:07:20.000Z
#include <iostream> #include <regex> #include <sstream> #include <string> int main() { using namespace std; // Test single expression if (regex_match("subject", regex("(sub)(.*)"))) { cout << "subject matches expression (sub)(.*)" << endl; } // Test string const char cstr[] = "subjec...
32.463636
80
0.505741
[ "object", "vector" ]
3437bea02a47a1a02c7438cb1c135b7bfe5206cc
5,597
cpp
C++
copyhandler.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
3
2015-05-06T16:56:14.000Z
2017-03-22T05:25:21.000Z
copyhandler.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
null
null
null
copyhandler.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Jonathan R. Guthrie * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
29.613757
139
0.67286
[ "vector" ]
343e61c5d0a8a1674d2ed4346f73c5c9f062cc9f
10,823
cpp
C++
DSP/extensions/FilterLib/tests/TTHilbertLinear33.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
DSP/extensions/FilterLib/tests/TTHilbertLinear33.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
DSP/extensions/FilterLib/tests/TTHilbertLinear33.test.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup dspFilterLib * * @brief Unit test for the FilterLib #TTHilbertLinear33 class. * * @details Currently this test is just a stub * * @authors Trond Lossius, Tim Place * * @copyright Copyright © 2012 by Trond Lossius & Timothy Place @n * This code is licensed under the terms of the "New BS...
29.251351
505
0.757369
[ "vector" ]
3441636bd56d41db50bcf2184402fe1639129496
4,811
hpp
C++
ThirdParty/logog/include/unittest.hpp
OlafKolditz/ogs
e33400e1d9503d33ce80509a3441a873962ad675
[ "BSD-4-Clause" ]
1
2021-06-25T13:43:06.000Z
2021-06-25T13:43:06.000Z
ThirdParty/logog/include/unittest.hpp
OlafKolditz/ogs
e33400e1d9503d33ce80509a3441a873962ad675
[ "BSD-4-Clause" ]
25
2015-02-04T20:34:21.000Z
2018-12-10T20:19:57.000Z
ThirdParty/logog/include/unittest.hpp
OlafKolditz/ogs
e33400e1d9503d33ce80509a3441a873962ad675
[ "BSD-4-Clause" ]
2
2018-03-01T13:07:12.000Z
2018-03-01T13:16:22.000Z
/** * \file unittest.hpp Unit testing interface; may be used for other programs as well. */ #ifndef __LOGOG_UNITTEST_HPP #define __LOGOG_UNITTEST_HPP #include <iostream> #include <string> namespace logog { /** * \page unittesting Unit test framework * * A unit test framework is included with logog. This framew...
31.651316
139
0.690085
[ "object" ]
451ab4bf35ac291615ccb19daa280446d21d17c2
13,375
cpp
C++
Sky.cpp
koladonia/Natural-Phenomena
9598c17ae6ff93d53bd1b0e557c706d169630916
[ "MIT" ]
null
null
null
Sky.cpp
koladonia/Natural-Phenomena
9598c17ae6ff93d53bd1b0e557c706d169630916
[ "MIT" ]
null
null
null
Sky.cpp
koladonia/Natural-Phenomena
9598c17ae6ff93d53bd1b0e557c706d169630916
[ "MIT" ]
null
null
null
#include "QuadRenderer.h" #ifdef _WIN32 #define NOMINMAX #include <windows.h> #endif #include <cstring> #include <GL/gl.h> #include <GL/glu.h> #include <QImage> #include <QGLWidget> #include <QtWidgets> #include <QDebug> #include <iostream> #include <algorithm> #include <cmath> QuadRenderer::QuadRenderer(int width...
37.464986
166
0.694505
[ "mesh", "render", "vector" ]
451e4954773b05f520ef6d9de97a19d0380551bb
3,579
cpp
C++
test/boost_test/eagine/msgbus_serialized_storage.cpp
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
103
2015-10-15T07:09:22.000Z
2022-03-20T03:39:32.000Z
test/boost_test/eagine/msgbus_serialized_storage.cpp
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
11
2015-11-25T11:39:49.000Z
2021-06-18T08:06:06.000Z
test/boost_test/eagine/msgbus_serialized_storage.cpp
ford442/oglplu2
abf1e28d9bcd0d2348121e8640d9611a94112a83
[ "BSL-1.0" ]
10
2016-02-28T00:13:20.000Z
2021-09-06T05:21:38.000Z
/* * Copyright Matus Chochlik. * 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 "../../main_ctx.hpp" #include <eagine/message_bus/message.hpp> #define BOOST_TEST_MODULE EAGINE_msgbus_serialized_st...
33.448598
80
0.607712
[ "vector" ]
45314cee5a14ccc3f8753370a0d1009b9fda0150
12,017
cc
C++
lib/build_packet_1_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
1
2021-06-16T14:35:29.000Z
2021-06-16T14:35:29.000Z
lib/build_packet_1_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
null
null
null
lib/build_packet_1_impl.cc
pavelfpl/gr-gsSDR
141f5cd1f53b9691c7c7e084f32343bddc0d2d97
[ "MIT" ]
1
2021-03-03T14:51:02.000Z
2021-03-03T14:51:02.000Z
/* -*- c++ -*- */ /* MIT License * * Copyright (c) 2021 Pavel Fiala * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
36.087087
183
0.589498
[ "vector" ]
4535e376557c13b69e41310e07573968aa51d845
1,751
cc
C++
idrsservice/src/model/DeleteUserDepartmentsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
idrsservice/src/model/DeleteUserDepartmentsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
idrsservice/src/model/DeleteUserDepartmentsRequest.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...
31.267857
97
0.74586
[ "vector", "model" ]
453a760dd3643670593db021b223488a10b13dbb
429
cc
C++
Thinking_in_Cpp/I/C04/vector_init.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
Thinking_in_Cpp/I/C04/vector_init.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
Thinking_in_Cpp/I/C04/vector_init.cc
honeytavis/cpp
232cb0add3f5b481b62a9a23d086514e2c425279
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> int main() { std::vector<std::string> svec(10, "hello"); for (auto i : svec) { std::cout << i << " "; } std::cout << std::endl; std::vector<int> nvec1(10, 666); for (auto i : nvec1) { std::cout << i << " "; } std::cout << std::endl; std::ve...
16.5
45
0.524476
[ "vector" ]
45466f1e8f720c9cd2fcd87588efa3374fefbc76
1,619
cpp
C++
CGameEngine/src/Engine/Texture.cpp
3DExtended/C-GameEngine
557b5894d4a574772c17efe729a872f3d192ee7e
[ "MIT" ]
2
2017-09-05T12:35:16.000Z
2019-10-26T09:56:35.000Z
CGameEngine/src/Engine/Texture.cpp
3DExtended/C-GameEngine
557b5894d4a574772c17efe729a872f3d192ee7e
[ "MIT" ]
null
null
null
CGameEngine/src/Engine/Texture.cpp
3DExtended/C-GameEngine
557b5894d4a574772c17efe729a872f3d192ee7e
[ "MIT" ]
null
null
null
#include "Texture.h" ENGINE::Texture::Texture(const std::string path) { // Load file and decode image. std::vector<unsigned char> image; unsigned int width, height; unsigned int error = lodepng::decode(image, width, height, path.c_str()); // If there's an error, display it. if (error != 0) { std::cout << "er...
25.698413
115
0.678814
[ "vector" ]
454e929235f8e72d1dd1fe2d6e76d12fe9fb97e0
27,276
cxx
C++
model_server/subsystem/src/Entity.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
model_server/subsystem/src/Entity.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
model_server/subsystem/src/Entity.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
30.475978
138
0.600528
[ "object", "model" ]
45561ba79d7d9a31190147ba3f24ae6c65ad3e03
15,241
cpp
C++
sources/game.cpp
bourgeoisor/chess3d
bc34fc47381b701167f6d881fe44e7e45ccdee79
[ "MIT" ]
3
2021-01-28T22:46:36.000Z
2021-06-17T05:32:53.000Z
sources/game.cpp
bourgeoisor/chess3d
bc34fc47381b701167f6d881fe44e7e45ccdee79
[ "MIT" ]
null
null
null
sources/game.cpp
bourgeoisor/chess3d
bc34fc47381b701167f6d881fe44e7e45ccdee79
[ "MIT" ]
null
null
null
#include "game.h" GLuint Game::boardObj; GLuint Game::kingObj; GLuint Game::queenObj; GLuint Game::bishopObj; GLuint Game::knightObj; GLuint Game::rookObj; GLuint Game::pawnObj; float Game::cameraAlpha; float Game::cameraBeta; float Game::cameraRadius; bool Game::mouseRightClick; int Game::motionLastX; int Game::mot...
31.554865
119
0.515583
[ "object", "vector", "model" ]
455836d4b0ba3ffb400ff38a3a917eb7d63431db
7,206
cpp
C++
sfml-porting/Shader.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
1
2020-02-11T05:37:54.000Z
2020-02-11T05:37:54.000Z
sfml-porting/Shader.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
null
null
null
sfml-porting/Shader.cpp
osom8979/example
f3cbe2c345707596edc1ec2763f9318c4676a92f
[ "Zlib" ]
1
2022-03-01T00:47:19.000Z
2022-03-01T00:47:19.000Z
/** * @file Shader.cpp * @brief Shader class implementation. * @author zer0 * @date 2019-02-19 */ #include <libtbag/gui/Shader.hpp> #include <libtbag/gui/Texture.hpp> #include <libtbag/log/Log.hpp> #include <libtbag/Type.hpp> #if defined(USE_GUI) #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> STATI...
26.788104
115
0.665556
[ "geometry", "vector" ]
45598f03b55d0c8898089b3f24f1cd42039e648e
11,449
cpp
C++
CGALWrapper/Utility/CGALGlobal_EIK_EEK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Utility/CGALGlobal_EIK_EEK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Utility/CGALGlobal_EIK_EEK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
#include "../pch.h" #include "CGALGlobal_EIK_EEK.h" #include "CGALGlobal.h" #include "../Geometry/Geometry2.h" #include "../Geometry/Geometry3.h" //---------------------------------------------------------------------------// // Angle // //---------...
32.341808
105
0.528343
[ "geometry" ]
4570aa858117c61edf39b91eaa5e7863f8d3d474
1,244
hpp
C++
triangler/mesh.hpp
viitana/triangler
06719c0f019ee1946482ce58195468db518cbdde
[ "MIT" ]
2
2020-01-14T11:22:23.000Z
2022-02-24T13:13:47.000Z
triangler/mesh.hpp
viitana/triangler
06719c0f019ee1946482ce58195468db518cbdde
[ "MIT" ]
null
null
null
triangler/mesh.hpp
viitana/triangler
06719c0f019ee1946482ce58195468db518cbdde
[ "MIT" ]
null
null
null
#pragma once #include <glm/glm.hpp> #include <vector> #include <string> #define PI 3.1415927f struct Mesh { // Index std::vector<int> t; // Vertices std::vector<glm::vec3> v; // Normals std::vector<glm::vec3> n; // Colors std::vector<glm::vec4> c; // Texture coordinates std::vector <glm::vec2> tx; // Mi...
18.028986
93
0.67283
[ "mesh", "vector" ]
4575c1fb689389231e7fa9992005e5eb4d800973
332
cpp
C++
practicas/2122/practicaI/solucion/ejercicio1.cpp
Nebrija-Programacion/Programacion-I
15a3d02f3c78969b5da6c9aceb64eae0a0bf8ca8
[ "MIT" ]
19
2019-09-08T06:46:30.000Z
2022-03-19T02:28:14.000Z
practicas/2122/practicaI/solucion/ejercicio1.cpp
Nebrija-Programacion/Programacion-I
15a3d02f3c78969b5da6c9aceb64eae0a0bf8ca8
[ "MIT" ]
65
2018-09-10T11:46:18.000Z
2018-11-12T10:12:51.000Z
practicas/2122/practicaI/solucion/ejercicio1.cpp
Nebrija-Programacion-I-II/Programacion-I
73bf34d6268b26ca3068c23a8d5d70579ebca25e
[ "MIT" ]
93
2018-09-10T11:35:46.000Z
2019-01-11T14:07:25.000Z
#include <iostream> #include <string> int main(){ std::sring cad; std::cout << "Introduce una cadena de texto: "; std::getline(std::cin, cad); int cont{0}; for(int i; i < cad.size(); i++){ if(cad.at(i) == 'a') cont++; } std::cout << "La letra a aparece " << cont << " veces\n"; ...
20.75
61
0.521084
[ "cad" ]
457852a23fe53dc94731361f6916bed247af6ce9
2,596
cpp
C++
src/customwidgets/qgsdatetimeeditplugin.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/customwidgets/qgsdatetimeeditplugin.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/customwidgets/qgsdatetimeeditplugin.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsdatetimeeditplugin.cpp -------------------------------------- Date : 01.09.2014 Copyright : (C) 2014 Denis Rouzaud Email : denis.rouzaud@gmail.com ***********************************...
26.489796
76
0.505393
[ "geometry" ]
457bb30cdf9952a8896a52f87aa79485a97f2c7e
2,014
cc
C++
linux/r_crypto_plugin.cc
TinoGuo/r_crypto
c5e8640b1dfd683a6cd948c3830160ebc1c9d9aa
[ "MIT" ]
22
2020-11-19T05:35:08.000Z
2022-03-20T14:46:06.000Z
linux/r_crypto_plugin.cc
TinoGuo/r_crypto
c5e8640b1dfd683a6cd948c3830160ebc1c9d9aa
[ "MIT" ]
6
2020-11-30T02:15:41.000Z
2021-10-17T14:00:25.000Z
linux/r_crypto_plugin.cc
TinoGuo/r_crypto
c5e8640b1dfd683a6cd948c3830160ebc1c9d9aa
[ "MIT" ]
1
2021-09-19T13:43:43.000Z
2021-09-19T13:43:43.000Z
#include "include/r_crypto/r_crypto_plugin.h" #include <flutter_linux/flutter_linux.h> #include <gtk/gtk.h> #include <sys/utsname.h> #include <cstring> #define R_CRYPTO_PLUGIN(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), r_crypto_plugin_get_type(), \ RCryptoPlugin)) struct _RCryptoPlugi...
33.016393
79
0.728401
[ "object" ]
4580413f8be981231d805446bdb941342c31396a
865
cpp
C++
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_StreamOutputStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_StreamOutputStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
Direct3D_11/Sunrin_Engine_D3D11/Engine/SR_StreamOutputStage.cpp
shh1473/Sunrin_Engine_2019
1782d10a397055f8a64f3b772b342438ede02b36
[ "MIT" ]
null
null
null
#include "SR_PCH.h" #include "SR_StreamOutputStage.h" #include "SR_App.h" namespace SunrinEngine { SR_StreamOutputStage::SR_StreamOutputStage() noexcept : m_streamBufferCount { 0 }, m_streamBuffers { nullptr }, m_streamBufferOffsets { 0 } { } void SR_StreamOutputStage::Apply(bool isBindSB) { if (is...
22.179487
161
0.727168
[ "vector" ]
45833a4f323b814990c89f0f983797064fa94a56
549
cpp
C++
codes/TC_2020/FALL/1.cpp
pikaninja/collection-of-chessbot-codes
a56e5e4e38c293ecddd2ce4b0b922723ca833089
[ "MIT" ]
null
null
null
codes/TC_2020/FALL/1.cpp
pikaninja/collection-of-chessbot-codes
a56e5e4e38c293ecddd2ce4b0b922723ca833089
[ "MIT" ]
null
null
null
codes/TC_2020/FALL/1.cpp
pikaninja/collection-of-chessbot-codes
a56e5e4e38c293ecddd2ce4b0b922723ca833089
[ "MIT" ]
null
null
null
//daniel //#include <iostream> //#include <vector> //#include <queue> //#include <stack> //#include <set> //#include <algorithm> //#include <cstring> // //using namespace std; // //int main(){ // int n, m; cin >> n >> m; // int arr[n][m]; // for(int i = 0; i < n; i++){ // for(int j = 0; j < m; j++){ //...
18.3
39
0.393443
[ "vector" ]
4586c38aef3d330583179647466f28cb3dbb29f2
24,878
hpp
C++
worker/ReaderWriter.hpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
7
2021-06-19T08:32:49.000Z
2022-03-31T15:46:48.000Z
worker/ReaderWriter.hpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
null
null
null
worker/ReaderWriter.hpp
spcl/CoRM
2bcae859eafad28ba51a92ec73e57239febef147
[ "BSD-3-Clause" ]
2
2021-06-19T08:32:50.000Z
2022-01-04T12:11:32.000Z
/** * CoRM: Compactable Remote Memory over RDMA * * The function for reading and writing objects to the memory. * * Copyright (c) 2020-2021 ETH-Zurich. All rights reserved. * * Author(s): Konstantin Taranov <k...
36.910979
167
0.666452
[ "object" ]
4588dd0bbdd77f4d753f713d6180f2a957ed75b5
7,530
cc
C++
Testcase4-Application-breakdown/online-compiling/src/models/generate-deps.cc
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
129
2020-08-09T12:02:30.000Z
2022-03-31T15:26:03.000Z
Testcase4-Application-breakdown/online-compiling/src/models/generate-deps.cc
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
11
2020-09-17T09:42:07.000Z
2022-03-30T19:05:38.000Z
Testcase4-Application-breakdown/online-compiling/src/models/generate-deps.cc
hunhoffe/ServerlessBench
529eb835638cad0edb5be3343166c7ade375ece2
[ "MulanPSL-1.0" ]
22
2020-08-20T06:59:24.000Z
2022-03-18T21:00:05.000Z
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include <iostream> #include <algorithm> #include "gcc.hh" #include "timeouts.hh" #include "thunk/thunk.hh" #include "thunk/thunk_reader.hh" #include "thunk/thunk_writer.hh" #include "thunk/ggutils.hh" #include "util/exception.hh" #include ...
33.318584
97
0.58672
[ "vector", "transform" ]
45897193f484af38efb90375bc1daaf53b8d7989
35,006
cpp
C++
export/windows/obj/src/flixel/system/debug/console/Console.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/system/debug/console/Console.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/system/debug/console/Console.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_StringTools #include <StringTools.h> #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxG #include <flixel/FlxG.h> #endif #ifndef INCLUDED_flixe...
45.34456
264
0.728818
[ "3d" ]
458c2642c7efb81cfe709b1b06a1a8b2ba8ae21a
20,495
cpp
C++
coolkey/coolkey/src/coolkey/coolkey.cpp
OneIdentity/rc-legacy
6e247f55b7df6b1022819810ba3363a2db401f08
[ "Apache-2.0" ]
null
null
null
coolkey/coolkey/src/coolkey/coolkey.cpp
OneIdentity/rc-legacy
6e247f55b7df6b1022819810ba3363a2db401f08
[ "Apache-2.0" ]
null
null
null
coolkey/coolkey/src/coolkey/coolkey.cpp
OneIdentity/rc-legacy
6e247f55b7df6b1022819810ba3363a2db401f08
[ "Apache-2.0" ]
null
null
null
/* ***** BEGIN COPYRIGHT BLOCK ***** * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation version * 2.1 of the License. * * ...
31.676971
163
0.678214
[ "object" ]
4592017ef97bb78362398713090af15eba916647
3,055
hpp
C++
Libs/MaterialSystem/Common/DepRelMatrix.hpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/MaterialSystem/Common/DepRelMatrix.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/MaterialSystem/Common/DepRelMatrix.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ /****************************************/ /*** Dependency Relationship Matrices ***/ /****************************************/ #ifndef CAFU_DEP_REL_MATRIX_HPP_INCLU...
32.849462
139
0.705074
[ "model" ]
4592e19c59eb95f49d0d7f0d9ff8adcd4a3f3ad9
975
hpp
C++
code_examples/tensorflow/block_sparse/custom_ops/bsutils.hpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
260
2019-11-18T01:50:00.000Z
2022-03-28T23:08:53.000Z
code_examples/tensorflow/block_sparse/custom_ops/bsutils.hpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
27
2020-01-28T23:07:50.000Z
2022-02-14T15:37:06.000Z
code_examples/tensorflow/block_sparse/custom_ops/bsutils.hpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
56
2019-11-18T02:13:12.000Z
2022-02-28T14:36:09.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #pragma once #include <poplar/Type.hpp> #include <popsparse/experimental/BlockSparse.hpp> #include <spdlog/spdlog.h> #include <array> #include <vector> #include <string> struct BsMatMulArgs { std::array<int, 3> dim; std::array<int, 3> blockSize; std::v...
26.351351
70
0.745641
[ "vector" ]
45975f596e62ea7fa0bfa28f634ac7a6c8bfb687
5,724
cpp
C++
ALIZE_3.0/src/Distrib.cpp
ibillxia/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
83
2015-01-18T01:20:37.000Z
2022-03-02T20:15:27.000Z
ALIZE_3.0/src/Distrib.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
4
2016-03-03T08:43:00.000Z
2019-03-08T06:20:56.000Z
ALIZE_3.0/src/Distrib.cpp
Dystopiaz/VoicePrintReco
20bf32f183abcd483fe1da451b4c75cf995b5f26
[ "MIT" ]
59
2015-02-02T03:07:37.000Z
2021-11-22T12:05:42.000Z
/* This file is part of ALIZE which is an open-source tool for speaker recognition. ALIZE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later ...
49.344828
76
0.560797
[ "object" ]