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
8df0831afadec311be21dc624b9be9b157ce96b1
1,551
cpp
C++
Robot2/Window.cpp
szedenik-adam/Robot2
2d4438e55fa5300f57c19e49a8b0dd8986cd05e3
[ "MIT" ]
1
2022-01-30T14:49:42.000Z
2022-01-30T14:49:42.000Z
Robot2/Window.cpp
szedenik-adam/Robot2
2d4438e55fa5300f57c19e49a8b0dd8986cd05e3
[ "MIT" ]
null
null
null
Robot2/Window.cpp
szedenik-adam/Robot2
2d4438e55fa5300f57c19e49a8b0dd8986cd05e3
[ "MIT" ]
null
null
null
#include "Window.h" #include "scrcpy/scrcpy.h" Window::Window() : window(Window::_CreateWindow()), console(*window) { console.Init(); } Window::~Window() { } bool Window::ManageConsoleKey(SDL_Keycode keycode, SDL_Scancode scancode, uint16_t mod, bool isDown) { if (isDown) { if (keycode == SDL...
23.5
105
0.604126
[ "render" ]
8df8ef344a7b741aec1d6f6f9233b4b80e41ac72
5,123
hpp
C++
libs/core/render/include/bksge/core/render/d3d11/detail/hlsl_shader.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/d3d11/detail/hlsl_shader.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/d3d11/detail/hlsl_shader.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file hlsl_shader.hpp * * @brief HlslShader クラスの定義 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_D3D11_DETAIL_HLSL_SHADER_HPP #define BKSGE_CORE_RENDER_D3D11_DETAIL_HLSL_SHADER_HPP #include <bksge/core/render/d3d11/detail/fwd/hlsl_shader_fwd.hpp> #include <bksge/core/render/d3d11/detail/f...
28.303867
73
0.725161
[ "render", "vector" ]
8dfff2f3968848fc585d31e13cd832f3f13176ba
4,278
cpp
C++
nntrainer/tensor/optimized_v1_planner.cpp
SIJUN0725/nntrainer
d22eeaa6591bedeff2480fc7853ebca60ebaa80c
[ "Apache-2.0" ]
91
2020-03-24T06:52:34.000Z
2022-03-27T18:56:32.000Z
nntrainer/tensor/optimized_v1_planner.cpp
SIJUN0725/nntrainer
d22eeaa6591bedeff2480fc7853ebca60ebaa80c
[ "Apache-2.0" ]
1,815
2020-03-24T08:15:43.000Z
2022-03-31T09:14:47.000Z
nntrainer/tensor/optimized_v1_planner.cpp
SIJUN0725/nntrainer
d22eeaa6591bedeff2480fc7853ebca60ebaa80c
[ "Apache-2.0" ]
45
2020-03-24T06:17:05.000Z
2022-03-28T23:47:12.000Z
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2021 Parichay Kapoor <pk.kapoor@samsung.com> * * @file optimized_v1_planner.cpp * @date 3 September 2021 * @see https://github.com/nnstreamer/nntrainer * @author Parichay Kapoor <pk.kapoor@samsung.com> * @bug No known bugs except for NYI items ...
32.165414
80
0.645161
[ "vector" ]
5c00682df809a5bcc525752aedfbb2491356bdda
7,999
cpp
C++
src/runtime/json/jsonml_array.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
94
2015-01-18T09:40:36.000Z
2022-03-02T21:14:55.000Z
src/runtime/json/jsonml_array.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
72
2015-01-05T22:00:31.000Z
2021-07-17T11:35:03.000Z
src/runtime/json/jsonml_array.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
27
2015-01-18T20:20:54.000Z
2020-11-01T18:01:07.000Z
/* * Copyright 2006-2011 The FLWOR Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
29.516605
80
0.622828
[ "object", "vector" ]
5c041c7e1328c57fae1ae6285fa01a756aa32ad4
6,647
cpp
C++
openfsa-sys/src/foreign/fsa.cpp
truprecht/openfsa
fda2e8632267c77f308733ead1d58411c3cfa0a9
[ "MIT" ]
null
null
null
openfsa-sys/src/foreign/fsa.cpp
truprecht/openfsa
fda2e8632267c77f308733ead1d58411c3cfa0a9
[ "MIT" ]
null
null
null
openfsa-sys/src/foreign/fsa.cpp
truprecht/openfsa
fda2e8632267c77f308733ead1d58411c3cfa0a9
[ "MIT" ]
null
null
null
#include <fst/fstlib.h> #include <vector> #include <iostream> #include <sstream> #include <string> #include "fsa.h" const fst::Fst<fst::StdArc>* reinterpret(const struct fsa_t *wrapper) { switch(wrapper->type) { case STDVECTOR: return static_cast<fst::StdVectorFst*>(wrapper->fsa); case ...
36.322404
159
0.574394
[ "vector" ]
5c0b17ef3bc8a66be1135349759121dc132b1a81
70,486
cpp
C++
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebRIVAHandler.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebRIVAHandler.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCWebSrv/Client/CQCWebSrvC_WebRIVAHandler.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCWebSrvC_WebRIVAHandler.cpp // // AUTHOR: Dean Roddey // // CREATED: 05/27/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https:/...
34.034766
102
0.544378
[ "object" ]
5c1536dec22460b749ffebe9f81e7b86f21433ce
15,523
cpp
C++
test/main.cpp
windoze/cxxstuff
14a416ea320a6aab2d2b247630492bb01f855d81
[ "WTFPL" ]
null
null
null
test/main.cpp
windoze/cxxstuff
14a416ea320a6aab2d2b247630492bb01f855d81
[ "WTFPL" ]
null
null
null
test/main.cpp
windoze/cxxstuff
14a416ea320a6aab2d2b247630492bb01f855d81
[ "WTFPL" ]
null
null
null
#include <assert.h> #include <iostream> #include <sstream> #include <fcntl.h> #include <vector> #include <cxl/variant.hpp> #include <cxl/type_traits.hpp> #include <cxl/stdio_filebuf.hpp> #include <cxl/str_lit.hpp> #include <cxl/reflection.hpp> #include <cxl/reflection/csv.hpp> #define STRINGIZE(x) STRINGIZE2(x) #defin...
31.679592
100
0.624042
[ "vector" ]
5c1a757254cc1b232d3c7ea8d04ccde530ca854d
5,639
hpp
C++
src/parser.hpp
bsurmanski/wlc
e8e1b4965f5f8e1cf22e0b6cb16bac0e49a5c629
[ "MIT" ]
4
2015-02-13T01:14:23.000Z
2019-06-29T19:25:49.000Z
src/parser.hpp
bsurmanski/wlc
e8e1b4965f5f8e1cf22e0b6cb16bac0e49a5c629
[ "MIT" ]
null
null
null
src/parser.hpp
bsurmanski/wlc
e8e1b4965f5f8e1cf22e0b6cb16bac0e49a5c629
[ "MIT" ]
null
null
null
#ifndef _PARSER_HPP #define _PARSER_HPP #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Type.h> #include <llvm/IR/Module.h> #include "lexer.hpp" #include "ast.hpp" #include "astScope.hpp" #include "sourceLocation.hpp" #include "file.hpp" #include <deque> #include <vector> #include <map> #include <stack> // wait,...
34.384146
108
0.656322
[ "vector" ]
5c234cc04ef11f5998e1108d177775cef09c0fe5
1,863
inl
C++
include/impl/Game.inl
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
null
null
null
include/impl/Game.inl
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
null
null
null
include/impl/Game.inl
ciliz-co-ltd/w4-sdk-updater
ecf21ea5d884d6f0a29532764ccfb225dcd1c9a0
[ "MIT" ]
1
2021-10-13T14:25:11.000Z
2021-10-13T14:25:11.000Z
template<typename Impl> void Game::run(const char* parentObject) { auto initInstance = []() { m_instance->onStart(); m_instance->initUpdate(); if(Config.UseSimpleInput) { event::Keyboard::Down::subscribe(std::bind(&IGame::onKey, m_instance->m_impl, std::placeholders...
26.614286
114
0.513151
[ "render" ]
5c366d4277030335b0ec6b28de153c49d55dd94c
1,264
hpp
C++
src/ordered_bounded_queue.hpp
whackashoe/kar
71ab11cd4774e3aa3abeb1df019c4a7994994814
[ "MIT" ]
null
null
null
src/ordered_bounded_queue.hpp
whackashoe/kar
71ab11cd4774e3aa3abeb1df019c4a7994994814
[ "MIT" ]
null
null
null
src/ordered_bounded_queue.hpp
whackashoe/kar
71ab11cd4774e3aa3abeb1df019c4a7994994814
[ "MIT" ]
null
null
null
#ifndef KAR_ORDERED_BOUNDED_QUEUE_HPP #define KAR_ORDERED_BOUNDED_QUEUE_HPP #include <vector> #include <limits> #include <utility> namespace kar { template <typename Comp, typename T> struct ordered_bounded_queue { std::vector<std::pair<Comp, T>> data; Comp min; Comp max; Comp size; ordered_boun...
22.981818
101
0.482595
[ "vector" ]
5c4560b15300ba17be9f35f74ac23e98a1ab6f9d
2,581
cpp
C++
src/RotateObjectRelativeAction.cpp
rGovers/KurveM
9b59093d91701e6f721facca75e350e62500b246
[ "MIT" ]
null
null
null
src/RotateObjectRelativeAction.cpp
rGovers/KurveM
9b59093d91701e6f721facca75e350e62500b246
[ "MIT" ]
null
null
null
src/RotateObjectRelativeAction.cpp
rGovers/KurveM
9b59093d91701e6f721facca75e350e62500b246
[ "MIT" ]
null
null
null
#include "Actions/RotateObjectRelativeAction.h" #include <glm/gtx/quaternion.hpp> #include "Object.h" #include "Transform.h" RotateObjectRelativeAction::RotateObjectRelativeAction(const glm::vec3& a_startPos, const glm::vec3& a_axis, Object* a_object) : RotateObjectRelativeAction(a_startPos, a_axis, &a_object, 1...
25.058252
161
0.645099
[ "object", "transform" ]
5c51b2798c56b30fd46a54147402ca27627820c8
689
cpp
C++
Recursion & Backtracking/GetSubsequence.cpp
kashika0112/DataStructuresProblems
85ee6e4ed19ce6e3fcc7d9246561fe7580f5c1fe
[ "MIT" ]
null
null
null
Recursion & Backtracking/GetSubsequence.cpp
kashika0112/DataStructuresProblems
85ee6e4ed19ce6e3fcc7d9246561fe7580f5c1fe
[ "MIT" ]
null
null
null
Recursion & Backtracking/GetSubsequence.cpp
kashika0112/DataStructuresProblems
85ee6e4ed19ce6e3fcc7d9246561fe7580f5c1fe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<string> getSubsequence(string str) { if(str.length()==0) { vector<string> res; res.push_back(""); return res; } char ch = str.at(0); string ros = str.substr(1); vector<string> rres = getSubsequence(ros); vector<string> myres; for(string rstr : rres) ...
13.78
43
0.603774
[ "vector" ]
5c576ffce915e92a050afe4b9b98b5c4fec4a113
12,035
cpp
C++
src/LanguageBase/Variable_float.cpp
karlkrissian/amilab_engine
a361884e30bf3a92343319e70395fcaccb7abdde
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/LanguageBase/Variable_float.cpp
karlkrissian/amilab_engine
a361884e30bf3a92343319e70395fcaccb7abdde
[ "BSD-2-Clause-FreeBSD" ]
3
2016-08-11T09:50:37.000Z
2016-08-11T14:02:46.000Z
src/LanguageBase/Variable_float.cpp
karlkrissian/amilab_engine
a361884e30bf3a92343319e70395fcaccb7abdde
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <iomanip> #include <cassert> #include "boost/format.hpp" #include "amilab_messages.h" #include "DefineClass.hpp" #include "Variable.hpp" #include <math.h> #include <iostream> #define NEW_SMARTPTR(type, var, value) \ boost::shared_ptr<type> var(new type(value)); #define RETURN_VARPTR(type, value) \ boo...
29
136
0.656336
[ "vector" ]
5c5b4a5af04618e2091c3e038167318cec3fc26f
932
cpp
C++
uva.onlinejudge.org/OneLittleTwoLittleThreeLittleEndians.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
uva.onlinejudge.org/OneLittleTwoLittleThreeLittleEndians.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
uva.onlinejudge.org/OneLittleTwoLittleThreeLittleEndians.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=535 Name: One Little, Two Little, Three Little Endians Date: 12/02/2015 */ #include <bits/stdc++.h> #define MAX_INT 2147483647 #define MAX_LONG 922337203685477580...
22.731707
113
0.614807
[ "vector" ]
5c5ffe61f2bb8385bacf5e113a57943fe102cf58
503
cpp
C++
cpp/beginner_contest_147/b.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
1
2020-03-31T05:53:38.000Z
2020-03-31T05:53:38.000Z
cpp/beginner_contest_147/b.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
null
null
null
cpp/beginner_contest_147/b.cpp
kitoko552/atcoder
a1e18b6d855baefb90ae6df010bcf1ffa8ff5562
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<cmath> #include<vector> #include<map> #include<queue> #define rep(i, n) for (int i = 0; i < (n); ++i) #define rep1(i, n) for (int i = 1; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; const int INF = 1001001001; int main() { string S...
17.344828
48
0.554672
[ "vector" ]
5c6019f8c24cfe477fe84488c4bed1a1a40b7889
3,379
hpp
C++
starter_kits/C++/hlt/game_map.hpp
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
2
2018-11-15T14:04:26.000Z
2018-11-19T01:54:01.000Z
starter_kits/C++/hlt/game_map.hpp
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
5
2021-02-08T20:26:47.000Z
2022-02-26T04:28:33.000Z
starter_kits/C++/hlt/game_map.hpp
johnnykwwang/Halite-III
dd16463f1f13d652e7172e82687136f2217bb427
[ "MIT" ]
1
2018-11-22T14:58:12.000Z
2018-11-22T14:58:12.000Z
#pragma once #include "types.hpp" #include "map_cell.hpp" #include <vector> namespace hlt { struct GameMap { int width; int height; std::vector<std::vector<MapCell>> cells; MapCell* at(const Position& position) { Position normalized = normalize(position); ...
36.333333
102
0.591299
[ "vector" ]
5c619d4cbaddfbd5aa36370593a7ba11ee240d25
163,269
cpp
C++
Samples/Win7Samples/multimedia/windowsmediaformat/wmgenprofile/exe/GenProfileDlg.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/multimedia/windowsmediaformat/wmgenprofile/exe/GenProfileDlg.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/multimedia/windowsmediaformat/wmgenprofile/exe/GenProfileDlg.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
//***************************************************************************** // // Microsoft Windows Media // Copyright (C) Microsoft Corporation. All rights reserved. // // FileName: GenProfileDlg.cpp // // Abstract: The implementation for the MFC dialog. This file // ...
31.051541
179
0.521501
[ "object" ]
5c638beb8f99ffd84ea8b86612d1dd408db1b6ee
9,226
hpp
C++
Source/TitaniumKit/include/Titanium/UI/Picker.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/TitaniumKit/include/Titanium/UI/Picker.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/TitaniumKit/include/Titanium/UI/Picker.hpp
garymathews/titanium_mobile_windows
ff2a02d096984c6cad08f498e1227adf496f84df
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * TitaniumKit Titanium.UI.Picker * * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUM_UI_PICKER_HPP_ #define _TITANIUM_UI_PICKER_HPP_ #include "Tit...
31.704467
193
0.739215
[ "object", "vector" ]
5c63f7e33176caa74b8bb0ec7b9e70ae9da719d2
22,224
cpp
C++
applis/OLD-Digeo-OLD/Digeo_GaussFilter.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
applis/OLD-Digeo-OLD/Digeo_GaussFilter.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
applis/OLD-Digeo-OLD/Digeo_GaussFilter.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
27.884567
111
0.555571
[ "vector" ]
5c6766538913dfedd30af7fee80bbe44959007a2
8,738
cpp
C++
release/examples/C++ Hello World/generated/snb_api.cpp
rohitmaurya-png/SHARP-PROGRAMING-LANGUAGE
17a792d54765468116fd6bfdec62969a77d4d809
[ "MIT" ]
null
null
null
release/examples/C++ Hello World/generated/snb_api.cpp
rohitmaurya-png/SHARP-PROGRAMING-LANGUAGE
17a792d54765468116fd6bfdec62969a77d4d809
[ "MIT" ]
null
null
null
release/examples/C++ Hello World/generated/snb_api.cpp
rohitmaurya-png/SHARP-PROGRAMING-LANGUAGE
17a792d54765468116fd6bfdec62969a77d4d809
[ "MIT" ]
null
null
null
#include "snb_api.h" namespace snb_api { // private fields namespace internal { _inc_ref inc_ref; _dec_ref dec_ref; _getfpNumAt getfpNumAt; _getField getField; _getVarPtr getVarPtr; _getfpLocalAt getfpLocalAt; _getSize getSize; _setObject setObje...
27.052632
79
0.554017
[ "object" ]
5c6e5c424600a1c330dbd42881153c5ad3876a1b
5,131
cpp
C++
adapters-stk/test/local_mesh/PanzerSTK_UnitTest_BuildMesh.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
adapters-stk/test/local_mesh/PanzerSTK_UnitTest_BuildMesh.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
adapters-stk/test/local_mesh/PanzerSTK_UnitTest_BuildMesh.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
#include "PanzerSTK_UnitTest_BuildMesh.hpp" #include "Teuchos_ParameterList.hpp" #include "Teuchos_Assert.hpp" #include "Panzer_STK_Interface.hpp" #include "PanzerSTK_UnitTest_STKInterfaceGenerator.hpp" namespace panzer_stk { Teuchos::RCP<panzer_stk::STK_Interface> buildMesh(const std::vector<int> & N, c...
35.631944
106
0.627168
[ "mesh", "vector" ]
5c6ffa257e874c52ebf65f83d841898918b05654
1,058
cc
C++
tests/test_similarity_mean.cc
xuzhezhaozhao/fastText_dnn
3c6f56b5dce49982777e9d5707da3af0f4d96af6
[ "BSD-3-Clause" ]
1
2020-12-21T14:56:52.000Z
2020-12-21T14:56:52.000Z
tests/test_similarity_mean.cc
xuzhezhaozhao/fastText_dnn
3c6f56b5dce49982777e9d5707da3af0f4d96af6
[ "BSD-3-Clause" ]
null
null
null
tests/test_similarity_mean.cc
xuzhezhaozhao/fastText_dnn
3c6f56b5dce49982777e9d5707da3af0f4d96af6
[ "BSD-3-Clause" ]
1
2020-12-21T14:57:09.000Z
2020-12-21T14:57:09.000Z
#include <iostream> #include <string> #include <utility> #include <vector> #include "../src/fasttext_api.h" namespace { void printUsage() { std::cerr << "Usage: ./test <model> <ntarget> <nquery> <target ...> <query ...>" << std::endl; } } int main(int argc, char *argv[]) { if (argc < 6) { ...
19.592593
78
0.591682
[ "vector", "model" ]
5c70f7428567562ff84ade4e4b537fef5bd5bacf
5,734
cpp
C++
src/Meta/NameRetrieverVisitor.cpp
NativeScript/ios-metadata-generator
a7284c1e74e56335aa35988b17c3672ef5d63fa4
[ "Apache-2.0" ]
14
2015-03-28T18:02:45.000Z
2020-11-12T04:33:55.000Z
src/Meta/NameRetrieverVisitor.cpp
NativeScript/ios-metadata-generator
a7284c1e74e56335aa35988b17c3672ef5d63fa4
[ "Apache-2.0" ]
32
2015-04-15T10:11:06.000Z
2016-09-02T14:23:47.000Z
src/Meta/NameRetrieverVisitor.cpp
NativeScript/ios-metadata-generator
a7284c1e74e56335aa35988b17c3672ef5d63fa4
[ "Apache-2.0" ]
6
2015-03-12T16:23:41.000Z
2020-03-05T20:58:48.000Z
// // NameRetrieverVisitor.cpp // objc-metadata-generator // // Created by Martin Bekchiev on 3.09.18. // #include "NameRetrieverVisitor.h" #include "MetaEntities.h" #include <sstream> NameRetrieverVisitor NameRetrieverVisitor::instanceObjC(false); NameRetrieverVisitor NameRetrieverVisitor::instanceTs(true); std...
30.178947
156
0.693059
[ "vector" ]
f076772454679d36464b5a919dbcc2d778a9c46e
8,650
cpp
C++
src/caffe/blob.cpp
kranthisai/apollocaffe-pi
415ff96e9825f39ad33fa7d4686c9560d9b359f8
[ "BSD-2-Clause" ]
3
2017-03-27T17:07:36.000Z
2022-01-31T18:18:44.000Z
src/caffe/blob.cpp
LihangLiu93/apollocaffe
df44c36295b6ec6db9a336508a2b378e04e5be0b
[ "BSD-2-Clause" ]
1
2019-01-26T19:15:04.000Z
2019-01-26T19:15:04.000Z
src/caffe/blob.cpp
LihangLiu93/apollocaffe
df44c36295b6ec6db9a336508a2b378e04e5be0b
[ "BSD-2-Clause" ]
6
2016-08-01T18:19:13.000Z
2020-02-19T04:51:52.000Z
#include <climits> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/syncedmem.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void Blob<Dtype>::Init() { data_.reset(new Tensor<Dtype>()); diff_.reset(new Tensor<Dtype>()); } template...
26.054217
80
0.641156
[ "shape", "vector" ]
f0772e621696d2bf0ace9aa15b1dd09c42841e91
1,922
cpp
C++
Codingame/CPP/SinglePlayer/Medium/Scrabble.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
Codingame/CPP/SinglePlayer/Medium/Scrabble.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
Codingame/CPP/SinglePlayer/Medium/Scrabble.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int charVal(char c) { switch (c) { case 'e': case 'a': case 'i': case 'o': case 'n': case 'r': case 't': case 'l': case 's': case '...
19.22
91
0.431842
[ "vector" ]
f07bae9a2804333f0ae62fbcddb4568d5b6532b7
7,719
cpp
C++
src/subtile/subui.cpp
dream-owl/Subtile
f77eb14c2c8b4810af954d7ba1f81cb31e8eda2c
[ "MIT" ]
null
null
null
src/subtile/subui.cpp
dream-owl/Subtile
f77eb14c2c8b4810af954d7ba1f81cb31e8eda2c
[ "MIT" ]
null
null
null
src/subtile/subui.cpp
dream-owl/Subtile
f77eb14c2c8b4810af954d7ba1f81cb31e8eda2c
[ "MIT" ]
null
null
null
#include "subui.h" #include "subtile.h" #include <glad/glad.h> #include <glad/glad.c> #include <glfw/glfw3.h> class stGraphics { public: stGraphics(stGraphics const&) = delete; stGraphics() { static char const* const VertexSource = { "#version 330\n" "unifo...
27.37234
128
0.606037
[ "mesh" ]
f08b412c3e40dc5be01a787bb1847afc0daff4b8
2,064
hh
C++
src/pks/transport/MultiscaleTransportPorosity_GDPM.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/transport/MultiscaleTransportPorosity_GDPM.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/transport/MultiscaleTransportPorosity_GDPM.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Transport PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) A generalized ...
32.25
106
0.767926
[ "vector", "model" ]
f08bb237de51e222160c5d42c571a5574a6a3c1a
13,542
cpp
C++
tools/render/AudioFifo.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
3
2019-10-14T06:36:32.000Z
2021-02-20T10:55:14.000Z
tools/render/AudioFifo.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
null
null
null
tools/render/AudioFifo.cpp
wangrl2016/Skia
494a5018428b6beec5a20885782bef1620e3a821
[ "BSD-3-Clause" ]
null
null
null
// // Created by wangrl on 2020/11/24. // #include <cstdio> #include "tools/render/Logger.h" #include "tools/render/AudioFifo.h" namespace render { void AudioFifo::initPacket(AVPacket* packet) { av_init_packet(packet); // set the packet data and size so that it is recognized as being empty ...
43.967532
119
0.590459
[ "render" ]
f09b5ee1af5d729d7e776a573f1854e1c454c26c
24,637
cpp
C++
src/dispatcher.cpp
SlausB/fos
75c647da335925fd5e0bb956acc4db895004fc79
[ "MIT" ]
null
null
null
src/dispatcher.cpp
SlausB/fos
75c647da335925fd5e0bb956acc4db895004fc79
[ "MIT" ]
null
null
null
src/dispatcher.cpp
SlausB/fos
75c647da335925fd5e0bb956acc4db895004fc79
[ "MIT" ]
null
null
null
 #include "dispatcher.h" #include "externs.h" #include "clients_conn_iface.h" #include <boost/asio.hpp> #include "handlers/clients_handler.h" #include "batch_factory.h" #include "times/starting_time_imp.h" #include "times/tick_time_imp.h" #include "times/exiting_time_imp.h" #include "time...
30.266585
442
0.692536
[ "vector" ]
f0a03cfc97bff7ea2f793db12f0ff18a4b79547d
1,445
hpp
C++
src/code/Library/CoherenceNeighborhood.hpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
33
2017-04-13T18:32:42.000Z
2021-12-21T07:53:59.000Z
src/code/Library/CoherenceNeighborhood.hpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
1
2021-09-24T07:21:03.000Z
2021-09-29T23:39:41.000Z
src/code/Library/CoherenceNeighborhood.hpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
5
2017-04-12T17:46:03.000Z
2021-03-31T00:50:12.000Z
/* CoherenceNeighborhood.hpp collect coherent neighbors Li-Yi Wei June 8, 2017 */ #ifndef _COHERENCE_HEIGHBORHOOD_HPP #define _COHERENCE_HEIGHBORHOOD_HPP #include "Neighborhood.hpp" #include "PyramidNeighborhood.hpp" class CoherenceNeighborhood : public Neighborhood { public: CoherenceNeighborhood(con...
30.744681
199
0.791003
[ "vector" ]
f0a14a01789e7d899efafcee69ebaf9216c0a06d
5,137
cc
C++
2021/day16/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
1
2017-12-11T07:08:52.000Z
2017-12-11T07:08:52.000Z
2021/day16/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
2
2020-12-01T08:16:42.000Z
2021-05-12T04:54:34.000Z
2021/day16/lib.cc
kfarnung/advent-of-code
74604578379c518bd7ad959e0088ca55a6986515
[ "MIT" ]
null
null
null
#include "lib.h" #include <limits> #include <numeric> #include <tuple> #include <vector> namespace { struct bitstream { size_t offset; std::vector<uint8_t> bits; bitstream() : offset(0) { } static bitstream from_hex(const std::string &input) { ...
29.022599
86
0.449095
[ "vector" ]
f0ad118728e3da0ace8b459dbf4565a027531751
3,071
cpp
C++
src/group.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
null
null
null
src/group.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
1
2019-03-09T14:43:49.000Z
2019-03-09T14:43:49.000Z
src/group.cpp
MarcoPolimeni/faunus
87fc4638c4bec68314f34ec251ea034fc0427515
[ "MIT" ]
2
2019-03-07T14:27:51.000Z
2020-04-14T08:04:54.000Z
#include "group.h" #include <nlohmann/json.hpp> #include <Eigen/Geometry> #include "aux/eigensupport.h" namespace Faunus { template <class T> Group<T>::Group(Group<T> &o) : base(o.begin(), o.trueend()) { *this = operator=(o); } template <class T> Group<T>::Group(const Group<T> &o) : base(o.begin(), o.trueend()) { *t...
30.405941
111
0.581895
[ "geometry", "vector", "transform" ]
f0ad53ee64876754360c09aa8ce7c532535e855f
6,765
cpp
C++
Gems/GradientSignal/Code/Tests/GradientSignalGetValuesTests.cpp
whywhywhyw/o3de
8e09f66799d4c8f188d45861d821e8656a554cb1
[ "Apache-2.0", "MIT" ]
1
2022-01-21T03:51:42.000Z
2022-01-21T03:51:42.000Z
Gems/GradientSignal/Code/Tests/GradientSignalGetValuesTests.cpp
whywhywhyw/o3de
8e09f66799d4c8f188d45861d821e8656a554cb1
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/GradientSignal/Code/Tests/GradientSignalGetValuesTests.cpp
whywhywhyw/o3de
8e09f66799d4c8f188d45861d821e8656a554cb1
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Tests/GradientSignalTestFixtures.h> #include <Tests/GradientSignalTestHelpers.h> #inclu...
47.978723
137
0.784775
[ "shape", "3d" ]
f0bce67bca006fe5859311ebecfa795521e7fdcb
3,208
cc
C++
src/geometry/Domain.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/geometry/Domain.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/geometry/Domain.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Geometry Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Rao Garimella (rao@lanl.gov) */ #include "Domain.hh" namespa...
23.588235
97
0.630611
[ "geometry", "vector", "model", "3d" ]
f0bfebbb7f1e78c9e94fdaddea1eea7505d40b80
8,801
cpp
C++
indra/newview/llfloatertos.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llfloatertos.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llfloatertos.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
/** * @file llfloatertos.cpp * @brief Terms of Service Agreement dialog * * $LicenseInfo:firstyear=2003&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Les...
27.589342
125
0.695262
[ "object" ]
f0c4eba4bb74b6dc27c046eb85e42093f3b4a9c5
4,253
hpp
C++
include/moost/logging/detail/highlightlevelpatternconverter.hpp
lastfm/libmoost
895db7cc5468626f520971648741488c373c5cff
[ "MIT" ]
37
2015-02-22T17:15:44.000Z
2022-02-24T02:24:41.000Z
include/moost/logging/detail/highlightlevelpatternconverter.hpp
lastfm/libmoost
895db7cc5468626f520971648741488c373c5cff
[ "MIT" ]
null
null
null
include/moost/logging/detail/highlightlevelpatternconverter.hpp
lastfm/libmoost
895db7cc5468626f520971648741488c373c5cff
[ "MIT" ]
11
2015-02-12T04:35:06.000Z
2022-01-19T12:46:32.000Z
/* vim:set ts=3 sw=3 sts=3 et: */ /** * Copyright © 2008-2013 Last.fm Limited * * This file is part of libmoost. * * 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, ...
29.130137
83
0.637197
[ "vector" ]
f0d42a15c86b141c4d3c5b1f96fdf663af4c0a0f
10,210
cpp
C++
CS100 Project RPG/CS100 Project RPG/projectmain.cpp
faaiqbilal/CS-100-Project
3d8e1d1e0a86e3ec263b0f9fd6a123d48a9621cd
[ "MIT" ]
1
2019-12-07T18:04:24.000Z
2019-12-07T18:04:24.000Z
CS100 Project RPG/CS100 Project RPG/projectmain.cpp
faaiqbilal/CS-100-Project
3d8e1d1e0a86e3ec263b0f9fd6a123d48a9621cd
[ "MIT" ]
null
null
null
CS100 Project RPG/CS100 Project RPG/projectmain.cpp
faaiqbilal/CS-100-Project
3d8e1d1e0a86e3ec263b0f9fd6a123d48a9621cd
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include <stdlib.h> #include "SFML\Graphics.hpp" #include "SFML\Window.hpp" #include "SFML\System.hpp" #include <vector> using namespace sf; class Bullet { public: Sprite shape; Bullet(Texture *texture, Vector2f pos) { this->shape.setTexture(*texture); this->shape.setSc...
24.543269
138
0.68619
[ "shape", "vector" ]
f0d491ca3dcf8466f55d335fac72e68d8356a014
5,000
cpp
C++
MergeFV/MergeFV.cpp
ak110/MergeFV
597b64464877a1ca0c5e6609286c0244cfaf80fa
[ "MIT" ]
null
null
null
MergeFV/MergeFV.cpp
ak110/MergeFV
597b64464877a1ca0c5e6609286c0244cfaf80fa
[ "MIT" ]
null
null
null
MergeFV/MergeFV.cpp
ak110/MergeFV
597b64464877a1ca0c5e6609286c0244cfaf80fa
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <boost/algorithm/string.hpp> #include <iomanip> #include <iostream> #include <fstream> #include <vector> #include <array> #include <cmath> using namespace std; bool MergeFV(const vector<string>& inFiles, const vector<double>& inWeights_, const string& outFile) { ve...
30.30303
103
0.5782
[ "vector" ]
f0da7ec5e8c5a9125e8b43af4c9a3f1e63445884
21,269
cxx
C++
Filters/Core/vtkMultiObjectMassProperties.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Filters/Core/vtkMultiObjectMassProperties.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Filters/Core/vtkMultiObjectMassProperties.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkMultiObjectMassProperties.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
35.866779
97
0.638441
[ "mesh", "object", "vector" ]
f0deee41a3ecc97fa16de4851ccc220b3df4bf51
9,359
cpp
C++
c++ext/maskrcnn/csrc/cpu/crop_cpu.cpp
blyucs/MaskRCNN
493730f1987886913ce059e934e9a720ee85bb20
[ "MIT" ]
4
2019-11-24T12:48:21.000Z
2021-07-29T23:20:22.000Z
c++ext/maskrcnn/csrc/cpu/crop_cpu.cpp
blyucs/MaskRCNN
493730f1987886913ce059e934e9a720ee85bb20
[ "MIT" ]
3
2019-07-30T09:48:09.000Z
2022-01-08T09:47:26.000Z
c++ext/maskrcnn/csrc/cpu/crop_cpu.cpp
blyucs/MaskRCNN
493730f1987886913ce059e934e9a720ee85bb20
[ "MIT" ]
2
2019-07-19T15:51:12.000Z
2019-12-27T09:45:40.000Z
/************************************************************************************ *** *** File Author: Dell, 2018-11-06 17:11:09 *** ************************************************************************************/ #include "cpu/vision.h" #include <stdio.h> #include <math.h> void crop_per_box( const flo...
35.184211
131
0.510097
[ "shape" ]
f0e15f347b722da50f6a3d443a5aa1944c34788a
2,611
cpp
C++
src/Step9.cpp
ColeDeanShepherd/12-Steps-To-Navier-Stokes
3bb31990457df3c31ab024a84ca521a3dfbf178d
[ "MIT" ]
45
2018-01-14T17:58:51.000Z
2022-03-16T23:47:48.000Z
src/Step9.cpp
ColeDeanShepherd/12-Steps-To-Navier-Stokes
3bb31990457df3c31ab024a84ca521a3dfbf178d
[ "MIT" ]
null
null
null
src/Step9.cpp
ColeDeanShepherd/12-Steps-To-Navier-Stokes
3bb31990457df3c31ab024a84ca521a3dfbf178d
[ "MIT" ]
8
2018-07-02T00:34:48.000Z
2021-05-12T09:33:04.000Z
#include <vector> #include <SDL.h> #include "Core.h" #include "Vector2d.h" #include "GraphMetrics.h" #include "FiniteDifference.h" #include "Render.h" #include "Step9.h" Step9LaplaceEquation2D::Step9LaplaceEquation2D(const int windowWidth, const int windowHeight) { title = "Step 9: Laplace Equation"; fixedTim...
27.197917
115
0.586365
[ "render", "vector" ]
f0e1dcc83dbd5e77f1486987e08de0b9e91520c6
10,919
cpp
C++
components/render/opengl_driver/sources/output_stage/gl_output_depth_stencil_state.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/opengl_driver/sources/output_stage/gl_output_depth_stencil_state.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/opengl_driver/sources/output_stage/gl_output_depth_stencil_state.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace render::low_level; using namespace render::low_level::opengl; using namespace common; /* Конструктор / деструктор */ DepthStencilState::DepthStencilState (const ContextManager& manager, const DepthStencilDesc& in_desc) : ContextObject (manager), desc_hash (0)...
34.444795
162
0.704552
[ "render" ]
f0e29f3efee9a322883ca60fb8555b6d2709c329
2,932
hpp
C++
std/cpp/generator.hpp
LSaldyt/CTF
cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01
[ "Apache-2.0" ]
2
2018-03-19T20:19:01.000Z
2018-10-22T23:41:12.000Z
std/cpp/generator.hpp
LSaldyt/CTF
cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01
[ "Apache-2.0" ]
1
2017-01-18T20:45:33.000Z
2017-01-21T20:57:37.000Z
std/cpp/generator.hpp
LSaldyt/CTF
cd11caa5a57b69e43a3a02a89e0a05b1d19e7f01
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstddef> #include <iostream> #include <limits> #include <functional> #include <assert.h> #include <vector> #include "io.hpp" template <typename value_type> class Sequence : public std::iterator<std::input_iterator_tag, value_type> { public: using transformation = std::function<value_t...
18.556962
77
0.569236
[ "vector" ]
f0e4d5ff9b9336ff3b5d4616fd119bed57ba396d
20,737
cpp
C++
src/dclass/dcPackerInterface.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-18T17:17:43.000Z
2022-01-18T17:17:43.000Z
src/dclass/dcPackerInterface.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
null
null
null
src/dclass/dcPackerInterface.cpp
DarthNihilus1/OTP-Server
8a98d20f0b16689cc116e1eee4b44e659a75e9b2
[ "BSD-3-Clause" ]
1
2022-01-31T22:07:19.000Z
2022-01-31T22:07:19.000Z
// Filename: dcPackerInterface.cpp // Created by: drose (15Jun04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You...
38.119485
93
0.506197
[ "object", "3d" ]
f0e706a6f6d634cdc69d4a792f1c53724df299be
568
cpp
C++
Solutions/1-50/37/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
2
2021-07-16T13:30:10.000Z
2021-07-16T18:17:40.000Z
Solutions/1-50/37/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
null
null
null
Solutions/1-50/37/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
1
2021-04-16T22:56:07.000Z
2021-04-16T22:56:07.000Z
#include "../../Headers/Edmonton.hpp" #include <iostream> #include <vector> using namespace std; constexpr bool isTrunctable(int n, vector<int> &primes) { for(int i = 10; i < n; i *= 10) { if(!primes[n % i]) { return false; } } for(; n; n /= 10) { if(!primes[n]) { return false; } } ...
18.933333
66
0.540493
[ "vector" ]
f0f02d34f2c48b58a19179b56b9902ee8bb2d8c9
1,682
hpp
C++
Plutonium/Include/pu/ui/elm/elm_ProgressBar.hpp
Pysis868/Plutonium
f789a58ec8c6d435ceda6c40509d1905865dd440
[ "MIT" ]
185
2018-11-12T10:55:32.000Z
2022-03-28T16:01:21.000Z
Plutonium/Include/pu/ui/elm/elm_ProgressBar.hpp
matheesha-pathirana/Plutonium
fe5a9b96e52b70eceea493def38418fe021d2e74
[ "MIT" ]
39
2019-03-10T03:24:41.000Z
2021-12-26T14:36:18.000Z
Plutonium/Include/pu/ui/elm/elm_ProgressBar.hpp
matheesha-pathirana/Plutonium
fe5a9b96e52b70eceea493def38418fe021d2e74
[ "MIT" ]
50
2018-11-28T07:01:56.000Z
2022-02-25T17:01:24.000Z
/* Plutonium library @file ProgressBar.hpp @brief A ProgressBar is an Element which represents a progress (a percentage) by filling a bar. @author XorTroll @copyright Plutonium project - an easy-to-use UI framework for Nintendo Switch homebrew */ #pragma once #include <pu/ui/elm/...
29
100
0.532105
[ "render" ]
f0f24427903feec5ee831fc7a81a2ad6de5788cb
1,219
cpp
C++
test/meta/model_of.cpp
attugit/archie
af89fe2d89af3b9d764837853ae9fb42d18cdeac
[ "MIT" ]
3
2015-02-18T22:58:23.000Z
2016-06-07T17:43:09.000Z
test/meta/model_of.cpp
attugit/archie
af89fe2d89af3b9d764837853ae9fb42d18cdeac
[ "MIT" ]
null
null
null
test/meta/model_of.cpp
attugit/archie
af89fe2d89af3b9d764837853ae9fb42d18cdeac
[ "MIT" ]
null
null
null
#include <archie/traits/model_of.hpp> #include <archie/meta/requires.hpp> #include <archie/ignore.hpp> #include <archie/models.hpp> #include <vector> #include <gtest/gtest.h> namespace { using archie::meta::requires; using archie::traits::model_of; using archie::models::Callable; using archie::models::Iterable...
19.349206
77
0.629204
[ "vector" ]
f0f3d5db4d888d45aafa9bffdc9d688943129382
3,469
cpp
C++
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfFontTTFSubset.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfFontTTFSubset.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
case-studies/PoDoFo/podofo/cib/podofo/doc/PdfFontTTFSubset.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "podofo/base/PdfInputDevice.h" #include "podofo/base/PdfOutputDevice.h" #include "podofo/base/PdfRefCountedBuffer.h" #include "podofo/doc/PdfFontMetrics.h" #include "podofo/doc/PdfFontTTFSubset.h" #include <vector> #include "__zz_cib_CibPoDoFo-class-down-cast.h" #include "__zz_cib_CibPoDoFo-delegate-helper.h"...
54.203125
283
0.796771
[ "vector" ]
e7c4cf2a15bfa55a135892e07d16717dbf6a144b
2,749
cpp
C++
evelight/mesh.cpp
MrBad/evelight
45e5c3a795491f922a1bf6b579d3655562b7030a
[ "MIT" ]
6
2018-04-29T23:25:06.000Z
2021-01-24T02:11:23.000Z
evelight/mesh.cpp
MrBad/evelight
45e5c3a795491f922a1bf6b579d3655562b7030a
[ "MIT" ]
null
null
null
evelight/mesh.cpp
MrBad/evelight
45e5c3a795491f922a1bf6b579d3655562b7030a
[ "MIT" ]
2
2020-04-18T15:09:01.000Z
2020-08-24T06:44:41.000Z
// DOC: http://sunandblackcat.com/tipFullView.php?l=eng&topicid=18&topic=OpenGL-VAO-VBO-EBO // somehow deprecated, use renderer. #include "mesh.h" #include <iostream> namespace evl { Mesh::Mesh() { mDirty = false; mVertexArray = mVertexBuffer = mIndexBuffer = 0; mDrawType = GL_LINES; } Mesh::~Mesh() { ...
24.544643
111
0.684249
[ "mesh", "vector" ]
e7d7c7f7276fd58716829323a42d8d94631bc786
2,705
cpp
C++
tc 160+/BridgeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/BridgeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/BridgeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; struct Card { int suite, val; Card(char s, char v) { switch (s) { case 'C': suite = 0; break; case 'D': suite = 1; break;...
27.05
315
0.540481
[ "vector" ]
e7db713769ddf2d6f02d12b31847b596305030a2
23,971
cpp
C++
src/CCodeCounter.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
12
2015-06-08T16:19:33.000Z
2020-02-11T13:40:58.000Z
src/CCodeCounter.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
null
null
null
src/CCodeCounter.cpp
dutchedge/Unified_Code_Count
8c2d12942595dc11f13f36e2282e3821707b8ffd
[ "DOC" ]
6
2016-09-09T11:55:19.000Z
2020-07-08T16:04:04.000Z
//! Common code counter methods for sub-classing individual languages. /*! * \file CCodeCounter.h * * This contains the base class code counter methods for inherited classes individual languages. * * Changed from UCC 2013_04 release by Randy Maxwell * Changes started on 2015_06_06 * Changes ended on 2015_06_06 */...
29.889027
174
0.683868
[ "object" ]
e7deb9b5140a0d379e634b666647d02239d04f2a
2,277
cpp
C++
DungeonClient/DG_Sprite.cpp
meowqwe/Dungeon
3dbf52ea420ee0a67c936ee8e298fac9e002235b
[ "MIT" ]
5
2021-11-30T13:35:04.000Z
2021-12-28T03:08:41.000Z
DungeonClient/DG_Sprite.cpp
VoidmatrixHeathcliff/Dungeon
8ac0a793c82cbe76a4313fc115e1330fb08db694
[ "MIT" ]
1
2022-01-14T10:45:31.000Z
2022-01-14T10:45:31.000Z
DungeonClient/DG_Sprite.cpp
meowqwe/Dungeon
3dbf52ea420ee0a67c936ee8e298fac9e002235b
[ "MIT" ]
2
2022-01-13T09:41:07.000Z
2022-01-14T10:38:29.000Z
#include "DG_Sprite.h" DG_Sprite::DG_Sprite(std::string file_path, bool lean) { if (__m_pSurface = IMG_Load(file_path.c_str())) { m_nWidth = __m_pSurface->w, m_nHeight = __m_pSurface->h; if (!lean) __m_pTexture = SDL_CreateTextureFromSurface(g_pRenderer, __m_pSurface); } } DG_Sprite::DG_Sprite(void* mem, int s...
24.75
128
0.751427
[ "render" ]
e7e044342f0b0e99661382c5f12c45c36ce8875a
3,501
hpp
C++
include/fluidity/setting/simulator_parameter.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
1
2018-04-21T09:24:36.000Z
2018-04-21T09:24:36.000Z
include/fluidity/setting/simulator_parameter.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
4
2018-08-05T12:14:41.000Z
2021-09-20T14:38:50.000Z
include/fluidity/setting/simulator_parameter.hpp
robclu/fluidity
22069dc3b0280f843494913a2371f940531d1744
[ "MIT" ]
null
null
null
//==--- fluidity/setting/simulator_parameter.hpp ----------- -*- C++ -*- ---==// // // Fluidity // // Copyright (c) 2018 Rob Clucas. // // This file is distributed under the MIT License. See LICENSE for details. // //==----------------...
30.982301
80
0.592402
[ "vector" ]
e7e325cbee88fcef3c9c0f4d0b3fa2010084cfa0
11,039
cpp
C++
src/lzma-stream.cpp
earlyorbit/lzma-native
39f18e9a5d1e6d65966e22c06b85f77594c6550f
[ "MIT" ]
99
2015-03-18T13:54:04.000Z
2022-03-31T17:43:11.000Z
src/lzma-stream.cpp
earlyorbit/lzma-native
39f18e9a5d1e6d65966e22c06b85f77594c6550f
[ "MIT" ]
116
2015-06-03T10:10:16.000Z
2022-02-28T10:29:27.000Z
src/lzma-stream.cpp
earlyorbit/lzma-native
39f18e9a5d1e6d65966e22c06b85f77594c6550f
[ "MIT" ]
43
2015-04-13T05:21:05.000Z
2022-03-31T17:43:13.000Z
#include "liblzma-node.hpp" #include <cstring> #include <cstdlib> #include <cassert> #include <climits> namespace lzma { namespace { extern "C" void* LZMA_API_CALL alloc_for_lzma(void *opaque, size_t nmemb, size_t size) { LZMAStream* strm = static_cast<LZMAStream*>(opaque); return strm->alloc(nmemb, size...
26.472422
91
0.686656
[ "object", "vector" ]
e7f3cbae7bfb15c0353f0975ed5d30aaf36aeaaa
5,790
cpp
C++
src/ui/TiledFloor.cpp
equilibr/turtle
3aeee2cd5a16ce861a1b492e3948a87e7e2e315a
[ "MIT" ]
null
null
null
src/ui/TiledFloor.cpp
equilibr/turtle
3aeee2cd5a16ce861a1b492e3948a87e7e2e315a
[ "MIT" ]
null
null
null
src/ui/TiledFloor.cpp
equilibr/turtle
3aeee2cd5a16ce861a1b492e3948a87e7e2e315a
[ "MIT" ]
null
null
null
#include "TiledFloor.h" #include <osg/Geometry> using namespace Turtle; TiledFloor::TiledFloor( const Index2D & size, const QColor & clearColor, const Position2D & tileSize) { m_texture = new osg::Texture2D; //Create default members to avoid dereferencing null pointers m_textureImage = new osg::Image; m_f...
27.183099
96
0.706908
[ "geometry" ]
e7fdbf1e83fb264b614221798a258afd9308cc8b
6,395
cpp
C++
server.cpp
arao2023/liars-dice
5a83cc55460f8c872fe4f1dd17978a25f125f63d
[ "BSD-3-Clause" ]
null
null
null
server.cpp
arao2023/liars-dice
5a83cc55460f8c872fe4f1dd17978a25f125f63d
[ "BSD-3-Clause" ]
null
null
null
server.cpp
arao2023/liars-dice
5a83cc55460f8c872fe4f1dd17978a25f125f63d
[ "BSD-3-Clause" ]
null
null
null
#include <atomic> #include <cstddef> #include <string> #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> #include <boost/beast.hpp> #include <boost/beast/ssl.hpp> #include "debug.hpp" namespace beast = boost::beast; namespace asio = boost::asio; class Server { private: struct PlayerStream { ...
39.475309
109
0.495543
[ "vector" ]
f003ab1f08fe8b9a53cb9c5a504e43007f164288
851
cpp
C++
_includes/leet215/leet215_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet215/leet215_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet215/leet215_2.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: int partition(vector<int>& nums, int l, int r) { int mid = (r - l)/2 + l; swap(nums[mid], nums[r]); int pivot = nums[r]; int i = l; for (int k = l; k < r; k++) { if (nums[k] > pivot) { swap(nums[k], nums[i++]); ...
24.314286
52
0.354877
[ "vector" ]
f00402445cf9fb03b8f03ab470960926336dc22d
326
hpp
C++
CtCI-6th-Edition-cpp/01_Arrays_And_Strings/08_Zero_Matrix/zeroMatrix.hpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
CtCI-6th-Edition-cpp/01_Arrays_And_Strings/08_Zero_Matrix/zeroMatrix.hpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
CtCI-6th-Edition-cpp/01_Arrays_And_Strings/08_Zero_Matrix/zeroMatrix.hpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
#ifndef CTCI_6TH_EDITION_CPP_01_ARRAYS_AND_STRINGS_08_ZERO_MATRIX_ZEROMATRIX_HPP_ #define CTCI_6TH_EDITION_CPP_01_ARRAYS_AND_STRINGS_08_ZERO_MATRIX_ZEROMATRIX_HPP_ #include <vector> void zeroMatrix(std::vector<std::vector<int>>& matrix); #endif // CTCI_6TH_EDITION_CPP_01_ARRAYS_AND_STRINGS_08_ZERO_MATRIX_ZEROMATRIX...
36.222222
84
0.889571
[ "vector" ]
f005dd430450e403ee0d6778f90a200011eacca7
3,054
hpp
C++
include/fdeep/layers/prelu_layer.hpp
mhs-achyut/frugally-deep
49e1843c5e2583b6d2619547c3e1f039c3c75f19
[ "MIT" ]
1
2021-01-25T04:29:25.000Z
2021-01-25T04:29:25.000Z
include/fdeep/layers/prelu_layer.hpp
mhs-achyut/frugally-deep
49e1843c5e2583b6d2619547c3e1f039c3c75f19
[ "MIT" ]
1
2021-07-26T22:09:49.000Z
2021-07-26T22:09:49.000Z
include/fdeep/layers/prelu_layer.hpp
mhs-achyut/frugally-deep
49e1843c5e2583b6d2619547c3e1f039c3c75f19
[ "MIT" ]
2
2021-07-26T14:46:51.000Z
2021-11-09T11:32:09.000Z
// Copyright 2016, Tobias Hermann. // https://github.com/Dobiasd/frugally-deep // Distributed under the MIT License. // (See accompanying LICENSE file or at // https://opensource.org/licenses/MIT) #pragma once #include "fdeep/layers/layer.hpp" #include <string> namespace fdeep { namespace internal { class prelu_l...
35.929412
79
0.518009
[ "shape", "vector" ]
f01073e63d75c445b4b31e4f7919db1277425c4e
3,686
cpp
C++
src/ge/renderer/opengl/shader.cpp
hogletgames/game-engine
1356d8b9f364dfe13d5b9db4f4aedd7a3fd360fc
[ "BSD-3-Clause" ]
null
null
null
src/ge/renderer/opengl/shader.cpp
hogletgames/game-engine
1356d8b9f364dfe13d5b9db4f4aedd7a3fd360fc
[ "BSD-3-Clause" ]
1
2020-05-31T21:17:41.000Z
2020-05-31T21:17:41.000Z
src/ge/renderer/opengl/shader.cpp
hogletgames/game-engine
1356d8b9f364dfe13d5b9db4f4aedd7a3fd360fc
[ "BSD-3-Clause" ]
null
null
null
/* * BSD 3-Clause License * * Copyright (c) 2020, Dmitry Shilnenkov * 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 no...
29.023622
81
0.705372
[ "vector" ]
f010827cd150a6480c7d89e2f26a829baebcb43f
382
cc
C++
Problem_10/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
Problem_10/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
Problem_10/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
#include "common.hh" int main() { const long N = 50; std::vector<long> primes; for (long i = 2; i < N; i++) { bool isPrime = true; for (auto prime : primes) { if (i%prime==0) {isPrime = false; break;} } if (isPrime) primes.push_back(i); } long sum = 0; for (auto prim...
15.916667
47
0.52356
[ "vector" ]
f013f2451b8d3f3f74226dc946c56b180721800a
5,811
cpp
C++
src/raymath/test/intersection_tests.cpp
Michionlion/rayterm-cpu
29820aac88b64cdc44117f23cfcb46cd74b6f7ad
[ "MIT" ]
1
2019-05-14T05:33:53.000Z
2019-05-14T05:33:53.000Z
src/raymath/test/intersection_tests.cpp
Michionlion/rayterm-cpu
29820aac88b64cdc44117f23cfcb46cd74b6f7ad
[ "MIT" ]
null
null
null
src/raymath/test/intersection_tests.cpp
Michionlion/rayterm-cpu
29820aac88b64cdc44117f23cfcb46cd74b6f7ad
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "intersection.h" #include "sphere.h" TEST(Intersection, BoolEvaluation) { intersection hit; hit.hit = true; if (hit) { SUCCEED(); } else { ADD_FAILURE() << "intersection did not evaluate to true when hit was true"; } hit.hit = false; if (hi...
38.230263
96
0.515402
[ "vector" ]
f0261539a3cc440c3eea2446337fd75b189d5e8c
36,789
cpp
C++
src/mexopencv_videostab.cpp
rokm/mexopencv
22d459cd28df8a5e77fd7f2c8572b16723f60a1d
[ "BSD-3-Clause" ]
1
2021-05-12T21:33:44.000Z
2021-05-12T21:33:44.000Z
src/mexopencv_videostab.cpp
rokm/mexopencv
22d459cd28df8a5e77fd7f2c8572b16723f60a1d
[ "BSD-3-Clause" ]
null
null
null
src/mexopencv_videostab.cpp
rokm/mexopencv
22d459cd28df8a5e77fd7f2c8572b16723f60a1d
[ "BSD-3-Clause" ]
1
2016-05-22T10:15:08.000Z
2016-05-22T10:15:08.000Z
/** Implementation of mexopencv_videostab. * @file mexopencv_videostab.cpp * @ingroup videostab * @author Amro * @date 2016 */ #include "mexopencv_videostab.hpp" #include <typeinfo> #include <cstdio> #include <cstdarg> using std::vector; using std::string; using std::const_mem_fun_ref_t; using namespace cv; using...
34.739377
113
0.598141
[ "vector", "model" ]
f03189e9e428767adc735f9a72f3b0ddc2f16b09
620
cpp
C++
Basic/1046.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
6
2019-03-13T10:07:25.000Z
2019-09-29T14:10:11.000Z
Basic/1046.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
Basic/1046.cpp
GodLovesJonny/PAT-Solutions
b32d7de549c6b0ad8dc2e48d8a0e5cbf2241ed77
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <queue> #include <string> #include <vector> using namespace std; int N; int main() { ios::sync_with_stdio(false); cin >> N; int i; int cnta = 0, cntb = 0; int a1, a2, b1, b2, res; for (i = 0; i < N; i++) { ...
15.121951
37
0.514516
[ "vector" ]
f03a22e1f99ba9b5cc287ae506571617b0c1234e
2,409
hpp
C++
plugins/monitor_plugin/httpc_only_send.hpp
ultrain-os/ultrain-core-production
5d26bbe51033db183d3c069a30d87bcbe9cf736e
[ "MIT" ]
38
2019-08-15T08:38:15.000Z
2022-01-14T07:31:51.000Z
plugins/monitor_plugin/httpc_only_send.hpp
sighttviewliu/ultrain-core-production
c2807d9310da8b5dc1408502866be59299a96c22
[ "MIT" ]
4
2019-08-19T13:07:10.000Z
2020-10-17T02:45:04.000Z
plugins/monitor_plugin/httpc_only_send.hpp
sighttviewliu/ultrain-core-production
c2807d9310da8b5dc1408502866be59299a96c22
[ "MIT" ]
7
2019-08-15T11:11:09.000Z
2022-01-14T08:11:46.000Z
/** * @file * @copyright defined in ultrain/LICENSE.txt */ #pragma once namespace ultrainio { namespace client { namespace http { namespace detail { class http_context_impl; struct http_context_deleter { void operator()(http_context_impl*) const; }; } using http_context = st...
28.678571
121
0.600664
[ "vector" ]
f03c1be825f9a5ff1c0145b86c5e89e3559a027d
10,645
hpp
C++
src/metaspades/src/common/visualization/graph_print_utils.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/visualization/graph_print_utils.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/visualization/graph_print_utils.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2015 Saint Petersburg State University //* Copyright (c) 2011-2014 Saint Petersburg Academic University //* All Rights Reserved //* See file LICENSE for details. //************************************************************...
32.553517
146
0.586285
[ "shape" ]
f03c43ed6f3e085da3c5f5aa454e27430bc991fa
848
hpp
C++
src/cell_builder.hpp
brenthuisman/arbor-gui
53a37e8fc27f8228867e88e1105933b9e975362e
[ "BSD-3-Clause" ]
2
2021-03-18T15:09:22.000Z
2021-03-18T15:25:21.000Z
src/cell_builder.hpp
brenthuisman/arbor-gui
53a37e8fc27f8228867e88e1105933b9e975362e
[ "BSD-3-Clause" ]
54
2020-11-12T10:23:03.000Z
2021-09-08T08:28:52.000Z
src/cell_builder.hpp
arbor-sim/gui
67e3f0318b9ea66e7be12cc4ee55a0cd2f2e945a
[ "BSD-3-Clause" ]
8
2020-11-13T19:18:59.000Z
2021-08-30T10:19:51.000Z
#pragma once #include <arbor/cable_cell.hpp> #include <arbor/morph/place_pwlin.hpp> #include <arbor/morph/mprovider.hpp> #include <arbor/morph/primitives.hpp> #include <arbor/morph/region.hpp> #include <arbor/morph/locset.hpp> #include <glm/glm.hpp> #include "location.hpp" struct cell_builder { arb::morphology ...
29.241379
107
0.6875
[ "vector" ]
f050c3bb3e11d15c758977aaf62a74dfb2c80ad5
3,076
hpp
C++
sctxpy/sctx/snvs/_consensus.hpp
GWW/sctx
797e56d3ac4bbb526d6de1f6e76f5db0d47e0e84
[ "MIT" ]
null
null
null
sctxpy/sctx/snvs/_consensus.hpp
GWW/sctx
797e56d3ac4bbb526d6de1f6e76f5db0d47e0e84
[ "MIT" ]
null
null
null
sctxpy/sctx/snvs/_consensus.hpp
GWW/sctx
797e56d3ac4bbb526d6de1f6e76f5db0d47e0e84
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #include <iostream> #include <vector> #include <numeric> #include <numeric> #include <fstream> #include <cmath> #include <limits> #include "_cafimpl.hpp" #include "_matrix.hpp" namespace scapi{ void build_genotypes(const spCS<uint32_t> * counts, int32_t * labels, size_t G, uint32_t * ...
35.356322
136
0.43498
[ "vector" ]
f05b2a3a0d245901804a9a7a25c68090876bbc8b
1,722
hh
C++
src/bugengine/filesystem/include/watchpoint.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/bugengine/filesystem/include/watchpoint.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/bugengine/filesystem/include/watchpoint.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <bugengine.devel@gmail.com> see LICENSE for detail */ #ifndef BE_FILESYSTEM_WATCHPOINT_HH_ #define BE_FILESYSTEM_WATCHPOINT_HH_ /**************************************************************************************************/ #include <bugengine/filesystem/stdafx.h> #include <bugengine/filesystem/di...
35.142857
100
0.526132
[ "vector" ]
f06092871252114d48e5a5e11a006b1295f12428
1,056
hpp
C++
drape_frontend/traffic_renderer.hpp
operon/omim_mapsme
c6d3bce1d5363789ca8ca49d21d983829db94edb
[ "Apache-2.0" ]
null
null
null
drape_frontend/traffic_renderer.hpp
operon/omim_mapsme
c6d3bce1d5363789ca8ca49d21d983829db94edb
[ "Apache-2.0" ]
null
null
null
drape_frontend/traffic_renderer.hpp
operon/omim_mapsme
c6d3bce1d5363789ca8ca49d21d983829db94edb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "drape_frontend/traffic_generator.hpp" #include "drape/gpu_program_manager.hpp" #include "drape/pointers.hpp" #include "drape/uniform_values_storage.hpp" #include "geometry/screenbase.hpp" #include "geometry/spline.hpp" #include "std/map.hpp" #include "std/vector.hpp" #include "std/unordered_m...
24
70
0.726326
[ "geometry", "vector" ]
f067832e834f60c8b5f60fbd7a398c84efde1355
11,865
cpp
C++
plugins/net_plugin/net_plugin.cpp
eonproject/EONCore
4ed8651e7ba5cb99269a9e400922e027ca7a3efa
[ "MIT" ]
null
null
null
plugins/net_plugin/net_plugin.cpp
eonproject/EONCore
4ed8651e7ba5cb99269a9e400922e027ca7a3efa
[ "MIT" ]
null
null
null
plugins/net_plugin/net_plugin.cpp
eonproject/EONCore
4ed8651e7ba5cb99269a9e400922e027ca7a3efa
[ "MIT" ]
null
null
null
#include <eos/chain/types.hpp> #include <eos/net_plugin/net_plugin.hpp> #include <eos/net_plugin/protocol.hpp> #include <fc/network/ip.hpp> #include <fc/io/raw.hpp> #include <fc/container/flat.hpp> #include <fc/reflect/variant.hpp> #include <boost/asio/ip/tcp.hpp> namespace eos { using std::vector; using boos...
31.981132
154
0.579941
[ "vector" ]
f06beb5f6068315d7f869b8aef5f2605476b7a3e
13,415
cpp
C++
main.cpp
453647684/LongShotExplore
3b0c11f5d903660d64fddea07fb998be392ee1b8
[ "Apache-2.0" ]
null
null
null
main.cpp
453647684/LongShotExplore
3b0c11f5d903660d64fddea07fb998be392ee1b8
[ "Apache-2.0" ]
null
null
null
main.cpp
453647684/LongShotExplore
3b0c11f5d903660d64fddea07fb998be392ee1b8
[ "Apache-2.0" ]
null
null
null
#include "imagemerger.h" #include <QCoreApplication> #include <QString> #include <QDebug> #include <QDir> #include <QTime> /* int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); } */ #include<opencv2/opencv.hpp> //#include<opencv2/highgui/highgui.hpp>" //#include<opencv2/xfea...
29.036797
176
0.579426
[ "vector" ]
7ef45ae594730a0448301e8b8bfb324297f2886d
2,576
cpp
C++
src/web-server/http_handler_web_public_folder.cpp
freehackquest/backend
f3a370107974beea5580b5d0a0de6c90005daceb
[ "MIT" ]
9
2017-05-20T04:45:51.000Z
2018-11-13T11:39:18.000Z
src/web-server/http_handler_web_public_folder.cpp
freehackquest/backend
f3a370107974beea5580b5d0a0de6c90005daceb
[ "MIT" ]
90
2017-06-19T18:30:56.000Z
2018-12-11T03:32:16.000Z
src/web-server/http_handler_web_public_folder.cpp
freehackquest/backend
f3a370107974beea5580b5d0a0de6c90005daceb
[ "MIT" ]
11
2017-10-04T13:18:46.000Z
2018-11-28T15:20:09.000Z
#include "http_handler_web_public_folder.h" #include <wsjcpp_core.h> #include <employ_files.h> // ---------------------------------------------------------------------- HttpHandlerWebPublicFolder::HttpHandlerWebPublicFolder(const std::string &sWebPublicFolder) : WsjcppLightWebHttpHandlerBase("web-public-folder")...
39.630769
111
0.617236
[ "model" ]
7d02122df0d5c3e8cc01ef387e53bf1cd2d87a9a
9,153
cpp
C++
vmss_derecho/hello_world.cpp
xitanggg/Azure-IoT-Service-using-Derecho
f882ec344e766c92e8606fcd241b6ad2e33c8caf
[ "MIT" ]
null
null
null
vmss_derecho/hello_world.cpp
xitanggg/Azure-IoT-Service-using-Derecho
f882ec344e766c92e8606fcd241b6ad2e33c8caf
[ "MIT" ]
null
null
null
vmss_derecho/hello_world.cpp
xitanggg/Azure-IoT-Service-using-Derecho
f882ec344e766c92e8606fcd241b6ad2e33c8caf
[ "MIT" ]
null
null
null
/** * @file hello_world.cpp * * hello_world.cpp creates one subgroup of type Foo (defined in sample_objects.h). * It requires at least 2 nodes to join the group and they are all part of * the Foo subgroup. (Can be easily configured to 3 nodes as well) * * Every node (identified by its node_id) sends back T2 (T2 ...
45.08867
141
0.626898
[ "vector" ]
7d05bcc2df19046e1ce43c7c00f1966a908afc10
1,614
cpp
C++
genlipsum/genlipsum.cpp
elementbound/automata
719b4994c0ea87a326c38e14c8a6bec667509335
[ "MIT" ]
null
null
null
genlipsum/genlipsum.cpp
elementbound/automata
719b4994c0ea87a326c38e14c8a6bec667509335
[ "MIT" ]
null
null
null
genlipsum/genlipsum.cpp
elementbound/automata
719b4994c0ea87a326c38e14c8a6bec667509335
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <set> #include <vector> #include <algorithm> #include <random> #include <chrono> #include <cstdlib> //atoi, exit #include <cctype> #define die(msg) {std::cerr << msg << '\n'; exit(1);} int main(int argc, char** argv) { if(argc < 4) die("Usage: " << ...
23.057143
77
0.637546
[ "vector", "transform" ]
7d171e68de6b1dac8fa0f16e7b1b5f923119d199
1,418
cpp
C++
1036.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1036.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
1036.cpp
hgfeaon/PAT
3210bdab10eba77b69cdfb7a3c68638f9b7af5ac
[ "BSD-3-Clause" ]
null
null
null
#include <cstdio> #include <iostream> #include <cstdlib> #include <algorithm> using namespace std; class Stu { public: char name[12]; char id[12]; int grade; char gender; }; bool my_cmp(const Stu* a, const Stu* b) { return a->grade < b->grade; } void print (vector<Stu*> &stu)...
20.550725
72
0.470381
[ "vector" ]
7d19303c31f4f71362eadcaf24083d6d4482e881
1,614
hpp
C++
include/FoundObject.hpp
bas200o/fenceless-robotics
7c7592c079f406a65aba034c17f70b1159cb79f3
[ "Apache-2.0" ]
null
null
null
include/FoundObject.hpp
bas200o/fenceless-robotics
7c7592c079f406a65aba034c17f70b1159cb79f3
[ "Apache-2.0" ]
1
2021-12-16T12:55:40.000Z
2021-12-16T13:10:04.000Z
include/FoundObject.hpp
bas200o/fenceless-robotics
7c7592c079f406a65aba034c17f70b1159cb79f3
[ "Apache-2.0" ]
null
null
null
/*Objects class for found objects in pointcloud*/ #pragma once #include <tuple> #include <vector> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/common/distances.h> #include <cmath> class FoundObject { private: //Point with the loc...
25.619048
67
0.612763
[ "object", "vector" ]
7d21b34c046beac140499aab0c5910a9f5751c0e
14,297
cpp
C++
src/Yace/chip8.cpp
comfyneet/Yace
b5cc65fd3d3d1626786f65939a4e1572b5b099e6
[ "MIT" ]
null
null
null
src/Yace/chip8.cpp
comfyneet/Yace
b5cc65fd3d3d1626786f65939a4e1572b5b099e6
[ "MIT" ]
null
null
null
src/Yace/chip8.cpp
comfyneet/Yace
b5cc65fd3d3d1626786f65939a4e1572b5b099e6
[ "MIT" ]
null
null
null
#include "Yace/chip8.hpp" #include <random> namespace priv { uint8_t generate_random_number(uint8_t min, uint8_t max); std::mt19937 mersenne_twister{std::random_device()()}; std::array<uint8_t, 16 * 5> const fontset = std::array<uint8_t, 80> { 0xF0, 0x90, 0x90, 0x90, 0xF0, // 0 0x20,...
32.273138
120
0.45527
[ "vector" ]
7d255bee261bd43cf0ccf3b9a7b61999e709dc13
413,942
cpp
C++
pywinrt/winsdk/src/py.Windows.Data.Xml.Dom.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/src/py.Windows.Data.Xml.Dom.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/src/py.Windows.Data.Xml.Dom.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
// WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 #include "pybase.h" #include "py.Windows.Data.Xml.Dom.h" PyTypeObject* py::winrt_type<winrt::Windows::Data::Xml::Dom::DtdEntity>::python_type; PyTypeObject* py::winrt_type<winrt::Windows::Data::Xml::Dom::DtdNotation>::python_type;...
31.139848
221
0.543687
[ "object" ]
7d3ba8affccc7335330701c734e5dd1316cc82b5
14,466
cpp
C++
BitmapIcon.cpp
andybantly/MFC-Fractal
89620fd23b74b7ce73af0a915d0e74fea06f34c1
[ "Unlicense" ]
3
2022-03-14T15:10:55.000Z
2022-03-29T22:55:18.000Z
BitmapIcon.cpp
andybantly/MFC-Fractal
89620fd23b74b7ce73af0a915d0e74fea06f34c1
[ "Unlicense" ]
null
null
null
BitmapIcon.cpp
andybantly/MFC-Fractal
89620fd23b74b7ce73af0a915d0e74fea06f34c1
[ "Unlicense" ]
null
null
null
// Copyright (C) 2012-Present Andrew S. Bantly // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; version 2 of the License. // This program is distributed in the hope that it will be useful,...
24.231156
145
0.698051
[ "vector", "solid" ]
7d431cb6118efdb7bbb9d947fc13b590adaa4891
10,415
cpp
C++
project.2/project2.cpp
Svetoslavna/Project-DataBase
9c718853e0741952093299f7fdd3d19c1bb97979
[ "BSD-2-Clause" ]
1
2019-09-12T07:35:12.000Z
2019-09-12T07:35:12.000Z
project.2/project2.cpp
Svetoslavna/Project-DataBase
9c718853e0741952093299f7fdd3d19c1bb97979
[ "BSD-2-Clause" ]
null
null
null
project.2/project2.cpp
Svetoslavna/Project-DataBase
9c718853e0741952093299f7fdd3d19c1bb97979
[ "BSD-2-Clause" ]
null
null
null
#include "project2.h" using namespace std; typedef map<string, int> mapT; mapT tables; int save_tables() { string fname = "Tables.bin"; FILE* fp = fopen(fname.c_str(), "w"); if (!fp) return -errno; mapT::iterator it = tables.begin(); for (int i = 0; it != tables.end(); it++, i++) { fprintf(fp, "%s=%s...
24.053118
132
0.544503
[ "vector", "transform" ]
7d51d2e2cce873fe026e0c352cbf15a31cd77b98
1,432
cc
C++
caffe2/transforms/single_op_transform.cc
KevinKecc/caffe2
a2b6c6e2f0686358a84277df65e9489fb7d9ddb2
[ "Apache-2.0" ]
585
2015-08-10T02:48:52.000Z
2021-12-01T08:46:59.000Z
caffe2/transforms/single_op_transform.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
27
2018-04-14T06:44:22.000Z
2018-08-01T18:02:39.000Z
caffe2/transforms/single_op_transform.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
183
2015-08-10T02:49:04.000Z
2021-12-01T08:47:13.000Z
/** * Copyright (c) 2016-present, Facebook, 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 applicable ...
25.122807
75
0.698324
[ "vector", "transform" ]
7d599008037b284d33bee7fd1730012a0c180cb5
16,002
cpp
C++
src/LORE/Renderer/Renderers/Forward2DRenderer.cpp
MemoryDealer/LORE
2ce0c6cf03c119e5d1b0b90f3ee044901353283a
[ "MIT" ]
2
2021-07-14T06:05:48.000Z
2021-07-14T18:07:18.000Z
src/LORE/Renderer/Renderers/Forward2DRenderer.cpp
MemoryDealer/LORE
2ce0c6cf03c119e5d1b0b90f3ee044901353283a
[ "MIT" ]
null
null
null
src/LORE/Renderer/Renderers/Forward2DRenderer.cpp
MemoryDealer/LORE
2ce0c6cf03c119e5d1b0b90f3ee044901353283a
[ "MIT" ]
null
null
null
// ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // // The MIT License (MIT) // This source file is part of LORE // ( Lightweight Object-oriented Rendering Engine ) // // Copyright (c) 2017-2021 Jordan Sparks // // Permission is hereby granted, free of charge, to any person obtaining a copy ...
33.830867
124
0.603862
[ "mesh", "render", "object", "model", "transform" ]
7d5e319dc80fe7d98e05fba9a834edbbca7fee41
1,518
hpp
C++
include/bs/temporal_median.hpp
gitter-badger/bs
217e5fc1bf07b40441b73c5ba002f6dfe1ab0592
[ "MIT" ]
1
2021-02-28T20:15:52.000Z
2021-02-28T20:15:52.000Z
include/bs/temporal_median.hpp
nikkoara/bs
1d4339f0acb5967a4b8229f95f3ada577531d5d6
[ "MIT" ]
null
null
null
include/bs/temporal_median.hpp
nikkoara/bs
1d4339f0acb5967a4b8229f95f3ada577531d5d6
[ "MIT" ]
1
2020-11-30T12:57:47.000Z
2020-11-30T12:57:47.000Z
#ifndef BS_TEMPORAL_MEDIAN_HPP #define BS_TEMPORAL_MEDIAN_HPP #include <bs/defs.hpp> #include <bs/detail/base.hpp> #include <opencv2/core/mat.hpp> #include <boost/circular_buffer.hpp> #include <vector> namespace bs { // // Mostly based on the algorithm described in: // // @inproceedings{Calderara:2006:RBS:1178782....
24.885246
80
0.66996
[ "vector" ]
de105facf17364faefdcbfb052c231f6f76c9771
5,807
cpp
C++
client/Rendering/CameraOrbital.cpp
firesgc/NovusCore-Client
406010cfeca88b82363debe7dd9ca8d5e839b7f4
[ "MIT" ]
null
null
null
client/Rendering/CameraOrbital.cpp
firesgc/NovusCore-Client
406010cfeca88b82363debe7dd9ca8d5e839b7f4
[ "MIT" ]
null
null
null
client/Rendering/CameraOrbital.cpp
firesgc/NovusCore-Client
406010cfeca88b82363debe7dd9ca8d5e839b7f4
[ "MIT" ]
null
null
null
#include "CameraOrbital.h" #include <windows.h> #include <InputManager.h> #include <filesystem> #include <glm/gtx/rotate_vector.hpp> #include <glm/gtx/euler_angles.hpp> #include <GLFW/glfw3.h> #include <Window/Window.h> #include <Utils/DebugHandler.h> #include <Utils/FileReader.h> #include "../Utils/ServiceLocator.h" #...
34.158824
198
0.597727
[ "geometry" ]
de12a70380de87ab1c3fc12a424112847bc56f4b
15,291
hxx
C++
libbrep/build.hxx
build2/brep
d259750511b3c2aaeace49f8ccb1d7f3ad561452
[ "MIT" ]
9
2018-05-30T12:01:14.000Z
2021-04-02T21:21:10.000Z
libbrep/build.hxx
build2/brep
d259750511b3c2aaeace49f8ccb1d7f3ad561452
[ "MIT" ]
2
2021-03-28T14:13:39.000Z
2022-01-24T12:57:57.000Z
libbrep/build.hxx
build2/brep
d259750511b3c2aaeace49f8ccb1d7f3ad561452
[ "MIT" ]
2
2019-01-09T12:09:39.000Z
2022-03-06T18:43:07.000Z
// file : libbrep/build.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #ifndef LIBBREP_BUILD_HXX #define LIBBREP_BUILD_HXX #include <chrono> #include <odb/core.hxx> #include <odb/section.hxx> #include <libbutl/target-triplet.hxx> #include <libbrep/types.hxx> #include <libbrep/utility.hxx> ...
33.313725
79
0.638938
[ "object", "model" ]
de1a04c2a28fc6c5b5f0320f36aa190b434f8ed1
1,709
cpp
C++
Src/Collision/GeometryQuery.cpp
atlantis13579/Riemann
5c4dcf08a0438e702f082be7876d9017ccd598f8
[ "MIT" ]
2
2021-07-06T05:24:07.000Z
2021-07-07T01:52:41.000Z
Src/Collision/GeometryQuery.cpp
atlantis13579/Riemann
5c4dcf08a0438e702f082be7876d9017ccd598f8
[ "MIT" ]
null
null
null
Src/Collision/GeometryQuery.cpp
atlantis13579/Riemann
5c4dcf08a0438e702f082be7876d9017ccd598f8
[ "MIT" ]
null
null
null
#include "GeometryQuery.h" #include <algorithm> #include "AABBTree.h" #include "DynamicAABBTree.h" #include "SparseSpatialHash.h" GeometryQuery::GeometryQuery() { m_staticGeometry = nullptr; m_dynamicPruner = nullptr; m_SpatialHash = nullptr; } GeometryQuery::~GeometryQuery() { if (m_staticGeometry) { delete...
21.910256
130
0.729666
[ "geometry", "vector" ]
de1a54ea6c16d7447bba35af29fd4b39561149b6
1,521
cpp
C++
2020-11-04/teleport.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-04/teleport.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-04/teleport.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <algorithm> using namespace std; typedef long long int huge; const huge inf = 100010001000LL; const int maxn = 200200; struct interval { huge begin, end; vector<huge> bonus; huge best_distance() { if (bonus.empty()) return 0; huge le...
23.045455
62
0.543721
[ "vector" ]
de1cac7f80ed78686cb57c7d9f794e9e47228aa9
48,040
cpp
C++
src/couchit/couchDB.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
4
2017-03-20T22:14:10.000Z
2018-03-21T09:24:32.000Z
src/couchit/couchDB.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
src/couchit/couchDB.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
/* * couchDB.cpp * * Created on: 8. 3. 2016 * Author: ondra */ #include <fstream> #include <assert.h> #include <couchit/validator.h> #include <mutex> #include "changeset.h" #include "couchDB.h" #include <imtjson/json.h> #include <imtjson/value.h> #include <imtjson/binjson.tcc> #include <experimental/strin...
25.84185
132
0.652394
[ "object", "vector" ]
de1efdb4a0fa330e2e97af60cace5b903eeea81c
13,753
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/triangulator/triviswidget.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/triangulator/triviswidget.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/triangulator/triviswidget.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
32.823389
139
0.625173
[ "shape" ]
de2b9eae54b7356e9324f7d5a72f19bfc587d610
1,246
cpp
C++
gui/src/wrappers/dialoguserviewwrapper.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
3
2019-07-05T12:01:36.000Z
2021-03-19T22:48:48.000Z
gui/src/wrappers/dialoguserviewwrapper.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
41
2019-11-26T18:59:54.000Z
2020-05-01T10:52:47.000Z
gui/src/wrappers/dialoguserviewwrapper.cpp
sqglobe/SecureDialogues
bde56c7a62fb72b1cdfba8cebc0a770157b5f751
[ "MIT" ]
3
2019-05-21T17:48:16.000Z
2021-03-19T22:48:49.000Z
#include "dialoguserviewwrapper.h" #include <QListView> #include "models/dialogs-list/dialogsortmodel.h" #include "models/dialogs-list/dialogusermodel.h" DialogUserViewWrapper::DialogUserViewWrapper( QListView* view, std::shared_ptr<DialogUserModel> model, QObject* parent) : QObject(parent), mView...
33.675676
77
0.723114
[ "model" ]
de36dd9ebce94d299e2adf1c5d0c5bb00b36483d
4,006
cpp
C++
Plugins/LevelGenPlugin/Source/LevelGenPluginRuntime/LevelCell.cpp
Deema35/LevelGen
507171103bed2824bc71cb33dbac11aad7bae3b5
[ "MIT" ]
38
2018-04-17T17:10:59.000Z
2022-01-11T22:00:13.000Z
Plugins/LevelGenPlugin/Source/LevelGenPluginRuntime/LevelCell.cpp
Deema35/LevelGen
507171103bed2824bc71cb33dbac11aad7bae3b5
[ "MIT" ]
1
2020-06-06T08:01:18.000Z
2020-06-07T05:40:15.000Z
Plugins/LevelGenPlugin/Source/LevelGenPluginRuntime/LevelCell.cpp
Deema35/LevelGen
507171103bed2824bc71cb33dbac11aad7bae3b5
[ "MIT" ]
12
2018-07-27T19:32:35.000Z
2022-01-11T22:00:14.000Z
// Copyright 2018 Pavlov Dmitriy #include "LevelCell.h" #include "LevelGeneratorSettings.h" #include "Rooms/LevelRooms.h" #include "LevelGenPluginRuntime_LogCategory.h" #include "LevelFloor.h" #include "LevelGraphNode.h" #include "ProceduralFigure.h" #include "ProceduralMeshActor.h" #include "Rooms/PlacedLevelRoom.h" ...
19.831683
190
0.651023
[ "vector" ]
de3e7892ab5668f6c2c55618e83d4ef0800f1110
55,157
cpp
C++
project2D/Vector4.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
project2D/Vector4.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
project2D/Vector4.cpp
Jeffrey-W23/AIE-CodeFolio
c1820d0a228a6111011b2d10daf885753e6d302d
[ "MIT" ]
null
null
null
// #include, using, etc #include "Vector4.h" //-------------------------------------------------------------------------------------- // Default Constructor //-------------------------------------------------------------------------------------- Vector4::Vector4() { x = 0; y = 0; z = 0; w = 1; } //---------------...
15.973646
106
0.559113
[ "vector" ]
de3f7e6dd1a9d7b633453e121ca48558aa42aae5
773
cpp
C++
codes/thread/mutex/owns_lock01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/thread/mutex/owns_lock01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/thread/mutex/owns_lock01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
// unique_lock::operator= example #include <iostream> // std::cout #include <vector> // std::vector #include <thread> // std::thread #include <mutex> // std::mutex, std::unique_lock, std::try_to_lock std::mutex mtx; // mutex for critical section void print_star () { std::u...
20.891892
75
0.518758
[ "vector" ]
de413f613a06e83b052017abd8e6d3c45be54bf1
16,812
cxx
C++
alg/teca_cartesian_mesh_regrid.cxx
Data-Scientist-Wannabe/TECA
feb0ae7eb23e031842ca958b85168f7fdcae7f06
[ "BSD-3-Clause-LBNL" ]
null
null
null
alg/teca_cartesian_mesh_regrid.cxx
Data-Scientist-Wannabe/TECA
feb0ae7eb23e031842ca958b85168f7fdcae7f06
[ "BSD-3-Clause-LBNL" ]
null
null
null
alg/teca_cartesian_mesh_regrid.cxx
Data-Scientist-Wannabe/TECA
feb0ae7eb23e031842ca958b85168f7fdcae7f06
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "teca_cartesian_mesh_regrid.h" #include "teca_cartesian_mesh.h" #include "teca_array_collection.h" #include "teca_variant_array.h" #include "teca_metadata.h" #include "teca_coordinate_util.h" #include <algorithm> #include <iostream> #if defined(TECA_HAS_BOOST) #include <boost/program_options.hpp> #endif us...
36.949451
100
0.62616
[ "mesh", "vector" ]
de47ce3d55e71af157a7c9684380acd2fb360db0
47,039
cpp
C++
src/coreTest/UMACoreTestFixture.cpp
kotmasha/kodlab-uma-encapsulated
cb812f07906c62d958041d41d58623fd99fdb8ac
[ "MIT" ]
null
null
null
src/coreTest/UMACoreTestFixture.cpp
kotmasha/kodlab-uma-encapsulated
cb812f07906c62d958041d41d58623fd99fdb8ac
[ "MIT" ]
1
2019-11-16T02:57:35.000Z
2019-11-16T02:57:35.000Z
src/coreTest/UMACoreTestFixture.cpp
kotmasha/kodlab-uma-encapsulated
cb812f07906c62d958041d41d58623fd99fdb8ac
[ "MIT" ]
1
2021-08-02T21:14:54.000Z
2021-08-02T21:14:54.000Z
#include "UMACoreTestFixture.h" #include "PropertyMap.h" #include "UMAutil.h" extern int ind(int row, int col); extern int compi(int x); WorldTestFixture::WorldTestFixture() {} WorldTestFixture::~WorldTestFixture() {} SnapshotUpdateQTestFixture::SnapshotUpdateQTestFixture() { agentStationary = new Agent("agentStat...
36.100537
153
0.677417
[ "vector" ]
de5207ca2ce674222346bda69d686497d0c85ad5
6,182
cxx
C++
HLT/ZDC/AliHLTZDCAgent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
HLT/ZDC/AliHLTZDCAgent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
HLT/ZDC/AliHLTZDCAgent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-*- Mode: C++ -*- // $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * ALICE Experiment at CERN, All rights reserved. * * ...
33.236559
89
0.654804
[ "object" ]
de65985ca5604d79a47ec14ec813362b891e3b4e
12,161
cpp
C++
mpvss/mpinterpolation.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
1
2019-12-23T11:56:55.000Z
2019-12-23T11:56:55.000Z
mpvss/mpinterpolation.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
null
null
null
mpvss/mpinterpolation.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "mpinterpolation.h" #include "curve25519/curve25519.h" using namespace std; // [-1/50, 1/50] mod 2^252+27742317...
67.938547
115
0.832415
[ "vector" ]
de67230d350fd894fea86314c301eb220abb4b23
5,032
cc
C++
tests/test_trie.cc
jfjlaros/trie
b12fe42162be9f43aa245ce000794dd395572c0e
[ "RSA-MD" ]
null
null
null
tests/test_trie.cc
jfjlaros/trie
b12fe42162be9f43aa245ce000794dd395572c0e
[ "RSA-MD" ]
null
null
null
tests/test_trie.cc
jfjlaros/trie
b12fe42162be9f43aa245ce000794dd395572c0e
[ "RSA-MD" ]
null
null
null
#include <catch.hpp> #include <vector> #include "../src/trie.tcc" using std::vector; TEST_CASE("Trie", "[find][add]") { Trie<4, Leaf> trie; SECTION("Find non-existent word") { vector<uint8_t> word = {0x00, 0x01, 0x02}; REQUIRE(trie.find(word) == NULL); } SECTION("Add word") { vector<uint8_t> w...
25.938144
70
0.515302
[ "vector" ]
de69980248be27ad44b088170884859a79a15150
7,223
cc
C++
src/d3d11/d3d11_view_rtv.cc
R2Northstar/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
3
2022-02-17T03:11:52.000Z
2022-02-20T21:20:16.000Z
src/d3d11/d3d11_view_rtv.cc
pg9182/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
null
null
null
src/d3d11/d3d11_view_rtv.cc
pg9182/NorthstarStubs
e60bba45092f7fdb70b60c0e2e920584f78f1b85
[ "Zlib" ]
2
2022-02-17T14:04:09.000Z
2022-02-20T17:52:55.000Z
#include "d3d11_buffer.h" #include "d3d11_device.h" #include "d3d11_device_child.h" #include "d3d11_include.h" #include "d3d11_resource.h" #include "d3d11_texture.h" #include "d3d11_view_rtv.h" namespace dxvk { D3D11RenderTargetView::D3D11RenderTargetView( D3D11Device* pDevice, ...
32.245536
98
0.665236
[ "render" ]