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
fd47c55ddf2b1536e3d62e30d25463b951b6c842
3,140
cc
C++
reid_cloud/src/model/DescribeHeatMapResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
reid_cloud/src/model/DescribeHeatMapResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
reid_cloud/src/model/DescribeHeatMapResult.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...
28.288288
95
0.756369
[ "vector", "model" ]
fd4f30e125fa4353595bef3d8e351d3c71d49eea
555
cpp
C++
Red/Debug/Darwin/DarwinProcess.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
1
2018-01-29T02:49:05.000Z
2018-01-29T02:49:05.000Z
Red/Debug/Darwin/DarwinProcess.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
26
2017-05-08T22:57:14.000Z
2018-05-15T20:55:26.000Z
Red/Debug/Darwin/DarwinProcess.cpp
XenonicDev/Red
fcd12416bdf7fe4d2372161e67edc585f75887e4
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2018 Andrew Depke */ #include "DarwinProcess.h" #include <mach-o/dyld.h> #include <string.h> namespace Red { bool GetProcessModules(std::vector<ProcessModule>* Output) { unsigned int ModuleCount = _dyld_image_count(); if (ModuleCount == 0) { return false; } for (unsigned int Ite...
17.34375
59
0.67027
[ "vector" ]
fd517adafc67095b26e4f816e5ed8b471ed7eb18
7,330
cc
C++
v0_1_5/tests/vector-test.cc
AdvantechRISC/apq8016_external_marisa-trie
629ed059b1e85cd8e4de363d8b3dc53c15c3e08a
[ "BSD-3-Clause" ]
null
null
null
v0_1_5/tests/vector-test.cc
AdvantechRISC/apq8016_external_marisa-trie
629ed059b1e85cd8e4de363d8b3dc53c15c3e08a
[ "BSD-3-Clause" ]
null
null
null
v0_1_5/tests/vector-test.cc
AdvantechRISC/apq8016_external_marisa-trie
629ed059b1e85cd8e4de363d8b3dc53c15c3e08a
[ "BSD-3-Clause" ]
null
null
null
#include <cstdlib> #include <ctime> #include <sstream> #include <string> #include <vector> #include <marisa_alpha/vector.h> #include <marisa_alpha/intvector.h> #include <marisa_alpha/bitvector.h> #include "assert.h" namespace { void TestVector() { TEST_START(); std::vector<int> values; for (std::size_t i = 0...
24.111842
68
0.602456
[ "vector" ]
fd57b9220af65c576bad8bda564ad474def7cb05
1,810
cpp
C++
src/mesh.cpp
SirBob01/OpenGL-Experimenting
bdf4aae4c1d7c1e2c96d0066e2b3bd196b4dd3a4
[ "MIT" ]
null
null
null
src/mesh.cpp
SirBob01/OpenGL-Experimenting
bdf4aae4c1d7c1e2c96d0066e2b3bd196b4dd3a4
[ "MIT" ]
null
null
null
src/mesh.cpp
SirBob01/OpenGL-Experimenting
bdf4aae4c1d7c1e2c96d0066e2b3bd196b4dd3a4
[ "MIT" ]
null
null
null
#include "mesh.h" Mesh::Mesh(std::vector<Vertex> &vertices, std::vector<uint32_t> &indices) { generate_buffers(vertices, indices); } Mesh::Mesh(std::vector<glm::vec3> &positions, std::vector<glm::vec3> &normals, std::vector<uint32_t> &indices) { std::vector<Vertex> vertices; for (int i = 0; i <...
32.321429
80
0.613812
[ "mesh", "vector" ]
fd59598938e770ef45b0b91a65d8c7bcd5e37483
4,059
hpp
C++
src/graph/flow_network.hpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
1
2019-10-26T18:07:53.000Z
2019-10-26T18:07:53.000Z
src/graph/flow_network.hpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
25
2019-08-29T22:06:50.000Z
2019-10-04T13:44:17.000Z
src/graph/flow_network.hpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
null
null
null
#pragma once #include "graph.hpp" #include <map> namespace graph { class FlowNetwork : public Graph { //============================================================================== // Constructors //============================================================================== public: FlowNetwork () : Gr...
28.384615
93
0.50037
[ "vector", "transform" ]
fd5af461f4288bf714b54ac6ca9c8ba9acf516f0
11,915
cpp
C++
src/material/material.cpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
1
2021-09-13T20:22:29.000Z
2021-09-13T20:22:29.000Z
src/material/material.cpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
null
null
null
src/material/material.cpp
mfirmin/audio-demo
767e2fc1b7afb53cd5aafad90ae562661a154373
[ "MIT" ]
1
2021-09-13T20:22:31.000Z
2021-09-13T20:22:31.000Z
#include "material.hpp" #include "gl/shaderUtils.hpp" #include "light/light.hpp" #include <GL/glew.h> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include <string> #include <sstream> Material::Material(glm::vec3 color, float specularCoefficient, float shininess) : color(color), specularCoefficient...
34.536232
109
0.625346
[ "vector" ]
fd5bdc4018fde20d74187edbfde5eeaa68435e38
2,866
hh
C++
src/bie/bimat_interface.hh
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
6
2019-04-12T19:51:23.000Z
2021-09-16T07:12:57.000Z
src/bie/bimat_interface.hh
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
null
null
null
src/bie/bimat_interface.hh
XiaoMaResearch/hybrid_tsunamic_plane_stress
574988edfcd4839f680b85cde2bf818936e86b78
[ "MIT" ]
1
2019-07-07T07:23:58.000Z
2019-07-07T07:23:58.000Z
/** * @file bimat_interface.hh * * @author David S. Kammer <kammer@cornell.edu> * * @date creation: Mon Oct 09 2017 * @date last modification: Mon Oct 09 2017 * * @brief * * @section LICENSE * * MIT License * Copyright (c) 2017 David S. Kammer * */ #ifndef __BIMAT_INTERFACE_H__ #define __BIMAT_INTERFAC...
32.568182
80
0.480461
[ "model" ]
5b73de2c3ad24592b2d48ee2c92eab8af658bfe5
8,575
cpp
C++
sp/src/game/server/firefightreloaded/weapon_sniper_rifle.cpp
FIREFIGHT-RELOADED/mapbase-source-sdk-2013
652bc5e3a6adb9045c88f239cc88cb6e89d9eabf
[ "Unlicense" ]
null
null
null
sp/src/game/server/firefightreloaded/weapon_sniper_rifle.cpp
FIREFIGHT-RELOADED/mapbase-source-sdk-2013
652bc5e3a6adb9045c88f239cc88cb6e89d9eabf
[ "Unlicense" ]
2
2020-11-23T19:36:30.000Z
2020-11-26T11:41:42.000Z
sp/src/game/server/firefightreloaded/weapon_sniper_rifle.cpp
FIREFIGHT-RELOADED/mapbase-source-sdk-2013
652bc5e3a6adb9045c88f239cc88cb6e89d9eabf
[ "Unlicense" ]
null
null
null
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Sniper Rifle // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "npcevent.h" #include "basehlcombatweapon.h" #include "basecombatcharacter.h" #inc...
25.445104
111
0.555335
[ "vector" ]
5b81a33c5eef6297c1840d17dc026e77fa241f43
1,694
cpp
C++
lab2021-2022f/lab04/inheritance3.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
lab2020-2021/lab03/inheritance3.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
lab2020-2021/lab03/inheritance3.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
// παράδειγμα με χρήση abstract class, pure virtual function #include <iostream> #include <string> #include <vector> using namespace std; class pet { protected: string _name; public: pet(string name) : _name(name) {} virtual string sound() const = 0; virtual void make_sound() const { cou...
20.409639
120
0.625148
[ "object", "vector" ]
5b86187df3ba6aba90065ffcc7a8de7758ec1aa3
1,468
cpp
C++
Leetcode Solution/Tree/Medium/95. Unique Binary Search Trees II.cpp
piyushn28/Placement-Preparation
585643400ebf814d12aacbcce39c3b87b2570963
[ "MIT" ]
1
2021-06-15T03:34:26.000Z
2021-06-15T03:34:26.000Z
Leetcode Solution/Tree/Medium/95. Unique Binary Search Trees II.cpp
piyushn28/Placement-Preparation
585643400ebf814d12aacbcce39c3b87b2570963
[ "MIT" ]
null
null
null
Leetcode Solution/Tree/Medium/95. Unique Binary Search Trees II.cpp
piyushn28/Placement-Preparation
585643400ebf814d12aacbcce39c3b87b2570963
[ "MIT" ]
1
2021-06-02T17:28:53.000Z
2021-06-02T17:28:53.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<TreeNode* >helper(int start,int end) { vector<TreeNode* > res; ...
30.583333
71
0.330381
[ "vector" ]
5b8f42d4d64835e78b67fe7782e5bf4daaf9f81b
1,501
hpp
C++
src/repository/importFileBase.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/repository/importFileBase.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
src/repository/importFileBase.hpp
enerc/zsearch
60cdcd245b66d14fe4e2be1d26eb2b1877d4b098
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include <cstdint> #include "../queries/queryStatus.hpp" #include "../mapping/indexDefinitionManager.hpp" namespace tools { class GenDefinitionBase; } namespace repository { class ImportFileBase; typedef struct { std::string index; std::strin...
22.073529
106
0.725516
[ "vector" ]
5b9543941e3d21cca566e678c79cf97aed869126
7,938
cc
C++
tests/aff4_map_tests.cc
gonmator/c-aff4
e5e148960d4e0155df376b376ac7162b97829961
[ "Apache-2.0" ]
146
2018-03-21T15:51:09.000Z
2022-02-18T00:36:11.000Z
tests/aff4_map_tests.cc
gonmator/c-aff4
e5e148960d4e0155df376b376ac7162b97829961
[ "Apache-2.0" ]
84
2018-03-29T04:58:39.000Z
2021-06-08T18:44:44.000Z
tests/aff4_map_tests.cc
gonmator/c-aff4
e5e148960d4e0155df376b376ac7162b97829961
[ "Apache-2.0" ]
29
2018-05-11T05:40:43.000Z
2021-11-22T10:54:55.000Z
#include <gtest/gtest.h> #include "aff4/libaff4.h" #include <unistd.h> #include <glog/logging.h> #include "utils.h" namespace aff4 { class AFF4MapTest: public ::testing::Test { protected: std::string filename = "/tmp/aff4_test.zip"; std::string source_filename = "/tmp/source.txt"; std::strin...
29.730337
78
0.643361
[ "vector" ]
5b9a31da1ddc2c7017a6590c3eb4881ff25bb54b
8,358
cpp
C++
core/conn/odbc/src/odbc/EventMsgs/odbceventmsgutil.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/conn/odbc/src/odbc/EventMsgs/odbceventmsgutil.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/conn/odbc/src/odbc/EventMsgs/odbceventmsgutil.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
/************************************************************************* * // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownersh...
29.223776
84
0.59105
[ "object" ]
5b9d974e390178d7339dd5ef007d9201c7155214
9,346
c++
C++
src/extern/inventor/apps/examples/Toolmaker/04.Actions/GetVolumeAction.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/examples/Toolmaker/04.Actions/GetVolumeAction.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/examples/Toolmaker/04.Actions/GetVolumeAction.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, 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; either * version 2.1 of the License, or (at your opti...
35.671756
77
0.720415
[ "object", "shape", "model" ]
5ba2996410490772999c1eeaf6d86c26c4384e6d
2,388
cpp
C++
helper/main.cpp
yak1ex/UTF8-Win32API
a320d71ff8d04f1b7a3d28222e832648eca97480
[ "BSD-2-Clause" ]
2
2015-12-01T14:56:09.000Z
2017-04-29T20:05:26.000Z
helper/main.cpp
yak1ex/UTF8-Win32API
a320d71ff8d04f1b7a3d28222e832648eca97480
[ "BSD-2-Clause" ]
null
null
null
helper/main.cpp
yak1ex/UTF8-Win32API
a320d71ff8d04f1b7a3d28222e832648eca97480
[ "BSD-2-Clause" ]
null
null
null
#include <windows.h> #include "helper/win32u_helper.hpp" #include <vector> int _umain_stub() { return 0; } extern "C" int _umain(...) __attribute__((weak, alias("_Z11_umain_stubv"))); extern int _umain() __attribute__((weak, alias("_Z11_umain_stubv"))); extern int _umain(int argc) __attribute__((weak...
29.121951
105
0.640704
[ "vector" ]
5baaebae3a5ad9afcd76e0bcfa6908217877a9d3
1,800
cpp
C++
project-template/lib/app/GuiBuilder.cpp
nerudaj/dgm-sdk
3d0366487a2f4377ba52ab577f990fd8a4bd3e91
[ "Apache-2.0" ]
null
null
null
project-template/lib/app/GuiBuilder.cpp
nerudaj/dgm-sdk
3d0366487a2f4377ba52ab577f990fd8a4bd3e91
[ "Apache-2.0" ]
null
null
null
project-template/lib/app/GuiBuilder.cpp
nerudaj/dgm-sdk
3d0366487a2f4377ba52ab577f990fd8a4bd3e91
[ "Apache-2.0" ]
null
null
null
#include "GuiBuilder.hpp" tgui::Label::Ptr WidgetCreator::createLabel(const std::string& text, unsigned fontSize) { auto label = tgui::Label::create(text); label->setHorizontalAlignment(tgui::Label::HorizontalAlignment::Left); label->setVerticalAlignment(tgui::Label::VerticalAlignment::Center); label->setAutoSize(...
28.571429
155
0.711667
[ "vector" ]
5bae5f82ccefa4dd4e73a8e3279c965aee57dd58
5,144
cpp
C++
modules/Components/Scene.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
modules/Components/Scene.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
modules/Components/Scene.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
#include "Scene.h" #include "World.h" #include "GameObject.h" BEG_META( Components::Scene ) REG_PROPERTY( "Children", &Components::Scene::_Children )->Attribute( XE::NonEditorAttribute() ); REG_PROPERTY( "Transform", &Components::Scene::_Transform ); END_META() Components::Scene::Scene() { } Components::Scene::~Sc...
17.033113
98
0.688764
[ "transform" ]
5bb3f9b3941acaab62669df96bce2297a00d2839
5,877
hpp
C++
MuPad/MuPadConvert.hpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
2
2015-04-02T21:45:49.000Z
2018-09-19T01:59:02.000Z
MuPad/MuPadConvert.hpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
null
null
null
MuPad/MuPadConvert.hpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
null
null
null
/* * Bayes++ the Bayesian Filtering Library * Copyright (c) 2004 Michael Stevens * See accompanying Bayes++.html for terms and conditions of use. */ /* * Bayesian_filter_matrix <-> MuPAD conversions * Many MuPAD function use long, we assume long === int */ namespace MuPAD_convert { template <class FilterMatr...
20.33564
80
0.631445
[ "vector" ]
5bc0db00c1cebd46e0c909b44119d7f7c4f2727b
754
cpp
C++
Spectrum/Spectrum/Main.cpp
rnsheehan/Spectrum
f5a3db2c7aa9d7197a202d7aa2539950f44b7885
[ "MIT" ]
null
null
null
Spectrum/Spectrum/Main.cpp
rnsheehan/Spectrum
f5a3db2c7aa9d7197a202d7aa2539950f44b7885
[ "MIT" ]
null
null
null
Spectrum/Spectrum/Main.cpp
rnsheehan/Spectrum
f5a3db2c7aa9d7197a202d7aa2539950f44b7885
[ "MIT" ]
null
null
null
#ifndef ATTACH_H #include "Attach.h" #endif // !ATTACH_H // The aim of this project is to implement the code needed to compute the FFT of an arbitrary data set // The data I have in mind is that obtained from a high speed oscilloscope // Generally, the data will be of the form (time_value, voltage_value) // The code f...
27.925926
121
0.713528
[ "vector" ]
5bc3c92ec391c1af3f43f6bb05db21a8e9cbbc91
1,523
cpp
C++
c++/sqrt_tree.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
38
2018-09-17T18:16:24.000Z
2022-02-10T10:26:23.000Z
c++/sqrt_tree.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
1
2020-10-01T10:48:45.000Z
2020-10-04T11:27:44.000Z
c++/sqrt_tree.cpp
forgotter/Snippets
bb4e39cafe7ef2c1ef3ac24b450a72df350a248b
[ "MIT" ]
12
2018-11-13T13:36:41.000Z
2021-05-02T10:07:44.000Z
/// Name: SQRTTREE /// Description: DS for range-query (without updates). O(1) per query, O(nlogn) for preprocessing. /// Detail: Range Query, Data Structure, Sparse Lookup Table /// Guarantee: } // SQRTTREE inline int op(int val1, int val2) { return (1LL * val1 * val2) % prime; } vector<int> arr; vect...
24.174603
99
0.443204
[ "vector" ]
5bc56866273eee12f500731fc16cf012678535e6
5,088
cpp
C++
src/main.cpp
RubyNova/Touhou-NovelRT
2ccff45b13462c275822b07fce96377e4a846afa
[ "MIT" ]
null
null
null
src/main.cpp
RubyNova/Touhou-NovelRT
2ccff45b13462c275822b07fce96377e4a846afa
[ "MIT" ]
null
null
null
src/main.cpp
RubyNova/Touhou-NovelRT
2ccff45b13462c275822b07fce96377e4a846afa
[ "MIT" ]
null
null
null
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root for more information. #include <TouhouNovelRT.h> int main(int argc, char *argv[]) { std::filesystem::path executableDirPath = NovelRT::Utilities::Misc::getExecutableDirPath(); std::filesystem::p...
78.276923
272
0.742138
[ "vector", "transform" ]
5bc92216d89f0d9c2d847933d89b86113d59e4ae
22,108
cpp
C++
src/types/simulation.cpp
Wolff09/seal
c0560204743d1c5f602cfc206ffac32531ea2c06
[ "MIT" ]
7
2019-10-18T07:24:13.000Z
2022-01-07T14:01:17.000Z
src/types/simulation.cpp
Wolff09/seal
c0560204743d1c5f602cfc206ffac32531ea2c06
[ "MIT" ]
null
null
null
src/types/simulation.cpp
Wolff09/seal
c0560204743d1c5f602cfc206ffac32531ea2c06
[ "MIT" ]
1
2019-11-30T01:45:41.000Z
2019-11-30T01:45:41.000Z
#include "types/simulation.hpp" #include "types/util.hpp" #include "types/error.hpp" #include "types/assumption.hpp" #include "z3++.h" #include <set> #include <string> using namespace cola; using namespace prtypes; struct GetObservedAddressVisitor : public ObserverVisitor { // TODO: support more general observers w...
46.938429
200
0.72562
[ "vector" ]
5bccf81d440d1ecc955dd0ba6b289fd741947b75
20,427
cpp
C++
Midas/src/c-compiler/vale.cpp
monarrk/Vale
2cf501ef8eef5a38fda2302f5915b0307cbdb309
[ "Apache-2.0" ]
null
null
null
Midas/src/c-compiler/vale.cpp
monarrk/Vale
2cf501ef8eef5a38fda2302f5915b0307cbdb309
[ "Apache-2.0" ]
null
null
null
Midas/src/c-compiler/vale.cpp
monarrk/Vale
2cf501ef8eef5a38fda2302f5915b0307cbdb309
[ "Apache-2.0" ]
null
null
null
#include <llvm-c/Core.h> #include <llvm-c/DebugInfo.h> #include <llvm-c/ExecutionEngine.h> #include <llvm-c/Analysis.h> #include <assert.h> #include <string> #include <vector> #include <iostream> #include <fstream> #include <nlohmann/json.hpp> #include "function/expressions/shared/shared.h" #include "struct/interface...
34.680815
187
0.708278
[ "object", "vector", "transform" ]
5bcf9a2733341878d8800eab7aeceac94f914174
7,697
cpp
C++
cplusplus/RCF/src/RCF/test/Test.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
cplusplus/RCF/src/RCF/test/Test.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
cplusplus/RCF/src/RCF/test/Test.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
//****************************************************************************** // RCF - Remote Call Framework // // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved. // http://www.deltavsoft.com // // RCF is distributed under dual licenses - closed source or GPL. // Consult your particular license fo...
20.859079
182
0.598025
[ "vector" ]
5bd078529792b75fe52133c9614d8bd9da18bc9f
12,907
cxx
C++
Projects/shader_SkyBox/SkyDome_shader.cxx
Neill3d/MoPlugs
84efea03e045f820f3dc132c1a60a779fc5e34fc
[ "BSD-3-Clause" ]
23
2017-10-20T07:01:18.000Z
2022-02-25T08:46:07.000Z
Projects/shader_SkyBox/SkyDome_shader.cxx
droidoid/MoPlugs
fce52e6469408e32e94af8ac8a303840bc956e53
[ "BSD-3-Clause" ]
1
2019-11-08T04:03:38.000Z
2019-11-10T10:16:00.000Z
Projects/shader_SkyBox/SkyDome_shader.cxx
droidoid/MoPlugs
fce52e6469408e32e94af8ac8a303840bc956e53
[ "BSD-3-Clause" ]
5
2017-12-03T20:43:27.000Z
2020-01-22T16:54:13.000Z
////////////////////////////////////////////////////////////////////////////////////////////////// // // file: SkyDome_shader.cxx // // Author Sergey Solokhin (Neill3d) // // GitHub page - https://github.com/Neill3d/MoPlugs // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs/blob/master/LICENSE // ////...
25.258317
175
0.695592
[ "render", "object", "vector", "model" ]
5bdd4c624a2e294122493e7c229d91ae06d36010
2,151
cpp
C++
engine/commands/select_tile/source/TileSelectionKeyboardCommandMap.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
engine/commands/select_tile/source/TileSelectionKeyboardCommandMap.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
engine/commands/select_tile/source/TileSelectionKeyboardCommandMap.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #include <curses.h> #else #include <ncurses.h> #endif #include "Conversion.hpp" #include "CommandKeys.hpp" #include "TileSelectionCommandKeys.hpp" #include "TileSelectionKeyboardCommandMap.hpp" using namespace std; TileSelectionKeyboardCommandMap::TileSelectionKeyboardCommandMap() { } TileSelectionK...
27.935065
97
0.815435
[ "vector" ]
5bde34208f85591d059802eff6b83f2ec3a00503
1,905
cpp
C++
UVa 10311 goldbach and euler/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10311 goldbach and euler/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10311 goldbach and euler/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <algorithm> #include <iostream> #include <iomanip> #include <cstring> #include <cstdlib> #include <climits> #include <sstream> #include <fstream> #include <cstdio> #include <string> #include <vector> #include <queue> #include <cmath> #include <stack> #include <map> #include <set> using namespace std; const int...
27.214286
99
0.503937
[ "vector" ]
5be627f962df928df7a1840926b5803f93d64c8c
6,415
hpp
C++
wasmopencv/detectorsz/include/detectorsz/detectorsz.hpp
joaolsouzajr/wasm-perf-analysis
6f80cfad558161ff488f6742b10609dd32ee0e0f
[ "MIT" ]
null
null
null
wasmopencv/detectorsz/include/detectorsz/detectorsz.hpp
joaolsouzajr/wasm-perf-analysis
6f80cfad558161ff488f6742b10609dd32ee0e0f
[ "MIT" ]
2
2020-03-24T17:10:34.000Z
2020-03-31T04:22:43.000Z
apps/detectorsz/include/detectorsz/detectorsz.hpp
lourencoccc/tccwasm
b6ce19fab81ba83a4b2db39caff11a48090c8279
[ "MIT" ]
null
null
null
/* Copyright 2019, Joao Lourenco Souza Junior, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
23.847584
80
0.70039
[ "vector" ]
5bf8ebc623c56e82c37f987138be859bb14f0dac
58,351
cpp
C++
src/engine/dinput.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
1
2017-10-28T07:39:29.000Z
2017-10-28T07:39:29.000Z
src/engine/dinput.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
null
null
null
src/engine/dinput.cpp
nikodemak/Allegiance
9c24c6c80bf3939a8095aa40e2f85c1d3adc20fc
[ "MIT" ]
null
null
null
#include <dinput.h> #include <regkey.h> #include <zreg.h> #include "LogFile.h" #include "ddstruct.h" #include "enginep.h" #include "inputengine.h" #include "value.h" #include "window.h" #define DINPUT_BUFFERSIZE 32 #ifndef DIFEF_MODIFYIFNEEDED # define DIFEF_MODIFYIFNEEDED 0x00000010 #endif #define SAFE_DELETE(p...
28.972691
153
0.516444
[ "object", "shape", "vector" ]
5bfc84664d0964fe836927e50cdcb0e6c44bcc92
1,285
cpp
C++
books/exploring_cpp_11/list0101.cpp
argodev/learn
d815beb9c1f8fa3dd8cd917640ebcca5822205c3
[ "MIT" ]
null
null
null
books/exploring_cpp_11/list0101.cpp
argodev/learn
d815beb9c1f8fa3dd8cd917640ebcca5822205c3
[ "MIT" ]
15
2020-01-28T22:25:10.000Z
2022-03-11T23:21:02.000Z
books/exploring_cpp_11/list0101.cpp
argodev/learn
d815beb9c1f8fa3dd8cd917640ebcca5822205c3
[ "MIT" ]
null
null
null
/// sort the standard input alphabetically /// Read lines of text, sort them, and print the results to the standard output. /// If the command line names a file, read from that file. Otherwise, read from /// the standard input. The entire input is stored in memory, so don't try /// this with input files that exceed av...
31.341463
93
0.626459
[ "vector" ]
75003a2b6664b5fef5cc5f041d3bd9f52d8fc812
23,945
cpp
C++
modules/viz/src/interactor_style.cpp
webpolis/opencv
d99ef8bc421219c84d3ee55e478b158d3c675963
[ "BSD-3-Clause" ]
1
2019-04-19T22:56:53.000Z
2019-04-19T22:56:53.000Z
modules/viz/src/interactor_style.cpp
cangunel/opencv
42f9ee3f3e580a2c8495b4b56669f06708de53b1
[ "BSD-3-Clause" ]
null
null
null
modules/viz/src/interactor_style.cpp
cangunel/opencv
42f9ee3f3e580a2c8495b4b56669f06708de53b1
[ "BSD-3-Clause" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
37.414063
134
0.553602
[ "render" ]
75016376395bf8852b248ae4df6d41750b531af5
2,920
cpp
C++
src/ae_dense.cpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
4
2017-11-07T02:36:30.000Z
2022-01-20T17:46:06.000Z
src/ae_dense.cpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
null
null
null
src/ae_dense.cpp
wichtounet/word_spotting
7e25513acc684d79f5c6b622d1d2e55fc40d3192
[ "MIT" ]
1
2019-12-11T11:03:25.000Z
2019-12-11T11:03:25.000Z
//======================================================================= // Copyright Baptiste Wicht 2015-2017. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #ifndef S...
43.58209
242
0.67774
[ "vector" ]
7506f78e6c22d90ab473777e749fcc36641f4f21
5,505
cpp
C++
testing/coders.cpp
spcl/GMS
bd8f384ca2f02c52909f4ab77cbb86edba89c7b6
[ "MIT" ]
10
2021-06-22T12:38:38.000Z
2022-02-17T19:27:54.000Z
testing/coders.cpp
spcl/GMS
bd8f384ca2f02c52909f4ab77cbb86edba89c7b6
[ "MIT" ]
1
2021-07-29T06:37:18.000Z
2021-07-29T06:37:18.000Z
testing/coders.cpp
spcl/GMS
bd8f384ca2f02c52909f4ab77cbb86edba89c7b6
[ "MIT" ]
4
2021-05-17T09:32:19.000Z
2021-12-25T06:27:07.000Z
#include "test_helper.h" #include <gms/representations/graphs/coders/coders-utils/varint_utils.h> using testing::UnorderedElementsAre; TEST(CodersUtils, ToVarint) { std::vector<uint64_t> input{2, 4, 10, 100000, 300}; unsigned char *out = new unsigned char[8]; ASSERT_EQ(toVarint(input[0], out), 1); AS...
30.583333
117
0.639782
[ "vector" ]
750876259a57452a500619b13c609be21d16f000
1,410
cpp
C++
Algorithms/0336.Palindrome_Pairs.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/0336.Palindrome_Pairs.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/0336.Palindrome_Pairs.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
typedef long long LL; class Solution { public: const LL base = 31; const LL mod = (int) 1e9+7; const static int maxl = 301; const static int maxn = 5000; LL pref[maxn]; LL suff[maxn]; LL powr[maxl]; int char2int(char c) { return c-'a'+1; } void add(vector<vector<int>>& a...
30.652174
70
0.414184
[ "vector" ]
75112fad48cf9ee58a0aed32a0d0a8b3f5488e74
29,741
cpp
C++
src/dae.cpp
1mingfei/mapp4py
b72a90b4ab8984cf40d90944df60505e1a3f6a49
[ "MIT" ]
null
null
null
src/dae.cpp
1mingfei/mapp4py
b72a90b4ab8984cf40d90944df60505e1a3f6a49
[ "MIT" ]
null
null
null
src/dae.cpp
1mingfei/mapp4py
b72a90b4ab8984cf40d90944df60505e1a3f6a49
[ "MIT" ]
null
null
null
#include "dae.h" #include "MAPP.h" #include "atoms_dmd.h" #include "dynamic_dmd.h" #include "ff_dmd.h" #include "memory.h" #ifdef MINCG_W_NEWTON #include "min_cg_dmd.h" #endif using namespace MAPP_NS; /*-------------------------------------------- --------------------------------------------*/ DAE::DAE(): max_nsteps...
28.846751
155
0.496554
[ "object" ]
7519ef3ee83ec91b6f84328463bb44c587e679e6
48,629
cpp
C++
src/engine/GltfImporter.cpp
Kuranes/KickstartRT_demo
6de7453ca42e46db180f8bead7ba23f9e8936b69
[ "MIT" ]
83
2021-07-19T13:55:33.000Z
2022-03-29T16:00:57.000Z
src/engine/GltfImporter.cpp
CompileException/donut
bc400a8c2c9db9c3c5ed16190dc108e75722b503
[ "MIT" ]
2
2021-11-04T06:41:28.000Z
2021-11-30T08:25:28.000Z
src/engine/GltfImporter.cpp
CompileException/donut
bc400a8c2c9db9c3c5ed16190dc108e75722b503
[ "MIT" ]
10
2021-07-19T15:03:58.000Z
2022-01-10T07:15:35.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy...
38.411532
201
0.565383
[ "mesh", "geometry", "object", "vector", "model" ]
751f3985498c38f019d85be02e30ee19ba61f9ac
7,668
cpp
C++
src/percept/mesh/mod/smoother/SGridJacobianUtil.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
src/percept/mesh/mod/smoother/SGridJacobianUtil.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
src/percept/mesh/mod/smoother/SGridJacobianUtil.cpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
33.929204
176
0.518258
[ "vector" ]
75230d12f8d9fcafe705b40743eab3924a351d04
4,616
cpp
C++
aws-cpp-sdk-connect/source/model/ContactFlowType.cpp
grujicbr/aws-sdk-cpp
bdd43c178042f09c6739645e3f6cd17822a7c35c
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-connect/source/model/ContactFlowType.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-connect/source/model/ContactFlowType.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
35.507692
94
0.639298
[ "model" ]
970d7472d2442f4268844bac7800025155322b65
33,145
cc
C++
wrappers/7.0.0/vtkXMLWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkXMLWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkXMLWriterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkAlgorithmWrap.h" #include "vtkXMLWriterWrap.h" #include "vtkObjectWrap.h" #include "vtkDataCompressorWrap.h" #include "vtkDataObjectWrap.h" ...
30.520258
110
0.720591
[ "object" ]
971125b1ccfc9c843534d3600307ea142a8edae6
14,214
cpp
C++
Source/WebKit/NetworkProcess/IndexedDB/WebIDBServer.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebKit/NetworkProcess/IndexedDB/WebIDBServer.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebKit/NetworkProcess/IndexedDB/WebIDBServer.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2019 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
34.838235
211
0.750809
[ "vector" ]
9712568e30b23b5423fb567e91dc428664fe23a3
33,264
cpp
C++
third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "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 "modules/payments/PaymentRequest.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/ScriptPromiseResolver.h" #include "b...
34.151951
80
0.705808
[ "object", "vector" ]
97129e9215d5dd9a97697db91c01ba5b1877ce42
1,825
cpp
C++
Chapter20/CounterSelector/CounterSelector.cpp
fengjixuchui/Win10SysProgBookSamples
360aff30a19da2ea4c9be6f41c481aa8bf39a2b0
[ "MIT" ]
249
2019-07-09T17:14:43.000Z
2022-03-28T01:54:26.000Z
Chapter20/CounterSelector/CounterSelector.cpp
fengjixuchui/Win10SysProgBookSamples
360aff30a19da2ea4c9be6f41c481aa8bf39a2b0
[ "MIT" ]
8
2019-07-12T21:08:29.000Z
2022-01-04T12:32:00.000Z
Chapter20/CounterSelector/CounterSelector.cpp
isabella232/Win10SysProgBookSamples
97e479a9a4923ecf94866bae516a76bde02ef71e
[ "MIT" ]
70
2019-07-10T02:14:55.000Z
2022-03-08T00:53:07.000Z
// CounterSelector.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <Windows.h> #include <Pdh.h> #include <pdhmsg.h> #include <stdio.h> #include <vector> #include <memory> #include <string> #pragma comment(lib, "pdh") PDH_STATUS CALLBACK SelectorCallback(DWORD_PTR co...
28.515625
105
0.734795
[ "vector" ]
9715bebea8fc63c2b8f10cba0b27ec135aacca49
2,043
cpp
C++
example.cpp
dabbertorres/ThreadPool
120ea06e724a392d59d58ddd9464c5fbadbaf7f3
[ "MIT" ]
30
2015-11-08T20:00:12.000Z
2022-01-27T04:22:53.000Z
example.cpp
dabbertorres/ThreadPool
120ea06e724a392d59d58ddd9464c5fbadbaf7f3
[ "MIT" ]
2
2017-01-10T16:55:43.000Z
2017-05-09T01:21:38.000Z
example.cpp
dabbertorres/ThreadPool
120ea06e724a392d59d58ddd9464c5fbadbaf7f3
[ "MIT" ]
9
2017-03-17T13:33:33.000Z
2020-06-12T04:32:45.000Z
#include <iostream> #include <sstream> #include <random> #include "ThreadPool.hpp" void hello() { std::cout << "hello from thread #" << std::this_thread::get_id() << "!\n"; } void hola() { std::cout << "hola from thread #" << std::this_thread::get_id() << "!\n"; } int add(int x, int y) { return x + y; ...
23.215909
115
0.543808
[ "vector" ]
971b0af906b025ef673cbdc3d36c4b007c1b74de
652
cpp
C++
ros_pkg/map_image/src/drawers/ImageDrawer.cpp
introlab/securbot
0652ddf3e2dbcf0bb6ffcf76898749b67e443327
[ "Apache-2.0" ]
20
2019-03-13T13:37:51.000Z
2022-01-25T16:56:35.000Z
ros_pkg/map_image/src/drawers/ImageDrawer.cpp
introlab/securbot
0652ddf3e2dbcf0bb6ffcf76898749b67e443327
[ "Apache-2.0" ]
15
2019-02-27T20:29:34.000Z
2020-08-24T19:44:20.000Z
ros_pkg/map_image/src/drawers/ImageDrawer.cpp
introlab/securbot
0652ddf3e2dbcf0bb6ffcf76898749b67e443327
[ "Apache-2.0" ]
13
2019-07-31T00:47:49.000Z
2021-04-15T01:33:02.000Z
#include "map_image_generator/drawers/ImageDrawer.h" using namespace map_image_generator; ImageDrawer::ImageDrawer(const Parameters& parameters, ros::NodeHandle& nodeHandle, tf::TransformListener& tfListener) : m_parameters(parameters), m_nodeHandle(nodeHandle), m_tfListener(tfListener) { } ImageDrawer::~ImageDr...
36.222222
120
0.768405
[ "transform" ]
971dade09c92fb37aba0f15a35de654066fac39d
17,298
cc
C++
Digit_Example/opt_two_step/gen/opt/step_width_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Digit_Example/opt_two_step/gen/opt/step_width_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Digit_Example/opt_two_step/gen/opt/step_width_RightStance.cc
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Fri 5 Nov 2021 16:18:40 GMT-04:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doubl...
21.461538
588
0.645393
[ "vector" ]
9724010b408afce5ac3575e25deb83e56d6d7e97
2,271
cpp
C++
ParallelPcap/PythonExtensions/ParallelPcapExt.cpp
Isdriai/packet2vec
44c0b6719652bb412980fedcb885e6e0b51746ae
[ "BSD-2-Clause" ]
1
2021-05-21T11:29:32.000Z
2021-05-21T11:29:32.000Z
ParallelPcap/PythonExtensions/ParallelPcapExt.cpp
Isdriai/packet2vec
44c0b6719652bb412980fedcb885e6e0b51746ae
[ "BSD-2-Clause" ]
6
2020-11-13T19:04:49.000Z
2022-02-10T02:05:50.000Z
ParallelPcap/PythonExtensions/ParallelPcapExt.cpp
Isdriai/packet2vec
44c0b6719652bb412980fedcb885e6e0b51746ae
[ "BSD-2-Clause" ]
2
2021-04-01T15:41:09.000Z
2021-05-21T11:29:01.000Z
#include <boost/python.hpp> #include <boost/python/numpy.hpp> #include <ParallelPcap/Pcap.hpp> #include <ParallelPcap/Util.hpp> #include <ParallelPcap/CountDictionary.hpp> #include <ParallelPcap/Packet.hpp> #include <ParallelPcap/Packet2Vec.hpp> #include <ParallelPcap/PacketInfo.hpp> #include <ParallelPcap/DARPA2009.hp...
30.28
78
0.671951
[ "vector" ]
97241209d1a875ea505badd028145a5e70a27599
3,006
cpp
C++
srtp/crypto/openssl/hmac.cpp
stelabouras/ZRTPCPP
6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03
[ "Apache-2.0" ]
67
2015-01-02T18:22:18.000Z
2022-02-26T21:31:06.000Z
srtp/crypto/openssl/hmac.cpp
stelabouras/ZRTPCPP
6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03
[ "Apache-2.0" ]
27
2015-01-11T10:33:36.000Z
2020-05-28T10:52:21.000Z
srtp/crypto/openssl/hmac.cpp
stelabouras/ZRTPCPP
6b3cd8e6783642292bad0c21e3e5e5ce45ff3e03
[ "Apache-2.0" ]
44
2015-02-27T07:21:53.000Z
2022-01-04T03:05:08.000Z
/* * Copyright 2006 - 2018, Werner Dittmann * * 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 l...
30.989691
78
0.657352
[ "vector" ]
9725f42952c7b141f7a8f3d59021a322ae8550fb
2,429
cpp
C++
boboleetcode/Play-Leetcode-master/0220-Contains-Duplicate-III/cpp-0220/main2.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0220-Contains-Duplicate-III/cpp-0220/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0220-Contains-Duplicate-III/cpp-0220/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/contains-duplicate-iii/description/ /// Author : liuyubobobo /// Time : 2017-11-15 #include <iostream> #include <vector> #include <unordered_map> using namespace std; // Based on Buckets // each time, all we need to check is the bucket that x belongs to and its two adjace...
29.987654
103
0.586249
[ "vector" ]
9726b1b455a0fcef17b4249c6595ff2cf1583e5b
855
cpp
C++
CodeChef/Practice Solutions/Beginner/Forgotten Language/Sol_by_Pandz18.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
CodeChef/Practice Solutions/Beginner/Forgotten Language/Sol_by_Pandz18.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
CodeChef/Practice Solutions/Beginner/Forgotten Language/Sol_by_Pandz18.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include<bits/stdc++.h> using namespace std; typedef long long int ll; typedef long int l; #define loop(n1) for(ll i=0;i<n1;i++) #define pb push_back #define ppb pop_back #define pb push_back #define mp make_pair #define debug(n) cout<<n<<endl #define mod 1000000007 #define fast_io ios_base::sync_with_stdio(false);cin....
13.571429
62
0.563743
[ "vector" ]
9730209fd8ef50b24016e44c9e38c94c4e22e5a6
5,910
cc
C++
include/parquet/column/column-io-benchmark.cc
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/parquet/column/column-io-benchmark.cc
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
include/parquet/column/column-io-benchmark.cc
djc80s/c-cpp_study
3ea8289c358a2b732524ab391aa87c4a8fc0b6a7
[ "BSD-2-Clause" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
39.66443
90
0.745008
[ "vector" ]
97374120e2f749d27b59c6ec9123495f96765a49
13,273
cpp
C++
2021/algorithm-design-assignment/assignment-2/base.cpp
KivalEvan/CPU-Scheduling-Simulation
f80d080aab94db053a70a1115ebd4cd97c41d65b
[ "MIT" ]
null
null
null
2021/algorithm-design-assignment/assignment-2/base.cpp
KivalEvan/CPU-Scheduling-Simulation
f80d080aab94db053a70a1115ebd4cd97c41d65b
[ "MIT" ]
null
null
null
2021/algorithm-design-assignment/assignment-2/base.cpp
KivalEvan/CPU-Scheduling-Simulation
f80d080aab94db053a70a1115ebd4cd97c41d65b
[ "MIT" ]
null
null
null
#include <cmath> #include <fstream> #include <iomanip> #include <iostream> #include <vector> using namespace std; class Planet { public: string p_name; int x, y, z; int weight, profit; Planet() { this->p_name = ""; this->x = 0; this->y = 0; this->z = 0; this-...
28.917211
124
0.508174
[ "vector" ]
973d224143b20f668401b12f9d00552b8c946e62
704
cpp
C++
src/test/test_math.cpp
TheBeardedOn3/useful_functions
3b67db22859f4162f27d2720237f1e5c91f80669
[ "BSD-3-Clause" ]
null
null
null
src/test/test_math.cpp
TheBeardedOn3/useful_functions
3b67db22859f4162f27d2720237f1e5c91f80669
[ "BSD-3-Clause" ]
null
null
null
src/test/test_math.cpp
TheBeardedOn3/useful_functions
3b67db22859f4162f27d2720237f1e5c91f80669
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include "include/UsefulTemplates.hpp" // template <typename T> // bool Useful::contains_element(const std::vector<T>& _vec, T _element) // { // return std::find(_vec.begin(), _vec.end(), _element) != _vec.end(); // } int main(int argc, char** argv) { // Wrap ATAN ------...
28.16
78
0.546875
[ "vector" ]
974290392e2cc70d04b38ba5538ed64b2eba366b
334
cpp
C++
Libs/Globals.cpp
thiagofigcosta/The.COM-Game
653b7174767b6dc2351807a44c2c4ac67c7dc1d6
[ "MIT" ]
null
null
null
Libs/Globals.cpp
thiagofigcosta/The.COM-Game
653b7174767b6dc2351807a44c2c4ac67c7dc1d6
[ "MIT" ]
null
null
null
Libs/Globals.cpp
thiagofigcosta/The.COM-Game
653b7174767b6dc2351807a44c2c4ac67c7dc1d6
[ "MIT" ]
null
null
null
#include "Globals.h" vector<nTMap> maps; nTMap usrMap; Mechanics *world=new Mechanics(); Player *player; nTColor clearColor; vector<vector<string> >playerAnim; vector<vector<int> >playerAnimSize; vector<vector<string> >enemyAnim; vector<vector<int> >enemyAnimSize; AL *al; Tutorials *zero=new Tutorials("",0); int ...
17.578947
36
0.757485
[ "vector" ]
97454f21ed1d7e47e6abe605e5aa55dcc842db5d
1,163
hh
C++
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommLaserTrackingDataData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommLaserTrackingDataData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommLaserTrackingDataData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
33.228571
104
0.708512
[ "vector" ]
97469ac4cf816b37cb593ced3cc8ac781071c343
2,694
hpp
C++
gdfast/src/vector.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
1
2018-12-01T04:10:34.000Z
2018-12-01T04:10:34.000Z
gdfast/src/vector.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
null
null
null
gdfast/src/vector.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
null
null
null
#include "cpptools.hpp" #include <cmath> #include <stdio.h> #include <tuple> double mysum() { return 0; } template<typename Head, typename ...Tail> double mysum(Head head, Tail... tail) { return head + mysum(tail...); } template<int N> struct lagrange_basis { //typedef monomial<N-1> subtype; typedef typename gen...
22.830508
85
0.567929
[ "vector" ]
974d855bc84842fffbcb9357d64ea311fff02953
221,378
cpp
C++
Satellite/libraries/ADXL345/ADXL345.cpp
AldaCL/CanSat
abe4004afdee61b4d3f7e0ac3b7618ecc042d772
[ "MIT" ]
4
2020-01-23T17:30:35.000Z
2022-03-03T23:14:40.000Z
Satellite/libraries/ADXL345/ADXL345.cpp
AldaCL/CanSat
abe4004afdee61b4d3f7e0ac3b7618ecc042d772
[ "MIT" ]
1
2020-06-14T20:47:19.000Z
2020-06-15T16:03:40.000Z
Satellite/libraries/ADXL345/ADXL345.cpp
AldaCL/CanSat
abe4004afdee61b4d3f7e0ac3b7618ecc042d772
[ "MIT" ]
2
2020-01-23T17:30:41.000Z
2020-06-14T19:57:16.000Z
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> <link rel="dns-prefetch" hre...
61.613693
1,547
0.619922
[ "object", "vector", "solid" ]
974ea6163cb4e603aa647793697cb6fc0ec0443a
1,931
hpp
C++
libecole/include/ecole/environment/dynamics.hpp
lascavana/ecole
fc6ef27110f9eba9072ed303e8430a5184534eaf
[ "BSD-3-Clause" ]
null
null
null
libecole/include/ecole/environment/dynamics.hpp
lascavana/ecole
fc6ef27110f9eba9072ed303e8430a5184534eaf
[ "BSD-3-Clause" ]
null
null
null
libecole/include/ecole/environment/dynamics.hpp
lascavana/ecole
fc6ef27110f9eba9072ed303e8430a5184534eaf
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <random> #include <tuple> #include "ecole/scip/model.hpp" #include "ecole/scip/type.hpp" namespace ecole { namespace environment { using RandomEngine = std::mt19937; /** * Abstract class for environment Dynamics. * * A subclass defines the dynamics of the environment, that is the initial p...
31.655738
97
0.747281
[ "model" ]
975186cdc5700de18c97e1f8e9bfe99a96ebf624
1,786
cpp
C++
online-judge/10189.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
online-judge/10189.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
online-judge/10189.cpp
kirillgashkov/cp-solutions
863603b076e94b324b0d44a9adff4099e3131513
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; #define vi vector<int> #define vvi vector<vi> void handle_mine(int& i, int& j, vvi& field, int& n, int& m) { vi i_list = {i-1, i, i+1, i-1, i+1, i-1, i, i+1}; vi j_list = {j-1, j-1, j-1, j, j, j+1, j+1, j+1}; for (int l = 0; l < 8; ++l) { ...
21.261905
62
0.342665
[ "vector" ]
9754a7fda610957b447e3eb7f155ab85a4137990
50,239
hxx
C++
include/__config.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
include/__config.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
include/__config.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- //===--------------------------- __config ---------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
34.129755
132
0.773742
[ "object" ]
9759857fd23be14941e1a47dc5360b46db47b2d5
4,628
cpp
C++
Libs/Library/Source/GameObjects/DefaultGameComponent/UIAnimation.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
Libs/Library/Source/GameObjects/DefaultGameComponent/UIAnimation.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
Libs/Library/Source/GameObjects/DefaultGameComponent/UIAnimation.cpp
butibuti/ButiEngine
0d5b68461060fdcf9049a4afd51211c84f3472d1
[ "MIT" ]
null
null
null
#include"stdafx.h" void ButiEngine::UIAnimation::SetInitTransform(std::shared_ptr<Transform> arg_shp_InitTransform) { shp_initTransform= arg_shp_InitTransform->Clone(); shp_initTransform->SetLocalPosition().x /= size.x; shp_initTransform->SetLocalPosition().y /= size.y; shp_initTransform->SetLocalScal...
31.482993
189
0.602636
[ "transform" ]
97678ebe3e94b3136f59947a2139a05550b83b3b
1,640
cc
C++
src/classifierWorker.cc
rikailabs/node-fasttext
991ffdcaa9191e424967375aa76f3817d110a2dc
[ "MIT" ]
null
null
null
src/classifierWorker.cc
rikailabs/node-fasttext
991ffdcaa9191e424967375aa76f3817d110a2dc
[ "MIT" ]
null
null
null
src/classifierWorker.cc
rikailabs/node-fasttext
991ffdcaa9191e424967375aa76f3817d110a2dc
[ "MIT" ]
null
null
null
#include <iostream> #include "classifierWorker.h" void ClassifierWorker::Execute () { try { wrapper_->loadModel(); result_ = wrapper_->predict(sentence_, k_); } catch (std::string errorMessage) { SetErrorMessage(errorMessage.c_str()); } catch (const char * str) { std::cout <...
31.538462
75
0.59939
[ "object" ]
976b30f385552c8d85edc5c0b9ec731308a614e0
2,273
hh
C++
src/fileb.hh
grencez/cx
91c4967edeaf7319185a4c91e44db1ab81ec6609
[ "0BSD" ]
2
2015-08-11T22:31:28.000Z
2021-02-27T23:22:49.000Z
src/fileb.hh
grencez/cx
91c4967edeaf7319185a4c91e44db1ab81ec6609
[ "0BSD" ]
null
null
null
src/fileb.hh
grencez/cx
91c4967edeaf7319185a4c91e44db1ab81ec6609
[ "0BSD" ]
null
null
null
#ifndef FileB_HH_ #define FileB_HH_ #include "ofile.hh" #include "xfile.hh" extern "C" { #include "fileb.h" } namespace Cx { namespace C { using ::OFileB; using ::XFileB; } class OFileB : public Cx::OFile { private: C::OFileB ofb; public: OFileB() : OFile( &ofb.of ) { init_OFileB (&ofb); } ~OF...
19.10084
74
0.600528
[ "object" ]
97712ce64968aba4ddb2d89a71045d2434ffe9e1
828
cpp
C++
homework/Kulagin/02/main.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Kulagin/02/main.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Kulagin/02/main.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include <iostream> #include <vector> #include <cmath> #include "numbers.dat" using namespace std; int main(int argc, char** argv) { if (argc < 3 || argc % 2 == 0) { return -1; } int k1, k2; int n = 0; for (int a = 1; a < argc; a += 2) { k1 = atoi(argv[a]); k2 = atoi(argv[a + 1]); if (k1 > k2) { ...
13.354839
38
0.492754
[ "vector" ]
977357ea1cddb0af1b648c5d156bc6b87d2e1d6c
1,354
cpp
C++
src/AudioProcessorFactory.cpp
Kaayy-J/OHMComm-Light
08a67e20da3369d199a285071105404daeb33d6c
[ "MIT" ]
null
null
null
src/AudioProcessorFactory.cpp
Kaayy-J/OHMComm-Light
08a67e20da3369d199a285071105404daeb33d6c
[ "MIT" ]
1
2016-01-31T16:12:10.000Z
2016-01-31T16:12:10.000Z
src/AudioProcessorFactory.cpp
Kaayy-J/OHMComm
08a67e20da3369d199a285071105404daeb33d6c
[ "MIT" ]
null
null
null
/* * File: AudioProcessorFactory.cpp * Author: daniel * * Created on June 27, 2015, 10:15 AM */ #include "AudioProcessorFactory.h" #include "ProcessorOpus.h" #include "ProcessorWAV.h" #include "ProfilingAudioProcessor.h" const std::string AudioProcessorFactory::OPUS_CODEC = "Opus-Codec"; const std::string Aud...
24.618182
101
0.694978
[ "vector" ]
977816dcca8b77cefd3fcf16ee2c76e40c047fc3
3,482
cpp
C++
src/rendering/Renderer.cpp
ademuri/shadowbox
e9dd9cdf42970f67cb77e0e48c1ba2298e3a5653
[ "MIT" ]
null
null
null
src/rendering/Renderer.cpp
ademuri/shadowbox
e9dd9cdf42970f67cb77e0e48c1ba2298e3a5653
[ "MIT" ]
null
null
null
src/rendering/Renderer.cpp
ademuri/shadowbox
e9dd9cdf42970f67cb77e0e48c1ba2298e3a5653
[ "MIT" ]
null
null
null
#include "Renderer.hpp" #include <iostream> using namespace std; // Identifier for the solid color shader. static GLuint solidShaderProgram; // Index for the color property on the shader. static GLint solidShaderColorLoc; GLuint Renderer::LoadShader(GLenum type, const char *shaderSrc) { GLuint shader; GLint com...
27.203125
76
0.576106
[ "object", "solid" ]
9782127cd6df6a08d61d01ad92658349992b31f1
13,211
cpp
C++
gamePlay.cpp
pattrickrice/valley-of-the-moon
bda0c305c2979eda1f0bc7a0fb32b7bbe21d0c40
[ "MIT" ]
null
null
null
gamePlay.cpp
pattrickrice/valley-of-the-moon
bda0c305c2979eda1f0bc7a0fb32b7bbe21d0c40
[ "MIT" ]
null
null
null
gamePlay.cpp
pattrickrice/valley-of-the-moon
bda0c305c2979eda1f0bc7a0fb32b7bbe21d0c40
[ "MIT" ]
null
null
null
/********************************************************************* * Author: Patrick Rice * Date: 12/1/2017 * Description: Implementation file for the gameState class *********************************************************************/ #include <cstdlib> #include "gamePlay.hpp" #include "utils/utilities...
40.155015
201
0.519643
[ "object", "vector" ]
978a06c22dde65cbf8e23f9551fed909c0a0593b
5,671
cpp
C++
Sources/Graphics/RenderSystem/SyrinxModel.cpp
LeptusHe/SyrinxEngine
5ecdfdd53eb421bdfba61ed183a1ac688d117b97
[ "MIT" ]
3
2020-04-24T07:58:52.000Z
2021-11-17T11:08:46.000Z
Sources/Graphics/RenderSystem/SyrinxModel.cpp
LeptusHe/SyrinxEngine
5ecdfdd53eb421bdfba61ed183a1ac688d117b97
[ "MIT" ]
null
null
null
Sources/Graphics/RenderSystem/SyrinxModel.cpp
LeptusHe/SyrinxEngine
5ecdfdd53eb421bdfba61ed183a1ac688d117b97
[ "MIT" ]
2
2019-10-02T01:49:46.000Z
2021-11-16T15:25:59.000Z
#include "RenderSystem/SyrinxModel.h" #include <iostream> #include <assimp/postprocess.h> #include <stb/stb_image.h> #include <Exception/SyrinxException.h> #include <FileSystem/SyrinxFileSystem.h> #include <Logging/SyrinxLogManager.h> namespace Syrinx { Model::Model(FileManager *fileManager, const std::string& modelF...
36.121019
147
0.677835
[ "mesh", "vector", "model" ]
978b45ee0ab7e519c12b125816c7340f73d98180
9,620
cpp
C++
test/Core/MPS.test.cpp
QianJianhua1/QPanda-2
a13c7b733031b1d0007dceaf1dae6ad447bb969c
[ "Apache-2.0" ]
null
null
null
test/Core/MPS.test.cpp
QianJianhua1/QPanda-2
a13c7b733031b1d0007dceaf1dae6ad447bb969c
[ "Apache-2.0" ]
null
null
null
test/Core/MPS.test.cpp
QianJianhua1/QPanda-2
a13c7b733031b1d0007dceaf1dae6ad447bb969c
[ "Apache-2.0" ]
null
null
null
#include <atomic> #include <chrono> #include <string> #include "QPanda.h" #include <algorithm> #include "gtest/gtest.h" #include "ThirdParty/rapidjson/writer.h" #include "ThirdParty/rapidjson/document.h" #include "ThirdParty/rapidjson/stringbuffer.h" #include "ThirdParty/Eigen/Dense" #include "ThirdParty/Eigen/Sparse...
30.443038
210
0.580353
[ "vector" ]
978bcb105289b82582b40a5800f1edfd45de6251
3,050
hpp
C++
dsp/L1/tests/aie/inc/fft_ifft_dit_1ch_ref.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
1
2021-09-11T01:05:01.000Z
2021-09-11T01:05:01.000Z
dsp/L1/tests/aie/inc/fft_ifft_dit_1ch_ref.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
dsp/L1/tests/aie/inc/fft_ifft_dit_1ch_ref.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Xilinx, 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 law or agreed to in...
34.269663
115
0.65082
[ "model" ]
978e72e24156bf65e713be5f7f0ad0cd85efb8c7
610
cpp
C++
tests/geometry/algorithm/polygon/max_distance.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
tests/geometry/algorithm/polygon/max_distance.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
tests/geometry/algorithm/polygon/max_distance.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2018 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include <actl/geometry/algorithm/polygon/max_distance.hpp> #include "test.hpp" TEST_CASE("default") { convex_polygon...
27.727273
60
0.632787
[ "geometry" ]
979f84535caaacd849a2381d02d2e18e11aa05b9
3,556
hpp
C++
phosphor-rsyslog-config/server-conf.hpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
5
2017-12-01T19:34:13.000Z
2020-12-29T10:50:32.000Z
phosphor-rsyslog-config/server-conf.hpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
26
2017-02-02T08:20:10.000Z
2021-11-16T18:28:44.000Z
phosphor-rsyslog-config/server-conf.hpp
Alpana07/phosphor-logging
1be39849bd974c2f7df7fa932edcd7f71a2c6d59
[ "Apache-2.0" ]
28
2016-07-20T16:46:54.000Z
2022-03-16T11:20:03.000Z
#pragma once #include "xyz/openbmc_project/Network/Client/server.hpp" #include <phosphor-logging/log.hpp> #include <sdbusplus/bus.hpp> #include <sdbusplus/server/object.hpp> #include <string> namespace phosphor { namespace rsyslog_config { using namespace phosphor::logging; using NetworkClient = sdbusplus::xyz::ope...
29.882353
79
0.634702
[ "object" ]
97a102aa20a7b16088762c20d99bf06902504197
360,608
cpp
C++
prebuild/blst_wrap.cpp
g11tech/blst-ts
660cf96e1bc5d4044b6334985982999a77073541
[ "Apache-2.0" ]
12
2020-12-01T23:31:55.000Z
2021-11-20T19:59:43.000Z
prebuild/blst_wrap.cpp
g11tech/blst-ts
660cf96e1bc5d4044b6334985982999a77073541
[ "Apache-2.0" ]
20
2020-11-26T18:57:22.000Z
2022-03-08T04:42:57.000Z
prebuild/blst_wrap.cpp
g11tech/blst-ts
660cf96e1bc5d4044b6334985982999a77073541
[ "Apache-2.0" ]
6
2020-12-02T08:04:36.000Z
2022-03-15T12:41:04.000Z
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.1.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do...
33.110642
195
0.676857
[ "object" ]
97acba937eea3ec1c0a15d509a3c4b964540097f
5,338
cpp
C++
CookieEngine/src/UI/Widgets/EditorWs/WorldSettingsWidget.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/UI/Widgets/EditorWs/WorldSettingsWidget.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
CookieEngine/src/UI/Widgets/EditorWs/WorldSettingsWidget.cpp
qbleuse/Cookie-Engine
705d19d9e4c79e935e32244759ab63523dfbe6c4
[ "CC-BY-4.0" ]
null
null
null
#include "Scene.hpp" #include "ResourcesManager.hpp" #include "Light.hpp" #include "AIBehavior.hpp" #include "Drawers/Skybox.hpp" #include "WorldSettingsWidget.hpp" #include "MapExplorerHelper.hpp" #include <imgui.h> #include <ImGuizmo.h> using namespace ImGui; using namespace Cookie::UIwidget; using namespace Cooki...
26.295567
186
0.646497
[ "render", "model" ]
97add8e419169dc15325dd506656162cb6e5a005
7,048
cpp
C++
src/SockAddr.cpp
FTPlus/AGSsock
2a1ce84b420b4c119154c9504f3b6f01c6fad34b
[ "Zlib" ]
2
2020-11-19T13:57:25.000Z
2021-03-01T13:15:21.000Z
src/SockAddr.cpp
ericoporto/AGSsock
832ecb76e9fd6a33f0a9a233e29066a0847eab7d
[ "Zlib" ]
1
2021-01-04T23:39:23.000Z
2021-01-17T01:08:55.000Z
src/SockAddr.cpp
FTPlus/AGSsock
2a1ce84b420b4c119154c9504f3b6f01c6fad34b
[ "Zlib" ]
1
2020-11-19T13:58:14.000Z
2020-11-19T13:58:14.000Z
/********************************************************************* * Socket address interface -- See header file for more information. * *********************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include "SockAddr.h" nam...
26.496241
80
0.524404
[ "object" ]
97b1724de8b366ade2a9fcb3711964f08d731f77
69,241
cpp
C++
Development/Src/Editor/Src/UnEdSrv.cpp
addstone/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
37
2020-05-22T18:18:47.000Z
2022-03-19T06:51:54.000Z
Development/Src/Editor/Src/UnEdSrv.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
null
null
null
Development/Src/Editor/Src/UnEdSrv.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
27
2020-05-17T01:03:30.000Z
2022-03-06T19:10:14.000Z
/*============================================================================= UnEdSrv.cpp: UEditorEngine implementation, the Unreal editing server Copyright 1997-1999 Epic Games, Inc. All Rights Reserved. Revision history: * Created by Tim Sweeney ================================================================...
28.482517
183
0.612657
[ "mesh", "geometry", "object", "vector", "model", "transform", "solid" ]
97b760ae166504ee3c622db905c880b91746cdba
3,366
cpp
C++
qpushjet.cpp
weatherhead99/Qpushjet
baf219fbb721d7c404399b0fb7067a4ebe921040
[ "MIT" ]
1
2018-09-10T13:58:35.000Z
2018-09-10T13:58:35.000Z
qpushjet.cpp
weatherhead99/Qpushjet
baf219fbb721d7c404399b0fb7067a4ebe921040
[ "MIT" ]
null
null
null
qpushjet.cpp
weatherhead99/Qpushjet
baf219fbb721d7c404399b0fb7067a4ebe921040
[ "MIT" ]
null
null
null
#include "qpushjet.h" #include <QWidget> #include <QSystemTrayIcon> #include <QMenu> #include <QAction> #include <QIcon> #include <QSettings> #include "device.h" #include <QPushButton> #include <QMessageBox> #include "notifications.h" #include "model.h" #include "client.h" const string RESOURCE_ICON_PATH = ":/resource...
24.042857
147
0.673203
[ "model" ]
b6350e05a8c0f72e27e7f5fa948f6e14a2889f06
16,859
cpp
C++
apps/Autonomous_Carm/autocarm_reproj_jigpts/autocarm_reproj_jigpts_main.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
13
2021-11-16T08:17:39.000Z
2022-02-11T11:08:55.000Z
apps/Autonomous_Carm/autocarm_reproj_jigpts/autocarm_reproj_jigpts_main.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
null
null
null
apps/Autonomous_Carm/autocarm_reproj_jigpts/autocarm_reproj_jigpts_main.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
1
2021-11-16T08:17:42.000Z
2021-11-16T08:17:42.000Z
// STD #include <iostream> #include <vector> #include <fmt/format.h> #include "xregProgOptUtils.h" #include "xregFCSVUtils.h" #include "xregITKIOUtils.h" #include "xregITKLabelUtils.h" #include "xregITKMathOps.h" #include "xregLandmarkMapUtils.h" #include "xregAnatCoordFrames.h" #include "xregH5ProjDataIO.h" #includ...
44.249344
158
0.693873
[ "geometry", "vector", "transform", "3d" ]
b63e70c392c0984922462c2b907ca8abaf734983
5,501
cpp
C++
c11httpd/http_header.cpp
toalexjin/c11httpd
6774d96c72d60ad8c371a6d846744a9ccc98d7ee
[ "MIT" ]
null
null
null
c11httpd/http_header.cpp
toalexjin/c11httpd
6774d96c72d60ad8c371a6d846744a9ccc98d7ee
[ "MIT" ]
null
null
null
c11httpd/http_header.cpp
toalexjin/c11httpd
6774d96c72d60ad8c371a6d846744a9ccc98d7ee
[ "MIT" ]
null
null
null
/** * HTTP header. * * Copyright (c) 2015 Alex Jin (toalexjin@hotmail.com) */ #include "c11httpd/http_header.h" #include <algorithm> namespace c11httpd { const fast_str_t http_header_t::Accept = "Accept"; const fast_str_t http_header_t::Accept_Charset = "Accept-Charset"; const fast_str_t http_header_t::Accept_...
26.834146
82
0.719142
[ "vector" ]
b640bece53344f70340c3a3227570a6e84226d4c
7,920
cc
C++
Code/Vendor/Vulkan/Vulkan.GPUContext.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
2
2021-08-05T05:47:05.000Z
2021-08-08T16:30:45.000Z
Code/Vendor/Vulkan/Vulkan.GPUContext.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
null
null
null
Code/Vendor/Vulkan/Vulkan.GPUContext.cc
hannes-harnisch/Cultivator
fe6fb2fd87a566a6e690e18a25843a3a95199aa0
[ "MIT" ]
null
null
null
#include "PCH.hh" #include "Utils/Assert.hh" #include "Vulkan.GPUContext.hh" #include "Vulkan.Surface.hh" #include "Vulkan.Utils.hh" namespace ct { VKAPI_ATTR VkBool32 VKAPI_CALL logDebug(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT, VkDebugUtilsMessen...
29.662921
118
0.733838
[ "vector" ]
b643193bb71ca93110930abb2fc9167e8ac306e9
4,767
hpp
C++
lumino/LuminoEngine/include/LuminoEngine/Scene/World.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
null
null
null
lumino/LuminoEngine/include/LuminoEngine/Scene/World.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
null
null
null
lumino/LuminoEngine/include/LuminoEngine/Scene/World.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
null
null
null
 #pragma once #include "../Rendering/RenderingContext.hpp" #include "Common.hpp" namespace ln { class Level; class AnimationContext; class EnvironmentLight; class DirectionalLight; class WorldRenderView; class WorldObject; class Component; class PhysicsWorld; class PhysicsWorld2D; class EffectContext; namespace detai...
29.981132
115
0.752255
[ "object", "3d" ]
b64dbb905685586e28ead45aec5d542c2140460b
2,190
cpp
C++
android-31/java/time/format/TextStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/time/format/TextStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/time/format/TextStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JArray.hpp" #include "../../../JString.hpp" #include "./TextStyle.hpp" namespace java::time::format { // Fields java::time::format::TextStyle TextStyle::FULL() { return getStaticObjectField( "java.time.format.TextStyle", "FULL", "Ljava/time/format/TextStyle;" ); } java::time::forma...
21.262136
64
0.678082
[ "object" ]
b64eb3f0afde08c05589b6a7077979ae17924c66
5,268
cpp
C++
vis/src/vtk/eddaRandomSampleField.cpp
subhashis/MVEDDA
ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d
[ "MIT" ]
3
2016-01-15T20:17:21.000Z
2021-01-21T02:32:15.000Z
vis/src/vtk/eddaRandomSampleField.cpp
subhashis/MVEDDA
ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d
[ "MIT" ]
11
2016-07-26T01:37:46.000Z
2018-06-19T16:50:25.000Z
vis/src/vtk/eddaRandomSampleField.cpp
subhashis/MVEDDA
ff8fb64f8cd9d84ec4aa99a21ed146a8d3af7d7d
[ "MIT" ]
12
2016-02-09T04:31:41.000Z
2021-12-03T01:04:04.000Z
#include <iostream> #include "eddaRandomSampleField.h" #include "common.h" #include "vtk_common.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkStreamingDemandDrivenPipeline.h" #include "io/gmm_vtk_data_array.h" // Compile with C++ compiler if Cuda is not ...
30.450867
93
0.670463
[ "geometry" ]
b6558d2d737d61690a99cf392985e359032ef207
17,761
cpp
C++
OpenSim/Moco/MocoTropterSolver.cpp
MariaHammer/opensim-core_HaeufleMuscle
96257e9449d9ac430bbb54e56cd13aaebeee1242
[ "Apache-2.0" ]
532
2015-03-13T18:51:10.000Z
2022-03-27T08:08:29.000Z
OpenSim/Moco/MocoTropterSolver.cpp
MariaHammer/opensim-core_HaeufleMuscle
96257e9449d9ac430bbb54e56cd13aaebeee1242
[ "Apache-2.0" ]
2,701
2015-01-03T21:33:34.000Z
2022-03-30T07:13:41.000Z
OpenSim/Moco/MocoTropterSolver.cpp
MariaHammer/opensim-core_HaeufleMuscle
96257e9449d9ac430bbb54e56cd13aaebeee1242
[ "Apache-2.0" ]
271
2015-02-16T23:25:29.000Z
2022-03-30T20:12:17.000Z
/* -------------------------------------------------------------------------- * * OpenSim Moco: MocoTropterSolver.cpp * * -------------------------------------------------------------------------- * * Copyright (c) 2017 Stanford University and the Authors * ...
41.497664
80
0.634142
[ "mesh", "vector", "model" ]
b65bb43cc30a19a8b3528b40140750cb7a511c93
7,204
cc
C++
profman/profile_assistant.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
profman/profile_assistant.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
profman/profile_assistant.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.116402
98
0.676013
[ "vector" ]
b6669f70437eec0bf1d3cbec3d35fdd252d5f16c
8,894
cpp
C++
test/v13/utility/action_list_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/v13/utility/action_list_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/v13/utility/action_list_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <canard/net/ofp/v13/action_list.hpp> #include <boost/test/unit_test.hpp> #include <cstdint> #include <utility> #include <vector> #include <canard/net/ofp/v13/actions.hpp> #include "../../test_utility.hpp" namespace of = canard::net::ofp; namespace v13 = of::v13; namespace actions ...
35.015748
83
0.611986
[ "vector" ]
b67a4f71c18708ad462cbada0ed7f59d9d8a6ee1
5,306
cpp
C++
Base/Views/voHorizontalBarView.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
3
2015-05-03T05:14:50.000Z
2017-03-29T14:54:49.000Z
Base/Views/voHorizontalBarView.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
null
null
null
Base/Views/voHorizontalBarView.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
1
2017-03-29T15:04:16.000Z
2017-03-29T15:04:16.000Z
/*========================================================================= Program: Visomics Copyright (c) Kitware, 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://ww...
34.907895
134
0.624764
[ "render" ]
b67c0eb1881fe3225f810a9240c2e872756d6cb1
639
cpp
C++
application/source/asmlgen/application/dataset/file_reader.cpp
0xD34DC0DE/VeilleTechnologique
cccb9f084942a9bd626fea53ead5c376218ea44b
[ "MIT" ]
null
null
null
application/source/asmlgen/application/dataset/file_reader.cpp
0xD34DC0DE/VeilleTechnologique
cccb9f084942a9bd626fea53ead5c376218ea44b
[ "MIT" ]
null
null
null
application/source/asmlgen/application/dataset/file_reader.cpp
0xD34DC0DE/VeilleTechnologique
cccb9f084942a9bd626fea53ead5c376218ea44b
[ "MIT" ]
null
null
null
#include "asmlgen/application/dataset/file_reader.h" #include <fstream> namespace dataset { std::vector<char> FileReader::ReadFile(const std::string& filepath) { std::ifstream inputStream; inputStream.open(filepath); if (inputStream.is_open()) { inputStream.seekg(0, std::ios_base::end); std::size_t...
18.794118
67
0.665102
[ "vector" ]
b688c3757822aad8ba98fe107aef129c68ba9f12
11,616
cxx
C++
test/staticmem1.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
test/staticmem1.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
test/staticmem1.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ //*** Class Sample to perform statist...
22.599222
154
0.584539
[ "object" ]
b68e23bfe025cd8c6ed71a37746ed2b350ef3c8b
1,103
cpp
C++
searchlib/src/vespa/searchlib/memoryindex/push_task.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/memoryindex/push_task.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/memoryindex/push_task.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
null
null
null
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "push_task.h" #include "push_context.h" #include "field_inverter.h" #include "url_field_inverter.h" namespace search::memoryindex { namespace { template <typename Inverter> void push_inverter(Inverter& ...
24.511111
256
0.724388
[ "vector" ]
b6906a6dfec4cc328ddbd69749f385d2a93df221
23,306
cpp
C++
marlin-firmware/Marlin/src/lcd/extui/lib/mks_ui/draw_acceleration_settings.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
6
2020-12-04T21:55:04.000Z
2022-02-02T20:49:45.000Z
marlin-firmware/Marlin/src/lcd/extui/lib/mks_ui/draw_acceleration_settings.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
1
2021-06-16T09:37:24.000Z
2021-06-16T09:44:32.000Z
marlin-firmware/Marlin/src/lcd/extui/lib/mks_ui/draw_acceleration_settings.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
3
2021-05-01T15:13:41.000Z
2022-02-11T01:15:30.000Z
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
48.152893
115
0.732558
[ "3d" ]
b6a644e189567510f0a750a0268ec27419f1613f
12,209
cpp
C++
import/quickitems/categories/Segmentation.cpp
yanglqq/photo
68928ef09c5274e398c81be2c6ec686b2a95d033
[ "MIT" ]
null
null
null
import/quickitems/categories/Segmentation.cpp
yanglqq/photo
68928ef09c5274e398c81be2c6ec686b2a95d033
[ "MIT" ]
null
null
null
import/quickitems/categories/Segmentation.cpp
yanglqq/photo
68928ef09c5274e398c81be2c6ec686b2a95d033
[ "MIT" ]
null
null
null
#include "Segmentation.h" #include "../ImageManager.h" Segmentation::Segmentation(QQuickItem *parent) : QQuickItem(parent), ImageProccessor() {} QString Segmentation::basicGlobalThresholding(const QString &uri, double maxValue, double threshold, int type, bool absolute, bool evaluate) { const cv::Mat *image =...
42.245675
202
0.547219
[ "vector" ]
b6aaa5f97ba87a4ea2c13f3a7ac9a8392baf53f8
1,395
cc
C++
CommBasicObjects/toolify/src-gen/CommBasicObjectsJSON/CommTimeStampJSON.cc
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
null
null
null
CommBasicObjects/toolify/src-gen/CommBasicObjectsJSON/CommTimeStampJSON.cc
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommBasicObjects/toolify/src-gen/CommBasicObjectsJSON/CommTimeStampJSON.cc
Servicerobotics-Ulm/DomainModelsRepositories
7cc2bd5d4f9a11275721e77b6bd5164b9ff2bb7b
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//----------------------------------------------------------------------------------- // Code generated by the Toolify Robotics GmbH extension for the SmartMDSD Toolchain // // Toolify Robotics GmbH // Weinbergweg 216 // 89075 Ulm // // Information about the SmartSoft MDSD Toolchain is available at: // www.servicero...
29.680851
85
0.62509
[ "object" ]
b6ae945aceeab7d9b8daa6475b5215de9ec812f6
24,220
cpp
C++
bitcode/examples/avtrailer/avtrailer.cpp
eluv-io/content-bitcode
d73da79593dcf1d16065096d31ab4f1ca3d2b306
[ "MIT" ]
1
2020-09-30T18:11:32.000Z
2020-09-30T18:11:32.000Z
bitcode/examples/avtrailer/avtrailer.cpp
eluv-io/content-bitcode
d73da79593dcf1d16065096d31ab4f1ca3d2b306
[ "MIT" ]
1
2021-01-21T00:48:00.000Z
2021-01-21T01:07:50.000Z
bitcode/examples/avtrailer/avtrailer.cpp
eluv-io/content-bitcode
d73da79593dcf1d16065096d31ab4f1ca3d2b306
[ "MIT" ]
null
null
null
/* * The same as avmaster, but the video function creates a much shorter clip instead */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> #include <pthread.h> #include <fcntl.h> #include <fstream> #include <iostream> #include <string> #include <unordered_map> #incl...
32.379679
198
0.587655
[ "object", "vector" ]
b6b67f53b7ed8865da55b8090cd1307936b8aae1
1,145
cpp
C++
GameEngine/Sources/TextureDataStorage.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
1
2021-08-10T02:48:57.000Z
2021-08-10T02:48:57.000Z
GameEngine/Sources/TextureDataStorage.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
GameEngine/Sources/TextureDataStorage.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
#include "TextureDataStorage.h" //------------------------------ Constructors storage::TextureDataStorage::TextureDataStorage() { } storage::TextureDataStorage::TextureDataStorage(GLuint mip_level, GLenum sized_internal_format, GLenum base_internal_format, GLuint width, GLuint height, GLuint min_textur...
35.78125
194
0.763319
[ "mesh", "model" ]
b6b9e03965a33c1e4296d7fb5ebe7b0e1b24816d
9,382
cpp
C++
tlua.cpp
crazybie/tlua
fee427098af4a4fc115b619fc0d77ea4c9be549f
[ "MIT" ]
2
2018-12-11T02:46:10.000Z
2019-04-03T10:02:18.000Z
tlua.cpp
crazybie/tlua
fee427098af4a4fc115b619fc0d77ea4c9be549f
[ "MIT" ]
null
null
null
tlua.cpp
crazybie/tlua
fee427098af4a4fc115b619fc0d77ea4c9be549f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "tlua.h" namespace tlua { LuaMgr* LuaMgr::instance = nullptr; lua_State* LuaObj::L = nullptr; LuaMgr::LuaMgr() { instance = this; L = luaL_newstate(); luaL_openlibs(L); #ifndef TLUA_NO_SOCKET luaopen_socket_core(L); #endif LuaRef...
25.152815
106
0.502238
[ "vector" ]
b6c0974aeeea4069f3f67c201298557c70bc78a9
8,822
hpp
C++
Common/Interpreter/Numeric.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Common/Interpreter/Numeric.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Common/Interpreter/Numeric.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
#ifndef _NUMERIC_HPP_ #define _NUMERIC_HPP_ #include "config.hpp" #include "Macros.hpp" #include "Base.hpp" #include <boost/shared_ptr.hpp> #include <variant> #include <type_traits> using namespace boost; using namespace log4cpp; NAMESPACE_BEGIN(interp) template <class EncodingT> class Numeric : public ...
50.701149
173
0.674904
[ "vector" ]
b6c1bfc8e041d0577787b00c31844e20b3b391b9
32,421
cpp
C++
dev/RemotePC.QT/Server/ServerContext.cpp
androidNdk/iremote_copy
a0b263bed4d3664da7ce1a4e8adc93ea831e7fbf
[ "MIT" ]
9
2016-04-11T14:58:52.000Z
2021-10-08T21:58:24.000Z
dev/RemotePC.QT/Server/ServerContext.cpp
androidNdk/iremote_copy
a0b263bed4d3664da7ce1a4e8adc93ea831e7fbf
[ "MIT" ]
1
2018-02-14T23:38:01.000Z
2018-03-16T21:21:01.000Z
dev/RemotePC.QT/Server/ServerContext.cpp
androidNdk/iremote_copy
a0b263bed4d3664da7ce1a4e8adc93ea831e7fbf
[ "MIT" ]
5
2015-07-06T09:17:01.000Z
2020-02-10T06:30:23.000Z
/** * Copyright (c) 2013 Egor Pushkin. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
32.649547
115
0.68616
[ "object" ]
b6c2d9a0e3f5a5f96235a311b68215321dde29d6
4,711
cpp
C++
examples/wav_export/unit_tests/wav_writer_test.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
4
2019-12-20T18:21:03.000Z
2020-09-08T05:16:53.000Z
examples/wav_export/unit_tests/wav_writer_test.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
13
2020-07-01T19:35:08.000Z
2022-03-18T13:58:06.000Z
examples/wav_export/unit_tests/wav_writer_test.cpp
HpLightcorner/OXYGEN-SDK
4ede0ea07b513032605b32fc86539f081589e58c
[ "MIT" ]
3
2020-07-28T06:50:56.000Z
2022-02-24T10:32:52.000Z
// Copyright DEWETRON GmbH 2020 #include "wav_writer.h" //#include "uni_math_constants.h" #include <cmath> #include <boost/test/unit_test.hpp> #if _MSC_VER > 1920 #pragma warning(disable:4996) #endif BOOST_AUTO_TEST_SUITE(uni_wav_writer_test_suite) namespace { const int CHUNK_SIZE = 8; const int RIFFWAVE_S...
31.61745
119
0.663341
[ "vector" ]
b6c69f193a2f343f52e43ce6580f5874c042b687
1,840
cpp
C++
halide/linear-algebra/atax.cpp
arnablegend/polybench-dsl
21f072a7209839ac1ba85eb5cb4883e34aebaac8
[ "MIT" ]
null
null
null
halide/linear-algebra/atax.cpp
arnablegend/polybench-dsl
21f072a7209839ac1ba85eb5cb4883e34aebaac8
[ "MIT" ]
null
null
null
halide/linear-algebra/atax.cpp
arnablegend/polybench-dsl
21f072a7209839ac1ba85eb5cb4883e34aebaac8
[ "MIT" ]
null
null
null
#include "Halide.h" #include <cstdio> #include "iostream" #include <cstdlib> #include <ctime> using namespace std; using namespace Halide; // choose your data type #define DTYPE float // using the mini-dataset, other datasets are commented, use whichever desired #define M 38 // 116 390 1900 1800 #define N 42 // 124 ...
25.205479
78
0.527717
[ "vector" ]
b6cee38c01fd244687620f9662061583beb33187
9,923
cpp
C++
source/Lib/TLib360/TFBPSNRMetricCalc.cpp
oyhngithub/FB-PSNR
9da6beae117a21340bf25345d2e3d34f6d25ec34
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TLib360/TFBPSNRMetricCalc.cpp
oyhngithub/FB-PSNR
9da6beae117a21340bf25345d2e3d34f6d25ec34
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TLib360/TFBPSNRMetricCalc.cpp
oyhngithub/FB-PSNR
9da6beae117a21340bf25345d2e3d34f6d25ec34
[ "BSD-3-Clause" ]
null
null
null
#include "TFBPSNRMetricCalc.h" //#include "TLibEncoder/TEncRateCtrl.cpp" #include "TAppEncHelper360/TExt360AppEncCfg.h" // ==================================================================================================================== // DIY #include <sstream> #include <fstream> #include <iostream> TFBPSNRMetri...
35.439286
184
0.67137
[ "transform", "3d" ]