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
1f8d17e4d0ab29d6e3be8ae02d240f13bf607b7c
40,097
cpp
C++
src/mame/machine/nl_breakout.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/machine/nl_breakout.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/machine/nl_breakout.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:GPL-2.0+ // copyright-holders:DICE Team,Couriersud /* * Changelog: * * - Drop dice syntax (Couriersud) * - Fix brick display (Couriersud) * - Added led and lamp components (Couriersud) * - Start2 works (Couriersud) * - Added discrete paddle potentiometers (Couriersud) * ...
21.181722
172
0.57114
[ "model" ]
1f90e34b0271dc6a460a6f4aff2641b69df19a1b
2,838
cc
C++
jarvis/src/model/ModifyAccessWhiteListAutoShareRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
jarvis/src/model/ModifyAccessWhiteListAutoShareRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
jarvis/src/model/ModifyAccessWhiteListAutoShareRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * 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...
27.028571
91
0.777308
[ "model" ]
1f94bfbfb244e8c3022c05c4d96f61f0ed60f30f
6,748
cpp
C++
src/utils/system/gpu_comm.cpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
null
null
null
src/utils/system/gpu_comm.cpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
null
null
null
src/utils/system/gpu_comm.cpp
rigarash/monolish-debian-package
70b4917370184bcf07378e1907c5239a1ad9579b
[ "Apache-2.0" ]
1
2021-04-06T07:12:11.000Z
2021-04-06T07:12:11.000Z
#include "../../../include/monolish_blas.hpp" #include "../../internal/monolish_internal.hpp" namespace monolish { // vec /////////////////////////////////////// // send template <typename T> void vector<T>::send() const { Logger &logger = Logger::get_instance(); logger.util_in(monolish_func); #if MONOLISH_USE_G...
25.368421
80
0.62626
[ "vector" ]
1f9597a79ff8756bf05012823da1e7742e35c859
9,729
cxx
C++
Logic/igtlioLogic.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
7
2016-02-02T19:03:33.000Z
2021-07-31T19:12:03.000Z
Logic/igtlioLogic.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
61
2016-02-01T21:47:49.000Z
2022-03-15T16:12:31.000Z
Logic/igtlioLogic.cxx
adamrankin/OpenIGTLinkIO
9d0b1010be7b92947dbd461dc5298c320dfc00e4
[ "Apache-2.0" ]
20
2016-02-01T22:24:52.000Z
2021-07-31T19:12:04.000Z
/*========================================================================== Portions (c) Copyright 2008-2009 Brigham and Women's Hospital (BWH) All Rights Reserved. See Doc/copyright/copyright.txt or http://www.slicer.org/copyright/copyright.txt for details. Program: 3D Slicer Module: $HeadURL: http:...
34.5
141
0.605201
[ "vector", "3d" ]
1faf14bc1d16aabace84b98552c20332bd6ec4b2
21,773
cpp
C++
projects-lib/mini-gl-engine/util/Animation.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
15
2019-01-13T16:07:27.000Z
2021-09-27T15:18:58.000Z
projects-lib/mini-gl-engine/util/Animation.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
1
2019-03-14T00:36:35.000Z
2020-12-29T11:48:09.000Z
projects-lib/mini-gl-engine/util/Animation.cpp
A-Ribeiro/OpenGLStarter
0552513f24ce3820b4957b1e453e615a9b77c8ff
[ "MIT" ]
3
2020-03-02T21:28:56.000Z
2021-09-27T15:18:50.000Z
#include "Animation.h" namespace GLEngine { bool AnimationClip::findRootNode(Transform *t, const void* userData) { if (root_node != NULL) return false; const model::Animation &animation = *(const model::Animation*)userData; for (int i = 0; i < animation.channels.s...
36.966044
164
0.574703
[ "vector", "model", "transform" ]
1fbd3cdea733b26cbca2f2018c7b5d1ceb8904f7
747
hpp
C++
sensact_firmware_stm32/lib/core/cModel.hpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
2
2021-02-09T16:17:43.000Z
2021-08-09T04:02:44.000Z
sensact_firmware_stm32/lib/core/cModel.hpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
2
2016-05-17T20:45:10.000Z
2020-03-10T07:03:39.000Z
sensact_firmware_stm32/lib/core/cModel.hpp
klaus-liebler/sensact
b8fc05eff67f23cf58c4fdf53e0026aab0966f6b
[ "Apache-2.0" ]
1
2020-05-24T13:37:55.000Z
2020-05-24T13:37:55.000Z
#pragma once #include "common.hpp" #ifdef SENSACTUP #include <cWs281x.h> #endif #include "cApplication.hpp" //#include <cWeeklySchedule.h> namespace sensactcore { class MODEL { public: //Index is source appId static cApplication *const Glo2locEvt[]; //Index is destination appId static cApplication *const G...
21.342857
52
0.760375
[ "model" ]
1fbf474faf03014748cb283b4cea7bb6dab50196
7,640
hpp
C++
src/dude/clong/Repository.hpp
fabic/cxx-playground
61f6bdd91bb886c172df7686971511e2c348b1ef
[ "MIT" ]
null
null
null
src/dude/clong/Repository.hpp
fabic/cxx-playground
61f6bdd91bb886c172df7686971511e2c348b1ef
[ "MIT" ]
null
null
null
src/dude/clong/Repository.hpp
fabic/cxx-playground
61f6bdd91bb886c172df7686971511e2c348b1ef
[ "MIT" ]
null
null
null
#ifndef _PIMPL_PLUGIN_Repository_HPP #define _PIMPL_PLUGIN_Repository_HPP #include <functional> #include <memory> #include <clang/AST/Type.h> // for Qualifiers. // #include <llvm/ADT/MapVector.h> // ^ TEMP. imported : #include "dude/llvm/MapVector.hpp" #include "types.hpp" #include "exceptions.hpp" namespace clang {...
28.088235
92
0.635209
[ "vector" ]
1fc3424b9ef073c26d76030886cea4d060b8fca6
2,515
cpp
C++
libvast/src/system/version_command.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/version_command.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
libvast/src/system/version_command.cpp
frerich/vast
decac739ea4782ab91a1cee791ecd754b066419f
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
29.940476
80
0.55825
[ "object" ]
1fc59e758c05d340e0e1ab5cf7f999fb0e161b95
40,168
cpp
C++
RIT_Library/src/src/utils/IOUtils.cpp
PWrGitHub194238/RIT
74ae41ce8cfdca3f14fc1e9a36840c68dff42b23
[ "Apache-2.0" ]
null
null
null
RIT_Library/src/src/utils/IOUtils.cpp
PWrGitHub194238/RIT
74ae41ce8cfdca3f14fc1e9a36840c68dff42b23
[ "Apache-2.0" ]
1
2016-02-14T18:27:05.000Z
2016-03-15T17:32:11.000Z
BinaryIMST_Library/src/src/utils/IOUtils.cpp
PWrGitHub194238/BinaryIMST
53490c10580fd4ad61c9234b82b3140c5cce5de0
[ "Apache-2.0" ]
null
null
null
/* * IOUtils.cpp * * Created on: 26 lut 2016 * Author: tomasz */ #include "../../include/utils/IOUtils.hpp" #include <boost/interprocess/detail/os_file_functions.hpp> #include <boost/interprocess/exceptions.hpp> #include <boost/interprocess/file_mapping.hpp> #include <boost/interprocess/mapped_region.hpp> ...
34.657463
83
0.724856
[ "vector" ]
1fc5bd0568b7e60b1d5dc8e3be61dca706d522fc
9,285
cxx
C++
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBMeshServer.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBMeshServer.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBMeshServer.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
31.157718
87
0.63371
[ "model" ]
1fca36d9e7e66af3421b88d6302ba867eb7a7e52
56,308
cpp
C++
ext/gdiplus/gdip_graphicspath.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
1
2017-05-04T05:48:19.000Z
2017-05-04T05:48:19.000Z
ext/gdiplus/gdip_graphicspath.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
ext/gdiplus/gdip_graphicspath.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
/* * gdip_graphicspath.cpp * Copyright (c) 2017 Yagi Sumiya * Released under the MIT License. */ #include "ruby_gdiplus.h" const rb_data_type_t tGraphicsPath = _MAKE_DATA_TYPE( "GraphicsPath", 0, GDIP_OBJ_FREE(GraphicsPath *), NULL, NULL, &cGraphicsPath); struct gdipPathData { public: int count; VAL...
33.516667
151
0.623375
[ "object", "transform" ]
1fcb023ef8cf0c2a632513cf0966a58e9a72b368
14,594
cpp
C++
src/handle.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
src/handle.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
src/handle.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
#define ICI_CORE #include "priv.h" namespace ici { static DataHandle ici_handle_proto; DataHandle* createDataHandle(void* ptr, String* name, SuperObject* super, void (*prefree)(DataHandle*)) { DataHandle* h; Object** po; ici_handle_proto.h_ptr = ptr; ici_handle_proto.h_n...
31.864629
127
0.509799
[ "object" ]
1fcd311718ccab7c2223b0e7aa780a91f008d8ad
1,759
cpp
C++
code_blocks/checking_least_square_method/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
12
2020-01-20T14:22:18.000Z
2022-01-26T04:41:36.000Z
code_blocks/checking_least_square_method/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
1
2020-05-23T07:35:03.000Z
2020-05-23T07:35:03.000Z
code_blocks/checking_least_square_method/main.cpp
rafald/xtechnical_analysis
7686c16241e9e53fb5a5548354531b533f983b54
[ "MIT" ]
9
2019-11-02T19:01:55.000Z
2021-07-08T21:51:44.000Z
#include <iostream> #include "xtechnical_regression_analysis.hpp" #include <array> #include <vector> int main() { std::cout << "Hello world!" << std::endl; double coeff[3]; double test_data[6][2] = { {1,2}, {2,3}, {3,4}, {4,5}, {5,6}, {6,7}, }; std:...
33.188679
130
0.656623
[ "vector" ]
1fd525e5fd17f95bdf7a513eec21edb5ad95b2f4
10,913
cpp
C++
src/save_file.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
src/save_file.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
src/save_file.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
#include "../include/save_file.hpp" #include "../include/configurations.hpp" #include <iostream> #include <cstdio> #include <string> #include <stdexcept> #include <cmath> #include <limits> namespace detail { enum class type_tag : int { boolean = 1, double_number = 3, string = 4, ta...
32.576119
113
0.582333
[ "object" ]
1fe26be297467c1acd2820157def00ea880c459e
2,814
cpp
C++
Competitive Programming/System Design/Kth Ancestor of a Tree Node.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/System Design/Kth Ancestor of a Tree Node.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/System Design/Kth Ancestor of a Tree Node.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
/* https://leetcode.com/problems/kth-ancestor-of-a-tree-node/ 1483. Kth Ancestor of a Tree Node Hard 761 73 Add to List Share You are given a tree with n nodes numbered from 0 to n - 1 in the form of a parent array parent where parent[i] is the parent of ith node. The root of the tree is node 0. Find the kth ancest...
26.8
209
0.571073
[ "object", "vector" ]
9501c9a085fd07f29d99d6409b23c56203af179a
2,826
cc
C++
Code/Components/Services/correlatorsim/current/simplayback/BaselineMap.cc
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Services/correlatorsim/current/simplayback/BaselineMap.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Services/correlatorsim/current/simplayback/BaselineMap.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file BaselineMap.cc /// /// @copyright (c) 2012 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is part of the ASKAP software distribution. /// ///...
32.113636
114
0.682944
[ "vector" ]
950dc764aaf458c2996975894378991d6a2b36f9
11,309
cpp
C++
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_inbox.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
3
2019-03-08T14:34:54.000Z
2020-09-14T06:48:19.000Z
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_inbox.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
null
null
null
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_inbox.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'inbox.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! **************************************************************...
34.904321
96
0.585905
[ "object" ]
95130062d3788fcd6364aeccc7b30d0c6e925ac3
13,441
cpp
C++
libs/application/src/xcb/window.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/application/src/xcb/window.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/application/src/xcb/window.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include "window.h" #include <yttrium/image/image.h> #include "../key_codes.h" #include "../window_callbacks.h" #include <seir_base/int_utils.hpp> #include <algorithm> #include <cstring> #include ...
35.002604
187
0.726955
[ "transform" ]
9514ed40d0f0b5c46ce3ad063a7d2ca619ab33de
11,778
cpp
C++
source/Board.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
source/Board.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
source/Board.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
//board class #pragma once #include "../headers/Board.h" //constructor Board::Board(char color) { this->initVariables(); this->initBoard(); this->initTexture(); this->startGame((color == 'w') ? Color::WHITE : Color::BLACK); this->frontPlayer = (color == 'w') ? Color::WHITE : Color::BLACK; //NOTE b...
30.2
119
0.48684
[ "render" ]
95186f566f6891f594dbd980f0d15e5f1f3481a4
2,800
cpp
C++
src/Hangman/hangman.cpp
clarablz/POO_S4
6fe29e78c346f74c2e25e2628c44496e7f6ced03
[ "MIT" ]
null
null
null
src/Hangman/hangman.cpp
clarablz/POO_S4
6fe29e78c346f74c2e25e2628c44496e7f6ced03
[ "MIT" ]
2
2022-03-19T23:05:28.000Z
2022-03-23T15:24:37.000Z
src/Hangman/hangman.cpp
clarablz/POO_S4
6fe29e78c346f74c2e25e2628c44496e7f6ced03
[ "MIT" ]
null
null
null
#include "hangman.hpp" #include <array> #include <iostream> #include <string> #include <vector> #include "Commons/get_input_from_user.hpp" #include "Commons/random.hpp" void play_hangman() { std::cout << "-----------HANGMAN-----------" << std::endl; Player player(10); std::vector<int> letter_po...
25.454545
104
0.617143
[ "vector" ]
951bb951bed045268b0c215702ae22de483421ee
384
cpp
C++
src/mfast/instructions/enum_instruction.cpp
csghone/mFAST
2763f04ed4d9ea7601739e0e498b022ce7cd9fa8
[ "BSD-3-Clause" ]
3
2021-11-04T13:00:27.000Z
2021-11-24T14:57:23.000Z
src/mfast/instructions/enum_instruction.cpp
csghone/mFAST
2763f04ed4d9ea7601739e0e498b022ce7cd9fa8
[ "BSD-3-Clause" ]
null
null
null
src/mfast/instructions/enum_instruction.cpp
csghone/mFAST
2763f04ed4d9ea7601739e0e498b022ce7cd9fa8
[ "BSD-3-Clause" ]
1
2021-11-04T13:00:33.000Z
2021-11-04T13:00:33.000Z
// Copyright (c) 2016, Huang-Ming Huang, Object Computing, Inc. // All rights reserved. // // This file is part of mFAST. // See the file license.txt for licensing information. #include "enum_instruction.h" namespace mfast { enum_field_instruction * enum_field_instruction::clone(arena_allocator &alloc) const { re...
24
64
0.739583
[ "object" ]
951ded4e9173cbacbd651248d0404b56adcddc69
6,280
cc
C++
FutMPIBench.cc
jgphpc/jub1
ab98a74077b2ea9774a3b170d325d0b57dc04d21
[ "Unlicense" ]
null
null
null
FutMPIBench.cc
jgphpc/jub1
ab98a74077b2ea9774a3b170d325d0b57dc04d21
[ "Unlicense" ]
null
null
null
FutMPIBench.cc
jgphpc/jub1
ab98a74077b2ea9774a3b170d325d0b57dc04d21
[ "Unlicense" ]
null
null
null
#include <mpi.h> #include <stdint.h> #include <cstdlib> #include <iostream> #include <vector> #include "MicroBench.h" #include "MemEstimator.h" #include "timing/ClockSync.h" #include "timing/elg_pform_defs.h" #include "collectives/CollectivesBench.h" #include "collectives/CommMemBench.h" #include "overheads/OverheadsBe...
36.091954
122
0.679777
[ "vector" ]
9523ac1711acef51a965f29a6badfea216690cf9
2,682
cpp
C++
src/tokeniser.cpp
LordAro/ury-playd
dad5458bb7ae9b21e939c17c25e11b685848c081
[ "BSL-1.0", "MIT" ]
null
null
null
src/tokeniser.cpp
LordAro/ury-playd
dad5458bb7ae9b21e939c17c25e11b685848c081
[ "BSL-1.0", "MIT" ]
null
null
null
src/tokeniser.cpp
LordAro/ury-playd
dad5458bb7ae9b21e939c17c25e11b685848c081
[ "BSL-1.0", "MIT" ]
null
null
null
// This file is part of playd. // playd is licensed under the MIT licence: see LICENSE.txt. /** * @file * Definition of the Tokeniser class. * @see tokeniser.hpp */ #include <algorithm> #include <cassert> #include <cctype> #include <cstdint> #include "response.hpp" #include "tokeniser.hpp" Tokeniser::Tokeniser...
19.434783
80
0.606264
[ "vector" ]
952593b0d576fe6c1bcd7ac448820108bcd933b0
7,011
hpp
C++
include/Nazara/Physics2D/PhysWorld2D.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/Physics2D/PhysWorld2D.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/Physics2D/PhysWorld2D.hpp
NazaraEngine/NazaraEngine
093d9d344e4459f40fc0119c8779673fa7e16428
[ "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics2D module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_PHYSICS2D_PHYSWORLD2D_HPP #define NAZARA_PHYSICS2D_PHYSWORLD2D_HPP #include <Naza...
42.490909
219
0.768507
[ "vector" ]
952e3da9dee2f17ab1507a9a0a125898044caf68
1,133
cpp
C++
LeetCode/Problems/Algorithms/#40_CombinationSumII.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#40_CombinationSumII.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#40_CombinationSumII.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { private: void back(int k, const int& sum, const int& target, const int& last_pos, vector<int>& st, const vector<int>& candidates, vector<vector<int>>& solutions){ if(sum == target){ solutions.push_back({st.begin(), st.begin() + k}); }else{ ...
36.548387
116
0.488967
[ "vector" ]
9539cf38436ad2212e8d5abc8a6651b6804a99c5
2,365
cpp
C++
Main/src/main.cpp
DaOnlyOwner/Materializer
80854737d5e923b99b2b34ac339b5f2904152270
[ "MIT" ]
null
null
null
Main/src/main.cpp
DaOnlyOwner/Materializer
80854737d5e923b99b2b34ac339b5f2904152270
[ "MIT" ]
null
null
null
Main/src/main.cpp
DaOnlyOwner/Materializer
80854737d5e923b99b2b34ac339b5f2904152270
[ "MIT" ]
null
null
null
#if 1 #include "NodeFactory.h" #include "BaseNode.h" #include "InputPort.h" #include "OutputPort.h" #include "Scene.h" #include "glad/glad.h" #include "imgui.h" #include "imgui_impl_opengl3.h" #include "imgui_impl_glfw.h" #include <GLFW/glfw3.h> #include <cstdio> #include "TestOperation.h" void register_operations() ...
24.132653
83
0.73277
[ "render" ]
954ae9b388ce63e633807173d273a5f96a2cb37e
15,745
cpp
C++
src/tests/angle_test/angle_test.cpp
google/motive
8e6e850de1f645a690920eaaaa6e6e57ca934cc4
[ "Apache-2.0" ]
210
2015-04-09T19:26:48.000Z
2022-02-08T12:49:13.000Z
src/tests/angle_test/angle_test.cpp
google/motive
8e6e850de1f645a690920eaaaa6e6e57ca934cc4
[ "Apache-2.0" ]
1
2019-05-11T05:20:51.000Z
2019-05-11T05:20:51.000Z
src/tests/angle_test/angle_test.cpp
google/motive
8e6e850de1f645a690920eaaaa6e6e57ca934cc4
[ "Apache-2.0" ]
53
2015-04-12T01:52:38.000Z
2022-01-17T00:12:15.000Z
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
38.216019
80
0.741505
[ "vector" ]
954b664c4f4482097c144b5ba2d80b41608b19c6
1,493
cpp
C++
src/optimization/simple_parameters_processor.cpp
wfoperihnofiksnfvopjdf/k52
2bbbfe018db6d73ec9773f29e571269f898a9bc0
[ "MIT" ]
6
2016-04-14T07:36:17.000Z
2019-04-22T22:03:20.000Z
src/optimization/simple_parameters_processor.cpp
wfoperihnofiksnfvopjdf/k52
2bbbfe018db6d73ec9773f29e571269f898a9bc0
[ "MIT" ]
29
2016-04-05T08:49:05.000Z
2016-10-29T07:09:00.000Z
src/optimization/simple_parameters_processor.cpp
wfoperihnofiksnfvopjdf/k52
2bbbfe018db6d73ec9773f29e571269f898a9bc0
[ "MIT" ]
9
2016-04-16T07:53:04.000Z
2019-02-12T21:31:51.000Z
#include "simple_parameters_processor.h" #include <stdexcept> namespace k52 { namespace optimization { SimpleParametersProcessor::SimpleParametersProcessor() :function_counter_(-1) { } IParameters::shared_ptr SimpleParametersProcessor::ProcessParameters( const IObjectiveFunction &function_to_optimize, c...
25.741379
96
0.669123
[ "vector" ]
954d7c65857414237dab8db660f90a578cc00428
40,291
cpp
C++
src/libcintw/cintwrapper.cpp
ZimmermanGroup/SlaterGPU
941ba0773d34b7a447081f0329532df7f13d2637
[ "Apache-2.0" ]
1
2022-02-24T13:26:53.000Z
2022-02-24T13:26:53.000Z
src/libcintw/cintwrapper.cpp
ZimmermanGroup/SlaterGPU
941ba0773d34b7a447081f0329532df7f13d2637
[ "Apache-2.0" ]
null
null
null
src/libcintw/cintwrapper.cpp
ZimmermanGroup/SlaterGPU
941ba0773d34b7a447081f0329532df7f13d2637
[ "Apache-2.0" ]
1
2022-02-24T13:26:55.000Z
2022-02-24T13:26:55.000Z
#include "cintwrapper.h" #include "elements.h" #include <fstream> #include <sstream> #include <string> #include <cstdlib> #include <vector> #include <unordered_set> #include <cmath> #include <math.h> #include "omp.h" #if USEMKL #include <mkl_lapacke.h> #include <mkl_cblas.h> #else #include <lapacke.h...
30.38537
99
0.426274
[ "vector" ]
95639a26bd926c75048539ff7b0526f74b327357
1,344
cpp
C++
union_find/abc120_d.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
union_find/abc120_d.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
union_find/abc120_d.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; // クエリを先読みしておいて逆順に処理 // 操作を逆順に見る // 「辺を削除する」というのはめちゃくちゃ扱いづらいので,反対に「辺を追加する」と読み替えた方がいい /* 参考リンク ABC 120 D - Decayed Bridges https://atcoder.jp/contests/abc120/tasks...
18.410959
58
0.514881
[ "vector" ]
9570a2d20907dbcdedec7646d74abf0022df2ec4
1,638
cpp
C++
apal_cxx/src/origin_singularity_integration.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
apal_cxx/src/origin_singularity_integration.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
15
2019-05-23T07:18:19.000Z
2019-12-17T08:01:10.000Z
apal_cxx/src/origin_singularity_integration.cpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
#include "origin_singularity_integration.hpp" #include <stdexcept> using namespace std; void OriginSingularityIntegration::get_dir1D(std::vector< MMSP::vector<double> > &directions) const{ MMSP::vector<double> vec(3); vec[0] = 1.0; vec[1] = 0.0; vec[2] = 0.0; directions.push_back(vec); vec[0]...
28.241379
135
0.58547
[ "vector" ]
9574789893f15ebba5852db987f8e422531687d5
20,219
cpp
C++
TestDLL/CompareQueryTests.cpp
KylinOLAP/odbc-driver
8c4901edd3bc7664dbad729ff99859f235c684eb
[ "Apache-2.0" ]
7
2015-09-11T06:04:38.000Z
2019-07-16T02:57:16.000Z
TestDLL/CompareQueryTests.cpp
KylinOLAP/odbc-driver
8c4901edd3bc7664dbad729ff99859f235c684eb
[ "Apache-2.0" ]
1
2015-05-04T16:16:00.000Z
2015-05-05T02:14:30.000Z
TestDLL/CompareQueryTests.cpp
KylinOLAP/odbc-driver
8c4901edd3bc7664dbad729ff99859f235c684eb
[ "Apache-2.0" ]
9
2015-05-26T17:13:59.000Z
2020-04-23T15:24:01.000Z
#include "Tests.h" #include <vector> #include "ColorPrint.h" #include "fstream" // ----- whether to ask user for DSN and connection parameters OR specify ----- //#define _CONNECT_WITH_PROMPT 1 // ------------- maximum length to be displayed for a column ------------------ #define _DISPLAY_MAX 1...
38.149057
134
0.476186
[ "vector" ]
957e2221115503279a2484783c37088daea1683b
2,444
cpp
C++
libs/c2ba/src/window_manager/window_manager.cpp
Celeborn2BeAlive/c2ba-graphics-cpp-sdk
752484b37d56eb87ac1f777d630d50e283d192e5
[ "MIT" ]
null
null
null
libs/c2ba/src/window_manager/window_manager.cpp
Celeborn2BeAlive/c2ba-graphics-cpp-sdk
752484b37d56eb87ac1f777d630d50e283d192e5
[ "MIT" ]
null
null
null
libs/c2ba/src/window_manager/window_manager.cpp
Celeborn2BeAlive/c2ba-graphics-cpp-sdk
752484b37d56eb87ac1f777d630d50e283d192e5
[ "MIT" ]
1
2020-09-03T01:30:31.000Z
2020-09-03T01:30:31.000Z
#include <c2ba/glutils/debug_output.hpp> #include <c2ba/window_manager/glfw.hpp> #include <c2ba/window_manager/window_manager.hpp> #include <fmt/format.h> #include <imgui.h> #include <imgui_impl_glfw.h> #include <imgui_impl_opengl3.h> #include <stdexcept> namespace c2ba { WindowManager::WindowManager(uint16_t width, ...
22.841121
83
0.700082
[ "render" ]
9583fb23f02a85a5dbf5e68f8dc134290bf72e43
10,619
cpp
C++
webkit/WebCore/bridge/runtime_object.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/bridge/runtime_object.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/bridge/runtime_object.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2003, 2008, 2009 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 ...
32.178788
128
0.679725
[ "object" ]
9587d53f11226c7eba04d29bf1431b80fb4e9e2d
2,968
hpp
C++
src/map/include/MIIteratorL2.hpp
mu94-csl/wfmash
98e26fcdfec6a98fe4d0528240a8f5d957604505
[ "MIT" ]
218
2017-11-03T12:38:08.000Z
2022-03-31T22:24:55.000Z
src/map/include/MIIteratorL2.hpp
mu94-csl/wfmash
98e26fcdfec6a98fe4d0528240a8f5d957604505
[ "MIT" ]
94
2017-11-30T14:21:38.000Z
2022-03-30T16:04:35.000Z
src/map/include/MIIteratorL2.hpp
mu94-csl/wfmash
98e26fcdfec6a98fe4d0528240a8f5d957604505
[ "MIT" ]
44
2018-02-16T11:03:59.000Z
2022-01-21T00:09:21.000Z
/** * @file MIIteratorL2.hpp * @brief implements iterator over minimizer index to process L2 mapping stage * @author Chirag Jain <cjain7@gatech.edu> */ #ifndef INDEX_ITERATOR_L2_HPP #define INDEX_ITERATOR_L2_HPP #include <vector> #include <algorithm> #include <map> //Own includes #include "map/include/bas...
29.386139
106
0.628369
[ "vector" ]
95885a32be7752124d0d15925647285625ea718a
15,742
cpp
C++
STAccel/src/iopinChecker.cpp
UCLA-VAST/EISC
6455dff287beddc82c5880309943b82bb9d8642d
[ "MIT" ]
25
2019-06-16T00:19:03.000Z
2022-02-22T02:38:59.000Z
STAccel/src/iopinChecker.cpp
UCLA-VAST/EISC
6455dff287beddc82c5880309943b82bb9d8642d
[ "MIT" ]
6
2020-04-21T03:24:31.000Z
2020-11-06T18:45:44.000Z
STAccel/src/iopinChecker.cpp
UCLA-VAST/EISC
6455dff287beddc82c5880309943b82bb9d8642d
[ "MIT" ]
12
2019-08-01T17:06:21.000Z
2022-02-12T00:52:56.000Z
#include <fstream> #include <iostream> #include <map> #include <string> #include <vector> using namespace std; map<string, string> neccessaryPinsMap; vector<string> stringOccurs; vector<string> unmatchedStrings; void setup() { neccessaryPinsMap["peek_req_V_dout"] = "input [31:0] peek_req_V_dout;"; neccessaryPins...
46.436578
76
0.740884
[ "vector" ]
9593956f8d0aab5557ad6980ff4b4276ab1146cd
4,001
cc
C++
xpdf/Outline.cc
haephrati/SG_PDF2Text
393ba8b500de6d10ab7c38936c009a5c44fa4189
[ "Apache-2.0" ]
1
2021-10-30T07:53:44.000Z
2021-10-30T07:53:44.000Z
xpdf/Outline.cc
haephrati/SG_PDF2Text
393ba8b500de6d10ab7c38936c009a5c44fa4189
[ "Apache-2.0" ]
1
2018-11-13T17:41:46.000Z
2018-11-13T20:54:38.000Z
xpdf/Outline.cc
haephrati/SG_PDF2Text
393ba8b500de6d10ab7c38936c009a5c44fa4189
[ "Apache-2.0" ]
1
2018-11-13T16:43:10.000Z
2018-11-13T16:43:10.000Z
//======================================================================== // // Outline.cc // // Copyright 2002-2013 Glyph & Cog, LLC // //======================================================================== #include <aconf.h> #ifdef USE_GCC_PRAGMAS #pragma implementation #endif #include "gmem.h" #include "gmem...
21.395722
75
0.553112
[ "object" ]
d2fa7e937125ed74fb6a347615d36dbae975a13b
58,785
cpp
C++
third_party/pdfium/core/src/reflow/layoutprocessor_reflow.cpp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
303
2015-03-13T08:31:24.000Z
2022-03-21T10:06:45.000Z
third_party/pdfium/core/src/reflow/layoutprocessor_reflow.cpp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
15
2015-04-03T02:33:53.000Z
2020-01-28T10:42:29.000Z
third_party/pdfium/core/src/reflow/layoutprocessor_reflow.cpp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
100
2015-03-13T08:28:56.000Z
2022-02-18T03:19:39.000Z
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../include/reflow/reflowengine.h" #include "reflowedpage.h" #inc...
37.658552
181
0.546092
[ "transform" ]
961d6b29349c06ee8f08a809cfb1bc241b83e988
4,343
cpp
C++
Source/nn/RLLSTMAgent.cpp
JakobStruye/AILib
7cd76c409aa77a8da615204fa5fd9d1724c5f8bb
[ "Zlib" ]
66
2015-01-05T02:31:21.000Z
2021-04-11T18:45:42.000Z
Source/nn/RLLSTMAgent.cpp
JakobStruye/AILib
7cd76c409aa77a8da615204fa5fd9d1724c5f8bb
[ "Zlib" ]
null
null
null
Source/nn/RLLSTMAgent.cpp
JakobStruye/AILib
7cd76c409aa77a8da615204fa5fd9d1724c5f8bb
[ "Zlib" ]
16
2015-01-23T19:55:24.000Z
2021-11-07T20:41:22.000Z
/* AI Lib Copyright (C) 2014 Eric Laukien This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial ...
32.17037
165
0.734285
[ "vector" ]
961dcef3c935313c1083db6823b2cd57a7d431d2
485
cpp
C++
leetcode/algorithms/0771_jewels-and-stones/cpp/Solution2.cpp
shoukailiang/idea
bd0e6c59581d9763aa691914d1f4ac8733a02274
[ "MIT" ]
1
2019-08-08T12:12:30.000Z
2019-08-08T12:12:30.000Z
leetcode/algorithms/0771_jewels-and-stones/cpp/Solution2.cpp
shoukailiang/algorithm
91892634ac03bc26c442771769189ccff73159cd
[ "MIT" ]
null
null
null
leetcode/algorithms/0771_jewels-and-stones/cpp/Solution2.cpp
shoukailiang/algorithm
91892634ac03bc26c442771769189ccff73159cd
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <unordered_set> using namespace std; class Solution { public: int numJewelsInStones(string J, string S) { int size = 0; unordered_set<char> jew; for (auto j:J) { jew.insert(j); } for (auto s:S) { cout << jew.count(s)...
16.724138
53
0.569072
[ "vector" ]
96200bcc19f0e6fd1a3b9dd15b38eb1b86a94fcf
4,172
hpp
C++
private/inc/avb_streamhandler/IasTestToneStream.hpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/inc/avb_streamhandler/IasTestToneStream.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/inc/avb_streamhandler/IasTestToneStream.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasTestToneStream.hpp * @brief Test tone generator pseudo-stream class * @details This class generates audio streams with test tones. * This class is derived from IasLocalAudioSt...
29.174825
185
0.722196
[ "vector" ]
96210c7975f9c435d26afbc4a8d564672a4d38e4
6,073
cpp
C++
engine/source/Math/Ray.cpp
MaxSigma/SGEngine
68a01012911b8d91c9ff6d960a0f7d1163940e09
[ "MIT" ]
11
2020-10-21T15:03:41.000Z
2020-11-03T09:15:28.000Z
engine/source/Math/Ray.cpp
MaxSigma/SGEngine
68a01012911b8d91c9ff6d960a0f7d1163940e09
[ "MIT" ]
null
null
null
engine/source/Math/Ray.cpp
MaxSigma/SGEngine
68a01012911b8d91c9ff6d960a0f7d1163940e09
[ "MIT" ]
1
2020-10-27T00:13:41.000Z
2020-10-27T00:13:41.000Z
///////////////////////////////////////////////////// // Sirnic's Game Engine © Max Gittel // ///////////////////////////////////////////////////// #include "Ray.h" #include "Plane.h" #include "Frustum.h" #include "BoundingSphere.h" #include "BoundingBox.h" namespace sge { Ray::Ray() : _direction(0...
23.909449
130
0.56216
[ "vector", "transform" ]
9622068a040ce24173b43d2086f312ec4f754d8f
332
cpp
C++
CppMunk/src/CircleShape.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
63
2017-05-18T16:10:19.000Z
2022-03-26T18:05:59.000Z
CppMunk/src/CircleShape.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
1
2018-02-10T12:40:33.000Z
2019-01-11T07:33:13.000Z
CppMunk/src/CircleShape.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
4
2017-12-31T21:38:14.000Z
2019-11-20T15:13:00.000Z
#include "CircleShape.h" #include "Body.h" namespace cp { CircleShape::CircleShape(std::shared_ptr<Body> body, cpFloat radius, cpVect offset) : Shape(cpCircleShapeNew(body ? (*body) : (cpBody*)0, radius, offset), body...
25.538462
70
0.487952
[ "shape" ]
9623a19774043f381cb59eb72ce39016d788c885
3,030
hpp
C++
libs/perpix/src/FeatureComputer.hpp
malreddysid/ofxPerPixelSegment
196d3a48726ce17ea42e14fcbd891880510ec9f8
[ "MIT" ]
8
2018-08-20T09:44:59.000Z
2021-11-24T02:02:34.000Z
libs/perpix/src/FeatureComputer.hpp
malreddysid/ofxPerPixelSegment
196d3a48726ce17ea42e14fcbd891880510ec9f8
[ "MIT" ]
2
2017-01-12T10:21:34.000Z
2017-02-15T07:22:31.000Z
libs/perpix/src/FeatureComputer.hpp
malreddysid/ofxPerPixelSegment
196d3a48726ce17ea42e14fcbd891880510ec9f8
[ "MIT" ]
5
2018-07-06T19:35:18.000Z
2020-12-28T09:02:02.000Z
#ifndef Define_LcFeatureComputer #define Define_LcFeatureComputer #include <cstring> #include <opencv2/opencv.hpp> #include <opencv2/flann/config.h> #include <opencv2/legacy/legacy.hpp> // EM #include <opencv2/contrib/contrib.hpp> // colormap #include <opencv2/nonfree/nonfree.hpp> // SIFT #include "L...
21.338028
117
0.657096
[ "vector" ]
9623fafaeb96acc5576d076ade7d6e75cd0d9b33
4,766
cc
C++
test/08InstantiationEventArgumentsTest.cc
iwasz/libstatemachine
6e6accc3085bd2d5ea130665a9618b16fea38980
[ "MIT" ]
null
null
null
test/08InstantiationEventArgumentsTest.cc
iwasz/libstatemachine
6e6accc3085bd2d5ea130665a9618b16fea38980
[ "MIT" ]
null
null
null
test/08InstantiationEventArgumentsTest.cc
iwasz/libstatemachine
6e6accc3085bd2d5ea130665a9618b16fea38980
[ "MIT" ]
null
null
null
#include "AndCondition.h" #include "BoolCondition.h" #include "DelayAction.h" #include "GsmCommandAction.h" #include "OrCondition.h" #include "StateMachine.h" #include "StringCondition.h" #include "TimePassedCondition.h" #include "catch.hpp" #include <cstdint> #include <cstring> #include <etl/cstring.h> #include <etl/v...
38.747967
142
0.561687
[ "vector" ]
9631e3eb30d56596012c317514970147f8ad5882
527
cpp
C++
aws-cpp-sdk-groundstation/source/model/DescribeContactRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-groundstation/source/model/DescribeContactRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-groundstation/source/model/DescribeContactRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/groundstation/model/DescribeContactRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::GroundStation::Model; using namespace Aws::Utils::...
18.821429
69
0.751423
[ "model" ]
963473ece03a1549d33a513cac41f3fbb297abe7
1,490
cpp
C++
26_cpp_stl/01_stl_foreach.cpp
afterloe/cpp_practice
f76fa3963def3e71255a198d62818c4076253d4a
[ "MIT" ]
null
null
null
26_cpp_stl/01_stl_foreach.cpp
afterloe/cpp_practice
f76fa3963def3e71255a198d62818c4076253d4a
[ "MIT" ]
null
null
null
26_cpp_stl/01_stl_foreach.cpp
afterloe/cpp_practice
f76fa3963def3e71255a198d62818c4076253d4a
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; class Person { public: Person(string name, int age) { this->name = name; this->age = age; } public: string name; int age; }; // 运算符重载 ostream &operator<<(ostream &out, Person &p) { ...
19.350649
60
0.571141
[ "vector" ]
96366a3f7dfe79bea5309c1cf606ce41fce5cef5
40,255
cpp
C++
createSAM/ConcreteShearWall/ConcreteShearWall.cpp
charlesxwang/WorkflowRegionalEarthquake
db29681c56104d684890e44e44be32bd278394b2
[ "BSD-3-Clause" ]
14
2018-07-23T15:08:55.000Z
2019-05-27T11:14:54.000Z
createSAM/ConcreteShearWall/ConcreteShearWall.cpp
charlesxwang/WorkflowRegionalEarthquake
db29681c56104d684890e44e44be32bd278394b2
[ "BSD-3-Clause" ]
1
2019-02-07T01:11:26.000Z
2019-02-07T01:11:26.000Z
createSAM/ConcreteShearWall/ConcreteShearWall.cpp
charlesxwang/WorkflowRegionalEarthquake
db29681c56104d684890e44e44be32bd278394b2
[ "BSD-3-Clause" ]
10
2018-07-23T02:51:11.000Z
2019-04-11T11:47:59.000Z
#include "ConcreteShearWall.h" #include <jansson.h> // for Json #include <iostream> #include <cmath> #include <cstring> #include <string> static int nL = 1; static int nH = 1; static ConcreteShearWall *theModel = 0; static int eleTag = 0; static double tol = 1e-7; //1e-15; //double maxEleWallLength = ...
34.288756
182
0.658303
[ "mesh", "geometry", "vector", "model" ]
963c8fdffa1e435a12e32c16a27561f5201b1cd2
1,552
hpp
C++
src/modules/memory/task_memory.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/modules/memory/task_memory.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/modules/memory/task_memory.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
#ifndef _OP_MEMORY_TASK_MEMORY_HPP_ #define _OP_MEMORY_TASK_MEMORY_HPP_ #include <atomic> #include <vector> #include <chrono> #include "timesync/chrono.hpp" #include "utils/worker/task.hpp" #include "memory/io_pattern.hpp" #include "memory/memory_stat.hpp" namespace openperf::memory::internal { struct task_memory_c...
21.555556
75
0.697165
[ "vector" ]
963ce284b4b16b61ddf302b9220f942a63930937
3,083
hpp
C++
kvm_pipeline/include/kvm_pipeline.hpp
catid/kvm
acc2ae7dc67838cf28b1e1ae8f9c231f8d470f52
[ "BSD-3-Clause" ]
26
2020-12-03T11:13:42.000Z
2022-03-25T05:36:33.000Z
kvm_pipeline/include/kvm_pipeline.hpp
catid/kvm
acc2ae7dc67838cf28b1e1ae8f9c231f8d470f52
[ "BSD-3-Clause" ]
4
2021-01-28T19:32:17.000Z
2021-06-01T15:01:42.000Z
kvm_pipeline/include/kvm_pipeline.hpp
catid/kvm
acc2ae7dc67838cf28b1e1ae8f9c231f8d470f52
[ "BSD-3-Clause" ]
8
2020-12-04T01:30:21.000Z
2021-12-01T11:19:11.000Z
// Copyright 2020 Christopher A. Taylor /* Video Pipeline: HDMI Capture -> JPEG Decode -> H.264 Encode -> Video Parser */ #pragma once #include "kvm_core.hpp" #include "kvm_capture.hpp" #include "kvm_jpeg.hpp" #include "kvm_encode.hpp" #include "kvm_video.hpp" #include <atomic> #include <thread> #include <m...
18.79878
80
0.610444
[ "vector" ]
963d2ac980fef4017173d16dc0bf3957b684aac1
3,885
hpp
C++
include/parsergen/parser_formatter.hpp
Conqu3red/parsergen-cpp
1435ce4b9fe64541142791ff75c32b968d88ac21
[ "MIT" ]
1
2021-09-04T14:18:39.000Z
2021-09-04T14:18:39.000Z
include/parsergen/parser_formatter.hpp
Conqu3red/parsergen-cpp
1435ce4b9fe64541142791ff75c32b968d88ac21
[ "MIT" ]
null
null
null
include/parsergen/parser_formatter.hpp
Conqu3red/parsergen-cpp
1435ce4b9fe64541142791ff75c32b968d88ac21
[ "MIT" ]
null
null
null
#include "parsergen/lexer.hpp" #include "parsergen/grammar_ast.hpp" #include "parsergen/utils.hpp" #include "parsergen/parser.hpp" #include "fmt/core.h" #include <string> #include <vector> #include <memory> #include <tuple> #include <iostream> #pragma once using namespace Parsergen::AST; namespace Parsergen { /* s...
29.884615
119
0.683912
[ "vector" ]
964d3968f43ebe0de00fa77968c34c997404a85b
4,069
hpp
C++
src/elona/quest.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/quest.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/quest.hpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
1
2020-02-24T18:52:19.000Z
2020-02-24T18:52:19.000Z
#pragma once #include <vector> namespace elona { template <typename T> struct elona_vector2; struct Quest { /** * 0 if empty. */ int client_chara_index; int originating_map_id; int deadline_hours; /** * TODO: enum class * * 0 - do not show * 1001 - hunt *...
19.014019
80
0.600147
[ "vector" ]
9661ad5e9f665ad6601bfb7da5c942bcdd9535d3
7,760
cpp
C++
Source/Main/initializationAux.cpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
Source/Main/initializationAux.cpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
Source/Main/initializationAux.cpp
weenchvd/Wasteland3
e1d9b96f73b9d1901dfee61ec2d468e00560cb00
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 Vitaly Dikov // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt) ///#include"ammo.hpp" #include"initializationAux.hpp" #include"locator.hpp" #include"character.hpp" namespace init { using namespac...
48.805031
97
0.730155
[ "object", "model" ]
966955e345d89794dff38e3e2e7b36ca88d92e70
1,021
hpp
C++
doc/quickbook/oglplus/quickref/enums/access_specifier_class.hpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/access_specifier_class.hpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/enums/access_specifier_class.hpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File doc/quickbook/oglplus/quickref/enums/access_specifier_class.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/access_specifier.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under th...
26.868421
72
0.773751
[ "transform" ]
966eafe0c015b6d9b736e5e9ccec4afad6455f60
13,670
cpp
C++
lib/djvSystem/FileIOUnix.cpp
belzecue/DJV
94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0
[ "BSD-3-Clause" ]
456
2018-10-06T00:07:14.000Z
2022-03-31T06:14:22.000Z
lib/djvSystem/FileIOUnix.cpp
belzecue/DJV
94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0
[ "BSD-3-Clause" ]
438
2018-10-31T15:05:51.000Z
2022-03-31T09:01:24.000Z
lib/djvSystem/FileIOUnix.cpp
belzecue/DJV
94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0
[ "BSD-3-Clause" ]
54
2018-10-29T10:18:36.000Z
2022-03-23T06:56:11.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2018-2020 Darby Johnston // All rights reserved. #include <djvSystem/FileIO.h> #include <djvSystem/File.h> #include <djvSystem/Path.h> #include <djvCore/Error.h> #include <djvCore/Memory.h> #include <djvCore/String.h> #include <djvCore/StringFormat.h> #inclu...
34.433249
100
0.384931
[ "vector" ]
967651b23aed626c7dde0ac4c3a112d25076569e
10,671
cpp
C++
src/org/apache/poi/hssf/record/AbstractEscherHolderRecord.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/AbstractEscherHolderRecord.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/AbstractEscherHolderRecord.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java #include <org/apache/poi/hssf/record/AbstractEscherHolderRecord.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/Object.hpp> #include <java/lang/SecurityException.hpp...
33.87619
127
0.662543
[ "object" ]
9678ce73238a8585ccd80b6195dd8b9e0a3dd1a7
6,979
cpp
C++
Context/Image.cpp
Joeppie/Backprojec
ed925bf9801f27eeae98711f246e5ef884e2a0ed
[ "Unlicense", "MIT" ]
7
2019-03-15T12:32:07.000Z
2021-02-20T04:07:23.000Z
Context/Image.cpp
Joeppie/Backprojec
ed925bf9801f27eeae98711f246e5ef884e2a0ed
[ "Unlicense", "MIT" ]
6
2017-08-18T13:22:15.000Z
2017-08-29T19:39:56.000Z
Context/Image.cpp
Joeppie/Backprojec
ed925bf9801f27eeae98711f246e5ef884e2a0ed
[ "Unlicense", "MIT" ]
2
2018-07-06T14:46:50.000Z
2019-04-17T13:47:48.000Z
#include <math.h> #include "Image.h" #include "../util.h" #include <iomanip> #include <stdexcept> #include <sstream> //constructors Image::Image() {} Image::Image(int _height, int _width, const std::string &_fileName, const std::shared_ptr<InteriorOrientation> &_IO, const std::shared_ptr<ExteriorOrientat...
34.043902
119
0.5763
[ "object", "vector" ]
9680c922a0f2e3b0c1d179ccc725fc81ed792e69
6,019
cpp
C++
src/unit.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
1
2015-07-23T00:26:23.000Z
2015-07-23T00:26:23.000Z
src/unit.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
null
null
null
src/unit.cpp
tomalexander/topaz
a0776a3b14629e5e1af3a4ed89fded3fe06cfea3
[ "Zlib" ]
null
null
null
/* * Copyright (c) 2012 Tom Alexander, Tate Larsen * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * ...
31.513089
173
0.604752
[ "model", "transform" ]
968804c0a17c6030a94764d9bf7416e4f034df90
12,548
cpp
C++
source/utopian/vulkan/handles/Device.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
62
2020-11-06T17:29:24.000Z
2022-03-21T19:21:16.000Z
source/utopian/vulkan/handles/Device.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
134
2017-02-25T20:47:43.000Z
2022-03-14T06:54:58.000Z
source/utopian/vulkan/handles/Device.cpp
simplerr/Papageno
7ec1da40dc0459e26f5b9a8a3f72d8962237040d
[ "MIT" ]
6
2021-02-19T07:20:19.000Z
2021-12-27T09:07:27.000Z
#include <stdexcept> #include <array> #include "vulkan/handles/Device.h" #include "vulkan/handles/Instance.h" #include "vulkan/handles/Queue.h" #include "vulkan/handles/CommandPool.h" #include "vulkan/handles/Buffer.h" #include "vulkan/handles/Image.h" #include "vulkan/handles/DescriptorSet.h" #include "vulkan/Debug.h"...
30.754902
124
0.688476
[ "vector" ]
968832e4f74d1a902e6c04a336392400dbabc30f
956
cpp
C++
Arrays/merge-overlapping-intervals.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
Arrays/merge-overlapping-intervals.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
Arrays/merge-overlapping-intervals.cpp
atitoa93/interviewbit-solutions
9723c9cb767119bf5751e465548de4046b5a3d33
[ "MIT" ]
null
null
null
// https://www.interviewbit.com/problems/merge-overlapping-intervals/ /** * Definition for an interval. * struct Interval { * int start; * int end; * Interval() : start(0), end(0) {} * Interval(int s, int e) : start(s), end(e) {} * }; */ void insertInterval(vector<Interval> &a, Interval v) { ...
25.157895
86
0.534519
[ "vector" ]
968d2f6d7ed6539d37b903a509269f598621e182
1,422
hpp
C++
sparse/L2/include/hw/fp64/loadParXkernel.hpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
4
2021-08-16T18:25:48.000Z
2022-03-22T08:49:43.000Z
L2/sparse/include/hw/fp64/loadParXkernel.hpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
null
null
null
L2/sparse/include/hw/fp64/loadParXkernel.hpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 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 t...
33.857143
105
0.708158
[ "vector" ]
9690e2742986cd9d1b125d116f21b5a6e9f1e4d0
4,983
cc
C++
src/basic_structure/search_tree.cc
FlyAlCode/RCLGeolocalization-2.0
2325fd11b23789630b6c12ecd0258c9dec84644a
[ "MIT" ]
4
2021-02-06T07:59:14.000Z
2022-02-22T10:58:27.000Z
src/basic_structure/search_tree.cc
FlyAlCode/RCLGeolocalization
7a2ead4bf9ee188a8ab7f07c1cdca9659ef0cc50
[ "MIT" ]
null
null
null
src/basic_structure/search_tree.cc
FlyAlCode/RCLGeolocalization
7a2ead4bf9ee188a8ab7f07c1cdca9659ef0cc50
[ "MIT" ]
1
2021-09-15T13:48:00.000Z
2021-09-15T13:48:00.000Z
#include "search_tree.h" namespace rcll{ /*********************************************************************** * Search Tree * ***********************************************************************/ void SearchTree::BuildTree(const PointCloud1D<double> &poi...
40.185484
117
0.639374
[ "vector" ]
969389447d21cbebb32b7ee70fc7dcf3c6222675
2,414
cpp
C++
exec/setup_hamiltonian.cpp
cheshyre/negele-srg-solver-cpp
9510a40665480508c28de784f9af2eb4c7e6c0ae
[ "MIT" ]
null
null
null
exec/setup_hamiltonian.cpp
cheshyre/negele-srg-solver-cpp
9510a40665480508c28de784f9af2eb4c7e6c0ae
[ "MIT" ]
null
null
null
exec/setup_hamiltonian.cpp
cheshyre/negele-srg-solver-cpp
9510a40665480508c28de784f9af2eb4c7e6c0ae
[ "MIT" ]
null
null
null
// Copyright 2020 Matthias Heinz #include <iostream> #include <vector> #include <boost/numeric/odeint.hpp> #include "negele/matrix.h" #include "negele/potential.h" #include "negele/quad.h" #include "negele/srg.h" int main(void) { auto quadrature = negele::quad::get_gauss_legendre_quadrature(100, 0.0, 25.0); auto...
29.802469
80
0.624689
[ "vector" ]
9694636ef301b5761e54291ba32b973a44f344c1
2,379
cpp
C++
1139/d.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
1139/d.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
1139/d.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <vector> using namespace std; const int MOD = 1e9 + 7; const int MAXN = 1e5 + 5; int f[MAXN]; int phi[MAXN]; vector<int> divisors[MAXN]; void init(int n) { phi[0] = phi[1] = 0; for (int i = 1; i <= n; ++i) { if (i > 1) { phi[i] += (i ...
19.991597
87
0.467423
[ "vector" ]
f7b3d77fb41e4d86e790484aa997daad2852d520
1,478
cpp
C++
engine/common/util/src/cpp/string_util.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
1
2021-02-23T09:36:42.000Z
2021-02-23T09:36:42.000Z
engine/common/util/src/cpp/string_util.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
null
null
null
engine/common/util/src/cpp/string_util.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
null
null
null
#include <cstdlib> #include <sstream> #include "string_util.h" using namespace std; namespace ae { namespace util { /** */ bool startsWith(const string& str,const string& prefix) { if (prefix.length() > str.length()) { return false; } return prefix == str.substr(0,prefix.leng...
19.706667
72
0.52977
[ "vector" ]
f7b45dc6a88fba7a0b65fe6de16274ec5428a206
347
hpp
C++
Exercicio-1_Contagem de Palavras/WordCounter.hpp
ViniciusCarvalhoDev/Algoritmos-e-Estrutura-de-Dados
157f2c3f30a156fdeb183df7bba783765673ddb0
[ "MIT" ]
1
2021-03-05T13:06:15.000Z
2021-03-05T13:06:15.000Z
Exercicio-1_Contagem de Palavras/WordCounter.hpp
ViniciusCarvalhoDev/Algoritmos-e-Estrutura-de-Dados
157f2c3f30a156fdeb183df7bba783765673ddb0
[ "MIT" ]
null
null
null
Exercicio-1_Contagem de Palavras/WordCounter.hpp
ViniciusCarvalhoDev/Algoritmos-e-Estrutura-de-Dados
157f2c3f30a156fdeb183df7bba783765673ddb0
[ "MIT" ]
null
null
null
#ifndef WORDCOUNT #define WORDCOUNT #include <map> #include <vector> #include <iostream> #include <string> #include "Word.hpp" using namespace std; class WordCounter { public: Word *words; int size = 0; WordCounter(int num_words); int countWord(string palavra); ~WordCounter(); void addWord(string w)...
12.851852
34
0.697406
[ "vector" ]
f7b4d9f7e6b7d7b427410c3fdbc3afe3c22ee14e
2,583
cpp
C++
src/menu/overlay.cpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
1
2022-01-16T07:06:13.000Z
2022-01-16T07:06:13.000Z
src/menu/overlay.cpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
null
null
null
src/menu/overlay.cpp
synaodev/apostellein
f664a88d13f533df54ad6fb58c2ad8134f8f942c
[ "BSD-3-Clause" ]
null
null
null
#include <spdlog/spdlog.h> #include <apostellein/konst.hpp> #include "./overlay.hpp" #include "./widget-detail.hpp" #include "./headsup.hpp" #include "./dialogue.hpp" #include "../ctrl/controller.hpp" #include "../hw/audio.hpp" #include "../hw/vfs.hpp" #include "../util/buttons.hpp" #include "../x2d/renderer.hpp" nam...
23.481818
79
0.670151
[ "render" ]
f7b5b175783511e9fa3f85317a24425963ba1472
601
cpp
C++
src/single_tests/memory_leaks/memory_leaks.cpp
Booritas/slideio
fdee97747cc73f087a5538aef6a0315ec75becca
[ "BSD-3-Clause" ]
6
2021-01-25T15:21:31.000Z
2022-03-07T09:23:37.000Z
src/single_tests/memory_leaks/memory_leaks.cpp
Booritas/slideio
fdee97747cc73f087a5538aef6a0315ec75becca
[ "BSD-3-Clause" ]
3
2020-12-30T16:21:42.000Z
2022-03-07T09:23:18.000Z
src/single_tests/memory_leaks/memory_leaks.cpp
Booritas/slideio
fdee97747cc73f087a5538aef6a0315ec75becca
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "slideio/drivers/czi/cziimagedriver.hpp" using namespace slideio; int main() { CZIImageDriver driver; auto slide = driver.openFile("/src/images/czi/30-10-2020_NothingRecognized-15986.czi"); auto scene = slide->getScene(0); cv::Rect blockRect = { 0,0,1000,1000 }; cv::Ran...
31.631579
92
0.663894
[ "vector" ]
f7c435cb2d78d40980d9343750937fb84a74435e
1,240
cpp
C++
mppi/src/experts/expert.cpp
ethz-asl/mppi_mobile_manipulation
1ec4b792f05b9cab97f149d41ad97573a77fc749
[ "BSD-3-Clause" ]
3
2021-04-06T17:44:03.000Z
2021-11-05T13:22:56.000Z
mppi/src/experts/expert.cpp
ethz-asl/mppi_mobile_manipulation
1ec4b792f05b9cab97f149d41ad97573a77fc749
[ "BSD-3-Clause" ]
null
null
null
mppi/src/experts/expert.cpp
ethz-asl/mppi_mobile_manipulation
1ec4b792f05b9cab97f149d41ad97573a77fc749
[ "BSD-3-Clause" ]
3
2021-04-20T12:27:13.000Z
2021-07-23T02:38:25.000Z
/*! * @file expert.cpp * @author Etienne Walther * @date 08.12.2020 * @version 1.0 * @brief description */ #include "mppi/experts/expert.h" namespace mppi { Expert::Expert(config_t config, const dynamics_ptr& dynamics) { config_ = config; dynamics_ = dynamics; assert(config_.expert_types.s...
24.313725
72
0.647581
[ "vector" ]
f7c9b10a3a400cdf53ea3df43e86a65863f6b9d6
4,234
hpp
C++
src/objeto.hpp
lucasjoao/ine5420-cg
2965e9c31aec03fe245e987de8394f12d2433984
[ "MIT" ]
null
null
null
src/objeto.hpp
lucasjoao/ine5420-cg
2965e9c31aec03fe245e987de8394f12d2433984
[ "MIT" ]
null
null
null
src/objeto.hpp
lucasjoao/ine5420-cg
2965e9c31aec03fe245e987de8394f12d2433984
[ "MIT" ]
null
null
null
#ifndef OBJETO_HPP #define OBJETO_HPP #include <string> #include "coordenada.hpp" typedef std::vector<Coordenada> coordenadas_t; enum tipo_t { PONTO, RETA, POLIGONO, CURVA_BEZIER, CURVA_BSPLINE }; class Clipping; class Objeto { friend class Clipping; public: static size_t _id; public: ...
19.877934
98
0.579121
[ "vector" ]
f7cc1cf321db623e408538d8b56ad6e70ccf2e44
9,878
cpp
C++
doric-Qt/example/doric/plugin/DoricModalPlugin.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
116
2019-12-30T11:34:47.000Z
2022-03-31T05:32:58.000Z
doric-Qt/example/doric/plugin/DoricModalPlugin.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
9
2020-04-26T02:04:27.000Z
2022-01-26T07:31:01.000Z
doric-Qt/example/doric/plugin/DoricModalPlugin.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
18
2020-01-24T15:42:03.000Z
2021-12-28T08:17:36.000Z
#include "DoricModalPlugin.h" #include "engine/DoricPromise.h" #include "shader/DoricRootNode.h" #include "utils/DoricLayouts.h" #include <QJsonDocument> #include <QObject> #include <QQmlComponent> #include <QQuickWindow> #include <QTimer> void DoricModalPlugin::toast(QString jsValueString, QString callbackId) { ge...
36.051095
80
0.57299
[ "object" ]
f7e5e9b4d84aca3efa6659fdda56a78150fac977
3,104
cpp
C++
src/netlib/ssl_tcp_client_socket.cpp
axilmar/netlib
ab1ad27bd8adaffbcb4c481b7972324202c8882e
[ "Apache-2.0" ]
null
null
null
src/netlib/ssl_tcp_client_socket.cpp
axilmar/netlib
ab1ad27bd8adaffbcb4c481b7972324202c8882e
[ "Apache-2.0" ]
null
null
null
src/netlib/ssl_tcp_client_socket.cpp
axilmar/netlib
ab1ad27bd8adaffbcb4c481b7972324202c8882e
[ "Apache-2.0" ]
null
null
null
#include "platform.hpp" #include <system_error> #include "ssl.hpp" #include "netlib/ssl_tcp_client_socket.hpp" #include "netlib/numeric_cast.hpp" #include "netlib/ssl_error.hpp" #include "netlib/message_size_t.hpp" #include "netlib/endianess.hpp" namespace netlib::ssl::tcp { //create the socket and the ssl ...
33.021277
187
0.642075
[ "vector" ]
f7f26187c52560d068502472eb0345f01bad1ea7
3,943
cpp
C++
src/modules/OpenCV/src/SampleSetWriter.cpp
AtsushiHashimoto/TableObjectManager
d1c15e41d2e4d737f3b1e15354ed561bd2a3e942
[ "BSD-3-Clause" ]
null
null
null
src/modules/OpenCV/src/SampleSetWriter.cpp
AtsushiHashimoto/TableObjectManager
d1c15e41d2e4d737f3b1e15354ed561bd2a3e942
[ "BSD-3-Clause" ]
null
null
null
src/modules/OpenCV/src/SampleSetWriter.cpp
AtsushiHashimoto/TableObjectManager
d1c15e41d2e4d737f3b1e15354ed561bd2a3e942
[ "BSD-3-Clause" ]
null
null
null
/*! * @file SampleSetWriter.cpp * @author a_hasimoto * @date Date Created: 2012/May/30 * @date Last Change: 2012/Jun/29. */ #include "SampleSetWriter.h" using namespace skl; /*! * @brief デフォルトコンストラクタ */ SampleSetWriter::SampleSetWriter(){ } /*! * @brief デストラクタ */ SampleSetWriter::~Sa...
28.781022
221
0.654324
[ "vector" ]
f7f28d5cb2b4e665c48eba488cbdfcee0aa2d44a
8,307
cc
C++
src/afw/table/BaseTable.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/afw/table/BaseTable.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/afw/table/BaseTable.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
// -*- lsst-c++ -*- #include <memory> #include "boost/shared_ptr.hpp" // only for ndarray #include "lsst/afw/table/BaseColumnView.h" #include "lsst/afw/table/BaseRecord.h" #include "lsst/afw/table/BaseTable.h" #include "lsst/afw/table/Catalog.h" #include "lsst/afw/table/SchemaMapper.h" #include "lsst/afw/table/io/F...
38.281106
110
0.660287
[ "vector", "model" ]
f7f351d9c62ad9901ba2042e55c51376dfebaae5
2,814
cpp
C++
src/blast.cpp
garethcmurphy/mph-mhd-fv
50a50ccd056016e235675d6f229789d33b31b7e2
[ "MIT" ]
9
2016-11-03T13:46:09.000Z
2021-02-26T10:39:56.000Z
src/blast.cpp
garethcmurphy/mph-mhd-fv
50a50ccd056016e235675d6f229789d33b31b7e2
[ "MIT" ]
1
2018-02-10T03:46:34.000Z
2018-02-10T03:46:34.000Z
src/blast.cpp
garethcmurphy/mph-mhd-fv
50a50ccd056016e235675d6f229789d33b31b7e2
[ "MIT" ]
5
2017-11-03T19:46:36.000Z
2019-12-14T07:12:14.000Z
#include "initialise_blast.h" int Blast::initial_condition(TNT::Array2D<unk> mesh, TNT::Array2D<double> faceBx, TNT::Array2D<double> faceBy, MPI_Comm new_comm, int ndims) { nx = mesh.dim1(); ny = mesh.dim2(); gammam1i...
26.8
97
0.434968
[ "mesh" ]
f7fdee243cb5cc0a0767c03ef7d4caed9da65441
1,988
cpp
C++
petanque/tests/sorted_vector.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
223
2016-09-12T16:31:12.000Z
2022-03-14T08:32:04.000Z
petanque/tests/sorted_vector.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
17
2016-11-02T15:20:15.000Z
2021-10-02T23:30:58.000Z
petanque/tests/sorted_vector.cpp
Liblor/arybo
9b98bda682ccd6d0c7e2ffd66281711b46ae23ed
[ "BSD-3-Clause" ]
33
2016-09-13T07:28:31.000Z
2022-01-18T07:06:42.000Z
#include <pa/sorted_vector.h> #include <iostream> #include <vector> typedef std::vector<int> vec_int; typedef pa::SortedVector<vec_int> svec_int; #define CHECK(b) _CHECK(__LINE__,b) #define _CHECK(L,b)\ if (!(b)) {\ std::cerr << "error line " << L << std::endl;\ ret = 1;\ } int main() { int ret = 0; { vec...
17.75
104
0.595573
[ "vector" ]
f7fef3c41ee9e74612c4ef8eec0c097a2b2e2f80
3,185
cc
C++
internal/ceres/array_selector_test.cc
hitxiaomi/ceres-solver
c3129c3d4a4830d23a310bd78c240898c82b36e9
[ "Apache-2.0" ]
2,425
2015-01-23T00:02:03.000Z
2022-03-31T22:15:00.000Z
internal/ceres/array_selector_test.cc
hitxiaomi/ceres-solver
c3129c3d4a4830d23a310bd78c240898c82b36e9
[ "Apache-2.0" ]
624
2015-03-18T14:36:29.000Z
2022-03-31T16:06:14.000Z
internal/ceres/array_selector_test.cc
hitxiaomi/ceres-solver
c3129c3d4a4830d23a310bd78c240898c82b36e9
[ "Apache-2.0" ]
989
2015-01-14T14:50:27.000Z
2022-03-30T15:20:06.000Z
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2020 Google Inc. All rights reserved. // http://code.google.com/p/ceres-solver/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistr...
39.8125
80
0.726845
[ "vector" ]
7902abc4aa0f7ea5e0e3711a9d9f86c2f00f213c
205,226
cpp
C++
win/devkit/plug-ins/gpuCache/gpuCacheCmd.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
win/devkit/plug-ins/gpuCache/gpuCacheCmd.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
win/devkit/plug-ins/gpuCache/gpuCacheCmd.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
//- //**************************************************************************/ // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies this ...
38.773097
161
0.494776
[ "mesh", "geometry", "object", "shape", "vector", "model", "transform" ]
7906746abb0738aedfbb5119a273833c6e700964
20,878
hpp
C++
dev/Basic/medium/config/MT_Config.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/medium/config/MT_Config.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/medium/config/MT_Config.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
//Copyright (c) 2013 Singapore-MIT Alliance for Research and Technology //Licensed under the terms of the MIT License, as described in the file: // license.txt (http://opensource.org/licenses/MIT) #pragma once #include <string> #include <map> #include <vector> #include <utility> #include "behavioral/StopType.hpp...
22.046463
127
0.7312
[ "object", "vector", "model" ]
7907ddf7ba0f0b70a57aa09a766313d8cd89f485
2,502
cpp
C++
quantitative_finance/L1/tests/pentadiag_pcr/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-06-14T17:02:06.000Z
2021-06-14T17:02:06.000Z
quantitative_finance/L1/tests/pentadiag_pcr/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L1/tests/pentadiag_pcr/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2019 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...
27.494505
113
0.510392
[ "vector" ]
790decdb88e3bccc263def5ebb45f0a57b1b854c
19,202
cpp
C++
Tools/EntityInterface/EnvironmentSettings.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
Tools/EntityInterface/EnvironmentSettings.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
Tools/EntityInterface/EnvironmentSettings.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #pragma warning(disable:4793) // 'Exceptions::BasicLabel::BasicLabel' : function compiled as native : #include "EnvironmentSettings.h" #inclu...
40.855319
146
0.608426
[ "mesh", "object", "vector", "transform" ]
79180a02197c88b4fb3c5e58ee6a95c678e9c8bf
665
cpp
C++
source/view/GltfMesh.cpp
Fahien/sunspot
1ed579ee0016c2f95e5f6f54f5c703e1dc281da6
[ "Apache-2.0" ]
6
2017-12-20T10:40:25.000Z
2021-01-21T23:03:50.000Z
source/view/GltfMesh.cpp
Fahien/sunspot
1ed579ee0016c2f95e5f6f54f5c703e1dc281da6
[ "Apache-2.0" ]
null
null
null
source/view/GltfMesh.cpp
Fahien/sunspot
1ed579ee0016c2f95e5f6f54f5c703e1dc281da6
[ "Apache-2.0" ]
null
null
null
#include <Gltf.h> #include "ShaderProgram.h" #include "view/GltfPrimitive.h" #include "view/GltfMesh.h" using namespace std; using namespace gltfspot; using namespace sunspot; GltfMesh::GltfMesh(GltfMesh&& other) : mName { move(other.mName) } , mPrimitives{ move(other.mPrimitives) } {} ...
18.472222
56
0.666165
[ "mesh", "model" ]
791c8d70bd5013455c54d2c6fcd9f68d06dcffd0
8,717
cpp
C++
traceStream/stream/subscribe.cpp
imperial-qore/openforest
1f8e880b1de7f76137baad949705744812319dc8
[ "BSD-3-Clause" ]
null
null
null
traceStream/stream/subscribe.cpp
imperial-qore/openforest
1f8e880b1de7f76137baad949705744812319dc8
[ "BSD-3-Clause" ]
null
null
null
traceStream/stream/subscribe.cpp
imperial-qore/openforest
1f8e880b1de7f76137baad949705744812319dc8
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <unordered_map> #include <cstring> #include <fstream> #include <vector> #include <sw/redis++/redis++.h> #include <nlohmann/json.hpp> #include <dirent.h> #include <sys/types.h> #include<unistd.h> #include <thread> #include <pthread.h> #include <sys/socket.h> #include <arpa/inet.h> #include <...
26.256024
144
0.556269
[ "vector" ]
791cd3077ebbb930af979bf9fb1a4cf2ac0cce27
1,675
hpp
C++
src/AGameObject.hpp
brwagner/Quarri
c66297c3e20763b5f986ba3ce4156c747bda4227
[ "MIT" ]
1
2017-04-13T16:29:36.000Z
2017-04-13T16:29:36.000Z
src/AGameObject.hpp
brwagner/Quarri
c66297c3e20763b5f986ba3ce4156c747bda4227
[ "MIT" ]
null
null
null
src/AGameObject.hpp
brwagner/Quarri
c66297c3e20763b5f986ba3ce4156c747bda4227
[ "MIT" ]
null
null
null
/** abstract class that represents an entity in the game world that can handle events, render itself to the screen based on its position, and update every frame. **/ #ifndef AGameObject_hpp #define AGameObject_hpp #include "SDL.h" #include <utility> #include "LevelState.hpp" // Forward declaration to prevent cyc...
31.603774
160
0.695522
[ "render" ]
792a7065324eb9c513d1a5227e592db7908ae36f
4,035
cpp
C++
UrhoEditor/Views/MultiGizmo.cpp
elix22/UrhoEditor
8b2578610b21e60f4126e351a1c7e01d639be695
[ "MIT" ]
23
2017-06-14T02:22:10.000Z
2021-11-25T05:09:21.000Z
UrhoEditor/Views/MultiGizmo.cpp
elix22/UrhoEditor
8b2578610b21e60f4126e351a1c7e01d639be695
[ "MIT" ]
null
null
null
UrhoEditor/Views/MultiGizmo.cpp
elix22/UrhoEditor
8b2578610b21e60f4126e351a1c7e01d639be695
[ "MIT" ]
22
2017-06-15T12:09:23.000Z
2021-01-02T13:05:15.000Z
#include "MultiGizmo.h" #include <EditorLib/Commands/CompoundCommand.h> #include <EditorLib/DocumentBase.h> #include <EditorLib/Selectron.h> #include <sstream> using namespace Urho3D; namespace SprueEditor { MultiGizmo::MultiGizmo(Urho3D::Node* holdingNode, std::vector< std::shared_ptr<Gizmo> > gizmos) : ...
28.617021
104
0.554895
[ "vector", "transform" ]
792d81c1491d06aa89007027d2e418623f4d6e18
1,389
cpp
C++
MySpaceShooter/src/Core/ModelLoader.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
MySpaceShooter/src/Core/ModelLoader.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
MySpaceShooter/src/Core/ModelLoader.cpp
TygoB-B5/OSCSpaceShooter
9a94fbbe4392c9283e47696d06a2866a7a8f1213
[ "Apache-2.0" ]
null
null
null
#include "ModelLoader.h" #include <fstream> #include <iostream> #include <vector> #include "glm/glm.hpp" namespace Core { std::vector<Quad> Core::ModelLoader::Load(const std::string& filePath) { // Open file. std::fstream file; file.open(filePath.c_str()); // Check if file is succesfully opened. if (!file...
19.291667
71
0.558675
[ "vector" ]
79315b93cb1bd7aa0476a6200d96d8bac3b42b85
4,022
hpp
C++
packages/monte_carlo/collision/photon/src/MonteCarlo_AdjointPhotoatomCore_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/collision/photon/src/MonteCarlo_AdjointPhotoatomCore_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/collision/photon/src/MonteCarlo_AdjointPhotoatomCore_def.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_AdjointPhotoatomCore_def.hpp //! \author Alex Robinson //! \brief The adjoint photoatom core class template definitions //! //---------------------------------------------------------------------------// #ifndef...
40.626263
103
0.649428
[ "vector" ]
a6a9be3f381f9dfeb83c014b5689f5769c68f0b0
4,741
cpp
C++
aladdin/core/SceneConfiguration.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
2
2017-11-08T16:27:25.000Z
2018-08-10T09:08:35.000Z
aladdin/core/SceneConfiguration.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
null
null
null
aladdin/core/SceneConfiguration.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
4
2017-11-08T16:25:30.000Z
2021-05-23T06:14:59.000Z
#include "SceneConfiguration.h" #include "../pugixml/pugixml.hpp" NAMESPACE_ALA { ALA_CLASS_SOURCE_1(SceneConfiguration, ala::GameResource) const std::vector<SceneObjectConfiguration>& SceneConfiguration::getObjectConfigurations() const { return _objectConfigurations; } bool SceneConfiguration::isPhysicsEnabled() ...
29.447205
98
0.669057
[ "object", "vector", "transform" ]
a6ae600c3bca11c94718648c7a480291badb7b26
4,952
cc
C++
Util.cc
simoncblyth/OptiXTest
1c800add9b5b49c9441cbd3c54c689cfe1cac9dd
[ "Apache-2.0" ]
null
null
null
Util.cc
simoncblyth/OptiXTest
1c800add9b5b49c9441cbd3c54c689cfe1cac9dd
[ "Apache-2.0" ]
null
null
null
Util.cc
simoncblyth/OptiXTest
1c800add9b5b49c9441cbd3c54c689cfe1cac9dd
[ "Apache-2.0" ]
null
null
null
#include <sstream> #include <string> #include <cstring> #include <cstdlib> #include <iostream> #include <iomanip> #include <vector> #include <cassert> #include "Util.h" #include <glm/gtx/transform.hpp> const char* Util::PTXPath( const char* install_prefix, const char* cmake_target, const char* cu_stem, const char* ...
26.623656
132
0.551696
[ "vector", "transform" ]
a6ae61ecdc428482cacb1674fc27ec7768085dd1
866
hpp
C++
deps/src/boost_1_65_1/boost/mpi/detail/antiques.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-15T20:03:51.000Z
2018-12-15T20:03:51.000Z
deps/src/boost_1_65_1/boost/mpi/detail/antiques.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
deps/src/boost_1_65_1/boost/mpi/detail/antiques.hpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2020-10-21T17:46:28.000Z
2020-10-21T17:46:28.000Z
// Copyright Alain Miniussi 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Authors: Alain Miniussi #ifndef BOOST_MPI_ANTIQUES_HPP #define BOOST_MPI_ANTIQUES_HPP #include <vector>...
28.866667
70
0.665127
[ "vector" ]
a6b0fad9723b33dcc965a92217a18bcfa00c0d21
4,527
cc
C++
media/mojo/services/media_type_converters.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/mojo/services/media_type_converters.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/mojo/services/media_type_converters.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "media/mojo/services/media_type_converters.h" #include "base/macros.h" #include "media/base/buffering_state.h" #include "media/base/decoder_buff...
42.707547
78
0.709079
[ "vector" ]
a6b58113827f53b44f4d9b6d130f8cb59a1375eb
6,566
inl
C++
inc/vec/v.inl
TomSmartBishop/avl
75475d2648de5f771d7c7186061d60508a608ad6
[ "MIT" ]
2
2016-08-03T22:19:54.000Z
2016-08-26T08:55:55.000Z
inc/vec/v.inl
TomSmartBishop/avl
75475d2648de5f771d7c7186061d60508a608ad6
[ "MIT" ]
null
null
null
inc/vec/v.inl
TomSmartBishop/avl
75475d2648de5f771d7c7186061d60508a608ad6
[ "MIT" ]
null
null
null
#ifndef AVL_V_INL #define AVL_V_INL #pragma once /// avl: A Vector Library /// \author Thomas Pollak namespace avl { /// \defgroup Helper functions /// \{ //Component type helper avl_ainl_res constexpr auto cmp(const v& vec) noexcept -> rem_const_ref_t<decltype(vec[0])> { return vec[0]; } /// \} /// \...
33.161616
128
0.699208
[ "vector" ]
a6c5ef5e5eed1e35b04e889bc69545f250149cd8
2,469
cpp
C++
Problems/Hackerrank/smartNumber.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/Hackerrank/smartNumber.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/Hackerrank/smartNumber.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
/*********************************************************************************************/ /* Problem: Smart Number (HR) ********/ /*********************************************************************************************/ /* --Problem statement: In this challenge, the task is to debug the existing code to s...
30.109756
102
0.611989
[ "vector" ]
a6cd1b1041e018643b04a927fcfaf86a9c240c5b
20,661
hpp
C++
src/toolkits/sparse_similarity/neighbor_search.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/toolkits/sparse_similarity/neighbor_search.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/toolkits/sparse_similarity/neighbor_search.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #ifndef TURI_SPARSE_SIMILARITY_NEIGHBOR_SEARCH_H #define TURI_SPARSE_SIMILARITY_NEIGHBOR_SEARCH_H #...
40.118447
99
0.669619
[ "vector" ]
a6cfbef55d813dd9f30c693827475dae5a6c9b96
1,026
cpp
C++
source/geometry/GeometryTanH.cpp
bringtree/MNN
ab711d484cacab41bc90461923bceb1466238217
[ "Apache-2.0" ]
2
2020-12-15T13:56:31.000Z
2022-01-26T03:20:28.000Z
source/geometry/GeometryTanH.cpp
microvn/MNN
a9976c93c58afa9abe974d6b0fc9160a7bc7f0c3
[ "Apache-2.0" ]
null
null
null
source/geometry/GeometryTanH.cpp
microvn/MNN
a9976c93c58afa9abe974d6b0fc9160a7bc7f0c3
[ "Apache-2.0" ]
1
2021-11-24T06:26:27.000Z
2021-11-24T06:26:27.000Z
// // GeometryTanH.cpp // MNN // // Created by MNN on 2020/07/27. // Copyright © 2018, Alibaba Group Holding Limited // #include "geometry/GeometryComputer.hpp" #include "core/OpCommonUtils.hpp" #include "geometry/GeometryComputerUtils.hpp" namespace MNN { class GeometryTanH : public GeometryComputer { public: ...
29.314286
168
0.69883
[ "geometry", "vector" ]
a6d05deb9f1f7c3182141c3411c448cdfdc57ff5
1,472
hpp
C++
core/src/builders/misc/BarrierBuilder.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
946
2016-03-13T23:00:37.000Z
2022-03-29T08:35:30.000Z
core/src/builders/misc/BarrierBuilder.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
136
2016-03-30T11:54:45.000Z
2020-10-31T13:05:27.000Z
core/src/builders/misc/BarrierBuilder.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
168
2016-05-02T15:04:53.000Z
2022-03-28T17:23:26.000Z
#ifndef BUILDERS_MISC_BARRIER_BUILDER_HPP_DEFINED #define BUILDERS_MISC_BARRIER_BUILDER_HPP_DEFINED #include "builders/ElementBuilder.hpp" #include "builders/MeshContext.hpp" namespace utymap { namespace builders { /// Provides the way to build barrier. class BarrierBuilder final : public ElementBuilder { public: ...
27.259259
93
0.754755
[ "vector" ]
a6d9ef2f8d11155964394584638d1969dd773743
4,072
cpp
C++
lab-midterm-1/part-2/lab-midterm-2.cpp
tejashah88/COMSC-165
30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5
[ "MIT" ]
null
null
null
lab-midterm-1/part-2/lab-midterm-2.cpp
tejashah88/COMSC-165
30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5
[ "MIT" ]
null
null
null
lab-midterm-1/part-2/lab-midterm-2.cpp
tejashah88/COMSC-165
30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5
[ "MIT" ]
null
null
null
/* * Name: Question 52 * Class: COMSC-165 * Date: 10/19/2018 * Author: Tejas Shah */ #include <iostream> #include <string> #include <iomanip> #include <vector> using namespace std; const int NUM_QUARTERS = 4; int readInt(); float readFloat(); string readWord(); int readInt() { int input; cin >> input;...
23.674419
108
0.573183
[ "vector" ]
a6dee571de7a14866c91baabe9ad9c2ea0c51554
3,110
cpp
C++
libs/renderer/impl/src/renderer/impl/vf/dynamic/element_converter.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/impl/src/renderer/impl/vf/dynamic/element_converter.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/impl/src/renderer/impl/vf/dynamic/element_converter.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/image/algorithm/may_overlap.hpp> #include <sge/image/algorithm/uninitialized.hpp> #in...
38.875
95
0.713505
[ "object" ]
a6f2daf3838040bf5c89539291106eb45c54d1ea
1,476
hpp
C++
glm/ext/vector_transform.hpp
gchunev/Dice4D
f96db406204fdca0155d26db856b66a2afd4e664
[ "MIT" ]
1
2019-05-22T08:53:46.000Z
2019-05-22T08:53:46.000Z
glm/ext/vector_transform.hpp
gchunev/Dice4D
f96db406204fdca0155d26db856b66a2afd4e664
[ "MIT" ]
null
null
null
glm/ext/vector_transform.hpp
gchunev/Dice4D
f96db406204fdca0155d26db856b66a2afd4e664
[ "MIT" ]
null
null
null
/// @ref ext_vector_transform /// @file glm/ext/vector_transform.hpp /// /// @defgroup ext_vector_transform GLM_EXT_vector_transform /// @ingroup ext /// /// Defines functions that generate common transformations using vectors. /// /// Include <glm/ext/vector_transform.hpp> to use the features of this extension. /// //...
29.52
81
0.714092
[ "vector" ]
a6f9521213577eb23ddc84d7682b355e256ccd09
4,576
inl
C++
Code/Framework/AzCore/AzCore/Math/Frustum.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Framework/AzCore/AzCore/Math/Frustum.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzCore/AzCore/Math/Frustum.inl
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * 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 * */ #pragma once namespace AZ { inline Frustum::PlaneId operator++(Frustum::PlaneId& planeId) {...
37.508197
158
0.644886
[ "3d" ]